Commit Graph

33874 Commits

Author SHA1 Message Date
Dmitry Stogov
9d7ca01c8b Dropped allow_call_time_pass_reference, the error is maden E_STRICT. 2006-03-16 11:32:00 +00:00
Dmitry Stogov
7c0e534157 Dropped zend.ze1_compatibility_mode 2006-03-16 10:33:23 +00:00
Dmitry Stogov
22055cb8fd Dropped register_long_arrays, added E_CORE for all dropped setting 2006-03-16 09:44:42 +00:00
Antony Dovgal
37ab9aa474 prepare to the 1.2 release 2006-03-16 07:31:01 +00:00
a6ed0cb3e0 ChangeLog update 2006-03-16 06:31:47 +00:00
Marcus Boerger
6380908706 - Fix warning 2006-03-16 00:53:58 +00:00
Marcus Boerger
ff359fab7f - Fix test 2006-03-16 00:40:11 +00:00
Sara Golemon
1eca7b87d1 Fix improper byte count on partial reads 2006-03-15 21:18:36 +00:00
Dmitry Stogov
09619a30cb Fixed Bug #36614 (Segfault when using Soap) 2006-03-15 16:14:40 +00:00
Ilia Alshanetsky
111046ceed MFB51: Fixed memory leak on unused bind var. 2006-03-15 15:27:08 +00:00
Dmitry Stogov
18d6d9d633 Fixed zend_u_strtod() that returned uninitialized value in case of empty string 2006-03-15 13:12:32 +00:00
Derick Rethans
c76917a773 - Fixed two memory issues:
- In the first one we were calculating the tmp_len wrong which made the
	u_strFromUTF32() function try to convert too many code points.
  - The second issue was a bit more subtle as the "what" string wasn't
	duplicated but still modified. This string is passed as data to the
	function and this kind of data the engine tries to free when the function
	ends. Because we were re-allocating the data the original memory location
	was already freed resulting in a double free error when the engine tries to
	free the argument as it was passed to the function.
2006-03-15 12:20:49 +00:00
Dmitry Stogov
d3e5691b41 Added E_STRICT warning in case of calling non-static method from incompatible context (this feature is staying for BC with php-4) 2006-03-15 11:15:20 +00:00
Derick Rethans
52bec1ea36 - Reduce space in serialization. The first 128 bytes will now use just the
character and everything above will use \uXXXX. It seems that unserialize
  doesn't work at all yet on the U: element so that I added to my to-do list.
2006-03-15 09:50:47 +00:00
Dmitry Stogov
d51599dfcd Eliminated run-time constant fetching for TRUE, FALSE and NULL 2006-03-15 09:04:48 +00:00
Dmitry Stogov
a623645b6f Fixed "zend_vm_gen.php --without-specializer" 2006-03-15 08:06:51 +00:00
d06e1f49b6 ChangeLog update 2006-03-15 06:31:57 +00:00
Sara Golemon
df77705572 Switch (zstr) casts to use ZSTR() macro. 2006-03-15 00:28:57 +00:00
Omar Kilani
6d841fe6a0 Mark as stable. 2006-03-15 00:15:05 +00:00
Sara Golemon
b576354982 More stream updates.
fgets() will work now as will anything which calls one of the
_php_stream_get_line() family of functions.
The one exception here is when the legacy defines are used on a unicode
stream.  At the moment they'll simply return NULL, I'll update these
to do sloppy conversion in a bit.

'make (u)test' still doesn't work, but it's a different doesn't work.
2006-03-14 21:15:05 +00:00
Pierre Joye
09ad6a6713 - initial commit, feel free to change/adapt 2006-03-14 16:28:35 +00:00
Dmitry Stogov
e4aa6e302e Fixed bug #35988 (Unknown persistent list entry type in module shutdown) 2006-03-14 15:16:27 +00:00
Antony Dovgal
49ec971d85 add brackets and clarity 2006-03-14 15:14:59 +00:00
Ilia Alshanetsky
24d06926d4 MFB51: Fixed offset/length parameter validation in substr_compare() function. 2006-03-14 14:55:27 +00:00
Dmitry Stogov
663ba73ca2 Fixed bug #36568 (memory_limit setting on win32 has no effect) 2006-03-14 14:19:19 +00:00
Dmitry Stogov
72acb65b24 zend_hash_apply() doesn't use ZEND_HASH_APPLY_... macros 2006-03-14 11:24:30 +00:00
Dmitry Stogov
b7933917f6 "jump" -> "goto" 2006-03-14 11:20:19 +00:00
Edin Kadribasic
7b156d6236 MFB: Fixed build 2006-03-14 11:14:05 +00:00
Edin Kadribasic
bcf85422c2 MFB: more verbose phpinfo() output 2006-03-14 11:04:13 +00:00
79f91078ef ChangeLog update 2006-03-14 06:31:48 +00:00
Pierre Joye
ff2822a82b - MFB: #36697, truecolor image lost im->transparent 2006-03-14 03:46:59 +00:00
Marcus Boerger
9eebea0a45 - Fix tests 2006-03-13 22:59:36 +00:00
Marcus Boerger
8f09deab58 - Cleanup 2006-03-13 22:54:05 +00:00
Sara Golemon
04df7e3bdc Make php_stream_write_buffer() return characters written, not bytes 2006-03-13 20:54:06 +00:00
Seiji Masugata
8c8ac4802b fixed compiler warning. 2006-03-13 15:04:03 +00:00
Derick Rethans
f7bfe18307 This makes file_put_contents() work for:
<?php
    declare(encoding="latin1");
    $a = "1234å67890";
    file_put_contents( "/tmp/testuc.1", $a);
    file_put_contents( "/tmp/testuc.2", (string) $a);

    $context = stream_context_create();
    stream_context_set_params($context, array( "output_encoding" => "latin1" ) );
    file_put_contents( "/tmp/testuc.3", $a, FILE_TEXT, $context);
    file_put_contents( "/tmp/testuc.4", (string) $a, FILE_TEXT, $context);
?>

But it still throws a warning on ".3". It's a small design issue that I
didn't want to touch right now.
2006-03-13 15:01:44 +00:00
Ilia Alshanetsky
fef63cd5e5 MFB51: Added overflow checks to wordwrap() function. 2006-03-13 14:37:32 +00:00
Dmitry Stogov
78aed20223 Optimized cleanup loops on request shutdown 2006-03-13 11:13:55 +00:00
Dmitry Stogov
c23806d331 Fixed realpath() cache for main script with FastCGI SAPI 2006-03-13 09:36:05 +00:00
29bc693710 ChangeLog update 2006-03-13 06:31:48 +00:00
Sara Golemon
48798021b5 Refactor streams layer for PHP6.
Don't be frightened by the size of this commit.
A significant portion of it is restoring the read buffer semantics back
to what PHP4/5 use.  (Or a close aproximation thereof).

See main/streams/streams.c and ext/standard/file.c for a set of
UTODO comments covering work yet to be done.
2006-03-13 04:40:11 +00:00
Ilia Alshanetsky
fe2842d21b MFB51: As per agreement during PDM, remove the E_STRICT deprecation notice
from "var".
2006-03-12 16:53:41 +00:00
Marcus Boerger
946c955ce7 - Fix ReflectionParameter
. Reintroduce getClass()
  . Change getDeclaringClass() to return what it suggests
  . Add getDeclaringFunction()
  . Add getPosition()
# This also fixes Bug #36687 ReflectionParameter::getDeclaringClass returns
# wrong result
2006-03-12 15:34:46 +00:00
Marcus Boerger
352d4a6d8c - Prefix test names
- Add missing skipif
2006-03-12 12:11:22 +00:00
Rui Hirokawa
3b5a116511 fixed a possible null injection caused by missuse of mbstring.substitute_character. 2006-03-12 07:54:03 +00:00
4a46c50e71 ChangeLog update 2006-03-12 06:31:43 +00:00
Marcus Boerger
2275036bd0 - Fix writing faillog with redirected tests 2006-03-11 18:13:13 +00:00
Marcus Boerger
aa4140d7c2 - Fix test results with redirected tests 2006-03-11 17:57:40 +00:00
Marcus Boerger
d0b0dfd991 - Load list of extensions to test from php that is being tested rather than
from php running the tests
- When executing both unicode and native modes then show the type of test
  in the reult list (PASS:U, PASS:N, etc)
2006-03-11 16:54:11 +00:00
e93bc50c22 ChangeLog update 2006-03-11 06:31:48 +00:00