Commit Graph

61 Commits

Author SHA1 Message Date
Alex D. acfd0ea3dc
Few tweaks to use new API 2021-04-16 18:10:33 +00:00
Alex D. eacb2eb59b
Move includes to subdir 2021-04-10 16:39:09 +00:00
Alex D. d55cc68e37
Lookup tables and organizing
- Add predefined strings by IRCv3 standards, RFC2812 and CTCP
- Rename most things to singular version
- Add lookup functions and converters
- Remove assert for non-pointer value
- Fix two tests on standard build
- Update clang tidy checks
2021-04-07 21:45:44 +00:00
Alex D. 29f47560fe
Add bitmask converter 2021-04-04 21:32:00 +00:00
Alex D. aa1d47cb27
Separate modes and add functions related to them 2021-04-04 21:08:14 +00:00
Alex D. 0096d57380
Remove unfinished validators 2021-04-02 17:21:11 +00:00
Alex D. e32ee3adca
Add docs, move tests and free struct storage as llist doesn't anymore 2021-04-01 22:07:56 +00:00
Alex D. 4abc4f35f7
Add errors and refactor some code 2021-03-30 13:24:16 +00:00
Alex D. 649ea4e940
Add more symbols 2021-03-14 17:56:25 +00:00
Alex D. 91f370fa58
Remove struct copy and document some more things 2021-03-14 16:35:38 +00:00
Alex D. 423f7bc021
Use namespaced function names and add list appending 2021-03-12 23:26:19 +00:00
Alex D. 2775d6128d
Add back functions for generating structs in memory 2021-03-12 16:09:37 +00:00
Alex D. 95a7dbc4f4
Add 2021 copyright notice 2021-03-11 22:55:33 +00:00
Alex D. b8f3d13e9c
Merge allocator and free functions 2021-03-11 22:33:08 +00:00
Alex D. 7b7cd1b7cc
Add argc for message allocator and add tag list manager 2021-03-06 22:23:55 +00:00
Alex D. 7109ae6b70
Fix CRLF removal bug, change some of the assembly and parsing logic and add tests back 2021-03-05 11:26:31 +00:00
Alex D. e392076e19
Remove quitmsg from struct 2021-02-23 23:33:48 +00:00
Alex D. 4ccfc377cd
Add some more preprocessor stuff and consider CRLF in tokenizing/assembly 2021-02-23 22:43:25 +00:00
Alex D. bb6be1d8ec
Bump version, fix inclustions and move tests outside of main repo 2021-02-22 17:09:41 +00:00
Alex D. 7e2a0b24c7
Code refactoring
- Merged public and private headers
- Moved private includes to sources and only kept public includes in headers
- Split files
- Replaced defines with enums
- Changed include paths for tests and moved cmake build defs from there
- Added headers to tests
2021-01-02 22:20:06 +00:00
Alex D. a047a9c6d8
Improve CMakeLists 2021-01-02 18:12:59 +00:00
Alex D. 91ca9b44bc
Add one more test and improve parsing 2020-12-20 11:08:53 +00:00
Alex D. 0d019b02dc
Reformat code, add if preprocessor comments, shorten structrs, remove analyzer 2020-12-16 14:22:25 +00:00
Alex D. 2718dff738
Housekeeping and namespacing, adding CAP tokenizers and another test for it, change versioning to recommended date versioning 2020-10-31 11:56:48 +01:00
Alex D. 65161f128c
Fix CAP commands and add them to public includes 2020-10-30 22:15:22 +01:00
Alex D. 38b18dbdd3
Add new options and tweak stuff around 2020-10-29 21:33:37 +01:00
Alex D. a60d0039c1
Reformat code according to new style 2020-10-10 12:30:05 +02:00
Alex D. e0d9d179c3
Fix return sizes and explicit strcmp 2020-10-02 14:40:15 +02:00
Alex D. 6cce8c57cc
Fix reseved identifiers, fix problems about signedness and casting and add a few more test cases 2020-09-26 23:22:05 +02:00
Alex D. 86f6dbe43f
Add tag helpers, timestamp assembler, use system defined paths for tests and add timestamp tests 2020-09-01 11:49:37 +02:00
Alex 56df6c09d6
Fix join and part, the arguments are not trailing 2020-08-01 16:43:54 +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 50db5a6948
Fix tests build and add bitmask 2020-07-26 13:41:08 +02:00
Alex edd9790cdf
Split files better 2020-07-22 18:57:59 +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 7d95860830
Remove IRC_User from arguments in the headers as well 2020-07-14 18:12:35 +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 91d4ac1250
Split tests, remove present IRC_Tag element, shorten stuff 2020-07-10 18:02:23 +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 a91ad0140c
Shorten realname to real 2020-07-05 13:39:34 +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