Commit Graph

12548 Commits

Author SHA1 Message Date
Andrey Hristov
ab5b9b91d3 proto fixes 2003-06-13 14:59:01 +00:00
Ilia Alshanetsky
de6c599504 Added missing function proto 2003-06-13 14:56:07 +00:00
Ilia Alshanetsky
17861b93bf Fixed bug #24161 (No timeout value for imap functions)
Added imap_timeout() that allows the user to specify as well as retrieve
timeout values and set default timeout values based on the
default_socket_timeout ini setting.
2003-06-13 14:39:22 +00:00
foobar
bb37952bc2 Fixed the SASL config check. 2003-06-13 13:30:46 +00:00
Sascha Schumann
f25ff93cc6 MFB 2003-06-13 09:19:52 +00:00
foobar
9706fcd17f Fix the test. (second session init call produces a notice) 2003-06-13 09:15:56 +00:00
Wez Furlong
b39ff50d9b Add .def file to export the sqlite functions from our win32 dll 2003-06-12 23:22:33 +00:00
Rob Richards
5b19e1ec92 add node->isSupported()
add domimplementation->hasFeature()
add formatOutput property (extends DOM)
call xmlFreeDoc when doc is no longer referenced rather than custom code
save and savexml now format based on formatOutput property
2003-06-12 20:02:05 +00:00
Marcus Boerger
48cc4a7be6 Bugfix #2397: dba_open locking error with db3 2003-06-12 19:53:40 +00:00
Ilia Alshanetsky
a17c5a5fbc Fixed bug #22505 (Allow imap_sort() and imap_search() to specify a charset) 2003-06-12 19:46:44 +00:00
Ilia Alshanetsky
490da4fbb7 Fixed bug #24155 (gdImageRotate270 incorrectly use x parameter for y axis) 2003-06-12 19:31:44 +00:00
Marcus Boerger
3a75403bac License update 2003-06-12 19:30:54 +00:00
Rob Richards
2b8fcfbeab fix some calls to libxml 2003-06-12 17:04:28 +00:00
Andrey Hristov
2d4449caf9 silly bug 2003-06-12 15:11:11 +00:00
Andrey Hristov
792d15ae93 proto fixes
#hope not to be scared again by andrei ;)
2003-06-12 14:04:31 +00:00
Andrey Hristov
b607030b13 proto fixes 2003-06-12 12:35:19 +00:00
Andrey Hristov
03a135a141 proto fix 2003-06-12 12:32:22 +00:00
Andrey Hristov
bbc9134fc4 proto fixes 2003-06-12 12:21:33 +00:00
Andrey Hristov
b8e59bb336 proto fixes 2003-06-12 12:00:20 +00:00
Andrey Hristov
080eaaf573 proto fixes 2003-06-12 11:24:24 +00:00
Andrey Hristov
18cc2a9b4f proto fixes 2003-06-12 10:30:08 +00:00
Andrey Hristov
864f217e20 proto fixes 2003-06-12 10:08:26 +00:00
Ilia Alshanetsky
6e2285dded Added missing safe_mode/open_basedir checks. 2003-06-12 01:47:12 +00:00
Marcus Boerger
76f68f2a51 WS and removing unecessary things 2003-06-11 20:51:14 +00:00
Rob Richards
b2c4882d54 forgot this: set doc for new text node as current may not be in tree 2003-06-11 20:06:03 +00:00
Rob Richards
110920bc7e add isWhitespaceInElementContent()
fix splitText for nodes not in tree
correct links to specs
2003-06-11 19:55:52 +00:00
Rob Richards
aa0afd9307 update messages to require libxsl >= 1.0.18 2003-06-11 19:27:01 +00:00
Rob Richards
73c172cfee add substringData, insertData, deleteData, replaceData
fix reference links to specs
2003-06-11 11:25:08 +00:00
Ilia Alshanetsky
b5dc8f918e fixed proto 2003-06-11 02:16:19 +00:00
Rob Richards
a3128df046 Fixed memleaks 2003-06-10 22:24:54 +00:00
James Cox
f68c7ff249 updating license information in the headers. 2003-06-10 20:04:29 +00:00
Andrey Hristov
3ae8d27176 proto fixes 2003-06-10 14:06:20 +00:00
Sascha Schumann
3c58f69fc4 Print NOTICE upon session_start being called while another session is
active
2003-06-10 03:56:23 +00:00
Marcus Boerger
c114698445 Add a test for sqlite_array_query() 2003-06-09 23:22:00 +00:00
Marcus Boerger
25b7954dbb This is a 'fetch all' test using fetch_all() 2003-06-09 23:21:06 +00:00
Marcus Boerger
ed1a17a032 Update 2003-06-09 23:16:32 +00:00
Marcus Boerger
062b9afe4f Add sqlite_array_query(). 2003-06-09 23:15:29 +00:00
Marcus Boerger
e1652789ea - Add sqlite_array_query().
- Make all read functions destructive when in unbuffered read mode.
2003-06-09 23:14:25 +00:00
Ilia Alshanetsky
d3ad6e640d Do not perform safe_mode & open_basedir checks for memory-only databases. 2003-06-09 20:36:55 +00:00
Rob Richards
f2957721af changes for /ext/dom document ref count
changes for /ext/dom internal object handling
2003-06-09 20:24:16 +00:00
Rob Richards
6d72c89408 implmentation of document ref counting for persistance
re-work of internal object handling
2003-06-09 20:20:55 +00:00
Ilia Alshanetsky
aec7815e9c Fixed bug #24098 (Crash in pathinfo() due to double var initialization).
# This is a php5 specific bug, no MFB needed
2003-06-09 18:12:36 +00:00
Marcus Boerger
cdac4401d8 No more namespaces 2003-06-09 16:58:51 +00:00
Marcus Boerger
67befca5e6 Add some 'structure' and make it faster 2003-06-09 16:57:17 +00:00
Moriyoshi Koizumi
e7fd4c57b2 Fixed trivial typo 2003-06-09 08:11:53 +00:00
Sterling Hughes
21d90d6ac4 ok, this is a zend bug. 2003-06-09 04:01:11 +00:00
Sterling Hughes
6fc9fdeefc simon says leaking is better than crashing 2003-06-09 03:29:33 +00:00
Sterling Hughes
568aecd973 get rid of a memleak
make namespaces work properly
2003-06-09 03:11:28 +00:00
Ilia Alshanetsky
b19f3302eb MFB 2003-06-08 23:52:29 +00:00
foobar
c0e4bfcae4 - Added ldap_sasl_bind(). (Jani, peter_c60@hotmail.com) 2003-06-08 23:44:01 +00:00
foobar
c15b8fb19e ws & cs 2003-06-08 23:34:51 +00:00
Zeev Suraski
fa78f2b8eb XMLless build fix 2003-06-08 18:29:55 +00:00
Georg Richter
0a2968a75f fixed mysql bug #564 (http://bugs.mysql.com/bug.php?id=564) 2003-06-07 16:15:22 +00:00
Marcus Boerger
c191b4343b Actually sqlite.c isn't located in libsqlite 2003-06-07 15:15:27 +00:00
Sterling Hughes
208aa6152d i ain't know domdom 2003-06-07 15:09:24 +00:00
Sterling Hughes
d65e9b3818 leftover.
its wholeText not whole_text
2003-06-07 15:07:42 +00:00
Sterling Hughes
1837db58d1 add the wholeText property 2003-06-07 15:03:45 +00:00
Marcus Boerger
2e84e2ab3f Added new test 2003-06-07 14:13:36 +00:00
Rob Richards
0565d9724b fix more memory overruns
initial definition for document ref counting
fixed property access to support all objects
clear property handler from invalid objects until ref count implemented
2003-06-07 13:30:58 +00:00
Marcus Boerger
eccfbe5f88 WS 2003-06-07 11:38:03 +00:00
Wez Furlong
b230df9254 Touch lemon generated file 2003-06-06 22:46:33 +00:00
Wez Furlong
30fc9e152f Update bundled library to 2.8.3 + patches from sqlite author to enable
authorization checks for the ATTACH database command.
2003-06-06 22:44:57 +00:00
Sterling Hughes
6610183236 add splitText()
never has such a complex process been endured for such a simple function
libxml makes me queasy right now :)
2003-06-06 20:10:05 +00:00
Rob Richards
29b5fbcc53 fix double free issue
fix property access within invalid objects and failed reads
2003-06-06 19:04:32 +00:00
Georg Richter
f8ac961927 fixed bug #24060 2003-06-06 19:02:30 +00:00
Marcus Boerger
2013859ec5 Update 2003-06-06 19:01:38 +00:00
Marcus Boerger
797654bde7 New fetch_all() an fetch optimization reworked (original idea by ilia) 2003-06-06 19:00:16 +00:00
Edin Kadribasic
bd2f381edf Update win32 build with new version 2003-06-06 16:39:46 +00:00
Wez Furlong
c1817c9b8d Update for 2.8.2 2003-06-06 16:33:32 +00:00
Georg Richter
5a7257f6e2 fixed return value 2003-06-06 08:57:51 +00:00
foobar
9e71e39fa9 WS 2003-06-06 08:10:02 +00:00
foobar
497060f49f missing header 2003-06-06 06:43:08 +00:00
foobar
5083d8b1c5 Missing header 2003-06-06 06:40:36 +00:00
foobar
4dc1f7af3c Some missing files.. 2003-06-06 06:34:30 +00:00
foobar
aaf2473558 Missing entries in .cvsignore and some cutpaste bugs in config.m4 2003-06-06 06:32:16 +00:00
foobar
fe054542a3 Fixed bug #24051: shared build and test 2003-06-06 06:17:02 +00:00
Marcus Boerger
96a7b5557c Added test files 2003-06-05 20:15:21 +00:00
Marcus Boerger
a5f52b5052 Update 2003-06-05 19:40:41 +00:00
Marcus Boerger
cb22a3b9e6 Update 2003-06-05 19:38:59 +00:00
Sterling Hughes
a71652e12e add CREDITS file 2003-06-05 19:12:07 +00:00
Moriyoshi Koizumi
95f390bf2a Avoid unnecessary zval separation 2003-06-05 18:59:55 +00:00
Sterling Hughes
ee5f79487e fix a bunch of memory overruns, and uninitialized variable uses
fixes crash on sample script rob sent me
2003-06-05 18:54:25 +00:00
Moriyoshi Koizumi
3ebf297261 Avoid unnecesary zval separation 2003-06-05 18:54:19 +00:00
Sterling Hughes
15aab08e9d version length too 2003-06-05 18:30:19 +00:00
Sterling Hughes
a957b66dc8 initialize the encoding length 2003-06-05 18:29:55 +00:00
Moriyoshi Koizumi
cf0087ef34 WS fix 2003-06-05 18:04:30 +00:00
Sterling Hughes
7dadb69c88 add tests/ files as examples that you can run and play around with 2003-06-05 17:51:35 +00:00
Sterling Hughes
7b42eccfd6 prevent double destroy and double init badness 2003-06-05 17:48:51 +00:00
Sterling Hughes
49bef1ac9a fig segv on make install (double destroy badness) 2003-06-05 17:48:25 +00:00
Rob Richards
848795e3f9 Inital cut of new xsl extension
interoperates with new dom extension
PHP5 only
2003-06-05 17:10:13 +00:00
Rob Richards
1b046ed40e Inital cut of new dom extension
PHP5 only
2003-06-05 17:06:52 +00:00
Hartmut Holzgraefe
bf0e2751bb ... as suggested by Wez 2003-06-05 14:42:12 +00:00
Sterling Hughes
295a1c665c fix array_key_exists() from HANDLE_NUMERIC() changes
# need to go through this file and find any stuff that relies on this
# change
2003-06-05 13:58:14 +00:00
Wez Furlong
c44fcc1dc5 WS 2003-06-05 13:03:15 +00:00
foobar
89e2d04ab9 Fix the regex issues with apache2handler 2003-06-05 04:14:43 +00:00
Wez Furlong
80e7f7001d Update bundled library to version 2.8.2.
Make OnUpdateInt compatible with ZE2.
Fix the makefile fragment for non-gnu makes
2003-06-04 22:40:00 +00:00
Wez Furlong
82a1818fde Revert accidental commit from marcus. 2003-06-04 21:11:45 +00:00
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
Marcus Boerger
1778caad0c Fix protos 2003-05-19 22:52:27 +00:00
Marcus Boerger
0c77fef23a Fix Test 2003-05-19 22:16:58 +00:00
Sterling Hughes
4cf3e8f3ee use libxml2 memory management throughout the file, which in turn uses the
PHP memory management.
2003-05-19 21:53:33 +00:00
Sterling Hughes
29eb399773 send some more data to the default handler
libxml2 is braindead when it comes to handling entities
2003-05-19 21:51:57 +00:00
foobar
4334f66065 Allow build with expat too. 2003-05-19 21:50:23 +00:00
Marcus Boerger
dc379b9d79 Fix test 2003-05-19 21:48:04 +00:00
foobar
efa8e404d8 Remove unnecessary test. 2003-05-19 21:45:49 +00:00
Marcus Boerger
2838dcb713 Add missing ini setting (use default and change expected result accordingly) 2003-05-19 19:14:34 +00:00
Sara Golemon
8e9c159f75 The bucket rewrite was done some time ago... 2003-05-19 18:40:11 +00:00
Derick Rethans
afabd0575c - Move examples to their own directory 2003-05-19 18:25:20 +00:00
Sterling Hughes
f726a84b1d use the appropriate accessor 2003-05-19 16:27:46 +00:00
Derick Rethans
92f0da58e6 - Rename stream_register_filter() to stream_filter_register(),
stream_register_wrapper() to stream_wrapper_register() and added an alias for
  the latter change.
2003-05-19 15:35:06 +00:00
foobar
73415c9e01 - Unbundle libxml and expat. Now this compiles too.. 2003-05-19 15:33:19 +00:00
Sterling Hughes
a432df541f fix attribute handling on the root node
simplify node access by defining/using GET_NODE() macro properly
2003-05-19 14:52:15 +00:00
Sterling Hughes
b3772c4f35 add the ability to serialize the contents back to a file 2003-05-19 13:33:01 +00:00
Moriyoshi Koizumi
08bf402440 Fixed bug #23683 2003-05-19 13:26:28 +00:00
Sterling Hughes
44f6100ff0 basic support for modifying XML documents 2003-05-19 13:16:01 +00:00
Sterling Hughes
f408e9eefc add some macros that simplify the loops
remove a unnecessary copy
2003-05-19 12:44:24 +00:00
Ilia Alshanetsky
8e3772a827 Added skip condition. 2003-05-19 04:57:01 +00:00
Sterling Hughes
6bfb5026d6 add sample file 2003-05-19 01:56:14 +00:00
Marcus Boerger
4229a483cf Really fix this 2003-05-18 23:20:10 +00:00
Wez Furlong
0ab6c816d9 Fix build 2003-05-18 23:05:38 +00:00
Sterling Hughes
26353e4e13 attribute support 2003-05-18 22:39:16 +00:00
Sterling Hughes
aec55ef95a properly detect blank nodes 2003-05-18 21:13:29 +00:00
Sterling Hughes
e3f351ddb0 make arrays of subnodes work (hacky)
drop property support for the moment, this will be re-added soonish
2003-05-18 20:53:21 +00:00
Adam Dickmeiss
5a848c6f25 Display current version as well as compiled version 2003-05-18 20:40:05 +00:00
Sterling Hughes
94925b1c33 add very basic code for the simplexml extension. The following works ::
person.xml
--
<person>
 <name>
  <first>Sterling</first>
  <last>Hughes</last>
 </name>
</person>

person.php
--
<?php
$p = simplexml_load_file('person.xml');
echo $p->name->last . ', ' . $p->name->first;
?>

Still needs lots of work.
2003-05-18 20:33:26 +00:00
foobar
422309353d CS 2003-05-18 14:55:18 +00:00
Marcus Boerger
80aa82e24b Enable bundled submodules when enabling module 2003-05-18 12:36:24 +00:00
Marcus Boerger
66a3e8deb7 Fix test (for now - need EXPECTF/EXPECTREGEX) 2003-05-18 12:10:03 +00:00
Marcus Boerger
dbf0d7572e Fix unserialize (commit later) 2003-05-18 12:09:08 +00:00
Marcus Boerger
2307193255 Fix unserialize 2003-05-18 12:08:51 +00:00
Moriyoshi Koizumi
586a43cfda Adjusted the expected output to reflect the change in var_dump() 2003-05-17 23:50:16 +00:00
Sterling Hughes
00e48b7f70 send comments to the default handler like done with expat, add a
setcommenthandler function, which exists in expat, but isn't used by the
extension.
2003-05-17 22:09:58 +00:00
Moriyoshi Koizumi
80c75c4d62 MFB(r-1.1.2.7): fix test 2003-05-17 20:06:00 +00:00
Sterling Hughes
2d64d3aff5 pecl 2003-05-17 14:37:28 +00:00
Sterling Hughes
3a5f401a04 move to pecl 2003-05-17 14:32:03 +00:00
Sterling Hughes
a42ae5f191 add a package.xml file 2003-05-17 14:29:31 +00:00
Sterling Hughes
7153eb7378 add bzip2 extension to pecl from php5 cvs 2003-05-17 14:27:07 +00:00
Sterling Hughes
38c96364c6 move this extension to pecl 2003-05-17 14:17:57 +00:00
Sterling Hughes
dd8accf890 apply fix from bug #23539 2003-05-17 14:12:36 +00:00
Marcus Boerger
be7b80dcba TSRM fix 2003-05-17 11:44:57 +00:00
Sebastian Bergmann
85a13e3e9a Fix warnings. 2003-05-17 06:21:34 +00:00
Sara Golemon
c9651182c6 MFB(r-1.74.2.8) Bug #14369. ftp extension allows circumvention of safe_mode restrictions. HEAD version of this patch uses the simpler open_wrapper approach to applying safe mode restrictions. Also allows writting to/from wrappers this way. 2003-05-17 04:21:57 +00:00
Sara Golemon
8924395720 MFB(r-1.333.2.27) Bugfix 23654. If subject is an array and it contains other arrays, we want to pass those subarrays through unchanged rather than attempt to convert them to string. 2003-05-16 23:30:08 +00:00
Moriyoshi Koizumi
b67f2dc98d Allow libxml to detect the document encoding if encoding parameter passed to
XML_ParserCreate_MM is null.
2003-05-16 23:21:48 +00:00
Derick Rethans
0596442eef - MFB: Fixed bug #23661: mysql_fetch_array gives no warning on an invalid
result_type
2003-05-16 19:09:19 +00:00
Ilia Alshanetsky
7e2a99d091 Fixed bug #23657 (Missing initialization in browscap module init) 2003-05-16 15:13:47 +00:00
Moriyoshi Koizumi
27b8c453b9 copy'n'paste failure 2003-05-16 06:24:57 +00:00
Moriyoshi Koizumi
3d2b9af9eb Added test case for bug #23650 2003-05-16 06:20:23 +00:00
Moriyoshi Koizumi
8cbb6b6341 Fixed bug #23650 (strip_tags() removes hyphens) 2003-05-16 06:19:51 +00:00
Ilia Alshanetsky
e2444c223b MFB 2003-05-16 01:09:58 +00:00
Moriyoshi Koizumi
f78ec11339 Fixed test so it won't fail in case the output handler is enabled 2003-05-15 19:20:31 +00:00
Sascha Schumann
289ad3960e Fix the way we create references to (sometimes non-)existing
variables.

Credits go to Rob Richards <rrichards@digarc.com> and Zeev
2003-05-15 13:33:18 +00:00
Ilia Alshanetsky
b9215a1538 Fixed bug #23527 (PostScript Type 1 font do not render properly) 2003-05-15 02:25:50 +00:00
Adam Dickmeiss
58040bfd33 Fix yaz_wait. Async mode incorrectly determine resource 2003-05-14 22:18:12 +00:00
Andrei Zmievski
8781970a78 MFB.
@- Updated wddx_deserialize() to take an open stream as an argument. (Andrei)
2003-05-14 18:15:17 +00:00
Sara Golemon
022a1625a3 Implement unlink() method in ftp wrapper ops and do some general cleanup of other code 2003-05-14 18:02:10 +00:00
foobar
6fb825bed4 - Removed remains of ext/fribidi (it's in PECL) 2003-05-14 15:26:38 +00:00
Sara Golemon
65d359d71a Fold 'options' parameter into wops->unlink method 2003-05-14 15:12:07 +00:00
Wez Furlong
1a521e5ab6 Prep for next release 2003-05-14 13:05:22 +00:00
Sascha Schumann
31dc62a905 MFB segfault fix 2003-05-14 08:27:48 +00:00
Daniela Mariaschi
82d513ee72 better fix bug #20641.
Overflow numeric/decimal datatype on NT
2003-05-14 08:22:54 +00:00
Marcus Boerger
7ddb7f15d4 Enable db<n> builds configured with --with-uniquename 2003-05-14 06:22:35 +00:00
Sara Golemon
5126fbe556 Setup unlink() method in wrapper_ops structure, implement unlink in plainfiles wrapper, explicitly set method NULL in other wrappers (for now), and rewrite unlink userland function to call into wrapper_ops 2003-05-14 06:10:04 +00:00
Moriyoshi Koizumi
f1679e4027 Fixed test so it won't fail in correct situations 2003-05-14 00:36:00 +00:00
Ilia Alshanetsky
f1c20d3b55 Added sqlite_fetch_string(), for speedy fetching of data from database
cursor containing only a single column.
2003-05-13 23:51:25 +00:00
foobar
0360a2c012 MFB: removing the crashbug on windows 2003-05-13 22:09:18 +00:00
Marcus Boerger
8dffa02661 Fix this test 2003-05-13 20:37:54 +00:00
Christian Stocker
d3ceb197a2 fixes possible segfault in domxml_xslt_result_dump_mem 2003-05-13 14:52:36 +00:00
Adam Dickmeiss
46dbbff7f0 Fix problem with yaz_record in array mode, when record is unavailable. 2003-05-13 10:31:46 +00:00
Moriyoshi Koizumi
0fc5d74364 oops 2003-05-12 13:28:06 +00:00
Moriyoshi Koizumi
e500e957ba Applied the right fix for bug #23016 2003-05-12 13:26:16 +00:00
Moriyoshi Koizumi
bc741c67d4 Those pieces were not intended. Partly reverted.
# sorry for messing
2003-05-11 09:10:48 +00:00
Moriyoshi Koizumi
ebd92654c1 Added an encoding detection option for expat XML parser. 2003-05-11 09:04:05 +00:00
Moriyoshi Koizumi
4e9e9c6e21 Fixed bug #22463 and bug #23581 2003-05-11 06:36:37 +00:00
Moriyoshi Koizumi
065a192411 Added a test case for bug #23581 2003-05-11 06:33:35 +00:00
Moriyoshi Koizumi
b666d8c679 Added test case for bug #22463 2003-05-11 02:37:17 +00:00
Moriyoshi Koizumi
82d769eefd Fixed compiler errors that occur when bundled libxml is not used. 2003-05-11 01:45:52 +00:00
Rob Richards
47c26016bb Bundle support 2003-05-11 01:01:16 +00:00
Moriyoshi Koizumi
27863eb499 MFB(r-1.40.2.4): fixed bug #23016 2003-05-11 00:49:15 +00:00
Rasmus Lerdorf
e4ff6a5e8b Grr.. Who changed this file from tabs to spaces? 2003-05-10 17:14:47 +00:00
Rasmus Lerdorf
d9eab20c00 MFB 2003-05-10 17:13:58 +00:00
Sascha Schumann
ed68ca44ec Fix types of bug_compat entries
PR: #21312
Submitted by: Rob Richards <rrichards@ctindustries.net>
2003-05-10 16:49:21 +00:00
Sergey Kartashoff
2726d79b9f @- A new functions Udm_Alloc_Agent_Array and Udm_Hash32 have been added to
@  mnogosearch extesion for use with mnogosearch-3.2.11 or later.
- A new functions Udm_Alloc_Agent_Array and Udm_Hash32 have been added to
  mnogosearch extesion for use with mnogosearch-3.2.11 or later.
2003-05-10 11:31:52 +00:00
Hartmut Holzgraefe
16ade3dd46 no more VC++ compile warnings 2003-05-09 07:55:32 +00:00
Ilia Alshanetsky
09fbc97d55 Add missing initialization. 2003-05-09 01:10:18 +00:00
Moriyoshi Koizumi
598dba147d Fixed test case so it reflects the recent change on var_dump() 2003-05-08 23:23:02 +00:00
Moriyoshi Koizumi
ea39409c60 Added missing break 2003-05-08 16:45:59 +00:00
Moriyoshi Koizumi
83ad8e3ae3 Added initialisation for thread safety 2003-05-08 16:01:50 +00:00
Moriyoshi Koizumi
e911b39158 Added "&euro;" support for htmlentities() and html_entity_decode() 2003-05-08 15:43:34 +00:00
Moriyoshi Koizumi
ee86979e21 I should have tested more carefully.. 2003-05-08 15:39:24 +00:00
Moriyoshi Koizumi
1ba4e590ef WS fix 2003-05-08 15:12:04 +00:00
Moriyoshi Koizumi
2b5cebba16 Fixed memleak when the libxml compat layer is used. 2003-05-08 15:07:26 +00:00
Moriyoshi Koizumi
6ed4fd1666 Improved html_entity_decode() so it can handle multibyte charsets and
numeric entities.
2003-05-08 10:42:20 +00:00
Ilia Alshanetsky
b20df54af7 Make serialize precision a configurable option. 2003-05-08 01:23:21 +00:00
Moriyoshi Koizumi
02c9b14ca2 Filled error_mappings[] with placeholders for actual error messages 2003-05-07 20:53:23 +00:00
Sara Golemon
13191aa841 Revert, this caused more trouble than it fixed. 2003-05-07 20:33:53 +00:00
Moriyoshi Koizumi
891bd02e10 Added missing object initialisation
Added missing sanity checks
2003-05-07 20:06:42 +00:00
Moriyoshi Koizumi
cced1b26ec Fixed typos 2003-05-07 19:52:30 +00:00
Moriyoshi Koizumi
29f346d7d7 Removed redundant TSRMLS_FETCH's 2003-05-07 17:40:46 +00:00
Moriyoshi Koizumi
8c539518fb This should be needed. 2003-05-07 15:28:58 +00:00
Moriyoshi Koizumi
21661d3bde Added even better allocator codes for both expat & libxml 2003-05-07 15:21:31 +00:00
Sara Golemon
451cd602f6 HINFO RDATA is <label><label> not <nshort><nshort> 2003-05-06 19:51:46 +00:00
Sterling Hughes
a0351b093f Bundle libxml and add compatibility layer 2003-05-06 19:38:49 +00:00
Marcus Boerger
34a36c466e #i shouldn't do test-fiddling after 3o-clock 2003-05-06 09:33:40 +00:00
Marcus Boerger
6360bda763 Find a better solution for the tests 2003-05-06 01:23:35 +00:00
Daniela Mariaschi
46b1372de7 - removed error message in dtor
(causing segfault when user doesn't free statement)
- removed erroneous controls as for bug #23436
2003-05-05 22:25:29 +00:00
Ilia Alshanetsky
7f404846ad s/g/G/ 2003-05-05 22:21:29 +00:00
Ilia Alshanetsky
a7591863fd Fixed tests to reflect full float values. 2003-05-05 19:57:32 +00:00
Moriyoshi Koizumi
b874a54846 Added links to HTML entity resources 2003-05-05 19:50:15 +00:00
Hartmut Holzgraefe
e6490c4a41 basename() now binary safe, testcases added 2003-05-05 13:46:14 +00:00
Christian Stocker
d9406876e2 MFB (set the doc property to NULL if no parent is available (by Rob Richards)) 2003-05-05 12:56:33 +00:00
Hartmut Holzgraefe
e364d1f589 proto fix 2003-05-05 12:36:35 +00:00
Thies C. Arntzen
747822c616 fixed FMR 2003-05-05 12:17:02 +00:00
Ilia Alshanetsky
88bafcb7a5 Safer implementation.
Thanks Marcus.
2003-05-04 19:09:54 +00:00
Ilia Alshanetsky
75c01dd66b Fixed bug #23298 (serialize cuts off floats & doubles) 2003-05-04 18:41:02 +00:00
Moriyoshi Koizumi
e9111e0f9b Fixed an issue that zend-multibyte's behaviour doesn't reflect the change
to mbstring.internal_encoding ini setting.
2003-05-04 13:11:30 +00:00
Moriyoshi Koizumi
b44ae54bc6 Real fix and a test case for bug #22008 2003-05-04 12:44:36 +00:00
Marcus Boerger
418106cc31 Add me 2003-05-04 12:04:26 +00:00
Moriyoshi Koizumi
e9c903ad3f A quick fix for bug #22008
# BTW I'm working on an enhanced strip_tags implementation with re2c, which
# will feature more CSS awareness and more stateful scanning.
2003-05-04 11:45:58 +00:00
Moriyoshi Koizumi
1dfc59f6d8 Added missing sanity check
# likely a fix for bug #23457
2003-05-04 11:19:57 +00:00
Zak Greant
eac7884bdb Added a few extra proto descriptions and made some minor corrections and comments 2003-05-04 03:15:02 +00:00
Marcus Boerger
815ad75c49 - Indendation fix
- Proto fix
- Add efficient single column access function: sqlite_column()
2003-05-03 12:51:13 +00:00
Sebastian Bergmann
ab393a9b0c Adjust path to bundled expat sources for Win32 build. 2003-05-03 08:44:53 +00:00
Marcus Boerger
0c11675902 Fix MFN error (now really) 2003-05-02 22:22:16 +00:00
Marcus Boerger
b8c5cd2a9d Fix MFN error 2003-05-02 22:17:01 +00:00
Marcus Boerger
7a17b23190 Add iterator interface and test 2003-05-02 22:09:54 +00:00
Marcus Boerger
4701aaaa87 Interfaces only implement interfaces 2003-05-02 15:39:12 +00:00
Marcus Boerger
d6d17e510d Remove this debug line too 2003-05-02 11:10:55 +00:00
Moriyoshi Koizumi
7638a25fef Fixed bug #23449 2003-05-02 11:00:42 +00:00
Andrey Hristov
a894bf5c87 Extending substr_replace().
Every parameter can be mixed (string/array) also the return type.
#see the test file if you need more info.
2003-05-02 10:02:40 +00:00
Thies C. Arntzen
83a0e508df @ - Fixed bug #23376 OCINewDescriptor 2003-05-02 08:43:28 +00:00
Sterling Hughes
c5a2f99703 remove this, its now in bundle 2003-05-02 04:05:23 +00:00
Sterling Hughes
80e9dc0b58 new file that deals with the bundle 2003-05-02 04:02:27 +00:00
Marcus Boerger
ff82ad268f Add some info 2003-05-02 03:09:58 +00:00
Sara Golemon
07c679064a Bug Fix (22433). When the bottom of a range() is chr(0) or the top is chr(255), the for loop carries over and never exits. 2003-05-02 00:58:02 +00:00
foobar
20d88e4c34 - Fixed bug #22580 (ext/odbc compile failure with dbmaker) 2003-05-02 00:40:20 +00:00
foobar
f60a086291 - Fixed bug #23427 (compile failure with GD 1.8.3) 2003-05-01 23:50:08 +00:00
Marcus Boerger
b5a70a72d1 Add spl extension 2003-05-01 23:28:28 +00:00
Edin Kadribasic
0d46a490f7 Allign. 2003-05-01 22:12:06 +00:00
Ilia Alshanetsky
894e2aaf68 emalloc -> safe_emalloc 2003-05-01 21:08:31 +00:00
Marcus Boerger
a8c650d1b8 tests depend on ini option 2003-05-01 13:29:11 +00:00
Marcus Boerger
2c2774c204 Don't return table names 2003-05-01 13:20:22 +00:00
Marcus Boerger
2cef4c3470 Check returned associative indexes 2003-05-01 13:18:56 +00:00
Sterling Hughes
1d32bcf0bc no need to comment out, it doesn't belong there '.' 2003-05-01 03:47:54 +00:00
Wez Furlong
9db67f05e1 UnixODBC also supports the fetch_array() and fetch_object() functions... 2003-04-30 23:32:36 +00:00
Ilia Alshanetsky
8a09151f5e emalloc -> safe_emalloc 2003-04-30 21:53:53 +00:00
Frank M. Kromann
c843ec8c6c Fixing bit support. Bug #23324 2003-04-30 21:52:37 +00:00
Moriyoshi Koizumi
193fe6863a Really fix the test.
# sorry for the mess..
2003-04-30 16:30:44 +00:00
Rasmus Lerdorf
63c966a33d MFB 2003-04-30 16:26:22 +00:00
Marcus Boerger
bafbc8bdb2 Allow both parameter orderings 2003-04-30 15:22:57 +00:00
Marcus Boerger
4ad3ecc758 Allow to set result_type default for each query 2003-04-30 15:18:59 +00:00
Wez Furlong
6fc4f3a2ef Fix memory leak in odbc_fetch_(array|object).
Enable those functions for IBM DB2.
2003-04-30 10:45:45 +00:00
foobar
d7fde48f1d tempnam() creates an empty file..prevent them from going to / 2003-04-30 10:42:24 +00:00
foobar
58491116fc - Fixed bug #23371 (configure falsely detects c-client using SSL) 2003-04-30 10:34:47 +00:00
foobar
511d5268a5 Add some missing quotes. Noticed by Michael Mauch <michael.mauch@gmx.de> 2003-04-30 10:22:56 +00:00
foobar
17892a4386 CS fix 2003-04-30 10:19:21 +00:00
foobar
5fbbd31ca4 Fix compile problems with < 9.2 oracle libs 2003-04-30 10:17:25 +00:00
Ilia Alshanetsky
35f8be6bcc Fixed compiler warning (found by Larry Rosenman <ler@lerctr.org>) 2003-04-30 00:37:31 +00:00
Sara Golemon
5d3a8e4ce7 Add support for SRV and NAPTR records to dns_get_record() and dns_check_record()
Feature Request #23407
2003-04-29 22:02:01 +00:00
Wez Furlong
89503b163e Fix dirname() under win32.
The calculated length would be off-by-two under windows, which resulted in bogus dirnames.
2003-04-29 13:35:48 +00:00
Moriyoshi Koizumi
180806f9e6 Fixed typo 2003-04-29 13:05:58 +00:00
Moriyoshi Koizumi
cc9b7895a0 Fixed bogus skip condition 2003-04-29 13:04:19 +00:00
Ilia Alshanetsky
c511cd2242 emalloc -> safe_emalloc 2003-04-28 22:42:22 +00:00
Jay Smith
ab1124b014 A few fixes Uwe suggested, plus plugged a memleak and a possible
overrun.
2003-04-28 21:49:47 +00:00
foobar
ac45c221ff ws fix 2003-04-28 20:47:27 +00:00
Adam Dickmeiss
1329eac05a For yaz_wait, when event=>TRUE is specified for array options,
yaz_wait returns when one event occurs. This allows us to perform
async operations on many databases. Use OnUpdateInt for PHP4.
2003-04-28 19:51:45 +00:00
Derick Rethans
9ab3ad2963 - Commit the .c file too... 2003-04-28 18:52:59 +00:00
Derick Rethans
cd13464709 - Make them available on Windows too from other files. 2003-04-28 18:41:32 +00:00
Sascha Schumann
e422f56dff improve php_url_encode 2003-04-28 16:24:14 +00:00
Moriyoshi Koizumi
f4c9feb774 Added missing sanity check in fgetcsv() 2003-04-28 15:04:56 +00:00
Wez Furlong
169b3f72ed Fix for #23340; fopen on multiple urls from the same server crashes. 2003-04-28 14:41:36 +00:00
Derick Rethans
810ac117f0 - Fix non-ZTS build after Sterling's changes to TSRM 2003-04-28 10:40:28 +00:00
Sterling Hughes
7ed6fd22bc use the new TSRMLS_FETCH_FROM_CTX() macro 2003-04-27 22:15:19 +00:00
Marcus Boerger
8820a9cdcc More tests 2003-04-27 20:02:35 +00:00
Stanislav Malyshev
cddface7f1 fix TSRM 2003-04-27 16:18:43 +00:00
Stanislav Malyshev
cad71d8c92 MFB 4_3:
Fix very nasty bug - session cookie kills one of the cookies
set before it on certain non-Apache SAPIs.
# for example, this code:
# <?
# setcookie("abc", 1);
# setcookie("def", 2);
# session_start();
# ?>
# would output only 'def' cookie on CGI and ISAPI
2003-04-27 16:04:53 +00:00
Wez Furlong
3bf392c160 Seems like a better fix.. 2003-04-27 14:01:09 +00:00
Marcus Boerger
783d1d7b24 More safe_emalloc() 2003-04-27 13:46:07 +00:00
Wez Furlong
23c4c206a4 WS, plus default: would prevent case SQLITE_DONE: in php_sqlite_fetch(). 2003-04-27 13:32:43 +00:00
Marcus Boerger
fe94e0394e Enable some more functions with unbuffered queries 2003-04-27 13:25:10 +00:00
Marcus Boerger
88ef12964b Add more tests 2003-04-27 11:29:39 +00:00
Sara Golemon
bb48c7d861 Take STREAMS_CC/STREAMS_DC declarations out of do_connect/do_pasv where they don't need to be. Add minimalist url_stat method to ftp:// wrapper which can at least determine filesize. Other properties set to 0 since the FTP protocol simply doesn't support exploring them. url_stat won't actually work however until ext/standard/filestat.c is patched to allow stat wrappers. 2003-04-26 01:55:31 +00:00
Ilia Alshanetsky
ab0e80d42f emalloc -> safe_emalloc
Fixed possible buffer overflow in pg_lo_read()
2003-04-25 21:59:58 +00:00
foobar
b83fc1a802 - Fixed some AIX/HPUX compile issues.
# Just a modified diff of the same file found in mysql 4.0.12 :)
2003-04-25 21:31:23 +00:00
Moriyoshi Koizumi
0e5df53be5 Moved copyright notice to the better place. 2003-04-25 17:39:46 +00:00
Moriyoshi Koizumi
4c2d694aa3 Added a bogus copyright notice. 2003-04-25 17:35:06 +00:00
foobar
a64269f0da Make these tests actually work. 2003-04-25 15:43:28 +00:00
foobar
6bfa5b405f Fixed bug #23099 (ext/interbase: "libgds.so: undefined reference to crypt") 2003-04-25 08:57:49 +00:00
foobar
93b154fea4 Some AIX version failed to compile if this was redefined. 2003-04-25 08:10:11 +00:00
Sara Golemon
2d558127af No idea how that character dissapeared. 2003-04-24 22:25:33 +00:00
Sara Golemon
2fc1d2c330 Fix error handling bug I just introduced (php_ftp_fopen_connect == NULL) and add append support to wrapper 2003-04-24 21:21:41 +00:00
Marcus Boerger
8a5ba51ac8 MFB: safe_emalloc() 2003-04-24 20:54:43 +00:00
Sara Golemon
228f65f889 Abtract some ftp connection/negotiation steps out and add support for stream_opendir. This allows things like opendir('ftp://ftp.foo.com/path') 2003-04-24 20:32:14 +00:00
David Hill
cec89b2446 Fix compiler error on null statement in switch 2003-04-24 18:01:26 +00:00
foobar
92096ac753 Fix obvious flaw in this test 2003-04-23 08:54:49 +00:00
Wez Furlong
604a41e244 win32 fixes 2003-04-22 23:24:44 +00:00
Wez Furlong
9d43def392 Fix the extension...
# guess which extension I copied this from??
2003-04-22 21:41:46 +00:00
Rasmus Lerdorf
0d248d81a6 MFB: &039; which is a single-quote may also come in as &39;
I see no reason not to support both in html_entity_decode()
2003-04-22 20:47:09 +00:00
Wez Furlong
11a96965c9 Add windows .dsp and some kludgy pre-generated headers. 2003-04-22 19:06:31 +00:00
Sara Golemon
cb89565ba4 Feature Request #7121.
Allow overwritting of files via ftp:// wrapper.
Requires context option:  $context['ftp']['overwrite'] != 0
2003-04-22 04:13:09 +00:00
Sascha Schumann
c523fc4766 Add vr class
Noticed by: Jon Parise
2003-04-22 03:21:29 +00:00
Wez Furlong
71722f28ba I will use my brain properly next time 2003-04-22 00:21:02 +00:00
Wez Furlong
eb22d78db8 allow sqlite_query() to accept the query string and database resource in
either order.

Forgot to bump the package version number displayed by phpinfo()...
Bump to 0.9a
2003-04-22 00:19:48 +00:00
Edin Kadribasic
43349ea014 Added sqlite.assoc_case ini entry with 0 as the default value.
0 - Make no changes to the keys in the associative array
1 - Change the keys to uppercase
2 - Change the keys to lowercase
2003-04-22 00:08:48 +00:00
Wez Furlong
04c5e2fc06 Prepare for release. 2003-04-21 20:24:03 +00:00
Moriyoshi Koizumi
f9e805d52b The feature is less revelant to encoding conversion indeed 2003-04-21 19:07:21 +00:00
Moriyoshi Koizumi
c591d4decd Reduced leaks in userland filters 2003-04-21 18:43:36 +00:00
Moriyoshi Koizumi
cf620ddfdb Unified all those redundant printf's 2003-04-21 18:00:41 +00:00
foobar
dd0228d3d8 Fix bug #23198 2003-04-21 17:53:37 +00:00
Stanislav Malyshev
5a904d6ea8 Update to latest inteface change for get_class_name 2003-04-21 17:03:29 +00:00
Wez Furlong
276e721f96 Tidy up package.xml file.
Cleaner approach for setting THREADSAFE and NDEBUG for bundled libsqlite.
Tested with: static, shared and shared with separate build roots under a
non-zts build only.
2003-04-20 16:09:16 +00:00
Wez Furlong
8ccae81db2 Eliminate leaks from registering plain or aggregate functions.
Also, reduce (probably eliminate) the risk of a segfault when registering a
callback on a persistent connection and later triggering the callback from a
different script.
2003-04-20 15:13:04 +00:00
Wez Furlong
ac33bc48f0 Revise todo 2003-04-20 13:33:46 +00:00
Wez Furlong
d40a615a8e Implement sqlite_create_function(), which allows binding of php functions by
name; this is a higher performance alternative to the generic php() SQL
function. (saves parsing the additional function call in the SQL and a call to
zend_is_callable on each function invocation).

Add test for sqlite_create_function().

Fixup proto for sqlite_create_aggregate().

Tweak package file and speling in header file.
2003-04-20 13:31:36 +00:00
Tal Peer
b0d26a11ac Remove rendundant function 2003-04-20 13:21:17 +00:00
Tal Peer
2a54c9a308 typo 2003-04-20 13:17:17 +00:00
Tal Peer
a676f6c29d Update 2003-04-20 13:15:45 +00:00
Wez Furlong
7360c5dfdd Add test for aggregates 2003-04-20 13:08:40 +00:00
Wez Furlong
4a46882648 Implement sqlite_create_aggregate() which can be used to create aggregation
functions for use in SQL statements.
2003-04-20 13:08:22 +00:00
Edin Kadribasic
3f18d16957 Kluge, but it seems to work now in both phpize and bundled builds.
Only in there until Wez fixes it for real.
2003-04-20 03:03:28 +00:00
Edin Kadribasic
04d06dac3f Reinstating these two items due to the fact that current config.m4
detection for debug and thread-safe build does not work if sqlite
is built as a standalone extension with phpize.
2003-04-20 01:55:20 +00:00
Edin Kadribasic
a10c8a3e1c Erm, this works much better :) 2003-04-20 01:25:59 +00:00
Edin Kadribasic
3f95e99afc Set appropriate flags when compiling bundled lib in thread-safe
and debug modes.
2003-04-20 01:22:08 +00:00
Sara Golemon
7c8c09b3cf Revert change to stream_copy_to_stream() 2003-04-20 01:18:58 +00:00
Marcus Boerger
9e19524c5e Access the struct directly here 2003-04-19 19:06:52 +00:00
Ilia Alshanetsky
6bc4ce43d0 Do not hardcode php path. 2003-04-19 18:10:54 +00:00
Ilia Alshanetsky
e4c38aec5a Do not make the test rely on the availability of the cat command. 2003-04-19 17:45:46 +00:00
Sascha Schumann
e4183ae980 Extend print_table_row so that one can specify the CSS class
directly.  Add "vr" class which aligns the content to the right border.
2003-04-19 17:40:19 +00:00
Marcus Boerger
b99a491e33 Update to new macros 2003-04-19 15:01:22 +00:00
Wez Furlong
e17b8b4b12 More things todo 2003-04-19 13:04:19 +00:00
Wez Furlong
ff0d6adda4 Transparently decode binary encoded data.
Add a test-case for that process.

When encoding binary data, we mark the string with \x01 as its first character.
When returning data via sqlite_fetch_array(), if the first character is \x01,
then we decode the encoding.  This behaviour can be turned off by the optional
last parameter to sqlite_fetch_array(), for compatibility with databases
created with other applications.
2003-04-19 12:54:17 +00:00
Wez Furlong
de7874e11f Little fix for people building sqlite as a static extension 2003-04-19 11:47:17 +00:00
Marcus Boerger
5f97e66ba5 Add test for different result representations 2003-04-19 10:36:58 +00:00
Wez Furlong
6640260253 Fix 2 potential segfaults. 2003-04-19 10:28:45 +00:00
Moriyoshi Koizumi
6be2406b63 Made phpinfo() / gd_info() indicate availability of JIS feature 2003-04-19 07:44:16 +00:00
Moriyoshi Koizumi
54096d3f43 Fixed help text alignment 2003-04-19 07:15:38 +00:00
Rui Hirokawa
442798bbe5 fixed compilation problem in php-4.3.2dev. 2003-04-19 07:04:00 +00:00
Moriyoshi Koizumi
1f229c0851 MFBed Rui's patch 2003-04-19 04:33:38 +00:00
Sara Golemon
6dde464ce7 Let stream_copy_to_stream() accept either stream resource or filename/url string. If filename, open the file, do the copy, then close it. 2003-04-19 02:47:16 +00:00
Marcus Boerger
cde6bdce5c Improve test environment, fix 001.phpt and rename that one, also change from /tmp to dirname(__FILE__) 2003-04-18 20:53:18 +00:00
Marcus Boerger
16e873f864 Add a first simple open/close test 2003-04-18 20:08:01 +00:00
Marcus Boerger
d323659e5f ZTS fixes 2003-04-18 19:43:38 +00:00
Wez Furlong
ff93259b82 First "real" test.
If anyone is motivated to write more tests, please do so.
2003-04-18 19:22:49 +00:00
Wez Furlong
c568087d6e done: persistent connections 2003-04-18 16:42:28 +00:00
Wez Furlong
8f30d3e545 Implement sqlite_popen(), which opens persistent connections to an sqlite
database file.  (This saves the cost of sqlite reading/parsing the indices).

Persistent db connections have any pending transactions rolled back at request
shutdown time. (non-persistent connections are automatically rolled back when
they are closed).

Enhance sqlite_query() and sqlite_unbuffered_query() to use the C api
sqlite_exec() when the PHP script does not use the return value. This avoids
the extra work and memory allocation for holding result sets when they are not
needed.
2003-04-18 16:30:16 +00:00
Wez Furlong
d28e06d3b2 Update todo 2003-04-18 12:23:14 +00:00
Wez Furlong
8ed14ff16f Implement sqlite_unbuffered_query(), which works similarly to the mysql
function with a similar name.

Change sqlite_query() to use the same mechanism as the unbuffered query; this
moves the bulk of the memory allocations into the ZE memory manager, and will
hopefully be more efficient and less at risk of leaks.
2003-04-18 12:22:43 +00:00
Ilia Alshanetsky
7f94983ee0 Added missing safe_mode checks. 2003-04-18 00:20:22 +00:00
Sara Golemon
19ef914bb4 Catch up to Moriyoshi's streams megapatch 2003-04-17 23:59:28 +00:00
foobar
1e3e1d5880 CS cleanup + NS protection for some functions (used only in sockets.c btw) 2003-04-17 23:18:58 +00:00
Sara Golemon
f2654df92c Basic IPv4 and IPv6 loopback tests for ext/sockets 2003-04-17 23:09:17 +00:00
Sara Golemon
d06232a871 Add IPv6 support to ext/sockets 2003-04-17 21:04:47 +00:00
Wez Furlong
0098ae7dc6 Constants for error codes 2003-04-17 20:17:54 +00:00
Wez Furlong
a016cfb10a Folding markers 2003-04-17 20:09:45 +00:00
Wez Furlong
ec09b1b881 Add two new functions:
int sqlite_last_error($db) -- returns error code from last query

string sqlite_error_string(int code) -- returns english description of an error
code.
2003-04-17 20:08:00 +00:00
Wez Furlong
cca9ebddae Add pecl release version to phpinfo output 2003-04-17 19:13:21 +00:00
Wez Furlong
c38fc9bc27 and one more 2003-04-17 19:02:10 +00:00
Wez Furlong
aeeb56cb2d Add another todo 2003-04-17 19:01:26 +00:00
Wez Furlong
6a7502076d Update TODO. 2003-04-17 18:56:34 +00:00
Wez Furlong
3cf1e2c7ed Add safe_mode and open_basedir checks for the COPY SQL statement. 2003-04-17 18:54:40 +00:00
Wez Furlong
c54eff9f12 Update for new release 2003-04-17 17:31:50 +00:00
Wez Furlong
c53b5743df WS 2003-04-17 17:15:36 +00:00
Wez Furlong
4d9ca8f135 NULL columns are NULL pointers 2003-04-17 17:09:59 +00:00
Wez Furlong
4eba9b8b46 Implement sqlite_busy_timeout() which sets the retry timeout (in milliseconds)
when multiple processes attempt to lock and update the database.
2003-04-17 16:57:46 +00:00
Jay Smith
3fbb4dbdc0 Fix some segfaults in some of the pg_lo_* functions. 2003-04-17 16:54:43 +00:00
Wez Furlong
28128e4154 Segfault fixing! 2003-04-17 16:36:59 +00:00
Wez Furlong
3eb3805d47 Really fix build 2003-04-17 12:49:44 +00:00
Wez Furlong
b09dc0e03a Hopefully fix build... 2003-04-17 12:38:42 +00:00
Wez Furlong
5594945c76 Add dependency to generate header 2003-04-17 12:12:28 +00:00
Wez Furlong
f56412eace Update build files 2003-04-17 11:57:29 +00:00
Wez Furlong
c53017d4c3 Remove whitespace added while touching. 2003-04-17 11:44:06 +00:00
Wez Furlong
64d20f54c4 Touch generated files 2003-04-17 11:43:26 +00:00
Wez Furlong
05d5a35c9b Bundle relevant parts of sqlite 2.8.0.
# sqlite has a completely non-restrictive license
2003-04-17 11:27:30 +00:00
Wez Furlong
826583dc91 Nicer error message when an invalid function name is specified. 2003-04-17 03:38:20 +00:00
Wez Furlong
f7dbd9d909 Prep for release. 2003-04-17 03:19:33 +00:00
Wez Furlong
1c3b2a28d1 Update TODO and example.
Hide phpize crap from CVS
2003-04-17 03:15:13 +00:00
Wez Furlong
c73e304dc2 Implement a php function so that the following SQL can be used:
SELECT php('md5', sql) from sqlite_master

The php function has takes the name of a php function to call as the first
parameter; each additional parameter is passed on to the function, much like
call_user_func().

You can call both built-in and script-defined functions in this way.
2003-04-17 03:14:14 +00:00
foobar
2cd55ce73b touch 2003-04-17 02:54:23 +00:00
foobar
b319982868 add missing header 2003-04-17 02:53:32 +00:00
foobar
85874549d6 touch 2003-04-17 02:45:10 +00:00
Wez Furlong
5e0b9bb451 Implement sqlite_escape_string() function. 2003-04-17 02:20:26 +00:00
Wez Furlong
2d14d8b520 Implement safe_mode and open_basedir checks.
Add package.xml
2003-04-17 01:57:55 +00:00
Wez Furlong
cc5903adb4 Add readme and todo 2003-04-17 01:37:42 +00:00
Wez Furlong
25954d1d72 This commit was generated by cvs2svn to compensate for changes in r123706,
which included commits to RCS files with non-trunk default branches.
2003-04-17 01:29:45 +00:00
Moriyoshi Koizumi
0c5548e636 Fixed implicit cast issue with is*() and to*() functions 2003-04-16 21:40:48 +00:00
Moriyoshi Koizumi
0ad2fc2007 Fixed bug #19795
# to*() and is*() expect for their arguments an integer in range of 0 - 255
2003-04-16 21:10:29 +00:00
Moriyoshi Koizumi
ccbec3e56c Fixed typo 2003-04-16 20:00:46 +00:00
Moriyoshi Koizumi
8e15c4daff compiler warning fix and possible 64bit fix 2003-04-16 19:18:35 +00:00
Moriyoshi Koizumi
ec91e86850 Fixed bug #23080 2003-04-16 17:31:31 +00:00
Moriyoshi Koizumi
2a31fa0569 Fixed memleak 2003-04-16 15:10:01 +00:00
Moriyoshi Koizumi
6dd17c380d Added missing sanity check 2003-04-16 14:55:25 +00:00
Moriyoshi Koizumi
49b43ad115 Changed stream filter factory to be capable of accepting a zval as a parameter
instead of a string
2003-04-16 14:30:25 +00:00
Sascha Schumann
0bda867fe7 Simplify use of this header in external apps 2003-04-16 09:14:32 +00:00
Marcus Boerger
8363658641 Change to use safe_emalloc() and provide macro for now 2003-04-16 06:10:41 +00:00
foobar
b02dd10e03 SKIP -> SKIPIF 2003-04-16 02:21:30 +00:00
Ilia Alshanetsky
7f8bd25fcc Fixed bug #23225 (money_format() didn't handle erroneous return of strfmon)
# Initial patch proposed by marcot@tabini.ca
2003-04-16 01:07:03 +00:00
Ilia Alshanetsky
56e44a4fc2 Fixed bug #22939 (crash in imap_header_info()). 2003-04-16 00:58:30 +00:00
Ilia Alshanetsky
7d2b4cab36 Cleaner error handling. 2003-04-15 01:48:02 +00:00
Ilia Alshanetsky
f1bd3d539f Fixed bug #23187 (memory leaks in sybase_connect/sybase_pconnect).
Intial patch by: fukusaka@xa2.so-net.ne.jp
2003-04-15 00:59:42 +00:00
Marcus Boerger
da540a4d3b Fixed Bug #23188 CDB databases created with 'c' mode do not work. 2003-04-14 21:50:48 +00:00
Ilia Alshanetsky
3d6fccc08c Fixed bug #23152 ($http_response_header empty on invalid URLs) 2003-04-14 13:55:34 +00:00
Sara Golemon
9103aac254 Modify str_replace/str_ireplace to report how many needles were matched. (FR #8218) 2003-04-13 22:59:19 +00:00
Marcus Boerger
268ffda27d Reenable dba_popen() 2003-04-13 19:50:28 +00:00
Sergey Kartashoff
b296a3bd64 - Udm_Make_Excerpt has been fixed to be compatible with mnogosearch-3.2.10+ 2003-04-13 17:52:25 +00:00
Moriyoshi Koizumi
560efa10c0 Forgot about this one :) 2003-04-12 21:56:08 +00:00
Moriyoshi Koizumi
fa0ac8a273 Made dirname() binary-safe. 2003-04-12 21:53:46 +00:00
Sara Golemon
76965beb04 Add tests for strrpos/stripos, and minor fix to maintain BC for condition with empty needles/haystacks 2003-04-12 20:04:06 +00:00
Sara Golemon
0b5c1112c5 Rewrite strrpos and strripos to be binary safe and behave the way their prototype suggests (also like their counterparts strpos and stripos) i.e.: Allow string needles rather than just characters 2003-04-12 07:36:22 +00:00
Derick Rethans
a802e0d6b3 - Fixed protos 2003-04-11 09:53:01 +00:00
Hartmut Holzgraefe
e06fdaae8b accept possible leaks for now to make SELECTS with both bound parameters
and results again ...
2003-04-11 04:41:52 +00:00
Hartmut Holzgraefe
a1ff81d277 proto fix 2003-04-11 04:30:29 +00:00
Hartmut Holzgraefe
2f26d2b693 parameter count for bind stuff is different in OO interface 2003-04-11 04:29:28 +00:00
Sara Golemon
8da5e8e48e Export constants to userland 2003-04-11 02:55:00 +00:00
Ilia Alshanetsky
4fbd27252d Fixed integer overflow inside mhash_keygen_s2k(). 2003-04-11 02:40:21 +00:00
Christian Stocker
aa09b09e1a - More TSRMLS stuff.
- Fixed memleaks in domxml_doc_add_root, domxml_xslt_stylesheet
  and domxml_xslt_stylesheet_doc
- Completed implementation of domxml_doc_imported_node.
2003-04-10 12:45:38 +00:00
Ilia Alshanetsky
8a9ff734a0 Fixed a crash in the query tracer output due to buffer overflow.
Fixed a crash in notice message for unbuffered query.
2003-04-10 04:35:39 +00:00
Marcus Boerger
1cdd29eeef Fix ZTS build and warnings 2003-04-09 19:14:44 +00:00
Rasmus Lerdorf
861679d6c3 MFB: Forgotten _FORM -> _REQUEST change 2003-04-09 17:46:42 +00:00
Derick Rethans
429ae4e821 - Fixed printing the version string if it includes zend extensions in
text-mode
2003-04-09 15:19:07 +00:00
Edin Kadribasic
45d27aab68 *** empty log message *** 2003-04-09 12:03:58 +00:00
Christian Stocker
6f9d53e02d - Fixed some memleaks when using attributes
- Added attrnode->set_value()
(by Rob Richards)
2003-04-09 07:29:39 +00:00
Ilia Alshanetsky
7029ef01b3 Added missing bit from gd2.0.12 sync. 2003-04-09 01:55:48 +00:00
Sara Golemon
87c5019dd2 Switch file_put_contents 'bool use_include_path' to 'int flags' to allow other options such as appending 2003-04-08 23:24:53 +00:00
Sara Golemon
41d4fcd0da Add context support to file_put_contents() and readfile(), convert readfile() to zend_parse_parameters usage, fix proto for file_put_contents() 2003-04-08 22:10:15 +00:00
Sara Golemon
1e853b74a3 Added context support to file() 2003-04-08 21:00:07 +00:00
Christian Stocker
7a14e6358a fixes memleaks in element->get_elements_by_tagname & document->get_elements_by_tagname 2003-04-08 19:30:27 +00:00
Christian Stocker
b99146a5c7 make it possible to free DomHtmlDocuments as well 2003-04-08 17:22:19 +00:00
Andrei Zmievski
b18542ba68 Remove php_memnstr (it's in ZE now). 2003-04-08 17:15:43 +00:00
Christian Stocker
50f5fcb0fe make it compile .... 2003-04-08 14:29:15 +00:00
foobar
a45b4258f0 file_set_contents -> file_put_contents 2003-04-08 14:12:52 +00:00
Christian Stocker
2c3dc13027 - Fixes a bunch of memleaks, especially with attributes (by Rob Richards and me)
- Added domdocument->free() for freeing documents during script-time
#will later merge to PHP_4_3
2003-04-08 13:19:49 +00:00
Sebastian Bergmann
11f53cd111 Fix Win32 build. 2003-04-08 07:36:58 +00:00
Ilia Alshanetsky
b2e521a178 Fixed bug #23102 (integer overflow in exif_iif_add_value()). 2003-04-08 00:18:57 +00:00
Sara Golemon
8001f2922c Add context support to file_get_contents 2003-04-08 00:02:47 +00:00
Sara Golemon
70155b6dcf Introduce support for context options 'method', 'header', 'content' 2003-04-07 21:02:04 +00:00
foobar
c3e90bd6ed Fixed bug #23071 (when DST in effect, date("T") crashed PHP) 2003-04-06 22:37:45 +00:00
Marcus Boerger
448d361290 Collate version handling and bump up version (noticed by Peter Neuman) 2003-04-05 20:43:53 +00:00
Christian Stocker
5dc852e734 @- Added domxml_doc_create_document_fragment() and
@    domxml_document_fragment_open_mem(string) method (Christian)
Useful for adding and parsing (well-balanced) document fragments.
- Bumped up API version number
2003-04-05 19:56:41 +00:00
foobar
78365069f0 Better ifdef it out here too 2003-04-05 17:33:55 +00:00
Sara Golemon
a8711474c0 Debug watches probably don't belong in CVS. 2003-04-05 17:31:34 +00:00
Ilia Alshanetsky
61026e391c Syncronized bunbled GD library with gd 2.0.12
# One very useful feature that I still need to add support for in our
# interface to the lib is the support for png compression for imagepng().
2003-04-05 17:23:55 +00:00
Sascha Schumann
4226fe67d1 dividend -> divisor
Submitted by: Jesus M. Castagnetto <jmcastagnetto@yahoo.com>
2003-04-05 11:22:15 +00:00
Brian France
031aef1e0c Added HAVE_CONFIG_H check so the phpize build method works 2003-04-05 08:14:56 +00:00
Wez Furlong
c64256e671 Warning fix 2003-04-04 21:09:25 +00:00
Sara Golemon
a65564f0fa User shouldn't have to initialize this pass-by-ref parameter 2003-04-04 20:43:36 +00:00
foobar
cbb98284da - Fixed bug #22944 (--with-java "make install" fails) 2003-04-04 17:42:46 +00:00
Sterling Hughes
335a1c1a6d forgot to commit this. 2003-04-04 16:00:33 +00:00
foobar
9fbb5b5327 Check that t1lib has T1_StrError 2003-04-04 15:56:10 +00:00
foobar
392f3c2d7c - Checks specific to some extension belong in the extension's config.m4 2003-04-04 15:42:54 +00:00
Moriyoshi Koizumi
da4cf6f9d8 Fixed memleak in socket_select 2003-04-04 14:16:59 +00:00
Moriyoshi Koizumi
b78e3c5155 Added cmsghdr check. Now sockets extension can be built under cygwin. 2003-04-04 13:02:43 +00:00
Moriyoshi Koizumi
d1b82409c3 Added missing sanity check, which was causing segfault. 2003-04-04 09:06:23 +00:00
Wez Furlong
0148c0cb02 Simplify and enhance readability. 2003-04-04 08:57:40 +00:00
Sara Golemon
b2d4514580 Added stream_get_transports() 2003-04-04 05:21:03 +00:00
Ilia Alshanetsky
5ec34bcd82 Might as well disallow 0x0 images.
Thanks Marcus.
2003-04-04 01:33:57 +00:00
Ilia Alshanetsky
925bc0fd7d Fix segfault in imagecopyresized(). 2003-04-04 00:16:47 +00:00
foobar
74868f3a45 - Better errors for T1lib.
- Sanity check into imagepsextendfont().
# Patches by John Coggeshall <john@coggeshall.org>
2003-04-04 00:09:23 +00:00
foobar
2063094acc Use php_error_docref. 2003-04-03 23:10:08 +00:00
Rasmus Lerdorf
7461f1f45a MFB 2003-04-03 22:45:25 +00:00
Sascha Schumann
c2e2423838 Fix segfaults in imagecreate/imagecreatetruecolor 2003-04-03 19:18:57 +00:00
Sara Golemon
465bb61357 Kludgy fix for floating point drift causing problems like range(1.0,1.5,0.1) == array(1.0,1.1,1.2,1.3,1.4); 2003-04-03 18:33:05 +00:00
Sascha Schumann
7e7bbb751e Prevent entering of anything but arrays/strings in register_shutdown_func
Noticed by: Jan Schneider
2003-04-03 18:09:41 +00:00
Christian Stocker
630a00dda6 - Added domxml_elem_set_attribute_node() method. (Rob Richards) 2003-04-03 10:21:19 +00:00
Georg Richter
05e02eb27b fixed mysqli_prepare_result 2003-04-03 08:03:59 +00:00
Georg Richter
130860e709 fixed output 2003-04-03 08:03:12 +00:00
Derick Rethans
6412e65bf9 - CS 2003-04-03 06:21:59 +00:00
foobar
c94eeb9fad Another CS fix.
# Rasmus, at least try keep the style consistent..
2003-04-03 01:16:34 +00:00
foobar
16da825c7c CS fix 2003-04-03 01:12:47 +00:00
Moriyoshi Koizumi
cb38be1bd2 Fixed segfault in xml_parser_create()
# due to too many %s in printf spec
2003-04-03 01:00:45 +00:00
Ilia Alshanetsky
6965f229a6 MFH 2003-04-03 00:55:56 +00:00
Moriyoshi Koizumi
8784a497b8 Fixed segfault in mb_ereg_match() 2003-04-03 00:15:13 +00:00
Moriyoshi Koizumi
8b539ed766 Fixed lots of crashes in mbregex.
# most of them were caused by stupid mistakes
2003-04-03 00:01:44 +00:00
Rasmus Lerdorf
1dba0c1ba7 MFB: Check for negative precision 2003-04-02 23:51:52 +00:00
Rasmus Lerdorf
066a68d7fa MFB: Fix unregister_tick_function crash 2003-04-02 23:11:31 +00:00
Georg Richter
625df86428 fixed expected output 2003-04-02 22:07:27 +00:00
Rasmus Lerdorf
716142c4ea MFB: Get rid of bogus dtors 2003-04-02 22:07:22 +00:00
Rasmus Lerdorf
1612ffad05 MFB: Fix the setlocale() segfault 2003-04-02 21:33:02 +00:00
Sterling Hughes
bb7c2ddb23 add the ability for curl_multi_info to introspect the handles.
# Zend commit doesn't break anything, so I'm committing it.  If anyone
# has problems, just speak up. :)
2003-04-02 16:58:52 +00:00
Colin Viebrock
4888473efa fixes for logo guid functions 2003-04-02 16:51:40 +00:00
Edin Kadribasic
f773cd8fea Fixed bug #23008 2003-04-02 12:36:03 +00:00
Christian Stocker
19771e0433 Patch for Bug #22774 by Rob Richards 2003-04-02 10:31:33 +00:00
Sara Golemon
c249c67178 New test for userfilters rewrite 2003-04-02 00:41:09 +00:00
Ilia Alshanetsky
aab9718253 Fixed possible integer overflow in str_repeat(). 2003-04-02 00:25:45 +00:00
Jay Smith
dcf0c70950 Fix 'timestamp without timezone', too. 2003-04-01 23:56:16 +00:00
Marcus Boerger
ccfcd0d411 Fix 'time with timezone', too 2003-04-01 23:34:11 +00:00
Jay Smith
cff236c4a6 Fixed bug #23009 (pg_select with timestamp) 2003-04-01 23:26:10 +00:00
Rasmus Lerdorf
4b343a0562 MFB 2003-04-01 21:47:21 +00:00
Moriyoshi Koizumi
6301bd9b95 Fixed bogus test 2003-04-01 19:47:33 +00:00
Rasmus Lerdorf
20ea550235 MFB 2003-04-01 19:12:32 +00:00
Moriyoshi Koizumi
b302824171 Added a test case for bug #22538 2003-04-01 19:10:04 +00:00
Moriyoshi Koizumi
2954ea0a01 oops 2003-04-01 18:56:59 +00:00
Moriyoshi Koizumi
1bb22a8bd0 Reverted the last patch; the problem is elsewhere.. 2003-04-01 18:56:26 +00:00
Rasmus Lerdorf
423147c194 MFB 2003-04-01 18:50:31 +00:00
Moriyoshi Koizumi
df22d1016f Fixed crash that occurs due to an abused persistent hashtable.
# thanks Sascha again.
2003-04-01 18:44:00 +00:00
Moshe Doron
3c982dea22 oops 2003-04-01 12:54:35 +00:00
Moshe Doron
d8b5687925 revert due the last string.c revert 2003-04-01 12:53:44 +00:00
Moshe Doron
31bd24860c revert last commit for now 2003-04-01 12:46:01 +00:00
Moriyoshi Koizumi
6eaa47854e Fixed crash in mb_convert_encoding() that occurs when a void array is
passed as the third parameter
2003-04-01 11:49:30 +00:00
Thies C. Arntzen
60214a0338 *** empty log message *** 2003-04-01 11:04:38 +00:00
Sascha Schumann
1879b27fc6 fix VPATH builds 2003-04-01 10:16:12 +00:00
Sascha Schumann
cc39646730 Fix segfault in register_shutdown_function 2003-04-01 10:02:29 +00:00
Sara Golemon
48c947389e Bug #22962 2003-04-01 06:21:54 +00:00
Sebastian Bergmann
b8e3e0bfe3 Sorry Sterling, but this broke the ZTS build and I'd rather not 'ZTS fix' an April's Fool joke. 2003-04-01 05:30:32 +00:00
Sterling Hughes
53d90d8b9b Add the landonize() and landonize_url() functions which provide a secure
alternative to the sha1() and sha1_file() functions.
2003-04-01 05:01:50 +00:00
Moriyoshi Koizumi
93386a8b09 oops 2003-03-31 23:49:53 +00:00
Moriyoshi Koizumi
e8f13586a7 Fixed test; in ZE2, all the properties used in any methods are populated
at compile time.
2003-03-31 22:54:18 +00:00
Moriyoshi Koizumi
383808e9d3 Fixed proto to sync with the documentation 2003-03-31 20:36:46 +00:00
Moriyoshi Koizumi
4932306f94 Rearranged search order for the magic file to avoid further confusions 2003-03-31 19:48:53 +00:00
Moshe Doron
64bd1cdbd6 # make derik happy 2003-03-31 19:01:43 +00:00
Moshe Doron
dc8daad70d fix for 22904
@ now addslashes() do it also on cybase magic mode(moshe).
2003-03-31 18:56:41 +00:00
Wez Furlong
16dae2eba0 Fix const warning 2003-03-31 17:58:29 +00:00
Moshe Doron
5c3a073c07 # unnecessary condition here. 2003-03-31 12:08:31 +00:00
foobar
1d3542a6bc cleanup 2003-03-31 08:49:19 +00:00
Sascha Schumann
0481896ff7 TS issue, noticed by Sebastian Bergmann 2003-03-31 05:39:25 +00:00
Sascha Schumann
cb3c506639 Ensure that the seed function has been called, even if we are used by
another module's request init function.

Noticed by: marcus.boerger@t-online.de
2003-03-31 03:24:18 +00:00
Derick Rethans
07dd6f49ff - Typo and some whitespace 2003-03-30 22:29:22 +00:00
Derick Rethans
27496361d5 - Added optional parameter to openssl_sign() to specify the hashing
algorithm to use. (Patch by Scott <scott@planetscott.ca>)
@- Added optional parameter to openssl_sign() to specify the hashing
@  algorithm to use. (scott@planetscott.ca, Derick)
2003-03-30 22:25:23 +00:00
Ilia Alshanetsky
feba44546c Fixed bug #22965 (Crash in gd lib's ImageFillToBorder()). 2003-03-30 20:48:05 +00:00
Georg Richter
e3bf2f5c9c changed constant name 2003-03-30 15:28:21 +00:00
Georg Richter
7ff2c00be8 changed macro 2003-03-30 13:51:06 +00:00
Sebastian Bergmann
38491e487f --+_ 2003-03-30 09:24:40 +00:00
Moriyoshi Koizumi
47e40e1b98 Improved var_dump() and debug_zval_dump() so they also show the
namespace of the given object.
2003-03-29 21:29:22 +00:00
Moriyoshi Koizumi
9e6fdcd8f6 Fixed test cases so they wouldn't be failed in case register_globals=on 2003-03-29 07:13:47 +00:00
Ilia Alshanetsky
0e73275429 CS 2003-03-28 14:31:31 +00:00
David Hill
60a7aef6e9 Changing parsedate to be reentrant using pure_parser (Dave) 2003-03-28 13:10:52 +00:00
Moriyoshi Koizumi
8bdef0dda5 Removed redundant aliases & CS fix. 2003-03-28 03:38:13 +00:00
Harald Radi
f629da9384 MFB ext/com
fix #22899
invoke is called twice
2003-03-27 19:56:59 +00:00
Ilia Alshanetsky
3db5278dcc CS 2003-03-27 18:57:53 +00:00
David Hill
86569cb154 Backing out part of TZ change 2003-03-27 14:23:48 +00:00
Edin Kadribasic
688c24bcaa MFB 2003-03-27 13:30:40 +00:00
David Hill
1fa7504fae Changing TZ to match Unix98 standard to make Tru64 happy 2003-03-26 16:42:03 +00:00
Sebastian Bergmann
3fc852824f Eliminate TSRMLS_FETCH() calls in destroy_op_array() and zend_get_class_entry(). 2003-03-26 07:44:11 +00:00
Sebastian Bergmann
a9b479612f Eliminate TSRMLS_FETCH() call in php_find_gd_font(). 2003-03-26 06:30:45 +00:00
Edin Kadribasic
d52937b8e7 MFB: php_gd.dll is no longer bult and the bundled library is always used. 2003-03-25 10:30:58 +00:00
Sebastian Bergmann
5ca078779a Eliminate some TSRMLS_FETCH() calls. Tested with Win32 build of SAPI/CGI and SAPI/CLI on Win32. 2003-03-25 08:07:13 +00:00
Edin Kadribasic
96e9337fc8 MFB 2003-03-24 21:49:46 +00:00
Moriyoshi Koizumi
570e929d49 Fixed bug #22834 (compile failure due to ugly implicit casts) 2003-03-24 21:22:23 +00:00
Moriyoshi Koizumi
03a5129429 oops... 2003-03-24 19:24:35 +00:00
Moriyoshi Koizumi
68b03bde3a Added test cases for new functionality 2003-03-24 19:21:20 +00:00
Moriyoshi Koizumi
93b250f923 Added koi8-r, cp866, and cp1251 support for htmlentities 2003-03-24 19:13:02 +00:00
Ilia Alshanetsky
5c159052bf Added missing header that prevents successful compilation. 2003-03-24 15:21:53 +00:00
foobar
0b4784d951 Fixed bug #18640 properly 2003-03-24 10:18:00 +00:00
Georg Richter
e43e219e46 changed method name 2003-03-24 07:43:28 +00:00
Alex Waugh
d403ed4bc3 Fix linkage of symbols. 2003-03-23 21:58:03 +00:00
Shane Caraveo
456b6cbeab The environment should *never* be magic quoted. 2003-03-23 19:30:31 +00:00
Wez Furlong
badd5fb6fd Fix curl detection when multiple installations exist 2003-03-23 18:14:41 +00:00
Moriyoshi Koizumi
9c038be621 Added some compiler check 2003-03-23 01:44:58 +00:00
Moriyoshi Koizumi
0d2bd85a61 Fixed win32 build, which fails with non-SBCS-compatible locale settings. 2003-03-22 23:31:52 +00:00
Sterling Hughes
0a4282eabf fix segfault in file_set_contents() when the file could not successfully
be opened.
2003-03-21 22:22:15 +00:00
Marcus Boerger
f83c88e81d Add missing initialization 2003-03-21 18:08:59 +00:00
Sterling Hughes
ecef1df39c This broke the xml extension, and pres2, commented out for now 2003-03-21 05:26:56 +00:00
Marcus Boerger
49adbd1ef6 missing TSRMLS_FETCH 2003-03-20 20:03:21 +00:00
Marcus Boerger
f14a65c7b9 CS 2003-03-20 19:54:22 +00:00
Christian Stocker
0cc4b081a3 fix for bug #22786 ("Crash when trying to call DomAttribute's set_namespace method") 2003-03-20 09:48:19 +00:00
foobar
6638543a72 WS & CS fixes.. 2003-03-20 01:27:40 +00:00
foobar
c8791084db CS fix 2003-03-20 01:17:05 +00:00
foobar
0af32bc1ac WS & CS fixes 2003-03-20 01:12:57 +00:00
foobar
fb2c346be1 WS & CS fixes 2003-03-20 00:37:12 +00:00
foobar
eccecff5f9 WS & CS fixes 2003-03-20 00:22:57 +00:00
foobar
6a6e0151c5 Better config.m4.. 2003-03-19 23:52:45 +00:00
foobar
9ff622f268 And this too.. 2003-03-19 23:10:27 +00:00
foobar
efe365abdc Andrei forgot this.. 2003-03-19 23:08:58 +00:00
Wez Furlong
0fd995f9fc Add the mode string that was used to open the stream to the meta data,
as requested by Philip Olson.
2003-03-18 23:45:27 +00:00
Wez Furlong
86fb577d59 Implement persistent plain file streams.
Usage:

php_stream *stream = php_stream_fopen("/path/to/file", "r+b", NULL,
	STREAM_OPEN_PERSISTENT | ENFORCE_SAFE_MODE | REPORT_ERRORS);

the filename and mode are combined to form the hash key for the persistent
list; they must be identical for this same stream to be returned again in the
next request.

Calling php_stream_close() on a persistent stream *will* close it, as is
usual with all persistent resources in PHP/ZE.

This is deliberately *not* exposed to user-space PHP at this time.
2003-03-18 23:37:54 +00:00
Jay Smith
c0d1508ec8 get_browser() needs to use zend_is_auto_global() on _SERVER. 2003-03-18 21:49:01 +00:00
Marcus Boerger
3e621fac94 make phpinfo() depend on executed sapi 2003-03-18 20:52:52 +00:00
Ilia Alshanetsky
d29d55e772 Cleanup. 2003-03-18 18:29:10 +00:00
foobar
d0ac3d0646 Fixed bug #22765 2003-03-18 17:30:32 +00:00
Wez Furlong
ce01fd9526 Avoid using FILE* where possible.
Tidy up handling of potential error situations for the php:// wrapper.
2003-03-18 16:40:29 +00:00
Wez Furlong
267db80b21 avoid unsigned issues. 2003-03-18 15:15:10 +00:00
Wez Furlong
862586e376 CS fixes 2003-03-18 14:35:15 +00:00
Stig Bakken
0e6fca4f22 * email address change 2003-03-18 12:06:09 +00:00
foobar
980bac69f9 Fixed bug #22751 (Compile error in gdcache when external libgd is used) 2003-03-18 02:13:49 +00:00
foobar
6443ce1fc5 Fix the bad logic.. 2003-03-17 15:56:17 +00:00
foobar
b4b661ae0a WS & CS fixes 2003-03-17 15:06:11 +00:00
foobar
d8a62b8e4d WS & CS fixes 2003-03-17 14:45:07 +00:00
Hartmut Holzgraefe
3343327ea1 fixing my proto fix :| 2003-03-17 13:50:27 +00:00
Hartmut Holzgraefe
dbe4f2238c proto fixes 2003-03-17 13:11:19 +00:00
Hartmut Holzgraefe
fa692f6744 proto fix 2003-03-17 13:08:59 +00:00
Hartmut Holzgraefe
212abb4996 proto fix 2003-03-17 13:00:13 +00:00
Hartmut Holzgraefe
6f24340f22 more proto fixes 2003-03-17 12:48:38 +00:00
Sascha Schumann
d0debaf45c Merge macro changes 2003-03-16 23:02:19 +00:00
foobar
fcb43b70ef WS & CS fixes + some TSRM_FETCH() removals + pval -> zval 2003-03-16 05:00:50 +00:00
foobar
d4a72592a4 - Fixed bug #22709 (crash within interbase when database unavailable) 2003-03-16 00:37:01 +00:00
Hartmut Holzgraefe
e6633a9611 lots of proto stuff 2003-03-15 22:51:49 +00:00
Wez Furlong
b66957c56a fix proto 2003-03-15 13:29:35 +00:00
Jay Smith
830b14297f @- Fixed bug #22386 (Using browscap causes segfault). This fix
@  also adds an optional bool argument to get_browser() that
@  makes the return value an array instead of an object. (jay)
2003-03-14 17:54:38 +00:00
foobar
4a244a3889 No c++ comments 2003-03-14 17:49:44 +00:00
foobar
b07507f086 No c++ comments! 2003-03-14 17:37:44 +00:00
Ilia Alshanetsky
199ae10f01 Whitespace fixes. 2003-03-14 16:56:38 +00:00
Daniela Mariaschi
1afc5a59fe reverting to version 1.9 2003-03-14 08:27:29 +00:00
Alan Knowles
84aa3953e6 remove makefile and libs.mk from package file 2003-03-14 02:13:42 +00:00
Alan Knowles
b45ce67f95 removing files not needed so diff -u works nicely 2003-03-14 02:11:54 +00:00
Alan Knowles
65a71f4331 fix package file - note the package is called ext_soap - I suspect it will conflict with SOAP if downloaded - anyone want to comment on ideas for this... 2003-03-14 02:10:23 +00:00
Alan Knowles
0e2f675c87 fixes to enable module building 2003-03-14 02:08:30 +00:00
Alan Knowles
bd69062b14 add support for shared library building - shout stop alan - if any objections.. 2003-03-14 01:58:21 +00:00
Daniela Mariaschi
ceb608fcb2 Test for libgds needs libcrypt with Firebird to succeed 2003-03-13 23:15:43 +00:00
Daniela Mariaschi
08267e4a55 Numeric/decimal datatype overflow on Win32.
Fixed bug #20641
2003-03-13 21:58:29 +00:00
Derick Rethans
bce69f1218 - Whitespace 2003-03-13 21:09:27 +00:00
Jay Smith
39ec83bb5f Solaris knows nothing of "Europe/Amsterdam". Use "US/Eastern" instead. 2003-03-13 18:51:39 +00:00
Ilia Alshanetsky
cf072c4a75 Fixed bug #22681 (Crash when reading from invalid file pointer). 2003-03-13 18:15:31 +00:00
foobar
ce4bf275c9 Prevent using both --with-sybase and --with-sybase-ct in same build 2003-03-13 17:27:28 +00:00
Sara Golemon
cbf8c3e346 Bug #21534. Silly typo. 2003-03-13 16:10:21 +00:00
Ilia Alshanetsky
d6a02110b0 Cleanup. 2003-03-13 02:22:31 +00:00
Sterling Hughes
39b8f06f9b @ Add the file_set_contents() function, as a complement to the file_get_contents()
@ function. (Sterling)
2003-03-12 06:47:34 +00:00
Ilia Alshanetsky
68e36864c9 Fixed spprintf() usage.
Fixed compiler warnings.
2003-03-12 04:46:03 +00:00
foobar
bf90cdeff9 Added the type constants for imagegd2() 2003-03-12 04:29:51 +00:00
foobar
2fee56b2a2 Fix bug #22646 2003-03-12 04:15:28 +00:00
Ilia Alshanetsky
88281627bc Style fixes. 2003-03-12 00:51:03 +00:00
foobar
9e501d4f37 - Fixed bug #20715 (odbc could not be compiled as shared extension) 2003-03-11 03:11:36 +00:00
Sascha Schumann
65b9a40640 fix sizeof(size_t) > sizeof(uint) issue 2003-03-11 02:28:46 +00:00
foobar
98b19bbe7e Fixed bug #22616 (Wrong order of -lssl and -lcrypto with IMAP) 2003-03-11 02:11:57 +00:00
Sascha Schumann
dfb0d70b5b reverting jani's non-sense commits 2003-03-11 01:47:06 +00:00
Georg Richter
efde6643d4 added new profiler-files 2003-03-11 01:22:20 +00:00
Georg Richter
7cf921a56f profiler:
moved profiler stuff from php_mysql.h to separate include file
added port communication
added xml support for file and port output
2003-03-11 01:19:21 +00:00
foobar
febb535db0 touch 2003-03-10 22:59:46 +00:00
foobar
7a1ecedf85 64bit issue fixed 2003-03-10 22:59:34 +00:00
Moriyoshi Koizumi
a41e0c1382 Modified the test to reflect the recent change on var_dump() 2003-03-10 20:46:39 +00:00
David Hill
a7b84ac7cb Correcting int/long mismatched - 64bit issues. 2003-03-10 20:30:33 +00:00
Ilia Alshanetsky
822b53b95a Fixed bug #22613 (imagettfbox() does not add the kerning distance to the
running position).
Fixed few possible memory leaks.
2003-03-10 19:07:22 +00:00
David Hill
4f8ae7b111 fixing missed int to long with zend_parse_parameters 2003-03-10 15:52:10 +00:00
Andrei Zmievski
b1546a1775 Print the object handle (it's useful). 2003-03-10 15:13:32 +00:00
David Hill
1edf7f55e5 64 bit corrections to parameters to OnUpdateInt Bug #20994 (Dave) 2003-03-10 14:50:16 +00:00
foobar
a7d8bc6894 cs & ws fixes 2003-03-10 02:14:09 +00:00
Sara Golemon
c4a491e12c Adjustment to user filters reimplementation. Make a bucket an object containing a resource(the real bucket) and a data element for direct operations. Simplifies
user interface and reduces number of function calls/reallocs needed.
2003-03-09 23:12:31 +00:00
Derick Rethans
0d603b2d9a - Fix proto 2003-03-09 00:05:48 +00:00
Georg Richter
15f648c8f9 various changes for profiler 2003-03-08 23:33:12 +00:00
Derick Rethans
1b9ee1a8ea - Fixed a bug in GD's truecolor TTF handling 2003-03-08 18:27:12 +00:00
Stefan Esser
1f54605723 wrong place. 2003-03-08 14:51:16 +00:00
Stefan Esser
76c427fd05 fixing memory leak 2003-03-08 14:37:01 +00:00
Ilia Alshanetsky
20c2c39f3c Fixed bug #22585 (Do not terminate the script on minor errors). 2003-03-07 14:03:53 +00:00
foobar
3c9155e0cb Renamed OnUpdateInt -> OnUpdateLong to prevent further misunderstandings.
# Intentionally left out any 'alias' for it, this way 3rd party extension
# maintainers will really NOTICE the change.
2003-03-07 05:15:28 +00:00
foobar
e32eaf29de Fixed typo caught by Dave. 2003-03-07 04:32:36 +00:00
foobar
1b38773eef WS & CS fixes 2003-03-07 01:03:04 +00:00
foobar
2da432cc19 WS & CS fixes 2003-03-07 00:52:04 +00:00
foobar
8d6c858aba WS & CS fixes 2003-03-07 00:40:54 +00:00
David Hill
5c90216d2c 64-bit correction to variables passed to zend_parse_parameters
@64-bit correction to variables passed to zend_parse_parameters (Dave)
2003-03-06 23:07:28 +00:00
Stefan Esser
af4aa97d1e Fixing functionicalls with variable number of parameters... 2003-03-06 20:31:20 +00:00
Moriyoshi Koizumi
9bdc86973b Fixed a small leak in the convert filter code 2003-03-05 17:51:33 +00:00
Ilia Alshanetsky
4f4f0a9771 Added test case for bug #22544. 2003-03-05 16:19:08 +00:00
Ilia Alshanetsky
d31fa3da61 Better identification of bundled GD library. 2003-03-05 16:08:01 +00:00
Ilia Alshanetsky
fd088722a7 Fixed bug #22544 (missing fix from official gd). 2003-03-05 15:57:28 +00:00
Wez Furlong
b68739f7f9 - Remove legacy non-streams code (as discussed with Brad).
- Make get_http_header_value() work using case-insensitive compares
  for the header names, as per relevant RFC's.
- General performance boost for get_http_headers().
- Fix a crash bug when a malformed URL is passed to the soap client.
- Implement https:// support in the the soap client. (does not verify
  the remote server certificate; it provides an encrypted link only).
- Provide a hook for libxml to parse files using any registered PHP
  wrapper, including https://, ftps:// and any user-space streams.
2003-03-05 14:23:56 +00:00
Corne' Cornelius
5ab857c8b9 - Reverted emalloc(),efree() changed for persistant connection resources 2003-03-05 13:17:00 +00:00
Corne' Cornelius
e25dabc747 - Changed malloc() and free() to emalloc() and efree() 2003-03-05 09:38:00 +00:00
Moriyoshi Koizumi
d2eb897739 Added missing phpinfo entry (Russian support) 2003-03-05 06:16:22 +00:00
Marcus Boerger
f5a7a1c094 Use stream locking support
# needs more testing
2003-03-04 23:45:48 +00:00
Wez Furlong
8e5aaa0e7c Miscellaneous compilation warning, coding standards, build related,
memory leak and segfault related fixes.

The simple soap client/server code examples now run without leaking or
segfaulting.
2003-03-04 23:01:24 +00:00
Marcus Boerger
cf7101d354 Support all possible configurations and simplify includes 2003-03-04 20:31:42 +00:00
Marcus Boerger
238abf8c7f fix dba by fixing key_len retrieval 2003-03-04 19:56:35 +00:00
foobar
5546f1e259 typofix 2003-03-04 18:59:16 +00:00
Moriyoshi Koizumi
aa40a02de8 64bit long fix 2003-03-04 17:18:40 +00:00
Moriyoshi Koizumi
3940c673e3 64bit long fix: patch by Dave Hill 2003-03-04 17:10:29 +00:00
Ilia Alshanetsky
c5053e0f62 Fixed bug #22437. 2003-03-04 16:34:52 +00:00
Ilia Alshanetsky
53530765ff Added support for http redirects to ftp.
Fixed bug #22508 (Added protection against circular HTML redirects).
2003-03-04 16:04:05 +00:00
Ilia Alshanetsky
b162e18a29 Skip test if running under safe-mode. 2003-03-04 14:37:38 +00:00
Christian Stocker
6804378398 MFB (make it really W3C compatible (unlink node, when in tree...)) 2003-03-04 13:38:38 +00:00
Edin Kadribasic
d1feae01d9 Credits update. 2003-03-04 00:10:11 +00:00
Georg Richter
338ec7b859 fixed bug in macro-definition 2003-03-03 22:50:56 +00:00
Georg Richter
359d21aa54 disabled output of errormessages 2003-03-03 22:50:34 +00:00
Georg Richter
281960ee78 added profiler support 2003-03-03 22:36:47 +00:00
Edin Kadribasic
6c20fa725e MFB: Enabled mcrypt_generic_deinit() on windows (#22520) 2003-03-03 21:25:25 +00:00
foobar
826d9ace59 typofix 2003-03-02 18:52:29 +00:00
foobar
6290b1c2cb Special case for MacosX.. 2003-03-02 18:50:45 +00:00
foobar
96f6d1fdbd Fixed bug #22485 (hardcoded shared lib extensions) 2003-03-02 18:47:35 +00:00
Zeev Suraski
622da33231 - Optimize $_REQUEST
- Fix phpinfo()
2003-03-02 13:35:01 +00:00
Wez Furlong
6fed2e95b2 Fix build for activescript sapi 2003-03-02 13:09:48 +00:00
Zeev Suraski
4e55747a2b Add JIT initialization for _SERVER and _ENV
(it's less important for the others, even though it should be fairly
easy now too)
2003-03-02 10:19:15 +00:00
Moriyoshi Koizumi
da0d5a11ed Fixed my silly mistake in the filter code 2003-03-02 08:39:01 +00:00
Wez Furlong
c6e40696e1 Fix two crash bugs when optional parameters are not specified.
Fix folding markers.
2003-03-01 15:40:06 +00:00
Pierre Joye
31509f124f update credits (ilia,myself) 2003-03-01 01:28:10 +00:00
Wez Furlong
558db0d87a Expose php_stream_copy_to_stream as stream_copy_to_stream(); a high
performance alternative to looping reads and writes.
2003-03-01 01:27:50 +00:00
Wez Furlong
349ce76f96 Tidy up stupid signed/unsigned issues with win32 by introducing a php_socket_t typedef. 2003-02-28 21:03:36 +00:00
Wez Furlong
68c1294462 Add this file... 2003-02-28 20:06:05 +00:00
Wez Furlong
1b53a2d12e New user-space functions:
. stream_socket_client() - similar to fsockopen(), but more powerful.
  . stream_socket_server() - Creates a server socket.
  . stream_socket_accept() - Accept a client connection.
  . stream_socket_get_name() - Get local or remote name of socket.

Tidy up some leaks and debug printfs.
Move more streams functions into streamsfuncs.c and streamsfuncs.h.
2003-02-28 19:53:21 +00:00
Ilia Alshanetsky
14bf872003 Fixed compiler warnings. 2003-02-28 17:26:28 +00:00
Hartmut Holzgraefe
050e86fde4 it is still to early in the morning for coding :( 2003-02-28 07:57:00 +00:00
Hartmut Holzgraefe
80d267e271 make sure that GNU extensions exist for fnmatch() 2003-02-28 07:52:23 +00:00
foobar
535a73a71e - Fixed bug #22312 (crash on failed connection when curl_getinfo() was called).
(Phil Oleson <poleson@verio.net>)
2003-02-28 07:34:45 +00:00
foobar
08b5f6b2b9 - No need to include the ssl headers elsewhere but in ext/openssl
# ext/ftp doesn't use streams yet so it needs to include them.
2003-02-28 07:25:15 +00:00
foobar
282512abea YAZ 2.0 or later is required now. 2003-02-28 07:17:47 +00:00
foobar
95d756f467 ws & CS 2003-02-28 06:33:04 +00:00
Ilia Alshanetsky
912bef379d Fixed compiler warning. 2003-02-27 23:53:55 +00:00
Ilia Alshanetsky
57eabeea29 fixed compiler warnings. 2003-02-27 23:50:55 +00:00
Wez Furlong
0cec0bd8a9 streams.c -> streamsfuncs.c
# argh!
2003-02-27 22:48:13 +00:00
Wez Furlong
493ef36299 Update win32 build.
Since msvc sucks, I had to rename ext/standard/streams.c to ext/standed/streamsfuncs.c
2003-02-27 22:43:51 +00:00
Wez Furlong
5def83df0b Move streams specific stuff from ext/standard/file.c -> ext/standard/streams.c
Move win32 select implementation into win32/.
Will update win32 build in a moment.
2003-02-27 22:23:39 +00:00
Ilia Alshanetsky
ea1f34e892 Fixed a bug that would cause filetype() to return "unknown" for
non-existent files on Win32.
2003-02-27 20:38:00 +00:00
Wez Furlong
cfd8150b30 Add a generic meta data api for streams. 2003-02-27 19:10:24 +00:00
Wez Furlong
76ebaa6ee7 - Move https:// and ftps:// wrapper registration into the openssl module.
- Expose the http:// and ftp:// wrappers as PHPAPI
- Remove unused variables
2003-02-27 18:16:35 +00:00
Wez Furlong
fd61f69077 Another big commit (tm).
Main Changes:
- Implement a socket transport layer for use by all code that needs to open
  some kind of "special" socket for network or IPC.
- Extensions can register (and override) transports.
- Implement ftruncate() on streams via the ioctl-alike option interface.
- Implement mmap() on streams via the ioctl-alike option interface.
- Implement generic crypto API via the ioctl-alike option interface.
  (currently only supports OpenSSL, but could support other SSL toolkits,
  and other crypto transport protocols).

Impact:
- tcp sockets can be overloaded by the openssl capable sockets at runtime,
  removing the link-time requirement for ssl:// and https:// sockets and
  streams.
- checking stream types using PHP_STREAM_IS_SOCKET is deprecated, since
  there are now a range of possible socket-type streams.

Working towards:
- socket servers using the new transport layer
- mmap support under win32
- Cleaner code.

# I will be updating the win32 build to add the new files shortly
# after this commit.
2003-02-27 17:43:38 +00:00
Ilia Alshanetsky
560e33968d Fixed bug #21410 (fixed handling of NULL or "" files on Win32) 2003-02-27 16:41:23 +00:00
Hartmut Holzgraefe
52ca521b40 changed from strncpy to strlcpy on request 2003-02-27 10:21:32 +00:00
Corne' Cornelius
5e09029ba7 - Changed maxmsglen in ifx_errormsg() back to normal 255 instead of 10 2003-02-27 08:59:16 +00:00
Corne' Cornelius
8a7822cf24 - Fixed possible Segfault in ifx_errormsg() using malloc() instead of emalloc() 2003-02-27 08:56:15 +00:00
Pierre Joye
972c04e50b add imagesavealpha wrapper (Jukka Holappa <jukkaho@mail.student.oulu.fi>,
2 Pierre-Alain Joye)
2003-02-26 23:22:09 +00:00
Pierre Joye
fbd867184c add imagesavealpha wrapper (Jukka Holappa <jukkaho@mail.student.oulu.fi>,
Pierre-Alain Joye)
2003-02-26 23:21:44 +00:00
Ilia Alshanetsky
695ae92c97 1) Make the output of system() binary safe
2) Solved a memory leak when the return_value variable passed by reference is
   not an integer in system()/exec()/passthru().
3) Solved a bug in exec(), which would make it append to the 2nd parameter
   (passed by reference) if the parameter is an array instead of overwriting it.
4) Changed the code to use the streams code, resulting in a smaller code base.
5) Various cleanups resulting in reduction of overall code base inside the file
   by ~ 1/3.
6) Speed improvements of ~2.5 times compared to previous performance (based on
   attached PHP script).
2003-02-26 22:11:12 +00:00
Marcus Boerger
d737741329 allow keys as array(group, name) for handler inifile 2003-02-26 22:07:50 +00:00
Marcus Boerger
ce04e8a91a ws 2003-02-26 22:05:32 +00:00
Marcus Boerger
cdcb86a4da make it faster 2003-02-26 22:03:55 +00:00
Marcus Boerger
6fd9c32346 if skip param of dba_fetch is -1 stop do not restart search after last element 2003-02-26 22:03:00 +00:00
Derick Rethans
424c41a72e - Added an extra ini setting with which extra commands can be forced to
the sendmail deamon on a per-vhost base. The value in this ini setting
  will override all extra commands passed as the 5th parameter to mail()
  and will work in Safe Mode.
@- Added an extra ini setting (mail_force_extra_paramaters) which forces
@  the addition of the specified parameters to be passed as extra
@  parameters to the sendmail binary. These parameters will always replace
@  the value of the 5th parameter to mail(), even in safe mode. (Derick)
2003-02-26 20:04:16 +00:00
Derick Rethans
17acc55ad0 - Fix proto 2003-02-26 19:34:16 +00:00
Derick Rethans
bc11c47ce6 - Whitespace 2003-02-26 19:25:24 +00:00
Hartmut Holzgraefe
499a97a9b2 changed to emalloc just to be safe 2003-02-26 16:06:07 +00:00
Brad LaFountain
2c1b3b74b2 changes in the past shouldn't have compiled. 2003-02-26 03:04:00 +00:00
Ilia Alshanetsky
aee0c18bde Made shell_exec() use streams, this simplifies the code and in some cases
makes it a little faster too.
2003-02-25 23:52:34 +00:00
Ilia Alshanetsky
bce8bfdae4 MFH (forgot to put this fix into the 5.X tree). 2003-02-25 23:39:57 +00:00
Moriyoshi Koizumi
991da29849 Set fgetss() free from the length parameter 2003-02-25 20:12:18 +00:00
Ilia Alshanetsky
503e49feae Fixed test. 2003-02-25 16:27:51 +00:00
Ilia Alshanetsky
f29964e2ba Fixed bug #22414 and added a test case for it. 2003-02-25 16:21:00 +00:00
foobar
400f466040 Cleanup 2003-02-25 11:48:50 +00:00
Adam Dickmeiss
79a3618b36 Tabify 2003-02-25 08:34:33 +00:00
Adam Dickmeiss
45214b2340 yaz_search supports query type cql 2003-02-25 08:31:53 +00:00
foobar
afc69728a8 (hope) fix some win32 build errors 2003-02-25 07:19:44 +00:00
Corne' Cornelius
086b317448 - Added Corne' Cornelius to CREDITS/Authors 2003-02-25 06:59:15 +00:00
Corne' Cornelius
9f48874675 - Changed IFX_VERSION to work with Major versions with more then one digit 2003-02-25 05:33:28 +00:00
foobar
14f98fca45 fix bug #22324, libjdbcoci8.so is not necessarily needed.. 2003-02-25 04:36:54 +00:00
Ilia Alshanetsky
e8823a205a Fixed bug #22402 (opening of ftp for read/write could fail due to invalid
return code handling).
Solution suggested by jan@jancm.org
2003-02-25 04:20:22 +00:00
Ilia Alshanetsky
348200b54d Fixed a crash in gdImageCopyMergeGray(). 2003-02-25 03:49:26 +00:00
Stig Bakken
d4dff9e92a * add new ZE2 tokens 2003-02-25 02:08:49 +00:00
Ilia Alshanetsky
862634ffa5 Added locking to streams.
Allow PHP to automatically release locks on files when terminating the
stream.
Fixed bugs in the handling of the 3rd optional parameter to flock().
2003-02-25 01:39:06 +00:00
Moriyoshi Koizumi
14db9ea88d Fixed string.strip_tags filter so it reflects the change on php_strip_tags 2003-02-24 22:41:55 +00:00
Moriyoshi Koizumi
b44b0b80e0 Made fgetss() binary safe too 2003-02-24 22:39:47 +00:00
Moriyoshi Koizumi
8f341f6a19 Fixed possible buffer overflow of php_strip_tags 2003-02-24 22:19:36 +00:00
Moriyoshi Koizumi
385a809694 Made strip_tags() binary safe 2003-02-24 22:01:12 +00:00
Sara Golemon
85a5ef3ec9 Initial re-implementation of userfilters after filterchain redesign by wez. More userspace API to come. 2003-02-24 21:56:19 +00:00
Wez Furlong
088e2692c3 MFB: Bunch of streams related fixes. 2003-02-24 21:40:23 +00:00
Ilia Alshanetsky
4474f9225a Fixed bug #22355 (PHP would remove folding from Subject & To fields). 2003-02-24 19:41:18 +00:00
Moriyoshi Koizumi
93b6d05bb8 Forgot to fix this part 2003-02-24 16:54:21 +00:00
Moriyoshi Koizumi
f73f94f258 Fixed a signed / unsigned issue.
# imagine the case like "\\\xfe" where walk[1] takes a value that is greater
# than 127 in integer...
2003-02-24 16:29:00 +00:00
Moriyoshi Koizumi
171fd93840 Style fix 2003-02-24 16:13:13 +00:00
Hartmut Holzgraefe
cfb377ce33 "key" has to be zero-delimited 2003-02-24 13:35:07 +00:00
foobar
cf72bfbae1 no c++ comments 2003-02-24 08:27:24 +00:00
Corne' Cornelius
7afe50fc5c (PHP ifx_errormsg) Fixed Informix bug where ifx_errormsg() would Segfault
on an unopened connecection and with an errorcode supplied
2003-02-24 06:34:37 +00:00
foobar
6ed8720fa2 fix compile warning 2003-02-24 03:27:00 +00:00
Ilia Alshanetsky
a3cb589b71 Fixed bug #22382 (fgetcsv did not handle \" correctly). 2003-02-24 03:13:25 +00:00
foobar
c87c4c7bd7 Extra paranoia checks if dn_skipname/dn_expand exist or not 2003-02-24 00:09:18 +00:00
foobar
de54cd0a08 Fix for bug #22353 2003-02-23 08:14:25 +00:00
Marcus Boerger
fbe7e1d977 Dropped optimization
# It is impossible to combine skip=-1 searches with firstkey/nextkey results
2003-02-22 23:47:09 +00:00
Marcus Boerger
c0e9bd0830 INI files are case insensitive 2003-02-22 20:49:07 +00:00
Ilia Alshanetsky
8908faa47f Revent previous patch, adding of file_write_content() was premature. 2003-02-22 20:35:22 +00:00
Ilia Alshanetsky
d2e2fbcc5b int/long change. 2003-02-22 20:33:11 +00:00
Marcus Boerger
fef5b7c3a1 Remove testcode 2003-02-22 17:37:27 +00:00
Marcus Boerger
8ab1924ca3 @Added dba handler inifiles to support ini files. (Marcus) 2003-02-22 17:20:06 +00:00
Andrey Hristov
8c2dbd5f0f additional speedup for array_shift(). No need to rehash if the removed element's
key is not scalar and elements with scalar keys are already well numbered
(sequentially from 0) for some reason. This is the case if the leading
elements have no scalar indexes.
2003-02-22 13:55:11 +00:00
Andrey Hristov
94040a28ce rehash only in case something is changed.
#lowers the execution time in half on my machine on array with 1000 elements
#with nonscalar keys. Maybe it can be optimized further.
2003-02-22 10:54:26 +00:00
Georg Richter
0133377fba removed some comments 2003-02-22 07:47:46 +00:00
Georg Richter
b63fbf2763 Fixed bug with stmt_close (libmysql bk version 1.1477 required)
Fixed bug with mysql_execute and float values
2003-02-22 07:31:01 +00:00
foobar
7d256c1ae1 MFB 2003-02-21 10:43:32 +00:00
foobar
b420beba61 - Fixed bug: #22339
# No NEWS, this was bug introduced by Marcus a while ago..
# Not present in php4.3.x branch
2003-02-21 08:45:58 +00:00
foobar
12ce594f64 MFB 2003-02-21 06:50:25 +00:00
foobar
161d31c8bc ZTS fixes 2003-02-21 06:46:12 +00:00
Rasmus Lerdorf
d08a0e99c8 An input filter might not simply strip stuff, it might also turn things
into entities or use some other mechanism which causes the filtered data
to be longer than the original data.  Ergo, pass in the address of the
buffer instead so the filter is free to reallocate it.
2003-02-20 22:21:49 +00:00
Justin Erenkrantz
9d89ef3295 Remove C++-style comment. (Breaks Sun Forte compiler.) 2003-02-20 21:48:58 +00:00
Sara Golemon
2002ca0203 Reduce unnecessary filter applications when stream is (read|write) only 2003-02-20 20:05:31 +00:00
Moriyoshi Koizumi
63291af120 Fixed bug #22330 (overloaded strrpos() gives wrong results)
Patch by david at santinoli dot com. Thanks!
2003-02-20 17:52:42 +00:00
Derick Rethans
2bff9cae27 - Fixed testcase... you can never trust on RFCs it seems 2003-02-20 16:15:41 +00:00
Derick Rethans
91766d4b9a - Fixed copy and paste bug 2003-02-20 10:33:55 +00:00
Derick Rethans
b4b33b11ef - Also add the optional raw output parameter to md5_file and sha1_file. 2003-02-20 10:32:35 +00:00
foobar
0f593f899f Fixed bug: #22306 (pg_lo_seek($h, 0, PGSQL_SEEK_SET) succeeds but returns false) 2003-02-20 07:10:07 +00:00
Derick Rethans
ead7521e4d - No need to add the \0 ourselves, the estrndup in STRINGL takes care of
that for us.
2003-02-20 06:56:37 +00:00
Sascha Schumann
6f5b46c118 generally urlencode parameters 2003-02-20 06:18:16 +00:00
foobar
6043ee22e8 - Fixed bug #22299 (gethostbyname() crash with non-existing domain on MacOSX) 2003-02-20 05:34:58 +00:00
Ilia Alshanetsky
69094da0e8 Revert accidental commit. 2003-02-20 00:34:03 +00:00
Ilia Alshanetsky
3bff5c0419 Fixed bug #22308 (optimized passthru, code is now ~40 times faster). 2003-02-20 00:32:51 +00:00
Jon Parise
370c0cbf91 Add folding markers and editor directive blocks. 2003-02-19 21:36:00 +00:00
Rasmus Lerdorf
afb8842cea Fix mbstring input_filter 2003-02-19 20:56:47 +00:00
Rasmus Lerdorf
7429c2dc3f Input Filter support. See README.input_filter for details.
@- Input Filter support added. See  README.input_filter. (Rasmus)
2003-02-19 19:41:09 +00:00
Marc Boeren
85f81c6006 Fix for bug #22221: pgsql version for dbx_query suppressed a warning that
was trappable by using a user-defined error-handler. A different use of
pgsql_getrow removed the warning and thus the need for suppressing it.
2003-02-19 13:32:27 +00:00
Corne' Cornelius
71e6110bc8 - Revert latest commit 2003-02-19 09:52:52 +00:00
Corne' Cornelius
ad56bbe4a4 - Added Input Descriptor Binding to be used by blobs. This fixed a bug
where ESQL/C would cause a Segmentation fault if the first blob in a
  result is NULL or '' as soon as it gets a result with blob != NULL
- Fixed leaks where blobs resources weren't always freed
2003-02-19 09:29:26 +00:00
foobar
2b90480fa9 scandir -> php_scandir, alphasort -> php_alphasort 2003-02-19 09:27:29 +00:00
foobar
8e3f23e3c0 ws fixes + missing $Id$ tags, headers added 2003-02-19 08:40:19 +00:00
Corne' Cornelius
48e5c1dae7 Updated IFX_VERSION entry to work with new Version output of ESQL/C
@- Updated IFX_VERSION entry to work with new Version output of ESQL/C (Corne')
2003-02-19 07:16:01 +00:00
Ilia Alshanetsky
a6ef609a37 Fixed bug #22283 (possible crash when opening relative URLs). 2003-02-19 00:49:31 +00:00
Moriyoshi Koizumi
69113a3099 Added string.strip_tags filter. 2003-02-19 00:12:23 +00:00
Moriyoshi Koizumi
6389a79ea5 Fixed memory leaks on conversion failure. 2003-02-18 23:30:36 +00:00
Moriyoshi Koizumi
8793a78fee Revived convert filter codes 2003-02-18 23:22:49 +00:00
Jon Parise
40dacff24a Remove a stray COM reference. 2003-02-18 23:22:15 +00:00
Marcus Boerger
b8f518a451 - wrong use of sizeof(char)
- use define for block size
- a bit faster
2003-02-18 22:19:18 +00:00
Marcus Boerger
7b6fb4b7b3 coding style 2003-02-18 20:49:52 +00:00
Marcus Boerger
3db2b2bc7c avoiding problems 2003-02-18 20:48:05 +00:00
Derick Rethans
d95c41eddb - Added new parameter to sha1() and md5() which return the digest as
binary data. (Original patch by Michael Bretterklieber <mbretter@jawa.at>)
- Added test cases for sha1() and md5() based on the testvectors in RFC 1321
  and RFC 3174.
@- Added new parameter to sha1() and md5() which return the digest as
@  binary data. (Michael Bretterklieber <mbretter@jawa.at>, Derick)
2003-02-18 20:31:19 +00:00
Moriyoshi Koizumi
dd0462c78f Added description for the hand-made finite state machine. 2003-02-18 20:31:04 +00:00
Sascha Schumann
4ec77cfbb5 Refactor new-session-id code 2003-02-18 19:29:38 +00:00
Sascha Schumann
2699c26f42 Remember whether to send a cookie, so that we send out the correct
session id.  Also improve check for active session
2003-02-18 19:13:49 +00:00
Wez Furlong
4c4d77d23e Fix incorrect TSRMLS_CC usage.
Fix com_create_guid()
2003-02-18 19:03:44 +00:00
Sascha Schumann
32e0c8161c add session_regenerate_id() 2003-02-18 18:50:44 +00:00
Moriyoshi Koizumi
bcd49d63c3 Fixed mb_send_mail() so that Content-Type and Content-Transfer-Encoding
headers are overridable by additional header parameters.
This patch fixes bug #21985 and bug #22064.
2003-02-18 18:49:47 +00:00
Moriyoshi Koizumi
89caaeb87c Fixed bug #21708 (ucfirst() trouble again)
# this bug is related to bug #21689
2003-02-18 18:11:34 +00:00
Moriyoshi Koizumi
d4e9d48b18 Fixed bug #21689 (fgetcsv suppresses some characters before a separator)
The fix is suggested by Masahiro Nakayama <masa@sfc.wide.ad.jp>

# is* functions expect their argument to be an integer in range of 0-255
2003-02-18 15:15:22 +00:00
Wez Furlong
aad491817c Implement com_create_guid().
Add a special case for RETVAL_VARIANT when a variant is of type VT_DISPATCH but has a NULL dispatch pointer.
This kind of variant is returned by the WindowsInstaller automation interface.
2003-02-18 09:46:19 +00:00
Wez Furlong
e52aac940f Implement simple stream support in the ZE scanners. 2003-02-18 09:37:54 +00:00
Georg Richter
500dfcfd62 added new function mysqli_stmt_store_result 2003-02-18 08:49:00 +00:00
Georg Richter
05d10452ba test for mysqli_stmt_store_result 2003-02-18 08:41:16 +00:00
Wez Furlong
2003d8eeb6 Implement com_indexed_prop_set() which allows setting of array-like indexed properties on COM objects.
It is expected that this function will be transient, waiting for engine-level and then rpc-level support to be implemented so that this can be integrated more completely.
I'm committing this now so that others can help develop the msi installer scripts that require this feature.
2003-02-18 07:36:31 +00:00
Sara Golemon
73c78270b6 Introduce //filter target to php: wrapper to allow inline application of filters during fopen() style opperations 2003-02-18 06:10:14 +00:00
foobar
25a7332e9b getpriority() and setpriority() are in libc.. 2003-02-18 03:25:33 +00:00
foobar
28f4cb18ec nice() is part of libc, use AC_CHECK_FUNCS instead 2003-02-18 03:22:47 +00:00
Ilia Alshanetsky
5b858c9e94 Fixed compiler warning. 2003-02-18 03:12:38 +00:00
Sara Golemon
6fe4ab41f0 Fix stream_filter_(ap|pre)pend to allow attaching on the read and/or write chains. Automagically decide what to do if noone tells us. 2003-02-18 02:53:24 +00:00
Ilia Alshanetsky
0503336ede Added pcntl_setpriority & pcntl_getpriority(). These functions can be used
to fetch and alter the priority of a process.
2003-02-18 01:41:06 +00:00
Wez Furlong
1e34a6bffc Add basic test of read filters and read filter chain. 2003-02-18 01:24:41 +00:00
Ilia Alshanetsky
0ad5cac954 By popular demand nice() is renamed to proc_nice().
A better error message for proc_nice() failure.
2003-02-18 01:23:51 +00:00
Wez Furlong
32165a5546 Implement new filter API, stage 1.
This breaks user-space filters (for the time being), and those
weird convert.* filters in ext/standard/filters.c

The filters stack has been separated into one chain for read and one chain
for write.

The user-space stream_filter_append() type functions currently only operate
on the read chain. They need extending to work with the write chain too.
2003-02-18 01:22:21 +00:00
Ilia Alshanetsky
0fd1009fcc Added nice() function, which allows changing of priority for the current
process.
2003-02-18 01:07:57 +00:00
Georg Richter
19a9b4f310 new test (class which extends mysqli. currently this test fails :( ) 2003-02-18 00:42:38 +00:00
Georg Richter
2f604f67e8 removed duplicate code 2003-02-18 00:32:47 +00:00
Georg Richter
bc5eb4b3b4 fixed some leaks when mysql_close will be called before all stmts are freed. 2003-02-18 00:00:51 +00:00
Georg Richter
bf348326bd additional tests for non freed objects 2003-02-17 23:29:58 +00:00
foobar
5c63fad55c MFB: Sanity check. 2003-02-17 22:45:50 +00:00
Georg Richter
3686b61548 test for mysql_fetch_row (oo-style) 2003-02-17 16:19:49 +00:00
Zeev Suraski
4934744b93 Win32 build improvements 2003-02-17 13:29:59 +00:00
Georg Richter
1f188f6554 added close method/alias for result object (for compatibility with statement and
link objects)
2003-02-17 09:38:32 +00:00
Georg Richter
1076328edb test for OO-Implementation (bind_result) 2003-02-17 08:54:23 +00:00
Shane Caraveo
216d1d00a5 you know it's time to get away from the keyboard when you do this.
fix my last fix
2003-02-17 06:45:37 +00:00
Derick Rethans
738d4f401f - Style polizei 2003-02-17 06:35:13 +00:00
foobar
7e9fb9f21f - Cleaned this mess a bit:
. Centralized the functions sunrise/sunset to php_sunrise_sunset
    to lessen duplicate code.
  . Made wrapper function php_do_date_sunrise_sunset() to lessen
    duplicate code.
  . Coding style fixes.
  . renamed sunfuncs.h -> php_sunfuncs.h
2003-02-17 06:28:07 +00:00
foobar
d3e006eafd - These results were obviously got with TZ=GMT
# also prefixed the test results with the tested option
# so it's easier to see which one fails..
2003-02-17 06:23:22 +00:00
foobar
6b7a822cec Assuming the results were created in system with Asia/Jerusalem as TZ 2003-02-17 05:51:03 +00:00
Shane Caraveo
eb6b7e80be fix it the right way 2003-02-17 05:47:56 +00:00
foobar
1c89652590 override precision ini setting 2003-02-17 05:02:05 +00:00
Shane Caraveo
354a7d804b If you pass NULL, you do not get a NULL value, make sure it is. 2003-02-17 03:26:16 +00:00
foobar
4e3d4e4329 - Let's be consistent with these.. 2003-02-17 03:07:33 +00:00
Wez Furlong
f871a58783 Fix compile warning 2003-02-17 00:01:31 +00:00
Wez Furlong
63c95db648 Remove unused vars 2003-02-16 22:33:29 +00:00
Moshe Doron
ea8d11cc87 @ new idate() function.
@ new date_sunrise() function.
@ new date_sunset() function.
#since i have no premission updating the win32 project file, i'm sending patch on the list.
2003-02-16 22:28:01 +00:00
Georg Richter
fe9a33a002 fixed output 2003-02-16 21:19:32 +00:00
Ilia Alshanetsky
148fdce82d Reverted lld -> lld patch and added explanation as to why it should not be
done.
2003-02-16 17:59:30 +00:00
Ilia Alshanetsky
ad1972fae9 Moved longlong conversion to a macro. 2003-02-16 15:56:57 +00:00
Ilia Alshanetsky
2ac79528c9 better skip condition. 2003-02-16 15:47:22 +00:00
Wez Furlong
32c1eafe85 Remove bogus test.
Append mode always causes written data to go to the end of the file,
regardless of the current seek position.
2003-02-16 15:42:14 +00:00
Wez Furlong
7e92f636ef Integrate Shanes patch that allows specifying the cwd and environment
for the child process created by proc_open().
2003-02-16 15:38:54 +00:00
Georg Richter
c40eff35da test for mysqli_prepare_result 2003-02-16 13:48:00 +00:00
Wez Furlong
ce432004be Fix bcmath build under win32.
# These problems occur because winsock2.h MUST be included before
#  windows.h.
2003-02-16 12:46:16 +00:00
Georg Richter
ffe43821d0 test for mysqli_stmt_affected_rows (delete command) 2003-02-16 12:04:21 +00:00
Georg Richter
6997d50ff0 added new function mysqli_stmt_affected_rows
added bigint support for mysqli_affected_rows
fixed memleak in mysqli_prepare (stmt->is_null)
fixed return type for mysqli_connect
2003-02-16 12:03:37 +00:00
Wez Furlong
0a18a9d744 A add much more useful select(2) implementation than is provided by
windows sockets.  The winsock implementation will only work with sockets;
our implementation works with sockets and file descriptors.
By association, stream_select() will now operate correctly with files, pipes and sockets.

This change required linking against the winsock2 library.  In terms of
compatibility, only older versions of windows 95 do not have winsock2
installed by default.  It is available as a redistributable file, and is most likely installed by any OS patches (eg: Internet Explorer) applied by the user.

Also, add a win32 compatible pipe test when opening a stream from a pipe.  This test will only work on NT, win2k and XP platforms.  Without this test, interleaved fread() and select() calls would cause the read buffer to be clobbered.  I will be working on a fix for this issue for win9x.
2003-02-16 03:48:49 +00:00
Ilia Alshanetsky
9f7fbaf5c2 Proper lib detection. 2003-02-15 20:09:49 +00:00
Wez Furlong
27e3d6477f Add optional signal parameter to proc_terminate. 2003-02-15 17:33:11 +00:00
Wez Furlong
c3c24054e8 Add proc_terminate() function to forcibly kill off a process created
with proc_open().
2003-02-15 17:18:57 +00:00
Ilia Alshanetsky
8a07cc45cf Fixed skip condition. 2003-02-15 17:06:35 +00:00
Georg Richter
e671a8c3e4 added skipif section (innodb-support) 2003-02-15 16:21:35 +00:00
Moriyoshi Koizumi
b069f35022 Fixed bug #22227
Added test case for bug #22227
2003-02-15 15:57:31 +00:00
Ilia Alshanetsky
f8e0290cd6 Allow mysqli to be built when imap (c-client) is used. 2003-02-14 21:27:13 +00:00
Ilia Alshanetsky
c59240d599 CS fixes. 2003-02-14 20:15:11 +00:00
Ilia Alshanetsky
43eda85d5a Fixed compile warnings. 2003-02-14 20:14:44 +00:00
Georg Richter
e8fd6662ae test for bind_result with show 2003-02-14 19:49:35 +00:00
Marcus Boerger
c34fde086b a little bit slower but somewhat tricky and more flexible and it does not
allocate static buffers anymore
2003-02-14 19:43:06 +00:00
Moriyoshi Koizumi
9b49146dc1 Fixed a str_replace() bug similar to bug #22224 2003-02-14 18:59:50 +00:00
Moriyoshi Koizumi
b3a8349191 Fixed bug #22224 (implode changes object references in array)
Added test case for the bug
2003-02-14 18:42:36 +00:00
Ilia Alshanetsky
f6e4904759 CS fixes. 2003-02-14 18:35:30 +00:00
Ilia Alshanetsky
410dd6abaf Fixed a typo. 2003-02-14 18:27:20 +00:00
Georg Richter
2841d94f02 fixed compiler warning 2003-02-14 18:18:12 +00:00
Georg Richter
c544a77836 fixed a bug in mysqli_fetch
removed c++ comment (thx to Jani :)
fixed compiler warning
2003-02-14 18:17:25 +00:00
Ilia Alshanetsky
031dd997fb Missing portion of the previous patch. 2003-02-14 16:49:09 +00:00
Ilia Alshanetsky
4f1b6364f9 Buncha Fixes.
* Fixed a number of memory leaks.
 * Fixed some php_error_docref() calls that tried to print non-existent
   arguments.
 * Fixed some signed/unsigned problems.
 * Fixed the MYSQLI_FETCH_RESOURCE macro so that compilers do not complain
   about un-initialized variables.
 * CS fixes.
2003-02-14 16:45:31 +00:00
Georg Richter
14bc73defe bind_result fix 2003-02-14 16:31:51 +00:00
Georg Richter
1a7a41cf9f fixed a bug in prepare/bind 2003-02-14 16:31:22 +00:00
foobar
f9f4644a84 - Don't add libcrypt if the crypt() function is provided already.
(by libc, like in HP-UX)
2003-02-14 01:27:15 +00:00
Sara Golemon
a9e1b5f641 MFB(r-1.68.2.5) Bug 22052 2003-02-13 22:20:21 +00:00
Marcus Boerger
0b2216e03d pass tsrmls instead of fetching it always 2003-02-13 21:41:00 +00:00
Sara Golemon
d1d0d0b71a Bug #22059. ftp_chdir() causes segfault. efree(ftp->pwd) was being called without knowing for certain that ftp->pwd
actually pointed anywhere.
2003-02-13 19:48:49 +00:00
Ilia Alshanetsky
2443adb8b5 Added test case for bug #22187. 2003-02-13 19:07:20 +00:00
foobar
e6841d6c35 Added test for those different crypt() methods. Hopefully I got the results right. 2003-02-13 18:49:57 +00:00
Georg Richter
bad0ab1576 include file for test 2003-02-13 18:21:37 +00:00
Ilia Alshanetsky
55840914cb Fixed warnings. 2003-02-13 17:39:18 +00:00
Ilia Alshanetsky
7fffe4338a Fixed bug #22207 (e notation in *printf would be missing a 0 when there is
no exponent).
Added a test case for the bug.
2003-02-13 17:25:31 +00:00
Edin Kadribasic
f0e7b24e60 Use my_ulonglong instead of unsigned long long to make msvc++ happy. 2003-02-13 17:15:22 +00:00
Ilia Alshanetsky
f9457bf842 Added missing header needed for rpc_error(). 2003-02-13 14:54:43 +00:00
Edin Kadribasic
ab4bbd51ff Initial windows project file 2003-02-13 14:46:11 +00:00
Ilia Alshanetsky
f8eba6ded2 Added 'x' mode for fopen() used on local files. This mode will create a new
file only if a file does not already exist (O_CREAT|O_EXCL).
2003-02-13 14:40:17 +00:00
Wez Furlong
95e7c2e9ed Use FILE*-less implementation for php://(stdin|stdout|stderr) 2003-02-13 13:43:37 +00:00
Wez Furlong
1c3de808b9 Avoid problems with chunk_size and auto_detect_line_endings. 2003-02-13 13:38:20 +00:00
Wez Furlong
b81ea669a0 cli should be allowed to have the chroot() function. 2003-02-13 13:35:55 +00:00
Georg Richter
124f76c557 removed warnings (unused vars) 2003-02-13 08:54:46 +00:00
Uwe Steinmann
1b46eeb1cf - added more missing strcmp() 2003-02-13 07:59:24 +00:00
foobar
a91a14ab16 ws fix 2003-02-13 07:02:53 +00:00
Georg Richter
6bddc36966 new tests 2003-02-13 01:23:28 +00:00
Georg Richter
44559a18f9 added new function int mysql_get_server_version
this function is available since libmysql change set 1.1450 (2002-02-13)
2003-02-13 00:11:17 +00:00
Georg Richter
ef086ad82d changed function entries for statements 2003-02-12 21:07:28 +00:00
Ilia Alshanetsky
24a86f2064 Fixed bug #22191 (frontbase build was broken for people using older
versions).
2003-02-12 20:44:00 +00:00
Mark L. Woodward
8fee867865 Fix for GCC 3 2003-02-12 18:34:21 +00:00
Derick Rethans
b8ad8c9f83 - Let's add the config.m4 file too :-) 2003-02-12 16:24:41 +00:00
Ilia Alshanetsky
e1802d7228 Fixed bug #22048 (incorrect insertion of session id when tabs are used to
separate tag elements).
2003-02-12 14:56:13 +00:00
Uwe Steinmann
8c5ece1637 - Fixed compile errors and some oddities like missing strcmp 2003-02-12 11:18:43 +00:00
Georg Richter
91eeae5e1d added new tests 2003-02-12 10:40:19 +00:00
Georg Richter
2706394076 removed function mysql_num_warnings (libmysql change). 2003-02-12 10:39:06 +00:00
foobar
de3b1acfc3 Fix obvious errors.. 2003-02-12 03:05:28 +00:00
Georg Richter
ff8f0eb7da adding a few tests 2003-02-12 00:46:29 +00:00
Georg Richter
7d7c07a77c initial upload 2003-02-12 00:45:53 +00:00
Ilia Alshanetsky
246a075624 Fixed bug #22048 (crash in imap_headers when the e-mail contains an
abnormally large number of special characters).
2003-02-11 22:57:22 +00:00
Ilia Alshanetsky
53f96c8b02 Added strpbrk(), which is essentially a wrapper around C's strpbrk function
that allows searching through a string for a character list.
2003-02-11 22:47:26 +00:00
Melvyn Sopacua
e4a08fb43d Update time 2003-02-11 20:26:27 +00:00
Zeev Suraski
f983e13e4e Fix random crashes 2003-02-11 13:46:30 +00:00
Moriyoshi Koizumi
1068156252 Fixed ZTS build 2003-02-11 03:55:08 +00:00
foobar
fccbb1431b - There's no point in allowing using both --with-readline and --with-libedit
the same time. Prefer --with-readline.
- Use PHP_ADD_LIBRARY when there is no path available.
2003-02-11 03:24:30 +00:00
foobar
08f3bb094a - Fixed bug: #21549 (problem with Ingres II persistent connections) 2003-02-11 02:42:59 +00:00
Frank M. Kromann
08b788dd44 Bug #20426. Convert SMALLDATETIME correct 2003-02-11 01:24:07 +00:00
Harald Radi
c7de5d15b7 clean up source and improve hashing for implicitly
created objects (aka return values)
2003-02-11 00:55:27 +00:00
Harald Radi
be950d9c51 improved reverse lookup of ProgID based on an IDispatch pointer 2003-02-11 00:54:27 +00:00
Sascha Schumann
a10f0830e6 support setting the filemode using session.save_path 2003-02-11 00:42:54 +00:00
Sascha Schumann
5e601732a3 use appropiate prefixes in the ps_module structure so we don't clash
with syscalls
2003-02-11 00:42:14 +00:00
Wez Furlong
0c70df4907 fix rpc_error call 2003-02-10 23:22:49 +00:00
Ilia Alshanetsky
53b7b0eb8c Merged the flags for the file() function into a single flag. 2003-02-10 22:26:53 +00:00
Harald Radi
5066caef31 a bunch of fixes 2003-02-10 20:59:11 +00:00
Harald Radi
ef9bc6eaad s/com/skeleton/ is not always a good idea 2003-02-10 20:58:30 +00:00
Wez Furlong
0ff83111c7 byref really means that we want the zval... 2003-02-10 20:30:24 +00:00
Moriyoshi Koizumi
21f766b7a4 Fixed zlib.output_compression so it can work even if zlib extension is built as shared 2003-02-10 19:04:44 +00:00
Wez Furlong
447976d8ee Implement com_describe 2003-02-10 18:37:28 +00:00
Jon Parise
1b8755994e Correct the spelling of 'supported'. 2003-02-10 15:46:47 +00:00
Wez Furlong
35639435c9 Error reporting clean up 2003-02-10 13:13:28 +00:00
Wez Furlong
81795c7f11 Newly created objects should use a separate function_table from the global class entry table.
For objects instantiated via new, make sure that intern->function_table uses the newly created table when the class is registered.
For generic per-object hashing, copy the ce->function_table into intern->function_table.
2003-02-10 12:36:07 +00:00
Wez Furlong
b0894e7eba Error reporting leaks and cleanup 2003-02-10 12:33:15 +00:00
Wez Furlong
79c046d8a8 Add additional optional parameter to openssl_pkcs7_encrypt to specify the
cipher.  The cipher can be one of the constants listed below.

Based on a patch from:
stefan at cuba dot ionum dot ch

 	OPENSSL_CIPHER_RC2_40,   (the default)
 	OPENSSL_CIPHER_RC2_128,
 	OPENSSL_CIPHER_RC2_64,
 	OPENSSL_CIPHER_DES,
 	OPENSSL_CIPHER_3DES,

proto bool openssl_pkcs7_encrypt(string infile, string outfile,
   mixed recipcerts, array headers [, long flags [, long cipher]])
2003-02-10 09:49:31 +00:00
Hartmut Holzgraefe
769cb03c35 proto fixes 2003-02-10 00:47:45 +00:00
foobar
885a1a4d08 some win32 fixes by Kai 2003-02-10 00:21:51 +00:00
Harald Radi
b0fb007f0f fix a memleak 2003-02-09 23:17:42 +00:00
Wez Furlong
eefe0f1bb0 ZTS fix 2003-02-09 23:11:23 +00:00
Kai Schroeder
eb8bccee56 fix for #17928 2003-02-09 21:44:51 +00:00
Wez Furlong
03e22793ff Fix various little leaks and segfaults.
Fix scripts like this:
$obj = new COM('Foo');
$obj2 = $obj->get_object();
$obj2->method();  // <-- would segfault here
2003-02-09 21:40:13 +00:00
Wez Furlong
9ef5cc7ef9 Add get_class_name handler so that the current var_dump implementation does not segfault.
Add a generic rpc_object_from_data() function for generating rpc objects from C code (as discussed with Harald).
2003-02-09 21:37:41 +00:00
Wez Furlong
47922a6996 Fix some warnings 2003-02-09 21:35:31 +00:00
Ilia Alshanetsky
f98ea4c46d Added feature request #9173 (added stream_get_line(), this function will
read either the specified number of bytes or until the ending string is
found).
2003-02-09 20:43:05 +00:00
Ilia Alshanetsky
8b5bc3ecd3 Added feature request #17983 (optional parameter to mkdir() that makes
directory creation recursive).
Fixed prototype for file() function.
2003-02-09 20:35:54 +00:00
Ilia Alshanetsky
4eae41915f Added feature request #14097 (option allowing file() command not to include
line endings in it's output. As well as another option, which allows blank
lines to be excluded from the output).
2003-02-09 20:05:13 +00:00
foobar
83403958ed break: First one not needed, second missing. 2003-02-09 19:57:50 +00:00
foobar
a09e1397c7 Fixed compile failures when ZLIB / PCRE are compiled as shared
extensions in same build.
2003-02-09 19:09:52 +00:00
foobar
7d46becbb2 Let this compile even if PCRE is compiled as shared in same build. 2003-02-09 18:47:21 +00:00
foobar
8678f51835 Fixed bug #22131, enable use of shared lib with pcre. 2003-02-09 14:59:07 +00:00
Marcus Boerger
8d183b7ccc Kill some warnings
# the remainig is not easy to solve: float_var = float_cast(extpression)
# This cannot be fixed by simply casting again to float because some
# compilers may ignore the double casting.
2003-02-09 14:17:05 +00:00
Marcus Boerger
547509d546 XBM for win 2003-02-09 14:05:23 +00:00
Kai Schroeder
e42339a6b4 shane added is_executable() for windows last night 2003-02-09 13:54:01 +00:00
Kai Schroeder
d1338ff914 reverting to version 1.5; shane added is_executable() for windows last night 2003-02-09 13:52:46 +00:00
Kai Schroeder
390799592d newlines changed 2003-02-09 13:25:23 +00:00
Kai Schroeder
f93b09b2db getopt() is currently not available on Windows 2003-02-09 13:23:50 +00:00
Kai Schroeder
11e81f89fd there are no symlinks on Windows 2003-02-09 13:20:17 +00:00
Kai Schroeder
ea9101135f is_executable() does not exist on Windows 2003-02-09 13:19:23 +00:00
Kai Schroeder
6fa2536252 die() to skip second message 2003-02-09 12:34:55 +00:00
Kai Schroeder
1e24498461 MSVC's mktime() does not examine the existence of a daylight-saving-time zone 2003-02-09 12:28:01 +00:00
Kai Schroeder
745bec1c48 Windows doesn't know timezone CET 2003-02-09 12:22:18 +00:00
Kai Schroeder
93d4e6e5ed skip for Windows (does not support dates prior to midnight, January 1, 1970) 2003-02-09 12:21:47 +00:00
Kai Schroeder
d6567abbf4 Windows does not support dates prior to midnight, January 1, 1970 2003-02-09 12:20:54 +00:00
Kai Schroeder
8e14c4a89f test for mktime() 2003-02-09 12:19:02 +00:00
Derick Rethans
f35f5f56c4 - Whitespace fixes 2003-02-09 12:15:05 +00:00
Frank M. Kromann
da56457eec cleanup variable initializations 2003-02-09 09:39:53 +00:00
Frank M. Kromann
9c161984a8 Fixing coredump when no php.ini file is used 2003-02-09 08:33:40 +00:00
Frank M. Kromann
eca4eb4522 MFB 2003-02-09 07:50:56 +00:00
Yasuo Ohgaki
7f81a4a62f Fixed one more improper row offset handling. 2003-02-09 07:50:16 +00:00
Yasuo Ohgaki
ac16adae0a Fixed improper result offset handling.
Prevent error when connection is broken. (optional)
2003-02-09 07:24:18 +00:00
Frank M. Kromann
62d42c2425 Bug #21707 problem with real 2003-02-09 07:18:02 +00:00
Frank M. Kromann
c62983b1ec Syncronize with branch 2003-02-09 06:27:38 +00:00
Shane Caraveo
5048f8c60e is_executable() now available on win32
stats can now get information provided by access()
2003-02-09 03:49:43 +00:00
Andrey Hristov
f8656a71bb adding a note. 2003-02-08 19:13:04 +00:00
Andrey Hristov
550def56d5 making it compilable under ZE2 (PHP5).
NOTE : Even it is compilable there is an compilation warning because of that
handle_function_call is deprecated in ZE2 (#if 0). Look like there will is
a problem with __call().
2003-02-08 19:11:04 +00:00
Sascha Schumann
a0d1331137 Fix segfault in bindtextdomain when first parameter was empty.
The Linux man page states: domainname must be a non-empty string.

Noticed by: Nils Meyer
2003-02-08 18:58:34 +00:00
foobar
b7a9ef8d80 style & ws fixes 2003-02-08 15:26:17 +00:00
Pierre Joye
a5f35ef94a Add gdImageEllipse
Replace gdImageFilledEllipse by a new function (backported from
the new phpgd)
the new gdImageFilledEllipse fix bug bug #22103 (ellipse part)
2003-02-08 08:41:43 +00:00
Sara Golemon
3631b28f44 chunk_size should always be reduced to 1 while scanning response headers to avoid buffering the actual stream prior to any read calls. 2003-02-07 23:44:58 +00:00
Ilia Alshanetsky
67b19b08e3 Added str_split() function. This function can be used to break down a
string into an array.
2003-02-07 21:36:18 +00:00
Ilia Alshanetsky
b1a6778fe5 Added get_browser() function. This function can be used to fetch the headers
sent by the server when a request is made for a given URL.
2003-02-07 21:33:35 +00:00
Dan Kalowsky
cba812ef5c MFB 2003-02-07 02:59:16 +00:00
Tal Peer
724aeb8bac Moving fribidi to PECL 2003-02-06 22:23:21 +00:00
Sara Golemon
874661a66e bc_raise() can return a scale lower than that passed into it. While most other bcmath calls won't, it's safest to do a quick check that we're only
reducing n_scale, not increasing it.
2003-02-06 22:18:41 +00:00
foobar
20f9b6d02c - Fixed bug #22088 (array_shift() leaves next index to be +1 too much) 2003-02-06 15:27:53 +00:00
foobar
073a80fbcc fix the test 2003-02-06 15:22:41 +00:00
foobar
102f8cf4c1 Added testcase for bug #22088 2003-02-06 15:04:53 +00:00
Ilia Alshanetsky
f12a6b7663 Added array_walk_recursive() function that can apply array_walk recursively
to an array.
2003-02-05 17:56:08 +00:00
Wez Furlong
20d886da50 Credits for iconv 2003-02-05 08:15:07 +00:00
Andi Gutmans
8603feb6fa - Please follow coding standards (this isn't java :) 2003-02-04 21:07:40 +00:00
Marcus Boerger
1af77be5fd fix ZTS build 2003-02-04 21:01:54 +00:00
Sara Golemon
3eab32163c Bug#13551 bcmath functions should not apply scale to arguments, only to result 2003-02-04 19:03:30 +00:00
Ilia Alshanetsky
a89a651a46 Made the row parameter in pg_result_seek() non-optional, the current
implementation would result in random behavior if the 2nd argument is not
passed.
Fixed bug #22042 (pg_result_seek() would never seek to the 1st row in the
result due to always seeking to row next to the one requested).
Removed dead code from pg_result_seek().
2003-02-04 18:34:00 +00:00
Zeev Suraski
3a1a209baf Updates reflecting infrastructure changes 2003-02-04 13:12:48 +00:00
Uwe Steinmann
be3908cc8e - fixed some prototypes and folding 2003-02-04 10:57:35 +00:00
Uwe Steinmann
e27c4c622e - fixed prototype of pdf_get_buffer() 2003-02-04 10:23:12 +00:00
Ilia Alshanetsky
0d2368554a Fixed bug #22017 (non descriptive error to appear when timestamp passed to
date() has value < 0. Win32 does not support timestamps prior to midnight
(00:00:00), January 1, 1970).
2003-02-03 22:48:26 +00:00
Ilia Alshanetsky
d89c38961b Make putenv() return a proper error rather then NULL when invalid argument
is passed.
2003-02-03 21:48:36 +00:00
Ilia Alshanetsky
065e4d6550 Fixed bug #22022 (Crash in imap_mail_compose() if the body is an empty array). 2003-02-03 21:24:32 +00:00
Ilia Alshanetsky
b0924da0cf Fixed bug #22031 (Made curl_write() & curl_write_header() binary safe). 2003-02-03 20:56:23 +00:00
Moriyoshi Koizumi
47f6ed8dbb Trivial test adjustment 2003-02-03 20:29:07 +00:00
Moriyoshi Koizumi
0ae9394c39 zend_get_parameters_* => zend_parse_parameters 2003-02-03 20:25:25 +00:00
foobar
07a9729071 - Fixed bug: #21998 (array_pop() did not reset the current array position)
# This behaves now same as in PHP 4.2.3
2003-02-03 16:57:02 +00:00
foobar
7147949a4e Correct description of the problem 2003-02-03 16:52:04 +00:00
Moriyoshi Koizumi
a4fe845aba Really fixed proto.
# sorry for messing
2003-02-03 16:46:45 +00:00
Moriyoshi Koizumi
2a92efdaf9 Oops! wrong commit. Reverting... 2003-02-03 16:45:56 +00:00
Moriyoshi Koizumi
e58e11743a Fixed proto 2003-02-03 16:44:28 +00:00
Moriyoshi Koizumi
e5a4b5b2dc Fixed test case for mb_strpos().
# the third parameter should specify an offset but an encoding name
2003-02-03 16:16:37 +00:00
foobar
be83a02b8c This cause some warning/error in AIX 2003-02-03 13:08:08 +00:00
foobar
8e673a3fa0 Test that libgds actually exists. 2003-02-03 11:45:44 +00:00
foobar
1887456484 ws 2003-02-03 09:55:09 +00:00
foobar
bb97dfaccb Added test for bug #21998 2003-02-03 06:43:08 +00:00
Ilia Alshanetsky
923ae6ca3e Gave the user the ability to specify encoding of the request.
Patch by jens@mermaidconsulting.dk.
2003-02-02 20:56:51 +00:00
Sebastian Bergmann
7ed0972683 Fix warning. 2003-02-02 18:50:42 +00:00
Zeev Suraski
53060ef869 Fix phpinfo() display of Zend extensions 2003-02-02 15:53:04 +00:00
Marcus Boerger
1d9477f386 - new xbm support
@Added XBM support for bundled gd library. (marcus)

# It was enabled by the last commit and fixed by this one.
2003-02-02 01:34:54 +00:00
Marcus Boerger
3e675c1cf4 avoid warnings 2003-02-01 23:38:29 +00:00
Marcus Boerger
07246c2f99 Bundled version has XBM support as well as external.
# Now fix the shit behind it...
2003-02-01 23:25:14 +00:00
Marcus Boerger
129bd74b45 Show if XPM support is available & Set availability bit only when available. 2003-02-01 23:23:59 +00:00
Marcus Boerger
27ccc66518 @Added XBM support for GetImageSize(). (helly) 2003-02-01 23:14:13 +00:00
Marcus Boerger
895c27d3fc Change DBM detection order 2003-02-01 22:19:04 +00:00
Marcus Boerger
0319e63775 - unify configure mechanisms (include file handling)
- fix dbm
- allow dbm to be based on gdbm
2003-02-01 18:59:59 +00:00
Wez Furlong
84f83e8559 Don't assume that objects have class entries (in the ZE1 sense) when
determining the class name.
Additionally, don't assume that objects have a properties hash either.
2003-02-01 03:52:31 +00:00
Melvyn Sopacua
f20d394e2d Require 2.5.6+
MFB: Be -ltdl aware
2003-01-31 23:01:36 +00:00
Ilia Alshanetsky
31a3135014 Fixed bug #21986 (openssl test failure). 2003-01-31 22:15:56 +00:00
Marcus Boerger
0629bdb061 Shared dba requires at least db-3.3 2003-01-31 20:06:44 +00:00
Marcus Boerger
037986db20 Fix proto 2003-01-31 19:12:23 +00:00
Frank M. Kromann
b079cc2af5 Rename script.
Add check for CLI version
2003-01-31 18:51:28 +00:00
Sascha Schumann
bea6ff5183 Unbreak $Id tag 2003-01-31 16:24:12 +00:00
foobar
e9a132f223 No c++ comments.. 2003-01-31 14:18:50 +00:00
Moriyoshi Koizumi
b00cc4f2bb Fixed a mb_send_mail() bug that has been reported in php-i18n@lists.php.net
See http://lists.php.net/article.php?group=php.i18n&article=427
2003-01-31 14:15:49 +00:00
Sara Golemon
81797baed4 Add ftp_raw() to send raw command strings to an FTP server. 2003-01-31 04:54:57 +00:00
Frank M. Kromann
ff605d071f Use platform specific extension. 2003-01-31 03:45:13 +00:00
Frank M. Kromann
04abd3af69 Dtandard visual studio project for ext_skel 2003-01-31 03:44:55 +00:00
Frank M. Kromann
941dc7260d Wrapper script to use ext_skel on Win32 2003-01-31 03:44:20 +00:00
Ilia Alshanetsky
242a9a47c7 Fix compiler warning. 2003-01-30 22:37:50 +00:00
Marcus Boerger
302f97abbc Revert this part, the new one adds more problems than it solves. 2003-01-30 21:36:05 +00:00
Sara Golemon
65146ceb26 Unify str_replace and str_ireplace using INTERNAL_FUNCTION_PARAM_PASSTHRU -- reduce codebase/maintenance complexity 2003-01-30 20:09:19 +00:00
foobar
21803056b5 fix bug: #21945 (zts build failed) 2003-01-30 19:30:13 +00:00
Marcus Boerger
f2ff4678cd Allow to link against chosen modules correctly 2003-01-30 18:28:42 +00:00
Sara Golemon
37ff98978b Feature Request # 5919 - Addition of str_ireplace()
Also removed deprecated BM str replace menthod
Also rewrote php_str_to_str to use more processor/memory efficient method (ilia)
2003-01-30 05:00:41 +00:00
Ilia Alshanetsky
453368afdf Removed pointless checks. 2003-01-30 02:33:16 +00:00
Ilia Alshanetsky
ebf13bc940 Added sanity checks. 2003-01-29 19:33:38 +00:00
Maxim Maletsky
808cb3ad74 Added myself to the maintainers list. 2003-01-29 18:31:48 +00:00
Edin Kadribasic
ca0b63e420 Enable embedded code using sapi/embed to use dl(). 2003-01-29 15:39:10 +00:00
Harald Radi
f8e014b228 MFPHP_4_3 2003-01-29 00:49:09 +00:00
Ilia Alshanetsky
e6170c0b30 Added part of strpos commit that never made it in for some reason.
# Thanks Pollita.
2003-01-29 00:07:01 +00:00
foobar
41d6e9af8d Fix configure. (typo?) 2003-01-28 10:55:36 +00:00
foobar
68ffe71a12 fix some typos 2003-01-28 06:56:32 +00:00
foobar
c96fe825b8 fix typo 2003-01-28 06:52:09 +00:00
Marcus Boerger
1ab64d2b96 - fix this: els is optional but may not be empty 2003-01-28 06:27:01 +00:00
Frank M. Kromann
0e38fedcd7 Fix the setting of computer name and processor type for php_uname() on Win32 2003-01-28 05:02:12 +00:00
Ilia Alshanetsky
2d0f432490 Added scandir() function, which allows quick retrieval of all files &
directories within the specified path and sort the output in alphabetical
or reverse alphabetical order.
2003-01-28 01:48:57 +00:00
foobar
946032f40b - Cleaned up and made less error-prone
- Changed --enable-mime-magic -> --with-mime-magic[=FILE] to allow
  specifying of the file during configure.
2003-01-28 01:00:15 +00:00
Marcus Boerger
2b5a5ca669 - fix "--without-flatfile"
- simplify Berkley DB verison check
2003-01-28 00:10:05 +00:00
Maxim Maletsky
e4ec7372e9 This fixes "warning C4101: 'charsetid' : unreferenced local variable" on VC6 2003-01-27 20:05:48 +00:00
Maxim Maletsky
897a708c87 @- Fixed bug #17448 (Print the message when OCI_SUCCESS_WITH_INFO is returned).
(Maxim)
2003-01-27 19:52:11 +00:00
Sara Golemon
d0cb097c52 Fix potential buffer overflow. 2003-01-27 19:51:50 +00:00
Edin Kadribasic
c7441b2379 Fixed bug #21597 (made glob() understand windows paths) 2003-01-27 16:29:47 +00:00
Uwe Steinmann
c375b0b05c - fixed several bugs in hw_document_xx() functions. The macro to access
the document was the same as for a link to the sever.
2003-01-27 09:11:17 +00:00
Sara Golemon
761fa96412 Feature Request #21748. Added function ftp_chmod(). 2003-01-27 02:54:12 +00:00
Sander Roobol
e9d0a58cb0 Fix build 2003-01-26 09:13:31 +00:00
Sara Golemon
3ad9839f2f Feature Request #21784 Added: imagecolorallocatealpha (pollita@php.net,jasper@pointless.net) 2003-01-26 01:15:02 +00:00
Marcus Boerger
564788b6f5 The builtin version was always used even if configured otherwise. 2003-01-25 19:46:58 +00:00
Ilia Alshanetsky
ef021e8964 Removed unneeded code. 2003-01-25 18:55:07 +00:00
Hartmut Holzgraefe
974ff24e80 - mime file parser messages only with mime_magic.debug=On (default: off)
- fix docref URL in startup error messages
- show status in php info, either "enabled" or "..., disabled"
2003-01-25 16:25:37 +00:00
Hartmut Holzgraefe
6a4a858294 preparations for making magic file parser silent 2003-01-25 13:33:29 +00:00
Hartmut Holzgraefe
f95759b36a suggesting a plain magic file insteat of a mime one is a bad idea 2003-01-25 10:51:04 +00:00
Ilia Alshanetsky
efae1b9ace Fixed a typo. 2003-01-25 00:25:32 +00:00
Ilia Alshanetsky
758ea308a9 Fixed compiler warning. 2003-01-25 00:23:03 +00:00
Sascha Schumann
330740f7cd Remove ugly netware hacks from the code 2003-01-24 23:57:32 +00:00
Ilia Alshanetsky
e10f20924e Removed unnecessary checks. 2003-01-24 22:58:46 +00:00
Dan Kalowsky
b48d709746 Patch for bug #21844 2003-01-24 22:40:38 +00:00
Ilia Alshanetsky
383171b11b Fixed bug #21533 (a rare condition where error can remain undefined and
result in undefined behavior when it is used without being initialized).
2003-01-24 19:23:53 +00:00
Ilia Alshanetsky
417ba55c1f Fixed bug #21865. 2003-01-24 19:15:54 +00:00
foobar
142da0ed58 Fix bug #21795, Undeclared statement in oci8.c (OCI_ATTR_STATEMENT) 2003-01-24 17:51:19 +00:00
Ilia Alshanetsky
6efe008598 Fixed compile warning. 2003-01-24 16:45:34 +00:00
Ilia Alshanetsky
d2162b32b1 Fixed compile warning. 2003-01-24 16:39:49 +00:00
Ilia Alshanetsky
f163a4d16b Fixed a memory leak.
zend_error -> php_error_docref.
2003-01-24 16:34:20 +00:00
Ilia Alshanetsky
38ad0e9104 zend_error -> php_error_docref. 2003-01-24 16:29:40 +00:00
Ilia Alshanetsky
95bfbfe1c1 Fixed compile warning. 2003-01-24 16:23:11 +00:00
Andrey Hristov
600fce5890 Resolving problem on OSF1 and probably other
64 bit platforms. Thanks for the feedback of Magnus (novell kiruna se).
2003-01-24 13:18:08 +00:00
Andrey Hristov
1d0214bee4 Adding cast. 2003-01-24 12:19:59 +00:00
foobar
4dfc7cc87c - Fixed stupid typo..
# I will test before commit, I will test before commit...
2003-01-24 10:12:55 +00:00
foobar
e771bdb23d Fixed bug: #20857, snmpset() fails 2003-01-24 09:52:46 +00:00
foobar
45f1f1711d ws fixes 2003-01-24 09:40:53 +00:00
Ilia Alshanetsky
4fde1b8de1 zend_error() -> php_error_docref(). 2003-01-24 05:21:08 +00:00
Moriyoshi Koizumi
cfbd0bb58a Really fixed the mb issue of mb_ereg_replace()
# my previous patch is somewhat wrong
2003-01-23 20:38:44 +00:00
Moriyoshi Koizumi
3e7b832895 Fixed a mb_ereg_replace() bug; the function was not completely multibyte-safe. 2003-01-23 20:07:39 +00:00
Moriyoshi Koizumi
8dfb2df649 Renamed the test name as per the convension 2003-01-23 19:21:51 +00:00
Moriyoshi Koizumi
6fc22aa5d9 Test name formatting 2003-01-23 19:07:25 +00:00
Moriyoshi Koizumi
7abc6e4338 Made the test's name more descriptive 2003-01-23 19:00:06 +00:00
Moriyoshi Koizumi
0344311bde Removed pointless checks 2003-01-23 18:48:43 +00:00
Moriyoshi Koizumi
24ae309037 Added test case for bug #21732 2003-01-23 18:22:55 +00:00
foobar
e1c985d9a7 Fix bug: #21817 (only enable this if --with-kerberos is used) 2003-01-23 16:29:49 +00:00
foobar
04eca7536c MFB 2003-01-23 06:23:08 +00:00
foobar
895a3a109f Correct default path 2003-01-23 05:33:11 +00:00
Ilia Alshanetsky
6bf2ce3429 Removed non-needed code. 2003-01-22 22:07:22 +00:00
Anil Madhavapeddy
dea44dfc9a typo 2003-01-22 20:41:28 +00:00
Frank M. Kromann
66ee5dfac2 adding missing zlib.lib and path to bindlib 2003-01-22 20:13:11 +00:00
Ilia Alshanetsky
d24148f3d0 Fixed a crash when invalid color is passed to imagepstext(). 2003-01-22 19:53:29 +00:00
Moriyoshi Koizumi
812a419019 Oops! wrong patch. Reverted. 2003-01-21 22:09:09 +00:00
Moriyoshi Koizumi
ce5df6d949 Fixed mb_ereg_replace() bug (the function has ignored the default option) 2003-01-21 22:03:29 +00:00
Moriyoshi Koizumi
9a723fcb4e Fixed mb_ereg_search() segfault that occurs when the function is called
before a string to be searched is passed by mb_ereg_search_init()
2003-01-21 19:31:07 +00:00
Andrey Hristov
bd55130077 increasing readability. 2003-01-21 17:37:59 +00:00
Ilia Alshanetsky
dc150fd2ea getParameters -> zend_get_parameters_ex. 2003-01-21 15:27:39 +00:00
Ilia Alshanetsky
8a9e09a44a ARG_COUNT(ht) -> ZEND_NUM_ARGS(). 2003-01-21 14:56:40 +00:00
Pierre Joye
9ad850637e Remove the (c), in the future, can we add PHP Licence terms for the new
functions ?
2003-01-21 02:10:19 +00:00
Pierre Joye
81c68ab8d5 Add credits to my functions (thx for the advice Wez&Ilia :) 2003-01-21 01:49:34 +00:00
Ilia Alshanetsky
053023a71e quota function fixes. Thanks Wez. 2003-01-20 21:28:09 +00:00
Ilia Alshanetsky
20925f97b9 Changed php_error to php_error_docref.
Removed pointless memory allocation checks.
Memory leak fix inside quota functions.
2003-01-20 19:41:58 +00:00
Moriyoshi Koizumi
e3e364f77b Fixed bug #21758 2003-01-20 16:45:21 +00:00
Ilia Alshanetsky
aa8b1d6db3 Restore php_error -> php_error_docref patch. 2003-01-20 16:15:18 +00:00
Derick Rethans
f1ba2137c0 - Add credits for Magnus 2003-01-20 12:34:07 +00:00
foobar
f6cee90129 Add test for png.h 2003-01-20 10:39:29 +00:00
Mark L. Woodward
7eeea7e55d Updated for Msession 1.2.
Includes new APIs
2003-01-20 03:16:24 +00:00
Ilia Alshanetsky
2292a652a6 ZTS fix. 2003-01-19 23:32:22 +00:00
Moriyoshi Koizumi
dfbfa1a36f Improved the patched part to prevent further potential bugs 2003-01-19 17:23:48 +00:00
Ilia Alshanetsky
2efab7a22a fixed typos 2003-01-19 15:01:34 +00:00
Harald Radi
b51b6f0fbf ini patch to allow 'entry[] = value' entries 2003-01-19 12:18:46 +00:00
Moriyoshi Koizumi
a1e6457561 Fixed bug #21744(21741)
Added test case for the bug
2003-01-19 11:32:54 +00:00
Ilia Alshanetsky
1fe4990bc0 ZTS fixes. 2003-01-19 08:32:26 +00:00
Ilia Alshanetsky
2500199ae3 ZTS fixes. 2003-01-19 04:09:32 +00:00
Ilia Alshanetsky
fec2af82b8 Changed php_error to php_error_docref.
Make mcal compile with ZE2.
2003-01-19 00:47:03 +00:00
Ilia Alshanetsky
3d8e54f3a2 Changed php_error to php_error_docref. 2003-01-19 00:45:53 +00:00
Derick Rethans
add3ec4e0b s/4.4/5.0 2003-01-18 22:33:56 +00:00
Ilia Alshanetsky
aebb39b014 Changed php_error to php_error_docref.
Thanks to Marcus Börger for writing a script that significantly simplifies
this process.
2003-01-18 21:31:11 +00:00
Ilia Alshanetsky
b2ecf47755 Fixed bug #21732 (Added a sanity check, that prevents parameter mismatch). 2003-01-18 20:48:52 +00:00
Ilia Alshanetsky
984c0918ab Removed pointless memory allocation checks. 2003-01-18 20:10:23 +00:00
Ilia Alshanetsky
71e9f8cdd5 Removed pointless memory allocation checks. 2003-01-18 20:01:46 +00:00
Ilia Alshanetsky
60af5507a5 Changed php_error to php_error_docref. 2003-01-18 19:57:25 +00:00
Ilia Alshanetsky
1ae3c0e66e Removed pointless memory allocation checks.
Changed php_error to php_error_docref.
2003-01-18 19:53:35 +00:00
Ilia Alshanetsky
7cc28802af Changed php_error to php_error_docref. 2003-01-18 19:51:21 +00:00
Ilia Alshanetsky
a7b91019e9 Removed pointless memory allocation checks. 2003-01-18 19:49:28 +00:00
Ilia Alshanetsky
e2868b5788 Removed pointless memory allocation checks. 2003-01-18 19:41:56 +00:00
Ilia Alshanetsky
72b356c1bc Removed pointless memory allocation checks. 2003-01-18 19:28:10 +00:00
Moriyoshi Koizumi
94c25df592 WS 2003-01-18 19:26:01 +00:00
Ilia Alshanetsky
b566ad5d1b Changed php_error to php_error_docref. 2003-01-18 19:20:02 +00:00
Marcus Boerger
9d02c2bd56 correct my fault here and documnet the sense of the test 2003-01-18 19:06:29 +00:00
Moriyoshi Koizumi
310397f2ee Fixed typo 2003-01-18 19:02:21 +00:00
Moriyoshi Koizumi
2aa7bf8d8b Added test case for bug #21730 2003-01-18 18:59:27 +00:00
Ilia Alshanetsky
a3daf3bbe8 Additional memory allocation fixes by Marcus Börger. 2003-01-18 18:51:12 +00:00
Moriyoshi Koizumi
e23fead99f Tons of WS fixes 2003-01-18 18:49:47 +00:00
Ilia Alshanetsky
e0654de590 Removed the no longer needed memory allocation checks. 2003-01-18 18:32:19 +00:00
Moriyoshi Koizumi
21b4499953 Fixed bug #21726 and #21730 2003-01-18 18:31:13 +00:00
Andrey Hristov
309ef518fc Renamed get_memory_usage() to memory_get_usage() (per Andi's advice)
This doesn't break any BC.
2003-01-18 15:03:01 +00:00
Wez Furlong
7002a39f97 Fix potential problem for 64-bit architectures. 2003-01-18 14:10:22 +00:00
Derick Rethans
39aa3a5d98 - Fixed memleak in fscanf(). 2003-01-18 13:55:58 +00:00
Derick Rethans
a50e9acd8e - Skip test if the function to test is not available
#- Perhaps we need some infrastructure for this...
2003-01-18 13:53:25 +00:00
foobar
83e9f23182 Fix bug: #21687, imap extension does not include gss authentication mechanism 2003-01-18 07:00:47 +00:00
Ilia Alshanetsky
054826b192 Added missing test result. 2003-01-17 23:57:43 +00:00
Ilia Alshanetsky
833473d1de Removed pointless checks of array_init() return value. 2003-01-17 21:37:56 +00:00
Moriyoshi Koizumi
f71ef5e091 Fixed a quoted printable decoder so that it would conform to RFC2045. 2003-01-17 20:00:31 +00:00
Andrey Hristov
6c843d1431 Moved to C style comments.
Last time forgot to convert the header files.
2003-01-17 19:35:13 +00:00
Marcus Boerger
973c5fa1ec fix jp2 detection and add testfile 2003-01-17 18:51:30 +00:00
Ilia Alshanetsky
169eb85e0a Syncronize bundled GD library with latest GD (2.0.11). 2003-01-17 18:34:07 +00:00
Derick Rethans
cce2ffed8a - Fixed a bug that made that no newline was displayed when there was no value
for a row.
2003-01-17 18:07:10 +00:00
Andrey Hristov
7dd7b03aa8 Removed pointless checks around array_init(). 2003-01-17 16:33:01 +00:00
Ilia Alshanetsky
fb6517e8ab Fixed memory leaks in imap_get_quota & imap_get_quotaroot.
Removed pointless checks around array_init().
2003-01-17 16:07:39 +00:00
Moriyoshi Koizumi
f94cbfe52b Significant speed enhancements. I was underestimating the power of recent
CPUs :)
2003-01-17 09:04:02 +00:00
Harald Radi
77f7ae3814 revert previous commit 2003-01-16 22:08:00 +00:00
Harald Radi
76adb58b7a unbreak the build 2003-01-16 21:52:06 +00:00
Ilia Alshanetsky
41092dbd8a Fixed bug #21651 (crash in pdf_open_memory_image() when inserting a
non truecolor image).
2003-01-16 21:18:49 +00:00
Moriyoshi Koizumi
93481ce9b8 Finally fixed a qp encoder bug that line break characters that appear exactly
at the end of the chunk lost in the output.
# I bet no more problems will occur in quoted-printable encoder.
# But I recognised the counterpart is still buggy due to RFC2045-incompliance.
2003-01-16 20:59:07 +00:00
Marcus Boerger
1dabcd4dad - JPEG 2000 support 2003-01-16 19:46:12 +00:00
Marcus Boerger
8958762de6 - corrected error in file detection for very small files
- JPEG 2000 support, mostly Adam Wright <adam@elysium.ltd.uk>
@Enhanced jpeg 2000 support for GetImageSize(). (marcus, Adam Wright)
2003-01-16 19:45:26 +00:00
Harald Radi
b1613e16f2 change library name 2003-01-16 18:53:45 +00:00
Harald Radi
f390fbb92a update skeleton 2003-01-16 18:46:59 +00:00
Harald Radi
5aae306f96 for those who prefer to have com as a shared lib 2003-01-16 18:15:44 +00:00
Harald Radi
7f127a22df make layers loadable as self-sustaining php extension
which registeres itself in the rpc framework.
2003-01-16 17:49:22 +00:00
Dan Kalowsky
dacf98c86f typo corrected 2003-01-16 16:42:25 +00:00
Dan Kalowsky
ae8f64e325 Adding in test ability for WIndows to fetch_objects 2003-01-16 16:27:31 +00:00
Edin Kadribasic
d4e143b8be Fixed bug #21648 2003-01-16 13:19:50 +00:00
Sascha Schumann
db8b4c6762 Add INI setting session.hash_bits_per_character which enables developers
to choose how session ids are represented, regardless of the hash algorithm.
2003-01-16 07:21:49 +00:00
Ilia Alshanetsky
4e53357e9b Fixed bug #20079 (made ora_logoff return TRUE on success). 2003-01-16 02:53:44 +00:00
Ilia Alshanetsky
1351f42efc More build fixes. 2003-01-15 19:36:13 +00:00
Wez Furlong
a3a2dcd8a9 Relieve scripts of the burden of ensuring that all pipes are closed prior
to calling proc_close().
Implement proc_get_status(resource $process) which returns an array of
information about a process created with proc_open().
The information includes:
array(
	"command" => string "name of the command",
	"pid" => long process identifier,
	"running" => bool true if the process is still running
	"exitcode" => long exitcode if the process exited
	"signaled" => bool true if the process was signaled
	"termsig" => long signal number if signaled
	"stopped" => bool true if the process is stopped
	"stopsig" => long signal number if stopped
);
2003-01-15 18:54:03 +00:00
Ilia Alshanetsky
d4f73f8da6 Fixed a typo. 2003-01-15 17:22:03 +00:00
Wez Furlong
1a314027d3 - Move proc_open code to a source file of it's own.
- Tidy up that netware mess by performing a configure check which will
  define the symbol PHP_CAN_SUPPORT_PROC_OPEN if PHP can support proc_open.
- Protected the proc_open specific code with #ifdef PHP_CAN_SUPPORT_PROC_OPEN
  so that user-space scripts can use function_exists and react accordingly.

** Heads Up Win32: You need to add ext/standard/proc_open.c to the DSP and
** #define PHP_CAN_SUPPORT_PROC_OPEN in the w32 config header.
2003-01-15 16:29:00 +00:00
Ilia Alshanetsky
ea0f37fc76 Build fixes. 2003-01-15 15:36:28 +00:00
Moriyoshi Koizumi
fdf0768d4e Fixed a qp encoder bug that the constructor sometimes fails if
line-breaking mode is off.
2003-01-15 15:05:17 +00:00
Ilia Alshanetsky
475125ac25 Typo fixes. 2003-01-15 14:05:41 +00:00
Ilia Alshanetsky
f704ac13a8 Fixed typo. 2003-01-15 14:02:11 +00:00
Ilia Alshanetsky
2b121d0b37 Various corrections. 2003-01-15 13:55:34 +00:00
Ilia Alshanetsky
dbe5972a0d Fixed typos. 2003-01-15 13:50:54 +00:00
Ilia Alshanetsky
e0e77d7d02 Typo corrections. 2003-01-15 13:48:07 +00:00
Yasuo Ohgaki
345ada81c8 Fixed proto 2003-01-15 10:21:15 +00:00
Adam Dickmeiss
f8b55fabc5 Fix functions comments (connection resource rather than connection id).
New functions yaz_set_option and yaz_get_option.
Cleanup in yaz_connect.
2003-01-15 08:00:44 +00:00
Adam Dickmeiss
701ab27de7 Fix lib config for the case where YAZ depends on multiple libraries 2003-01-15 07:57:52 +00:00
Ilia Alshanetsky
fc9282c183 Kill compile warning. 2003-01-15 03:37:11 +00:00
Ilia Alshanetsky
299614ae16 Newer parameter parsing API. 2003-01-15 03:01:17 +00:00
Ilia Alshanetsky
a354531144 Getting rid of the old API parsing code. 2003-01-15 02:54:54 +00:00
Ilia Alshanetsky
c2d66fa8bf Changed php_error to php_error_docref.
Made use of the more recent parameter parsing API, zend_get_parameters*.
2003-01-15 02:49:38 +00:00
Ilia Alshanetsky
ad42fba9fa Removed pointless checks around array_init() & ZE memory allocation macros.
Changed php_error to php_error_docref.
Dropped getParam* parameter parsing API in favor of zend_get_parameters*.
2003-01-15 02:31:16 +00:00
Ilia Alshanetsky
a63b47cae0 This patch allows cpdf to be compiled in conjunction with ncurses, which was
not possible before due to conflicting defines.
2003-01-15 00:52:06 +00:00
Ilia Alshanetsky
e37aee1a34 Porting of patch applied to ext/xmlrpc. 2003-01-14 21:04:47 +00:00
Ilia Alshanetsky
a0b3f822f7 Made the code use php_error_docref().
Removed pointless checks around array_init() and emalloc().
Switched to zend_get_parameters_ex() argument parsing API.
2003-01-14 21:02:14 +00:00
Andrey Hristov
05ff5da32b Migrated to C style comments. 2003-01-14 20:24:40 +00:00
Ilia Alshanetsky
74e34d1657 Changed getParameters() to zend_get_parameters_ex(). 2003-01-14 20:07:52 +00:00
Ilia Alshanetsky
1dbf11e1ba Fixed compile warnings. 2003-01-14 20:05:38 +00:00
Ilia Alshanetsky
f12a4164a5 One more typo. 2003-01-14 20:02:42 +00:00
Ilia Alshanetsky
44c8927daf Fixed typos. 2003-01-14 19:59:48 +00:00
Moriyoshi Koizumi
3ae7d13bc9 Appended my name to the list of authors 2003-01-14 19:26:00 +00:00
Moriyoshi Koizumi
ac66d4481e Test update for new feature 2003-01-14 19:25:10 +00:00
Ilia Alshanetsky
cd267a3df4 Switched from old getParse* argument parsing API to a more recent
zend_get_parameters*.
2003-01-14 18:54:44 +00:00
Andrey Hristov
7866f02260 added function get_memory_usage(). available only when PHP is compiled
with --enable-memory-limit
2003-01-14 18:26:47 +00:00
Ilia Alshanetsky
62f7e27141 Fixed compile warning & removed useless variable. 2003-01-14 17:45:31 +00:00
Ilia Alshanetsky
7d14dae0bb Changed php_error to php_error_docref.
Got rid off the ancient getParameters* parameter parsing API.
2003-01-14 17:44:56 +00:00
Moriyoshi Koizumi
e5c5412777 Added a new option "force-encode-first" to the quoted-printable encoder
as per Wez's request. If enabled, the encoder forcefully does qp
tranformation on every first character of lines in incoming stream.
2003-01-14 16:42:18 +00:00
Ilia Alshanetsky
4bc247553a Changed php_error() to php_error_docref().
Made pdfdoc retrieval a macro.
2003-01-14 15:15:53 +00:00
Moriyoshi Koizumi
bde6801add Made php_quot_print_decode() RFC2045-compliant
# this function is only used in iconv extension and the corresponding
# userland function doesn't use it, so I don't see any BC issue here.
2003-01-14 15:14:11 +00:00
Edin Kadribasic
45e9f594bb MFB: bind_textdomain_codeset() availability on windows 2003-01-14 14:46:33 +00:00
Ilia Alshanetsky
6fb507b53e Changed php_error to php_error_docref().
Removed pointless checks around array_init().
2003-01-14 02:39:10 +00:00
Moriyoshi Koizumi
a0be48c109 Fixed small memory leak that occurs when the invalid line length is passed
to the qprint ctor.
2003-01-14 01:27:57 +00:00
Moriyoshi Koizumi
121e625977 Fixed quoted-printable encoder so that it produces RFC2045 complicant
output. As per this specification requirement, the constructor now accepts
three options: binary (boolean), line-len (uint), line-break-chars (string).
2003-01-14 01:23:35 +00:00
foobar
cabee3635f Fixed bug: #21543, Informix version detection fails 2003-01-13 23:31:13 +00:00
Frank M. Kromann
d07dc0fc4c false should be VT_FALSE 2003-01-13 19:33:10 +00:00
Andrey Hristov
1cdc956637 added array_combine().
Creates an array by using the elements of the first parameter as keys and
the elements of the second as correspoding keys. Error is thrown in case
the arrays has different number of elements. Number of elements 0 is not
valid for both parameters.
2003-01-13 18:12:23 +00:00
Andrey Hristov
ffeb57afb5 Modifying TS build.
Migrating to _ex API for hash traversal.
2003-01-13 16:39:16 +00:00
Edin Kadribasic
f09be34dd3 Adjust paths to the new location java.dsp 2003-01-13 15:15:24 +00:00
Edin Kadribasic
8dbbddfb54 Fix ZTS build here too.
#
# What is the correct location of XMLRPC extension?
# Can the reduntand one be removed then and the build system fixed
# to acommodate that.
2003-01-13 13:39:29 +00:00
Edin Kadribasic
8ef5a3d48e Fixed ZTS build. 2003-01-13 13:36:23 +00:00
Moriyoshi Koizumi
78f527e2b7 Fixed a silly segfault bug caused by lack of strict type checking 2003-01-13 11:00:22 +00:00
Moriyoshi Koizumi
ab71e2cbaa . Implemented a common filter parameter parsing function.
# For example "base64-encode.line-break-chars=--,base64-decode.blah=foobar"
# will be parsed and splitted into a zval array as
# array(2) {
#   ["base64-encode"]=>
#   array(1) {
#     ["line-break-chars"]=>
#     string(2) "--"
#   }
#   ["base64-decode"]=>
#   array(1) {
#     ["blah"] =>
#     string(6) "foobar"
#   }
# }
. Added automatic line-breaking feature for base64 encode filter. This
  can be turned on by putting a option entry "base64-encode.line-length"
  to the filter parameters.
2003-01-13 10:21:40 +00:00
Derick Rethans
2cbcb743d8 - Fix ZTS build 2003-01-13 08:19:50 +00:00
Moriyoshi Koizumi
1fec8e3d13 Fixed a bug of the base64 decoder that a sequence of intervening
characters that are supposed to be ignored by the decoder cause output
corruption.
2003-01-12 21:05:22 +00:00
Stanislav Malyshev
98175957a7 ZE2 compatibility 2003-01-12 18:42:16 +00:00
Sebastian Bergmann
f37cb1c617 ZTS fixes. 2003-01-12 14:47:18 +00:00
Stanislav Malyshev
a7e14749e7 Disable ZE2-incompatible parts
# This should be rewritten for ZE2 anyway...
2003-01-12 14:43:04 +00:00
Stanislav Malyshev
bcc1e5a74e remove unneeded var 2003-01-12 13:50:17 +00:00
Moriyoshi Koizumi
a88173bf86 Fixed infinite loop bug when an invalid quoted-printable escape sequence
appears in the streem.
2003-01-12 13:46:11 +00:00
Moriyoshi Koizumi
b1e8631986 Fixed error msg format so it correctly reports the actual filter name 2003-01-12 13:41:35 +00:00
Sascha Schumann
f2f1f94e36 add INI setting session.hash_function
add support for creating session ids using SHA-1
source more entropy for session ids
2003-01-12 13:07:14 +00:00
Sascha Schumann
0b8401bf27 handle ERANGE from strtol properly 2003-01-12 13:05:32 +00:00
Moriyoshi Koizumi
aa41ab285a . Updated quoted-printable filter by a neater implementation.
. Changed emalloc family functions to pemalloc ones for persistent filters.
. Changed base64 and quoted-printable filter names to "convert.base64-encode",
  "convert.base64-decode", "convert.quoted-printable-encode", and
  "convert.quoted-printable-decode" respectively for the consistency that
  may be requested later.
2003-01-12 12:48:13 +00:00
Sebastian Bergmann
17c1518792 Patch by Giuseppe Tanzilli <g.tanzilli@gruppocsf.com>. 2003-01-12 08:03:18 +00:00
Frank M. Kromann
874cddd4ae Release skiped results. This will free memory on the server.
Make mssql_execute work for stored procedures with and without returning result sets
2003-01-12 06:28:41 +00:00
Ilia Alshanetsky
c4088ce25b Do not 'convert' double columns to integers after the 1st row in the result
set.
2003-01-11 23:50:37 +00:00
Ilia Alshanetsky
48f2ad4703 Fixed handling of NUMERIC type, when it contains numbers that could
potentially exceed the interger limit.
2003-01-11 23:06:35 +00:00
Moriyoshi Koizumi
7fa0970567 Reverted because correct decision has not been made yet. 2003-01-11 23:05:19 +00:00
Moriyoshi Koizumi
b66b92e996 Reduced warnings in ZE2 build 2003-01-11 22:32:19 +00:00
Moriyoshi Koizumi
dd2ad168e1 Reduced compiler warnings in ZE2 build 2003-01-11 22:17:37 +00:00
Andrey Hristov
cd2ce96e03 reverting 2003-01-11 19:37:23 +00:00
Ilia Alshanetsky
8facc65202 Added stripos() & strripos() functions.
Added 3rd parameter (offset) to strrpos().
2003-01-11 17:52:38 +00:00
Derick Rethans
6b7eaaa2c4 - Moving java and dotnet extensions to ext/rpc 2003-01-11 12:23:45 +00:00
Sebastian Bergmann
213b5abd06 Add missing ,. 2003-01-11 09:51:53 +00:00
Harald Radi
656ccddfce fix build 2003-01-11 08:59:37 +00:00
Harald Radi
5fc6842817 this is now implemented by the engine itself 2003-01-10 23:40:12 +00:00
Harald Radi
fff34aa3be ext/com is not compatible with ZE2, the ZE2 version is located in
ext/rpc/com
2003-01-10 23:39:09 +00:00
Frank M. Kromann
16cda12728 Fixing copy and paste errors 2003-01-10 19:33:31 +00:00
Frank M. Kromann
c2e7158712 Avoid warnings when running stored procedures returning multiple results
before setting output and return values.
Additional results can be skipped by the optional parameter to mssql_execute
2003-01-10 19:23:36 +00:00
Christian Stocker
9234916fc8 Throw error if object is not a XML_DOCUMENT_NODE in domxml_dump_node() 2003-01-10 18:07:36 +00:00
Andrey Hristov
53656f196b skipping unneeded copy 2003-01-10 17:39:10 +00:00
Wez Furlong
cf9f784ecd Fix the number format fix when the number of decimal places is 0.
# Thanks to Edin for his telepathy!
2003-01-10 13:32:24 +00:00
Derick Rethans
0988bc2ee6 - Fixed bug #20155: xmlrpc compile problem with zendengine2 (Path by Jan
Schneider)
@- Fixed bug #20155: xmlrpc compile problem with zendengine2 (Derick, Jan
@  Schneider)
2003-01-10 08:24:55 +00:00
Moriyoshi Koizumi
380928e6bf Reduced compiler warnings 2003-01-10 04:44:21 +00:00
Moriyoshi Koizumi
7ecd3ff91a Reduced compiler warnings 2003-01-10 04:37:26 +00:00
Moriyoshi Koizumi
6a1d69d4ba Added missing cast operators 2003-01-10 04:32:25 +00:00
Ilia Alshanetsky
dee2d7fed7 Fixed ImageRotate when rotation angle is 90 degrees, patch by
leon@leonatkinson.com.
2003-01-10 02:00:39 +00:00
Ilia Alshanetsky
5413a66cbb CS fixes 2003-01-09 23:23:32 +00:00
Ilia Alshanetsky
3e5bbba351 Fixed a memory corruption that occurs when an unterminated " is encountered
this bug maybe be related to #21556.
2003-01-09 22:49:18 +00:00
Frank M. Kromann
8e0535bcd5 Adding extended checks for where FreeTDS is installed 2003-01-09 22:35:16 +00:00
Sara Golemon
4d789b593f Bug #21531 file_exists() and other filestat functions throw errors when in safe mode and file/directory does not exist.
Extended php_checkuid function to add "flags" field via rename to php_checkuid_ex with alias for BC in functions that do want safe mode errors thrown.
2003-01-09 21:57:45 +00:00
Moriyoshi Koizumi
82c6d54517 Fixed typo 2003-01-09 20:23:36 +00:00
Wez Furlong
59e4fdcc10 Implement fprintf() and vfprintf().
Add a couple of tests.
2003-01-09 17:29:31 +00:00
Wez Furlong
d8fbd1acef Fix Bug #21523 - number_format could cause a memory allocation for a
negative memory size in situations where the sprintf implementation of the
host system generated less decimal places than were requested.

Resolved this issue by making number_format examine the string returned
by spprintf and have it pad to the correct number of decimal places.

Added a test-case based on the bug report; the length of decimal places
required to trigger this bug is sprintf implementation dependent; as the
implementation is now using spprintf (provided by PHP), that number is
78 digits (NDIG - 2).

# I played with the idea of enhancing sprintf to do the equivalent, but
# it was too much effort considering that the precision of floats/doubles
# is not good enough to warrant it.

# This fix could do with some QA from someone else to make sure there are
# no memory bounds problems and then MFH it to PHP_4_3
2003-01-09 15:44:49 +00:00
Frank M. Kromann
b33fe2b2c6 Use the correct link when checking for more results on stored procedures 2003-01-09 08:19:41 +00:00
Frank M. Kromann
6660f8ae4e Restire BC for mssql_execute(). This will not break the new feature for handling
multiple results from a single stired procedure.
Adding mssql_free_statement()
2003-01-09 08:00:07 +00:00
Ilia Alshanetsky
ef9ba94c8b Fixed bug #21529 (memory corruption by fsockopen()). 2003-01-09 03:33:15 +00:00
Frank M. Kromann
392e5013b4 changed from LVAL to RESVAL macro 2003-01-09 02:44:44 +00:00
Yasuo Ohgaki
ae8db8c608 Adjust config.m4 for new build system and improve lib detection a little 2003-01-09 01:19:26 +00:00
foobar
66fd5008ab Fix the ZTS build. 2003-01-09 00:15:33 +00:00
Moriyoshi Koizumi
59393ef3ad Reimplemented base64 filter to use iconv()-like facility for flexibility.
# I'm leaving the code dirty & ugly prior to the discussion.
2003-01-08 23:44:38 +00:00
Frank M. Kromann
7cd7cad1b5 Changed global data type to avoid problems with initialization 2003-01-08 23:19:54 +00:00
Ilia Alshanetsky
072be90d6f Added support for WBMP images. 2003-01-08 20:36:03 +00:00
Ilia Alshanetsky
17e51c5946 Fixed bug #21518.
Fixed memory in leak ImageCreateFromString().
Fixed a bug that prevented proper identification of WBMP images and thus
prevented ImageCreateFromString() from working on those images.
2003-01-08 18:11:40 +00:00
Zeev Suraski
ada5c4009e Fix UMR 2003-01-08 13:28:16 +00:00
Georg Richter
5312594a27 fixed bug #21498 2003-01-08 11:00:06 +00:00
Ilia Alshanetsky
2d4a4a99d3 Removed unused variable. 2003-01-08 03:33:00 +00:00
Ilia Alshanetsky
ac3e8601ae Version is char ;). 2003-01-08 00:38:36 +00:00
Dan Kalowsky
19b25ca5d2 Version tag for future move to PECL 2003-01-07 23:00:11 +00:00
Dan Kalowsky
b89d9db706 Reverting last change as it really doesn't fix longreadlen problems in all
cases.
2003-01-07 22:56:58 +00:00
Moriyoshi Koizumi
b064810550 Instances should not be freed in dtor()... 2003-01-07 22:53:42 +00:00
Moriyoshi Koizumi
b86a4edeed Made error msg format more consistent 2003-01-07 22:52:24 +00:00
Pierre Joye
a9999190c6 Fix line drawed twice (L. Atkinson) 2003-01-07 22:34:00 +00:00
Sara Golemon
f4f313ff40 Backout changes between 1.6 and 1.7 2003-01-07 16:43:26 +00:00
Levi Dixon
beb7476ba9 Added support for Shared Data Mode for OCI8_VERSION >= 8.1, which will provide memory savings by sharing common statement data 2003-01-07 15:55:59 +00:00
Ilia Alshanetsky
f7513855b3 Fixed ZTS build with ZE2. 2003-01-07 14:34:41 +00:00
Ilia Alshanetsky
928c260c57 ZTS cleanup. 2003-01-07 13:02:43 +00:00
Zeev Suraski
651cea08f0 whitespace 2003-01-07 11:37:09 +00:00
Sascha Schumann
e180f20e63 tell user which header files could not be found 2003-01-07 09:49:08 +00:00
Moriyoshi Koizumi
346fa499ca Fixed small leak 2003-01-07 08:57:27 +00:00
Frank M. Kromann
1638ddd4c2 Making the mssql extension work when build as a shared object 2003-01-07 05:19:48 +00:00
Ilia Alshanetsky
f0de896ed2 Fixed ZTS build. 2003-01-07 03:44:12 +00:00
Ilia Alshanetsky
34e868d451 MFB + CS 2003-01-07 02:47:24 +00:00
Moriyoshi Koizumi
eed5a6bed0 Implemented quoted-printable stream filter 2003-01-07 01:41:18 +00:00
Sara Golemon
35b1635c81 Add option to stream_get_filters() user-defined fiters vs. all filters, default to user only 2003-01-07 01:02:29 +00:00
Moriyoshi Koizumi
00a36a09e1 Implemented string.base64 stream filter
@- Implemented string.base64 stream filter. (Moriyoshi)
2003-01-07 00:03:25 +00:00
Ilia Alshanetsky
97dd1e8abf Fixed bug #21453 (improper handling of non-terminated <). 2003-01-06 22:13:03 +00:00
Ilia Alshanetsky
15f7c2c332 Fixed Bug #21443 and related bug #21468. 2003-01-06 21:43:28 +00:00
Dan Kalowsky
86b99ffcf6 Patch for bug #19349 2003-01-06 18:23:55 +00:00
Dan Kalowsky
b588e10553 Correction for bug #21279 2003-01-06 18:10:06 +00:00
Moriyoshi Koizumi
4c2d6cfea8 Moved php_quot_print_decode() to quot_print.c so that it can be used
outside the iconv module
2003-01-06 15:47:25 +00:00
Moriyoshi Koizumi
d0570815af Added more RFC2047-compliancy check in iconv_mime_decode() 2003-01-06 15:40:22 +00:00
Moriyoshi Koizumi
6f44489b68 Fixed iconv_mime_decode() so that it comforms to RFC2231 2003-01-06 15:35:42 +00:00
Georg Richter
8aeb7f35bc fixed missing & (Thx to Sebastian Bergmann) 2003-01-06 14:13:47 +00:00
Wez Furlong
d23d4b366d Make it slightly more obvious that the return value is relative to the length
of the input data.
2003-01-06 14:04:23 +00:00
Edin Kadribasic
3d9c3c6662 MFB:
Fixed bug #20503 (imagesetbrush() availability on windows).
2003-01-06 10:49:52 +00:00
Anantha Kesari H Y
b3d80fe441 Removed #ifdef NetWare and made the necessary changes in the directory structure of NetWare. 2003-01-06 10:28:34 +00:00
Christian Stocker
413053aa75 - get_path forgotten in .h file
- fix crash in domxml_node_insert_before() (by Lukas Schröder)
2003-01-06 09:59:53 +00:00
Anantha Kesari H Y
303f888a09 Changes for NetWare makefile. 2003-01-06 09:05:59 +00:00
Anantha Kesari H Y
f58016b348 Makefile added newly and modified the header file for NetWare. 2003-01-06 09:05:03 +00:00
Christian Stocker
cafc0b2e59 @- Added domxml_node_get_path() (Lukas Schröder)
- Fixed segfault, when trying to add a node to itself.
2003-01-06 08:47:35 +00:00
Anantha Kesari H Y
509b4d39b5 Added #ifdef HAVE_SYSLOG_H around syslog function in the whole file to avoid link failure. 2003-01-06 05:59:17 +00:00
Sara Golemon
999d989aa9 Added string.toupper and string.tolower filters and generalized non-op filter methods 2003-01-06 05:22:06 +00:00
Frank M. Kromann
6b0b7e3f42 Nuke warning, on Win32 build 2003-01-06 04:29:33 +00:00
Frank M. Kromann
01f5c5d6fe enable imageftbbox() and imagefttext() on WIn32 2003-01-06 04:28:49 +00:00
Sara Golemon
42e912da79 Expose stream_filters_hash so that it can be searched by stream_get_filters() 2003-01-06 04:06:40 +00:00
Edin Kadribasic
e0ed7e9057 Complete gif readonly support addition by adding missing gd_gif_in.c
file to the project.
2003-01-06 01:39:08 +00:00
Edin Kadribasic
6113d95433 Comment out non ANSI C standard comliant code. Fixes win32 build. 2003-01-06 01:26:14 +00:00
Edin Kadribasic
59b37a5ce4 Fixed win32 build. 2003-01-06 01:08:59 +00:00
Ilia Alshanetsky
b52eb8f14a Fixed bug #21445. 2003-01-06 00:47:40 +00:00
Sara Golemon
7dae400063 Fixes to stream_get_wrappers() and stream_get_filters() handle hash table layouts better, plus some picune whitespace fixes 2003-01-05 22:24:49 +00:00
Georg Richter
2fbb9a5247 fixed bug #21435 2003-01-05 20:53:06 +00:00
Sebastian Bergmann
c9d9e053f3 Define HAVE_GD_GIF_READ. 2003-01-05 16:32:01 +00:00
Edin Kadribasic
fc03762871 MFB:
Made xslt_set_encoding() available on windows (bug #20640).
2003-01-05 13:54:30 +00:00
Ilia Alshanetsky
d5a8bb2d0b Fixed a memory leak in setlocale() & localeconv(). 2003-01-05 04:29:14 +00:00
Sara Golemon
43630e2ac0 Added stream_get_filters(); to list registered filters 2003-01-05 03:24:38 +00:00
Derick Rethans
b816089fbf - Fix some of the netware crap 2003-01-05 00:56:17 +00:00
Derick Rethans
e58c221204 - Change Warnings to Notices 2003-01-04 23:55:57 +00:00
Ilia Alshanetsky
5f36ce398e CS fixes. 2003-01-04 23:31:55 +00:00
Marcus Boerger
fff1c67b56 Fix ZTS-ZE2 build 2003-01-04 20:06:32 +00:00
Marcus Boerger
6a75a52ad8 better to check for existance first 2003-01-04 19:19:59 +00:00
Marcus Boerger
2705070dd8 Fix ZTS-ZE2 build 2003-01-04 19:18:43 +00:00
Moriyoshi Koizumi
0d0127fbfb Fixed cut'n'paste failure 2003-01-04 13:52:54 +00:00
Moriyoshi Koizumi
b13a6276e1 Added test case for iconv_mime_encode() 2003-01-04 13:39:59 +00:00
Derick Rethans
6439ad7640 - Fixed bug #21232 (Unresolved references to PQsetnonblocking). (Patch by
Floyd <floyd@studiodust.com>)
2003-01-04 12:33:46 +00:00
Martin Jansen
4343df9de2 * Update copyright year to 2003. 2003-01-04 11:56:35 +00:00
Moriyoshi Koizumi
cd2b0fe706 Added test case for iconv_mime_decode() 2003-01-03 20:33:53 +00:00
Moriyoshi Koizumi
07dcab60f0 Added test cases for iconv_strpos() and iconv_strrpos() 2003-01-03 20:02:23 +00:00
Moriyoshi Koizumi
006b455c6a Fixed an iconv_strrpos() bug that the function doesn't return accurate
position of last occurrence
2003-01-03 20:01:13 +00:00
Derick Rethans
4d3c4ab45d - Update todo 2003-01-03 19:50:41 +00:00
Derick Rethans
419af9f12a - Removed support for libmcrypt 2.2.x to allow cleaner code. Another reason
to upgrade libmcrypt to a 2.5.x series as the older ones have too much bugs
  to be safely used with PHP.
- Updated macro's, php_errors and parameter parsing.
@- Removed support for libmcrypt 2.2.x to allow cleaner code. Another reason
@  to upgrade libmcrypt to a 2.5.x series as the older ones have too much bugs
@  to be safely used with PHP. (Derick)
2003-01-03 19:49:44 +00:00
Ilia Alshanetsky
f99fa7170e Fixed a bug that would cause flock() to never set the 3rd argument.
CS fixes & switched to new parameter parsing API.
2003-01-03 18:33:28 +00:00
Ilia Alshanetsky
71ab7dfccc Fixed a memory leak that occurs if the location specified by redirect header
cannot be opened.
2003-01-03 17:12:35 +00:00
Ilia Alshanetsky
c52cdad25a Further fixes related to bug #21267. 2003-01-03 17:05:16 +00:00
Anantha Kesari H Y
2e52c112df Modified for NetWare. 2003-01-03 16:06:02 +00:00
Anantha Kesari H Y
830298beb8 Modified for NetWare. 2003-01-03 14:37:42 +00:00
Anantha Kesari H Y
32ef849171 Modified for NetWare. 2003-01-03 14:31:31 +00:00
Moriyoshi Koizumi
3149fc7c40 Added offset validity check for iconv_strpos() 2003-01-03 14:29:49 +00:00
Anantha Kesari H Y
9c3f39a074 New file added for NetWare. 2003-01-03 14:24:34 +00:00
Anantha Kesari H Y
90ba724072 Modified for NetWare. 2003-01-03 14:24:07 +00:00
Derick Rethans
8f82834a79 - Update this one as well 2003-01-03 10:52:23 +00:00
Derick Rethans
32254e0938 - Remove double "Win32 COM" functions line 2003-01-03 10:48:38 +00:00
Sara Golemon
7b37272381 Added stream_get_wrappers() 2003-01-03 08:02:36 +00:00
Moriyoshi Koizumi
f76df0ba1b Added test cases for iconv_strlen() and iconv_substr() 2003-01-03 05:48:51 +00:00
Moriyoshi Koizumi
a3330b5ab3 Fixed iconv_mime_decode() so it would give more awareness to stateful codesets 2003-01-03 05:38:50 +00:00
Moriyoshi Koizumi
e1dd919204 Fixed infinite loop of iconv_mime_encode() in case the specified line length is too short to contain a proper mime-encoded string 2003-01-03 05:34:05 +00:00
Moriyoshi Koizumi
c703ad78d0 Give mo' shift-sequence awareness to iconv_mime_encode 2003-01-03 05:32:13 +00:00
Moriyoshi Koizumi
354a42fd5f More shift-sequence awareness for iconv_substr() 2003-01-03 05:28:25 +00:00
Moriyoshi Koizumi
1f8cee7666 Added missing casting operators 2003-01-03 05:26:44 +00:00
Moriyoshi Koizumi
bf48e7bc9f MFB 2003-01-03 05:16:12 +00:00
Moriyoshi Koizumi
6144a7288e MFB: fixed shift-out sequence unawareness issue 2003-01-03 05:14:34 +00:00
Moriyoshi Koizumi
f962ba6abb Fixed small leaks in array_map() in case the first parameter is NULL like
array_map(NULL, array(...));
2003-01-03 05:05:12 +00:00
Ilia Alshanetsky
f65e8488d7 Fixed a small memory leak when a NULL variable is passed to
openssl_csr_sign() as the first argument.
2003-01-02 21:18:59 +00:00
Ilia Alshanetsky
0ff59a1353 Fixed bug #21338 (crash inside html_entity_decode() when "" is passed).
Added test case for the bug.
2003-01-02 19:49:30 +00:00
Frank M. Kromann
4da2e804e0 Allow base64 functions to be called from an extension buils as .so/.dll (iconv) 2003-01-01 18:11:18 +00:00
Zeev Suraski
70446a6416 build fixes 2003-01-01 13:26:17 +00:00
Sebastian Bergmann
0ab3a13612 Fix warnings. 2003-01-01 12:36:06 +00:00
Wez Furlong
97a0102b81 Tidy up 2003-01-01 11:21:40 +00:00
Wez Furlong
f58628ca4d Move rot13 filter into a new filters.c source file.
Tidy up some other filter related code.

# win32 -> someone please add user_filters.c and filters.c to the .dsp
2003-01-01 11:04:44 +00:00
Moriyoshi Koizumi
c4e8b2baab Added various functions that relies on the iconv facility:
iconv_strlen(), iconv_substr(), iconv_strpos(), iconv_strrpos(),
iconv_mime_encode(), iconv_mime_decode()

# hope this be a new year gift for you. Happy new year!
2002-12-31 19:13:16 +00:00
Wez Furlong
350b0bbeac Implement user-space filters.
See ext/standard/tests/file/userfilters.phpt for an example of their use.
2002-12-31 18:39:36 +00:00
Sebastian Bergmann
b506f5c8f8 Bump year. 2002-12-31 16:08:15 +00:00
Rasmus Lerdorf
f88e29bc0d Fix for bug #21311 2002-12-31 15:18:52 +00:00
Wez Furlong
abc4b4bb99 Fix for #21304 (gzopen did not report errors on open; "a" mode broken) 2002-12-31 11:42:15 +00:00
Ilia Alshanetsky
87a8b04051 Fix ZTS build. 2002-12-31 00:04:52 +00:00
Ilia Alshanetsky
0acb52fc3b Fixed bug #21228 (broken check for ob_gzhandler).
Fixed a bug that made ob_start return incorrect return value.
2002-12-30 19:39:31 +00:00
Marcus Boerger
67f0a6f6c0 testing default handler should be a separate test 2002-12-30 19:20:11 +00:00
Marcus Boerger
aa8e5cdde7 -disallow using db-<n> with libraries of different major versions
-disallow using db-4.1 with patch level < 25
-fix db-4.1
-added undocumented DB_FCNTL_LOCKING flag for version 3 and 4
# wow the sleepycat guys answered *very* fast
2002-12-30 17:42:55 +00:00
Ilia Alshanetsky
bd19dabefe Fixed bug #21226 (parse_url handling of urls without a path). 2002-12-30 16:42:49 +00:00
Derick Rethans
d454becda8 - Whitespace 2002-12-30 15:03:50 +00:00
Marcus Boerger
32dda8b0cb ws 2002-12-30 13:09:03 +00:00
Marcus Boerger
4d2f7207c0 Add info function to handlers and return handler info when dba_handlers is
called with optional parameter full_info set true.
2002-12-30 13:07:30 +00:00
Marcus Boerger
426cf8eb57 fix state-machine in cases T_AAAA is not available 2002-12-30 11:59:22 +00:00
Marcus Boerger
a213c71735 2nd part of the patch 2002-12-30 11:43:18 +00:00
Marcus Boerger
4b9e8fc899 -better parameter names for DBA_HND macros
-remove unnecessary notice
2002-12-30 11:32:37 +00:00
Derick Rethans
e76d0043da - Align mssql comment and clarify DBA handler selection 2002-12-30 08:55:21 +00:00
Ilia Alshanetsky
88d26985b8 Fixed bug #21267 (opening URLs that result in redirection to a relative
path was failing).
2002-12-29 20:01:33 +00:00
Ilia Alshanetsky
c731daeda7 Fixed bug #21268 (session_decode() returned FALSE on success). 2002-12-29 18:50:55 +00:00
Marcus Boerger
c69d034a87 Added support for db3/db4 error handling/information 2002-12-29 15:32:38 +00:00
Marcus Boerger
9b22813c4d Add a default handler that makes handler parameter to open functions
optional.
@Improved dba extension (Marcus)
@-Made handler parameter of dba_(p)open() optional.
@-Added php.ini option 'dba.default_handler' to specify a default handler.
2002-12-29 15:31:00 +00:00
Sascha Schumann
955b27cd64 Fix order of library additions, so that the imap extension now builds
successfully with static imap/ssl libs.  configure was already failing
before.
2002-12-28 15:33:25 +00:00
Ilia Alshanetsky
22a2636d9d Made DBA tests not dependant on error reporting settings. 2002-12-27 04:46:40 +00:00
Derick Rethans
f3d3dd5bc8 - MFB 2002-12-26 23:45:05 +00:00
Georg Richter
4abcff7631 added Wez, Ilia & myself 2002-12-26 23:38:18 +00:00
Wez Furlong
bb640840c3 Remove cruft that opened a stream that was never closed in get_meta_tags().
(probably my fault).
Noticed by Philip Olson
2002-12-26 22:35:00 +00:00
Sterling Hughes
457f22c198 if needle is empty free allocated memory 2002-12-26 20:52:42 +00:00
Sterling Hughes
ca67d27fb2 remove memleak 2002-12-26 19:56:44 +00:00
Marcus Boerger
4041d4faed Add missing test for db4 handler 2002-12-26 19:55:06 +00:00
Derick Rethans
b996b32031 - Add test for bug #21182 2002-12-25 20:08:36 +00:00
Ilia Alshanetsky
fbcee73c8c Make range operate on the copies of the parameters rather then modify the
actual parameters.
2002-12-25 20:02:03 +00:00
Stefan Esser
e900f8c97b do correct casting 2002-12-24 23:28:05 +00:00
Ilia Alshanetsky
2e6e0f87dc Removed pointless assignment. 2002-12-24 23:19:54 +00:00
Ilia Alshanetsky
0a2d473df0 The -1 is no longer needed, since it is done automatically by strlcpy(). 2002-12-24 17:33:33 +00:00
Ilia Alshanetsky
a747d1f864 Changed strncpy() to strlcpy(). 2002-12-24 17:30:48 +00:00
Ilia Alshanetsky
59b6ffee1e A variety of CS style fixes, which include:
* Changed all argument parsing to use the new zend_parse_parameters()
 * If a function is unavailable due to lack of support for a certain feature,
   do not make the function avaliable, rather then making it print an error
   saying that the functionality offered by the function is not avaliable.
 * Lots of WS fixes all over the file.
 * Change strcpy() to strncpy() to prevent possible buffer overflows.
Fixed a bug in ncurses_pair_content(), 1st parameter was wrong.
Fixed several function prototypes that failed to indicate that functions
accepted arguments by reference.
2002-12-24 17:20:33 +00:00
Melvyn Sopacua
0764c3101b Verify if gl_pathv is not NULL, which it is, when GLOB_NOMATCH isn't
supported and there are no matches.

# BSDi/Mac OSX are affected.
2002-12-23 18:33:46 +00:00
Stefan Esser
0bb1ff71d6 fix compile error on IRIX 2002-12-23 08:50:05 +00:00
Ilia Alshanetsky
af55703d52 Fixed various memory leaks.
# Should this be MFHed?
2002-12-22 20:16:37 +00:00
Moriyoshi Koizumi
45f67837e6 Removed "%s" from format strings 2002-12-22 19:51:49 +00:00
Ilia Alshanetsky
0ae3050aa5 Fixed bug #21146. 2002-12-22 19:44:01 +00:00
Moriyoshi Koizumi
d70f96550c php_error => php_error_docref 2002-12-22 19:16:09 +00:00
Moriyoshi Koizumi
9b3f810564 WS fix 2002-12-22 19:05:06 +00:00
Moriyoshi Koizumi
dcc030f5ef Fixed bug #21144 2002-12-22 19:01:44 +00:00
Wez Furlong
c5091eedf1 Forgot to include this in my previous commit for #21131 fix. 2002-12-22 18:06:27 +00:00
Wez Furlong
efea12fec5 Fix for Bug #21131: fopen($file, 'a+') would incorrectly assume that
the stream position was at offset 0.
This corrects that assumption by querying the stream for it's position
when it detects the 'a' "flag" in the mode parameter to fopen.
Also added a test for plain files and amended the userstreams test to
take this into account.
2002-12-22 18:05:36 +00:00
Sascha Schumann
20e8bc31f0 (char *) vptr += expr; is refused by the IRIX compiler, so we use
vptr = (char *) vptr + expr; instead.
2002-12-22 16:34:13 +00:00
Sascha Schumann
280f4a4373 'index' is a function name in the C library, do not use it as variable name.
also, cast the 'void *' correctly to a 'char *' for manipulation
instead of an 'int'.
2002-12-22 16:03:28 +00:00
Ilia Alshanetsky
98e85ae80b Fixed bug #20987 (no handling for client certificates). 2002-12-21 18:03:46 +00:00
Derick Rethans
16e5459f94 MFB: Fix typo 2002-12-21 17:48:37 +00:00
Andrei Zmievski
ddea2a190f Alias dba_popen() to dba_open() until persistent STDIO streams are
implemented.
2002-12-21 01:09:27 +00:00
Stefan Esser
e4e299614e need more space 2002-12-20 19:37:07 +00:00
Georg Richter
d5f02c553b fixed some warning when using external 4.x libs 2002-12-20 18:52:27 +00:00
Frank M. Kromann
ad69583ba1 Fixing Win32 build by adding missing libraries 2002-12-20 18:40:31 +00:00
Sara Golemon
13308b5a94 Minor clarification in meaning of bitmask constants
/* PHP_DNS_xx = 1<<(T_xx-1) */
T_CNAME = 5 ergo PHP_DNS_CNAME should be 0x00000010.
T_SOA = 6 ergo PHP_DNS_CNAME should be 0x00000020.
2002-12-20 18:34:56 +00:00
Marcus Boerger
efd314e767 -Fix memory handling of persistent dba connections.
-Update tests.
# cdb and flatfile still FAIL for dba_popen since the known streams problem
2002-12-20 17:47:58 +00:00
Ilia Alshanetsky
3a4bf3f904 When low & high are the same return an array containing the low value.
Added support for float values and handling of numeric values being passed
as strings.
Added a test case for range().
2002-12-20 17:16:31 +00:00
Marcus Boerger
d795243db3 @Make uniqid() parameters optional and allow any prefix length. (Marcus) 2002-12-20 17:06:25 +00:00
Marcus Boerger
8652e8ac27 MFB 2002-12-20 17:04:33 +00:00
Andrei Zmievski
c45f76112f At least this problem exposed some leaks.. 2002-12-20 16:45:34 +00:00
Marcus Boerger
26038795f8 -disable uniqid() when required lib functions not available
-emit an error when uniqid() will fail
-make more_entropy parameter default to true for CYGWIN
2002-12-20 16:34:42 +00:00
Sterling Hughes
3cb16973ef silly error, will MFH 2002-12-20 15:44:51 +00:00
Wez Furlong
602734c7d9 Correct mistake introduced by my last commit on these files;
*_from_pipe() is for process-pipes created by fopen, not generic pipes
created from proc_open().
Correctly implemented the fifo/pipe check for *_from_file() and it seems
to be working correctly now.
2002-12-19 20:23:50 +00:00
Ilia Alshanetsky
594c3808d4 Fixed bug #21098. 2002-12-19 17:06:36 +00:00
Edin Kadribasic
2fc8358e3a MFB: Remove dependancy on libtool library which is no longer needed. 2002-12-19 10:49:05 +00:00
Moriyoshi Koizumi
d2fa4670dc Prevented test failure caused by LF code variety 2002-12-18 23:06:27 +00:00
Pierre Joye
baea3414a3 Fix a crash while using an invalid color with imagesetstyle, see the sample
script in the manual to reproduce it :)
2002-12-18 21:13:21 +00:00
Frank M. Kromann
e93a1a92ec Fixing WIn32 build after adding support for FreeTDS 2002-12-16 22:44:08 +00:00
Frank M. Kromann
5664a358fa Allow the native MSSQL extension to be compiled with FreeTDS on *nix platforms.
This will make the whole MSSAL API available on these platforms.
@Allow compilation of mssql extension on *nix.
2002-12-16 22:26:49 +00:00
Sergey Kartashoff
afa0e1e03e - mnogosearch extension updated to compile with mnogosearch-3.2.8 2002-12-16 19:17:10 +00:00
Marcus Boerger
59656cc706 fix compiler definition tests 2002-12-16 17:52:43 +00:00
Marcus Boerger
50af908f01 fix compiler definition tests 2002-12-16 15:53:46 +00:00
Marcus Boerger
2d3b3fd97f fix test 2002-12-16 15:19:57 +00:00
Marcus Boerger
9042a9ddbd Add version check since this will be available since php 4.4. 2002-12-16 15:04:12 +00:00
Marcus Boerger
da1a617f6b forgot to remove that dot 2002-12-16 14:54:35 +00:00
Marcus Boerger
5dc4d38204 -Add constant that shows whether or not exif uses mbstring.
-Fix tests
2002-12-16 14:48:00 +00:00
Marcus Boerger
6e055f9a77 change mbstring detection 2002-12-16 09:58:49 +00:00
Ilia Alshanetsky
f620fdbed3 A better memory leak patch. 2002-12-16 07:46:36 +00:00
Marcus Boerger
c1be81a84e ws 2002-12-15 18:49:07 +00:00
Marcus Boerger
05436b1378 MFB: gd uses float instead of double 2002-12-15 18:16:11 +00:00
Ilia Alshanetsky
cc4748139c Close log file on shutdown. 2002-12-15 07:03:32 +00:00
Ilia Alshanetsky
078dfe8d57 Fixed a memory leak. 2002-12-15 06:44:30 +00:00
Marcus Boerger
16694d3500 Fix build when mbstring is a shared module or dll under windows 2002-12-14 19:53:20 +00:00
Pierre Joye
137beb12ca Do not allow AA if not trueColor (imageantialias does nothing) 2002-12-14 19:23:29 +00:00
Marcus Boerger
9455657a7a Bugfix: #21010 (Here it's maker (manufacturer) instead of marker) 2002-12-14 17:49:19 +00:00
foobar
c07f7c8df8 MFB: Fix bug #20995 2002-12-14 09:33:37 +00:00
Marcus Boerger
95c701d328 MFB: ZTS fix by Ilia 2002-12-13 09:17:04 +00:00
Vlad Krupin
e969d788bf Fix for bug 19727. dBase5 (at least for windows) seems to allow 1024 fields 2002-12-13 03:09:52 +00:00
Moriyoshi Koizumi
92d5faca60 MFB 2002-12-12 21:44:53 +00:00
Moriyoshi Koizumi
d679e5d2aa Added a test case for bug #20934 2002-12-12 21:42:17 +00:00
Stefan Esser
7924bf8705 remove extra char in case of binary/money fields 2002-12-12 21:30:39 +00:00
Ilia Alshanetsky
7a282ddcfd Fixed bug #20974 (added missing sanity check). 2002-12-12 21:17:36 +00:00
Melvyn Sopacua
44b7c16b03 Fix for BSD's (possibly others):
Accept system default, for the index. Don't initialize it.
2002-12-12 18:50:26 +00:00
Wez Furlong
c5d4e4b321 MFB: popen/pclose and proc_open/proc_close fixes. 2002-12-12 17:51:25 +00:00
Wez Furlong
81c02040f0 Attempt to add more entropy for key generation. 2002-12-12 15:50:11 +00:00
Ilia Alshanetsky
53b333d153 Fixed misspelling of the Greek letter lambda,
noticed by jmartin-php@notamusica.com.
2002-12-12 14:50:58 +00:00
Marcus Boerger
c2078cdabf php_error -> php_error_docref conversion fix (noticed by derick) 2002-12-12 14:12:42 +00:00
Wez Furlong
1ef74a4f79 Patch for #20936 (openssl: public key handling was broken).
Thanks to <jeroen@derks.it> for the patch.
2002-12-12 13:42:23 +00:00
Ilia Alshanetsky
75c180f242 Fixed bug #20927 and updated the test case for the bug. 2002-12-12 13:38:19 +00:00
Moriyoshi Koizumi
3bbcb0d0dd Fixed bug #20934 (htmlspecialchars returns latin1 from UTF-8) 2002-12-12 13:25:51 +00:00
Marcus Boerger
a40ccefd32 php_error -> php_error_docref 2002-12-12 13:08:59 +00:00
Marcus Boerger
53309aace0 SIGIOT may not be defined in cygwin 2002-12-12 12:23:32 +00:00
Marcus Boerger
835c4dedbb typeconversion is needed here for cygwin 2002-12-12 12:18:44 +00:00
Marcus Boerger
26b101dd1b O_ASYNC is not defined in cygwin 2002-12-12 12:15:10 +00:00
Edin Kadribasic
8eb1791790 MFB: DOM/XSLT support in win32 build (bug #20485). 2002-12-12 10:56:33 +00:00
Ilia Alshanetsky
20bc6a09e0 Added check for availability of jpeg support. 2002-12-11 22:37:05 +00:00
Ilia Alshanetsky
67aca57c3b Fixed build with non-bundled GD. Hidden the anti-alias functions when
non-bundled GD is used and made imagecreatefromxpm() unavailable because
of a bug in the external GD library.
2002-12-11 22:25:23 +00:00
Pierre Joye
5acfdf3ca1 Fix brightness filter (argument ingnored) 2002-12-11 22:23:51 +00:00
Ilia Alshanetsky
a88a99fb9d White space fixes. 2002-12-11 21:55:45 +00:00
Ilia Alshanetsky
f4b5f0904b Syncronize bundled gd sources with that of gd 2.0.9, affected functions
are: gdImageBrushApply() & gdImageCopyResized().
2002-12-11 21:52:29 +00:00
Pierre Joye
983d8e5efd Add antialias flag to image structure
Add AA support
2002-12-11 20:47:26 +00:00
Pierre Joye
7ec74f64f9 Add gdImageAAline (antialiased line)
Add AA support for gdImagePolygon
2002-12-11 20:46:52 +00:00
Pierre Joye
221413e5ef Remove double definition of imagesettile
Add imageantiallias
2002-12-11 20:45:47 +00:00
Pierre Joye
4d522e3686 Add imageantialias(im, flag)
Add AA support for bundled imageline
2002-12-11 20:44:44 +00:00
Melvyn Sopacua
4b3b409b48 Add testcase for reported wordwrap bug 2002-12-11 20:22:42 +00:00
Ilia Alshanetsky
2ab549c5f2 Added missing &. 2002-12-11 20:04:23 +00:00
Ilia Alshanetsky
c194d9333d Added getopt() test. 2002-12-11 17:38:28 +00:00
Sara Golemon
04d6f6ab50 Renamed bc_powmod to bcpowmod to keep it inline with existing module
functions.  Fixed whitespace problem.
2002-12-11 16:28:16 +00:00
Ilia Alshanetsky
5f9681ff80 Added missing variable to parameter retrieval. 2002-12-11 15:32:35 +00:00
foobar
3fc83fd8e3 - ws fixes
- // -> /* */ (No C++ comments in c code!)
- #if / #else / etc. have to start from first column.
2002-12-11 15:25:39 +00:00
Rui Hirokawa
3d324676a5 fixed lack of variable initialization bug. 2002-12-11 14:39:37 +00:00
Abdul-Kareem Abo-Namous
089f1b5771 fixed string comparison which brought up a gcc warning. 2002-12-11 14:18:40 +00:00
Marcus Boerger
e0c983a013 Warnings and Notices when lock modifiers for dba_(p)open are used wrong.
This finally closes bug #20828 (and i hope it must not be reopened)
2002-12-11 10:37:38 +00:00
Georg Richter
230f4ebb06 Security fix (merged from 3.23.54) 2002-12-11 08:28:41 +00:00
Ilia Alshanetsky
52d0f1c143 decode variable is only used when mbstring is avaliable. 2002-12-11 07:37:30 +00:00
Ilia Alshanetsky
08e020a870 ZTS fix. 2002-12-11 07:29:51 +00:00
Ilia Alshanetsky
533d3273bd Fix ZTS build 2002-12-11 02:30:00 +00:00
Marcus Boerger
a6e9674bfd add missing comment 2002-12-10 22:51:09 +00:00
Marcus Boerger
b94e0d9eac LOCK_EX is not allowed in read mode -> try using existing .lck file in read
only mode only when in read mode.
2002-12-10 22:49:33 +00:00
Wez Furlong
ac8469bd55 No longer experimental 2002-12-10 22:21:34 +00:00
Wez Furlong
9746be4779 use php_error_docref and tidy up some WS/coding standards. 2002-12-10 22:18:58 +00:00
Marcus Boerger
17117063ce -remove second attempt to close lock file
-default to lock on db file instead on .lck file.
-try to use existing .lck file and only create it on failure (allows ro access)
2002-12-10 22:02:52 +00:00
Marcus Boerger
dbf4bcc08b stick to "check <what> <result>" scheme, do not repeat messages and
align messages correctly.
2002-12-10 21:53:02 +00:00
Stefan Esser
e5dbcb0890 fixing cut&paste bug 2002-12-10 20:18:25 +00:00
Marcus Boerger
d1c70a6417 directory values are optional 2002-12-10 20:11:41 +00:00
Marcus Boerger
644bd60d29 remove not wanted skeleton comment and align configure message 2002-12-10 20:09:35 +00:00
Ilia Alshanetsky
2b063828e0 Fixed build with GD 1.8.4 2002-12-10 19:45:58 +00:00
Frank M. Kromann
62fb872a4d Fixing ZTS Build 2002-12-10 19:28:04 +00:00
Sara Golemon
51c9f2c64b Added support for libbcmath's bc_raisemod function as bc_powmod() 2002-12-10 19:04:27 +00:00
Ilia Alshanetsky
91a6272972 Fixed win32 build. 2002-12-10 18:00:47 +00:00
Ilia Alshanetsky
99f2b9674f Fixed build with GD 1.8.4 2002-12-10 17:57:41 +00:00
Edin Kadribasic
28c32e1fc8 MFB: Fix ZTS build. 2002-12-10 17:07:40 +00:00
foobar
8416a0433a This extension requires cyrus-imap >= 2.0.8 2002-12-10 16:34:20 +00:00
Stefan Esser
f481a209b7 fixing crashbug
patch by freddy77@angelfire.com
2002-12-10 15:18:01 +00:00
Marcus Boerger
26c5c323ab -make those debug messages 2002-12-10 14:35:13 +00:00
Marcus Boerger
922ce573cf -when required haeder was not found --with-cdpf was simply ignored. I
changed this to be an error.
-cpdf did not check for --with-jpeg-dir and --with-tiff-dir
2002-12-10 14:31:00 +00:00
Ilia Alshanetsky
aa4c85dda1 Fixed bug #20907, patch by m-arai@sco.bekkoame.ne.jp. 2002-12-10 00:10:27 +00:00
foobar
8a8041befe fix typos 2002-12-09 18:30:50 +00:00
foobar
31415ad2b5 Make this actually work too. 2002-12-09 18:29:22 +00:00
Wez Furlong
58210f9232 Centralize fopencookie test 2002-12-09 18:29:07 +00:00
foobar
44aec93861 Fix the build with new cyrus and sasl2 libs 2002-12-09 18:05:37 +00:00
Marcus Boerger
ba534ac7c8 Added open modifier '-' to skip/ignore locking. See bug #20828, #20858 2002-12-09 17:54:13 +00:00
Wez Furlong
ca6b002e4c MFB: zlib stream tests 2002-12-09 16:43:15 +00:00
Moriyoshi Koizumi
4974f268a6 @- Let array_search() accept objects as a needle under ZendEngine2. (Moriyoshi) 2002-12-09 15:54:38 +00:00
Edin Kadribasic
3994fbbc86 MFB: Fix for #20894. 2002-12-09 13:35:57 +00:00
foobar
085f362ae3 T_AAAA is not always available. 2002-12-09 11:50:15 +00:00
Wez Furlong
f4ca743d66 MFB zlib related fixes
(sorry I didn't get around to doing this sooner)
2002-12-09 10:54:20 +00:00
Christian Stocker
bda98029b4 PHP_FALIAS for doc_get_elements_by_tagname got lost 2002-12-09 08:14:15 +00:00
Ilia Alshanetsky
8f6d5dc775 Fixed a color mixup in gdImageCopyResampled() when dealing with true-color
images & brought the code up to PHP coding standards.
2002-12-08 21:07:13 +00:00
Moriyoshi Koizumi
8d1b2bf8a5 Prevented return_value from being freed() twice 2002-12-08 09:54:30 +00:00
Sara Golemon
a4d6863ee5 Bug #17174 Added IPv6 (AAAA record) support to dns_check_record() also added support to dns_get_record 2002-12-08 08:14:43 +00:00
Timm Friebe
b9fa1813b2 - Fixed three memory leaks
- Fixed segfault with sybase_unbuffered_query() and unfetched resultsets
2002-12-07 19:49:31 +00:00
Frank M. Kromann
7f3783ec15 fixing code style 2002-12-07 06:05:06 +00:00
Frank M. Kromann
0d812352be Fixing a possible strcat on a NULL pointer 2002-12-06 22:52:31 +00:00
Moriyoshi Koizumi
3500c239a0 Fixed build with autoconf-2.54 2002-12-06 18:25:39 +00:00
Ilia Alshanetsky
3bc8512cf0 Added test case for bug #20865. 2002-12-06 17:46:26 +00:00
Ilia Alshanetsky
ed7c3bfe0e Fixed bug #20865, array_key_exists() could not locate NULL keys. 2002-12-06 17:35:52 +00:00
Marcus Boerger
e0a972c061 cpdf + bundled gd
#maybe someone finds a better solution (perhaps in config) and comitts it
2002-12-06 16:33:57 +00:00
Abdul-Kareem Abo-Namous
646c4747b4 added support for multiple character sets.
OCILogon now has a forth optional parameter, which is the character set requested by the string (i.e. we8iso8859p1). when left blank, NLS_LANG or default is used.

config.m4 was changed to identify Oracle 9+ which is needed for this feature. all other oracle versions (lesser) fall back to the old behaviour.
2002-12-06 13:44:35 +00:00
Ilia Alshanetsky
33de9befa1 Fixed bug #20812, ftp_get returned NULL on success instead of TRUE. 2002-12-06 06:07:40 +00:00
Pierre Joye
dda7acaad5 Add imageistruecolor 2002-12-06 02:16:06 +00:00
Ilia Alshanetsky
d6c29c781e Fixed a memory leak inside heb_number_to_chars(). 2002-12-05 22:46:54 +00:00
Ilia Alshanetsky
c668055159 Remove pointless checks for array_init() return values. 2002-12-05 22:28:02 +00:00
Marcus Boerger
4ce4a1c32c php_error -> php_error_docref 2002-12-05 21:53:25 +00:00
Sara Golemon
ad65d01cbe Bug #20746. Renamed aggregation_info() to aggregate_info() per naming conventions and created alias for BC. 2002-12-05 21:20:47 +00:00
Marcus Boerger
49a99a98f4 -php_error -> php_error_docref
-removed some cases where emalloc result was tested
2002-12-05 20:59:49 +00:00
Marcus Boerger
3cf581b1b3 correct code that is guarded by "#if 0" 2002-12-05 20:41:55 +00:00
Marcus Boerger
9a04528061 fix ZTS build 2002-12-05 20:39:43 +00:00
Marcus Boerger
dcfe988820 php_error -> php_error_docref 2002-12-05 20:13:35 +00:00
Marcus Boerger
47b0e79b1a -fix a warning that was an error
-php_error -> php_error_docref
2002-12-05 20:01:31 +00:00
Ilia Alshanetsky
7364e3b771 Fixed bug #12556, updated the test for this bug. 2002-12-05 20:01:19 +00:00
Marcus Boerger
cf5d2e79b9 fix debug only 2002-12-05 19:49:12 +00:00
Derick Rethans
83741be445 - Renamed snmpv3_* to snmp3_*
- Conversion to php_error_docref
- Whitespace fixes
2002-12-05 19:33:03 +00:00
Melvyn Sopacua
bd06d48e56 Test data 2002-12-05 19:30:28 +00:00
Melvyn Sopacua
76436b8820 Add a testcase for this bug 2002-12-05 19:29:45 +00:00
Marcus Boerger
19d5e535c0 Remove unnecessary code here 2002-12-05 15:52:20 +00:00
foobar
f8c050395c ws fix (bug: #20808) 2002-12-05 15:44:27 +00:00
Marcus Boerger
373361d9c4 Return FALSE on error as mentioned by John Coggeshall.
See Bug #20822
2002-12-05 12:39:00 +00:00
Rasmus Lerdorf
4c749f08c0 Fix build 2002-12-04 23:21:30 +00:00
Ilia Alshanetsky
8d4b717518 Added GD image conversion tests. 2002-12-04 21:04:07 +00:00
Ilia Alshanetsky
5779f9bb0f Made imagecreatefromxpm() work once again. 2002-12-04 20:58:04 +00:00
Ilia Alshanetsky
1e8ec47a99 Fixed a memory leak inside gdImageTrueColorToPalette(). 2002-12-04 17:16:19 +00:00
Moriyoshi Koizumi
cf0a0f0967 Added a test for bug #12776 2002-12-04 17:01:07 +00:00
Moriyoshi Koizumi
7bf4090efb Fixed segfaults of array_walk() when keys are passed to cb by reference.
Fixed bug #12776.
2002-12-04 16:41:28 +00:00
Ilia Alshanetsky
143e46ae28 WS fixes. 2002-12-04 16:29:48 +00:00
Sebastian Bergmann
49f05c470a Fix bugs #20270, #15702, #18600. Patch by Tony J. White <tjw@tjw.org>. 2002-12-04 08:18:02 +00:00
Pierre Joye
00881ea504 Fix imagegd stdoutput
Typo 256 colors
2002-12-04 02:48:23 +00:00
Pierre Joye
e8e2420042 Fix imagegd crashes when used with truecolor image (from jpeg,png, or imagecreatetruecolor)
may we add parameters to imagegd to let user specify the palette size and dither (set to 256 and true) ?
2002-12-04 02:37:21 +00:00
Frank M. Kromann
956d63899c Changed php_error() to php_error_docref() 2002-12-03 19:39:25 +00:00
Ilia Alshanetsky
e1b9a77725 Fixed a bug that caused a crash in pdf_open_memory_image(), when a truecolor
image was loaded, it now checks if the image is truecolor and performs the
appropriate calculations (fixed bug #20785).
Changed E_WARNING back to E_ERROR.
2002-12-03 19:25:17 +00:00
Frank M. Kromann
686010e050 Changed php_error() to php_error_docref() 2002-12-03 19:19:15 +00:00
Frank M. Kromann
13b6390df7 Bug #19370
Allow stored procedures to return multiple results.
2002-12-03 18:57:04 +00:00
Frank M. Kromann
5eaf2d10e7 Bug #17593
Make sure any pending data is released from the server when freeing the result
2002-12-03 18:04:35 +00:00
Ilia Alshanetsky
b08f247f32 Fixed a crash that occurs during the last step of png/jpeg -> gd2 -> png/jpeg
conversion. The same crash still occures with png/jpeg -> gd -> png/jpeg, because
apparently gd format cannot handle truecolor images.
Turned off debug messages inside gd_gd2.c.
2002-12-03 15:43:17 +00:00
Moriyoshi Koizumi
242ddba326 Fixed leaks in array_walk() 2002-12-03 15:02:06 +00:00
foobar
7d744c54b4 - Need these libraries for static build 2002-12-03 11:34:12 +00:00
foobar
68eaf6391a - Fixed the build with iPlanet LDAP SDK 5.x 2002-12-03 09:35:42 +00:00
Frank M. Kromann
679d645738 Allocating enough memory to hold values.
Fix crash when certan stored procedures was called. This caused the free_result function to free memory not yet allocated.
2002-12-03 05:56:39 +00:00
Moriyoshi Koizumi
e7f1bbf0f2 Iconv extension is no longer experimental 2002-12-02 21:29:06 +00:00
Moriyoshi Koizumi
de79a4e9d8 Reverted the changes because the problem was elsewhere. 2002-12-02 21:10:37 +00:00
Frank M. Kromann
b2a648f5b5 Fixing the Win32 compilation of mbstring with mbregex enabled. 2002-12-02 19:18:23 +00:00
Frank M. Kromann
a7f3ad42a4 Fixing build on WIn32
MBREGEX is disabled for now. 5 mbre_* functions are undefined on WIn32
2002-12-02 18:19:17 +00:00
Ilia Alshanetsky
057e87e6e5 Repositioned CoInitialize and CoUninitialize that apparetly makes it more
correct according to MS docs. Patch (+5) by Michael Sisolak
<msisolak@yahoo.com>.
2002-12-02 06:43:54 +00:00
Ilia Alshanetsky
a6e02dc45d Fixed a crash bug that can occur due to PDF_delete() being called more then
once and E_ERROR occurring during the shutdown sequence.
2002-12-02 06:35:29 +00:00
Jason Greene
5e1741fd48 Revert patch that should have been reverted a long time ago.
There was a memory leak in the error handling system on win32, that this patch
circumvented (by preventing the errors (EAGAIN mesages) from being generated).
# I must have forgotten to remove this when I fixed the leak
2002-12-02 05:45:13 +00:00
Sterling Hughes
065104b8fe TODO: Cleanup elements that have happened, or most likely won't happen. There
is probably more that should be gone, but its still a move in the right
direction.

Other stuff is ws/formatting changes
2002-12-01 22:15:39 +00:00
Stefan Roehrich
e50dc16b21 Comment about maximal length now matches code. 2002-12-01 18:48:51 +00:00
foobar
cef45338c9 fix build.. 2002-12-01 17:24:00 +00:00
Derick Rethans
7fbcf76973 -fix typo 2002-12-01 13:43:17 +00:00
Marcus Boerger
fa38a6af6f No more (f)printf for errors and warnings instead use php_error_docref. 2002-12-01 11:43:54 +00:00
Moriyoshi Koizumi
aeb6a6c458 Fixed possible buffer overflow in php_base64_decode();
# This bug doesn't appear to be harmful for now,
# so I won't merge it into branches...
2002-12-01 02:44:50 +00:00
Marcus Boerger
38f5812191 Skip overload for ZE2
Bug #20156
2002-12-01 00:38:30 +00:00
Frank M. Kromann
7afd92792b Fix the use of "personal" information in To and Cc headers 2002-11-30 21:49:20 +00:00
Ilia Alshanetsky
cc13af6a07 Fixed bug #20716. 2002-11-30 19:12:48 +00:00
Marcus Boerger
0d7957bc15 Bug #20433 2002-11-30 18:36:17 +00:00
Christian Stocker
3429e3313b fixed big bad memory leak in xpath objects. 2002-11-30 10:38:17 +00:00
Jason Greene
5d554c20d2 Sockets is no longer experimental 2002-11-29 23:44:06 +00:00
Moriyoshi Koizumi
b9687bea65 Prevented the result from being affected by function overloading 2002-11-29 18:32:50 +00:00
Sander Roobol
348b429b5b Remove all traces of _bc_Free_list - it's not used anymore 2002-11-29 17:59:30 +00:00
Yasuo Ohgaki
e4be6b3ac2 Fixed problem with PostgreSQL 7.3 2002-11-29 17:18:01 +00:00
Christian Stocker
71235e4140 removed unused variable 2002-11-29 16:31:41 +00:00
Christian Stocker
55ee8af808 fix for bug #20389 (no trailing slash in configure option) 2002-11-29 13:30:29 +00:00
Christian Stocker
a2ccb29a97 @- Added xpath_register_ns_auto([contextnode]) for automatically registering
@  namespace definitions (chregu)

changed my mind. Automatic namesapce registration is not done within
xpath_eval() anymore, but in a seperate function.
2002-11-29 11:22:06 +00:00
Christian Stocker
eed5b11b5f do some kind of automatic namespace registration in xpath_eval(). This
works only for namespaces defined in the context node (eg docroot if
no second argument is given. If one wants to use namespaces defined
elsewhere or with different prefixes, you still have to use
xpath_ns_register()
2002-11-29 10:24:44 +00:00
Christian Stocker
b1dab29214 relative xpath queries are already possible
(use $ctx->xpath_eval($xpath,$contextnode) )
2002-11-29 08:28:53 +00:00
Christian Stocker
cac5d670b3 get_element_by_id does not need LIBXML_XPATH support 2002-11-29 07:50:37 +00:00
Marcus Boerger
65eb0d8125 Conversion fixes 2002-11-29 01:44:19 +00:00
Marcus Boerger
0a7487e32d Conversion fixes 2002-11-28 22:48:20 +00:00
Ilia Alshanetsky
398ff4fe82 Fixed mhash tests, apparently the TIGER algorithm was updated (fixed?) in
later mhash releases and consequently returns a different hash. I've updated
the hash to the one generated by latter releases.
Removed useless \r from ext/mhash/tests/003.phpt.
2002-11-28 14:13:44 +00:00
Martin Kraemer
966f75d4fb Portability: avoid <malloc.h> warnings on FreeBSD 2002-11-28 09:19:16 +00:00
Martin Kraemer
f3845c3ae0 Portability: The header contains the declaration; while the source ext/bcmath/libbcmath/src/init.c has the definition
(otherwise some compilers complain about 'duplicate symbols')
2002-11-28 08:26:14 +00:00
Martin Kraemer
c5a7a522a1 Portability: Use 0 if the platform does not define EX_OK 2002-11-28 08:23:36 +00:00
Sterling Hughes
52a451ccd2 no more need for this either 2002-11-27 20:06:01 +00:00
Sterling Hughes
5c96f91123 don't use stupid constants, be smart, just read the line 2002-11-27 20:05:20 +00:00
Frank M. Kromann
7abdf90a0e free alocated mem.
minor changes in the layout
2002-11-27 18:52:31 +00:00
Tal Peer
1d768548cd jdtojewish() test 2002-11-27 15:54:32 +00:00
Tal Peer
8aac1ce2ee Added an additional (optional) argument to jdtojewish() to keep BC
with 4.3 (and let users getdates in Hebrew without further formatting)
2002-11-27 15:52:25 +00:00
Ilia Alshanetsky
e195b10ede Fixed bug #20664. 2002-11-27 06:20:19 +00:00
Marcus Boerger
28c10e29d0 -Code completley rewritten 2002-11-27 02:42:41 +00:00
Marcus Boerger
569c69ba36 -Add test for exif_read_data and magic_quotes_runtime 2002-11-27 02:31:26 +00:00
Marcus Boerger
57f41b1a90 -Forgot to correct length 2002-11-27 02:28:29 +00:00
Marcus Boerger
3ff08b91a6 -Add magic_quotes_runtime support
-Fix Canon Markernote
2002-11-27 01:46:36 +00:00
Frank M. Kromann
9f927c1a2e time is a function. Use the name of the variable 'timestamp' 2002-11-26 23:03:07 +00:00
Frank M. Kromann
863962d5cf Adding missing header file on Win32 2002-11-26 23:02:09 +00:00
Frank M. Kromann
0cddc5b4eb removing unused variables 2002-11-26 23:01:17 +00:00
Frank M. Kromann
2ac7c4f2de Adding missing ; 2002-11-26 22:44:16 +00:00
Moriyoshi Koizumi
98dace883e Improved the error reporting portion of array_walk() as suggested by Markus 2002-11-26 22:12:40 +00:00
Moriyoshi Koizumi
3fd513f32a Prevent too many error reports from being displayed 2002-11-26 21:51:37 +00:00
Moriyoshi Koizumi
61b3d5ccb5 Fixed incorrect error messages of array_walk() in case the callback is
specified in an array form
2002-11-26 21:21:32 +00:00
Christian Stocker
20688a30ab Fix for Bug #20639 DomElement->get_elements_by_tagname() doesn't work 2002-11-26 15:37:54 +00:00
Wez Furlong
b1a5434537 Update to use new parameter parsing API.
Updates to Jewish/Hebrew calendar code.
Patch from Moshe Doron, amended by Tal Peer,
reviewed by me.
# Maybe Tal and/or Moshe could comment on whether this should
# also be commited to the 4_3 branch (it completes some earlier work
# started prior to the branch).
2002-11-26 14:52:00 +00:00
Marcus Boerger
579e3ca96b Add Berkeley db4 support 2002-11-26 12:05:59 +00:00
Marcus Boerger
197fd585bd -Disallow combining db2 with db3 which are conflicting.
-Stop searching for headers and libraries when found.
-Check version for Berkeley DB library headers.
2002-11-26 12:00:25 +00:00
Frank M. Kromann
a2bf03ccea Avoid , at the end of each string (to, cc and bcc) 2002-11-26 07:04:31 +00:00
Yasuo Ohgaki
f0b6f5450c Remove a warning 2002-11-26 02:13:35 +00:00
Ilia Alshanetsky
9497ba9d49 MFH (test failure if session.serialize_handler is not set to php). 2002-11-25 23:20:05 +00:00
Stefan Esser
ababfedb66 tmp_line was possible uninitialised, resulting in crap error messages. 2002-11-25 22:53:57 +00:00
Ilia Alshanetsky
693fd4a36b Added a check to determine if the file can be retrieved or sent.
This check also prevents incorrect error reporting in the event the retrieval
or the sending of the file cannot be accomplished.
2002-11-25 22:00:52 +00:00
Maxim Maletsky
d9cf3c2a0e Bug# 16798. Tests appreciated by someone with Oracle 8.0 2002-11-25 18:14:45 +00:00
Moriyoshi Koizumi
53fba5f8a6 @- Enabled mbregex by default when mbstring is also enabled (Moriyoshi) 2002-11-25 17:44:14 +00:00
Moriyoshi Koizumi
12d4a19fce Forgot to adjust this one 2002-11-25 17:21:50 +00:00
Moriyoshi Koizumi
76b218cb6e Renamed several internal functions for consistency 2002-11-25 17:20:20 +00:00
Rui Hirokawa
b3cfda6389 simplified korean encoding conversion table. 2002-11-25 15:21:04 +00:00
Ilia Alshanetsky
c330fdc1a1 Removed un-needed zlib check. 2002-11-25 14:25:52 +00:00
Hartmut Holzgraefe
8bd550825f email address change 2002-11-25 12:30:28 +00:00
Ilia Alshanetsky
9251486567 Synchronized bundled gd library with the latest stable GD, 2.0.6
Fixed a configuration problem with xpm.
Fixed 2 possible memory leaks in fontFetch().
2002-11-25 01:51:53 +00:00
Yasuo Ohgaki
5c851cba19 Cleanup state=4 and avoid using sscanf() 2002-11-25 01:38:29 +00:00
Moriyoshi Koizumi
436bc265e6 MFB 2002-11-24 19:48:58 +00:00
Sergey Kartashoff
dab1bb005a - Header file update for new mnogosearch functions 2002-11-24 19:39:47 +00:00
Sergey Kartashoff
319f286562 @- A new functions have been added: udm_set_agent_param_ex and
udm_get_res_field_ex
- A new functions have been added: udm_set_agent_param_ex and
  udm_get_res_field_ex
2002-11-24 19:36:46 +00:00
Sascha Schumann
3f6b470770 Use proper form of NUL
Drop superfluous checks for NULL results
2002-11-24 16:23:37 +00:00
Sterling Hughes
490903da5a null after the erealloc() 2002-11-24 15:11:43 +00:00
Yasuo Ohgaki
5c2fda30b2 Added missing '\0' 2002-11-24 07:45:26 +00:00
Moriyoshi Koizumi
c7c7132a66 Renamed the file because this is actually a test for gdImageStringFt(). 2002-11-24 01:32:15 +00:00
Ilia Alshanetsky
ef1d4e1dcf Fix compile warning, MIN/MAX macros may already be defined by param.h 2002-11-24 01:30:51 +00:00
Ilia Alshanetsky
67e25fcbd8 Added gdPEstrdup macro. 2002-11-24 01:20:13 +00:00
Ilia Alshanetsky
ef26e2d1f8 Fixed 3 memory leaks.
Formatted the code to meet PHP's coding standards, which makes it MUCH easier
to understand.
2002-11-24 01:15:34 +00:00
Moriyoshi Koizumi
9db2512418 Fixed the macro so this can be compiled with ft1 2002-11-24 00:59:41 +00:00
Moriyoshi Koizumi
fe23fcab12 Sorry, wrong commit. 2002-11-23 23:35:57 +00:00
Moriyoshi Koizumi
0f8916e37c Dismissed the second part of the test 2002-11-23 23:34:38 +00:00
Frank M. Kromann
ecd975550b Adding mb_gpc files to project 2002-11-23 22:59:24 +00:00
Moriyoshi Koizumi
4124672edf Fixed leaks. Other leaks are originated in libgd. 2002-11-23 22:11:59 +00:00
Moriyoshi Koizumi
57e4b81d13 Fixed segfaults 2002-11-23 21:33:31 +00:00
Marcus Boerger
1827a58de0 Allow db4.0 & db4.1 here. Patch by Ralf Engelschall (rse@engelschall.com) 2002-11-23 21:11:12 +00:00
Moriyoshi Koizumi
f920e5d068 Forgot this one. Updated license information 2002-11-23 20:17:46 +00:00
Moriyoshi Koizumi
7f1f056f16 Updated license information headers 2002-11-23 20:14:33 +00:00
Moriyoshi Koizumi
22a9d7ad25 Separated GPC related part from mbstring.c 2002-11-23 20:08:44 +00:00
foobar
5e429447b1 ws fix 2002-11-23 19:20:44 +00:00
Derick Rethans
36e82c84ae - Make it compile on IRIX again
#- Tested with Linux/FreeBSD and IRIX
2002-11-23 19:03:21 +00:00
Moriyoshi Koizumi
44c98c7e3f Fixed some odd behaviours of range() 2002-11-23 11:27:56 +00:00
Moriyoshi Koizumi
715ad2730c Fixed tab positions. 2002-11-23 11:20:51 +00:00
Moriyoshi Koizumi
40d605a385 Test for mb_send_mail() under language=Korean 2002-11-23 05:26:18 +00:00
Sara Golemon
e9047df607 New function dns_get_record(): close resolver socket after use.
fix to internal func php_parserr(): correct bug in return state.
2002-11-23 01:09:07 +00:00
Marcus Boerger
318e561905 Testing default behaviour 2002-11-23 00:54:04 +00:00
Rui Hirokawa
c38db57f3c fixed some bugs in korean encoding conversion. 2002-11-22 23:34:55 +00:00
Rasmus Lerdorf
761bcbd751 Applied imagedeallocate() fix 2002-11-22 23:25:14 +00:00
Ilia Alshanetsky
962e4864a1 Fixed bug #20560. 2002-11-22 21:51:38 +00:00
Marcus Boerger
e7d20a0422 Make magic_quotes_runtime work bidirectional for dba 2002-11-22 15:47:48 +00:00
Marcus Boerger
d33ff48608 Show which algorythm fails and do not fail when we have new algos.
#for me TIGER fails anybody else?
2002-11-22 14:07:29 +00:00
Jan Kneschke
b4ced28d7c - protect the function against a non-xml document
- initializing variables reduces the number of seg-faults
2002-11-22 13:41:51 +00:00
Jan Kneschke
3598fbcef9 - fixed a buffer under run
- initializing variables is a good thing
  - in case of a invalid response we don't seg-fault here anymore
2002-11-22 13:39:06 +00:00
Sander Roobol
f200f739d8 Made bcmath extension thread safe.
@Made bcmath extension thread safe. (Sander)
2002-11-22 09:25:29 +00:00
Ilia Alshanetsky
489b0f2115 Added missing header (fixed bug #20555). 2002-11-22 02:38:03 +00:00
Ilia Alshanetsky
2ca45412ed Added a test case for bug #20528. 2002-11-22 00:08:57 +00:00
Ilia Alshanetsky
c7dd366c1a Fixed bug #20528. 2002-11-21 23:51:52 +00:00
Melvyn Sopacua
7732ce7fe3 Fix bug #20518 2002-11-21 23:28:26 +00:00
Melvyn Sopacua
8d42dd7a8b test for bug #20518 2002-11-21 23:27:38 +00:00
Maxim Maletsky
e20121e6c7 Added E_WARNING to OCIPasswordChage() when Safe Mode is in effect 2002-11-21 21:26:18 +00:00
Maxim Maletsky
b5ae4adde1 @- Added OCIPasswordChange() which allows the password of an Oracle account to be changed. (Maxim) 2002-11-21 20:49:33 +00:00
Maxim Maletsky
1f73196bf9 comment typo 2002-11-21 20:32:56 +00:00
Maxim Maletsky
8338d8bfce Disabled OCIPasswordChange() in safe mode. Possible security risks. 2002-11-21 20:28:11 +00:00
Moriyoshi Koizumi
1748935997 Added missing mb_internal_encoding() 2002-11-21 18:12:53 +00:00
Moriyoshi Koizumi
adfcb09190 Removed unnecessary "\n" 2002-11-21 17:36:16 +00:00
Moriyoshi Koizumi
9762403c26 Added a test case for imagettftext() 2002-11-21 17:26:18 +00:00
Sander Roobol
b8cf1a369f Hardcode the bcmath.scale ini-entry 2002-11-21 16:16:38 +00:00
Rui Hirokawa
13a51b8f20 mbstring is supporting CJK + some other encodings. 2002-11-21 16:12:49 +00:00
Rui Hirokawa
8a2b5991d6 fixed incorrect encoding conversion in korean. 2002-11-21 16:05:38 +00:00
Sander Roobol
f4ffead6fa Adding tests for the bcmath extension 2002-11-21 15:24:45 +00:00
Hartmut Holzgraefe
fb5ac5d286 the apache 1.x sapi read_posts tests for SG(read_post_bytes) being
counted up, so lets make it happy although this value is not really
needed in these cases ...
2002-11-21 10:29:11 +00:00
Andi Gutmans
32fcc74395 - CVS nuked number.* so we'll nuke it from the build:) 2002-11-20 21:16:39 +00:00
Andi Gutmans
b0528dbe5e - Revert previous patch 2002-11-20 20:03:01 +00:00
Andi Gutmans
e6b7ab9db8 - Intermediate commit which works on making bcmath thread-safe. 2002-11-20 19:48:12 +00:00
Frank M. Kromann
c77d276997 Adding path to resolv.lib 2002-11-20 18:53:14 +00:00
Sascha Schumann
a257d758a5 Add an error message to the ini handlers 2002-11-20 17:15:00 +00:00
Sascha Schumann
e9ed065afc add protective checks to ini updates
Noticed by: Derick Rethans <d.rethans@jdimedia.nl>
PR: #20284
2002-11-20 16:06:29 +00:00
Ilia Alshanetsky
7908cffab4 Switched to a new parameter parsing API, which simplifies the code.
Made error reporting use php_error_docref().
Fixed a memory leak in shmop_open() when an invalid flag is specified.
Added tests for shmop() extension.
2002-11-20 15:56:56 +00:00
Sander Roobol
e532b24d82 One Apache 1.3 line is enough 2002-11-20 12:53:40 +00:00
Ilia Alshanetsky
d7d2b6ef50 Switched to a new parameter parsing API, which simplifies the code a great deal.
Made error reporting use php_error_docref()
Fixed a bug in mhash_keygen_s2k() that caused non \0 terminated data to be returned.
Added tests of all mhash functions.
2002-11-20 06:48:39 +00:00
Stefan Esser
63a50e500d Adding SHA1 tests. 2002-11-19 23:25:57 +00:00
Ilia Alshanetsky
7751c4f549 Do not register IMAGETYPE_SWC if zlib, which is needed for parsing of swc
files is not available.
2002-11-19 21:24:47 +00:00
Ilia Alshanetsky
11e7f6278d Addressed the issue of persistant allocation.
Fixed bug #20470.
Fixed a memory leak in gdttf.c that would happen when an error during
processing occures.
2002-11-19 19:55:54 +00:00
Moriyoshi Koizumi
72f0be09c0 Function renamings: s/php_mbstr_/php_mb/.
# all of which are static so I don't see any problem for now.
2002-11-19 17:23:41 +00:00
Moriyoshi Koizumi
41ef851eb5 Unified the duplicated portions.
# No need to merge this patch to the branch
2002-11-19 17:02:06 +00:00
Moriyoshi Koizumi
65677445b4 Added a test to check whether mb_parse_str() works properly 2002-11-19 16:56:43 +00:00
Moriyoshi Koizumi
18089ce360 Modified the test so it wouldn't be affected by ini settings. 2002-11-19 16:55:34 +00:00
Edin Kadribasic
543c383302 Update Credits 2002-11-19 15:11:27 +00:00
Derick Rethans
0b2d775d3d - Already moved to PECL, but forgot to remove it from php4 2002-11-19 09:51:50 +00:00
Marcus Boerger
3ca6344e57 -rename checkdnsrr to dns_check_record, keep old name as alias
-rename getmxrr to dns_get_mx, keep old name as alias
-added dns_get_record
@Added dns_get_record() which allows to retrieve DNS information about
@a host. (Marcus, Pollita)
2002-11-19 02:34:13 +00:00
Edin Kadribasic
ff55850562 No need to declare functions used internally by DBA as PHPAPI. This
fixes windows build.
2002-11-19 01:06:42 +00:00
Moriyoshi Koizumi
b75f2df3d4 We have to use binary mode here. 2002-11-18 21:20:45 +00:00
Moriyoshi Koizumi
a9d7509036 Fixed possible leaks 2002-11-18 21:15:41 +00:00
Thies C. Arntzen
6aaa7bc345 use FREE_ZVAL when freeing zvals 2002-11-18 17:34:55 +00:00
Sascha Schumann
58b26398de Add FAM support for LGPLed libfam.
FAM, the File Alteration Monitor, provides an API that applications can use to
be notified when specific files or directories are changed.

FAM is being used in Enlightenment, GNOME/Nautilus, and KDE.

# Yes, this will be moved to PECL once that is fully usable. Emails about
# this issue will likely be redirected to /dev/null. :-)
2002-11-18 17:06:05 +00:00
Marcus Boerger
301330ff88 -Added colordepth for png
-Added tests for width/heidth for unsigned/signed problems
2002-11-18 16:51:02 +00:00
Marcus Boerger
a3d821c695 Added colordepth for png 2002-11-18 16:50:10 +00:00
Sascha Schumann
52f1135c8f add missing backslash 2002-11-18 15:55:07 +00:00
Edin Kadribasic
b8d3c75a6c Nuke one more win32 linking warning. 2002-11-18 15:53:00 +00:00
Marcus Boerger
25456939b3 Fixing unsigned/signed problems (and i thought about it before...) 2002-11-18 15:49:06 +00:00
Derick Rethans
e93f1c00c6 - Remove outdated GPL clause; the file was totally rewritten 2002-11-18 15:45:27 +00:00
Edin Kadribasic
d40c5e2624 Really nuke win32 linking warnings. 2002-11-18 14:33:34 +00:00
Ilia Alshanetsky
6e99ecdb01 Hopefully fix win32 linker warnings. 2002-11-18 13:17:14 +00:00
Ilia Alshanetsky
d9ecd30cc4 Changed memory allocation wrappers to macros, so that it is possible to see
where the memory leak is happening.
2002-11-18 12:31:39 +00:00
Wez Furlong
bceb56b2ba Re-enable the curlwrappers configure option.
I still don't recommend it's use unless you are hacking both curl and PHP
to make it work.
2002-11-18 12:00:21 +00:00
Wez Furlong
ca58966a0d Merge streams changes from branch. 2002-11-18 11:39:42 +00:00
foobar
6987855e95 Fixed bug: #20458 (--with-qtdom=shared broken) 2002-11-18 05:06:02 +00:00
foobar
43584058e9 Added error message if browscap location is not set in php.ini 2002-11-18 03:23:51 +00:00
Ilia Alshanetsky
c7fa1fa99f Fixed bug #20462. 2002-11-18 03:16:13 +00:00
Ilia Alshanetsky
c5107b8989 Removed duplicate php_compat.h include. 2002-11-18 02:30:27 +00:00
foobar
a3e9ae20d9 Fix the test. (and indented it for easier bug spotting :) 2002-11-18 00:41:27 +00:00
Ilia Alshanetsky
8d00d54f2f Fixed gd 2.0.4 check 2002-11-17 21:57:43 +00:00
Sebastian Bergmann
9229918fd7 Fix warning. HAVE_MEMMOVE is already defined in config.w32.h. 2002-11-17 21:50:00 +00:00
Sebastian Bergmann
b4e42dd43f Fix Win32 build. (Lots of linkage warnings remain!) 2002-11-17 21:29:16 +00:00
Ilia Alshanetsky
a10e0b6d8e A better gd >=2.0.4 version check for non-bundled gd library. 2002-11-17 20:18:44 +00:00
Derick Rethans
8c86784cae - MFB 2002-11-17 19:45:10 +00:00
Ilia Alshanetsky
cea2419529 Upgraded the bundled expat library to 1.95.5 (latest stable, atm).
Fixed bug #20442.
2002-11-17 18:37:48 +00:00
Derick Rethans
1a5037de1a - Fix compile problems for mips pro 2002-11-17 14:25:50 +00:00
Derick Rethans
c3fe54dfab - MFB: Fix memory allocation problem in bundled GD (reported by Brian Havard) 2002-11-17 13:11:46 +00:00
Marcus Boerger
24726b0c64 Conversion fix by Michael Mauch 2002-11-17 09:27:48 +00:00
Marcus Boerger
2442adabe5 Force float for the float test 2002-11-16 23:45:58 +00:00
Marcus Boerger
4f747e80f0 Show module used in test 2002-11-16 19:43:53 +00:00
Marcus Boerger
015c117e37 -Do not rely on a side effect of 32bit platforms (patch by Michael Mauch)
-remove unused sections
2002-11-16 17:28:04 +00:00
Marcus Boerger
31e1cd13e2 removed unused sections 2002-11-16 17:26:52 +00:00
Ilia Alshanetsky
47596de32f Fixed the test so it works properly on both 32 and 64 bit platforms. 2002-11-16 17:26:26 +00:00
Marcus Boerger
a3157908a8 Make getimagesize more robust against corrupt files 2002-11-16 17:02:07 +00:00
Georg Richter
208a3a3717 forgot to decrement result_allocated :( 2002-11-16 16:07:54 +00:00
Sebastian Bergmann
47388f2121 Fix Win32 build. 2002-11-16 08:30:31 +00:00
Marcus Boerger
dbf8593b5b When --enable-dba is used then include builtin modules unless --without-xxx
is not used.
2002-11-15 21:28:42 +00:00
Ilia Alshanetsky
2306c0e9d7 Removed the md5 checks since the files may be slightly different due to
float -> int conversion inconsistencies on various architectures.
2002-11-15 18:53:07 +00:00
Maxim Maletsky
9e3788864b WS 2002-11-15 18:20:59 +00:00
Maxim Maletsky
336e559718 Tons of WS fixes all over the file 2002-11-15 17:59:19 +00:00
Ilia Alshanetsky
8193641d2d With ZTS on, we need to resolve the full paths before making symlinks.
If a chdir() call occurs before the symlink operation, the symlink is
created in the current directory rather then directory we've chdired to
because in ZTS we don't actually chdir but store the new path internally.

For an example of this problem consider the ext/standard/tests/file/001.phpt
test under ZTS.
2002-11-15 16:34:16 +00:00
Moriyoshi Koizumi
90317cbc5d Always use binary mode for magic files 2002-11-15 16:25:31 +00:00
Moriyoshi Koizumi
7222abda70 Include php_config.h for HAVE_MBSTRING 2002-11-15 16:13:36 +00:00
Marcus Boerger
93769053cc Use flatfile if available.
# This way we are using the internal library which we know about most.
2002-11-15 16:11:51 +00:00
Moriyoshi Koizumi
003be7fe32 Divided the overload test into two so as to handle the case mbregex is
not enabled
2002-11-15 15:59:07 +00:00
Marcus Boerger
7d03dc004e Show which handler was used in the test 2002-11-15 15:58:09 +00:00
Moriyoshi Koizumi
b62afe783d %s/SKIP/skip/g 2002-11-15 15:34:57 +00:00
Marcus Boerger
5841e290ac Simplify and show skip reason 2002-11-15 15:22:07 +00:00
Marcus Boerger
adffe9fba6 Show correct result 2002-11-15 15:17:39 +00:00
Moriyoshi Koizumi
3ecc71a099 Fixed segfault in case the specified magic file cannot be read. 2002-11-15 15:13:30 +00:00
Moriyoshi Koizumi
46b4abc08b Removed unnecessary ?> 2002-11-15 14:53:58 +00:00
Moriyoshi Koizumi
b23d2c8beb Fixed bogus SKIPIF conditions. 2002-11-15 14:49:57 +00:00
Marcus Boerger
8c598f8bff Only show the first results 2002-11-15 14:46:52 +00:00
Moriyoshi Koizumi
f0a7db1c7e Added some skipif conditions to handle the case mbstring is enabled but mbregex is disabled. 2002-11-15 14:26:33 +00:00
Marcus Boerger
66ec203e70 Showing memleaks for a memleak test is a good idea 2002-11-15 11:55:57 +00:00
Marcus Boerger
4ef6a3af03 db is deprecated now 2002-11-15 11:49:58 +00:00
Marcus Boerger
b030a7a140 Fix segfaults (check ext/domxml/tests/domxml002.phpt) 2002-11-15 11:06:13 +00:00
Georg Richter
d46bd1cd63 removed restore_connection_defaults for pconnects (discussed on php-dev@)
bug #19529 closed
bug #12513 reopened
2002-11-15 10:35:10 +00:00
foobar
dadfd6e94a ws fix 2002-11-15 07:21:33 +00:00
Moriyoshi Koizumi
fb20eae7fc Fixed bug #20381 2002-11-15 02:16:41 +00:00
Moriyoshi Koizumi
ac209557dd Added a test case for bug #20381 2002-11-15 02:11:23 +00:00
Maxim Maletsky
cd9b495663 I mean - todo typo :) 2002-11-15 02:06:11 +00:00
Maxim Maletsky
05f07d2eba todo typo 2002-11-15 02:05:06 +00:00
Moriyoshi Koizumi
ee37386183 Use C comments 2002-11-15 01:45:23 +00:00
Moriyoshi Koizumi
5ca953b10f Fixed a problem that ICONV_IMPL doesn't give a correct value in win32 build. 2002-11-14 23:07:53 +00:00
Stig Bakken
bdeb45b335 Added PATH_SEPARATOR constant 2002-11-14 22:50:01 +00:00
Moriyoshi Koizumi
9efefc742b Added a test for zend-multibyte extension 2002-11-14 22:38:43 +00:00
Marcus Boerger
25641a7e96 Minor test corrections 2002-11-14 21:45:01 +00:00
Marcus Boerger
37e64f38ac Test is affected by mbstring 2002-11-14 21:43:49 +00:00
Moriyoshi Koizumi
e40416ebf6 Fixed possible buffer over run in php_mb_safe_strrchr_ex() 2002-11-14 21:33:36 +00:00
Maxim Maletsky
7890b6fc87 Added function OCIPasswordChange() that allows renewal of an expired Oracle password.
# Tested, but still considered experimental...
2002-11-14 21:26:57 +00:00
Andrei Zmievski
26bd73fec6 Sort the modules for info output as well. 2002-11-14 21:15:42 +00:00
Marcus Boerger
dbb95f338e file() is affected by magic_quotes_runtime 2002-11-14 21:15:31 +00:00
Marcus Boerger
a14bc7685d Add magic_quotes_runtime support 2002-11-14 21:09:41 +00:00
Marcus Boerger
8579756c05 Test for bug #14383 2002-11-14 20:30:53 +00:00
Moriyoshi Koizumi
6841184abc Fix build 2002-11-14 19:04:29 +00:00
Moriyoshi Koizumi
dac0b6fc4f Moved some mbregex related portions from mbstring.c to php_mbregex.c
# No need to merge this change to PHP_4_3 branch
2002-11-14 18:54:42 +00:00
Moriyoshi Koizumi
db6efcf7e5 Prevent warnings under safe mode 2002-11-14 18:38:38 +00:00
Ilia Alshanetsky
4e1d684027 Fixed ZTS compile warning. 2002-11-14 16:32:30 +00:00
Ilia Alshanetsky
5f7de8bf5b Fixed bug #20423. 2002-11-14 16:20:23 +00:00
Marcus Boerger
f986cb84f3 Fix TSRM build 2002-11-14 15:09:53 +00:00
Marcus Boerger
a391c4b12b Fix warnings (Marcus & Pierre-Alain Joye) 2002-11-14 15:08:39 +00:00
Wez Furlong
f921ea9f7d Add a test case for this "bug" # 20134.
I'm not sure that this test is actually useful, so I'm not adding
it to the branch.
2002-11-14 14:56:35 +00:00
Marcus Boerger
5ec9375760 Fix locking behaviour: On some systems read during write is permitted but
most libraries are not capable of that. GDBM is system dependant so there
we only test  that we do not deadlock.
2002-11-14 14:32:39 +00:00
Wez Furlong
4e85935386 MFB 2002-11-14 14:26:15 +00:00
Ilia Alshanetsky
6b7d77a7a0 Fixed bug #20420 and added partial urls to the test of the function. 2002-11-14 13:40:14 +00:00
Wez Furlong
b01add793c Add this test to make sure that fopencookie is detected and working
correctly (or that the less efficient tmpfile casting is working).
More details in the test itself.
2002-11-14 12:20:36 +00:00
Wez Furlong
08362f90d9 Fix build for unix.
Not sure if this needs merging to the branch (haven't got that far yet today).
2002-11-14 12:06:01 +00:00
Wez Furlong
9ae3c2f7bd Commit these before Sterling renames the files again :-)
When curlstreams are enabled, registers a each supported protocol
with PHP.
"More Correctly" implement eof for curlstreams.
Still not ready for anything like primetime.
2002-11-14 11:41:24 +00:00
Derick Rethans
bab4957d1c - MFB: Fixed bug #20484 (stream_get_meta_data crashes on a normal file
stream). (Derick, Wez)
2002-11-14 10:56:35 +00:00
Jon Parise
92df58dab6 @- Added an optional "step" parameter to range(). (Jon) 2002-11-14 05:46:10 +00:00
Sterling Hughes
89ea16ffaa remove C++ comments 2002-11-14 04:07:51 +00:00
James Cox
ad9788d853 changing..
#also, i think the qa and web team needs updating -- i'd like to see web change to a more general infrastructure category... anyone care to volunteer? :)
2002-11-14 02:05:53 +00:00
foobar
8efbeb68a1 MFB: Fix for bug: #20412 2002-11-14 00:21:14 +00:00
Edin Kadribasic
1eddce79dd MFB (made mbstring compile on windows again). 2002-11-13 23:11:14 +00:00
Sterling Hughes
9d04acdaaa curl_multi_info_read is unimplemented... 2002-11-13 22:43:31 +00:00
Sterling Hughes
537284418c add multi support and reorganize things a bit... 2002-11-13 22:25:33 +00:00
Ilia Alshanetsky
4522738188 Added tests for imagefilter() function. 2002-11-13 20:03:59 +00:00