changelog
- 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
- Sat, 22 Jan 2022 19:04:32 +0100
- by Mike Becker <universe@uap-core.de> [Sat, 22 Jan 2022 19:04:32 +0100] rev 496
- add cx_foreach macro
- Sat, 22 Jan 2022 18:49:06 +0100
- by Mike Becker <universe@uap-core.de> [Sat, 22 Jan 2022 18:49:06 +0100] rev 495
- add the feature to remove items during iteration
- Sat, 22 Jan 2022 17:15:14 +0100
- by Mike Becker <universe@uap-core.de> [Sat, 22 Jan 2022 17:15:14 +0100] rev 494
- add iterator interface + linked list iterator
- Sat, 22 Jan 2022 10:29:48 +0100
- by Mike Becker <universe@uap-core.de> [Sat, 22 Jan 2022 10:29:48 +0100] rev 493
- hide __attribute__ from compilers that may not support it
- Tue, 28 Dec 2021 18:05:14 +0100
- by Mike Becker <universe@uap-core.de> [Tue, 28 Dec 2021 18:05:14 +0100] rev 492
- simplifies some linked list tests
- Tue, 28 Dec 2021 17:49:52 +0100
- by Mike Becker <universe@uap-core.de> [Tue, 28 Dec 2021 17:49:52 +0100] rev 491
- fix missing cleanup in test_hl_linked_list_from_array
- Tue, 28 Dec 2021 17:41:51 +0100
- by Mike Becker <universe@uap-core.de> [Tue, 28 Dec 2021 17:41:51 +0100] rev 490
- add cxListReverse()
- Tue, 28 Dec 2021 17:38:02 +0100
- by Mike Becker <universe@uap-core.de> [Tue, 28 Dec 2021 17:38:02 +0100] rev 489
- add some const qualifiers
- Tue, 28 Dec 2021 17:24:18 +0100
- by Mike Becker <universe@uap-core.de> [Tue, 28 Dec 2021 17:24:18 +0100] rev 488
- add cxLinkedListFromArray() and cxListCompare()
- Tue, 28 Dec 2021 14:25:05 +0100
- by Mike Becker <universe@uap-core.de> [Tue, 28 Dec 2021 14:25:05 +0100] rev 487
- use c99 bool + add test for low level find
- Tue, 28 Dec 2021 14:16:04 +0100
- by Mike Becker <universe@uap-core.de> [Tue, 28 Dec 2021 14:16:04 +0100] rev 486
- add cx_linked_list_compare() and simplifies some tests
- Mon, 27 Dec 2021 17:16:32 +0100
- by Mike Becker <universe@uap-core.de> [Mon, 27 Dec 2021 17:16:32 +0100] rev 485
- use same doxygen style in all files
also adds doxygen main page
- Mon, 27 Dec 2021 17:02:32 +0100
- by Mike Becker <universe@uap-core.de> [Mon, 27 Dec 2021 17:02:32 +0100] rev 484
- add common.h include to all other header files
- Mon, 27 Dec 2021 16:51:10 +0100
- by Mike Becker <universe@uap-core.de> [Mon, 27 Dec 2021 16:51:10 +0100] rev 483
- add ported UCX buffer implementation
Notes:
* ucx_buffer_extend has been removed
in favor of cxBufferMinimumCapacity
* the buffer struct now has a union for
char* and unsigned char* buffers
- Mon, 27 Dec 2021 14:44:08 +0100
- by Mike Becker <universe@uap-core.de> [Mon, 27 Dec 2021 14:44:08 +0100] rev 482
- add tests for the new low level functions
- Thu, 23 Dec 2021 15:20:50 +0100
- by Mike Becker <universe@uap-core.de> [Thu, 23 Dec 2021 15:20:50 +0100] rev 481
- add several new linked list functions
* cx_linked_list_insert()
* cx_linked_list_insert_chain()
* cx_linked_list_link()
* cx_linked_list_unlink()
Also uses the most general function wherever possible.
- Mon, 20 Dec 2021 13:01:38 +0100
- by Mike Becker <universe@uap-core.de> [Mon, 20 Dec 2021 13:01:38 +0100] rev 480
- add cx_linked_list_find()
- Mon, 20 Dec 2021 12:10:48 +0100
- by Mike Becker <universe@uap-core.de> [Mon, 20 Dec 2021 12:10:48 +0100] rev 479
- add linked list tests for cxListAt()
- Mon, 20 Dec 2021 11:58:36 +0100
- by Mike Becker <universe@uap-core.de> [Mon, 20 Dec 2021 11:58:36 +0100] rev 478
- add more nonnull attributes
This also changes the contract for last/first in the sense that these
functions now also require a valid pointer.
- Mon, 20 Dec 2021 11:26:39 +0100
- by Mike Becker <universe@uap-core.de> [Mon, 20 Dec 2021 11:26:39 +0100] rev 477
- add more explicit documentation to cx_linked_list_remove()
also require nonnull node argument
- Mon, 20 Dec 2021 11:17:06 +0100
- by Mike Becker <universe@uap-core.de> [Mon, 20 Dec 2021 11:17:06 +0100] rev 476
- change contract of cx_linked_list_remove()
also use cx_linked_list_remove() in high level API
- Sat, 04 Dec 2021 17:38:23 +0100
- by Mike Becker <universe@uap-core.de> [Sat, 04 Dec 2021 17:38:23 +0100] rev 475
- add cx_linked_list_first() + cx_linked_list_prepend()
removes concatenating behavior of cx_linked_list_add()
- Sat, 09 Oct 2021 11:12:48 +0200
- by Mike Becker <universe@uap-core.de> [Sat, 09 Oct 2021 11:12:48 +0200] rev 474
- remove cxListLast (can be realized via cxListAt and index=size-1)
- Fri, 08 Oct 2021 19:47:31 +0200
- by Mike Becker <universe@uap-core.de> [Fri, 08 Oct 2021 19:47:31 +0200] rev 473
- add cx_linked_list_{prev, remove, reverse}
changes assertions for some low level methods (loc_next is now always mandatory)
- Fri, 08 Oct 2021 18:58:49 +0200
- by Mike Becker <universe@uap-core.de> [Fri, 08 Oct 2021 18:58:49 +0200] rev 472
- move dereference operation into macro
- Tue, 05 Oct 2021 16:22:48 +0200
- by Mike Becker <universe@uap-core.de> [Tue, 05 Oct 2021 16:22:48 +0200] rev 471
- add new ucx_list_sort test
- Wed, 06 Oct 2021 14:24:52 +0200
- by Mike Becker <universe@uap-core.de> [Wed, 06 Oct 2021 14:24:52 +0200] rev 470
- add tree.h to list of headers
- Wed, 06 Oct 2021 14:10:19 +0200
- by Mike Becker <universe@uap-core.de> [Wed, 06 Oct 2021 14:10:19 +0200] rev 469
- add high level list sort and inlines method invocation functions
- Tue, 05 Oct 2021 16:33:11 +0200
- by Mike Becker <universe@uap-core.de> [Tue, 05 Oct 2021 16:33:11 +0200] rev 468
- add cx_linked_list_sort()
- Tue, 05 Oct 2021 13:04:20 +0200
- by Mike Becker <universe@uap-core.de> [Tue, 05 Oct 2021 13:04:20 +0200] rev 467
- remove unused cxLinkedListRecalculateSize()
It is not clear what this function was ever supposed to do.
- Tue, 05 Oct 2021 13:03:45 +0200
- by Mike Becker <universe@uap-core.de> [Tue, 05 Oct 2021 13:03:45 +0200] rev 466
- add special linked list implementation for storing pointers
- Tue, 05 Oct 2021 12:25:23 +0200
- by Mike Becker <universe@uap-core.de> [Tue, 05 Oct 2021 12:25:23 +0200] rev 465
- remove redundant documentation for function pointers
- Tue, 05 Oct 2021 12:23:46 +0200
- by Mike Becker <universe@uap-core.de> [Tue, 05 Oct 2021 12:23:46 +0200] rev 464
- add documentation for list.h
- Tue, 05 Oct 2021 12:19:19 +0200
- by Mike Becker <universe@uap-core.de> [Tue, 05 Oct 2021 12:19:19 +0200] rev 463
- change src dir of Doxygen to only include header files
- Tue, 05 Oct 2021 12:16:50 +0200
- by Mike Becker <universe@uap-core.de> [Tue, 05 Oct 2021 12:16:50 +0200] rev 462
- remove obsolete config from Doxyfile
- Tue, 05 Oct 2021 12:12:09 +0200
- by Mike Becker <universe@uap-core.de> [Tue, 05 Oct 2021 12:12:09 +0200] rev 461
- put attributes on separate lines
- Tue, 05 Oct 2021 11:19:32 +0200
- by Mike Becker <universe@uap-core.de> [Tue, 05 Oct 2021 11:19:32 +0200] rev 460
- remove convenience macros
Users should write their own wrappers s.t. the type
information does not have to be repeated on every
call site.
- Sun, 03 Oct 2021 18:51:44 +0200
- by Mike Becker <universe@uap-core.de> [Sun, 03 Oct 2021 18:51:44 +0200] rev 459
- add tests for high level functions
- Sun, 03 Oct 2021 18:37:13 +0200
- by Mike Becker <universe@uap-core.de> [Sun, 03 Oct 2021 18:37:13 +0200] rev 458
- add convenience macros for pointer casts
- Sun, 03 Oct 2021 18:36:51 +0200
- by Mike Becker <universe@uap-core.de> [Sun, 03 Oct 2021 18:36:51 +0200] rev 457
- fix bad start index in cx_ll_node_at()
- Sun, 03 Oct 2021 16:30:47 +0200
- by Mike Becker <universe@uap-core.de> [Sun, 03 Oct 2021 16:30:47 +0200] rev 456
- change cx_linked_list_last() and add a test for it
- Sun, 03 Oct 2021 16:02:53 +0200
- by Mike Becker <universe@uap-core.de> [Sun, 03 Oct 2021 16:02:53 +0200] rev 455
- change test names
- Sun, 03 Oct 2021 15:40:38 +0200
- by Mike Becker <universe@uap-core.de> [Sun, 03 Oct 2021 15:40:38 +0200] rev 454
- remove unused cx_tree_last()
- Sun, 03 Oct 2021 14:06:57 +0200
- by Mike Becker <universe@uap-core.de> [Sun, 03 Oct 2021 14:06:57 +0200] rev 453
- add some documentation and changes some signatures
- Sun, 03 Oct 2021 13:07:48 +0200
- by Mike Becker <universe@uap-core.de> [Sun, 03 Oct 2021 13:07:48 +0200] rev 452
- add __alloc_size__ attribute
- Sun, 03 Oct 2021 12:04:27 +0200
- by Mike Becker <universe@uap-core.de> [Sun, 03 Oct 2021 12:04:27 +0200] rev 451
- make cx_linked_list_class static
- Sun, 03 Oct 2021 12:02:57 +0200
- by Mike Becker <universe@uap-core.de> [Sun, 03 Oct 2021 12:02:57 +0200] rev 450
- improves usage of attributes
- Sun, 03 Oct 2021 10:43:31 +0200
- by Mike Becker <universe@uap-core.de> [Sun, 03 Oct 2021 10:43:31 +0200] rev 449
- minor code changes
These changes do not affect program behavior.
- Tue, 28 Sep 2021 18:49:12 +0200
- by Mike Becker <universe@uap-core.de> [Tue, 28 Sep 2021 18:49:12 +0200] rev 448
- implement cx_ll_insert()
change cx_ll_add() to use insert with index=size
- Tue, 28 Sep 2021 18:33:42 +0200
- by Mike Becker <universe@uap-core.de> [Tue, 28 Sep 2021 18:33:42 +0200] rev 447
- implement cx_ll_remove()
- Tue, 28 Sep 2021 18:22:00 +0200
- by Mike Becker <universe@uap-core.de> [Tue, 28 Sep 2021 18:22:00 +0200] rev 446
- remove unnecessary fields from linked list node and simplifies cx_ll_add()
- Tue, 28 Sep 2021 18:09:25 +0200
- by Mike Becker <universe@uap-core.de> [Tue, 28 Sep 2021 18:09:25 +0200] rev 445
- Automated merge
- Tue, 28 Sep 2021 18:07:05 +0200
- by Olaf Wintermann <olaf.wintermann@gmail.com> [Tue, 28 Sep 2021 18:07:05 +0200] rev 444
- rename test_cx_linked_list_add
- Tue, 28 Sep 2021 18:05:52 +0200
- by Olaf Wintermann <olaf.wintermann@gmail.com> [Tue, 28 Sep 2021 18:05:52 +0200] rev 443
- remove error handling from tests
- Tue, 28 Sep 2021 18:03:10 +0200
- by Olaf Wintermann <olaf.wintermann@gmail.com> [Tue, 28 Sep 2021 18:03:10 +0200] rev 442
- add test for cx_linked_list_add
- Tue, 28 Sep 2021 18:09:14 +0200
- by Mike Becker <universe@uap-core.de> [Tue, 28 Sep 2021 18:09:14 +0200] rev 441
- change cxLinkedListCreate() setting all fields instead of calling cxListRecalculateSize()
- Mon, 27 Sep 2021 18:57:17 +0200
- by Mike Becker <universe@uap-core.de> [Mon, 27 Sep 2021 18:57:17 +0200] rev 440
- fix mixed up cases in cx_ll_at()
- Mon, 27 Sep 2021 18:50:07 +0200
- by Mike Becker <universe@uap-core.de> [Mon, 27 Sep 2021 18:50:07 +0200] rev 439
- add high-level function cxListAt()
- Mon, 27 Sep 2021 18:33:30 +0200
- by Mike Becker <universe@uap-core.de> [Mon, 27 Sep 2021 18:33:30 +0200] rev 438
- add function cx_linked_list_at()
This commit also makes glue functions static.
- Mon, 27 Sep 2021 17:49:23 +0200
- by Mike Becker <universe@uap-core.de> [Mon, 27 Sep 2021 17:49:23 +0200] rev 437
- implement linked list find