Commit Graph

10651 Commits

Author SHA1 Message Date
Marcus Boerger
b70cf40742 Goodbye namespaces 2003-06-04 20:54:48 +00:00
Ilia Alshanetsky
a8c7c3bc5e No need to dupe macro 2003-06-04 14:58:20 +00:00
Moriyoshi Koizumi
12ecc6ca1e Fixed base64_encode() integer overflow issue pointed out in TODO_SEGFAULTS 2003-06-04 14:41:45 +00:00
Moriyoshi Koizumi
0f1f635d00 Fixed ob_iconv_handler() type mismatch issue on 64bit platforms.
Patch by Joe Orton <jorton@redhat.com>
2003-06-04 14:29:43 +00:00
Hartmut Holzgraefe
55e2bbecfa mime_content_type() now also accepts open streams as argument
streas have to bee seekable, the stream position is reset to
its original value using ftell and fseek after operation
2003-06-04 14:21:40 +00:00
foobar
fde80076ec No C++ comments and extra tabs. 2003-06-04 05:45:54 +00:00
foobar
b2ee53106f MFB: fix build 2003-06-04 05:32:03 +00:00
Ilia Alshanetsky
f2a9f31160 GD 2.0.15 sync 2003-06-04 00:20:19 +00:00
Ilia Alshanetsky
e1b8cad26f Syncronize bunbled GD with gd 2.0.14 2003-06-03 23:54:56 +00:00
Ilia Alshanetsky
c13be6e6d5 Last set of integer overflow checks. 2003-06-03 23:42:31 +00:00
Ilia Alshanetsky
7a35766dec Integer overflow checks. 2003-06-03 23:23:21 +00:00
Sterling Hughes
a148878752 god bless valgrind.
fix double free where object is prematurely dtor'd. I should probably convert
the simplexml nodes over to this system too.  Actually the new dom extension
and everywhere else should use the same type of methods.. :)
2003-06-03 19:36:20 +00:00
Edin Kadribasic
a96ab2a090 MFB 2003-06-03 12:47:49 +00:00
Hartmut Holzgraefe
c83ed19a7b handle return value for "no matches" on systems that don't return
GLOB_NOMATCH consistent to those that do (return array(), not FALSE)
2003-06-03 11:01:16 +00:00
Ilia Alshanetsky
55676c662a Fixed bug #23912 (Invalid CSS in phpinfo() output) 2003-06-03 00:06:01 +00:00
Rob Richards
df62ddd213 Fix for 64 bit platforms (by Joe Orton) 2003-06-02 18:57:59 +00:00
Wez Furlong
1011d196b1 Add "seekable" flag to stream_get_meta_data()
# Caveat Emptor: some streams don't know if they are seekable until
# sometime tries to seek first (user streams).
2003-06-02 16:36:10 +00:00
Sebastian Bergmann
572504845d Leftover. 2003-06-02 15:53:09 +00:00
Sebastian Bergmann
1fe874fbb8 Leftover. 2003-06-02 15:42:34 +00:00
Daniela Mariaschi
234e7a3fed Fixed numeric/decimal +/-(x,y) +/-(x,0)
for all platforms
2003-06-02 12:37:16 +00:00
foobar
8282bd0117 - No c++ comments in c code.. 2003-06-02 11:42:39 +00:00
Sterling Hughes
0ecbdc55a1 earn my keep and allow one to register a namespace name to access a namespace
value.
2003-06-01 19:46:19 +00:00
Marcus Boerger
9211aed984 Simplify by using __METHOD__ 2003-06-01 16:41:53 +00:00
Sterling Hughes
287d5f277e don't do this on startup, lazy initialize it. This takes up > 17% of load
time in CGI mode
2003-06-01 02:29:28 +00:00
Marcus Boerger
cc629666e8 - fix one warning
- fix some commit by accident?
# did someone here mix c and php code ?
2003-05-31 22:03:57 +00:00
Marcus Boerger
80bdb812e1 Fix precondition 2003-05-31 15:22:42 +00:00
Marcus Boerger
7d78168c7b Classes are neither interfaces nor necessarily abstract 2003-05-31 15:20:11 +00:00
Marcus Boerger
d1c19eb5a1 Fix tests 2003-05-31 13:10:00 +00:00
Marcus Boerger
a7d485143c Update 2003-05-31 12:54:20 +00:00
Moriyoshi Koizumi
2efc619dae Fix test 2003-05-31 07:17:35 +00:00
Georg Richter
82afbdc281 additional check for unsecure connect options 2003-05-31 07:05:34 +00:00
foobar
bfe9e39673 MFB: fix proto 2003-05-31 02:33:55 +00:00
foobar
ed1378a975 MFB: Always send a new session cookie upon regenerating id 2003-05-31 02:33:21 +00:00
foobar
935672787a MFB 2003-05-31 02:30:50 +00:00
Ilia Alshanetsky
32a0044a21 Fixed bug #23913 (make rename() work across partitions on *nix) 2003-05-31 00:32:45 +00:00
Marcus Boerger
ed09fed5cb Removed parts committed by mistake 2003-05-30 19:57:13 +00:00
Marcus Boerger
95530c61bf Better fix for default connection handling.
# Problems noticed by Jay with the help of Sascha's nice little script.
2003-05-30 19:12:26 +00:00
Jay Smith
a79c751ae2 Relying on longer matches seems to work better than
matching the whole string with ^...$.
2003-05-30 19:06:34 +00:00
Marcus Boerger
6f524ac9f1 Use safe_estrdup() instead.
# Thanks Sascha i didn't knew about that thing.
2003-05-30 18:59:49 +00:00
Marcus Boerger
07ba5f6c9e Fix handling of ini settings 2003-05-30 17:46:57 +00:00
Marcus Boerger
1eec984976 Fix handling of default links 2003-05-30 16:51:00 +00:00
Marcus Boerger
3dbe16cac4 Fix notice handling 2003-05-30 15:42:46 +00:00
Marcus Boerger
680653fecb - Fix ini handling in ZTS mode 2003-05-30 15:07:02 +00:00
Ilia Alshanetsky
ded4aadde0 Fixed bug #23898 (Proper handling of NULLs in odbc_result, odbc_fetch_into
and odbc_result_all)
2003-05-30 14:44:15 +00:00
Ilia Alshanetsky
209bba391b Fixed bug #23888 (Missing input validation for flags parameter) 2003-05-30 14:08:14 +00:00
Moriyoshi Koizumi
a51ab0fed0 Fixed bug #23894 (sprintf() decimal specifiers problem) 2003-05-30 13:49:33 +00:00
Moriyoshi Koizumi
3c0071a211 Added test case for bug #23894 2003-05-30 13:48:14 +00:00
Ilia Alshanetsky
ff5fc53c5e Fixed bug #23897 (Fixed a check for mbfilter_ru.h) aleks@m2media.ru 2003-05-30 13:20:01 +00:00
Marcus Boerger
25704f0753 Fix memleaks (detected by rrichards@php.net) 2003-05-30 12:28:48 +00:00
Adam Dickmeiss
8c7c16509b Prevent yaz from logging unless yaz.log_file is set 2003-05-30 09:48:50 +00:00
Marcus Boerger
5b32cdc5a0 Fix last commit 2003-05-29 23:55:07 +00:00
Marcus Boerger
90640a7774 Optimize 2003-05-29 23:44:22 +00:00
Ilia Alshanetsky
493633d16f Fixed compiler warnings. 2003-05-29 23:39:41 +00:00
Marcus Boerger
57ceaebe8a Make use of ze2 code 2003-05-29 23:34:23 +00:00
Marcus Boerger
283f52f415 Optimize interface checks 2003-05-29 21:08:08 +00:00
Marcus Boerger
a13edb62d5 Fix builddir entry 2003-05-29 14:01:21 +00:00
Marcus Boerger
97a9bf4dd1 MFB 2003-05-29 12:54:01 +00:00
Marcus Boerger
afc3b8b6dc MFB (these parts were missing) 2003-05-29 12:33:19 +00:00
Ilia Alshanetsky
fbc32ea828 Fixed compiler warnings. 2003-05-28 22:21:13 +00:00
Rasmus Lerdorf
8effacb144 MFB 2003-05-28 16:19:08 +00:00
Hartmut Holzgraefe
fb232d96c9 @fdf crash with ZTS builds fixed (see Bug #14877) 2003-05-28 09:40:32 +00:00
Hartmut Holzgraefe
cad89fa5a0 FDF test cases 2003-05-28 09:35:45 +00:00
Ilia Alshanetsky
4a240c6a50 Fixed compiler warnings. 2003-05-28 01:04:06 +00:00
Sterling Hughes
94136f0ccd fix __clone()
add schema support
2003-05-27 22:15:17 +00:00
Sterling Hughes
c60879dbb9 plane hacking 2003-05-27 18:41:02 +00:00
foobar
3c2f9fd5c0 MFB: php_error_docref -> zend_error (MINIT) 2003-05-27 17:24:59 +00:00
Adam Dickmeiss
7e28c28bf1 Fix close of log file. Ensure that YAZ log file is reset too 2003-05-27 09:47:27 +00:00
Ilia Alshanetsky
8dc90d446f Fix compiler warnings. 2003-05-27 00:50:00 +00:00
Melvyn Sopacua
e4006659b2 MFB: LC_MESSAGES support 2003-05-27 00:42:39 +00:00
Marcus Boerger
e525904c8e For now that works.
# However some of the register stuff must be moved to the engine.
# And inside the engine some fixes are needed, too.
2003-05-27 00:14:04 +00:00
Moriyoshi Koizumi
3cd1ea3154 Changed the test so it would not fail on some old platforms. 2003-05-26 22:16:14 +00:00
Marcus Boerger
6d913a3bfc - Fix handling of abstract methods. They must be inherited when inheriting
a method.
- Fix entry more (should be amed has_more).
- Add a check against that bug.
2003-05-26 22:06:49 +00:00
Sterling Hughes
afc2196715 add support for querying nodes with xpath expressions. 2003-05-26 03:57:41 +00:00
foobar
380bf699ae Added regression test for bug #23788 2003-05-26 03:55:08 +00:00
Sterling Hughes
3c511d9f24 add namespace support 2003-05-26 02:42:41 +00:00
Shane Caraveo
e3e22511b1 one more define to make it load into php 2003-05-26 02:28:20 +00:00
Shane Caraveo
ea1437d711 get rid of crudy stuff 2003-05-26 02:19:14 +00:00
Shane Caraveo
8e58169364 now builds on windows 2003-05-26 02:18:38 +00:00
Sterling Hughes
fb14866796 add a new function simplexml_load_string() 2003-05-26 01:41:25 +00:00
Sterling Hughes
1410e81847 several changes improvements, including the new
simplexml_save_document_string() function which saves a XML document to a
string variable
2003-05-26 01:37:02 +00:00
Sterling Hughes
97b5a5df4f sascha points out this is more purdy-like 2003-05-26 01:03:51 +00:00
Sterling Hughes
3192da2d2b this is right
but it shouldn't be
2003-05-26 00:27:30 +00:00
Sterling Hughes
ad509c690a add a note, and implement this properly later 2003-05-25 22:03:47 +00:00
Sterling Hughes
bb2a324b65 use proper types 2003-05-25 21:58:09 +00:00
Sterling Hughes
3d62c3ebb7 remove compiler warnings 2003-05-25 21:50:30 +00:00
Ilia Alshanetsky
2e361db1fe Fixed bug #23788 (str|preg_replace clober the array elements).
# Should this be MFBed to 4.3 branch?
2003-05-25 21:48:57 +00:00
Sterling Hughes
cf8a7bd235 add/fix assignments for both nodes and attributes
add a working get_property_ptr construct
2003-05-25 21:44:54 +00:00
Marcus Boerger
0b4cbe26a7 Add a testcase to foreach/break 2003-05-25 19:24:29 +00:00
Marcus Boerger
13f50103ae Make foreach on spl'ed objects work with break, too 2003-05-25 19:10:44 +00:00
Marcus Boerger
2f0ea97617 Speling 2003-05-25 12:10:48 +00:00
Sebastian Bergmann
70fa1ff7f5 Hopefully get correct display of version information. 2003-05-25 07:23:41 +00:00
Marcus Boerger
21bbfb503e Optimizations 2003-05-25 01:36:50 +00:00
Sterling Hughes
981f5051a9 exploit the not yet committed, not yet shown cast_object() object callback.
this makes simplexml the mostest bestest xml extension in the whole wide
world.
2003-05-25 00:05:30 +00:00
Marcus Boerger
96034f390b Optimizing by caching class entries, too.
# The comment block inside ZEND_EXECUTE_HOOK_FUNCTION(ZEND_FE_FETCH)
# is a tricky way to create result = array(key => value) very fast.
# But it is close to overoptimizing.
2003-05-24 21:02:33 +00:00
Marcus Boerger
0b0e0e9511 Update after fix 2003-05-24 17:12:58 +00:00
Marcus Boerger
e035046ac2 Add new test 2003-05-24 17:10:34 +00:00
Marcus Boerger
3b2fa8bb96 Fix namespace related problems 2003-05-24 17:10:03 +00:00
Marcus Boerger
135415ca8f fix error resulting from strlen() -> sizeof() change in engine macros 2003-05-24 15:51:24 +00:00
Marcus Boerger
29a5535394 Fixes and optimizations 2003-05-24 13:47:49 +00:00
Marcus Boerger
7ff718f455 Make this a warning 2003-05-23 20:51:49 +00:00
foobar
a747e1b768 added another test case (due to the problems we saw with 4.3.2RC4) 2003-05-22 23:59:37 +00:00
Derick Rethans
48041d4d7f - Fixed bug #23751: Confusing configure warning concerning required cURL
version
2003-05-22 13:08:49 +00:00
Sterling Hughes
d844c2841d rename namespace to use_namespace to avoid a c++ keyword conflict
fix whitespace surrounding the enums, use tabs please :)
2003-05-22 03:29:05 +00:00
Sterling Hughes
bf022fd49f use zval_ptr_dtor() instead of the more verbose and less correct version 2003-05-22 03:08:48 +00:00
Sterling Hughes
8b50ea61a7 take advantage of the fast_call_user_function() api call for all of the
callbacks.
2003-05-22 03:04:11 +00:00
Sterling Hughes
5641234ee2 move all the other callbacks 2003-05-21 23:27:12 +00:00
Sterling Hughes
3de6a7d3b2 switch over to using fast_call_user_function() with the callbacks 2003-05-21 23:15:28 +00:00
Jay Smith
1611ebd45e Fix segfault in pspell_new_config(). Also fix grammar
in error messages.
2003-05-21 23:04:18 +00:00
foobar
bde75d5a12 Fixed bug #23738 (ifx_copy_blob() crash). (Jani) 2003-05-21 22:20:07 +00:00
Sara Golemon
af5e2af752 Setup FG(default_context) in RINIT/RSHUTDOWN instead of fg_ctor/fg_dtor.
Frees context at right time without double freeing.
2003-05-21 21:36:51 +00:00
Sterling Hughes
7d9a4a0ad8 simplexml property modification works now 2003-05-21 20:39:01 +00:00
Derick Rethans
ec02fe98d8 - Fixed example 2003-05-21 20:16:04 +00:00
Sterling Hughes
956676e68c foodle 2003-05-21 20:15:05 +00:00
Sterling Hughes
24eee37fed seems there is only the stupid way to be stupid (implode copying array
elements)
at least we check for IS_STRING, which should clear this up 90% of the time
2003-05-21 17:44:08 +00:00
Sterling Hughes
90ae4e0095 be stupid, but at least be smart about being stupid. 2003-05-21 17:38:17 +00:00
Ilia Alshanetsky
e953bbb257 Added missing open_basedir & safe_mode checks 2003-05-21 17:04:08 +00:00
Rasmus Lerdorf
18954d8bd2 Remove bogus commit here too 2003-05-21 17:02:40 +00:00
Sterling Hughes
8d5c30c14b make brian happy 2003-05-21 16:52:09 +00:00
Sander Roobol
ff36043d14 ob_gzhandler and zlib.output_compression should send a Content-Length
header if the length of the complete compressed  output is known
# MFH follows in a few minutes, please wait with the release :)
2003-05-21 16:05:03 +00:00
Sterling Hughes
18254e85ef ilia's request is my command 2003-05-21 15:47:01 +00:00
Sterling Hughes
c418dd14b5 add an example of modifying the XML tree 2003-05-21 14:06:00 +00:00
Wez Furlong
2d1a6e5dc2 MFB context refcounting and text-mode fopen fixes 2003-05-21 13:33:55 +00:00
Georg Richter
445180f228 MYSQL_NEED_DATA isn't defined anymore in mysql.h 2003-05-21 08:47:27 +00:00
Marcus Boerger
e504166277 This depends on libc and CPU used 2003-05-21 07:23:45 +00:00
Sara Golemon
83b7b75c3c Implement default contexts. For the moment this is useless
but it will be used soon for connection pooling.
2003-05-21 04:04:50 +00:00
Ilia Alshanetsky
b078f60fce Added missing safe_mode checks and corrected a typo in stdout check. 2003-05-21 00:57:34 +00:00
Marcus Boerger
323eedd1b2 Fix build 2003-05-21 00:14:16 +00:00
Frank M. Kromann
03c56a5a1f Fix for bug 23402. Crash when mssql?bind was used incorrectly 2003-05-21 00:08:10 +00:00
Marcus Boerger
e9c10acc76 Fix test (ssen by Dan Torop) 2003-05-20 22:28:10 +00:00
Sterling Hughes
3c6fd35007 initialize these to NULL 2003-05-20 18:18:56 +00:00
Andrei Zmievski
8571f5eac2 Put some guards in place. 2003-05-20 18:11:09 +00:00
Jay Smith
515f0e3f71 Make get_browser() try harder to find better matches. 2003-05-20 17:59:16 +00:00
Dan Kalowsky
53c90b2344 Adding imap_getacl, patch provided by Holger Burbach
(holger.burbach@gonicus.de)
@  Adding imap_getacl functionality.  Function provided by Holger Burbach
2003-05-20 17:37:53 +00:00
Sterling Hughes
9ac50a13d7 convert array functions to use fast_call_user_function(), gives a nice
performance win.
2003-05-20 16:46:53 +00:00
Dan Kalowsky
99a616b0b9 NIL, NULL, same thing, but changing for consistency sake 2003-05-20 16:34:04 +00:00
Brad House
8b3a698ec0 Properly map mcve_text_code to MCVE_TEXT_Code instead of MCVE_TEXT_AVS.
Properly cast MCVE_TTID.
Correct DVAL arguments to MCVE_Gut and MCVE_Gl.
2003-05-20 13:59:04 +00:00
Hartmut Holzgraefe
2bffad8fce zend_is_callable() already checks this ... 2003-05-20 13:36:38 +00:00
Hartmut Holzgraefe
4b7c5cea4b proto and typo fixes 2003-05-20 13:35:13 +00:00
Hartmut Holzgraefe
78b874f85e C++ extensions build fix 2003-05-20 13:32:21 +00:00
Derick Rethans
92d5589a94 - Commit broken support for sxe_properties_get 2003-05-20 13:08:05 +00:00
Derick Rethans
37a9e03654 - Implement two dummy handlers so that var_dump() doesn't crash on it. 2003-05-20 11:17:04 +00:00
Derick Rethans
7dea37a077 - Add Revision to MINFO (I was chasing ghosts ;) 2003-05-20 08:48:18 +00:00
Derick Rethans
813ea0b663 - Make it build with the unbundled libxml again 2003-05-20 08:46:55 +00:00
Sterling Hughes
7e161dafeb data corruption is for sissy boys 2003-05-20 02:12:03 +00:00
Ilia Alshanetsky
31f0d1c949 Added missing safe_mode & open_basedir checks. 2003-05-20 00:37:00 +00:00
foobar
dab706ee2a - Go back to using --disable-xml and --enable-xml
. Require use of --with-libxml-dir and --with-libexpat-dir for ext/xml.
    Allows other extensions to use --with-expat-dir for now.
# still defaults to libxml if --with-libxml-dir and --with-libexpat-dir
# are not used.
2003-05-20 00:20:29 +00:00
Marcus Boerger
daded6e633 Reorganized tests 2003-05-20 00:14:46 +00:00
Marcus Boerger
4a11372805 Fix Test (2nd time) 2003-05-20 00:09:47 +00:00
foobar
5e0a3ed73b Make this build with libxml too. 2003-05-19 23:45:20 +00:00
foobar
f8354b5c5d Align the configure --help texts 2003-05-19 23:43:41 +00:00