19557f192d37cd54a1a090a8a26d9d47265e4413 |
|
01-Nov-2017 |
Aki Tuomi <aki.tuomi@dovecot.fi> |
global: Fix spelling mistakes in comments
Original work by @andreasschulze and @jsoref |
8927ce341a9f075798d36107c2eafbf7499b4ad6 |
|
08-Dec-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
lib: Comment seq_range_array_invert() that its values must be within min_seq..max_seq |
ba66ac5557ca97d8a6fe5d524056264a9f92243c |
|
21-Jan-2015 |
Phil Carmody <phil@dovecot.fi> |
lib: seq-range-array - add range changes
Pull the _add_range() guts into a private helper function, and add a new
_add_range_count() helper which also returns the number of SEQs added.
Expand the tests to test this new functionality.
Signed-off-by: Phil Carmody <phil@dovecot.fi> |
199566f5a171b2c43b9a5254634f6bf47b8baca8 |
|
05-May-2014 |
Timo Sirainen <tss@iki.fi> |
Added seq_range_array_remove_nth() |
461ffead9720d1e516b959d5e41f049c73d38c7c |
|
25-Jun-2012 |
Timo Sirainen <tss@iki.fi> |
seq-range-array: Reverted most of recent API changes.
Added ATTR_NOWARN_UNUSED_RESULT for the functions whose return value can
safely be ignored. |
e34d170f8f0e084bd94bfbc1a7085ece67e508df |
|
25-Jun-2012 |
Timo Sirainen <tss@iki.fi> |
Make sure we check all the functions' return values. Minor API changes to simplify this.
Checked using a patched clang that adds attribute(warn_unused_result) to all
functions. This commit fixes several error handling mistakes. |
4fb98a31d0e4f67978a98a83a5895472b2da0401 |
|
24-Jun-2012 |
Timo Sirainen <tss@iki.fi> |
seq_range_array_remove() now returns void. Added seq_ranger_array_try_remove(). |
86bde2c1838d1ce967fa2b394bb952004a4adcb7 |
|
24-Jun-2012 |
Timo Sirainen <tss@iki.fi> |
seq_range_array_add() API changed. Added other functions to provide the less common use cases. |
c991d8c2c0d5d6c025e24fc00cb06dd61c42456d |
|
19-Apr-2010 |
Timo Sirainen <tss@iki.fi> |
seq_range_array_add() returns now TRUE if seq was already in array.
--HG--
branch : HEAD |
68a4946b12583b88fa802e52ebee45cd96056772 |
|
20-Jun-2008 |
Timo Sirainen <tss@iki.fi> |
Added more consts, ATTR_CONSTs and ATTR_PUREs.
--HG--
branch : HEAD |
e4cebacdec9c9e5b685dde5f7cbf7a5cf7e1d248 |
|
20-Jun-2008 |
Timo Sirainen <tss@iki.fi> |
Added seq_range_array_have_common().
--HG--
branch : HEAD |
290e45b36a085eac8722751f8baad0f8342fed48 |
|
18-Jun-2008 |
Timo Sirainen <tss@iki.fi> |
Renamed seq_range_array_remove_invert_range() to seq_range_array_intersect().
--HG--
branch : HEAD |
9905ec03fb2011419caeac4cd5a1b6c28ab50a73 |
|
08-Jun-2008 |
Timo Sirainen <tss@iki.fi> |
Added seq_range_count().
--HG--
branch : HEAD |
6646bd844c85d5b27451199d8868b6d2357cd293 |
|
05-Jun-2008 |
Timo Sirainen <tss@iki.fi> |
Added seq_range_array_merge()
--HG--
branch : HEAD |
5fdeff082e329e4a85bb7e74aaec2c35e2288557 |
|
15-Mar-2008 |
Timo Sirainen <tss@iki.fi> |
Added seq_range_array_iter_nth()
--HG--
branch : HEAD |
605eca549c08af753e05c25937bcccd66079c321 |
|
06-Jan-2008 |
Timo Sirainen <tss@iki.fi> |
Added unoptimized seq_range_array_add_range()
--HG--
branch : HEAD |
c47e837a127c533e67debafde8ccf9691041be16 |
|
02-Dec-2007 |
Timo Sirainen <tss@iki.fi> |
Added seq_range_array_remove_seq_range() and
seq_range_array_remove_invert_range().
--HG--
branch : HEAD |
90b50df264b57e0f63cd8cc6aea1ce3bb7cf5f64 |
|
10-Nov-2007 |
Timo Sirainen <tss@iki.fi> |
Added seq_range_array_invert()
--HG--
branch : HEAD |
c25356d5978632df6203437e1953bcb29e0c736f |
|
16-Sep-2007 |
Timo Sirainen <tss@iki.fi> |
Changed .h ifdef/defines to use <NAME>_H format.
--HG--
branch : HEAD |
ef174bf5299348e8c0662d235341869f319cfe54 |
|
17-Jul-2007 |
Timo Sirainen <tss@iki.fi> |
seq_range_array_remove_range() returns now how many sequences were removed.
--HG--
branch : HEAD |
1d3f7c1278168d5b1cbfa9a2cc9929a0909056b4 |
|
16-Jul-2007 |
Timo Sirainen <tss@iki.fi> |
Recent flag handling rewrite. Still not perfect with maildir.
--HG--
branch : HEAD |
ba14267101444b8f144091cefd437e1ea44d3e32 |
|
20-Dec-2006 |
Timo Sirainen <tss@iki.fi> |
Added seq_range_array_remove_range()
--HG--
branch : HEAD |
eb5ea3f4513ff2999892b8d904551f58b74f65f9 |
|
15-Oct-2006 |
Timo Sirainen <tss@iki.fi> |
seq_range_exists() can take a const pointer to the array.
--HG--
branch : HEAD |
8d80659e504ffb34bb0c6a633184fece35751b18 |
|
28-Jun-2006 |
Timo Sirainen <tss@iki.fi> |
Array API redesigned to work using unions. It now provides type safety
without having to enable DEBUG, as long as the compiler supports typeof().
Its API changed a bit. It now allows directly accessing the array contents,
although that's not necessarily recommended. Changed existing array usage to
be type safe in a bit more places. Removed array_t completely. Also did
s/modifyable/modifiable/.
--HG--
branch : HEAD |
6ef7e31619edfaa17ed044b45861d106a86191ef |
|
13-Jan-2006 |
Timo Sirainen <tss@iki.fi> |
Added "bool" type and changed all ints that were used as booleans to bool.
--HG--
branch : HEAD |
503a863a317acba125a4e46435694e35fad769e4 |
|
25-Nov-2005 |
Timo Sirainen <tss@iki.fi> |
Moved seq_range_*() functions to more generic ones in lib/.
--HG--
branch : HEAD |