Antony Dovgal
a38ccf3969
add check for setlocale() and sv_SE to SKIPIF section
2006-12-19 20:46:48 +00:00
Andrei Zmievski
7d966063f6
Unicode support in *printf() functions. (Antony, Andrei)
2006-12-19 18:41:40 +00:00
Nuno Lopes
3945428c9f
MFB: little cleanup in json_determine_array_type()
2006-12-19 15:01:57 +00:00
Antony Dovgal
7a965d5b5f
add missing SKIPIF sections
2006-12-19 14:16:08 +00:00
Dmitry Stogov
fb7237eebd
Support for systems without locale.h
2006-12-19 13:13:48 +00:00
Antony Dovgal
c5edb5a75e
fix test on MacOS
2006-12-19 13:11:30 +00:00
Antony Dovgal
5a11f3b174
fix serialize tests after s: -> S: change
2006-12-19 12:45:03 +00:00
Antony Dovgal
b38466a816
MFB: serialize() should use '.' as decimal point irrespectively to locale
2006-12-19 12:44:26 +00:00
Dmitry Stogov
869003830b
Fixed bug #39815 (SOAP double encoding is not locale-independent)
2006-12-19 11:55:16 +00:00
Dmitry Stogov
938f3d6efa
Added function stream_socket_shutdown(). It is a wraper for system shutdown() function, that shut downs part of a full-duplex connection
2006-12-19 08:59:26 +00:00
Brian Shire
3b4c2e0458
-Fixed bug #30074 (apparent symbol table error with extract($blah, EXTR_REFS))
...
# appoligies, I did this in reverse (applied to PHP_5_2) I should have MFH.
2006-12-19 08:02:48 +00:00
Pierre Joye
b29953d03c
- unicode support for the procedural API
2006-12-19 02:05:27 +00:00
Marcus Boerger
a0733cc2fa
- More tests
...
- Test naming
2006-12-18 23:01:29 +00:00
Hannes Magnusson
c8c1dc1891
Fix ZTS
2006-12-18 22:59:36 +00:00
Marcus Boerger
5a04fb4815
- Support members in SplObjectStorage serialization / shorter serialization
2006-12-18 22:32:10 +00:00
Andrei Zmievski
b04812609b
Unicode support in get_cfg_var().
2006-12-18 20:47:57 +00:00
Andrei Zmievski
b8ead0b253
Fix macro.
2006-12-18 20:40:51 +00:00
Andrei Zmievski
a21e097c54
Unicode support in parse_ini_file().
2006-12-18 20:39:40 +00:00
Ilia Alshanetsky
2d2ed1ef76
MFB: Fixed bug #39845 (Persistent connections generate a warning in
...
pdo_pgsql).
2006-12-18 17:56:51 +00:00
Ilia Alshanetsky
f6072e3bea
MFB: Cleanup & optimize php_filter_encode_url()
2006-12-18 15:42:31 +00:00
Ilia Alshanetsky
e96275d8a7
MFB: Less hackish support for spaces at the start of tags within
...
strip_tags()
2006-12-18 15:04:36 +00:00
Ilia Alshanetsky
6c784299e6
MFB: Fixed bugs with trimming of spaces
2006-12-18 14:57:20 +00:00
Antony Dovgal
8489fe67f1
fix #39850 (SplFileObject throws contradictory/wrong error messages when trying to open "php://wrong")
2006-12-18 14:55:23 +00:00
Dmitry Stogov
94527816f4
Fixed bug #39832 (SOAP Server: parameter not matching the WSDL specified type are set to 0)
2006-12-18 14:39:39 +00:00
Antony Dovgal
5e105ec732
fix test names
2006-12-18 11:12:41 +00:00
Hannes Magnusson
44693bbf85
- make %f locale aware again
...
- fix precision loss with %F (noticed by Sebastian Nohn)
- add new tests
2006-12-18 09:25:32 +00:00
Ilia Alshanetsky
0471dd1d94
MFB: Filter fixes:
...
Fixed possible double encoding problem with sanitizing filters
Make use of space-strict strip_tags() function
2006-12-18 04:24:38 +00:00
Marcus Boerger
e02a15a625
- Make this work in unicode mode
...
# Well of course i should have set the return type to ascii here :-)
2006-12-17 23:23:33 +00:00
Ilia Alshanetsky
503a78bc17
MFB: Fixed bug #39779 (Enable AUTH PLAIN mechanism in underlaying
...
libc-client).
2006-12-17 18:23:10 +00:00
Hannes Magnusson
f696bd11ac
MFB: fix build
2006-12-17 12:02:19 +00:00
Ilia Alshanetsky
9d99ba0619
MFB: Fixed bug #39846 (Invalid IPv4 treated as valid).
2006-12-16 21:48:21 +00:00
Hannes Magnusson
950ab95207
Fix ZTS build
2006-12-16 18:31:23 +00:00
Marcus Boerger
1b11ae1e74
- Implement feature request #39836i (SplObjectStorage empty after
...
unserialize)
# Unicode mode currently does not work...looks like funny changes in the
# unserializer.
2006-12-16 13:55:14 +00:00
Andrei Zmievski
37cd28d88e
Unicode support in ini_*() functions.
2006-12-15 23:28:10 +00:00
Wez Furlong
c2a7928496
merge php5 pdo_sqlite into head; this source compiles on both php5 and php6.
2006-12-15 05:03:02 +00:00
Andrei Zmievski
7ccba6624d
Use 'S' for escaped binary strings and 's' for non-escaped.
2006-12-14 23:41:57 +00:00
Rob Richards
c27c9666d3
add ability to call PHP functions from XPath
...
update test
2006-12-14 16:24:00 +00:00
Antony Dovgal
6f0472aa4c
erm.. somehow this part got here twice
2006-12-12 22:38:30 +00:00
Michael Wallner
57c7becedc
- utf8
2006-12-12 19:32:18 +00:00
Michael Wallner
6abefa16a0
- utf8 CREDITS and php_info API
...
- unicode progress in info.c
2006-12-12 19:25:47 +00:00
Andrei Zmievski
066ab3c3cf
Do not convert args to Unicode in getopt(), they should stay binary.
2006-12-12 18:24:16 +00:00
Andrei Zmievski
c46832a1d5
Make hebrev(c) support only binary strings.
2006-12-12 18:17:56 +00:00
Antony Dovgal
8eb42705d7
disable tests
...
I don't think it makes sense to test a segfault which we cannot fix..
2006-12-12 13:22:33 +00:00
Antony Dovgal
c3fb5e8045
fix test
2006-12-12 13:12:22 +00:00
Antony Dovgal
fc79cb0974
BFILE tests are only valid when Oracle is installed on the same host
...
skip them if it's not
2006-12-12 12:57:02 +00:00
Antony Dovgal
f9cace61b6
_THREAD_SAFE might be used instead of _REENTRANT
2006-12-12 12:11:44 +00:00
Antony Dovgal
172efe6886
missing part of the fix for #39795
...
crypt.h defines struct crypt_data only if _REENTRANT is defined
2006-12-12 12:06:00 +00:00
Antony Dovgal
70638c5cdf
fix test
2006-12-12 10:31:36 +00:00
Antony Dovgal
da56bcc2b1
fix LOBs internal position in Unicode mode
2006-12-12 10:31:22 +00:00
Antony Dovgal
0e3b847fe2
add new tests
2006-12-12 09:33:17 +00:00
Antony Dovgal
5f1b060f73
OCILobGetChunkSize() does not like BFILEs, return read_length right away
2006-12-12 09:28:07 +00:00
Antony Dovgal
ec53d3d18a
fix #39795 (build fails on AIX because crypt_r() uses different data struct)
2006-12-12 07:36:37 +00:00
Ilia Alshanetsky
63bcfa04e8
MFB: Fixed bug #39782 (setTime() on a DateTime constructed with a Weekday
...
yields incorrect results).
2006-12-11 21:08:44 +00:00
Antony Dovgal
fb522f16ee
prevent any possible problems with negative values
2006-12-11 12:33:55 +00:00
Antony Dovgal
75fa1df0e7
add new test
2006-12-11 12:31:54 +00:00
Ilia Alshanetsky
869fe0320e
MFB: Fixed bug #39791 (Crash in strtotime() on overly long relative date
...
multipliers).
2006-12-11 05:04:58 +00:00
Marcus Boerger
d17cd366e9
- Fix comparison of RecursiveDualIterators
2006-12-10 23:44:35 +00:00
Hannes Magnusson
0bd543a6f2
Fix build
2006-12-10 15:43:13 +00:00
Michael Wallner
8ad12c9899
- upgrade phpinfo() and phpcredits()
2006-12-10 15:02:50 +00:00
Pierre Joye
26c54d4c42
- build fix the other driver as well (a macro would be nicer)
2006-12-10 03:12:11 +00:00
Pierre Joye
216631e809
- MFB: addDir returns true
2006-12-10 03:10:55 +00:00
Pierre Joye
80ecfc354e
- MFB: #39286 , misleading error message when invalid dimensions are given
2006-12-10 03:03:48 +00:00
Pierre Joye
a6ec097ef9
- fix build on HEAD
...
(not sure if it should compile on 6 and 5 or if it is required only for
pdo, other drivers require this fix)
2006-12-10 02:32:17 +00:00
Pierre Joye
df5d4a52f9
- MFB: #39508 , imagefill crashes with small image
2006-12-10 02:08:07 +00:00
Pierre Joye
ad5d1383de
- #39780 , PNG image with CRC/data error raises fatal error
2006-12-10 01:28:01 +00:00
Edin Kadribasic
5ac9df24b6
MFB: Fixed by #39751 by KevinJohnHoffman at gmail dot com
2006-12-10 01:24:13 +00:00
Wez Furlong
bcb1fed3a7
merge PHP 5 pdo into HEAD. This source compiles on both PHP 5 and PHP 6.
...
If you're poking around in here, please make sure that any changes you make
compile on both PHP 5 and 6. Thanks!
2006-12-09 22:18:43 +00:00
Ilia Alshanetsky
e0b72d28c6
Improve handling of POST data with Andrei's help.
2006-12-09 14:37:40 +00:00
Ilia Alshanetsky
9901e4a31d
MFB:
...
Fixed handling of multiple cookies with the same name.
Added support for cookies into run-tests.php
2006-12-09 14:17:17 +00:00
Hannes Magnusson
815ec53657
Fix build
2006-12-09 14:07:13 +00:00
Rob Richards
fb2db6e6b1
MFB: fix heap corruption when adding/caching typelib (also fixes bug 39606)
...
add test
2006-12-09 10:53:05 +00:00
Ilia Alshanetsky
2dd22beedb
MFB: Fixed tests
2006-12-09 03:18:21 +00:00
Ilia Alshanetsky
a8f337d33c
MFB: fixed test
2006-12-09 03:07:49 +00:00
Antony Dovgal
ef6bcc4fb3
don't change public API
2006-12-08 21:18:16 +00:00
Antony Dovgal
ef7e4b1332
fix possible issue in the serializer, which might currupt struc when reallocating arguments stack
...
(no reproduce case, sorry)
2006-12-08 20:59:06 +00:00
Antony Dovgal
a14c81e3c2
fix #39732 (oci_bind_array_by_name doesn't work on Solaris 64bit)
2006-12-08 20:55:14 +00:00
Antony Dovgal
cb4183daeb
fix typo
2006-12-08 20:17:31 +00:00
Ilia Alshanetsky
ccc4783e4a
MFB: Fixed bug #39759 (Can't use stored procedures fetching multiple result
...
sets in pdo_mysql).
2006-12-08 19:51:29 +00:00
Andrei Zmievski
59ce8b640b
Unicode filename support in dl().
2006-12-08 19:13:51 +00:00
Antony Dovgal
3945133579
revert the fix for #39763
2006-12-08 17:03:26 +00:00
Rob Richards
45364aea04
mark more functions unicode safe
...
add test
2006-12-08 16:49:25 +00:00
Rob Richards
95accd75bb
mark more functions unicode safe
...
add tests
2006-12-08 16:28:33 +00:00
Dmitry Stogov
f37ad2e146
Fixed bug #39775 ("Indirect modification ..." message is not shown)
2006-12-08 16:23:04 +00:00
Antony Dovgal
e07f11c421
add new tests by <zoe dot slattery at googlemail dot co dot uk>
2006-12-08 14:38:53 +00:00
Nuno Lopes
90496dbb26
MFB: new tests
2006-12-08 12:15:21 +00:00
Ilia Alshanetsky
6ef2d0dd23
Fixed typo
2006-12-08 03:13:41 +00:00
Sara Golemon
aa08686c85
More BC bodges for fgets/fgetss
2006-12-08 01:02:49 +00:00
Ilia Alshanetsky
e8101a6d16
Allow POST of unicode data as utf8
2006-12-08 00:46:01 +00:00
Antony Dovgal
e0a37e4cf6
MFB test
2006-12-07 23:10:58 +00:00
Antony Dovgal
7ea07ff6dc
MFB tests (they still fail though)
...
fix BC in fgetss()
2006-12-07 23:00:45 +00:00
Andrei Zmievski
3e6c056584
Unicode support in strptime(). Uses runtime encoding for conversion.
...
# Blah, those new _ut_ macros might be necessary after all.
2006-12-07 22:00:55 +00:00
Andrei Zmievski
de33cc6471
version_compare() will use runtime encoding.
2006-12-07 21:18:45 +00:00
Andrei Zmievski
10af5e6296
Unicode support/safety in iptc* functions. Untested, cause I know crap
...
about IPTC.
2006-12-07 21:11:54 +00:00
Antony Dovgal
2122cf4fab
initialize variables and make Coverity happy
2006-12-07 20:45:21 +00:00
Andrei Zmievski
162dc4c774
Unicode support in parse_url().
2006-12-07 18:18:49 +00:00
Antony Dovgal
04872050e4
fix #39763 (magic quotes are applied twice by ext/filter)
...
no need to add slashes manually, they are added by php_register_variable_ex()
2006-12-07 10:59:35 +00:00
Sara Golemon
53a4c18c6a
Change fgets() behavior back to BC version
2006-12-07 09:51:36 +00:00
Ilia Alshanetsky
85213a12dc
MFB: Fixed bug #39754 (Some POSIX extension functions not thread safe).
2006-12-07 01:41:29 +00:00
Ilia Alshanetsky
38d622732d
Allow submission of unicode data in utf8 form
2006-12-07 01:06:54 +00:00
Sara Golemon
982af2061f
Use proper zstr for str_getcsv() and add documentation for Andrei's peace of mind
2006-12-06 23:14:15 +00:00
Antony Dovgal
faf0146281
test. please ignore
2006-12-06 20:21:27 +00:00
Ilia Alshanetsky
374a5b63c6
Final set of unicode changes
2006-12-06 18:40:55 +00:00
Ilia Alshanetsky
aa6e70f216
First part of unicode upgrade
2006-12-06 17:52:11 +00:00
Antony Dovgal
6c8ce9805b
fix import_request_variables()
2006-12-06 17:42:47 +00:00
Antony Dovgal
e56bd8eed2
add Unicode support to oci_statement_type()
2006-12-06 16:42:27 +00:00
Antony Dovgal
826f06ea88
mark most of the OCI8 functions as unicode aware
2006-12-06 16:36:27 +00:00
Antony Dovgal
b93db04a1d
move handling of 'F' to the top
2006-12-06 16:28:27 +00:00
Ilia Alshanetsky
f7289c93db
Make functions as being unicode safe
2006-12-06 16:25:17 +00:00
Antony Dovgal
34398156d8
add missing 'F' modified (noticed by Matt)
2006-12-06 14:47:19 +00:00
Antony Dovgal
e7d6927ed6
fix tests
2006-12-06 13:21:48 +00:00
Rob Richards
3d73c5da0d
MFB: Fix win32 build
2006-12-06 13:20:17 +00:00
Antony Dovgal
8f98226510
fix tests
2006-12-06 13:11:02 +00:00
Antony Dovgal
4789badd3a
use BSD licensed implementation of double-to-string utilities instead of LGPL one
...
this patch also fixes thread safety issues in zend_strtod()
2006-12-06 09:50:28 +00:00
Antony Dovgal
14df3a4939
let PHP_ADD_EXTENSION_DEP() to take care of this
2006-12-05 23:51:18 +00:00
Ilia Alshanetsky
787a9ede6c
MFB: Fixed bug #39724 (Broken build due to spl/filter usage of pcre
...
extension).
2006-12-05 23:38:10 +00:00
Andrei Zmievski
a775c82161
extract() should convert keys using runtime encoding.
2006-12-05 23:17:06 +00:00
Antony Dovgal
024d8f4376
cosmetic improvements
2006-12-05 23:03:42 +00:00
Frank M. Kromann
234c03a14f
Remove PHP4.x stuff
2006-12-05 21:46:33 +00:00
Frank M. Kromann
2381ffba16
#39429 Update API
2006-12-05 21:02:29 +00:00
Antony Dovgal
80fdcd8e06
nuke redundant zval_ptr_dtor() call and fix memory corruption/segfault
2006-12-05 18:42:22 +00:00
Andrei Zmievski
9c1efbe2bb
Unicode support in http_build_query().
2006-12-05 18:41:23 +00:00
Ilia Alshanetsky
c8ba0f9058
MFB: Fixed bug #36798 (Error parsing named parameters with queries
...
containing high-ascii chars).
2006-12-05 18:05:56 +00:00
Hannes Magnusson
380439a39a
MFB: fix test
2006-12-05 15:59:09 +00:00
Antony Dovgal
2f5f375850
don't pass negative maxchars to php_stream_get_line_ex()
2006-12-05 13:45:49 +00:00
Rob Richards
5ccef7164e
MFB: fix bug #39625 (Apache crashes on importStylesheet call)
2006-12-05 12:05:03 +00:00
Sara Golemon
fac71c77c1
Add str_getcsv() and fix a couple cases in recent fgetcsv() reimplementation
2006-12-05 04:52:44 +00:00
Sara Golemon
78f65cc451
Unicode upgrade for fgetcsv()
2006-12-05 04:13:47 +00:00
Stanislav Malyshev
40b496d63f
Merge from 5.2:
...
Improve tolower()-related functions on Windows and VC2005 by caching locale and using
tolower_l function.
2006-12-05 02:55:27 +00:00
Ilia Alshanetsky
bc07f14f7a
MFB: Fixed bug #39571 (timeout ssl:// connections).
2006-12-05 01:39:21 +00:00
Pierre Joye
a62301fc98
- invalid filter id should not return unsafe values
2006-12-05 01:23:42 +00:00
Pierre Joye
bead3e1428
- WS
2006-12-04 21:34:48 +00:00
Pierre Joye
4fcf964c65
- MFB: use %s
2006-12-04 21:23:02 +00:00
Pierre Joye
836e249bcc
- WS
2006-12-04 21:16:46 +00:00
Andrei Zmievski
4524457eff
Make headers-related functions accept Unicode strings, but only if their
...
contents can be converted to ASCII.
2006-12-04 20:43:42 +00:00
Andrei Zmievski
411f6ca0fb
Unicode support in var_export().
2006-12-04 18:55:40 +00:00
Ilia Alshanetsky
aaf7159f2a
MFB: Fixed tests
2006-12-04 18:30:05 +00:00
Antony Dovgal
6aa5ed0d9c
partly fix #39724
...
ext/spl has a soft dependcy from ext/pcre (not ext/pcre-regex)
2006-12-04 18:01:24 +00:00
Ilia Alshanetsky
10a8b1a152
MFB: Fixed test (user is a reserved keyword in pgsql)
2006-12-04 17:55:56 +00:00
Antony Dovgal
576797c7c1
fix retval type
...
it should be int, not zend_bool
2006-12-04 15:58:35 +00:00
Andrey Hristov
20fc9486db
dummy change
2006-12-04 15:27:18 +00:00
Ilia Alshanetsky
6f6577665e
MFB: Fixed bug #38319 (Remove bogus warnings from persistent PDO connections).
2006-12-04 03:08:52 +00:00
Ilia Alshanetsky
7f024a57bc
MFB: Fixed bug #38252 (Incorrect PDO error message on invalid default fetch
...
mode).
2006-12-04 02:40:20 +00:00
Ilia Alshanetsky
e448b6f2b7
MFB: Added test for previous bug
2006-12-04 00:41:07 +00:00
Ilia Alshanetsky
ad2b0a9fef
MFB: Fixed bug #39483 (Problem with handling of \ char in prepared
...
statements).
2006-12-04 00:39:47 +00:00
Ilia Alshanetsky
6c315e1908
MFB:
...
Default to buffered queries (much faster)
Default to prepared statement emulation to avoid hitting MySQL bugs
2006-12-03 23:30:24 +00:00
Ilia Alshanetsky
f01de45857
MFB: Added missing check for mismatching number of tokens & bound params in
...
prepared statement emulation.
2006-12-03 23:28:00 +00:00
Ilia Alshanetsky
a1721fa5d9
MFB: Added "default" option that allows a default value to be set for an
...
invalid or missing value.
2006-12-03 21:27:51 +00:00
Ilia Alshanetsky
b0bed17255
MFB: Fixed bug #39718 (possible crash if assert.callback is set in ini).
2006-12-03 17:13:27 +00:00
Antony Dovgal
940f70c47b
fix leaks
2006-12-03 13:58:54 +00:00
Antony Dovgal
c46f51113a
fix AIX build
2006-12-03 13:46:09 +00:00
Nuno Lopes
75011c4d2c
add UEXPECT sections
2006-12-03 11:20:32 +00:00
Hannes Magnusson
79f1a51473
MFB: fix test on fbsd
2006-12-03 08:08:18 +00:00
Nuno Lopes
5819d83aeb
MFH (not tested. so some tests may fail in unicode mode)
2006-12-02 21:42:30 +00:00
Ilia Alshanetsky
b5e7220dcb
MFB: Fixed bug #39527 (Failure to retrieve results when multiple unbuffered,
...
prepared statements are used in pdo_mysql).
2006-12-02 17:55:05 +00:00
Andrei Zmievski
1f2d5e3b00
Finalize Unicode support in serialize() and unserialize().
2006-12-01 19:25:11 +00:00
Ilia Alshanetsky
16c58e611a
MFB: Fixed a possible memory corruption in dbase_open() with invalid open
...
mode
2006-12-01 19:10:59 +00:00
Andrei Zmievski
0184d9c864
Fix group macro access.
2006-12-01 18:42:24 +00:00
Nuno Lopes
73d474be62
MFB: fix #39458
2006-12-01 16:42:48 +00:00
Marcus Boerger
61d7b66a81
- Fix handling of recursive inner iterators
2006-12-01 09:28:38 +00:00
Ilia Alshanetsky
fcaf113b33
MFB: Disallow \0 chars inside session.save_path
2006-12-01 00:27:33 +00:00
Andrei Zmievski
45e2197619
get_headers() will keep headers as binary strings.
2006-11-30 22:26:27 +00:00
Andrei Zmievski
658809278e
Mark setlocale() as Unicode-safe. It shouldn't be used in
...
unicode.semantics=on mode anyway.
2006-11-30 21:46:54 +00:00
Andrei Zmievski
6209dc6f49
Forgot to mark import_request_variables() as Unicode-safe.
2006-11-30 21:23:07 +00:00
Andrei Zmievski
d0b44c9eb5
Mark strtr() as Unicode-safe.
...
# Right, Derick?
2006-11-30 21:20:56 +00:00
Andrei Zmievski
91619d9e1d
Mark pack()/unpack() as Unicode-safe. They will accept Unicode strings
...
but convert them to binary. We can revisit supporting something like 'U'
format in the future, if it's needed.
2006-11-30 21:18:22 +00:00
Andrei Zmievski
8ce99ad71b
Make quoted_printable_decode() take only ASCII strings.
2006-11-30 18:32:59 +00:00
Ilia Alshanetsky
b364ca66f6
MFB: Added missing function checks
2006-11-30 16:48:27 +00:00
Ilia Alshanetsky
8efa38df0b
zts fixes
2006-11-30 16:38:53 +00:00
Ilia Alshanetsky
204c32b760
MFB: Thread safety fixes.
2006-11-30 16:21:36 +00:00
Ilia Alshanetsky
053747b512
MFB: Use reantrant crypt_r() whenever possible.
2006-11-30 16:00:05 +00:00
Ilia Alshanetsky
55ebcb9f7e
MFB: Use thread-safe code
2006-11-30 15:13:33 +00:00
Ilia Alshanetsky
24731d0ba9
MFB: Thread safety fixed for *nix systems
2006-11-30 00:35:27 +00:00
Ilia Alshanetsky
b9e264d497
MFB: Fixed bug #39648 (Implementation of PHP functions chown() and chgrp()
...
are not thread safe).
2006-11-29 23:46:25 +00:00
Antony Dovgal
573ff9aaa5
add missing folding marker
2006-11-29 22:53:21 +00:00
Derick Rethans
26568762da
- Updated timezone database to version 2006.16.
2006-11-29 20:01:28 +00:00
Ilia Alshanetsky
460e59a1b5
MFB: Fixed bug #39663 (Memory leak in pg_get_notify() and a possible memory
...
corruption on Windows in pgsql and pdo_pgsql extensions).
2006-11-29 15:47:41 +00:00
Antony Dovgal
9ed4f515d1
fix #39673 (file_get_contents causes bus error on certain offsets)
2006-11-29 11:10:49 +00:00
Rob Richards
f799b0b19b
MFB: correct fix for bug #39662 to fix leak and tree corruption
...
fix test
2006-11-29 08:52:08 +00:00
Marcus Boerger
f40fd6731c
- Add new example
2006-11-28 22:19:22 +00:00
Antony Dovgal
4b52ecf332
add php_unescape_html_entities() proto to the header
2006-11-28 20:40:29 +00:00
Antony Dovgal
d2e03795d9
fix #39662 (Segfault when calling asXML() of a cloned SimpleXMLElement)
2006-11-28 18:57:37 +00:00
Antony Dovgal
7499bd74b6
add test
2006-11-28 16:55:25 +00:00
Ilia Alshanetsky
2b703207d5
MFB: Fixed bug #39656 (crash when calling fetch() on a PDO statment object
...
after closeCursor()).
2006-11-28 16:28:07 +00:00
Antony Dovgal
1d21b86f1d
fix #39653 (ext/dba doesn't check for db-4.5 and db-4.4 when db4 support is enabled)
2006-11-28 11:38:57 +00:00
Ilia Alshanetsky
820b30bcb8
MFB: Replace non-threadsafe rand() with php_rand_r()
2006-11-28 00:24:16 +00:00
Antony Dovgal
8e6bca8f07
fix #39564 (PDO::errorInfo() returns inconsistent information when sqlite3_step() fails)
2006-11-27 12:13:02 +00:00
Antony Dovgal
fef764b122
fix test
...
this errmsg is different on FreeBSD
2006-11-27 11:43:45 +00:00
Ilia Alshanetsky
41da75d59f
MFB: Fixed bug #39623 (thread safety fixes on *nix for mime_magic extenion).
2006-11-26 17:03:15 +00:00
Ilia Alshanetsky
1c4d86e6d4
MFB: Fixed test, in some versions of c-client returned value is always
...
uppercase
2006-11-26 16:31:57 +00:00
Ilia Alshanetsky
dcf2056b91
MFB: fixed test
2006-11-26 16:29:55 +00:00
Ilia Alshanetsky
969ce8a603
MFB: Added a meta tag to phpinfo() output to prevent search engines from
...
indexing the page.
2006-11-26 16:26:32 +00:00
Antony Dovgal
a1f6c395cf
fix #39621 (str_replace() is not binary safe on strings with equal length)
2006-11-24 21:57:31 +00:00
Antony Dovgal
5bc9641a77
add missing argument to zend_parse_parameters()
2006-11-24 21:54:41 +00:00
Nuno Lopes
2eef6c8793
more tests
2006-11-24 20:20:51 +00:00
Nuno Lopes
48fd490fb5
MFB
2006-11-24 15:50:45 +00:00
Antony Dovgal
9f99f2e9b1
fix test
2006-11-24 13:40:29 +00:00
Antony Dovgal
a3cf20ddc3
fix #39583 (ftp_put() does not change transfer mode to ASCII)
2006-11-24 12:38:25 +00:00
Antony Dovgal
c5808d7029
fix #39613 (Possible segfault in imap initialization due to missing module dependency)
...
patch by wharmby at uk dot ibm dot com
2006-11-24 10:28:26 +00:00
Nuno Lopes
a75c11138b
MFB
2006-11-23 20:48:21 +00:00
Nuno Lopes
fc24777859
MFB
2006-11-23 17:37:16 +00:00
Antony Dovgal
577d3dec4c
fix error messages in Unicode mode when global error handle is used
2006-11-23 16:08:41 +00:00
Antony Dovgal
afd25b61a4
fix oci_bind_array_by_name() with SQLT_ODT type
...
fix tests
2006-11-23 15:23:10 +00:00
Ilia Alshanetsky
5d9c6b33d0
MFB: Fixed a possible crash
2006-11-23 14:41:51 +00:00
Antony Dovgal
88f51bc2e5
fix tests
2006-11-23 14:36:55 +00:00
Antony Dovgal
f63754eb19
fix oci_bind_array_by_name() in Unicode mode
2006-11-23 14:20:59 +00:00
Andrei Zmievski
f2ab79dfc7
Unicode support in get_html_translation_table().
2006-11-22 22:18:46 +00:00
Andrei Zmievski
bb765e86ef
*** empty log message ***
2006-11-22 21:22:27 +00:00
Andrei Zmievski
ddee40dffb
Unicode support in ftok().
2006-11-22 21:22:14 +00:00
Andrei Zmievski
5732620630
- Unicode support for tick functions.
...
- Update unicode-progress.txt
2006-11-22 19:13:19 +00:00
Ilia Alshanetsky
2dbccb34d4
MFB: Fixed a possible crash in dbase_open() on empty filename.
2006-11-22 17:30:52 +00:00
Pierre Joye
19abc4b507
- #39538 , fgetcsv can't handle starting newlines and trailing odd
...
number of backslashes (David Soria Parra, Pierre)
2006-11-22 12:56:26 +00:00
Antony Dovgal
5f29b8e40e
fix #39576 (array_walk() doesn't separate userdata zval)
2006-11-22 10:58:11 +00:00
Andrey Hristov
c60949d0b1
space to tab
2006-11-22 10:11:58 +00:00
Andrei Zmievski
b767e3cf9f
Unicode support in import_request_variables().
2006-11-21 22:21:38 +00:00
Andrei Zmievski
7cb10e9620
Note.
2006-11-21 18:45:21 +00:00
Andrei Zmievski
e6284e9cbc
Unicode support in highlight_string().
2006-11-21 18:40:58 +00:00
Antony Dovgal
ee8e633e8b
remove redundant error message
...
add test by <zoe dot slattery at googlemail dot com>
2006-11-21 17:40:38 +00:00
Ilia Alshanetsky
d301eb38ff
Fixed build
2006-11-21 15:58:29 +00:00
Ilia Alshanetsky
f1fdf21706
MFB: Adjust previous patch to work better
2006-11-21 15:58:12 +00:00
Antony Dovgal
8373efc9b9
fix #39551 (Segfault with stream_bucket_new in user filter)
...
also fixes several segfaults and leaks
add test
2006-11-21 15:47:44 +00:00
Antony Dovgal
6f11c0cc73
add new test
2006-11-20 22:17:00 +00:00
Antony Dovgal
90afd8b5b8
improve test
2006-11-20 20:54:52 +00:00
Marcus Boerger
0187226da0
- Fix arginfo
2006-11-20 20:03:46 +00:00
Marcus Boerger
91ac043e7e
- Add new test
2006-11-20 19:55:54 +00:00
Marcus Boerger
ddd4482998
- Add optional use_keys parameter to iterator_to_array(), (idea by Kevin)
2006-11-20 19:50:19 +00:00
Ilia Alshanetsky
f09218a04c
MFB: Fixed compiler warnings
2006-11-20 19:06:09 +00:00
Antony Dovgal
b198d2d028
fix test on Solaris
2006-11-20 16:28:14 +00:00
Antony Dovgal
7032c7dddf
efree() if not NULL
2006-11-20 11:12:35 +00:00
Nuno Lopes
d12df980e5
MFB
2006-11-19 18:38:11 +00:00
Ilia Alshanetsky
75f45d8458
MFB: pack()/unpack() tests
2006-11-19 18:31:22 +00:00
Ilia Alshanetsky
316e7a5b2d
MFB: Fixed bug #38770 (unpack() broken with longs on 64 bit machines).
2006-11-19 18:21:50 +00:00
Georg Richter
cdd3e8be92
added testcases for ext/mysql (written by Ulf Wendel)
2006-11-19 12:14:44 +00:00
Georg Richter
317564fc1a
added unicode support for ext/mysql
2006-11-19 12:10:19 +00:00
Andrei Zmievski
97270f4e75
Use u_memcpy() instead of memcpy().
2006-11-17 16:45:28 +00:00
Andrei Zmievski
b1d83fec6b
Fix memory leaks and segfault.
2006-11-17 16:44:23 +00:00
Michael Wallner
63f4d8e08b
- return domain in FS encoding
...
- use ZSTR_DUPLICATE
2006-11-17 13:37:02 +00:00
Dmitry Stogov
a563332ee4
COM initialization/deinitialization are done only if necessary
2006-11-17 11:41:13 +00:00
Dmitry Stogov
57d22421db
Unicode support.
...
Now the real UG(unicode) value is available during MINIT calls.
2006-11-17 10:48:53 +00:00
Derick Rethans
7e56771f94
- Add the strtr implementation for unicode for the case where there are
...
characters with a code point value >= 256.
2006-11-16 20:33:44 +00:00
Ilia Alshanetsky
56742f85a5
MFB: fixed compiler warnings
2006-11-16 17:34:42 +00:00
Antony Dovgal
c41f14297c
fix tests (add missing SKIPIF sections and a fix for FreeBSD)
2006-11-16 13:49:01 +00:00
Michael Wallner
d10aa39ce4
- fix protos
2006-11-16 13:36:03 +00:00
Antony Dovgal
107229611b
more new tests, yikes!
2006-11-16 13:00:03 +00:00
Michael Wallner
c535fc7a32
- unicode upgrade
...
- fix typo: ENIGNA->ENIGMA
- add and fix tests
2006-11-15 22:51:45 +00:00
Antony Dovgal
0ca02684c1
fix array_key_exists() with NULL key in Unicode mode
2006-11-15 22:43:19 +00:00
Antony Dovgal
1063fa6a90
add new tests
2006-11-15 22:42:28 +00:00
Antony Dovgal
37754b437f
fix memory leak and typo in zend_parse_parameters(), which caused segfault
...
add test
2006-11-15 22:09:25 +00:00
Ilia Alshanetsky
0252643b32
MFB: Fixed bug #37773 (iconv_substr() gives "Unknown error" when string
...
length = 1").
2006-11-15 18:35:18 +00:00
Antony Dovgal
7c08c95070
fix leak appearing when converting object to NULL
...
add test
2006-11-15 17:28:56 +00:00
Antony Dovgal
bbc854a4bd
add new tests
2006-11-15 17:26:54 +00:00
Michael Wallner
e4ddb2421a
- unicode upgrade
...
- use current parameter parsing API
- added keygen constants
- Added keygen functions: mhash_keygen_count, mhash_get_keygen_name,
mhash_keygen_uses_hash, mhash_keygen_uses_salt, mhash_get_keygen_salt_size,
mhash_keygen
2006-11-15 17:16:04 +00:00
Michael Wallner
ea6a9ff145
- unicode upgrade
...
# as setlocale() throws an E_STRICT deprecated warning, I guess we'll
see ICU message catalogue support?
2006-11-15 17:14:50 +00:00
Rob Richards
a4cc7057f8
mark more functions unicode compatible
2006-11-15 12:27:32 +00:00
Antony Dovgal
a92ccf9ab1
fix test on AIX
2006-11-15 12:11:07 +00:00
Rob Richards
19da4e2df9
add unicode support so Andrei finally stops asking me about it
...
update tests
2006-11-15 12:08:12 +00:00
Antony Dovgal
f9847c0d0e
fix test
2006-11-15 11:27:10 +00:00
Antony Dovgal
af43feda28
fix test
2006-11-15 10:48:30 +00:00
Antony Dovgal
f9d4063fed
one more test
2006-11-14 22:23:23 +00:00
Antony Dovgal
41bb09b30d
add new tests
2006-11-14 21:59:02 +00:00
Edin Kadribasic
05a3c2a14b
MFB: Tell linker that we're using stati libcurl
2006-11-14 19:57:35 +00:00
Derick Rethans
3a659a6a05
- No idea if we actually support 16 bit systems, but this just looked wrong
2006-11-14 14:41:09 +00:00
Ilia Alshanetsky
cae55a69eb
MFB: Fixed bug #36812 (pg_execute() modifies input array).
2006-11-13 22:11:02 +00:00
Rob Richards
2888ebde73
Fixed bug #39504 (xmlwriter_write_dtd_entity() creates Attlist tag,
...
not enity). (Hannes Magnusson)
add test
2006-11-13 20:47:52 +00:00
Antony Dovgal
c7fd59af0f
don't forget to close the stream when/if flock() fails
2006-11-13 20:31:15 +00:00
Antony Dovgal
49a2ae60d0
fix leaks in get_meta_tags() when used with b0rked HTML
...
add test
2006-11-13 20:17:05 +00:00
Antony Dovgal
6a7f43cfa0
improve the fix and the test
2006-11-13 19:32:43 +00:00
Ilia Alshanetsky
a65efab679
MFB: php_splice() optimization
2006-11-13 15:34:49 +00:00
Ilia Alshanetsky
79a3667ef3
MFB: Fixed bug #36644 (possible crash in variant_date_from_timestamp()).
2006-11-13 15:33:40 +00:00
Antony Dovgal
2bbda84c5f
actually copy input to return_value
...
input is a local var, you can't use it this way
2006-11-13 14:59:47 +00:00
Antony Dovgal
93bb912107
new test
2006-11-13 14:50:55 +00:00
Antony Dovgal
d3c4b8ca80
add a note that libxml2 2.6.2x is required
2006-11-13 12:53:50 +00:00
Antony Dovgal
17abea2ede
fix compile warning
2006-11-13 12:49:18 +00:00
Hannes Magnusson
14c48cb50b
MFB: add missing headers
2006-11-12 19:01:33 +00:00
Ilia Alshanetsky
b1a4e9c49a
MFB: updated generated file
2006-11-12 17:56:50 +00:00
Marcus Boerger
61b3ee59fd
- Optimize SPL directory stuff by making iterator part of object
2006-11-12 17:56:14 +00:00
Marcus Boerger
28af3ea8a7
- Update test after SPL change
2006-11-12 17:55:39 +00:00
Ilia Alshanetsky
aa3222a342
MFB: Fixed a memory leak when named & positional params are being used in
...
the same query.
2006-11-12 17:49:52 +00:00
Marcus Boerger
a289a0d435
- Fix memleaks
2006-11-12 17:37:51 +00:00
Hannes Magnusson
b1b8dcfd42
SplFileObject no longer overwrites getFilename()
2006-11-12 17:34:28 +00:00
Hannes Magnusson
d98dfdb119
SplFileObject::getFilename() should not overwrite SplFileInfo::getFilename()
...
(Fixes bug where SplFileObject::getFilename() returns relative/path/to/file)
2006-11-12 17:08:45 +00:00
Marcus Boerger
74420e6be6
- Correct comments
2006-11-12 15:58:05 +00:00
Hannes Magnusson
6d22129d9b
Fixed bug#36975 (natcasesort() causes array_pop() to misbehave)
2006-11-12 01:11:58 +00:00
Nuno Lopes
bcdfb60c51
MFB: fix leak in oo_stream.phpt
2006-11-12 00:41:41 +00:00
Nuno Lopes
d21a598f61
MFB: fix leak in the object destrucotr when zip_close() fails (fixes oo_delete.phpt)
2006-11-12 00:31:37 +00:00
Nuno Lopes
cff4fd1eae
MFB: fix leaks within zip entries in several tests
2006-11-11 23:43:40 +00:00
Nuno Lopes
d34fc386ba
MFB :fix leak in oo_setArchiveComment.phpt
2006-11-11 23:36:52 +00:00
Nuno Lopes
a72df3dc05
MFB
2006-11-10 23:27:31 +00:00
Antony Dovgal
b616c7ffee
fix type mess (thanks again, Chris)
2006-11-10 23:03:23 +00:00
Antony Dovgal
86a8604a81
fix build with old client versions
2006-11-10 21:57:04 +00:00
Antony Dovgal
869aa78e1e
MFB
2006-11-10 21:55:05 +00:00
Nuno Lopes
80507d62ea
MFB
2006-11-10 18:05:58 +00:00
Nuno Lopes
3cc8329e12
MFB
2006-11-10 17:32:42 +00:00
Antony Dovgal
d99f05f1a2
add _not yet 100% complete_ Unicode support
...
collections, statements and BLOBs seem to be working ok
though there are still some things to be done in order to make oci_bind_array_by_name() work with U-strings
Notes:
- in Unicode mode OCI8 always speaks to Oracle server using UTF-16, so all the conversions are done by the client lib.
This is why character set parameter of oci_connect() and NLS_LANG are ignored in U-mode.
- BLOBs and CLOBs behave quite differently in U-mode.
Reading data from a CLOB would result in Unicode string, while BLOBs would return binary string.
Also, all LOB utilities work with _bytes_ when BLOB is used and _characters_ when it's CLOB.
It's not that obvious, but it does make a lot of sense to me.
2006-11-10 16:56:19 +00:00
Antony Dovgal
974b0ad2cd
fix segfault in ZTS mode when statements containing sub-statements are destroyed in wrong order
2006-11-10 16:33:28 +00:00
Dmitry Stogov
ea40c01459
Fixed bug #39454 (Returning a SOAP array segfaults PHP)
2006-11-10 15:05:38 +00:00
Dmitry Stogov
7479d1d67e
Intialization code is moved from request startup to module startup
2006-11-10 12:02:22 +00:00
Andrei Zmievski
2d40fd328d
Allow mixing Unicode/binary string types.
2006-11-10 12:01:50 +00:00
Dmitry Stogov
768185e58f
Implemented registry cache that prevent registry lookup on each request. In case of modification of corresponding registry-tree PHP will reload it automatic.
2006-11-10 11:42:40 +00:00
Dmitry Stogov
afe251ab8d
Faster and better licensed implementation
2006-11-10 10:11:05 +00:00
Dmitry Stogov
dc34d34230
Simplify the code base as this getpwd() was used only once
2006-11-10 09:56:37 +00:00
Ilia Alshanetsky
d675fcb888
MFB: Fixed pecl bug #9179 (phpversion("filter") shows wrong version).
2006-11-10 01:08:52 +00:00
Hannes Magnusson
3cd6518f39
Enable xmlwriter_start_dtd_entity(), xmlwriter_end_dtd_entity() & xmlwriter_write_dtd_entity()
2006-11-09 20:02:23 +00:00
Ilia Alshanetsky
26fb0b51b5
MFB: Added missing PHPAPI declaration
2006-11-09 20:02:08 +00:00
Nuno Lopes
9b04c0d407
MFB: fix test
2006-11-09 16:38:55 +00:00
Nuno Lopes
667f469349
MFB: fix possible segfault
2006-11-09 16:34:00 +00:00
Nuno Lopes
3717adbbd9
MFB: static'fication
2006-11-09 16:18:28 +00:00
Frank M. Kromann
d774a429d6
MFB 5_2:
...
Revert patch for warnings about missing headers. These are fixed in the latest version of libming.
Sync code for SWFMovie::streamMP3. This function will now return the number of frames in the file.
2006-11-09 09:24:18 +00:00
Dmitry Stogov
edad4f460c
Fixed tests
2006-11-09 08:29:37 +00:00
Antony Dovgal
3fb2cb298b
fix more tests
2006-11-09 01:16:48 +00:00
Antony Dovgal
a6132def32
fix test
2006-11-09 01:07:31 +00:00
Antony Dovgal
8c5c0ce29c
fix test and prevent endless loop
2006-11-09 00:33:54 +00:00
Dmitry Stogov
6cb3fad99b
Fixed bug #38536 (SOAP returns an array of values instead of an object)
2006-11-08 10:05:33 +00:00
Ilia Alshanetsky
1d1c68b728
1.0.4
2006-11-07 21:45:20 +00:00
Ilia Alshanetsky
d3ed72e0ce
Improved mime magic file detection
...
# Patch from BSD ports
2006-11-07 21:28:23 +00:00
Ilia Alshanetsky
0b785996cf
Fixed pecl bug #6284
2006-11-07 21:18:51 +00:00
Ilia Alshanetsky
7ebb315ea9
MFB: fixed tests
2006-11-07 20:26:35 +00:00
Ilia Alshanetsky
b38a50bb4f
MFB: Fixed bug #39398 (Booleans are not automatically translated to
...
integers).
2006-11-07 17:57:37 +00:00
Johannes Schlüter
70eac43346
- No C++ comments ( fix #39414 )
2006-11-07 15:17:42 +00:00
Hannes Magnusson
d634bee086
Fix arginfo
2006-11-06 23:19:46 +00:00
Andrei Zmievski
dc5f913920
Unicode support in entities/special chars funcs. See the NOTE at the
...
top.
2006-11-06 21:45:49 +00:00
Dmitry Stogov
ae2fc4c4ab
Fixed bug #39121 (Incorrect return array handling in non-wsdl soap client)
2006-11-06 16:36:54 +00:00
Hannes Magnusson
859449b3a0
Enable the new 5th parameter
2006-11-06 16:33:31 +00:00
Hannes Magnusson
62003ce506
Throw exception on invalid parameters in DateTime::__construct()
...
#makes sure the object doesnt get initialized with bogus parameters
2006-11-06 16:10:33 +00:00
Hannes Magnusson
d8895dd81d
Fix segfault on $splinfo->openFile()->getPath()
...
Improve test
2006-11-06 15:20:23 +00:00
Dmitry Stogov
a5e8f02f0e
Windows doesn't have chown(). Remove unused function and reference to undeclared macro VCWD_CHOWN().
2006-11-06 14:55:14 +00:00
Rasmus Lerdorf
4ee758a8e0
data: and php:stdin/input allow_url_include checks
2006-11-05 20:44:52 +00:00
Ilia Alshanetsky
421e5687e3
MFB: Fixed bug #39362 (Added an option to imap_open/imap_reopen to control
...
the number of connection retries).
2006-11-05 18:32:41 +00:00
Pierre Joye
4f2e67121d
- MFH: Merge from gd-cvs, initialize the signature not the infile ctx
2006-11-05 15:06:50 +00:00
Marcus Boerger
733ba50788
- Make parameter parsing api check happy
2006-11-04 20:46:21 +00:00
Marcus Boerger
50514b8202
- Store length of autoload file exts
2006-11-04 20:22:29 +00:00
Marcus Boerger
b605d4eb3d
- Mark some funcs as unicode ready
2006-11-04 20:12:26 +00:00
Frank M. Kromann
af741730f4
Fix win32 build
2006-11-04 17:25:37 +00:00
Pierre Joye
20f1d35048
- Fixed filter argument for imagepng in gdImagePngEx
2006-11-04 14:34:04 +00:00
Pierre Joye
75f4f96203
- MFB: vim folding
2006-11-04 14:32:23 +00:00
Pierre Joye
c25d7f249a
- MFB: silent compiler warnings
2006-11-04 14:29:00 +00:00
Pierre Joye
5334153117
- ws
2006-11-04 14:22:23 +00:00
Pierre Joye
3475bd62e0
- #39366 , imagerotate does not use alpha with angles>45
2006-11-04 03:12:36 +00:00
Pierre Joye
799e6c0e98
- MFB: #39273 , imagecopyresized and alpha channel
2006-11-04 02:23:45 +00:00
Ilia Alshanetsky
54bd0e5067
Fixed bug #39358 (INSTALL_HEADERS contains incorrect reference to
...
php_filter.h)
2006-11-03 20:08:54 +00:00
Ilia Alshanetsky
fab0dd3b66
MFB: Fixed bug #39361 (Removed warning on empty haystack inside mb_strstr()).
2006-11-03 19:56:07 +00:00
Marcus Boerger
b24dd998e6
- Include new headers only if present
2006-11-03 18:57:37 +00:00
Pierre Joye
6b0966c2a7
- _zip_error_clear declaration
...
- WS
2006-11-03 16:34:44 +00:00
Pierre Joye
d57e692624
- fix protos
2006-11-03 16:23:12 +00:00
Ilia Alshanetsky
0311ffef1f
MFB: Fixed bug #39354 (Allow building of curl extension against libcurl
...
7.16.0)
2006-11-03 14:53:27 +00:00
Hannes Magnusson
5e9c0be4f8
Remove SKIPIF
2006-11-03 14:17:17 +00:00
Hannes Magnusson
7fb679aae2
CS fix
2006-11-03 14:08:11 +00:00
Hannes Magnusson
def4975380
Add missing includes
2006-11-03 14:06:34 +00:00
Ilia Alshanetsky
ec83b46bf9
MFB: Fixed bug #39215 (Inappropriate close of stdin/stdout/stderr).
2006-11-03 13:34:39 +00:00
Ilia Alshanetsky
b0f8e77d17
Fixed bug #39265 (Fixed path handling inside mod_files.sh)
...
# Patch by michal dot taborsky at gmail dot com
2006-11-03 13:18:19 +00:00
Pierre Joye
2378a0f4d0
- add simple test for addEmptyDir()
2006-11-01 19:56:53 +00:00