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
Alex
57cfa3324a
Fix misleading indent, add brackets
2020-08-14 11:33:26 +02:00
Alex
4b7cd6c994
Fix whitespace being added if no tags are written
2020-08-14 11:32:25 +02:00
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
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
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