Commit Graph

22984 Commits

Author SHA1 Message Date
Marcus Boerger
92e321294c Update 2003-08-25 22:07:28 +00:00
Marcus Boerger
ba4178189b - Fix compile
- Building still not possible
2003-08-25 21:54:26 +00:00
Marcus Boerger
0bd1567fe1 Update exception code 2003-08-25 20:55:14 +00:00
Marcus Boerger
b7d325991d Exceptions work now 2003-08-25 20:54:37 +00:00
Marcus Boerger
3b7d5781de - Simplify php_error_cb()
- Make errors show the class where possible
2003-08-25 20:51:40 +00:00
Rob Richards
2fea999468 fix debug build. use libxml dynamic linking until it can re-export symbols 2003-08-25 10:11:26 +00:00
Greg Beaver
c33ec7ca12 adding me as helper, adding dependency on XML_RPC 1.0.4 and optional dependency on xmlrpc extension - this will change to dependency on XML_RPC 1.0.5 if all of Marshall's ideas are implemented 2003-08-25 06:34:46 +00:00
Greg Beaver
cd0a8b057b my fault - forgot to fix this 2003-08-25 06:16:39 +00:00
foobar
6b7cb7c570 Some minor fixes so that this works with autoconf 2.13 too 2003-08-25 04:08:29 +00:00
Moriyoshi Koizumi
e49c59038c Sync with original 2003-08-25 01:44:17 +00:00
15592ba096 ChangeLog update 2003-08-25 00:32:07 +00:00
Moriyoshi Koizumi
39ae479942 Allow usage of external libmbfl 2003-08-24 22:46:13 +00:00
Marcus Boerger
f9cebab0cb Add missing check 2003-08-24 22:45:59 +00:00
Moriyoshi Koizumi
7fe12aaa17 Integrate allocator code into mbstring.c 2003-08-24 22:15:49 +00:00
Moriyoshi Koizumi
ebcdf6f299 Sync with the original 2003-08-24 20:07:13 +00:00
Marcus Boerger
9603e44eb6 Fix memory source of string duplication for non internal properties 2003-08-24 18:47:11 +00:00
Marcus Boerger
19ec7a09fc - Provide appropriate way to destroy internal zval's.
- Allow internal zval's of type string and disallow complex types.
- Define the default string for extensions at class level instead of ctor.
2003-08-24 17:32:47 +00:00
Marcus Boerger
cec053f707 Don't identify alias'ed functions 2003-08-24 16:35:58 +00:00
Zeev Suraski
ea36fc4143 Use ""'s if you want empty strings. We want to crash on errors. 2003-08-24 16:27:01 +00:00
Zeev Suraski
a9107e2be1 Use pemalloc() 2003-08-24 16:17:45 +00:00
Marcus Boerger
b84e9db3b8 Allow NULL, too 2003-08-24 16:13:23 +00:00
Zeev Suraski
4ac6913801 Get rid of more ^M's - Marcus, please check your CVS client! 2003-08-24 16:09:49 +00:00
Zeev Suraski
8c0c44365a Get rid of more ^M's 2003-08-24 16:09:12 +00:00
Zeev Suraski
cf1750c469 line endings fix 2003-08-24 16:01:57 +00:00
Zeev Suraski
0ac5bbd780 Never, ever, overwrite the refcount element of a connected zval! 2003-08-24 15:59:19 +00:00
Marcus Boerger
e44d0f526c Add dedicated reflection_exception 2003-08-24 15:07:54 +00:00
Marcus Boerger
4e5e7502b8 Allow to throw instances of classes derived from exception 2003-08-24 15:07:00 +00:00
Stefan Roehrich
aa632187cd Fixed bug #25218 ("deflate" compressed pages had a gzip header, which
should only be sent with "gzip" compressed pages).
2003-08-24 13:59:34 +00:00
Stefan Roehrich
8828e17a44 Fixed zlib.output_compression without register_long_vars set. 2003-08-24 13:32:50 +00:00
Marcus Boerger
d3473d1f58 - Provide a unified way to display uncaught exceptions, which shows
file/line/message info if possible.
- Add zend_eval_string_ex() to be able to handle exceptions in eval'd code.
- Use above function to fix memleaks in CLI.
2003-08-24 13:10:03 +00:00
Marcus Boerger
669603f69d Make invoke() work 2003-08-24 12:07:13 +00:00
Marcus Boerger
96d4ac7a3f zend_parse_parameters 'O' works the way we need here 2003-08-24 11:34:01 +00:00
Marcus Boerger
418a7f980c Not needed 2003-08-24 11:28:53 +00:00
Marcus Boerger
d4cf96c524 Make use method macros 2003-08-24 11:25:08 +00:00
Marcus Boerger
eef1b7b1e8 One of PPP is needed, too 2003-08-24 11:24:10 +00:00
Marcus Boerger
bd07968bef - Add Reflection_Function::isAlias
- Use ZEND_ME/ZEND_METHOD
- Fix static entries
2003-08-24 11:11:55 +00:00
Marcus Boerger
1c2512ddea - Add fn_flag ZEND_ACC_ALIAS
- Unify way of function_entry generation by new macro ZEND_FENTRY
2003-08-24 11:09:45 +00:00
Marcus Boerger
3605be8a29 Fix fn_flags handling 2003-08-24 11:07:30 +00:00
Rob Richards
b196c0551e implement stricterrorcheck
fix clonenode
cleanup error routines
forgot these files
2003-08-24 10:24:22 +00:00
Rob Richards
09481c642b implement stricterrorcheck
fix clonenode
cleanup error routines
2003-08-24 10:23:43 +00:00
Rob Richards
ea1b33438a remove document pointer references as doc is now copied 2003-08-24 10:18:08 +00:00
Marcus Boerger
38805f2809 Add property read code and use that in default exception class 2003-08-24 00:36:53 +00:00
b8799ff085 ChangeLog update 2003-08-24 00:32:03 +00:00
Marcus Boerger
c3d60fd7ff Allow zend_throw_exception() to also set the exception code 2003-08-23 19:48:52 +00:00
Marcus Boerger
96fa63d6bf Exception has 4 protected default properties (message,code,file,line).
They are all initialized at c-level constructor correctly.
2003-08-23 19:41:22 +00:00
Marcus Boerger
baaa4c903d Internal classes can now have default properties. 2003-08-23 19:37:39 +00:00
Marcus Boerger
5e77dc44dc Show ctor/dtor information and those don't return anything 2003-08-23 15:47:23 +00:00
Marcus Boerger
fbda310a41 - Flag ctor/dtor methods
- Use this to prevent memleaks when an exception gets thrown in ctors.
# I added the dtor flags for consistency, atm a compareable check in
# isn't necessary for destruction. But anyway i'll use this for the
# Relection API too.
2003-08-23 15:38:58 +00:00
Marcus Boerger
43334207ab Make exception code more robust 2003-08-23 14:22:28 +00:00
Rui Hirokawa
6b92fbdef9 revert previous patch. 2003-08-23 10:04:43 +00:00