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