Commit Graph

22855 Commits

Author SHA1 Message Date
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
Rui Hirokawa
d2f002eed9 changed for ZTS mode. 2003-08-23 08:59:47 +00:00
Rui Hirokawa
697ce0776f revert my patch. 2003-08-23 08:27:46 +00:00
Rui Hirokawa
c8b525859d strcasecmp macro moved to mbfl_compat.h. 2003-08-23 08:26:46 +00:00
Rui Hirokawa
e4f5e1da6d remove unnessesary files. 2003-08-23 06:51:16 +00:00
Rui Hirokawa
48d8c3fba7 removed mbstring/*/config.h. 2003-08-23 06:27:06 +00:00
Rui Hirokawa
a05608dd7b added .cvsignore and README. 2003-08-23 06:20:59 +00:00
Rui Hirokawa
5a80df26f3 @mbfilter is changed to bundled version of libmbfl to prevent LGPL licence problem. mbregex is changed to oniguruma. 2003-08-23 06:18:44 +00:00
d696f1267a ChangeLog update 2003-08-23 00:31:15 +00:00
Wez Furlong
a2a8be88d5 ignore this generated file 2003-08-22 21:47:28 +00:00
Wez Furlong
ec8a5e7b8d provide general hook for exporting symbols from php4ts.dll 2003-08-22 21:45:58 +00:00
Ilia Alshanetsky
d52172ad89 Fixed bug #25127 (reset memory_limit before terminating the request) 2003-08-22 20:01:53 +00:00
Ilia Alshanetsky
f94b536bc8 Replace *magic number* with a much nicer define. 2003-08-22 18:50:12 +00:00
Brian France
ab2ebdb49b Updated PHP_API_VERSION to 20030820 for the php_setcookie api change 2003-08-22 16:43:29 +00:00
Wez Furlong
21329c5e0c allow building without libxml2 under win32 2003-08-22 15:04:29 +00:00
Ilia Alshanetsky
c29e30d3af Set 2147483647 as the module number of user defined constants
Fixed a few bugs and cleaned up get_defined_constants().
2003-08-22 02:08:10 +00:00
Ilia Alshanetsky
bccc247a97 Set module id 0 (internal) for constants registered by php_cli in C. 2003-08-22 01:50:02 +00:00
d963f8fea3 ChangeLog update 2003-08-22 00:31:48 +00:00
foobar
384dfde5e5 english is funny 2003-08-22 00:14:21 +00:00
Marcus Boerger
0e32aaa8c6 Add function 'zend_throw_exception(char *message, int duplicate TSRMLS_DC);'
to provide an easy way to throw exceptions for extension developers.
2003-08-21 23:32:13 +00:00
Sara Golemon
1b1d077472 ftp:// wrapper context option: resume_pos 2003-08-21 20:48:34 +00:00
Marcus Boerger
fda38bf2ff If ce not given than any object would do 2003-08-21 15:24:33 +00:00
Marcus Boerger
80b3498839 Paramspec 'O' / zend_parse_method_params(): only if given check the class type 2003-08-21 14:39:17 +00:00
Marcus Boerger
304f37fb80 Fix parameter spec 2003-08-21 14:34:07 +00:00
Jon Parise
34821ed474 Under FreeBSD, statfs(2) requires both <sys/mount.h> _and_ <sys/param.h>.
The autoconf check for <sys/mount.h> was failing because <sys/param.h>
wasn't being universally included.

This gets disk_total_space() and disk_free_space() working again under
FreeBSD.
2003-08-21 06:24:17 +00:00
foobar
bf06717b13 - Proper place, correct formatting.
# Why is this called 'setrawcookie()'? It's not following our naming style..
2003-08-21 04:54:53 +00:00
a060bc75c7 ChangeLog update 2003-08-21 00:31:53 +00:00
Marcus Boerger
1cf91a7ac5 Extensions that do opcode hooking must provide the removed functions/macros
themselves now.
2003-08-21 00:10:49 +00:00
Brian France
bef97f89a3 - Added new setrawcookie function (bfrance) 2003-08-20 23:28:30 +00:00
Zeev Suraski
1e70f45112 adhere to silence 2003-08-20 23:27:04 +00:00