Commit Graph

53 Commits

Author SHA1 Message Date
Alex D. acfd0ea3dc
Few tweaks to use new API 2021-04-16 18:10:33 +00:00
Alex D. df91106a7f
Small CMakeFiles changes 2021-04-10 16:51:56 +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. aa1d47cb27
Separate modes and add functions related to them 2021-04-04 21:08:14 +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. 282d643347
Remove ignores and add test 2021-03-31 11:30:16 +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. 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. f0f0d95078
Add earlytrail test 2021-03-05 17:16:26 +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. 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. 335a078861
Update patch 2021-02-15 16:11:21 +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. 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. 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. 8a9b320ea4
Bump version 2021-01-04 18:14:43 +00:00
Alex D. bfaaa24357
Move tests and headers and add doxygen support 2021-01-03 23:34:57 +00:00
Alex D. 28ee114457
Add clang analyze flags 2021-01-03 20:46:20 +00:00
Alex D. 6081dc6372
Release 2021.01.03 2021-01-03 01:10:13 +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. 0ae8fc3a5a
Version library 2020-12-30 18:48:48 +00:00
Alex D. daf09dedd3
Add headers as PUBLIC_HEADER install target 2020-12-16 15:11: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. 38b18dbdd3
Add new options and tweak stuff around 2020-10-29 21:33:37 +01:00
Alex D. c864c512d5
Set default variables with OPTION and set information messages to STATUS level 2020-10-10 12:15:02 +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. 98e580f29c
Add comment at the top 2020-09-22 22:58:53 +02:00
Alex D. 47c849cc98
Improve cmake list and link against built lib instead of existing lib to prevent linker errors 2020-09-22 22:33:20 +02:00
Alex D. 23dcf01dfe
Rename IRCV3 to BUILD_IRCV3 and fix tests linking, add headers to filesystem 2020-09-15 17:11:34 +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 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 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 27986560b9
Add definition and add new flags to readme, only build tests that are supported 2020-07-11 23:52:50 +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