aboutsummaryrefslogtreecommitdiffstats
path: root/kirc.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* released at 0.3.2 (#145)Michael Czigler2025-01-131-15/+3
|
* remove some magic numbers, clean up DCC ipv4/ipv6 global variable mess and ↵stefan111112024-10-081-265/+691
| | | | | use a union to save memory. (#139) Co-authored-by: Emeka Nkurumeh <emekankurumeh@outlook.com>
* some code improvements and a new feature (#137)stefan111112024-05-241-20/+49
| | | Co-authored-by: Emeka Nkurumeh <emekankurumeh@outlook.com>
* Merge changes I made in the last year (#136)stefan111112024-01-141-405/+781
| | | Co-authored-by: Emeka Nkurumeh <emekankurumeh@outlook.com>
* released at 0.3.2 (#130)Michael Czigler2023-01-041-929/+994
| | | Co-authored-by: Michael Czigler <contact@mcpcpc.com>
* released at 0.3.1Michael Czigler2022-02-171-3/+3
|
* Allow the option of parsing multiple post-connection commands. (#125)Cristian Canedo2022-02-141-43/+67
| | | | | | | | | | | | | | | | | | | | | | | | | * Allow the option of parsing multiple post-connection commands. * Initial change for multiple commands via stdin * Use MSG_MAX as the max length of additional commands * Include + 1 to MSG_MAX to account for newline characters * Rework loop to process commands to avoid seg fault, use strnlen * Remove swap file * Restore previous formatting, restore man description for -x for now * Enable additional commands via both stdin and option argument * Move misplaced malloc check to where it belongs * Simplify logic to read commands from stdin * Retain functionality to accept server command as option argument * Maintain same functionality as before when sending inic
* released at 0.3.0Michael Czigler2022-01-201-2/+2
|
* send actions to default channel if none specified (#123)vulpine2022-01-201-2/+7
|
* released at 0.2.9Michael Czigler2021-07-151-2/+2
|
* released at 0.2.8Michael Czigler2021-07-151-13/+8
|
* released at 0.2.7Michael Czigler2021-06-021-1/+5
|
* replaced freenode with libera.chat (#113)Panagiotis Vasilopoulos2021-05-201-1/+1
|
* released at 0.2.6Michael Czigler2021-03-251-81/+227
|
* released at 0.2.5Michael Czigler2021-03-191-686/+813
|
* released at 0.2.4Michael Czigler2021-03-041-39/+3
|
* Update docs (#100)Kian Kasad2021-02-181-1/+1
| | | | | | | | | | | | | | | | * add CTCP ACTION information to man page * add documentation for <message> parameter to commands which support it * fix incorrect flag character for real name option * add verbosity option (-V) to man page * separate flag options in usage information Usually the format '[option1|option2]' means EITHER 'option1' OR 'option2' may be specified, but not both. Since the options '-v', '-V', and '-e' can all be given (and are all optional), the proper format is '[-v] [-V] [-e]'.
* fix printing of join/part messages when cdef is a substring of the actual ↵Kian Kasad2021-02-101-2/+2
| | | | channel name (#99)
* 0.2.3Michael Czigler2020-12-181-28/+16
|
* 0.2.2 (#94)Michael Czigler2020-11-221-3/+5
|
* 0.2.1 (#90)Michael Czigler2020-11-211-154/+160
|
* show the params when printing unknown commands (#91)owen bell2020-11-201-0/+4
|
* freenode.net instead of .org (#88)owen bell2020-10-301-1/+1
|
* 0.2.0 (#86)Michael Czigler2020-10-301-122/+139
| | | | | | | | | | | | | | | | | | | | | * fix: codacy strlen security issues * fix window resize input bug * edit: remove unused arguement * remove promptc * bump version to 0.2.0 * code style cleanup * cleanup code style * fix: security concern with localtime * add version() function * version: change stderr to stdout
* 0.1.9 (#79)Michael Czigler2020-10-281-119/+193
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * cleanup * cleanup * add commands to readme * add CTRL+H * handUserInput: change else-if to switch * add ? back into to optarg * add comments * add CTCP ACTION * CTCP: add VERSION, CLIENTINFO, and PING support * CTCP: add TIME * version: bump to 0.1.9 * remove -w argument * change: static to dynamic nick width * man page: remove -w argument * change: : NIC_MIN to NIC_MAX * version: add copyright info * main: remove return(0) after -v * handleUserInput: remove last printf * remove media from master branch * README: add CTCP to features * README: add TLS definition * fix: CTCP TIME command * rawParser: fix for channel name not printing * rawParser: refactor * handleUserInput: add CTCP ACTION alias * handleUserInput: fix spacing * messageWrap: change strlen to strnlen * raw: replace strlen with strnlen * paramPrintPriv: new ACTION message color * fix ACTION message indicator * README: add CPCT ACTION command Co-authored-by: Michael Czigler <mcpcpc@users.noreply.github.com>
* bump version to 0.1.8 (#77)Michael Czigler2020-10-221-1/+1
|
* fix bug with server message printing (#71)Michael Czigler2020-10-201-16/+10
| | | Co-authored-by: Michael Czigler <mcpcpc@users.noreply.github.com>
* 0.1.7 (#68)Michael Czigler2020-10-201-111/+115
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * bump version * remove loop from edit() * remove redundant variables * remove while loop * refactor * move cursor to col 0 before server message * cleanup * add back chan_default prefix * remove puts and add \r * add asynchronous feature set * replace \x1b[0F with \r * remove extra character F * fix ctrl+c * remove log * cleanup ctrl+c exit * Update kirc.c * remove sys/socket.h library * move duplicate code block to function * move stateSet() function * Add ctrl+c key binding * fix verbose flag * cleanup * rename default channel variable * add channel variable check * set cdef default value of "?" * new cdef default assignment * fix channel not printing with -c arg
* Check channel for NULL condition (#65)Michael Czigler2020-10-171-2/+2
| | | | | * check channel for NULL condition * fix typo
* add braces around input promptMichael Czigler2020-10-151-1/+1
|
* 0.1.6 (#63)Michael Czigler2020-10-151-114/+144
| | | | | | | | | | | | | | | | | | | | | | | * add in comments and prompt char * bump version * remove fd arguments in edit() * change promptc to chan_default * add user input channel indicator * remove /? command * change 200 to CHA_MAX * remove comments * allow escape codes in prompt * add braces around prompt channel * remove /? from docs
* 0.1.5 (#60)Michael Czigler2020-10-121-26/+38
| | | | | | | | | | | | | * raw mode only server messages * bump version * remove unnecessary escape codes * join/part new line fix * remove redundant returns * add channel indicator for JOIN/PART
* remove byteswaiting variablemcpcpc2020-10-101-4/+1
|
* Fix Out-of-bound read (#57)Michael Czigler2020-10-091-2/+4
| | | | | * add check for out-of-bound read * remove unused count variable
* 0.1.4 (#54)Michael Czigler2020-10-071-76/+368
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * cleanup style * remove keyboard_hit() function * integrate kline input hander * add new input indicators * only use edit function * improve function names * fix input printing * fix new line behavior after user input * fix /? command * remove Known Bugs, add commands * add arrow key information * remove left and right brackets around commands * add missing language fence * fix typo * remove duplicate ioctl instance * Update README.md * Update README.md * fix direct message color * Delete example2.png * Delete example.png * remove extra line * fix line printing * more cleanup and better colors * refactor Co-authored-by: Michael Czigler <mcpcpc@users.noreply.github.com>
* minor style and formatting fixes (#52)Michael Czigler2020-10-031-13/+14
|
* add ioctl() error handling (#51)Michael Czigler2020-10-021-5/+8
| | | Co-authored-by: Michael Czigler <mcpcpc@users.noreply.github.com>
* move ioctrl and cmax to minimize resourcesMichael Czigler2020-10-021-2/+2
|
* change -W to automatic wrap (#50)Michael Czigler2020-10-021-21/+24
| | | | | * change -W to automatic wrap * address Codacy compliance
* add manpage (#46)Michael Czigler2020-09-291-16/+18
| | | | | | | | | | | | | * Create kirc.1 * add VERSION and man page * change kirc version to definition in Makefile * fix separator char (TAB) * remove double parenthesis in puts() command * change VERSION to be controlled by kirc.c
* add SASL EXTERNAL supportMichael Czigler2020-09-281-12/+9
|
* Add usage() functionMichael Czigler2020-09-281-21/+24
|
* add highlight for channel partingMichael Czigler2020-09-271-1/+1
|
* Update kirc.cMichael Czigler2020-09-271-1/+1
|
* add nick change highlightingMichael Czigler2020-09-271-0/+3
|
* add check for fgets valuemcpcpc2020-09-251-1/+4
|
* remove leader command character for PRIVMSGsMichael Czigler2020-09-251-3/+3
|
* Add alias PRIVMSG aliased commandMichael Czigler2020-09-251-10/+11
|
* squash commits to address README and defaultsMichael Czigler2020-09-241-44/+41
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Update README.md update logo Update README.md add multi-channel join argument option simplify printw() return after channel join Update README.md Update README.md Update README.md Update README.md Update README.md Update README.md Update README.md Update README.md Update README.md Add files via upload Delete googled3f6f6cc852fad22.html Add files via upload Update README.md Update README.md Update README.md Update README.md Update README.md Update README.md Update README.md Update README.md Update README.md increase chan variable size Delete test remove fixed chan buffer size
* bump version to 0.1.1Michael Czigler2020-09-231-1/+1
|