summaryrefslogtreecommitdiff
path: root/include/al/str.h
Commit message (Collapse)AuthorAge
* str: Add str_tok()Andrew Opalach 2025-05-07
| | | | Signed-off-by: Andrew Opalach <andrew@akon.city>
* (w)str: Change some variable namesAndrew Opalach 2025-05-03
| | | | Signed-off-by: Andrew Opalach <andrew@akon.city>
* str: Add remove_at() and replace() + testsAndrew Opalach 2025-05-03
| | | | | | | - Bring wstr_remove_at() in line with str. - Add a test for correct snprintf usage with str. Signed-off-by: Andrew Opalach <andrew@akon.city>
* (w)str: Consistency between cmp() and eq()Andrew Opalach 2025-04-17
| | | | Signed-off-by: Andrew Opalach <andrew@akon.city>
* all: Revert and add some style changesAndrew Opalach 2025-03-31
| | | | Signed-off-by: Andrew Opalach <andrew@akon.city>
* wstr: Port some str functionsAndrew Opalach 2025-01-25
| | | | | | Not properly tested. Signed-off-by: Andrew Opalach <andrew@akon.city>
* all: Consider types and numerical limitsAndrew Opalach 2025-01-17
| | | | | | | | | | - Vastly improve tests. - Change array/str/wstr APIs. - Use ptrdiff_t instead of size_t in ring buffer. - Make random seed thread-local. - Log now uses a static thread-local buffer instead of a malloc'd buffer. Signed-off-by: Andrew Opalach <andrew@akon.city>
* Revise styleAndrew Opalach 2024-12-26
| | | | Signed-off-by: Andrew Opalach <andrew@akon.city>
* all: Major cleanup and pass on readabilityAndrew Opalach 2024-12-22
| | | | Signed-off-by: Andrew Opalach <andrew@akon.city>
* all: Cleanup macro usageAndrew Opalach 2024-11-26
| | | | Signed-off-by: Andrew Opalach <andrew@akon.city>
* (w)str: Guard against error-prone str_c() usageAndrew Opalach 2024-10-04
| | | | | | Also, reorder al_str_insert() arguments. Signed-off-by: Andrew Opalach <andrew@akon.city>
* UpdateAndrew Opalach 2024-09-19
| | | | | | | | - Remove queue and liblfds - Add some helpers - Improve wstr compatibility Signed-off-by: Andrew Opalach <andrew@akon.city>
* UpdateAndrew Opalach 2024-04-09
| | | | | | | | | - Separate al_str_c functions between compile-time and runtime - Remove volatile from atomics - Allow not specifying a section in the log - Cleanup Signed-off-by: Andrew Opalach <andrew@akon.city>
* Add some wstr functionsAndrew Opalach 2024-02-02
| | | | | | | | - al_wstr_c - al_wstr_cmp - al_wstr_rfind Signed-off-by: Andrew Opalach <andrew@akon.city>
* Switch the order of al_array_insert args, cleanupAndrew Opalach 2024-01-27
| | | | Signed-off-by: Andrew Opalach <andrew@akon.city>
* UpdateAndrew Opalach 2023-12-17
| | | | | | | | - Add queue (proof of concept liblfds wrapper) - Cleanup log code - Misc fixes Signed-off-by: Andrew Opalach <andrew@akon.city>
* Improve str macrosAndrew Opalach 2023-11-15
| | | | Signed-off-by: Andrew Opalach <andrew@akon.city>
* UpdateAndrew Opalach 2023-11-05
| | | | | | | | | - Add wrapping add functions (u32, u16) - Add al_str_is_empty and al_str_to_lower - Define al_sprintf - Fix some compiler warnings Signed-off-by: Andrew Opalach <andrew@akon.city>
* CleanupAndrew Opalach 2023-10-10
| | | | | | | | | - Remove al_str_tok - Improve al_str_get_line - Various consistency fixes - Cleanup comments Signed-off-by: Andrew Opalach <andrew@akon.city>
* Add libalabasterAndrew Opalach 2023-10-07
Signed-off-by: Andrew Opalach <andrew@akon.city>