Commit Graph

22841 Commits

Author SHA1 Message Date
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
Zeev Suraski
7b4ec88d76 No need for those code blocks anymore... 2003-08-20 23:00:08 +00:00
Ard Biesheuvel
84f995903b Fix false warning on zero-size BLOB fetch 2003-08-20 22:59:33 +00:00
Marcus Boerger
56e8757d77 Fix counting number of leaks 2003-08-20 22:15:01 +00:00
Sara Golemon
6f88d49d6c Add resume_pos (resume position) context option for restarting file downloads. 2003-08-20 21:59:29 +00:00
Brian France
d50e0bf4de Added a parameter to php_setcookie to toggle URL encoding of the cookie data
Added the function setrawcookie that turns off URL encoding of the cookie data
Changed setcookie to turn on the URL encoding of the cookie data
2003-08-20 20:51:10 +00:00
Ard Biesheuvel
27582c4862 Reuse result data structure and resource id for consecutive executions
of a prepared query
# As previous resources are invalidated anyway because their statement
# handle is reused, we don't have to allocate a new result for every
# execution of a prepared query
2003-08-20 19:47:00 +00:00
Brad House
f0bf9dd62d allow destructor to clean up connection data 2003-08-20 19:45:07 +00:00
Rob Richards
d7e6bdaa0f fix infinite loop in normalize 2003-08-20 18:58:03 +00:00
Rob Richards
20a878dc60 doc must be copied when importing stylesheet
libxslt uses the _private for processing
2003-08-20 17:58:55 +00:00
Ilia Alshanetsky
ece0a731e9 Fixed bug #25170 (Problem with generation of random numbers on solaris) 2003-08-20 16:40:22 +00:00
Ard Biesheuvel
d70f744a63 Moved transaction defaults to header file 2003-08-20 16:13:51 +00:00
Ard Biesheuvel
8f869998b5 Cleaned up _php_ibase_var_zval() 2003-08-20 13:02:26 +00:00
Ard Biesheuvel
551526812b Fix Win32 build 2003-08-20 12:40:59 +00:00
Ard Biesheuvel
1b8e0440d2 Moved some local vars to stack 2003-08-20 12:40:05 +00:00