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