Commit Graph

14114 Commits

Author SHA1 Message Date
Marcus Boerger
141049a2e2 Touch after .c 2004-03-27 01:27:53 +00:00
Marcus Boerger
bc0373b880 Portable solution for bug #27646 that works correct on Windows, too 2004-03-27 00:50:41 +00:00
Marcus Boerger
90c80958b8 Commit the header, too. 2004-03-27 00:39:07 +00:00
Marcus Boerger
d508cecfe3 Follow ming_xy naming convention 2004-03-27 00:38:35 +00:00
Frank M. Kromann
3d6ca9f2cc Fix complation errors after convertion to new macro's 2004-03-26 21:56:31 +00:00
Marcus Boerger
f956b50f65 Change to studlyCaps convention
# Hopefully discussed enough this time
2004-03-26 21:16:50 +00:00
Marcus Boerger
26b75f56c6 Use studlyCaps and new macros (that should be it) 2004-03-26 21:10:17 +00:00
Marcus Boerger
92d8c3d06e Correct that name 2004-03-26 19:53:07 +00:00
Marcus Boerger
86d3e496f0 let inf be generated by INF constant (thanks to Wez) 2004-03-26 19:45:09 +00:00
Rasmus Lerdorf
a40518164b MFB: The 2am offset was a bad choice as this hour doesn't necessarily exist
on a DST switch.  So use 4am instead.  Fixes bug #27719
2004-03-26 19:32:49 +00:00
Sara Golemon
c52cc1c333 BugFix 27675 and add regression test. 2004-03-26 19:23:42 +00:00
Marcus Boerger
a4fba990a4 Pending touch 2004-03-25 22:40:25 +00:00
Marcus Boerger
3450ed948f -Make NAN and INF more portable (atof() doesn't work on MSVC.6 for example)
-Change test to use constants without prior conversion
2004-03-25 22:36:36 +00:00
Marcus Boerger
37a44999d3 Really use studlyCaps here 2004-03-25 22:06:36 +00:00
Ilia Alshanetsky
94d68252d3 Corrected package file. 2004-03-25 20:01:18 +00:00
Hartmut Holzgraefe
33490fdbaa another package description 2004-03-25 19:51:54 +00:00
Hartmut Holzgraefe
cc0894b788 more visa to sibira ;) 2004-03-24 18:43:23 +00:00
George Schlossnagle
8b2a760004 added test for property_exists checks. 2004-03-24 15:20:32 +00:00
Antony Dovgal
e001a041f3 add account names & emails 2004-03-24 07:46:18 +00:00
George Schlossnagle
b9c04fe19a fixed non-existent elements check
ref: http://news.php.net/article.php?group=php.internals&article=8660
2004-03-24 05:04:26 +00:00
Marcus Boerger
962b8d480c Revert studlyCaps change for now
# until we reach a point where the majority knows what they want
2004-03-23 23:30:56 +00:00
Ilia Alshanetsky
0bdfab022a Fixed bug #27661 (snmpget() does not close the socket in some cases). 2004-03-23 23:12:50 +00:00
Marcus Boerger
3f8a43989d Update .c output after .re 2004-03-23 22:33:29 +00:00
Marcus Boerger
fdcff80c16 - Allow negative infinity
- Register missing constants, they work anyway but cause an E_NOTICE
# generation by atof() should be portable enough (afaik)
2004-03-23 22:30:25 +00:00
Marcus Boerger
c64376bda5 Bugfix #27646: Cannot serialize/unserialize non-finite numeric values 2004-03-23 20:54:00 +00:00
Hartmut Holzgraefe
eeb172b29f "The Visa to Sibiria" (work in progress)
Adding a package.xml to a bundled extension does not only
ease the transition to PECL whereever suitable but also
allows to build and install an extension as "shared" using
the PEAR installer without having to deal with phpize and
friends by hand
2004-03-23 19:46:10 +00:00
Marcus Boerger
82e2b354ac Consitency rules 2004-03-23 08:48:36 +00:00
Marcus Boerger
e6a1f04677 Changed sqlite's OO API to studlyCaps. 2004-03-23 08:03:11 +00:00
Wez Furlong
719d336b4f export libtidy symbols 2004-03-22 23:07:55 +00:00
Wez Furlong
27d7cd8594 update for read handler api change 2004-03-22 22:47:05 +00:00
Ilia Alshanetsky
83e9b7eeee Fixes to allow curl extension to compile against libcurl 7.11.1 2004-03-22 18:42:03 +00:00
Ilia Alshanetsky
fc419f10ef Revert patch to imagefillborder. 2004-03-22 17:26:03 +00:00
Georg Richter
460ec22808 ups - changed alias instead of method before 2004-03-21 20:45:57 +00:00
Georg Richter
535b190ac1 renamed get_metadata method to get_result_metadata.
(We have to differentiate between result_metadata and param_metdata.
 mysql_stmt_param_metadata will be added in libmysql 4.1.3)
2004-03-21 20:43:44 +00:00
Stanislav Malyshev
5b0f6b1f34 Update for new read_property API 2004-03-21 18:28:38 +00:00
Ilia Alshanetsky
ac7283a602 Fixed a possible crash inside libgd's gdImageFillToBorder() due to a stack
overflow.
2004-03-21 18:02:19 +00:00
Marcus Boerger
9f4be8d2cd Fix test 2004-03-20 16:13:37 +00:00
Marcus Boerger
af9788eb32 Fix return value to match std array func behavior 2004-03-20 16:09:42 +00:00
Sara Golemon
dd28c137f6 Cleanup, minor refactor, and CS 2004-03-19 22:21:53 +00:00
Sara Golemon
75268270d6 Bug Fix #27657: TXT records longer than MAXHOSTNAMELEN cause segfaults. 2004-03-19 21:42:29 +00:00
Marcus Boerger
dd5d497541 Fix test
# removing string conversion was a stupid idea
2004-03-19 20:05:39 +00:00
Marcus Boerger
edde872904 Fix test 2004-03-19 20:00:18 +00:00
Marcus Boerger
0c8d7457c5 Make test work when user has memory limit setting 2004-03-19 19:56:31 +00:00
Frank M. Kromann
3e7a8e08eb Fix for #26589. Crash when selecting many columns of type Money 2004-03-19 18:45:07 +00:00
Ilia Alshanetsky
d45b2c6bc3 MFH: Fixed bug #27628 (Simplify the process of making a POST request via
stream context).
2004-03-19 15:41:26 +00:00
Pierre Joye
9bd83f2d81 - Fix the test description and $Id$ 2004-03-18 18:41:32 +00:00
Ilia Alshanetsky
b176ee99d3 Fixed bug #27633 (Incorrect EOL translation by ftp_get() in ASCII mode). 2004-03-18 17:12:07 +00:00
Dmitry Stogov
deb84befae BUG #27469 was fixed (serialize() objects of incomplete class) 2004-03-18 16:54:36 +00:00
Georg Richter
e6ac744282 fixed problems in mysql_stmt_init (missing alloc from stmt) 2004-03-18 13:04:55 +00:00
Georg Richter
848f123645 removed if type=string: val is allocated for any type of data 2004-03-18 13:03:17 +00:00
Dmitry Stogov
6e63ea45c7 BUG #27457 was fixed (using temporary hash table with string keys only) 2004-03-18 09:48:37 +00:00
Ilia Alshanetsky
d0a4801579 s/emalloc/safe_emalloc/ where appropriate. 2004-03-18 02:16:35 +00:00
Ilia Alshanetsky
5442d722c3 Fixed bug #27300 (Improved regex for pg_convert()).
# Patch by benjcarson at digitaljunkies dot ca
2004-03-18 01:34:58 +00:00
Sara Golemon
4341ee6061 Userspace Directory Stream Test 2004-03-17 20:48:12 +00:00
Marcus Boerger
851c254ef8 Fix CachingIterator's ability to cache string conversion results.
Add a test for that.
2004-03-17 19:58:32 +00:00
Marcus Boerger
b967853eb3 Go with implicit call 2004-03-17 19:14:15 +00:00
Marcus Boerger
8cdd2ed319 Explicit cast needed for now 2004-03-17 19:00:44 +00:00
Pierre Joye
f223262bcd - Fix crash when an invalid color index is used with imagecolortransparent 2004-03-17 17:07:31 +00:00
Dmitry Stogov
67a0ff81ae Test was fixed 2004-03-17 16:06:18 +00:00
Ilia Alshanetsky
88058e5715 Fixed bug #27498 (bogus safe_mode error on nonexistent directories for
chdir() and opendir() functions).
2004-03-16 23:23:17 +00:00
Georg Richter
e3077eadef fixed stmt->stmt->query which was removed in libmysql 4.1.2
added query buffer in internal stmt structure to copy string
after prepare
2004-03-16 21:43:25 +00:00
Derick Rethans
f66c62cef8 - Fixed compilation on the 'broken' IRIX native compiler. 2004-03-16 21:39:43 +00:00
Derick Rethans
1e8e284c6b - Fixed typo 2004-03-16 20:58:01 +00:00
Marcus Boerger
426649067c Make use of zend_make_printable_zval() instead of 'manually' calling
__toString().
2004-03-16 10:17:59 +00:00
Marcus Boerger
cde333aca6 This workaround is no longer needed 2004-03-16 10:16:52 +00:00
Jay Smith
83b2d923f8 Fixed bug #27291 (get_browser matches browscap.ini patterns incorrectly). 2004-03-15 21:26:39 +00:00
Marcus Boerger
b83663e0f2 Keep BC of pg_fetch_object 2004-03-15 20:16:59 +00:00
Marcus Boerger
0ace9f4885 Bugfix #27597 pg_fetch_array not returning false . 2004-03-15 19:47:18 +00:00
Frank M. Kromann
05158095ce Fix for #27594. Comuted columns does not return a column source 2004-03-15 19:41:48 +00:00
foobar
e389c25850 - Fix test (wrong expected result..) 2004-03-15 15:53:28 +00:00
Adam Dickmeiss
9a04d51b4a Use MAKE_STD_ZVAL instead of ALLOC_ZVAL 2004-03-15 10:01:12 +00:00
Jon Parise
633c95aa40 Fixed crash in php_ini_scanned_files() when no additional INI files were
actually parsed.

I'll merge this into the PHP_4_3 branch as soon as I receive permission
from the release master.
2004-03-15 07:45:25 +00:00
Marcus Boerger
15e1d817be Fix strval to use __toString if necessary 2004-03-14 22:59:04 +00:00
Jan Lehnardt
4ed1b9a193 - improve error message 2004-03-14 17:53:28 +00:00
Marcus Boerger
decc3fc6e6 Add new test 2004-03-14 15:33:15 +00:00
Melvyn Sopacua
21ecfd57fd Fix a typo, dating back from 1.145. 2004-03-14 11:42:17 +00:00
Pierre Joye
f4f1fe553a - add a 2nd test for #27582 2004-03-14 03:21:26 +00:00
Pierre Joye
9be8aeb690 - add tests for the bug #27582 (imagefilltoborder crashes) 2004-03-13 23:22:56 +00:00
Pierre Joye
197b48322e - restore too the alphablending if we do not reach the end of the function
Notice: This function still crashes (stack overflow), to reproduce it
  see bug27582_2.phpt
2004-03-13 23:21:25 +00:00
Marcus Boerger
0763dfa16f Update test with check for [] assignment 2004-03-13 20:07:22 +00:00
Marcus Boerger
96cb40a072 Check for ext/spl being available 2004-03-13 20:03:02 +00:00
Marcus Boerger
462bb8b83a Add new test 2004-03-13 20:01:23 +00:00
Marcus Boerger
b95d8d14d5 Bugfix #27586 ArrayObject::getIterator crashes with [] assignment 2004-03-13 20:01:00 +00:00
Pierre Joye
9fc9639c83 - fix #27582 (http://bugs.php.net/bug.php?id=27582)
The problem was that the colors were changed endlessly, blending over
  and over. An endless loop and recursive calls filled the stack=>segfault
2004-03-13 18:28:19 +00:00
Sterling Hughes
e71590ef68 zval **, not a zval * 2004-03-12 20:04:31 +00:00
Sterling Hughes
94a1728de0 avoid a memory leak when a php_curl handle is allocated, but the initialization
of a CURL handle fails.
2004-03-12 18:41:19 +00:00
Sterling Hughes
177db33c63 add the curl_copy_handle() function which will exactly duplicate a cURL handle.
Useful when you have multiple "similair" transforms as with a multi handle with
only small variances (like the URL)
2004-03-12 18:37:55 +00:00
Ilia Alshanetsky
4eafea278f Simplify check. 2004-03-12 17:37:04 +00:00
Ilia Alshanetsky
2c9098a78f Additional checks of return values from user callback functions. 2004-03-12 17:31:10 +00:00
Rasmus Lerdorf
8f58b974b2 Fix/workaround for http://bugs.php.net/27533 2004-03-12 17:29:52 +00:00
Sterling Hughes
ad84ce6233 leave length as -1, no need to strdup() 2004-03-12 16:36:30 +00:00
John Coggeshall
1c7ea2045b Opps. Shouldn't look at the value, just the type 2004-03-12 16:28:28 +00:00
John Coggeshall
4c76273d88 CURLOPT_INFILE === CURLOPT_READDATA 2004-03-12 16:12:47 +00:00
John Coggeshall
2009e4e83b Fixed a crash which happens if your READFUNCTION callback doesn't actually
return a string as promised.
2004-03-12 16:08:11 +00:00
Ilia Alshanetsky
3787740cbc Fixed compiler warning. 2004-03-12 01:59:46 +00:00
Frank M. Kromann
542dc54ce4 Hack to check for ming version 0.2 and 0.3 to inclue the right libs. 2004-03-11 18:48:30 +00:00
Pierre Joye
68f1108b53 - prepare 0.2.1 2004-03-11 11:37:04 +00:00
Ilia Alshanetsky
6a1a3ecc36 Readability++ 2004-03-11 00:27:16 +00:00
Ilia Alshanetsky
21a7e57ae7 Fixed memory leak in the multi interface.
Fixed proto of curl_multi_exec().
Fixed crash in curl resource attached to curl multi resource is manually
freed via curl_close().
2004-03-11 00:11:18 +00:00
Frank M. Kromann
a5fec66463 More ZLIB exports needed by the ming extension 2004-03-10 21:59:29 +00:00
Moriyoshi Koizumi
e84334a597 - Revert ini setting patch, as I notified in
http://news.php.net/article.php?group=php.internals&article=8451
2004-03-10 20:55:42 +00:00
Rasmus Lerdorf
05f8b4e6bc getopt() doesn't work if variables_order does not include "S" because it
only looks in $_SERVER for argv.  So, if we don't find argv in $_SERVER
fall back to looking in the global symbol table where register_argc_argv
would have put it.
2004-03-10 19:12:49 +00:00
Frank M. Kromann
579a7dd0c9 Reexport some zlib symbols so we can avoid linking with zlib.lib in shared extensions (on win32) 2004-03-10 18:30:44 +00:00
Ard Biesheuvel
cc924cad9d Nuke unused vars 2004-03-10 15:59:50 +00:00
Ard Biesheuvel
e6281ab38b Don't use fp arithmetic for int results
# FP arithmetic is not accurate enough on 64-bit archs
# This patch relies on ZEND_SIGNED_MULTIPLY_LONG(),
# so that should be fixed as well.
2004-03-10 15:57:49 +00:00
Martin Kraemer
b63def4dfc Typo 2004-03-10 11:24:11 +00:00
Georg Richter
a3bd712b78 added new function mysql_stmt_free_result 2004-03-10 09:50:05 +00:00
Marcus Boerger
5f5a8172be Update 2004-03-09 17:47:28 +00:00
Marcus Boerger
bf2cf5041c Drop copydoc and add more classes/methods 2004-03-09 17:36:32 +00:00
Marcus Boerger
1b060f3614 Access to inner iterator was missing 2004-03-09 17:35:18 +00:00
Rasmus Lerdorf
3189068f4e Make curl_setopt($ch,CURLOPT_RETURNTRANSFER,0) reset the RETURNTRANSFER to
stdout as is implied in the documentation.  Currently it simply does
absolutely nothing and there is no way to reset it to stdout.
2004-03-09 17:11:22 +00:00
Marcus Boerger
56834c958d Update 2004-03-09 17:01:21 +00:00
Marcus Boerger
50ee116f08 Clearify the different method/class flags (as discussed with Andi). 2004-03-09 16:38:37 +00:00
Ilia Alshanetsky
e33168207e Fixed memory leak with curl_multi_init() de-initialization. 2004-03-09 15:04:17 +00:00
Marcus Boerger
1651be020a Show the connect result 2004-03-09 14:37:49 +00:00
Marcus Boerger
59804de32e Missing buffer->val change 2004-03-09 14:29:20 +00:00
foobar
3bd12064ef test for bug #27457 2004-03-09 14:19:50 +00:00
Georg Richter
612ab199ad fixed memleaks in bind functions
added 4.1.2 support (renamed functions)
2004-03-09 12:01:23 +00:00
Ilia Alshanetsky
35f695954a Cleaned up phpinfo() output. 2004-03-09 02:36:23 +00:00
Pierre Joye
451e295d09 - Fix sugg only if it exists... 2004-03-09 01:57:53 +00:00
Pierre Joye
3093399928 - free sugg 2004-03-09 01:57:01 +00:00
Ilia Alshanetsky
a073ba979f Fix function declaration. 2004-03-09 01:28:29 +00:00
Ilia Alshanetsky
7bc8bdec79 Change float operations to safe_emalloc().
Original idea by Sascha (see sess_sqlite.c)
2004-03-09 01:09:35 +00:00
Ilia Alshanetsky
e375ffddb4 Added enchant_dict_quick_check() function.
Made enchant_dict_check() return a boolean.
2004-03-09 00:31:17 +00:00
Ard Biesheuvel
b303ba089c More wordsize fixes 2004-03-08 23:11:45 +00:00
Pierre Joye
f1ff65c155 - Fixes protos 2004-03-08 23:08:17 +00:00
Ard Biesheuvel
b703fe79f6 Fix warning 2004-03-08 23:04:33 +00:00
Ilia Alshanetsky
d2d091b2af Cleanup 2004-03-08 22:21:36 +00:00
Derick Rethans
b3b2192a1e - Added mb_list_encoding() to return an array with all mbstring supported
encodings.
2004-03-08 22:18:05 +00:00
Pierre Joye
14bdcf810a - sources cleanup:
- merge the tests of broker/dict pointers, I can always set them back if
   we like to raise warnings here
 - proto fixes
 - remove printf() debug
2004-03-08 21:34:12 +00:00
Marcus Boerger
7dd5b1f126 Rename hasMore() to valid() as discussed. (Part V) 2004-03-08 21:17:39 +00:00
Marcus Boerger
979ef59b7c Rename hasMore() to valid() as discussed. (Part IV) 2004-03-08 21:15:39 +00:00
Pierre Joye
c2689fe35b - Initial commit 2004-03-08 20:12:13 +00:00
Ard Biesheuvel
1950bdd42c MFB fix #27408 2004-03-08 19:08:25 +00:00
Marcus Boerger
6b0f57ee50 Rename hasMore() to valid() as discussed. (Part II) 2004-03-08 18:05:41 +00:00
Marcus Boerger
b6b7c9eb65 Rename hasMore() to valid() as discussed. (Part I) 2004-03-08 17:33:31 +00:00
Ard Biesheuvel
6bfc0d06cf Merged some more odd fixes from my own branch 2004-03-08 10:49:17 +00:00
Ard Biesheuvel
48d16437d6 Cleaned up array handling and optimize for the case where no array fields are used
Fix timestamp binding for Win32 (which doesn't have gmtime_r())
CS
2004-03-08 10:32:26 +00:00
Derick Rethans
0d4352ced8 - Fixed bug #24550 (tokenizing with __METHOD__ crash) (Patch by Greg Beaver) 2004-03-08 08:02:02 +00:00
Ilia Alshanetsky
6112260738 Fixed compiler warnings. 2004-03-08 03:06:56 +00:00
Marcus Boerger
5208baee49 Add another missing conversion 2004-03-08 00:19:43 +00:00
Marcus Boerger
4ee3282ec6 Search for db-4.2.x 2004-03-07 23:45:31 +00:00
Sascha Schumann
048e66b2a9 Avoid using floating point arithmetic and rely on safe_emalloc
for the multiplication.

The actual size requirement is spelled out as:

** The result is written into a preallocated output buffer "out".
** "out" must be able to hold at least 2 +(257*n)/254 bytes.
** In other words, the output will be expanded by as much as 3
** bytes for every 254 bytes of input plus 2 bytes of fixed overhead.
** (This is approximately 2 + 1.0118*n or about a 1.2% size increase.)
2004-03-07 22:35:26 +00:00
Ilia Alshanetsky
0eb7000b0a Corrected string escape calculation. 2004-03-07 21:57:50 +00:00
Ard Biesheuvel
4fffb84005 Simplify / fix 2004-03-07 18:01:12 +00:00
Ard Biesheuvel
67cdc2c12f Added missing support for binding timestamps
# Returning timestamps was already supported
2004-03-07 14:25:08 +00:00
Moriyoshi Koizumi
9a0e4fae4c - Forgot to commit this one. 2004-03-07 00:03:50 +00:00
Moriyoshi Koizumi
91b39a6538 - Fix test, take 2 2004-03-06 23:11:25 +00:00
Ilia Alshanetsky
02cdf5a87a Fixed bug #27421 (mbstring.func_overload should be system ini setting). 2004-03-06 19:29:52 +00:00
Ilia Alshanetsky
72a3bb18d1 Fixed bug #27460 (base64_decode() does not handle extra padding). 2004-03-06 19:06:04 +00:00
Ilia Alshanetsky
bf6b0dc5e6 Fixed bug #27505 (htmlentities() does not handle BIG5 correctly). 2004-03-06 18:35:41 +00:00
Ilia Alshanetsky
e57c749ecc Use correct variable name. 2004-03-06 18:29:54 +00:00
Ilia Alshanetsky
53e56151fe Fixed bug #27437 (wrong freetype include inside GD library). 2004-03-06 18:24:41 +00:00
Ilia Alshanetsky
215f0763d0 Fixed a possible memory leaks inside sqlite_popen() &
sqlite_fetch_column_types().
Resolve the file path inside sqlite_factory().
2004-03-06 18:14:54 +00:00
Ilia Alshanetsky
2d630bb6ae Fixed possible crash due to an integer overflow. 2004-03-06 18:11:59 +00:00
Ilia Alshanetsky
f60d104c09 Better extension availability check. 2004-03-06 18:10:32 +00:00
Pierre Joye
a8b6b2102b - fix #27238 2004-03-06 17:31:51 +00:00
Sara Golemon
85aa47efab Don't rely on ANSI tmpfile(), use the streams layer instead, it'll deal with platform issues. 2004-03-04 22:24:27 +00:00
Moriyoshi Koizumi
ab204a36e0 - Fix compiler warnings. (Patch by K.Kosako <kosako@sofnec.co.jp>) 2004-03-04 21:50:21 +00:00
Rob Richards
4ce377064a Fix bug #27467: domDocument::load() called from class method crashes
the methods can be called statically only from within classes which
  are not extending DomDocument
2004-03-03 20:59:02 +00:00
Edin Kadribasic
865903a2a4 Attempt at fixing win32 link errors 2004-03-03 18:54:20 +00:00
Edin Kadribasic
fb861026d8 Add missing source file 2004-03-03 18:36:30 +00:00
Edin Kadribasic
664998fa50 Replace mysql with mysqli in paths to allow building both mysql and mysqli 2004-03-03 18:15:56 +00:00
Moriyoshi Koizumi
a91e44c830 - Add missing include path. 2004-03-03 10:27:19 +00:00
Moriyoshi Koizumi
9e9d7d1743 - proper DLL linkage specifier.
# oniguruma.h:34-
#
# #ifndef ONIG_EXTERN
# #if defined(_WIN32) && !defined(__CYGWIN__)
# #if defined(EXPORT) || defined(RUBY_EXPORT)
# #define ONIG_EXTERN   extern __declspec(dllexport)
# #else
# #define ONIG_EXTERN   extern __declspec(dllimport)
# #endif
# #endif
# #endif
2004-03-02 22:38:21 +00:00
Derick Rethans
596efe5197 - Fixed bug in gdImageFilledRectangle in the bundled GD library, that required
x1 < x2 and y1 < y2 for coordinates.
2004-03-02 21:56:30 +00:00
Moriyoshi Koizumi
bc4d64477a - Fix typo. 2004-03-02 20:18:14 +00:00
Derick Rethans
d4fc693702 - CLONE, not CLOSE 2004-03-02 17:51:46 +00:00
Derick Rethans
0d6131cf4a - Added "clone" to the list of tokens. (Patch by Greg Beaver) 2004-03-02 17:49:49 +00:00
Moriyoshi Koizumi
1dfd0bd901 - Really fix the build.
# Should be fixed now :|
2004-03-02 15:59:30 +00:00
Moriyoshi Koizumi
e3b4faf793 - Revisit config.h for win32 build.
# apologies for messing.
2004-03-02 15:58:39 +00:00
Pierre Joye
0132cc897b - include exception.inc not .php 2004-03-02 15:57:41 +00:00
Derick Rethans
6644d38e35 - Fixed yacc file 2004-03-02 13:12:44 +00:00
Edin Kadribasic
f067c0479f Temporary fix for win32 build 2004-03-02 11:50:10 +00:00
Pierre Joye
dd7ba93e19 - excpetion.php => exception.inc (derick) 2004-03-01 20:44:11 +00:00
Pierre Joye
6f68407894 - initial release, reflection tests suite 2004-03-01 20:40:51 +00:00
Moriyoshi Koizumi
03bdd13560 - Fix win32 build.
# Thanks Nuno Lopes & Derick for letting me know.
2004-03-01 20:25:33 +00:00
Andi Gutmans
161ed69721 - Fix leak 2004-03-01 17:43:57 +00:00
Andi Gutmans
0f1382e126 - Fix crash in reflection API (pierre) 2004-03-01 15:19:38 +00:00
Rob Richards
5e4b287463 use php_libxml_import_node for transform functions 2004-03-01 12:43:34 +00:00
Rob Richards
76ee5707f7 Fix bug #27436 dom_import_simplexml innaccurate
extensions register callbacks to export nodes
prevents segfault passing invalid objects to import functions
2004-03-01 12:09:24 +00:00
Moriyoshi Koizumi
bf1ed3de73 - Fix test. 2004-03-01 10:44:22 +00:00
Moriyoshi Koizumi
df8ee549f5 - Add support for more ISO8601 style formats.
. Timezone specifier (ex. 20040301T00:00:00+1900)
 . Week specifier "W"  (ex. 1997W021)
- Modified test case to test new features.
2004-03-01 10:42:28 +00:00
Sara Golemon
d9d38900b6 context parameter for opendir() and dir() 2004-03-01 05:40:14 +00:00
Andi Gutmans
37ddf8e922 - Apply fixes by Timm. 2004-02-29 18:31:29 +00:00
Moriyoshi Koizumi
3d83a4db04 - Bugfix #27287 (wddx segfaults during deserialization) 2004-02-29 05:21:36 +00:00
Moriyoshi Koizumi
75f83f7bb4 - Fix segfaults on deserialisation of referenced variables.
# ALLOC_INIT_ZVAL() initialises the type field to IS_NULL, while
# MAKE_STD_ZVAL() doesn't. This caused a kind of random crash
# when zval_ptr_dtor() was applied on an intact zval created by
# the latter method.
#
# Please check relevant bugs again. There should be some that
# have already been marked as bogus.
2004-02-29 00:26:36 +00:00
Ilia Alshanetsky
0f116e7524 Remove unused variable. 2004-02-28 22:58:51 +00:00
Ilia Alshanetsky
deeb7dd039 Memory allocation check. 2004-02-28 21:00:16 +00:00
Moriyoshi Koizumi
f9302aca13 - Remove redundant files that are irrelevant to the build. 2004-02-28 20:52:05 +00:00
Moriyoshi Koizumi
f87f2ed4b4 - Forgot to add those. 2004-02-28 20:46:06 +00:00
Moriyoshi Koizumi
11b0f469f0 - Upgrade bundled oniguruma regex library to 2.2.2 (Rui, Moriyoshi)
. Supports various encodings such as BIG5, GB2312 and ISO-8859-*
  . Fixes bug #26677 (mbstring compile errors with IRIX)
  . Many thanks to K.Kosako.
- Remove redundant files that are not relevant to the build.
2004-02-28 20:45:27 +00:00
Frank M. Kromann
1e5869c660 Define buffer size macro and add a comment about the buffer size. 2004-02-27 23:03:07 +00:00
Dmitry Stogov
df29576af6 win32 specific fixes 2004-02-27 14:52:24 +00:00
Dmitry Stogov
d05665a57e fix: Incorrect error message 2004-02-27 12:49:00 +00:00
Ilia Alshanetsky
c856e821d0 Fixed possible crash inside sqlite_escape_string() and
sqlite_udf_encode_binary().
2004-02-27 00:29:10 +00:00
Frank M. Kromann
29500c867d Adding function to change user passwords 2004-02-26 20:31:14 +00:00
foobar
c9d3f3250c Fix typo 2004-02-26 13:22:11 +00:00
foobar
ac5fa854f3 ws & cs fixes 2004-02-26 12:33:23 +00:00
Georg Richter
700bb4dbb4 prototype fix for mysqli_ping 2004-02-26 12:24:21 +00:00
Georg Richter
8e52a1a8a3 added MySQLI ini entries
added ini parameter for mysql->reconnect
2004-02-26 11:40:35 +00:00
Georg Richter
5ffccfffda removed blocking calls to mysql_set_server_option (MYSQLI_DISABLE_MQ)
added mysqli_multi_query to function table
changed stmt->affected_rows property (http://bugs.mysql.com/?id=2247) for 4.1.2
2004-02-26 08:27:24 +00:00
Marcus Boerger
3e1f3b2124 Fix problem with Reflection_Property (patch from Timm slightly modified). 2004-02-26 01:06:18 +00:00
foobar
639073bd2a MFB: typofix 2004-02-26 00:13:30 +00:00
Ilia Alshanetsky
0f5f7c6dd0 Handle situation where feof() occurs before the HTTP header is retrieved. 2004-02-26 00:02:27 +00:00
Derick Rethans
f954677e54 - Fix tests after change to highlight_string() 2004-02-25 22:55:47 +00:00
Ilia Alshanetsky
337b23bd93 Fixed bug #21760 (Use of uninitialized pointer inside php_read()).
Fixed 3 possible crashes due to integer overflow or invalid user input
inside the sockets extension.
2004-02-25 22:10:09 +00:00
Marcus Boerger
8be7457b6c Temp fix for ctor signature until inheritance fix is complete 2004-02-25 20:38:56 +00:00
Ard Biesheuvel
81f05c18f5 Wordsize fixes 2004-02-25 20:16:27 +00:00
Zeev Suraski
bec3adb801 Fix signature
Marcus - please make sure that this is ok.  Generally you are no longer
allowed to override a method and with an incompatible signature
2004-02-25 14:58:47 +00:00
Dmitry Stogov
ab968b3d03 HTTP compression (memory leak was fixed) 2004-02-25 14:37:06 +00:00
Dmitry Stogov
b1fa3214f0 fix: XMLSchema <choice> support was improved to support elements with minOccurs=0 2004-02-25 14:34:50 +00:00
Dmitry Stogov
32b6d2fbf8 HTTP compression support (gzip and deflate) 2004-02-25 14:04:41 +00:00
foobar
cae6ae8250 Do not corrupt mysql build with mysqli build stuff. (should fix #27387) 2004-02-25 13:29:30 +00:00
Sebastian Bergmann
184b379fd7 ZTS fix. 2004-02-25 09:36:46 +00:00
Sebastian Bergmann
0cfb59fce4 Proto fixes. 2004-02-25 08:58:56 +00:00
Ilia Alshanetsky
895f244236 Fixed bug #27383 (Potential crash inside fopen_wrapper, while parsing
response code).
2004-02-24 21:52:40 +00:00
George Schlossnagle
a38761cd68 fix for bug 27384 2004-02-24 21:49:28 +00:00
Frank M. Kromann
d147e65186 Add missing export. 2004-02-24 19:08:28 +00:00
Ard Biesheuvel
5c0cf2311d More wordsize/alignment fixes 2004-02-24 15:47:38 +00:00
Dmitry Stogov
6b0a18ba7b Documentation update 2004-02-24 15:35:53 +00:00
Dmitry Stogov
0b0eb80fdf WSDL support for <soap:headerfault> was implemented 2004-02-24 15:06:42 +00:00
Rob Richards
f5dbafafed fix win32 compile with libxml 2.6
fix mem leaks
2004-02-24 12:03:32 +00:00
Dmitry Stogov
78b63f9df1 Fixed value of attribute is default value of attribute 2004-02-24 10:14:09 +00:00
Dmitry Stogov
9da18c12cf fix: anotaion -> anotation 2004-02-24 10:13:25 +00:00
Dmitry Stogov
f15dcfacc1 constants for MIME/DIME encoding were added 2004-02-24 10:12:45 +00:00
Dmitry Stogov
feed42e062 XML Schema support was improved: support for <element> default, fixed and nillable 2004-02-24 09:02:33 +00:00
foobar
ac92c47b84 Fix bug #26005 (Random "cannot change the session ini settings" errors) 2004-02-24 08:47:35 +00:00
Wez Furlong
0619eee6d0 test case for statcache corruption of BG 2004-02-23 21:07:10 +00:00
Wez Furlong
2b95eccf7e Ooops, these should not be pointers ;) 2004-02-23 21:03:58 +00:00
Sara Golemon
ba8ad292d9 Make today's changes work w/ str_ireplace() as well. 2004-02-23 20:34:59 +00:00
Sara Golemon
1c82797664 Short circuit str_replaces when we already know that needle does not occur in haystack.
Note: Prior bugfix was for #27176 not #27276
2004-02-23 20:13:14 +00:00
Sara Golemon
5144a1f522 Bugfix #27276: When using str_replace to expand a string, count occurances of needle in haystack to avoid massive overallocation 2004-02-23 20:06:01 +00:00
Ilia Alshanetsky
11366f4886 Fixed bug #27341 (HEAD requests fail to return data). 2004-02-23 19:50:07 +00:00
Derick Rethans
769dc0be75 - Added testcase for bug #27276 2004-02-23 19:45:16 +00:00
Georg Richter
c65d7997c3 fixed prototypes for mysqli_connect_err* functions
(thx to Mehdi Achour)
2004-02-23 16:49:18 +00:00
Ard Biesheuvel
b2bc520067 64-bit fixes 2004-02-23 16:26:34 +00:00
Christian Stocker
1d0596dbef - omit WARNING instead of ERROR for x_p_c_ns
- fix SKIPIF code in tests
2004-02-23 16:19:40 +00:00
Christian Stocker
9e6de31645 skip tests, if xml_parser_create_ns is not supported. 2004-02-23 16:01:15 +00:00
Christian Stocker
a3b1085f06 test for attributes 2004-02-23 15:55:16 +00:00
Christian Stocker
0c7143efe9 - mixed up name and value... fixed 2004-02-23 15:54:45 +00:00
Christian Stocker
0c942d06e6 fix attribute handling in combination with sax2 2004-02-23 15:43:49 +00:00
Adam Dickmeiss
2fdd9a9757 Use ZOOM_resultset_sort for yaz_sort. Require YAZ 2.0.13 or later. 2004-02-23 10:48:46 +00:00
Christian Stocker
830d453a2f remove compiler warnings 2004-02-23 09:19:25 +00:00
Christian Stocker
2f310c3e4f - make it compile with libxml2 2.5 again
- disable xml_parser_create_ns with libxml2 2.5 for the time being
- the #if s can be removed, once we insist on libxml2 2.6
2004-02-23 08:21:07 +00:00
Georg Richter
b3979e76ba fixed report message
Disabled reconnect option
2004-02-23 06:35:18 +00:00
foobar
0bf907b1e6 - Added PHP_TEST_BUILD macro which can be used to test whether build
works / would work with current LIBS (+ additional extra-libs)
2004-02-23 03:24:58 +00:00
Ard Biesheuvel
154893115a 64-bit fix 2004-02-23 02:09:48 +00:00
Ard Biesheuvel
29053cc6d5 64-bit fix 2004-02-23 01:53:39 +00:00
Ard Biesheuvel
9816c8a4e4 64-bit fix 2004-02-23 01:21:16 +00:00
foobar
9b13b215fb - Moved internally used includes/macros/structs/etc. into tidy.c to prevent
any conflicts with any other library/header/extension.

# Never EVER put this stuff in extension's php_*.h file if possible!
2004-02-23 00:59:29 +00:00
Christian Stocker
4e4cb3fcd2 add test for default namespaces and same-prefix/different-namespaceURI 2004-02-22 18:27:10 +00:00
Ilia Alshanetsky
52b962ca2f wbmp conversion warning fix. 2004-02-22 18:03:09 +00:00
Christian Stocker
2343df52d2 Fix broken Namespace support, use libxml2 namespace methods instead of
homebrown solution:
- default namespaces are recognized
- different namespaces with same prefix in different nodes are treated correctly
- libxml2 parser warnings are not errors anymore
2004-02-22 17:51:01 +00:00
Rob Richards
081e773f86 add optional third parameter to support namespace in constructor 2004-02-22 13:05:49 +00:00
Ard Biesheuvel
3a91737c73 Fix 64-bit crash 2004-02-22 12:10:00 +00:00
Sara Golemon
c23305e184 Avoid use of memcpy(), reply on struct in_addr to be right sized instead 2004-02-21 19:37:37 +00:00
Ilia Alshanetsky
cc2dc6c85e Set correct default threshold for image2wbmp(). 2004-02-21 16:49:39 +00:00
Sebastian Bergmann
7af39b1aad Can't test whether it works (no current >=mysql-4.1.2 available on Windows), but it should. 2004-02-21 15:05:52 +00:00
Georg Richter
12c6378412 fixed typo in method alias 2004-02-21 07:37:41 +00:00
Sara Golemon
4113da3f86 s_addr is always unsigned 32bit, long is not. 2004-02-20 21:05:37 +00:00
Sara Golemon
15cd6762f8 Bug Fix #27335: Numeric indexes crashing http_build_query() 2004-02-20 20:38:14 +00:00
Dmitry Stogov
8fc285275c BUGFIX: bug in HTTP chunked encoding was fixed 2004-02-20 15:38:39 +00:00
Georg Richter
1f67407f84 Moved functions for replication support in to file mysqli_repl.c
- these functions are marked as experimental now in documentation
    not sure if we will replace or extend them with NDB support in
    April
2004-02-20 13:09:14 +00:00
Antony Dovgal
7837416c2b this should really fix compile failure with gcc 2.96 2004-02-20 12:47:56 +00:00
Ard Biesheuvel
8747289066 Fix some issues with persistent links 2004-02-20 10:59:24 +00:00
foobar
26332c0436 Fix compile failure 2004-02-20 03:16:51 +00:00
foobar
6e15162724 Only use Z_TYPE* with zvals.. 2004-02-20 03:05:42 +00:00
Ilia Alshanetsky
2bc288bb0c Added missing safe_mode & open_basedir checks. 2004-02-20 01:09:00 +00:00
Dmitry Stogov
8b9607cff1 Don't try to use <input> name instead of <opeartion> name for encoding RPC call 2004-02-19 18:49:50 +00:00
Dmitry Stogov
bac453038a Reading HTTP responses without "Content-Length:" but with "Connection: close" 2004-02-19 16:49:50 +00:00
Dmitry Stogov
2d61e3622d WSDL caching bugs were fixed 2004-02-19 16:46:52 +00:00
Dmitry Stogov
0dadb2bbab fix: prevent possible crash 2004-02-19 16:45:25 +00:00
Dmitry Stogov
9ebc56dd50 Passing arguments to "anyType" cause passing type information in literal encoding. Receiver gets sach parameters as SoapVar objects. 2004-02-19 11:32:42 +00:00
Dmitry Stogov
15ccb3be8d Support for SOAP Fault encoding according to WSDL <fault> and <soap:fault> 2004-02-19 08:21:13 +00:00
Ilia Alshanetsky
0e692f9506 Fixed possible resource/memory leak. 2004-02-19 02:19:11 +00:00
foobar
4441da2754 Improve error messages 2004-02-19 01:54:21 +00:00
Rob Richards
7deeb0f96a always return domnodelist unless error 2004-02-18 22:42:30 +00:00
Rob Richards
4051591cfe correct implementation of prefix write property 2004-02-18 20:37:30 +00:00
foobar
e3c437d378 register_list_destructors -> zend_register_list_destructors_ex 2004-02-18 20:22:40 +00:00
Ilia Alshanetsky
95cbb0046c Fixed bug #27295 (memory leak inside sscanf()). 2004-02-18 19:48:13 +00:00
Georg Richter
a12c95e1be changed return value of mysql_fetch
- instead of MYSQL_NO_DATA mysql_fetch will now return NULL
2004-02-18 13:26:57 +00:00
Dmitry Stogov
cbec795c0b fix: SoapFault constructor fixed to confirm documentation. 2004-02-18 07:35:34 +00:00
Dmitry Stogov
9cb54cb232 BUGFIX: HTTP chunked transfer-encoding support 2004-02-18 06:58:33 +00:00
Sara Golemon
da55c00362 Show registered transports in phpinfo() 2004-02-18 05:07:13 +00:00
foobar
abb9ac9d5f Test for bug #27287 2004-02-18 00:00:36 +00:00
Ilia Alshanetsky
cb5c9156c2 Fixed bug #27293 (two crashes inside image2wbmp()). 2004-02-17 21:30:00 +00:00
Rob Richards
43eb077107 add dtor to cleanup iterator related data 2004-02-17 19:57:48 +00:00
Dmitry Stogov
b17eab9a31 Using element namesapces with literal encoding. 2004-02-17 18:54:30 +00:00
Dmitry Stogov
7edf9bc2c3 support for XMLSchema <element> nillable attribute 2004-02-17 15:10:16 +00:00
Ard Biesheuvel
c796a47690 Fixed unregistered bugs in event handling
Cleaned up some of the code
Removed ISC_QUAD from static initializers because it looks different on
	some platforms
2004-02-17 12:53:54 +00:00
Ard Biesheuvel
3cc26de38d Added event handling test
CS
2004-02-17 12:24:42 +00:00
Wez Furlong
66fa4e74ea Fix:
#27269 php_gettext.dll extension will not load
2004-02-17 11:15:19 +00:00
Rob Richards
ec2ea131fb implement clone functionality to fix segfault
DomNode->clone() creates new doc proxy if document is cloned
remove printf from xpath
fix remaining invalid object state issues
2004-02-17 11:13:47 +00:00
Dmitry Stogov
0ecd198dc5 fix: Using proper namespace for <soap:header> if it is not specified. 2004-02-17 09:23:28 +00:00
Dmitry Stogov
168dc362df Encoding of ommited tail parameters as NULLs 2004-02-17 08:18:53 +00:00
Georg Richter
f7ca7c469a changed output 2004-02-17 07:45:15 +00:00
foobar
7a7927c146 shorten the description a bit 2004-02-16 17:44:27 +00:00
Ilia Alshanetsky
4a954193e4 Fixed bug #27278 (*printf() functions treat arguments as if passed by
reference).
2004-02-16 17:09:37 +00:00
Ilia Alshanetsky
dc9f52f039 Fix test. 2004-02-16 17:09:08 +00:00
foobar
7fd4bdbec4 nuke copypaste rubbish 2004-02-16 16:50:53 +00:00
foobar
173794732b test for bug #27278 2004-02-16 16:50:11 +00:00
Dmitry Stogov
3e002aa66d specal case of array encoding. If object has only one inner element and this element has max_occurs > 1, then array can be passed directly. 2004-02-16 16:35:59 +00:00
Dmitry Stogov
1350643b8c BUGFIX: incorrect restoring of negative integers from WSDL cache 2004-02-16 16:32:52 +00:00
Sergey Kartashoff
25956876a7 - A fix to make UDM_LIMIT_DATE work was applied. Thanx to
d.rousseau at nnx.com
2004-02-16 16:11:59 +00:00
Georg Richter
d23dff1220 fixed some tests
added skip section for prepared statements when using SHOW command
2004-02-16 15:32:46 +00:00
Ilia Alshanetsky
4f388ba849 Better gmp fix. 2004-02-16 15:13:40 +00:00
Jan Lehnardt
bf807f6d69 - fix typo 2004-02-16 14:41:38 +00:00
Rob Richards
602c786aa9 issue warning if object is in invalid state when dealing with properties 2004-02-16 13:06:33 +00:00
Dmitry Stogov
939a8d43cf Prevent processing SOAP headers with invalid namespace in WSDL mode. 2004-02-16 12:04:48 +00:00
Stanislav Malyshev
794975d97f ce is not used, don't get it 2004-02-16 11:21:31 +00:00
Dmitry Stogov
6aad56d4a2 fix: prevent of possible crash 2004-02-16 09:56:30 +00:00
foobar
6e06620089 - fix test 2004-02-16 06:39:13 +00:00
Ilia Alshanetsky
2e2c4375d0 For get_data iterator do not force numeric keys, return keys the user
requests.
2004-02-15 20:42:58 +00:00
Georg Richter
d5084182ce fixed several binding problems 2004-02-15 20:23:05 +00:00
Ilia Alshanetsky
d438dad1b2 Fixed a crash inside create_aggregate() method due to incorrect argument
parsing.
2004-02-15 20:15:34 +00:00
Rob Richards
2a32e4328a switch to zend_parse_method_parameters for consistancy
insure object parameters are correct class types
convert zvals to correct type if needed for property writes
fix a few segfaults found while testing
2004-02-15 18:57:10 +00:00
Ard Biesheuvel
595d6a2d84 Reintroduce param NULL testing (see bug #26777) 2004-02-15 18:34:47 +00:00
foobar
47c49ee013 Prevent bug reports like #27260 2004-02-15 17:54:19 +00:00
Ilia Alshanetsky
b7329c8456 Fixed bug #27258 (moved FPE check to correct location).
Fixed several possible FPE.
2004-02-15 17:22:57 +00:00
Rob Richards
c3a57206cc allow certain methods to be called statically again:
domdocument (all load methods)
   domimplementation (all methods)
switch to zend_parse_method_parameters for consistancy
insure object parameters are correct class types
convert zvals to correct type if needed for property writes
fix a few segfaults found while testing
2004-02-15 17:07:34 +00:00
Rob Richards
c1418894dd switch to zend_parse_method_parameters for consistancy
insure object parameters are correct class types
convert zvals to correct type if needed for property writes
2004-02-15 14:05:17 +00:00
Zeev Suraski
7c710a9f9b Use zval_ptr_dtor() to free variables as soon as they hit refcount of 0.
Note:  You should not be using ZVAL_DELREF() in day to day usage.  Instead,
       you should use zval_ptr_dtor().  Use ZVAL_DELREF() only if you're
       messing with the refcount directly and know what you're doing.
Note #2:  For clarity, if you want to initialize a new zval with a refcount
          of 0, it's best to do that directly, instead of using ZVAL_DELREF
          after allocating the zval...
2004-02-15 12:58:19 +00:00
Rob Richards
a2e1844de9 start of dom update
switch to zend_parse_method_parameters for consistancy
insure object parameters are correct class types
convert zvals to correct type if needed for property writes
2004-02-15 10:54:37 +00:00
Timm Friebe
104f2b5ff4 - Fixed bug #26407 (Result set fetching broken around transactions) 2004-02-15 10:53:45 +00:00
Timm Friebe
e0c7f10ef5 - Changed initialization of function arguments to message handler
# Hopefully fixes bug #27157 (Compile Failure on Solaris 8), user does
# not know how to use patch and therefore couldn't verify this works.
2004-02-15 10:37:09 +00:00
Jan Lehnardt
4d0ad7fbb7 - improve error message 2004-02-14 19:02:23 +00:00
Jan Lehnardt
905f4e98a2 - silence warning 2004-02-14 17:31:00 +00:00
Dmitry Stogov
b21756c1ca Source cleanup 2004-02-13 15:19:09 +00:00
Rob Richards
16136dfe93 Fix bug #27237: Working with simplexml crashes apache2
object dtor must be used to cleanup iterator data correctly
Fix asXML() outputing incorrect node
2004-02-13 15:05:18 +00:00
Dmitry Stogov
81af85c380 Old in-memory WSDL cache was removed (it was already switched off by #ifdef) 2004-02-13 11:03:58 +00:00
Dmitry Stogov
2d1ae249a8 Cleanup 2004-02-13 10:29:55 +00:00
Dmitry Stogov
dcb3189df2 SoapClient::__getTypes and SoapClient::__getFunctions were fixed to return proper information 2004-02-13 08:30:13 +00:00
Dmitry Stogov
9b29737f44 BUGFIX 2004-02-13 08:29:11 +00:00
Ilia Alshanetsky
36f27848a6 Fixed compile warnings. 2004-02-13 02:20:20 +00:00
Ilia Alshanetsky
5a38078385 Fixes for PHP 4.3.X. 2004-02-13 01:19:57 +00:00
Ilia Alshanetsky
b93acb023d Added package.xml 2004-02-13 01:14:15 +00:00
Ilia Alshanetsky
eb06e0c425 Initial commit of the fileinfo extension. 2004-02-13 01:06:06 +00:00
Frank M. Kromann
cf2c4b26bb Adding mising declaration (needed for Win32 compilation) 2004-02-13 00:02:19 +00:00
Derick Rethans
cd4a39edf9 - Fixed start-up problem if both SPL and SimpleXML were enabled. The
double initialization of apache 1.3 was causing problems here.
2004-02-12 23:39:46 +00:00
Marcus Boerger
1507a4a677 Fix (thx Andi) 2004-02-12 21:43:10 +00:00
Marcus Boerger
ab1e2e7c06 Fix ArrayObject 2004-02-12 20:52:48 +00:00
Stig Bakken
4127b304ea * email address update 2004-02-12 19:05:41 +00:00
Stig Bakken
f8125ed92d * update my email address 2004-02-12 19:03:03 +00:00
Dmitry Stogov
563e769dff WSDL support for unknown extensibility elements and wsdl:required attribute (Interop Round3 GroupF) 2004-02-12 16:42:34 +00:00
Dmitry Stogov
69eb0041b1 fix: possible crash was fixed 2004-02-12 16:41:58 +00:00
Zeev Suraski
f041e73a67 Fix prototype/warning 2004-02-12 13:53:51 +00:00
Wez Furlong
08ed2cb9f7 fix copy-n-past error in constructor.
Spotted by Eric Colinet.
2004-02-12 12:11:21 +00:00
Dmitry Stogov
866816efef Caching of temorary WSDL files was disabled. 2004-02-12 11:02:16 +00:00
Zeev Suraski
30171a7590 zend_default_classes.h -> zend_exceptions.h 2004-02-12 10:43:27 +00:00
Dmitry Stogov
07e3413e99 Using zend_throw_exception_object() instead of EG(exception). 2004-02-12 10:39:20 +00:00
Zeev Suraski
00ed3bad29 Centralize exceptions code in zend_exceptions.[ch].
Remove zend_default_classes.h (use zend_exceptions.h instead)

NOTE:  This currently breaks the build, fixes to php-src and pecl coming
       soon
2004-02-12 10:38:14 +00:00
Dmitry Stogov
71380e7d7f "Runtime Configuration" and "Exceptions" were added. 2004-02-12 09:05:56 +00:00
foobar
b10ce1155c - Fixed bug #23467 (Showing incorrect Time Zone)
# patch by scottmacvicar at ntlworld dot com
2004-02-12 01:28:12 +00:00
Marcus Boerger
7258bff325 Cleanup 2004-02-11 23:36:25 +00:00
foobar
e9e1494a59 There is CODING_STANDARDS..at least NEW code should respect those.. 2004-02-11 21:20:22 +00:00
Zeev Suraski
c8c0e97982 Prevent SimpleXML from silently modifying types of variables that are
assigned to its objects.

Implementation notes for overloaded object modules:

- If you return a zval which is not otherwise referenced by the extension
  or the engine's symbol table, its reference count should be 0.
- If you receive a value zval in write_property/write_dimension, you
  may only modify it if its reference count is 1.  Otherwise, you must
  create a copy of that zval before making any changes.  You should NOT
  modify the reference count of the value passed to you.

Have fun!
2004-02-11 19:15:30 +00:00
Brian France
d5b6608da5 Added checks for invalid characters in a cookie name or cookie data from setrawcookie 2004-02-11 19:00:42 +00:00
Brian France
e6ae5c3318 Added two new functions to set the dict-dir and data-dir options. 2004-02-11 18:50:16 +00:00
Ilia Alshanetsky
8b97d9d7f1 'Touch' the file to make sure re2c is not needed. 2004-02-11 17:32:38 +00:00
Ilia Alshanetsky
0fc2bb9d49 Fixed bug #26862 (ob_flush() followed by output_reset_rewrite_vars() may
result in data loss).
2004-02-11 17:00:48 +00:00
Ard Biesheuvel
b625b03493 Look in the right place for lib 2004-02-11 16:20:48 +00:00
Dmitry Stogov
f3ed4a27a0 support for command line interface was improved 2004-02-11 16:13:15 +00:00
Dmitry Stogov
f46638ae28 Cache files access rights were changed. 2004-02-11 16:12:31 +00:00
Dmitry Stogov
6096b09159 Now SoapClient uses excptions as default method for error reporting 2004-02-11 13:53:50 +00:00
Rob Richards
5731108c55 Fix test 2004-02-11 13:00:19 +00:00
Zeev Suraski
fde9bac476 Fix crash (patch by Rob Richards) 2004-02-11 12:35:24 +00:00
Rob Richards
6e4a4e8a9a Fix compiler warnings
Update tests
2004-02-11 12:19:26 +00:00
Ard Biesheuvel
a3dd0efee2 Add version info about run-time client library
# A number of user crashes appear to be caused
# by using incorrect combinations of libraries
2004-02-11 12:08:44 +00:00
Ard Biesheuvel
9925c63be5 CS/WS 2004-02-11 11:59:08 +00:00
Zeev Suraski
0018eed69f Finally add a notice to hint people that using dl() is a bad idea... 2004-02-11 11:46:20 +00:00
Georg Richter
9e93ac6005 removed printfs :)
Thx Andi!
2004-02-11 08:34:08 +00:00
Georg Richter
3e2907d614 changed first param in mysqli_bind_param 2004-02-11 07:39:28 +00:00
Georg Richter
c0a1ec4210 changed first parameter in mysqli_bind_param from array to string
(as discussed on berlin db meeting)
2004-02-11 07:38:43 +00:00
Timm Friebe
b3a55e95de - Removed pointless call to error_reporting() 2004-02-10 20:39:08 +00:00
Jan Lehnardt
023e12cf3a - fix #27197 for Greg (cellog@php.net) 2004-02-10 14:40:39 +00:00
Dmitry Stogov
20add786ae WSDL caching was implemented 2004-02-10 13:41:21 +00:00
Zeev Suraski
e8e9b2afee Implement get callback for SimpleXML (it now supports pre/post increment
as well as binary-assign-ops)
2004-02-10 09:30:38 +00:00
foobar
1b6b63c3f9 ws 2004-02-09 18:18:00 +00:00
Frank M. Kromann
d7961b69e2 Delay creation of exec handle til it's needed 2004-02-09 17:58:04 +00:00
Dmitry Stogov
a55f6cb66c Allowing to report SOAP Fault with "return new SoapFault(...)" 2004-02-09 09:31:18 +00:00
Dmitry Stogov
3b19e196fa Allowing to pass request to SoapServer::handle direct (not through $HTTP_RAW_POST_DATA). 2004-02-09 07:51:07 +00:00
Ilia Alshanetsky
0e5020fdad Fixed bug #27172 (Possible floating point exception in gmp_powm()). 2004-02-09 04:27:35 +00:00
Timm Friebe
fbc3eda353 - Initial release 2004-02-09 00:32:39 +00:00
Timm Friebe
a8bd293005 - Changed error_reporting setting to E_ALL so we get the notices 2004-02-09 00:14:24 +00:00
Timm Friebe
06ab4e69db - Made server name and credentials contain something obviously incorrect.
- Made charset parameter default to "iso_1" (fixed "Sybase: Unable to
  update character set." warnings which were failing all tests when the
  official Sybase libraries were used - FreeTDS ignores this).
2004-02-08 23:58:46 +00:00
Zeev Suraski
2a9e1294bc Update to new API 2004-02-08 17:25:54 +00:00
foobar
6b8616889d Fixed bug #27171 2004-02-07 19:14:49 +00:00
Georg Richter
e3d0e587b8 fixed cast warning 2004-02-07 13:45:44 +00:00
Dmitry Stogov
79dc8d5ef6 fix 2004-02-06 16:54:34 +00:00
Dmitry Stogov
59ab20b23b optimization 2004-02-06 16:52:14 +00:00
Ard Biesheuvel
9415013456 Fix build with Win32 Interbase 5.x 2004-02-06 15:11:17 +00:00
foobar
b8e6cde6c6 fine tune 2004-02-06 14:59:51 +00:00
Dmitry Stogov
6ae97a5b25 WSDL cache was disabled by default (see WSDL_CACHE macro)
WSDL related memory leaks were fixed
2004-02-06 14:22:33 +00:00
Dmitry Stogov
88c1168941 Free XML documents after WSDL parsing (they no longer need). 2004-02-06 11:56:03 +00:00
Wez Furlong
2cf588a0a9 prefer != "no" over = "yes". (it doesn't really matter for ext/soap, but
it's still the best practice).
2004-02-06 09:18:51 +00:00
Dmitry Stogov
c22d7cf883 PHP5 and WIN32 support was improved 2004-02-06 08:01:35 +00:00
Ilia Alshanetsky
dfde3095e4 Possible fix for bug #27165. 2004-02-06 03:14:06 +00:00
Ilia Alshanetsky
1eb6a18289 Do not initialize & create vars unless they will be used. 2004-02-06 03:07:59 +00:00
Dmitry Stogov
508273780c PHP API was changed (see readme.html for more details). 2004-02-05 20:26:05 +00:00
Dmitry Stogov
2c1dcf32a0 WSDL parsing speedup. Source cleanup. 2004-02-05 09:28:09 +00:00
Stanislav Malyshev
1c433049ca fix serialization 2004-02-05 09:07:46 +00:00
Stanislav Malyshev
8487383ede fix test - remove warning 2004-02-05 09:03:37 +00:00
Antony Dovgal
d3cd05c95a fix bug #27149
(offset should start with 1)
2004-02-05 08:29:16 +00:00
John Coggeshall
fac5939f42 Updating tests that got left behind when we changed to studlyCaps
and fixed another test
2004-02-05 01:38:59 +00:00
Marcus Boerger
4a3c015dd7 Fix annoying warning 2004-02-04 23:41:58 +00:00
Marcus Boerger
63c964c40f Fix reflection 2004-02-04 22:19:00 +00:00
Marcus Boerger
09fe52c687 Fix Warning 2004-02-04 21:04:39 +00:00
Dmitry Stogov
1f68c98aba Unnecesurry namespaces was removed form SOAP fault responces 2004-02-04 16:50:29 +00:00
Dmitry Stogov
62572919d8 SoapServer::fault() method was implemented
Unnecesurry namespaces was removed form SOAP fault responces
2004-02-04 16:49:48 +00:00
Dmitry Stogov
9fa7d1c24a SOAP Headers was implemented (near complete) 2004-02-04 14:46:12 +00:00
Ilia Alshanetsky
91f46b7880 Fixed compile warnings. 2004-02-04 14:15:16 +00:00
Zeev Suraski
d77bbe344c kill warning 2004-02-04 12:45:56 +00:00
Zeev Suraski
d89b7b23f9 API updates 2004-02-04 12:45:47 +00:00
Zeev Suraski
8424be849f - Update with new destructor code 2004-02-04 11:14:47 +00:00
Zeev Suraski
f5f7d569a0 Change destructor implementation (details will follow on internals@) 2004-02-04 09:56:20 +00:00
Moriyoshi Koizumi
24eb1f6eb2 - Update libmbfl to the latest. This fixes several serious issues in the html
entity encoder and the encoding detection facility. There should be no
  problem with mailparse() as API change was made so carefully that it
  would be as small as possible.
2004-02-04 07:24:08 +00:00
Marcus Boerger
dfad2955ee Update tests 2004-02-03 22:07:29 +00:00
Dmitry Stogov
75e4f43d0c Initial support for client-part SOAP headers (very incomlete) 2004-02-03 16:44:57 +00:00
Dmitry Stogov
f3a114a97f SoapServer constructor was extended by default SOAP version. 2004-02-03 16:43:38 +00:00
foobar
1f34bc0f10 touch 2004-02-03 15:50:21 +00:00
Antony Dovgal
f1c40a4a22 -remove obsolete types
-changes in config.m4 to make oci8 to compile with Oracle 10g
(thanks to cjbj at hotmail dot com for reporting both problems)
2004-02-03 14:21:09 +00:00
Stanislav Malyshev
3fd027c5ac fix bug #27120 and bug #25975 - preserve is_ref when bound
objects are serialized
2004-02-03 14:12:59 +00:00
Stig Bakken
330d9f6352 SQLITE_ENCODING should be UTF8 rather than UTF-8 2004-02-03 08:38:22 +00:00
Vlad Krupin
66ebc334d6 This should allow us to read dictionary locations from the win32 registry when we use a custom config.
Not doing so when I added win32 support was an oversight.
Now all pspell_new_* functions should be usable on win32.
2004-02-03 05:40:25 +00:00
Ilia Alshanetsky
6dca37c50c Fixed possible overflow. 2004-02-03 03:10:28 +00:00
Andrey Hristov
ab43b68476 typo fix 2004-02-02 22:41:56 +00:00
Marcus Boerger
b1c77fcce3 TSRM fixes 2004-02-02 21:27:13 +00:00
Marcus Boerger
391494c0ef Tests are executed with E_STRICT 2004-02-02 19:26:52 +00:00
Dmitry Stogov
a70a620a01 fix: proper handling of SOAP 1.1 href and unresolved attributes references 2004-02-02 17:39:10 +00:00
Dmitry Stogov
840526f1d3 Server-part support for SOAP Headers was implemented (incomplete) 2004-02-02 16:19:39 +00:00
Ard Biesheuvel
1db65dfa93 Use correct flag for repair options 2004-02-02 14:57:20 +00:00
Ard Biesheuvel
f7e1724096 Fix Win32 build 2004-02-02 14:01:41 +00:00
Ard Biesheuvel
80e3384756 Use php_ prefix for header files
Added nearly complete implementation of service API
2004-02-02 13:49:48 +00:00
Ard Biesheuvel
2430a27d7f Use php_ prefix for header files. 2004-02-02 13:47:56 +00:00
Antony Dovgal
c7699856fc add missing alias for ocifreecursor() 2004-02-02 08:26:15 +00:00
foobar
7ad385b109 CS fix (functions should not be available if they are not available :) 2004-02-02 08:10:31 +00:00
Antony Dovgal
fec01159b1 fix yet another possible segfault 2004-02-02 08:09:53 +00:00
Ilia Alshanetsky
25053ba01b Fixed possible overflows. 2004-02-02 00:06:17 +00:00
Ard Biesheuvel
1932317844 No explicit inline (fixes Win32 linkage issue) 2004-02-01 18:42:47 +00:00
Ard Biesheuvel
7b606b98d4 Remove extension internals from php_interbase.h 2004-02-01 17:52:36 +00:00
Ard Biesheuvel
254eb0f05d Test for Interbase version 6 API in 'configure'
# Always enable in Win32 for the time being
2004-02-01 17:42:26 +00:00
Ard Biesheuvel
69d53a7676 Added backup/restore functions
Split interbase.c into several files
# It was becoming too big to handle
2004-02-01 16:13:07 +00:00
Sebastian Bergmann
e4ad9209ed ZTS fix. 2004-02-01 08:34:47 +00:00
Moriyoshi Koizumi
65e22c3316 - Forgot to add test case. 2004-02-01 03:03:15 +00:00
Moriyoshi Koizumi
5d9495dfe7 - Binary compatibility stuff, for safety. 2004-02-01 03:02:47 +00:00
Moriyoshi Koizumi
0330fb2cbf - Fix bug #27103 (preg_split('//u') incorrectly splits UTF-8 strings into octets). 2004-01-31 22:36:33 +00:00
Moriyoshi Koizumi
8e44a6ba0a - POSIX / ISOX compliancy. This is needed to correctly handle UTF-8 characters. 2004-01-31 21:56:42 +00:00
Marcus Boerger
46be4c2626 Throw an exception in case a reflection object cannot be found and do not
override the exception from constructors in static method calls.
2004-01-31 12:20:20 +00:00
Georg Richter
cccb92b233 Corrected binding:
if column has type DECIMAL it will converted to string now.
  Thanks to Brian Aker for pointing this out.
2004-01-31 07:51:03 +00:00
Georg Richter
1baf3d3478 added nuw_rows property for statement object 2004-01-30 22:45:19 +00:00
Dmitry Stogov
4b74d4fbba Server part support for "document" style encoding was implemented 2004-01-30 16:32:53 +00:00
Dmitry Stogov
92aa602af0 Some tests from official SOAP 1.2 specification was added 2004-01-30 15:08:52 +00:00
Dmitry Stogov
b81645edd3 SOAP 1.2 specification conformity was improved 2004-01-30 15:07:19 +00:00
Dmitry Stogov
134faf074c Support for https:// through proxy was implemented 2004-01-30 09:26:56 +00:00
Sara Golemon
18588497d7 Fix potential bug in http:// proxy support.
Some proxy servers require entire URI be sent in request string.

Add context option "http"/"request_fulluri" to allow this behavior.
2004-01-30 00:24:18 +00:00
Dmitry Stogov
26cb17718c *** empty log message *** 2004-01-29 17:24:03 +00:00
Ilia Alshanetsky
4b1fadbf1c Proper configure switch for sqlite. 2004-01-29 17:21:16 +00:00
Dmitry Stogov
05114460ba Rollback: persistent PHP streams (dont work with "kafka") 2004-01-29 15:32:06 +00:00
Dmitry Stogov
c33d480386 PHP4 support
HTTP proxy support for PHP4
Using persistent PHP streams for HTTP connections
2004-01-29 15:11:16 +00:00
Dmitry Stogov
e439a1af7f fix: "Authors" corrected 2004-01-29 11:51:11 +00:00
Dmitry Stogov
5ab77a9268 Support for HTTP proxies was implemented 2004-01-29 11:26:52 +00:00
Derick Rethans
9d2f84e411 - Add our standard header 2004-01-29 09:27:06 +00:00
Dmitry Stogov
49b9c59518 Support for nonWSDL mode was improved (SoapVal,SoapVar,SOAPAction...) 2004-01-29 09:03:28 +00:00
Dmitry Stogov
c7cfe9f8e3 fix: possible crash was fixed 2004-01-29 06:37:51 +00:00
Ilia Alshanetsky
194509f093 Fixed bug #27007 (missing connection closure when connect fails in pgsql). 2004-01-29 02:54:30 +00:00
Rob Richards
109ea54871 fix corruption when cloneDocument is not defined 2004-01-29 00:33:20 +00:00
Marcus Boerger
37cf05d1b8 Update 2004-01-29 00:10:33 +00:00
Marcus Boerger
760e43e373 removed experimental status 2004-01-28 23:00:31 +00:00
Marcus Boerger
390ae1a8b8 - Fix second issue with #27042
- Little improvement
- Update test
2004-01-28 22:59:03 +00:00
Georg Richter
7782a4b425 removed experimental status
fixed bug in mysqli_data_seek (thx to Andrey "Effendi" Hristov)
various prototype fixes
moved some methods to properties which are part of mysql struct
added function mysqli_get_server_version
2004-01-28 22:51:54 +00:00
Sara Golemon
c603f3112e FTP dirstream_read should not leave whitespace/newlines on dirents 2004-01-28 22:50:12 +00:00
Sara Golemon
6d10371ec6 'Bug Fix': scandir, being a new function in PHP5 should have always been wrapper aware. 2004-01-28 22:21:54 +00:00
Ilia Alshanetsky
e691cbd4ee Fixed bug #27011 (64bit int/long confusion in preg_match*() functions). 2004-01-28 21:47:36 +00:00
Andrey Hristov
eaab3ef8cd this should not belong to HEAD 2004-01-28 20:25:30 +00:00
Dmitry Stogov
6cf3c8586e Error reoprting improved by prefix
New 'HTTP' fault code
Source cleanup
2004-01-28 16:47:49 +00:00
Martin Kraemer
01c6257c5c Bug fix: Images would be broken on big-endian machines because the putc
function wrote the first (instead of "the low order") byte. That resulted
in unexpected zero bytes.
2004-01-28 16:25:12 +00:00
Dmitry Stogov
381d4e4ffa Source cleanup 2004-01-28 13:36:31 +00:00
Dmitry Stogov
84f259b448 Test suite for XML Schema and SOAP encoding/decoding 2004-01-28 13:33:48 +00:00
Dmitry Stogov
43f0131ea1 Source cleanup 2004-01-28 13:31:28 +00:00
Dmitry Stogov
2238e4b9f0 Add namespaces to <Envelope> (not ot subnodes) 2004-01-28 13:30:21 +00:00
Antony Dovgal
fab593566e two fixes:
-oci_lob_load shouldn't reset LOB's length to zero
-Oracle feels bad, but reports no error, when trying to erase LOB with offset bigger than LOB
2004-01-28 07:15:55 +00:00
Ilia Alshanetsky
7bbe518f8b Fixed bug #27058 (crash in sybase_connect() with 2 arguments). 2004-01-28 01:43:45 +00:00
Ilia Alshanetsky
472a3a2446 Fixed bug #27056 (ints used instead of longs inside some GD functions). 2004-01-28 01:36:53 +00:00
Andrey Hristov
463f510796 message about that mysql_list_tables() is deprecated 2004-01-27 23:14:42 +00:00
Dmitry Stogov
4af9e35316 fix: HTTP keep-alive 2004-01-27 16:19:22 +00:00
Dmitry Stogov
c10038a9ee enabling HTTP status code 100 (used by Delphi SOAP) 2004-01-27 16:07:58 +00:00
Dmitry Stogov
a6c94a8bf9 SOAP Fault uses HTTP status code 500 2004-01-27 15:49:34 +00:00
Dmitry Stogov
1b6f176281 Support for relative path in WSDL and XML Schema <import> 2004-01-27 15:48:19 +00:00
Georg Richter
692726cdd3 changed prototype mysql_dataseek from void to bool
add check for specified offset
2004-01-27 13:56:03 +00:00
Georg Richter
429aa55248 prototype fixes
removed method field_tell (which is already property current_field)
2004-01-27 13:23:54 +00:00
Dmitry Stogov
5294a539e2 Allow <element>s with same names 2004-01-27 12:07:57 +00:00
Dmitry Stogov
6eeec41c4d fix: error handling 2004-01-27 10:24:48 +00:00
Dmitry Stogov
3787c94c2a XML Schema support was improved
support for <attribite> default and fixed values
	support for encoding of list elements
2004-01-27 10:23:20 +00:00
Dmitry Stogov
b0b60d945f Proper handling of SOAPAction in SOAP 1.1 and SOAP 1.2 2004-01-27 06:54:14 +00:00
Marcus Boerger
a43693eaf0 Must use zval* here 2004-01-26 23:59:50 +00:00
Marcus Boerger
617b8df6c0 Remove test code 2004-01-26 23:20:00 +00:00
Marcus Boerger
5ac404eb64 Fixed bug #27042 (SPL: SeekableIterator seek() broken). 2004-01-26 22:30:25 +00:00
Georg Richter
c139c48a99 fixed compiler warning (thx to Marcus Boerger) 2004-01-26 20:08:16 +00:00
Dmitry Stogov
d23a557d9d <Fault> encoding was changed 2004-01-26 17:14:32 +00:00
Dmitry Stogov
c25df9d8c6 fix 2004-01-26 17:14:07 +00:00
Dmitry Stogov
1e5ebeb95d Support for SOAP 1.2 Fault/Code/Value and Fault/Reason/Text 2004-01-26 17:11:05 +00:00
Dmitry Stogov
fd773c92cb fix: memory leaks 2004-01-26 16:20:19 +00:00
Dmitry Stogov
9387d78fd0 SOAP 1.2 Fault support (Code,Reason,Datail instead of faultcode,faultstring,...) 2004-01-26 16:19:29 +00:00
Antony Dovgal
6fe26e966d change to use different allocator (Sascha, thanks =) ) 2004-01-26 15:42:24 +00:00
Antony Dovgal
83a1eaf75a fix this annoying notice about limited range 2004-01-26 15:25:32 +00:00
Antony Dovgal
f64928bdce improve debug messages 2004-01-26 15:21:52 +00:00
Dmitry Stogov
fbead642ad Support for SOAP 1.2 RPC binding (<rpc:result>) 2004-01-26 15:13:45 +00:00
Dmitry Stogov
adb3562d8e XML Schema support was improved
support for unsignedLong standard type was fixed
  restrictions checking was disabled
  support for standard list types (IDREFS, IDS, NOTATIONS)
2004-01-26 15:12:34 +00:00
Antony Dovgal
9fcb1dd2c9 oops =(
forgot these brackets..
2004-01-26 14:02:08 +00:00
Antony Dovgal
15f22a5796 fix oci_field_type_raw's proto
oci_collection_element_get should return FALSE only if there is no such element and NULL, if it's null
2004-01-26 13:59:42 +00:00
Adam Dickmeiss
79d42d1e91 New function yaz_es that creates Z39.50 Extended Service Package to
facilitate record update, database create, database drop.
2004-01-26 13:40:52 +00:00
Georg Richter
5066f521db proto fixes
removed mysqli_read_query_result (will be removed in libmysql)
2004-01-26 13:38:13 +00:00
Dmitry Stogov
6309dd4c26 Apache namespace was removed 2004-01-26 09:51:45 +00:00
Dmitry Stogov
e3cfa02b4e XML Schema support (decoding of xsi:nil with attributes)
Source Cleanup
2004-01-26 09:51:07 +00:00
Marcus Boerger
7e6b108a96 Add README 2004-01-26 08:37:23 +00:00
Marcus Boerger
ed650274eb We are in c not c++ 2004-01-26 07:52:52 +00:00
Georg Richter
85510ff3a1 more prototype fixes.
fixed a bug in mysqli_send_long_data
2004-01-26 07:39:57 +00:00
foobar
f869e198e8 - Fixed compile problem with CURLOPT_HTTPAUTH 2004-01-26 04:59:59 +00:00
Moriyoshi Koizumi
b2402396a9 - Suppress a compiler warning by a rather useless typecasting. 2004-01-26 00:27:24 +00:00
Moriyoshi Koizumi
e226ed0e21 - Fix bug #26699 (mbstring encoding types does not include "binary"). 2004-01-26 00:19:25 +00:00
foobar
03e4695d3d - Fixed bug #27040 (passing an array of form-fields to CURLOPT_POSTFIELDS does not work). 2004-01-26 00:16:16 +00:00
Timm Friebe
426c34b355 - Initial release 2004-01-25 20:04:24 +00:00
Timm Friebe
64ef58f483 - Added test for case when incorrect argument type is
passed to sybase_set_message_handler()
2004-01-25 20:04:08 +00:00
Timm Friebe
35409efd9a @- Added ability to define a message handler not only globally, but also
@  per connection (Timm)
@- Made sybct.login_timeout changeable at runtime (Timm)
@- Added ini option sybct.packet_size which lets you control the packet
@  size (Timm)
2004-01-25 20:03:10 +00:00
Marcus Boerger
0711fdcede Show supported classes & interfaces in -i and phpinfo() 2004-01-25 17:30:19 +00:00
Ard Biesheuvel
86fe4ab6a1 CS 2004-01-25 15:08:31 +00:00
Marcus Boerger
bec76cab71 Update examples 2004-01-25 13:03:24 +00:00
Ard Biesheuvel
eb7aca4ea8 Check for both Firebird 1+ and Interbase/FB1 2004-01-25 12:03:24 +00:00
Georg Richter
a2380e901b prototype fix for mysqli_fetch 2004-01-25 12:01:36 +00:00
foobar
2a05750281 Fixed bug #27020 (Compile failure; sys/select.h: No such file or directory) 2004-01-25 06:09:36 +00:00
Ard Biesheuvel
6b8c406481 Changed prototypes to allow parsing of string literals and constant strings
Minor CS/WS
2004-01-25 00:30:50 +00:00
Marcus Boerger
8045b9c6fd TSRM fix 2004-01-24 17:07:50 +00:00
Timm Friebe
e36cfeb0a9 - Added test on char type 2004-01-24 15:18:52 +00:00
Georg Richter
ed135edbda prototype fixes 2004-01-24 14:38:16 +00:00
Timm Friebe
c5df5b7507 - Initial release 2004-01-24 02:54:33 +00:00
Timm Friebe
96b80f86a1 - Initial release 2004-01-24 02:42:26 +00:00
Timm Friebe
095e82fe28 - Initial release 2004-01-24 02:18:13 +00:00
Timm Friebe
4cb85d4bc1 @- Fixed bug #22403 "PHP crashes when executing a sql procedure without
@  parameters" (Timm)
@- Fixed memory leak in sybase_set_message_handler() (Timm)
# Fixed bug with large numerics correctly (initial fix in r. 1.76 failed
# for MAX_LONG + 1, for example)
2004-01-24 02:17:42 +00:00
Andrey Hristov
9957fc6305 Added third parameter (optional) to array_keys for strictness. It behaves
like the "strict" parameter of in_array().
#Closing feature request #24258
2004-01-24 00:25:58 +00:00
Marcus Boerger
eff2006e4e Fix this example 2004-01-23 22:33:45 +00:00
Marcus Boerger
4c0b1fddab Builtin recursion protection (by disallow to follow links by default). 2004-01-23 21:33:56 +00:00
Marcus Boerger
bd294582c3 Fix. Found by adam 2004-01-23 21:03:20 +00:00
Dmitry Stogov
3eb16bc3a9 fix 2004-01-23 15:34:52 +00:00
Dmitry Stogov
2a5593dd0d disabling import if file was already loaded 2004-01-23 15:29:59 +00:00
Dmitry Stogov
695436b709 XML Schema support was improved
support for type extension
	support for attribute encoding/decoding
	support for SOAP 1.2 array encoding/decoding
2004-01-23 14:43:15 +00:00
Dmitry Stogov
6277204a35 XML Schema support was improved
suport for type extension
2004-01-23 09:15:58 +00:00
foobar
ad1ccd68eb typofix (thanks to Mehdi Achour for noticing this) 2004-01-23 07:02:15 +00:00
foobar
6a1d0114a7 Silence some compile warnings 2004-01-23 03:28:59 +00:00
Rob Richards
b5e7a6dae0 update test 2004-01-22 22:12:21 +00:00
Marcus Boerger
95c15b024a Add new test 2004-01-22 21:55:09 +00:00
Marcus Boerger
66ed0a49fa Update tests 2004-01-22 21:47:54 +00:00
Rob Richards
bc2521b662 Fix bug #27010: segfault after returning nodes with children()
Fix segfault in match_ns when matching prefix and node without ns
some general cleanup and code consilidation
better write handling - engine support dependent
better isset handling - engine support dependent
namespace fixes for reading/writing
2004-01-22 21:30:14 +00:00
Rob Richards
7e619b7f5f update constructors so they cant be called statically 2004-01-22 21:16:05 +00:00
Dmitry Stogov
ec2950854a XML Schema support was improved
support for content model (<sequence>,<all>,<choice>)
	support for top-level <group>
	support for <group> 'ref' attribute
	support for content model encoding/decoding (incomplete)
	support for attribute encoding/decoding (incomplete)
	support for <attribute> with inline anonymous <simpleType>
2004-01-22 15:58:03 +00:00
Pierre Joye
0dd6bd1d9f - Update examples to studlyCaps syntax 2004-01-22 15:45:50 +00:00
Antony Dovgal
a729ce0434 add collections support to win32 build 2004-01-22 14:42:17 +00:00
Antony Dovgal
dbb29baefe add missing protos
and some minor changes
2004-01-22 08:39:50 +00:00
Antony Dovgal
261726099c MFB
oci_lob_save() should be removed indeed, but we're already in feature freeze =(
2004-01-22 08:05:14 +00:00
foobar
8cd863f738 test case for bug #26938 2004-01-21 22:48:28 +00:00
Ilia Alshanetsky
17d420e5f7 Fixed bug #26938 (exec() has problems reading long lines). 2004-01-21 16:57:13 +00:00
Antony Dovgal
02ded9766a *change constant name, coz it doesn't comply with others
*add constant's alias, coz others do have aliases
*change protos (oops =))
*add notices to collection functions
*change coll_element_get & coll_assign to inform user, that this type of element is not supported yet.
2004-01-21 16:18:58 +00:00
Dmitry Stogov
abeaffbde6 Source cleanup 2004-01-21 16:04:37 +00:00
Rob Richards
a4c2f31751 Fix namespace regression bug
Read attributes correctly
Update sxe_prop_dim_exists logic
Update profile
2004-01-21 14:04:47 +00:00
Dmitry Stogov
a592b7ef0a XML Schema support was improved
xml tree cleanup (save memory and parsing time)
	support for <inclide> and <import>
	support for top-level <attribute>
	support for <attribute> 'ref' attribute
	support for top-level <attributeGroup>
	support for <attributeGroup> 'ref' attribute
2004-01-21 14:00:55 +00:00
Antony Dovgal
c375c68073 fix potential segfault in oci_lob_write()
change oci_lob_trim() - truncate length should be 0 by default.
2004-01-21 12:30:05 +00:00
Rob Richards
500fa86c1b Fix Bug #26976 (Can not access array elements using array indices)
return index 0 as non iterable object
update test
2004-01-21 11:32:30 +00:00
Ard Biesheuvel
8992afd3dc MFB 2004-01-21 10:22:04 +00:00
John Coggeshall
1bad08a80f Moving the OO syntax to studlyCaps.
I am *not* changing this back :)
2004-01-21 10:19:56 +00:00
Jon Parise
9dd817bbd6 Adding dependencies on sqlite.h for the rest of the source files in the
libsqlite distribution.
2004-01-21 08:51:28 +00:00
Marcus Boerger
b77413bdd0 Fix TSRM 2004-01-21 07:07:34 +00:00
foobar
e23a1b8a5c Break out the test with first hit. 2004-01-21 05:04:30 +00:00
Sara Golemon
1fb629de8a Typo 2004-01-21 04:08:10 +00:00
foobar
56373e08d6 - Fixed bug #26973 (*printf() + modifier broken) 2004-01-21 04:00:07 +00:00
foobar
6f56bc3b8d extend a bit 2004-01-21 03:58:30 +00:00
foobar
d7a54202d8 test case for bug #26973 2004-01-21 03:49:15 +00:00
foobar
21d5052f70 typo fix 2004-01-21 03:18:13 +00:00
foobar
4716c724d2 test for bug #26976 2004-01-21 03:17:07 +00:00
foobar
bdd3b13c53 Goto targets should not be indented (some compilers choke on this, iirc) 2004-01-21 01:09:41 +00:00
Marcus Boerger
3b207ccb12 Add cvs tags 2004-01-20 20:59:45 +00:00
Marcus Boerger
fe03687b00 Fix a warning 2004-01-20 20:16:30 +00:00
Marcus Boerger
b0320c6032 Prevent shared builds under windows too 2004-01-20 19:49:21 +00:00
Wez Furlong
8691f86cb8 default to compiled in to match unix. 2004-01-20 17:18:41 +00:00
Dmitry Stogov
67886b8321 XML Schema support
- support for <element> 'ref' attibute was implemented
  - support for inline types
  - support for <list> and <union> (incompleate)
2004-01-20 16:30:38 +00:00
Rob Richards
a4815f7c8e Warn when empty string supplied to load methods (by Pierre-Alain)
Fix refcount on xpath iterators
xpath_query should return nodelist even when empty
2004-01-20 11:35:32 +00:00
Wez Furlong
42110742b7 update todo part of readme 2004-01-20 11:01:16 +00:00
Marcus Boerger
920358a0cc Fix warning (and possible problem) 2004-01-20 07:27:47 +00:00
Sterling Hughes
bd306c8b52 - 2004-01-20 05:31:50 +00:00
Frank M. Kromann
0d6fcd02cb Fix compilation of simplexml when spl is build as shared object 2004-01-19 23:44:03 +00:00
Frank M. Kromann
25cb3d01d5 Fix compilation of spl as shared object 2004-01-19 23:43:03 +00:00
Christian Stocker
6b70f9d1b3 Fix leaks in dom_xpath_query (create retval only if requiered) by Pierre-Alain 2004-01-19 21:08:29 +00:00
Christian Stocker
00af01bb94 fixes segfault, if file doesn't exist (by Pierre-Alain) 2004-01-19 20:54:40 +00:00
foobar
dde4c166c9 - Make sure srand() / mt_srand() are really called. 2004-01-19 19:01:17 +00:00
Ilia Alshanetsky
39b62f26cf Fixed bug #26967 (make various file operations return FALSE on error). 2004-01-19 18:40:39 +00:00
Christian Stocker
ab26ac118d really fix this test... 2004-01-19 17:38:47 +00:00
Christian Stocker
efed27ae1b fix test 2004-01-19 17:35:38 +00:00
Christian Stocker
d4488ccf2d Cosmetics and NEWS entry 2004-01-19 17:27:22 +00:00
Moriyoshi Koizumi
e4d90e60fc - Turn off mbstring.func_overload as this test uses plain strlen() for
comparison.
2004-01-19 16:53:34 +00:00
Dmitry Stogov
039d88ac99 XML Schema support was impoved 2004-01-19 16:40:37 +00:00
Christian Stocker
23b30e9a30 @- added XsltProcessor->registerPhpFunctions() (Christian)
without that method call, it is not allowed to call php functions from
xslt stylesheets for security reasons.
2004-01-19 15:07:08 +00:00
Christian Stocker
c0a1f294e9 adjust test 2004-01-19 15:00:59 +00:00
Christian Stocker
04c2e1e8c4 fix typo 2004-01-19 11:07:19 +00:00
Marcus Boerger
6b8f137905 Must be buitin 2004-01-19 08:48:30 +00:00
Marcus Boerger
10d48448a4 Add spl_sxe to prackage 2004-01-19 08:32:58 +00:00
Derick Rethans
ff86abeab6 - Being picky :) 2004-01-19 08:32:26 +00:00
Sebastian Bergmann
32f7ba2bd6 Add spl_sxe.c. 2004-01-19 08:31:16 +00:00
Dmitry Stogov
a68777e954 XML Scheam support 2004-01-19 07:22:53 +00:00
Ilia Alshanetsky
608db4728b Added fgetcsv() tests. 2004-01-19 03:55:29 +00:00
foobar
e0782e2519 - Moved php_srand() call into php_rand().
# Makes shuffle() and str_shuffle() to be random without having to
# call srand() in scripts.
# They don't internally call php_srand() at all and it would be silly
# to start adding php_srand() calls all over the place..
2004-01-19 03:14:58 +00:00
foobar
c7f8c84f36 - Fixed bug #26949 (rand(min,max) always returns min when ZTS enabled) 2004-01-19 02:30:54 +00:00
Marcus Boerger
3ee59febe7 Fix test by adding expectations 2004-01-19 00:27:06 +00:00
Marcus Boerger
a5d11dc943 Fix refcounting in ZE2 2004-01-19 00:26:33 +00:00
Marcus Boerger
ba4c4cddc2 Fix some warnings 2004-01-19 00:10:41 +00:00
Marcus Boerger
b0620b27be Rename header to prevent name clashes with external files 2004-01-18 23:35:13 +00:00
Marcus Boerger
a7974a876e Fix memory corruption 2004-01-18 23:22:20 +00:00
Marcus Boerger
f0aacc09d2 Fix a warning 2004-01-18 23:19:36 +00:00
Marcus Boerger
517c5f5fc5 Necessary as long as SPL is shared/dll 2004-01-18 22:20:54 +00:00
Marcus Boerger
c7c9c72d49 Update, id_l is unique 2004-01-18 21:11:55 +00:00
Marcus Boerger
90515ee22a Add spl interaction test. 2004-01-18 20:57:42 +00:00
Moriyoshi Koizumi
abfda09eda Fix fgetcsv() to reflect the change on 4.3.5 behaviour. 2004-01-18 20:29:34 +00:00
Marcus Boerger
c1df34cae0 Update 2004-01-18 19:55:50 +00:00
Derick Rethans
a3adb776ad - This define is not used anymore 2004-01-18 19:21:23 +00:00
Marcus Boerger
43ee98f9fa Not needed 2004-01-18 19:17:50 +00:00
Marcus Boerger
94e64e3d8b Fix problems with manual iteration 2004-01-18 16:25:26 +00:00
Timm Friebe
348abec29d - Fixed compiler warnings (int format, long int arg) 2004-01-18 16:01:02 +00:00
Marcus Boerger
309f54384d Add class SimpleXMLIterator 2004-01-18 15:33:38 +00:00
Marcus Boerger
913f5ce8ec Fix Warning 2004-01-18 15:21:49 +00:00
Marcus Boerger
8f4e9d9e42 Enable inherited classes inside SPL and respect order of module init. 2004-01-18 15:16:26 +00:00
Marcus Boerger
bb678c07b5 Use external files only in 001.phpt & tests for bugs 2004-01-18 15:14:03 +00:00
Marcus Boerger
9d5ef0070f Export access to class_entry by function. 2004-01-18 13:19:41 +00:00
Christian Stocker
743a830102 - fix for bug #26947 Crash by using DomDocument::getElementById() 2004-01-18 12:56:23 +00:00
Christian Stocker
c9bd0195a3 -test for more than one argument (this segfaulted before) 2004-01-18 12:30:52 +00:00
Marcus Boerger
0a210d7976 Fix some casing issues 2004-01-18 10:45:36 +00:00
Sterling Hughes
6bd7c45f74 update the tests proper-like 2004-01-17 21:47:43 +00:00
Sterling Hughes
594f6433af update the examples 2004-01-17 21:44:22 +00:00
Sterling Hughes
cb7e90119f namespace accesses are now soley URI based as opposed to prefix based. 2004-01-17 21:22:26 +00:00
Jon Parise
e91fdf570f Make the compilation of vdbeaux.c dependent on the generation of sqlite.h.
An incremental 'make -j' build will now complete successfully.
2004-01-17 21:03:26 +00:00
Derick Rethans
c74bb58721 - Fix typoes 2004-01-17 20:20:18 +00:00
Jon Parise
c303c352d0 Spell 'element' correctly. 2004-01-17 20:02:01 +00:00
Marcus Boerger
9e29f17493 Major bugfix for consistency.
# After long discussions we came to a conclusion on how to make this
# extension consistent in itself.
# Thanks to Rob for all the work
2004-01-17 19:41:32 +00:00
Marcus Boerger
1ee90db6e6 No longer needed
# Found by Andrey
2004-01-17 18:04:06 +00:00
Andrey Hristov
8b763f14b7 HEAD is bundled with ZE2 2004-01-17 17:44:27 +00:00
Marcus Boerger
4ee7ba05bc Drop the external xml files no longer needed 2004-01-17 17:34:22 +00:00
Andrey Hristov
9e5df0c666 HEAD is now bundled only with ZE2 2004-01-17 17:33:11 +00:00
Marcus Boerger
c28af3a660 No external xml files 2004-01-17 17:33:10 +00:00
Marcus Boerger
253c97fbfe Don't use external xml files 2004-01-17 17:24:58 +00:00
Sterling Hughes
d022278068 remove the parser errors here, so they accurately reflect what should happen. 2004-01-17 16:39:52 +00:00
Marcus Boerger
665a834a76 Fix parameter list and protos 2004-01-17 16:36:04 +00:00
Marcus Boerger
9c2e37e89a Add test for inherited simplexml classes 2004-01-17 15:57:06 +00:00
Marcus Boerger
9df72efb7c Make inherited sxe classes work 2004-01-17 15:56:29 +00:00
foobar
f4983c0d3f - Renamed all *php4* files to *php5*, changed all php4/PHP4 to php5/PHP5 2004-01-17 13:00:38 +00:00
Tim Toohey
b851f37123 (gdImageSetPixel) Tidied 'normal' blending effect
# libgd-2.0.12 fixed the problem with alpha-blending on semi-transparent backgrounds so
# gdFullAlphaBlend() and friends are no longer needed
2004-01-17 09:19:14 +00:00
foobar
2c71464b40 Fixed bug #26923 (ext/imap: pam and crypt libraries missing when build as shared) 2004-01-17 00:00:11 +00:00
Wez Furlong
a017b4c5e6 update file for win32 build 2004-01-16 23:48:39 +00:00
Sterling Hughes
a895106606 update the profile of how namespaces should work after discussions with
shane and rob richards.  there were a lot of race conditions with regards
to the way namespaces have been handled in XML documents so far, this new
method removes the race conditions, and gives me a real reason to add the
children() and attributes() methods.
2004-01-16 22:26:09 +00:00
foobar
b6b3443d0a - Fixed bug #26640 (__autoload() not invoked by Reflection classes)
# Also removed double call of reflection_register_implement() on
# reflection_extension_ptr.
# Fixed also case-insensitive lookup of property names,
# now Reflection_Property('Classname', 'FooBar'); works too.
2004-01-16 21:11:58 +00:00
Sterling Hughes
7f5b508f26 Add a "profile" of simplexml's expected behaviour in the form of tests.
This will be expanded as issues arise and will be a formal definition
(in code) of simplexml's behaviour.
2004-01-16 20:50:29 +00:00
foobar
69e6b296e0 Kill warning (bug #26937) 2004-01-16 19:11:33 +00:00
foobar
07cf808861 Added test case for bug #26640 2004-01-16 18:24:31 +00:00
Ilia Alshanetsky
d8d76f0fcc Update TODO 2004-01-16 17:50:02 +00:00
Ilia Alshanetsky
1d86ea8851 Added missing skip condition. 2004-01-16 15:16:26 +00:00
Dmitry Stogov
4add085d23 fix 2004-01-16 15:06:23 +00:00
Dmitry Stogov
1dcf2467cf WSDL support was improved
support for message/part element attribute was implemented
 support for portType operation input/output name attribute was implemented
2004-01-16 12:31:10 +00:00
foobar
99bc88b7c0 Fix the mime_magic.debug option init 2004-01-16 11:15:13 +00:00
Antony Dovgal
88ccaf664e Add myself at last =) 2004-01-16 10:03:27 +00:00
Dmitry Stogov
9bf8d5bfe9 faultcode/faultstring mismatch was fixed 2004-01-16 07:55:27 +00:00
Dmitry Stogov
7e19a67247 Support for SOAP 1.2 HTTP binding namespase was added 2004-01-16 07:54:48 +00:00
Dmitry Stogov
501ac09f08 Tests where updated. 2004-01-16 07:12:23 +00:00
Dmitry Stogov
ad648d82e5 SOAP 1.2: enc:id & enc:ref attributes support and fault codes (Sender/Receiver) where implemented 2004-01-16 07:11:59 +00:00
Ilia Alshanetsky
0715651785 Fixed Bug #26927 (preg_quote() does not escape \0). 2004-01-16 02:29:50 +00:00
Marcus Boerger
a19a36551b Fix shutdown 2004-01-15 21:30:31 +00:00
Pierre Joye
5ecbbf0a8d - Fix the php dependency
(wide copy/paste is not that good no? ;) )
2004-01-15 19:33:10 +00:00
Dmitry Stogov
d0f5bd0b68 SOAP 1.2 support was improved 2004-01-15 16:56:29 +00:00
Antony Dovgal
649b844c3c Fix bug #26892, ORA-21301 in ocinewcollection() call.
pEnv should be initialized in object mode too.
2004-01-15 15:06:57 +00:00
Dmitry Stogov
7c01c773b0 Support for SOAP 1.2 array encoding/decoding was implemented 2004-01-15 13:20:58 +00:00
Dmitry Stogov
ef9e734593 SOAP 1.2 support was improved 2004-01-15 10:59:24 +00:00
Marcus Boerger
43b0a9e96b Drop userspace iteration correctly.
# People if you do such things then please fix the class tree.
2004-01-15 09:28:01 +00:00
Dmitry Stogov
fb52edb194 SOAP 1.2 support was improved 2004-01-15 08:38:14 +00:00
foobar
ad11617f29 Fix typo 2004-01-15 06:30:23 +00:00
foobar
124e6c8b6d - Fixed bug #26844 (ext/mime_magic: magic file validation broken). 2004-01-15 06:09:16 +00:00
Ilia Alshanetsky
827a79ad8d Fixed bug #26909 (crash in imap_mime_header_decode() when no encoding is
used).
2004-01-15 00:35:04 +00:00
Marcus Boerger
6915f5a2f5 This is no longer usefull in any way. 2004-01-14 22:07:28 +00:00
Ilia Alshanetsky
b3853af0b7 MFH: Fixed bug #26911 (crash in sqlite extension when fetching data from
empty queries).
2004-01-14 21:17:09 +00:00
Rob Richards
8a40a946de test user define namespace aliases 2004-01-14 19:00:16 +00:00
Ilia Alshanetsky
02ea3938be touch generated parser. 2004-01-14 17:53:07 +00:00
Ilia Alshanetsky
6e350b553b Upgraded bundled libsqlite to 2.8.11 (fixed critical bug of *NIX systems). 2004-01-14 17:08:27 +00:00
Dmitry Stogov
49b698c67e WSDL: restrictions support (whiteSpace, minLength, maxLength, length) 2004-01-14 16:24:09 +00:00
Dmitry Stogov
51cbc1f84f array/object encoding 2004-01-14 15:36:01 +00:00
Dmitry Stogov
fc69cc8ccf SOAP message must not contain a Document Type Declaration 2004-01-14 15:35:27 +00:00
Wez Furlong
09fb5dc1e6 Remove stale code from flock();
spotted by Hartmut.
2004-01-14 14:37:38 +00:00
Wez Furlong
cd4262eedd Fix #26772: fgets returns NULL instead of FALSE. 2004-01-14 14:25:01 +00:00
Dmitry Stogov
8f0ea19fcb WSDL: encoding rpc/document and encoded/literal 2004-01-14 12:49:02 +00:00
Wez Furlong
39ac35b083 touch 2004-01-14 12:47:04 +00:00
Wez Furlong
c69945961f fix crash when throwing an exception 2004-01-14 12:19:17 +00:00
Pierre Joye
bbc746c29c - Fix package.xml file 2004-01-14 10:24:26 +00:00
Andi Gutmans
3286cb35bd - Remove use of bogus macro 2004-01-14 08:50:02 +00:00
John Coggeshall
f3932751d8 Apparently MSVC is not C99 compatible making variable marco arguments
in the TIDY_THROW() marco broken in (at least) Win32. This provides a suitable
workaround for non-C99 compatible compilers.
2004-01-14 08:15:57 +00:00
John Coggeshall
0878fa901f Doh.. snuck by me! 2004-01-14 06:57:51 +00:00
John Coggeshall
a06377c32d Forgot to add these tests 2004-01-14 06:57:23 +00:00
John Coggeshall
6048907029 With the approval of Andi, changing the Tidy API to reduce the possible
amount of confusion when setting Tidy configuration options. All
configuration must now be done pre-parsing of the document. Removed
references to the tidy_attr class, as it is no longer used (since tidy 2.0)
and made tidy throw exceptions for all truly non-fatal errors.
2004-01-14 02:43:33 +00:00
Ilia Alshanetsky
43becc02f1 Fixed bug #26878 (problem with multiple references to the same variable
with different types).
2004-01-13 23:11:31 +00:00
Rob Richards
ad47abf0f6 add support for $foo["a:bar"]
fix xsearch to only return values for text,element and attribute nodes
fix getChildren and return array
remove most methods
update test
2004-01-13 21:28:41 +00:00
foobar
5b59254761 - Fixed bug #26896 (ext/ftp does not work as shared extension) 2004-01-13 18:58:23 +00:00
Dmitry Stogov
c708524676 FIX: memory leak 2004-01-13 17:43:09 +00:00
Dmitry Stogov
bee92aa395 WSDL: support for "http://schemas.xmlsoap.org/wsdl/soap12/" binding was added 2004-01-13 17:25:47 +00:00
Dmitry Stogov
86d0b7a1ed bugfix 2004-01-13 17:20:10 +00:00
Wez Furlong
c205153a0a reinstate this ifdef for people without .Net SDK 2004-01-13 16:05:38 +00:00
Wez Furlong
bba1ded0b2 Fix refcount on these return values to avoid a leak and allow object dtor's to be called.
This in turn prevents a massive slow-down in CoUninitialize which would have to
forcibly destroy the COM objects in request shutdown.
2004-01-13 16:02:56 +00:00
Dmitry Stogov
3961fec217 Source ceanup 2004-01-13 15:58:01 +00:00
Rob Richards
38f8ed0e0a fix getElementsByTagName and getElementsByTagNameNS - allow * 2004-01-13 14:13:21 +00:00
Dmitry Stogov
98ff80dba9 WSDL: support for multiple services/ports/bindings was implemented 2004-01-13 13:50:09 +00:00
Wez Furlong
4573a562a3 Fix leaking constructors.
Implement a cache for method signatures and DISPID's to
greatly improve performance when repeatedly accessing
members with the same names.
2004-01-13 13:38:11 +00:00
Dmitry Stogov
5ebcab9da3 Check for "<?xml" header was removed 2004-01-13 10:27:13 +00:00
Dmitry Stogov
ccd3f39e98 WSDL support: using types before declaration was fixed 2004-01-13 10:26:44 +00:00
Dmitry Stogov
fceb95f12a XML parsing warnings and notices were disabled. 2004-01-13 09:31:50 +00:00
Dmitry Stogov
51c86ab73f Support for WSDL <operation> without <input> message 2004-01-13 07:59:13 +00:00
Dmitry Stogov
964d9c586d HTTP Cookies support (see interop round2 base kafka) 2004-01-13 07:57:29 +00:00
Sara Golemon
af4f949483 Don't even define this. 2004-01-13 05:30:53 +00:00
John Coggeshall
646389a1ff Whoops... Ilia forgot a ')' 2004-01-13 05:23:07 +00:00
Wez Furlong
b7d0b397bc Support automatic handling of byref parameters 2004-01-13 00:40:14 +00:00
Ilia Alshanetsky
47dddfa4ff Fixed a bug that would cause the sqlite session database to grow endlessly. 2004-01-12 22:48:58 +00:00
Ard Biesheuvel
fad3a6e42f More handsome solution for previous fix 2004-01-12 20:03:49 +00:00
Ard Biesheuvel
961f398db5 Added sanity check on ibase_[p]connect() dialect argument (fixes obscure unregistered bug) 2004-01-12 19:47:28 +00:00
Martin Kraemer
a116666bc4 Avoid duplicate symbols; definition is in bz2.c 2004-01-12 16:30:55 +00:00
Dmitry Stogov
ebc3266327 fix 2004-01-12 16:15:37 +00:00
Dmitry Stogov
6285b174c1 fix 2004-01-12 16:08:24 +00:00
Dmitry Stogov
3afeac3627 Date comparsion was fixed to compare dates with different time zones. 2004-01-12 15:18:13 +00:00
Dmitry Stogov
d32ef43c3a Timezone support 2004-01-12 15:15:48 +00:00
Dmitry Stogov
a02de43dbb Small error reporting fixes 2004-01-12 15:15:26 +00:00
Dmitry Stogov
6b32938b20 WSDL support: schema import 2004-01-12 12:54:22 +00:00
Dmitry Stogov
29fe458872 WSDL support: support for wsdl import 2004-01-12 11:46:01 +00:00
John Coggeshall
9116f27504 This was way out of date. 2004-01-12 10:02:04 +00:00
Dmitry Stogov
2b0ed79607 WSDL support: use of type before declaration (see interop round2 base OpenLink echoStructArray) 2004-01-12 08:48:00 +00:00
Marcus Boerger
3fb99f62e0 Synch mysql_fetch_object with mysqli, sqlite and pgsql 2004-01-12 02:34:55 +00:00
Marcus Boerger
d129242ad5 Add some tests 2004-01-12 02:31:08 +00:00
Marcus Boerger
635e3b1980 Proto fix 2004-01-12 00:34:37 +00:00
Marcus Boerger
9c41d8e7b5 No longer needed 2004-01-12 00:21:14 +00:00
Ilia Alshanetsky
3b7da77480 Fixed bug #26864 (pg_(update|delete) ignore PGSQL_DML_EXEC option). 2004-01-11 21:18:19 +00:00
Andrey Hristov
4b2a32b701 fixing test 2004-01-11 11:55:33 +00:00
Rui Hirokawa
de07b4bbc1 added utf8 support option for sqlite >= 2.8.9. 2004-01-11 02:07:46 +00:00
Tal Peer
a3dc201d1e typos 2004-01-10 23:49:26 +00:00
Andrey Hristov
9ca6b7448d fixing tests after last Derick's commit that changed the behaviour of
var_export() :)
2004-01-10 23:38:45 +00:00
Ilia Alshanetsky
0e32fbb4dd Do not run test if session extension is not avaliable. 2004-01-10 18:32:46 +00:00
Marcus Boerger
cc5773e775 Update attribute tests.
# There is a memory leak with += when accessing the attributes directly
# But yet ->elem[$n] is not fails in the engine
2004-01-10 13:45:10 +00:00
Marcus Boerger
fffdd96865 - Cleanup class_entry
- allow derived classes
- fix new SimpleXML_Element()
2004-01-10 13:25:31 +00:00
Marcus Boerger
c66c9e7102 Fix memory corruption with libxml's error handling. 2004-01-10 13:23:58 +00:00
Rob Richards
840979858c Update tests 2004-01-10 11:50:49 +00:00
Rob Richards
394bf2ba5b XPath query returns nodelist object rather than array 2004-01-10 11:50:25 +00:00
Dmitry Stogov
170476d9ea BUGFIX: server006.phpt 2004-01-10 09:27:52 +00:00
Dmitry Stogov
1101a375c3 *** empty log message *** 2004-01-10 08:36:45 +00:00
Marcus Boerger
b460ae868e Use pg_config if it can be found. 2004-01-09 18:44:33 +00:00
Dmitry Stogov
9a3cdc6491 Source cleanup. 2004-01-09 18:22:03 +00:00
Dmitry Stogov
9f8d30f215 BUGFIX: WSDL support (complexType/complexContent/restiction/atttibute) 2004-01-09 16:36:13 +00:00
Dmitry Stogov
d9328fb38e BUGFIX: close string with smart_str_0() 2004-01-09 16:35:04 +00:00
Wez Furlong
5e57f973cc let soap build with php5 2004-01-09 15:31:09 +00:00
Wez Furlong
6ac364048b export tsrm id for session globals. 2004-01-09 15:30:07 +00:00
Wez Furlong
143ca63846 let informix build 2004-01-09 15:11:31 +00:00
Dmitry Stogov
6af0639c92 Tests were improved (https:// support) 2004-01-09 14:56:24 +00:00
Ilia Alshanetsky
caf47aee99 Fixed test 2004-01-09 14:27:14 +00:00
Ilia Alshanetsky
577439e975 Fixed build. 2004-01-09 14:23:35 +00:00
Dmitry Stogov
792b0e8f0b SOAP Encoding/Decoding were improved. 2004-01-09 14:16:30 +00:00
Edin Kadribasic
cf7afb8f18 Fix ZTS build 2004-01-09 14:13:46 +00:00
Dmitry Stogov
498254e17a Support for persistent HTTP connections was implemented (keep-alive) 2004-01-09 14:11:34 +00:00
Wez Furlong
9e229aa09d let mhash build 2004-01-09 13:42:14 +00:00
Sterling Hughes
5ca7c382c9 Remove these initializers as they are unused. 2004-01-09 06:12:29 +00:00
foobar
bbd9449e6b - Fix build 2004-01-09 04:22:42 +00:00
Ilia Alshanetsky
2736c55e3e Fixed bug #26847 (memory leak in mail() when to/subject contain only spaces) 2004-01-09 01:35:44 +00:00
Ilia Alshanetsky
f5a3f25159 Fixed compile failure of session extension is not present. 2004-01-09 01:05:01 +00:00
Sterling Hughes
406c2156d1 Fix dumping, when dumping a text element, for example:
<?php
$doc = simplexml_load_string('<?xml version="1.0"?>
<namelist>
 <name>
  <first>helly</first>
 </name>
 <name>
  <first>sterling</first>
 </name>
</namelist>');
var_dump($doc->name[0]->first);

Used to not display the node's content, now it does.
2004-01-08 22:40:08 +00:00
Wez Furlong
510dd7cca5 add optional dep on spl for simplexml.
Fix dep handling in buildconf
2004-01-08 21:53:48 +00:00
Marcus Boerger
3fc4dc44ae Add some minimalistic documentation 2004-01-08 21:14:38 +00:00
Marcus Boerger
526c6bd09c Fix windows build issue 2004-01-08 20:27:35 +00:00
Marcus Boerger
fb38ee26a4 Cannot use shared SPL 2004-01-08 19:30:37 +00:00
Marcus Boerger
6e798706e3 There's no more interaction with SPL 2004-01-08 19:28:55 +00:00
foobar
4293b03948 touch generated files 2004-01-08 19:17:50 +00:00
foobar
6ae12f1aa8 touch to make build work without lemon.. 2004-01-08 18:23:52 +00:00
Marcus Boerger
37d23de6d6 Fix dependancy 2004-01-08 18:23:03 +00:00
Marcus Boerger
0e5b87c5a2 Update copyright 2004-01-08 18:17:39 +00:00
Dmitry Stogov
807d4bebc6 Handling of "position" and "offset" array attributes was implemented 2004-01-08 17:42:32 +00:00
foobar
ccfc46b0aa - Happy new year and PHP 5 for rest of the files too..
# Should the LICENSE and Zend/LICENSE dates be updated too?
2004-01-08 17:33:29 +00:00
Wez Furlong
f83b27face fix tests for win32 2004-01-08 16:55:37 +00:00
foobar
17fd860e5e correct header 2004-01-08 16:47:18 +00:00
Wez Furlong
5294ef06c8 add new files to .dsp 2004-01-08 16:23:47 +00:00
Wez Furlong
2f6c4ce81d Update win32 build for new version of libsqlite 2004-01-08 16:18:38 +00:00
Dmitry Stogov
dd5ce0c4d7 SOAP versioning model was implemented (support for SOAP 1.1 and SOAP 1.2) 2004-01-08 15:27:50 +00:00
Ilia Alshanetsky
a4ea8eb44e Upgrade bundled libsqlite to 2.8.9 2004-01-08 14:25:01 +00:00
Dmitry Stogov
2cf3cb6407 Support for "xsd:anyType" was implemented 2004-01-08 12:32:28 +00:00
Dmitry Stogov
ecbad181b9 HTTP Authentication was implemented 2004-01-08 09:56:49 +00:00
John Coggeshall
962edd2d2e tidy_repair_string/file() don't get called from an existing tidy resource. 2004-01-08 09:21:05 +00:00
Andi Gutmans
dbeb4158d2 - A belated happy holidays and PHP 5 2004-01-08 08:18:22 +00:00
foobar
fa82c2afc4 Added missing constants (bug #26831) 2004-01-08 01:01:39 +00:00
Frank M. Kromann
64e404229b Fix ZTS build 2004-01-08 00:03:54 +00:00
Wez Furlong
772875537f win32 build:
gd should build shared by default
don't use php.ini when running mkdist.php
2004-01-07 23:36:36 +00:00
Wez Furlong
e10c206dac Port other major parts of PHP 4 COM extension into PHP 5 com_dotnet
extension.
This enables:
- iteration of SafeArray types via foreach()
- proxying of multi-dimensional SafeArray types so that multi-dimension
  array accesses work (untested!)
- Fix COM exceptions, and expose them as their own class of exception
  "com_exception"
- auto typelib file import (com.typelib_file ini option)
- event sinking
- wrapper to map PHP objects to COM
- fix mapping of variant values to PHP values

# Could someone please add com_saproxy.c and com_wrapper.c to the .dsp
# file?
2004-01-07 21:00:07 +00:00
Wez Furlong
48b96c10d2 glob-ify lib checks; this simplifies writing of config.w32 files a little. 2004-01-07 20:06:32 +00:00
Rob Richards
6e65e1d821 Fix bug #26815 (foreach (DOM) childnodes causes error using Xinclude)
update xinclude test
2004-01-07 15:33:25 +00:00
Ard Biesheuvel
ee8f019b68 Let DB handle NULL params, fixes bug #26777 2004-01-07 09:43:55 +00:00
foobar
03c09f200c no need for double #include of same header file 2004-01-06 22:23:36 +00:00
Zeev Suraski
215c3275de Fix C++ style declaration 2004-01-06 20:38:00 +00:00
Ilia Alshanetsky
d4c19ed2d2 Fixed bug #26819 (http_build_query() crashes on NULL output).
Fixed bug #26817 (http_build_query() does not handle private & protected
object properties correctly).
2004-01-06 20:07:07 +00:00
John Coggeshall
d900d73763 Added an optional array parameter to tidy_parse_file/string to
fix a bug. Apparently some libtidy config options must be set
prior to parsing in order to work properly.
2004-01-06 18:24:17 +00:00
Dmitry Stogov
107a87ca85 WSDL support was improved 2004-01-06 17:14:30 +00:00
Dmitry Stogov
ea2f4b7ac0 https:// support was implemented for PHP5 2004-01-06 17:12:52 +00:00
Ilia Alshanetsky
d2b89ae32b Revert proto 'fix'. 2004-01-06 15:45:52 +00:00
Moriyoshi Koizumi
06232e4818 Prevent a character from being wrongly doubled in the buffer. 2004-01-06 14:22:54 +00:00
Ilia Alshanetsky
10889a3084 Proto fixes. 2004-01-06 03:55:57 +00:00
Dmitry Stogov
de6184edee PHP5 support, better encoding and WSDL support, interop round 2 base and groupB 2004-01-05 16:44:01 +00:00
Moriyoshi Koizumi
27f47eb173 "seq" isn't available for all platforms. 2004-01-04 03:06:11 +00:00
Derick Rethans
6923a16c26 - Fixed var_export() to show public, protected and private modifiers properly.
- Exported (un)mangle_property_name.
2004-01-03 13:51:02 +00:00
John Coggeshall
4ddb3d194d Added examples for tidy v2.0 (in PHP5) and a few more tests.. 2004-01-03 05:23:24 +00:00
Ilia Alshanetsky
939a70a86d s/then/than/ Thanks Jani & Andi 2004-01-03 00:48:55 +00:00
foobar
0eead3672c ws + cs 2004-01-02 15:32:09 +00:00
foobar
2cf5871377 another ZTS fix 2004-01-02 14:09:49 +00:00
Marcus Boerger
0cd13bf423 Bugfix #26762 unserialize() produces lowercase classnames 2004-01-02 03:27:32 +00:00
Marcus Boerger
3ab7b87143 Add new test 2004-01-02 03:24:38 +00:00
foobar
3c73c91e7a fix ZTS build 2004-01-02 02:21:44 +00:00
Ilia Alshanetsky
6f7fe1dfa0 Fixed bug #26752 (Silent unterminated loop when length parameter for
fgets(), fread() and fgetss() is 0).
2004-01-02 00:57:23 +00:00
Marcus Boerger
6bfa014748 Fix ZTS build 2004-01-01 19:25:02 +00:00
Georg Richter
27319233e5 fixed bug(s) in macro call for statement properties 2004-01-01 15:46:39 +00:00
Georg Richter
1733557ac8 Added Macro for longlong values
added property stmt->affected_rows
2004-01-01 14:04:35 +00:00
Ilia Alshanetsky
b658a26874 emalloc() -> safe_emalloc() 2003-12-31 19:45:46 +00:00
Frank M. Kromann
0b91485ed5 Make sure zlib.lib is found 2003-12-31 19:28:31 +00:00
Derick Rethans
0cfadb914c - Fixed bug #26751 (PHP can't find the MySQL socket on a case sensitive file
system).
2003-12-31 11:27:52 +00:00
Andrey Hristov
2e474e90c3 proto fix 2003-12-31 10:56:32 +00:00
Georg Richter
c10072d067 fixed memleak and segfault when constructor call failed 2003-12-31 08:34:02 +00:00
Ilia Alshanetsky
f4a07dd9a5 Replace regular malloc with safe_emalloc in several places. 2003-12-31 01:01:44 +00:00
Georg Richter
51fc89e49c fixed a bug in mysqli_num_rows (added support for longlong values) 2003-12-30 19:19:13 +00:00
Georg Richter
17f6ef5106 fixed a bug in insert_id property 2003-12-30 19:08:33 +00:00
foobar
2b06ad1389 Fix the include path for Zend 2003-12-30 15:40:23 +00:00
Marcus Boerger
2fc7a07e62 Use __tostring() in all printing functions. 2003-12-29 22:26:48 +00:00
Marcus Boerger
c6755e8394 No Notices here 2003-12-29 22:24:01 +00:00
Rob Richards
66c68da22b Fixed bug #26743 (getElementsByTagName doesn't work properly) 2003-12-29 16:44:47 +00:00
Ilia Alshanetsky
fae56fca30 Removed a useless define. 2003-12-29 15:58:01 +00:00
Georg Richter
703921ab36 updated todo list (removed finished tasks) 2003-12-29 00:11:14 +00:00
Georg Richter
36b65c4ed0 fixed prototype for mysqli_bind_result 2003-12-28 22:26:59 +00:00
Derick Rethans
287834a5af - Fix typo 2003-12-28 21:56:15 +00:00
Ilia Alshanetsky
8ec2fd0c54 Last bit of CS fixes. 2003-12-28 21:08:46 +00:00
Ilia Alshanetsky
36db28c8db CS fixes. 2003-12-28 20:11:08 +00:00
Marcus Boerger
442c2b4eec Add a test 2003-12-28 16:26:21 +00:00
Marcus Boerger
1a48fd929d Fix a memleak
Improve error messages
2003-12-28 16:26:04 +00:00
Rui Hirokawa
05c78af854 revert my previous patch because utf-8 support is still in experimental status. 2003-12-28 14:38:28 +00:00
Rui Hirokawa
585a12d3be added warning message. 2003-12-28 14:26:57 +00:00
Rui Hirokawa
af9b015afc added a option to select character encoding for sqlite. 2003-12-28 14:07:33 +00:00
Georg Richter
95bda90038 fixed bug in properties for longlong values 2003-12-28 09:18:51 +00:00
Sara Golemon
4af0ba44d9 Test additional wrapper methods [unlink, rename, mkdir, rmdir, url_stat] 2003-12-28 01:06:38 +00:00
Moriyoshi Koizumi
3d618a2f00 Just laugh at me :) 2003-12-27 23:07:47 +00:00
Moriyoshi Koizumi
07469af0d9 - Add missing sanity check. 2003-12-27 23:05:23 +00:00
Marcus Boerger
01b255f0ef Correct in order 2003-12-27 22:16:13 +00:00
Marcus Boerger
a876c54d1c Bugfix #25329 2003-12-27 22:11:48 +00:00
Marcus Boerger
fd7fca402b Not needed 2003-12-27 21:57:16 +00:00
Marcus Boerger
da29458469 Add new test related to bug #25329. 2003-12-27 21:45:50 +00:00
Marcus Boerger
a84f8156ff Bugfix #25038 (call_user_func issues warning if function throws exception) 2003-12-27 21:10:34 +00:00
Rob Richards
c7e945888b fix libxml mem leak 2003-12-27 12:39:10 +00:00
Rob Richards
84b90f639d Fixed bug #26723 (domNode::appendChild() changes child node namespace)
apply fix to insertBefore and replaceChild
2003-12-27 10:29:52 +00:00
Ilia Alshanetsky
8d6cfb797b Synchronized bundled GD library with GD 2.0.17
. GD is now thread-safe thanks to wrappers around freetype library
 . Significant optimization to png writing code.
 . Miscellaneous fixes.
Fixed memory leak inside php_imagettftext_common()
Make ext/gd compile with GD 2.0.17+ (gdFreeFontCache() is not avaliable)
2003-12-25 22:12:12 +00:00
Antony Dovgal
12c7ae9f55 workaround for possible ORA-22280 warning if buffers were not flushed 2003-12-25 13:54:50 +00:00
Moriyoshi Koizumi
93cc95e9db - fixes for compatibility. now fgetcsv() treats a null line to be a single
null component.
2003-12-24 21:30:43 +00:00
Antony Dovgal
f95db00d6c separate oci_lob_flush() to use it in oci_lob_append() etc. in the future 2003-12-24 15:01:54 +00:00
Moriyoshi Koizumi
529dd348b6 - Supply some comments. Hope those help when you have to debug this dead beef.
- Fix iconv_mime_decode() to correctly handle "malformed" headers :)
- Fix iconv_mime_decode() bug, that the result is mangled when
  ICONV_MIME_CONTINUE_ON_ERROR is enabled and the function encounters an
  unconvertable encoded chunk.
2003-12-24 02:36:21 +00:00
Wez Furlong
cb6e4c5e13 Fix segfault in ZTS mode 2003-12-23 20:12:55 +00:00
Ilia Alshanetsky
20d64aa24e Make test work with PostgreSQL 7.4 2003-12-23 17:33:06 +00:00
Moriyoshi Koizumi
3b7dcf5e65 Those are not structures :-) 2003-12-23 17:10:54 +00:00
Ilia Alshanetsky
39df1011f1 Compiler warning fixes. 2003-12-23 17:08:44 +00:00
Ilia Alshanetsky
cf40d9243d Fixed compiler warnings. 2003-12-23 17:05:43 +00:00
Antony Dovgal
107221252c add oci_fetch_assoc(), oci_fetch_object(), oci_fetch_array() & oci_fetch_row()
change ocifetchinto() to use php_oci_fetch_row()
2003-12-23 16:02:53 +00:00
Antony Dovgal
7aac9069d4 huge patch
change almost all func names to match naming conventions
keep ocifetchinto & *buffering for awhile - they will be rewritten soon
old names are kept as aliases
2003-12-23 15:45:36 +00:00
Wez Furlong
46c4147ab7 enable inifile handler under new win32 build too 2003-12-23 14:05:33 +00:00
Antony Dovgal
cf45beedb5 do not delete connection ids, we need them 2003-12-23 09:21:14 +00:00
Wez Furlong
8d011cba6d fix API exports 2003-12-23 01:57:26 +00:00
Marcus Boerger
8a072165f5 Typos found by Petras Kudaras. 2003-12-22 23:45:53 +00:00
Frank M. Kromann
3aad8267a8 No need for these trick when linking with a correct cclient.lib 2003-12-22 23:30:20 +00:00
Marcus Boerger
68251516ad Fix test 2003-12-22 23:23:06 +00:00
Marcus Boerger
45277ec5d7 Preserve casing 2003-12-22 23:17:17 +00:00
Marcus Boerger
b89ce361fc Fix test 2003-12-22 23:15:34 +00:00
Marcus Boerger
717604ea70 Add more tests 2003-12-22 22:53:48 +00:00
Wez Furlong
d163ec27af Allow FrontBase to build against my local version of the headers 2003-12-22 22:41:59 +00:00
Wez Furlong
719d659e89 Proper header check for yaz. 2003-12-22 22:39:57 +00:00
Wez Furlong
fc292fc259 For GD, build the extension as php_gd2.dll instead of php_gd.dll.
Thanks again Frank :-)
2003-12-22 22:33:43 +00:00
Marcus Boerger
b58d371927 Fixed bug #26695 (Reflection API does not recognize mixed-case class hints)
# The exception part
2003-12-22 20:03:01 +00:00
Georg Richter
5bf9b63c5b beautifying :) 2003-12-22 17:00:54 +00:00
Georg Richter
ba7d400fa1 fixed bug #26680 2003-12-22 16:56:14 +00:00
Rob Richards
ab29ed006c rollback to previouos version
bug #26690 fixed in libxml.c
2003-12-22 16:49:54 +00:00
Rob Richards
620cb2e2eb only test url_stat in read mode 2003-12-22 16:46:26 +00:00
Ilia Alshanetsky
a8c58f1d79 Fixed bug #26690 (make xsltProcessor->transformToUri use streams wrappers). 2003-12-22 16:32:29 +00:00
Ilia Alshanetsky
1a53f3c5e0 Define INADDR_NONE for systems that don't have it (apparently solaris). 2003-12-22 16:00:52 +00:00
Ilia Alshanetsky
57b7eb9dc3 Missing bit for bug #26625. 2003-12-22 15:56:51 +00:00
Wez Furlong
3b450ec431 Add dependencies for these extensions 2003-12-22 13:16:43 +00:00
Jon Parise
85735c23c6 Correcting the description field. 2003-12-22 06:19:01 +00:00
Moriyoshi Koizumi
1b239fc970 - Fix multibyte handling errors in iconv_mime_encode() when quoted-printable
encoding scheme is used.
- Fix segfault that occurs in iconv_mime_encode() when input_charset or
  output_charset parameter is not specified in the associative array.
2003-12-22 01:30:00 +00:00
Ilia Alshanetsky
c8de14b375 Corrected argument parsing. 2003-12-21 18:46:15 +00:00
Ilia Alshanetsky
72da689340 Compiler warning fixes. 2003-12-21 18:22:14 +00:00
Ilia Alshanetsky
cba426ca13 Fixed uninitialized usage of mdtype when unknown signature algorithm is
found.
2003-12-21 18:17:20 +00:00
Wez Furlong
76828b3024 new win32 build tweaks 2003-12-20 01:44:53 +00:00
Wez Furlong
1402825b3d Moved ext/notes to PECL.
(win32 only, and doesn't build on snaps.php.net)
2003-12-19 17:13:20 +00:00
Antony Dovgal
f5bd0b73cf add tests to HEAD 2003-12-19 17:03:12 +00:00
Wez Furlong
51c342efae Make these build with new win32 build system. 2003-12-19 17:00:14 +00:00
Wez Furlong
836e786ddd Make xmlrpc build using our expat compat functions.
Would be good if someone could verify that it actually
works in this configuration.
2003-12-19 16:59:37 +00:00
Wez Furlong
19c8a69148 add config.w32 for ext/yaz
Edin: we need to update the yaz stuff in php-win32-dev
so that this extension will build.
2003-12-19 16:59:09 +00:00
Wez Furlong
06f448cf61 Export expat compat functions.
"Implement" XML_GetCurrentByteCount(); probably not 100%
correct, but the only usage of it is by xmlrpc extension when
reporting an error; it should be safe.
2003-12-19 16:57:36 +00:00
Derick Rethans
4845b205fc - Test commit 2003-12-19 15:29:34 +00:00
Dmitry Stogov
f06cbb764c Using INI section. 2003-12-19 15:09:40 +00:00
Wez Furlong
0c126e1233 make these build with new win32 build system.
mcve untested (I don't have those libs/headers)
2003-12-19 15:04:31 +00:00
Ilia Alshanetsky
90a5af75f6 Fixed memory leak in tidy_getopt() when fetching string values.
Removed unnecessary check in tidy_diagnose().
2003-12-19 14:24:59 +00:00
Ilia Alshanetsky
9f50065edd Fixed tidy tests. 2003-12-19 14:24:04 +00:00
Ilia Alshanetsky
c6b04cb48a Check correction (Thanks Andi). 2003-12-19 13:49:59 +00:00
Ilia Alshanetsky
c9a9dee298 Fixed bug #26667 (Added safety checks to ip2long()). 2003-12-19 13:33:51 +00:00
Wez Furlong
95c48c740c don't enable by default; causes simplexml build to fail 2003-12-19 13:02:57 +00:00
Wez Furlong
8da99a195e we only use zlib.lib 2003-12-19 12:54:49 +00:00
Wez Furlong
a599438a73 detect c-client headers correctly using Edin's php-win32-dev layout 2003-12-19 12:53:41 +00:00
Wez Furlong
441181e9c2 copy-n-paste error 2003-12-19 12:52:39 +00:00
Wez Furlong
6fd8bd2367 Explicitly depend on oleaut32.lib 2003-12-19 12:52:08 +00:00
Wez Furlong
2ad5943282 add prototype 2003-12-19 12:43:39 +00:00
Wez Furlong
085ceca8e1 be slightly nicer when defining R_OK 2003-12-19 12:41:24 +00:00
Dmitry Stogov
7c39ab9374 Memory limit overflow was fixed 2003-12-19 11:29:27 +00:00
Andrey Hristov
df4e15b153 test case for array_sum 2003-12-18 22:12:29 +00:00
Ilia Alshanetsky
79848fa885 Added sqlite_fetch_column_types() function. 2003-12-18 21:28:00 +00:00
Marcus Boerger
3203957864 Add this file too 2003-12-18 20:32:39 +00:00
Marcus Boerger
c69fb4133d dded qdbm handler (http://qdbm.sourceforge.net). 2003-12-18 20:25:21 +00:00
Marcus Boerger
0283b50316 Centralize ability to drop APPEND flag. This probably fixes some ini file
issues.
2003-12-18 20:14:15 +00:00
Marcus Boerger
a6dd097484 Improve dba tests: check in both modes external and database locking. 2003-12-18 20:10:24 +00:00
foobar
48200cbee6 ws & cs 2003-12-18 19:59:58 +00:00
Marcus Boerger
b766beaac9 Update tests to see where they fail now exactly 2003-12-18 13:35:39 +00:00
Dmitry Stogov
eb973da1d3 two new methods were added
$node->count($subnode_name) - returns count of subnodes with specified name
  $node->attributes() - returns array of attributes
2003-12-18 13:28:00 +00:00
Wez Furlong
09907c6b93 Fix use of the CorRuntimeHost; once it has been stopped for a process, it cannot be restarted, so we keep it alive for the duration of the process, and instead close down the application domain in
request shutdown.
2003-12-18 11:23:21 +00:00
Wez Furlong
48a2b2a3d3 ZTS build and speling fix 2003-12-18 11:20:19 +00:00
Moriyoshi Koizumi
b8ea4e6fd2 Fix bug #26639 (mb_convert_variables() clutters variables beyond the references) 2003-12-18 09:50:20 +00:00
Rasmus Lerdorf
749cf47ef7 Fix remaining gd build issue 2003-12-18 08:17:45 +00:00
Rasmus Lerdorf
0f6cafa7e6 MFB compile fix 2003-12-17 22:47:02 +00:00
Andrey Hristov
f083d42581 proto fix 2003-12-17 22:21:05 +00:00
Andrey Hristov
a0e930cff4 Added optional parameter to microtime so now it can return float if it
the user wants. This prevents from getting string representation exploding
it and then creating a float.
2003-12-17 22:03:33 +00:00
Rob Richards
d1b8a0f2a9 no longer need to cleanup temp var 2003-12-17 18:59:05 +00:00
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