Commit Graph

106 Commits

Author SHA1 Message Date
Matt Wilmas
fa54a9d0f3 Fixed error message grammar:
- "cannot" instead of "can not" (meaning "also can")
 - "than" instead of "then" (Hint: "then" should hardly be needed;
     you're not telling the order in which to do something)

... plus removed a couple ending. dots
2009-06-06 02:40:14 +00:00
Marcus Boerger
d4f5b3f0a9 - This is PHP 6 - if this ... ever gets out 2009-03-10 23:40:06 +00:00
Sebastian Bergmann
7f4dc8702a Bump copyright year, 3 of 3. 2008-12-31 11:12:40 +00:00
Arnaud Le Blanc
5ef7ecafc1 initialize optional vars 2008-10-21 22:06:49 +00:00
Antony Dovgal
ae7119239a fix get_browser() (broken in the process of param API conversion) 2008-08-29 14:13:57 +00:00
Antony Dovgal
17eab7f0da fix memleak in browscap code (noticed by Gopal) 2008-08-19 15:16:23 +00:00
Nuno Lopes
83938211db MFB: upgrade to PCRE 2008-08-07 12:51:05 +00:00
Felipe Pena
8e1b4a55cc - Added TSRMLS_DC to apply_func_args_t and zend_hash_apply_with_arguments. 2008-07-24 19:50:23 +00:00
Sebastian Bergmann
9b620d50b4 Bump copyright year, 2 of 2. 2007-12-31 07:12:20 +00:00
Jani Taskinen
1c352c0cf4 ws + cs 2007-11-05 12:24:33 +00:00
Jani Taskinen
fa0734a520 - Fix copy and paste typo 2007-09-28 23:34:31 +00:00
Jani Taskinen
f964370a35 - 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)

@DOC Pierre promised to handle the manual part of this :D
2007-09-28 02:04:28 +00:00
Jani Taskinen
41c6375840 - Moved the old regex functions to it's own extension: ereg 2007-07-15 19:50:07 +00:00
Antony Dovgal
dc2cf01212 fix ws & folding 2007-06-26 21:37:14 +00:00
Ilia Alshanetsky
66526cee92 MFB 2007-05-28 23:00:25 +00:00
Sebastian Bergmann
3717df72ae Bump year. 2007-01-01 09:29:37 +00:00
Antony Dovgal
f7da0df587 lookup_browser_name cannot be NULL 2006-12-21 21:37:09 +00:00
Andrei Zmievski
781517eee9 Unicode support in get_browser(). To avoid additional copying/conversion
during parsing, the browscap values in the returned array will be of
IS_STRING type.
2006-12-20 20:45:40 +00:00
Hannes Magnusson
176b72284c Error message clean up
(patch by Matt W (php_lists -AT- realpain.com))
2006-10-08 13:34:24 +00:00
foobar
251c5173fd bump year and license version 2006-01-01 13:10:10 +00:00
foobar
0ac2b74b0b - Nuke php3 legacy 2005-12-05 22:53:34 +00:00
foobar
23e671a51e - Bumber up year 2005-08-03 14:08:58 +00:00
Andrei Zmievski
9ab8deb33c Don't depend on empty_string. 2005-01-25 23:58:22 +00:00
Andrei Zmievski
27b1a27faf MFB (Fix several egregious leaks in ext/browscap and sapi/embed). 2005-01-25 21:33:58 +00:00
Jay Smith
83b2d923f8 Fixed bug #27291 (get_browser matches browscap.ini patterns incorrectly). 2004-03-15 21:26:39 +00:00
Andi Gutmans
dbeb4158d2 - A belated happy holidays and PHP 5 2004-01-08 08:18:22 +00:00
Uwe Schindler
ae4e11d861 MFB 2003-12-04 09:00:24 +00:00
Wez Furlong
1e679b02fe It's boolean, not long.
# fixes a warning under vc7
2003-08-13 22:31:22 +00:00
Shane Caraveo
d6ee8bab7f fix a crash I run into on occasion 2003-06-30 20:31:57 +00:00
James Cox
f68c7ff249 updating license information in the headers. 2003-06-10 20:04:29 +00:00
Jay Smith
a79c751ae2 Relying on longer matches seems to work better than
matching the whole string with ^...$.
2003-05-30 19:06:34 +00:00
foobar
3c2f9fd5c0 MFB: php_error_docref -> zend_error (MINIT) 2003-05-27 17:24:59 +00:00
Jay Smith
515f0e3f71 Make get_browser() try harder to find better matches. 2003-05-20 17:59:16 +00:00
Ilia Alshanetsky
7e2a99d091 Fixed bug #23657 (Missing initialization in browscap module init) 2003-05-16 15:13:47 +00:00
Moriyoshi Koizumi
29f346d7d7 Removed redundant TSRMLS_FETCH's 2003-05-07 17:40:46 +00:00
Jay Smith
ab1124b014 A few fixes Uwe suggested, plus plugged a memleak and a possible
overrun.
2003-04-28 21:49:47 +00:00
Jay Smith
c0d1508ec8 get_browser() needs to use zend_is_auto_global() on _SERVER. 2003-03-18 21:49:01 +00:00
Jay Smith
830b14297f @- Fixed bug #22386 (Using browscap causes segfault). This fix
@  also adds an optional bool argument to get_browser() that
@  makes the return value an array instead of an object. (jay)
2003-03-14 17:54:38 +00:00
Ilia Alshanetsky
38ad0e9104 zend_error -> php_error_docref. 2003-01-24 16:29:40 +00:00
Moriyoshi Koizumi
7fa0970567 Reverted because correct decision has not been made yet. 2003-01-11 23:05:19 +00:00
Moriyoshi Koizumi
b66b92e996 Reduced warnings in ZE2 build 2003-01-11 22:32:19 +00:00
Ilia Alshanetsky
15f7c2c332 Fixed Bug #21443 and related bug #21468. 2003-01-06 21:43:28 +00:00
Zeev Suraski
70446a6416 build fixes 2003-01-01 13:26:17 +00:00
Sebastian Bergmann
b506f5c8f8 Bump year. 2002-12-31 16:08:15 +00:00
foobar
43584058e9 Added error message if browscap location is not set in php.ini 2002-11-18 03:23:51 +00:00
Ilia Alshanetsky
c7fa1fa99f Fixed bug #20462. 2002-11-18 03:16:13 +00:00
Ilia Alshanetsky
aba1996d95 Fixed bug #19649. 2002-10-14 18:13:18 +00:00
Marcus Boerger
149ad05b4f php_error_docref
#New conversion available at: http://docref.txt.marcus-boerger.de
2002-08-24 01:19:28 +00:00
Derick Rethans
728f2de442 Unify error messages 2002-07-08 12:52:22 +00:00
Stanislav Malyshev
18805e8323 ZE2 compatibility fix 2002-04-30 11:30:07 +00:00