log src/lib/array.h @ 23007:36e01285b5b8

age author description
Mon, 15 Jun 2015 14:25:07 +0300 Phil Carmody lib: array - permit array_swap with uninitialised arrays
Mon, 02 Feb 2015 10:24:42 +0200 Phil Carmody lib: array - two helpers to avoid wasteful array_count
Sat, 24 Jan 2015 02:15:45 +0200 Phil Carmody lib: array - helper to swap array buffer ownership
Mon, 05 Jan 2015 22:15:07 +0200 Phil Carmody lib: array - explain implications of ARRAY_TYPE() in comment
Mon, 05 Jan 2015 22:12:48 +0200 Phil Carmody lib: array - new linear search helper
Fri, 28 Nov 2014 10:57:43 +0200 Phil Carmody lib: array - array_foreach_idx is just a generic ptr_to_idx helper
Fri, 28 Nov 2014 10:57:43 +0200 Phil Carmody lib: test-array - remove possibility to optimise out tests
Tue, 25 Nov 2014 03:48:42 +0200 Phil Carmody lib: array - additional compile-time checks to array_append
Tue, 25 Nov 2014 03:43:02 +0200 Phil Carmody lib: array - element-wise comparison via callback
Sat, 15 Nov 2014 00:14:20 +0200 Phil Carmody lib: array/hash - enable typof checks for more compilers
Sat, 15 Nov 2014 00:06:09 +0200 Phil Carmody lib: array/hash - protect macro parameters
Sun, 19 Aug 2012 16:17:32 +0300 Timo Sirainen Removed CONTEXT_TYPE_SAFETY macro and reimplemented its functionality better.
Sun, 19 Aug 2012 14:21:37 +0300 Timo Sirainen Array API changed: ARRAY_DEFINE(name, type) -> ARRAY(type) name
Mon, 25 Jun 2012 02:38:29 +0300 Timo Sirainen Added array_append_zero() to write a zero-filled record to an array.
Sat, 28 Apr 2012 18:24:24 +0300 Timo Sirainen Code cleanup: Use array_count_i() to calculate array's size internally.
Wed, 02 Dec 2009 15:35:32 -0600 Timo Sirainen Added array_foreach_idx() HEAD
Fri, 13 Nov 2009 20:52:06 -0500 Timo Sirainen array_bsearch(): Cast return value to proper type. HEAD
Thu, 05 Nov 2009 12:34:05 -0500 Timo Sirainen array_foreach_modifiable() was broken in non-C99 compilers. HEAD
Tue, 27 Oct 2009 12:10:15 -0400 Timo Sirainen array.h: Compile fix for non-C99 compilers. HEAD
Thu, 08 Oct 2009 02:54:45 -0400 Timo Sirainen Added array_foreach() and array_foreach_modifiable(). HEAD
Fri, 10 Jul 2009 13:59:16 -0400 Timo Sirainen Added type safe array_bsearch(). HEAD
Wed, 17 Jun 2009 14:52:30 -0400 Timo Sirainen Added array_sort() for type-safe array sorting. HEAD
Sat, 10 Jan 2009 15:37:24 -0500 Timo Sirainen Added array_get_pool(). HEAD
Mon, 01 Sep 2008 15:02:22 +0300 Timo Sirainen array_copy() was broken if source array was different from destination array. HEAD
Fri, 20 Jun 2008 10:41:44 +0300 Timo Sirainen Added more consts, ATTR_CONSTs and ATTR_PUREs. HEAD
Fri, 13 Jun 2008 04:36:19 +0300 Timo Sirainen Added array_reverse(). HEAD
Fri, 13 Jun 2008 04:25:05 +0300 Timo Sirainen Uninlined some of the more complex array functions. HEAD
Sat, 29 Dec 2007 04:11:59 +0200 Timo Sirainen Added queue implementation. HEAD
Sun, 16 Sep 2007 12:31:27 +0300 Timo Sirainen Renamed _array_*() to array_*_i() HEAD
Sun, 16 Sep 2007 12:09:30 +0300 Timo Sirainen Changed buffer_free() and buffer_free_without_data() APIs to take ** pointer HEAD
Sun, 16 Sep 2007 11:31:27 +0300 Timo Sirainen Changed .h ifdef/defines to use <NAME>_H format. HEAD
Sat, 31 Mar 2007 08:01:06 +0300 Timo Sirainen Use COMPILE_ERROR_IF_TYPES_NOT_COMPATIBLE() for validating the data type. HEAD
Thu, 25 Jan 2007 15:17:12 +0200 Timo Sirainen Removed disable-asserts-specific array_idx(). It didn't work if array's HEAD
Wed, 15 Nov 2006 21:14:08 +0200 Timo Sirainen Removed extra ';' HEAD
Sat, 16 Sep 2006 16:40:17 +0300 Timo Sirainen Don't allow giving NULL parameter to array_get() or array_get_modifiable(). HEAD
Sat, 16 Sep 2006 16:31:14 +0300 Timo Sirainen Some more array changes. v and v_modifiable are now pointer-to-pointers so HEAD
Sun, 10 Sep 2006 15:48:12 +0300 Timo Sirainen Replaced ARRAY_CREATE() macro with [ipt]_array_init() macros. The macro HEAD
Sun, 10 Sep 2006 15:32:58 +0300 Timo Sirainen Removed type parameter from ARRAY_CREATE since it's not needed anymore. HEAD
Wed, 28 Jun 2006 18:36:42 +0300 Timo Sirainen Added array_idx_clear(). HEAD
Wed, 28 Jun 2006 16:10:25 +0300 Timo Sirainen Array API redesigned to work using unions. It now provides type safety HEAD
Fri, 13 Jan 2006 22:25:57 +0200 Timo Sirainen Added "bool" type and changed all ints that were used as booleans to bool. HEAD
Mon, 04 Jul 2005 14:32:13 +0300 Timo Sirainen Moved array declaration to array-decl.h and include it in lib.h. So array.h HEAD
Tue, 28 Jun 2005 20:06:38 +0300 Timo Sirainen Renamed array_modifyable_*() functions. I could never remember how they were HEAD
Tue, 26 Apr 2005 21:36:05 +0300 Timo Sirainen Still more changes to how typeof() is used. Now it finally seems to be HEAD
Sun, 10 Apr 2005 18:47:50 +0300 Timo Sirainen ARRAY_CREATE() macro fix. Wasn't working in all situations. HEAD
Fri, 08 Apr 2005 18:22:28 +0300 Timo Sirainen Added ARRAY_DEFINE_EXTERN(). HEAD
Sun, 03 Apr 2005 00:08:56 +0300 Timo Sirainen Keywords are now stored in X-Keywords headers in mbox. Did several related HEAD
Sat, 02 Apr 2005 22:31:26 +0300 Timo Sirainen Added ARRAY_DEFINE_PTR() which needs to be used instead of ARRAY_DEFINE() HEAD
Fri, 18 Mar 2005 19:33:53 +0200 Timo Sirainen ARRAY_SET_TYPE() in non-DEBUG-mode was giving errors with older gccs if it HEAD
Tue, 15 Mar 2005 20:58:18 +0200 Timo Sirainen Added ARRAY_INIT for initializing array_t in structs. HEAD
Sun, 13 Mar 2005 00:44:37 +0200 Timo Sirainen #ifdefs were wrong, we need both __GNUC__ and DEBUG to do type checking. HEAD
Sun, 13 Mar 2005 00:38:06 +0200 Timo Sirainen Renamed ARRAY_ARG_SET_TYPE() to ARRAY_SET_TYPE() and updated comments. HEAD
Sat, 12 Mar 2005 20:32:08 +0200 Timo Sirainen Updated example code, it was using older API.. HEAD
Sat, 12 Mar 2005 20:15:48 +0200 Timo Sirainen Added dynamic array implementation. When compiling with gcc and DEBUG HEAD