]> granicus.if.org Git - php/log
php
18 years agoFix tests
Hannes Magnusson [Fri, 22 Dec 2006 01:20:24 +0000 (01:20 +0000)]
Fix tests

18 years agoFix ZTS build...
Hannes Magnusson [Fri, 22 Dec 2006 01:07:28 +0000 (01:07 +0000)]
Fix ZTS build...

18 years ago- Fix memory allocation/deallocation to match
Marcus Boerger [Fri, 22 Dec 2006 00:57:51 +0000 (00:57 +0000)]
- Fix memory allocation/deallocation to match

18 years ago- Implement ezstrndup()
Marcus Boerger [Fri, 22 Dec 2006 00:56:59 +0000 (00:56 +0000)]
- Implement ezstrndup()

18 years ago- Make custom serializing work with zstr (as discussed with andrei)
Marcus Boerger [Fri, 22 Dec 2006 00:47:27 +0000 (00:47 +0000)]
- Make custom serializing work with zstr (as discussed with andrei)

18 years agoFix serialization test.
Andrei Zmievski [Fri, 22 Dec 2006 00:37:20 +0000 (00:37 +0000)]
Fix serialization test.

18 years ago- Make custom serializing work with zstr (as discussed with andrei)
Marcus Boerger [Fri, 22 Dec 2006 00:29:11 +0000 (00:29 +0000)]
- Make custom serializing work with zstr (as discussed with andrei)

18 years ago- Use conversion macro
Marcus Boerger [Fri, 22 Dec 2006 00:28:20 +0000 (00:28 +0000)]
- Use conversion macro

18 years agolevenshtein() already supported Unicode.
Andrei Zmievski [Thu, 21 Dec 2006 23:52:22 +0000 (23:52 +0000)]
levenshtein() already supported Unicode.

18 years agoMetaphone will work only with binary runtime-encoded strings.
Andrei Zmievski [Thu, 21 Dec 2006 23:43:52 +0000 (23:43 +0000)]
Metaphone will work only with binary runtime-encoded strings.

18 years ago- No misleading comments
Marcus Boerger [Thu, 21 Dec 2006 23:19:48 +0000 (23:19 +0000)]
- No misleading comments

18 years ago- Mark a fewthings as unicode ready
Marcus Boerger [Thu, 21 Dec 2006 22:56:58 +0000 (22:56 +0000)]
- Mark a fewthings as unicode ready

18 years ago- Serialization doesn't work with unicode data
Marcus Boerger [Thu, 21 Dec 2006 22:55:07 +0000 (22:55 +0000)]
- Serialization doesn't work with unicode data

18 years ago-Serialization doesn't work with unicode data
Marcus Boerger [Thu, 21 Dec 2006 22:54:20 +0000 (22:54 +0000)]
-Serialization doesn't work with unicode data

18 years agotemporary fix for oci_error(), just to make it work
Antony Dovgal [Thu, 21 Dec 2006 22:50:57 +0000 (22:50 +0000)]
temporary fix for oci_error(), just to make it work
it should be using add_ascii_assoc_text() instead

18 years agoadded support for CALL statement type (patch by Chris Jones)
Antony Dovgal [Thu, 21 Dec 2006 22:08:02 +0000 (22:08 +0000)]
added support for CALL statement type (patch by Chris Jones)

18 years agofix ws, cs and overall code readability
Antony Dovgal [Thu, 21 Dec 2006 21:49:13 +0000 (21:49 +0000)]
fix ws, cs and overall code readability

18 years agoBite the bullet and port the natural comparison algorithm to support
Andrei Zmievski [Thu, 21 Dec 2006 21:47:56 +0000 (21:47 +0000)]
Bite the bullet and port the natural comparison algorithm to support
UChar strings. Also, simplify the original code.

# Argggghh, post-incremented iteration sucks. That means you, U16_* stuff.

18 years agotemp is freed in zend_unicode_to_string() on failure
Antony Dovgal [Thu, 21 Dec 2006 21:40:53 +0000 (21:40 +0000)]
temp is freed in zend_unicode_to_string() on failure

18 years agolookup_browser_name cannot be NULL
Antony Dovgal [Thu, 21 Dec 2006 21:37:09 +0000 (21:37 +0000)]
lookup_browser_name cannot be NULL

18 years agoimprove tests, add new ones
Antony Dovgal [Thu, 21 Dec 2006 19:22:49 +0000 (19:22 +0000)]
improve tests, add new ones

18 years agoInitial commit(Synced PHP_5_2 Branch.).
Seiji Masugata [Thu, 21 Dec 2006 17:44:40 +0000 (17:44 +0000)]
Initial commit(Synced PHP_5_2 Branch.).

18 years agoSynced PHP_5_2 Branch.
Seiji Masugata [Thu, 21 Dec 2006 17:37:53 +0000 (17:37 +0000)]
Synced PHP_5_2 Branch.

18 years agoFixed comments
Dmitry Stogov [Thu, 21 Dec 2006 13:06:03 +0000 (13:06 +0000)]
Fixed comments

18 years agoMFB: fix issues identitified by coverity
Rob Richards [Thu, 21 Dec 2006 12:52:12 +0000 (12:52 +0000)]
MFB: fix issues identitified by coverity

18 years agonew tests by Christopher Jones
Antony Dovgal [Thu, 21 Dec 2006 12:41:03 +0000 (12:41 +0000)]
new tests by Christopher Jones

18 years agofix possible leak
Antony Dovgal [Thu, 21 Dec 2006 11:07:41 +0000 (11:07 +0000)]
fix possible leak

18 years agoDefault memory_limit value is set to 128M
Dmitry Stogov [Thu, 21 Dec 2006 09:12:59 +0000 (09:12 +0000)]
Default memory_limit value is set to 128M

18 years agoemoved dependency from SHELL32.DLL
Dmitry Stogov [Thu, 21 Dec 2006 09:04:58 +0000 (09:04 +0000)]
emoved dependency from SHELL32.DLL

18 years agoMFB: Fix a possible memory leak
Ilia Alshanetsky [Thu, 21 Dec 2006 02:11:12 +0000 (02:11 +0000)]
MFB: Fix a possible memory leak

18 years agoMFB: Fixed possible memory leak
Ilia Alshanetsky [Thu, 21 Dec 2006 01:58:46 +0000 (01:58 +0000)]
MFB: Fixed possible memory leak

18 years agoChangeLog update
<changelog@php.net> [Thu, 21 Dec 2006 01:31:02 +0000 (01:31 +0000)]
ChangeLog update

18 years agoapply correct fix (aka "oops!")
Antony Dovgal [Thu, 21 Dec 2006 01:18:14 +0000 (01:18 +0000)]
apply correct fix (aka "oops!")

18 years agoMFB: Optimize out zend_hash_num_elements() call
Ilia Alshanetsky [Thu, 21 Dec 2006 01:16:36 +0000 (01:16 +0000)]
MFB: Optimize out zend_hash_num_elements() call

18 years agofix leak on error
Antony Dovgal [Thu, 21 Dec 2006 01:13:50 +0000 (01:13 +0000)]
fix leak on error

18 years agodon't leak on error
Antony Dovgal [Thu, 21 Dec 2006 01:07:52 +0000 (01:07 +0000)]
don't leak on error

18 years agofix possible leaks
Antony Dovgal [Thu, 21 Dec 2006 01:00:39 +0000 (01:00 +0000)]
fix possible leaks

18 years agofix potential leak
Antony Dovgal [Thu, 21 Dec 2006 00:46:51 +0000 (00:46 +0000)]
fix potential leak

18 years agoprevent potential leak on error
Antony Dovgal [Thu, 21 Dec 2006 00:43:00 +0000 (00:43 +0000)]
prevent potential leak on error

18 years agobail out if zend_unicode_to_string() fails
Antony Dovgal [Thu, 21 Dec 2006 00:25:58 +0000 (00:25 +0000)]
bail out if zend_unicode_to_string() fails

18 years agomake sure err_char is initialized properly
Antony Dovgal [Thu, 21 Dec 2006 00:25:16 +0000 (00:25 +0000)]
make sure err_char is initialized properly

18 years agofix double free
Antony Dovgal [Thu, 21 Dec 2006 00:00:11 +0000 (00:00 +0000)]
fix double free

18 years agofix potential leak, improve length checks
Antony Dovgal [Wed, 20 Dec 2006 23:36:43 +0000 (23:36 +0000)]
fix potential leak, improve length checks

18 years ago- Quick hackto make tests pass
Marcus Boerger [Wed, 20 Dec 2006 23:30:23 +0000 (23:30 +0000)]
- Quick hackto make tests pass
# There is something missing, ZVAL_TYPED_ASCII_STRING(z, type, char*,flags)
# Or am i overseeinghow that works?

18 years agodo not allocate the return value if it wasn't requested
Antony Dovgal [Wed, 20 Dec 2006 23:30:11 +0000 (23:30 +0000)]
do not allocate the return value if it wasn't requested

18 years agofix possible leak on failure in get_defined_functions()
Antony Dovgal [Wed, 20 Dec 2006 23:19:44 +0000 (23:19 +0000)]
fix possible leak on failure in get_defined_functions()

18 years agofix leak in zend_disable_class()
Antony Dovgal [Wed, 20 Dec 2006 23:00:54 +0000 (23:00 +0000)]
fix leak in zend_disable_class()

18 years agofix double free on error
Antony Dovgal [Wed, 20 Dec 2006 22:42:59 +0000 (22:42 +0000)]
fix double free on error

18 years ago- More unicode
Marcus Boerger [Wed, 20 Dec 2006 22:11:14 +0000 (22:11 +0000)]
- More unicode

18 years ago- Add unicode expectations
Marcus Boerger [Wed, 20 Dec 2006 22:08:51 +0000 (22:08 +0000)]
- Add unicode expectations

18 years ago- Fix test name
Marcus Boerger [Wed, 20 Dec 2006 22:08:35 +0000 (22:08 +0000)]
- Fix test name

18 years agoUpdate.
Andrei Zmievski [Wed, 20 Dec 2006 21:02:11 +0000 (21:02 +0000)]
Update.

18 years ago- Make shorter and do not use problematic attribute
Marcus Boerger [Wed, 20 Dec 2006 20:59:18 +0000 (20:59 +0000)]
- Make shorter and do not use problematic attribute

18 years ago- Compilers mightnot like the zstr return,thus return void*
Marcus Boerger [Wed, 20 Dec 2006 20:49:01 +0000 (20:49 +0000)]
- Compilers mightnot like the zstr return,thus return void*

18 years agoUnicode support in get_browser(). To avoid additional copying/conversion
Andrei Zmievski [Wed, 20 Dec 2006 20:45:40 +0000 (20:45 +0000)]
Unicode support in get_browser(). To avoid additional copying/conversion
during parsing, the browscap values in the returned array will be of
IS_STRING type.

18 years agoCheck for conversion failure in "s&" and return appropriately.
Andrei Zmievski [Wed, 20 Dec 2006 20:43:52 +0000 (20:43 +0000)]
Check for conversion failure in "s&" and return appropriately.

18 years agoFix return value in zval_unicode_to_string_ex().
Andrei Zmievski [Wed, 20 Dec 2006 20:43:31 +0000 (20:43 +0000)]
Fix return value in zval_unicode_to_string_ex().

18 years agoFix warning.
Andrei Zmievski [Wed, 20 Dec 2006 20:42:50 +0000 (20:42 +0000)]
Fix warning.

18 years ago- Mention zend_zstrndup()
Marcus Boerger [Wed, 20 Dec 2006 20:17:45 +0000 (20:17 +0000)]
- Mention zend_zstrndup()

18 years ago- Implement zend_zstrndup()
Marcus Boerger [Wed, 20 Dec 2006 20:12:11 +0000 (20:12 +0000)]
- Implement zend_zstrndup()

18 years agoFixed zts build
Ilia Alshanetsky [Wed, 20 Dec 2006 19:48:32 +0000 (19:48 +0000)]
Fixed zts build

18 years agoremove register_globals remains
Antony Dovgal [Wed, 20 Dec 2006 19:20:59 +0000 (19:20 +0000)]
remove register_globals remains
maintain an internal reference of _SESSION, so that it won't be possible to destroy it from userspace

18 years agoMFB: Fixed bug #39898 (FILTER_VALIDATE_URL validates \r\n\t etc).
Ilia Alshanetsky [Wed, 20 Dec 2006 19:20:22 +0000 (19:20 +0000)]
MFB: Fixed bug #39898 (FILTER_VALIDATE_URL validates \r\n\t etc).

18 years agoreturn NULL right away if invalid length was passed
Antony Dovgal [Wed, 20 Dec 2006 19:08:23 +0000 (19:08 +0000)]
return NULL right away if invalid length was passed

18 years agoAlign Unicode and binary versions of formatted printing.
Andrei Zmievski [Wed, 20 Dec 2006 18:33:27 +0000 (18:33 +0000)]
Align Unicode and binary versions of formatted printing.

18 years agofix #39903 (Notice message when executing __halt_compiler() more than once)
Antony Dovgal [Wed, 20 Dec 2006 16:30:00 +0000 (16:30 +0000)]
fix #39903 (Notice message when executing __halt_compiler() more than once)

18 years agodon't reinvent the wheel, use sprintf()
Antony Dovgal [Wed, 20 Dec 2006 15:12:06 +0000 (15:12 +0000)]
don't reinvent the wheel, use sprintf()

18 years ago- Fixed the regexp so that the letter "v" also works.
Derick Rethans [Wed, 20 Dec 2006 14:37:24 +0000 (14:37 +0000)]
- Fixed the regexp so that the letter "v" also works.

18 years agogracefully bail out on invalid header
Antony Dovgal [Wed, 20 Dec 2006 13:08:54 +0000 (13:08 +0000)]
gracefully bail out on invalid header

18 years agoMake MEMORY_LIMIT and ZEND_USE_MALLOC_MM to be always enabled. They don't make a
Dmitry Stogov [Wed, 20 Dec 2006 10:50:46 +0000 (10:50 +0000)]
Make MEMORY_LIMIT and ZEND_USE_MALLOC_MM to be always enabled. They don't make a
ny significant slowdown, but incrise maintainability a lot. Note that the setting of memory_limit wasn't changes (neither in main/main.c nor in php.ini) and it
still set to 16M.

18 years agoMFB:
Hannes Magnusson [Wed, 20 Dec 2006 10:38:24 +0000 (10:38 +0000)]
MFB:
- Fixed incorrect function names on FreeBSD where inet_pton() was named
        __inet_pton() and inet_ntop() was named __inet_ntop()
- Fixed bug #39685 (iconv() - undefined function)
- Fixed bug #38852 (XML-RPC Breaks iconv)

18 years agoChangeLog update
<changelog@php.net> [Wed, 20 Dec 2006 01:31:04 +0000 (01:31 +0000)]
ChangeLog update

18 years agoUnicode support in ezmlm_hash().
Andrei Zmievski [Tue, 19 Dec 2006 22:54:24 +0000 (22:54 +0000)]
Unicode support in ezmlm_hash().

# 50% done, ladies and gents! http://www.php.net/~scoates/unicode

18 years ago- Use new 'x' parameter parsing
Marcus Boerger [Tue, 19 Dec 2006 22:31:26 +0000 (22:31 +0000)]
- Use new 'x' parameter parsing

18 years ago- Make spl_autoload_call() unicode safe
Marcus Boerger [Tue, 19 Dec 2006 22:30:59 +0000 (22:30 +0000)]
- Make spl_autoload_call() unicode safe

18 years ago- Changed macro once again
Marcus Boerger [Tue, 19 Dec 2006 22:27:15 +0000 (22:27 +0000)]
- Changed macro once again

18 years ago- x was added toparameter parsing api
Marcus Boerger [Tue, 19 Dec 2006 22:24:28 +0000 (22:24 +0000)]
- x was added toparameter parsing api

18 years ago- Implement parameter parsing 'x'
Marcus Boerger [Tue, 19 Dec 2006 22:21:18 +0000 (22:21 +0000)]
- Implement parameter parsing 'x'

18 years ago- Fix macro param order
Marcus Boerger [Tue, 19 Dec 2006 22:20:16 +0000 (22:20 +0000)]
- Fix macro param order

18 years ago- Implement zend_u_call_method to deal with situations where the function
Marcus Boerger [Tue, 19 Dec 2006 22:14:35 +0000 (22:14 +0000)]
- Implement zend_u_call_method to deal with situations where the function
  name type is already known

18 years agoUnicode support in set_include_path().
Andrei Zmievski [Tue, 19 Dec 2006 22:01:50 +0000 (22:01 +0000)]
Unicode support in set_include_path().

18 years agonew test
Nuno Lopes [Tue, 19 Dec 2006 21:47:16 +0000 (21:47 +0000)]
new test

18 years ago- check CRYPTO_get_id_callback() if anyone else already set thread lock callbacks
Michael Wallner [Tue, 19 Dec 2006 21:41:12 +0000 (21:41 +0000)]
- check CRYPTO_get_id_callback() if anyone else already set thread lock callbacks

18 years agoMFB
Antony Dovgal [Tue, 19 Dec 2006 21:40:59 +0000 (21:40 +0000)]
MFB

18 years agoUpdate.
Andrei Zmievski [Tue, 19 Dec 2006 21:40:02 +0000 (21:40 +0000)]
Update.

18 years ago- Marcus was too quick. Let's put type before zstr in the macros.
Andrei Zmievski [Tue, 19 Dec 2006 21:38:59 +0000 (21:38 +0000)]
- Marcus was too quick. Let's put type before zstr in the macros.
- Also mark get_include_path() and restore_include_path() with U.

18 years ago- Fix ZVAL_ZSTRL
Marcus Boerger [Tue, 19 Dec 2006 21:13:21 +0000 (21:13 +0000)]
- Fix ZVAL_ZSTRL

18 years agoadd check for setlocale() and sv_SE to SKIPIF section
Antony Dovgal [Tue, 19 Dec 2006 20:46:48 +0000 (20:46 +0000)]
add check for setlocale() and sv_SE to SKIPIF section

18 years agoUnicode support in *printf() functions. (Antony, Andrei)
Andrei Zmievski [Tue, 19 Dec 2006 18:41:40 +0000 (18:41 +0000)]
Unicode support in *printf() functions. (Antony, Andrei)

18 years agoMFB: little cleanup in json_determine_array_type()
Nuno Lopes [Tue, 19 Dec 2006 15:01:57 +0000 (15:01 +0000)]
MFB: little cleanup in json_determine_array_type()

18 years agoadd missing SKIPIF sections
Antony Dovgal [Tue, 19 Dec 2006 14:16:08 +0000 (14:16 +0000)]
add missing SKIPIF sections

18 years ago-NAN should not be possible
Antony Dovgal [Tue, 19 Dec 2006 13:26:39 +0000 (13:26 +0000)]
-NAN should not be possible

18 years agoinf->INF
Antony Dovgal [Tue, 19 Dec 2006 13:15:30 +0000 (13:15 +0000)]
inf->INF
nan->NAN

18 years agoSupport for systems without locale.h
Dmitry Stogov [Tue, 19 Dec 2006 13:13:48 +0000 (13:13 +0000)]
Support for systems without locale.h

18 years agofix test on MacOS
Antony Dovgal [Tue, 19 Dec 2006 13:11:30 +0000 (13:11 +0000)]
fix test on MacOS

18 years agofix serialize tests after s: -> S: change
Antony Dovgal [Tue, 19 Dec 2006 12:45:03 +0000 (12:45 +0000)]
fix serialize tests after s: -> S: change

18 years agoMFB: serialize() should use '.' as decimal point irrespectively to locale
Antony Dovgal [Tue, 19 Dec 2006 12:44:26 +0000 (12:44 +0000)]
MFB: serialize() should use '.' as decimal point irrespectively to locale

18 years agoFixed bug #39815 (SOAP double encoding is not locale-independent)
Dmitry Stogov [Tue, 19 Dec 2006 11:55:16 +0000 (11:55 +0000)]
Fixed bug #39815 (SOAP double encoding is not locale-independent)

18 years agoMFB
Edin Kadribasic [Tue, 19 Dec 2006 10:34:58 +0000 (10:34 +0000)]
MFB

18 years agoMFB: Enable full build with newer Microsoft compilers
Edin Kadribasic [Tue, 19 Dec 2006 10:26:44 +0000 (10:26 +0000)]
MFB: Enable full build with newer Microsoft compilers