-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathChanges
80 lines (63 loc) · 3.23 KB
/
Changes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
* 1.6.3 Aug 2022
- Fix potential crash on systems lacking float NaN for a division by 0
* 1.6.2 Aug 2022
- Fix leak in list_dump_file and list_restore_file (Credit @domoslabs and @hansdals)
* 1.6.1 Aug 2022
- Return explicit error in case machine is unable to allocate memory (Credit @dogbert2)
* 1.6 Oct 2011
- complete Windows/Visual Studio compatibility (thanks Martin Paljak, Ludovic Rousseau, Viktor Tarasov)
- fix crash when list_delete_range() is used to clear the entire list (thanks Armando Miraglia)
- fix list_hash() possibly returning inconsistent values
/***** API CHANGES *****/
- list_dump_info_t:
"timestamp" type changes from "int64_t" to "struct timeval" for compatibility with old compilers
the binary format of dumps is affected, v1.6 dumps/restores ARE NOT COMPATIBLE with older versions.
- list_delete_range() and list_clear():
really return the number of elements deleted on success instead of 0 as described by documentation
- list_dump_file() and list_restore_file():
really return 0 instead of the size dumped/restored as described by documentation
* 1.5 Nov 2010
- improve performance of list_init() (thanks L. Rousseau)
- fix assert() failure up to mid pointer not NULLed on cleared lists (thanks L. Rousseau)
* 1.4.4rc4 Apr 2010
- fix compilation warnings on Solaris (thanks Joerg Schilling, Ludovic Rousseau)
* 1.4.4rc3 Mar 2010
- fix speculation in list dumping causing possible broken dumps (thanks Richard Krakhofer)
* 1.4.4rc2 Mar 2010
- add function list_delete() to delete by element (thanks Ludovic Rousseau)
* 1.4.4rc1 Aug 2009
- support compilers without C99 capabilities
- change API for list_hash() (and add SIMCLIST_ALLOW_LOCATIONBASED_HASHES)
* 1.4.3 Apr 2009
- fix return values of list_empty()
* 1.4.2 Mar 2009
- make return values of list_dump_file() and list_restore_file() consistent
- allow to disable compilation of dump/restore features to save memory on
ultra-constrained devices
* 1.4.1 Jan 2009
- define EPROTO for those operating systems that don't define it
- SimCList celebrates 2 years and over 2000 downloads <8-D
* 1.4 Dec 2008
- interface changes:
- _restore*() and _dump*() functions now write length in argument
- list_seek() no longer returns a constant reference
- decorate with "restrict" qualifiers => now requires C99 support from compiler
- minor improvements in documentation
* 1.3.1 Jan 2008
- fix portability issue when compiling on some OSes
* 1.3 Nov 2007
- support custom element seek
- support for dumping/restoring lists on files
* 1.2 Jun 2007
- natively support transparent inclusion in C++ apps
- use sentinels to improve performance on list traversals
- fix list_insert_at that could output inconsistent lists
when inserting into even-sized lists in position 0
* 1.1 Apr 2007
- use freelists for improving memory allocation performance
- fix list_concat() that could output inconsistent lists
- new ready-made comparators, metric and hashing functions for
the most common types (numeric and strings)
- new list_find() function
* 1.0 Jan 2007
- first release to public