1
0
mirror of https://github.com/php/php-src.git synced 2026-04-05 07:02:33 +02:00
Commit Graph

19399 Commits

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