log src/lib/var-expand.c @ 22664:fea53c2725c0

age author description
Mon, 24 Jul 2017 13:31:02 +0300 Aki Tuomi var-expand: Add support for conditionals
Fri, 31 Mar 2017 23:12:47 +0300 Aki Tuomi lib: Fix strcasecmp mistake in var-expand
Fri, 18 Nov 2016 09:39:46 +0200 Aki Tuomi lib: Add extension support for var-expand
Mon, 27 Mar 2017 13:55:28 +0300 Aki Tuomi lib: Use error_r in var_expand_long and friends
Tue, 22 Nov 2016 10:54:43 +0200 Aki Tuomi lib: Fix whitespace in var-expand.c
Wed, 11 Jan 2017 02:51:13 +0100 Stephan Bosch Updated copyright notices to include the year 2017.
Wed, 11 Jan 2017 01:57:46 +0100 Stephan Bosch global: Replaced all instances of memset(p, 0, sizeof(*p)) with the new i_zero() macro.
Mon, 12 Dec 2016 07:19:55 +0200 Timo Sirainen global: Change string position/length from unsigned int to size_t
Thu, 27 Oct 2016 15:37:45 +0300 Aki Tuomi lib: Add generic hashing support to var-expand
Mon, 31 Oct 2016 19:20:51 +0200 Timo Sirainen lib: var_expand() code cleanup - Moved short %v expansion to its own function.
Thu, 27 Oct 2016 16:19:52 +0300 Aki Tuomi lib: Do not consume {} inside %{}
Tue, 02 Aug 2016 13:41:07 +0300 Timo Sirainen lib: var_has_key() properly ignores key=='\0' now.
Tue, 02 Aug 2016 13:38:25 +0300 Timo Sirainen lib: var_get_key() didn't handle %{long_variables} correctly
Wed, 20 Apr 2016 23:01:45 +0300 Timo Sirainen lib: var_expand() now expands %{nonexistent} to UNSUPPORTED_VARIABLE_nonexistent
Wed, 13 Jan 2016 12:24:03 +0200 Timo Sirainen global: freshen copyright
Wed, 23 Sep 2015 14:52:45 +0300 Teemu Huovila Remove now-unnecessary direct stdlib.h #includes.
Sat, 29 Aug 2015 14:42:49 +0300 Stephan Bosch Removed all invocations of strtoll() and friends.
Fri, 28 Aug 2015 15:07:35 +0200 Timo Sirainen lib: If var_expand_with_funcs() function returns NULL, it should be treated the same as ""
Mon, 05 Jan 2015 22:20:10 +0200 Phil Carmody global: freshen copyright
Mon, 17 Mar 2014 16:57:21 +0200 Timo Sirainen liblib: Added negative %variable lengths to count backwards from the end of the value.
Tue, 04 Feb 2014 16:23:22 -0500 Timo Sirainen Updated copyright notices to include year 2014.
Thu, 06 Jun 2013 16:43:01 +0300 Timo Sirainen var_expand(): Fixed initializing variable to %N
Thu, 06 Jun 2013 12:36:30 +0300 Timo Sirainen var_expand*(): Fixed %N to work the same with little and big endian CPUs.
Thu, 30 May 2013 17:45:27 +0300 Timo Sirainen var_expand(): Added %N, which is the same as %H except based on MD5.
Sat, 02 Feb 2013 17:02:55 +0200 Timo Sirainen Oops :) Update copyrights to 2013 without breaking all .c files.
Sat, 02 Feb 2013 17:01:07 +0200 Timo Sirainen Updated copyright notices to include year 2013.
Sat, 05 Jan 2013 01:14:11 +0200 Timo Sirainen Merged changes from v2.1 tree.
Wed, 07 Nov 2012 17:37:16 +0200 Timo Sirainen var_expand*(): Don't use a data stack frame when expanding long %{variables}
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.
Wed, 14 Mar 2012 13:42:08 +0200 Timo Sirainen liblib: Added var_get_key_range()
Sun, 12 Feb 2012 18:55:28 +0200 Timo Sirainen Updated copyright notices to include year 2012.
Thu, 02 Feb 2012 15:44:51 +0200 Timo Sirainen var_expand*(): Allow table to be NULL (when using only func_table).
Thu, 02 Feb 2012 15:27:27 +0200 Timo Sirainen liblib: Added var_expand_with_funcs() to expand variables with function callbacks.
Fri, 09 Dec 2011 18:57:53 +0200 Timo Sirainen var_expand(): Added %{uid} and %{gid} variables.
Fri, 04 Mar 2011 20:54:29 +0200 Timo Sirainen Updated copyright notices to include year 2011.
Mon, 05 Apr 2010 09:17:31 +0300 Timo Sirainen var_has_key(): Small code cleanup. HEAD
Mon, 25 Jan 2010 01:19:08 +0200 Timo Sirainen Updated copyright notices to include year 2010. HEAD
Tue, 22 Dec 2009 18:18:55 -0500 Timo Sirainen var_expand(): Added support for built-in host, pid and env:* variables. HEAD
Tue, 06 Jan 2009 09:25:38 -0500 Timo Sirainen Updated copyright notices to include year 2009. HEAD
Sat, 13 Dec 2008 18:04:55 +0200 Timo Sirainen var_expand(): Added support for long %{variable} names. HEAD
Sat, 25 Oct 2008 15:19:37 +0300 Timo Sirainen Added var_has_key(). HEAD
Fri, 16 May 2008 12:09:44 +0300 Timo Sirainen Added %T = trim modifier. HEAD
Tue, 01 Jan 2008 22:05:21 +0200 Timo Sirainen Updated copyright notices to include year 2008. HEAD
Sun, 16 Sep 2007 14:34:22 +0300 Timo Sirainen Replaced my Copyright notices. The year range always ends with 2007 now. HEAD
Sun, 16 Sep 2007 11:40:56 +0300 Timo Sirainen Renamed __attr_*__ to ATTR_*. Renamed __attrs_used__ to ATTRS_DEFINED. HEAD
Sat, 31 Mar 2007 17:04:28 +0300 Timo Sirainen Added var_expand_table_build() HEAD
Sun, 12 Nov 2006 14:06:33 +0200 Timo Sirainen Fixed zero padding handling and documented it. %0.1n shouldn't enable it, HEAD
Mon, 16 Oct 2006 00:03:38 +0300 Timo Sirainen Added %D modified to return "sub.domain.org" as "sub,dc=domain,dc=org" (for HEAD
Thu, 10 Aug 2006 23:22:40 +0300 Timo Sirainen Negative offsets count from the end of the string. Patch by Johannes Berg. HEAD
Wed, 12 Apr 2006 10:39:31 +0300 Timo Sirainen %M modifier returns string's MD5 sum. Patch by Ben Winslow HEAD
Wed, 12 Apr 2006 10:35:37 +0300 Timo Sirainen %U modifier was actually lowercasing the string. Patch by Ben Winslow 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
Sun, 11 Sep 2005 23:22:35 +0300 Timo Sirainen Added 'R' reverse modifier. HEAD
Sun, 11 Sep 2005 22:56:03 +0300 Timo Sirainen Fix to hash modifier handling HEAD
Thu, 01 Sep 2005 10:57:35 +0300 Timo Sirainen Added 'H' hash modifier. HEAD
Wed, 15 Dec 2004 22:12:31 +0200 Timo Sirainen Added support for multiple modifiers. Added %X = hex modifier. Prefixing HEAD
Wed, 15 Dec 2004 21:31:06 +0200 Timo Sirainen Auth cache key was built wrong if any modifiers were used for %vars. HEAD
Mon, 26 Jul 2004 19:39:18 +0300 Timo Sirainen Added support for %offset.width format in variables. HEAD
Tue, 25 May 2004 01:33:50 +0300 Timo Sirainen Fixed var_expand() to take a table of variables rather than a few predefined HEAD