Commit Graph

18087 Commits

Author SHA1 Message Date
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