Commit Graph

135 Commits

Author SHA1 Message Date
Alex ba7b46160d
Remove constant qualifiers to allow more free usage, add few missing commands and tokenizers 2020-07-12 16:32:54 +02:00
Alex fcd18d93c7
Change non-continious enum to define list 2020-07-12 00:15:13 +02:00
Alex 27986560b9
Add definition and add new flags to readme, only build tests that are supported 2020-07-11 23:52:50 +02:00
Alex bd5ab8cc03
Move IRCv3 separately, shorten one bit of the tokenizer 2020-07-11 23:35:36 +02:00
Alex 74e13c4724
Sort commands alphabetically, add few missing IRCv3 commands 2020-07-11 21:39:12 +02:00
Alex 081821c8bc
Add few tests 2020-07-10 18:03:26 +02:00
Alex 91d4ac1250
Split tests, remove present IRC_Tag element, shorten stuff 2020-07-10 18:02:23 +02:00
Alex 23b66bf33d
Rollback trailing change with a bugfix, add test for non-delimited trailing 2020-07-10 13:44:58 +02:00
Alex 907c086b0f
Build tests conditionally 2020-07-09 22:54:11 +02:00
Alex 5869197ce7
Add cmake tests, fix a bug with parser expecting at least 1 arg, shorten code, add boolean for user assembly 2020-07-09 22:37:29 +02:00
Alex eb8263e0f5
Uniform function namespace, add includes where needed, add IRC_Tags struct, shorten msg tokenizer, return assembled lenghts 2020-07-07 23:17:28 +02:00
Alex 96fce4fe49
Arguments are not written to, so they should be constants 2020-07-06 23:22:55 +02:00
Alex cbe6971bd5
Fix local variable and trailing returning early when missing 2020-07-06 22:57:21 +02:00
Alex f0754db439
Add build types 2020-07-06 16:29:38 +02:00
Alex a91ad0140c
Shorten realname to real 2020-07-05 13:39:34 +02:00
Alex 14b2a09fe7
Set standard to C99 2020-07-05 13:14:41 +02:00
Alex 8e1b99a161
Add readme, remove test code 2020-07-05 13:10:50 +02:00
Alex ce93209ab5
Last few tweaks 2020-07-05 12:48:24 +02:00
Alex 6bf297339a
Add gitignore 2020-07-04 17:44:17 +02:00
Alex 2c25e69ce0
Build shared object and separate stuff into their specific headers, add conditional helpers building 2020-07-04 17:43:30 +02:00
Alex d998c1221a
Add missing commands and finish the functions 2020-07-04 12:29:08 +02:00
Alex 373c6476d1
Set const defaults for pointers, add lots of helpers and conditional inclusion, add forgottten SERVICE command, fix a few bugs, add reserved argument, change namespace for helpers 2020-07-03 22:41:52 +02:00
Alex 28c26b2640
Add macros for descriptive errors, fix a few crash candidates and return more specific errors 2020-07-02 18:32:25 +02:00
Alex 313dba4e0f
Add mode bits and some helper functions, rename some functions, fix a few bugs, separate tag functions 2020-07-01 21:52:45 +02:00
Alex 2fbcadfaf3
Remove tokspace, improve logic and fix some bugs 2020-06-30 23:39:56 +02:00
Alex b14a8a64fd
More uniform returns and separating things into functions, few bugfixes 2020-06-28 17:19:38 +02:00
Alex 9a40c85d28
Fix a few bugs and add source message assembly 2020-06-27 21:07:59 +02:00
Alex 93d139b18f
Move tag assembly and parsing to a separate function 2020-06-27 15:30:04 +02:00
Alex a542140c46
Add tags to the assembler 2020-06-27 14:30:15 +02:00
Alex bc12e90ec8
Support a unlimited amount of spaces like RFC1459 says we should 2020-06-27 13:33:35 +02:00
Alex b7a12816e8
Finish server message parser and some work on the client message assembler, change few types and make some public as well 2020-06-25 21:06:53 +02:00
Alex ca4b783af4
Fix typo 2020-06-22 19:53:05 +02:00
Alex cc4909c081
Add GPL and .clang-format 2020-06-22 19:10:57 +02:00
Alex 17821f54be
Add IRCv3 tags parsing, fix parsing 2020-06-22 18:59:23 +02:00
Alex 8a3a4c9912
Initial commit 2020-06-22 18:58:10 +02:00