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