Commit Graph

931 Commits (54d899196cf65e9954a3f5cc5da05af6afc82d3c)

Author SHA1 Message Date
C. McEnroe de4c9df074 Align join messages after nick 2020-02-04 20:40:49 -05:00
C. McEnroe ea93c9a6d9 Set self.color 2020-02-04 20:27:18 -05:00
C. McEnroe 9944dc484b Split showing style codes and word wrapping 2020-02-04 20:23:55 -05:00
C. McEnroe d57df09511 Align word wrapping with tab character
Also fixes handling whitespace directly after control codes.
2020-02-04 19:50:23 -05:00
C. McEnroe f3fb466a31 Only check revents if nfds > 0
If an error occurs, poll leaves the array unmodified.
2020-02-04 19:06:54 -05:00
C. McEnroe 5e9863fa82 Handle signals in poll loop 2020-02-04 19:02:54 -05:00
C. McEnroe a65841c3cb Switch windows with M-0 through M-9 2020-02-04 04:41:11 -05:00
C. McEnroe d57e786876 Factor out unmark 2020-02-04 04:09:54 -05:00
C. McEnroe 43845c6115 Add beginnings of input handling 2020-02-04 03:58:56 -05:00
C. McEnroe 26e9dd9adf Use time_t rather than struct tm 2020-02-03 18:41:52 -05:00
C. McEnroe c9470b59a1 Add sequences for toggling focus/paste modes 2020-02-02 23:20:19 -05:00
C. McEnroe 81ac0c59f3 Track unread and window heat 2020-02-02 20:25:12 -05:00
C. McEnroe 5398a6ac9d Rearrange some UI code 2020-02-02 19:38:37 -05:00
C. McEnroe 5c328c7a88 Remove term.c in favor of more curses APIs 2020-02-02 19:34:35 -05:00
C. McEnroe 8ec17d4f8c Use tsl/fsl capabilities for title if available
Also manually fill them if TERM=xterm* because they really should be
there.
2020-02-02 18:40:21 -05:00
C. McEnroe a507ff4073 Set title in statusUpdate 2020-02-02 17:57:07 -05:00
C. McEnroe 2f9a9c663a Remove services TODO
Two goals:

 1. Messages should always be routed to the same place.
 2. You should be able to see your messages to *Serv and its responses
    together.
2020-02-02 17:50:28 -05:00
C. McEnroe aec28a9327 Check queries against chanTypes 2020-02-02 17:45:19 -05:00
C. McEnroe 0d6a60cc66 Save NETWORK, CHANTYPES, PREFIX from ISUPPORT 2020-02-02 17:37:36 -05:00
C. McEnroe b535f0abdd Handle notices and actions 2020-02-02 17:26:20 -05:00
C. McEnroe e8d0d71775 Add option to show style codes
This will be used for the input window.
2020-02-02 16:55:45 -05:00
C. McEnroe dce7891331 Add extremely basid handlePrivmsg 2020-02-02 03:43:18 -05:00
C. McEnroe 052cd2ed26 Remove style string macros 2020-02-02 03:34:05 -05:00
C. McEnroe 8bb9ea7b7f Add idColors 2020-02-02 03:27:50 -05:00
C. McEnroe ec83332e15 Implement window switching and status line 2020-02-02 03:13:50 -05:00
C. McEnroe 0728eb39a4 Preserve copyright year in term.c 2020-02-02 02:36:24 -05:00
C. McEnroe 3c824684e5 Add color hashing function 2020-02-02 02:31:20 -05:00
C. McEnroe 14066b79d4 Handle nickname errors 2020-02-02 02:30:35 -05:00
C. McEnroe 09754ed912 Call reset_shell_mode on err
This restores the terminal but doesn't clear the screen, so the error
stays visible.
2020-02-02 02:28:14 -05:00
C. McEnroe c18dc35377 Wrap before the very edge of the screen 2020-02-02 02:04:08 -05:00
C. McEnroe 8ef0af34ef Parse time tag 2020-02-02 01:58:03 -05:00
C. McEnroe c799310d67 Implement wordWidth 2020-02-02 01:54:51 -05:00
C. McEnroe 05256b68fe Implement word wrap
This actually wasn't that bad?
2020-02-01 22:41:30 -05:00
C. McEnroe cd3dc4ef4c Parse IRC styling in UI
Wow the colorPair thing actually works. Have I finally cracked curses
colors?
2020-02-01 21:57:11 -05:00
C. McEnroe d59666cb25 Generate tags file 2020-02-01 21:55:05 -05:00
C. McEnroe e5363bcae0 Implement the beginnings of UI
It takes so much code to do anything in curses...
2020-02-01 19:37:55 -05:00
C. McEnroe e289ff6b18 Add term stuff
Copied almost verbatim from existing catgirl... I think I did a better
job on that state machine this time tbh.
2020-02-01 02:55:07 -05:00
C. McEnroe 03cb0d7c04 Add IDs and names 2020-02-01 02:33:17 -05:00
C. McEnroe 2b3a8bfb9c Add -v flag 2020-02-01 02:26:35 -05:00
C. McEnroe 856d40d121 Fix CapNames array indices 2020-02-01 02:19:55 -05:00
C. McEnroe 8431602363 Blindly implement login flow 2020-02-01 01:18:01 -05:00
C. McEnroe f76145645e Add more login options to the manual page 2020-02-01 01:17:15 -05:00
C. McEnroe 2ce2f493e1 Add simple manual page 2020-01-31 18:11:30 -05:00
Noah Pederson 34ef6ee5a7 Adds insecure flag to skip certificate validation
Usage:

    catgirl -! -h ...
2019-12-28 14:42:28 -05:00
C. McEnroe 2e61779082
Rename catgirl.7 to README.7 2019-12-19 02:13:38 -05:00
C. McEnroe d919d122fb
Update git URL 2019-12-15 19:45:05 -05:00
Curtis McEnroe 2cb82d4cfd
Refresh prompt on 001 with different nick 2019-10-26 19:27:50 -04:00
Curtis McEnroe e7bfdb2376
Add C-u and move underline to C-_ 2019-10-03 14:40:23 -04:00
Curtis McEnroe 5cf4beec7a
Remove -W WEBIRC option 2019-09-16 17:41:18 -04:00
Curtis McEnroe 2a8ee15858
Use /etc/ssl/cert.pem in chroot 2019-09-16 17:24:19 -04:00