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
Edin Kadribasic
1483647359
Added constants.c to the windows build
2006-05-08 21:06:34 +00:00
Pierre Joye
458cdcf323
- update/add inline docs
...
- CS
2006-05-08 20:57:59 +00:00
Pierre Joye
27753b3382
- #6567 , wrong php dependency
2006-05-08 17:06:22 +00:00
Pierre Joye
6a408c9bcb
- sync them
2006-05-08 16:41:26 +00:00
Pierre Joye
f51fb7853f
- fix tsrm build
2006-05-08 16:34:12 +00:00
Pierre Joye
1fd3c9baf2
- #6136 , ini_set should not be able to change the filter.default
2006-05-08 16:24:12 +00:00
Pierre Joye
065a10808f
- set unsafe_raw as default, will be set back to string for php6. 5.
...
will use unsafe_raw. Discusses optimizations are coming.
2006-05-08 15:42:47 +00:00
Pierre Joye
826a577675
- add input_get_args (input_get is kept untouched for now)
...
- add FILTER_FLAG_SCALAR and FILTER_FLAG_ARRAY
- update ReST doc and add an example
2006-05-08 14:39:57 +00:00
Ilia Alshanetsky
889f66837c
MFB: Fixed memory leaks when working with cursors in PDO PostgreSQL driver.
2006-05-08 14:33:23 +00:00
Pierre Joye
154507f6bc
- #37360 , bad gif size
2006-05-08 11:49:33 +00:00
Pierre Joye
9d07689c67
- CS (spaces > tabs)
2006-05-08 11:46:13 +00:00
Nuno Lopes
fb18707cb4
fix test, sorry.
2006-05-07 18:17:53 +00:00
Nuno Lopes
eb5343ee47
convert a few more functions to unicode and adapt the tests as well
2006-05-07 18:11:40 +00:00
Pierre Joye
fc91929f94
- MFB: #37346 , invalid colormap format
2006-05-07 17:21:11 +00:00
Nuno Lopes
50cf480153
fix thread safe build
2006-05-06 13:19:10 +00:00
Nuno Lopes
f7b62e2430
fix tests in Unicode mode
2006-05-06 11:19:37 +00:00
Nuno Lopes
e037edab61
use the new zend_unicode_to_ascii() function. this should also fix windows builds
2006-05-06 10:48:04 +00:00
Hartmut Holzgraefe
daa5febadf
Added php_get_tmpdir() function that returns the default directory for
...
temporary files (as requested in bug #35380 )
2006-05-06 09:59:02 +00:00
Frank M. Kromann
e7a6d29e95
Adding property.c to windows build
2006-05-05 21:37:08 +00:00
Andrei Zmievski
80f849ac1a
Register slightly under half a metric ton of constants.
2006-05-05 20:56:21 +00:00
Antony Dovgal
4022853243
plug a leak
2006-05-04 22:47:55 +00:00
Andrei Zmievski
49dbb7710a
Implement char_from_name().
2006-05-04 21:22:30 +00:00
Antony Dovgal
6f66196f4f
several minor fixes: nuke compile warnings etc.
2006-05-04 19:00:00 +00:00
Andrei Zmievski
c631205e0c
Some more work on property/names stuff.
2006-05-04 18:37:12 +00:00
Andrei Zmievski
2c42e06895
Fix locale functions naming problem.
2006-05-04 16:49:33 +00:00
Antony Dovgal
a330edf4cf
fix build
2006-05-04 07:10:37 +00:00
Andrei Zmievski
349d4a7de9
Change prefix to char_ and rename some functions.
2006-05-04 00:01:34 +00:00
Andrei Zmievski
bbde23e247
Some more property functions.
...
# I am pondering a different prefix..
2006-05-03 22:03:10 +00:00
Sara Golemon
0d6603d22a
Expose PARAM_EVT_* constants
2006-05-03 21:57:58 +00:00
Brian France
212e185458
- Add implementation of curl_multi_info_read (Brian)
...
Not adding to PHP 5_1, but should go into 5_2.
2006-05-03 19:52:48 +00:00
Pierre Joye
94bc7343a0
- update constants names
2006-05-03 12:06:06 +00:00
Derick Rethans
32c8092096
- Added my doc so that other people can work on it.
...
#- Please keep it RST compatible.
2006-05-03 11:35:00 +00:00
Rob Richards
a91a72f800
add test
2006-05-03 08:41:33 +00:00
Rob Richards
b1f52e79aa
Fix bug #37277 (cloning Dom Documents or Nodes does not work)
...
Proper fix for bug #36859
2006-05-03 08:40:52 +00:00
Andrei Zmievski
70acfbe14e
*** empty log message ***
2006-05-03 06:36:53 +00:00
Andrei Zmievski
84c9b4f290
Some additional binary property functions.
2006-05-02 22:43:52 +00:00
Andrei Zmievski
aaed3ca1b0
FALSE on empty string.
2006-05-02 21:49:16 +00:00
Andrei Zmievski
f0640426cb
Implement C/POSIX migration functions.
2006-05-02 21:39:15 +00:00
Andrei Zmievski
675ecc637b
Add skeleton for character property file. Also remove some HAVE_UNICODE
...
tests since it's non optional.
2006-05-02 20:58:30 +00:00
Sara Golemon
d77a8562c2
Unicode Updates:
...
file() now unicode ready
get_meta_tags() updated for FS encoding, but content is still non-unicode
2006-05-02 18:23:32 +00:00
Antony Dovgal
ea759395f8
prepare to 1.2.1 release
2006-05-02 10:18:58 +00:00
Pierre Joye
f6d3ff6ef6
- update changelog
...
- make a fake date so package.xml can be used from cvs :)
2006-05-01 17:16:33 +00:00
Pierre Joye
fdeb6ba904
- fix possible leak, when orig_array_ptr is null
2006-05-01 17:14:40 +00:00
Marcus Boerger
dcc51c1977
- WS
2006-05-01 15:59:56 +00:00
Wez Furlong
021e1a3255
merge from branch: peer certificate capture context options.
2006-04-30 23:45:14 +00:00
Frank M. Kromann
fd879bff4e
fix build
2006-04-29 18:45:29 +00:00
Frank M. Kromann
eb7d1077db
Add missing ZSTR()
2006-04-29 18:29:14 +00:00
Frank M. Kromann
954199c9fb
More ZSTR() fixes
2006-04-29 14:53:26 +00:00
Frank M. Kromann
1c307a8a9e
fix build. ZSTR() must be applied to the buf argument of php_stream macros
2006-04-29 14:38:35 +00:00
Nuno Lopes
c4efa94326
rename test to follow the convention and expand it a little
2006-04-29 12:16:21 +00:00
Nuno Lopes
9e5bf64266
new test that reveals problems in other places. more details on the ML
2006-04-29 12:07:53 +00:00
Frank M. Kromann
e6e2754439
Remove ZSTR() from stream macros. Calling function must apply this macro
2006-04-28 19:03:58 +00:00
Andrei Zmievski
389454e671
pcntl_signal is safe too
2006-04-27 15:28:21 +00:00
Andrei Zmievski
c8b5891a0a
Safe-fy some functions.
2006-04-27 15:21:00 +00:00
Moriyoshi Koizumi
35598a2821
- Remove fprintf() used for debugging
2006-04-27 03:53:01 +00:00
Moriyoshi Koizumi
923978e0ff
- Fix bug #37176 (iconv_strpos() fails to find a string)
2006-04-27 00:49:17 +00:00
Antony Dovgal
f7139568f7
fix tests
2006-04-25 22:10:38 +00:00
Nuno Lopes
fc5917861e
fix a bunch of tests in unicode mode by fixing the config array transverser
...
also fix the compiler warnings
# Andrey: is it possible to have a zend_convert_unicode_to_ascii() function please? it would make this code much simpler
2006-04-25 14:54:33 +00:00
Antony Dovgal
cf31c2f51a
remove nonexistent tag
2006-04-25 12:50:14 +00:00
Antony Dovgal
7bde7e87eb
MF51: fix possible substr_compare() crash
...
add new tests
2006-04-25 12:49:04 +00:00
Nuno Lopes
4aba1abfe9
mark a couple of functions as unicode-safe. no changes to code required
2006-04-25 12:41:59 +00:00
Michael Wallner
581c6fa8b6
- release 1.3
2006-04-25 08:52:46 +00:00
Michael Wallner
4f1faa09fc
MFB: Fixed bug #37192 (cc fails on hash_adler.c:32)
2006-04-25 08:37:07 +00:00
Dmitry Stogov
a4f2165295
Fixed win32 build
2006-04-24 07:04:25 +00:00
Ilia Alshanetsky
8cfbb3ac5d
MFB51: Fixed bug #37162 (wddx does not build as a shared extension).
2006-04-23 16:02:51 +00:00
Nuno Lopes
b8cf6cbc24
upgrade tidy_get_release() to unicode.
...
#say now if anything is wrong before I start upgrading the rest of the functions
2006-04-23 12:56:10 +00:00
Antony Dovgal
d254845aea
no "native strings" in Unicode mode anymore
2006-04-22 23:50:29 +00:00
Antony Dovgal
8a434f5df0
merge fix for #37158 into HEAD
...
add test
2006-04-22 23:49:39 +00:00
Antony Dovgal
22d4fb98e3
don't segfault if an exception has been thrown from the fetch handler
2006-04-22 19:10:40 +00:00
Frank M. Kromann
1791befa0c
Fix Win32 build. NULL_ZSTR was converted to ZSTR(NULL_ZSTR)
2006-04-22 10:39:31 +00:00
Andrei Zmievski
76d6cca78e
Add collator_set_default().
2006-04-21 21:10:01 +00:00
Andrei Zmievski
ec57be524b
Hmm, ZEND_FENTRY() is the only one that allows flags to be added..
2006-04-21 19:40:57 +00:00
Andrei Zmievski
2bbced4bce
Rename i18_loc_* to locale_*.
2006-04-21 19:35:26 +00:00
Andrei Zmievski
24988a088c
Implement collator_get_default() and simplify/fix the underlying code.
...
# Derick, objects aren't that difficult.. :)
2006-04-21 18:25:16 +00:00
Andrei Zmievski
16c55fb25a
Move to refcounted implementation of collators.
2006-04-20 21:56:43 +00:00
Frank M. Kromann
9b93bc74cd
fix build on Win32
2006-04-20 03:41:33 +00:00
Nuno Lopes
ece1a5598a
MFB: fix build with newer libtidy versions on windows
2006-04-19 22:10:44 +00:00
John Coggeshall
4618370e8d
Fixing static build in windoze
2006-04-19 20:37:55 +00:00
Dmitry Stogov
c83968d4fc
Cleaned up Andrei's patch for caching WSDL in process memory, added TTL and LIMIT for memory cache.
...
Memory cache is disblead by fefault because it is experemental and isn't tested enough. It can be enabled whit configuartion directive "soap.wsdl_cache = WSDL_CACHE_MEMORY" or "soap.wsdl_cache = WSDL_CACHE_BOTH" or derectly in SoapClent/Soa
pServer constructor: $ws = new SoapClient($wsdl, array("cache_wsdl"=>WSDL_CACHE_BOTH))
Disk and memory caches use the same TTL value - "soap.wsdl_cache_ttl".
Configuration directive "soap.wsdl_cache_limit" restricts the number of cached w
sdl files in memory. Adding new files into full memory cache will delete oldest files from it.
Note that, each PHP process or thread uses it's own memory cache.
2006-04-19 10:49:16 +00:00
Antony Dovgal
acf25d1aac
fix typo (see #35900 )
2006-04-19 08:43:05 +00:00
Andrei Zmievski
85c36036e5
Update protos.
2006-04-18 21:36:38 +00:00
Sara Golemon
ea106887a7
Silence compiler warnings
2006-04-18 19:10:12 +00:00
Ilia Alshanetsky
a2ea7081e0
MFB51: Fixed bug #29476 (sqlite_fetch_column_types() locks the database
...
forever).
2006-04-18 14:30:33 +00:00
Dmitry Stogov
b5dab1b9dc
Fixed bug #37083 (Frequent crashs in SOAP extension with new WSDL caching code in multithread WS). (Andrei, Dmitry)
2006-04-18 13:08:11 +00:00
Andrei Zmievski
efd298e2eb
I'm not sure what the heck people were thinking here, but it should be
...
fixed finally. Please test.
2006-04-18 05:18:12 +00:00
Andrei Zmievski
6b336175a6
Fix trim("a") bug.
2006-04-18 02:40:29 +00:00
Ilia Alshanetsky
333787ff7f
MFB51: Fixed Bug #36872 (session_destroy() fails after call to
...
session_regenerate_id(true)).
2006-04-17 23:29:46 +00:00
foobar
8bd7796184
Fixed bug #37103 (libmbfl headers not installed)
2006-04-17 22:13:39 +00:00
Sara Golemon
04ecb8b1fd
Fix 'soft line break' handling in convert.quoted-printable-decode
2006-04-17 19:25:48 +00:00
Andrei Zmievski
f7881d3fe2
MFB
2006-04-17 16:09:42 +00:00
Dmitry Stogov
a7fd5d2357
Fixed several bugs in new "caching WSDL in memory" code
...
Re-enabled disk cache
2006-04-17 13:16:15 +00:00
Ilia Alshanetsky
78b81f2591
MFB51: fixed typo
2006-04-16 17:41:26 +00:00
Ilia Alshanetsky
53ab6c0920
MFB51: Fixed bug #37045 (Fixed check for special chars for http redirects).
2006-04-16 16:55:25 +00:00
Antony Dovgal
0574532ee4
fix compile failure
2006-04-15 15:55:32 +00:00
Antony Dovgal
8c086bcf8d
make this test to work on all systems
2006-04-14 20:30:47 +00:00
Sara Golemon
1e9a9d596b
MFB (r-1.409.2.6) copy() should not disrespect open_basedir on source file
2006-04-14 17:44:56 +00:00
Marcus Boerger
c3b47f5aa4
- Fix properties access to children() result
...
- Allow access by namespace prefix
2006-04-14 15:15:21 +00:00
Marcus Boerger
d1b5f0deaa
- Do not provide ns info in first sxe creation
2006-04-14 14:11:54 +00:00
Marcus Boerger
311a7af62d
- Allow access to namespaced root by specifying prefix on creation
...
- Fix access to non namespaced root
2006-04-14 14:07:51 +00:00
Marcus Boerger
4e44e0b147
- If node no longer exists then there won't be any data
2006-04-14 12:18:15 +00:00
Antony Dovgal
becb273c16
MF51: fix #37077 (stream_socket_server() leaks when the port is not allowed)
2006-04-14 10:01:34 +00:00
Dmitry Stogov
930bf30460
Fixed calling header functions through __call()
2006-04-14 09:11:48 +00:00
Antony Dovgal
1262002a95
MF51:
...
AIX #define's accept as naccept
add a workaround
2006-04-13 13:21:59 +00:00
Antony Dovgal
52972cc61f
MF51:
...
fix bug #37061 (curl_exec() doesn't zero-terminate binary strings) - we get the data length from cURL, so it's binary safe.
fix leak appearing when re-using curl handle
2006-04-13 11:26:43 +00:00
Dmitry Stogov
fa9135ff2d
Fixed bug #37054 (SoapClient Error Fetching http headers)
2006-04-13 08:18:54 +00:00
Sara Golemon
d05836890b
Preserve full name of filter for use in stream_get_meta_data()
2006-04-13 04:41:08 +00:00
Sara Golemon
0b84c73635
Allow http:// wrapper to automatically apply correct unicode.from.* filter based on content-type header
2006-04-12 22:40:56 +00:00
Antony Dovgal
a44fe39f40
fix test title
2006-04-12 22:21:13 +00:00
Johannes Schlüter
e7747e8d74
- Fix bug #37060 (Type of retval of Countable::count() is not checked)
2006-04-12 19:29:52 +00:00
Antony Dovgal
000cf5ca7f
MF51: fix #37059 (oci_bind_by_name() doesn't support RAW and LONG RAW fields)
...
add tests
2006-04-12 19:22:12 +00:00
Antony Dovgal
a892880c1c
MF51: correct fix for bug #37055
2006-04-12 17:59:57 +00:00
Antony Dovgal
d929074b2f
add test
2006-04-12 15:19:39 +00:00
Antony Dovgal
2a098164c3
MF51: fix #37057 (xmlrpc_decode() may produce arrays with numeric string keys which are unaccessible)
2006-04-12 15:14:43 +00:00
Antony Dovgal
33a2dc7495
MF51: fix #37055 (incorrect reference counting for persistent OCI8 connections)
2006-04-12 13:38:05 +00:00
Antony Dovgal
11e39d17c1
MF51: add default timezone to the tests
2006-04-11 19:34:35 +00:00
Derick Rethans
9844b76e56
- Fixed bug #36988 (mktime freezes on long numbers)
2006-04-11 17:56:49 +00:00
Derick Rethans
a3349bd3ff
- Use pcre convenience function that also caches.
...
#- Patch by pierre.
2006-04-11 14:41:56 +00:00
foobar
b8cdb46cce
- More safe_mode left-overs.
2006-04-11 11:32:06 +00:00
Ilia Alshanetsky
490609ffc4
MFB51: fixed test
2006-04-10 23:48:38 +00:00
Marcus Boerger
c4b1606466
- Coverity issue 59
2006-04-10 23:19:23 +00:00
Marcus Boerger
f3d39723c7
- Better order for SEGV prevention
2006-04-10 19:50:56 +00:00
Marcus Boerger
40678e7f81
- Fix possible SEGV
2006-04-10 19:48:27 +00:00
Marcus Boerger
af871bf437
- Fix condition
2006-04-10 18:23:15 +00:00
foobar
6af3218f81
more cleanup (lingering ini settings which do not exist anymore, etc.)
2006-04-10 15:09:15 +00:00
foobar
672266c735
- Cleanup
2006-04-10 15:06:51 +00:00
foobar
b42a8b2f31
cleanup
2006-04-10 14:59:33 +00:00
Dmitry Stogov
1c4d488cc8
Fixed bug #36908 (wsdl default value overrides value in soap request).
2006-04-10 13:29:57 +00:00
Dmitry Stogov
d532322b72
Fixed test
2006-04-10 12:50:14 +00:00
foobar
a6a3c9059d
- Fixed bug #36909 (ld: Undefined symbols: _lchown)
2006-04-10 11:56:04 +00:00
Dmitry Stogov
159008041c
ZTS fix
2006-04-10 10:11:29 +00:00
foobar
0e8b5470be
fix credits
2006-04-10 09:46:32 +00:00
Andrei Zmievski
909a0f5cd0
MFB
2006-04-09 23:38:30 +00:00
Edin Kadribasic
141f969fe7
MFB: Fixed bug #36935
2006-04-09 23:15:57 +00:00
Ilia Alshanetsky
f58ef85af5
MFB51: Fixed bug #36875 (is_*() functions do not account for open_basedir).
2006-04-09 17:58:02 +00:00
Derick Rethans
74c0864346
- Fixed bug #37017 in a different way and added a test case.
2006-04-09 12:58:56 +00:00
Derick Rethans
0be2a7c956
- Fixed superfluous parameter.
2006-04-09 12:58:29 +00:00
Derick Rethans
7ca9d09689
- Added the date_parse() function that returns a parsed date/time string
...
including warnings and errors.
- Added the timezone_name_from_abbr() function that exposes the guessing
mechanism that tries to find a timezone identifier from a timezone
abbreviation and GMT offset.
- Fixed a bug where combined date formats 'c' and 'r' were cut off due to
insufficient space in the buffer.
- Implemented better error and warning handling that is also used for the
date_parse() function.
- Fixed the date::RFC3339 class constant.
- Fixed bug #37017 (strtotime fails before 13:00:00 with some time zones
identifiers)
- Fixed problems with "T" in front of a time string was seen as a time zone
string.
- Fixed a problem were 5 and 6 character timezone abbreviations where not
correctly parsed.
2006-04-08 14:57:42 +00:00
Antony Dovgal
7cf30db27e
MF51: fix memory corruptions and leaks when cloning ArrayObjects and ArrayIterators
2006-04-07 22:53:34 +00:00
Andrei Zmievski
589d830c32
Disallowed numeric named captures.
2006-04-07 21:20:10 +00:00
Pierre Joye
056c98d9f0
- MFB: revert leak fix, something else went wrong
2006-04-07 14:05:21 +00:00
Pierre Joye
a29f09dcc5
- MFB: fix leak when an error occured in socket_read, free tmpbuf
2006-04-07 13:34:53 +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
Sara Golemon
5a9feaa6b1
Plug leak which occurs in unicode mode
2006-04-06 20:05:43 +00:00
Sara Golemon
b6f62cabff
Silence false positives on test results
2006-04-06 20:03:27 +00:00
Sara Golemon
78d1f7ea40
Silence false positives in test failures
2006-04-06 19:51:36 +00:00
Antony Dovgal
48afd4ee03
MF51: fix #36981 (SplFileObject->fgets() ignores max_length)
2006-04-06 19:11:06 +00:00
Antony Dovgal
e931d970ab
add new tests
2006-04-05 14:09:31 +00:00
Antony Dovgal
cd4730e6c7
add missing defines to .w32
2006-04-05 14:07:57 +00:00
Antony Dovgal
be7135bc8e
fix #36934 (OCILob->read() doesn't move internal pointer when reading 0's)
...
no support for Unicode CLOBs in Oracle < 10, sorry.
2006-04-05 14:07:16 +00:00
Antony Dovgal
4e85f445f0
add test
2006-04-05 12:29:35 +00:00
Ilia Alshanetsky
1df7d39695
Fixed bug #36957 (serialize() does not handle recursion).
2006-04-05 02:28:39 +00:00
Frank M. Kromann
476f0a2ae1
MFP51: Fix #33694 invalid sql or timeouts makes it impossible to reuse persistent connections
2006-04-04 18:49:44 +00:00
Seiji Masugata
e241504917
fixed commnet typo, and duplicate logic.
2006-04-04 15:14:28 +00:00
Derick Rethans
1bad8fea12
- No need to have this one twice here... (Thanks Steph)
2006-04-04 06:04:49 +00:00
Marcus Boerger
f2004b6f28
- WS
2006-04-03 19:58:03 +00:00
Marcus Boerger
091360caa1
- Fix issue related to #36941 (when referencing itself)
2006-04-03 19:52:02 +00:00
Antony Dovgal
50b05cf884
add test for gmp_nextprime()
2006-04-03 18:11:56 +00:00
Antony Dovgal
c53b85fae5
add gmp_nextprime() function
...
patch by ants dot aasma at gmail dot com
2006-04-03 17:46:12 +00:00
Seiji Masugata
d8271224ad
added mb_stristr( ), mb_strrichr( ).
2006-04-03 15:32:43 +00:00
Ilia Alshanetsky
a24cb8773f
MFB51: Fixed an unlikely, but possible memory leak.
2006-04-03 13:46:35 +00:00
Antony Dovgal
0b0fff07b2
fix spelling in error messages:
...
greater/less thEn -> greater/less thAn
2006-04-03 09:14:50 +00:00
Sara Golemon
53450fae8a
Update tests for working with unicode
2006-04-03 05:57:40 +00:00
Sara Golemon
6d42d94715
Silence false positive test failures
2006-04-02 17:49:10 +00:00
Sara Golemon
37b1114556
Make some tests pass.
...
compression is just a binary thing.
Write unicode and suffer my wrath!
2006-04-02 17:41:04 +00:00
Marcus Boerger
8e97252506
- Behavior fix for #36941
2006-04-02 15:04:04 +00:00
Marcus Boerger
8e64e23044
- Fix warning
2006-04-02 12:48:37 +00:00
Marcus Boerger
ac099ca676
- Bugfix #36941 (ArrayIterator does not clone itself)
2006-04-01 22:39:42 +00:00
Antony Dovgal
1160f87d1d
MF51: fix segfault when assigning value by ref and add test
2006-04-01 19:14:01 +00:00
Sara Golemon
b2523b29b8
Update filename handling and mark various functions for unicode safety
2006-04-01 00:05:31 +00:00
Pierre Joye
ed35661f1e
- move setSchema to the 2.6.20 block, this method is only available from
...
this version
2006-03-31 23:20:58 +00:00
Sara Golemon
fd606a8d78
Add API hooks and unicode.filesystem_encoding for handling unicode
...
conversions of filename entries.
Normal path conversions will simply use this converter,
Certain other protocols (such as http) which specify a
required character set (utf8), may override the conversion
by defining a path_encode() and/or path_decode() wrapper ops method.
2006-03-31 22:51:37 +00:00
Marcus Boerger
e08784867c
- Add XMLReader::setSchema
2006-03-31 20:50:29 +00:00
Antony Dovgal
ec376e510c
MF51: fix compile failure with old GCC (see bug #36931 )
2006-03-31 11:11:26 +00:00
Marcus Boerger
e365c4b7c4
- Fix build
2006-03-30 23:03:53 +00:00
Marcus Boerger
b7244fc2c0
- MFB Make readable
2006-03-30 22:03:02 +00:00
Marcus Boerger
2c8b47ca31
- Add another test
2006-03-30 21:45:27 +00:00
Antony Dovgal
8c63a3bce7
MF51: fix tests
2006-03-30 20:43:55 +00:00
Antony Dovgal
4f1da95828
fix TSRM build
2006-03-30 19:59:51 +00:00
Ilia Alshanetsky
0f48af3cec
MFB51: Fixed XSS inside phpinfo() with long inputs.
2006-03-30 19:16:28 +00:00
Marcus Boerger
72a8396032
- Return NULL instead of '' if node does not exist
2006-03-30 17:36:46 +00:00
Seiji Masugata
cbd37caefc
added mb_stripos( ), mb_strripos( ).
2006-03-30 15:43:54 +00:00
Antony Dovgal
cb2232e808
MF51: fix #36922 (missing MYSQLI_REPORT_STRICT constant in userspace)
2006-03-30 11:23:11 +00:00
Sara Golemon
51b9a0f269
Make php_stream_copy_to_mem() unicode aware and
...
update userspace function file_get_contents().
Note: fgc()'s second parameter (use_include_path) has been changed
to be a bitmask "flags" parameter instead.
For the most commonly used values (TRUE, 1) this will continue functioning
as expected since the value of FILE_USE_INCLUDE_PATH is (coincidentally) 1.
The impact to other values should be noted in the migration6 guide.
This change makes it possible to allow fgc() to return binary file
contents (default) or unicode transcoded contents (using FILE_TEXT flag).
2006-03-30 00:22:51 +00:00
Sara Golemon
1c97a0d78c
Update php_stream_passthru() to handle unicode data.
...
This updates userspace functions fpassthru() and readfile()
UG(output_encoding) is used by php_stream_passthru() to translate
unicode stream contents back to an outputable character set.
Note: readfile()'s second parameter (use_include_path) has been changed
to be a bitmask "flags" parameter instead.
For the most commonly used values (TRUE, 1) this will continue functioning
as expected since the value of FILE_USE_INCLUDE_PATH is (coincidentally) 1.
The impact to other values should be noted in the migration6 guide.
This change makes it possible to allow readfile() to output binary file
contents (default) or unicode transcoded contents (using FILE_TEXT flag).
2006-03-29 22:52:24 +00:00
Antony Dovgal
87f6b66a62
fix typo
2006-03-29 16:30:54 +00:00
Seiji Masugata
e42f182be3
added mb_strrchr( ).
2006-03-29 15:47:07 +00:00
Antony Dovgal
6a53a49c8b
MF51: fix bug #36898 (__set() leaks in classes extending internal ones)
...
Added:
ZEND_API void zend_object_std_init(zend_object *object, zend_class_entry *ce TSRMLS_DC)
ZEND_API void zend_object_std_dtor(zend_object *object TSRMLS_DC)
2006-03-29 15:08:52 +00:00
Andrei Zmievski
d57e79782e
Bug!
2006-03-29 05:56:06 +00:00
Sara Golemon
30a2bd1d11
Another (and hopefully last) major streams commit.
...
This moves unicode conversion to the filter layer
(rather than at the lower streams layer)
unicode_filter.c has been moved from ext/unicode to main/streams
as it's an integral part of the streams unicode conversion process.
There are now three ways to set encoding on a stream:
(1) By context
$ctx = stream_context_create(NULL,array('encoding'=>'latin1'));
$fp = fopen('somefile', 'r+t', false, $ctx);
(2) By stream_encoding()
$fp = fopen('somefile', 'r+');
stream_encoding($fp, 'latin1');
(3) By filter
$fp = fopen('somefile', 'r+');
stream_filter_append($fp, 'unicode.from.latin1', STREAM_FILTER_READ);
stream_filter_append($fp, 'unicode.to.latin1', STREAM_FILTER_WRITE);
Note: Methods 1 and 2 are convenience wrappers around method 3.
2006-03-29 01:20:43 +00:00
Yasuo Ohgaki
f028fcecb5
restore E_WARNING in correct place
2006-03-29 01:10:27 +00:00
Seiji Masugata
b5cd8f02d8
added mb_strstr( ).
2006-03-28 16:05:16 +00:00
Antony Dovgal
8629171612
fix tests
2006-03-28 09:13:35 +00:00
Antony Dovgal
c5f35d7d95
MF51: fix #36851 (Documentation and code discrepancies for NULL data)
2006-03-28 09:13:22 +00:00
Andrei Zmievski
3eee3a5fd6
Fix collator instantiation.
2006-03-28 04:33:29 +00:00
Andrei Zmievski
cbbfebc428
Fix typos.
2006-03-28 03:28:08 +00:00
Ilia Alshanetsky
75c7f810ea
MFB51: Check 2nd parameter of tempnam() against path components.
2006-03-27 23:41:05 +00:00
Andrei Zmievski
e85495f6f1
Fix UErrorCode check.
2006-03-27 23:05:38 +00:00
Andrei Zmievski
d761aa7eb2
Typo.
2006-03-27 22:16:53 +00:00
Andrei Zmievski
626be75d6c
Make a UTODO note.
2006-03-27 21:19:12 +00:00
Andrei Zmievski
a8c291f8fe
Proto updates.
2006-03-27 19:24:18 +00:00
Antony Dovgal
036fc47efb
fix possible NULL dereference
2006-03-27 16:43:02 +00:00
Seiji Masugata
d28ec107ac
added mb_list_mime_names( ).
2006-03-27 15:20:02 +00:00
Dmitry Stogov
d1d9ce8fed
Test for strtr() with non-ascii encoding
2006-03-27 14:37:14 +00:00
Dmitry Stogov
9d9adb2f35
Unicode support
2006-03-27 14:19:18 +00:00
Dmitry Stogov
c4d2bc4c46
Fixed test
2006-03-27 14:08:10 +00:00
Dmitry Stogov
daca456e1a
Fixed test
2006-03-27 13:53:19 +00:00
Dmitry Stogov
c744d73d04
Unicode support
2006-03-27 13:37:47 +00:00
Dmitry Stogov
159bfd55e1
Unicode support
2006-03-27 10:25:35 +00:00
Dmitry Stogov
06cfa710b4
Fixed testFixed testFixed testFixed testFixed testFixed testFixed testFixed testFixed test
2006-03-27 10:15:02 +00:00
Dmitry Stogov
bdfa3b1d36
Fixed ZTS build
2006-03-27 06:02:42 +00:00
Andrei Zmievski
b36d2dfef6
Rewrite unicode_encode() and unicode_decode() functions. Apply the new
...
conversion error semantics.
2006-03-27 03:19:30 +00:00
Yasuo Ohgaki
0821437bdb
remove pg_execute() E_WARNING error when query plan is not defined
2006-03-27 02:59:41 +00:00
Andrei Zmievski
db50082fe9
Add unicode_get_error_mode() and unicode_get_subst_char().
2006-03-26 21:22:59 +00:00
Ilia Alshanetsky
3bf02bde43
MFB51: Fixed bug #36857 (Added support for partial content fetching to the
...
HTTP streams wrapper).
2006-03-26 17:12:26 +00:00
Derick Rethans
ad6a972de3
- Implemented basic collation support. For some reason "new Collator" gives segfaults when the object's collation resource is used.
...
- The following example shows what is implemented:
<?php
$orig = $strings = array(
'côte',
'cote',
'côté',
'coté',
'fluÃe',
'flüÃe',
);
echo "German phonebook:\n";
$c = collator_create( "de@collation=phonebook" );
foreach($c->sort($strings) as $string) {
echo $string, "\n";
}
echo $c->getAttribute(Collator::FRENCH_COLLATION) == Collator::ON
? "With" : "Without", " french accent sorting order\n";
echo "\nFrench with options:\n";
$c = collator_create( "fr" );
$c->setAttribute(Collator::CASE_FIRST, Collator::UPPER_FIRST);
$c->setAttribute(Collator::CASE_LEVEL, Collator::ON);
$c->setStrength(Collator::SECONDARY);
foreach($c->sort($strings) as $string) {
echo $string, "\n";
}
echo $c->getAttribute(Collator::FRENCH_COLLATION) == Collator::ON
? "With" : "Without", " french accent sorting order\n";
?>
2006-03-26 11:06:24 +00:00
Andrei Zmievski
1709428494
Implement to-Unicode conversion error behavior. Note the adjusted APIs.
2006-03-26 06:19:24 +00:00
Sara Golemon
a64789a452
Expand stream_context_create() to allow specifying params
...
as well as options. Ignore the internal name change of the first arg.
The first arg is still for options, the second arg is for actual params.
2006-03-26 04:40:11 +00:00
Andrei Zmievski
c254b21cca
Add protos.
2006-03-26 03:33:10 +00:00
Seiji Masugata
c8de944309
fixed compiler warning.
2006-03-26 02:23:25 +00:00
Derick Rethans
3df5f17231
- Commit intermediate work so that I can hack on it on some plane.
2006-03-26 02:15:47 +00:00
Andrei Zmievski
930bde5897
* Remove unicode.from_error_mode and unicode.from_subst_char from INI
...
settings.
* Add unicode_set_error_mode() and unicode_set_subst_char() functions to
manipulate these global settings.
2006-03-26 01:48:33 +00:00
Antony Dovgal
ae7fbe8132
MF51: fix #36859 (DOMElement crashes when calling __construct when clone'ing)
2006-03-26 00:23:37 +00:00
Marcus Boerger
31513f9a8b
- Make IteratorIterator base class of most SPL iterators
2006-03-26 00:22:45 +00:00
Marcus Boerger
1b6598618b
- Fix docu
2006-03-26 00:22:03 +00:00
Sara Golemon
f67ed7f3d4
Allow bidirectional encoding option via single context param
2006-03-24 22:27:13 +00:00
Sara Golemon
dfc827d108
Fix stream_get_line():
...
Checking type isn't nearly as important as checking nullness...
2006-03-24 21:37:42 +00:00
Sara Golemon
0b2b16e6c7
Update fgetss() for unicode
2006-03-24 21:32:39 +00:00
Andrei Zmievski
fe0cccc003
Use intern->type for break iterator.
2006-03-24 21:06:36 +00:00
Sara Golemon
880dd406f2
Add php_stream_get_record_unicde() API call.
...
Update stream_get_line() userspace function to handle unicode streams.
2006-03-24 19:22:24 +00:00
Antony Dovgal
d4cdad2c2e
add new tests
2006-03-24 12:08:19 +00:00
Antony Dovgal
9cee8be28e
first check for NULL, then use the pointer
2006-03-24 10:21:56 +00:00
Dmitry Stogov
0623f8471a
Fixed SoapFault::getMessage()
2006-03-24 08:46:14 +00:00
Marcus Boerger
b2b921a10f
- Fix arginfo for (Recursive)RegExIterator
2006-03-23 22:25:46 +00:00
Marcus Boerger
3865420180
- My eyes hurt
2006-03-23 21:26:50 +00:00
Seiji Masugata
5fdede19a4
added mb_list_encodings_alias_names( ).
2006-03-23 20:14:41 +00:00
Marcus Boerger
12182b1e12
- Make spl_autoload_register() return bool
2006-03-23 19:34:20 +00:00
Antony Dovgal
4b33fba3f5
return FALSE if driver doesn't support quoting and returns 0
...
also fixes PECL bug #6365
2006-03-23 19:03:30 +00:00
Ilia Alshanetsky
96afde2af7
MFB51:
...
Added myself to PDO and PDO_MySQL credits
Added Wez to PDO_MySQL credits
Added Tony to Q&A team credits
Regenerated the credits file
2006-03-23 18:39:12 +00:00
Antony Dovgal
24efa95ab0
add missing skipif sections
2006-03-23 15:05:02 +00:00
Antony Dovgal
b45ea555bc
fix typos
2006-03-23 14:55:48 +00:00
John Coggeshall
d9a412a146
Under threat of being slept with by Marcus, adding new getParent() method
...
for node traversals
2006-03-23 14:22:40 +00:00
Marcus Boerger
d512b99ef3
- Make spl_autoload_unregister() accept any callable like spl_autoload_register()
2006-03-23 12:55:58 +00:00
Marcus Boerger
bf72bc827c
- Add new test
2006-03-23 12:20:35 +00:00
Marcus Boerger
59da8ffea1
- Add new test
2006-03-23 11:57:15 +00:00
Marcus Boerger
6b923244b0
- MF51 Add missing bug title and synch with other tests
2006-03-23 11:49:53 +00:00
Dmitry Stogov
7983262579
Fixed possible memory corruption
2006-03-23 11:42:41 +00:00
Pierre Joye
bddafa9a9f
. MFB: Fixed fetching of string value bigger than 128bytes when no options
...
are used
2006-03-23 01:37:38 +00:00
Antony Dovgal
c2e7761de4
fix leak, add test
2006-03-22 23:12:38 +00:00
Antony Dovgal
932c5d9e0e
MF51: prevent segfault when exception is thrown from Countable::count()
2006-03-22 22:06:08 +00:00
Antony Dovgal
e0cd1b87a8
MFH: fix #36825 (Exceptions thrown in ArrayObject::offsetGet cause segfault)
...
fix similar issue in offsetExists()
remove redundant semicolons
2006-03-22 21:57:10 +00:00
Antony Dovgal
af0ac4f3bc
no magic_quotes anymore
2006-03-22 19:41:42 +00:00
Antony Dovgal
a4c6a19335
use set_time_limit(), this test takes forever on AIX
2006-03-22 19:27:28 +00:00
Ilia Alshanetsky
87d97c8423
Simplify and optimize code.
2006-03-22 17:32:21 +00:00
Derick Rethans
3056defb26
- Moved strtotitle to ext/standard and implemented the fallback case to
...
non-unicode with ucwords. There is also an implementation for unicode ucwords
but that returns different results then strtotitle as it uppercases the
first character of every word, and doesn't *titlecase* a word. The test case
shows that.
2006-03-22 10:20:20 +00:00
Antony Dovgal
49b16f7254
MF51: fix #36820 (Privileged connection with an Oracle password file fails)
2006-03-22 09:46:13 +00:00
Pierre Joye
02bf0e70bf
- add tests files
2006-03-21 19:02:00 +00:00
Pierre Joye
6d0980e954
- update, wrong file added
2006-03-21 18:57:04 +00:00
Pierre Joye
d91f0cabd4
- first serie of tests
2006-03-21 18:49:45 +00:00
Pierre Joye
0bd3e9d370
- typo
...
- bump api version
2006-03-21 18:45:31 +00:00
Pierre Joye
96f0a94e63
- add enchant_broker_list_dicts
2006-03-21 18:10:45 +00:00
Pierre Joye
0040af1960
- fix proto
2006-03-21 17:25:41 +00:00
Pierre Joye
88b8784f18
- cs
2006-03-21 17:18:57 +00:00
Antony Dovgal
dce1fffbc8
change oci_field_type() to return VARCHAR2 instead of VARCHAR
...
(fixes feature request #36800 )
2006-03-21 15:47:38 +00:00
Ilia Alshanetsky
7f18e7f62c
MFB51: Fixed bug #36802 (mysqli_set_charset() crash with a non-open connection).
2006-03-21 15:35:48 +00:00
Antony Dovgal
0ba446fa06
reimplement php_oci_lob_read() and fix PECL bug #5995
...
now the function dosn't try to read data by blocks, as this is nearly impossible
to do with Unicode and regular LOBs in the same time
2006-03-21 15:07:14 +00:00
Derick Rethans
7f7300ae0b
- Update windows file too (not tested, but should work).
2006-03-21 13:57:16 +00:00
Derick Rethans
c86cf4fbea
- Make ext/unicode an extension that is always there and can not be disabled.
2006-03-21 13:56:50 +00:00
Dmitry Stogov
82864571ad
Fixed compatibility with auto_globals_jit
2006-03-21 12:27:10 +00:00
Dmitry Stogov
089646babf
Fixed bug #36721 (The SoapServer is not able to send a header that it didn't receive)
2006-03-21 12:05:10 +00:00
Pierre Joye
af08bfab19
- replace the pkg version in phpinfo
2006-03-21 11:28:20 +00:00
Pierre Joye
d072da5a1c
- cs
2006-03-21 11:13:12 +00:00
Pierre Joye
d9b40c179a
- convert package to 2.0, prepare changelog for 1.0.1
2006-03-21 10:38:59 +00:00
Rui Hirokawa
0fb7618d6e
added mb_check_encoding() to detect possible invalid encoding attack.
2006-03-21 07:47:43 +00:00
Rui Hirokawa
52a935ffd2
changed a option name based on PHP naming convension.
2006-03-21 02:19:59 +00:00
Rui Hirokawa
2832532138
MF PHP_5_1
2006-03-21 02:11:55 +00:00
Ilia Alshanetsky
f7875f813c
MFB51: Fixed bug #36689 (Removed arbitrary limit on the length of syslog
...
messages).
2006-03-21 00:59:41 +00:00
Pierre Joye
5956f9a398
- add some UTF-8 hindi files, first of a serie of data used
...
by the tests (will follow)
2006-03-20 23:44:47 +00:00
Antony Dovgal
c2eabef473
shutdown syslog module before freeing basic_globals
2006-03-20 23:33:07 +00:00
Antony Dovgal
6901e09492
MF51: fix #36808 (syslog ident becomes garbage between requests)
2006-03-20 23:07:31 +00:00
Marcus Boerger
dd4f59c9c0
- Drop PDO::setDefaultFetchMode()
2006-03-20 22:18:15 +00:00
Marcus Boerger
ee3a559a58
- WS
2006-03-20 22:17:41 +00:00
Antony Dovgal
1df7e13f48
fix #36741 (userstreams testcase have off-by-one error on fseek())
2006-03-20 22:08:59 +00:00
Marcus Boerger
56ed3211a6
- Added PDO_ATTR_DEFAULT_FETCH_MODE which controls the default fetch mode
2006-03-20 20:54:34 +00:00
Antony Dovgal
ba1ac82bc9
don't leak memory even though the code is not stable yet
2006-03-20 20:09:20 +00:00
Antony Dovgal
9557d44ed8
fix buffer overrun
2006-03-20 14:10:23 +00:00
Antony Dovgal
882df6e4d4
initialize retval
2006-03-20 13:53:56 +00:00
Dmitry Stogov
323a2d30ed
Fixed bug #36749 (SOAP: 'Error Fetching http body' when using HTTP Proxy)
2006-03-20 10:37:09 +00:00
Pierre Joye
9e3b87056f
- fix compilation warning
2006-03-20 00:07:08 +00:00
Antony Dovgal
6fd8aaae87
this check should be present in HEAD as well, no only in 5_1
2006-03-19 22:57:47 +00:00
Antony Dovgal
2c750d7f84
make the code a bit cleaner - no need for two different checks that are doing effectively the same
2006-03-19 22:12:39 +00:00
Marcus Boerger
1aeff811c0
- Make all compile without errors/warnings
2006-03-19 20:57:53 +00:00
Marcus Boerger
3273a5eab9
- Little reordering now and disable a bit of tony's code to make it compile again
2006-03-19 20:53:58 +00:00
Marcus Boerger
6154b639ed
- Handle attributes in dbh ctor (jean pütz aka tony)
2006-03-19 20:33:51 +00:00
Marcus Boerger
98ddfbba1a
- CS
2006-03-19 20:26:20 +00:00
Marcus Boerger
ef6d420aad
- Explicitly make the default default FETCH_BOTH
2006-03-19 20:08:29 +00:00
Marcus Boerger
786d78f683
- Prevent default fetch mode (0) from passing down to actual fetching and
...
make it behave like FETCH_BOTH which is the intended overall default
2006-03-19 19:46:18 +00:00
Marcus Boerger
31409d3bed
- Must use > 0 here (decrement after check)
2006-03-19 19:05:28 +00:00