Commit Graph

108 Commits

Author SHA1 Message Date
Alex 16b6e0dddc
Checking the NULL for something that never will be NULL or how i am dumb 2020-08-02 21:28:56 +02:00
Alex 1e6aa0afdc
Use the de-facto standard for handing RFC2812 ambiguous prefix parsing 2020-08-02 18:38:23 +02:00
Alex 56df6c09d6
Fix join and part, the arguments are not trailing 2020-08-01 16:43:54 +02:00
Alex 0a508077ea
Fix join and part, the arguments are not trailing 2020-08-01 16:29:39 +02:00
Alex 146a011032
Fix boolean 2020-08-01 16:22:00 +02:00
Alex 2fb9b7c589
Include updates in public headers as well 2020-08-01 15:37:22 +02:00
Alex 0b07acd797
Add trailing to the array and change the boolean to show if the last arg is a trailing one 2020-08-01 01:38:06 +02:00
Alex 0f73ea68d8
Fix eventual overflow 2020-07-29 15:23:55 +02:00
Alex 50db5a6948
Fix tests build and add bitmask 2020-07-26 13:41:08 +02:00
Alex 744cafefaf
Change default path 2020-07-23 16:01:30 +02:00
Alex 160c3fddd5
Change build outputs and paths, use cmake's defaults, change some build definitions, remove unistd dep listing (it isn't used), add option summary, instruct for out of tree builds, fix a assembler bug and add ircv3 test for the msg assembler 2020-07-23 15:59:41 +02:00
Alex e71d730947
Remove extra var and add IRCV3 includes to IRCV3 tests 2020-07-22 19:23:35 +02:00
Alex 16002cb8f3
Use prefix only when IRCv3 support is built 2020-07-22 19:18:44 +02:00
Alex 0cfdf390c4
Remove extra leftover file 2020-07-22 19:00:25 +02:00
Alex edd9790cdf
Split files better 2020-07-22 18:57:59 +02:00
Alex 5dde15f3b6
Turn on more aggressive compile flags 2020-07-21 15:01:06 +02:00
Alex 1f136a8d54
Add safety nets for sizes, reorder stuff, add overflow tests and message assembler tests 2020-07-20 23:40:35 +02:00
Alex 53e5e6b883
Add missing license headers 2020-07-17 15:49:59 +02:00
Alex 08b6b0f187
Add validators and name command enum 2020-07-17 13:47:24 +02:00
Alex 2c543d6d03
Replace comprasions with \0 with boolean ones 2020-07-15 14:44:08 +02:00
Alex 7d95860830
Remove IRC_User from arguments in the headers as well 2020-07-14 18:12:35 +02:00
Alex b4d13e2f50
Remove IRC_User from arguments, that should be set separately 2020-07-14 18:10:25 +02:00
Alex d18848a8af
Casts not required anymore 2020-07-12 19:51:36 +02:00
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