|
| 1 | +# c-list - Circular Intrusive Double Linked List Collection |
| 2 | + |
| 3 | +## CHANGES WITH 3.1.0: |
| 4 | + |
| 5 | + * The minimum required meson version is now 0.60.0. |
| 6 | + |
| 7 | + * New function c_list_split() is added. It reverses c_list_splice() |
| 8 | + and thus allows to split a list in half. |
| 9 | + |
| 10 | + Contributions from: David Rheinsberg, Michele Dionisio |
| 11 | + |
| 12 | + - Brno, 2022-06-22 |
| 13 | + |
| 14 | +## CHANGES WITH 3: |
| 15 | + |
| 16 | + * API break: The c_list_loop_*() symbols were removed, since we saw |
| 17 | + little use for them. No user was known at the time, so |
| 18 | + all projects should build with the new API version |
| 19 | + unchanged. |
| 20 | + Since c-list does not distribute any compiled code, there |
| 21 | + is no ABI issue with this change. |
| 22 | + |
| 23 | + * Two new symbols c_list_length() and c_list_contains(). They are meant |
| 24 | + for debugging purposes, to easily verify list integrity. Since they |
| 25 | + run in O(n) time, they are not recommended for any other use than |
| 26 | + debugging. |
| 27 | + |
| 28 | + * New symbol c_list_init() is provided as alternative to the verbose |
| 29 | + C_LIST_INIT assignment. |
| 30 | + |
| 31 | + * The c-list API is extended to work well with `const CList` objects. |
| 32 | + That is, any read-only accessor function allows constant objects as |
| 33 | + input now. |
| 34 | + Note that this does not propagate into other members linked in the |
| 35 | + list. Using `const` for CList members is of little practical use. |
| 36 | + However, it might be of use for its embedding objects, so we now |
| 37 | + allow it in the CList API as well. |
| 38 | + |
| 39 | + * The c_list_splice() call now clears the source list, rather than |
| 40 | + returning with stale pointers. Technically, this is also an API |
| 41 | + break, but unlikely to affect any existing code. |
| 42 | + |
| 43 | + Contributions from: David Herrmann, Thomas Haller |
| 44 | + |
| 45 | + - Berlin, 2017-08-13 |
| 46 | + |
| 47 | +## CHANGES WITH 2: |
| 48 | + |
| 49 | + * Adjust project-name in build-system to reflect the actual project. The |
| 50 | + previous releases incorrectly claimed to be c-rbtree in the build |
| 51 | + system. |
| 52 | + |
| 53 | + * Add c_list_swap() that swaps two lists given their head pointers. |
| 54 | + |
| 55 | + * Add c_list_splice() that moves a list. |
| 56 | + |
| 57 | + * Add LGPL2.1+ as license so c-list can be imported into GPL2 projects. |
| 58 | + It is now officially dual-licensed. |
| 59 | + |
| 60 | + * As usual a bunch of fixes, additional tests, and documentation |
| 61 | + updates. |
| 62 | + |
| 63 | + Contributions from: David Herrmann, Tom Gundersen |
| 64 | + |
| 65 | + - Lund, 2017-05-03 |
| 66 | + |
| 67 | +## CHANGES WITH 1: |
| 68 | + |
| 69 | + * Initial release of c-list. |
| 70 | + |
| 71 | + * This project provides an implementation of a circular double linked |
| 72 | + list in standard ISO-C11. License is ASL-2.0 and the build system |
| 73 | + used is `Meson'. |
| 74 | + |
| 75 | + Contributions from: David Herrmann, Tom Gundersen |
| 76 | + |
| 77 | + - Berlin, 2017-03-03 |
0 commit comments