Marcus Boerger
2b35596d7f
Fix classname, CDATA handling (semantically identical to text) and
...
iterators (Return sub elements as objects, converted to string you get
the text).
2003-11-13 20:32:38 +00:00
Marcus Boerger
2bed6c2b8a
Proto fixes (Friedhelm Betz <holliwell|gmx.net>)
2003-11-13 19:08:41 +00:00
John Coggeshall
365f0638fc
Releasing 1.0....
2003-11-13 17:50:39 +00:00
Edin Kadribasic
45f12cc61f
Windows compile fix (patch by sfox@php.net).
2003-11-13 10:32:05 +00:00
Marcus Boerger
a18bd05f32
Bugfix #25794 : Cannot open existing hash db3 file with write
2003-11-13 08:59:02 +00:00
Marcus Boerger
4d752bd78e
Pass eof
2003-11-13 07:53:15 +00:00
Ilia Alshanetsky
127ed194b7
Added configure check for nanosleep() availability.
2003-11-12 23:43:46 +00:00
foobar
32b5a41941
- Fixed bug #26072 (--disable-libxml does not work).
2003-11-12 23:42:38 +00:00
Marcus Boerger
81d1a19d0b
Bugfix #26216 : ("getimagesize(): stream does not support seeking" when
...
using remote files)
2003-11-12 22:51:22 +00:00
Ilia Alshanetsky
3691ab699c
Added nanosleep(), in addition to allowing setting of very short states.
...
This function is signal safe.
2003-11-12 22:02:37 +00:00
Jay Smith
544fe688c5
Plugged a small memleak when errstr isn't efree()'d.
2003-11-12 22:01:02 +00:00
Marcus Boerger
daaef88047
Add helper function that splits inifile keys into an array which again
...
can be used in dba_fetch calls.
2003-11-12 21:43:03 +00:00
Marcus Boerger
038cb2dc9a
Compiler fixes for older ming versions
2003-11-12 09:12:51 +00:00
Sergey Kartashoff
228918223e
- A bug in WORDINFO calculation in mnogosearch extension was fixed.
2003-11-12 07:40:17 +00:00
Ilia Alshanetsky
770a111a43
Fixed bug #26198 (strtotime() handling of M/F Y date format).
2003-11-12 02:55:03 +00:00
Marcus Boerger
e480d10021
Fix this
2003-11-11 18:33:34 +00:00
Marcus Boerger
91ab36096e
Add shortcut interface SeekableIterator to LimitIterator
2003-11-11 18:31:50 +00:00
Moriyoshi Koizumi
f8e6e5dad3
Compiler warning fix (patch by Joe Orton)
2003-11-11 17:35:32 +00:00
Ilia Alshanetsky
beffc71b3f
Fix ZTS build.
2003-11-11 01:51:22 +00:00
Marcus Boerger
ab05faf5b1
Implement different recursion modes as statemachine and have an optional
...
parameter to choose the mode in the constructor.
2003-11-11 00:25:26 +00:00
Marcus Boerger
bfb73676de
Split into element=property and attribute=dimension overloading.
2003-11-10 20:27:16 +00:00
Ilia Alshanetsky
7fe481c9d0
Fixed bug #26176 (Fixed handling of numeric keys in INI files).
2003-11-10 04:12:38 +00:00
Marcus Boerger
c300480441
Synch exposed functions with c-level iterator functions
2003-11-09 23:00:50 +00:00
Marcus Boerger
159c538bcf
Major update:
...
- Remove all overloading hooks -> array_read/array_access must be rewritten
- Remove all basic iterators
- Remove all 'spl_' prefixing exposed to user level
- Add RecursiveIterator, RecursiveIteratorIterator
- Add DirectoryIterator, DirectoryTreeIterator
- Add some examples
2003-11-09 14:05:36 +00:00
Marcus Boerger
e72339284f
Add method reflection_class::implementsInterface()
...
Allow string & reflection_class in isSubclassOf()
2003-11-08 21:41:42 +00:00
Marcus Boerger
ab6b1adf0b
Fix reflection_class::isSubclassOf()
2003-11-08 21:02:21 +00:00
Sergey Kartashoff
899b960ed1
- Mnogosearch Extension was updated to include mnogosearch-3.2.16 features
2003-11-08 14:36:32 +00:00
Ilia Alshanetsky
2016ac0a73
Fixed write support.
2003-11-07 19:12:46 +00:00
Ilia Alshanetsky
d9bf51b17c
10-18% optimization of fetch_array(), when both number & string indexes are
...
created.
# Do we want to MFH the change (for ext/mysql) into 4.3.X?
2003-11-07 17:20:49 +00:00
Marcus Boerger
220e41a421
Move typedef to where it is needed now.
2003-11-07 09:26:18 +00:00
Marcus Boerger
ccb6311406
Make php_stat() available for extensions.
2003-11-07 09:16:16 +00:00
Ilia Alshanetsky
648a1e0d78
Added mandatory safe_mode & open_basedir checks.
2003-11-07 01:17:32 +00:00
Frank M. Kromann
f68114414b
Getting rid of c++ style comments
2003-11-06 16:50:40 +00:00
Sascha Schumann
db56268231
WS
2003-11-06 14:31:33 +00:00
Sascha Schumann
5a32c21f46
Fix a format string
...
Nuke a sprintf (slooow)
And embed the charset as part of the hashed details (persistent conn key),
because the function otherwise happily returns incompatible connections.
(e.g. US7ASCII vs. UTF8; the client-side charset is not alterable once a
connection has been established.)
2003-11-06 14:29:09 +00:00
Frank M. Kromann
2c3edcea09
MFB: Adding new features from ming 0.3a.
2003-11-06 07:29:38 +00:00
Ilia Alshanetsky
f884a5b437
Kill unused variables.
2003-11-05 23:44:09 +00:00
Ilia Alshanetsky
046904f2b1
Fixed bug #26113 (remove leftover local file when ftp_get/ftp_nb_get fails)
2003-11-04 20:56:47 +00:00
Moriyoshi Koizumi
668e8a87e6
Fix tests
2003-11-04 16:18:21 +00:00
Moriyoshi Koizumi
f0725828f0
Add XML_SAX_IMPL constant to determine which implementation (libxml / expat)
...
is selected for SAX interface.
2003-11-04 16:15:52 +00:00
Moriyoshi Koizumi
bb6f3a115e
Fixed bug #24394 (serializing cross-referenced objects causes segfault)
2003-11-04 16:08:10 +00:00
foobar
5b4e619cdd
- Moved all the mime_magic.c specific stuff into their own header file
...
to prevent possible compile failures.
# Should fix bug #26103
2003-11-04 05:15:19 +00:00
Ilia Alshanetsky
b520c9d42c
Fixed bug #26097 (gdImageColorClosestAlpha() returns incorrect results).
2003-11-04 01:55:50 +00:00
Moriyoshi Koizumi
8572fc2af5
Add regression test for XPath support
2003-11-03 22:49:24 +00:00
Moriyoshi Koizumi
2a3e05e865
Fix test
2003-11-03 22:42:56 +00:00
John Coggeshall
5d0f70a004
Should've added a few more cases to that bugfix switch.
2003-11-03 22:34:44 +00:00
John Coggeshall
8a36e954f0
Fixed a bug -- Nodes of certain types don't actually have ID values and PHP
...
would segv trying to read one.
2003-11-03 16:35:58 +00:00
Derick Rethans
3ab8d263b8
- Always store the URI path in the streams structure, and expose it with
...
stream_get_meta_data().
2003-11-03 14:12:46 +00:00
Sterling Hughes
040d945fb7
make this macro safe
2003-11-03 13:55:19 +00:00
Sterling Hughes
6ab221b3f6
remove attributes from this check
2003-11-03 13:50:43 +00:00
Sterling Hughes
e963f0b168
- Stop a crash in xpath
...
- Remove the ability to access attributes via the -> operator, attributes
are accessed via the array indicators
2003-11-03 13:36:23 +00:00
Marc Boeren
22872bb8fa
Make life for the doc-team easier, without causing harm ;-)
2003-11-03 11:15:23 +00:00
Moriyoshi Koizumi
8e1bbd9aea
Proto fix
2003-11-02 18:54:08 +00:00
Moriyoshi Koizumi
06d541a63a
SKIP tests if compress.zlib wrapper is not available.
2003-10-31 16:12:27 +00:00
foobar
2c9f29b9b6
cosmetics
2003-10-31 13:48:34 +00:00
Ilia Alshanetsky
00635d0807
Fixed bug #26042 (memory leak if mcrypt_generic_deinit() is not called
...
after every mcrypt_generic_init() call).
# This will be MFHed into 4.3.X tree after release.
2003-10-31 04:33:51 +00:00
Zak Greant
8802c3ad8c
Ensure that INI entries are unregistered on shutdown
2003-10-30 13:32:18 +00:00
Georg Richter
8f1f9b2f6d
changed return value from long to boolean for mysql_execute
2003-10-30 12:35:16 +00:00
Christian Stocker
038a7c4831
make test work with libxml2 2.6.x and lower
...
(I used lowercase html again in the EXPECT part, as this is now the default
behaviour for newer libxml2 releases)
2003-10-30 10:06:00 +00:00
Ilia Alshanetsky
ab7ee13670
Added substr_compare().
2003-10-30 00:49:33 +00:00
Moriyoshi Koizumi
e6feb47f00
Some clean-ups
2003-10-29 22:25:57 +00:00
Moriyoshi Koizumi
cca80292fe
This check's always necessary.
2003-10-29 21:50:15 +00:00
Georg Richter
73be3af983
added functions for embedded server
2003-10-29 20:52:25 +00:00
Georg Richter
8caae993a3
added support for embedded MySQL Server
...
some prototype fixes
2003-10-29 20:48:47 +00:00
Moriyoshi Koizumi
28369f6e86
Add test case for bug #26003
2003-10-29 19:45:38 +00:00
Moriyoshi Koizumi
13f16d5690
MFB(r-1.109.2.12): A possible fix for bug #26026
2003-10-29 18:48:37 +00:00
Moriyoshi Koizumi
9547ac2dde
Oops.
2003-10-29 18:04:24 +00:00
Moriyoshi Koizumi
088acb6efb
Update test for an additional check to ensure the variable used for an
...
index would not be modified during deference.
2003-10-29 17:58:40 +00:00
Moriyoshi Koizumi
734254513c
Do not use convert_to_*_ex() for ordinary zval pointers.
2003-10-29 17:50:56 +00:00
Marcus Boerger
6b57bb1675
Add simplexml array handlers that allow to explicitly work with attributes.
2003-10-29 12:06:52 +00:00
Frank M. Kromann
c26303c789
On win32 extensions starts with php_
2003-10-29 05:42:26 +00:00
Frank M. Kromann
aefb8fe2f8
Fix typo in parameter
2003-10-29 05:34:00 +00:00
Ilia Alshanetsky
e0a943dcdb
Fixed test.
2003-10-29 05:04:40 +00:00
Sara Golemon
70f4a0c9ec
Allow userspace filters to use wildcards
2003-10-29 00:19:57 +00:00
Sara Golemon
735b24a727
Allow userfilter instantiation to programmatically fail by returning false.
...
Equivalent of Cspace filter "failure" by returning NULL.
2003-10-28 23:56:57 +00:00
George Schlossnagle
797ac80e7c
Added pcntl_wait, a wraspper around wait()/wait3()
2003-10-28 17:08:18 +00:00
Ilia Alshanetsky
a4eebd74a6
Fixed compiler warning.
2003-10-28 04:22:12 +00:00
Shane Caraveo
4e283ed686
fix win32 build
2003-10-28 04:21:29 +00:00
Ilia Alshanetsky
8f6b374d1d
By popular demand renaming uu(encode/decode) to convert_uu(encode/decode).
2003-10-28 04:02:11 +00:00
Moriyoshi Koizumi
1085c08aa5
Add missing reinitialization call
2003-10-27 22:45:58 +00:00
Moriyoshi Koizumi
69dcdcb7c1
Fixed bug #26003 (fgetcsv() not binary-safe on null bytes)
2003-10-27 22:36:44 +00:00
Christian Stocker
9e5bc9509e
use php_error_docref
2003-10-27 19:52:50 +00:00
Christian Stocker
901153b441
extending of domDocument class test
2003-10-27 17:51:55 +00:00
Christian Stocker
e735e44f52
added html test
2003-10-27 17:36:44 +00:00
Christian Stocker
0d59b3dda6
xinclude test
2003-10-27 15:32:44 +00:00
Christian Stocker
3cd8d4a865
xinclude support readded to ext/dom
2003-10-27 15:32:22 +00:00
Christian Stocker
df7799762a
streams test
2003-10-27 15:13:12 +00:00
Christian Stocker
1d40b25f68
- streams test
2003-10-27 15:12:20 +00:00
Christian Stocker
e311179b72
exception/try/catch test
2003-10-27 12:52:37 +00:00
Christian Stocker
c07a013345
forgot one file
2003-10-27 12:17:28 +00:00
Christian Stocker
45614453cd
fix for test Nr 3 bug (not freeing all params)
2003-10-27 12:16:35 +00:00
Christian Stocker
11a63934d4
added interop test
2003-10-27 11:34:45 +00:00
Christian Stocker
d8f6f9d763
added SKIPIF extension is not loaded checks
2003-10-27 11:28:43 +00:00
Christian Stocker
a8063d776c
interop test
2003-10-27 11:24:30 +00:00
Christian Stocker
9caf3e1253
totally wrong expected output...
2003-10-27 08:49:11 +00:00
Christian Stocker
acd5eb24db
some tests (test #3 is currently broken due to memleak, fix is on the way)
2003-10-27 08:46:55 +00:00
Marcus Boerger
dcc060382a
Add another test
2003-10-27 08:43:52 +00:00
Marcus Boerger
da9ce6380c
Rename test
2003-10-27 08:43:25 +00:00
Ilia Alshanetsky
17b9b2dc85
Added uuencode() & uudecode() functions.
2003-10-27 05:35:41 +00:00
Rob Richards
a807b34427
cannot import nodes without document
2003-10-27 01:12:53 +00:00
Christian Stocker
eb2104d17c
remove unneeded variables
2003-10-27 00:03:28 +00:00
Christian Stocker
e5bd8fdd0d
- Make distinction in error-reporting between Warnings and Errors from libxml2
...
- Use internal error_handlers during html-parsing as well
2003-10-27 00:01:39 +00:00
Christian Stocker
70f75fff89
fix test (validation returns a warning, if xml is not valid)
2003-10-26 19:35:08 +00:00
Christian Stocker
4e5d4006fd
- added interop between DOM and SimpleXML example
...
- added xpath example
2003-10-26 19:15:52 +00:00
Christian Stocker
1e46a26f0f
fix example for saving to file
2003-10-26 18:56:03 +00:00
Rob Richards
5191cd3e99
add interop with dom - simplexml_import_dom
...
change write behavior on elements to change actual contents
change clone method to clone node and not document
fix a few libxml mem leaks
2003-10-26 16:00:58 +00:00
Rob Richards
09c09f4279
use common structures from php_libxml.h
2003-10-26 15:57:31 +00:00
Rob Richards
207dc90924
add interop with simplexml - dom_import_simplexml
...
fix cloneNode with elements
2003-10-26 15:57:02 +00:00
Rob Richards
d29fb55bbb
common functions for interoperability
2003-10-26 15:53:20 +00:00
Marcus Boerger
7e90647611
Add attribute test
2003-10-26 13:27:26 +00:00
Marcus Boerger
14911a136f
Fix memory corruption
2003-10-26 13:27:03 +00:00
Marcus Boerger
c7995af071
Add foreach test
2003-10-26 13:18:59 +00:00
Marcus Boerger
6131454cca
Add iterator to make foreach work
2003-10-26 13:11:56 +00:00
Marcus Boerger
869ce07c96
And get the last thing working
2003-10-26 01:17:51 +00:00
Marcus Boerger
ad172161e0
Add test
2003-10-26 01:04:25 +00:00
Marcus Boerger
2318a83e81
Fix tests
2003-10-26 01:03:21 +00:00
Sebastian Bergmann
b2f860ce6d
Patch by Steph to sanitize ssize_t typedef on Windows.
2003-10-26 00:42:42 +00:00
Marcus Boerger
0d95b23a51
Fix casting (the question is when & what should be freed here).
2003-10-26 00:39:48 +00:00
Marcus Boerger
2befd022b1
Fix test
2003-10-26 00:35:56 +00:00
Marcus Boerger
37f6618c64
Allow static methods being called from sqlite sql. Notice by Stphane Mariel
2003-10-25 23:17:15 +00:00
Marcus Boerger
07d94c2410
Fix test 4 with the help of Rob
2003-10-25 23:06:23 +00:00
Marcus Boerger
46251fa3f8
Show if Schemas are supported
2003-10-25 21:28:01 +00:00
Marcus Boerger
873bcefa52
Fix memleaks
2003-10-25 21:08:33 +00:00
Marcus Boerger
0197d5b916
More testing
2003-10-25 21:07:37 +00:00
Marcus Boerger
0a68fb0222
Fix warning
2003-10-25 20:28:39 +00:00
Marcus Boerger
168f2ac787
Fix test
2003-10-25 20:27:48 +00:00
Marcus Boerger
f67510a0d8
Add some testing
2003-10-25 20:00:04 +00:00
Marcus Boerger
da8ce17f7a
This forces a better error message for non working clone calls.
2003-10-25 19:28:31 +00:00
Marcus Boerger
fe3db4c7e9
You shall not clone reflection_xx instances
2003-10-25 19:06:35 +00:00
Marcus Boerger
ee0f709e4b
- Fixed bug #25581 (getimagesize () return incorrect values on bitmap
...
(os2) files)
2003-10-25 14:06:29 +00:00
Rui Hirokawa
c4b163de88
encoding detection shouldn't be performed if mbstring.http_input is set to auto or any valid encoding.
2003-10-25 10:29:07 +00:00
Adam Dickmeiss
dca01635d5
For YAZ, RSHUTDOWN closes persistent connections that have been idle
...
more than yaz.keepalive seconds. Default value for config yaz.keepalive
is 120 seconds. The shutdown prevents many sockets in CLOSE_WAIT state.
2003-10-24 19:32:09 +00:00
Marcus Boerger
eabcb173b1
Revert accidential commit
2003-10-24 18:44:40 +00:00
Marcus Boerger
071eaf8576
Zend/ZEND_CHANGES
2003-10-24 18:24:28 +00:00
Marko Karppinen
074ca45399
Workaround for bug #25955
...
Generalized a Darwin check in dns.c to a check for inet_pton() (kalowsky)
2003-10-24 17:09:36 +00:00
Ilia Alshanetsky
4d349926ff
Fixed some test names.
...
Removed extraneous \r from a number of tests.
2003-10-24 03:31:57 +00:00
Marcus Boerger
a3d6fb043d
Update tests
2003-10-23 07:14:50 +00:00
Marcus Boerger
000e01e5d3
Update
2003-10-23 07:09:04 +00:00
Rui Hirokawa
0ce637835a
name/value in multipart/form-date will be converted into internal encoding when mbstring.encoding_translation is On.
2003-10-22 14:14:05 +00:00
Ilia Alshanetsky
980c3b2b4c
Fixed compile warnings.
2003-10-22 02:38:47 +00:00
Moriyoshi Koizumi
48fbe0af2a
Add a test case for getElementsByTagName() / getElementsByTagNameNS()
2003-10-21 02:43:24 +00:00
Moriyoshi Koizumi
bde1fe4d81
Missing '&' in the result of get_html_translation_table()
2003-10-21 01:46:54 +00:00
Rob Richards
44164170f3
implement namespace nodes
...
fix getElementsByTagName
fixes to attribute namespaces
remove safemode stuff as its handled in streams
2003-10-20 15:50:34 +00:00
Moriyoshi Koizumi
5dac05638f
Fix typo
2003-10-20 15:45:01 +00:00
Moriyoshi Koizumi
3929cf22d8
Fix compiler warnings
2003-10-20 15:41:53 +00:00
Moriyoshi Koizumi
569309765c
Fix compiler warnings
2003-10-20 15:33:40 +00:00
Ilia Alshanetsky
30cc4dc8c9
Fixed bug #25918 (Possible crash in mime_content_type()).
2003-10-20 14:36:51 +00:00
Ilia Alshanetsky
21fceae7d6
Fixed bug #25923 (mail() modifies the to & subject arguments).
2003-10-20 14:22:01 +00:00
Shane Caraveo
c55f987230
fix the stat check in stream open
...
addref to the stream context
2003-10-20 03:11:45 +00:00
Ilia Alshanetsky
26f7af25ba
Fixed bug #25895 (Incorrect detection of safe_mode limited ini options)
2003-10-20 01:59:35 +00:00
Rob Richards
56ce4a84e7
add generic default error handling rather than the default stderr
2003-10-19 23:34:39 +00:00
Rob Richards
33004a01ee
unescape filepath which libxml excapes
2003-10-19 23:25:48 +00:00
Shane Caraveo
052f9378b2
add global init/shutdown functions for libxml. this is required as
...
shutdown is not safe to call multiple times, and to make streams work
correctly some init stuff has to happen in a specific order
2003-10-19 23:17:56 +00:00
Shane Caraveo
399095e7a5
Add libxml extension for common code that is needed to be shared between
...
various xml extensions. currently the only implemented support is the
addition of the streams support for libxml. One new function,
libxml_set_streams_context, which allows a streams context to bet set
prior to loading or writing documents. This works transparently with any
extension that uses libxml. All ini settings that effect streams will
also now effect the loading and writing of xml documents.
TODO: linux support, not sure if config.m4 will work right.
2003-10-19 21:48:46 +00:00
Shane Caraveo
e5103d764a
make file uri's work with streams
2003-10-19 20:04:33 +00:00
Shane Caraveo
4505a611ba
make parse_url work correctly for file uri's on windows, such as
...
file:///c:/somepath/somefile.txt
2003-10-19 20:00:51 +00:00
Marcus Boerger
b0b82541e8
Fix class/iterator relationship & handling
2003-10-18 18:43:31 +00:00
Wez Furlong
0577d9310b
bah. does it really make any difference where rewind lives in the struct!?
2003-10-18 15:56:16 +00:00
Wez Furlong
398f032203
fix cruft from previous incarnation of the iterators
2003-10-17 21:03:01 +00:00
Wez Furlong
d8d1ca3f3b
add com iterator support
2003-10-17 20:52:18 +00:00
Marcus Boerger
641a55a4dd
Show if a class/object is iterateable
2003-10-17 17:51:01 +00:00
Marcus Boerger
9fbaa7aca5
- Make use of engine iterators
2003-10-17 17:21:56 +00:00
Marcus Boerger
08d1c991cf
The sqlite classes need to be final
2003-10-17 08:17:09 +00:00
Marcus Boerger
43a948379a
Fix showing final/abstract for classes
2003-10-17 08:15:48 +00:00
Marcus Boerger
4943cae926
pre/hasprev have nothing to do with iteration
2003-10-17 08:01:49 +00:00
Ilia Alshanetsky
4c4d5a02b9
Fixed formatting issues (patch by: Joe Orton)
2003-10-17 02:21:27 +00:00
Ilia Alshanetsky
1459361c3e
Do not strip trailing spaces.
2003-10-16 04:24:07 +00:00
Ilia Alshanetsky
fff7c6098b
Fixed bug #25777 (Do not rtrim() of text fields fetched from mssql)
2003-10-15 03:31:29 +00:00
Wez Furlong
54d1769653
MFB Fix for #25825
2003-10-15 00:18:53 +00:00
George Schlossnagle
54a31f5a88
fix for dereferncing null pointer (mfladischer@gmx.net)
2003-10-15 00:15:23 +00:00
Uwe Steinmann
84d156ae15
- limit writing of field data to field len + 1
...
This fixed many memory overrun errors which appeared
in several scripts when writing a record.
2003-10-14 07:49:34 +00:00
Wez Furlong
c35810c203
unintialized variable.
...
Patch by Joe Orton
2003-10-13 11:46:36 +00:00
Wez Furlong
42ae98d7a2
Fix unintialized variable.
...
Patch by Joe Orton.
2003-10-13 11:43:14 +00:00
Derick Rethans
c3b21fc55c
- Email address change
2003-10-13 09:33:00 +00:00
Ilia Alshanetsky
a9b20a6abf
Fixed bug #25800 (parse_url() could not parse urls with empty port).
2003-10-13 04:27:23 +00:00
Ilia Alshanetsky
3158ff714e
Remove sendmail patch check.
2003-10-13 04:15:09 +00:00
Wez Furlong
f27387c68c
Fix possible segfault (this one came up when a method could not be found).
...
Add a couple of headers used by another file that is not yet ready to
commit.
2003-10-13 01:29:39 +00:00
Vlad Krupin
db0a175bcb
rolling back fix for 23463. The "fix" broke more than it fixed (see bug 25558)
2003-10-12 01:07:59 +00:00
Andrey Hristov
638b940307
New array functions for doing intersection of arrays that are complementary
...
to array_*diff* family of functions. Namely array_uintersect(), array_uintersect_assoc(),
array_intersect_uassoc() and array_uintersect_uassoc(). Test case is also included.
#docs and news entry later.
2003-10-09 08:10:39 +00:00
Shane Caraveo
31b7b3a2b2
add the valid xml test
2003-10-09 05:47:38 +00:00
Shane Caraveo
d0cf1ec40d
add a DTD example
2003-10-09 05:46:03 +00:00
Wez Furlong
e087da60dc
And this EOF flag...
2003-10-08 11:23:47 +00:00
foobar
e85a4cdbd2
- Fixed bug #25780 (ext/session: invalid session.cookie_lifetime causes crash in win32).
2003-10-08 10:22:51 +00:00
Wez Furlong
628afb40b6
Implement stream_get_contents, which is somewhat akin to file_get_contents,
...
except that it works on an already opened stream.
2003-10-08 10:07:25 +00:00
Moriyoshi Koizumi
ed40a56c6c
Oops..
2003-10-08 01:51:32 +00:00
Moriyoshi Koizumi
f4595d18af
Better fix for bug #25758
2003-10-08 01:49:31 +00:00
Ilia Alshanetsky
6f8b8ade45
Fixed bug #25758 (var_export does not escape ' & \ inside array keys)
2003-10-08 01:16:44 +00:00
Wez Furlong
18bfcc8897
A much better fix for moniker based COM object creation.
...
We now support binding monikers to remote machines.
However, MSDN docs indicate that this isn't yet implemented
as of Win2000.
2003-10-07 18:50:07 +00:00
Zeev Suraski
2cc9511cc7
Fix cast callbacks
2003-10-07 15:47:25 +00:00
Corne' Cornelius
5eb3a1dfdd
- Fixed bug #18534 (ifx_close() leaves open session)
...
- (ifx_do_close) Added
2003-10-07 09:29:58 +00:00
Ilia Alshanetsky
90100e5c90
Cleaned up previous patch.
2003-10-07 00:36:31 +00:00
foobar
47484ce5d3
- Fixed bug #25764 (ldap_get_option() crashes when called with unbinded ldap link)
2003-10-06 23:33:00 +00:00
Rob Richards
6c9bbe70bf
some namespace fixes
...
fix compiler warning
2003-10-06 21:28:01 +00:00
Wez Furlong
a1b5c341a2
potential fix for #25759 , although it will need further review.
2003-10-06 15:10:38 +00:00
Moriyoshi Koizumi
506136f9c6
Forgot about this one
2003-10-06 01:04:49 +00:00
Moriyoshi Koizumi
503d74aa29
Fixed bug #25756 (SimpleXML's validate_schema_file() broken)
2003-10-06 01:02:28 +00:00
Shane Caraveo
e12aafca6b
fix crash building nodeName
2003-10-05 21:53:08 +00:00
Shane Caraveo
4fbf5a0733
fix crash accessing tagName without namespace
2003-10-05 21:49:47 +00:00
Shane Caraveo
87bd7d57c6
Add schema and relaxNG validation support
...
domdocument->schemaValidate(string filename)
domdocument->schemaValidateSource(string xml)
domdocument->relaxNGValidate(string filename)
domdocument->relaxNGValidateSource(string xml)
also fix domelement->setAttributeNS
2003-10-05 20:45:27 +00:00
Ilia Alshanetsky
31a3c87159
Fixed clobbering of the source array, when merging complex
...
multi-dimensional arrays. Bug reported by Lukas Smith.
2003-10-05 19:37:02 +00:00
Shane Caraveo
a05dbd3a28
remove a debug printf
2003-10-05 16:37:50 +00:00
Moriyoshi Koizumi
2c95c42404
Fix the macro to prevent it from falling over in a mess
2003-10-05 13:59:15 +00:00
Moriyoshi Koizumi
30d64ecc3e
Fix test to make sure it can find the external xml file relatively to
...
the script file.
2003-10-05 13:53:16 +00:00
Rob Richards
8f489130bf
fix segfault if xpath expression string is invalid
2003-10-05 13:14:21 +00:00
Rob Richards
c21e78ddf2
implement isDefaultNameSpace and baseURI
...
nodeName and tagName return qualified names
fix removeAttributeNode - takes domAttr as parameter
better uri and file handling for document load method
fix possible segfault when document is freed
set get_property_ptr_ptr handler to NULL
2003-10-05 11:52:22 +00:00
Zeev Suraski
c6c240a455
Sync with new API
2003-10-05 08:08:49 +00:00
Moriyoshi Koizumi
80edbeba2f
Change fgetcsv() so that the second parameter is also optional.
2003-10-04 21:06:29 +00:00
Moriyoshi Koizumi
10961114ad
Fix autoconf(2.13) build
2003-10-04 12:23:11 +00:00
Sergey Kartashoff
069e311c60
- Updated README for mnogosearch extension
2003-10-04 08:27:37 +00:00
Moriyoshi Koizumi
921e5b47c5
Fix fgetcsv() to correctly support international characters
...
# note: mblen() is not a mbstring function, but is part of the ANSI standard
# which is even supported by Microsoft's libc.
2003-10-04 02:51:19 +00:00
foobar
96e0010f13
- Fixed bug #25752 (ext/ncurses: ncurses.h instead of curses.h with BSD).
2003-10-04 01:04:31 +00:00
foobar
708dee922c
ws
2003-10-04 00:43:06 +00:00
Moriyoshi Koizumi
4859431fc1
Fixed bug #24766 (strange result array from unpack())
2003-10-03 22:41:43 +00:00
Ilia Alshanetsky
df11d7079c
More ZTS stuff.
2003-10-03 18:05:42 +00:00
Moriyoshi Koizumi
7e9a54990c
Add regression test for bug #25745
2003-10-03 16:59:44 +00:00
Moriyoshi Koizumi
0d2b8c68df
Bug #25745 (ctype functions don't deal with non-ascii characters properly)
2003-10-03 15:50:01 +00:00
Ilia Alshanetsky
afc48dc8f2
Fixed bug #25744 (make ZTS build of ext/sybase compile)
2003-10-03 13:03:40 +00:00
foobar
f3f9f8db7f
- Added test for bug #24766
...
# This bug is caused by the HANDLE_NUMERIC() change in ZE2 vs ZE1
2003-10-03 05:47:07 +00:00
foobar
db50cd251e
Aligned configure help texts.
2003-10-03 05:24:33 +00:00
Moriyoshi Koizumi
5fee3a3ce1
Alignment fix
2003-10-03 01:13:44 +00:00
Ilia Alshanetsky
763b39cc1d
Fixed compile warnings.
2003-10-03 01:07:35 +00:00
Moriyoshi Koizumi
76ae064883
Add a test case for bug #25708
2003-10-02 22:50:28 +00:00
Moriyoshi Koizumi
75bb36ed09
Fixed bug #25708 (extract($GLOBALS, EXTR_REFS) mangles $GLOBALS)
2003-10-02 22:20:48 +00:00
Moriyoshi Koizumi
d7398813c3
A temporary voodoo hack to avoid memory leaks.
...
# Stuff of this kind must be removed if any neater way is out there.
2003-10-02 19:45:05 +00:00
Moriyoshi Koizumi
6745000c37
Fix for the fix for #25707
2003-10-02 19:23:00 +00:00
Moriyoshi Koizumi
04bcd89277
Add support for hexadecimal-style numeric entities (&#x..;)
2003-10-02 19:07:59 +00:00
Moriyoshi Koizumi
edd18bae09
Drop multibyte character support in html_entity_decode().
...
# This has never worked as expected.
2003-10-02 19:06:44 +00:00
Frank M. Kromann
20315a3c5d
FrontBase uses ws2_win32 lib now
2003-10-02 18:49:30 +00:00
Frank M. Kromann
7c5bd1e180
Fixing type cast
2003-10-02 18:49:18 +00:00
foobar
d0422ea0bc
fix skipif for these tests
2003-10-02 14:55:49 +00:00
Moriyoshi Koizumi
a5422685fb
Remove leftovers
2003-10-02 11:02:54 +00:00
Moriyoshi Koizumi
daf7528d90
Alignment fix
2003-10-02 10:47:12 +00:00
Moriyoshi Koizumi
f2b36ec52b
Fix php_regex_encoding() so it can handle two additional encoding names
...
mbfilter supports by default.
2003-10-02 07:49:14 +00:00
Moriyoshi Koizumi
647408978e
Fixed bug #25707 (html_entity_decode over-decodes &lt;)
2003-10-02 06:57:21 +00:00
foobar
dc080a5db6
- Always look into /usr/local before /usr
...
- Added breaks to make sure the preferred value is used.
2003-10-01 02:53:23 +00:00
Ilia Alshanetsky
526a3d9ce2
Always prefer user specified paths over the default /usr /usr/local.
...
This may fix compilation problems with on systems with multiple copies of
the same library.
2003-09-30 22:36:43 +00:00
Andrey Hristov
26aba89a43
Move the test to new file.
2003-09-30 15:22:33 +00:00
Andrey Hristov
a11645dda8
fix
2003-09-30 15:06:05 +00:00
Andrey Hristov
40088d0bbc
smash a segmentation fault
2003-09-30 15:00:36 +00:00
Andrey Hristov
02827c46be
Memory leak fixed (no need of MFH since this is code specific to PHP5)
2003-09-30 12:43:58 +00:00
Stanislav Malyshev
e21669502b
MF4: allow realpath() for win32 non-ZTS
2003-09-30 09:52:11 +00:00
Moriyoshi Koizumi
77726c734e
Add regression test for bug #25666
2003-09-30 01:31:06 +00:00
Moriyoshi Koizumi
5d3b5cd1c2
Fixed bug #25669 (eregi() with non-ascii characters)
2003-09-30 00:26:03 +00:00
Rob Richards
b437ac77bc
add property_get_ptr handler
...
fix possible segfault in xpath
add wide character support for characterdata
2003-09-29 11:43:26 +00:00
Rob Richards
5fa23c593b
fix for bug #25666 (XML namespaces broken in PHP5)
2003-09-29 11:35:39 +00:00
Moriyoshi Koizumi
103b3c6626
Simplification.
2003-09-29 02:23:40 +00:00
foobar
06616ccdce
Bundled GD has this function
2003-09-27 20:53:50 +00:00
Sara Golemon
2acca5d015
Test for Bug 25671
2003-09-27 18:48:48 +00:00
Sara Golemon
ef7905a188
Bug Fix#25671 Corruption in subarrays in subject when using str_replace
2003-09-26 17:57:13 +00:00
Moriyoshi Koizumi
07a021f477
Add test cases for the regex probles
2003-09-26 17:44:06 +00:00
Moriyoshi Koizumi
83609e0874
Repatch fixes for the problem that was reported at php-dev@php.gr.jp ( #884 )
2003-09-26 17:43:39 +00:00
Moriyoshi Koizumi
7e4a886971
Forgot to commit this one.
2003-09-26 17:41:52 +00:00
Moriyoshi Koizumi
91bf8e5dc9
Explicitly specify mbstring.language.
2003-09-26 14:42:37 +00:00
Moriyoshi Koizumi
b82679412c
Fix some incompatibilities with the pre-libmbfl behaviour regarding encoding detection.
2003-09-26 14:42:14 +00:00
Moriyoshi Koizumi
96cdea35c1
Specify full path to cat for mb_send_mail() tests
2003-09-26 11:08:54 +00:00
Ard Biesheuvel
c40234b47e
Let client library pick its own transaction param defaults
2003-09-26 10:06:22 +00:00
Hartmut Holzgraefe
fbc1386eac
stupid typo fix
2003-09-26 10:02:06 +00:00
foobar
3462761d2b
typo
2003-09-26 09:56:24 +00:00
foobar
ef1c2d59a4
Test case for bug #25665
2003-09-26 09:55:56 +00:00
Hartmut Holzgraefe
075e66cc08
signed/unsigned compiler warning fixes
2003-09-26 08:09:56 +00:00
Hartmut Holzgraefe
0a46866d8f
silenced a compiler warning
2003-09-26 07:51:52 +00:00
Hartmut Holzgraefe
3735d2f8bd
error message was missing an argument
2003-09-26 07:50:02 +00:00
Hartmut Holzgraefe
ee922e3085
compiler warning fixes, one of them a potential crash bug
2003-09-26 07:47:01 +00:00
Ilia Alshanetsky
6966350013
Fixed typo.
2003-09-26 00:40:32 +00:00
foobar
72de75c99a
This is only needed for Windows.
2003-09-25 14:53:41 +00:00
Georg Richter
340d891b3e
mysqli_prepare_result -> mysqli_get_metadata
2003-09-25 11:19:58 +00:00
Georg Richter
49823c5edb
mysql_prepare_result -> mysqli_get_metadata
...
This function was renamed in libmysql (changeset 1.607 by monty)
2003-09-25 11:19:25 +00:00
John Coggeshall
bca08dabb4
Fixed a --enable-maintainer-zts glitch where TSRMLS_DC was being used
...
unnecessarily.
2003-09-25 09:32:55 +00:00
Ilia Alshanetsky
569bd005d2
Fixed bug #25070 (Don't forget to unlock session files on win32 before
...
closing them).
Regions should be locked only briefly and should be unlocked before
closing a file or exiting the program. On Win32 locked files that are
closed without being explicitly unlocked will be unlocked only when "system
resources become avaliable".
2003-09-24 23:39:14 +00:00
Rob Richards
f9640d5fad
fix preserveWhiteSpace on document load
2003-09-24 12:56:37 +00:00
Wez Furlong
f7d32e30b0
Fix
2003-09-24 10:35:20 +00:00
Ilia Alshanetsky
ff4d200772
Specify full path for cat utility used by the test.
2003-09-24 02:27:43 +00:00
foobar
258d5838bb
- Fixed bug #24402 (Compile failure with gettext 0.12.x)
2003-09-24 02:07:04 +00:00
Ard Biesheuvel
50911d0904
Always return long from ibase_gen_id() on IB < 6
2003-09-23 23:08:59 +00:00
foobar
afdc20a094
ws fix
2003-09-23 22:17:40 +00:00
Ard Biesheuvel
f48f725348
Added ibase_gen_id()
...
# Lightweight shortcut to SELECT GEN_ID() ... function
2003-09-23 20:58:14 +00:00
Moriyoshi Koizumi
1ee441613d
Remove useless mutex code due to the switch to oniguruma.
2003-09-23 20:11:05 +00:00
foobar
08effa1b04
Fixed typo.
2003-09-23 19:29:34 +00:00
Ilia Alshanetsky
b9823393ea
Fixed bug #25636 (SNMP Session not closed on success).
...
Patch by: nesslage[at]mwsc[dot]edu
2003-09-23 18:26:02 +00:00
Andrey Hristov
a7ac568486
New test cases for the new 4 functions :
...
- array_udiff()
- array_udiff_assoc()
- array_diff_uassoc()
- array_udiff_uassoc()
2003-09-23 17:40:34 +00:00
Andrey Hristov
3579f212df
4 new functions :
...
array_udiff()
array_udiff_assoc()
array_diff_uassoc()
array_udiff_uassoc()
They work like array_diff() or array_diff_assoc() but callback function(s)
can be used to perform the comparisons. For example array_udiff_uassoc()
expects 2 callbacks are last 2 parameters one is used to compare the values
of the entries in the arrays the second to compare the keys.
Class methods are also valid callbacks. Even when the data that should be
used in the comparison is private or protected then a static method of a
class should be used (this behaviour can be seen in the regression test -
007.phpt).
2003-09-23 17:37:29 +00:00
Wez Furlong
fce7b92891
MFB 25614 "fix"
2003-09-23 16:05:52 +00:00
Moriyoshi Koizumi
aa36f5bbdb
Oops
2003-09-23 13:23:30 +00:00
Moriyoshi Koizumi
a89d00bb6c
Remove unused variable
2003-09-23 13:21:01 +00:00
foobar
30c3155d12
add as binary..
2003-09-23 10:06:19 +00:00
foobar
4d02a9379c
remove corrupt file
2003-09-23 10:05:48 +00:00
foobar
9fea9fec53
Added simple test for gettext
2003-09-23 10:00:23 +00:00
foobar
a299e943f8
- Fixed bug #25604 (HAVE_SNMP_PARSE_OID undefined with phpize build)
2003-09-23 08:15:49 +00:00
Rui Hirokawa
ce66e1eb8d
fixed wrong string length in mbregex.
2003-09-23 02:47:06 +00:00
Rui Hirokawa
b6b761ca84
revert a patch.
2003-09-23 02:43:49 +00:00
Rui Hirokawa
25bb0d16a9
fixed win32-build and update e-mail address in mbstring.
2003-09-23 02:43:04 +00:00
Ilia Alshanetsky
4aaa2becbe
String format stuff.
2003-09-22 23:27:51 +00:00
Andrey Hristov
63d7df3e2f
improve the fix for #25494 . If more then one bad parameter is passed
...
an warning for all will be emitted.
2003-09-22 23:19:17 +00:00
Rob Richards
cb4db32030
set consistent pathing for libxml
...
set document url when loaded from memory to set base href
2003-09-22 19:11:35 +00:00
Rob Richards
bd2511af40
set base href for copied, imported doc
...
set environment for imported stylesheet
add optional clone parameter for data to transform
2003-09-22 19:07:52 +00:00
Rob Richards
8569ee1c1e
move hash.h for libxml 2.6 compatibility
2003-09-22 19:04:49 +00:00
John Coggeshall
8cd08f7e9d
Forgot package.xml
2003-09-22 18:45:46 +00:00
John Coggeshall
d8eeb8e286
Updated test cases and examples and cleaned up the new OO code so it will
...
be easier to maintain.
2003-09-22 18:40:38 +00:00
John Coggeshall
6b567f80c7
Completely re-wrote the ZE2 OO stuff to do it the proper way. It is not
...
considerably more stable, cleaner, and looks as if it works well :) This
probably is going to break any scripts which used it before, but oh well.
2003-09-22 17:06:45 +00:00
Hartmut Holzgraefe
55d9ec0f6f
proto thiko fix
2003-09-22 06:54:29 +00:00
Ilia Alshanetsky
e2caa6eaf9
String formatting stuff.
2003-09-22 04:18:24 +00:00
John Coggeshall
a7b75e2054
Complete refactoring of the OO support in tidy. Although currently
...
incomplete, it is a good start.
2003-09-22 00:12:54 +00:00
Ilia Alshanetsky
5927b50869
Fix ZTS build.
2003-09-21 20:24:39 +00:00
Ilia Alshanetsky
d14df17390
Added a note & fix for a memory leak in libtidy.
...
This will be removed once the libtidy developers release a patched version
of their library (or we start bundling the patched version).
2003-09-21 20:21:39 +00:00
Marcus Boerger
36655400cb
- return correct hash constants
...
- check for 'memory' in sqlite_factory() too (noticed by John Coggeshal)
2003-09-21 19:36:40 +00:00
Ilia Alshanetsky
4f6874b3ff
Added tidy_repair_string() & tidy_repair_file() that allow for quick repair
...
of files & strings.
Modified tidy_parse_file() to accept include_path parameter.
Fixed a few bugs that may have allowed configurations directives loaded via
a file to carry over across requests.
2003-09-21 19:22:19 +00:00
Wez Furlong
ad93053ec4
Merge remaining code from 4.3 to fix #22238 in HEAD.
2003-09-21 18:02:08 +00:00
Uwe Steinmann
eea84f787b
- fixed typo in error message
2003-09-21 13:17:20 +00:00
Sascha Schumann
394d3b82b0
Alias session_commit to session_write_close, a more intuitive name
...
for the functionality.
2003-09-21 11:53:12 +00:00
Ilia Alshanetsky
4cd101abed
Tidy Hijacked! Read all about it ;)
...
* No more tidy resources, it's now persistent and internal. This helps speed
quite a bit, since the tidy resource only needs to be initialized once.
* Replace common code with macros.
* Added necessary safe_mode & open_basedir checks when working with files.
* Added ini option to allow loading of config file on startup.
* Show current configuration in phpinfo();
* Coding Style Cleanup
* Added tidy_get_config(), returns an associated array with all configuration
values.
* Added tidy_reset_config(), it restores tidy configuration to default values.
* Fixed a possible crash inside tidy_setopt().
* Added myself to the credits.
More changes to follow.
2003-09-20 19:45:32 +00:00
Sascha Schumann
36ac7a5bb0
MFB Avoid zero-length keys which result in a spinning process
2003-09-20 16:10:49 +00:00
Marcus Boerger
0266efb8b5
Add public array Reflection_Class::getDefaultProperties()
2003-09-20 14:22:48 +00:00
Marcus Boerger
6433226749
Explicit cwqasting is now necessary
2003-09-20 12:51:20 +00:00
Ilia Alshanetsky
0917a7f62f
Fixed bug #25583 (Incorrect handling of paths starting with / on win32
...
inside glob() function).
2003-09-20 02:51:20 +00:00
Ilia Alshanetsky
ace85c9015
MFB: Add myself to credits
2003-09-19 12:24:51 +00:00
Sara Golemon
0a3bc21c5c
Manageability
2003-09-18 17:51:55 +00:00
Sara Golemon
c553af47e0
Add ftp_alloc() for servers which require client to predeclare filesize to be sent.
2003-09-18 17:36:08 +00:00
Marcus Boerger
cd021cfb3a
Go with studlyCaps
2003-09-18 16:26:29 +00:00
Marcus Boerger
5b3bb16530
Go with studlyCaps
2003-09-18 12:09:55 +00:00
Marcus Boerger
f8a376fe8e
Change tostring() into __toString() to match method name used in casting.
2003-09-18 11:55:57 +00:00
Ilia Alshanetsky
a7f2ec3cdb
Fixed compile warnings. HAVE_ defines cannot work without the header that
...
defines them.
2003-09-17 05:42:57 +00:00
Ard Biesheuvel
0cce471b0a
Link to fbclient.dll if available
...
Add client lib name to dll version info
2003-09-17 01:25:08 +00:00
Ard Biesheuvel
b9a208d821
Use isc_get_version() for client lib info if available
2003-09-16 20:28:27 +00:00
Hartmut Holzgraefe
92b237f4c3
proto fix
2003-09-16 19:45:22 +00:00
Marcus Boerger
d2088841a4
- Make it clear whether it is an interface or a class
...
- Fix static properties
2003-09-16 19:31:45 +00:00
Ard Biesheuvel
be16d129c5
Check for Firebird libfbclient.so first
2003-09-16 19:25:11 +00:00
Ilia Alshanetsky
b871ebd8dc
Fixed bug #25106 (Added more stringent checks on bzopen() mode).
...
In some cases bz2 may fail to open the file, but stream wrappers will still
create an empty file, remove this file.
Change virtual_filepath to virtual_filepath_ex, which allows BZ2_bzfopen()
to work without having to resort to stream wrappers.
2003-09-15 23:49:32 +00:00
Rob Richards
7c33d55961
validate encoding against valid handlers
2003-09-15 12:29:52 +00:00
Hartmut Holzgraefe
3988db4af1
proto descriptions
2003-09-15 09:25:18 +00:00
Moriyoshi Koizumi
676755da54
FREETYPE_PATCH is not always defined.
...
# will likely fix Sebastian's build :)
2003-09-15 07:27:18 +00:00
Ilia Alshanetsky
67a070c151
Fixed bug #25530 (checkdate incorrectly handles floats)
2003-09-15 00:07:51 +00:00
John Coggeshall
ce38ec2b25
Moved things around and added some #ifdefs so that the extension can be used
...
in PHP 4 (without the ZE2 tree parsing).
2003-09-14 00:45:51 +00:00
Sara Golemon
94ff3d5e7d
Fix Bug #25525 ldap_explode_dn crashes when passed invalid params.
2003-09-13 17:31:07 +00:00
Marcus Boerger
2a68d3c19e
Make use of dedicated macro
2003-09-13 10:31:06 +00:00
Ard Biesheuvel
95b0fc58f7
Pointer size fix
2003-09-12 21:02:43 +00:00
Marcus Boerger
7fac56c593
- Change email
...
- Fix warnings
2003-09-12 13:31:23 +00:00
foobar
df8809650c
- Fixed bug #25504 (pcre_match_all() crashes when passed only 2 parameters)
2003-09-12 01:31:54 +00:00
foobar
c77c0269ea
- Fixed bug #25483 (ext/informix: bogus -469 error from ifx_query())
2003-09-11 23:49:26 +00:00
Ard Biesheuvel
7ff3a3e4a3
Add client library info to phpinfo() function
...
Small inter-op fix for IB6
2003-09-11 23:08:48 +00:00
Jay Smith
6c6fd76bac
Fixed bug #25494 (array_merge allowing "false" as argument (silent when
...
non-array is passed))
# 4.3 throws E_NOTICEs, 5 errors out on non-array args as per Ilia's
# suggestion.
2003-09-11 17:40:18 +00:00
foobar
554cee42af
- Fixed bug #25463 (ext/cpdf: compile failure with bundled GD)
2003-09-11 15:25:45 +00:00
Ard Biesheuvel
c5b69dcb14
Changed unsigned ISC_LONG to ISC_LONG
...
# Build fix for FB 1.5
2003-09-11 08:50:30 +00:00
Ilia Alshanetsky
f3f3b772b2
Cleanup r1.76 patch
2003-09-11 04:46:10 +00:00
Hartmut Holzgraefe
1c30f5bcf0
check for FDFErcNoValue was in the wrong execution path,
...
should always be treated as 'no error' (should finally fix #22803 )
2003-09-11 00:47:32 +00:00
Ilia Alshanetsky
dfe3f32ec6
Cleanup previous patch.
2003-09-10 01:07:01 +00:00
Ilia Alshanetsky
29e829fdcf
Fixed bug #14049 (realpath() w/ZTS returns invalid results for non-existent
...
paths)
2003-09-10 00:22:10 +00:00
Melvyn Sopacua
50947cb155
MFB: Fix US/Eastern vs. America/New_York style tzset implementations.
2003-09-09 21:56:33 +00:00
Sara Golemon
4e6672eadd
Fix Bug #25294 LIST/NLST can cause segfault because ftp->data not cleaned properly
2003-09-09 21:12:49 +00:00
foobar
5e40faa1d6
- Fixed bug #25211 (image.c compile failure with AIX)
2003-09-09 19:25:55 +00:00
Moriyoshi Koizumi
36e89f6deb
Add an phpinfo entry showing which version of freetype is linked to gd.
2003-09-09 19:08:30 +00:00
Sara Golemon
4936234fd8
MFB(r-1.74.2.13) Bug #25314 ASCII mode transfers behaving like binary when initiated from windows.
2003-09-08 22:40:12 +00:00
foobar
8345cff1ff
Revert the JIS addition, it did not fix anything
2003-09-08 22:19:39 +00:00
Moriyoshi Koizumi
303fc609a6
Fix build in VC++7.
...
# The line didn't reflect the above comment, helly :)
2003-09-08 20:59:36 +00:00
Ilia Alshanetsky
80fb9496b3
Re-enable sendmail binary check, now with parameter detection.
2003-09-08 20:15:35 +00:00
Rob Richards
315bf401ba
move some document properties internally
...
add xpath namespace support (by Shane)
2003-09-08 18:28:35 +00:00
foobar
62d7073a8b
- Fixed bug #25424 (ext/informix: lvarchar not supported in win32 build)
2003-09-08 15:07:21 +00:00
foobar
8fe843b9ac
MFB: - Added JISX0208=1 and USE_GD_JISX0208 defines
2003-09-08 13:35:14 +00:00
Marc Boeren
b135205d05
Fix warning and converted dos-crlf to unix line-endings.
2003-09-08 07:19:08 +00:00
Ard Biesheuvel
19f69336e2
Don't include unnecessary headers in other configuration too
2003-09-08 00:41:03 +00:00
Ard Biesheuvel
e9ca738200
Don't include unnecessary headers
2003-09-08 00:32:22 +00:00
Marcus Boerger
93a07f6c68
Allow to search for section FILE with 2nd parameter (found by Derick)
2003-09-07 23:46:33 +00:00
Ard Biesheuvel
366a4b7f94
Zero-terminate strings
...
Add fileflags for DEBUG build
2003-09-07 20:35:09 +00:00
Ard Biesheuvel
6c0e21fc74
Add version info to Windows DLL
2003-09-07 19:59:55 +00:00
foobar
9539471c60
Fixed ming to work with new OO stuff. Patch by tony2001 at phpclub dot net
2003-09-07 16:11:41 +00:00
Marcus Boerger
c0b9d55cfa
ZTS fix
2003-09-07 02:37:10 +00:00
foobar
5a7d97fab7
typo + proto fix
2003-09-07 00:00:00 +00:00
Georg Richter
c836bf6036
test for helly's mysqli_fetch_object changes
2003-09-06 19:40:53 +00:00
Marcus Boerger
1ae13e543a
Modify mysqli_fetch_object() to be able to instantiate a selected class and
...
pass parameters to the constructor.
2003-09-06 19:34:48 +00:00
Marcus Boerger
f6239c33bc
Modify pg_fetch_object() to be able to instantiate a selected class and pass
...
parameters to the constructor. Update tests and add a test for these features.
2003-09-06 18:34:55 +00:00
Stefan Roehrich
6206837929
Code cleanup:
...
Fixed ob_gzhandler with register_long_arrays = On.
Unified compression_coding global var (removed ob_gzip_coding).
Switched to zend_parse_parameters().
Added some tests.
2003-09-06 15:31:35 +00:00
Marcus Boerger
5d1dbdbfd2
Bugfix #25404
2003-09-06 15:30:28 +00:00
Sara Golemon
f9734f810c
Add missing proto
2003-09-06 14:56:36 +00:00
Sara Golemon
e6fbb7baf5
http.h php_http,h rename
2003-09-06 14:52:10 +00:00
Marcus Boerger
a986b3f6a4
Add missing newline if no static methods are available
2003-09-06 13:18:12 +00:00
Marcus Boerger
10ea007e39
- Internal functions shall be static
...
- Fix more nesting
2003-09-06 13:11:27 +00:00
foobar
d00a14339c
- Typos, CS, etc.
...
# Sara, add the missing description to the proto..
2003-09-06 13:07:47 +00:00
Marcus Boerger
35529e1964
Fix logic
2003-09-06 13:02:16 +00:00
foobar
ed32007f58
renamed http.h -> php_http.h
2003-09-06 12:56:02 +00:00
Marcus Boerger
c31fc7771a
- Fix CS: {{{ / }}}
...
- Fix static reflection_*::export()
- Add class reflection_object which allows to show dynamic properties
2003-09-06 12:52:40 +00:00
Marcus Boerger
f5b1114449
Use %s where it makes more sense
2003-09-06 10:59:07 +00:00
Sara Golemon
c0469ceb8d
Fix Objects bug. (Objects != Arrays)
2003-09-06 07:34:58 +00:00
Sara Golemon
490e7fd6fd
Fix segfault on uninitialized zval, skip NULL/Resource types, fix integer value handling, and process doubles/bools more efficiently.
2003-09-06 06:57:40 +00:00
Sara Golemon
3b63b21f37
Standard Footer
2003-09-06 05:41:48 +00:00
Sara Golemon
79ad5802a5
Prevent Recursion
2003-09-06 05:41:36 +00:00
Sara Golemon
0be65c49d3
Introducing php_url_encode_hash_ex() internal function
...
and http_build_query() userspace function.
2003-09-06 00:35:21 +00:00
Marcus Boerger
d9d082072c
Omitting is also possible here
2003-09-05 20:09:19 +00:00
Marcus Boerger
f05525a0ef
WS
2003-09-05 20:05:08 +00:00
Marcus Boerger
14ffad71d6
Fix warnings
2003-09-05 19:27:26 +00:00
Ard Biesheuvel
193f5a67db
Add missing CVS Ids
2003-09-05 17:02:02 +00:00
Marcus Boerger
79a507e4eb
Simplify reflection_property::__constructor() and fix property factory
2003-09-05 14:48:55 +00:00
foobar
821f517f63
- Simple test for ming
2003-09-05 14:46:38 +00:00
Marcus Boerger
9a39cd5501
- Don't use resorved words as variable names.
...
- Improve several exception messages.
- Fix Reflection_Property::_construct() / getDeclaringClass()
# The above does not imply that properties are fixed when returned
# by other reflection api methods.
2003-09-05 14:35:31 +00:00
Ard Biesheuvel
2815169319
Be more relaxed about dimensions of array arguments
2003-09-05 14:21:25 +00:00
Ard Biesheuvel
c9d082ef21
Test array handling
2003-09-05 13:08:41 +00:00
Ard Biesheuvel
2802293dd3
Make the test fail if anything goes wrong :-)
...
Some CS
2003-09-05 12:18:03 +00:00
Marcus Boerger
34990374e1
Fix reflection_api::__construct() (noticed by Andrey)
2003-09-05 12:14:03 +00:00
Marc Boeren
e3929cc33a
Added DBX_RESULT_UNBUFFERED flag for dbx_query.
...
Added dbx_fetch_row() function.
Added/updated tests for both.
@Added DBX_RESULT_UNBUFFERED flag for dbx_query. (Marc)
@Added dbx_fetch_row() function. (Marc)
2003-09-05 08:39:26 +00:00
Ard Biesheuvel
e73be1cb4a
Added support for binding arrays
2003-09-04 22:37:14 +00:00
Marcus Boerger
95649ab260
Tests show updating consts must happen once at runtime (revert optimization).
...
Add tests for static properties.
2003-09-04 16:00:01 +00:00
Marcus Boerger
4e7a782f3a
Add reflection_class::getstaticproerties()
2003-09-04 15:57:25 +00:00
Marcus Boerger
421e2e9275
Go with the mess
2003-09-04 14:54:53 +00:00
Marcus Boerger
0f91d8a4f6
Go with stdlyCaps
2003-09-04 14:44:55 +00:00
Ard Biesheuvel
f4511d4aae
Don't rely on sizeof(int) == 4
2003-09-04 14:44:34 +00:00
Ard Biesheuvel
cb8da7b090
Fix inter-op with IB < 6
...
Fixes for 64-bit archs
2003-09-04 14:18:39 +00:00
Ard Biesheuvel
6f998688b5
Fixed fetching of arrays
...
# Untested for multidimensional arrays
2003-09-04 11:09:46 +00:00
Jon Parise
da7facc21b
Register the TYPEMODEL constant from c-client's mail.h.
2003-09-04 07:47:58 +00:00
Ard Biesheuvel
912a834749
No scaling for double type
...
Added missing array types
Precompute scale factors
2003-09-04 01:26:36 +00:00
Sebastian Bergmann
afdecc374d
ZTS fix.
2003-09-03 18:13:11 +00:00
Ard Biesheuvel
4ff5341fb0
WS
2003-09-03 17:15:40 +00:00
foobar
af06d049cf
test for bug #25378
2003-09-03 16:40:52 +00:00
foobar
7d57f9eddf
sync
2003-09-03 16:24:24 +00:00
foobar
ba6c58ad73
- Fixed bug #25378 (Invalid data passed to unserialize() causes segfault)
2003-09-03 16:24:15 +00:00
Ard Biesheuvel
804312c4a1
Test correct binding of 16-bit NUMERIC parameters
2003-09-03 15:24:50 +00:00
Ard Biesheuvel
b3b68834b5
Fix binding of 16-bit NUMERIC parameters
2003-09-03 15:15:30 +00:00
foobar
acd8096d53
- Fixed bug #25372 (sscanf() does not work with %X)
2003-09-03 11:54:35 +00:00
Rob Richards
fd5758781c
changes to php_dom.h for last commit
...
replaced removed closing tags - doh
2003-09-03 10:48:02 +00:00
Rob Richards
5630dd0be2
add document HTML load/save methods
...
add document standalone validate method
cleanup some prototype declarations
domexception inherits from default exception
2003-09-03 10:11:53 +00:00
Marcus Boerger
2f6e25da79
Clearly distinguish between Const, Static and Other members.
...
# Const and static props have more in common then static and dynamic/implicit.
2003-09-03 00:38:13 +00:00
Ard Biesheuvel
d674159601
Nuke far pointers
...
# Unfortunately, this does break compatibility with Windows 3.x :-)
2003-09-02 22:37:26 +00:00
Ard Biesheuvel
f19dcfe8a3
CS fixes
...
# Boy, these guys are worse than -ansi -pedantic
2003-09-02 22:19:18 +00:00
Ard Biesheuvel
4545ea4666
Make ibase_{param|field}_info() return typenames that actually mean something
2003-09-02 19:30:20 +00:00
Marcus Boerger
560d3ab36a
Use appropriate function for property name unmangling.
...
# Make Andrey happy
2003-09-02 14:46:02 +00:00
Marcus Boerger
7148cb9e73
Make these static as noticed by Andrey
2003-09-02 14:11:53 +00:00
Ard Biesheuvel
3d6426ee14
Fix use of EXTERN_C macros
2003-09-02 13:34:23 +00:00
Ard Biesheuvel
0f1b506f20
Can't ignore variadic DEBUG macro for compilers
...
that don't support them. Revert.
2003-09-02 13:17:56 +00:00
Marcus Boerger
bd86aff005
These are implicit properties as denoted by the flag. Dynamic properties only
...
exist in one single object and currently reflection api is not capable of
showing those.
2003-09-02 13:12:47 +00:00
Ard Biesheuvel
dbdd5b415d
Changed some formatting/macro/debugging/variadic stuff
2003-09-02 12:46:42 +00:00
foobar
62d2810cfc
- Fixed bug #25343 (is_dir() gives warning on FreeBSD).
2003-09-02 01:22:02 +00:00
Sara Golemon
29664d9322
MFB: Plug leak when invalid domain name provided.
2003-09-01 22:38:40 +00:00
Marcus Boerger
bca0019d43
Fix initial buffer size
2003-09-01 21:14:09 +00:00
Marcus Boerger
2b19c5435e
Fix class handling of invoke
2003-09-01 21:11:38 +00:00
Marcus Boerger
bef3e13caf
Add missing '}'
2003-09-01 19:47:34 +00:00
Marcus Boerger
cbd08869f2
Add static reflector::export() and its implementations.
...
#
# This makes the main reflection use a lot easier.
#
2003-09-01 16:13:24 +00:00
Marcus Boerger
a389286b99
Set the params in the struct
2003-09-01 15:09:57 +00:00
Stanislav Malyshev
90f7a474ac
The sendmail_path executable check breaks setups that use parameters
...
for sendmail - including the default setup - so I'm disabling it for now.
2003-09-01 08:20:17 +00:00
Ilia Alshanetsky
07f864d06b
Make sure that ftp->data is nulled after it's freed. This may fix bug
...
#25294 & bug #25296 .
2003-08-31 21:07:01 +00:00
Ilia Alshanetsky
9c82b1fa75
Fixed compiler warnings.
2003-08-31 20:45:51 +00:00
foobar
c952ea0bb3
- Fix win32 debug build
2003-08-31 16:28:19 +00:00
foobar
46e47ec0db
- Fix the win32 build.
...
# mbregex is still not build, that onigurama stuff didn't compile
2003-08-31 16:08:46 +00:00
Marcus Boerger
4506d4ea24
Don't repeat first const count(consts) time
2003-08-31 15:47:48 +00:00
Marcus Boerger
660c14e74a
Beautify output
2003-08-31 15:30:13 +00:00
Marcus Boerger
4af0621036
Add reflection_parameters, patch by Timm Friebe
2003-08-31 15:06:54 +00:00
Marcus Boerger
47d1e8ac77
Fix formatting specifier
2003-08-31 14:38:25 +00:00
Marcus Boerger
733e90bf0a
No dots at the end of error messages
2003-08-31 14:35:10 +00:00
Marcus Boerger
2a744ccb90
Fix format specifiers
2003-08-31 14:33:17 +00:00
Zeev Suraski
8767205afa
Fix Win32 linkage problems
2003-08-31 12:41:53 +00:00
Marcus Boerger
8376b7eff7
Check whether we may access tat union
2003-08-31 11:21:30 +00:00
Marcus Boerger
63dacec1d4
Revert commit by accident, sorry
2003-08-31 11:03:05 +00:00
Marcus Boerger
d15ad4609d
Revisited: Replace the non portable code by spprintf
2003-08-31 10:52:23 +00:00
Marcus Boerger
ade319ac54
Using zend_spprintf should be faster here
2003-08-31 10:06:13 +00:00
Sergey Kartashoff
c4b0b8c262
- a new UDM_PARAM_SEARCH_RESULTS mnogosearch API command added to limit
...
maximum number of search results
2003-08-31 07:00:29 +00:00
Marcus Boerger
f1c92fa4c5
- Calling abstract methods should be a error for consistency reason.
...
- So in reflection_api we use the reflection_exception again.
2003-08-30 23:51:42 +00:00
foobar
c803e4643d
No need to enable by default. Derick got confused. :)
2003-08-30 22:09:27 +00:00
foobar
4d788fc1e2
libmbfl is required always
2003-08-30 21:57:29 +00:00
foobar
c57ecb0e9a
ws
2003-08-30 21:32:10 +00:00
Marcus Boerger
6c69b28790
fci.function_table & fci.function_name are not needed since we use zend_fcall_info_cache
2003-08-30 13:47:27 +00:00
Marcus Boerger
e679504861
Be precise
2003-08-30 13:38:23 +00:00
Marcus Boerger
49a538d054
Actually using fcc would be a good idea
2003-08-30 12:58:35 +00:00
foobar
49ff8e7866
Add note about version requirement
2003-08-30 11:01:25 +00:00
foobar
97b151ee3e
Added version checking and --with-openssl-dir option
2003-08-30 10:57:42 +00:00
Sascha Schumann
e090d2ddb9
Never overwrite .c files when re2c does not exist.
2003-08-30 07:27:05 +00:00
Marcus Boerger
c3f7ea3510
Fix property inheritance by using dedicated new function
2003-08-29 23:30:03 +00:00
Marcus Boerger
50040c8ae9
- Use zend_fcall_info_cache in invoke() to improve speed.
...
# This also fixes the problem with calling static methods.
2003-08-29 21:46:12 +00:00
Marcus Boerger
0cb983885d
Throw exception if user wants to pass arguments to an non existing constructor
2003-08-29 21:33:24 +00:00
Marcus Boerger
adaf6429a7
Throw exception if user wants to pass arguments to an non existing constructor
2003-08-29 21:32:25 +00:00
Marcus Boerger
eb8d89c363
Allow to pass arguments to the constructor
2003-08-29 21:13:50 +00:00
Sergey Kartashoff
1795915b32
- A mnogosearch extension is updated to work with mnogosearch-3.2.15+
2003-08-29 13:35:26 +00:00
Sascha Schumann
a3c89a2e8f
Fix a segfault which occured when using a storage format not capable
...
of expressing references (e.g. WDDX) and deserializing a session variable
whose name conflicted with an existing symbol in the global scope.
PR: #25307
Submitted by: Jani Taskinen
Speling fixes: me
2003-08-29 12:33:47 +00:00
foobar
a256170d66
- skip with CLI
2003-08-29 09:09:18 +00:00
Sascha Schumann
5b09f342fe
improve format string
2003-08-29 07:34:47 +00:00
foobar
192666b184
MFB
2003-08-29 00:53:46 +00:00
Marcus Boerger
b75133c0c6
Need to check if we got any value before destroying it
2003-08-28 23:36:46 +00:00
Marcus Boerger
257223bdcc
Match expected class and instantiated class
2003-08-28 23:30:16 +00:00
Marcus Boerger
90561350f9
Add sqlite_fetch_object()
2003-08-28 23:19:51 +00:00
Marcus Boerger
07789ebd0e
Error messages show the class now
2003-08-28 23:18:38 +00:00
Marcus Boerger
d2f39fc11e
format string fix and number of arguments
2003-08-28 23:04:27 +00:00
Ard Biesheuvel
6ee5a0db28
Prototype fixes
...
Return number of affected rows by ibase_query() and ibase_execute() if > 0
# Second change was actually introduced in 1.149, but never
# mentioned in the CVS log
2003-08-28 22:12:06 +00:00
Andrey Hristov
189e2d8862
this is the right parameter
2003-08-28 21:06:44 +00:00
Andrey Hristov
b2eb454171
format string fixes
2003-08-28 21:00:24 +00:00
Andrey Hristov
acb65b7c0a
misplaced quote
2003-08-28 20:51:18 +00:00
Andrey Hristov
20383f9080
\n at the end of the message is not needed
2003-08-28 20:43:18 +00:00
Ilia Alshanetsky
9d9727aac5
Fixed compiler warnings.
2003-08-28 19:17:34 +00:00
Ilia Alshanetsky
4f2e9bbc45
Fixed format error.
2003-08-28 17:56:41 +00:00
Sascha Schumann
237da469d7
format string fix
2003-08-28 17:34:33 +00:00
Sascha Schumann
b9a67764d5
Fix error message
2003-08-28 17:09:44 +00:00
Sascha Schumann
436a07176c
fix format strings
2003-08-28 16:49:57 +00:00
Ard Biesheuvel
50006652ae
Fixed some format strings
2003-08-28 16:48:22 +00:00
foobar
04bbd9a2f7
Revert the patch per Dan\´s request
2003-08-28 16:35:32 +00:00
Sascha Schumann
6a7dde29e7
kill warnings
2003-08-28 16:28:33 +00:00
foobar
2811f9293d
MFB
2003-08-28 16:19:08 +00:00
Sascha Schumann
96ad1c8bcb
fix format string (long port)
2003-08-28 15:16:20 +00:00
foobar
b26dcef54f
MFB
2003-08-28 14:58:02 +00:00
Andrey Hristov
367880b2c1
proto fix
2003-08-28 12:18:51 +00:00
foobar
29b9d26223
typofix
2003-08-28 09:55:11 +00:00
Moriyoshi Koizumi
86e2c16d9c
Add further check for "#include MACRO" style syntax
2003-08-28 06:04:48 +00:00
Ilia Alshanetsky
bf82857475
Fixed bug #25109 (Possible crash when fetching field name)
2003-08-28 00:31:36 +00:00
Ilia Alshanetsky
e5879a5060
Fixed tests that failed in ZTS due to incorrect file paths.
...
Fixed test that failed due to new array dimension property being fetched.
2003-08-28 00:29:44 +00:00
Ard Biesheuvel
c78169086b
Test multiple execution of a prepared EXEC PROCEDURE statement
2003-08-28 00:18:27 +00:00
Ard Biesheuvel
36716c2525
Test for BLOB ID survival of close()/connect()
2003-08-28 00:17:25 +00:00
Ard Biesheuvel
fd89b9a783
Removed TSRMLS_FETCH from _php_ibase_module_error()
2003-08-28 00:11:16 +00:00
Ilia Alshanetsky
32b5df0bc7
Prevent abrupt script execution when sendmail_path contains invalid
...
executable.
Add more detail to the warnings regarding execution of sendmail binary.
2003-08-27 23:53:15 +00:00
Ard Biesheuvel
2db5c7de85
Do not reuse data structure for ibase_execute() results.
...
Invalidate the results whose statement handle has been invalidated.
# EXEC PROCEDURE results don't need a statement handle, so
# the result doesn't have to be invalidated.
Fixed some add_{index|assoc}_*() bogosity
2003-08-27 22:55:06 +00:00
Marcus Boerger
43836e97c5
Nuke unused variable
...
# I should have taken Timm's patch
2003-08-27 20:48:41 +00:00
Marcus Boerger
7f5196953c
Fix reflection_class::newInstance()
2003-08-27 20:45:34 +00:00
Dan Kalowsky
0347ca91f4
Committing a patch for IBM DB2 BLOB support submitted by Clara Liu
...
(clara@zealworks.com ).
# I haven't had time to completely test this patch, a few users have stated
# that it works well for them and a few others want to test with windows
# builds, hence the submission.
2003-08-27 18:21:52 +00:00
Sara Golemon
3560cd83c0
Squelch warning "Variable may be used uninitialized."
...
This would never occur anyway because of the logic of the function,
but gcc isn't quite smart enough to realize this.
2003-08-27 00:43:54 +00:00
Ilia Alshanetsky
249e8d5fa8
Fixed bug #22243 (make pg_meta_data fetch array dimentions)
...
m-lesser[at]better-com.de
2003-08-27 00:04:19 +00:00
foobar
625600af30
- Prevent crash if non-existing save/serializer handler is tried to be used
...
- Added the registered serializers information to MINFO.
2003-08-26 02:03:41 +00:00
Sara Golemon
a76f0dc8ae
Bugfix#25239 Closing control stream while data stream is open violates RFC959 section 2.3
2003-08-25 22:25:33 +00:00
Marcus Boerger
ba4178189b
- Fix compile
...
- Building still not possible
2003-08-25 21:54:26 +00:00
Marcus Boerger
0bd1567fe1
Update exception code
2003-08-25 20:55:14 +00:00
Marcus Boerger
b7d325991d
Exceptions work now
2003-08-25 20:54:37 +00:00
foobar
6b7cb7c570
Some minor fixes so that this works with autoconf 2.13 too
2003-08-25 04:08:29 +00:00
Moriyoshi Koizumi
e49c59038c
Sync with original
2003-08-25 01:44:17 +00:00
Moriyoshi Koizumi
39ae479942
Allow usage of external libmbfl
2003-08-24 22:46:13 +00:00
Moriyoshi Koizumi
7fe12aaa17
Integrate allocator code into mbstring.c
2003-08-24 22:15:49 +00:00
Moriyoshi Koizumi
ebcdf6f299
Sync with the original
2003-08-24 20:07:13 +00:00
Marcus Boerger
cec053f707
Don't identify alias'ed functions
2003-08-24 16:35:58 +00:00
Marcus Boerger
e44d0f526c
Add dedicated reflection_exception
2003-08-24 15:07:54 +00:00
Stefan Roehrich
aa632187cd
Fixed bug #25218 ("deflate" compressed pages had a gzip header, which
...
should only be sent with "gzip" compressed pages).
2003-08-24 13:59:34 +00:00
Stefan Roehrich
8828e17a44
Fixed zlib.output_compression without register_long_vars set.
2003-08-24 13:32:50 +00:00
Marcus Boerger
669603f69d
Make invoke() work
2003-08-24 12:07:13 +00:00
Marcus Boerger
96d4ac7a3f
zend_parse_parameters 'O' works the way we need here
2003-08-24 11:34:01 +00:00
Marcus Boerger
418a7f980c
Not needed
2003-08-24 11:28:53 +00:00
Marcus Boerger
bd07968bef
- Add Reflection_Function::isAlias
...
- Use ZEND_ME/ZEND_METHOD
- Fix static entries
2003-08-24 11:11:55 +00:00
Rob Richards
b196c0551e
implement stricterrorcheck
...
fix clonenode
cleanup error routines
forgot these files
2003-08-24 10:24:22 +00:00
Rob Richards
09481c642b
implement stricterrorcheck
...
fix clonenode
cleanup error routines
2003-08-24 10:23:43 +00:00
Rob Richards
ea1b33438a
remove document pointer references as doc is now copied
2003-08-24 10:18:08 +00:00
Marcus Boerger
c3d60fd7ff
Allow zend_throw_exception() to also set the exception code
2003-08-23 19:48:52 +00:00
Marcus Boerger
5e77dc44dc
Show ctor/dtor information and those don't return anything
2003-08-23 15:47:23 +00:00
Rui Hirokawa
6b92fbdef9
revert previous patch.
2003-08-23 10:04:43 +00:00
Rui Hirokawa
d2f002eed9
changed for ZTS mode.
2003-08-23 08:59:47 +00:00
Rui Hirokawa
697ce0776f
revert my patch.
2003-08-23 08:27:46 +00:00
Rui Hirokawa
c8b525859d
strcasecmp macro moved to mbfl_compat.h.
2003-08-23 08:26:46 +00:00
Rui Hirokawa
e4f5e1da6d
remove unnessesary files.
2003-08-23 06:51:16 +00:00
Rui Hirokawa
48d8c3fba7
removed mbstring/*/config.h.
2003-08-23 06:27:06 +00:00
Rui Hirokawa
a05608dd7b
added .cvsignore and README.
2003-08-23 06:20:59 +00:00
Rui Hirokawa
5a80df26f3
@mbfilter is changed to bundled version of libmbfl to prevent LGPL licence problem. mbregex is changed to oniguruma.
2003-08-23 06:18:44 +00:00
Wez Furlong
21329c5e0c
allow building without libxml2 under win32
2003-08-22 15:04:29 +00:00
Marcus Boerger
0e32aaa8c6
Add function 'zend_throw_exception(char *message, int duplicate TSRMLS_DC);'
...
to provide an easy way to throw exceptions for extension developers.
2003-08-21 23:32:13 +00:00
Marcus Boerger
304f37fb80
Fix parameter spec
2003-08-21 14:34:07 +00:00
Jon Parise
34821ed474
Under FreeBSD, statfs(2) requires both <sys/mount.h> _and_ <sys/param.h>.
...
The autoconf check for <sys/mount.h> was failing because <sys/param.h>
wasn't being universally included.
This gets disk_total_space() and disk_free_space() working again under
FreeBSD.
2003-08-21 06:24:17 +00:00
Marcus Boerger
1cf91a7ac5
Extensions that do opcode hooking must provide the removed functions/macros
...
themselves now.
2003-08-21 00:10:49 +00:00
Ard Biesheuvel
84f995903b
Fix false warning on zero-size BLOB fetch
2003-08-20 22:59:33 +00:00
Sara Golemon
6f88d49d6c
Add resume_pos (resume position) context option for restarting file downloads.
2003-08-20 21:59:29 +00:00
Brian France
d50e0bf4de
Added a parameter to php_setcookie to toggle URL encoding of the cookie data
...
Added the function setrawcookie that turns off URL encoding of the cookie data
Changed setcookie to turn on the URL encoding of the cookie data
2003-08-20 20:51:10 +00:00
Ard Biesheuvel
27582c4862
Reuse result data structure and resource id for consecutive executions
...
of a prepared query
# As previous resources are invalidated anyway because their statement
# handle is reused, we don't have to allocate a new result for every
# execution of a prepared query
2003-08-20 19:47:00 +00:00
Brad House
f0bf9dd62d
allow destructor to clean up connection data
2003-08-20 19:45:07 +00:00
Rob Richards
d7e6bdaa0f
fix infinite loop in normalize
2003-08-20 18:58:03 +00:00
Rob Richards
20a878dc60
doc must be copied when importing stylesheet
...
libxslt uses the _private for processing
2003-08-20 17:58:55 +00:00
Ilia Alshanetsky
ece0a731e9
Fixed bug #25170 (Problem with generation of random numbers on solaris)
2003-08-20 16:40:22 +00:00
Ard Biesheuvel
d70f744a63
Moved transaction defaults to header file
2003-08-20 16:13:51 +00:00
Ard Biesheuvel
8f869998b5
Cleaned up _php_ibase_var_zval()
2003-08-20 13:02:26 +00:00
Ard Biesheuvel
551526812b
Fix Win32 build
2003-08-20 12:40:59 +00:00
Ard Biesheuvel
1b8e0440d2
Moved some local vars to stack
2003-08-20 12:40:05 +00:00
Ard Biesheuvel
d7c734edb9
Nuke link handle from BLOB id
...
# Now BLOB ids can survive disconnect/reconnect
Added link argument to ibase_blob_{open|info|echo}()
2003-08-20 12:22:58 +00:00
foobar
498685fb2f
Fix phpize build
2003-08-20 08:14:24 +00:00
Jon Parise
5649b2ca2a
Explicitly declare the dependencies on the generated sqlite.h file. This
...
allows the libsqlite source tree (and php-src, as a whole) to be built
using 'make -j' once again.
2003-08-20 07:41:42 +00:00
Ilia Alshanetsky
ef088c9d16
Fixed bug #25155 (Possible namespace conflict between mime-magic & mssql)
2003-08-19 22:13:01 +00:00
Moriyoshi Koizumi
9bb299eb42
More accurate fix for bug #25140
2003-08-19 14:48:33 +00:00
Derick Rethans
9cd7b9d3c3
- Fix for bug #25140 (mb_convert_encoding returns FALSE when it tries to
...
convert empty string)
2003-08-19 08:29:57 +00:00
Derick Rethans
5e1062fe7c
- Back out Ilia's not-yet-ready patch.
2003-08-19 06:34:46 +00:00
Wez Furlong
9ada9e5767
fix build
2003-08-19 01:30:27 +00:00
Wez Furlong
bedccec85b
Update credits
...
# re-ordering of some of the lines is due to case-insensitive
# win32 filesystem
2003-08-18 23:31:14 +00:00
Wez Furlong
42a8c536de
5 sir
2003-08-18 23:26:31 +00:00
Zeev Suraski
391c027da6
Get rid of PZVAL_UNLOCK() - fix untested
2003-08-18 23:13:25 +00:00
Ilia Alshanetsky
c23609efa7
Fixed paths in various tests. In certain conditions usage of partial file
...
paths results in test failures.
2003-08-18 22:57:49 +00:00
Zeev Suraski
ed21ddd4f3
Fix a gazillion leaks in SimpleXML. One gazillion to go ;)
2003-08-18 22:33:15 +00:00
Zeev Suraski
e404e1d0fe
Fix leak - non persistent hashes cannot be used in MINIT!
2003-08-18 20:45:00 +00:00
Zeev Suraski
1fb9d4896a
WTF was that doing here? :)
...
Fix crash
2003-08-18 11:26:12 +00:00
Ilia Alshanetsky
06da1b95db
Fixed typo.
2003-08-18 11:18:41 +00:00
Ilia Alshanetsky
741014089e
emalloc -> safe_emalloc
2003-08-18 04:41:48 +00:00
Ard Biesheuvel
f96efcbf90
Nuke bogus BLOB ids
...
# User-space BLOB id no longer contains transaction handle, so BLOB ids
# now remain valid throughout multiple transactions.
# Oh, and they look better too :-)
2003-08-18 00:14:53 +00:00
Marcus Boerger
717b5afe1d
Fix warnings
2003-08-17 18:56:54 +00:00
Marcus Boerger
ae2c7b9b4f
Fix warnings
2003-08-17 18:21:35 +00:00
Marcus Boerger
ddf4ad5744
Fix warning
2003-08-17 17:14:11 +00:00
Ard Biesheuvel
a4bb353f2b
Simplify previous fix
2003-08-17 16:30:15 +00:00
Ard Biesheuvel
91e3344eec
Test immediate BLOB inserts
2003-08-17 16:14:29 +00:00
Ard Biesheuvel
008115b9ed
Fixed leak in _php_ibase_bind()
2003-08-17 16:13:52 +00:00
Marcus Boerger
0d5ee859dd
Fix warnings
2003-08-17 15:43:41 +00:00
Sascha Schumann
2405caf32e
kill some warnings
2003-08-17 15:04:57 +00:00
Ard Biesheuvel
e5bae36a1a
Test fetching BLOBs >64k
2003-08-17 14:58:33 +00:00
Sascha Schumann
feb1ccc6b8
Use explicit rule to create parsedate.c
2003-08-17 14:16:03 +00:00
Sascha Schumann
26863c9928
Use %p to display a pointer value
2003-08-17 14:01:17 +00:00
Sascha Schumann
3a81e99c1f
The first element of the array seems to store the members count
...
Add a cast to (long) to quiet the compiler
2003-08-17 13:59:59 +00:00
Sascha Schumann
e6b45266d2
The integer timeout is cast to a void *, passed to this function, and
...
cast back.
Add a cast to (long) to quiet the compiler
2003-08-17 13:57:53 +00:00
Sascha Schumann
1f722edd1c
Fix sizeof(void *) > sizeof(int) issue.
...
n should be ptrdiff_t.
2003-08-17 13:53:57 +00:00
Ard Biesheuvel
0e69444021
Fix possible leak in _php_ibase_fetch_hash()
2003-08-17 13:16:54 +00:00
Ard Biesheuvel
1967ceeda4
Apply fix for ibase_blob_get() to ibase_fetch_*()
...
Apply fix for ibase_blob_add() to ibase_query()/ibase_execute()
2003-08-17 12:31:55 +00:00
Derick Rethans
fe7bb97737
- Fix the comment too
2003-08-17 11:49:18 +00:00
Derick Rethans
cd2540373f
- This parser contains 17 reduce conflicts
2003-08-17 11:48:29 +00:00
David Croft
2a216c1f36
#typo
2003-08-17 09:57:21 +00:00
Derick Rethans
77729f89dd
- Fixed bug #17988 : strtotime fails to parse timestamp from postgresql
...
#- This is actually a feature request
2003-08-16 20:55:28 +00:00
Marcus Boerger
fe1a086d19
Simplify abstract method declaration
2003-08-16 20:46:22 +00:00
Marcus Boerger
c346aad91a
spl_call_method returns the zval* if used
2003-08-16 20:27:29 +00:00
Ard Biesheuvel
812758b73e
Fix failure on accidental fread() of 0 bytes
2003-08-16 20:04:41 +00:00
Ard Biesheuvel
841983fea0
Always fill entire buffer in ibase_blob_get()
2003-08-16 19:48:32 +00:00
Ard Biesheuvel
254f827c4b
Fixed bug #18744
2003-08-16 16:09:24 +00:00
Ard Biesheuvel
6561a0546b
Some general cleaning up
...
Some preliminary changes for extensions to array functions
2003-08-16 15:31:06 +00:00
Ard Biesheuvel
b3058675c1
Fixed bug #24224
...
Some general cleaning up
Some preliminary changes for extensions to array functions
2003-08-16 15:30:22 +00:00
Ard Biesheuvel
69c8bac05e
Test for bug #24224
2003-08-16 15:22:36 +00:00
Marcus Boerger
0c7c8f4857
Simplify
2003-08-16 10:37:14 +00:00
Jason Greene
90289924c0
Remove all vector based functions for the following reasons:
...
- This solves alot of platform compatibility problems
- The possible security issue of allocating an incredibly large vector
pool is prevented
- They are of little to no benefit in a high level language
- 99% of all things done with these functions can be done using
sendto/recvfrom
2003-08-16 06:34:36 +00:00
Ard Biesheuvel
78a3fe8fca
Removed ibase_num_rows()
...
Converted some MACRO-isms
2003-08-16 01:58:29 +00:00
Ard Biesheuvel
654aa13c76
Added comment about ibase_num_rows()
2003-08-16 00:58:24 +00:00
foobar
1ba3e3a6dc
MFB
2003-08-15 18:47:23 +00:00
Ard Biesheuvel
dfbed2aa24
Added ibase_free_event_handler()
2003-08-15 16:13:51 +00:00
Andrey Hristov
e8a3e059f0
2 proto fixes (Mehdi Achour)
2003-08-15 12:08:15 +00:00
John Coggeshall
fbff369efc
Updating TODO
2003-08-15 06:10:36 +00:00
Ard Biesheuvel
d348c64326
Moved TRMLS_FETCH to correct scope
2003-08-15 00:16:58 +00:00
Ard Biesheuvel
d5de1ad41c
Added ibase_set_event_handler()
2003-08-15 00:06:07 +00:00
Marcus Boerger
33cae26946
Upds
2003-08-14 21:44:38 +00:00
Marcus Boerger
175c25c2a8
Add 'graphical' tree mode
2003-08-14 21:14:04 +00:00
Wez Furlong
cb7f8881ea
add credits
2003-08-14 20:48:06 +00:00
Wez Furlong
61313924a4
fix .net build
2003-08-14 20:31:38 +00:00
Ilia Alshanetsky
38a98c55f7
Fixed bug #25093 (Various leaks due to non-freed queries)
2003-08-14 17:49:08 +00:00
Marcus Boerger
bf759e9609
Don't test other functionality than wddx here.
2003-08-14 17:25:05 +00:00
Wez Furlong
6df5d5ba20
Add new COM (and .Net) extension for php5.
...
Not yet complete, but should work for most people.
2003-08-14 16:49:56 +00:00
Ilia Alshanetsky
e6b916cb15
Fixed bug #25081 (odbc_fetch_array() may mangle numeric fields).
2003-08-14 14:36:38 +00:00
Ard Biesheuvel
970371efa2
Added ibase_wait_event()
2003-08-14 10:55:02 +00:00
Ilia Alshanetsky
b9b75991e3
Fixed bug #25084 (Make refer check not dependant on register_globals)
2003-08-14 01:30:06 +00:00
Ilia Alshanetsky
5eb23bf01e
Added missing skip condition
2003-08-14 00:54:28 +00:00
Ilia Alshanetsky
64345cdd6e
Fixed a possible crash due to invalid handling of assert ini options.
2003-08-14 00:37:42 +00:00
Edin Kadribasic
07ed14a907
MFB: standard location for the include files
2003-08-13 23:04:08 +00:00
Wez Furlong
1e679b02fe
It's boolean, not long.
...
# fixes a warning under vc7
2003-08-13 22:31:22 +00:00
Vlad Krupin
a90d56f52c
this comment makes no sense after the previous commit
2003-08-13 21:01:04 +00:00
Vlad Krupin
3aaff90725
changes to accomodate win32 build
...
# I am not sure whether reading from registry, like I do now is a good
# idea, but nobody on php-dev has offered any opinion for or against that
2003-08-13 18:59:44 +00:00
Vlad Krupin
5b6e35851d
win32 build is now possible Credit is due to Jan Gehring <gehring@egotec.de> for figuring that out
2003-08-13 18:57:19 +00:00
Moriyoshi Koizumi
fd8411635e
Slight improvement. Hope this will make some difference.
2003-08-13 18:21:06 +00:00
foobar
e7820af9f8
fix test
2003-08-13 10:40:28 +00:00
foobar
e86d532430
Disable the debugging to prevent the tests from failing.
2003-08-13 10:35:14 +00:00
foobar
604b06e4ca
Fix the test. (this was mixed test with bug #24159 )
2003-08-13 09:48:20 +00:00
Marc Boeren
c0dcd3647b
Remove special-case from test for SQLite persistent connections.
2003-08-13 07:54:31 +00:00
Ard Biesheuvel
05db087834
Allow the use of EXECUTE PROCEDURE statements
2003-08-13 02:19:14 +00:00
foobar
8733d2dacb
revert that, it did not fix anything
2003-08-13 01:37:31 +00:00
foobar
0ee19d47d9
Fix external builds (configure run outside srcdir)
2003-08-13 01:24:27 +00:00
Sara Golemon
cc28589156
Prevent carryover when max-min > signed int max
2003-08-13 00:49:22 +00:00
Marcus Boerger
fb1288d067
# Wez, your whish is my command
2003-08-12 21:29:28 +00:00
Marcus Boerger
ab9198e396
Bugfix #25056
2003-08-12 21:15:16 +00:00
Ard Biesheuvel
b220a551f6
.... and again
2003-08-12 18:08:13 +00:00
Ard Biesheuvel
c552c34b76
Re-commit of failed patch
2003-08-12 18:01:59 +00:00
foobar
72000ab8a5
Revert previous patch.
2003-08-12 17:41:37 +00:00
Ard Biesheuvel
b58fa703b4
Allow prepared execution of any non-query statement except CREATE DB
...
(fixes bug #7014 )
2003-08-12 17:33:54 +00:00
Ard Biesheuvel
5a30b61eba
Fixed bug #23936 (fail to select and fetch)
2003-08-12 13:19:36 +00:00
Andrey Hristov
9ac579c2c0
proto fixes(Mehdi Achour)
2003-08-12 11:37:40 +00:00
Ard Biesheuvel
dd5b49796c
Added comment in code :-)
2003-08-12 11:35:26 +00:00
Ard Biesheuvel
9e445746e5
Revert ugly workaround for erroneous results of ibase_num_rows() (see comment in code)
2003-08-12 11:27:03 +00:00
Ard Biesheuvel
d6477e1b6d
Fix for missing errmsg in test 005
2003-08-12 10:02:25 +00:00
Ard Biesheuvel
cba7a31245
Tiny fix
2003-08-12 09:57:57 +00:00
Ard Biesheuvel
8d34c2b4ba
Changed to reflect corrected ibase_trans() behaviour
2003-08-12 09:57:17 +00:00
Ilia Alshanetsky
025c35a58b
Fix compiler warnings.
2003-08-12 04:19:06 +00:00
Ard Biesheuvel
feb8bb7dfc
Fix for failed tests except 005
2003-08-12 02:16:40 +00:00
foobar
b2ef50391b
fix build
2003-08-12 02:11:41 +00:00
foobar
83595f1f5c
fix test
2003-08-12 02:05:21 +00:00
Ilia Alshanetsky
93bcd55eaf
emalloc -> safe_emalloc
2003-08-12 00:58:52 +00:00
Ilia Alshanetsky
3652ab6032
Fixed bugs in various tests.
2003-08-12 00:44:05 +00:00
foobar
24b26ec546
Fix the test results (negative indices are not strings anymore)
2003-08-11 23:55:46 +00:00
Ilia Alshanetsky
ed40ae2650
emalloc -> safe_emalloc
2003-08-11 23:16:54 +00:00
Marcus Boerger
f77f977d0e
Bugfix 21918
2003-08-11 20:14:25 +00:00
Ilia Alshanetsky
22c3346967
Fixed bug #22245 (References inside $_SESSION not being handled).
2003-08-11 19:20:44 +00:00
Andrey Hristov
6825993fcc
proto fix (thanks to Mehdi Achour for notifying)
2003-08-11 11:27:27 +00:00
Masaki Fujimoto
ab9dcec292
- added script encoding support to Zend Engine 2.
...
this enables ZE2 to gracefully parse scripts written in UTF-8 (with BOM),
UTF-16, UTF-32, Shift_JIS, ISO-2022-JP etc... (when configured with
'--enable-zend-multibyte' and '--enable-mbstring')
2003-08-11 05:24:42 +00:00
Ilia Alshanetsky
4320c6994f
Fixed bug #21957 (serialize() mangles objects with __sleep).
2003-08-11 03:22:24 +00:00
foobar
da30777de5
Simplify a bit
2003-08-11 02:32:17 +00:00
foobar
7f5dc67bb0
Fix compile warning
2003-08-11 02:03:40 +00:00
foobar
e9eb29011c
Nuke unused variable
2003-08-11 01:56:43 +00:00
foobar
b5184a6fb0
Fix the compile warnings properly
2003-08-11 01:54:45 +00:00
Sara Golemon
530f502198
Collection of tests for stream_socket_(client|server)(). TCP/UDP (AF_INET & AF_INET6) and UNIX/UDG
2003-08-11 01:30:55 +00:00
foobar
ebec2bb859
Moved the RINIT(crypt) stuff into crypt() itself.
2003-08-11 00:49:19 +00:00
Ard Biesheuvel
e1accb81c0
Added myself
2003-08-11 00:49:08 +00:00
foobar
9a2a0aa5e1
- Fixed bug #25007 (rand() & mt_rand() seed RNG every call).
...
# Also cleaned up the code a bit with this fix.
2003-08-11 00:42:29 +00:00
Ard Biesheuvel
69252c3c77
Added ibase_num_params() and ibase_param_info()
...
@- Added function ibase_num_params() (Ard)
@- Added function ibase_param_info() (Ard)
2003-08-10 20:53:19 +00:00
Marcus Boerger
d2ea062ef0
Fix warnings
2003-08-10 20:39:58 +00:00
Marcus Boerger
9274d2c203
Nuke unused vars
2003-08-10 20:39:19 +00:00
Marcus Boerger
a28b0fdbb4
Nuke unused vars
2003-08-10 20:13:38 +00:00
Ard Biesheuvel
9972e05ca1
Win32 fixes
2003-08-10 17:24:51 +00:00
Ard Biesheuvel
9510d999dc
Added ibase_affected_rows() and ibase_num_rows()
...
Fix for ibase_fetch_*() error after exhaustion of result
@- Added ibase_affected_row() (Ard)
@- Added ibase_num_rows() (Ard)
2003-08-10 16:21:26 +00:00
Marcus Boerger
74fdac04fe
This is a void funtion
2003-08-10 15:05:14 +00:00
Ard Biesheuvel
b676e9533b
Changed ibase_query() to free transaction resource if SQL is COMMIT or
...
ROLLBACK
2003-08-10 13:20:38 +00:00
Marcus Boerger
142c79d653
Add foreach/continue test
2003-08-10 13:17:02 +00:00
Ilia Alshanetsky
c6134c346c
Use getenv() rather then $_ENV, the latter is not always avaliable.
2003-08-09 21:00:42 +00:00
Ilia Alshanetsky
e5b7d5ccb4
Fixed bug #24897 (inconsistent behavior of shuffle() & array_multisort())
2003-08-09 20:49:00 +00:00
Marcus Boerger
30a68c8d84
Fix exif_thumbnail
2003-08-09 20:43:06 +00:00
Marcus Boerger
42cf1f8b97
Fix refcounting for $var = $obj[$idx] = $value;
2003-08-09 19:24:11 +00:00
foobar
a6b7a911bd
Cosmetic note
2003-08-09 18:43:45 +00:00
Ilia Alshanetsky
caf80ad788
Correct test to work with later versions of GNU Aspell (more common).
2003-08-09 18:40:40 +00:00
Ilia Alshanetsky
ac41c5db23
Added/improved tests for bugs 24142, 24063, 24951, 24980
2003-08-09 16:44:33 +00:00
Ilia Alshanetsky
e49964fe99
Do not assume array contains numeric values.
2003-08-09 16:43:28 +00:00
foobar
c6f90cde63
Added missing ?> so this test can be run without run-tests
2003-08-09 15:46:36 +00:00
Derick Rethans
e491d75df3
- Fix memleak (this strndup is totally unnecessary)
2003-08-09 11:20:38 +00:00
Marcus Boerger
66b910e87c
Bugfix #24142 , part 2
2003-08-09 01:12:41 +00:00
Ilia Alshanetsky
a2873880f6
Fixed bug #24980 (array_reduce() uses first element as default running
...
total).
Fixed memory leak that can be replicated using the function example on
http://www.php.net/array_reduce
2003-08-08 23:50:36 +00:00
Ilia Alshanetsky
370ea1c82f
Avoid a round() bug that occurs due to over optimization of C code by gcc.
...
This bug was confirmed across multiple systems with gcc 2.95.3 & 3.X+
2003-08-08 23:40:44 +00:00
Ard Biesheuvel
b1db823ad1
Changes ibase_query() to support SET TRANSACTION statements
...
@- Added support for SET TRANSACTION statements in ibase_query() (Ard)
2003-08-08 13:47:20 +00:00
Ilia Alshanetsky
5c6ee17a9e
Fixed bug #24977 (Revert mysql_select_db optimization)
2003-08-08 13:36:28 +00:00
Ilia Alshanetsky
6f2df21136
Fixed bug #24909 (Bad random numbers with ZTS builds on Solaris)
2003-08-08 13:34:38 +00:00
Edin Kadribasic
5c9b6bf0ca
It builds much better when linked to the right lib
2003-08-08 12:15:17 +00:00
Edin Kadribasic
43a69b480f
Windows build file (doesn't build yet)
2003-08-08 11:55:34 +00:00
Ard Biesheuvel
870ba56375
Changed the names of some struct members for readability
...
Added function ibase_errcode()
@- Added function ibase_errcode() (Ard)
2003-08-08 11:04:12 +00:00
Moriyoshi Koizumi
fb02fdf306
Fix test as the "expected result" was totally pointless in the first place.
2003-08-08 10:53:54 +00:00
Moriyoshi Koizumi
de02912ef2
Fix the test which should have been fixed long ago.
2003-08-08 10:52:50 +00:00
Moriyoshi Koizumi
68120caddc
Add test case for the bug
2003-08-08 10:35:53 +00:00
Moriyoshi Koizumi
5e343ad110
Eliminate redundant assignment
2003-08-08 09:51:28 +00:00
Moriyoshi Koizumi
de9d52c4e9
Real fix for the problem addressed in the last commit message.
2003-08-08 09:40:58 +00:00
Sara Golemon
1a0bd6e903
Plug leak in ftp_url_stat
2003-08-08 06:18:25 +00:00
Ard Biesheuvel
f9ad8f236e
Changed _php_ibase_trans_end() to allow committing of default transaction
...
of a non-default link
2003-08-08 01:42:09 +00:00
Marcus Boerger
6da189d1e8
Once ago this was used
2003-08-07 22:50:46 +00:00
Marcus Boerger
0040355af8
- Reduce number of c-functions/macros involved in function invocation
...
- Unify names of remaining c-function/macro names
2003-08-07 22:43:01 +00:00
Marcus Boerger
47a80fee58
Switch to use zend_call_function() what shortens spl code
2003-08-07 22:19:50 +00:00
Rob Richards
6fae803c12
fix bug #24957 (var_dump of object segfaults)
2003-08-07 21:39:00 +00:00
Moriyoshi Koizumi
12ac36ca8d
Move shutdown code to better place
2003-08-07 19:53:31 +00:00
Moriyoshi Koizumi
a12601456a
Fix wrong behaviour under ZTS that was inconsistent with non-ZTS.
...
# This patch really needs MFH
2003-08-07 19:45:26 +00:00
Rob Richards
036b93c4e2
fix segfault when importing multiple documents
2003-08-07 18:38:39 +00:00
John Coggeshall
a123efb6ed
Whitespace fixes.
2003-08-07 17:53:48 +00:00
Moriyoshi Koizumi
3bf0b26218
Tru64 requires TZ values be POSIX styled.
...
# See http://h30097.www3.hp.com/docs/base_doc/DOCUMENTATION/V50_HTML/MAN/MAN3/0247____.HTM for detail.
2003-08-07 17:46:18 +00:00
Zeev Suraski
9db05a36a5
Remove 'proto' from internal functions
2003-08-07 16:46:11 +00:00
Zeev Suraski
23f08b9a2f
fix another broken prototype
2003-08-07 16:03:17 +00:00
Zeev Suraski
2e869c7cb3
Fix prototype
2003-08-07 16:02:28 +00:00
Zeev Suraski
522bcba0a8
Fix docline
2003-08-07 15:51:05 +00:00
Ilia Alshanetsky
e06311c091
Fixed bug #24839 (& -> & in php credits)
2003-08-07 15:41:24 +00:00
Ard Biesheuvel
712d7d561b
Fixed crash in _php_ibase_error() after request shutdown
2003-08-07 01:00:22 +00:00
Ard Biesheuvel
fdb039dbef
K&R cosmetics
...
# Summary of the changes in recent revisions for the NEWS file
@- Changes to Interbase extension: (Ard)
@ . Support in ibase_trans() for multiple databases
@ . New functions ibase_commit_ret() and ibase_rollback_ret(), which retain
@ the transaction context after execution
@ . Support in ibase_query() for CREATE DATABASE statements
@ . New function ibase_drop_db()
@ . New function ibase_name_result(), which assigns a name to a result for use
@ with SELECT ... FOR UPDATE statements
2003-08-07 00:00:19 +00:00
Moriyoshi Koizumi
c7a29109a8
MFB(1.142.2.22): add missing NLS entry for German.
2003-08-06 22:01:23 +00:00
John Coggeshall
a8356a0dc6
Keeping up with ZE changes to the function struct, fixed tests
2003-08-06 21:32:46 +00:00
John Coggeshall
fb2b65e5fd
PEAR packaging details
2003-08-06 20:17:10 +00:00
Vlad Krupin
5636f96147
Fix for bug 23463. Dbase2 is not supported.
...
AFAICT, no newer versions of dbase, even those use
version byte as a bitmask will ever have it <3.
2003-08-06 19:06:24 +00:00
Ard Biesheuvel
00d42286ec
Added three new user functions
...
ibase_{commit|rollback}_ret()
Commit or rollback a transaction without losing the transaction context.
ibase_name_result()
Assign a name to a result so {UPDATE|DELETE} ... WHERE CURRENT OF <name>
statements can be used.
2003-08-06 17:51:46 +00:00
Ard Biesheuvel
9f46081ca2
ibase_query() now returns a link resource if a CREATE DB was issued
2003-08-06 15:27:16 +00:00
Brian France
589d0f1423
MFB: added include config.h so shared extensions builds work correctly
2003-08-06 15:16:46 +00:00
Ard Biesheuvel
966663d3a0
Minor Win32 fixes/cleanups
2003-08-06 12:09:30 +00:00
John Coggeshall
4c282bee86
ZTS fixes.
2003-08-06 00:19:31 +00:00
John Coggeshall
ea72aabfe2
Fix memory leaks
2003-08-06 00:01:22 +00:00
foobar
cc011660e7
Fix the build
2003-08-05 23:50:59 +00:00
Ard Biesheuvel
3ef8d3663d
Changed ibase_trans() to allow multi-DB transactions with distinct
...
trans_args for each connection.
2003-08-05 23:40:30 +00:00
Ilia Alshanetsky
02e0e08958
Fixed bug #18291 (escapeshellcmd() can now handle quoted arguments).
2003-08-05 20:15:53 +00:00
foobar
605619baa9
Fix CS/WS
2003-08-05 16:30:47 +00:00
foobar
c3c6f6d5d7
Adding -lcrypt here is not necessary
2003-08-05 16:30:32 +00:00
foobar
cc96ff7ffb
Fix some more typos
2003-08-05 16:02:12 +00:00
Ard Biesheuvel
f98251f307
Significant changes to layout of internal data structures
...
in order to accomodate and carry out the following changes:
* Removal of arbitrary 'transactions-per-link' limit,
* Transactions over multiple databases.
Leak fixes in ibase_query() and ibase_execute() by replacing
emalloc() with do_alloca()
Changes to ibase_query() to enable the use of CREATE DATABASE ...
Added ibase_drop_db()
2003-08-05 13:17:16 +00:00
foobar
6d6ac93241
- Fixed bug #21611 (version_compare() does not support "p" suffix)
2003-08-05 12:34:31 +00:00
Moriyoshi Koizumi
0ff21d0370
putenv() should be put here as well.
2003-08-05 12:29:26 +00:00
foobar
96e9ed33b3
The last 4 args are by ref..
2003-08-05 11:54:01 +00:00
foobar
22dba46f2d
- Fixed bug #24936 (ext/fdf is not linked properly when compiled as shared extension). (Jani)
2003-08-05 11:17:01 +00:00
Zeev Suraski
90b29aa076
Replace fast_call_user_function() with zend_call_function()
2003-08-05 10:29:03 +00:00
Zeev Suraski
92b4013e8d
Try to put an end to the endless number of call_user_function variants.
...
zend_call_function() now takes a structure that should contain all of the
necessary information. If further information is necessary in the future,
then we'll be able to add it without having to introduce a new function.
As for caching - the 2nd, optional argument is a struct that can hold all
of the information that's necessary to invoke the function, including its
handler, scope and object it operates on (if any). Note that you may only
use a cache if the arguments you provide to zend_call_function() are
identical to the ones of the last call, except for the argument and return
value information.
The recently introduced fast_call_user_function() was removed
I fixed most of the places that used fast_call_user_function() to use caching
but there are still some that need to be fixed (XML and reflection)
2003-08-05 10:24:40 +00:00
Stanislav Malyshev
97c2522128
syncronize
2003-08-05 09:23:17 +00:00
Stanislav Malyshev
d113d32314
Don't try to __sleep incomplete classes
2003-08-05 09:19:38 +00:00
Stanislav Malyshev
53bbeedc89
don't try to wakeup incomplete classes
2003-08-05 09:15:31 +00:00
Stanislav Malyshev
f9bc33e78f
pass trsm via parameters
2003-08-05 09:07:49 +00:00
Stanislav Malyshev
6afa320667
fix incomplete class for ZE2
2003-08-05 09:06:02 +00:00
Marcus Boerger
1716669a27
You shall not Copy'n'Paste after midnight without checking 3 times
2003-08-04 23:21:27 +00:00
Marcus Boerger
2e945483d2
Ups
2003-08-04 23:16:45 +00:00
Marcus Boerger
d23bfc0512
Update documentation in source, reflection and docu itself, part II
2003-08-04 23:15:56 +00:00
Marcus Boerger
28dd8fcff2
Update documentation in source, reflection and docu itself
2003-08-04 23:00:57 +00:00
Marcus Boerger
b099670127
- Unset support for spl_array_access by method set($index)
...
- Parameter names for array interface methods
2003-08-04 21:56:05 +00:00
Marcus Boerger
c80e7329bd
Fix comment
2003-08-04 20:25:41 +00:00
Marcus Boerger
91a882478f
Unset support for spl_array
2003-08-04 20:17:53 +00:00
Marcus Boerger
3597704c64
Add function/method parameter reflection
2003-08-04 19:37:08 +00:00
foobar
1345027597
Fixed couple of typo(s) (which caused compile failures)
2003-08-04 14:34:54 +00:00
Zeev Suraski
2547b6f6f6
Fix bug #24652 - Sterling, do you begin to think that maybe it wasn't such
...
a good idea?
2003-08-04 08:38:24 +00:00
Marcus Boerger
3b4f9d7b58
Latest zend updates
2003-08-03 22:29:20 +00:00
Marcus Boerger
55f947aa13
Fix build
2003-08-03 18:55:51 +00:00
Marcus Boerger
0626fff0c1
Fix warning
2003-08-03 18:52:09 +00:00
Marcus Boerger
21503e723e
Reallow build
2003-08-03 18:46:34 +00:00
Zeev Suraski
538d58dd5f
Use new infrastructure.
...
There are bound to be some messups, please report build/runtime bugs!
2003-08-03 17:44:39 +00:00
Zeev Suraski
f8bbafd604
ntroduce infrastructure for supplying information about arguments,
...
including:
- Whether or not to pass by ref (replaces the old arg_types, with arg_info)
- Argument name (for future use, maybe introspection)
- Class/Interface name (for type hints)
- If a class/interface name is available, whether to allow a null instance
Both user and builtin functions share the same data structures.
To declare a builtin function that expects its first arg to be an instance
of class 'Person', its second argument as a regular arg, and its third by
reference, use:
ZEND_BEGIN_ARG_INFO(my_func_arg_info, 0)
ZEND_ARG_OBJ_INFO(0, someone, Person, 1)
ZEND_ARG_PASS_INFO(0)
ZEND_ARG_PASS_INFO(1)
ZEND_END_ARG_INFO();
and use my_func_arg_info as the arg_info parameter to the ZEND_FE() family
of macros.
The first arg to each ZEND_ARG_*() macro is whether or not to pass by ref.
The boolean arg to ZEND_BEGIN_ARG_INFO() tells the engine whether to treat
the arguments for which there's no explicit information as pass by reference
or not.
The boolean argument to ZEND_ARG_OBJ_INFO() (4th arg) is whether or not to allownull values.
2003-08-03 17:40:44 +00:00
Moriyoshi Koizumi
f05452fbcd
Disable the test temporarily because "-d" flags in the command line doesn't
...
take effect under CGI mode. (See the relevant portion of cgi_main.c
that begins at line 996)
2003-08-03 13:58:20 +00:00
Marcus Boerger
04c90c8738
Show interfaces
2003-08-02 14:22:18 +00:00
Marcus Boerger
54df2e14b4
Use correct macro
2003-08-02 13:49:12 +00:00
John Coggeshall
ac08f881e7
Segfault fix.
2003-08-01 09:48:06 +00:00
John Coggeshall
b724930c06
Fixed a number of memleaks and cleaned up the code a bit.
2003-08-01 09:12:35 +00:00
John Coggeshall
2fb97cdf95
Adding the tidy extension to PECL
2003-08-01 00:22:43 +00:00
foobar
88cbc175ea
- Removed the unnecessary check of array_init() return value.
2003-07-31 18:28:47 +00:00
foobar
57ca69c014
Revert the fix for now
2003-07-30 21:56:45 +00:00
Ilia Alshanetsky
c7a45fc9da
Fixed bug #23792 (8 bit graphics don't rotate properly)
...
Patch by: pajoye@php.net
2003-07-30 17:34:11 +00:00
foobar
81c5e49a68
Fix build on certain platforms which do not accept #include FOOBAR
2003-07-30 14:09:42 +00:00
Adam Dickmeiss
72aa064016
Fix yaz_record, type array to return bibliographic record part
2003-07-30 09:53:39 +00:00
Ilia Alshanetsky
4d98e9ec97
Finalize the closing process of persistent streams. The current
...
behavior/API is as follows:
1) To close a persistent use php_stream_pclose(), it will close the stream
and remove it from the persistent list.
2) Inside PHP code only explicit fclose() will close persistent streams,
all other actions such as unset() or assigning a value to stream handle
will not.
3) Regular streams can still be closed by either fclose(), unset() or an
assignment of a value to the stream handler.
2003-07-29 18:26:34 +00:00
Rob Richards
a5a859361b
increment refcount for arrays passed to xml_set_handler
2003-07-29 13:34:50 +00:00
Ilia Alshanetsky
abe2afcf6e
Make pclose() respect references.
2003-07-28 14:42:42 +00:00
foobar
082f49a27b
Fixed bug #24839 (missing </div>)
2003-07-28 10:44:19 +00:00
foobar
4babf66753
ws fix
2003-07-28 10:23:36 +00:00
Ilia Alshanetsky
f9cf39bd30
Fixed bug #13142 (strtotime not handling "M d H:i:s Y" format)
2003-07-28 04:01:32 +00:00
Rob Richards
4d31aa4444
Fix bug #24801 (xml_call_handler() causes segmentation fault)
2003-07-27 20:32:55 +00:00
Rob Richards
7ba3cb8c1e
remove xml debug code
2003-07-27 20:21:36 +00:00
Ilia Alshanetsky
cd4a281364
Fixed bug #24557 (make fclose() respect refcount on the resource).
2003-07-27 18:45:02 +00:00
Ilia Alshanetsky
308df2af54
Fixed bug #24827 (ob_gzhandler overrides Vary header)
2003-07-27 18:16:06 +00:00
Rob Richards
43bc2f0b6d
reworking xml namespace support
...
add node lookupNamespaceURI and lookupPrefix
add attr isId
2003-07-27 17:57:06 +00:00
Marcus Boerger
b156ac9703
#damn
2003-07-27 17:44:20 +00:00
Marcus Boerger
dbc6519b1a
In protocol version < 3 we cannot test transaction status and do unconditional ROLLBACK;
2003-07-27 17:05:56 +00:00
Marcus Boerger
f5f60e6fea
Added new function pg_parameter_status()
2003-07-27 16:47:36 +00:00
Marcus Boerger
ab36d72c16
Needed function detection
2003-07-27 16:46:40 +00:00
Marcus Boerger
e5d492a3df
New smart connect/shutdown for persistent connections.
...
Behavior for old libs/servers is "BEGIN;ROLLBACK;" in request shutdown.
For new libs a "RESET ALL;" is done in connect and "ROLLBACK;" is only done
where appropriate.
2003-07-27 16:45:10 +00:00
Rob Richards
618d6c904d
doctype and namespace fix
...
memory leak fix
2003-07-25 17:25:50 +00:00
foobar
8e80be016e
Fix typo (and debug build)
2003-07-25 12:15:33 +00:00
Ilia Alshanetsky
ee3e4f79df
Removed unused variable.
2003-07-25 03:03:26 +00:00
Sara Golemon
3caa0d0aa9
Fix Bug#24784 single character search keys not respecting case sensitivity/replace count parameters.
2003-07-25 01:03:39 +00:00
Harrie Hazewinkel
4d2229d6a3
Bug 24760 fix, in which the port number when non-default is not handled
...
correctly and ends up as the default port. This seems to be caused by
some buffer overflow where the port number is assign zero, even though
it it is not assigned to the port variable.
FIx was reported and a fix proposed by "chuck+php at 2003 dot snew dot com"
2003-07-24 21:48:55 +00:00
Marcus Boerger
d7b37fa96b
Update due to Zeev's latest engine changes
2003-07-24 20:28:15 +00:00
Rob Richards
e8a87e5430
initial xpath implementation
...
make dom_object generic
2003-07-24 13:18:40 +00:00
foobar
d8e5bd97c1
fix the test
2003-07-24 10:37:57 +00:00
foobar
760fe8e923
test for bug #14580 (key() not binary safe)
2003-07-24 10:13:17 +00:00
Zeev Suraski
0fe21a3a29
Fix bug #19613
2003-07-24 08:02:08 +00:00
Ilia Alshanetsky
402edee1a6
gztell() is not necessary, the return value of gzseek() represents the
...
new position. With zlib 1.1.4 gztell() alse returns 0 when working
on non-zlib files (test ext/zlib/tests/gzreadgzwriteplain.phpt).
2003-07-24 00:03:42 +00:00
Ilia Alshanetsky
0bd1e86d4c
Fixed GLOB_ONLYDIR to work on GNU libc based system.
2003-07-23 21:41:44 +00:00
Ilia Alshanetsky
3a9e5400c6
Removed unused variables.
2003-07-23 16:54:34 +00:00
Ilia Alshanetsky
1a1826903b
Fixed bug #24752 (Unhandled "uniqueidentifier" field type)
...
Original Patch By: s.sonnenberg[at]coolspot.de
2003-07-23 16:53:26 +00:00
Zeev Suraski
785130c09c
Fix interface
2003-07-23 08:53:23 +00:00
Sebastian Bergmann
786afb48cb
Fix segfault. Patch by Timm Friebe <thekid@thekid.de>.
2003-07-23 04:02:26 +00:00
Pierre Joye
dc0606f041
- Fix leak when no fill is done (ilia)
2003-07-23 00:23:21 +00:00
Pierre Joye
28bc693d3a
- Remove imagepng, not used in test
2003-07-23 00:17:29 +00:00
Pierre Joye
768468257c
- imagefill tests
2003-07-23 00:11:33 +00:00
Pierre Joye
74c2027573
- Fix #bug24594
...
Rewrite the imagefill function (non recursive, uses of connected points
algorithm)
2003-07-23 00:08:57 +00:00
Marcus Boerger
7a85edd370
Added pg_version() which returns an associative array of client/protocol/server
...
version.
@Added pg_version() function. (Marcus)
2003-07-22 23:05:17 +00:00
Marcus Boerger
ec9ae45e2f
Add reson
2003-07-22 23:01:24 +00:00
Marcus Boerger
bc90ce7818
The value might be a null pointer
2003-07-22 22:05:46 +00:00
Marcus Boerger
dd781dcdc9
Postgres decision on this
2003-07-22 21:12:32 +00:00
Zeev Suraski
0a49c033d0
- Use the new infrastructure of zend_symtable_*() (fixes bug #24565 )
...
- Fix bogus use of get_current_key()
2003-07-22 16:08:50 +00:00
Ilia Alshanetsky
5fcff2d872
* Fixed bug #24535 (Crash when retrieving data from unbuffered result after
...
the original connection has been changed).
* Fixed a crash when trying to fetch an unbuffered result after
mysql_close() has been called.
* Added a check to make sure no unbuffered results are inside the buffer
when calling functions that internally execute a query. Affected functions
are: mysql_select_db(), mysql_list_dbs(), mysql_list_tables(),
mysql_list_processes(), mysql_list_fields(), mysql_stat() and mysql_ping().
* Do not re-select a database if the database to be selected is the same.
2003-07-22 16:05:32 +00:00
Zeev Suraski
6c24e1577c
API update
2003-07-22 13:50:00 +00:00
Edin Kadribasic
ccff468774
MFB
2003-07-22 12:36:59 +00:00
Thies C. Arntzen
eef52f549f
@ - Added optional Parameter to OCIWriteTemporaryLob which allows to
...
@ specify the type of LOB you want to be written (OCI_TEMP_CLOB, OCI_TEMP_BLOB)
@ (Patch by Novicky Marek <novicky@aarongroup.cz>) (Thies)
2003-07-22 10:38:34 +00:00
Jason Greene
7eea6525a7
Fix EINVAL errors for OS's (Solaris + BSD) that do not appreciate microseconds >= 1 second
...
Patch submitted from meebery@php.net
2003-07-22 07:20:55 +00:00
Sascha Schumann
5978734f30
MFB proper fix for #24592
2003-07-22 01:11:07 +00:00
Ilia Alshanetsky
f9a8fc0c09
Fixed bug #24592 (Possible crash in session extnsion, with NULL values)
2003-07-21 21:47:52 +00:00
Marcus Boerger
6175f0a4c9
Reset vars when reusing a persistent connection as requested from postgres developers
2003-07-21 20:53:00 +00:00
Marcus Boerger
c89ade3b66
Go without #24499 hint sneaked in by accident
2003-07-21 20:49:47 +00:00
Ilia Alshanetsky
7825a1864c
Fixed bug #24560 (parse_url() incorrectly handling certain file:// based
...
schemas).
2003-07-21 13:36:23 +00:00
Marcus Boerger
db86597e88
Add test for bug #24499
2003-07-20 20:27:43 +00:00
George Schlossnagle
600f72f7b4
should nt here
2003-07-20 20:16:07 +00:00
Marcus Boerger
cfe2eda4f6
Fix warnings and whitespace in output
2003-07-20 19:57:02 +00:00
Marcus Boerger
23da3057b9
Add support for instances in Reflection_Class.
...
# Thanks to Timm for the fast patch contained reply to my help request :-)))
2003-07-20 18:58:34 +00:00
George Schlossnagle
7c7de5eb3c
removed references to smart_str, replaced with private string management
...
function. When snprintf is integrated into the engine, string_printf
should be altered to use that.
2003-07-20 18:45:40 +00:00
Marcus Boerger
08f725fa24
Remove this then, too
2003-07-20 18:05:03 +00:00
Marcus Boerger
7dd6f48f45
SQLite objects are not cloneable. Maybe we allow this later for sqlite_db.
2003-07-20 18:00:54 +00:00
Marcus Boerger
c766e9a503
Use only one line per error message and don't terminate with a dot as everywhere else.
2003-07-20 16:00:40 +00:00
George Schlossnagle
84f5e4870e
more of Timm's implementation.
2003-07-20 15:42:42 +00:00
Marcus Boerger
8a2e76d72c
Update docu
2003-07-20 12:30:05 +00:00
foobar
afdc3e9530
Missing headers
2003-07-20 10:53:22 +00:00
Marcus Boerger
a68cb5129c
- Add class spl_array_it which is the iterator returned by spl_array.
...
This class can also be used alone without spl_array but doesn't allow
recursive foreach usage.
- Fix protos to new proto system.
- Add test for spl_array_it.
2003-07-20 01:22:03 +00:00
Marcus Boerger
c038d88769
Add test for class spl_array
2003-07-19 21:04:16 +00:00
Marcus Boerger
173cb1436f
Add class spl_array which is an array wrapper
2003-07-19 20:54:22 +00:00
Andrey Hristov
5fcc682ebc
proto fixes
2003-07-19 19:23:34 +00:00
Andrey Hristov
71990112b7
Id tag added.
...
Proto fixes
2003-07-19 19:11:01 +00:00
Marcus Boerger
b1f96b77fb
Revert stuid patch
2003-07-19 19:04:35 +00:00
Marcus Boerger
9efcbe1e75
Fix clone
2003-07-19 18:53:10 +00:00
Andrey Hristov
a76745a6a2
Id tag added
2003-07-19 18:52:49 +00:00
Andrey Hristov
66bcb6529b
Id tags added
2003-07-19 18:32:04 +00:00
Rob Richards
d85845a64b
fix for Bug #24715 segfault in dom_document_create_element
...
removed xmlmemorydump debug code
2003-07-19 14:59:29 +00:00
foobar
82af3ff733
OS_UNIX/OS_WIN are set in the bundled libsqlite sources.
2003-07-19 12:44:46 +00:00
Sebastian Bergmann
aeefb55a6a
Cleanup, as suggested by Andi.
2003-07-19 11:00:17 +00:00
Marcus Boerger
59d6d4ab18
Move filter functionality to dedicated function
2003-07-19 09:50:18 +00:00
Marcus Boerger
2432baee40
Add clone support
2003-07-19 09:49:28 +00:00
Rob Richards
1344b5d9b9
fix invalid node pointers
2003-07-18 12:41:35 +00:00
Sascha Schumann
94756ffb8b
Add short notice regarding unbundled client lib
2003-07-18 09:53:04 +00:00
Sergey Kartashoff
936b36ce4a
- UDM_PARAM_SORT_ORDER has been added in Udm_Set_Agent_Param while
...
using with mnogosearch-3.2.14+ to set order of search results.
2003-07-18 09:14:25 +00:00
Sergey Kartashoff
76a6eae91a
- Coredump in Udm_Find was fixed.
2003-07-18 08:37:18 +00:00
Georg Richter
13966fdf3e
added new functions:
...
mysqli_connect_error
mysqli_connect_errno
which return possible errors for the last connect
2003-07-18 06:17:39 +00:00
Marcus Boerger
7f1cf60331
Remove bogus comment (noticed by Zak)
2003-07-16 22:55:02 +00:00
Marcus Boerger
d8943e513c
Update examples
2003-07-16 21:52:03 +00:00
Marcus Boerger
a86eff2162
Fix handling of empty settings
2003-07-16 20:53:17 +00:00
Marcus Boerger
49277b2ac6
More examples
2003-07-16 20:18:33 +00:00
Marcus Boerger
1131d43b0b
Update examples
2003-07-16 20:17:34 +00:00
Marcus Boerger
5e1606b882
Add tree example
2003-07-16 18:47:26 +00:00
Marcus Boerger
3a49606d9d
Add directory iterator class
2003-07-16 15:13:23 +00:00
Zak Greant
8178d87d25
Created shorter/sensible key names for dbase_get_header_info
...
* 'decimal places' becomes 'precision'
* 'printf format' becomes 'format'
* 'record offset' becomes 'offset'
BTW No docs have been committed for this function yet, nor is it part of any
release. This change should affect no users.
2003-07-16 11:08:03 +00:00
Marcus Boerger
aa9bde9a34
Make array write stuff work again correct and fix tests
2003-07-16 10:41:43 +00:00
Marcus Boerger
15097151f4
Update and remove parts no longer possible
2003-07-16 09:48:36 +00:00
foobar
704a7e5653
- Added snmp_read_mib() which reads a MIB file into the active MIB tree.
2003-07-16 09:28:47 +00:00
Sebastian Bergmann
d2e72bc134
Add /libpath directives for zlib.
2003-07-16 08:13:14 +00:00
foobar
82701d48c2
- Fixes some problems (debug mode only). (bug #23051 and bug #23685 )
2003-07-16 06:03:46 +00:00
foobar
9887afad9c
Remove extra proto. (copy/paste error?)
2003-07-16 05:10:29 +00:00
foobar
6676e6f2e9
Fixed bug #22529 (object_id parameter in all snmp*() functions broken.)
2003-07-16 04:54:40 +00:00
Zak Greant
c0bd985ad9
Added function dbase_get_header_info
...
* Passed a handle for an open dbase database, it returns an array of
associative arrays. Each associative array contains information on a
single column, including name, column type, length, precision, ...
2003-07-15 18:19:51 +00:00
Hartmut Holzgraefe
b0a4e1a2d2
whitespace
2003-07-15 17:28:41 +00:00
Hartmut Holzgraefe
2f5a3b4c63
#1 $_ENV is not always set, use getenv() instead
...
#2 bail out after 1000 loop iterations to avoid hanging tests
2003-07-15 16:55:44 +00:00
Georg Richter
db398787e6
added new function mysqli_stmt_data_seek
2003-07-15 14:00:19 +00:00
Georg Richter
5c09a9e42f
test for bind + sql_mode=PIPES_AS_CONCAT
2003-07-15 13:13:59 +00:00
Georg Richter
b6bed54bbd
added support for rebind
2003-07-15 10:37:19 +00:00
Georg Richter
4457876554
additional test for multi-bind
2003-07-15 10:36:18 +00:00
foobar
94a19d1bc6
Make this test work regardless of safe_mode setting (bug #24654 )
2003-07-15 07:06:42 +00:00
Edin Kadribasic
fdf3019eca
MFB: fix for #24249
2003-07-14 23:23:01 +00:00
Rui Hirokawa
ac91b2dbba
MFH
2003-07-14 23:09:46 +00:00
Rob Richards
e4d73c22ad
fix setting new encoding
2003-07-14 21:51:28 +00:00
Harrie Hazewinkel
83063e7445
Updating the SNMP credits in ext/standard/credits_ext.h
2003-07-14 18:59:18 +00:00
Harrie Hazewinkel
ecef612862
Applying the correct format of the CREDITS.
2003-07-14 18:55:35 +00:00
Harrie Hazewinkel
68a7ce29d1
Updating the CREDITS with those who are indicated as authors in the code.
2003-07-14 18:19:34 +00:00
Harrie Hazewinkel
a8d156177f
Adding an SNMP GETNEXT.
...
This is a basic SNMP operation that retrieves the next value as the
one provided to the command.
NOTE: snmpgetnext does not follow the official naming convetions of
functions, but now it is equal to it version 1 equivalents snmpget
and snmpset.
I also would like to reserve the snmp_getnext for a function to
which a session can be given instead of the multiple values to
create the session internally. (Work in progress).
2003-07-14 18:10:22 +00:00
Harrie Hazewinkel
fa910bd2b0
(RE applying)
...
Cleaning up some very old definitions of version 3.3.1 until 3.5.3.
Those versions are that old that people better upgrade the SNMP libraries.
2003-07-14 17:34:56 +00:00
Harrie Hazewinkel
6dd04c368e
(RE-)Applying the contributed patch of Johan Hanne to the main tree.
...
The patch enables control on the way the values are returned
into the PHP script, instaed of always strings. Also the
type of the value is now returned when configured to do so.
This enables better management scripts to do more automatic
processing and value calculations.
(By default the values are returned as strings, as was before)
2003-07-14 17:11:04 +00:00
foobar
e209272db1
CS & WS fixes
2003-07-14 16:23:14 +00:00
foobar
d862a8ee90
WS fix
2003-07-14 16:11:38 +00:00
Sebastian Bergmann
83bf4599b7
ZTS fix.
2003-07-14 05:52:57 +00:00
foobar
9933944e01
Added comment
2003-07-14 03:58:31 +00:00
foobar
c2b21f7098
Move the macosx fix to proper place.
2003-07-14 03:57:57 +00:00
Stefan Roehrich
750635d131
Allow setting of the serial number.
2003-07-13 09:54:42 +00:00
Wez Furlong
78e236da26
Add sqlite_has_prev, and sqlite_prev.
...
Patch by Jan Lehnardt <jan@php.net>
2003-07-13 09:38:33 +00:00
Stefan Roehrich
80ee75f11e
Fixed certificate version (counting begins with 0, so 2 means version 3).
2003-07-13 09:38:32 +00:00
Wez Furlong
ce2a4d9121
MFB better popen fix
2003-07-13 09:20:40 +00:00
Wez Furlong
e17043c248
Fix bug #24575 (sqlite_popen did not request a new resource id when persistent
...
handles were re-used within a request).
2003-07-13 08:48:43 +00:00
Rui Hirokawa
0b0962eb8e
added strict encoding detection mode to fix #24309
2003-07-13 08:20:01 +00:00
Moriyoshi Koizumi
d33ffb78aa
Added regression test for proc_open()
2003-07-13 08:03:46 +00:00
Rob Richards
d75618e780
implement read only exceptions
...
implement notation nodes
changes for spec conformance
2003-07-12 17:29:20 +00:00
Rob Richards
a04b2c8724
fix loading off of interface
2003-07-12 17:23:05 +00:00
Moriyoshi Koizumi
4b07cb98b1
Fixed bug #24556
2003-07-12 09:33:31 +00:00
Moriyoshi Koizumi
4c8230696c
Add folding markers
2003-07-12 07:01:30 +00:00
Moriyoshi Koizumi
77ae01ac72
Oops, this is not needed though.
2003-07-12 06:54:03 +00:00
Moriyoshi Koizumi
cd52986a5c
Fixed leaks that occurs if the third parameter already contains a valid value.
2003-07-12 06:50:32 +00:00
foobar
c751ba0cc8
Remove un-used code.
2003-07-11 15:56:23 +00:00
Rob Richards
d1c41150c6
fix compile issue - TSRMLS_FETCH is only temporary until errors handled
2003-07-11 14:19:05 +00:00
Dan Kalowsky
a1d8121bda
Fix for bug #22897
2003-07-11 13:13:32 +00:00
Dan Kalowsky
bc2086b11e
Patch for bug #24183
2003-07-11 13:08:45 +00:00
foobar
2deb3c224d
- CS/WS fixes
...
- Updated CREDITS
- Added some kind of version check for ming..
- Fixed some possible BC issues.
2003-07-11 07:48:13 +00:00
foobar
5afd8cbf07
update credits.
2003-07-11 07:44:56 +00:00
Frank M. Kromann
5baaa6aee1
Allow the use of both ming 0.2a and 0.3a (API\s changed)
2003-07-11 05:55:13 +00:00
foobar
5aeedb4c88
Fixed bug #17291 (mssql_query does not update get_last_message) (patch by: mgruetzner at rw3 dot com)
2003-07-11 02:08:14 +00:00
Rob Richards
16fb3e91c0
remove global error handling - use of libxml globals is a bad thing
...
add domDocument properties for parsing options:
validateOnParse, resolveExternals, preserveWhiteSpace, substituteEntities
implement custom parsing to avoid use of globals
implement local errors while parsing
errors displayed until error objects implemented
2003-07-10 11:17:25 +00:00
Marc Boeren
98b74781a5
WS
2003-07-10 08:34:03 +00:00
Marc Boeren
76aba9b755
Add -2003 to copyright line (Marc).
2003-07-10 08:25:58 +00:00
Frank M. Kromann
4b70683464
Adding missing compression paramters to output functions
2003-07-10 05:07:07 +00:00
foobar
676d4fca3c
Revert bad fix.
2003-07-10 01:40:01 +00:00
foobar
3396cb340a
Fix crashes in certain situations (whenever there is an error, basically..)
2003-07-10 01:17:34 +00:00
foobar
b645c60bd5
- Fixed bug #11924 (ibase_query() and ibase_execute() mangled passed
...
parameter variables)
2003-07-10 00:17:09 +00:00
Pierre Joye
bf7f45601d
- wrong patch applied for #23792 , fixed
2003-07-10 00:09:23 +00:00
Marcus Boerger
959f7784e0
Don't use class_implements() for the moment
2003-07-09 17:05:09 +00:00
Marcus Boerger
bd752698cf
Use --EXPECTF-- for errors
2003-07-09 17:02:42 +00:00
Marcus Boerger
ae19eb5334
Add oo version of test
2003-07-09 16:55:07 +00:00
Marc Boeren
60d1776b31
Add SQLite support to DBX (Marc).
...
@Add SQLite support to DBX (Marc).
2003-07-09 16:31:40 +00:00
Brad House
6995520e20
fix typecasting errors, especially for new constants. Don't assume long and int are the same size, as on 64bit architectures, they are normally not
2003-07-09 13:45:21 +00:00
Pierre Joye
6da86c7e93
- Fix a possible crash when invalid color index are given as background
...
in imagerotate, only when palette based image is used as src
2003-07-09 10:36:07 +00:00
Pierre Joye
e1f163b053
- "Fix" #23792 , imagerotate returns always truecolor images now
...
(the destination image is a truecolor, no more limited palette problems)
- Clean the cast in gdImageCopyMerge
2003-07-09 10:15:13 +00:00
Sterling Hughes
8fcd71dccf
boom bam bing
2003-07-09 03:14:41 +00:00
Jason Greene
ae3101c5f1
Convert C++ comments to C (violates C99, and breaks several compilers)
2003-07-09 02:48:25 +00:00
Marcus Boerger
f31df5693e
Currently we're presented all properties with foreach()
2003-07-08 23:25:18 +00:00
Marcus Boerger
79ac007d20
Fix configure options
2003-07-08 23:11:36 +00:00
Marcus Boerger
d9de39ec16
Add some comments
2003-07-08 23:11:14 +00:00
Marcus Boerger
af3be899e6
fix this stupid error
2003-07-08 23:10:01 +00:00
Marcus Boerger
139852d3ff
Fix bug #24540
2003-07-08 18:57:28 +00:00
Marcus Boerger
2ef1935c83
Add test for sqlite_seek()
2003-07-08 18:56:14 +00:00
Rob Richards
7de2784bd3
fix getElementsByTagName
2003-07-08 17:00:49 +00:00
foobar
a952a4383a
fix typo (most likely fixes #24533 too)
2003-07-08 14:46:32 +00:00
Sergey Kartashoff
502d59ea01
- Output of UDM_PARAM_WORDINFO_ALL was fixed
2003-07-08 14:00:20 +00:00
Sergey Kartashoff
79d1a39b48
- Udm_Find function is fixed to be compatible with mnogosearch-3.2.13
2003-07-08 13:28:17 +00:00
Sara Golemon
6cb8ce2880
gethostbyname2() not thread safe. Use getaddrinfo() or nothing at all.
2003-07-08 05:00:13 +00:00
Sara Golemon
010f5a12c7
Make php_set_inet6_addr happy with any environment. Use getaddrinfo() if available, gethostbyname2() if not, and simply fail if neither is present.
2003-07-08 03:38:00 +00:00
Brad House
61b47cdaf0
sync functionality with libmcve 3.2
2003-07-08 02:59:51 +00:00
Sara Golemon
acc587fdfa
Fix non-GNU build. Use getaddrinfo() rather than gethostbyname2()
2003-07-07 22:27:32 +00:00
Rob Richards
3b2507b910
changed to studlyCaps naming convention
2003-07-07 19:45:24 +00:00
Rob Richards
4cd06845f9
implement node proxies: next phase of interop
2003-07-07 19:37:32 +00:00
Derick Rethans
6d563b3bdc
- Commiting conversion to zend_parse_parameters (leftovers from debugging).
2003-07-07 13:21:10 +00:00
Zeev Suraski
d6320007e0
Add missing elements
2003-07-07 12:07:02 +00:00
foobar
f55b83cb18
ws + missing fold tag
2003-07-07 11:43:34 +00:00
Moriyoshi Koizumi
e661d9e22a
Updated test so it won't fail if the extension has been built with libiconv.
2003-07-06 21:44:44 +00:00
Moriyoshi Koizumi
80a8ff3a43
Fixed segfault due to reference to the already free'd block :)
2003-07-06 21:30:23 +00:00
Moriyoshi Koizumi
9fbd2f44ec
Modified the test so it reflects the change to iconv_mime_decode()
2003-07-06 21:19:38 +00:00
Moriyoshi Koizumi
8d850b4c3a
Improved iconv_mime_encode() interface
2003-07-06 21:19:08 +00:00
Moriyoshi Koizumi
c5e123f584
oops
2003-07-06 21:10:02 +00:00
Moriyoshi Koizumi
716a34a4d0
Avoid miscellaneous conflicts between glibc's iconv and libiconv.
2003-07-06 21:08:50 +00:00
Sebastian Bergmann
81543d043e
COMPILE_DL_MYSQL_MYSQL -> COMPILE_DL_MYSQL
2003-07-06 20:38:56 +00:00
Moriyoshi Koizumi
f4b24b82f2
Added missing includes
2003-07-06 17:52:42 +00:00
Moriyoshi Koizumi
6b4a5bfd8c
Simplified config scripts
2003-07-06 17:51:46 +00:00
Rob Richards
1688895f6b
use common doc with ref counting rather than copy
2003-07-05 23:43:10 +00:00
Marcus Boerger
f145b163a8
- In function sqlite_field_name the index parameter is not optional.
...
- Fix all the protos.
2003-07-05 20:02:40 +00:00
Derick Rethans
a952e28c73
- Fixed bug #24504 : T_INTERFACE and T_IMPLEMENTS not defined in tokenizer
...
extension
2003-07-05 06:49:57 +00:00
Sterling Hughes
73d98824d7
not a temp var unless its a singular var
2003-07-05 00:33:13 +00:00
Sterling Hughes
e0347ab2c4
"real" fix
2003-07-04 22:21:23 +00:00
Sterling Hughes
2935efb446
fix memory cverrun when accessing an empty xml element.
...
guess how many lines it took me to write a basic WSDL parser + API? 20 using
curl + simplexml
2003-07-04 21:58:09 +00:00
Adam Dickmeiss
a0c7a95ba1
On Windows, handle YAZ versions that don't export yaz_version.
2003-07-04 19:17:09 +00:00
Hartmut Holzgraefe
de6a6ed6d7
skip test if glob() is not available at all
2003-07-04 15:07:11 +00:00
Hartmut Holzgraefe
3c34e4edaf
regression test for #24482 GLOB_ONLYDIR is not working (on BSD)
2003-07-04 14:38:07 +00:00
Hartmut Holzgraefe
f49b1d2da0
make sure operator precedence is not playing tricks on us
...
(it worked before on gcc3.2/Linux and with VC++ 6, but not
with gcc3.1/MacOSX)
2003-07-04 13:24:47 +00:00
Sebastian Bergmann
c86b4d13e6
2 * TSRMLS_FETCH() -> 1 * TSRMLS_DC
2003-07-04 10:31:41 +00:00
George Schlossnagle
96b71d7f87
ws fix
2003-07-04 03:26:37 +00:00
Frank M. Kromann
d77e8393cd
Change fetch functions and protos so they make more sense.
...
fetch_row or fetch_assoc should not take the optional parameter
2003-07-03 16:53:04 +00:00
Moriyoshi Koizumi
dd710f4dc0
Added missing protos
2003-07-03 15:30:14 +00:00
Hartmut Holzgraefe
00fbf2af67
VCWD awareness and (hopefully) windows compile fix
2003-07-03 14:54:03 +00:00
Hartmut Holzgraefe
a7edbe04ad
PHP glob() will now emulate GLOB_ONLYDIR on non-GNU systems
2003-07-03 14:34:02 +00:00
George Schlossnagle
edf78b2141
win build fixes (Rob Richards)
2003-07-03 14:11:31 +00:00
George Schlossnagle
6a4c48be6f
can't forget Andrei
2003-07-03 14:00:17 +00:00
Marcus Boerger
bc16d962a6
Fix open mode (noticed by FutureQuest, Inc.)
2003-07-03 11:17:34 +00:00
George Schlossnagle
3d7283b94f
more of Timm's patches, and mod authors line to give credit where credit is due.
2003-07-03 05:33:23 +00:00
Marcus Boerger
a5588b4c7a
funny fixes
2003-07-02 21:40:54 +00:00
Marcus Boerger
019d70e67a
ZTS fix
2003-07-02 21:37:46 +00:00
Sterling Hughes
e158cd285e
Not really the best way to solve this. But it doesn't give a segfault on
...
self-referential structures, which is always a bonus
2003-07-02 20:05:13 +00:00
Moriyoshi Koizumi
181508a837
s/cvs/csv/
2003-07-02 17:07:56 +00:00
Moriyoshi Koizumi
1379c46d9e
Fixed a leak that occurs with "R" reference variable specifier.
2003-07-02 16:19:57 +00:00
Moriyoshi Koizumi
ed033faaec
s/cvs/csv/ :)
2003-07-02 15:43:44 +00:00
Pierre Joye
119175c943
- tabs
2003-07-02 11:36:17 +00:00
Pierre Joye
19f3c5b5fa
- Fix #23808
2003-07-02 11:23:56 +00:00
Sterling Hughes
7da8fbd7ef
fix this test when using a save_handler other than files...
2003-07-02 04:34:18 +00:00
Sterling Hughes
e724e4cbdb
further improve the performance and clean up
2003-07-02 03:12:06 +00:00
Ilia Alshanetsky
46d834aad2
Fixed a crash when text is added before a font is specified.
2003-07-02 02:04:00 +00:00
Sterling Hughes
6084487822
not necessary, already assumed binary safe (it has to be under the current
...
session architecture), and anything else is fair play
2003-07-02 00:56:32 +00:00
Sterling Hughes
960ab9bd8d
ws fix
2003-07-02 00:45:15 +00:00
Sterling Hughes
6129ddce1e
set synching to off
...
cleanup some silly code
2003-07-02 00:43:00 +00:00
Sterling Hughes
8a77e2b3db
no c++ style comments
2003-07-02 00:04:58 +00:00
Sterling Hughes
bd4601ea28
make this actually work.
2003-07-02 00:03:41 +00:00
Rob Richards
ee9ca6ee9d
fix load() and loadxml() when used with uninstantiated object
2003-07-01 19:28:30 +00:00
George Schlossnagle
c36a59cfd9
Timm Friebe's patches for code celanup and additional functions.
2003-07-01 18:41:42 +00:00
Marcus Boerger
d531dee390
Fix warnings and allow builds without ext/session
2003-07-01 17:55:32 +00:00
foobar
1829d7468e
ws fix
2003-07-01 13:31:14 +00:00
Corne' Cornelius
294cabb35f
- MFB: 1.69.2.18
2003-07-01 13:27:04 +00:00
Wez Furlong
090328fd32
silence warning under win32
...
(maybe!)
2003-07-01 13:26:49 +00:00
Wez Furlong
a8f74b14f1
WS
2003-07-01 13:09:57 +00:00
Wez Furlong
607b6501ed
Add sqlite session handler.
...
Modified (quite a bit!) patch from John Coggeshall.
It compiles, but it otherwise untested.
session.save_path == path to actual database file for the session.
eg: session.save_path=/tmp/mysite-session.db
2003-07-01 13:07:37 +00:00
Corne' Cornelius
8cbc0eae75
- MFB: 1.69.2.17
2003-07-01 11:09:11 +00:00
Edin Kadribasic
dda902d56d
Fix shared win32 build
2003-07-01 09:44:14 +00:00
Sebastian Bergmann
fff7ef2f6c
ZTS fixes.
2003-07-01 04:25:29 +00:00
George Schlossnagle
4edd9505fe
more incremental changes. add anything that needs a class factory.
2003-07-01 04:10:57 +00:00
Ilia Alshanetsky
4634554976
Fix up test
2003-07-01 03:11:09 +00:00
George Schlossnagle
9c26571b37
all the easy parts of Reflection_Class
2003-07-01 02:31:21 +00:00
Marcus Boerger
a6d0972c05
Fix warnings
2003-07-01 00:49:25 +00:00
foobar
b9fcb34625
Fixed bug #24025 (Can not build with shared ldap support)
2003-07-01 00:02:13 +00:00
Marcus Boerger
e4f67f3545
Make --disable-spl work
2003-06-30 23:24:12 +00:00
Shane Caraveo
d6ee8bab7f
fix a crash I run into on occasion
2003-06-30 20:31:57 +00:00
Andi Gutmans
288dacca0c
- ZE coding style requires if ( instead of if(
2003-06-30 20:22:35 +00:00
Sebastian Bergmann
5ee72bb478
ZTS fixes. Remove unused local variables.
2003-06-30 20:17:01 +00:00
George Schlossnagle
aa96d17022
added support for Reflection_Function, the first part of
...
the reflection api
2003-06-30 20:03:56 +00:00
Sterling Hughes
f6d84a10ea
set precision properly.. test passes here
2003-06-30 20:03:17 +00:00
Sterling Hughes
223584a138
this is the correct result
2003-06-30 19:50:18 +00:00
Derick Rethans
7a4ed00603
- Rename test and update title
2003-06-30 19:16:41 +00:00
Rasmus Lerdorf
832ffd1970
Fix 3 tests that didn't adequately specify the .ini settings they rely on
2003-06-30 18:22:53 +00:00
Sterling Hughes
00c83984a3
add a test for shane's bug #24392
2003-06-30 18:09:11 +00:00
Marcus Boerger
f970724d79
Do not test postgres settings
2003-06-30 18:00:30 +00:00
foobar
f3ac60d4a4
- Cleanup, simplifying, etc.
2003-06-30 17:23:52 +00:00
Sergey Kartashoff
e5e58c80ef
- Memory leaks in UdmCatPath and UdmCatList functions have been fixed.
2003-06-30 17:12:18 +00:00
foobar
8dca948cf9
- Moved the PEAR check after the extensions.
...
. added checks for the dependancies PEAR has.
- Moved PHP_REGEX checks to ext/standard/config.m4
# If someone knows the reason for PHP_REGEX macro being where it was,
# please tell..
2003-06-30 16:33:50 +00:00
Zeev Suraski
b31570f03e
Remove Release_TSinline (it's not necessary)
...
Add Release_TSDbg
Change directories to be consistent with our other modules...
2003-06-30 11:41:25 +00:00
Sterling Hughes
0422e0d475
fix by Elfyn, use = not ==
2003-06-30 05:01:18 +00:00
Sterling Hughes
57e1c829aa
and my first user doesn't even like goto's. sniffle
2003-06-30 03:11:03 +00:00
Sterling Hughes
2505cf7c2c
satisfy my very first user :)
2003-06-30 03:08:48 +00:00
Ilia Alshanetsky
8cb5c9c6ba
Fixed bug #24063 (*printf() did not handle scientific notation correctly)
2003-06-30 01:03:21 +00:00
Sterling Hughes
681d6bfaeb
fix libxml2 when dealing with character data
2003-06-29 18:26:23 +00:00
Hartmut Holzgraefe
f355c4c5bb
ok, re-adding this mostly un-maintained awk/sed/sh nightmare for now ...
2003-06-29 16:07:18 +00:00
Hartmut Holzgraefe
7218a70ff6
ext_skel is no more, and ext_skel_ng is moving to PEAR::PECL_Gen
2003-06-29 12:21:58 +00:00
Sebastian Bergmann
b851992902
Add zlib directory.
2003-06-29 06:15:06 +00:00
Andrei Zmievski
505fd434ac
MFB
2003-06-29 00:09:41 +00:00
Rui Hirokawa
2b44c63d50
Fixed corruption of multibyte character including 0x5c as second
...
byte in multipart/form-data.
2003-06-28 23:37:18 +00:00
Shane Caraveo
082a1489d2
fix building mysql as a loadable extension
2003-06-28 22:28:44 +00:00
Rob Richards
a225934450
fix mem leak in sxe_property_read
...
fix compiler warning
2003-06-28 21:38:44 +00:00
Georg Richter
192fb9095e
changed tests (ysqli_bind_param and mysql_bind_result changes)
2003-06-28 21:30:58 +00:00
Georg Richter
f38bd95002
added BYREF_FORCE for bind parameters in msqli_bind_param and mysqli_bind_result
...
changed function parameters in mysqli_bind_param
from (object statement, mixed var1, long type1, ...)
to (object statement, array tyoes, mixed var1, mixed var2, ...)
2003-06-28 21:27:08 +00:00
Ilia Alshanetsky
a6fd611c5e
Added array handling to file_put_contents()
...
More verbose error reporting mechanism.
Test case for file_put_contents().
2003-06-28 20:06:13 +00:00
Ilia Alshanetsky
9e53c34ad3
Fixed test failure on systems with short_tags (<?) off.
2003-06-28 17:36:46 +00:00
Wez Furlong
5ecc91c27d
Merge selectable descriptor casting from PHP_4_3 branch.
2003-06-28 11:24:47 +00:00
Derick Rethans
12cf3ec385
- Removed duplicate constants
2003-06-28 09:55:12 +00:00
Derick Rethans
f2acb42223
- Return number of bytes written instead of just TRUE. (Path by Paul Hudson,
...
hudzilla@php.net )
2003-06-28 08:21:02 +00:00
Sterling Hughes
3e67c2a63a
for now we let xml support build with versions older than 2.5.7, as we want
...
users to actually test this...
2003-06-28 07:46:03 +00:00
Ilia Alshanetsky
58c25fb24a
Added missing handling of dateTime
...
Fixed compiler warning involving streams
Added a test case for wddx_deserialize()
2003-06-28 06:55:47 +00:00
Sebastian Bergmann
67400949f2
Remove aggregation tests as well.
2003-06-28 05:51:37 +00:00
Sebastian Bergmann
10ec176f69
Buckle your seatbelt, Dorothy, 'cause Aggregation is going bye-bye.
2003-06-28 05:38:52 +00:00
Sterling Hughes
0ec0a3097c
define this here too
2003-06-28 04:30:51 +00:00
foobar
3a7ca909be
- HAVE_OPENSSL_EXT is not defined always.
2003-06-27 16:41:41 +00:00
Andrei Zmievski
357f62734a
Upgrading PCRE library to version 4.3.
2003-06-27 16:31:24 +00:00
Sara Golemon
2e4ef86e10
MFB
...
Plug leak in context notifiers, implement notifier->dtor
2003-06-27 16:23:58 +00:00
Edin Kadribasic
7730c1d994
Fix windows build
2003-06-27 14:30:26 +00:00
Edin Kadribasic
19a6d56e51
Prepare for enabling by default on Windows.
2003-06-27 14:14:08 +00:00
Sascha Schumann
7c5afebdb8
Don't add -L/usr/lib
2003-06-27 00:37:21 +00:00
Marcus Boerger
4608ddb5d8
MFB: Function was renamed (don't test an alias)
2003-06-26 21:37:54 +00:00
Marcus Boerger
a0ecfc9c31
errmsg must be ref
2003-06-26 21:07:07 +00:00
Marcus Boerger
add3674b20
Rename sqlite_fetch_string() to sqlite_fetch_single() + alias
2003-06-26 19:26:26 +00:00
Marcus Boerger
bbfa7cae25
Fix memleak
2003-06-26 19:07:17 +00:00
Marcus Boerger
8e0516c990
ext/xsl requires ext/dom
2003-06-26 18:51:52 +00:00
foobar
71278c2969
MFB
2003-06-26 18:15:56 +00:00
Rob Richards
6d8dc4b936
fix linking as dom symbols are now built in
2003-06-26 10:51:37 +00:00
Rob Richards
85488c4a0d
fix import/export for win32 when enabled by default
2003-06-26 10:40:26 +00:00
Sterling Hughes
a8eba3cc80
some friendly names...
2003-06-26 04:08:54 +00:00
Sterling Hughes
747937d1f7
touch the file
2003-06-26 03:53:17 +00:00
Sterling Hughes
a0ae63670a
fix by ilia to fix crashes in the session extension when /tmp/sess_* files
...
previously existed. make test now passes fully with the session extension.
2003-06-26 03:24:11 +00:00
Sterling Hughes
1ed8e46273
according to the notes in the bugs database, this is the correct result.
...
this result is also the same one given in 4.3.2 and 5.0
2003-06-26 03:21:45 +00:00
Marcus Boerger
30b4f8f494
Fix a warning
2003-06-25 23:21:10 +00:00
Edin Kadribasic
b950e4ee04
Make sqlite good ext/ citizen.
...
# Hope this CVS mess goes away real soon now!
2003-06-25 23:20:30 +00:00
Ilia Alshanetsky
0dc20e8bea
ZTS typo
2003-06-25 23:14:19 +00:00
Sterling Hughes
936c9d5736
re-enable dom by default
2003-06-25 22:42:54 +00:00
foobar
0a6f6bab52
This should not be enabled by default, ext/xml is..
2003-06-25 22:40:05 +00:00
Sterling Hughes
cf3bd3e9fc
fine
2003-06-25 21:54:01 +00:00
foobar
9bee0725d2
Experimental extensions are never enabled by default..
2003-06-25 21:46:31 +00:00
Sterling Hughes
75abafdfc3
these should be enabled by default. At least this much was agreed upon when
...
the decision to debundle libxml2 was made.
2003-06-25 20:53:52 +00:00
Sterling Hughes
edd1db3f0f
autodetect zlib if dom is enabled
2003-06-25 18:06:06 +00:00
Sterling Hughes
12b06799ae
Don't pass resource as an argument when its not being parsed.
2003-06-25 17:22:31 +00:00
Ilia Alshanetsky
94b90d0c0a
Added sqlite_single_query() and it's OO equivalent single_query().
2003-06-25 16:59:24 +00:00
Sterling Hughes
a4f41fbb26
allow the root element to be accessed as a text node
2003-06-25 16:26:32 +00:00
Sterling Hughes
1aa6e3fee3
dom5 = dom
2003-06-25 15:31:59 +00:00
Hartmut Holzgraefe
0072188eeb
some awk installations need this escpaed ... BUG #24314 fixed
2003-06-25 11:05:48 +00:00
foobar
a6a321c1ac
clean up a bit.
2003-06-25 03:53:17 +00:00
Sterling Hughes
09927a7ba2
moved to pecl by sascha. remove them from head.
...
discussed with harald, will remain in pecl till he has some more time to
work on it.
2003-06-25 00:28:10 +00:00
Sterling Hughes
211ca9d9e5
enable sqlite by default
2003-06-25 00:18:01 +00:00
Sterling Hughes
fa36b5bfa4
can now be --with-dom, as the old domxml is now in pecl
2003-06-25 00:17:41 +00:00
Ilia Alshanetsky
c8ecf7ec3e
Fixed bug #24312 (base64_decode() does not skip 0xF0-0xFF characters)
...
Patch by: gereon.steffens[at]onvista.de
2003-06-24 15:23:17 +00:00
foobar
e3cd8fac9b
- Unified PHP_SETUP_OPENSSL with other PHP_SETUP_* macros.
2003-06-24 14:05:26 +00:00
Sascha Schumann
e1a9dd289a
Empty HEAD of domxml, hyperwave, xslt
2003-06-24 13:56:57 +00:00
Ilia Alshanetsky
6b5b6079da
Fix for bug #24313 (port from dead PHP_5 branch)
2003-06-24 13:56:25 +00:00
Wez Furlong
eea0ffc0d1
1.1, not 2.0...
2003-06-24 11:30:59 +00:00
Wez Furlong
a27b34a20b
update package.xml for 5.0
2003-06-24 11:23:31 +00:00
Marcus Boerger
20b8a7dfe4
Put some brief technically description here
2003-06-23 22:37:12 +00:00
Marcus Boerger
f2bce37d04
Add profiling results
2003-06-23 21:59:55 +00:00
Ilia Alshanetsky
28347d74bb
port sqlite_array_query() fix from PHP_4_3
2003-06-23 19:37:48 +00:00
Stanislav Malyshev
02bebe8186
add test for #24281
2003-06-23 14:18:33 +00:00
Stanislav Malyshev
baa3892fe1
Fix #24281 - str_replace not updating the count if value is
...
not initialized
2003-06-23 14:09:14 +00:00
Sterling Hughes
d4cd1ef084
remove the bundled libmysql, and update the config.m4 file as necessary.
...
this works locally, but everyone, *please* test
2003-06-23 01:10:58 +00:00
Marcus Boerger
a594c7b714
Fix test shutdown
2003-06-22 19:03:24 +00:00
Marcus Boerger
9d6f63ef71
Remove sqlite::close()
2003-06-22 19:00:44 +00:00
Marcus Boerger
f2d26fc85d
Add oo API
2003-06-22 17:19:46 +00:00
Ilia Alshanetsky
77f11b9f45
Fixed bug #24284 (Fixed memory leak inside pg_ping())
2003-06-22 16:46:24 +00:00
Marcus Boerger
1cdc2d48b6
Fix possible SEGV
2003-06-22 15:53:50 +00:00
Marcus Boerger
51dbd3b39e
Adding an array example
2003-06-22 15:48:44 +00:00
Marcus Boerger
f9477577a4
Fix array writing
2003-06-22 14:55:44 +00:00
Andrey Hristov
f89e7e3fb9
proto fixes.
2003-06-22 14:33:09 +00:00
Marcus Boerger
f4d3111e8a
Fix example
2003-06-22 12:57:53 +00:00
Marcus Boerger
b5434aac36
Fix module pointer name to enable building again
2003-06-22 12:50:28 +00:00
Georg Richter
5655ebe6f2
added new function mysqli_stmt_num_rows
2003-06-22 08:46:39 +00:00
Georg Richter
bb37c9c335
fixed prototypes
2003-06-22 06:16:47 +00:00
Marcus Boerger
a332df50fb
Don't copy the filename when it is not needed
2003-06-21 18:43:25 +00:00
Marcus Boerger
7eb9fc251a
Store the absolute path of the database file and use that in the external library
2003-06-21 18:17:20 +00:00
Marcus Boerger
814c0be675
When persistent then we may use threads
2003-06-21 18:16:38 +00:00
Wez Furlong
ce62305a38
More prep for 1.0 release.
2003-06-21 13:50:43 +00:00
Georg Richter
4554dc4a37
new functions (4.1.1): mysql_sqlstate, mysql_stmt_sqlstate
2003-06-21 13:35:26 +00:00
Wez Furlong
3a550b3c8c
Prepare for 1.0 release
2003-06-21 13:29:26 +00:00
Wez Furlong
9e858102a8
Add a pair of functions to handle the binary coding used by PHP from within
...
UDF callbacks.
Add test for binary functions.
Fix proto.
2003-06-21 12:29:32 +00:00
Marcus Boerger
c5d4b5ddcd
- Errors, warnings and notices start with a capital letter.
...
- Show sorcode info when debugging exif.
2003-06-20 18:24:38 +00:00
Sara Golemon
4c52cf5f90
When skipping blank searchvals we should advance the corresponding replace hash as well
2003-06-20 15:41:43 +00:00
Rob Richards
c69d395931
cleanup common code
2003-06-20 14:08:56 +00:00
Rob Richards
015c6bacdd
fix mem leak
...
remove unused code
2003-06-20 14:07:51 +00:00
Edin Kadribasic
23a9f80f89
ZTS Fixes
2003-06-19 23:13:28 +00:00
Edin Kadribasic
7886bc93f6
Win32 build fixes
2003-06-19 23:07:14 +00:00
Sara Golemon
496d17b98d
Quiet down decode_context_param when stream (not context) is passed.
...
Switch stream_socket_*() to use macro for retrieving context from zval.
2003-06-19 22:30:54 +00:00
Ilia Alshanetsky
d81f2e582c
Added missing safe_mode checks.
...
Added support for additional libcurl options.
Set CURLOPT_NOSIGNAL by default for ZTS, for signal free operation.
2003-06-19 22:12:21 +00:00
Ilia Alshanetsky
7ef01f01b9
Reverting previous patch (not necessary, thanks Pollita ;) )
2003-06-19 21:04:43 +00:00
Wez Furlong
425882ef70
Some tweaks ready for the upcoming 1.0 release.
2003-06-19 20:57:11 +00:00
Marcus Boerger
76b3007386
More name fixes (more thanks to george)
2003-06-19 18:22:17 +00:00
Marcus Boerger
69b7bb275a
Forget to remove these namespace crap (thanks to george to remind me)
2003-06-19 17:38:53 +00:00
Ilia Alshanetsky
a370ceb742
Fixed memory leak, when invalid context is specified.
2003-06-19 16:35:17 +00:00
Ilia Alshanetsky
cbfb63c1c4
Fixed possible crashes in streams code
2003-06-19 16:10:54 +00:00
Marcus Boerger
ba3e315b65
Allow the extension to reside elsewhere
2003-06-19 15:48:06 +00:00
Ilia Alshanetsky
aeadf9bd4a
Fixed a crash inside php_imagettftext_common();
2003-06-19 15:47:46 +00:00
Rob Richards
e52b96a296
add xsl_xsltprocessor_transform_to_uri functionality
...
fix a few unhandled error conditions
fix compiler warnings
2003-06-19 15:00:28 +00:00
Marcus Boerger
44401fa0e7
to be precise
2003-06-19 11:10:14 +00:00
Derick Rethans
05db82333d
- Correct stray commit
2003-06-19 08:41:51 +00:00
Sterling Hughes
651854a6dd
enable sockets by default.
2003-06-19 04:39:42 +00:00
Sterling Hughes
8eef152174
recognize CURLOPT_PORT
2003-06-18 21:02:02 +00:00
Wez Furlong
20ee07ef92
Should build with PHP5 now...
2003-06-18 19:48:02 +00:00
foobar
71dedd2dd4
Fixed bug #24231 : ext/sybase_ct could not be build as shared
2003-06-18 18:28:47 +00:00
Rob Richards
e4c67c0035
Fix for bug #24219 segfault during resource destruction
...
Used bug fix to optimize free_doc routine
2003-06-18 17:42:39 +00:00
Sascha Schumann
be4947b0e6
Use a smaller default size to accomodate the engine
...
Submitted by: Stanislav Malyshev, with some massaging by me
2003-06-18 16:15:47 +00:00
Ilia Alshanetsky
d860759db9
Make the default mysql connection timeout 60 seconds rather then unlimited.
2003-06-18 15:19:16 +00:00
Sara Golemon
66881b5f2c
Fix compiler warnings
2003-06-18 03:26:29 +00:00
Marcus Boerger
5b3fd9bf2f
- Remove namespace leftovers
...
- Convert some static inline functions to macros
- Faster was of function call parameter stack building
2003-06-17 20:18:10 +00:00
Sara Golemon
897e6a4069
No need to allocate a hashtable when return_value is just going to be overwriten
2003-06-17 18:38:56 +00:00
Ilia Alshanetsky
4151fd0453
One more typo ;)
2003-06-17 14:13:17 +00:00
Ilia Alshanetsky
4426338bf6
Fixed a typo in the check
2003-06-17 13:59:44 +00:00
Ilia Alshanetsky
cadc8a15f9
Fixed bug #24223 (missing variable initialization in bundled gd)
2003-06-17 13:37:43 +00:00
Ilia Alshanetsky
abe8647eb4
Added a test case for bug #24220
2003-06-17 13:19:20 +00:00
Sterling Hughes
3de4afa454
rename SOCKET to PHP_SOCKET to avoid conflicts with Mono
2003-06-17 04:44:30 +00:00
Sterling Hughes
821b0fa134
remove the wierdness that prevented the compileness
2003-06-17 00:49:24 +00:00
Sara Golemon
abd52d4efc
Bug #24210 : assume misspelled (and thereby not found during configure)
2003-06-16 20:16:06 +00:00
foobar
9aa14246d9
Fixed the expected result
2003-06-16 19:59:27 +00:00
Moriyoshi Koizumi
a3873c986b
Added test case for bug #24208
2003-06-16 19:10:12 +00:00
Sara Golemon
2f4e91bf8a
optionvalue is being copied via zval_copy_ctor, there's no need to addref the original
2003-06-16 18:19:14 +00:00
Derick Rethans
cd5fd7eed7
- Added test for bug #24142
2003-06-16 17:50:07 +00:00
Ilia Alshanetsky
df32619d63
Fixed bug #24150 (crash in imap_fetch_overview() &
...
imap_rfc822_write_address())
2003-06-16 17:41:52 +00:00
Ilia Alshanetsky
6057160dbf
Fixed bug #24198 (Invalid recursion detection in array_merge_recurcive())
2003-06-16 17:35:16 +00:00
Andrey Hristov
8934146246
proto fixes
...
#my head hurts now. no more fixes today ;)
2003-06-16 16:36:51 +00:00
Andrey Hristov
466ef9fd91
1. proto fixes.
...
2, comments on possible leak : buffer calloc()-ed but not free()-d on error (author will be contacted)
2003-06-16 15:40:37 +00:00
Andrey Hristov
e1b285dc93
updating license to 3.0
2003-06-16 15:25:00 +00:00
Andrey Hristov
e050348b67
$Id tag added
2003-06-16 15:13:32 +00:00
Andrey Hristov
e064275b03
load of proto fixes
2003-06-16 15:12:56 +00:00
Andrey Hristov
23e7163a2d
$Id tag added. License added tp php_mhash.h
2003-06-16 14:27:59 +00:00
Andrey Hristov
69154f527e
added $Id tag
2003-06-16 14:20:07 +00:00
Andrey Hristov
1e42a25ca1
proto fixes
2003-06-16 14:03:35 +00:00
Andrey Hristov
9e9bd915aa
proto fix
2003-06-16 13:39:56 +00:00
Andrey Hristov
3e95de04a9
proto fix
2003-06-16 13:32:00 +00:00
Daniela Mariaschi
e537337398
proto fixes ibase_rollback and ibase_commit
2003-06-16 10:41:42 +00:00
Edin Kadribasic
5a3c09c440
Fixed win32 build
2003-06-16 09:11:31 +00:00
Ilia Alshanetsky
b25c652f95
Fixed a few remaining compiler warnings.
2003-06-16 03:05:25 +00:00
Marcus Boerger
46b4ab47be
Fit the error handler into the naming scheme and get rid of trailing new lines
2003-06-16 00:18:28 +00:00
Edin Kadribasic
711cf23894
Fixed win32 build (link to external expat).
2003-06-15 23:58:33 +00:00
Marcus Boerger
e208b0e77e
Add an error handler (thx to timm for the idea)
2003-06-15 23:57:48 +00:00
Edin Kadribasic
6e2743023b
Win32 build fixes for openssl
2003-06-15 23:34:46 +00:00
Edin Kadribasic
6bcf810687
This needs to be exported for dynamic extensions
2003-06-15 23:27:05 +00:00
Edin Kadribasic
e92e7d47c5
Fixed win32 build
2003-06-15 22:58:04 +00:00
Rob Richards
19a9489cb6
remove leftover parser->mem_hdlrs - compiles now
2003-06-15 20:56:48 +00:00
Moriyoshi Koizumi
f9b194f609
Removed xmlMemSetup() code as it doesn't help at all.
2003-06-15 20:40:45 +00:00
Pierre Joye
445c710733
add Marcus, enough work done
2003-06-15 20:16:46 +00:00
Marcus Boerger
8fd5e11ff4
Add ImageXBM
2003-06-15 20:00:08 +00:00
Rob Richards
2a02045596
remove code no longer needed
...
fix format Output property
2003-06-15 19:58:42 +00:00
Marcus Boerger
4593a04e3b
Better use '_' instead of '.'
2003-06-15 19:56:40 +00:00
Marcus Boerger
8913dcd267
Better configure output
2003-06-15 19:54:41 +00:00
Rob Richards
6ed47a404a
should be multithreaded and correct lib naming
2003-06-15 19:54:38 +00:00
Andrey Hristov
900263aaa9
proto fixes
2003-06-15 16:25:59 +00:00
Andrey Hristov
7711dbac76
proto fixes
2003-06-15 16:04:31 +00:00
Andrey Hristov
eb33adf139
proto fixes
2003-06-15 15:29:46 +00:00
Rob Richards
02bc7c3217
be nice if i named the dll correctly and put it somewhere
2003-06-15 14:57:06 +00:00
Rob Richards
6082168510
fix xsl release build
...
link libxml2 and libxslt dynamically for consistancy
2003-06-15 14:52:23 +00:00
Rob Richards
c1b5700333
link libxml2 dynamically for consistancy
2003-06-15 14:50:11 +00:00
Edin Kadribasic
68ae83f339
Fixed win32 build
2003-06-15 12:19:57 +00:00
Edin Kadribasic
244c706a0d
Fixed ZTS build
2003-06-15 12:10:28 +00:00
Edin Kadribasic
99b1f4fb7b
Switch to dynamic linking of php_domxml.dll due to the libxml2 dependency
...
already being present for the core php4ts.dll.
2003-06-15 01:31:43 +00:00
Marcus Boerger
0137868171
No more namespaces
2003-06-14 22:10:15 +00:00
Marcus Boerger
344737c24e
Fix test
2003-06-14 19:42:32 +00:00
Marcus Boerger
f304458bdb
Fix ZTS mode (hopefully all is working fine now again)
2003-06-14 19:30:42 +00:00
Marcus Boerger
8f2b387c61
- Update license
...
- Don't buffer in non buffered mode
2003-06-14 18:16:47 +00:00
Rob Richards
d1bfc58aee
use xmlInitParser instead of xmlInitThreads
...
reentrant safe as well no need for xml_parser_inited
2003-06-14 18:15:50 +00:00
Rob Richards
c104c0d676
use xmlInitParser instead of xmlInitThreads
...
reentrant safe as well
2003-06-14 18:14:05 +00:00
Marcus Boerger
27a81109be
Correct license again
2003-06-14 17:14:42 +00:00
Marcus Boerger
9605db43ed
Fix ZTS mode
2003-06-14 17:08:49 +00:00
Marcus Boerger
3861a10c07
Update before moving to PECL
2003-06-14 16:54:18 +00:00
Daniela Mariaschi
6203058381
Added test for IBASE_REC_VERSION/IBASE_REC_NO_VERSION trans constants
2003-06-14 16:45:38 +00:00
Daniela Mariaschi
e8e4db8581
Added IBASE_REC_VERSION/IBASE_REC_NO_VERSION transaction constants
...
required from bugs #8797 #23887
(added IBASE_WRITE, IBASE_WAIT, IBASE_CONCURRENCY just for clarity)
2003-06-14 16:38:10 +00:00
Rob Richards
09eb38ec10
interoperability support
...
fix some memleak scenarios
2003-06-14 15:32:23 +00:00
Rob Richards
14fad0e5d8
interoperability support
2003-06-14 15:28:13 +00:00
Rob Richards
6414becb62
fix xml_parser_inited on win32
...
add common structs for better interoprability
2003-06-14 15:27:15 +00:00
Rob Richards
e6502514fb
fix common libxml init and deinit routines
2003-06-14 15:08:48 +00:00
foobar
f07f3267e2
- Fixed some /usr/lib leaks into LIBS/LDFLAGS which later on made other
...
configure checks fail (old libs in /usr/lib, new ones in /opt/lib :)
2003-06-14 14:22:13 +00:00
Marcus Boerger
74476dc1da
Improve/fix preventing both enabled
2003-06-14 13:35:09 +00:00
foobar
12804f5234
Fix compile failure.
2003-06-14 13:31:51 +00:00
foobar
d3d2b47b89
- Fixed some build problems (/usr/lib leaked in to LDFLAGS/LIBS)
...
- Made this extension to be possible to be build as shared.
2003-06-14 12:57:38 +00:00
Marcus Boerger
4a97e3fef6
Don't allow both and mark the old one as deprecated
2003-06-14 11:27:49 +00:00
Rob Richards
68ff4becab
export xml_parser_inited under win32
2003-06-14 11:22:13 +00:00
Sterling Hughes
e4db6159f2
make alan happy
2003-06-14 04:40:58 +00:00
Sterling Hughes
34b36fd50f
delete + no C++ comments
2003-06-14 04:17:59 +00:00
Sterling Hughes
ec3823a5d2
fix some more leaks
2003-06-14 04:15:57 +00:00
Sterling Hughes
cc0c4e4981
This shouldn't be refcount = 0, causes a memory overrun
2003-06-14 04:02:12 +00:00
Frank M. Kromann
60d161a382
Updating email address
2003-06-14 03:35:16 +00:00
Sara Golemon
236349f156
User Filters don't need to register a resource list for streams.
...
That functionality is already exported by the streams API.
2003-06-13 22:25:29 +00:00
Sara Golemon
99db19661a
Plug leak (context options not freed)
...
Make contexts auto-registered, ensures userland contexts
and C API contexts are both dealt with on request shutdown.
Also brings contexts in keeping with streams which are already
auto-registered.
2003-06-13 21:33:59 +00:00
Rob Richards
785bc24a9b
fix compile when ZTS enabled
...
fix bunch of memory leaks
2003-06-13 19:58:56 +00:00
Sara Golemon
82ddb23338
Loosen restrictions on method used with http_fopen_wrapper, still default to GET though.
2003-06-13 19:27:26 +00:00
Ilia Alshanetsky
d75d52a571
Busted by the CS police.
2003-06-13 15:01:18 +00:00
Andrey Hristov
ab5b9b91d3
proto fixes
2003-06-13 14:59:01 +00:00
Ilia Alshanetsky
de6c599504
Added missing function proto
2003-06-13 14:56:07 +00:00
Ilia Alshanetsky
17861b93bf
Fixed bug #24161 (No timeout value for imap functions)
...
Added imap_timeout() that allows the user to specify as well as retrieve
timeout values and set default timeout values based on the
default_socket_timeout ini setting.
2003-06-13 14:39:22 +00:00
foobar
bb37952bc2
Fixed the SASL config check.
2003-06-13 13:30:46 +00:00
Sascha Schumann
f25ff93cc6
MFB
2003-06-13 09:19:52 +00:00
foobar
9706fcd17f
Fix the test. (second session init call produces a notice)
2003-06-13 09:15:56 +00:00
Wez Furlong
b39ff50d9b
Add .def file to export the sqlite functions from our win32 dll
2003-06-12 23:22:33 +00:00
Rob Richards
5b19e1ec92
add node->isSupported()
...
add domimplementation->hasFeature()
add formatOutput property (extends DOM)
call xmlFreeDoc when doc is no longer referenced rather than custom code
save and savexml now format based on formatOutput property
2003-06-12 20:02:05 +00:00
Marcus Boerger
48cc4a7be6
Bugfix #2397 : dba_open locking error with db3
2003-06-12 19:53:40 +00:00
Ilia Alshanetsky
a17c5a5fbc
Fixed bug #22505 (Allow imap_sort() and imap_search() to specify a charset)
2003-06-12 19:46:44 +00:00
Ilia Alshanetsky
490da4fbb7
Fixed bug #24155 (gdImageRotate270 incorrectly use x parameter for y axis)
2003-06-12 19:31:44 +00:00
Marcus Boerger
3a75403bac
License update
2003-06-12 19:30:54 +00:00
Rob Richards
2b8fcfbeab
fix some calls to libxml
2003-06-12 17:04:28 +00:00
Andrey Hristov
2d4449caf9
silly bug
2003-06-12 15:11:11 +00:00
Andrey Hristov
792d15ae93
proto fixes
...
#hope not to be scared again by andrei ;)
2003-06-12 14:04:31 +00:00
Andrey Hristov
b607030b13
proto fixes
2003-06-12 12:35:19 +00:00
Andrey Hristov
03a135a141
proto fix
2003-06-12 12:32:22 +00:00
Andrey Hristov
bbc9134fc4
proto fixes
2003-06-12 12:21:33 +00:00
Andrey Hristov
b8e59bb336
proto fixes
2003-06-12 12:00:20 +00:00
Andrey Hristov
080eaaf573
proto fixes
2003-06-12 11:24:24 +00:00
Andrey Hristov
18cc2a9b4f
proto fixes
2003-06-12 10:30:08 +00:00
Andrey Hristov
864f217e20
proto fixes
2003-06-12 10:08:26 +00:00
Ilia Alshanetsky
6e2285dded
Added missing safe_mode/open_basedir checks.
2003-06-12 01:47:12 +00:00
Marcus Boerger
76f68f2a51
WS and removing unecessary things
2003-06-11 20:51:14 +00:00
Rob Richards
b2c4882d54
forgot this: set doc for new text node as current may not be in tree
2003-06-11 20:06:03 +00:00
Rob Richards
110920bc7e
add isWhitespaceInElementContent()
...
fix splitText for nodes not in tree
correct links to specs
2003-06-11 19:55:52 +00:00
Rob Richards
aa0afd9307
update messages to require libxsl >= 1.0.18
2003-06-11 19:27:01 +00:00
Rob Richards
73c172cfee
add substringData, insertData, deleteData, replaceData
...
fix reference links to specs
2003-06-11 11:25:08 +00:00
Ilia Alshanetsky
b5dc8f918e
fixed proto
2003-06-11 02:16:19 +00:00
Rob Richards
a3128df046
Fixed memleaks
2003-06-10 22:24:54 +00:00
James Cox
f68c7ff249
updating license information in the headers.
2003-06-10 20:04:29 +00:00
Andrey Hristov
3ae8d27176
proto fixes
2003-06-10 14:06:20 +00:00
Sascha Schumann
3c58f69fc4
Print NOTICE upon session_start being called while another session is
...
active
2003-06-10 03:56:23 +00:00
Marcus Boerger
c114698445
Add a test for sqlite_array_query()
2003-06-09 23:22:00 +00:00
Marcus Boerger
25b7954dbb
This is a 'fetch all' test using fetch_all()
2003-06-09 23:21:06 +00:00
Marcus Boerger
ed1a17a032
Update
2003-06-09 23:16:32 +00:00
Marcus Boerger
062b9afe4f
Add sqlite_array_query().
2003-06-09 23:15:29 +00:00
Marcus Boerger
e1652789ea
- Add sqlite_array_query().
...
- Make all read functions destructive when in unbuffered read mode.
2003-06-09 23:14:25 +00:00
Ilia Alshanetsky
d3ad6e640d
Do not perform safe_mode & open_basedir checks for memory-only databases.
2003-06-09 20:36:55 +00:00
Rob Richards
f2957721af
changes for /ext/dom document ref count
...
changes for /ext/dom internal object handling
2003-06-09 20:24:16 +00:00
Rob Richards
6d72c89408
implmentation of document ref counting for persistance
...
re-work of internal object handling
2003-06-09 20:20:55 +00:00
Ilia Alshanetsky
aec7815e9c
Fixed bug #24098 (Crash in pathinfo() due to double var initialization).
...
# This is a php5 specific bug, no MFB needed
2003-06-09 18:12:36 +00:00
Marcus Boerger
cdac4401d8
No more namespaces
2003-06-09 16:58:51 +00:00
Marcus Boerger
67befca5e6
Add some 'structure' and make it faster
2003-06-09 16:57:17 +00:00
Moriyoshi Koizumi
e7fd4c57b2
Fixed trivial typo
2003-06-09 08:11:53 +00:00
Sterling Hughes
21d90d6ac4
ok, this is a zend bug.
2003-06-09 04:01:11 +00:00
Sterling Hughes
6fc9fdeefc
simon says leaking is better than crashing
2003-06-09 03:29:33 +00:00
Sterling Hughes
568aecd973
get rid of a memleak
...
make namespaces work properly
2003-06-09 03:11:28 +00:00
Ilia Alshanetsky
b19f3302eb
MFB
2003-06-08 23:52:29 +00:00
foobar
c0e4bfcae4
- Added ldap_sasl_bind(). (Jani, peter_c60@hotmail.com)
2003-06-08 23:44:01 +00:00
foobar
c15b8fb19e
ws & cs
2003-06-08 23:34:51 +00:00
Zeev Suraski
fa78f2b8eb
XMLless build fix
2003-06-08 18:29:55 +00:00
Georg Richter
0a2968a75f
fixed mysql bug #564 ( http://bugs.mysql.com/bug.php?id=564 )
2003-06-07 16:15:22 +00:00
Marcus Boerger
c191b4343b
Actually sqlite.c isn't located in libsqlite
2003-06-07 15:15:27 +00:00
Sterling Hughes
208aa6152d
i ain't know domdom
2003-06-07 15:09:24 +00:00
Sterling Hughes
d65e9b3818
leftover.
...
its wholeText not whole_text
2003-06-07 15:07:42 +00:00
Sterling Hughes
1837db58d1
add the wholeText property
2003-06-07 15:03:45 +00:00
Marcus Boerger
2e84e2ab3f
Added new test
2003-06-07 14:13:36 +00:00
Rob Richards
0565d9724b
fix more memory overruns
...
initial definition for document ref counting
fixed property access to support all objects
clear property handler from invalid objects until ref count implemented
2003-06-07 13:30:58 +00:00
Marcus Boerger
eccfbe5f88
WS
2003-06-07 11:38:03 +00:00
Wez Furlong
b230df9254
Touch lemon generated file
2003-06-06 22:46:33 +00:00
Wez Furlong
30fc9e152f
Update bundled library to 2.8.3 + patches from sqlite author to enable
...
authorization checks for the ATTACH database command.
2003-06-06 22:44:57 +00:00
Sterling Hughes
6610183236
add splitText()
...
never has such a complex process been endured for such a simple function
libxml makes me queasy right now :)
2003-06-06 20:10:05 +00:00
Rob Richards
29b5fbcc53
fix double free issue
...
fix property access within invalid objects and failed reads
2003-06-06 19:04:32 +00:00
Georg Richter
f8ac961927
fixed bug #24060
2003-06-06 19:02:30 +00:00
Marcus Boerger
2013859ec5
Update
2003-06-06 19:01:38 +00:00
Marcus Boerger
797654bde7
New fetch_all() an fetch optimization reworked (original idea by ilia)
2003-06-06 19:00:16 +00:00
Edin Kadribasic
bd2f381edf
Update win32 build with new version
2003-06-06 16:39:46 +00:00
Wez Furlong
c1817c9b8d
Update for 2.8.2
2003-06-06 16:33:32 +00:00
Georg Richter
5a7257f6e2
fixed return value
2003-06-06 08:57:51 +00:00
foobar
9e71e39fa9
WS
2003-06-06 08:10:02 +00:00
foobar
497060f49f
missing header
2003-06-06 06:43:08 +00:00
foobar
5083d8b1c5
Missing header
2003-06-06 06:40:36 +00:00
foobar
4dc1f7af3c
Some missing files..
2003-06-06 06:34:30 +00:00
foobar
aaf2473558
Missing entries in .cvsignore and some cutpaste bugs in config.m4
2003-06-06 06:32:16 +00:00
foobar
fe054542a3
Fixed bug #24051 : shared build and test
2003-06-06 06:17:02 +00:00
Marcus Boerger
96a7b5557c
Added test files
2003-06-05 20:15:21 +00:00
Marcus Boerger
a5f52b5052
Update
2003-06-05 19:40:41 +00:00
Marcus Boerger
cb22a3b9e6
Update
2003-06-05 19:38:59 +00:00
Sterling Hughes
a71652e12e
add CREDITS file
2003-06-05 19:12:07 +00:00
Moriyoshi Koizumi
95f390bf2a
Avoid unnecessary zval separation
2003-06-05 18:59:55 +00:00
Sterling Hughes
ee5f79487e
fix a bunch of memory overruns, and uninitialized variable uses
...
fixes crash on sample script rob sent me
2003-06-05 18:54:25 +00:00
Moriyoshi Koizumi
3ebf297261
Avoid unnecesary zval separation
2003-06-05 18:54:19 +00:00
Sterling Hughes
15aab08e9d
version length too
2003-06-05 18:30:19 +00:00
Sterling Hughes
a957b66dc8
initialize the encoding length
2003-06-05 18:29:55 +00:00
Moriyoshi Koizumi
cf0087ef34
WS fix
2003-06-05 18:04:30 +00:00
Sterling Hughes
7dadb69c88
add tests/ files as examples that you can run and play around with
2003-06-05 17:51:35 +00:00
Sterling Hughes
7b42eccfd6
prevent double destroy and double init badness
2003-06-05 17:48:51 +00:00
Sterling Hughes
49bef1ac9a
fig segv on make install (double destroy badness)
2003-06-05 17:48:25 +00:00
Rob Richards
848795e3f9
Inital cut of new xsl extension
...
interoperates with new dom extension
PHP5 only
2003-06-05 17:10:13 +00:00
Rob Richards
1b046ed40e
Inital cut of new dom extension
...
PHP5 only
2003-06-05 17:06:52 +00:00
Hartmut Holzgraefe
bf0e2751bb
... as suggested by Wez
2003-06-05 14:42:12 +00:00
Sterling Hughes
295a1c665c
fix array_key_exists() from HANDLE_NUMERIC() changes
...
# need to go through this file and find any stuff that relies on this
# change
2003-06-05 13:58:14 +00:00
Wez Furlong
c44fcc1dc5
WS
2003-06-05 13:03:15 +00:00
foobar
89e2d04ab9
Fix the regex issues with apache2handler
2003-06-05 04:14:43 +00:00
Wez Furlong
80e7f7001d
Update bundled library to version 2.8.2.
...
Make OnUpdateInt compatible with ZE2.
Fix the makefile fragment for non-gnu makes
2003-06-04 22:40:00 +00:00
Wez Furlong
82a1818fde
Revert accidental commit from marcus.
2003-06-04 21:11:45 +00:00
Marcus Boerger
b70cf40742
Goodbye namespaces
2003-06-04 20:54:48 +00:00
Ilia Alshanetsky
a8c7c3bc5e
No need to dupe macro
2003-06-04 14:58:20 +00:00
Moriyoshi Koizumi
12ecc6ca1e
Fixed base64_encode() integer overflow issue pointed out in TODO_SEGFAULTS
2003-06-04 14:41:45 +00:00
Moriyoshi Koizumi
0f1f635d00
Fixed ob_iconv_handler() type mismatch issue on 64bit platforms.
...
Patch by Joe Orton <jorton@redhat.com>
2003-06-04 14:29:43 +00:00
Hartmut Holzgraefe
55e2bbecfa
mime_content_type() now also accepts open streams as argument
...
streas have to bee seekable, the stream position is reset to
its original value using ftell and fseek after operation
2003-06-04 14:21:40 +00:00
foobar
fde80076ec
No C++ comments and extra tabs.
2003-06-04 05:45:54 +00:00
foobar
b2ee53106f
MFB: fix build
2003-06-04 05:32:03 +00:00
Ilia Alshanetsky
f2a9f31160
GD 2.0.15 sync
2003-06-04 00:20:19 +00:00
Ilia Alshanetsky
e1b8cad26f
Syncronize bunbled GD with gd 2.0.14
2003-06-03 23:54:56 +00:00
Ilia Alshanetsky
c13be6e6d5
Last set of integer overflow checks.
2003-06-03 23:42:31 +00:00
Ilia Alshanetsky
7a35766dec
Integer overflow checks.
2003-06-03 23:23:21 +00:00
Sterling Hughes
a148878752
god bless valgrind.
...
fix double free where object is prematurely dtor'd. I should probably convert
the simplexml nodes over to this system too. Actually the new dom extension
and everywhere else should use the same type of methods.. :)
2003-06-03 19:36:20 +00:00
Edin Kadribasic
a96ab2a090
MFB
2003-06-03 12:47:49 +00:00
Hartmut Holzgraefe
c83ed19a7b
handle return value for "no matches" on systems that don't return
...
GLOB_NOMATCH consistent to those that do (return array(), not FALSE)
2003-06-03 11:01:16 +00:00
Ilia Alshanetsky
55676c662a
Fixed bug #23912 (Invalid CSS in phpinfo() output)
2003-06-03 00:06:01 +00:00
Rob Richards
df62ddd213
Fix for 64 bit platforms (by Joe Orton)
2003-06-02 18:57:59 +00:00
Wez Furlong
1011d196b1
Add "seekable" flag to stream_get_meta_data()
...
# Caveat Emptor: some streams don't know if they are seekable until
# sometime tries to seek first (user streams).
2003-06-02 16:36:10 +00:00
Sebastian Bergmann
572504845d
Leftover.
2003-06-02 15:53:09 +00:00
Sebastian Bergmann
1fe874fbb8
Leftover.
2003-06-02 15:42:34 +00:00
Daniela Mariaschi
234e7a3fed
Fixed numeric/decimal +/-(x,y) +/-(x,0)
...
for all platforms
2003-06-02 12:37:16 +00:00
foobar
8282bd0117
- No c++ comments in c code..
2003-06-02 11:42:39 +00:00
Sterling Hughes
0ecbdc55a1
earn my keep and allow one to register a namespace name to access a namespace
...
value.
2003-06-01 19:46:19 +00:00
Marcus Boerger
9211aed984
Simplify by using __METHOD__
2003-06-01 16:41:53 +00:00
Sterling Hughes
287d5f277e
don't do this on startup, lazy initialize it. This takes up > 17% of load
...
time in CGI mode
2003-06-01 02:29:28 +00:00
Marcus Boerger
cc629666e8
- fix one warning
...
- fix some commit by accident?
# did someone here mix c and php code ?
2003-05-31 22:03:57 +00:00
Marcus Boerger
80bdb812e1
Fix precondition
2003-05-31 15:22:42 +00:00
Marcus Boerger
7d78168c7b
Classes are neither interfaces nor necessarily abstract
2003-05-31 15:20:11 +00:00
Marcus Boerger
d1c19eb5a1
Fix tests
2003-05-31 13:10:00 +00:00
Marcus Boerger
a7d485143c
Update
2003-05-31 12:54:20 +00:00
Moriyoshi Koizumi
2efc619dae
Fix test
2003-05-31 07:17:35 +00:00
Georg Richter
82afbdc281
additional check for unsecure connect options
2003-05-31 07:05:34 +00:00
foobar
bfe9e39673
MFB: fix proto
2003-05-31 02:33:55 +00:00
foobar
ed1378a975
MFB: Always send a new session cookie upon regenerating id
2003-05-31 02:33:21 +00:00
foobar
935672787a
MFB
2003-05-31 02:30:50 +00:00
Ilia Alshanetsky
32a0044a21
Fixed bug #23913 (make rename() work across partitions on *nix)
2003-05-31 00:32:45 +00:00
Marcus Boerger
ed09fed5cb
Removed parts committed by mistake
2003-05-30 19:57:13 +00:00
Marcus Boerger
95530c61bf
Better fix for default connection handling.
...
# Problems noticed by Jay with the help of Sascha's nice little script.
2003-05-30 19:12:26 +00:00
Jay Smith
a79c751ae2
Relying on longer matches seems to work better than
...
matching the whole string with ^...$.
2003-05-30 19:06:34 +00:00
Marcus Boerger
6f524ac9f1
Use safe_estrdup() instead.
...
# Thanks Sascha i didn't knew about that thing.
2003-05-30 18:59:49 +00:00
Marcus Boerger
07ba5f6c9e
Fix handling of ini settings
2003-05-30 17:46:57 +00:00
Marcus Boerger
1eec984976
Fix handling of default links
2003-05-30 16:51:00 +00:00
Marcus Boerger
3dbe16cac4
Fix notice handling
2003-05-30 15:42:46 +00:00
Marcus Boerger
680653fecb
- Fix ini handling in ZTS mode
2003-05-30 15:07:02 +00:00
Ilia Alshanetsky
ded4aadde0
Fixed bug #23898 (Proper handling of NULLs in odbc_result, odbc_fetch_into
...
and odbc_result_all)
2003-05-30 14:44:15 +00:00
Ilia Alshanetsky
209bba391b
Fixed bug #23888 (Missing input validation for flags parameter)
2003-05-30 14:08:14 +00:00
Moriyoshi Koizumi
a51ab0fed0
Fixed bug #23894 (sprintf() decimal specifiers problem)
2003-05-30 13:49:33 +00:00
Moriyoshi Koizumi
3c0071a211
Added test case for bug #23894
2003-05-30 13:48:14 +00:00
Ilia Alshanetsky
ff5fc53c5e
Fixed bug #23897 (Fixed a check for mbfilter_ru.h) aleks@m2media.ru
2003-05-30 13:20:01 +00:00
Marcus Boerger
25704f0753
Fix memleaks (detected by rrichards@php.net)
2003-05-30 12:28:48 +00:00
Adam Dickmeiss
8c7c16509b
Prevent yaz from logging unless yaz.log_file is set
2003-05-30 09:48:50 +00:00
Marcus Boerger
5b32cdc5a0
Fix last commit
2003-05-29 23:55:07 +00:00
Marcus Boerger
90640a7774
Optimize
2003-05-29 23:44:22 +00:00
Ilia Alshanetsky
493633d16f
Fixed compiler warnings.
2003-05-29 23:39:41 +00:00
Marcus Boerger
57ceaebe8a
Make use of ze2 code
2003-05-29 23:34:23 +00:00
Marcus Boerger
283f52f415
Optimize interface checks
2003-05-29 21:08:08 +00:00
Marcus Boerger
a13edb62d5
Fix builddir entry
2003-05-29 14:01:21 +00:00
Marcus Boerger
97a9bf4dd1
MFB
2003-05-29 12:54:01 +00:00
Marcus Boerger
afc3b8b6dc
MFB (these parts were missing)
2003-05-29 12:33:19 +00:00
Ilia Alshanetsky
fbc32ea828
Fixed compiler warnings.
2003-05-28 22:21:13 +00:00
Rasmus Lerdorf
8effacb144
MFB
2003-05-28 16:19:08 +00:00
Hartmut Holzgraefe
fb232d96c9
@fdf crash with ZTS builds fixed (see Bug #14877 )
2003-05-28 09:40:32 +00:00
Hartmut Holzgraefe
cad89fa5a0
FDF test cases
2003-05-28 09:35:45 +00:00
Ilia Alshanetsky
4a240c6a50
Fixed compiler warnings.
2003-05-28 01:04:06 +00:00
Sterling Hughes
94136f0ccd
fix __clone()
...
add schema support
2003-05-27 22:15:17 +00:00
Sterling Hughes
c60879dbb9
plane hacking
2003-05-27 18:41:02 +00:00
foobar
3c2f9fd5c0
MFB: php_error_docref -> zend_error (MINIT)
2003-05-27 17:24:59 +00:00
Adam Dickmeiss
7e28c28bf1
Fix close of log file. Ensure that YAZ log file is reset too
2003-05-27 09:47:27 +00:00
Ilia Alshanetsky
8dc90d446f
Fix compiler warnings.
2003-05-27 00:50:00 +00:00
Melvyn Sopacua
e4006659b2
MFB: LC_MESSAGES support
2003-05-27 00:42:39 +00:00
Marcus Boerger
e525904c8e
For now that works.
...
# However some of the register stuff must be moved to the engine.
# And inside the engine some fixes are needed, too.
2003-05-27 00:14:04 +00:00
Moriyoshi Koizumi
3cd1ea3154
Changed the test so it would not fail on some old platforms.
2003-05-26 22:16:14 +00:00
Marcus Boerger
6d913a3bfc
- Fix handling of abstract methods. They must be inherited when inheriting
...
a method.
- Fix entry more (should be amed has_more).
- Add a check against that bug.
2003-05-26 22:06:49 +00:00
Sterling Hughes
afc2196715
add support for querying nodes with xpath expressions.
2003-05-26 03:57:41 +00:00
foobar
380bf699ae
Added regression test for bug #23788
2003-05-26 03:55:08 +00:00
Sterling Hughes
3c511d9f24
add namespace support
2003-05-26 02:42:41 +00:00
Shane Caraveo
e3e22511b1
one more define to make it load into php
2003-05-26 02:28:20 +00:00
Shane Caraveo
ea1437d711
get rid of crudy stuff
2003-05-26 02:19:14 +00:00
Shane Caraveo
8e58169364
now builds on windows
2003-05-26 02:18:38 +00:00
Sterling Hughes
fb14866796
add a new function simplexml_load_string()
2003-05-26 01:41:25 +00:00
Sterling Hughes
1410e81847
several changes improvements, including the new
...
simplexml_save_document_string() function which saves a XML document to a
string variable
2003-05-26 01:37:02 +00:00
Sterling Hughes
97b5a5df4f
sascha points out this is more purdy-like
2003-05-26 01:03:51 +00:00
Sterling Hughes
3192da2d2b
this is right
...
but it shouldn't be
2003-05-26 00:27:30 +00:00
Sterling Hughes
ad509c690a
add a note, and implement this properly later
2003-05-25 22:03:47 +00:00
Sterling Hughes
bb2a324b65
use proper types
2003-05-25 21:58:09 +00:00
Sterling Hughes
3d62c3ebb7
remove compiler warnings
2003-05-25 21:50:30 +00:00
Ilia Alshanetsky
2e361db1fe
Fixed bug #23788 (str|preg_replace clober the array elements).
...
# Should this be MFBed to 4.3 branch?
2003-05-25 21:48:57 +00:00
Sterling Hughes
cf8a7bd235
add/fix assignments for both nodes and attributes
...
add a working get_property_ptr construct
2003-05-25 21:44:54 +00:00
Marcus Boerger
0b4cbe26a7
Add a testcase to foreach/break
2003-05-25 19:24:29 +00:00
Marcus Boerger
13f50103ae
Make foreach on spl'ed objects work with break, too
2003-05-25 19:10:44 +00:00
Marcus Boerger
2f0ea97617
Speling
2003-05-25 12:10:48 +00:00
Sebastian Bergmann
70fa1ff7f5
Hopefully get correct display of version information.
2003-05-25 07:23:41 +00:00
Marcus Boerger
21bbfb503e
Optimizations
2003-05-25 01:36:50 +00:00
Sterling Hughes
981f5051a9
exploit the not yet committed, not yet shown cast_object() object callback.
...
this makes simplexml the mostest bestest xml extension in the whole wide
world.
2003-05-25 00:05:30 +00:00
Marcus Boerger
96034f390b
Optimizing by caching class entries, too.
...
# The comment block inside ZEND_EXECUTE_HOOK_FUNCTION(ZEND_FE_FETCH)
# is a tricky way to create result = array(key => value) very fast.
# But it is close to overoptimizing.
2003-05-24 21:02:33 +00:00
Marcus Boerger
0b0e0e9511
Update after fix
2003-05-24 17:12:58 +00:00
Marcus Boerger
e035046ac2
Add new test
2003-05-24 17:10:34 +00:00
Marcus Boerger
3b2fa8bb96
Fix namespace related problems
2003-05-24 17:10:03 +00:00
Marcus Boerger
135415ca8f
fix error resulting from strlen() -> sizeof() change in engine macros
2003-05-24 15:51:24 +00:00
Marcus Boerger
29a5535394
Fixes and optimizations
2003-05-24 13:47:49 +00:00
Marcus Boerger
7ff718f455
Make this a warning
2003-05-23 20:51:49 +00:00
foobar
a747e1b768
added another test case (due to the problems we saw with 4.3.2RC4)
2003-05-22 23:59:37 +00:00
Derick Rethans
48041d4d7f
- Fixed bug #23751 : Confusing configure warning concerning required cURL
...
version
2003-05-22 13:08:49 +00:00
Sterling Hughes
d844c2841d
rename namespace to use_namespace to avoid a c++ keyword conflict
...
fix whitespace surrounding the enums, use tabs please :)
2003-05-22 03:29:05 +00:00
Sterling Hughes
bf022fd49f
use zval_ptr_dtor() instead of the more verbose and less correct version
2003-05-22 03:08:48 +00:00
Sterling Hughes
8b50ea61a7
take advantage of the fast_call_user_function() api call for all of the
...
callbacks.
2003-05-22 03:04:11 +00:00
Sterling Hughes
5641234ee2
move all the other callbacks
2003-05-21 23:27:12 +00:00
Sterling Hughes
3de6a7d3b2
switch over to using fast_call_user_function() with the callbacks
2003-05-21 23:15:28 +00:00
Jay Smith
1611ebd45e
Fix segfault in pspell_new_config(). Also fix grammar
...
in error messages.
2003-05-21 23:04:18 +00:00
foobar
bde75d5a12
Fixed bug #23738 (ifx_copy_blob() crash). (Jani)
2003-05-21 22:20:07 +00:00
Sara Golemon
af5e2af752
Setup FG(default_context) in RINIT/RSHUTDOWN instead of fg_ctor/fg_dtor.
...
Frees context at right time without double freeing.
2003-05-21 21:36:51 +00:00
Sterling Hughes
7d9a4a0ad8
simplexml property modification works now
2003-05-21 20:39:01 +00:00
Derick Rethans
ec02fe98d8
- Fixed example
2003-05-21 20:16:04 +00:00
Sterling Hughes
956676e68c
foodle
2003-05-21 20:15:05 +00:00
Sterling Hughes
24eee37fed
seems there is only the stupid way to be stupid (implode copying array
...
elements)
at least we check for IS_STRING, which should clear this up 90% of the time
2003-05-21 17:44:08 +00:00
Sterling Hughes
90ae4e0095
be stupid, but at least be smart about being stupid.
2003-05-21 17:38:17 +00:00
Ilia Alshanetsky
e953bbb257
Added missing open_basedir & safe_mode checks
2003-05-21 17:04:08 +00:00
Rasmus Lerdorf
18954d8bd2
Remove bogus commit here too
2003-05-21 17:02:40 +00:00
Sterling Hughes
8d5c30c14b
make brian happy
2003-05-21 16:52:09 +00:00
Sander Roobol
ff36043d14
ob_gzhandler and zlib.output_compression should send a Content-Length
...
header if the length of the complete compressed output is known
# MFH follows in a few minutes, please wait with the release :)
2003-05-21 16:05:03 +00:00
Sterling Hughes
18254e85ef
ilia's request is my command
2003-05-21 15:47:01 +00:00
Sterling Hughes
c418dd14b5
add an example of modifying the XML tree
2003-05-21 14:06:00 +00:00
Wez Furlong
2d1a6e5dc2
MFB context refcounting and text-mode fopen fixes
2003-05-21 13:33:55 +00:00
Georg Richter
445180f228
MYSQL_NEED_DATA isn't defined anymore in mysql.h
2003-05-21 08:47:27 +00:00
Marcus Boerger
e504166277
This depends on libc and CPU used
2003-05-21 07:23:45 +00:00
Sara Golemon
83b7b75c3c
Implement default contexts. For the moment this is useless
...
but it will be used soon for connection pooling.
2003-05-21 04:04:50 +00:00
Ilia Alshanetsky
b078f60fce
Added missing safe_mode checks and corrected a typo in stdout check.
2003-05-21 00:57:34 +00:00
Marcus Boerger
323eedd1b2
Fix build
2003-05-21 00:14:16 +00:00
Frank M. Kromann
03c56a5a1f
Fix for bug 23402. Crash when mssql?bind was used incorrectly
2003-05-21 00:08:10 +00:00
Marcus Boerger
e9c10acc76
Fix test (ssen by Dan Torop)
2003-05-20 22:28:10 +00:00
Sterling Hughes
3c6fd35007
initialize these to NULL
2003-05-20 18:18:56 +00:00
Andrei Zmievski
8571f5eac2
Put some guards in place.
2003-05-20 18:11:09 +00:00
Jay Smith
515f0e3f71
Make get_browser() try harder to find better matches.
2003-05-20 17:59:16 +00:00
Dan Kalowsky
53c90b2344
Adding imap_getacl, patch provided by Holger Burbach
...
(holger.burbach@gonicus.de )
@ Adding imap_getacl functionality. Function provided by Holger Burbach
2003-05-20 17:37:53 +00:00
Sterling Hughes
9ac50a13d7
convert array functions to use fast_call_user_function(), gives a nice
...
performance win.
2003-05-20 16:46:53 +00:00
Dan Kalowsky
99a616b0b9
NIL, NULL, same thing, but changing for consistency sake
2003-05-20 16:34:04 +00:00
Brad House
8b3a698ec0
Properly map mcve_text_code to MCVE_TEXT_Code instead of MCVE_TEXT_AVS.
...
Properly cast MCVE_TTID.
Correct DVAL arguments to MCVE_Gut and MCVE_Gl.
2003-05-20 13:59:04 +00:00
Hartmut Holzgraefe
2bffad8fce
zend_is_callable() already checks this ...
2003-05-20 13:36:38 +00:00
Hartmut Holzgraefe
4b7c5cea4b
proto and typo fixes
2003-05-20 13:35:13 +00:00
Hartmut Holzgraefe
78b874f85e
C++ extensions build fix
2003-05-20 13:32:21 +00:00
Derick Rethans
92d5589a94
- Commit broken support for sxe_properties_get
2003-05-20 13:08:05 +00:00
Derick Rethans
37a9e03654
- Implement two dummy handlers so that var_dump() doesn't crash on it.
2003-05-20 11:17:04 +00:00
Derick Rethans
7dea37a077
- Add Revision to MINFO (I was chasing ghosts ;)
2003-05-20 08:48:18 +00:00
Derick Rethans
813ea0b663
- Make it build with the unbundled libxml again
2003-05-20 08:46:55 +00:00
Sterling Hughes
7e161dafeb
data corruption is for sissy boys
2003-05-20 02:12:03 +00:00
Ilia Alshanetsky
31f0d1c949
Added missing safe_mode & open_basedir checks.
2003-05-20 00:37:00 +00:00
foobar
dab706ee2a
- Go back to using --disable-xml and --enable-xml
...
. Require use of --with-libxml-dir and --with-libexpat-dir for ext/xml.
Allows other extensions to use --with-expat-dir for now.
# still defaults to libxml if --with-libxml-dir and --with-libexpat-dir
# are not used.
2003-05-20 00:20:29 +00:00
Marcus Boerger
daded6e633
Reorganized tests
2003-05-20 00:14:46 +00:00
Marcus Boerger
4a11372805
Fix Test (2nd time)
2003-05-20 00:09:47 +00:00
foobar
5e0a3ed73b
Make this build with libxml too.
2003-05-19 23:45:20 +00:00
foobar
f8354b5c5d
Align the configure --help texts
2003-05-19 23:43:41 +00:00
Marcus Boerger
1778caad0c
Fix protos
2003-05-19 22:52:27 +00:00
Marcus Boerger
0c77fef23a
Fix Test
2003-05-19 22:16:58 +00:00
Sterling Hughes
4cf3e8f3ee
use libxml2 memory management throughout the file, which in turn uses the
...
PHP memory management.
2003-05-19 21:53:33 +00:00
Sterling Hughes
29eb399773
send some more data to the default handler
...
libxml2 is braindead when it comes to handling entities
2003-05-19 21:51:57 +00:00
foobar
4334f66065
Allow build with expat too.
2003-05-19 21:50:23 +00:00
Marcus Boerger
dc379b9d79
Fix test
2003-05-19 21:48:04 +00:00
foobar
efa8e404d8
Remove unnecessary test.
2003-05-19 21:45:49 +00:00
Marcus Boerger
2838dcb713
Add missing ini setting (use default and change expected result accordingly)
2003-05-19 19:14:34 +00:00
Sara Golemon
8e9c159f75
The bucket rewrite was done some time ago...
2003-05-19 18:40:11 +00:00
Derick Rethans
afabd0575c
- Move examples to their own directory
2003-05-19 18:25:20 +00:00
Sterling Hughes
f726a84b1d
use the appropriate accessor
2003-05-19 16:27:46 +00:00
Derick Rethans
92f0da58e6
- Rename stream_register_filter() to stream_filter_register(),
...
stream_register_wrapper() to stream_wrapper_register() and added an alias for
the latter change.
2003-05-19 15:35:06 +00:00
foobar
73415c9e01
- Unbundle libxml and expat. Now this compiles too..
2003-05-19 15:33:19 +00:00
Sterling Hughes
a432df541f
fix attribute handling on the root node
...
simplify node access by defining/using GET_NODE() macro properly
2003-05-19 14:52:15 +00:00
Sterling Hughes
b3772c4f35
add the ability to serialize the contents back to a file
2003-05-19 13:33:01 +00:00
Moriyoshi Koizumi
08bf402440
Fixed bug #23683
2003-05-19 13:26:28 +00:00
Sterling Hughes
44f6100ff0
basic support for modifying XML documents
2003-05-19 13:16:01 +00:00
Sterling Hughes
f408e9eefc
add some macros that simplify the loops
...
remove a unnecessary copy
2003-05-19 12:44:24 +00:00
Ilia Alshanetsky
8e3772a827
Added skip condition.
2003-05-19 04:57:01 +00:00
Sterling Hughes
6bfb5026d6
add sample file
2003-05-19 01:56:14 +00:00
Marcus Boerger
4229a483cf
Really fix this
2003-05-18 23:20:10 +00:00
Wez Furlong
0ab6c816d9
Fix build
2003-05-18 23:05:38 +00:00
Sterling Hughes
26353e4e13
attribute support
2003-05-18 22:39:16 +00:00
Sterling Hughes
aec55ef95a
properly detect blank nodes
2003-05-18 21:13:29 +00:00
Sterling Hughes
e3f351ddb0
make arrays of subnodes work (hacky)
...
drop property support for the moment, this will be re-added soonish
2003-05-18 20:53:21 +00:00
Adam Dickmeiss
5a848c6f25
Display current version as well as compiled version
2003-05-18 20:40:05 +00:00
Sterling Hughes
94925b1c33
add very basic code for the simplexml extension. The following works ::
...
person.xml
--
<person>
<name>
<first>Sterling</first>
<last>Hughes</last>
</name>
</person>
person.php
--
<?php
$p = simplexml_load_file('person.xml');
echo $p->name->last . ', ' . $p->name->first;
?>
Still needs lots of work.
2003-05-18 20:33:26 +00:00
foobar
422309353d
CS
2003-05-18 14:55:18 +00:00
Marcus Boerger
80aa82e24b
Enable bundled submodules when enabling module
2003-05-18 12:36:24 +00:00
Marcus Boerger
66a3e8deb7
Fix test (for now - need EXPECTF/EXPECTREGEX)
2003-05-18 12:10:03 +00:00
Marcus Boerger
dbf0d7572e
Fix unserialize (commit later)
2003-05-18 12:09:08 +00:00
Marcus Boerger
2307193255
Fix unserialize
2003-05-18 12:08:51 +00:00
Moriyoshi Koizumi
586a43cfda
Adjusted the expected output to reflect the change in var_dump()
2003-05-17 23:50:16 +00:00
Sterling Hughes
00e48b7f70
send comments to the default handler like done with expat, add a
...
setcommenthandler function, which exists in expat, but isn't used by the
extension.
2003-05-17 22:09:58 +00:00
Moriyoshi Koizumi
80c75c4d62
MFB(r-1.1.2.7): fix test
2003-05-17 20:06:00 +00:00
Sterling Hughes
2d64d3aff5
pecl
2003-05-17 14:37:28 +00:00
Sterling Hughes
3a5f401a04
move to pecl
2003-05-17 14:32:03 +00:00
Sterling Hughes
a42ae5f191
add a package.xml file
2003-05-17 14:29:31 +00:00
Sterling Hughes
7153eb7378
add bzip2 extension to pecl from php5 cvs
2003-05-17 14:27:07 +00:00
Sterling Hughes
38c96364c6
move this extension to pecl
2003-05-17 14:17:57 +00:00
Sterling Hughes
dd8accf890
apply fix from bug #23539
2003-05-17 14:12:36 +00:00
Marcus Boerger
be7b80dcba
TSRM fix
2003-05-17 11:44:57 +00:00
Sebastian Bergmann
85a13e3e9a
Fix warnings.
2003-05-17 06:21:34 +00:00
Sara Golemon
c9651182c6
MFB(r-1.74.2.8) Bug #14369 . ftp extension allows circumvention of safe_mode restrictions. HEAD version of this patch uses the simpler open_wrapper approach to applying safe mode restrictions. Also allows writting to/from wrappers this way.
2003-05-17 04:21:57 +00:00
Sara Golemon
8924395720
MFB(r-1.333.2.27) Bugfix 23654. If subject is an array and it contains other arrays, we want to pass those subarrays through unchanged rather than attempt to convert them to string.
2003-05-16 23:30:08 +00:00
Moriyoshi Koizumi
b67f2dc98d
Allow libxml to detect the document encoding if encoding parameter passed to
...
XML_ParserCreate_MM is null.
2003-05-16 23:21:48 +00:00
Derick Rethans
0596442eef
- MFB: Fixed bug #23661 : mysql_fetch_array gives no warning on an invalid
...
result_type
2003-05-16 19:09:19 +00:00
Ilia Alshanetsky
7e2a99d091
Fixed bug #23657 (Missing initialization in browscap module init)
2003-05-16 15:13:47 +00:00
Moriyoshi Koizumi
27b8c453b9
copy'n'paste failure
2003-05-16 06:24:57 +00:00
Moriyoshi Koizumi
3d2b9af9eb
Added test case for bug #23650
2003-05-16 06:20:23 +00:00
Moriyoshi Koizumi
8cbb6b6341
Fixed bug #23650 (strip_tags() removes hyphens)
2003-05-16 06:19:51 +00:00
Ilia Alshanetsky
e2444c223b
MFB
2003-05-16 01:09:58 +00:00
Moriyoshi Koizumi
f78ec11339
Fixed test so it won't fail in case the output handler is enabled
2003-05-15 19:20:31 +00:00
Sascha Schumann
289ad3960e
Fix the way we create references to (sometimes non-)existing
...
variables.
Credits go to Rob Richards <rrichards@digarc.com> and Zeev
2003-05-15 13:33:18 +00:00
Ilia Alshanetsky
b9215a1538
Fixed bug #23527 (PostScript Type 1 font do not render properly)
2003-05-15 02:25:50 +00:00
Adam Dickmeiss
58040bfd33
Fix yaz_wait. Async mode incorrectly determine resource
2003-05-14 22:18:12 +00:00
Andrei Zmievski
8781970a78
MFB.
...
@- Updated wddx_deserialize() to take an open stream as an argument. (Andrei)
2003-05-14 18:15:17 +00:00
Sara Golemon
022a1625a3
Implement unlink() method in ftp wrapper ops and do some general cleanup of other code
2003-05-14 18:02:10 +00:00
foobar
6fb825bed4
- Removed remains of ext/fribidi (it's in PECL)
2003-05-14 15:26:38 +00:00
Sara Golemon
65d359d71a
Fold 'options' parameter into wops->unlink method
2003-05-14 15:12:07 +00:00
Wez Furlong
1a521e5ab6
Prep for next release
2003-05-14 13:05:22 +00:00
Sascha Schumann
31dc62a905
MFB segfault fix
2003-05-14 08:27:48 +00:00
Daniela Mariaschi
82d513ee72
better fix bug #20641 .
...
Overflow numeric/decimal datatype on NT
2003-05-14 08:22:54 +00:00
Marcus Boerger
7ddb7f15d4
Enable db<n> builds configured with --with-uniquename
2003-05-14 06:22:35 +00:00
Sara Golemon
5126fbe556
Setup unlink() method in wrapper_ops structure, implement unlink in plainfiles wrapper, explicitly set method NULL in other wrappers (for now), and rewrite unlink userland function to call into wrapper_ops
2003-05-14 06:10:04 +00:00
Moriyoshi Koizumi
f1679e4027
Fixed test so it won't fail in correct situations
2003-05-14 00:36:00 +00:00
Ilia Alshanetsky
f1c20d3b55
Added sqlite_fetch_string(), for speedy fetching of data from database
...
cursor containing only a single column.
2003-05-13 23:51:25 +00:00
foobar
0360a2c012
MFB: removing the crashbug on windows
2003-05-13 22:09:18 +00:00
Marcus Boerger
8dffa02661
Fix this test
2003-05-13 20:37:54 +00:00
Christian Stocker
d3ceb197a2
fixes possible segfault in domxml_xslt_result_dump_mem
2003-05-13 14:52:36 +00:00
Adam Dickmeiss
46dbbff7f0
Fix problem with yaz_record in array mode, when record is unavailable.
2003-05-13 10:31:46 +00:00
Moriyoshi Koizumi
0fc5d74364
oops
2003-05-12 13:28:06 +00:00
Moriyoshi Koizumi
e500e957ba
Applied the right fix for bug #23016
2003-05-12 13:26:16 +00:00
Moriyoshi Koizumi
bc741c67d4
Those pieces were not intended. Partly reverted.
...
# sorry for messing
2003-05-11 09:10:48 +00:00
Moriyoshi Koizumi
ebd92654c1
Added an encoding detection option for expat XML parser.
2003-05-11 09:04:05 +00:00
Moriyoshi Koizumi
4e9e9c6e21
Fixed bug #22463 and bug #23581
2003-05-11 06:36:37 +00:00
Moriyoshi Koizumi
065a192411
Added a test case for bug #23581
2003-05-11 06:33:35 +00:00
Moriyoshi Koizumi
b666d8c679
Added test case for bug #22463
2003-05-11 02:37:17 +00:00
Moriyoshi Koizumi
82d769eefd
Fixed compiler errors that occur when bundled libxml is not used.
2003-05-11 01:45:52 +00:00
Rob Richards
47c26016bb
Bundle support
2003-05-11 01:01:16 +00:00
Moriyoshi Koizumi
27863eb499
MFB(r-1.40.2.4): fixed bug #23016
2003-05-11 00:49:15 +00:00
Rasmus Lerdorf
e4ff6a5e8b
Grr.. Who changed this file from tabs to spaces?
2003-05-10 17:14:47 +00:00
Rasmus Lerdorf
d9eab20c00
MFB
2003-05-10 17:13:58 +00:00
Sascha Schumann
ed68ca44ec
Fix types of bug_compat entries
...
PR: #21312
Submitted by: Rob Richards <rrichards@ctindustries.net>
2003-05-10 16:49:21 +00:00
Sergey Kartashoff
2726d79b9f
@- A new functions Udm_Alloc_Agent_Array and Udm_Hash32 have been added to
...
@ mnogosearch extesion for use with mnogosearch-3.2.11 or later.
- A new functions Udm_Alloc_Agent_Array and Udm_Hash32 have been added to
mnogosearch extesion for use with mnogosearch-3.2.11 or later.
2003-05-10 11:31:52 +00:00
Hartmut Holzgraefe
16ade3dd46
no more VC++ compile warnings
2003-05-09 07:55:32 +00:00
Ilia Alshanetsky
09fbc97d55
Add missing initialization.
2003-05-09 01:10:18 +00:00
Moriyoshi Koizumi
598dba147d
Fixed test case so it reflects the recent change on var_dump()
2003-05-08 23:23:02 +00:00
Moriyoshi Koizumi
ea39409c60
Added missing break
2003-05-08 16:45:59 +00:00
Moriyoshi Koizumi
83ad8e3ae3
Added initialisation for thread safety
2003-05-08 16:01:50 +00:00
Moriyoshi Koizumi
e911b39158
Added "€" support for htmlentities() and html_entity_decode()
2003-05-08 15:43:34 +00:00
Moriyoshi Koizumi
ee86979e21
I should have tested more carefully..
2003-05-08 15:39:24 +00:00
Moriyoshi Koizumi
1ba4e590ef
WS fix
2003-05-08 15:12:04 +00:00
Moriyoshi Koizumi
2b5cebba16
Fixed memleak when the libxml compat layer is used.
2003-05-08 15:07:26 +00:00
Moriyoshi Koizumi
6ed4fd1666
Improved html_entity_decode() so it can handle multibyte charsets and
...
numeric entities.
2003-05-08 10:42:20 +00:00
Ilia Alshanetsky
b20df54af7
Make serialize precision a configurable option.
2003-05-08 01:23:21 +00:00
Moriyoshi Koizumi
02c9b14ca2
Filled error_mappings[] with placeholders for actual error messages
2003-05-07 20:53:23 +00:00
Sara Golemon
13191aa841
Revert, this caused more trouble than it fixed.
2003-05-07 20:33:53 +00:00
Moriyoshi Koizumi
891bd02e10
Added missing object initialisation
...
Added missing sanity checks
2003-05-07 20:06:42 +00:00
Moriyoshi Koizumi
cced1b26ec
Fixed typos
2003-05-07 19:52:30 +00:00
Moriyoshi Koizumi
29f346d7d7
Removed redundant TSRMLS_FETCH's
2003-05-07 17:40:46 +00:00
Moriyoshi Koizumi
8c539518fb
This should be needed.
2003-05-07 15:28:58 +00:00
Moriyoshi Koizumi
21661d3bde
Added even better allocator codes for both expat & libxml
2003-05-07 15:21:31 +00:00
Sara Golemon
451cd602f6
HINFO RDATA is <label><label> not <nshort><nshort>
2003-05-06 19:51:46 +00:00
Sterling Hughes
a0351b093f
Bundle libxml and add compatibility layer
2003-05-06 19:38:49 +00:00
Marcus Boerger
34a36c466e
#i shouldn't do test-fiddling after 3o-clock
2003-05-06 09:33:40 +00:00
Marcus Boerger
6360bda763
Find a better solution for the tests
2003-05-06 01:23:35 +00:00
Daniela Mariaschi
46b1372de7
- removed error message in dtor
...
(causing segfault when user doesn't free statement)
- removed erroneous controls as for bug #23436
2003-05-05 22:25:29 +00:00
Ilia Alshanetsky
7f404846ad
s/g/G/
2003-05-05 22:21:29 +00:00
Ilia Alshanetsky
a7591863fd
Fixed tests to reflect full float values.
2003-05-05 19:57:32 +00:00
Moriyoshi Koizumi
b874a54846
Added links to HTML entity resources
2003-05-05 19:50:15 +00:00
Hartmut Holzgraefe
e6490c4a41
basename() now binary safe, testcases added
2003-05-05 13:46:14 +00:00
Christian Stocker
d9406876e2
MFB (set the doc property to NULL if no parent is available (by Rob Richards))
2003-05-05 12:56:33 +00:00
Hartmut Holzgraefe
e364d1f589
proto fix
2003-05-05 12:36:35 +00:00
Thies C. Arntzen
747822c616
fixed FMR
2003-05-05 12:17:02 +00:00
Ilia Alshanetsky
88bafcb7a5
Safer implementation.
...
Thanks Marcus.
2003-05-04 19:09:54 +00:00
Ilia Alshanetsky
75c01dd66b
Fixed bug #23298 (serialize cuts off floats & doubles)
2003-05-04 18:41:02 +00:00
Moriyoshi Koizumi
e9111e0f9b
Fixed an issue that zend-multibyte's behaviour doesn't reflect the change
...
to mbstring.internal_encoding ini setting.
2003-05-04 13:11:30 +00:00
Moriyoshi Koizumi
b44ae54bc6
Real fix and a test case for bug #22008
2003-05-04 12:44:36 +00:00
Marcus Boerger
418106cc31
Add me
2003-05-04 12:04:26 +00:00
Moriyoshi Koizumi
e9c903ad3f
A quick fix for bug #22008
...
# BTW I'm working on an enhanced strip_tags implementation with re2c, which
# will feature more CSS awareness and more stateful scanning.
2003-05-04 11:45:58 +00:00
Moriyoshi Koizumi
1dfc59f6d8
Added missing sanity check
...
# likely a fix for bug #23457
2003-05-04 11:19:57 +00:00
Zak Greant
eac7884bdb
Added a few extra proto descriptions and made some minor corrections and comments
2003-05-04 03:15:02 +00:00
Marcus Boerger
815ad75c49
- Indendation fix
...
- Proto fix
- Add efficient single column access function: sqlite_column()
2003-05-03 12:51:13 +00:00
Sebastian Bergmann
ab393a9b0c
Adjust path to bundled expat sources for Win32 build.
2003-05-03 08:44:53 +00:00
Marcus Boerger
0c11675902
Fix MFN error (now really)
2003-05-02 22:22:16 +00:00
Marcus Boerger
b8c5cd2a9d
Fix MFN error
2003-05-02 22:17:01 +00:00
Marcus Boerger
7a17b23190
Add iterator interface and test
2003-05-02 22:09:54 +00:00
Marcus Boerger
4701aaaa87
Interfaces only implement interfaces
2003-05-02 15:39:12 +00:00
Marcus Boerger
d6d17e510d
Remove this debug line too
2003-05-02 11:10:55 +00:00
Moriyoshi Koizumi
7638a25fef
Fixed bug #23449
2003-05-02 11:00:42 +00:00
Andrey Hristov
a894bf5c87
Extending substr_replace().
...
Every parameter can be mixed (string/array) also the return type.
#see the test file if you need more info.
2003-05-02 10:02:40 +00:00
Thies C. Arntzen
83a0e508df
@ - Fixed bug #23376 OCINewDescriptor
2003-05-02 08:43:28 +00:00
Sterling Hughes
c5a2f99703
remove this, its now in bundle
2003-05-02 04:05:23 +00:00
Sterling Hughes
80e9dc0b58
new file that deals with the bundle
2003-05-02 04:02:27 +00:00
Marcus Boerger
ff82ad268f
Add some info
2003-05-02 03:09:58 +00:00
Sara Golemon
07c679064a
Bug Fix (22433). When the bottom of a range() is chr(0) or the top is chr(255), the for loop carries over and never exits.
2003-05-02 00:58:02 +00:00
foobar
20d88e4c34
- Fixed bug #22580 (ext/odbc compile failure with dbmaker)
2003-05-02 00:40:20 +00:00
foobar
f60a086291
- Fixed bug #23427 (compile failure with GD 1.8.3)
2003-05-01 23:50:08 +00:00
Marcus Boerger
b5a70a72d1
Add spl extension
2003-05-01 23:28:28 +00:00
Edin Kadribasic
0d46a490f7
Allign.
2003-05-01 22:12:06 +00:00
Ilia Alshanetsky
894e2aaf68
emalloc -> safe_emalloc
2003-05-01 21:08:31 +00:00
Marcus Boerger
a8c650d1b8
tests depend on ini option
2003-05-01 13:29:11 +00:00
Marcus Boerger
2c2774c204
Don't return table names
2003-05-01 13:20:22 +00:00
Marcus Boerger
2cef4c3470
Check returned associative indexes
2003-05-01 13:18:56 +00:00
Sterling Hughes
1d32bcf0bc
no need to comment out, it doesn't belong there '.'
2003-05-01 03:47:54 +00:00
Wez Furlong
9db67f05e1
UnixODBC also supports the fetch_array() and fetch_object() functions...
2003-04-30 23:32:36 +00:00
Ilia Alshanetsky
8a09151f5e
emalloc -> safe_emalloc
2003-04-30 21:53:53 +00:00
Frank M. Kromann
c843ec8c6c
Fixing bit support. Bug #23324
2003-04-30 21:52:37 +00:00
Moriyoshi Koizumi
193fe6863a
Really fix the test.
...
# sorry for the mess..
2003-04-30 16:30:44 +00:00
Rasmus Lerdorf
63c966a33d
MFB
2003-04-30 16:26:22 +00:00
Marcus Boerger
bafbc8bdb2
Allow both parameter orderings
2003-04-30 15:22:57 +00:00
Marcus Boerger
4ad3ecc758
Allow to set result_type default for each query
2003-04-30 15:18:59 +00:00
Wez Furlong
6fc4f3a2ef
Fix memory leak in odbc_fetch_(array|object).
...
Enable those functions for IBM DB2.
2003-04-30 10:45:45 +00:00
foobar
d7fde48f1d
tempnam() creates an empty file..prevent them from going to /
2003-04-30 10:42:24 +00:00
foobar
58491116fc
- Fixed bug #23371 (configure falsely detects c-client using SSL)
2003-04-30 10:34:47 +00:00
foobar
511d5268a5
Add some missing quotes. Noticed by Michael Mauch <michael.mauch@gmx.de>
2003-04-30 10:22:56 +00:00
foobar
17892a4386
CS fix
2003-04-30 10:19:21 +00:00
foobar
5fbbd31ca4
Fix compile problems with < 9.2 oracle libs
2003-04-30 10:17:25 +00:00
Ilia Alshanetsky
35f8be6bcc
Fixed compiler warning (found by Larry Rosenman <ler@lerctr.org>)
2003-04-30 00:37:31 +00:00
Sara Golemon
5d3a8e4ce7
Add support for SRV and NAPTR records to dns_get_record() and dns_check_record()
...
Feature Request #23407
2003-04-29 22:02:01 +00:00
Wez Furlong
89503b163e
Fix dirname() under win32.
...
The calculated length would be off-by-two under windows, which resulted in bogus dirnames.
2003-04-29 13:35:48 +00:00
Moriyoshi Koizumi
180806f9e6
Fixed typo
2003-04-29 13:05:58 +00:00
Moriyoshi Koizumi
cc9b7895a0
Fixed bogus skip condition
2003-04-29 13:04:19 +00:00
Ilia Alshanetsky
c511cd2242
emalloc -> safe_emalloc
2003-04-28 22:42:22 +00:00
Jay Smith
ab1124b014
A few fixes Uwe suggested, plus plugged a memleak and a possible
...
overrun.
2003-04-28 21:49:47 +00:00
foobar
ac45c221ff
ws fix
2003-04-28 20:47:27 +00:00
Adam Dickmeiss
1329eac05a
For yaz_wait, when event=>TRUE is specified for array options,
...
yaz_wait returns when one event occurs. This allows us to perform
async operations on many databases. Use OnUpdateInt for PHP4.
2003-04-28 19:51:45 +00:00
Derick Rethans
9ab3ad2963
- Commit the .c file too...
2003-04-28 18:52:59 +00:00
Derick Rethans
cd13464709
- Make them available on Windows too from other files.
2003-04-28 18:41:32 +00:00
Sascha Schumann
e422f56dff
improve php_url_encode
2003-04-28 16:24:14 +00:00
Moriyoshi Koizumi
f4c9feb774
Added missing sanity check in fgetcsv()
2003-04-28 15:04:56 +00:00
Wez Furlong
169b3f72ed
Fix for #23340 ; fopen on multiple urls from the same server crashes.
2003-04-28 14:41:36 +00:00
Derick Rethans
810ac117f0
- Fix non-ZTS build after Sterling's changes to TSRM
2003-04-28 10:40:28 +00:00
Sterling Hughes
7ed6fd22bc
use the new TSRMLS_FETCH_FROM_CTX() macro
2003-04-27 22:15:19 +00:00
Marcus Boerger
8820a9cdcc
More tests
2003-04-27 20:02:35 +00:00
Stanislav Malyshev
cddface7f1
fix TSRM
2003-04-27 16:18:43 +00:00
Stanislav Malyshev
cad71d8c92
MFB 4_3:
...
Fix very nasty bug - session cookie kills one of the cookies
set before it on certain non-Apache SAPIs.
# for example, this code:
# <?
# setcookie("abc", 1);
# setcookie("def", 2);
# session_start();
# ?>
# would output only 'def' cookie on CGI and ISAPI
2003-04-27 16:04:53 +00:00
Wez Furlong
3bf392c160
Seems like a better fix..
2003-04-27 14:01:09 +00:00
Marcus Boerger
783d1d7b24
More safe_emalloc()
2003-04-27 13:46:07 +00:00
Wez Furlong
23c4c206a4
WS, plus default: would prevent case SQLITE_DONE: in php_sqlite_fetch().
2003-04-27 13:32:43 +00:00
Marcus Boerger
fe94e0394e
Enable some more functions with unbuffered queries
2003-04-27 13:25:10 +00:00
Marcus Boerger
88ef12964b
Add more tests
2003-04-27 11:29:39 +00:00
Sara Golemon
bb48c7d861
Take STREAMS_CC/STREAMS_DC declarations out of do_connect/do_pasv where they don't need to be. Add minimalist url_stat method to ftp:// wrapper which can at least determine filesize. Other properties set to 0 since the FTP protocol simply doesn't support exploring them. url_stat won't actually work however until ext/standard/filestat.c is patched to allow stat wrappers.
2003-04-26 01:55:31 +00:00
Ilia Alshanetsky
ab0e80d42f
emalloc -> safe_emalloc
...
Fixed possible buffer overflow in pg_lo_read()
2003-04-25 21:59:58 +00:00
foobar
b83fc1a802
- Fixed some AIX/HPUX compile issues.
...
# Just a modified diff of the same file found in mysql 4.0.12 :)
2003-04-25 21:31:23 +00:00
Moriyoshi Koizumi
0e5df53be5
Moved copyright notice to the better place.
2003-04-25 17:39:46 +00:00
Moriyoshi Koizumi
4c2d694aa3
Added a bogus copyright notice.
2003-04-25 17:35:06 +00:00
foobar
a64269f0da
Make these tests actually work.
2003-04-25 15:43:28 +00:00
foobar
6bfa5b405f
Fixed bug #23099 (ext/interbase: "libgds.so: undefined reference to crypt")
2003-04-25 08:57:49 +00:00
foobar
93b154fea4
Some AIX version failed to compile if this was redefined.
2003-04-25 08:10:11 +00:00
Sara Golemon
2d558127af
No idea how that character dissapeared.
2003-04-24 22:25:33 +00:00
Sara Golemon
2fc1d2c330
Fix error handling bug I just introduced (php_ftp_fopen_connect == NULL) and add append support to wrapper
2003-04-24 21:21:41 +00:00
Marcus Boerger
8a5ba51ac8
MFB: safe_emalloc()
2003-04-24 20:54:43 +00:00
Sara Golemon
228f65f889
Abtract some ftp connection/negotiation steps out and add support for stream_opendir. This allows things like opendir('ftp://ftp.foo.com/path')
2003-04-24 20:32:14 +00:00
David Hill
cec89b2446
Fix compiler error on null statement in switch
2003-04-24 18:01:26 +00:00
foobar
92096ac753
Fix obvious flaw in this test
2003-04-23 08:54:49 +00:00
Wez Furlong
604a41e244
win32 fixes
2003-04-22 23:24:44 +00:00
Wez Furlong
9d43def392
Fix the extension...
...
# guess which extension I copied this from??
2003-04-22 21:41:46 +00:00
Rasmus Lerdorf
0d248d81a6
MFB: &039; which is a single-quote may also come in as &39;
...
I see no reason not to support both in html_entity_decode()
2003-04-22 20:47:09 +00:00
Wez Furlong
11a96965c9
Add windows .dsp and some kludgy pre-generated headers.
2003-04-22 19:06:31 +00:00
Sara Golemon
cb89565ba4
Feature Request #7121 .
...
Allow overwritting of files via ftp:// wrapper.
Requires context option: $context['ftp']['overwrite'] != 0
2003-04-22 04:13:09 +00:00
Sascha Schumann
c523fc4766
Add vr class
...
Noticed by: Jon Parise
2003-04-22 03:21:29 +00:00
Wez Furlong
71722f28ba
I will use my brain properly next time
2003-04-22 00:21:02 +00:00
Wez Furlong
eb22d78db8
allow sqlite_query() to accept the query string and database resource in
...
either order.
Forgot to bump the package version number displayed by phpinfo()...
Bump to 0.9a
2003-04-22 00:19:48 +00:00
Edin Kadribasic
43349ea014
Added sqlite.assoc_case ini entry with 0 as the default value.
...
0 - Make no changes to the keys in the associative array
1 - Change the keys to uppercase
2 - Change the keys to lowercase
2003-04-22 00:08:48 +00:00
Wez Furlong
04c5e2fc06
Prepare for release.
2003-04-21 20:24:03 +00:00
Moriyoshi Koizumi
f9e805d52b
The feature is less revelant to encoding conversion indeed
2003-04-21 19:07:21 +00:00
Moriyoshi Koizumi
c591d4decd
Reduced leaks in userland filters
2003-04-21 18:43:36 +00:00
Moriyoshi Koizumi
cf620ddfdb
Unified all those redundant printf's
2003-04-21 18:00:41 +00:00
foobar
dd0228d3d8
Fix bug #23198
2003-04-21 17:53:37 +00:00
Stanislav Malyshev
5a904d6ea8
Update to latest inteface change for get_class_name
2003-04-21 17:03:29 +00:00
Wez Furlong
276e721f96
Tidy up package.xml file.
...
Cleaner approach for setting THREADSAFE and NDEBUG for bundled libsqlite.
Tested with: static, shared and shared with separate build roots under a
non-zts build only.
2003-04-20 16:09:16 +00:00
Wez Furlong
8ccae81db2
Eliminate leaks from registering plain or aggregate functions.
...
Also, reduce (probably eliminate) the risk of a segfault when registering a
callback on a persistent connection and later triggering the callback from a
different script.
2003-04-20 15:13:04 +00:00
Wez Furlong
ac33bc48f0
Revise todo
2003-04-20 13:33:46 +00:00
Wez Furlong
d40a615a8e
Implement sqlite_create_function(), which allows binding of php functions by
...
name; this is a higher performance alternative to the generic php() SQL
function. (saves parsing the additional function call in the SQL and a call to
zend_is_callable on each function invocation).
Add test for sqlite_create_function().
Fixup proto for sqlite_create_aggregate().
Tweak package file and speling in header file.
2003-04-20 13:31:36 +00:00
Tal Peer
b0d26a11ac
Remove rendundant function
2003-04-20 13:21:17 +00:00
Tal Peer
2a54c9a308
typo
2003-04-20 13:17:17 +00:00
Tal Peer
a676f6c29d
Update
2003-04-20 13:15:45 +00:00
Wez Furlong
7360c5dfdd
Add test for aggregates
2003-04-20 13:08:40 +00:00
Wez Furlong
4a46882648
Implement sqlite_create_aggregate() which can be used to create aggregation
...
functions for use in SQL statements.
2003-04-20 13:08:22 +00:00
Edin Kadribasic
3f18d16957
Kluge, but it seems to work now in both phpize and bundled builds.
...
Only in there until Wez fixes it for real.
2003-04-20 03:03:28 +00:00
Edin Kadribasic
04d06dac3f
Reinstating these two items due to the fact that current config.m4
...
detection for debug and thread-safe build does not work if sqlite
is built as a standalone extension with phpize.
2003-04-20 01:55:20 +00:00
Edin Kadribasic
a10c8a3e1c
Erm, this works much better :)
2003-04-20 01:25:59 +00:00
Edin Kadribasic
3f95e99afc
Set appropriate flags when compiling bundled lib in thread-safe
...
and debug modes.
2003-04-20 01:22:08 +00:00
Sara Golemon
7c8c09b3cf
Revert change to stream_copy_to_stream()
2003-04-20 01:18:58 +00:00
Marcus Boerger
9e19524c5e
Access the struct directly here
2003-04-19 19:06:52 +00:00
Ilia Alshanetsky
6bc4ce43d0
Do not hardcode php path.
2003-04-19 18:10:54 +00:00
Ilia Alshanetsky
e4c38aec5a
Do not make the test rely on the availability of the cat command.
2003-04-19 17:45:46 +00:00
Sascha Schumann
e4183ae980
Extend print_table_row so that one can specify the CSS class
...
directly. Add "vr" class which aligns the content to the right border.
2003-04-19 17:40:19 +00:00
Marcus Boerger
b99a491e33
Update to new macros
2003-04-19 15:01:22 +00:00
Wez Furlong
e17b8b4b12
More things todo
2003-04-19 13:04:19 +00:00
Wez Furlong
ff0d6adda4
Transparently decode binary encoded data.
...
Add a test-case for that process.
When encoding binary data, we mark the string with \x01 as its first character.
When returning data via sqlite_fetch_array(), if the first character is \x01,
then we decode the encoding. This behaviour can be turned off by the optional
last parameter to sqlite_fetch_array(), for compatibility with databases
created with other applications.
2003-04-19 12:54:17 +00:00
Wez Furlong
de7874e11f
Little fix for people building sqlite as a static extension
2003-04-19 11:47:17 +00:00
Marcus Boerger
5f97e66ba5
Add test for different result representations
2003-04-19 10:36:58 +00:00
Wez Furlong
6640260253
Fix 2 potential segfaults.
2003-04-19 10:28:45 +00:00
Moriyoshi Koizumi
6be2406b63
Made phpinfo() / gd_info() indicate availability of JIS feature
2003-04-19 07:44:16 +00:00
Moriyoshi Koizumi
54096d3f43
Fixed help text alignment
2003-04-19 07:15:38 +00:00
Rui Hirokawa
442798bbe5
fixed compilation problem in php-4.3.2dev.
2003-04-19 07:04:00 +00:00
Moriyoshi Koizumi
1f229c0851
MFBed Rui's patch
2003-04-19 04:33:38 +00:00
Sara Golemon
6dde464ce7
Let stream_copy_to_stream() accept either stream resource or filename/url string. If filename, open the file, do the copy, then close it.
2003-04-19 02:47:16 +00:00
Marcus Boerger
cde6bdce5c
Improve test environment, fix 001.phpt and rename that one, also change from /tmp to dirname(__FILE__)
2003-04-18 20:53:18 +00:00
Marcus Boerger
16e873f864
Add a first simple open/close test
2003-04-18 20:08:01 +00:00
Marcus Boerger
d323659e5f
ZTS fixes
2003-04-18 19:43:38 +00:00
Wez Furlong
ff93259b82
First "real" test.
...
If anyone is motivated to write more tests, please do so.
2003-04-18 19:22:49 +00:00
Wez Furlong
c568087d6e
done: persistent connections
2003-04-18 16:42:28 +00:00
Wez Furlong
8f30d3e545
Implement sqlite_popen(), which opens persistent connections to an sqlite
...
database file. (This saves the cost of sqlite reading/parsing the indices).
Persistent db connections have any pending transactions rolled back at request
shutdown time. (non-persistent connections are automatically rolled back when
they are closed).
Enhance sqlite_query() and sqlite_unbuffered_query() to use the C api
sqlite_exec() when the PHP script does not use the return value. This avoids
the extra work and memory allocation for holding result sets when they are not
needed.
2003-04-18 16:30:16 +00:00
Wez Furlong
d28e06d3b2
Update todo
2003-04-18 12:23:14 +00:00
Wez Furlong
8ed14ff16f
Implement sqlite_unbuffered_query(), which works similarly to the mysql
...
function with a similar name.
Change sqlite_query() to use the same mechanism as the unbuffered query; this
moves the bulk of the memory allocations into the ZE memory manager, and will
hopefully be more efficient and less at risk of leaks.
2003-04-18 12:22:43 +00:00
Ilia Alshanetsky
7f94983ee0
Added missing safe_mode checks.
2003-04-18 00:20:22 +00:00
Sara Golemon
19ef914bb4
Catch up to Moriyoshi's streams megapatch
2003-04-17 23:59:28 +00:00
foobar
1e3e1d5880
CS cleanup + NS protection for some functions (used only in sockets.c btw)
2003-04-17 23:18:58 +00:00
Sara Golemon
f2654df92c
Basic IPv4 and IPv6 loopback tests for ext/sockets
2003-04-17 23:09:17 +00:00
Sara Golemon
d06232a871
Add IPv6 support to ext/sockets
2003-04-17 21:04:47 +00:00
Wez Furlong
0098ae7dc6
Constants for error codes
2003-04-17 20:17:54 +00:00
Wez Furlong
a016cfb10a
Folding markers
2003-04-17 20:09:45 +00:00
Wez Furlong
ec09b1b881
Add two new functions:
...
int sqlite_last_error($db) -- returns error code from last query
string sqlite_error_string(int code) -- returns english description of an error
code.
2003-04-17 20:08:00 +00:00
Wez Furlong
cca9ebddae
Add pecl release version to phpinfo output
2003-04-17 19:13:21 +00:00
Wez Furlong
c38fc9bc27
and one more
2003-04-17 19:02:10 +00:00
Wez Furlong
aeeb56cb2d
Add another todo
2003-04-17 19:01:26 +00:00
Wez Furlong
6a7502076d
Update TODO.
2003-04-17 18:56:34 +00:00
Wez Furlong
3cf1e2c7ed
Add safe_mode and open_basedir checks for the COPY SQL statement.
2003-04-17 18:54:40 +00:00
Wez Furlong
c54eff9f12
Update for new release
2003-04-17 17:31:50 +00:00
Wez Furlong
c53b5743df
WS
2003-04-17 17:15:36 +00:00
Wez Furlong
4d9ca8f135
NULL columns are NULL pointers
2003-04-17 17:09:59 +00:00
Wez Furlong
4eba9b8b46
Implement sqlite_busy_timeout() which sets the retry timeout (in milliseconds)
...
when multiple processes attempt to lock and update the database.
2003-04-17 16:57:46 +00:00
Jay Smith
3fbb4dbdc0
Fix some segfaults in some of the pg_lo_* functions.
2003-04-17 16:54:43 +00:00
Wez Furlong
28128e4154
Segfault fixing!
2003-04-17 16:36:59 +00:00
Wez Furlong
3eb3805d47
Really fix build
2003-04-17 12:49:44 +00:00
Wez Furlong
b09dc0e03a
Hopefully fix build...
2003-04-17 12:38:42 +00:00
Wez Furlong
5594945c76
Add dependency to generate header
2003-04-17 12:12:28 +00:00
Wez Furlong
f56412eace
Update build files
2003-04-17 11:57:29 +00:00
Wez Furlong
c53017d4c3
Remove whitespace added while touching.
2003-04-17 11:44:06 +00:00
Wez Furlong
64d20f54c4
Touch generated files
2003-04-17 11:43:26 +00:00
Wez Furlong
05d5a35c9b
Bundle relevant parts of sqlite 2.8.0.
...
# sqlite has a completely non-restrictive license
2003-04-17 11:27:30 +00:00
Wez Furlong
826583dc91
Nicer error message when an invalid function name is specified.
2003-04-17 03:38:20 +00:00
Wez Furlong
f7dbd9d909
Prep for release.
2003-04-17 03:19:33 +00:00
Wez Furlong
1c3b2a28d1
Update TODO and example.
...
Hide phpize crap from CVS
2003-04-17 03:15:13 +00:00
Wez Furlong
c73e304dc2
Implement a php function so that the following SQL can be used:
...
SELECT php('md5', sql) from sqlite_master
The php function has takes the name of a php function to call as the first
parameter; each additional parameter is passed on to the function, much like
call_user_func().
You can call both built-in and script-defined functions in this way.
2003-04-17 03:14:14 +00:00
foobar
2cd55ce73b
touch
2003-04-17 02:54:23 +00:00
foobar
b319982868
add missing header
2003-04-17 02:53:32 +00:00
foobar
85874549d6
touch
2003-04-17 02:45:10 +00:00
Wez Furlong
5e0b9bb451
Implement sqlite_escape_string() function.
2003-04-17 02:20:26 +00:00
Wez Furlong
2d14d8b520
Implement safe_mode and open_basedir checks.
...
Add package.xml
2003-04-17 01:57:55 +00:00
Wez Furlong
cc5903adb4
Add readme and todo
2003-04-17 01:37:42 +00:00
Wez Furlong
25954d1d72
This commit was generated by cvs2svn to compensate for changes in r123706,
...
which included commits to RCS files with non-trunk default branches.
2003-04-17 01:29:45 +00:00
Moriyoshi Koizumi
0c5548e636
Fixed implicit cast issue with is*() and to*() functions
2003-04-16 21:40:48 +00:00
Moriyoshi Koizumi
0ad2fc2007
Fixed bug #19795
...
# to*() and is*() expect for their arguments an integer in range of 0 - 255
2003-04-16 21:10:29 +00:00
Moriyoshi Koizumi
ccbec3e56c
Fixed typo
2003-04-16 20:00:46 +00:00
Moriyoshi Koizumi
8e15c4daff
compiler warning fix and possible 64bit fix
2003-04-16 19:18:35 +00:00
Moriyoshi Koizumi
ec91e86850
Fixed bug #23080
2003-04-16 17:31:31 +00:00
Moriyoshi Koizumi
2a31fa0569
Fixed memleak
2003-04-16 15:10:01 +00:00
Moriyoshi Koizumi
6dd17c380d
Added missing sanity check
2003-04-16 14:55:25 +00:00
Moriyoshi Koizumi
49b43ad115
Changed stream filter factory to be capable of accepting a zval as a parameter
...
instead of a string
2003-04-16 14:30:25 +00:00
Sascha Schumann
0bda867fe7
Simplify use of this header in external apps
2003-04-16 09:14:32 +00:00
Marcus Boerger
8363658641
Change to use safe_emalloc() and provide macro for now
2003-04-16 06:10:41 +00:00
foobar
b02dd10e03
SKIP -> SKIPIF
2003-04-16 02:21:30 +00:00
Ilia Alshanetsky
7f8bd25fcc
Fixed bug #23225 (money_format() didn't handle erroneous return of strfmon)
...
# Initial patch proposed by marcot@tabini.ca
2003-04-16 01:07:03 +00:00
Ilia Alshanetsky
56e44a4fc2
Fixed bug #22939 (crash in imap_header_info()).
2003-04-16 00:58:30 +00:00
Ilia Alshanetsky
7d2b4cab36
Cleaner error handling.
2003-04-15 01:48:02 +00:00
Ilia Alshanetsky
f1bd3d539f
Fixed bug #23187 (memory leaks in sybase_connect/sybase_pconnect).
...
Intial patch by: fukusaka@xa2.so-net.ne.jp
2003-04-15 00:59:42 +00:00
Marcus Boerger
da540a4d3b
Fixed Bug #23188 CDB databases created with 'c' mode do not work.
2003-04-14 21:50:48 +00:00
Ilia Alshanetsky
3d6fccc08c
Fixed bug #23152 ($http_response_header empty on invalid URLs)
2003-04-14 13:55:34 +00:00
Sara Golemon
9103aac254
Modify str_replace/str_ireplace to report how many needles were matched. (FR #8218 )
2003-04-13 22:59:19 +00:00
Marcus Boerger
268ffda27d
Reenable dba_popen()
2003-04-13 19:50:28 +00:00
Sergey Kartashoff
b296a3bd64
- Udm_Make_Excerpt has been fixed to be compatible with mnogosearch-3.2.10+
2003-04-13 17:52:25 +00:00
Moriyoshi Koizumi
560efa10c0
Forgot about this one :)
2003-04-12 21:56:08 +00:00
Moriyoshi Koizumi
fa0ac8a273
Made dirname() binary-safe.
2003-04-12 21:53:46 +00:00
Sara Golemon
76965beb04
Add tests for strrpos/stripos, and minor fix to maintain BC for condition with empty needles/haystacks
2003-04-12 20:04:06 +00:00
Sara Golemon
0b5c1112c5
Rewrite strrpos and strripos to be binary safe and behave the way their prototype suggests (also like their counterparts strpos and stripos) i.e.: Allow string needles rather than just characters
2003-04-12 07:36:22 +00:00
Derick Rethans
a802e0d6b3
- Fixed protos
2003-04-11 09:53:01 +00:00
Hartmut Holzgraefe
e06fdaae8b
accept possible leaks for now to make SELECTS with both bound parameters
...
and results again ...
2003-04-11 04:41:52 +00:00
Hartmut Holzgraefe
a1ff81d277
proto fix
2003-04-11 04:30:29 +00:00
Hartmut Holzgraefe
2f26d2b693
parameter count for bind stuff is different in OO interface
2003-04-11 04:29:28 +00:00
Sara Golemon
8da5e8e48e
Export constants to userland
2003-04-11 02:55:00 +00:00
Ilia Alshanetsky
4fbd27252d
Fixed integer overflow inside mhash_keygen_s2k().
2003-04-11 02:40:21 +00:00
Christian Stocker
aa09b09e1a
- More TSRMLS stuff.
...
- Fixed memleaks in domxml_doc_add_root, domxml_xslt_stylesheet
and domxml_xslt_stylesheet_doc
- Completed implementation of domxml_doc_imported_node.
2003-04-10 12:45:38 +00:00
Ilia Alshanetsky
8a9ff734a0
Fixed a crash in the query tracer output due to buffer overflow.
...
Fixed a crash in notice message for unbuffered query.
2003-04-10 04:35:39 +00:00
Marcus Boerger
1cdd29eeef
Fix ZTS build and warnings
2003-04-09 19:14:44 +00:00
Rasmus Lerdorf
861679d6c3
MFB: Forgotten _FORM -> _REQUEST change
2003-04-09 17:46:42 +00:00
Derick Rethans
429ae4e821
- Fixed printing the version string if it includes zend extensions in
...
text-mode
2003-04-09 15:19:07 +00:00
Edin Kadribasic
45d27aab68
*** empty log message ***
2003-04-09 12:03:58 +00:00
Christian Stocker
6f9d53e02d
- Fixed some memleaks when using attributes
...
- Added attrnode->set_value()
(by Rob Richards)
2003-04-09 07:29:39 +00:00
Ilia Alshanetsky
7029ef01b3
Added missing bit from gd2.0.12 sync.
2003-04-09 01:55:48 +00:00
Sara Golemon
87c5019dd2
Switch file_put_contents 'bool use_include_path' to 'int flags' to allow other options such as appending
2003-04-08 23:24:53 +00:00
Sara Golemon
41d4fcd0da
Add context support to file_put_contents() and readfile(), convert readfile() to zend_parse_parameters usage, fix proto for file_put_contents()
2003-04-08 22:10:15 +00:00
Sara Golemon
1e853b74a3
Added context support to file()
2003-04-08 21:00:07 +00:00
Christian Stocker
7a14e6358a
fixes memleaks in element->get_elements_by_tagname & document->get_elements_by_tagname
2003-04-08 19:30:27 +00:00
Christian Stocker
b99146a5c7
make it possible to free DomHtmlDocuments as well
2003-04-08 17:22:19 +00:00
Andrei Zmievski
b18542ba68
Remove php_memnstr (it's in ZE now).
2003-04-08 17:15:43 +00:00
Christian Stocker
50f5fcb0fe
make it compile ....
2003-04-08 14:29:15 +00:00
foobar
a45b4258f0
file_set_contents -> file_put_contents
2003-04-08 14:12:52 +00:00
Christian Stocker
2c3dc13027
- Fixes a bunch of memleaks, especially with attributes (by Rob Richards and me)
...
- Added domdocument->free() for freeing documents during script-time
#will later merge to PHP_4_3
2003-04-08 13:19:49 +00:00
Sebastian Bergmann
11f53cd111
Fix Win32 build.
2003-04-08 07:36:58 +00:00
Ilia Alshanetsky
b2e521a178
Fixed bug #23102 (integer overflow in exif_iif_add_value()).
2003-04-08 00:18:57 +00:00
Sara Golemon
8001f2922c
Add context support to file_get_contents
2003-04-08 00:02:47 +00:00
Sara Golemon
70155b6dcf
Introduce support for context options 'method', 'header', 'content'
2003-04-07 21:02:04 +00:00
foobar
c3e90bd6ed
Fixed bug #23071 (when DST in effect, date("T") crashed PHP)
2003-04-06 22:37:45 +00:00
Marcus Boerger
448d361290
Collate version handling and bump up version (noticed by Peter Neuman)
2003-04-05 20:43:53 +00:00
Christian Stocker
5dc852e734
@- Added domxml_doc_create_document_fragment() and
...
@ domxml_document_fragment_open_mem(string) method (Christian)
Useful for adding and parsing (well-balanced) document fragments.
- Bumped up API version number
2003-04-05 19:56:41 +00:00
foobar
78365069f0
Better ifdef it out here too
2003-04-05 17:33:55 +00:00
Sara Golemon
a8711474c0
Debug watches probably don't belong in CVS.
2003-04-05 17:31:34 +00:00
Ilia Alshanetsky
61026e391c
Syncronized bunbled GD library with gd 2.0.12
...
# One very useful feature that I still need to add support for in our
# interface to the lib is the support for png compression for imagepng().
2003-04-05 17:23:55 +00:00
Sascha Schumann
4226fe67d1
dividend -> divisor
...
Submitted by: Jesus M. Castagnetto <jmcastagnetto@yahoo.com>
2003-04-05 11:22:15 +00:00
Brian France
031aef1e0c
Added HAVE_CONFIG_H check so the phpize build method works
2003-04-05 08:14:56 +00:00
Wez Furlong
c64256e671
Warning fix
2003-04-04 21:09:25 +00:00
Sara Golemon
a65564f0fa
User shouldn't have to initialize this pass-by-ref parameter
2003-04-04 20:43:36 +00:00
foobar
cbb98284da
- Fixed bug #22944 (--with-java "make install" fails)
2003-04-04 17:42:46 +00:00
Sterling Hughes
335a1c1a6d
forgot to commit this.
2003-04-04 16:00:33 +00:00
foobar
9fbb5b5327
Check that t1lib has T1_StrError
2003-04-04 15:56:10 +00:00
foobar
392f3c2d7c
- Checks specific to some extension belong in the extension's config.m4
2003-04-04 15:42:54 +00:00
Moriyoshi Koizumi
da4cf6f9d8
Fixed memleak in socket_select
2003-04-04 14:16:59 +00:00
Moriyoshi Koizumi
b78e3c5155
Added cmsghdr check. Now sockets extension can be built under cygwin.
2003-04-04 13:02:43 +00:00
Moriyoshi Koizumi
d1b82409c3
Added missing sanity check, which was causing segfault.
2003-04-04 09:06:23 +00:00
Wez Furlong
0148c0cb02
Simplify and enhance readability.
2003-04-04 08:57:40 +00:00
Sara Golemon
b2d4514580
Added stream_get_transports()
2003-04-04 05:21:03 +00:00
Ilia Alshanetsky
5ec34bcd82
Might as well disallow 0x0 images.
...
Thanks Marcus.
2003-04-04 01:33:57 +00:00
Ilia Alshanetsky
925bc0fd7d
Fix segfault in imagecopyresized().
2003-04-04 00:16:47 +00:00
foobar
74868f3a45
- Better errors for T1lib.
...
- Sanity check into imagepsextendfont().
# Patches by John Coggeshall <john@coggeshall.org>
2003-04-04 00:09:23 +00:00
foobar
2063094acc
Use php_error_docref.
2003-04-03 23:10:08 +00:00
Rasmus Lerdorf
7461f1f45a
MFB
2003-04-03 22:45:25 +00:00
Sascha Schumann
c2e2423838
Fix segfaults in imagecreate/imagecreatetruecolor
2003-04-03 19:18:57 +00:00
Sara Golemon
465bb61357
Kludgy fix for floating point drift causing problems like range(1.0,1.5,0.1) == array(1.0,1.1,1.2,1.3,1.4);
2003-04-03 18:33:05 +00:00
Sascha Schumann
7e7bbb751e
Prevent entering of anything but arrays/strings in register_shutdown_func
...
Noticed by: Jan Schneider
2003-04-03 18:09:41 +00:00
Christian Stocker
630a00dda6
- Added domxml_elem_set_attribute_node() method. (Rob Richards)
2003-04-03 10:21:19 +00:00
Georg Richter
05e02eb27b
fixed mysqli_prepare_result
2003-04-03 08:03:59 +00:00
Georg Richter
130860e709
fixed output
2003-04-03 08:03:12 +00:00
Derick Rethans
6412e65bf9
- CS
2003-04-03 06:21:59 +00:00
foobar
c94eeb9fad
Another CS fix.
...
# Rasmus, at least try keep the style consistent..
2003-04-03 01:16:34 +00:00
foobar
16da825c7c
CS fix
2003-04-03 01:12:47 +00:00
Moriyoshi Koizumi
cb38be1bd2
Fixed segfault in xml_parser_create()
...
# due to too many %s in printf spec
2003-04-03 01:00:45 +00:00
Ilia Alshanetsky
6965f229a6
MFH
2003-04-03 00:55:56 +00:00
Moriyoshi Koizumi
8784a497b8
Fixed segfault in mb_ereg_match()
2003-04-03 00:15:13 +00:00
Moriyoshi Koizumi
8b539ed766
Fixed lots of crashes in mbregex.
...
# most of them were caused by stupid mistakes
2003-04-03 00:01:44 +00:00
Rasmus Lerdorf
1dba0c1ba7
MFB: Check for negative precision
2003-04-02 23:51:52 +00:00
Rasmus Lerdorf
066a68d7fa
MFB: Fix unregister_tick_function crash
2003-04-02 23:11:31 +00:00
Georg Richter
625df86428
fixed expected output
2003-04-02 22:07:27 +00:00
Rasmus Lerdorf
716142c4ea
MFB: Get rid of bogus dtors
2003-04-02 22:07:22 +00:00
Rasmus Lerdorf
1612ffad05
MFB: Fix the setlocale() segfault
2003-04-02 21:33:02 +00:00
Sterling Hughes
bb7c2ddb23
add the ability for curl_multi_info to introspect the handles.
...
# Zend commit doesn't break anything, so I'm committing it. If anyone
# has problems, just speak up. :)
2003-04-02 16:58:52 +00:00
Colin Viebrock
4888473efa
fixes for logo guid functions
2003-04-02 16:51:40 +00:00
Edin Kadribasic
f773cd8fea
Fixed bug #23008
2003-04-02 12:36:03 +00:00
Christian Stocker
19771e0433
Patch for Bug #22774 by Rob Richards
2003-04-02 10:31:33 +00:00
Sara Golemon
c249c67178
New test for userfilters rewrite
2003-04-02 00:41:09 +00:00
Ilia Alshanetsky
aab9718253
Fixed possible integer overflow in str_repeat().
2003-04-02 00:25:45 +00:00
Jay Smith
dcf0c70950
Fix 'timestamp without timezone', too.
2003-04-01 23:56:16 +00:00
Marcus Boerger
ccfcd0d411
Fix 'time with timezone', too
2003-04-01 23:34:11 +00:00
Jay Smith
cff236c4a6
Fixed bug #23009 (pg_select with timestamp)
2003-04-01 23:26:10 +00:00
Rasmus Lerdorf
4b343a0562
MFB
2003-04-01 21:47:21 +00:00
Moriyoshi Koizumi
6301bd9b95
Fixed bogus test
2003-04-01 19:47:33 +00:00
Rasmus Lerdorf
20ea550235
MFB
2003-04-01 19:12:32 +00:00
Moriyoshi Koizumi
b302824171
Added a test case for bug #22538
2003-04-01 19:10:04 +00:00
Moriyoshi Koizumi
2954ea0a01
oops
2003-04-01 18:56:59 +00:00
Moriyoshi Koizumi
1bb22a8bd0
Reverted the last patch; the problem is elsewhere..
2003-04-01 18:56:26 +00:00
Rasmus Lerdorf
423147c194
MFB
2003-04-01 18:50:31 +00:00
Moriyoshi Koizumi
df22d1016f
Fixed crash that occurs due to an abused persistent hashtable.
...
# thanks Sascha again.
2003-04-01 18:44:00 +00:00
Moshe Doron
3c982dea22
oops
2003-04-01 12:54:35 +00:00
Moshe Doron
d8b5687925
revert due the last string.c revert
2003-04-01 12:53:44 +00:00
Moshe Doron
31bd24860c
revert last commit for now
2003-04-01 12:46:01 +00:00
Moriyoshi Koizumi
6eaa47854e
Fixed crash in mb_convert_encoding() that occurs when a void array is
...
passed as the third parameter
2003-04-01 11:49:30 +00:00
Thies C. Arntzen
60214a0338
*** empty log message ***
2003-04-01 11:04:38 +00:00
Sascha Schumann
1879b27fc6
fix VPATH builds
2003-04-01 10:16:12 +00:00
Sascha Schumann
cc39646730
Fix segfault in register_shutdown_function
2003-04-01 10:02:29 +00:00
Sara Golemon
48c947389e
Bug #22962
2003-04-01 06:21:54 +00:00
Sebastian Bergmann
b8e3e0bfe3
Sorry Sterling, but this broke the ZTS build and I'd rather not 'ZTS fix' an April's Fool joke.
2003-04-01 05:30:32 +00:00
Sterling Hughes
53d90d8b9b
Add the landonize() and landonize_url() functions which provide a secure
...
alternative to the sha1() and sha1_file() functions.
2003-04-01 05:01:50 +00:00
Moriyoshi Koizumi
93386a8b09
oops
2003-03-31 23:49:53 +00:00
Moriyoshi Koizumi
e8f13586a7
Fixed test; in ZE2, all the properties used in any methods are populated
...
at compile time.
2003-03-31 22:54:18 +00:00
Moriyoshi Koizumi
383808e9d3
Fixed proto to sync with the documentation
2003-03-31 20:36:46 +00:00
Moriyoshi Koizumi
4932306f94
Rearranged search order for the magic file to avoid further confusions
2003-03-31 19:48:53 +00:00
Moshe Doron
64bd1cdbd6
# make derik happy
2003-03-31 19:01:43 +00:00
Moshe Doron
dc8daad70d
fix for 22904
...
@ now addslashes() do it also on cybase magic mode(moshe).
2003-03-31 18:56:41 +00:00
Wez Furlong
16dae2eba0
Fix const warning
2003-03-31 17:58:29 +00:00
Moshe Doron
5c3a073c07
# unnecessary condition here.
2003-03-31 12:08:31 +00:00
foobar
1d3542a6bc
cleanup
2003-03-31 08:49:19 +00:00
Sascha Schumann
0481896ff7
TS issue, noticed by Sebastian Bergmann
2003-03-31 05:39:25 +00:00
Sascha Schumann
cb3c506639
Ensure that the seed function has been called, even if we are used by
...
another module's request init function.
Noticed by: marcus.boerger@t-online.de
2003-03-31 03:24:18 +00:00
Derick Rethans
07dd6f49ff
- Typo and some whitespace
2003-03-30 22:29:22 +00:00
Derick Rethans
27496361d5
- Added optional parameter to openssl_sign() to specify the hashing
...
algorithm to use. (Patch by Scott <scott@planetscott.ca>)
@- Added optional parameter to openssl_sign() to specify the hashing
@ algorithm to use. (scott@planetscott.ca , Derick)
2003-03-30 22:25:23 +00:00
Ilia Alshanetsky
feba44546c
Fixed bug #22965 (Crash in gd lib's ImageFillToBorder()).
2003-03-30 20:48:05 +00:00
Georg Richter
e3bf2f5c9c
changed constant name
2003-03-30 15:28:21 +00:00
Georg Richter
7ff2c00be8
changed macro
2003-03-30 13:51:06 +00:00
Sebastian Bergmann
38491e487f
--+_
2003-03-30 09:24:40 +00:00
Moriyoshi Koizumi
47e40e1b98
Improved var_dump() and debug_zval_dump() so they also show the
...
namespace of the given object.
2003-03-29 21:29:22 +00:00
Moriyoshi Koizumi
9e6fdcd8f6
Fixed test cases so they wouldn't be failed in case register_globals=on
2003-03-29 07:13:47 +00:00
Ilia Alshanetsky
0e73275429
CS
2003-03-28 14:31:31 +00:00
David Hill
60a7aef6e9
Changing parsedate to be reentrant using pure_parser (Dave)
2003-03-28 13:10:52 +00:00
Moriyoshi Koizumi
8bdef0dda5
Removed redundant aliases & CS fix.
2003-03-28 03:38:13 +00:00
Harald Radi
f629da9384
MFB ext/com
...
fix #22899
invoke is called twice
2003-03-27 19:56:59 +00:00
Ilia Alshanetsky
3db5278dcc
CS
2003-03-27 18:57:53 +00:00
David Hill
86569cb154
Backing out part of TZ change
2003-03-27 14:23:48 +00:00
Edin Kadribasic
688c24bcaa
MFB
2003-03-27 13:30:40 +00:00
David Hill
1fa7504fae
Changing TZ to match Unix98 standard to make Tru64 happy
2003-03-26 16:42:03 +00:00
Sebastian Bergmann
3fc852824f
Eliminate TSRMLS_FETCH() calls in destroy_op_array() and zend_get_class_entry().
2003-03-26 07:44:11 +00:00
Sebastian Bergmann
a9b479612f
Eliminate TSRMLS_FETCH() call in php_find_gd_font().
2003-03-26 06:30:45 +00:00
Edin Kadribasic
d52937b8e7
MFB: php_gd.dll is no longer bult and the bundled library is always used.
2003-03-25 10:30:58 +00:00
Sebastian Bergmann
5ca078779a
Eliminate some TSRMLS_FETCH() calls. Tested with Win32 build of SAPI/CGI and SAPI/CLI on Win32.
2003-03-25 08:07:13 +00:00
Edin Kadribasic
96e9337fc8
MFB
2003-03-24 21:49:46 +00:00
Moriyoshi Koizumi
570e929d49
Fixed bug #22834 (compile failure due to ugly implicit casts)
2003-03-24 21:22:23 +00:00
Moriyoshi Koizumi
03a5129429
oops...
2003-03-24 19:24:35 +00:00
Moriyoshi Koizumi
68b03bde3a
Added test cases for new functionality
2003-03-24 19:21:20 +00:00
Moriyoshi Koizumi
93b250f923
Added koi8-r, cp866, and cp1251 support for htmlentities
2003-03-24 19:13:02 +00:00
Ilia Alshanetsky
5c159052bf
Added missing header that prevents successful compilation.
2003-03-24 15:21:53 +00:00
foobar
0b4784d951
Fixed bug #18640 properly
2003-03-24 10:18:00 +00:00
Georg Richter
e43e219e46
changed method name
2003-03-24 07:43:28 +00:00
Alex Waugh
d403ed4bc3
Fix linkage of symbols.
2003-03-23 21:58:03 +00:00
Shane Caraveo
456b6cbeab
The environment should *never* be magic quoted.
2003-03-23 19:30:31 +00:00
Wez Furlong
badd5fb6fd
Fix curl detection when multiple installations exist
2003-03-23 18:14:41 +00:00
Moriyoshi Koizumi
9c038be621
Added some compiler check
2003-03-23 01:44:58 +00:00
Moriyoshi Koizumi
0d2bd85a61
Fixed win32 build, which fails with non-SBCS-compatible locale settings.
2003-03-22 23:31:52 +00:00
Sterling Hughes
0a4282eabf
fix segfault in file_set_contents() when the file could not successfully
...
be opened.
2003-03-21 22:22:15 +00:00
Marcus Boerger
f83c88e81d
Add missing initialization
2003-03-21 18:08:59 +00:00
Sterling Hughes
ecef1df39c
This broke the xml extension, and pres2, commented out for now
2003-03-21 05:26:56 +00:00
Marcus Boerger
49adbd1ef6
missing TSRMLS_FETCH
2003-03-20 20:03:21 +00:00
Marcus Boerger
f14a65c7b9
CS
2003-03-20 19:54:22 +00:00
Christian Stocker
0cc4b081a3
fix for bug #22786 ("Crash when trying to call DomAttribute's set_namespace method")
2003-03-20 09:48:19 +00:00
foobar
6638543a72
WS & CS fixes..
2003-03-20 01:27:40 +00:00
foobar
c8791084db
CS fix
2003-03-20 01:17:05 +00:00
foobar
0af32bc1ac
WS & CS fixes
2003-03-20 01:12:57 +00:00
foobar
fb2c346be1
WS & CS fixes
2003-03-20 00:37:12 +00:00
foobar
eccecff5f9
WS & CS fixes
2003-03-20 00:22:57 +00:00
foobar
6a6e0151c5
Better config.m4..
2003-03-19 23:52:45 +00:00
foobar
9ff622f268
And this too..
2003-03-19 23:10:27 +00:00
foobar
efe365abdc
Andrei forgot this..
2003-03-19 23:08:58 +00:00
Wez Furlong
0fd995f9fc
Add the mode string that was used to open the stream to the meta data,
...
as requested by Philip Olson.
2003-03-18 23:45:27 +00:00
Wez Furlong
86fb577d59
Implement persistent plain file streams.
...
Usage:
php_stream *stream = php_stream_fopen("/path/to/file", "r+b", NULL,
STREAM_OPEN_PERSISTENT | ENFORCE_SAFE_MODE | REPORT_ERRORS);
the filename and mode are combined to form the hash key for the persistent
list; they must be identical for this same stream to be returned again in the
next request.
Calling php_stream_close() on a persistent stream *will* close it, as is
usual with all persistent resources in PHP/ZE.
This is deliberately *not* exposed to user-space PHP at this time.
2003-03-18 23:37:54 +00:00
Jay Smith
c0d1508ec8
get_browser() needs to use zend_is_auto_global() on _SERVER.
2003-03-18 21:49:01 +00:00
Marcus Boerger
3e621fac94
make phpinfo() depend on executed sapi
2003-03-18 20:52:52 +00:00
Ilia Alshanetsky
d29d55e772
Cleanup.
2003-03-18 18:29:10 +00:00
foobar
d0ac3d0646
Fixed bug #22765
2003-03-18 17:30:32 +00:00
Wez Furlong
ce01fd9526
Avoid using FILE* where possible.
...
Tidy up handling of potential error situations for the php:// wrapper.
2003-03-18 16:40:29 +00:00
Wez Furlong
267db80b21
avoid unsigned issues.
2003-03-18 15:15:10 +00:00
Wez Furlong
862586e376
CS fixes
2003-03-18 14:35:15 +00:00
Stig Bakken
0e6fca4f22
* email address change
2003-03-18 12:06:09 +00:00
foobar
980bac69f9
Fixed bug #22751 (Compile error in gdcache when external libgd is used)
2003-03-18 02:13:49 +00:00
foobar
6443ce1fc5
Fix the bad logic..
2003-03-17 15:56:17 +00:00
foobar
b4b661ae0a
WS & CS fixes
2003-03-17 15:06:11 +00:00
foobar
d8a62b8e4d
WS & CS fixes
2003-03-17 14:45:07 +00:00
Hartmut Holzgraefe
3343327ea1
fixing my proto fix :|
2003-03-17 13:50:27 +00:00
Hartmut Holzgraefe
dbe4f2238c
proto fixes
2003-03-17 13:11:19 +00:00
Hartmut Holzgraefe
fa692f6744
proto fix
2003-03-17 13:08:59 +00:00
Hartmut Holzgraefe
212abb4996
proto fix
2003-03-17 13:00:13 +00:00
Hartmut Holzgraefe
6f24340f22
more proto fixes
2003-03-17 12:48:38 +00:00
Sascha Schumann
d0debaf45c
Merge macro changes
2003-03-16 23:02:19 +00:00
foobar
fcb43b70ef
WS & CS fixes + some TSRM_FETCH() removals + pval -> zval
2003-03-16 05:00:50 +00:00
foobar
d4a72592a4
- Fixed bug #22709 (crash within interbase when database unavailable)
2003-03-16 00:37:01 +00:00
Hartmut Holzgraefe
e6633a9611
lots of proto stuff
2003-03-15 22:51:49 +00:00
Wez Furlong
b66957c56a
fix proto
2003-03-15 13:29:35 +00:00
Jay Smith
830b14297f
@- Fixed bug #22386 (Using browscap causes segfault). This fix
...
@ also adds an optional bool argument to get_browser() that
@ makes the return value an array instead of an object. (jay)
2003-03-14 17:54:38 +00:00
foobar
4a244a3889
No c++ comments
2003-03-14 17:49:44 +00:00
foobar
b07507f086
No c++ comments!
2003-03-14 17:37:44 +00:00
Ilia Alshanetsky
199ae10f01
Whitespace fixes.
2003-03-14 16:56:38 +00:00
Daniela Mariaschi
1afc5a59fe
reverting to version 1.9
2003-03-14 08:27:29 +00:00
Alan Knowles
84aa3953e6
remove makefile and libs.mk from package file
2003-03-14 02:13:42 +00:00
Alan Knowles
b45ce67f95
removing files not needed so diff -u works nicely
2003-03-14 02:11:54 +00:00
Alan Knowles
65a71f4331
fix package file - note the package is called ext_soap - I suspect it will conflict with SOAP if downloaded - anyone want to comment on ideas for this...
2003-03-14 02:10:23 +00:00
Alan Knowles
0e2f675c87
fixes to enable module building
2003-03-14 02:08:30 +00:00
Alan Knowles
bd69062b14
add support for shared library building - shout stop alan - if any objections..
2003-03-14 01:58:21 +00:00
Daniela Mariaschi
ceb608fcb2
Test for libgds needs libcrypt with Firebird to succeed
2003-03-13 23:15:43 +00:00
Daniela Mariaschi
08267e4a55
Numeric/decimal datatype overflow on Win32.
...
Fixed bug #20641
2003-03-13 21:58:29 +00:00
Derick Rethans
bce69f1218
- Whitespace
2003-03-13 21:09:27 +00:00
Jay Smith
39ec83bb5f
Solaris knows nothing of "Europe/Amsterdam". Use "US/Eastern" instead.
2003-03-13 18:51:39 +00:00
Ilia Alshanetsky
cf072c4a75
Fixed bug #22681 (Crash when reading from invalid file pointer).
2003-03-13 18:15:31 +00:00
foobar
ce4bf275c9
Prevent using both --with-sybase and --with-sybase-ct in same build
2003-03-13 17:27:28 +00:00
Sara Golemon
cbf8c3e346
Bug #21534 . Silly typo.
2003-03-13 16:10:21 +00:00
Ilia Alshanetsky
d6a02110b0
Cleanup.
2003-03-13 02:22:31 +00:00
Sterling Hughes
39b8f06f9b
@ Add the file_set_contents() function, as a complement to the file_get_contents()
...
@ function. (Sterling)
2003-03-12 06:47:34 +00:00
Ilia Alshanetsky
68e36864c9
Fixed spprintf() usage.
...
Fixed compiler warnings.
2003-03-12 04:46:03 +00:00
foobar
bf90cdeff9
Added the type constants for imagegd2()
2003-03-12 04:29:51 +00:00
foobar
2fee56b2a2
Fix bug #22646
2003-03-12 04:15:28 +00:00
Ilia Alshanetsky
88281627bc
Style fixes.
2003-03-12 00:51:03 +00:00
foobar
9e501d4f37
- Fixed bug #20715 (odbc could not be compiled as shared extension)
2003-03-11 03:11:36 +00:00
Sascha Schumann
65b9a40640
fix sizeof(size_t) > sizeof(uint) issue
2003-03-11 02:28:46 +00:00
foobar
98b19bbe7e
Fixed bug #22616 (Wrong order of -lssl and -lcrypto with IMAP)
2003-03-11 02:11:57 +00:00
Sascha Schumann
dfb0d70b5b
reverting jani's non-sense commits
2003-03-11 01:47:06 +00:00
Georg Richter
efde6643d4
added new profiler-files
2003-03-11 01:22:20 +00:00
Georg Richter
7cf921a56f
profiler:
...
moved profiler stuff from php_mysql.h to separate include file
added port communication
added xml support for file and port output
2003-03-11 01:19:21 +00:00
foobar
febb535db0
touch
2003-03-10 22:59:46 +00:00
foobar
7a1ecedf85
64bit issue fixed
2003-03-10 22:59:34 +00:00
Moriyoshi Koizumi
a41e0c1382
Modified the test to reflect the recent change on var_dump()
2003-03-10 20:46:39 +00:00
David Hill
a7b84ac7cb
Correcting int/long mismatched - 64bit issues.
2003-03-10 20:30:33 +00:00
Ilia Alshanetsky
822b53b95a
Fixed bug #22613 (imagettfbox() does not add the kerning distance to the
...
running position).
Fixed few possible memory leaks.
2003-03-10 19:07:22 +00:00
David Hill
4f8ae7b111
fixing missed int to long with zend_parse_parameters
2003-03-10 15:52:10 +00:00
Andrei Zmievski
b1546a1775
Print the object handle (it's useful).
2003-03-10 15:13:32 +00:00
David Hill
1edf7f55e5
64 bit corrections to parameters to OnUpdateInt Bug #20994 (Dave)
2003-03-10 14:50:16 +00:00
foobar
a7d8bc6894
cs & ws fixes
2003-03-10 02:14:09 +00:00
Sara Golemon
c4a491e12c
Adjustment to user filters reimplementation. Make a bucket an object containing a resource(the real bucket) and a data element for direct operations. Simplifies
...
user interface and reduces number of function calls/reallocs needed.
2003-03-09 23:12:31 +00:00
Derick Rethans
0d603b2d9a
- Fix proto
2003-03-09 00:05:48 +00:00
Georg Richter
15f648c8f9
various changes for profiler
2003-03-08 23:33:12 +00:00
Derick Rethans
1b9ee1a8ea
- Fixed a bug in GD's truecolor TTF handling
2003-03-08 18:27:12 +00:00
Stefan Esser
1f54605723
wrong place.
2003-03-08 14:51:16 +00:00
Stefan Esser
76c427fd05
fixing memory leak
2003-03-08 14:37:01 +00:00
Ilia Alshanetsky
20c2c39f3c
Fixed bug #22585 (Do not terminate the script on minor errors).
2003-03-07 14:03:53 +00:00
foobar
3c9155e0cb
Renamed OnUpdateInt -> OnUpdateLong to prevent further misunderstandings.
...
# Intentionally left out any 'alias' for it, this way 3rd party extension
# maintainers will really NOTICE the change.
2003-03-07 05:15:28 +00:00
foobar
e32eaf29de
Fixed typo caught by Dave.
2003-03-07 04:32:36 +00:00
foobar
1b38773eef
WS & CS fixes
2003-03-07 01:03:04 +00:00
foobar
2da432cc19
WS & CS fixes
2003-03-07 00:52:04 +00:00
foobar
8d6c858aba
WS & CS fixes
2003-03-07 00:40:54 +00:00
David Hill
5c90216d2c
64-bit correction to variables passed to zend_parse_parameters
...
@64-bit correction to variables passed to zend_parse_parameters (Dave)
2003-03-06 23:07:28 +00:00
Stefan Esser
af4aa97d1e
Fixing functionicalls with variable number of parameters...
2003-03-06 20:31:20 +00:00
Moriyoshi Koizumi
9bdc86973b
Fixed a small leak in the convert filter code
2003-03-05 17:51:33 +00:00
Ilia Alshanetsky
4f4f0a9771
Added test case for bug #22544 .
2003-03-05 16:19:08 +00:00
Ilia Alshanetsky
d31fa3da61
Better identification of bundled GD library.
2003-03-05 16:08:01 +00:00
Ilia Alshanetsky
fd088722a7
Fixed bug #22544 (missing fix from official gd).
2003-03-05 15:57:28 +00:00
Wez Furlong
b68739f7f9
- Remove legacy non-streams code (as discussed with Brad).
...
- Make get_http_header_value() work using case-insensitive compares
for the header names, as per relevant RFC's.
- General performance boost for get_http_headers().
- Fix a crash bug when a malformed URL is passed to the soap client.
- Implement https:// support in the the soap client. (does not verify
the remote server certificate; it provides an encrypted link only).
- Provide a hook for libxml to parse files using any registered PHP
wrapper, including https://, ftps:// and any user-space streams.
2003-03-05 14:23:56 +00:00
Corne' Cornelius
5ab857c8b9
- Reverted emalloc(),efree() changed for persistant connection resources
2003-03-05 13:17:00 +00:00
Corne' Cornelius
e25dabc747
- Changed malloc() and free() to emalloc() and efree()
2003-03-05 09:38:00 +00:00
Moriyoshi Koizumi
d2eb897739
Added missing phpinfo entry (Russian support)
2003-03-05 06:16:22 +00:00
Marcus Boerger
f5a7a1c094
Use stream locking support
...
# needs more testing
2003-03-04 23:45:48 +00:00
Wez Furlong
8e5aaa0e7c
Miscellaneous compilation warning, coding standards, build related,
...
memory leak and segfault related fixes.
The simple soap client/server code examples now run without leaking or
segfaulting.
2003-03-04 23:01:24 +00:00
Marcus Boerger
cf7101d354
Support all possible configurations and simplify includes
2003-03-04 20:31:42 +00:00
Marcus Boerger
238abf8c7f
fix dba by fixing key_len retrieval
2003-03-04 19:56:35 +00:00
foobar
5546f1e259
typofix
2003-03-04 18:59:16 +00:00
Moriyoshi Koizumi
aa40a02de8
64bit long fix
2003-03-04 17:18:40 +00:00
Moriyoshi Koizumi
3940c673e3
64bit long fix: patch by Dave Hill
2003-03-04 17:10:29 +00:00
Ilia Alshanetsky
c5053e0f62
Fixed bug #22437 .
2003-03-04 16:34:52 +00:00
Ilia Alshanetsky
53530765ff
Added support for http redirects to ftp.
...
Fixed bug #22508 (Added protection against circular HTML redirects).
2003-03-04 16:04:05 +00:00
Ilia Alshanetsky
b162e18a29
Skip test if running under safe-mode.
2003-03-04 14:37:38 +00:00
Christian Stocker
6804378398
MFB (make it really W3C compatible (unlink node, when in tree...))
2003-03-04 13:38:38 +00:00
Edin Kadribasic
d1feae01d9
Credits update.
2003-03-04 00:10:11 +00:00
Georg Richter
338ec7b859
fixed bug in macro-definition
2003-03-03 22:50:56 +00:00
Georg Richter
359d21aa54
disabled output of errormessages
2003-03-03 22:50:34 +00:00
Georg Richter
281960ee78
added profiler support
2003-03-03 22:36:47 +00:00
Edin Kadribasic
6c20fa725e
MFB: Enabled mcrypt_generic_deinit() on windows ( #22520 )
2003-03-03 21:25:25 +00:00
foobar
826d9ace59
typofix
2003-03-02 18:52:29 +00:00
foobar
6290b1c2cb
Special case for MacosX..
2003-03-02 18:50:45 +00:00
foobar
96f6d1fdbd
Fixed bug #22485 (hardcoded shared lib extensions)
2003-03-02 18:47:35 +00:00
Zeev Suraski
622da33231
- Optimize $_REQUEST
...
- Fix phpinfo()
2003-03-02 13:35:01 +00:00
Wez Furlong
6fed2e95b2
Fix build for activescript sapi
2003-03-02 13:09:48 +00:00
Zeev Suraski
4e55747a2b
Add JIT initialization for _SERVER and _ENV
...
(it's less important for the others, even though it should be fairly
easy now too)
2003-03-02 10:19:15 +00:00
Moriyoshi Koizumi
da0d5a11ed
Fixed my silly mistake in the filter code
2003-03-02 08:39:01 +00:00
Wez Furlong
c6e40696e1
Fix two crash bugs when optional parameters are not specified.
...
Fix folding markers.
2003-03-01 15:40:06 +00:00
Pierre Joye
31509f124f
update credits (ilia,myself)
2003-03-01 01:28:10 +00:00
Wez Furlong
558db0d87a
Expose php_stream_copy_to_stream as stream_copy_to_stream(); a high
...
performance alternative to looping reads and writes.
2003-03-01 01:27:50 +00:00
Wez Furlong
349ce76f96
Tidy up stupid signed/unsigned issues with win32 by introducing a php_socket_t typedef.
2003-02-28 21:03:36 +00:00
Wez Furlong
68c1294462
Add this file...
2003-02-28 20:06:05 +00:00
Wez Furlong
1b53a2d12e
New user-space functions:
...
. stream_socket_client() - similar to fsockopen(), but more powerful.
. stream_socket_server() - Creates a server socket.
. stream_socket_accept() - Accept a client connection.
. stream_socket_get_name() - Get local or remote name of socket.
Tidy up some leaks and debug printfs.
Move more streams functions into streamsfuncs.c and streamsfuncs.h.
2003-02-28 19:53:21 +00:00
Ilia Alshanetsky
14bf872003
Fixed compiler warnings.
2003-02-28 17:26:28 +00:00
Hartmut Holzgraefe
050e86fde4
it is still to early in the morning for coding :(
2003-02-28 07:57:00 +00:00
Hartmut Holzgraefe
80d267e271
make sure that GNU extensions exist for fnmatch()
2003-02-28 07:52:23 +00:00
foobar
535a73a71e
- Fixed bug #22312 (crash on failed connection when curl_getinfo() was called).
...
(Phil Oleson <poleson@verio.net>)
2003-02-28 07:34:45 +00:00
foobar
08b5f6b2b9
- No need to include the ssl headers elsewhere but in ext/openssl
...
# ext/ftp doesn't use streams yet so it needs to include them.
2003-02-28 07:25:15 +00:00
foobar
282512abea
YAZ 2.0 or later is required now.
2003-02-28 07:17:47 +00:00
foobar
95d756f467
ws & CS
2003-02-28 06:33:04 +00:00
Ilia Alshanetsky
912bef379d
Fixed compiler warning.
2003-02-27 23:53:55 +00:00
Ilia Alshanetsky
57eabeea29
fixed compiler warnings.
2003-02-27 23:50:55 +00:00
Wez Furlong
0cec0bd8a9
streams.c -> streamsfuncs.c
...
# argh!
2003-02-27 22:48:13 +00:00
Wez Furlong
493ef36299
Update win32 build.
...
Since msvc sucks, I had to rename ext/standard/streams.c to ext/standed/streamsfuncs.c
2003-02-27 22:43:51 +00:00
Wez Furlong
5def83df0b
Move streams specific stuff from ext/standard/file.c -> ext/standard/streams.c
...
Move win32 select implementation into win32/.
Will update win32 build in a moment.
2003-02-27 22:23:39 +00:00
Ilia Alshanetsky
ea1f34e892
Fixed a bug that would cause filetype() to return "unknown" for
...
non-existent files on Win32.
2003-02-27 20:38:00 +00:00
Wez Furlong
cfd8150b30
Add a generic meta data api for streams.
2003-02-27 19:10:24 +00:00
Wez Furlong
76ebaa6ee7
- Move https:// and ftps:// wrapper registration into the openssl module.
...
- Expose the http:// and ftp:// wrappers as PHPAPI
- Remove unused variables
2003-02-27 18:16:35 +00:00
Wez Furlong
fd61f69077
Another big commit (tm).
...
Main Changes:
- Implement a socket transport layer for use by all code that needs to open
some kind of "special" socket for network or IPC.
- Extensions can register (and override) transports.
- Implement ftruncate() on streams via the ioctl-alike option interface.
- Implement mmap() on streams via the ioctl-alike option interface.
- Implement generic crypto API via the ioctl-alike option interface.
(currently only supports OpenSSL, but could support other SSL toolkits,
and other crypto transport protocols).
Impact:
- tcp sockets can be overloaded by the openssl capable sockets at runtime,
removing the link-time requirement for ssl:// and https:// sockets and
streams.
- checking stream types using PHP_STREAM_IS_SOCKET is deprecated, since
there are now a range of possible socket-type streams.
Working towards:
- socket servers using the new transport layer
- mmap support under win32
- Cleaner code.
# I will be updating the win32 build to add the new files shortly
# after this commit.
2003-02-27 17:43:38 +00:00
Ilia Alshanetsky
560e33968d
Fixed bug #21410 (fixed handling of NULL or "" files on Win32)
2003-02-27 16:41:23 +00:00
Hartmut Holzgraefe
52ca521b40
changed from strncpy to strlcpy on request
2003-02-27 10:21:32 +00:00
Corne' Cornelius
5e09029ba7
- Changed maxmsglen in ifx_errormsg() back to normal 255 instead of 10
2003-02-27 08:59:16 +00:00
Corne' Cornelius
8a7822cf24
- Fixed possible Segfault in ifx_errormsg() using malloc() instead of emalloc()
2003-02-27 08:56:15 +00:00
Pierre Joye
972c04e50b
add imagesavealpha wrapper (Jukka Holappa <jukkaho@mail.student.oulu.fi>,
...
2 Pierre-Alain Joye)
2003-02-26 23:22:09 +00:00
Pierre Joye
fbd867184c
add imagesavealpha wrapper (Jukka Holappa <jukkaho@mail.student.oulu.fi>,
...
Pierre-Alain Joye)
2003-02-26 23:21:44 +00:00
Ilia Alshanetsky
695ae92c97
1) Make the output of system() binary safe
...
2) Solved a memory leak when the return_value variable passed by reference is
not an integer in system()/exec()/passthru().
3) Solved a bug in exec(), which would make it append to the 2nd parameter
(passed by reference) if the parameter is an array instead of overwriting it.
4) Changed the code to use the streams code, resulting in a smaller code base.
5) Various cleanups resulting in reduction of overall code base inside the file
by ~ 1/3.
6) Speed improvements of ~2.5 times compared to previous performance (based on
attached PHP script).
2003-02-26 22:11:12 +00:00
Marcus Boerger
d737741329
allow keys as array(group, name) for handler inifile
2003-02-26 22:07:50 +00:00
Marcus Boerger
ce04e8a91a
ws
2003-02-26 22:05:32 +00:00
Marcus Boerger
cdcb86a4da
make it faster
2003-02-26 22:03:55 +00:00
Marcus Boerger
6fd9c32346
if skip param of dba_fetch is -1 stop do not restart search after last element
2003-02-26 22:03:00 +00:00
Derick Rethans
424c41a72e
- Added an extra ini setting with which extra commands can be forced to
...
the sendmail deamon on a per-vhost base. The value in this ini setting
will override all extra commands passed as the 5th parameter to mail()
and will work in Safe Mode.
@- Added an extra ini setting (mail_force_extra_paramaters) which forces
@ the addition of the specified parameters to be passed as extra
@ parameters to the sendmail binary. These parameters will always replace
@ the value of the 5th parameter to mail(), even in safe mode. (Derick)
2003-02-26 20:04:16 +00:00
Derick Rethans
17acc55ad0
- Fix proto
2003-02-26 19:34:16 +00:00
Derick Rethans
bc11c47ce6
- Whitespace
2003-02-26 19:25:24 +00:00
Hartmut Holzgraefe
499a97a9b2
changed to emalloc just to be safe
2003-02-26 16:06:07 +00:00
Brad LaFountain
2c1b3b74b2
changes in the past shouldn't have compiled.
2003-02-26 03:04:00 +00:00
Ilia Alshanetsky
aee0c18bde
Made shell_exec() use streams, this simplifies the code and in some cases
...
makes it a little faster too.
2003-02-25 23:52:34 +00:00
Ilia Alshanetsky
bce8bfdae4
MFH (forgot to put this fix into the 5.X tree).
2003-02-25 23:39:57 +00:00
Moriyoshi Koizumi
991da29849
Set fgetss() free from the length parameter
2003-02-25 20:12:18 +00:00
Ilia Alshanetsky
503e49feae
Fixed test.
2003-02-25 16:27:51 +00:00
Ilia Alshanetsky
f29964e2ba
Fixed bug #22414 and added a test case for it.
2003-02-25 16:21:00 +00:00
foobar
400f466040
Cleanup
2003-02-25 11:48:50 +00:00
Adam Dickmeiss
79a3618b36
Tabify
2003-02-25 08:34:33 +00:00
Adam Dickmeiss
45214b2340
yaz_search supports query type cql
2003-02-25 08:31:53 +00:00
foobar
afc69728a8
(hope) fix some win32 build errors
2003-02-25 07:19:44 +00:00
Corne' Cornelius
086b317448
- Added Corne' Cornelius to CREDITS/Authors
2003-02-25 06:59:15 +00:00
Corne' Cornelius
9f48874675
- Changed IFX_VERSION to work with Major versions with more then one digit
2003-02-25 05:33:28 +00:00
foobar
14f98fca45
fix bug #22324 , libjdbcoci8.so is not necessarily needed..
2003-02-25 04:36:54 +00:00
Ilia Alshanetsky
e8823a205a
Fixed bug #22402 (opening of ftp for read/write could fail due to invalid
...
return code handling).
Solution suggested by jan@jancm.org
2003-02-25 04:20:22 +00:00
Ilia Alshanetsky
348200b54d
Fixed a crash in gdImageCopyMergeGray().
2003-02-25 03:49:26 +00:00
Stig Bakken
d4dff9e92a
* add new ZE2 tokens
2003-02-25 02:08:49 +00:00
Ilia Alshanetsky
862634ffa5
Added locking to streams.
...
Allow PHP to automatically release locks on files when terminating the
stream.
Fixed bugs in the handling of the 3rd optional parameter to flock().
2003-02-25 01:39:06 +00:00
Moriyoshi Koizumi
14db9ea88d
Fixed string.strip_tags filter so it reflects the change on php_strip_tags
2003-02-24 22:41:55 +00:00
Moriyoshi Koizumi
b44b0b80e0
Made fgetss() binary safe too
2003-02-24 22:39:47 +00:00
Moriyoshi Koizumi
8f341f6a19
Fixed possible buffer overflow of php_strip_tags
2003-02-24 22:19:36 +00:00
Moriyoshi Koizumi
385a809694
Made strip_tags() binary safe
2003-02-24 22:01:12 +00:00
Sara Golemon
85a5ef3ec9
Initial re-implementation of userfilters after filterchain redesign by wez. More userspace API to come.
2003-02-24 21:56:19 +00:00
Wez Furlong
088e2692c3
MFB: Bunch of streams related fixes.
2003-02-24 21:40:23 +00:00
Ilia Alshanetsky
4474f9225a
Fixed bug #22355 (PHP would remove folding from Subject & To fields).
2003-02-24 19:41:18 +00:00
Moriyoshi Koizumi
93b6d05bb8
Forgot to fix this part
2003-02-24 16:54:21 +00:00
Moriyoshi Koizumi
f73f94f258
Fixed a signed / unsigned issue.
...
# imagine the case like "\\\xfe" where walk[1] takes a value that is greater
# than 127 in integer...
2003-02-24 16:29:00 +00:00
Moriyoshi Koizumi
171fd93840
Style fix
2003-02-24 16:13:13 +00:00
Hartmut Holzgraefe
cfb377ce33
"key" has to be zero-delimited
2003-02-24 13:35:07 +00:00
foobar
cf72bfbae1
no c++ comments
2003-02-24 08:27:24 +00:00
Corne' Cornelius
7afe50fc5c
(PHP ifx_errormsg) Fixed Informix bug where ifx_errormsg() would Segfault
...
on an unopened connecection and with an errorcode supplied
2003-02-24 06:34:37 +00:00
foobar
6ed8720fa2
fix compile warning
2003-02-24 03:27:00 +00:00
Ilia Alshanetsky
a3cb589b71
Fixed bug #22382 (fgetcsv did not handle \" correctly).
2003-02-24 03:13:25 +00:00
foobar
c87c4c7bd7
Extra paranoia checks if dn_skipname/dn_expand exist or not
2003-02-24 00:09:18 +00:00
foobar
de54cd0a08
Fix for bug #22353
2003-02-23 08:14:25 +00:00
Marcus Boerger
fbe7e1d977
Dropped optimization
...
# It is impossible to combine skip=-1 searches with firstkey/nextkey results
2003-02-22 23:47:09 +00:00
Marcus Boerger
c0e9bd0830
INI files are case insensitive
2003-02-22 20:49:07 +00:00
Ilia Alshanetsky
8908faa47f
Revent previous patch, adding of file_write_content() was premature.
2003-02-22 20:35:22 +00:00
Ilia Alshanetsky
d2e2fbcc5b
int/long change.
2003-02-22 20:33:11 +00:00
Marcus Boerger
fef5b7c3a1
Remove testcode
2003-02-22 17:37:27 +00:00
Marcus Boerger
8ab1924ca3
@Added dba handler inifiles to support ini files. (Marcus)
2003-02-22 17:20:06 +00:00
Andrey Hristov
8c2dbd5f0f
additional speedup for array_shift(). No need to rehash if the removed element's
...
key is not scalar and elements with scalar keys are already well numbered
(sequentially from 0) for some reason. This is the case if the leading
elements have no scalar indexes.
2003-02-22 13:55:11 +00:00
Andrey Hristov
94040a28ce
rehash only in case something is changed.
...
#lowers the execution time in half on my machine on array with 1000 elements
#with nonscalar keys. Maybe it can be optimized further.
2003-02-22 10:54:26 +00:00
Georg Richter
0133377fba
removed some comments
2003-02-22 07:47:46 +00:00
Georg Richter
b63fbf2763
Fixed bug with stmt_close (libmysql bk version 1.1477 required)
...
Fixed bug with mysql_execute and float values
2003-02-22 07:31:01 +00:00
foobar
7d256c1ae1
MFB
2003-02-21 10:43:32 +00:00
foobar
b420beba61
- Fixed bug: #22339
...
# No NEWS, this was bug introduced by Marcus a while ago..
# Not present in php4.3.x branch
2003-02-21 08:45:58 +00:00
foobar
12ce594f64
MFB
2003-02-21 06:50:25 +00:00
foobar
161d31c8bc
ZTS fixes
2003-02-21 06:46:12 +00:00
Rasmus Lerdorf
d08a0e99c8
An input filter might not simply strip stuff, it might also turn things
...
into entities or use some other mechanism which causes the filtered data
to be longer than the original data. Ergo, pass in the address of the
buffer instead so the filter is free to reallocate it.
2003-02-20 22:21:49 +00:00
Justin Erenkrantz
9d89ef3295
Remove C++-style comment. (Breaks Sun Forte compiler.)
2003-02-20 21:48:58 +00:00
Sara Golemon
2002ca0203
Reduce unnecessary filter applications when stream is (read|write) only
2003-02-20 20:05:31 +00:00
Moriyoshi Koizumi
63291af120
Fixed bug #22330 (overloaded strrpos() gives wrong results)
...
Patch by david at santinoli dot com. Thanks!
2003-02-20 17:52:42 +00:00
Derick Rethans
2bff9cae27
- Fixed testcase... you can never trust on RFCs it seems
2003-02-20 16:15:41 +00:00
Derick Rethans
91766d4b9a
- Fixed copy and paste bug
2003-02-20 10:33:55 +00:00
Derick Rethans
b4b33b11ef
- Also add the optional raw output parameter to md5_file and sha1_file.
2003-02-20 10:32:35 +00:00
foobar
0f593f899f
Fixed bug: #22306 (pg_lo_seek($h, 0, PGSQL_SEEK_SET) succeeds but returns false)
2003-02-20 07:10:07 +00:00
Derick Rethans
ead7521e4d
- No need to add the \0 ourselves, the estrndup in STRINGL takes care of
...
that for us.
2003-02-20 06:56:37 +00:00
Sascha Schumann
6f5b46c118
generally urlencode parameters
2003-02-20 06:18:16 +00:00
foobar
6043ee22e8
- Fixed bug #22299 (gethostbyname() crash with non-existing domain on MacOSX)
2003-02-20 05:34:58 +00:00
Ilia Alshanetsky
69094da0e8
Revert accidental commit.
2003-02-20 00:34:03 +00:00
Ilia Alshanetsky
3bff5c0419
Fixed bug #22308 (optimized passthru, code is now ~40 times faster).
2003-02-20 00:32:51 +00:00
Jon Parise
370c0cbf91
Add folding markers and editor directive blocks.
2003-02-19 21:36:00 +00:00
Rasmus Lerdorf
afb8842cea
Fix mbstring input_filter
2003-02-19 20:56:47 +00:00
Rasmus Lerdorf
7429c2dc3f
Input Filter support. See README.input_filter for details.
...
@- Input Filter support added. See README.input_filter. (Rasmus)
2003-02-19 19:41:09 +00:00
Marc Boeren
85f81c6006
Fix for bug #22221 : pgsql version for dbx_query suppressed a warning that
...
was trappable by using a user-defined error-handler. A different use of
pgsql_getrow removed the warning and thus the need for suppressing it.
2003-02-19 13:32:27 +00:00
Corne' Cornelius
71e6110bc8
- Revert latest commit
2003-02-19 09:52:52 +00:00
Corne' Cornelius
ad56bbe4a4
- Added Input Descriptor Binding to be used by blobs. This fixed a bug
...
where ESQL/C would cause a Segmentation fault if the first blob in a
result is NULL or '' as soon as it gets a result with blob != NULL
- Fixed leaks where blobs resources weren't always freed
2003-02-19 09:29:26 +00:00
foobar
2b90480fa9
scandir -> php_scandir, alphasort -> php_alphasort
2003-02-19 09:27:29 +00:00
foobar
8e3f23e3c0
ws fixes + missing $Id$ tags, headers added
2003-02-19 08:40:19 +00:00
Corne' Cornelius
48e5c1dae7
Updated IFX_VERSION entry to work with new Version output of ESQL/C
...
@- Updated IFX_VERSION entry to work with new Version output of ESQL/C (Corne')
2003-02-19 07:16:01 +00:00
Ilia Alshanetsky
a6ef609a37
Fixed bug #22283 (possible crash when opening relative URLs).
2003-02-19 00:49:31 +00:00
Moriyoshi Koizumi
69113a3099
Added string.strip_tags filter.
2003-02-19 00:12:23 +00:00
Moriyoshi Koizumi
6389a79ea5
Fixed memory leaks on conversion failure.
2003-02-18 23:30:36 +00:00
Moriyoshi Koizumi
8793a78fee
Revived convert filter codes
2003-02-18 23:22:49 +00:00
Jon Parise
40dacff24a
Remove a stray COM reference.
2003-02-18 23:22:15 +00:00
Marcus Boerger
b8f518a451
- wrong use of sizeof(char)
...
- use define for block size
- a bit faster
2003-02-18 22:19:18 +00:00
Marcus Boerger
7b6fb4b7b3
coding style
2003-02-18 20:49:52 +00:00
Marcus Boerger
3db2b2bc7c
avoiding problems
2003-02-18 20:48:05 +00:00
Derick Rethans
d95c41eddb
- Added new parameter to sha1() and md5() which return the digest as
...
binary data. (Original patch by Michael Bretterklieber <mbretter@jawa.at>)
- Added test cases for sha1() and md5() based on the testvectors in RFC 1321
and RFC 3174.
@- Added new parameter to sha1() and md5() which return the digest as
@ binary data. (Michael Bretterklieber <mbretter@jawa.at>, Derick)
2003-02-18 20:31:19 +00:00
Moriyoshi Koizumi
dd0462c78f
Added description for the hand-made finite state machine.
2003-02-18 20:31:04 +00:00
Sascha Schumann
4ec77cfbb5
Refactor new-session-id code
2003-02-18 19:29:38 +00:00
Sascha Schumann
2699c26f42
Remember whether to send a cookie, so that we send out the correct
...
session id. Also improve check for active session
2003-02-18 19:13:49 +00:00
Wez Furlong
4c4d77d23e
Fix incorrect TSRMLS_CC usage.
...
Fix com_create_guid()
2003-02-18 19:03:44 +00:00
Sascha Schumann
32e0c8161c
add session_regenerate_id()
2003-02-18 18:50:44 +00:00
Moriyoshi Koizumi
bcd49d63c3
Fixed mb_send_mail() so that Content-Type and Content-Transfer-Encoding
...
headers are overridable by additional header parameters.
This patch fixes bug #21985 and bug #22064 .
2003-02-18 18:49:47 +00:00
Moriyoshi Koizumi
89caaeb87c
Fixed bug #21708 (ucfirst() trouble again)
...
# this bug is related to bug #21689
2003-02-18 18:11:34 +00:00
Moriyoshi Koizumi
d4e9d48b18
Fixed bug #21689 (fgetcsv suppresses some characters before a separator)
...
The fix is suggested by Masahiro Nakayama <masa@sfc.wide.ad.jp>
# is* functions expect their argument to be an integer in range of 0-255
2003-02-18 15:15:22 +00:00
Wez Furlong
aad491817c
Implement com_create_guid().
...
Add a special case for RETVAL_VARIANT when a variant is of type VT_DISPATCH but has a NULL dispatch pointer.
This kind of variant is returned by the WindowsInstaller automation interface.
2003-02-18 09:46:19 +00:00
Wez Furlong
e52aac940f
Implement simple stream support in the ZE scanners.
2003-02-18 09:37:54 +00:00
Georg Richter
500dfcfd62
added new function mysqli_stmt_store_result
2003-02-18 08:49:00 +00:00
Georg Richter
05d10452ba
test for mysqli_stmt_store_result
2003-02-18 08:41:16 +00:00
Wez Furlong
2003d8eeb6
Implement com_indexed_prop_set() which allows setting of array-like indexed properties on COM objects.
...
It is expected that this function will be transient, waiting for engine-level and then rpc-level support to be implemented so that this can be integrated more completely.
I'm committing this now so that others can help develop the msi installer scripts that require this feature.
2003-02-18 07:36:31 +00:00
Sara Golemon
73c78270b6
Introduce //filter target to php: wrapper to allow inline application of filters during fopen() style opperations
2003-02-18 06:10:14 +00:00
foobar
25a7332e9b
getpriority() and setpriority() are in libc..
2003-02-18 03:25:33 +00:00
foobar
28f4cb18ec
nice() is part of libc, use AC_CHECK_FUNCS instead
2003-02-18 03:22:47 +00:00
Ilia Alshanetsky
5b858c9e94
Fixed compiler warning.
2003-02-18 03:12:38 +00:00
Sara Golemon
6fe4ab41f0
Fix stream_filter_(ap|pre)pend to allow attaching on the read and/or write chains. Automagically decide what to do if noone tells us.
2003-02-18 02:53:24 +00:00
Ilia Alshanetsky
0503336ede
Added pcntl_setpriority & pcntl_getpriority(). These functions can be used
...
to fetch and alter the priority of a process.
2003-02-18 01:41:06 +00:00
Wez Furlong
1e34a6bffc
Add basic test of read filters and read filter chain.
2003-02-18 01:24:41 +00:00
Ilia Alshanetsky
0ad5cac954
By popular demand nice() is renamed to proc_nice().
...
A better error message for proc_nice() failure.
2003-02-18 01:23:51 +00:00
Wez Furlong
32165a5546
Implement new filter API, stage 1.
...
This breaks user-space filters (for the time being), and those
weird convert.* filters in ext/standard/filters.c
The filters stack has been separated into one chain for read and one chain
for write.
The user-space stream_filter_append() type functions currently only operate
on the read chain. They need extending to work with the write chain too.
2003-02-18 01:22:21 +00:00
Ilia Alshanetsky
0fd1009fcc
Added nice() function, which allows changing of priority for the current
...
process.
2003-02-18 01:07:57 +00:00
Georg Richter
19a9b4f310
new test (class which extends mysqli. currently this test fails :( )
2003-02-18 00:42:38 +00:00
Georg Richter
2f604f67e8
removed duplicate code
2003-02-18 00:32:47 +00:00
Georg Richter
bc5eb4b3b4
fixed some leaks when mysql_close will be called before all stmts are freed.
2003-02-18 00:00:51 +00:00
Georg Richter
bf348326bd
additional tests for non freed objects
2003-02-17 23:29:58 +00:00
foobar
5c63fad55c
MFB: Sanity check.
2003-02-17 22:45:50 +00:00
Georg Richter
3686b61548
test for mysql_fetch_row (oo-style)
2003-02-17 16:19:49 +00:00
Zeev Suraski
4934744b93
Win32 build improvements
2003-02-17 13:29:59 +00:00
Georg Richter
1f188f6554
added close method/alias for result object (for compatibility with statement and
...
link objects)
2003-02-17 09:38:32 +00:00
Georg Richter
1076328edb
test for OO-Implementation (bind_result)
2003-02-17 08:54:23 +00:00
Shane Caraveo
216d1d00a5
you know it's time to get away from the keyboard when you do this.
...
fix my last fix
2003-02-17 06:45:37 +00:00
Derick Rethans
738d4f401f
- Style polizei
2003-02-17 06:35:13 +00:00
foobar
7e9fb9f21f
- Cleaned this mess a bit:
...
. Centralized the functions sunrise/sunset to php_sunrise_sunset
to lessen duplicate code.
. Made wrapper function php_do_date_sunrise_sunset() to lessen
duplicate code.
. Coding style fixes.
. renamed sunfuncs.h -> php_sunfuncs.h
2003-02-17 06:28:07 +00:00
foobar
d3e006eafd
- These results were obviously got with TZ=GMT
...
# also prefixed the test results with the tested option
# so it's easier to see which one fails..
2003-02-17 06:23:22 +00:00
foobar
6b7a822cec
Assuming the results were created in system with Asia/Jerusalem as TZ
2003-02-17 05:51:03 +00:00
Shane Caraveo
eb6b7e80be
fix it the right way
2003-02-17 05:47:56 +00:00
foobar
1c89652590
override precision ini setting
2003-02-17 05:02:05 +00:00
Shane Caraveo
354a7d804b
If you pass NULL, you do not get a NULL value, make sure it is.
2003-02-17 03:26:16 +00:00
foobar
4e3d4e4329
- Let's be consistent with these..
2003-02-17 03:07:33 +00:00
Wez Furlong
f871a58783
Fix compile warning
2003-02-17 00:01:31 +00:00
Wez Furlong
63c95db648
Remove unused vars
2003-02-16 22:33:29 +00:00
Moshe Doron
ea8d11cc87
@ new idate() function.
...
@ new date_sunrise() function.
@ new date_sunset() function.
#since i have no premission updating the win32 project file, i'm sending patch on the list.
2003-02-16 22:28:01 +00:00
Georg Richter
fe9a33a002
fixed output
2003-02-16 21:19:32 +00:00
Ilia Alshanetsky
148fdce82d
Reverted lld -> lld patch and added explanation as to why it should not be
...
done.
2003-02-16 17:59:30 +00:00
Ilia Alshanetsky
ad1972fae9
Moved longlong conversion to a macro.
2003-02-16 15:56:57 +00:00
Ilia Alshanetsky
2ac79528c9
better skip condition.
2003-02-16 15:47:22 +00:00
Wez Furlong
32c1eafe85
Remove bogus test.
...
Append mode always causes written data to go to the end of the file,
regardless of the current seek position.
2003-02-16 15:42:14 +00:00
Wez Furlong
7e92f636ef
Integrate Shanes patch that allows specifying the cwd and environment
...
for the child process created by proc_open().
2003-02-16 15:38:54 +00:00
Georg Richter
c40eff35da
test for mysqli_prepare_result
2003-02-16 13:48:00 +00:00
Wez Furlong
ce432004be
Fix bcmath build under win32.
...
# These problems occur because winsock2.h MUST be included before
# windows.h.
2003-02-16 12:46:16 +00:00
Georg Richter
ffe43821d0
test for mysqli_stmt_affected_rows (delete command)
2003-02-16 12:04:21 +00:00
Georg Richter
6997d50ff0
added new function mysqli_stmt_affected_rows
...
added bigint support for mysqli_affected_rows
fixed memleak in mysqli_prepare (stmt->is_null)
fixed return type for mysqli_connect
2003-02-16 12:03:37 +00:00
Wez Furlong
0a18a9d744
A add much more useful select(2) implementation than is provided by
...
windows sockets. The winsock implementation will only work with sockets;
our implementation works with sockets and file descriptors.
By association, stream_select() will now operate correctly with files, pipes and sockets.
This change required linking against the winsock2 library. In terms of
compatibility, only older versions of windows 95 do not have winsock2
installed by default. It is available as a redistributable file, and is most likely installed by any OS patches (eg: Internet Explorer) applied by the user.
Also, add a win32 compatible pipe test when opening a stream from a pipe. This test will only work on NT, win2k and XP platforms. Without this test, interleaved fread() and select() calls would cause the read buffer to be clobbered. I will be working on a fix for this issue for win9x.
2003-02-16 03:48:49 +00:00
Ilia Alshanetsky
9f7fbaf5c2
Proper lib detection.
2003-02-15 20:09:49 +00:00
Wez Furlong
27e3d6477f
Add optional signal parameter to proc_terminate.
2003-02-15 17:33:11 +00:00
Wez Furlong
c3c24054e8
Add proc_terminate() function to forcibly kill off a process created
...
with proc_open().
2003-02-15 17:18:57 +00:00
Ilia Alshanetsky
8a07cc45cf
Fixed skip condition.
2003-02-15 17:06:35 +00:00
Georg Richter
e671a8c3e4
added skipif section (innodb-support)
2003-02-15 16:21:35 +00:00
Moriyoshi Koizumi
b069f35022
Fixed bug #22227
...
Added test case for bug #22227
2003-02-15 15:57:31 +00:00
Ilia Alshanetsky
f8e0290cd6
Allow mysqli to be built when imap (c-client) is used.
2003-02-14 21:27:13 +00:00
Ilia Alshanetsky
c59240d599
CS fixes.
2003-02-14 20:15:11 +00:00
Ilia Alshanetsky
43eda85d5a
Fixed compile warnings.
2003-02-14 20:14:44 +00:00
Georg Richter
e8fd6662ae
test for bind_result with show
2003-02-14 19:49:35 +00:00
Marcus Boerger
c34fde086b
a little bit slower but somewhat tricky and more flexible and it does not
...
allocate static buffers anymore
2003-02-14 19:43:06 +00:00
Moriyoshi Koizumi
9b49146dc1
Fixed a str_replace() bug similar to bug #22224
2003-02-14 18:59:50 +00:00
Moriyoshi Koizumi
b3a8349191
Fixed bug #22224 (implode changes object references in array)
...
Added test case for the bug
2003-02-14 18:42:36 +00:00
Ilia Alshanetsky
f6e4904759
CS fixes.
2003-02-14 18:35:30 +00:00
Ilia Alshanetsky
410dd6abaf
Fixed a typo.
2003-02-14 18:27:20 +00:00
Georg Richter
2841d94f02
fixed compiler warning
2003-02-14 18:18:12 +00:00
Georg Richter
c544a77836
fixed a bug in mysqli_fetch
...
removed c++ comment (thx to Jani :)
fixed compiler warning
2003-02-14 18:17:25 +00:00
Ilia Alshanetsky
031dd997fb
Missing portion of the previous patch.
2003-02-14 16:49:09 +00:00
Ilia Alshanetsky
4f1b6364f9
Buncha Fixes.
...
* Fixed a number of memory leaks.
* Fixed some php_error_docref() calls that tried to print non-existent
arguments.
* Fixed some signed/unsigned problems.
* Fixed the MYSQLI_FETCH_RESOURCE macro so that compilers do not complain
about un-initialized variables.
* CS fixes.
2003-02-14 16:45:31 +00:00
Georg Richter
14bc73defe
bind_result fix
2003-02-14 16:31:51 +00:00
Georg Richter
1a7a41cf9f
fixed a bug in prepare/bind
2003-02-14 16:31:22 +00:00
foobar
f9f4644a84
- Don't add libcrypt if the crypt() function is provided already.
...
(by libc, like in HP-UX)
2003-02-14 01:27:15 +00:00
Sara Golemon
a9e1b5f641
MFB(r-1.68.2.5) Bug 22052
2003-02-13 22:20:21 +00:00
Marcus Boerger
0b2216e03d
pass tsrmls instead of fetching it always
2003-02-13 21:41:00 +00:00
Sara Golemon
d1d0d0b71a
Bug #22059 . ftp_chdir() causes segfault. efree(ftp->pwd) was being called without knowing for certain that ftp->pwd
...
actually pointed anywhere.
2003-02-13 19:48:49 +00:00
Ilia Alshanetsky
2443adb8b5
Added test case for bug #22187 .
2003-02-13 19:07:20 +00:00
foobar
e6841d6c35
Added test for those different crypt() methods. Hopefully I got the results right.
2003-02-13 18:49:57 +00:00
Georg Richter
bad0ab1576
include file for test
2003-02-13 18:21:37 +00:00
Ilia Alshanetsky
55840914cb
Fixed warnings.
2003-02-13 17:39:18 +00:00
Ilia Alshanetsky
7fffe4338a
Fixed bug #22207 (e notation in *printf would be missing a 0 when there is
...
no exponent).
Added a test case for the bug.
2003-02-13 17:25:31 +00:00
Edin Kadribasic
f0e7b24e60
Use my_ulonglong instead of unsigned long long to make msvc++ happy.
2003-02-13 17:15:22 +00:00
Ilia Alshanetsky
f9457bf842
Added missing header needed for rpc_error().
2003-02-13 14:54:43 +00:00
Edin Kadribasic
ab4bbd51ff
Initial windows project file
2003-02-13 14:46:11 +00:00
Ilia Alshanetsky
f8eba6ded2
Added 'x' mode for fopen() used on local files. This mode will create a new
...
file only if a file does not already exist (O_CREAT|O_EXCL).
2003-02-13 14:40:17 +00:00
Wez Furlong
95e7c2e9ed
Use FILE*-less implementation for php://(stdin|stdout|stderr)
2003-02-13 13:43:37 +00:00
Wez Furlong
1c3de808b9
Avoid problems with chunk_size and auto_detect_line_endings.
2003-02-13 13:38:20 +00:00
Wez Furlong
b81ea669a0
cli should be allowed to have the chroot() function.
2003-02-13 13:35:55 +00:00
Georg Richter
124f76c557
removed warnings (unused vars)
2003-02-13 08:54:46 +00:00
Uwe Steinmann
1b46eeb1cf
- added more missing strcmp()
2003-02-13 07:59:24 +00:00
foobar
a91a14ab16
ws fix
2003-02-13 07:02:53 +00:00
Georg Richter
6bddc36966
new tests
2003-02-13 01:23:28 +00:00
Georg Richter
44559a18f9
added new function int mysql_get_server_version
...
this function is available since libmysql change set 1.1450 (2002-02-13)
2003-02-13 00:11:17 +00:00
Georg Richter
ef086ad82d
changed function entries for statements
2003-02-12 21:07:28 +00:00
Ilia Alshanetsky
24a86f2064
Fixed bug #22191 (frontbase build was broken for people using older
...
versions).
2003-02-12 20:44:00 +00:00
Mark L. Woodward
8fee867865
Fix for GCC 3
2003-02-12 18:34:21 +00:00
Derick Rethans
b8ad8c9f83
- Let's add the config.m4 file too :-)
2003-02-12 16:24:41 +00:00
Ilia Alshanetsky
e1802d7228
Fixed bug #22048 (incorrect insertion of session id when tabs are used to
...
separate tag elements).
2003-02-12 14:56:13 +00:00
Uwe Steinmann
8c5ece1637
- Fixed compile errors and some oddities like missing strcmp
2003-02-12 11:18:43 +00:00
Georg Richter
91eeae5e1d
added new tests
2003-02-12 10:40:19 +00:00
Georg Richter
2706394076
removed function mysql_num_warnings (libmysql change).
2003-02-12 10:39:06 +00:00
foobar
de3b1acfc3
Fix obvious errors..
2003-02-12 03:05:28 +00:00
Georg Richter
ff8f0eb7da
adding a few tests
2003-02-12 00:46:29 +00:00
Georg Richter
7d7c07a77c
initial upload
2003-02-12 00:45:53 +00:00
Ilia Alshanetsky
246a075624
Fixed bug #22048 (crash in imap_headers when the e-mail contains an
...
abnormally large number of special characters).
2003-02-11 22:57:22 +00:00
Ilia Alshanetsky
53f96c8b02
Added strpbrk(), which is essentially a wrapper around C's strpbrk function
...
that allows searching through a string for a character list.
2003-02-11 22:47:26 +00:00
Melvyn Sopacua
e4a08fb43d
Update time
2003-02-11 20:26:27 +00:00
Zeev Suraski
f983e13e4e
Fix random crashes
2003-02-11 13:46:30 +00:00
Moriyoshi Koizumi
1068156252
Fixed ZTS build
2003-02-11 03:55:08 +00:00
foobar
fccbb1431b
- There's no point in allowing using both --with-readline and --with-libedit
...
the same time. Prefer --with-readline.
- Use PHP_ADD_LIBRARY when there is no path available.
2003-02-11 03:24:30 +00:00
foobar
08f3bb094a
- Fixed bug: #21549 (problem with Ingres II persistent connections)
2003-02-11 02:42:59 +00:00
Frank M. Kromann
08b788dd44
Bug #20426 . Convert SMALLDATETIME correct
2003-02-11 01:24:07 +00:00
Harald Radi
c7de5d15b7
clean up source and improve hashing for implicitly
...
created objects (aka return values)
2003-02-11 00:55:27 +00:00
Harald Radi
be950d9c51
improved reverse lookup of ProgID based on an IDispatch pointer
2003-02-11 00:54:27 +00:00
Sascha Schumann
a10f0830e6
support setting the filemode using session.save_path
2003-02-11 00:42:54 +00:00
Sascha Schumann
5e601732a3
use appropiate prefixes in the ps_module structure so we don't clash
...
with syscalls
2003-02-11 00:42:14 +00:00
Wez Furlong
0c70df4907
fix rpc_error call
2003-02-10 23:22:49 +00:00
Ilia Alshanetsky
53b7b0eb8c
Merged the flags for the file() function into a single flag.
2003-02-10 22:26:53 +00:00
Harald Radi
5066caef31
a bunch of fixes
2003-02-10 20:59:11 +00:00
Harald Radi
ef9bc6eaad
s/com/skeleton/ is not always a good idea
2003-02-10 20:58:30 +00:00
Wez Furlong
0ff83111c7
byref really means that we want the zval...
2003-02-10 20:30:24 +00:00
Moriyoshi Koizumi
21f766b7a4
Fixed zlib.output_compression so it can work even if zlib extension is built as shared
2003-02-10 19:04:44 +00:00
Wez Furlong
447976d8ee
Implement com_describe
2003-02-10 18:37:28 +00:00
Jon Parise
1b8755994e
Correct the spelling of 'supported'.
2003-02-10 15:46:47 +00:00
Wez Furlong
35639435c9
Error reporting clean up
2003-02-10 13:13:28 +00:00
Wez Furlong
81795c7f11
Newly created objects should use a separate function_table from the global class entry table.
...
For objects instantiated via new, make sure that intern->function_table uses the newly created table when the class is registered.
For generic per-object hashing, copy the ce->function_table into intern->function_table.
2003-02-10 12:36:07 +00:00
Wez Furlong
b0894e7eba
Error reporting leaks and cleanup
2003-02-10 12:33:15 +00:00
Wez Furlong
79c046d8a8
Add additional optional parameter to openssl_pkcs7_encrypt to specify the
...
cipher. The cipher can be one of the constants listed below.
Based on a patch from:
stefan at cuba dot ionum dot ch
OPENSSL_CIPHER_RC2_40, (the default)
OPENSSL_CIPHER_RC2_128,
OPENSSL_CIPHER_RC2_64,
OPENSSL_CIPHER_DES,
OPENSSL_CIPHER_3DES,
proto bool openssl_pkcs7_encrypt(string infile, string outfile,
mixed recipcerts, array headers [, long flags [, long cipher]])
2003-02-10 09:49:31 +00:00
Hartmut Holzgraefe
769cb03c35
proto fixes
2003-02-10 00:47:45 +00:00
foobar
885a1a4d08
some win32 fixes by Kai
2003-02-10 00:21:51 +00:00
Harald Radi
b0fb007f0f
fix a memleak
2003-02-09 23:17:42 +00:00
Wez Furlong
eefe0f1bb0
ZTS fix
2003-02-09 23:11:23 +00:00
Kai Schroeder
eb8bccee56
fix for #17928
2003-02-09 21:44:51 +00:00
Wez Furlong
03e22793ff
Fix various little leaks and segfaults.
...
Fix scripts like this:
$obj = new COM('Foo');
$obj2 = $obj->get_object();
$obj2->method(); // <-- would segfault here
2003-02-09 21:40:13 +00:00