Commit Graph

13146 Commits

Author SHA1 Message Date
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