Commit Graph

413 Commits

Author SHA1 Message Date
Felipe Pena
3fd8ccb092 Fix test 2008-02-21 14:22:41 +00:00
Antony Dovgal
9609e195e9 fix test 2008-02-21 13:39:04 +00:00
Felipe Pena
bc8a62f4b1 MFB: Fixed Bug #44191 (preg_grep messes up array index) 2008-02-20 22:12:17 +00:00
Felipe Pena
d427b55b1a New test 2008-02-20 21:57:05 +00:00
Nuno Lopes
3f7b92c06c upgrade to PCRE 7.6.
#changes to code are minimal. this fixes a security bug
2008-01-29 20:18:02 +00:00
Nuno Lopes
2c1a5c0248 spread some static keywords 2008-01-25 19:38:26 +00:00
Nuno Lopes
5ad7fb31c3 MFB5.2: fix script for files with short names 2008-01-14 09:40:29 +00:00
Nuno Lopes
18107c0b44 Fixed bug #42945 (preg_split() swallows part of the string) 2008-01-13 14:44:29 +00:00
Nuno Lopes
4c501a0ab6 upgrade PCRE to version 7.5 2008-01-13 12:44:57 +00:00
Sebastian Bergmann
d1dded8751 MFH: Bump copyright year, 2 of 2. 2007-12-31 07:17:19 +00:00
Jani Taskinen
dcd3b197e7 MFH:- Fixed bug #43365 (Several enums have trailing commas) 2007-11-26 10:59:04 +00:00
Robert Nicholson
6cfced8eff Add some more pcre tests 2007-11-21 18:22:01 +00:00
Nuno Lopes
66a24c86a6 Fixed bug #42737 (preg_split('//u') triggers a E_NOTICE with newlines) 2007-10-07 13:57:10 +00:00
Nuno Lopes
51051fc8bc now fix the thread-safe build..
#sorry for the noise, but I didnt commit patches to PHP for a long time..
2007-10-07 12:20:11 +00:00
Nuno Lopes
3adfe9c0f1 fix the previous patch: the rc var doesnt need to be passed to the make_subpats_table() 2007-10-07 12:14:02 +00:00
Nuno Lopes
424db6feb9 fix bug #37911: preg_replace_callback ignores named groups 2007-10-07 11:48:27 +00:00
Nuno Lopes
41dcd7d0b5 upgrade pcre to version 7.4 2007-10-07 10:35:03 +00:00
Yiduo (David) Wang
4b4d634cb9 MFH: Added macros for managing zval refcounts and is_ref statuses 2007-10-07 05:22:07 +00:00
Dmitry Stogov
6c810b0d4c Improved memory usage by movig constants to read only memory. (Dmitry, Pierre) 2007-09-27 18:00:48 +00:00
Antony Dovgal
f67c0222fe MFH 2007-09-20 08:10:44 +00:00
Nuno Lopes
336111e4e9 remove the -DHAVE_CONFIG_H switch again to fix things on windows
this means that the upgrade script strips the #ifdef automatically
2007-09-11 16:17:34 +00:00
Nuno Lopes
c6f777da1f adapt for PCRE 7.3
remove ability to include config.h from php_pcre.c, as it seems pretty useless and produces a few warnings
2007-09-01 17:51:35 +00:00
Nuno Lopes
3edd2a69f2 upgrade to PCRE 7.3 2007-09-01 17:48:43 +00:00
Nuno Lopes
a3e6be974f new test 2007-09-01 17:47:13 +00:00
Antony Dovgal
3afa134717 [DOC] MFH: add PCRE_VERSION constant to ext/pcre 2007-07-24 22:35:18 +00:00
foobar
7ed3c4536d MFH: Fix some configure --help texts 2007-07-03 17:25:43 +00:00
Nuno Lopes
a2e06e6dc8 new test 2007-06-19 17:32:36 +00:00
Nuno Lopes
034e8692b7 final PCRE 7.2 release :-) 2007-06-19 17:11:30 +00:00
Nuno Lopes
4e51d2ec73 upgrade PCRE to version 7.2 RC3
# I'll update to the final version early next week when its released
2007-06-15 19:09:26 +00:00
Nuno Lopes
17db5db759 add tests for pcre 7.0 regression
update to pcre 7.2 will follow soon
2007-06-15 11:57:08 +00:00
Scott MacVicar
2caf386764 Display PCRE ini entries as part of module info 2007-06-12 14:08:16 +00:00
Antony Dovgal
1f65545121 fix test names 2007-05-07 18:03:01 +00:00
Nuno Lopes
877b7c7ea7 fix test title 2007-05-07 15:23:53 +00:00
Antony Dovgal
6a73be6329 fix folding 2007-04-23 10:05:33 +00:00
Marcus Boerger
4e085083cd - MFH Need to install headers 2007-03-25 12:53:47 +00:00
Antony Dovgal
f6536ed2b2 MFH: remove unnecessary warning in case of exception 2007-03-14 23:47:44 +00:00
Ilia Alshanetsky
efad70c2cc snprintf() -> slprintf() 2007-02-27 03:28:17 +00:00
Rob Richards
796d5ee3ab MFH: fix win build 2007-02-26 12:38:34 +00:00
Marcus Boerger
50ea26760d - Avoid sprintf, even when checked copy'n'paste or changes lead to errors 2007-02-24 02:17:47 +00:00
Antony Dovgal
b877bb70de MFH: fix pcre tests 2007-02-12 14:22:19 +00:00
Nuno Lopes
da9f515648 new test to keep track of the reported pcre regression 2007-02-09 20:00:17 +00:00
Nuno Lopes
b3e66c616d upgrade pcre to version 7.0 2007-02-09 19:48:47 +00:00
Hannes Magnusson
5d75262062 Fix build on system where HAVE_SETLOCALE is not defined 2007-01-10 14:37:31 +00:00
Hannes Magnusson
9ad0ffbd33 MFH: revert pcrelib version string 2007-01-03 20:08:37 +00:00
Antony Dovgal
614e0b29ac MFH 2007-01-03 18:32:27 +00:00
Sebastian Bergmann
4223aa4d5e MFH: Bump year. 2007-01-01 09:36:18 +00:00
Nuno Lopes
6a8a2e8b0e new test 2006-12-19 21:46:48 +00:00
Antony Dovgal
c34d863d3e MFH 2006-12-19 13:15:39 +00:00
Ilia Alshanetsky
e034b4a8b0 Removed dummy vars.
# Patch by Matt Wilmas
2006-12-12 15:35:16 +00:00
Nuno Lopes
802e12674e add tests for old bug reports 2006-12-08 12:13:23 +00:00
Antony Dovgal
44a3cad930 MFH: partly fix #39724
ext/spl has a soft dependcy from ext/pcre (not ext/pcre-regex)
2006-12-04 18:01:53 +00:00
Hannes Magnusson
f61b9635ba Fix test on fbsd 2006-12-03 08:04:57 +00:00
Nuno Lopes
0df2a37d1b new tests. increase coverage for more than 90% 2006-12-02 21:39:28 +00:00
Nuno Lopes
cb4b75f155 remove old file (which was already removed from 4.4 and HEAD trees) 2006-11-16 18:58:02 +00:00
Antony Dovgal
b4974d5e68 MFH: fix #39112 (typo in error message) 2006-10-10 12:44:02 +00:00
Nuno Lopes
c55eda9f3b fix memleak of pcre study data 2006-09-06 16:30:59 +00:00
Ilia Alshanetsky
45debc52ef Upgrade PCRE lib to 6.7 2006-08-30 20:00:23 +00:00
Antony Dovgal
f231b76ba6 fix leak, add test 2006-08-30 16:46:59 +00:00
Marcus Boerger
6fb763c4f9 - MFH Clean up (after consulting Andrei)
. Change the handlers SPL uses to php_pcre_*_impl(pcre_cache_entry*,....)
  . All refactored funcs (match, split, replace, grep) use the above
  . Change (zend|php)_error() to php_error_docref()
  . Move from old to new param parsing api
  . Fix memleaks in unicode mode
2006-07-20 22:53:07 +00:00
Antony Dovgal
b45268a07a fix test 2006-07-18 09:22:32 +00:00
Nuno Lopes
7a38509835 new test 2006-07-17 11:39:13 +00:00
Marcus Boerger
bf4c9ef686 - MFH: Little bit refactoring: Two new PHPAPI functions:
. php_pcre_match
  . php_pcre_split
2006-07-16 21:09:30 +00:00
Nuno Lopes
717ca4ef55 new tests. almost 90% of code coverage 2006-07-16 19:35:09 +00:00
Hannes Magnusson
87bc74ea7a fix tests 2006-07-03 16:03:51 +00:00
Nuno Lopes
919d737505 more testing 2006-07-03 14:46:44 +00:00
Nuno Lopes
9990b3f431 new tests and fix the locales test where the pt local isnt available. 2006-07-03 13:04:45 +00:00
Hannes Magnusson
000957818e MFH: fix test 2006-06-26 23:42:59 +00:00
Dmitry Stogov
1dbaae2795 Added automatic module globals management 2006-06-15 18:33:09 +00:00
Nuno Lopes
c3ed91477a fix bug #37800: preg_replace() limit parameter odd behaviour
#this is a regression in PHP_5_2 and HEAD branches only
2006-06-15 15:33:25 +00:00
Nuno Lopes
a943d234f5 fix memory leak uncovered by the pcre_extra.phpt test 2006-06-14 17:52:56 +00:00
Nuno Lopes
a7bc286638 more tests (and fix 2 from yesterday) 2006-06-14 17:37:53 +00:00
Nuno Lopes
7406f3771a remove the pcre_dfa_exec.c file, as it is needed (we dont expose that API) 2006-06-14 16:26:22 +00:00
Nuno Lopes
c93dc5d873 add new tests, increasing coverage by about 10% 2006-06-13 21:55:38 +00:00
Antony Dovgal
43b660b6ea MFH: no need to check it for not-NULL 2006-05-29 21:31:49 +00:00
Antony Dovgal
fb696afd10 add test 2006-05-29 20:31:48 +00:00
Antony Dovgal
8ca3826a28 MFH: return NULL in case of error 2006-05-29 20:26:32 +00:00
Ilia Alshanetsky
1ad21d9b12 Fixed bug #37586 (Bumped minimum PCRE version to 6.6, needed for recurssion
limit support).
2006-05-28 15:33:56 +00:00
Edin Kadribasic
51ed0ebad8 Use heap insted of stack for recursion in hope of avoid stack overflow crashes 2006-05-18 21:50:51 +00:00
Marcus Boerger
0de69fe97d - MFH pcre_get_compiled_regex_cache() support 2006-05-09 23:53:40 +00:00
Andrei Zmievski
f9de2cc142 MFH 2006-05-09 18:29:26 +00:00
Andrei Zmievski
6a4faee367 MFH 2006-04-11 21:33:46 +00:00
Andrei Zmievski
4033bfbda0 I guess we only need this on HEAD. 2006-04-06 21:35:27 +00:00
Andrei Zmievski
d288f66c7c Fix a bug that would not fill in the fifth argument to preg_replace()
properly, if the variable was not declared previously.
2006-04-06 21:10:45 +00:00
Sebastian Bergmann
b8be6d3664 Fix build and sync parameters with config0.m4. 2006-03-06 22:49:16 +00:00
Andrei Zmievski
89a4054106 MFH (Import PCRE 6.6) 2006-03-06 21:45:57 +00:00
Dmitry Stogov
089f1283ad Fixed test file 2006-02-20 08:39:06 +00:00
Andrei Zmievski
f10bab6f97 MFH. 2006-02-17 21:18:09 +00:00
Andrei Zmievski
6c180238fd TODO 2006-02-06 19:02:53 +00:00
foobar
5bd93221a8 bump year and license version 2006-01-01 12:51:34 +00:00
Marcus Boerger
2d234ec4ac - Readd the file in this branch 2005-12-07 17:44:43 +00:00
foobar
3e669bc950 MFH: nuke php3 legacy 2005-12-06 02:28:41 +00:00
Michael Wallner
20c3b72bf0 - export everything we've got aliases for 2005-12-01 21:07:52 +00:00
Michael Wallner
039c69da18 - use php_pcre aliases 2005-12-01 20:53:35 +00:00
Michael Wallner
7901a6dbef MFH: ext/filter will need those exports
# php_compat.h still prevents linking
2005-12-01 20:07:34 +00:00
foobar
a0303c772a MFH: Renamed config.m4 to config0.m4
# PCRE configure tests must be run before e.g. ext/filter
2005-11-17 10:02:42 +00:00
foobar
158ebbd9b5 MFH 2005-11-16 22:14:32 +00:00
Dmitry Stogov
36a14076a8 Fixed bug #34725 (CLI segmentation faults during cleanup in ZTS if ext/pcre is DSO) 2005-10-28 08:30:41 +00:00
Dmitry Stogov
631da59b50 Fixed bug #34790 (preg_match_all(), named capturing groups, variable assignment/return => crash) 2005-10-11 06:47:48 +00:00
Ilia Alshanetsky
31dcd92f46 removed unused vars 2005-08-23 15:16:02 +00:00
foobar
9477097564 MFH: Nuked EOLs from error messages 2005-08-18 13:34:41 +00:00