Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | irc.c: Add top comments and adjust default variables | Runxi Yu | 2024-06-19 | 1 | -3/+10 |
| | |||||
* | LICENSE: CC0-1.0 | Runxi Yu | 2024-06-19 | 1 | -0/+122 |
| | |||||
* | README: fork init | Runxi Yu | 2024-06-19 | 1 | -4/+6 |
| | |||||
* | eye candy | Quentin Carbonneaux | 2024-04-12 | 1 | -2/+2 |
| | |||||
* | ping the server regularly | Quentin Carbonneaux | 2024-04-12 | 1 | -1/+12 |
| | |||||
* | use LDLIBS instead of LDFLAGS | Quentin Carbonneaux | 2023-02-02 | 1 | -1/+1 |
| | |||||
* | install/uninstall targets | thebenraskin | 2021-03-02 | 1 | -0/+10 |
| | |||||
* | update README | Quentin Carbonneaux | 2017-06-13 | 1 | -34/+12 |
| | |||||
* | default nick to user | Quentin Carbonneaux | 2017-01-22 | 1 | -2/+4 |
| | |||||
* | use terminal colors for main window | Quentin Carbonneaux | 2017-01-19 | 1 | -0/+1 |
| | |||||
* | get rid of spurious continue | Quentin Carbonneaux | 2017-01-19 | 1 | -1/+0 |
| | |||||
* | tentative reconnection support | Quentin Carbonneaux | 2017-01-19 | 1 | -51/+94 |
| | |||||
* | style nit | Quentin Carbonneaux | 2017-01-18 | 1 | -1/+0 |
| | |||||
* | oops, unguarded ssl stuff segfaults | Quentin Carbonneaux | 2017-01-18 | 1 | -4/+7 |
| | |||||
* | more glorious feature macros | Quentin Carbonneaux | 2017-01-18 | 1 | -1/+1 |
| | |||||
* | ssl support, thanks xcko shrdlu! | Quentin Carbonneaux | 2017-01-18 | 2 | -15/+44 |
| | |||||
* | add PASS support | Hiltjo Posthuma | 2017-01-18 | 1 | -1/+4 |
| | |||||
* | privmsg support, thanks Evil_Bob! | Quentin Carbonneaux | 2017-01-18 | 1 | -6/+17 |
| | |||||
* | ctrl-w deletes one word | xcko shrdlu | 2016-11-21 | 1 | -0/+12 |
| | |||||
* | minor tweaks for compiler warnings | Quentin Carbonneaux | 2016-11-21 | 3 | -3/+2 |
| | |||||
* | allow ctrl-h as backspace | xcko shrdlu | 2016-11-06 | 1 | -0/+1 |
| | |||||
* | add ipv6 support, thanks Evil_Bob | Quentin Carbonneaux | 2016-08-09 | 1 | -21/+25 |
| | |||||
* | this is horrible, build on openbsd | Quentin Carbonneaux | 2016-05-07 | 1 | -1/+1 |
| | |||||
* | do not print non-printable characters | Quentin Carbonneaux | 2016-05-04 | 1 | -7/+11 |
| | |||||
* | support in-channel unicode | Quentin Carbonneaux | 2016-05-04 | 2 | -13/+96 |
| | |||||
* | remove meaningless logic, handle tiny screens | Quentin Carbonneaux | 2016-05-03 | 1 | -13/+5 |
| | |||||
* | do not panic | Quentin Carbonneaux | 2016-05-03 | 1 | -2/+0 |
| | |||||
* | style change | Quentin Carbonneaux | 2016-05-03 | 1 | -219/+282 |
| | |||||
* | Adjust indent. | Quentin Carbonneaux | 2016-04-28 | 1 | -1/+1 |
| | |||||
* | Add nickname and new message indicator. | Hiltjo Posthuma | 2016-04-27 | 1 | -8/+20 |
| | |||||
* | Highlight nickname by prefixing message with >. | Hiltjo Posthuma | 2016-04-27 | 2 | -4/+8 |
| | |||||
* | Allow logging to a file with -l logfile. | Hiltjo Posthuma | 2016-04-27 | 1 | -4/+22 |
| | |||||
* | Sanitize Makefile. | Quentin Carbonneaux | 2016-04-27 | 1 | -4/+9 |
| | |||||
* | Get rid of com line. | Quentin Carbonneaux | 2016-04-27 | 1 | -2/+0 |
| | |||||
* | Add Makefile. | Hiltjo Posthuma | 2016-04-27 | 1 | -0/+6 |
| | |||||
* | Add README. | Quentin Carbonneaux | 2016-04-27 | 1 | -0/+42 |
| | |||||
* | Redefine CTRL macro, make it build on OpenBSD. | Hiltjo Posthuma | 2016-04-27 | 1 | -0/+3 |
| | |||||
* | Cosmetic changes in pushl. | Quentin Carbonneaux | 2015-04-03 | 1 | -9/+8 |
| | |||||
* | Add clean output for long lines. | Quentin Carbonneaux | 2015-04-02 | 1 | -6/+30 |
| | | | | | This might make some of the scrolling logic a little bit inconsistent, but it pleases the eye a lot more! | ||||
* | Added option parsing. | Quentin Carbonneaux | 2012-03-25 | 1 | -7/+35 |
| | | | | | | | | This commit allows users to customize their IRC user name, nick name, and server. The user name, if not specified, is taken from the environment variable USER. The nick name, if not specified, is taken from IRCNICK. The nick name cannot exceed 63 chars (which is way more than what is currently accepted by most IRC servers). | ||||
* | Fix uparse to deal explicitely with empty lines. | Quentin Carbonneaux | 2012-03-17 | 1 | -1/+1 |
| | | | | | | | Uparse accessed undefined elements if the input line was empty. This was harmless because the default branch of the switch led the control flow to the right place, however it could appear a bit obscure. Adding an extra test will not hurt performance and make the code easier to read. | ||||
* | Zero all the hints before calling getaddrinfo. | Quentin Carbonneaux | 2012-03-15 | 1 | -2/+1 |
| | | | | | | | Testing the program on NetBSD made getaddrinfo whine because all non filled elements of the struct addrinfo given as hints must be zeros (or null pointers). Except this point, irc.c seems to work like charm on NetBSD. | ||||
* | Removed a useless reminiscent from the past. | Quentin Carbonneaux | 2012-03-15 | 1 | -1/+0 |
| | |||||
* | Cosmetic modifications. | Quentin Carbonneaux | 2012-03-15 | 1 | -15/+20 |
| | | | | | | | | | | Fixed one panic message, they must start with an upper case letter and end with a dot. Removed spurious comments in tgetch. Added ^D as a recognised command in tgetch, it has its usual behavior: it deletes the letter under the cursor. | ||||
* | Display joined channels in status bar. | Quentin Carbonneaux | 2012-03-14 | 1 | -4/+33 |
| | | | | | | | | The status bar was not useful, now it displays the list of joined channels. The function tdrawbar will redraw the whole bar (no clever refreshing here, it does not worth the complexity). Tdrawbar tries to keep the current channel in the middle of the bar to maximize the context on both sides. | ||||
* | Heavy surgery on tgetch. | Quentin Carbonneaux | 2012-03-12 | 1 | -20/+42 |
| | | | | | | The code layout used in the main switch was unified. The printer was re written from scratch to handle long input lines. The code is supposed to resist to terminal resizes (with some slight refresh problems). | ||||
* | Test the result of ioctl (TIOCGWINSZ). | Quentin Carbonneaux | 2012-03-11 | 1 | -1/+2 |
| | |||||
* | Cosmetic modifications. | Quentin Carbonneaux | 2012-03-11 | 1 | -13/+12 |
| | | | | | | | | Tried to beautify the code by aligning some related code and renaming lb in tgetch to l which is more consistent with the rest of the file. In tgetch, the invariant changed from len<=BufSz to len<=BufSz-1, this allows to trivially nul terminate the line being processed. | ||||
* | Use ioctl to retreive screen's size in tresize. | Quentin Carbonneaux | 2012-03-11 | 1 | -3/+8 |
| | | | | | | The curses (ncurses) library does not automatically get the new size of the terminal, thus, we must rely on an ioctl to retreive it and inform ncurses with a resizeterm call. | ||||
* | Handle terminal resizes. | Quentin Carbonneaux | 2012-03-11 | 1 | -8/+26 |
| | | | | | | | | | | | | The KEY_RESIZE feature of ncurses is not used since it is not possible to detect if a KEY_RESIZE was queued by selecting on stdin. Hence, tinit now installs a SIGWINCH handler which will set the winchg variable to 1. I rely on the fact that select will be interrupted by the signal which pops after a terminal resize to be able to redraw the screen instantaneously. tresize does all the job of resizing the three used curses windows. |