Commit Graph

12548 Commits

Author SHA1 Message Date
Georg Richter
b6bed54bbd added support for rebind 2003-07-15 10:37:19 +00:00
Georg Richter
4457876554 additional test for multi-bind 2003-07-15 10:36:18 +00:00
foobar
94a19d1bc6 Make this test work regardless of safe_mode setting (bug #24654) 2003-07-15 07:06:42 +00:00
Edin Kadribasic
fdf3019eca MFB: fix for #24249 2003-07-14 23:23:01 +00:00
Rui Hirokawa
ac91b2dbba MFH 2003-07-14 23:09:46 +00:00
Rob Richards
e4d73c22ad fix setting new encoding 2003-07-14 21:51:28 +00:00
Harrie Hazewinkel
83063e7445 Updating the SNMP credits in ext/standard/credits_ext.h 2003-07-14 18:59:18 +00:00
Harrie Hazewinkel
ecef612862 Applying the correct format of the CREDITS. 2003-07-14 18:55:35 +00:00
Harrie Hazewinkel
68a7ce29d1 Updating the CREDITS with those who are indicated as authors in the code. 2003-07-14 18:19:34 +00:00
Harrie Hazewinkel
a8d156177f Adding an SNMP GETNEXT.
This is a basic SNMP operation that retrieves the next value as the
one provided to the command.
NOTE: snmpgetnext does not follow the official naming convetions of
functions, but now it is equal to it version 1 equivalents snmpget
and snmpset.
I also would like to reserve the snmp_getnext for a function to
which a session can be given instead of the multiple values to
create the session internally. (Work in progress).
2003-07-14 18:10:22 +00:00
Harrie Hazewinkel
fa910bd2b0 (RE applying)
Cleaning up some very old definitions of version 3.3.1 until 3.5.3.
Those versions are that old that people better upgrade the SNMP libraries.
2003-07-14 17:34:56 +00:00
Harrie Hazewinkel
6dd04c368e (RE-)Applying the contributed patch of Johan Hanne to the main tree.
The patch enables control on the way the values are returned
into the PHP script, instaed of always strings. Also the
type of the value is now returned when configured to do so.
This enables better management scripts to do more automatic
processing and value calculations.
(By default the values are returned as strings, as was before)
2003-07-14 17:11:04 +00:00
foobar
e209272db1 CS & WS fixes 2003-07-14 16:23:14 +00:00
foobar
d862a8ee90 WS fix 2003-07-14 16:11:38 +00:00
Sebastian Bergmann
83bf4599b7 ZTS fix. 2003-07-14 05:52:57 +00:00
foobar
9933944e01 Added comment 2003-07-14 03:58:31 +00:00
foobar
c2b21f7098 Move the macosx fix to proper place. 2003-07-14 03:57:57 +00:00
Stefan Roehrich
750635d131 Allow setting of the serial number. 2003-07-13 09:54:42 +00:00
Wez Furlong
78e236da26 Add sqlite_has_prev, and sqlite_prev.
Patch by Jan Lehnardt <jan@php.net>
2003-07-13 09:38:33 +00:00
Stefan Roehrich
80ee75f11e Fixed certificate version (counting begins with 0, so 2 means version 3). 2003-07-13 09:38:32 +00:00
Wez Furlong
ce2a4d9121 MFB better popen fix 2003-07-13 09:20:40 +00:00
Wez Furlong
e17043c248 Fix bug #24575 (sqlite_popen did not request a new resource id when persistent
handles were re-used within a request).
2003-07-13 08:48:43 +00:00
Rui Hirokawa
0b0962eb8e added strict encoding detection mode to fix #24309 2003-07-13 08:20:01 +00:00
Moriyoshi Koizumi
d33ffb78aa Added regression test for proc_open() 2003-07-13 08:03:46 +00:00
Rob Richards
d75618e780 implement read only exceptions
implement notation nodes
changes for spec conformance
2003-07-12 17:29:20 +00:00
Rob Richards
a04b2c8724 fix loading off of interface 2003-07-12 17:23:05 +00:00
Moriyoshi Koizumi
4b07cb98b1 Fixed bug #24556 2003-07-12 09:33:31 +00:00
Moriyoshi Koizumi
4c8230696c Add folding markers 2003-07-12 07:01:30 +00:00
Moriyoshi Koizumi
77ae01ac72 Oops, this is not needed though. 2003-07-12 06:54:03 +00:00
Moriyoshi Koizumi
cd52986a5c Fixed leaks that occurs if the third parameter already contains a valid value. 2003-07-12 06:50:32 +00:00
foobar
c751ba0cc8 Remove un-used code. 2003-07-11 15:56:23 +00:00
Rob Richards
d1c41150c6 fix compile issue - TSRMLS_FETCH is only temporary until errors handled 2003-07-11 14:19:05 +00:00
Dan Kalowsky
a1d8121bda Fix for bug #22897 2003-07-11 13:13:32 +00:00
Dan Kalowsky
bc2086b11e Patch for bug #24183 2003-07-11 13:08:45 +00:00
foobar
2deb3c224d - CS/WS fixes
- Updated CREDITS
- Added some kind of version check for ming..
- Fixed some possible BC issues.
2003-07-11 07:48:13 +00:00
foobar
5afd8cbf07 update credits. 2003-07-11 07:44:56 +00:00
Frank M. Kromann
5baaa6aee1 Allow the use of both ming 0.2a and 0.3a (API\s changed) 2003-07-11 05:55:13 +00:00
foobar
5aeedb4c88 Fixed bug #17291 (mssql_query does not update get_last_message) (patch by: mgruetzner at rw3 dot com) 2003-07-11 02:08:14 +00:00
Rob Richards
16fb3e91c0 remove global error handling - use of libxml globals is a bad thing
add domDocument properties for parsing options:
validateOnParse, resolveExternals, preserveWhiteSpace, substituteEntities
implement custom parsing to avoid use of globals
implement local errors while parsing
errors displayed until error objects implemented
2003-07-10 11:17:25 +00:00
Marc Boeren
98b74781a5 WS 2003-07-10 08:34:03 +00:00
Marc Boeren
76aba9b755 Add -2003 to copyright line (Marc). 2003-07-10 08:25:58 +00:00
Frank M. Kromann
4b70683464 Adding missing compression paramters to output functions 2003-07-10 05:07:07 +00:00
foobar
676d4fca3c Revert bad fix. 2003-07-10 01:40:01 +00:00
foobar
3396cb340a Fix crashes in certain situations (whenever there is an error, basically..) 2003-07-10 01:17:34 +00:00
foobar
b645c60bd5 - Fixed bug #11924 (ibase_query() and ibase_execute() mangled passed
parameter variables)
2003-07-10 00:17:09 +00:00
Pierre Joye
bf7f45601d - wrong patch applied for #23792, fixed 2003-07-10 00:09:23 +00:00
Marcus Boerger
959f7784e0 Don't use class_implements() for the moment 2003-07-09 17:05:09 +00:00
Marcus Boerger
bd752698cf Use --EXPECTF-- for errors 2003-07-09 17:02:42 +00:00
Marcus Boerger
ae19eb5334 Add oo version of test 2003-07-09 16:55:07 +00:00
Marc Boeren
60d1776b31 Add SQLite support to DBX (Marc).
@Add SQLite support to DBX (Marc).
2003-07-09 16:31:40 +00:00
Brad House
6995520e20 fix typecasting errors, especially for new constants. Don't assume long and int are the same size, as on 64bit architectures, they are normally not 2003-07-09 13:45:21 +00:00
Pierre Joye
6da86c7e93 - Fix a possible crash when invalid color index are given as background
in imagerotate, only when palette based image is used as src
2003-07-09 10:36:07 +00:00
Pierre Joye
e1f163b053 - "Fix" #23792, imagerotate returns always truecolor images now
(the destination image is a truecolor, no more limited palette problems)
- Clean the cast in gdImageCopyMerge
2003-07-09 10:15:13 +00:00
Sterling Hughes
8fcd71dccf boom bam bing 2003-07-09 03:14:41 +00:00
Jason Greene
ae3101c5f1 Convert C++ comments to C (violates C99, and breaks several compilers) 2003-07-09 02:48:25 +00:00
Marcus Boerger
f31df5693e Currently we're presented all properties with foreach() 2003-07-08 23:25:18 +00:00
Marcus Boerger
79ac007d20 Fix configure options 2003-07-08 23:11:36 +00:00
Marcus Boerger
d9de39ec16 Add some comments 2003-07-08 23:11:14 +00:00
Marcus Boerger
af3be899e6 fix this stupid error 2003-07-08 23:10:01 +00:00
Marcus Boerger
139852d3ff Fix bug #24540 2003-07-08 18:57:28 +00:00
Marcus Boerger
2ef1935c83 Add test for sqlite_seek() 2003-07-08 18:56:14 +00:00
Rob Richards
7de2784bd3 fix getElementsByTagName 2003-07-08 17:00:49 +00:00
foobar
a952a4383a fix typo (most likely fixes #24533 too) 2003-07-08 14:46:32 +00:00
Sergey Kartashoff
502d59ea01 - Output of UDM_PARAM_WORDINFO_ALL was fixed 2003-07-08 14:00:20 +00:00
Sergey Kartashoff
79d1a39b48 - Udm_Find function is fixed to be compatible with mnogosearch-3.2.13 2003-07-08 13:28:17 +00:00
Sara Golemon
6cb8ce2880 gethostbyname2() not thread safe. Use getaddrinfo() or nothing at all. 2003-07-08 05:00:13 +00:00
Sara Golemon
010f5a12c7 Make php_set_inet6_addr happy with any environment. Use getaddrinfo() if available, gethostbyname2() if not, and simply fail if neither is present. 2003-07-08 03:38:00 +00:00
Brad House
61b47cdaf0 sync functionality with libmcve 3.2 2003-07-08 02:59:51 +00:00
Sara Golemon
acc587fdfa Fix non-GNU build. Use getaddrinfo() rather than gethostbyname2() 2003-07-07 22:27:32 +00:00
Rob Richards
3b2507b910 changed to studlyCaps naming convention 2003-07-07 19:45:24 +00:00
Rob Richards
4cd06845f9 implement node proxies: next phase of interop 2003-07-07 19:37:32 +00:00
Derick Rethans
6d563b3bdc - Commiting conversion to zend_parse_parameters (leftovers from debugging). 2003-07-07 13:21:10 +00:00
Zeev Suraski
d6320007e0 Add missing elements 2003-07-07 12:07:02 +00:00
foobar
f55b83cb18 ws + missing fold tag 2003-07-07 11:43:34 +00:00
Moriyoshi Koizumi
e661d9e22a Updated test so it won't fail if the extension has been built with libiconv. 2003-07-06 21:44:44 +00:00
Moriyoshi Koizumi
80a8ff3a43 Fixed segfault due to reference to the already free'd block :) 2003-07-06 21:30:23 +00:00
Moriyoshi Koizumi
9fbd2f44ec Modified the test so it reflects the change to iconv_mime_decode() 2003-07-06 21:19:38 +00:00
Moriyoshi Koizumi
8d850b4c3a Improved iconv_mime_encode() interface 2003-07-06 21:19:08 +00:00
Moriyoshi Koizumi
c5e123f584 oops 2003-07-06 21:10:02 +00:00
Moriyoshi Koizumi
716a34a4d0 Avoid miscellaneous conflicts between glibc's iconv and libiconv. 2003-07-06 21:08:50 +00:00
Sebastian Bergmann
81543d043e COMPILE_DL_MYSQL_MYSQL -> COMPILE_DL_MYSQL 2003-07-06 20:38:56 +00:00
Moriyoshi Koizumi
f4b24b82f2 Added missing includes 2003-07-06 17:52:42 +00:00
Moriyoshi Koizumi
6b4a5bfd8c Simplified config scripts 2003-07-06 17:51:46 +00:00
Rob Richards
1688895f6b use common doc with ref counting rather than copy 2003-07-05 23:43:10 +00:00
Marcus Boerger
f145b163a8 - In function sqlite_field_name the index parameter is not optional.
- Fix all the protos.
2003-07-05 20:02:40 +00:00
Derick Rethans
a952e28c73 - Fixed bug #24504: T_INTERFACE and T_IMPLEMENTS not defined in tokenizer
extension
2003-07-05 06:49:57 +00:00
Sterling Hughes
73d98824d7 not a temp var unless its a singular var 2003-07-05 00:33:13 +00:00
Sterling Hughes
e0347ab2c4 "real" fix 2003-07-04 22:21:23 +00:00
Sterling Hughes
2935efb446 fix memory cverrun when accessing an empty xml element.
guess how many lines it took me to write a basic WSDL parser + API?  20 using
curl + simplexml
2003-07-04 21:58:09 +00:00
Adam Dickmeiss
a0c7a95ba1 On Windows, handle YAZ versions that don't export yaz_version. 2003-07-04 19:17:09 +00:00
Hartmut Holzgraefe
de6a6ed6d7 skip test if glob() is not available at all 2003-07-04 15:07:11 +00:00
Hartmut Holzgraefe
3c34e4edaf regression test for #24482 GLOB_ONLYDIR is not working (on BSD) 2003-07-04 14:38:07 +00:00
Hartmut Holzgraefe
f49b1d2da0 make sure operator precedence is not playing tricks on us
(it worked before on gcc3.2/Linux and with VC++ 6, but not
 with gcc3.1/MacOSX)
2003-07-04 13:24:47 +00:00
Sebastian Bergmann
c86b4d13e6 2 * TSRMLS_FETCH() -> 1 * TSRMLS_DC 2003-07-04 10:31:41 +00:00
George Schlossnagle
96b71d7f87 ws fix 2003-07-04 03:26:37 +00:00
Frank M. Kromann
d77e8393cd Change fetch functions and protos so they make more sense.
fetch_row or fetch_assoc should  not take the optional parameter
2003-07-03 16:53:04 +00:00
Moriyoshi Koizumi
dd710f4dc0 Added missing protos 2003-07-03 15:30:14 +00:00
Hartmut Holzgraefe
00fbf2af67 VCWD awareness and (hopefully) windows compile fix 2003-07-03 14:54:03 +00:00
Hartmut Holzgraefe
a7edbe04ad PHP glob() will now emulate GLOB_ONLYDIR on non-GNU systems 2003-07-03 14:34:02 +00:00
George Schlossnagle
edf78b2141 win build fixes (Rob Richards) 2003-07-03 14:11:31 +00:00
George Schlossnagle
6a4c48be6f can't forget Andrei 2003-07-03 14:00:17 +00:00
Marcus Boerger
bc16d962a6 Fix open mode (noticed by FutureQuest, Inc.) 2003-07-03 11:17:34 +00:00
George Schlossnagle
3d7283b94f more of Timm's patches, and mod authors line to give credit where credit is due. 2003-07-03 05:33:23 +00:00
Marcus Boerger
a5588b4c7a funny fixes 2003-07-02 21:40:54 +00:00
Marcus Boerger
019d70e67a ZTS fix 2003-07-02 21:37:46 +00:00
Sterling Hughes
e158cd285e Not really the best way to solve this. But it doesn't give a segfault on
self-referential structures, which is always a bonus
2003-07-02 20:05:13 +00:00
Moriyoshi Koizumi
181508a837 s/cvs/csv/ 2003-07-02 17:07:56 +00:00
Moriyoshi Koizumi
1379c46d9e Fixed a leak that occurs with "R" reference variable specifier. 2003-07-02 16:19:57 +00:00
Moriyoshi Koizumi
ed033faaec s/cvs/csv/ :) 2003-07-02 15:43:44 +00:00
Pierre Joye
119175c943 - tabs 2003-07-02 11:36:17 +00:00
Pierre Joye
19f3c5b5fa - Fix #23808 2003-07-02 11:23:56 +00:00
Sterling Hughes
7da8fbd7ef fix this test when using a save_handler other than files... 2003-07-02 04:34:18 +00:00
Sterling Hughes
e724e4cbdb further improve the performance and clean up 2003-07-02 03:12:06 +00:00
Ilia Alshanetsky
46d834aad2 Fixed a crash when text is added before a font is specified. 2003-07-02 02:04:00 +00:00
Sterling Hughes
6084487822 not necessary, already assumed binary safe (it has to be under the current
session architecture), and anything else is fair play
2003-07-02 00:56:32 +00:00
Sterling Hughes
960ab9bd8d ws fix 2003-07-02 00:45:15 +00:00
Sterling Hughes
6129ddce1e set synching to off
cleanup some silly code
2003-07-02 00:43:00 +00:00
Sterling Hughes
8a77e2b3db no c++ style comments 2003-07-02 00:04:58 +00:00
Sterling Hughes
bd4601ea28 make this actually work. 2003-07-02 00:03:41 +00:00
Rob Richards
ee9ca6ee9d fix load() and loadxml() when used with uninstantiated object 2003-07-01 19:28:30 +00:00
George Schlossnagle
c36a59cfd9 Timm Friebe's patches for code celanup and additional functions. 2003-07-01 18:41:42 +00:00
Marcus Boerger
d531dee390 Fix warnings and allow builds without ext/session 2003-07-01 17:55:32 +00:00
foobar
1829d7468e ws fix 2003-07-01 13:31:14 +00:00
Corne' Cornelius
294cabb35f - MFB: 1.69.2.18 2003-07-01 13:27:04 +00:00
Wez Furlong
090328fd32 silence warning under win32
(maybe!)
2003-07-01 13:26:49 +00:00
Wez Furlong
a8f74b14f1 WS 2003-07-01 13:09:57 +00:00
Wez Furlong
607b6501ed Add sqlite session handler.
Modified (quite a bit!) patch from John Coggeshall.
It compiles, but it otherwise untested.
session.save_path == path to actual database file for the session.

eg: session.save_path=/tmp/mysite-session.db
2003-07-01 13:07:37 +00:00
Corne' Cornelius
8cbc0eae75 - MFB: 1.69.2.17 2003-07-01 11:09:11 +00:00
Edin Kadribasic
dda902d56d Fix shared win32 build 2003-07-01 09:44:14 +00:00
Sebastian Bergmann
fff7ef2f6c ZTS fixes. 2003-07-01 04:25:29 +00:00
George Schlossnagle
4edd9505fe more incremental changes. add anything that needs a class factory. 2003-07-01 04:10:57 +00:00
Ilia Alshanetsky
4634554976 Fix up test 2003-07-01 03:11:09 +00:00
George Schlossnagle
9c26571b37 all the easy parts of Reflection_Class 2003-07-01 02:31:21 +00:00
Marcus Boerger
a6d0972c05 Fix warnings 2003-07-01 00:49:25 +00:00
foobar
b9fcb34625 Fixed bug #24025 (Can not build with shared ldap support) 2003-07-01 00:02:13 +00:00
Marcus Boerger
e4f67f3545 Make --disable-spl work 2003-06-30 23:24:12 +00:00
Shane Caraveo
d6ee8bab7f fix a crash I run into on occasion 2003-06-30 20:31:57 +00:00
Andi Gutmans
288dacca0c - ZE coding style requires if ( instead of if( 2003-06-30 20:22:35 +00:00
Sebastian Bergmann
5ee72bb478 ZTS fixes. Remove unused local variables. 2003-06-30 20:17:01 +00:00
George Schlossnagle
aa96d17022 added support for Reflection_Function, the first part of
the reflection api
2003-06-30 20:03:56 +00:00
Sterling Hughes
f6d84a10ea set precision properly.. test passes here 2003-06-30 20:03:17 +00:00
Sterling Hughes
223584a138 this is the correct result 2003-06-30 19:50:18 +00:00
Derick Rethans
7a4ed00603 - Rename test and update title 2003-06-30 19:16:41 +00:00
Rasmus Lerdorf
832ffd1970 Fix 3 tests that didn't adequately specify the .ini settings they rely on 2003-06-30 18:22:53 +00:00
Sterling Hughes
00c83984a3 add a test for shane's bug #24392 2003-06-30 18:09:11 +00:00
Marcus Boerger
f970724d79 Do not test postgres settings 2003-06-30 18:00:30 +00:00
foobar
f3ac60d4a4 - Cleanup, simplifying, etc. 2003-06-30 17:23:52 +00:00
Sergey Kartashoff
e5e58c80ef - Memory leaks in UdmCatPath and UdmCatList functions have been fixed. 2003-06-30 17:12:18 +00:00
foobar
8dca948cf9 - Moved the PEAR check after the extensions.
. added checks for the dependancies PEAR has.
- Moved PHP_REGEX checks to ext/standard/config.m4

# If someone knows the reason for PHP_REGEX macro being where it was,
# please tell..
2003-06-30 16:33:50 +00:00
Zeev Suraski
b31570f03e Remove Release_TSinline (it's not necessary)
Add Release_TSDbg
Change directories to be consistent with our other modules...
2003-06-30 11:41:25 +00:00
Sterling Hughes
0422e0d475 fix by Elfyn, use = not == 2003-06-30 05:01:18 +00:00
Sterling Hughes
57e1c829aa and my first user doesn't even like goto's. sniffle 2003-06-30 03:11:03 +00:00
Sterling Hughes
2505cf7c2c satisfy my very first user :) 2003-06-30 03:08:48 +00:00
Ilia Alshanetsky
8cb5c9c6ba Fixed bug #24063 (*printf() did not handle scientific notation correctly) 2003-06-30 01:03:21 +00:00
Sterling Hughes
681d6bfaeb fix libxml2 when dealing with character data 2003-06-29 18:26:23 +00:00
Hartmut Holzgraefe
f355c4c5bb ok, re-adding this mostly un-maintained awk/sed/sh nightmare for now ... 2003-06-29 16:07:18 +00:00
Hartmut Holzgraefe
7218a70ff6 ext_skel is no more, and ext_skel_ng is moving to PEAR::PECL_Gen 2003-06-29 12:21:58 +00:00
Sebastian Bergmann
b851992902 Add zlib directory. 2003-06-29 06:15:06 +00:00
Andrei Zmievski
505fd434ac MFB 2003-06-29 00:09:41 +00:00
Rui Hirokawa
2b44c63d50 Fixed corruption of multibyte character including 0x5c as second
byte in multipart/form-data.
2003-06-28 23:37:18 +00:00
Shane Caraveo
082a1489d2 fix building mysql as a loadable extension 2003-06-28 22:28:44 +00:00
Rob Richards
a225934450 fix mem leak in sxe_property_read
fix compiler warning
2003-06-28 21:38:44 +00:00
Georg Richter
192fb9095e changed tests (ysqli_bind_param and mysql_bind_result changes) 2003-06-28 21:30:58 +00:00
Georg Richter
f38bd95002 added BYREF_FORCE for bind parameters in msqli_bind_param and mysqli_bind_result
changed function parameters in mysqli_bind_param
  from (object statement, mixed var1, long type1, ...)
  to   (object statement, array tyoes, mixed var1, mixed var2, ...)
2003-06-28 21:27:08 +00:00
Ilia Alshanetsky
a6fd611c5e Added array handling to file_put_contents()
More verbose error reporting mechanism.
Test case for file_put_contents().
2003-06-28 20:06:13 +00:00
Ilia Alshanetsky
9e53c34ad3 Fixed test failure on systems with short_tags (<?) off. 2003-06-28 17:36:46 +00:00
Wez Furlong
5ecc91c27d Merge selectable descriptor casting from PHP_4_3 branch. 2003-06-28 11:24:47 +00:00
Derick Rethans
12cf3ec385 - Removed duplicate constants 2003-06-28 09:55:12 +00:00
Derick Rethans
f2acb42223 - Return number of bytes written instead of just TRUE. (Path by Paul Hudson,
hudzilla@php.net)
2003-06-28 08:21:02 +00:00
Sterling Hughes
3e67c2a63a for now we let xml support build with versions older than 2.5.7, as we want
users to actually test this...
2003-06-28 07:46:03 +00:00
Ilia Alshanetsky
58c25fb24a Added missing handling of dateTime
Fixed compiler warning involving streams
Added a test case for wddx_deserialize()
2003-06-28 06:55:47 +00:00
Sebastian Bergmann
67400949f2 Remove aggregation tests as well. 2003-06-28 05:51:37 +00:00
Sebastian Bergmann
10ec176f69 Buckle your seatbelt, Dorothy, 'cause Aggregation is going bye-bye. 2003-06-28 05:38:52 +00:00
Sterling Hughes
0ec0a3097c define this here too 2003-06-28 04:30:51 +00:00
foobar
3a7ca909be - HAVE_OPENSSL_EXT is not defined always. 2003-06-27 16:41:41 +00:00
Andrei Zmievski
357f62734a Upgrading PCRE library to version 4.3. 2003-06-27 16:31:24 +00:00
Sara Golemon
2e4ef86e10 MFB
Plug leak in context notifiers, implement notifier->dtor
2003-06-27 16:23:58 +00:00
Edin Kadribasic
7730c1d994 Fix windows build 2003-06-27 14:30:26 +00:00
Edin Kadribasic
19a6d56e51 Prepare for enabling by default on Windows. 2003-06-27 14:14:08 +00:00
Sascha Schumann
7c5afebdb8 Don't add -L/usr/lib 2003-06-27 00:37:21 +00:00
Marcus Boerger
4608ddb5d8 MFB: Function was renamed (don't test an alias) 2003-06-26 21:37:54 +00:00
Marcus Boerger
a0ecfc9c31 errmsg must be ref 2003-06-26 21:07:07 +00:00
Marcus Boerger
add3674b20 Rename sqlite_fetch_string() to sqlite_fetch_single() + alias 2003-06-26 19:26:26 +00:00
Marcus Boerger
bbfa7cae25 Fix memleak 2003-06-26 19:07:17 +00:00
Marcus Boerger
8e0516c990 ext/xsl requires ext/dom 2003-06-26 18:51:52 +00:00
foobar
71278c2969 MFB 2003-06-26 18:15:56 +00:00
Rob Richards
6d8dc4b936 fix linking as dom symbols are now built in 2003-06-26 10:51:37 +00:00
Rob Richards
85488c4a0d fix import/export for win32 when enabled by default 2003-06-26 10:40:26 +00:00
Sterling Hughes
a8eba3cc80 some friendly names... 2003-06-26 04:08:54 +00:00
Sterling Hughes
747937d1f7 touch the file 2003-06-26 03:53:17 +00:00
Sterling Hughes
a0ae63670a fix by ilia to fix crashes in the session extension when /tmp/sess_* files
previously existed.  make test now passes fully with the session extension.
2003-06-26 03:24:11 +00:00
Sterling Hughes
1ed8e46273 according to the notes in the bugs database, this is the correct result.
this result is also the same one given in 4.3.2 and 5.0
2003-06-26 03:21:45 +00:00
Marcus Boerger
30b4f8f494 Fix a warning 2003-06-25 23:21:10 +00:00
Edin Kadribasic
b950e4ee04 Make sqlite good ext/ citizen.
# Hope this CVS mess goes away real soon now!
2003-06-25 23:20:30 +00:00
Ilia Alshanetsky
0dc20e8bea ZTS typo 2003-06-25 23:14:19 +00:00
Sterling Hughes
936c9d5736 re-enable dom by default 2003-06-25 22:42:54 +00:00
foobar
0a6f6bab52 This should not be enabled by default, ext/xml is.. 2003-06-25 22:40:05 +00:00
Sterling Hughes
cf3bd3e9fc fine 2003-06-25 21:54:01 +00:00
foobar
9bee0725d2 Experimental extensions are never enabled by default.. 2003-06-25 21:46:31 +00:00
Sterling Hughes
75abafdfc3 these should be enabled by default. At least this much was agreed upon when
the decision to debundle libxml2 was made.
2003-06-25 20:53:52 +00:00
Sterling Hughes
edd1db3f0f autodetect zlib if dom is enabled 2003-06-25 18:06:06 +00:00
Sterling Hughes
12b06799ae Don't pass resource as an argument when its not being parsed. 2003-06-25 17:22:31 +00:00
Ilia Alshanetsky
94b90d0c0a Added sqlite_single_query() and it's OO equivalent single_query(). 2003-06-25 16:59:24 +00:00
Sterling Hughes
a4f41fbb26 allow the root element to be accessed as a text node 2003-06-25 16:26:32 +00:00
Sterling Hughes
1aa6e3fee3 dom5 = dom 2003-06-25 15:31:59 +00:00
Hartmut Holzgraefe
0072188eeb some awk installations need this escpaed ... BUG #24314 fixed 2003-06-25 11:05:48 +00:00
foobar
a6a321c1ac clean up a bit. 2003-06-25 03:53:17 +00:00
Sterling Hughes
09927a7ba2 moved to pecl by sascha. remove them from head.
discussed with harald, will remain in pecl till he has some more time to
work on it.
2003-06-25 00:28:10 +00:00
Sterling Hughes
211ca9d9e5 enable sqlite by default 2003-06-25 00:18:01 +00:00
Sterling Hughes
fa36b5bfa4 can now be --with-dom, as the old domxml is now in pecl 2003-06-25 00:17:41 +00:00
Ilia Alshanetsky
c8ecf7ec3e Fixed bug #24312 (base64_decode() does not skip 0xF0-0xFF characters)
Patch by: gereon.steffens[at]onvista.de
2003-06-24 15:23:17 +00:00
foobar
e3cd8fac9b - Unified PHP_SETUP_OPENSSL with other PHP_SETUP_* macros. 2003-06-24 14:05:26 +00:00
Sascha Schumann
e1a9dd289a Empty HEAD of domxml, hyperwave, xslt 2003-06-24 13:56:57 +00:00
Ilia Alshanetsky
6b5b6079da Fix for bug #24313 (port from dead PHP_5 branch) 2003-06-24 13:56:25 +00:00
Wez Furlong
eea0ffc0d1 1.1, not 2.0... 2003-06-24 11:30:59 +00:00
Wez Furlong
a27b34a20b update package.xml for 5.0 2003-06-24 11:23:31 +00:00
Marcus Boerger
20b8a7dfe4 Put some brief technically description here 2003-06-23 22:37:12 +00:00
Marcus Boerger
f2bce37d04 Add profiling results 2003-06-23 21:59:55 +00:00
Ilia Alshanetsky
28347d74bb port sqlite_array_query() fix from PHP_4_3 2003-06-23 19:37:48 +00:00
Stanislav Malyshev
02bebe8186 add test for #24281 2003-06-23 14:18:33 +00:00
Stanislav Malyshev
baa3892fe1 Fix #24281 - str_replace not updating the count if value is
not initialized
2003-06-23 14:09:14 +00:00
Sterling Hughes
d4cd1ef084 remove the bundled libmysql, and update the config.m4 file as necessary.
this works locally, but everyone, *please* test
2003-06-23 01:10:58 +00:00
Marcus Boerger
a594c7b714 Fix test shutdown 2003-06-22 19:03:24 +00:00
Marcus Boerger
9d6f63ef71 Remove sqlite::close() 2003-06-22 19:00:44 +00:00
Marcus Boerger
f2d26fc85d Add oo API 2003-06-22 17:19:46 +00:00
Ilia Alshanetsky
77f11b9f45 Fixed bug #24284 (Fixed memory leak inside pg_ping()) 2003-06-22 16:46:24 +00:00
Marcus Boerger
1cdc2d48b6 Fix possible SEGV 2003-06-22 15:53:50 +00:00
Marcus Boerger
51dbd3b39e Adding an array example 2003-06-22 15:48:44 +00:00
Marcus Boerger
f9477577a4 Fix array writing 2003-06-22 14:55:44 +00:00
Andrey Hristov
f89e7e3fb9 proto fixes. 2003-06-22 14:33:09 +00:00
Marcus Boerger
f4d3111e8a Fix example 2003-06-22 12:57:53 +00:00
Marcus Boerger
b5434aac36 Fix module pointer name to enable building again 2003-06-22 12:50:28 +00:00
Georg Richter
5655ebe6f2 added new function mysqli_stmt_num_rows 2003-06-22 08:46:39 +00:00
Georg Richter
bb37c9c335 fixed prototypes 2003-06-22 06:16:47 +00:00
Marcus Boerger
a332df50fb Don't copy the filename when it is not needed 2003-06-21 18:43:25 +00:00
Marcus Boerger
7eb9fc251a Store the absolute path of the database file and use that in the external library 2003-06-21 18:17:20 +00:00
Marcus Boerger
814c0be675 When persistent then we may use threads 2003-06-21 18:16:38 +00:00
Wez Furlong
ce62305a38 More prep for 1.0 release. 2003-06-21 13:50:43 +00:00
Georg Richter
4554dc4a37 new functions (4.1.1): mysql_sqlstate, mysql_stmt_sqlstate 2003-06-21 13:35:26 +00:00
Wez Furlong
3a550b3c8c Prepare for 1.0 release 2003-06-21 13:29:26 +00:00
Wez Furlong
9e858102a8 Add a pair of functions to handle the binary coding used by PHP from within
UDF callbacks.

Add test for binary functions.
Fix proto.
2003-06-21 12:29:32 +00:00
Marcus Boerger
c5d4b5ddcd - Errors, warnings and notices start with a capital letter.
- Show sorcode info when debugging exif.
2003-06-20 18:24:38 +00:00
Sara Golemon
4c52cf5f90 When skipping blank searchvals we should advance the corresponding replace hash as well 2003-06-20 15:41:43 +00:00
Rob Richards
c69d395931 cleanup common code 2003-06-20 14:08:56 +00:00
Rob Richards
015c6bacdd fix mem leak
remove unused code
2003-06-20 14:07:51 +00:00
Edin Kadribasic
23a9f80f89 ZTS Fixes 2003-06-19 23:13:28 +00:00
Edin Kadribasic
7886bc93f6 Win32 build fixes 2003-06-19 23:07:14 +00:00
Sara Golemon
496d17b98d Quiet down decode_context_param when stream (not context) is passed.
Switch stream_socket_*() to use macro for retrieving context from zval.
2003-06-19 22:30:54 +00:00
Ilia Alshanetsky
d81f2e582c Added missing safe_mode checks.
Added support for additional libcurl options.
Set CURLOPT_NOSIGNAL by default for ZTS, for signal free operation.
2003-06-19 22:12:21 +00:00
Ilia Alshanetsky
7ef01f01b9 Reverting previous patch (not necessary, thanks Pollita ;) ) 2003-06-19 21:04:43 +00:00
Wez Furlong
425882ef70 Some tweaks ready for the upcoming 1.0 release. 2003-06-19 20:57:11 +00:00
Marcus Boerger
76b3007386 More name fixes (more thanks to george) 2003-06-19 18:22:17 +00:00
Marcus Boerger
69b7bb275a Forget to remove these namespace crap (thanks to george to remind me) 2003-06-19 17:38:53 +00:00
Ilia Alshanetsky
a370ceb742 Fixed memory leak, when invalid context is specified. 2003-06-19 16:35:17 +00:00
Ilia Alshanetsky
cbfb63c1c4 Fixed possible crashes in streams code 2003-06-19 16:10:54 +00:00
Marcus Boerger
ba3e315b65 Allow the extension to reside elsewhere 2003-06-19 15:48:06 +00:00
Ilia Alshanetsky
aeadf9bd4a Fixed a crash inside php_imagettftext_common(); 2003-06-19 15:47:46 +00:00
Rob Richards
e52b96a296 add xsl_xsltprocessor_transform_to_uri functionality
fix a few unhandled error conditions
fix compiler warnings
2003-06-19 15:00:28 +00:00
Marcus Boerger
44401fa0e7 to be precise 2003-06-19 11:10:14 +00:00
Derick Rethans
05db82333d - Correct stray commit 2003-06-19 08:41:51 +00:00
Sterling Hughes
651854a6dd enable sockets by default. 2003-06-19 04:39:42 +00:00
Sterling Hughes
8eef152174 recognize CURLOPT_PORT 2003-06-18 21:02:02 +00:00
Wez Furlong
20ee07ef92 Should build with PHP5 now... 2003-06-18 19:48:02 +00:00
foobar
71dedd2dd4 Fixed bug #24231: ext/sybase_ct could not be build as shared 2003-06-18 18:28:47 +00:00
Rob Richards
e4c67c0035 Fix for bug #24219 segfault during resource destruction
Used bug fix to optimize free_doc routine
2003-06-18 17:42:39 +00:00
Sascha Schumann
be4947b0e6 Use a smaller default size to accomodate the engine
Submitted by: Stanislav Malyshev, with some massaging by me
2003-06-18 16:15:47 +00:00
Ilia Alshanetsky
d860759db9 Make the default mysql connection timeout 60 seconds rather then unlimited. 2003-06-18 15:19:16 +00:00
Sara Golemon
66881b5f2c Fix compiler warnings 2003-06-18 03:26:29 +00:00
Marcus Boerger
5b3fd9bf2f - Remove namespace leftovers
- Convert some static inline functions to macros
- Faster was of function call parameter stack building
2003-06-17 20:18:10 +00:00
Sara Golemon
897e6a4069 No need to allocate a hashtable when return_value is just going to be overwriten 2003-06-17 18:38:56 +00:00
Ilia Alshanetsky
4151fd0453 One more typo ;) 2003-06-17 14:13:17 +00:00
Ilia Alshanetsky
4426338bf6 Fixed a typo in the check 2003-06-17 13:59:44 +00:00
Ilia Alshanetsky
cadc8a15f9 Fixed bug #24223 (missing variable initialization in bundled gd) 2003-06-17 13:37:43 +00:00
Ilia Alshanetsky
abe8647eb4 Added a test case for bug #24220 2003-06-17 13:19:20 +00:00
Sterling Hughes
3de4afa454 rename SOCKET to PHP_SOCKET to avoid conflicts with Mono 2003-06-17 04:44:30 +00:00
Sterling Hughes
821b0fa134 remove the wierdness that prevented the compileness 2003-06-17 00:49:24 +00:00
Sara Golemon
abd52d4efc Bug #24210 : assume misspelled (and thereby not found during configure) 2003-06-16 20:16:06 +00:00
foobar
9aa14246d9 Fixed the expected result 2003-06-16 19:59:27 +00:00
Moriyoshi Koizumi
a3873c986b Added test case for bug #24208 2003-06-16 19:10:12 +00:00
Sara Golemon
2f4e91bf8a optionvalue is being copied via zval_copy_ctor, there's no need to addref the original 2003-06-16 18:19:14 +00:00
Derick Rethans
cd5fd7eed7 - Added test for bug #24142 2003-06-16 17:50:07 +00:00
Ilia Alshanetsky
df32619d63 Fixed bug #24150 (crash in imap_fetch_overview() &
imap_rfc822_write_address())
2003-06-16 17:41:52 +00:00
Ilia Alshanetsky
6057160dbf Fixed bug #24198 (Invalid recursion detection in array_merge_recurcive()) 2003-06-16 17:35:16 +00:00
Andrey Hristov
8934146246 proto fixes
#my head hurts now. no more fixes today ;)
2003-06-16 16:36:51 +00:00
Andrey Hristov
466ef9fd91 1. proto fixes.
2, comments on possible leak : buffer calloc()-ed but not free()-d on error (author will be contacted)
2003-06-16 15:40:37 +00:00
Andrey Hristov
e1b285dc93 updating license to 3.0 2003-06-16 15:25:00 +00:00
Andrey Hristov
e050348b67 $Id tag added 2003-06-16 15:13:32 +00:00
Andrey Hristov
e064275b03 load of proto fixes 2003-06-16 15:12:56 +00:00
Andrey Hristov
23e7163a2d $Id tag added. License added tp php_mhash.h 2003-06-16 14:27:59 +00:00
Andrey Hristov
69154f527e added $Id tag 2003-06-16 14:20:07 +00:00
Andrey Hristov
1e42a25ca1 proto fixes 2003-06-16 14:03:35 +00:00
Andrey Hristov
9e9bd915aa proto fix 2003-06-16 13:39:56 +00:00
Andrey Hristov
3e95de04a9 proto fix 2003-06-16 13:32:00 +00:00
Daniela Mariaschi
e537337398 proto fixes ibase_rollback and ibase_commit 2003-06-16 10:41:42 +00:00
Edin Kadribasic
5a3c09c440 Fixed win32 build 2003-06-16 09:11:31 +00:00
Ilia Alshanetsky
b25c652f95 Fixed a few remaining compiler warnings. 2003-06-16 03:05:25 +00:00
Marcus Boerger
46b4ab47be Fit the error handler into the naming scheme and get rid of trailing new lines 2003-06-16 00:18:28 +00:00
Edin Kadribasic
711cf23894 Fixed win32 build (link to external expat). 2003-06-15 23:58:33 +00:00
Marcus Boerger
e208b0e77e Add an error handler (thx to timm for the idea) 2003-06-15 23:57:48 +00:00
Edin Kadribasic
6e2743023b Win32 build fixes for openssl 2003-06-15 23:34:46 +00:00
Edin Kadribasic
6bcf810687 This needs to be exported for dynamic extensions 2003-06-15 23:27:05 +00:00
Edin Kadribasic
e92e7d47c5 Fixed win32 build 2003-06-15 22:58:04 +00:00
Rob Richards
19a9489cb6 remove leftover parser->mem_hdlrs - compiles now 2003-06-15 20:56:48 +00:00
Moriyoshi Koizumi
f9b194f609 Removed xmlMemSetup() code as it doesn't help at all. 2003-06-15 20:40:45 +00:00
Pierre Joye
445c710733 add Marcus, enough work done 2003-06-15 20:16:46 +00:00
Marcus Boerger
8fd5e11ff4 Add ImageXBM 2003-06-15 20:00:08 +00:00
Rob Richards
2a02045596 remove code no longer needed
fix format Output property
2003-06-15 19:58:42 +00:00
Marcus Boerger
4593a04e3b Better use '_' instead of '.' 2003-06-15 19:56:40 +00:00
Marcus Boerger
8913dcd267 Better configure output 2003-06-15 19:54:41 +00:00
Rob Richards
6ed47a404a should be multithreaded and correct lib naming 2003-06-15 19:54:38 +00:00
Andrey Hristov
900263aaa9 proto fixes 2003-06-15 16:25:59 +00:00
Andrey Hristov
7711dbac76 proto fixes 2003-06-15 16:04:31 +00:00
Andrey Hristov
eb33adf139 proto fixes 2003-06-15 15:29:46 +00:00
Rob Richards
02bc7c3217 be nice if i named the dll correctly and put it somewhere 2003-06-15 14:57:06 +00:00
Rob Richards
6082168510 fix xsl release build
link libxml2 and libxslt dynamically for consistancy
2003-06-15 14:52:23 +00:00
Rob Richards
c1b5700333 link libxml2 dynamically for consistancy 2003-06-15 14:50:11 +00:00
Edin Kadribasic
68ae83f339 Fixed win32 build 2003-06-15 12:19:57 +00:00
Edin Kadribasic
244c706a0d Fixed ZTS build 2003-06-15 12:10:28 +00:00
Edin Kadribasic
99b1f4fb7b Switch to dynamic linking of php_domxml.dll due to the libxml2 dependency
already being present for the core php4ts.dll.
2003-06-15 01:31:43 +00:00
Marcus Boerger
0137868171 No more namespaces 2003-06-14 22:10:15 +00:00
Marcus Boerger
344737c24e Fix test 2003-06-14 19:42:32 +00:00
Marcus Boerger
f304458bdb Fix ZTS mode (hopefully all is working fine now again) 2003-06-14 19:30:42 +00:00
Marcus Boerger
8f2b387c61 - Update license
- Don't buffer in non buffered mode
2003-06-14 18:16:47 +00:00
Rob Richards
d1bfc58aee use xmlInitParser instead of xmlInitThreads
reentrant safe as well no need for xml_parser_inited
2003-06-14 18:15:50 +00:00
Rob Richards
c104c0d676 use xmlInitParser instead of xmlInitThreads
reentrant safe as well
2003-06-14 18:14:05 +00:00
Marcus Boerger
27a81109be Correct license again 2003-06-14 17:14:42 +00:00
Marcus Boerger
9605db43ed Fix ZTS mode 2003-06-14 17:08:49 +00:00
Marcus Boerger
3861a10c07 Update before moving to PECL 2003-06-14 16:54:18 +00:00
Daniela Mariaschi
6203058381 Added test for IBASE_REC_VERSION/IBASE_REC_NO_VERSION trans constants 2003-06-14 16:45:38 +00:00
Daniela Mariaschi
e8e4db8581 Added IBASE_REC_VERSION/IBASE_REC_NO_VERSION transaction constants
required from bugs #8797 #23887
(added IBASE_WRITE, IBASE_WAIT, IBASE_CONCURRENCY just for clarity)
2003-06-14 16:38:10 +00:00
Rob Richards
09eb38ec10 interoperability support
fix some memleak scenarios
2003-06-14 15:32:23 +00:00
Rob Richards
14fad0e5d8 interoperability support 2003-06-14 15:28:13 +00:00
Rob Richards
6414becb62 fix xml_parser_inited on win32
add common structs for better interoprability
2003-06-14 15:27:15 +00:00
Rob Richards
e6502514fb fix common libxml init and deinit routines 2003-06-14 15:08:48 +00:00
foobar
f07f3267e2 - Fixed some /usr/lib leaks into LIBS/LDFLAGS which later on made other
configure checks fail (old libs in /usr/lib, new ones in /opt/lib :)
2003-06-14 14:22:13 +00:00
Marcus Boerger
74476dc1da Improve/fix preventing both enabled 2003-06-14 13:35:09 +00:00
foobar
12804f5234 Fix compile failure. 2003-06-14 13:31:51 +00:00
foobar
d3d2b47b89 - Fixed some build problems (/usr/lib leaked in to LDFLAGS/LIBS)
- Made this extension to be possible to be build as shared.
2003-06-14 12:57:38 +00:00
Marcus Boerger
4a97e3fef6 Don't allow both and mark the old one as deprecated 2003-06-14 11:27:49 +00:00
Rob Richards
68ff4becab export xml_parser_inited under win32 2003-06-14 11:22:13 +00:00
Sterling Hughes
e4db6159f2 make alan happy 2003-06-14 04:40:58 +00:00
Sterling Hughes
34b36fd50f delete + no C++ comments 2003-06-14 04:17:59 +00:00
Sterling Hughes
ec3823a5d2 fix some more leaks 2003-06-14 04:15:57 +00:00
Sterling Hughes
cc0c4e4981 This shouldn't be refcount = 0, causes a memory overrun 2003-06-14 04:02:12 +00:00
Frank M. Kromann
60d161a382 Updating email address 2003-06-14 03:35:16 +00:00
Sara Golemon
236349f156 User Filters don't need to register a resource list for streams.
That functionality is already exported by the streams API.
2003-06-13 22:25:29 +00:00
Sara Golemon
99db19661a Plug leak (context options not freed)
Make contexts auto-registered, ensures userland contexts
and C API contexts are both dealt with on request shutdown.
Also brings contexts in keeping with streams which are already
auto-registered.
2003-06-13 21:33:59 +00:00
Rob Richards
785bc24a9b fix compile when ZTS enabled
fix bunch of memory leaks
2003-06-13 19:58:56 +00:00
Sara Golemon
82ddb23338 Loosen restrictions on method used with http_fopen_wrapper, still default to GET though. 2003-06-13 19:27:26 +00:00
Ilia Alshanetsky
d75d52a571 Busted by the CS police. 2003-06-13 15:01:18 +00:00
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