Commit Graph

18573 Commits

Author SHA1 Message Date
Antony Dovgal
79786ebae8 MFB: AIX and Solaris have different (gm)strftime() implementation 2006-06-29 22:47:34 +00:00
Ilia Alshanetsky
9a0031e263 MFB: Fixed test 2006-06-29 22:46:49 +00:00
Hannes Magnusson
e20eb59ccc Fix test on linux... 2006-06-29 22:12:44 +00:00
Hannes Magnusson
a880059e5a fix/improve test 2006-06-29 15:01:20 +00:00
Hannes Magnusson
d03ba9cdc5 fix test 2006-06-29 14:53:31 +00:00
Hannes Magnusson
b9c078acf4 url->URL 2006-06-29 14:42:30 +00:00
Hannes Magnusson
0a2cfcce41 MFB: url -> URL 2006-06-29 14:32:24 +00:00
Antony Dovgal
f4cd66ff96 fix tests in unicode mode 2006-06-29 13:12:21 +00:00
Antony Dovgal
a704d11e82 fix tests 2006-06-29 13:05:23 +00:00
Andrei Zmievski
769c2a1c1e Try to make combining sequences work. Not entirely succesful. 2006-06-29 12:32:00 +00:00
Antony Dovgal
556739bc07 make sure we won't get into endless loop if value shm_var->next is corrupted 2006-06-29 09:03:00 +00:00
Antony Dovgal
86b295db95 add new tests 2006-06-29 08:59:51 +00:00
Andrei Zmievski
01410e5ae5 Fix codepoint iterators 2006-06-28 15:28:55 +00:00
Antony Dovgal
bfceaaf1d1 unicode_semantics -> unicode.semantics 2006-06-28 15:07:14 +00:00
Antony Dovgal
a6b1620267 update changelog 2006-06-28 15:05:17 +00:00
Antony Dovgal
310903208a fix #37931 (possible crash after database restart when using persistent connections) 2006-06-28 15:03:16 +00:00
Andrei Zmievski
b2b4988c12 Use object's copied text (fixes some bug somehow). 2006-06-28 14:44:36 +00:00
Nuno Lopes
8e258b50ea MFB 2006-06-28 14:42:32 +00:00
Andrei Zmievski
aea38c6ee1 Rework break iterator based implementation to make it more generic for
forward and backwards iterators and to return current elements properly.
2006-06-28 14:12:14 +00:00
Ilia Alshanetsky
7eccf9120e MFB: Improved the error reporting in SOAP extension on request failure. 2006-06-27 23:33:19 +00:00
Nuno Lopes
a6c5fb5354 MFB: new tests 2006-06-27 22:54:29 +00:00
Hannes Magnusson
ba0175365c arginfo fixes 2006-06-27 22:14:07 +00:00
Antony Dovgal
2399d12be0 more tests 2006-06-27 15:54:36 +00:00
Antony Dovgal
23ff3b767d more date() tests 2006-06-27 15:07:50 +00:00
Antony Dovgal
0aa1cd2c52 fix segfault with 'B' format param 2006-06-27 15:06:18 +00:00
Hannes Magnusson
e18bb1ce3d Fix/add SKIPIF 2006-06-27 00:09:23 +00:00
Hannes Magnusson
703e08015d Fix test 2006-06-26 23:42:43 +00:00
Antony Dovgal
98889cc198 add new tests 2006-06-26 23:41:51 +00:00
Antony Dovgal
dfc2fd651c zero-terminate strings produced with FORCE_DEFLATE 2006-06-26 23:22:45 +00:00
Antony Dovgal
ffac3d3c1b MFB: don't try to inflate empty strings 2006-06-26 22:53:42 +00:00
Antony Dovgal
887337a84f add new tests, improve the old ones 2006-06-26 22:20:55 +00:00
Hannes Magnusson
29ca8007ee Add arginfo for sys_getloadavg()
iUpdate arginfo for base64_decode()
2006-06-26 22:19:04 +00:00
Hannes Magnusson
0cce3777ea MFB: bug #37244 (base64_decode violates RFC 3548)
-Add test
2006-06-26 22:17:43 +00:00
Antony Dovgal
d4bb248ae0 detect empty mode string and avoid off-by-one 2006-06-26 21:13:22 +00:00
Hannes Magnusson
e9c59b98ac MFB: sys_getloadavg() 2006-06-26 20:28:30 +00:00
Hannes Magnusson
992ffac970 MFB: saveXML() -> asXML() alias 2006-06-26 15:36:45 +00:00
Hannes Magnusson
7589f995c9 Removed obsolete arg_info include 2006-06-26 14:10:57 +00:00
Dmitry Stogov
ce56c376df Fixed bug #37862 (Integer pointer comparison to numeric value) 2006-06-26 13:31:37 +00:00
Rasmus Lerdorf
157ce4f35e Cleaner fix 2006-06-26 13:10:31 +00:00
Rasmus Lerdorf
eef9835bb1 sapi_getenv() estrdups the returned string now, so we need to free it 2006-06-26 13:03:41 +00:00
Hannes Magnusson
731c3e4db0 Removed custom deprecate error messages
Use the fancy ZEND_ACC_DEPRECATED flag.
2006-06-26 11:31:19 +00:00
Hannes Magnusson
f4ea75f240 Added argument info
(forces user-space filters to register correct arguments)
Added tests
2006-06-25 22:51:55 +00:00
Antony Dovgal
361c7da159 MFB: improve test 2006-06-25 21:23:38 +00:00
Hannes Magnusson
3f2f258517 Enabled image_type_to_extension() which has been in cvs for 2,5 years now..
Added test
2006-06-25 20:52:34 +00:00
Hannes Magnusson
57e8133427 Fixed image_type_to_extension()
Added support for IMAGETYPE_JPX & IMAGETYPE_JB2
2006-06-25 20:51:31 +00:00
Hannes Magnusson
bf0a79d381 Updated protos
Fixed vim folding
2006-06-25 19:19:31 +00:00
Hannes Magnusson
9f96f0340b Argument info 2006-06-25 19:17:20 +00:00
Andrei Zmievski
ef263f219c A lot of work on making TextIterator support propert codepoint-level
offsets and making it more robust in general.
2006-06-24 21:57:14 +00:00
Marcus Boerger
233a322f1e - Fix ReflectionObject::getProperties() + dyn properties 2006-06-24 18:53:51 +00:00
Andrei Zmievski
72df9946d2 - Remove support for code units in TextIterator (people shouldn't be
examining individual code units anyway)
- Add offset() method.
- Add optional locale parameter to the constructor.
2006-06-24 18:18:38 +00:00
Antony Dovgal
770188279f plug leak in my last patch 2006-06-23 13:52:53 +00:00
Ilia Alshanetsky
a2b61371cd MFB: Change E_ERROR to E_RECOVERABLE_ERROR 2006-06-23 11:40:14 +00:00
Antony Dovgal
d9de0eac85 fix typo and bug #37886 2006-06-23 08:25:58 +00:00
Michael Wallner
4c4d083b52 MFB: use %zu to format size_t 2006-06-23 07:30:40 +00:00
Antony Dovgal
a3d2ed6356 timelib_day_of_week_ex() returns -1 if the year is less than 1753
don't use its return value directly, as accessing array element with negative index may lead to unpredictable result (crash?)
2006-06-22 21:03:48 +00:00
Antony Dovgal
fbbfdafe0a add 4.3.10 dependency to package.xml
add check for PHP version in ./configure
2006-06-22 20:28:51 +00:00
Antony Dovgal
c605235b53 don't try to parse empty string, return false immediately
(fixes off-by-one)
2006-06-22 18:44:18 +00:00
Pierre Joye
011bb5fef6 - initialize the custom values to null (optional arg)
- raise error for REQUEST and unknown mode
2006-06-22 10:58:13 +00:00
Andrei Zmievski
e875205714 Implement user conversion error handler support. Works as normal error
handler, in that it can return false to make the default one take over.
Handler signature is:
  user_handler($direction, $encoding, $char_byte, $offset, $message)

Also removed support for using exceptions in default error handler.
2006-06-21 20:17:21 +00:00
Ilia Alshanetsky
960ac4a6b1 MFB: Fixed compiler warnings. 2006-06-21 15:19:37 +00:00
Antony Dovgal
06ae96342f improve check for stream mode, add tests 2006-06-21 14:38:06 +00:00
Antony Dovgal
49a29c9b94 don't try to read or write from/to a stream if it was open in different mode (leads to segfault in libbz2) 2006-06-21 13:12:00 +00:00
Antony Dovgal
f20ba806f9 fix invalid read with bzopen("","") and prevent filename from being empty (which causes endless loop somewhere is libbz2)
tests will follow
2006-06-21 12:42:50 +00:00
Antony Dovgal
9af1ea3883 fix compile failure with <s>ancient</s> older PHP versions caused by new globals management code 2006-06-21 10:51:55 +00:00
Andrei Zmievski
37972451f8 Implement unicode_set_error_handler() / unicode_restore_error_handler().
The error handler doesn't do anything yet. (vaporware)
2006-06-20 23:00:02 +00:00
Ilia Alshanetsky
e6543cd7dc MFB: Removed pointless callbacks. 2006-06-20 22:42:42 +00:00
Nuno Lopes
b5fda0101c MFB 5.2 2006-06-20 21:58:03 +00:00
Antony Dovgal
016fe711f9 fix tests 2006-06-20 19:49:44 +00:00
Hannes Magnusson
1cb807ab63 Renamed file to bug37864.phpt 2006-06-20 19:31:04 +00:00
Hannes Magnusson
2c87f890bc Test for bug #37864 (file_get_contents() leaks on empty file) 2006-06-20 19:30:19 +00:00
Antony Dovgal
3d0e1456e4 fix test 2006-06-20 19:12:12 +00:00
Antony Dovgal
bc5a9692cb don't leave garbage in tmp dir 2006-06-20 18:55:37 +00:00
Hannes Magnusson
f3334c8df3 add test for file_get_contents() leaking on empty file 2006-06-20 18:46:14 +00:00
Antony Dovgal
438d74568d fix tests 2006-06-20 18:14:12 +00:00
Hannes Magnusson
d9f977e685 Add missing header include 2006-06-20 18:00:11 +00:00
Antony Dovgal
59e16e52de init variables 2006-06-20 13:28:02 +00:00
Antony Dovgal
8fd8789c9a nuke unused variables and init variables when needed 2006-06-20 13:21:10 +00:00
Antony Dovgal
f59302fe60 fix test to work on all platforms 2006-06-20 13:14:20 +00:00
Antony Dovgal
381269b354 fix test 2006-06-20 13:07:44 +00:00
Ilia Alshanetsky
2e1fd9c044 MFB: Added missing ifdef block. 2006-06-19 23:55:11 +00:00
Antony Dovgal
3210771d31 display oci8 version in phpinfo() 2006-06-19 18:21:19 +00:00
Antony Dovgal
635be00596 MFB: fix #37848 (ext/odbc compile failure) 2006-06-19 16:13:31 +00:00
Antony Dovgal
26713e9afe fix #37807 (segmentation fault during SOAP schema import) 2006-06-19 11:43:36 +00:00
Ilia Alshanetsky
4396986fc7 MFB: Added posix_initgroups() function. 2006-06-19 02:19:45 +00:00
Hannes Magnusson
fc53160464 Revert accidental libxml class property declaration.. 2006-06-17 13:15:37 +00:00
Hannes Magnusson
587311d07e Added argument info
Fixed protos
Fixed vim folding
2006-06-17 13:00:21 +00:00
Hannes Magnusson
9b8efc936a Fixed tests 2006-06-17 12:48:20 +00:00
Nuno Lopes
fa23156c42 MFB 2006-06-17 10:31:21 +00:00
Nuno Lopes
e74021e487 MFB: new tests 2006-06-16 22:48:29 +00:00
Rasmus Lerdorf
9e0cedcdd6 Optimize the other string conversion functions here to just create raw
text nodes.
2006-06-15 22:44:55 +00:00
Pierre Joye
da989ab849 - reimport logical_filter.c 2006-06-15 22:20:57 +00:00
Rasmus Lerdorf
c0c6e9944f I don't think the call to xmlNodeSetContentLen() is needed here and
it is causing performance problems because it tries to parse the blob
and create a subtree.  Because we are escaping the string anyway, we
are never going to get a subtree, but the entity parsing that is done
by xmlNodeSetContentLen() is killing performance on large blobs of
text.  On one recent example it took a couple of minutes to parse
whereas if we just create a text node like this and set the contents
to the raw string it is down to milliseconds.  As far as I can tell
all the tests pass with this patch.
2006-06-15 18:03:30 +00:00
Andrei Zmievski
927c5f2eb7 Rename to str_transliterate(). 2006-06-15 17:37:48 +00:00
Hannes Magnusson
284ad23f60 Add array type hinting
Remove unnecessary array checkes
2006-06-15 16:25:12 +00:00
Seiji Masugata
85f42ffe65 changed GINIT definition. 2006-06-15 15:44:05 +00:00
Nuno Lopes
06f93f77f3 MFB: fix bug #37800 2006-06-15 15:35:50 +00:00
Hannes Magnusson
66ad36259b Revert array type hinting 2006-06-15 15:31:39 +00:00
Dmitry Stogov
f6bdedcb5b Fixed ZTS build 2006-06-15 10:03:52 +00:00
Hannes Magnusson
a0c41f3e95 Added arg info
Fixed protos
2006-06-14 21:29:22 +00:00
Hannes Magnusson
a24552497f Fixed test 2006-06-14 19:47:30 +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
Ilia Alshanetsky
8a5127ffb5 MFB: E_ERROR -> E_RECOVERABLE_ERROR 2006-06-14 16:04:47 +00:00
Christian Stocker
aad9541658 Fix a segfault, when an unknown type was given support all known xpath object types 2006-06-14 09:41:28 +00:00
Dmitry Stogov
441d051bcd Fixed compilation (automatic module globals management). 2006-06-14 05:51:16 +00:00
Andrei Zmievski
a093762a6f transliterate() 2006-06-13 23:46:04 +00:00
Nuno Lopes
b5f20ceb48 MFB 2006-06-13 22:05:26 +00:00
Ilia Alshanetsky
b37a784265 MFB: Removed unused variables. 2006-06-13 20:20:03 +00:00
Andrei Zmievski
f2ef84a495 Move GINIT definition above re-definition of iconv. Gah. 2006-06-13 15:57:46 +00:00
Dmitry Stogov
943960c324 Added automatic module globals management 2006-06-13 13:12:20 +00:00
Ilia Alshanetsky
634e59643c MFB: Fixed compiler warning 2006-06-12 23:28:44 +00:00
Hannes Magnusson
d6486b8116 Only display visibility for methods 2006-06-11 23:46:53 +00:00
Ilia Alshanetsky
4ccab9d5ab MFB: Fixed ZTS build 2006-06-11 20:47:55 +00:00
Hannes Magnusson
53d262c04d Nuke unused var 2006-06-11 20:33:29 +00:00
Hannes Magnusson
9f786b9eff Fix typo 2006-06-11 20:11:52 +00:00
Hannes Magnusson
3b36c0e4d8 Added argument info
Fixed protos & vim folding
2006-06-11 19:59:53 +00:00
Ilia Alshanetsky
2863d56d8a MFB: Fully print array() in phpinfo(). 2006-06-11 16:27:41 +00:00
Hannes Magnusson
6ec968a181 Fixed tests in unicode mode 2006-06-11 00:16:04 +00:00
Hannes Magnusson
00f9624a35 Fix test 2006-06-10 23:53:14 +00:00
Hannes Magnusson
e6487d115e Added argument info
Fixed protos
Fixed vim folding
2006-06-10 22:59:40 +00:00
Ilia Alshanetsky
6434512a05 MFB: Improved performance of str_replace() when doing 1 char to 1 char or 1
char to many chars replacement by 30-40%.
2006-06-10 15:51:23 +00:00
Hannes Magnusson
6d1b43df02 Fixed bug #37764
- Created new abstract class, ReflectionFunctionAbstract implementing Reflector
- Moved all methods from ReflectionFunction (except export, invoke & invokeArgs)
- ReflectionFunction now inherits everything from ReflectionFunctionAbstract
    and implements its own export, invoke & invokeArgs methods
- ReflectionMethod now extends ReflectionFunctionAbstract and implements
    its own export, invoke & invokeArgs methods.
- Removed stdClass typehint from ReflectionClass::isInstance
- Removed stdClass typehint from ReflectionClass::set/getValue
2006-06-10 00:28:28 +00:00
Derick Rethans
654b601543 - MF52: Fixed bug #37747 (strtotime segfaults when given "nextyear"). 2006-06-08 16:30:37 +00:00
Marcus Boerger
c100b2837f - Add arginfo (hannes) 2006-06-07 22:39:00 +00:00
Rasmus Lerdorf
2ef05dfd60 Remove useless RINIT/RSHUTDOWN calls 2006-06-07 21:13:33 +00:00
Antony Dovgal
4d7663363b happy birthday commit, yay =)
this patch should fix Unicode LOB problems using callbacks to read LOBs
the patch also includes an optimization: using chunk_size*X buffer should speed up LOB reading a bit

many thanks to Massimo Squillace <msquillace at sogei dot it> for the patch.
2006-06-07 13:36:19 +00:00
Marcus Boerger
7b2b67770e - Add ReflectionClass::getInterfaceNames() 2006-06-07 09:11:58 +00:00
Ilia Alshanetsky
5b40f43faa MFB: Fixed bug #37709 (Possible crash in PDO::errorCode()). 2006-06-07 03:33:39 +00:00
Michael Wallner
ebe449fde1 MFB: only try to fetch stream context options if context is set 2006-06-06 21:38:28 +00:00
Antony Dovgal
4ee32398b7 MFB: plug a leak 2006-06-06 20:12:46 +00:00
Ilia Alshanetsky
0170d0cb59 MFB: Fixed bug #37705 (Semaphore constants not available). 2006-06-05 22:52:27 +00:00
Marcus Boerger
e583cd31e7 - Make this compatible with 5.0/1 again 2006-06-05 12:20:08 +00:00
Antony Dovgal
d72a51c83a add new changelog entries 2006-06-05 10:02:45 +00:00
Antony Dovgal
0ab0cf61db fix OCIPasswordChange() parameters (patch by pholdaway at technocom-wireless dot com)
prevent username. password and new password from being empty
2006-06-05 07:34:00 +00:00
Ilia Alshanetsky
b36fde4b9e MFB: Fixed bug #37671 (MySQLi extension fails to recognize BIT column). 2006-06-04 14:57:06 +00:00
Marcus Boerger
6a113f3b51 - Use engine call to register interfaces (steph) 2006-06-04 10:31:58 +00:00
Marcus Boerger
9b70699617 - Use engine call to register interfaces (steph) 2006-06-04 10:11:48 +00:00
Andrei Zmievski
a871adf6bb MFB 2006-06-03 18:58:40 +00:00
Michael Wallner
231ad17475 - explicit usage of TS macros
# this could have been raised a lot earlier
2006-06-03 11:19:44 +00:00
Antony Dovgal
eac15d9fd5 fix tests in unicode mode 2006-06-02 22:22:43 +00:00
Antony Dovgal
0816690760 fix error messages in Unicode mode 2006-06-02 21:55:26 +00:00
Michael Wallner
be96a46e96 - fix encoding 2006-06-02 20:09:22 +00:00
Michael Wallner
4ce0141713 - new output control code
# scan README.NEW-OUTPUT-API to get a grasp
# tree has been tagged with BEFORE_NEW_OUTPUT_API
#
# TODO:
#  - improve existing output handlers
#  - move zlib.output_compression cruft from SAPI.c to zlib.c
#  - output_encoding handling was ambigious, resp. is undefined yet
#  - more tests
2006-06-02 19:51:43 +00:00
Rob Richards
653007cea0 idness not valid for attribute declarations 2006-06-02 16:15:58 +00:00
Ilia Alshanetsky
c270a8e627 MFB: fixed compiler warning 2006-06-01 22:42:53 +00:00
Michael Wallner
1ba7a6812c MFB: #37630 MySQL extensions should link against thread safe client libs if built with ZTS 2006-06-01 19:15:31 +00:00
Antony Dovgal
8c04c51f9b ignore my previous fix, it was wrong =) 2006-06-01 14:31:02 +00:00
Antony Dovgal
01bc25e4b6 suppress_errors is used only on Win32, no need to look for it on other systems 2006-06-01 14:03:38 +00:00
Antony Dovgal
3e5407b16d nuke unused variable 2006-06-01 13:45:16 +00:00
Antony Dovgal
12a2d02b99 fix tests 2006-06-01 13:04:10 +00:00
Antony Dovgal
890b19a709 no need to fetch trsm_ls when it's already available 2006-06-01 12:25:32 +00:00
Antony Dovgal
a93e5cf3bf add expected warning to the test 2006-05-31 20:40:07 +00:00
Derick Rethans
48d0606f8d - MF52: There was nothing wrong here, bug report #37595 is bogus.
- MF52: Added a new test case to demonstrate a longer plain text.
2006-05-31 20:13:14 +00:00
Antony Dovgal
4b2d974691 fix #37595 (mcrypt_generic calculates data length in wrong way) 2006-05-31 12:04:52 +00:00
Antony Dovgal
86f475fd40 MFB: fix tests 2006-05-30 22:37:08 +00:00
Antony Dovgal
006cbdadab fix test 2006-05-30 21:54:17 +00:00
Antony Dovgal
b64bf12d59 fix compilation on some b0rked systems that must have collections support but they don't 2006-05-30 21:38:00 +00:00
Sara Golemon
a8ca40564c Minor fixes (bjori) 2006-05-30 19:05:21 +00:00
Michael Wallner
d96300f0e2 MFB: fix bug 37635 (argument to pcntl signal handler is trashed) 2006-05-30 17:44:23 +00:00
Hannes Magnusson
43a4e75e8a Lets play nice and use 4digit years with DATE_RSS 2006-05-30 15:13:36 +00:00
Ilia Alshanetsky
1aadb29d51 MFB: Added memory_get_peak_usage() function for retrieving peak memory
usage of a PHP script.
2006-05-30 14:51:54 +00:00
Hannes Magnusson
b32c5e959c Fixed DATE_COOKIE & DATE_RSS
Fixed tests
Add comments
# My first php-src/ commit! :)
2006-05-30 14:45:16 +00:00
Antony Dovgal
0d0cc38d4c don't require libociei, this allows us to build ext/oci8 against basiclite OIC package 2006-05-30 13:16:38 +00:00
Derick Rethans
f33cfbabfe - Now as text and not HTML. 2006-05-30 13:15:10 +00:00
Derick Rethans
8d31d2e896 - Fixed bug #37616: DATE_RFC822 does not product RFC 822 dates. (Patch by
Hannes Magnusson)
2006-05-30 13:08:00 +00:00
Antony Dovgal
cfeff66e9a need to call zend_is_callable() if callable is known to be invalid 2006-05-30 09:46:01 +00:00
Ilia Alshanetsky
7e2c124d14 MFB: Convert E_ERROR to E_RECOVERABLE_ERROR 2006-05-30 02:40:49 +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
Antony Dovgal
d0dba64b72 improve sed expressions 2006-05-29 18:12:39 +00:00
Michael Wallner
5777060367 MFB: Fixed bug #36949 (invalid internal mysqli objects dtor) 2006-05-29 16:55:40 +00:00
Antony Dovgal
c051139ad5 fix #37531 (oci8 persistent connection corruption) 2006-05-29 10:59:15 +00:00
Antony Dovgal
11b66c6cec add test 2006-05-29 10:42:37 +00:00
Antony Dovgal
d5f90c48c7 initialize srcstream
use different variable in local scope
2006-05-29 10:42:10 +00:00
Antony Dovgal
f59d444d8a prevent resource leaking when passing invalid stream resource as second argument 2006-05-29 10:23:53 +00:00
Johannes Schlüter
40da89d6b9 - Fix str_replace with unicode strings as key 2006-05-28 21:09:58 +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
Pierre Joye
3c5d378c73 - update changelog 2006-05-28 01:24:01 +00:00
Pierre Joye
c095489df3 - #7733, values using E/e returns wrong result 2006-05-28 01:12:55 +00:00
Rob Richards
d178e8d3e4 add C14N() and C14NFile() methods to perform XML canonicalization
add test
2006-05-26 18:22:06 +00:00
Dmitry Stogov
2fd6c8607a Fixed bug #37523 (namespaces added too late, leads to missing xsi:type attributes. incompatibility with libxml2-2.6.24) 2006-05-26 09:04:54 +00:00
Ilia Alshanetsky
d5efd946ae Corrected previous patch 2006-05-26 01:55:00 +00:00
Pierre Joye
1902e8973c - MFB: fix leaks in openssl context options 2006-05-26 01:48:25 +00:00
Marcus Boerger
f876597452 - Fix handling of third parameter to iterator_apply()
- Add test
2006-05-26 01:40:57 +00:00
Marcus Boerger
2c096460eb - Fix type hint 2006-05-26 00:49:02 +00:00
Marcus Boerger
f0e9f6e4f9 - Add function iterator_apply() 2006-05-26 00:37:33 +00:00
Ilia Alshanetsky
ad5f0b50fa MFB: Fixed bug #37569 (WDDX incorrectly encodes high-ascii characters). 2006-05-25 23:23:15 +00:00
Marcus Boerger
0638b7cfec - Make recursive part and identical part work correct 2006-05-25 18:15:04 +00:00
Marcus Boerger
711c43406f - Add DualIterator and RecursiveDualIterator to examples including a test 2006-05-25 17:44:59 +00:00
Pierre Joye
e8f043b449 -#7715, fix float validation when using '.23' or '123'
have worked before using my version, bug introduced in later commits.
2006-05-25 13:27:51 +00:00
Michael Wallner
9b884c1dbe MFB: fix bug #34180, --with-curlwrappers discards stream context options 2006-05-25 12:47:46 +00:00
Antony Dovgal
a1cb265e4a remove debug output and fix bug #37589 2006-05-25 11:46:12 +00:00
Pierre Joye
f4890ace58 - remove 033.php 2006-05-25 11:13:42 +00:00
Pierre Joye
c0e8d54844 - move 033.php to 033_run.php, 033.php cannot be run 2006-05-25 11:13:23 +00:00
Marcus Boerger
875caa4870 - MFB 2006-05-25 10:50:53 +00:00
Marcus Boerger
40439b1670 - Bugfix 37587 2006-05-25 09:51:58 +00:00
Rasmus Lerdorf
3562f88b7e Fix expected output 2006-05-25 09:12:11 +00:00
Dmitry Stogov
d5236aaf96 Fixed bug #37278 (SOAP not respecting uri in __soapCall) 2006-05-25 08:15:57 +00:00
Rasmus Lerdorf
804a44e7bc Big filter test - note that a number of these currently fail 2006-05-25 08:06:34 +00:00
Ilia Alshanetsky
940ed4a426 MFB: Fixed bug #37563 (array_key_exists performance is poor for &$array). 2006-05-24 23:14:36 +00:00
Antony Dovgal
a2f0632198 fix test 2006-05-24 23:05:30 +00:00
Antony Dovgal
2873c3a5ad MFB: fix #37418 (tidy module crashes CLI version of PHP) 2006-05-24 21:22:27 +00:00
Antony Dovgal
3819d8e435 MFB: fix #37499 (CLI segmentation faults during cleanup (only with sybase-ct extension enabled)) 2006-05-24 20:22:34 +00:00
Pierre Joye
b629056504 - #7625, update doc 2006-05-24 11:51:55 +00:00
Marcus Boerger
c627a4819b - Add more tests from Ligaya Turmelle 2006-05-23 23:45:39 +00:00
Marcus Boerger
47343620cb - Add new test 2006-05-23 22:26:55 +00:00
Marcus Boerger
16f403f79a - Readd NULL as allowed classname to skip parameter 2006-05-23 22:22:35 +00:00
Marcus Boerger
b1154bd4f7 - Add new test 2006-05-23 21:56:36 +00:00
Marcus Boerger
ccd2bc0005 - Fix SEGV in case class to generate is not derived from SimpleXMLElement
by issueing an error
2006-05-23 21:37:17 +00:00
Rob Richards
e88f13a86d add test 2006-05-22 17:05:38 +00:00
Ilia Alshanetsky
4a6464f22a MFB: E_ERROR > E_RECOVERABLE_ERROR 2006-05-22 14:23:01 +00:00
Antony Dovgal
1304bd655b re-enable OCILobRead2() support on win32 2006-05-22 04:17:24 +00:00
Marcus Boerger
e843518509 - More exception related issues 2006-05-21 17:36:52 +00:00
Marcus Boerger
c7bf318305 - Make code exception safe
- Make RecursiveRegexIterator::getChildren pass regex to inner ctor
- Fix CachingIterator::__toString() in TOSTRING_USE_KEY mode
- Add CachingIterator::getCache()
- Add tests
2006-05-21 17:27:12 +00:00
Ilia Alshanetsky
ef29a49de6 Added control character checks for cURL extension's open_basedir/safe_mode
checks.
2006-05-21 16:32:10 +00:00
Marcus Boerger
a4d6c5a6f0 - Handle corrupt base64 data in data: url 2006-05-21 13:35:06 +00:00
Marcus Boerger
e7d381f7b6 - Drop unneccesary check and change to safe_emalloc 2006-05-21 13:25:16 +00:00
Marcus Boerger
9264ec9b63 - There is a problem in the string / unicode comparison here which we
do not want to test here, so simply drop the part which is irrelevant
  to the actual test
2006-05-21 12:48:42 +00:00
Marcus Boerger
97e798257a - Remove duplicate error message and add new test 2006-05-21 12:42:00 +00:00
Marcus Boerger
a6c21ae746 - No need to fetch ce twice 2006-05-20 20:46:11 +00:00
Marcus Boerger
0a0d7b046d - Split up the test in different problem categories 2006-05-20 20:38:28 +00:00
Marcus Boerger
a677ab81f3 - Micro optimization 2006-05-20 19:47:18 +00:00
Marcus Boerger
9b314a8406 - Update test 2006-05-20 19:01:22 +00:00
Marcus Boerger
9e230861ca - No need to keep object alive, iterator api is taking care of that already 2006-05-20 18:48:43 +00:00
Antony Dovgal
469040660e attempt to fix OCILobRead2() related problems 2006-05-20 13:46:41 +00:00
Marcus Boerger
05de29995f - Provide a generic c-level iterator apply function
- Base iterator_to_array() and iterator_count() on it
- Add a testcase
# Somehow there is an issue with exceptions in __destruct() here
2006-05-20 13:23:00 +00:00
Derick Rethans
43ca53674c - MF52: Fixed bug #37514 (strtotime doesn't assume year correctly). 2006-05-19 14:53:07 +00:00
Michael Wallner
b31ca2c43d MF52: nuke compiler warnings 2006-05-19 14:30:48 +00:00
Hartmut Holzgraefe
205bdeda41 Name change: php_get_tmpdir() renamed to sys_get_temp_dir() 2006-05-19 10:44:34 +00:00
Antony Dovgal
bd6125c312 add new tests by Ligaya Turmelle 2006-05-19 07:44:58 +00:00
Dmitry Stogov
ab9e070bbf Optimized zend_try/zend_catch macroses (eliminated memcpy()) 2006-05-19 06:11:02 +00:00
Ilia Alshanetsky
1dd395b27f MFB: Fixed bug #37505 (touch() truncates large files). 2006-05-19 02:51:18 +00:00
Pierre Joye
deec9a6ce1 - fix windows builds, error with declarations 2006-05-19 01:45:22 +00:00
Marcus Boerger
4c75c6bf29 - Add new test 2006-05-18 22:51:23 +00:00
Marcus Boerger
fae99963dc - Add new test 2006-05-18 22:41:14 +00:00
Marcus Boerger
a4471f70f0 - Fix bug #37510 session_regenerate_id changes session_id() even on failure 2006-05-18 22:07:31 +00:00
Marcus Boerger
fbb48b6f26 - Add new test 2006-05-18 21:56:57 +00:00
Marcus Boerger
4439e2c530 - Fixed CachingIterator issues with string conversion/__toString()
Partly by adding new mode TOSTRING_USE_INNER
2006-05-18 21:41:37 +00:00
Marcus Boerger
ac0a0664ce - Fix test in unicode mode 2006-05-18 21:40:30 +00:00
Antony Dovgal
10c2fc97df fix #37487 (oci_fetch_array() array-type should always default to OCI_BOTH) 2006-05-18 13:20:00 +00:00
Rob Richards
43dfe5ec59 add test 2006-05-17 16:32:35 +00:00
Rob Richards
85e8f351d5 Fix bug #37456 (DOMElement->setAttribute() loops forever) 2006-05-17 16:32:04 +00:00
Antony Dovgal
08ff489ef8 fix skip reason 2006-05-17 10:12:44 +00:00
Marcus Boerger
2a36ccbaa6 - Proto fix/add 2006-05-17 00:07:05 +00:00
Ilia Alshanetsky
1226d31151 MFB: Make filters without a resource throw E_RECOVERABLE_ERROR rather then
E_ERROR
2006-05-16 14:12:52 +00:00
Antony Dovgal
17c98844d5 new mkdir tests 2006-05-16 13:07:07 +00:00
Marcus Boerger
59bf03c6a8 - Fixed Bug #37457 (Crash when an exception is thrown in accept() method of FilterIterator) 2006-05-16 08:19:56 +00:00
Derick Rethans
733c60eab6 - Fixed windows compile error. 2006-05-15 08:53:58 +00:00
Antony Dovgal
5ce0aa49b8 disable OCILobRead2() support on Win32 2006-05-15 08:34:02 +00:00
Marcus Boerger
3856d8da6d - Add strict compliant RFC2397 support (no //) 2006-05-14 18:35:40 +00:00
Derick Rethans
5845a93484 - Implemented Dmitry's const patch.
- Added support for "weekday" as relative item.
- Fixed bug #37368 (Incorrect timestamp returned for strtotime()).
2006-05-14 17:30:26 +00:00
Pierre Joye
a25e1af038 - add tests to the package 2006-05-14 15:51:04 +00:00
Pierre Joye
8e95777e47 - NULL is returned when a variable is not false, FALSE when the validation
failed
- add tests for input_get_args
2006-05-14 13:54:10 +00:00
Pierre Joye
cd4051dce5 - add test for INT 2006-05-14 13:12:57 +00:00
Pierre Joye
e6de0eaba4 - trim spaces before parsing floats or integers 2006-05-14 13:10:10 +00:00
Pierre Joye
29bf501644 - changelog 2006-05-14 01:58:51 +00:00
Pierre Joye
3ac4fc8311 - add var_name##_len to FETCH_STRING_OPTION
- add tests for float (031)
- fix name for IPv6 test
2006-05-14 01:47:40 +00:00
Marcus Boerger
3b66ab74f9 - RFC2397 add decoding
# done (need to decide whether all examples shouldl work or specs are
# followed)
2006-05-14 01:39:24 +00:00
Marcus Boerger
73069100fd - Change to use dedicated stream ops 2006-05-14 00:45:27 +00:00
Marcus Boerger
4f29479a22 - RFC 2397 meta data handling 2006-05-14 00:40:53 +00:00
Marcus Boerger
29c0f5bede - Initial RFC2397 support
# decoding is missing right now
2006-05-13 17:53:01 +00:00
Pierre Joye
ae1165e478 - use php/pcre in email
- return code can be 0
2006-05-13 15:57:46 +00:00
Pierre Joye
253d5d6e27 - entry for ipv6 2006-05-13 02:44:56 +00:00
Pierre Joye
73ed3ce99f - add IPv6 basic support
unicast, multicast or other local loop will come after 0.10.0
  test 014 fails:
  "Notice: Object of class stdClass to string conversion" is now
  "Catchable fatal error: Object of class stdClass could not be converted
  to IS_STRING", to verify ...
2006-05-13 02:43:44 +00:00
Pierre Joye
00d423980a - add SCALAR/ARRAY doc 2006-05-13 01:30:02 +00:00
Rob Richards
d12a4835fb add doXInclude property to allow processor to perform XIncludes 2006-05-12 18:52:11 +00:00
Antony Dovgal
d5c7ea7733 fix #37416 (iterator_to_array() hides exceptions thrown in rewind() method) 2006-05-12 09:42:19 +00:00
Edin Kadribasic
78c2c50c86 MFB: Remove pecl includes (Steph), except pdo_odbc which will remain broke 2006-05-11 21:48:57 +00:00
Marcus Boerger
b12bd4321f - Fix build 2006-05-11 20:10:29 +00:00
Seiji Masugata
b56ab30155 fixed all mbstring setting information doesn't return in mb_get_info( ). 2006-05-11 14:37:42 +00:00
Rasmus Lerdorf
efd1b929de MFB 2006-05-11 03:49:12 +00:00
Pierre Joye
2d9b196974 - JIT entry
- next release will be 0.10.0
2006-05-11 00:13:16 +00:00
Rasmus Lerdorf
6219fa9f01 WS fix 2006-05-10 23:10:55 +00:00
Rasmus Lerdorf
294e1cd2d8 auto_globals_jit support for ext/filter 2006-05-10 23:09:03 +00:00
Marcus Boerger
7e92bac53e - s/RegExIterator/RegexIterator/ 2006-05-10 21:09:31 +00:00
Marcus Boerger
40ff813374 - CS 2006-05-10 21:03:34 +00:00
Rob Richards
bd8c4d1662 fix compiler warnings 2006-05-10 19:34:47 +00:00
Andrei Zmievski
a331a4d5f1 MFB 2006-05-10 16:51:18 +00:00
Ilia Alshanetsky
7dd87b5307 MFB: Fixed bug #37394 (substr_compare() returns an error when offset equals
string length).
2006-05-10 13:07:56 +00:00
Andrey Hristov
e4e7d27e4a MFB 2006-05-10 12:29:09 +00:00
Rob Richards
ac4afe552b - revert back to using internal buffer
origional string may be modified during parse causing possible crash
2006-05-10 11:58:56 +00:00
Antony Dovgal
6fc10a0acd fix #37392 (Unnecessary call to OCITransRollback() at the end of request) 2006-05-10 10:06:57 +00:00
Marcus Boerger
b43ac2603b - WS 2006-05-09 22:15:16 +00:00
Marcus Boerger
6c0c9f098f - Methods have flags 2006-05-09 22:12:50 +00:00
Andrei Zmievski
96efa426b8 Add pcre_last_error() and backtrack/recursion limit settings. 2006-05-09 18:28:11 +00:00
Andrei Zmievski
e2a1d7a3e1 Add char_enum_types(). 2006-05-09 18:21:27 +00:00
Georg Richter
4508ae73f7 merge from 5.2 2006-05-09 13:53:39 +00:00
Georg Richter
b6d7fdf465 Merge from 5.2 2006-05-09 11:27:20 +00:00
Pierre Joye
1a0f27a707 - #7586 (pecl), filter is not reseted between element 2006-05-09 11:14:43 +00:00
Pierre Joye
fd2199bf53 - one line inline doc 2006-05-09 10:24:09 +00:00
Pierre Joye
f8c8a13e18 - fix logic, scalar is the default 2006-05-09 00:46:31 +00:00
Pierre Joye
f03e94f985 - remove unused arg and use the right one 2006-05-09 00:29:30 +00:00
Andrei Zmievski
fad88da96e Fix and adjust. 2006-05-09 00:15:45 +00:00
Andrei Zmievski
f0dec5c4a4 Add char_enum_names(). 2006-05-09 00:06:08 +00:00
Andrei Zmievski
cbe16953e8 Been a long day.. 2006-05-08 23:01:20 +00:00
Andrei Zmievski
8a938324e3 And going, and going... 2006-05-08 22:23:57 +00:00
Andrei Zmievski
002b28e5cc A few more property functinos. 2006-05-08 21:54:44 +00:00
Pierre Joye
4cc946a706 - this one too must be changed
NB: add a define for the default string name as well
2006-05-08 21:26:09 +00:00