Commit Graph

418 Commits

Author SHA1 Message Date
Antony Dovgal
0209e41563 add PCRE_VERSION constant to ext/pcre 2007-07-24 22:34:17 +00:00
Dmitry Stogov
1604924312 Fixed compilation warnings 2007-07-10 09:57:23 +00:00
Dmitry Stogov
4a49ce8b8f Fixed preg_replace_callback() with callback defined by array 2007-07-10 09:11:35 +00:00
Dmitry Stogov
0b642b977a PCRE unicode/binary support 2007-07-06 23:06:51 +00:00
foobar
f0f44a3652 - Fix some configure --help texts 2007-07-03 17:24:39 +00:00
Nuno Lopes
c89c4b3beb new test 2007-06-19 17:33:02 +00:00
Nuno Lopes
0182e446ed final PCRE 7.2 release 2007-06-19 17:13:42 +00:00
Nuno Lopes
c449991a3e MFB: new tests
#they pass here, but segfault on php 5.2/pcre 7.0
2007-06-15 12:04:26 +00:00
Nuno Lopes
f02ff43715 upgrade to PCRE 7.2 RC3
add script to automate upgrade of the bundled PCRE lib
2007-06-14 19:43:42 +00:00
Scott MacVicar
428aec2a9e Display PCRE ini entries as part of module info 2007-06-12 14:07:42 +00:00
Antony Dovgal
ccd97f3a21 fix test names 2007-05-07 17:23:53 +00:00
Nuno Lopes
1acf73af7f fix test title 2007-05-07 15:24:37 +00:00
Nuno Lopes
dc4118e154 update bundled PCRE to version 7.2 RC1. if everything goes right, this will be merged later to php 5.x 2007-05-07 15:22:10 +00:00
Antony Dovgal
4713e0ab79 fix folding 2007-04-23 10:05:25 +00:00
Marcus Boerger
587009adcd - Need to install headers 2007-03-25 12:53:31 +00:00
Antony Dovgal
61d2a8383d don't emit any warnings in addition to an exception 2007-03-14 23:47:19 +00:00
Rob Richards
b85550e528 fix win build 2007-02-26 12:37:57 +00:00
Marcus Boerger
20a40063c5 - avoid sprintf 2007-02-24 16:25:58 +00:00
Antony Dovgal
546bbeb3d5 add SKIPIF sections to check if PCRE has the functionality tested/used 2007-02-12 14:22:02 +00:00
Nuno Lopes
66837ba30b upgrade PCRE to version 7.0 2007-02-09 20:13:18 +00:00
Hannes Magnusson
75267ee88d Revert pcrelib version string to 2006 2007-01-03 20:08:08 +00:00
Antony Dovgal
4c923b2753 revert this date to its previous state 2007-01-03 18:32:16 +00:00
Sebastian Bergmann
3717df72ae Bump year. 2007-01-01 09:29:37 +00:00
Nuno Lopes
71cf54dc4c new test 2006-12-19 21:47:16 +00:00
Antony Dovgal
c5edb5a75e fix test on MacOS 2006-12-19 13:11:30 +00:00
Nuno Lopes
90496dbb26 MFB: new tests 2006-12-08 12:15:21 +00:00
Antony Dovgal
6aa5ed0d9c partly fix #39724
ext/spl has a soft dependcy from ext/pcre (not ext/pcre-regex)
2006-12-04 18:01:24 +00:00
Nuno Lopes
75011c4d2c add UEXPECT sections 2006-12-03 11:20:32 +00:00
Hannes Magnusson
79f1a51473 MFB: fix test on fbsd 2006-12-03 08:08:18 +00:00
Nuno Lopes
5819d83aeb MFH (not tested. so some tests may fail in unicode mode) 2006-12-02 21:42:30 +00:00
Antony Dovgal
3049d59cba fix #39112 (typo in error message) 2006-10-10 12:43:34 +00:00
Andrei Zmievski
a567622740 Initialize optional vars. 2006-10-09 19:54:38 +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
Antony Dovgal
df68f888ea leaks--
fix test
2006-10-03 21:37:02 +00:00
Antony Dovgal
a264ef3348 fix tests 2006-10-03 21:18:43 +00:00
Antony Dovgal
496ff9808a fix leak 2006-10-03 21:17:29 +00:00
Antony Dovgal
520ab72e19 don't forget to increase refcount when adding entry to the return_value 2006-10-03 20:42:57 +00:00
Andrei Zmievski
1fd91e40f8 Unicode support in preg_grep(). 2006-09-19 20:41:56 +00:00
Andrei Zmievski
723baf6608 Upgrade preg_quote() to support Unicode. 2006-09-19 20:01:10 +00:00
Andrei Zmievski
5066424135 Fix offset calculation in add_offset_pair(). 2006-09-19 17:37:48 +00:00
Antony Dovgal
ad1d0e6d65 fix tests 2006-09-19 11:49:21 +00:00
Antony Dovgal
5d42e808a3 fix leak in preg_split() 2006-09-19 11:48:59 +00:00
Andrei Zmievski
30d7168bbd Upgrade preg_split() to support Unicode strings. 2006-09-18 20:16:36 +00:00
Andrei Zmievski
81b83f327b More work on Unicode support in PCRE. When UG(unicode) is on, all
strings passed to PCRE have to be IS_UNICODE or IS_STRING in UTF-8
encoding. Failure to do so will result in unpredictable results.
2006-09-18 17:59:10 +00:00
Nuno Lopes
408a584d6e MFB: fix memleak of pcre study data 2006-09-06 16:31:28 +00:00
Ilia Alshanetsky
f8c35ca367 Added missing defines needed for win32 build 2006-09-05 14:48:06 +00:00
Ilia Alshanetsky
30d213667e MFB: Upgrade PCRE lib to 6.7 2006-08-30 20:00:59 +00:00
Antony Dovgal
a0a7595bbf fix leak, add test 2006-08-30 16:46:23 +00:00
Antony Dovgal
c96c1465d8 add missing addref
now it works fine
2006-08-29 22:55:44 +00:00
Andrei Zmievski
de39f4561b Check for is_utf8. 2006-08-29 22:52:37 +00:00
Andrei Zmievski
ac5c0797d8 More Unicode work. 2006-08-29 22:16:26 +00:00
Antony Dovgal
996d8d1226 fix PCRE tests 2006-08-29 22:12:31 +00:00
Andrei Zmievski
ff93bd421b Add Unicode support for preg_match[_all] 2006-08-28 20:36:50 +00:00
Rob Richards
559937c8a5 tsrmls fix 2006-07-20 22:40:44 +00:00
Marcus Boerger
c2c5201872 - TSRM fixes 2006-07-20 22:07:09 +00:00
Marcus Boerger
8ff86b1e31 - WS 2006-07-20 21:52:40 +00:00
Marcus Boerger
6a0f2a5982 - Fix unicode expectations 2006-07-20 21:39:48 +00:00
Marcus Boerger
b5b5944ddf - 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 21:19:05 +00:00
Marcus Boerger
8dc11c8c28 - WS 2006-07-19 20:30:52 +00:00
Antony Dovgal
18d1c420d6 fix test 2006-07-18 09:23:05 +00:00
Nuno Lopes
068dfca1d7 MFB 2006-07-17 11:39:49 +00:00
Marcus Boerger
12edfef4d3 - TSRM Fix 2006-07-16 20:57:40 +00:00
Nuno Lopes
cb32fbe9d5 MFB 2006-07-16 19:36:23 +00:00
Marcus Boerger
ac3a58e52d - Little bit refactoring: Two new PHPAPI functions:
. php_pcre_match
  . php_pcre_split
2006-07-16 19:20:05 +00:00
Hannes Magnusson
302deb04d8 fix tests 2006-07-03 16:03:39 +00:00
Nuno Lopes
57801820f5 MFB 2006-07-03 14:55:49 +00:00
Hannes Magnusson
703e08015d Fix test 2006-06-26 23:42:43 +00:00
Nuno Lopes
06f93f77f3 MFB: fix bug #37800 2006-06-15 15:35:50 +00:00
Nuno Lopes
4ee2074d12 MFB 2006-06-14 18:07:45 +00:00
Nuno Lopes
3b69def3e7 MFB: fix mem leak 2006-06-14 18:04:01 +00:00
Nuno Lopes
6b34ab5816 MFB: remove pcre_dfa_exec.c 2006-06-14 16:28:16 +00:00
Nuno Lopes
b5f20ceb48 MFB 2006-06-13 22:05:26 +00:00
Dmitry Stogov
943960c324 Added automatic module globals management 2006-06-13 13:12:20 +00:00
Antony Dovgal
b220c7779f no need to check it for not-NULL (as was pointed by Nuno) 2006-05-29 21:31:30 +00:00
Antony Dovgal
0e639cea57 add test 2006-05-29 20:31:33 +00:00
Antony Dovgal
d5462c527a return NULL in case of error (and fix leak/non-null-terminated string error) 2006-05-29 20:26:12 +00:00
Ilia Alshanetsky
af1877567e MFB: Fixed bug #37586 (Bumped minimum PCRE version to 6.6, needed for
recurssion limit support).
2006-05-28 15:34:19 +00:00
Andrei Zmievski
96efa426b8 Add pcre_last_error() and backtrack/recursion limit settings. 2006-05-09 18:28:11 +00:00
Andrei Zmievski
589d830c32 Disallowed numeric named captures. 2006-04-07 21:20:10 +00:00
Andrei Zmievski
84a6481eff That is not the bug you're looking for. 2006-04-06 22:37:42 +00:00
Andrei Zmievski
a389cb5a8c Even more stuff from Friedl. 2006-04-06 22:02:02 +00:00
Andrei Zmievski
7272c63055 More stuff from Friedl.. 2006-04-06 21:23:56 +00:00
Andrei Zmievski
f37190dc57 MFB 2006-04-06 21:16:28 +00:00
Dmitry Stogov
22055cb8fd Dropped register_long_arrays, added E_CORE for all dropped setting 2006-03-16 09:44:42 +00:00
Pierre Joye
bb1ec86f9d - remove magic_quotes_gpc, magic_quotes_runtime, magic_quotes_sybase
(calling ini_set('magic_....') returns 0|false
- get_magic_quotes_gpc, get_magic_quotes_runtime are kept but always return false
- set_magic_quotes_runtime raises an E_CORE_ERROR
2006-03-08 00:43:32 +00:00
Sebastian Bergmann
1ed4c0b446 MFB: Fix build and sync parameters with config0.m4. 2006-03-06 22:50:43 +00:00
Andrei Zmievski
18283d39ad Import PCRE 6.6 and make adjustments. 2006-03-06 21:34:07 +00:00
Dmitry Stogov
0f1209ab3d Portable unicode string API:
- use the same type (int) for zval.value.usr.len and zval.value.str.len
  - use union "zstr" as char*/UChar* mixture instead of void*
  - Z_UNISTR() and Z_UNILEN() no longer check for Z_TYPE()
  - nuke int32_t from ZE (not finisned)
2006-02-21 20:12:43 +00:00
Dmitry Stogov
56b0eb7248 Fixed test file 2006-02-20 08:39:38 +00:00
Andrei Zmievski
31f74bc7a5 NULL byte should be escaped to \000 instead of \0 in case it is followed
by an octal digit. (found by Jeffrey Friedl)
2006-02-17 21:17:44 +00:00
foobar
251c5173fd bump year and license version 2006-01-01 13:10:10 +00:00
foobar
a208d9a966 - Nuke php3 legacy 2005-12-06 02:28:26 +00:00
Michael Wallner
dd947297fe - export everything we've got aliases for 2005-12-01 21:08:17 +00:00
Michael Wallner
4323354ee0 - use php_pcre aliases 2005-12-01 20:53:04 +00:00
Michael Wallner
9bae4e12e4 - ext/filter will need those exports
# php_compat.h still prevents linking
2005-12-01 20:07:01 +00:00
Antony Dovgal
0c110a93d2 MF51: change "-o" to "||" to support weird systems with broken test 2005-11-29 18:38:48 +00:00
foobar
7b7b6c20a6 - Renamed config.m4 to config0.m4
# PCRE configure tests must be run before e.g. ext/filter
2005-11-17 10:01:47 +00:00
foobar
1044416541 - Fix build problems with pecl/filter/ 2005-11-16 22:14:24 +00:00
Dmitry Stogov
9cb1032718 Fixed bug #34725 (CLI segmentation faults during cleanup in ZTS if ext/pcre is DSO) 2005-10-28 08:31:01 +00:00
Marcus Boerger
56325bc275 - Drop one cache related function which is not really neccessary 2005-10-12 22:45:15 +00:00