Commit Graph

83 Commits

Author SHA1 Message Date
Alex D. 9a357c63e7
Version 2021.01.24: Feature redesign
- Removed RELAXED_RFC, will be supported as addtion in form of patches
  later
- Remove Buffer_Info and use separate buffer types where it makes sense
- Make FIFO a raw passthrough pipe
- Redefine read/write _buffer
- Rename buffer_offset_move to dequeue_bytes
- Remove filtering, will be supported by separate binaries
- Simplify registration and channel commits
- Merge automatic replies in main.c
- Remove path filtering, now only using fixed paths
- Setup signals earlier
- Add option for write_buffer to do a full flush or only partial if not
  possible
- Use global buffers for registration
2021-01-24 15:53:10 +00:00
Alex D. b5e46c5635
Refactor some code and more splitting 2021-01-19 20:36:27 +00:00
Alex D. 14664963e7
Change uirc to uircd in defaults 2021-01-19 12:05:49 +00:00
Alex D. b0350595ba
Replace fprintf() with syslog() 2021-01-16 23:13:25 +00:00
Alex D. 6fb4c44039
Sleep 1 second instead of 500ms 2021-01-16 18:07:18 +00:00
Alex D. 7b9b39e1a9
Prepare features that require breaking RFC2812 2021-01-12 17:04:21 +00:00
Alex D. f4b2cb90f3
Separate send buffer and fifo send buffer 2021-01-09 21:44:54 +00:00
Alex D. af191b4364
BUGFIX: Don't overwrite the FIFO buffer we're parsing 2021-01-09 21:28:10 +00:00
Alex D. 75d79a5c87
BUGFIX: Set default idle connection state only when active 2021-01-09 19:25:09 +00:00
Alex D. fd976a9066
Set default logging to info 2021-01-09 19:01:48 +00:00
Alex D. fd2821f444
Code reformat and a few fixes
- Merge 'active' into connection states
- Reformated commented CAP code
- Removed (now useless) l_ping and l_pong
- Remove CONN_ACTIVE toggles on FIFO
2021-01-09 18:56:35 +00:00
Alex D. 845066176d
Improve log messages 2021-01-09 17:03:19 +00:00
Alex D. f9931033b4
Change equality and add missing option 2021-01-09 15:49:00 +00:00
Alex D. d6491bb593
BUGFIX: Resize chanarray on JOIN/PART 2021-01-04 18:36:30 +00:00
Alex D. 9b07bcb10b
Bump version and add option for libconfig, fix resize logic 2021-01-04 18:10:38 +00:00
Alex D. 58acf3e337
Add clang analyze flags 2021-01-03 20:46:04 +00:00
Alex D. 75480d3606
Use sizeof for custom sizes 2021-01-03 17:34:07 +00:00
Alex D. 17fb6344bd
Handle cases where the buffer is full 2021-01-03 17:17:33 +00:00
Alex D. 77e4d79599
Add missing header 2021-01-03 16:51:08 +00:00
Alex D. 84caf7ad8e
Disable static analysis by default 2021-01-03 16:48:38 +00:00
Alex D. bde12cdec2
Fix reconnect interval reset and timeout logging and add header 2021-01-03 16:47:11 +00:00
Alex D. 312e729eaf
Release 2021.01.03 2021-01-03 00:58:51 +00:00
Alex D. abeda9350f
Add quit to events and list 2021-01-03 00:58:10 +00:00
Alex D. 406dd90bb1
Add COPYING file 2021-01-02 19:49:32 +00:00
Alex D. f77bee950f
Improve CMakeLists 2021-01-02 19:48:00 +00:00
Alex D. 24480c7cb7
Move all required includes to specific files to follow yet another standard and reformat code 2021-01-02 14:18:47 +00:00
Alex D. a0245cd78a
Add sample config 2020-12-30 20:51:30 +00:00
Alex D. 6658bd9aa4
BUGFIX: libconfig doesn't manage memory for ints 2020-12-30 20:51:30 +00:00
Alex D. 101b515d59
Ignore unused parameters 2020-12-30 20:51:30 +00:00
Alex D. 0256378633
Add readme 2020-12-30 20:51:30 +00:00
Alex D. 45bccfcaa7
Add options for compiler flags 2020-12-30 19:05:03 +00:00
Alex D. 0ff0a8742b
Add optional timeouts 2020-12-30 18:05:07 +00:00
Alex D. 619ecee0f3
BUG: Resize initially 2020-12-22 17:39:17 +00:00
Alex D. 3849e65431
BUGFIX: NULL out wrong elements 2020-12-22 17:33:21 +00:00
Alex D. 10c5dfb400
Cleanup code and fix a few bugs 2020-12-22 11:47:44 +00:00
Alex D. cb7a0a35d8
Remove connection prefixes 2020-12-21 22:30:55 +00:00
Alex D. 25345574e2
Finish off logging 2020-12-21 21:40:43 +00:00
Alex D. 677403b2f3
WIP: separate logging into other binaries 2020-12-21 15:34:38 +00:00
Alex D. 8b035c5871
WIP: logging part 1 2020-12-20 23:53:56 +00:00
Alex D. d2e9932e01
add channels list and keys 2020-12-17 00:27:30 +00:00
Alex D. 85eaddd2ab
WIP: more config stuff 2020-12-09 02:29:24 +00:00
Alex D. 008afed09f
WIP: reformat code and remove some stuff that needs to be changed 2020-12-09 01:33:36 +00:00
Alex D. fc99d4e88f
WIP: part 2 2020-12-08 22:20:42 +00:00
Alex D. 0da49cab10
WIP: cleanup code 2020-12-08 02:16:12 +00:00
Alex D. 7329529bca
Fix logging and add few IRCv3 features (WIP) 2020-11-02 22:35:37 +01:00
Alex D. 5bcbfe640b
Add reconnection interval support 2020-10-26 21:41:58 +01:00
Alex D. 6cd15183e8
Tweak cmake commands 2020-10-10 12:23:56 +02:00
Alex D. 7bd0d0ed2b
Add temporary skip of parsing global patterns and add irc timestamp fallback in case if not present 2020-10-08 20:26:44 +02:00
Alex D. bb8276a16f
Fix filter code 2020-10-05 23:17:48 +02:00
Alex D. 774951afaf
Improve filtering and add fallback for private messages 2020-10-05 22:43:07 +02:00