aboutsummaryrefslogtreecommitdiffstats
path: root/kirc.c (unfollow)
Commit message (Collapse)AuthorFilesLines
3 daysupjoe1-4/+4
2025-05-03Some unmerged changes I still had laying around (#146)stefan111111-22/+53
Co-authored-by: Emeka Nkurumeh <emekankurumeh@outlook.com>
2025-01-13released at 0.3.2 (#145)Michael Czigler1-15/+3
2024-10-08remove some magic numbers, clean up DCC ipv4/ipv6 global variable mess and ↵stefan111111-265/+691
use a union to save memory. (#139) Co-authored-by: Emeka Nkurumeh <emekankurumeh@outlook.com>
2024-05-24some code improvements and a new feature (#137)stefan111111-20/+49
Co-authored-by: Emeka Nkurumeh <emekankurumeh@outlook.com>
2024-01-14Merge changes I made in the last year (#136)stefan111111-405/+781
Co-authored-by: Emeka Nkurumeh <emekankurumeh@outlook.com>
2023-01-04released at 0.3.2 (#130)Michael Czigler1-929/+994
Co-authored-by: Michael Czigler <contact@mcpcpc.com>
2022-02-17released at 0.3.1Michael Czigler1-3/+3
2022-02-14Allow the option of parsing multiple post-connection commands. (#125)Cristian Canedo1-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
2022-01-20released at 0.3.0Michael Czigler1-2/+2
2022-01-20send actions to default channel if none specified (#123)vulpine1-2/+7
2021-07-15released at 0.2.9Michael Czigler1-2/+2
2021-07-15released at 0.2.8Michael Czigler1-13/+8
2021-06-02released at 0.2.7Michael Czigler1-1/+5
2021-05-20replaced freenode with libera.chat (#113)Panagiotis Vasilopoulos1-1/+1
2021-03-25released at 0.2.6Michael Czigler1-81/+227
2021-03-19released at 0.2.5Michael Czigler1-686/+813
2021-03-04released at 0.2.4Michael Czigler1-39/+3
2021-02-18Update docs (#100)Kian Kasad1-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]'.
2021-02-10fix printing of join/part messages when cdef is a substring of the actual ↵Kian Kasad1-2/+2
channel name (#99)
2020-12-180.2.3Michael Czigler1-28/+16
2020-11-220.2.2 (#94)Michael Czigler1-3/+5
2020-11-210.2.1 (#90)Michael Czigler1-154/+160
2020-11-20show the params when printing unknown commands (#91)owen bell1-0/+4
2020-10-30freenode.net instead of .org (#88)owen bell1-1/+1
2020-10-300.2.0 (#86)Michael Czigler1-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
2020-10-280.1.9 (#79)Michael Czigler1-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>
2020-10-22bump version to 0.1.8 (#77)Michael Czigler1-1/+1
2020-10-20fix bug with server message printing (#71)Michael Czigler1-16/+10
Co-authored-by: Michael Czigler <mcpcpc@users.noreply.github.com>
2020-10-200.1.7 (#68)Michael Czigler1-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
2020-10-17Check channel for NULL condition (#65)Michael Czigler1-2/+2
* check channel for NULL condition * fix typo
2020-10-15add braces around input promptMichael Czigler1-1/+1
2020-10-150.1.6 (#63)Michael Czigler1-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
2020-10-120.1.5 (#60)Michael Czigler1-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
2020-10-10remove byteswaiting variablemcpcpc1-4/+1
2020-10-09Fix Out-of-bound read (#57)Michael Czigler1-2/+4
* add check for out-of-bound read * remove unused count variable
2020-10-070.1.4 (#54)Michael Czigler1-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>
2020-10-03minor style and formatting fixes (#52)Michael Czigler1-13/+14
2020-10-02add ioctl() error handling (#51)Michael Czigler1-5/+8
Co-authored-by: Michael Czigler <mcpcpc@users.noreply.github.com>
2020-10-02move ioctrl and cmax to minimize resourcesMichael Czigler1-2/+2
2020-10-02change -W to automatic wrap (#50)Michael Czigler1-21/+24
* change -W to automatic wrap * address Codacy compliance
2020-09-29add manpage (#46)Michael Czigler1-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
2020-09-28add SASL EXTERNAL supportMichael Czigler1-12/+9
2020-09-28Add usage() functionMichael Czigler1-21/+24
2020-09-27add highlight for channel partingMichael Czigler1-1/+1
2020-09-27Update kirc.cMichael Czigler1-1/+1
2020-09-27add nick change highlightingMichael Czigler1-0/+3
2020-09-25add check for fgets valuemcpcpc1-1/+4
2020-09-25remove leader command character for PRIVMSGsMichael Czigler1-3/+3
2020-09-25Add alias PRIVMSG aliased commandMichael Czigler1-10/+11