Commit Graph

93 Commits

Author SHA1 Message Date
Alex D. b06ce004c8
Add new alloc 2021-04-17 12:42:10 +00:00
Alex D. acfd0ea3dc
Few tweaks to use new API 2021-04-16 18:10:33 +00:00
Alex D. e5ff458728
Fix some stupid shit i've forgot to change 2021-04-07 22:03:14 +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. 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. b325599808
Fix a few bugs 2021-02-23 23:06:30 +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. d1fa763dee
Add few other things in the struct 2021-02-20 22:50:03 +00:00
Alex D. 1c8ba22489
Bump version and fix a few things 2021-02-20 17:25:08 +00:00
Alex D. 44451a6c88
Add allocators and free functions 2021-02-20 17:16:41 +00:00
Alex D. 36e0ebda0c
Fix a few initialisation problems and memleaks 2021-02-15 16:10:31 +00:00
Alex D. 1979f7aa77
Split tokenizers into tag and tag_list and fix a few memory leaks 2021-02-15 15:57:29 +00:00
Alex D. fd6dc5e0ea
Adapt tests to new assemblers and add string lenght checks 2021-02-15 15:23:29 +00:00
Alex D. fd49e10b9a
Remove errors 2021-02-15 15:22:56 +00:00
Alex D. a5ee5a7e35
Assembler cleanup
- use ssize_t as return value with -1 indicating a error or positive
  values as lenght printed
- set structs as immutable
- separate tag list and tag assembly
2021-02-15 15:22:10 +00:00
Alex D. 88d18cbe86
uIRC version 0.1 -- beta
- Switch to semantic versioning
- Disable unstable and unfinished features by default
- Shorten clang tidy and enable a few other warnings
- Rewrite tests
- Switch prefixes to functions to uirc_ and definitions to IRC_
- Do in-function allocation of structs and return those
- Improve parsing logic
- Remove helpers
- Clean up code
- Add CTCP codes
- Add dependency to library for general functions (CoreLibs)
- Namespace header guards as IRC_GUARD_(TYPE)_(FILE)
- Remove integer representations of commands, now are strings
2021-02-15 11:39:25 +00:00
Alex D. 838497613a
Fix replaced comment 2021-01-27 17:45:31 +00:00
Alex D. 694d2ba105
Version 2021.01.24 - Fixes ahead
- Explicit types
- Fix compiler options
- Reformat some code
- Fix helper headers
2021-01-24 15:40:28 +00:00
Alex D. 2949d02516
Few tweaks and some docs
- Use provided IRC_Message structs instead of global
- Add documentation
2021-01-23 15:07:55 +00:00
Alex D. c952340638
Change types for validators and use assertions 2021-01-04 17:21:18 +00:00
Alex D. b4c807b37c
Don't include tagmappings without ircv3 2021-01-04 02:36:19 +00:00
Alex D. bfaaa24357
Move tests and headers and add doxygen support 2021-01-03 23:34:57 +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. 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. 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. 8b9a527ace
Fix argument tokenizer 2020-09-24 18:59:16 +02:00
Alex D. 623d4af43a
Add own strtok implementation that has defined behaviour and use that for tokenizers 2020-09-01 13:18:07 +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 5f19f7a4c1
conform even further to rfc2812 and skip multiple whitespaces, fix trailing space bug 2020-08-18 21:20:45 +02:00
Alex 1b46e38952
Add numeric commands to assembler and fix a typo that caused a bug 2020-08-17 19:16:55 +02:00
Alex 5123d20991
Tags may be missing #2 2020-08-14 11:41:08 +02:00
Alex eb175a0f92
Tags may be missing 2020-08-14 11:38:02 +02:00