History log of /PHP_5_4/Zend/zend_ini_scanner.l
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
c0d060f 03-Jan-2014 Xinchen Hui <laruence@php.net> Bump year
/PHP_5_4/Zend/zend_ini_scanner.l
0a7395e 01-Jan-2013 Xinchen Hui <laruence@php.net> Happy New Year
/PHP_5_4/Zend/zend_ini_scanner.l
6dff07a 16-Nov-2012 Pierrick Charron <pierrick@php.net> Fixed bug #63512 parse_ini_file() with INI_SCANNER_RAW removes quotes from value

Restore the old behavior but keep bug 51094 fixed
/PHP_5_4/Zend/zend_ini_scanner.l
fed5923 07-Jun-2012 Pierrick Charron <pierrick@php.net> Fixed bug #51094 (parse_ini_file() with INI_SCANNER_RAW cuts a value that includes a semi-colon)

Modify the scanner to check if the first char of the raw data is an opening " in which case we
need to find the closing one. Otherwise just search for the next end of value char [\r\n;\000]
/PHP_5_4/Zend/zend_ini_scanner.l
c870ebe 25-Feb-2012 Xinchen Hui <laruence@php.net> Fixed bug #61087 (Memory leak in parse_ini_file when specifying invalid scanner mode)
/PHP_5_4/Zend/zend_ini_scanner.l
e4ca0ed 01-Jan-2012 Felipe Pena <felipe@php.net> - Year++
/PHP_5_4/Zend/zend_ini_scanner.l
927bf09 01-Jan-2011 Felipe Pena <felipe@php.net> - Year++
/PHP_5_4/Zend/zend_ini_scanner.l
3ef14fc 01-Aug-2010 Felipe Pena <felipe@php.net> - Fixed bug #52508 (newline problem with parse_ini_file+INI_SCANNER_RAW)
/PHP_5_4/Zend/zend_ini_scanner.l
00191c3 26-May-2010 Felipe Pena <felipe@php.net> - Fixed bug #51899 (Parse error in parse_ini_file() function when empy value followed by no newline)
/PHP_5_4/Zend/zend_ini_scanner.l
7a303b3 07-Feb-2010 Jani Taskinen <jani@php.net> - Fixed bug #50952 (allow underscore _ in constants parsed in php.ini files)
/PHP_5_4/Zend/zend_ini_scanner.l
3defe76 05-Jan-2010 Sebastian Bergmann <sebastian@php.net> sed -i "s#1998-2009#1998-2010#g" **/*.re **/*.y **/*.l
/PHP_5_4/Zend/zend_ini_scanner.l
19d320e 30-Nov-2009 Jani Taskinen <jani@php.net> - Fixed bug #50340 (php.ini parser does not allow spaces in ini keys)
/PHP_5_4/Zend/zend_ini_scanner.l
6e18b97 07-Aug-2009 Jani Taskinen <jani@php.net> - Fixed bug #48719 parse_ini_*(): scanner mode is not checked for sanity)
/PHP_5_4/Zend/zend_ini_scanner.l
4650519 07-Aug-2009 Jani Taskinen <jani@php.net> - Fixed bug #48660 (parse_ini_*(): dollar sign as last character of value fails)
/PHP_5_4/Zend/zend_ini_scanner.l
d037204 04-Aug-2009 Jani Taskinen <jani@php.net> - Fixed bug #48768 (parse_ini_*() crash with INI_SCANNER_RAW)
/PHP_5_4/Zend/zend_ini_scanner.l
ea98d7a 04-Aug-2009 Jani Taskinen <jani@php.net> - Fixed bug #49056 (parse_ini_file() regression in 5.3.0 when using non-ASCII strings as option keys)
/PHP_5_4/Zend/zend_ini_scanner.l
c80f0bf 19-May-2009 Brian Shire <shire@php.net> MFH: Fix bug #47859 parse_ini_file() does not like asterisk (*) in key in the beginning, and allow [*_-] chars at start of ini labels
/PHP_5_4/Zend/zend_ini_scanner.l
7f6ff02 02-Feb-2009 Nuno Lopes <nlopess@php.net> fix bug #46347: allow * in ini keys
/PHP_5_4/Zend/zend_ini_scanner.l
bfcea7f 02-Jan-2009 Felipe Pena <felipe@php.net> - MFH: Year++
/PHP_5_4/Zend/zend_ini_scanner.l
db73c5e 24-Dec-2008 Scott MacVicar <scottmac@php.net> MFH Fix bug #45991 - UTF-8 BOM breaks ini parser
/PHP_5_4/Zend/zend_ini_scanner.l
2276e85 05-Nov-2008 Arnaud Le Blanc <lbarnaud@php.net> MFH: Added parse_ini_string() function (grange at lemonde dot fr, Arnaud)
[DOC] new function parse_ini_string()
proto array parse_ini_string(string ini_string
[, bool process_sections [, int scanner_mode]])
Same as parse_ini_file() except that it takes a string instead of a
filename.
/PHP_5_4/Zend/zend_ini_scanner.l
b3d0514 02-Nov-2008 Arnaud Le Blanc <lbarnaud@php.net> Fixed bug #44575 (parse_ini_file comment # line problems)
[DOC] parse_ini_file(): comments starting with # are deprecated in PHP 5.3
(comments starting with ; should be used instead)
/PHP_5_4/Zend/zend_ini_scanner.l
193dd31 11-Sep-2008 Stanislav Malyshev <stas@php.net> Fix BC issue with ini scanner.
# Now in "": \LETTER is literal, \" is escaped ", value ending with \" is literal
/PHP_5_4/Zend/zend_ini_scanner.l
dee3bb2 17-Aug-2008 Arnaud Le Blanc <lbarnaud@php.net> MFH: Allow underscore at start of labels as underscore has no meaning here
(fixes #44842)
/PHP_5_4/Zend/zend_ini_scanner.l
1defd7a 17-Aug-2008 Arnaud Le Blanc <lbarnaud@php.net> MFH: Fixed #45384 (parse_ini_file will result in parse error with no trailing
newline)
/PHP_5_4/Zend/zend_ini_scanner.l
42eed0b 07-Aug-2008 Nuno Lopes <nlopess@php.net> fix crash: yytext can't be modified because it is mmaped(). strndup() will take care of last zero char
/PHP_5_4/Zend/zend_ini_scanner.l
878230c 07-Apr-2008 Scott MacVicar <scottmac@php.net> Fixed bug #44609 (Dollar in ini variables are not parsed correctly)
/PHP_5_4/Zend/zend_ini_scanner.l
bfcdbbc 04-Apr-2008 Nuno Lopes <nlopess@php.net> add sanity checks for ZEND_MMAP_AHEAD and reduce the value from 32 to 16 (lowest safe value)
/PHP_5_4/Zend/zend_ini_scanner.l
0893c3e 22-Mar-2008 Marcus Boerger <helly@php.net> - Another re2c version bump and scanner regeneration
# It appears no one has used re2c in the way we do
/PHP_5_4/Zend/zend_ini_scanner.l
40bdb5d 21-Mar-2008 Marcus Boerger <helly@php.net> - Bugfix 44461
/PHP_5_4/Zend/zend_ini_scanner.l
af31602 16-Mar-2008 Marcus Boerger <helly@php.net> - Rewrite scanner to be based on re2c instead of flex
The full patch is available as:
http://php.net/~helly/php-re2c-5.3-20080316.diff.txt
This is against php-re2c repository version 98
An older patch against version 97 is available under:
http://php.net/~helly/php-re2c-97-20080316.diff.txt
/PHP_5_4/Zend/zend_ini_scanner.l
8a70a55 04-Feb-2008 Jani Taskinen <jani@php.net> MFH: - Fixed bugs #43915, #43923 and #44019, a tiny performance issue fixed too
/PHP_5_4/Zend/zend_ini_scanner.l
09b6f37 28-Sep-2007 Jani Taskinen <jani@php.net> MFH:

- Added ".htaccess" style user-defined php.ini files support for
CGI/FastCGI.
- Added support for special [PATH=/opt/httpd/www.example.com/] sections
in php.ini. All directives set in these sections will not be able to be
overridden in user-defined ini-files or during runtime in the specified
path.

- Improved php.ini handling:
. Added better error reporting for syntax errors in php.ini files
. Allowed "ini-variables" to be used almost everywhere ini php.ini files
. Allowed using alphanumeric/variable indexes in "array" ini options
. Fixed get_cfg_var() to be able to return "array" ini options

- Fixed bug #27372 (parse error loading browscap.ini at apache startup)
- Fixed bug #42069 (parse_ini_file() allows using some non-alpha numeric
characters)
/PHP_5_4/Zend/zend_ini_scanner.l
c9f6d59 23-Jul-2007 Jani Taskinen <jani@php.net> MFH: - Fixed buf #42071 (ini scanner allows using NULL as option name).
MFH: Use Z_* macros to access the zvals.
/PHP_5_4/Zend/zend_ini_scanner.l
7d14dad 19-Sep-2006 Dmitry Stogov <dmitry@php.net> MFH: Fixed mess with CGI/CLI -d command line option (now it works with cgi; constants are working exactly like in php.ini; with FastCGI -d affects all requests).
/PHP_5_4/Zend/zend_ini_scanner.l
b6cb9d3 17-Jan-2006 Ilia Alshanetsky <iliaa@php.net> Fixed bug #36046 (parse_ini_file() miscounts lines in multi-line values).
/PHP_5_4/Zend/zend_ini_scanner.l
61e93cc 04-Jan-2006 Andi Gutmans <andi@php.net> - Update copyright notices to 2006
/PHP_5_4/Zend/zend_ini_scanner.l
916815b 03-Aug-2005 foobar <sniper@php.net> Bump up the year
/PHP_5_4/Zend/zend_ini_scanner.l
17537ac 06-Feb-2005 Zeev Suraski <zeev@php.net> Correct fix for #28804
/PHP_5_4/Zend/zend_ini_scanner.l
77ee495 03-Feb-2005 foobar <sniper@php.net> - Fixed bug #28804 (ini-file section parsing pattern is buggy).
/PHP_5_4/Zend/zend_ini_scanner.l
91962aa 03-Feb-2005 foobar <sniper@php.net> ws fix
/PHP_5_4/Zend/zend_ini_scanner.l
4cf9d27 30-Dec-2004 foobar <sniper@php.net> - Fixed bug #28930 (PHP sources pick wrong header files generated by bison)
/PHP_5_4/Zend/zend_ini_scanner.l
fe5c131 18-Aug-2004 Andrei Zmievski <andrei@php.net> Re-add my patch for .ini variable access.
/PHP_5_4/Zend/zend_ini_scanner.l
4275614 17-May-2004 Andrei Zmievski <andrei@php.net> Revert the .ini vars patch. Will have to try again next Christmas
apparently.
/PHP_5_4/Zend/zend_ini_scanner.l
e97f733 14-May-2004 Andrei Zmievski <andrei@php.net> Adding ability to refer to existing .ini variables from within .ini
files. Example:

open_basedir = ${open_basedir} ":/new/dir"
/PHP_5_4/Zend/zend_ini_scanner.l
6b87194 08-Jan-2004 Andi Gutmans <andi@php.net> - - A belated happy holidays (by two years)
/PHP_5_4/Zend/zend_ini_scanner.l
f68c7ff 10-Jun-2003 James Cox <imajes@php.net> updating license information in the headers.
/PHP_5_4/Zend/zend_ini_scanner.l
0b5ffc4 27-Feb-2003 Rasmus Lerdorf <rasmus@php.net> MFB: We know ini file scanning will never be interactive, so speed it up a
bit. Need a dynamic check for the language scanner.
/PHP_5_4/Zend/zend_ini_scanner.l
e52aac9 18-Feb-2003 Wez Furlong <wez@php.net> Implement simple stream support in the ZE scanners.
/PHP_5_4/Zend/zend_ini_scanner.l
616578d 15-Feb-2003 Ilia Alshanetsky <iliaa@php.net> Added feature #19645 (ini parser can now handle quoted multi-line values).
/PHP_5_4/Zend/zend_ini_scanner.l
729e470 01-Feb-2003 Sebastian Bergmann <sebastian@php.net> Fix build.
/PHP_5_4/Zend/zend_ini_scanner.l
333406b 01-Feb-2003 foobar <sniper@php.net> - Added some missing CVS $Id$ tags, headers and footers.
/PHP_5_4/Zend/zend_ini_scanner.l
697398e 19-Jan-2003 Harald Radi <phanto@php.net> ini patch to allow 'entry[] = value' entries
/PHP_5_4/Zend/zend_ini_scanner.l
fac8eaf 14-Oct-2002 Ilia Alshanetsky <iliaa@php.net> MFZE1
/PHP_5_4/Zend/zend_ini_scanner.l
733ebde 04-Jun-2002 Derick Rethans <derick@php.net> - Fix for bug #17462 (Patch by Edin Kadribasic)
/PHP_5_4/Zend/zend_ini_scanner.l
1f2f257 13-Jan-2002 Andi Gutmans <andi@php.net> - MFZE1
/PHP_5_4/Zend/zend_ini_scanner.l
62dc854 06-Jan-2002 Sebastian Bergmann <sebastian@php.net> Happy New Year.
/PHP_5_4/Zend/zend_ini_scanner.l
d863d52 11-Dec-2001 Sebastian Bergmann <sebastian@php.net> Update headers.
/PHP_5_4/Zend/zend_ini_scanner.l
1735281 22-Sep-2001 Zeev Suraski <zeev@php.net> MFZE1
/PHP_5_4/Zend/zend_ini_scanner.l
483fc4c 19-Sep-2001 Zeev Suraski <zeev@php.net> MFZE1
/PHP_5_4/Zend/zend_ini_scanner.l
9f61e47 10-Sep-2001 Zeev Suraski <zeev@php.net> MFZE1 (nuke cplusplus code)
/PHP_5_4/Zend/zend_ini_scanner.l
77c5227 16-Aug-2001 Zeev Suraski <zeev@php.net> MFZE1
/PHP_5_4/Zend/zend_ini_scanner.l
4f6c95d 11-Aug-2001 Zeev Suraski <zeev@php.net> Whitespace
/PHP_5_4/Zend/zend_ini_scanner.l
609d58a 06-Aug-2001 Zeev Suraski <zeev@php.net> Merge from branch - move to standard C scanners in thread safe mode
/PHP_5_4/Zend/zend_ini_scanner.l
0b7fdbb 31-Jul-2001 Zeev Suraski <zeev@php.net> More TSRMLS_FETCH work
/PHP_5_4/Zend/zend_ini_scanner.l
8ce8324 30-Jul-2001 Zeev Suraski <zeev@php.net> More TSRMLS_FETCH annihilation
/PHP_5_4/Zend/zend_ini_scanner.l
b4f3b9d 28-Jul-2001 Zeev Suraski <zeev@php.net> Redesigned thread safety mechanism - nua nua
/PHP_5_4/Zend/zend_ini_scanner.l
5aec595 02-May-2001 Andi Gutmans <andi@php.net> - Support \r as newline in the ini scanner
/PHP_5_4/Zend/zend_ini_scanner.l
d2c9e80 26-Feb-2001 Andi Gutmans <andi@php.net> - Update copyright year
/PHP_5_4/Zend/zend_ini_scanner.l
dc2f1d9 26-Dec-2000 Zeev Suraski <zeev@php.net> - Use supplied istdiostream definition for the INI scanner too
- Add Release_TSDbg configuration
/PHP_5_4/Zend/zend_ini_scanner.l
313a459 03-Nov-2000 Zeev Suraski <zeev@php.net> Fix for bug #5571 (by mookid@sigent.ru)
/PHP_5_4/Zend/zend_ini_scanner.l
9596255 30-Oct-2000 Zeev Suraski <zeev@php.net> Final touches on the INI parser
/PHP_5_4/Zend/zend_ini_scanner.l
47a8405 30-Oct-2000 Stanislav Malyshev <stas@php.net> Fix build
# At least, it compiles now...
/PHP_5_4/Zend/zend_ini_scanner.l
3c06816 29-Oct-2000 Zeev Suraski <zeev@php.net> Fix leaks
/PHP_5_4/Zend/zend_ini_scanner.l
ab3beff 29-Oct-2000 Zeev Suraski <zeev@php.net> The new INI parser is showing some signs of life
/PHP_5_4/Zend/zend_ini_scanner.l
6b4c369 29-Oct-2000 Zeev Suraski <zeev@php.net> Generalization work
/PHP_5_4/Zend/zend_ini_scanner.l
e04fd64 29-Oct-2000 Zeev Suraski <zeev@php.net> Some more work on the INI parser/scanner
/PHP_5_4/Zend/zend_ini_scanner.l
9041d4e 29-Oct-2000 Zeev Suraski <zeev@php.net> Initial step in rewriting the INI parsing mechanism
/PHP_5_4/Zend/zend_ini_scanner.l