Commit Graph

378 Commits

Author SHA1 Message Date
Dmitry Stogov
d5ef2f466c Added support for lambda functions and closures 2008-07-14 09:49:03 +00:00
Nuno Lopes
d771fa6da1 fix CVE-2008-2371. patch by Tavis Ormandy
# currently there's no release of PCRE with this fix. PCRE's author recommended applying this patch in the meantime
2008-07-06 15:23:31 +00:00
Nuno Lopes
053dc572ca upgrade to PCRE 7.7 2008-07-06 15:17:25 +00:00
Felipe Pena
235aab6c0f - New parameter parsing API (to preg_replace*)
- Fixed related tests
2008-06-30 17:14:48 +00:00
Felipe Pena
7ddf985e05 - zend_arg_defs.c is unnecessary now 2008-06-30 12:15:53 +00:00
Pierre Joye
c9ec9fed7b - set PHP_[EXTNAME] to yes for spl, pcre and reflection (always on), this variable is required by ADD_EXTENSION_DEP 2008-06-23 10:22:42 +00:00
Jani Taskinen
f047195f55 MFH: simplify, readability 2008-06-02 14:12:20 +00:00
Hannes Magnusson
49961368be Add arginfo & fix protos 2008-06-01 18:47:20 +00:00
Antony Dovgal
8e6ea84fdd MFH: use bundled PCRE library when both yes & no passed as argument,
look for headers and the lib otherwise
2008-05-23 19:07:27 +00:00
Elizabeth Marie Smith
3adf07b5c6 Fix reflection (always static, never shared) and disable turning off pcre and spl (also always static, never shared) 2008-05-02 14:05:53 +00:00
Marcus Boerger
aa64c6727c - MFH No longer allow to disable pcre 2008-04-10 19:42:32 +00:00
Nuno Lopes
634fef42d6 fix bug #44214: crash with preg_replace_callback and global variables 2008-03-08 13:01:59 +00:00
Nuno Lopes
d204214d7f implement #44336: optimize utf8 string matching
add PREG_BAD_UTF8_OFFSET_ERROR constant
2008-03-08 11:58:12 +00:00
Nuno Lopes
0d0a7a432a add new tests 2008-03-08 11:50:20 +00:00
Dmitry Stogov
bcade81501 Removed unnecassary strlen() 2008-03-03 11:11:43 +00:00
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