changelog
- 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
- Mon, 25 Jul 2022 15:40:27 +0200
- by Mike Becker <universe@uap-core.de> [Mon, 25 Jul 2022 15:40:27 +0200] rev 569
- #170 test cxBufferRead
- Mon, 25 Jul 2022 15:34:19 +0200
- by Mike Becker <universe@uap-core.de> [Mon, 25 Jul 2022 15:34:19 +0200] rev 568
- #170 test cxBufferGet
- Mon, 25 Jul 2022 15:29:56 +0200
- by Mike Becker <universe@uap-core.de> [Mon, 25 Jul 2022 15:29:56 +0200] rev 567
- #184 #170 more thorough flush testing
Also adds proper doc for write function.
- Mon, 25 Jul 2022 14:16:49 +0200
- by Mike Becker <universe@uap-core.de> [Mon, 25 Jul 2022 14:16:49 +0200] rev 566
- fix two tests reading one byte too much
- Mon, 25 Jul 2022 14:01:45 +0200
- by Mike Becker <universe@uap-core.de> [Mon, 25 Jul 2022 14:01:45 +0200] rev 565
- fix putc tests to make more sense of the bitwise or
- Wed, 08 Jun 2022 21:38:45 +0200
- by Mike Becker <universe@uap-core.de> [Wed, 08 Jun 2022 21:38:45 +0200] rev 564
- fix obsolete documentation
- Wed, 08 Jun 2022 21:33:31 +0200
- by Mike Becker <universe@uap-core.de> [Wed, 08 Jun 2022 21:33:31 +0200] rev 563
- improve hash key handling
- Fri, 27 May 2022 17:40:27 +0200
- by Mike Becker <universe@uap-core.de> [Fri, 27 May 2022 17:40:27 +0200] rev 562
- #189 #199 implement and test map rehash
- Fri, 27 May 2022 14:14:55 +0200
- by Mike Becker <universe@uap-core.de> [Fri, 27 May 2022 14:14:55 +0200] rev 561
- #199 test removing via iterator
- Fri, 27 May 2022 14:02:27 +0200
- by Mike Becker <universe@uap-core.de> [Fri, 27 May 2022 14:02:27 +0200] rev 560
- fix wrong slot and index numbers
- Fri, 27 May 2022 14:02:14 +0200
- by Mike Becker <universe@uap-core.de> [Fri, 27 May 2022 14:02:14 +0200] rev 559
- corrects documentation of iterator behavior
- Fri, 27 May 2022 13:25:42 +0200
- by Mike Becker <universe@uap-core.de> [Fri, 27 May 2022 13:25:42 +0200] rev 558
- add convenience function to make keys from strings
- Fri, 27 May 2022 12:59:41 +0200
- by Mike Becker <universe@uap-core.de> [Fri, 27 May 2022 12:59:41 +0200] rev 557
- remove unused header
- Fri, 27 May 2022 12:59:32 +0200
- by Mike Becker <universe@uap-core.de> [Fri, 27 May 2022 12:59:32 +0200] rev 556
- #199 tests for hash map
- Fri, 27 May 2022 12:28:49 +0200
- by Mike Becker <universe@uap-core.de> [Fri, 27 May 2022 12:28:49 +0200] rev 555
- fix documentation for map iterators
- Fri, 27 May 2022 12:28:35 +0200
- by Mike Becker <universe@uap-core.de> [Fri, 27 May 2022 12:28:35 +0200] rev 554
- fix kv-pair not initialized
- Fri, 27 May 2022 11:39:50 +0200
- by Mike Becker <universe@uap-core.de> [Fri, 27 May 2022 11:39:50 +0200] rev 553
- fix missing static inline for map functions
- Sat, 21 May 2022 12:10:25 +0200
- by Mike Becker <universe@uap-core.de> [Sat, 21 May 2022 12:10:25 +0200] rev 552
- #178 fix that lists of different kind cannot be compared
- Sat, 21 May 2022 11:22:47 +0200
- by Mike Becker <universe@uap-core.de> [Sat, 21 May 2022 11:22:47 +0200] rev 551
- #189 implement map iterators
- Thu, 19 May 2022 14:30:20 +0200
- by Mike Becker <universe@uap-core.de> [Thu, 19 May 2022 14:30:20 +0200] rev 550
- #189 basic map implementation
- Wed, 18 May 2022 16:26:32 +0200
- by Mike Becker <universe@uap-core.de> [Wed, 18 May 2022 16:26:32 +0200] rev 549
- #189 declare basic map functions
- Mon, 16 May 2022 19:25:19 +0200
- by Mike Becker <universe@uap-core.de> [Mon, 16 May 2022 19:25:19 +0200] rev 548
- #170 test buffer eof
- Mon, 16 May 2022 19:15:44 +0200
- by Mike Becker <universe@uap-core.de> [Mon, 16 May 2022 19:15:44 +0200] rev 547
- #170 test buffer seek
- Sun, 01 May 2022 16:48:26 +0200
- by Mike Becker <universe@uap-core.de> [Sun, 01 May 2022 16:48:26 +0200] rev 546
- #184 #170 flush at threshold test
- Sun, 01 May 2022 16:12:13 +0200
- by Mike Becker <universe@uap-core.de> [Sun, 01 May 2022 16:12:13 +0200] rev 545
- #184 #170 first basic flush test
- Sun, 01 May 2022 13:14:31 +0200
- by Mike Becker <universe@uap-core.de> [Sun, 01 May 2022 13:14:31 +0200] rev 544
- #184 untested implementation of the flush feature
- Sun, 01 May 2022 11:54:10 +0200
- by Mike Becker <universe@uap-core.de> [Sun, 01 May 2022 11:54:10 +0200] rev 543
- optimization for buffer write easy cases
- Sun, 01 May 2022 11:46:54 +0200
- by Mike Becker <universe@uap-core.de> [Sun, 01 May 2022 11:46:54 +0200] rev 542
- #170 no bug never existed
- Sun, 01 May 2022 11:44:23 +0200
- by Mike Becker <universe@uap-core.de> [Sun, 01 May 2022 11:44:23 +0200] rev 541
- #170 complete write tests for status quo
- Sun, 01 May 2022 10:39:13 +0200
- by Mike Becker <universe@uap-core.de> [Sun, 01 May 2022 10:39:13 +0200] rev 540
- fix regression: nitems adjusted at the wrong location
- Sat, 30 Apr 2022 09:47:20 +0200
- by Mike Becker <universe@uap-core.de> [Sat, 30 Apr 2022 09:47:20 +0200] rev 539
- #184 start implementation of the flush feature
- Sat, 30 Apr 2022 09:03:17 +0200
- by Mike Becker <universe@uap-core.de> [Sat, 30 Apr 2022 09:03:17 +0200] rev 538
- #170 first basic write tests
- Sat, 30 Apr 2022 08:40:40 +0200
- by Mike Becker <universe@uap-core.de> [Sat, 30 Apr 2022 08:40:40 +0200] rev 537
- fix doc error for cxBufferWrite
- Sat, 30 Apr 2022 08:30:51 +0200
- by Mike Becker <universe@uap-core.de> [Sat, 30 Apr 2022 08:30:51 +0200] rev 536
- #170 add cxBufferClear test
- Sun, 24 Apr 2022 17:45:09 +0200
- by Mike Becker <universe@uap-core.de> [Sun, 24 Apr 2022 17:45:09 +0200] rev 535
- #170 add several more buffer tests
- Sun, 24 Apr 2022 17:44:52 +0200
- by Mike Becker <universe@uap-core.de> [Sun, 24 Apr 2022 17:44:52 +0200] rev 534
- fix cxBufferMinimumCapacity not using the allocator
- Sun, 24 Apr 2022 17:29:34 +0200
- by Mike Becker <universe@uap-core.de> [Sun, 24 Apr 2022 17:29:34 +0200] rev 533
- do not implicitly zero freshly allocated memory
- Sun, 24 Apr 2022 17:14:05 +0200
- by Mike Becker <universe@uap-core.de> [Sun, 24 Apr 2022 17:14:05 +0200] rev 532
- fix cxBufferMinimumCapacity implementation still using additional_bytes
- Sun, 24 Apr 2022 16:23:44 +0200
- by Mike Becker <universe@uap-core.de> [Sun, 24 Apr 2022 16:23:44 +0200] rev 531
- fix erroneous doc for cxBufferShift
- Sun, 24 Apr 2022 15:15:39 +0200
- by Mike Becker <universe@uap-core.de> [Sun, 24 Apr 2022 15:15:39 +0200] rev 530
- #170 first buffer tests
- Sun, 24 Apr 2022 14:54:50 +0200
- by Mike Becker <universe@uap-core.de> [Sun, 24 Apr 2022 14:54:50 +0200] rev 529
- #171 const qualifier and nonnull attributes
Also removes cxBufferExtract temporarily.
- Mon, 18 Apr 2022 17:26:21 +0200
- by Mike Becker <universe@uap-core.de> [Mon, 18 Apr 2022 17:26:21 +0200] rev 528
- #179 improve API for list content destruction
- Mon, 18 Apr 2022 16:56:29 +0200
- by Mike Becker <universe@uap-core.de> [Mon, 18 Apr 2022 16:56:29 +0200] rev 527
- add doc for cx_for_n
- Mon, 18 Apr 2022 16:29:14 +0200
- by Mike Becker <universe@uap-core.de> [Mon, 18 Apr 2022 16:29:14 +0200] rev 526
- simplify destructor signature (but loads more responsibility onto the user)
- Mon, 18 Apr 2022 15:59:09 +0200
- by Mike Becker <universe@uap-core.de> [Mon, 18 Apr 2022 15:59:09 +0200] rev 525
- simplify auto-free contents in lists
- Mon, 18 Apr 2022 15:29:52 +0200
- by Mike Becker <universe@uap-core.de> [Mon, 18 Apr 2022 15:29:52 +0200] rev 524
- remove list destructor
- Mon, 18 Apr 2022 14:41:19 +0200
- by Mike Becker <universe@uap-core.de> [Mon, 18 Apr 2022 14:41:19 +0200] rev 523
- configure clang-tidy to ignore cert-err58-cpp for test code
- Mon, 18 Apr 2022 14:35:41 +0200
- by Mike Becker <universe@uap-core.de> [Mon, 18 Apr 2022 14:35:41 +0200] rev 522
- add [[maybe_unused]] attributed to params of mocked function
- Sat, 16 Apr 2022 22:12:47 +0200
- by Mike Becker <universe@uap-core.de> [Sat, 16 Apr 2022 22:12:47 +0200] rev 521
- add test for cxListCompare
Also increases size for low level sort test in order to
exceed the SBO limit.
- Sat, 16 Apr 2022 21:12:02 +0200
- by Mike Becker <universe@uap-core.de> [Sat, 16 Apr 2022 21:12:02 +0200] rev 520
- fix memory leak in test data
- Sat, 16 Apr 2022 20:44:47 +0200
- by Mike Becker <universe@uap-core.de> [Sat, 16 Apr 2022 20:44:47 +0200] rev 519
- make cxListMemoryMgmt a linkable symbol
- Sat, 16 Apr 2022 20:17:01 +0200
- by Mike Becker <universe@uap-core.de> [Sat, 16 Apr 2022 20:17:01 +0200] rev 518
- improve testing allocator + add tests for it
- Sat, 16 Apr 2022 18:02:10 +0200
- by Mike Becker <universe@uap-core.de> [Sat, 16 Apr 2022 18:02:10 +0200] rev 517
- migrate list tests to gtest
- Sat, 16 Apr 2022 17:28:36 +0200
- by Mike Becker <universe@uap-core.de> [Sat, 16 Apr 2022 17:28:36 +0200] rev 516
- fix required cast if compiled with C++
- Sat, 16 Apr 2022 14:47:27 +0200
- by Mike Becker <universe@uap-core.de> [Sat, 16 Apr 2022 14:47:27 +0200] rev 515
- migrate tree tests to gtest
- Sat, 16 Apr 2022 09:10:10 +0200
- by Mike Becker <universe@uap-core.de> [Sat, 16 Apr 2022 09:10:10 +0200] rev 514
- test uncovered branch in cxReallocate()
- Sat, 16 Apr 2022 08:59:51 +0200
- by Mike Becker <universe@uap-core.de> [Sat, 16 Apr 2022 08:59:51 +0200] rev 513
- do not use macro for suite name
- Sat, 16 Apr 2022 08:58:27 +0200
- by Mike Becker <universe@uap-core.de> [Sat, 16 Apr 2022 08:58:27 +0200] rev 512
- compile only one single binary for tests
- Sat, 16 Apr 2022 08:49:31 +0200
- by Mike Becker <universe@uap-core.de> [Sat, 16 Apr 2022 08:49:31 +0200] rev 511
- migrate allocator tests to gtest
- Fri, 15 Apr 2022 21:28:51 +0200
- by Mike Becker <universe@uap-core.de> [Fri, 15 Apr 2022 21:28:51 +0200] rev 510
- add googletest framework
- Sat, 09 Apr 2022 18:02:53 +0200
- by Mike Becker <universe@uap-core.de> [Sat, 09 Apr 2022 18:02:53 +0200] rev 509
- #129 - remove test code duplication
- Sat, 09 Apr 2022 16:37:43 +0200
- by Mike Becker <universe@uap-core.de> [Sat, 09 Apr 2022 16:37:43 +0200] rev 508
- #168 - add attributes and const
- Sun, 06 Mar 2022 13:57:36 +0100
- by Mike Becker <universe@uap-core.de> [Sun, 06 Mar 2022 13:57:36 +0100] rev 507
- remove test code duplication for cxListAdd
- Fri, 25 Feb 2022 14:35:18 +0100
- by Mike Becker <universe@uap-core.de> [Fri, 25 Feb 2022 14:35:18 +0100] rev 506
- add setup and teardown functions to test_list.c
- Tue, 15 Feb 2022 20:01:59 +0100
- by Mike Becker <universe@uap-core.de> [Tue, 15 Feb 2022 20:01:59 +0100] rev 505
- fix typo in documentation
- Tue, 15 Feb 2022 19:48:25 +0100
- by Mike Becker <universe@uap-core.de> [Tue, 15 Feb 2022 19:48:25 +0100] rev 504
- add convenience function to configure list memory management
- Tue, 15 Feb 2022 19:41:48 +0100
- by Mike Becker <universe@uap-core.de> [Tue, 15 Feb 2022 19:41:48 +0100] rev 503
- add new destructor API and apply it to CxList
- Tue, 15 Feb 2022 19:07:14 +0100
- by Mike Becker <universe@uap-core.de> [Tue, 15 Feb 2022 19:07:14 +0100] rev 502
- change Doxyfile to ignore __attribute__ and include static inline functions
- Mon, 31 Jan 2022 17:15:59 +0100
- by Mike Becker <universe@uap-core.de> [Mon, 31 Jan 2022 17:15:59 +0100] rev 501
- add allocator support to CxBuffer
Also change how the buffer itself is allocated and destroyed.
- Sun, 30 Jan 2022 14:19:00 +0100
- by Mike Becker <universe@uap-core.de> [Sun, 30 Jan 2022 14:19:00 +0100] rev 500
- do not hide pointers behind typedefs
- Sat, 29 Jan 2022 14:32:04 +0100
- by Mike Becker <universe@uap-core.de> [Sat, 29 Jan 2022 14:32:04 +0100] rev 499
- add cxListInsertAfter() and cxListInsertBefore()
- Sat, 29 Jan 2022 12:46:07 +0100
- by Mike Becker <universe@uap-core.de> [Sat, 29 Jan 2022 12:46:07 +0100] rev 498
- reorder the list test functions
This should make it easier to spot duplicated code and think about a
strategy to uniformly test "normal" linked lists and pointer lists.
- Sat, 22 Jan 2022 19:10:04 +0100
- by Mike Becker <universe@uap-core.de> [Sat, 22 Jan 2022 19:10:04 +0100] rev 497
- pointer type must be explicit in cx_foreach macro