changelog
- Mon, 20 Mar 2023 18:05:12 +0100
- by Olaf Wintermann <olaf.wintermann@gmail.com> [Mon, 20 Mar 2023 18:05:12 +0100] rev 665
- fix hashmap iterator skipping the second element in some cases
- Tue, 14 Mar 2023 20:25:24 +0100
- by Mike Becker <universe@uap-core.de> [Tue, 14 Mar 2023 20:25:24 +0100] rev 664
- add cxListClear and fix missing destructor invocations - #241 #246
- Sun, 05 Mar 2023 10:55:32 +0100
- by Mike Becker <universe@uap-core.de> [Sun, 05 Mar 2023 10:55:32 +0100] rev 663
- add cx_hash_key_cxstr() macro
- Thu, 23 Feb 2023 22:43:13 +0100
- by Mike Becker <universe@uap-core.de> [Thu, 23 Feb 2023 22:43:13 +0100] rev 662
- add simple functions for creating lists
- Thu, 23 Feb 2023 22:27:41 +0100
- by Mike Becker <universe@uap-core.de> [Thu, 23 Feb 2023 22:27:41 +0100] rev 661
- add CX_LINKED_LIST_SORT_SBO_SIZE macro
- Thu, 23 Feb 2023 22:24:26 +0100
- by Mike Becker <universe@uap-core.de> [Thu, 23 Feb 2023 22:24:26 +0100] rev 660
- add some asserts
- Thu, 23 Feb 2023 21:42:46 +0100
- by Mike Becker <universe@uap-core.de> [Thu, 23 Feb 2023 21:42:46 +0100] rev 659
- split cxMapRemove() to cxMapRemoveAndGet()
- Thu, 23 Feb 2023 18:58:15 +0100
- by Mike Becker <universe@uap-core.de> [Thu, 23 Feb 2023 18:58:15 +0100] rev 658
- make hashmap store objects instead of pointers by default - fixes #239
- Mon, 20 Feb 2023 19:55:42 +0100
- by Mike Becker <universe@uap-core.de> [Mon, 20 Feb 2023 19:55:42 +0100] rev 657
- add CxListComparator compatible string compare functions
- Mon, 20 Feb 2023 19:14:42 +0100
- by Mike Becker <universe@uap-core.de> [Mon, 20 Feb 2023 19:14:42 +0100] rev 656
- fix gmock being build and gtest and gmock being installed
- Wed, 15 Feb 2023 16:48:11 +0100
- by Mike Becker <universe@uap-core.de> [Wed, 15 Feb 2023 16:48:11 +0100] rev 655
- implement backwards iterator - fixes #238
- Wed, 08 Feb 2023 20:26:26 +0100
- by Mike Becker <universe@uap-core.de> [Wed, 08 Feb 2023 20:26:26 +0100] rev 654
- Automated merge
- Tue, 07 Feb 2023 21:55:37 +0100
- by Mike Becker <universe@uap-core.de> [Tue, 07 Feb 2023 21:55:37 +0100] rev 653
- rename test directory to avoid name clash with Makefile target
- Tue, 07 Feb 2023 21:53:06 +0100
- by Mike Becker <universe@uap-core.de> [Tue, 07 Feb 2023 21:53:06 +0100] rev 652
- fix README showing how tests were run in the automake era
- Tue, 07 Feb 2023 21:37:55 +0100
- by Mike Becker <universe@uap-core.de> [Tue, 07 Feb 2023 21:37:55 +0100] rev 651
- fix last change of mul overflow builtin breaking non-windows compilations
now we use the generic builtin and leave the type resolution to the compiler
- Tue, 07 Feb 2023 20:08:45 +0100
- by Mike Becker <universe@uap-core.de> [Tue, 07 Feb 2023 20:08:45 +0100] rev 650
- fix code not compiling under windows+mingw
- Tue, 07 Feb 2023 20:08:08 +0100
- by Mike Becker <universe@uap-core.de> [Tue, 07 Feb 2023 20:08:08 +0100] rev 649
- fix wrong types for umul overflow builtins
- Tue, 07 Feb 2023 20:06:33 +0100
- by Mike Becker <universe@uap-core.de> [Tue, 07 Feb 2023 20:06:33 +0100] rev 648
- remove too platform dependent printf tests
- Wed, 08 Feb 2023 20:26:09 +0100
- by Mike Becker <universe@uap-core.de> [Wed, 08 Feb 2023 20:26:09 +0100] rev 647
- implement swap function for list elements - fixes #218
- Wed, 08 Feb 2023 18:56:58 +0100
- by Mike Becker <universe@uap-core.de> [Wed, 08 Feb 2023 18:56:58 +0100] rev 646
- add pointer swap utility
- Thu, 02 Feb 2023 20:25:34 +0100
- by Mike Becker <universe@uap-core.de> [Thu, 02 Feb 2023 20:25:34 +0100] rev 645
- add strtok API - fixes #220
- Wed, 01 Feb 2023 18:07:16 +0100
- by Mike Becker <universe@uap-core.de> [Wed, 01 Feb 2023 18:07:16 +0100] rev 644
- reformat file
- Wed, 01 Feb 2023 18:06:50 +0100
- by Mike Becker <universe@uap-core.de> [Wed, 01 Feb 2023 18:06:50 +0100] rev 643
- #228 make buffer sizes adjustable at compile time
- Wed, 01 Feb 2023 17:14:17 +0100
- by Mike Becker <universe@uap-core.de> [Wed, 01 Feb 2023 17:14:17 +0100] rev 642
- minor fix for testing allocator self-test
- Thu, 26 Jan 2023 20:59:36 +0100
- by Mike Becker <universe@uap-core.de> [Thu, 26 Jan 2023 20:59:36 +0100] rev 641
- add new pointer list wrapper - resolves #234
since we need a thread local variable, this drops C99 support
- Wed, 25 Jan 2023 19:19:29 +0100
- by Mike Becker <universe@uap-core.de> [Wed, 25 Jan 2023 19:19:29 +0100] rev 640
- simplify list class - fixes #236
- Mon, 23 Jan 2023 20:34:18 +0100
- by Mike Becker <universe@uap-core.de> [Mon, 23 Jan 2023 20:34:18 +0100] rev 639
- temporarily remove pointer lists - see #234
- Mon, 23 Jan 2023 20:22:11 +0100
- by Mike Becker <universe@uap-core.de> [Mon, 23 Jan 2023 20:22:11 +0100] rev 638
- add cxListInsertArray() - fixes #224
- Mon, 23 Jan 2023 20:00:26 +0100
- by Mike Becker <universe@uap-core.de> [Mon, 23 Jan 2023 20:00:26 +0100] rev 637
- remove the untrue restriction for the index parameter of cx_array_copy() from the documentation
- Tue, 20 Dec 2022 16:09:03 +0100
- by Mike Becker <universe@uap-core.de> [Tue, 20 Dec 2022 16:09:03 +0100] rev 636
- add printf tests
- Tue, 20 Dec 2022 15:08:08 +0100
- by Mike Becker <universe@uap-core.de> [Tue, 20 Dec 2022 15:08:08 +0100] rev 635
- add attributes to printf functions
- Tue, 20 Dec 2022 14:14:09 +0100
- by Mike Becker <universe@uap-core.de> [Tue, 20 Dec 2022 14:14:09 +0100] rev 634
- change prefix of UCX_PRINTF_BUFSIZE to CX
- Tue, 20 Dec 2022 14:12:36 +0100
- by Mike Becker <universe@uap-core.de> [Tue, 20 Dec 2022 14:12:36 +0100] rev 633
- add utils tests
- Wed, 07 Dec 2022 21:07:54 +0100
- by Mike Becker <universe@uap-core.de> [Wed, 07 Dec 2022 21:07:54 +0100] rev 632
- fix public header destination
- Wed, 07 Dec 2022 20:11:44 +0100
- by Mike Becker <universe@uap-core.de> [Wed, 07 Dec 2022 20:11:44 +0100] rev 631
- tests for compare functions
- Sat, 26 Nov 2022 16:58:41 +0100
- by Mike Becker <universe@uap-core.de> [Sat, 26 Nov 2022 16:58:41 +0100] rev 630
- separate iterators and mutating iterators
Trade tons of code duplication for const-correctness.
- Wed, 23 Nov 2022 22:40:55 +0100
- by Mike Becker <universe@uap-core.de> [Wed, 23 Nov 2022 22:40:55 +0100] rev 629
- #224 add cxListAddArray()
This also replaces cxLinkedListFromArray().
- Sun, 20 Nov 2022 21:08:36 +0100
- by Mike Becker <universe@uap-core.de> [Sun, 20 Nov 2022 21:08:36 +0100] rev 628
- use //-style single line comments everywhere
- Sun, 20 Nov 2022 17:48:42 +0100
- by Mike Becker <universe@uap-core.de> [Sun, 20 Nov 2022 17:48:42 +0100] rev 627
- fix cx_array_copy() unintentionally shrinking the array
- Sun, 20 Nov 2022 17:47:26 +0100
- by Mike Becker <universe@uap-core.de> [Sun, 20 Nov 2022 17:47:26 +0100] rev 626
- #219: fix off-by-one bug in cx_arl_remove()
- Sun, 20 Nov 2022 17:22:37 +0100
- by Mike Becker <universe@uap-core.de> [Sun, 20 Nov 2022 17:22:37 +0100] rev 625
- fix calculation of new capacity in cx_array_copy()
- Sun, 20 Nov 2022 17:06:00 +0100
- by Mike Becker <universe@uap-core.de> [Sun, 20 Nov 2022 17:06:00 +0100] rev 624
- #219: cx_arl_remove short-circuit for last element
- Sun, 20 Nov 2022 16:58:51 +0100
- by Mike Becker <universe@uap-core.de> [Sun, 20 Nov 2022 16:58:51 +0100] rev 623
- #219 array list: implement reverse
- Sun, 20 Nov 2022 16:28:03 +0100
- by Mike Becker <universe@uap-core.de> [Sun, 20 Nov 2022 16:28:03 +0100] rev 622
- #219 array list: implement compare member func
- Sun, 20 Nov 2022 16:22:50 +0100
- by Mike Becker <universe@uap-core.de> [Sun, 20 Nov 2022 16:22:50 +0100] rev 621
- missing const in cxListFind
- Sun, 20 Nov 2022 16:22:16 +0100
- by Mike Becker <universe@uap-core.de> [Sun, 20 Nov 2022 16:22:16 +0100] rev 620
- #219 improve cx_arl_iter_next
Remove one function call
- Sun, 20 Nov 2022 16:21:03 +0100
- by Mike Becker <universe@uap-core.de> [Sun, 20 Nov 2022 16:21:03 +0100] rev 619
- #219 array list: implement insert via iterator
- Sun, 20 Nov 2022 15:51:02 +0100
- by Mike Becker <universe@uap-core.de> [Sun, 20 Nov 2022 15:51:02 +0100] rev 618
- #219 array list: implement compare
- Sun, 20 Nov 2022 12:17:34 +0100
- by Olaf Wintermann <olaf.wintermann@gmail.com> [Sun, 20 Nov 2022 12:17:34 +0100] rev 617
- fix include in array_list.h
- Fri, 18 Nov 2022 22:32:17 +0100
- by Mike Becker <universe@uap-core.de> [Fri, 18 Nov 2022 22:32:17 +0100] rev 616
- #219 array list: add iterator
- Thu, 17 Nov 2022 18:55:14 +0100
- by Mike Becker <universe@uap-core.de> [Thu, 17 Nov 2022 18:55:14 +0100] rev 615
- #219 array list: implement sort
- Thu, 17 Nov 2022 18:46:55 +0100
- by Mike Becker <universe@uap-core.de> [Thu, 17 Nov 2022 18:46:55 +0100] rev 614
- #219 array list: implement find
- Thu, 17 Nov 2022 18:32:59 +0100
- by Mike Becker <universe@uap-core.de> [Thu, 17 Nov 2022 18:32:59 +0100] rev 613
- #219 array list: implement remove
- Thu, 17 Nov 2022 18:29:59 +0100
- by Mike Becker <universe@uap-core.de> [Thu, 17 Nov 2022 18:29:59 +0100] rev 612
- fix typo in enum cx_array_copy_result
- Thu, 17 Nov 2022 18:25:40 +0100
- by Mike Becker <universe@uap-core.de> [Thu, 17 Nov 2022 18:25:40 +0100] rev 611
- #219 array list: implement insert
- Wed, 16 Nov 2022 22:27:46 +0100
- by Mike Becker <universe@uap-core.de> [Wed, 16 Nov 2022 22:27:46 +0100] rev 610
- #219 array list: implement add and at
Add uses the low level cx_array_copy function which is
now also implemented, but not tested by individual unit
tests.
- Sun, 13 Nov 2022 13:29:15 +0100
- by Mike Becker <universe@uap-core.de> [Sun, 13 Nov 2022 13:29:15 +0100] rev 609
- more custom data for array re-allocator
- Sun, 13 Nov 2022 13:22:03 +0100
- by Mike Becker <universe@uap-core.de> [Sun, 13 Nov 2022 13:22:03 +0100] rev 608
- proposal for a low level array copy
- Sun, 13 Nov 2022 13:21:48 +0100
- by Mike Becker <universe@uap-core.de> [Sun, 13 Nov 2022 13:21:48 +0100] rev 607
- implement array list ctor and dtor
also lays out the "glue level" functions
- Sat, 12 Nov 2022 15:56:58 +0100
- by Mike Becker <universe@uap-core.de> [Sat, 12 Nov 2022 15:56:58 +0100] rev 606
- add array list tests
- Sun, 06 Nov 2022 16:11:11 +0100
- by Mike Becker <universe@uap-core.de> [Sun, 06 Nov 2022 16:11:11 +0100] rev 605
- fix typo in compare.h
- Sun, 06 Nov 2022 16:07:32 +0100
- by Mike Becker <universe@uap-core.de> [Sun, 06 Nov 2022 16:07:32 +0100] rev 604
- change hash functions
1) for zero-terminated strings, the terminator is no longer included in the hash
2) for NULL there is now a special hash value different from the hash for empty data
- Sun, 06 Nov 2022 14:46:59 +0100
- by Mike Becker <universe@uap-core.de> [Sun, 06 Nov 2022 14:46:59 +0100] rev 603
- fix missing const in cx_hash_key signature
- Sun, 06 Nov 2022 14:17:33 +0100
- by Mike Becker <universe@uap-core.de> [Sun, 06 Nov 2022 14:17:33 +0100] rev 602
- use ucx compare function in list tests
- Sat, 05 Nov 2022 17:50:04 +0100
- by Mike Becker <universe@uap-core.de> [Sat, 05 Nov 2022 17:50:04 +0100] rev 601
- add compare functions
- Sat, 05 Nov 2022 17:44:52 +0100
- by Mike Becker <universe@uap-core.de> [Sat, 05 Nov 2022 17:44:52 +0100] rev 600
- east const
- Sat, 05 Nov 2022 17:17:17 +0100
- by Mike Becker <universe@uap-core.de> [Sat, 05 Nov 2022 17:17:17 +0100] rev 599
- #222 add printf-like functions
- Sun, 23 Oct 2022 17:02:07 +0200
- by Mike Becker <universe@uap-core.de> [Sun, 23 Oct 2022 17:02:07 +0200] rev 598
- #217 cover cx_strreplace_a() macro
- Sun, 23 Oct 2022 16:57:10 +0200
- by Mike Becker <universe@uap-core.de> [Sun, 23 Oct 2022 16:57:10 +0200] rev 597
- #217 cover cx_strcat macro
- Sun, 23 Oct 2022 16:49:35 +0200
- by Mike Becker <universe@uap-core.de> [Sun, 23 Oct 2022 16:49:35 +0200] rev 596
- #216 test hashing functions
- Sun, 23 Oct 2022 16:40:53 +0200
- by Mike Becker <universe@uap-core.de> [Sun, 23 Oct 2022 16:40:53 +0200] rev 595
- remove unnecessary code
- Sun, 23 Oct 2022 13:39:44 +0200
- by Mike Becker <universe@uap-core.de> [Sun, 23 Oct 2022 13:39:44 +0200] rev 594
- add test for cxMapClear()
- Sun, 23 Oct 2022 13:32:46 +0200
- by Mike Becker <universe@uap-core.de> [Sun, 23 Oct 2022 13:32:46 +0200] rev 593
- explicitly cast int to char
- Sun, 23 Oct 2022 13:32:16 +0200
- by Mike Becker <universe@uap-core.de> [Sun, 23 Oct 2022 13:32:16 +0200] rev 592
- enclose macro arguments in parenthesis
- Tue, 04 Oct 2022 19:25:07 +0200
- by Mike Becker <universe@uap-core.de> [Tue, 04 Oct 2022 19:25:07 +0200] rev 591
- fix over-optimization of strstr
1. it's actually less performant to frequently read bytes
from an array instead of using the native word length
2. the SBO buffer should be local and not static to allow
multi-threading usage
- Tue, 04 Oct 2022 18:55:20 +0200
- by Mike Becker <universe@uap-core.de> [Tue, 04 Oct 2022 18:55:20 +0200] rev 590
- fix missing zero-termination in strreplace
- Tue, 04 Oct 2022 18:49:14 +0200
- by Mike Becker <universe@uap-core.de> [Tue, 04 Oct 2022 18:49:14 +0200] rev 589
- add zero-termination guarantees
- Tue, 20 Sep 2022 10:37:29 +0200
- by Mike Becker <universe@uap-core.de> [Tue, 20 Sep 2022 10:37:29 +0200] rev 588
- do not use c++ object initialization
- Tue, 20 Sep 2022 10:36:04 +0200
- by Mike Becker <universe@uap-core.de> [Tue, 20 Sep 2022 10:36:04 +0200] rev 587
- use EXPECT_STREQ instead of strcmp
- Tue, 20 Sep 2022 10:30:54 +0200
- by Mike Becker <universe@uap-core.de> [Tue, 20 Sep 2022 10:30:54 +0200] rev 586
- add tests for strupper and strlower
- Tue, 20 Sep 2022 10:24:03 +0200
- by Mike Becker <universe@uap-core.de> [Tue, 20 Sep 2022 10:24:03 +0200] rev 585
- add test coverage for _m variant functions
- Tue, 13 Sep 2022 20:11:26 +0200
- by Mike Becker <universe@uap-core.de> [Tue, 13 Sep 2022 20:11:26 +0200] rev 584
- disallow NULL for cx_str() and cx_mutstr()
- Fri, 09 Sep 2022 20:19:08 +0200
- by Mike Becker <universe@uap-core.de> [Fri, 09 Sep 2022 20:19:08 +0200] rev 583
- add tests and missing implementations for strings
- Sat, 03 Sep 2022 15:11:23 +0200
- by Mike Becker <universe@uap-core.de> [Sat, 03 Sep 2022 15:11:23 +0200] rev 582
- implement strupper and strlower
- Sat, 03 Sep 2022 14:56:07 +0200
- by Mike Becker <universe@uap-core.de> [Sat, 03 Sep 2022 14:56:07 +0200] rev 581
- implement more string functions
- Wed, 31 Aug 2022 23:12:05 +0200
- by Mike Becker <universe@uap-core.de> [Wed, 31 Aug 2022 23:12:05 +0200] rev 580
- more implementations of string functions
- Tue, 30 Aug 2022 19:56:07 +0200
- by Mike Becker <universe@uap-core.de> [Tue, 30 Aug 2022 19:56:07 +0200] rev 579
- start implementing string functions
- Tue, 30 Aug 2022 19:55:56 +0200
- by Mike Becker <universe@uap-core.de> [Tue, 30 Aug 2022 19:55:56 +0200] rev 578
- some function can be macros using the default allocator
- Tue, 30 Aug 2022 19:34:22 +0200
- by Mike Becker <universe@uap-core.de> [Tue, 30 Aug 2022 19:34:22 +0200] rev 577
- wrong position of struct identifier
- Mon, 29 Aug 2022 20:54:42 +0200
- by Mike Becker <universe@uap-core.de> [Mon, 29 Aug 2022 20:54:42 +0200] rev 576
- first proposal for the string header
- Fri, 12 Aug 2022 16:56:41 +0200
- by Mike Becker <universe@uap-core.de> [Fri, 12 Aug 2022 16:56:41 +0200] rev 575
- fix #200 - key contents not compared in cx_hash_map_put()
- Fri, 12 Aug 2022 16:48:59 +0200
- by Mike Becker <universe@uap-core.de> [Fri, 12 Aug 2022 16:48:59 +0200] rev 574
- invert if-condition in preparation for the next bugfix
- Fri, 12 Aug 2022 16:47:11 +0200
- by Mike Becker <universe@uap-core.de> [Fri, 12 Aug 2022 16:47:11 +0200] rev 573
- remove unused variable (return immediately)
- Mon, 08 Aug 2022 17:12:00 +0200
- by Mike Becker <universe@uap-core.de> [Mon, 08 Aug 2022 17:12:00 +0200] rev 572
- #201 - remove dangerous allocator config
There is no plausible use case, except using the testing
allocator in the test case, and having the possibility to
specify any allocator (including another mempool) causes
more harm than good.
- Wed, 03 Aug 2022 17:27:55 +0200
- by Mike Becker <universe@uap-core.de> [Wed, 03 Aug 2022 17:27:55 +0200] rev 571
- #201 - add mempool implementation
- Wed, 03 Aug 2022 15:44:46 +0200
- by Mike Becker <universe@uap-core.de> [Wed, 03 Aug 2022 15:44:46 +0200] rev 570
- remove currently unused ssize_t definition