Commit Graph

5337 Commits

Author SHA1 Message Date
Antony Dovgal
c7639e9e19 add USTR_VAL() access zstr value 2006-07-14 10:31:32 +00:00
4fcd7e4c1e ChangeLog update 2006-07-14 01:30:53 +00:00
Andrei Zmievski
2fbc36496f - Let the caller output a warning instead of having
zend_get_unified_string_type() do it.
- Mark a few more functions are Unicode compatible.
2006-07-13 21:27:48 +00:00
1e9e63e56c ChangeLog update 2006-07-13 01:31:09 +00:00
Antony Dovgal
4343311203 get rid of more "might be uninitialized" warnings 2006-07-12 21:14:11 +00:00
Antony Dovgal
527f93f25d make sure return_value_used is always initialized 2006-07-12 21:07:07 +00:00
Antony Dovgal
90d62b46a0 initialize EG(exit_status) 2006-07-12 21:03:07 +00:00
Andrei Zmievski
b8e488ecd5 No need for TSRMLS_FETCH(). 2006-07-12 19:34:55 +00:00
Andrei Zmievski
2c8398fe81 Implement convert_to_unicode_with_converter() and adjust zval_* APIs. 2006-07-12 17:35:06 +00:00
Andrei Zmievski
ed77c07a35 Commit Sara's patch for supporting filesystem enccoding in
include/require.
2006-07-12 17:04:13 +00:00
Antony Dovgal
1fb6a441d7 fix argument parsing utilities
test before commit?
2006-07-12 10:13:13 +00:00
Dmitry Stogov
f5a2224ca3 Fixed bug #36759 (Objects destructors are invoked in wrong order when script is finished) 2006-07-12 07:54:18 +00:00
Sara Golemon
f541962338 Fix typo/Syntax error 2006-07-12 04:20:02 +00:00
516df2ce97 ChangeLog update 2006-07-12 01:30:53 +00:00
Andrei Zmievski
a1fcfe3693 Remove unused 'y' specifier. 2006-07-11 22:53:10 +00:00
Andrei Zmievski
b41169d4e7 Rename to a more explanatory macro. 2006-07-11 16:59:42 +00:00
Dmitry Stogov
b52137a828 Fixed memory leak in case of exception in iterator callbacks in 'foreach(new Iterator()...' (spl/tests/iterator_047.phpt). 2006-07-11 08:52:44 +00:00
0395649b41 ChangeLog update 2006-07-11 01:31:00 +00:00
Andrei Zmievski
637f602822 Optimize zero-arg case for parameter parsing. No more need for manual
checks.
2006-07-10 23:06:33 +00:00
Andrei Zmievski
78f5e9f0a1 Include uclean.h header. 2006-07-10 23:06:17 +00:00
Antony Dovgal
b062531746 nuke unused variable 2006-07-10 13:53:47 +00:00
ce4c6d1657 ChangeLog update 2006-07-10 01:30:51 +00:00
Marcus Boerger
5fc72b98fa - Add missing test name prefix 2006-07-10 00:35:24 +00:00
Marcus Boerger
97b35cabb0 - Drop unused var 2006-07-10 00:32:23 +00:00
Marcus Boerger
871395174b - Add new test 2006-07-10 00:10:14 +00:00
Marcus Boerger
032dfa1bc4 - Fix issues with __get() returning arrays (might need to be revised) 2006-07-10 00:07:36 +00:00
Marcus Boerger
2de6065591 - Fixed Bug #37811 define not using toString on objects 2006-07-09 22:40:10 +00:00
Marcus Boerger
3173828d9e - Reword comment 2006-07-09 18:03:17 +00:00
Marcus Boerger
9de66765b8 - Fix issue with comparing objects with objects 2006-07-09 18:01:42 +00:00
Marcus Boerger
2c6b8329e7 - Drop dead code 2006-07-09 17:11:32 +00:00
Marcus Boerger
f94e3cc3ba - Add new test 2006-07-09 17:02:34 +00:00
Marcus Boerger
93a1d862f8 - Fix comparision edgecases involving objects (Tony, Marcus)
- Use ZVAL_LONG() where appropriate
2006-07-09 16:57:35 +00:00
Marcus Boerger
a37f9719e2 - Fix test 2006-07-09 16:56:07 +00:00
86c132acb9 ChangeLog update 2006-07-07 01:30:57 +00:00
Antony Dovgal
de23c325e9 add test 2006-07-06 16:17:12 +00:00
Sara Golemon
aee52fa3ea Silence FETCH_OBJ_IS / undefined notices 2006-07-06 15:28:05 +00:00
816d280580 ChangeLog update 2006-07-06 01:30:52 +00:00
Antony Dovgal
cbeedda2db export zend_std_get_constructor() 2006-07-05 11:41:09 +00:00
Antony Dovgal
636e7be681 improve error messages 2006-07-05 11:38:13 +00:00
58b222b625 ChangeLog update 2006-06-29 01:31:01 +00:00
Andrei Zmievski
619350f27c Rename unicode_semantics to unicode.semantics. 2006-06-28 14:13:13 +00:00
b4b3b66f4c ChangeLog update 2006-06-28 01:30:54 +00:00
Antony Dovgal
40a9bb96a6 add new tests 2006-06-27 21:09:50 +00:00
Antony Dovgal
5a816e0f20 no need to throw E_ERROR here, E_WARNING is more than enough 2006-06-27 19:58:27 +00:00
2a36d0eea6 ChangeLog update 2006-06-23 01:30:48 +00:00
Antony Dovgal
4c9b3450df fix typo 2006-06-22 21:24:12 +00:00
cedefd12d5 ChangeLog update 2006-06-22 02:29:26 +00:00
Andrei Zmievski
e875205714 Implement user conversion error handler support. Works as normal error
handler, in that it can return false to make the default one take over.
Handler signature is:
  user_handler($direction, $encoding, $char_byte, $offset, $message)

Also removed support for using exceptions in default error handler.
2006-06-21 20:17:21 +00:00
Andrei Zmievski
37972451f8 Implement unicode_set_error_handler() / unicode_restore_error_handler().
The error handler doesn't do anything yet. (vaporware)
2006-06-20 23:00:02 +00:00
Andrei Zmievski
5e64063b1c Plug memory leak in set_exception_handler(). 2006-06-20 22:50:49 +00:00
Antony Dovgal
59e16e52de init variables 2006-06-20 13:28:02 +00:00
Antony Dovgal
a896c54e2f fix tests 2006-06-20 12:50:52 +00:00
Marcus Boerger
55086233ce - Arginfo fix (Hannes) 2006-06-13 20:56:52 +00:00
Dmitry Stogov
2cbde06400 Added automatic module globals management. 2006-06-13 13:11:42 +00:00
Stefan Esser
08e355e39e Added hook for compile_string() 2006-06-13 12:56:20 +00:00
Marcus Boerger
9b29f1a3f4 - Fix memleaks (by nuno) 2006-06-12 22:48:46 +00:00
Andrei Zmievski
8eb6c59e10 Be more explicit. 2006-06-12 17:06:39 +00:00
Dmitry Stogov
4ef9b25370 Proper fix for bug #37707 ("clone $x" must call __clone() enven if result value is not used) 2006-06-08 08:56:47 +00:00
Dmitry Stogov
de90af4ddc Wrap "wrong" unreachable code with "#if 0" 2006-06-08 08:38:11 +00:00
Ilia Alshanetsky
72a4a1362a MFB: Fixed bug #37707 clone without assigning leaks memory 2006-06-07 13:43:13 +00:00
Marcus Boerger
09cbc2479e - Regenerated after zend_vm_def.h change 2006-06-07 09:25:04 +00:00
Marcus Boerger
646a613ebf - Fix issue with interfaces being inherited multiple times 2006-06-07 09:23:58 +00:00
Marcus Boerger
f2a8d8cb83 - Fix issue with interfaces being inherited multiple times 2006-06-07 09:20:02 +00:00
762603f66c ChangeLog update 2006-06-07 05:32:04 +00:00
Antony Dovgal
35949de5b1 revert by Andi's request 2006-06-06 14:16:53 +00:00
Antony Dovgal
65d8dabdd0 fix test 2006-06-06 11:34:40 +00:00
Antony Dovgal
4bf982eba4 do not allow to implement the same interface twice
add tests
2006-06-06 10:02:28 +00:00
ddee780752 ChangeLog update 2006-06-06 05:31:56 +00:00
f8739f4496 ChangeLog update 2006-06-05 05:31:56 +00:00
Marcus Boerger
45c1713762 - Fix function flag check 2006-06-04 10:23:25 +00:00
a89e7447bf ChangeLog update 2006-06-04 05:31:56 +00:00
Marcus Boerger
3350fd0fd1 - Revert - Needs further discussing 2006-06-03 11:41:29 +00:00
Marcus Boerger
c870888d06 - Printable is supposed to return nativ/unicode depending on ini setting 2006-06-03 11:01:40 +00:00
fae653bf48 ChangeLog update 2006-06-03 05:31:59 +00:00
Dmitry Stogov
916a317385 SAPI globals are destroied at this point and reporting errors about memory leaks
can cause crash.
2006-06-02 13:31:38 +00:00
136d3c6fbe ChangeLog update 2006-06-02 05:31:58 +00:00
Antony Dovgal
de4a8eed86 add new tests 2006-06-01 11:57:39 +00:00
Antony Dovgal
57566a78b5 throw a warning when using invalid offset types with strings 2006-06-01 11:56:23 +00:00
e24b4215ea ChangeLog update 2006-06-01 05:31:55 +00:00
Antony Dovgal
3a4028c39e fix error message in Unicode mode 2006-05-31 18:59:42 +00:00
Antony Dovgal
8d9ad7511d add more tests 2006-05-31 18:58:27 +00:00
Antony Dovgal
1fdb254591 add tests for new E_FATALs 2006-05-31 14:55:16 +00:00
Dmitry Stogov
4e662470f7 Keeping consistent arg_stack during arguments freeing (Exception from destructor may use inconsistent arg_stack for backtrace). 2006-05-31 13:02:15 +00:00
Dmitry Stogov
75fac72dc5 Support for nested exceptions and fatal errors in destructors 2006-05-31 12:59:45 +00:00
988acbf86a ChangeLog update 2006-05-31 05:31:57 +00:00
Marcus Boerger
1a76b61bef - Fix test logic 2006-05-30 23:10:55 +00:00
Marcus Boerger
d33e4dfe1e - WS 2006-05-30 19:40:19 +00:00
0389fb190d ChangeLog update 2006-05-30 05:31:57 +00:00
Antony Dovgal
2acd363bbe there is no ce at this point, revert this line to its previous state
See also: http://news.php.net/php.zend-engine.cvs/4931
2006-05-29 21:28:15 +00:00
Marcus Boerger
17912b4f1e - Bugfix #37632 (Protected method access problem) 2006-05-29 19:57:43 +00:00
7ed1649017 ChangeLog update 2006-05-29 05:31:56 +00:00
Johannes Schlüter
80cff030da - Fix printf modifier 2006-05-28 19:45:02 +00:00
a256df46bc ChangeLog update 2006-05-28 05:31:56 +00:00
Marcus Boerger
5925a26275 - Take care of refcounting in zend_fcall_info_*() functions
- Add docu
# I know it is unpopular to add docu here but i think we should add more
2006-05-27 19:40:06 +00:00
Marcus Boerger
f93bf1007a - WS 2006-05-27 19:04:16 +00:00
Johannes Schlüter
341ffb3f3d - Fix #37614 (Class name lowercased in error message) 2006-05-27 17:58:50 +00:00
ec0c3e853f ChangeLog update 2006-05-27 05:31:57 +00:00
Marcus Boerger
9265545992 - Fix bug #37212 (Access to protected property of common base class)
By adding "zend_class_entry *ce" to struct zend_property_info;
# Besides closing the bug this patch allows to optimize a bunch of
# property handling optimizations. I need to find out what all can be
# optimized. All other tests relevant to class handling still PASS.
2006-05-27 02:12:43 +00:00
Marcus Boerger
ffc4fbb91f - There are no abstract static methods in classes, use interfaces 2006-05-27 01:56:42 +00:00
ad466c9e7c ChangeLog update 2006-05-26 05:31:57 +00:00