Commit Graph

12333 Commits

Author SHA1 Message Date
Ilia Alshanetsky
664268b037 Always user Zend memory allocation wrappers. 2003-12-17 16:34:10 +00:00
Dmitry Stogov
4fd476ee43 accessing singular subnode as array 2003-12-17 15:06:40 +00:00
Dmitry Stogov
1292337356 *** empty log message *** 2003-12-17 14:49:10 +00:00
Marcus Boerger
490fd0eaf2 Fix a memleak: A second call to *nix version of dlerror() frees the error
string. This behavior is also adapted to the win build so that the buffer
returned by FormatMessage(FORMAT_MESSAGE_ALLOCATE_BUFFER) can be freed too.
2003-12-17 11:20:35 +00:00
Rob Richards
094861db8c free nodes correctly to clear node proxies 2003-12-17 10:28:29 +00:00
Marcus Boerger
a841334860 Fix warning 2003-12-17 09:07:11 +00:00
Marcus Boerger
fb37c4306a Fix warnings 2003-12-17 08:50:50 +00:00
Derick Rethans
e7fd0bdf03 - Added 'c' modifier to date() which returns the date in ISO 8601 format. 2003-12-16 22:52:48 +00:00
Andrei Zmievski
9fc9e4b2cf MFB 2003-12-16 22:20:30 +00:00
Andrei Zmievski
e9fb9a7fa7 *** empty log message *** 2003-12-16 21:53:27 +00:00
Marcus Boerger
b4e4d81777 Add inifile 2003-12-16 21:50:03 +00:00
Marcus Boerger
42ad99b62f Fix winbuild 2003-12-16 21:40:19 +00:00
Marcus Boerger
9e29f2dfcf Not needed here (copy'n'paste) 2003-12-16 21:02:54 +00:00
foobar
bb8b077ce7 Fix some compile warnings (patch by Joe Orton) 2003-12-16 21:00:21 +00:00
Marcus Boerger
5b712c890c Add a test to check split text content collecting 2003-12-16 20:50:20 +00:00
Marcus Boerger
a08a37dda3 Better comment 2003-12-16 20:40:24 +00:00
foobar
f0c110d4bf nuke unused code 2003-12-16 20:39:40 +00:00
Marcus Boerger
1f60a44563 Add myself 2003-12-16 20:36:46 +00:00
Marcus Boerger
4dd4bcdbb5 Add error handling for element/attribute creation/changing 2003-12-16 20:34:19 +00:00
Marcus Boerger
7ef8b1226e Add test for string conversion capabilities when used with echo/print. 2003-12-16 19:49:33 +00:00
Sara Golemon
d516184885 Fail loudly, silence bogus bugs. 2003-12-16 19:41:26 +00:00
Ilia Alshanetsky
45cd627569 ZTS fix. 2003-12-16 17:23:15 +00:00
Ilia Alshanetsky
bf36e351ba Removed duplicate php_libxml_(init|shutdown) they are already done by
ext/libxml.
2003-12-16 17:14:06 +00:00
Antony Dovgal
c002553d7c fix bug #26133 (thanks to Harald)
rename constant and add library check to config.m4
add info lines to see if Collection & Temp Lob support enabled or not
add OCI_THREADED to use thread safe OCI mode with ZTS (should fix bug #26558)
2003-12-16 15:58:10 +00:00
Antony Dovgal
c0e519e6ea fix warning, concerned to second _oci_close_server() call 2003-12-16 15:48:20 +00:00
Dmitry Stogov
fca9c0c669 Incorrect test file was fixed. (Use pattern insted of absolute filename) 2003-12-16 11:19:20 +00:00
Harald Radi
e0a0e9d831 fix non-zts build errors 2003-12-16 11:15:55 +00:00
Dmitry Stogov
c0fbcc0bf7 Improper test file was fixed. 2003-12-16 10:41:40 +00:00
Harald Radi
85b4b63a47 @- fixed #20006, #22674 and #24531 (harald)
@- added ZTS connection pooling support to the oci extension
@  connections will now be pooled per process and not
@  per thread anymore. the number of persistent and active
@  connections is now also shown in the phpinfo() output (harald)
2003-12-16 10:29:11 +00:00
Harald Radi
b2f953768c add myself 2003-12-16 10:28:00 +00:00
Harald Radi
39e8a904e9 fix include path 2003-12-16 10:27:48 +00:00
Georg Richter
317e4b0d90 added properties
- insert_id
	- server_status
fixed bug in mysqli_execute (report func)
2003-12-16 08:18:31 +00:00
Sebastian Bergmann
aaeb8f4394 Fix ZTS build. 2003-12-16 06:29:01 +00:00
Ilia Alshanetsky
82ec523a75 Fixed Bug #26625 (pg_convert sets NULL incorrectly for character data
types).
2003-12-16 01:00:34 +00:00
Marcus Boerger
4911e83bec Check validity of seeks.
WS/CS
2003-12-15 22:47:37 +00:00
Ilia Alshanetsky
b6a3f48d86 Always set panic call handler, allows us to address critical libtidy errors
from inside PHP.
When memory_limit is enabled use e* memory allocation macros to control
memory usage.
2003-12-15 21:56:55 +00:00
Ilia Alshanetsky
e440d4fbea Fixed bug #26635 (fixed look up for fonts in the current directory w/ZTS) 2003-12-15 20:34:48 +00:00
Antony Dovgal
18096396d2 add new functions:
ocitelllob(); [ OCI_Lob->tell(); ] - ftell(); analogue for Lobs
ociwritelob(); [ OCI_Lob->write(); ] - fwrite(); analogue for Lobs
ocitruncatelob(); [ OCI_Lob->truncate(); ] - ftruncate(); analogue for Lobs
ocieraselob(); [ OCI_Lob->erase(); ] - erases specified part of a Lob (for BLOBs it means zero-filling, for CLOBs - space-filling)
ociflushlob(); [ OCI_Lob->flush(); ] - flushes Lob buffer (if buffering was enabled before)
ocisetbufferinglob(); [ OCI_Lob->setBuffering(); ] - turns on/off buffering for the current Lob
ocigetbufferinglob(); [ OCI_Lob->getBuffering(); ] - gets buffering' current state
ocirewindlob(); [ OCI_Lob->rewind(); ] - rewind(); analogue for Lobs
ocireadlob(); [ OCI_Lob->read(); ] - fread(); analogue for Lobs
ocieoflob(); [ OCI_Lob->eof(); ] - feof(); analogue for Lobs
ociseeklob(); [ OCI_Lob->seek(); ] - fseek(); analogue for Lobs
ocilobgetlength(); [ OCI_Lob->getLength(); ] - filesize(); analogue for Lobs

ociappendlob(); - appends data from a Lob to another Lob
ocicopylob(); - copies data from a Lob to another Lob
ociisequallob(); - compares 2 Lobs and checks if they are equal

TODO cleanup
and other minor fixes
2003-12-15 13:53:01 +00:00
Dmitry Stogov
2d9281352b Memory corruptions were fixed in zend_str_tolower_copy() 2003-12-15 07:17:27 +00:00
Sara Golemon
e90f85e45d Scan for : in host:port pair from right instead of left.
This will allow handling of http://[fe80::1]:443/foo.html
IPv6 Numeric addressing with port number to parse correctly.
2003-12-15 06:54:31 +00:00
John Coggeshall
39e56b5ff6 Applying some minor fixes / CS changes by ilia 2003-12-15 01:43:45 +00:00
Ilia Alshanetsky
5264d34578 Update test to reflect new functionality. 2003-12-14 23:27:32 +00:00
Ilia Alshanetsky
d3639b1aa7 Fixed bug #24693 (Allow session.use_trans_sid to be enabled/disabled from
inside the script).
2003-12-14 23:24:50 +00:00
Marcus Boerger
661b203e89 Change to more complicated 'c' more 2003-12-14 22:09:28 +00:00
Marcus Boerger
43d06f50e0 - Fix Bug #26304 Unexpected data loss when opening dba file
- Correct handling for flatfile handler
2003-12-14 22:08:18 +00:00
Marcus Boerger
620bf0c37f Not needed 2003-12-14 22:07:29 +00:00
Ilia Alshanetsky
bebaa5b00f Do not mangle column names. 2003-12-14 18:45:37 +00:00
Ilia Alshanetsky
1128955aa4 Fixed compiler warnings. 2003-12-14 18:23:15 +00:00
Zeev Suraski
cb0fe5786e Cleanup 2003-12-14 12:32:35 +00:00
John Coggeshall
95cb88e5d0 Modified package.xml to reflect 2.0's beta status 2003-12-14 06:04:51 +00:00
John Coggeshall
3ab2935250 Tons of changes for Tidy 2.0 -- output buffering, multiple documents,
dual nature ($a->parse_file() and $a = tidy_parse_file()), etc.
2003-12-14 06:02:33 +00:00
Derick Rethans
112f424f70 - Fixed bug #26615 (patch by runekl at opoint dot com) 2003-12-13 18:55:53 +00:00
Georg Richter
ec5b38fae9 minor fixes for embedded 2003-12-13 16:08:13 +00:00
Hartmut Holzgraefe
47a32a57e8 test case for BC bug 26614 2003-12-13 15:42:39 +00:00
Marcus Boerger
70ca95aa0e Revert: need a PHP4.3 solution.
# This solution cannot be backported to PHP 4.3 -- damn!
2003-12-13 15:00:04 +00:00
Marcus Boerger
d1a6deb785 - Fixed bug #26304 (Unexpected data loss when opening dba file). 2003-12-13 14:50:06 +00:00
Marcus Boerger
9a98ff3ab5 Add standard file info functions to DirectoryIterator 2003-12-13 14:40:56 +00:00
Marcus Boerger
afc15ffde9 Show classname 2003-12-13 14:40:06 +00:00
Marcus Boerger
04d0d99b11 ZTS fixes 2003-12-13 13:44:56 +00:00
Georg Richter
ec7ddff5c7 removed old profiler stuff for embedded server 2003-12-13 10:15:45 +00:00
Sara Golemon
c56647833b Route mkdir()/rmdir() via wrapper ops.
Move current rmdir()/rmdir() code to plain_wrappers.c
Implement mkdir()/rmdir() in ftp:// wrapper
2003-12-13 04:07:18 +00:00
Georg Richter
bef6368dee removed profiler stuff 2003-12-13 00:46:48 +00:00
Georg Richter
8b3b1c192b removed profiler
added mysqli_report
	- better support for errors
	- support for no_index_used and bad_index_used
typos and prototype fixes
2003-12-13 00:28:21 +00:00
Sara Golemon
b1f8236b63 Route rename() via wrapper ops.
Move current rename() code to main/streams/plain_wrapper.c
Implement ftp/rename()
Implement userstreams/rename()
2003-12-12 23:06:42 +00:00
Rob Richards
6dfd1c190c use error handling from libxml ext 2003-12-12 13:54:52 +00:00
Rob Richards
4dd0dbfd79 consolidate error handling 2003-12-12 13:54:06 +00:00
Marcus Boerger
f96427a044 Actually register the class 2003-12-12 08:45:51 +00:00
Ilia Alshanetsky
f341b2f381 Fixed extra byte allocation in constant creation code. 2003-12-12 00:23:15 +00:00
Dmitry Stogov
70c9d3332a Dir seaparator "\" was removed. 2003-12-11 13:36:42 +00:00
Edin Kadribasic
c7ad4d1e4d MFB: Use standard header locations 2003-12-11 11:19:15 +00:00
Christian Stocker
87bd1f4d02 fix crashes when you call php:functionString() with a
non-string handler (by adam)
2003-12-10 22:32:36 +00:00
Ilia Alshanetsky
56f046a67a Fixed ZTS build. 2003-12-10 21:23:35 +00:00
Derick Rethans
d78e453c36 - Test before commit - test before commit 2003-12-10 21:02:33 +00:00
Ilia Alshanetsky
9165dc414e The changes() method should be that of the database object not that of
a result.
Added a test case for this bug.
2003-12-10 18:56:05 +00:00
Derick Rethans
009e8498c3 - Added support for MacRoman encoding to htmlentities(). (Marcus Bointon) 2003-12-10 18:17:23 +00:00
Moriyoshi Koizumi
c77302fd04 Eliminate compiler warnings. 2003-12-10 17:38:45 +00:00
Moriyoshi Koizumi
698ab70ae4 Remove leftover 2003-12-10 17:09:14 +00:00
foobar
6f4cc5c1c9 Fixed bug #26565 (strtotime("this month") resolving to the wrong month) 2003-12-10 14:08:06 +00:00
Marcus Boerger
47012601af Make these inline 2003-12-10 10:21:24 +00:00
Marcus Boerger
c212ddd5ec Fix a (single) leak
# -> iterators cannot keep current data as zval**, only zval * is possible.
2003-12-10 10:19:43 +00:00
Georg Richter
1be7176c7b freeing result and stmt properties in MSHUTDOWN 2003-12-10 10:06:07 +00:00
Moriyoshi Koizumi
b2cd08f33d Fix bug #26574 (basename() doesn't work properly with multibyte characters) 2003-12-10 07:15:28 +00:00
Moriyoshi Koizumi
35c3a7f525 Expose the macro globally 2003-12-10 06:08:39 +00:00
Moriyoshi Koizumi
c4c586a652 Fix typo. 2003-12-10 06:04:15 +00:00
Ilia Alshanetsky
06b528aa54 Fixed a crash in SQLite when fetching data using sqlite_fetch_object() in
a loop.
2003-12-10 01:02:20 +00:00
Wez Furlong
bfdc1fcac0 consistency with unix build.... 2003-12-10 00:47:02 +00:00
foobar
a08c1e4dce - Brought ext/bcmath to the new millennium
# consistency..
2003-12-09 23:59:33 +00:00
Rob Richards
4756b5e05f fix possible mem leak when element has children 2003-12-09 21:56:42 +00:00
Rob Richards
1f33239c91 buffer error messages until newline is hit 2003-12-09 21:55:02 +00:00
foobar
e4c1ae0e67 Fixed bug #26564 (ncurses5 has headers in PREFIX/include/ncurses) 2003-12-09 20:33:08 +00:00
Wez Furlong
a35a82ddcd allow assignment to $node->nodeValue to work for more
objects and in situations where the rvalue is not a string.
(Fixes a segfault in that case)
2003-12-09 20:19:44 +00:00
Rob Richards
49494dee00 fix issues when passing in mulitple arguments 2003-12-09 20:12:39 +00:00
foobar
f02936c683 Fix the configure output.. 2003-12-09 20:10:22 +00:00
foobar
8b73ca2c60 Removed unnecessary outputs 2003-12-09 20:04:17 +00:00
Marcus Boerger
d4a55f1ace Add missing dtor call. 2003-12-09 19:03:38 +00:00
Marcus Boerger
5b7d1623ae - Initialize for refcounting.
- Simplify.
2003-12-09 19:02:34 +00:00
foobar
6291a7f995 - Update credits. 2003-12-09 16:33:05 +00:00
foobar
63df219b31 - Update header + added missing Id tags. 2003-12-09 16:29:54 +00:00
Ilia Alshanetsky
1393ad9a35 Kill unused variables. 2003-12-09 01:54:56 +00:00
Hartmut Holzgraefe
0141080ff5 reduce/reduce conflicts resolved 2003-12-08 22:22:57 +00:00
Frank M. Kromann
34a596b051 Adding config file for win32. This allows to build with c-client 2002e 2003-12-08 22:15:20 +00:00
foobar
3c0eb788fa ws 2003-12-08 18:57:09 +00:00
Rob Richards
3084e72ef1 fix getElementsByTagname iteration 2003-12-08 17:08:10 +00:00
Rob Richards
c821c5b189 export libxml2 and iconv symbols
extensions no longer link against either of those
2003-12-08 12:56:47 +00:00
Marcus Boerger
f3a3990ca8 Implement CahingIterator and CachingRecursiveIterator as C-code.
#Script examples/directorytree.php has a few memleaks though but besides
#that all works fine.
2003-12-08 08:39:18 +00:00
Marcus Boerger
1c13018702 Use better name for the constant 2003-12-08 08:31:08 +00:00
Marcus Boerger
3aa3f744f1 Update examples to new parameter handling 2003-12-08 08:28:18 +00:00
Sergey Kartashoff
1a898490ae - A bug in Udm_Hash32 function was fixed. 2003-12-08 08:12:34 +00:00
Moriyoshi Koizumi
ed2fd39d0a Avoid using non-portable test syntax. This was causing problems on
Solaris. (Reported by Uwe Schindler. Thanks!)
2003-12-08 07:18:20 +00:00
Moriyoshi Koizumi
cbddbca787 NULL pointers can be passed to free_fcn. This is the correct behaviour. 2003-12-08 07:15:32 +00:00
Moriyoshi Koizumi
dcbc570649 Fix iconv stream filter to properly handle multibyte characters that
span at the alignment of a hunk.
2003-12-08 00:38:00 +00:00
Moriyoshi Koizumi
b6c0003ffd Fix a convert filters bug that occurs when multiple buckets are coming in. 2003-12-08 00:22:22 +00:00
Ilia Alshanetsky
669b421c11 Removed unused variable. 2003-12-07 18:39:09 +00:00
foobar
36b255fa66 ws 2003-12-07 18:19:30 +00:00
foobar
bade2e7df6 Remove unnecessary #include 2003-12-07 16:56:51 +00:00
foobar
67070c47bd The correct (tm) way. 2003-12-07 16:16:02 +00:00
Marcus Boerger
923d0bcfb4 revert here too 2003-12-07 15:59:13 +00:00
foobar
2e8b1c01fe revert, not needed 2003-12-07 15:41:50 +00:00
Marcus Boerger
b88ad57b73 Revert this part, too 2003-12-07 15:39:56 +00:00
foobar
b03cb681f6 Fix logic 2003-12-07 15:33:19 +00:00
Marcus Boerger
d57004274b Revert, not needed here 2003-12-07 15:26:09 +00:00
Marcus Boerger
1765271499 Use a single bit field for the flags here 2003-12-07 15:03:11 +00:00
Derick Rethans
71f9227cc5 - Fixed bug #26548 (Malformed HTTP dates in headers). 2003-12-07 14:29:43 +00:00
Marcus Boerger
cca2a74462 Update examples 2003-12-07 13:21:47 +00:00
Wez Furlong
a98892900b allow $node['not_yet_existing_attribute'] = $value; to work 2003-12-07 11:32:40 +00:00
Rob Richards
44f59d6d7f fix warning for shared debug
fix test bug26384 - WS issue
2003-12-07 11:11:47 +00:00
Wez Furlong
72f73b7785 tweak build so that it mirrors the source filesystem layout under the build dir. This allows GD extension to build. 2003-12-07 02:58:56 +00:00
Edin Kadribasic
96a745f2e2 First attemt at win32 build with the new build system.
#No workie yet, the build sys needs tweaking
2003-12-07 01:59:28 +00:00
Marcus Boerger
1ee7d70b9e Enable shared build 2003-12-07 01:58:54 +00:00
Edin Kadribasic
a256705044 Added filepro to the new win32 build. Works both as shared
and built-in extension on windows.
2003-12-07 00:59:35 +00:00
Edin Kadribasic
10b53557db Fixed win32 build (no such include on windows). 2003-12-07 00:59:16 +00:00
Edin Kadribasic
ee47ad0c2a Added fdf to the new win32 build. Works both as shared
and built-in extension on windows.
2003-12-07 00:49:25 +00:00
Edin Kadribasic
6a847a797e Added dbx to the new win32 build. Works both as shared
and built-in extension on windows.
2003-12-07 00:23:18 +00:00
Marcus Boerger
9c8678eb7b Fix enabling shared builds. 2003-12-07 00:21:47 +00:00
Edin Kadribasic
fbe2b4bbc3 Added dbase to the new win32 build. Works both as shared
and built-in extension on windows.
2003-12-07 00:09:48 +00:00
Edin Kadribasic
a05a42c8ea Added dba to the new win32 build. Works both as shared
and built-in extension on windows.
2003-12-06 23:39:07 +00:00
Marcus Boerger
4b9a4509c4 MFB: PHP_PQ_ERROR() change 2003-12-06 21:36:21 +00:00
Marcus Boerger
37bcfda978 #args, reinsert skipif for extension check 2003-12-06 20:41:07 +00:00
Marcus Boerger
4a66bd9394 Do not dynamically load the extension in skipif 2003-12-06 20:35:41 +00:00
Marcus Boerger
7046afb542 Implement SeekableIterator and LimitIterator as C code. 2003-12-06 19:21:02 +00:00
Marcus Boerger
8e188f9d03 Update examples 2003-12-06 19:03:17 +00:00
Wez Furlong
59823eca66 com_create_guid() returns... 2003-12-06 17:31:40 +00:00
Wez Furlong
bf033aa5a8 Fix ftp build when openssl is built as a shared extension. 2003-12-06 16:12:10 +00:00
Wez Furlong
fcdda2e8f8 Fix a problem resolving the php.ini path under win32 terminal services environment.
Remove config-file-path option from configure under win32; it is not used except to display what might have been chosen, so lets default to the getenv() thingy.
2003-12-06 16:04:34 +00:00
Wez Furlong
45eb5a8d03 use quotes if the user specifies a path, but don't otherwise (since we don't want the getenv calls quoted). 2003-12-06 15:16:17 +00:00
Moriyoshi Koizumi
a682e0a5c6 Add missing iconv_close() call 2003-12-06 11:10:13 +00:00
foobar
c28a7bd7da fix proto 2003-12-06 10:48:56 +00:00
Wez Furlong
62d3cccfc9 make it build under win32 2003-12-06 00:09:55 +00:00
Wez Furlong
dbb152b96a Detect and enable IPv6 support under win32.
The ws2tcpip.h header links to IPv6 functions dynamically
and the generated binary will run on win98 and later.
2003-12-06 00:00:31 +00:00
Wez Furlong
43b0ae0a04 openssl support for the new build 2003-12-05 23:13:30 +00:00