Harrie Hazewinkel
e9224d0bd1
Converting the usage of the integer based internal commands into
...
MACROS to ease future extensions.
2005-04-11 14:59:42 +00:00
Harrie Hazewinkel
452b4cdba1
Adding support for a getbulk oriented walk.
...
The getbulk can only be used for SNMPv2c and SNMPv3.
2005-04-11 14:56:44 +00:00
Dmitry Stogov
37887f1bd0
Fixed SIGSEGV on serializing data with circular references
2005-04-11 11:58:19 +00:00
Dmitry Stogov
37eee73274
Support for encoding/decoding of private and protected members
2005-04-11 09:27:47 +00:00
Andrey Hristov
d9f5f1ee08
fix memory corruption on 64bit in imagefttext(),
...
domdocument::load() and domdocument::loadxml()
2005-04-10 21:37:17 +00:00
Andrey Hristov
628b8cae7d
fix proto. return true instead of null
2005-04-10 21:23:27 +00:00
Andrey Hristov
ce36c5f3b1
simplify code (no need of local variable - return directly)
2005-04-10 20:57:31 +00:00
foobar
8509f06056
- This was supposed to be escaped with \
2005-04-10 19:23:59 +00:00
foobar
338bdf1587
Add more detailed failure msg. (bug #32649 )
2005-04-10 19:18:37 +00:00
foobar
28ffae8ad0
- Make VC6 happy
2005-04-10 19:07:38 +00:00
Ilia Alshanetsky
6f539ae99e
Added time_sleep_until() function, which is a high precision mechanism of
...
making a script sleep until specified timestamp.
2005-04-10 16:25:11 +00:00
Rob Richards
5313e98b72
- Fixed bug #32615 (Segfault in replaceChild() using fragment when
...
previousSibling is NULL)
- add test
2005-04-08 15:58:24 +00:00
Ilia Alshanetsky
2fae7f1e71
Missing part of the patch for bug #32589
2005-04-08 15:04:34 +00:00
Marcus Boerger
53e5eb8032
- Add new test
2005-04-08 13:34:30 +00:00
Rob Richards
9c3919c3a3
fix test
2005-04-08 12:18:57 +00:00
Ilia Alshanetsky
5355bdc788
Fixed bug #32533 (proc_get_status() returns the incorrect process status).
2005-04-07 23:07:45 +00:00
foobar
d57f08147d
- Fixed bug #32591 (ext/mysql: Unsatisfied symbol: ntohs with HP-UX)
2005-04-07 22:23:15 +00:00
Dmitry Stogov
d976e3d165
Fixed indentation
2005-04-07 16:17:08 +00:00
Dmitry Stogov
b14271dbfa
Fixed wrong result of cal_days_in_month() with bad dates
2005-04-07 16:12:27 +00:00
foobar
1b3b55a858
Regenerated with re2c 0.9.4
2005-04-06 19:42:36 +00:00
Marcus Boerger
733aa2e949
- Make class_parentS() and class_implements() accepts class names as well
2005-04-06 15:16:45 +00:00
Ilia Alshanetsky
1d60050312
Removed php_check_syntax() function, it never worked properly. For now
...
use shell_exec("php -l script_name") or similar.
2005-04-06 14:19:14 +00:00
Ilia Alshanetsky
a7ae41bf89
Fixed bug #31363 (broken non-blocking flock()).
...
# Patch by ian at snork dot net
2005-04-06 13:57:30 +00:00
Christian Stocker
997690b132
- Added optional first parameter to XsltProcessor::registerPHPFunctions to only
...
allow certain functions to be called from XSLT.
2005-04-06 12:26:29 +00:00
Georg Richter
f6ecb58448
fix for bug #32282 (segfault in mysqli_fetch_array on 64-bit)
2005-04-06 06:47:12 +00:00
Antony Dovgal
33677ddb95
remove proto, it's internal func
2005-04-05 20:31:10 +00:00
Ilia Alshanetsky
6f13b138a7
Added another search patch for magic file (fixes bug #3232 ).
2005-04-05 15:12:52 +00:00
Ilia Alshanetsky
cb8d20760c
Fixed bug #32589 (Possible crash inside imap_mail_compose, with charsets).
2005-04-05 14:47:47 +00:00
Marcus Boerger
7e7775a328
- Register class File
...
- Remove superflous ;
- Stop spl_autoloading on pending exception
2005-04-05 09:24:53 +00:00
Marcus Boerger
2f8d672bfc
- Use correct var name
2005-04-05 09:23:50 +00:00
Marcus Boerger
58d45bfe2e
- Add new test
2005-04-05 09:23:14 +00:00
foobar
760439567a
Update credits
2005-04-04 18:50:54 +00:00
foobar
2887f89075
remove empty lines
2005-04-04 18:14:27 +00:00
foobar
28b13f50e6
Added testcase for bug #30362
2005-04-04 18:06:16 +00:00
Antony Dovgal
f2a3b12445
fix #32560 (configure looks for incorrect library - libdb2.so instead of libdb2.a,
...
which is used actually)
2005-04-04 10:50:32 +00:00
Ilia Alshanetsky
ca10457a58
Fixed bug #32530 (chunk_split() does not append endstr if chunklen is
...
longer then the original string).
2005-04-03 18:08:40 +00:00
George Schlossnagle
1d25fc5c7b
actually commit the SOAP interop tests this time.
2005-04-03 15:51:22 +00:00
George Schlossnagle
55c25c7275
Fix qualified names for attributes according to attributeFormDefault.
...
Add SOAP Interop tests from Dmitry.
2005-04-03 15:39:56 +00:00
Antony Dovgal
1c4eb9b684
fix typo
2005-04-03 13:06:08 +00:00
Antony Dovgal
b2858fb449
fix output_reset_rewrite_vars() returning false everytime
2005-04-03 12:19:23 +00:00
foobar
c67da24e31
Fix another title
2005-04-03 11:17:54 +00:00
foobar
0ee465d2a0
fix description
2005-04-03 11:15:39 +00:00
foobar
fc883fd477
Partial fix test: It is still possible to use expat libs with ext/xml..
2005-04-03 00:12:26 +00:00
foobar
b543778fed
fix tests
2005-04-02 22:57:42 +00:00
Joe Orton
d17ccbdeee
Use PHP_LIBDIR.
2005-04-01 11:12:45 +00:00
Marcus Boerger
7adb2b0c0b
- Add RecursiveDirectoryIterator::getSubPathname()
2005-03-31 23:02:20 +00:00
Marcus Boerger
d383735978
- Add RecursiveDirectoryIterator::getSubPath()
2005-03-31 21:51:46 +00:00
Marcus Boerger
530917b463
- Make iterator_to_array() accept Traversable
2005-03-31 21:49:47 +00:00
foobar
a119050ebb
These tests require register_long_arrays=1
2005-03-31 19:47:19 +00:00
Marcus Boerger
3eb4162122
- Bugfix #32521 (apache2handler accidental crashes caused by SPL)
2005-03-31 17:17:38 +00:00
Joe Orton
6974b5ecce
Mark more private functions as static.
2005-03-30 13:43:36 +00:00
Joe Orton
5aa95520cd
Mark private functions as static.
2005-03-30 12:56:58 +00:00
Antony Dovgal
e499a1c296
fix segfault & buffer overrun when there is no PDO drivers plugged in
...
(patch by su1d@phpclub.net )
2005-03-29 17:23:36 +00:00
Sara Golemon
29ede46872
BugFix #31137 stream_filter_remove() segfaults when stream already closed
2005-03-29 04:02:03 +00:00
Dmitry Stogov
caeeebebc1
Fixed handling of attributes' namespaces
2005-03-28 18:06:29 +00:00
Dmitry Stogov
a3f2a3aab5
Fixed handling of attributes' namespaces
2005-03-28 16:28:04 +00:00
Dmitry Stogov
8dff99116d
Fixed wrong SOAP headers encoding/decoding.
2005-03-28 15:21:50 +00:00
Pierre Joye
d8824f2d5c
- remove "debug" code
2005-03-28 08:17:17 +00:00
Pierre Joye
6d46acfc70
- MFB, imagerectangle draws 2x each corners (alpha channel uglyness)
2005-03-28 08:14:30 +00:00
Edin Kadribasic
e923407cc5
Reshufle includes to make it compile on windows
2005-03-28 00:07:24 +00:00
Pierre Joye
c8ce18c155
- allow to keep or ignore the transparent color in imagerotate (thx
...
Ken Coar to report this "bug")
- be sure to restore alphablending in imagefill
- use zend_parse_parameter in imagerotate
2005-03-27 23:43:52 +00:00
Ilia Alshanetsky
f95651e338
revert copy patch.
2005-03-27 15:52:49 +00:00
foobar
a8b29a2e8f
- Made it possible to build ext/xmlrpc with libxml2
2005-03-26 03:13:58 +00:00
foobar
d203f88665
- Fix windows build (using config.w32 and keeping sync with config.m4)
2005-03-26 02:19:56 +00:00
Christopher Kings-Lynne
030ebaaa45
(PHP pg_unescape_bytea) Use libpq version of PQunescapeBytea if it exists.
...
# The version in libpq is newer and faster than the one in PHP, but it is
# necessary for me to add a string copy for freeing purposes. This copy
# is only needed in Windows AFAIK, how can I detect that?
2005-03-25 06:26:31 +00:00
Ilia Alshanetsky
e8bd3b9b4f
Slightly safer code.
2005-03-25 00:30:43 +00:00
Marcus Boerger
d27be11233
- Fix null handling found by thies
2005-03-24 12:32:06 +00:00
Marcus Boerger
2906d6570c
- Add new test
2005-03-24 12:31:37 +00:00
Antony Dovgal
76e07faf87
fix leak when register_long_arrays is off
2005-03-24 00:17:16 +00:00
Moriyoshi Koizumi
2cba0ab304
- Fix bug #32311 (mb_encode_mimeheader() does not properly escape characters.)
2005-03-23 23:22:16 +00:00
Moriyoshi Koizumi
3b39b2237f
- Add test case for iconv_mime_encode().
2005-03-23 23:07:42 +00:00
Moriyoshi Koizumi
8f14211e13
- Add sanity check in iconv_mime_encode(). Leaving the third parameter
...
unspecified would yield bus error.
2005-03-23 23:06:38 +00:00
Dmitry Stogov
2283e471f8
windows compatibility fix
2005-03-23 15:12:54 +00:00
Christopher Kings-Lynne
3e6fce84bb
- Use a replacement for PQunescapeBytea so that linking against a pre-7.3
...
libpq is possible. This is exactly what ext/pgsql currently does.
# I hope this is an acceptable improvement.
2005-03-23 08:52:40 +00:00
Dmitry Stogov
e31bc5a643
Allow define connection timeout throught "connection_timeout" option in SoapClient constructor.
2005-03-23 08:08:54 +00:00
Dmitry Stogov
4ecbf1792b
Fixed bug #31695 (Cannot redefine endpoint when using WSDL)
2005-03-23 07:11:55 +00:00
Christopher Kings-Lynne
63ed4a1996
- Ensure that ext/pgsql tests work when linked against 7.2 or lower libpq
2005-03-23 03:24:41 +00:00
Moriyoshi Koizumi
542901d705
- Add Armenian encoding / NLS (patch by Hayk Chamyan)
2005-03-22 22:22:11 +00:00
foobar
a075b651be
Added SKIPIF
2005-03-22 16:03:10 +00:00
foobar
77910ec63f
Addded test for locale aware sort
2005-03-22 15:38:25 +00:00
Ilia Alshanetsky
7af2c5e44b
Fixed compiler warning.
2005-03-22 14:44:23 +00:00
Marcus Boerger
dce82da87d
- Add function pdo_drivers()
2005-03-22 10:36:25 +00:00
Marcus Boerger
73a6a31053
- the driver's key name is not zero terminated, hence we need to either
...
estrNcpy() it or use the driver struct.
- table headers do not support single column mode so change to two cols
- there should be only one table header
2005-03-22 10:26:51 +00:00
Dmitry Stogov
fedbd2145a
Fixed bug #30106 (SOAP cannot not parse 'ref' element. Causes Uncaught SoapFault exception)
2005-03-22 10:19:08 +00:00
Christopher Kings-Lynne
e2b87e6230
Tweak some #if's to be more orthogonal.
...
(PHP pg_set_error_verbosity) New function to set PostgreSQL error verbosity
(PHP pg_copy_from) Use non-deprecated API if it is available
(PHP pg_copy_to) Use non-deprecated API if it is available
2005-03-22 08:51:23 +00:00
Ilia Alshanetsky
b30d8beebf
Simplify argument checking code for array_combine().
2005-03-22 01:45:17 +00:00
Marcus Boerger
041524feee
- Fix Bug #32394 offsetUnset() segfaults in a foreach
2005-03-21 20:07:33 +00:00
Dmitry Stogov
756c5784c1
Support for <soap:body> "parts" attribute
2005-03-21 15:52:53 +00:00
John Coggeshall
c590531c07
Added three new properties to the node: line, column and if it is propreitary or not
2005-03-21 03:54:29 +00:00
Wez Furlong
6895ef99c0
fix my silly typo
2005-03-21 01:24:36 +00:00
Marcus Boerger
06a96fdfe5
- Fix test (warnings are expected since there is no support for this)
2005-03-21 00:32:48 +00:00
Marcus Boerger
a66e14645c
- Add new tests
2005-03-21 00:29:25 +00:00
Marcus Boerger
c9108bba25
- Simplify code (only implement handlers that are necessary)
...
- Fix handling of read only property 'queryString'
- Fix overloading
- Move class init code to their defining .c files for simplification
- Mark class PDORow as final until there's a need to inherit this and
someone implements the handlers correct then.
2005-03-21 00:29:06 +00:00
Marcus Boerger
9c3164e487
- Update
2005-03-20 19:45:36 +00:00
Dmitry Stogov
713622d363
Fixed SoapFault::details passing
2005-03-20 09:55:47 +00:00
foobar
4d46234912
- Fixed a warning (might also be an error with some exotic compiler)
2005-03-20 02:57:10 +00:00
Christopher Kings-Lynne
721d34bebc
Two of the diagnostic definitions were added in 8.0. Add appropriate #ifdefs.
2005-03-20 02:46:02 +00:00
Marcus Boerger
6735e8c2a7
- Update test
2005-03-19 15:15:32 +00:00
Marcus Boerger
fec4937052
- Add new test
2005-03-19 15:09:11 +00:00
Marcus Boerger
e38141478a
- Check another incarnation of bug #30266
2005-03-19 14:24:17 +00:00
Antony Dovgal
f27fb2d715
fix #32373 (segfault in bzopen('/wrong/path'))
2005-03-19 13:56:00 +00:00
Marcus Boerger
d23781e08d
- Add missing skipif part
2005-03-19 10:58:44 +00:00
Frank M. Kromann
17264461f9
fix build when the pecl module is part of the php source tree
2005-03-19 10:55:47 +00:00
Marcus Boerger
360fbc09b7
- Interface name was changed
2005-03-19 10:55:35 +00:00
Marcus Boerger
7b2bee1d5b
- Fix warnings by doing it the Zend way
2005-03-19 10:51:42 +00:00
Christopher Kings-Lynne
3dd44c3018
Another oversight - make sure constants related to pg_result_error_field are #if'd as well as the function itself
2005-03-19 09:21:51 +00:00
Christopher Kings-Lynne
e4570cdbd2
Add regression tests for pg_transaction_status and pg_result_error_field
2005-03-19 09:20:52 +00:00
Christopher Kings-Lynne
28ec3abf87
Minor oversight in #if for an internal function
2005-03-19 09:07:20 +00:00
Rui Hirokawa
c30f4ab6ec
oniguruma updated to 3.7.1 and changed UChar to OnigUChar.
2005-03-19 08:52:23 +00:00
Christopher Kings-Lynne
1168c30635
Added several new functions to support the PostgreSQL v3 protocol
...
introduced in PostgreSQL 7.4.
(PHP pg_transaction_status) New function to get in-transaction status of
a database connection.
(PHP pg_query_params) New function to allow execution of parameterized
queries.
(PHP pg_prepare) New function to allow preparing named queries.
(PHP pg_execute) New function to allow execution of named prepared
queries.
(PHP pg_send_query_params) New function that is the async equivalent of
pg_query_params.
(PHP pg_send_prepare) New function that is the async equivalent of
pg_prepare.
(PHP pg_send_execute) New function that is the async equivalent of
pg_execute.
(PHP pg_result_error_field) New function that allows highly detailed
error information, most importantly the
SQLSTATE error code
# Regression tests are included for all but 2 functions, the rest will
# follow shortly. Docs will also follow shortly.
2005-03-19 08:46:56 +00:00
foobar
fd03f4f056
Added config.w32 (modified version, original by: Grant.Croker at ca dot com)
2005-03-18 23:24:15 +00:00
George Schlossnagle
d2731eb575
doc should not be freed here, as it is used later in the code path.
2005-03-18 15:40:04 +00:00
Antony Dovgal
646bb71503
fix typo in error message
2005-03-17 18:12:06 +00:00
Ilia Alshanetsky
1f06bb94c6
MFB: Fixed build of exif extension on win32.
2005-03-17 17:20:52 +00:00
Ilia Alshanetsky
fed3058fba
Fixed compiler warning on win32.
2005-03-17 17:16:43 +00:00
Rob Richards
04d44c8a5c
export php_dl to fix windows cli build
2005-03-17 12:37:18 +00:00
foobar
2d521a73c8
Revert bad fix
2005-03-17 08:15:23 +00:00
Rasmus Lerdorf
eb253ab571
Build fixes
2005-03-17 01:14:10 +00:00
Rasmus Lerdorf
effa111c5e
Fix Jani breakage
2005-03-16 22:00:07 +00:00
Ilia Alshanetsky
d247e074a7
Fixed bug #32326 (Check values of Connection/Transfer-Encoding
...
case-incentively).
2005-03-16 20:30:17 +00:00
Harrie Hazewinkel
e6ae6fc62d
Adding SNMPv2 community based (i.e. protocol version) functions.
2005-03-16 14:29:40 +00:00
Wez Furlong
5ab7264189
remove debuging code
2005-03-15 15:58:04 +00:00
Wez Furlong
6090964157
I'm a PECL citizen; even though I am HEAD of pecl/sqlite, don't assume that I
...
am being built against HEAD of php-src.
2005-03-15 15:57:49 +00:00
Ilia Alshanetsky
8c38ac19bf
Fixed possible usage of str without being initialized.
2005-03-15 00:27:52 +00:00
foobar
005b2d77bf
- Fixed bug #18613 (Multiple OUs in x509 certificate not handled properly)
2005-03-14 21:00:03 +00:00
foobar
5a4c0afe31
- Back to stone-age
2005-03-14 09:47:31 +00:00
foobar
5718cb15a3
- Fixed bug #30609 (cURL functions bypass open_basedir)
2005-03-14 09:02:23 +00:00
Moriyoshi Koizumi
6437bc056d
- Turn off incorrect case folding to let test over.
2005-03-14 01:11:54 +00:00
foobar
bde0661ef6
- Move stuff that belongs in Makefile into Makefile.frag
2005-03-14 01:09:49 +00:00
Marcus Boerger
7c4cd04229
- Update tests
2005-03-13 22:35:34 +00:00
Ilia Alshanetsky
5bd7be94a4
Fixed compiler warning.
2005-03-13 17:03:55 +00:00
Marcus Boerger
dd54f36d49
- Fix signature definition
2005-03-13 16:35:01 +00:00
Marcus Boerger
5880260c78
- Update docu
2005-03-12 23:21:41 +00:00
Marcus Boerger
6f668d4978
- Fix extension to be .inc
2005-03-12 23:05:03 +00:00
Marcus Boerger
f9de3fd02b
- Allow to hook into RecursiveIteratorIterator's child handling
...
- Better=faster function caching for RecursiveIteratorIterator
- Check for exceptions and fix check for illegal return values
- Add UnexpectedValueException
- Add docu
2005-03-12 23:03:33 +00:00
Ilia Alshanetsky
f56e5c045c
A more performance friendly version of Andrey's patch.
2005-03-12 17:51:19 +00:00
Andrey Hristov
f15c24d44c
added an optional third parameter to str_word_count(), which is used as
...
a list of characters which are considerd "is_alpha()". Thus V14GR4 can
be extracted as one word if the user supplies "14" as charlist.
FR #31560
# Nuno, are you wishing to document this one too? :)
2005-03-12 14:41:20 +00:00
Andrey Hristov
1236cfa38a
- type is either 1 or 2 if second parameter is set. if not set then type
...
is 0.
- use the lvalue for the second rvalue
2005-03-12 13:08:19 +00:00
Andrey Hristov
cc39b51d2d
add a test file
2005-03-12 12:59:53 +00:00
Andrey Hristov
c449002566
add test
...
#forgot to add this one
2005-03-12 12:58:06 +00:00
Andrey Hristov
9e939133d2
FR 32275 - fifth parameter to preg_replace() to count number of replaces
...
made.
#it would be nice if someone of the doc team documents it. thanks!
2005-03-12 12:03:50 +00:00
Andrey Hristov
070147105f
Fixed #30871
2005-03-12 10:11:46 +00:00
Marcus Boerger
016a39195e
- Fix test
2005-03-12 01:52:48 +00:00
Marcus Boerger
f3a5d430fc
- Fix another memleak
2005-03-12 01:46:47 +00:00
Marcus Boerger
6c73805c45
- Fix memleak
2005-03-12 01:44:04 +00:00
Wez Furlong
5248f59d1a
show list of PDO drivers in phpinfo.
...
Highlight a possible problem area; iterator leaks when used in foreach(),
at least with sqlite2 driver.
2005-03-12 01:16:59 +00:00
Wez Furlong
d88b4c734f
build pdo statically on win32, so sqlite2 driver will build.
...
Alternatively, we could build sqlite as a shared ext, but that has more
of an impact to people upgrading.
2005-03-12 01:15:37 +00:00
Wez Furlong
cbcd4271d2
build sqlite2 pdo driver on win32
2005-03-12 01:14:21 +00:00
Marcus Boerger
5985098b98
- Add tests
2005-03-12 00:51:39 +00:00
Marcus Boerger
c7ec6d0ce1
- Errcode might be empty
2005-03-12 00:50:20 +00:00
Wez Furlong
9619c3b811
Fix crappy whitespace
2005-03-12 00:07:44 +00:00
Wez Furlong
52dd9f028e
Implement a PDO driver for sqlite 2
2005-03-11 23:57:01 +00:00
Marcus Boerger
5a94bb642f
- Do not touch return_valu's refcount or is_ref
2005-03-11 02:11:44 +00:00
Marcus Boerger
4e390892b7
- Do not touch return_valu's refcount or is_ref
2005-03-11 01:52:24 +00:00
Marcus Boerger
299a17ba37
- Fix #30266
2005-03-11 01:11:54 +00:00
Marcus Boerger
b924ef8796
- Don't touch refcount/is_ref
2005-03-11 00:44:34 +00:00
Marcus Boerger
1d85c3fe80
- Times have changed - php 5 relevant version now
2005-03-11 00:22:28 +00:00
Marcus Boerger
faae6ac159
- Do not touch return_valu's refcount or is_ref
2005-03-11 00:14:02 +00:00
Marcus Boerger
04a08c757a
- Allow to work under php 5
2005-03-11 00:11:35 +00:00
Marcus Boerger
df56c39bda
- Cosmetics
2005-03-10 23:52:43 +00:00
Marcus Boerger
4172ec995c
- Do not touch return_valu's refcount or is_ref
2005-03-10 23:42:15 +00:00
Ilia Alshanetsky
ff80321587
Final set of fixes for bug #27633 .
...
# Many thanks to Edin for helpind analyze and resolve this bug.
2005-03-10 23:37:45 +00:00
Rob Richards
8462621bd7
add workaround for libxml bug when using next() method
...
remove some no longer needed windows specific code
2005-03-10 22:32:47 +00:00
Marcus Boerger
cdb042f632
- Fix fetching bound vars & tests
2005-03-10 18:48:01 +00:00
Marcus Boerger
92af2b6194
- Update tests
2005-03-10 17:55:36 +00:00
Marcus Boerger
1b93629fb8
- Fix test name
2005-03-10 15:54:52 +00:00
Zeev Suraski
b31c44d0fd
Oops, revert.
2005-03-10 14:33:53 +00:00
Zeev Suraski
1b5d558f91
Fix prototype
2005-03-10 14:32:16 +00:00
Joe Orton
3796738681
Fix /*-within-comment warning from GCC.
2005-03-10 11:19:32 +00:00
Magnus M��tt�
e65d57535f
Add tests for firebird.
2005-03-10 02:43:44 +00:00
Magnus M��tt�
72276d013a
Add NOT NULL to create so the tests work with Firebird too.
2005-03-10 02:37:20 +00:00
Marcus Boerger
bd13b72164
- Wrong order of action - touch
2005-03-10 00:17:17 +00:00
Marcus Boerger
22fcd1aac7
- Fix #31442 unserialize broken on 64-bit systems
...
- Fix one warning
2005-03-10 00:10:21 +00:00
Marcus Boerger
34c432de7e
- Fix #31442 unserialize broken on 64-bit systems
...
- Fix one warning
2005-03-09 23:58:44 +00:00
Antony Dovgal
3e2dd57c0a
fix compile warnings
2005-03-09 21:58:20 +00:00
Magnus M��tt�
0844446176
More tests.
2005-03-09 21:02:31 +00:00
Ilia Alshanetsky
21ff96859e
Fixes to ascii downloads on win32.
2005-03-09 20:52:38 +00:00
Wez Furlong
a826ded3cc
re-enable deps for HEAD
2005-03-09 18:21:41 +00:00
Wez Furlong
e162e80d31
prep for pecl release
2005-03-09 18:21:10 +00:00
Wez Furlong
584abff629
update extension version
2005-03-09 18:18:53 +00:00
Wez Furlong
5984f7f3e1
prep for release
2005-03-09 18:14:49 +00:00
Marcus Boerger
56235c6cc8
Fix the fix
2005-03-09 10:29:27 +00:00
Derick Rethans
16d67ab9f5
- MF43: Fixed bug #28067 (partially incorrect utf8 to htmlentities mapping).
2005-03-09 10:13:05 +00:00
Antony Dovgal
a2413c32ce
fix build
2005-03-09 09:19:27 +00:00
Wez Furlong
95b67c9763
update in readiness for release
2005-03-09 06:04:21 +00:00
Wez Furlong
f7ebff804d
"thou shalt not throw exceptions except in really exceptional circumstances."
...
The only allowed places to throw them directly are from within the PDO class
constructors or when dealing with transaction level attributes, where
"hard-failure" is a feature.
All other errors should use the PDO error handling mechanism and respect the
users selected error mode.
2005-03-09 05:50:03 +00:00
Magnus M��tt�
591fb2d97c
Add one more test.
2005-03-09 05:29:57 +00:00
Wez Furlong
de1d8b91f0
prep package file for release.
...
fix my favourite typo.
fix compile warnings
2005-03-09 05:03:58 +00:00
Magnus M��tt�
4b4975f1f8
Add test 020 and 021 for PDO_SQLite.
2005-03-09 04:45:08 +00:00
Magnus M��tt�
d49ecd51c1
Add more tests.
2005-03-09 03:50:10 +00:00
Magnus M��tt�
d06dec1ac0
Remove old test.
2005-03-09 03:45:24 +00:00
Marcus Boerger
f0a3e5be17
More line count fixes
2005-03-09 03:07:42 +00:00
Marcus Boerger
b79e8759fc
Add documentation
2005-03-09 03:07:07 +00:00
Marcus Boerger
ef17168fd1
No double line counting
2005-03-09 02:54:36 +00:00
Wez Furlong
3efc383a07
probably fix for ? placeholders not working with oci
2005-03-09 02:13:06 +00:00
Magnus M��tt�
088972feee
Fix segv when einfo->errcode is not available.
...
Add missing NULL entry to oci_methods.
2005-03-09 01:56:43 +00:00
Marcus Boerger
b06d0ef758
Add description for interface Serializeable
2005-03-09 01:21:04 +00:00
Dan Scott
e90582a990
Add test for PDOStatement::getColumnMeta().
...
Note that PDO_ODBC test fails as it is currently unimplemented.
2005-03-09 00:20:07 +00:00
Magnus M��tt�
ddde4497b2
Add more tests.
2005-03-08 23:00:34 +00:00
Johannes Schlüter
0e9e0f62fc
- Fix #32238 (spl_array.c: void function cannot return value)
2005-03-08 21:33:15 +00:00
Ilia Alshanetsky
0dbe348d1d
Improve the performance of htmlspecialchars_decode() by 20-30%.
2005-03-08 21:13:03 +00:00
Dan Scott
83dfcbf3f6
Add simple tests for insert through PDO::prepare/PDOStatement::execute.
...
Tests both question mark placeholders and named parameters.
2005-03-08 18:12:22 +00:00
Dan Scott
570976d236
Add a test for PDOStatement::columnCount().
2005-03-08 17:39:41 +00:00
foobar
7c1d94a702
update
2005-03-08 06:40:05 +00:00
Marcus Boerger
7b64727519
- Add/Correct parameter info and protos
2005-03-08 00:42:49 +00:00
Marcus Boerger
bbccc37f84
- Add new tests
2005-03-07 22:43:27 +00:00
Marcus Boerger
efb3529b7f
- Add new tests
2005-03-07 22:36:12 +00:00
Marcus Boerger
9c08e3ccae
- Update signature
2005-03-07 22:27:29 +00:00
Marcus Boerger
9b8725a967
- Add more methods
...
- Avoid exceptions in iterator access
- Do not read in rewind8) or next() instead read in iteration if neccessary
- Correctly count line numer on reading
2005-03-07 22:18:40 +00:00
Marcus Boerger
6bd8257607
- Fix proto
...
- Do not try to write zero bytes
2005-03-07 22:10:08 +00:00
Marcus Boerger
cf6711abfa
- Length needs to be positive
2005-03-07 21:54:08 +00:00
Marcus Boerger
97655f8a3b
- Make maic qutes runtime work if length is specified too
2005-03-07 21:52:34 +00:00
Marcus Boerger
85ebbd28a0
- Delay memory allocation, speeds up faiure case
2005-03-07 21:28:38 +00:00
Ilia Alshanetsky
975ff6f5d5
Added htmlspecialchars_decode() function for fast conversion from
...
htmlspecialchars() generated entities back to characters.
2005-03-07 19:37:27 +00:00
Ilia Alshanetsky
0c9610fc9d
Fixed bug #32210 (proc_get_status() sets "running" always to true).
2005-03-07 16:17:12 +00:00
Magnus M��tt�
12e60c9c1e
Add test 017.
2005-03-07 15:52:58 +00:00
Marcus Boerger
1d54f897ca
- Fix problem with some plain c pedantic compilers
2005-03-07 08:04:47 +00:00
Marcus Boerger
7bbbfa3f15
- Add new tests
2005-03-07 01:39:12 +00:00
Marcus Boerger
3960865e8e
- In File::fgetcsv() use max length from object
2005-03-07 01:00:29 +00:00
Marcus Boerger
40bf907541
- Add File object
2005-03-07 00:40:57 +00:00
Marcus Boerger
7fbc91acce
- Allow length 0 as default (e.g. skip param)
2005-03-07 00:16:18 +00:00
Marcus Boerger
89f320755d
- Use new objects
2005-03-06 23:09:21 +00:00
Marcus Boerger
16f0329a52
- Fix problem with exception in other methods, too
2005-03-06 23:07:43 +00:00
Marcus Boerger
f3970b8076
- Add intefaces from zend_interface.h as macros
2005-03-06 22:57:45 +00:00
Marcus Boerger
0d1e43711a
- Fix problem with exceptions in hasChildren calls
2005-03-06 22:57:05 +00:00
Marcus Boerger
ef64180c90
- Actuall the comments were correct
2005-03-06 22:18:09 +00:00
Marcus Boerger
86ac9559be
- Fix by Tim
2005-03-06 22:15:35 +00:00
Marcus Boerger
5830e46a84
- Bugfix #28840 __destruct of a class that extends mysqli not called
2005-03-06 21:40:01 +00:00
Ilia Alshanetsky
96d7eebce8
Make html_entity_decode() 15-20% faster by avoiding pointless string
...
duplication.
2005-03-06 19:36:51 +00:00
foobar
6d6e939f9b
- Moved ext/fam and ext/mnogosearch to PECL
2005-03-06 19:24:21 +00:00
Ilia Alshanetsky
c8687cdb79
Fixed bug #29424 (width and height inverted for JPEG2000 files).
2005-03-06 17:03:43 +00:00
Dan Scott
48a6151051
Test PDO::beginTransaction and PDO::rollBack.
2005-03-05 21:03:12 +00:00
John Coggeshall
81c161d0a7
Opps.
2005-03-05 17:55:45 +00:00
Dan Scott
fc825e2071
Missed this one...
2005-03-05 15:48:54 +00:00
Dmitry Stogov
eff0d65240
Fixed bug #32115 (dateTime encoding of timezone incorrect)
2005-03-05 13:27:13 +00:00
Marcus Boerger
e4ce3e36ef
- Negative seeking is not supported
2005-03-05 11:35:13 +00:00
John Coggeshall
5fe241ff64
Starting tests....
2005-03-05 01:13:10 +00:00
Andrei Zmievski
f8fc9a3256
Check that object can actually return a class entry. I need this for a
...
class-entry-less helper objects that should not be present in the class
table.
2005-03-05 00:45:47 +00:00
Rob Richards
d42656b033
use php streams for uri I/O under PHP 4
2005-03-04 15:41:33 +00:00
Marcus Boerger
f76f510185
- Add tests
...
- Fix testname
- Drop unnecessary include line (was wrong anyway)
2005-03-04 01:29:27 +00:00
Dan Scott
5ce920f189
One more PDO_ODBC test (tested with DB2 V8.2).
2005-03-03 20:30:38 +00:00
Dan Scott
dc4501cf99
Next three tests for PDO_ODBC (tested with DB2 V8.2).
2005-03-03 20:23:29 +00:00
Dan Scott
12f1993f8e
Next batch of tests for PDO_ODBC (tested against DB2 V8.2).
2005-03-03 13:53:55 +00:00
Dan Scott
49d1349b9a
Begin porting standard PDO tests to PDO_ODBC, testing against DB2.
2005-03-03 11:49:35 +00:00
Marcus Boerger
d9145daa61
- Rename test 14 to 16 (which is a new one) and MFB 14 again
2005-03-03 10:48:02 +00:00
Marcus Boerger
7cca51e97e
- Fix bug #32134
2005-03-03 10:35:34 +00:00
Ilia Alshanetsky
09a8f38e39
Fixed bug #32160 (file truncation in copy() when source & destination are
...
the same).
2005-03-03 03:29:23 +00:00
Marcus Boerger
a50157121d
- Finish work on spl_autoload*()
2005-03-03 00:20:57 +00:00
Marcus Boerger
30ee47c1d8
- Let spl_autoload_extensions() always return what's registered
2005-03-02 20:59:06 +00:00
Moriyoshi Koizumi
e628f2d9fa
- Add testcases for bug #32001
2005-03-02 19:27:37 +00:00
Rob Richards
c90305cb2e
Fixed bug #31033 (php:function(string, nodeset) with xsl:key crashes PHP)
...
- only in 5.1 branch for now due to significance of change
2005-03-02 18:27:25 +00:00
Stefan Esser
4d5599f6e0
Fixed possible bufferoverflow
2005-03-02 18:21:45 +00:00
Rob Richards
bd5e6e6232
Fixed bug #32001 (xml_parse_into_struct() exceeds maximum execution time)
2005-03-02 18:13:34 +00:00
Marcus Boerger
5cb7104630
- Add new functions
2005-03-02 01:14:41 +00:00
Marcus Boerger
f33adafab7
- Update docu
2005-03-01 23:44:05 +00:00
Ilia Alshanetsky
71b9b512cc
Fixed bug #31792 (getrusage() does not provide ru_nswap value).
2005-03-01 21:32:25 +00:00
Magnus M��tt�
865c23e947
Add Oracle tests for PDO.
2005-03-01 21:09:12 +00:00
Anantha Kesari H Y
033a45903c
NetWare allows directory seperator as \ and /
2005-03-01 14:59:37 +00:00
Stefan Esser
14abc19a76
Handle last or broken JP2 boxes correctly.
2005-03-01 13:53:02 +00:00
Antony Dovgal
6dac68f669
fix SIGFPE in gmp_powm(), gmp_sqrt() & gmp_sqrtrem() when using negative values
...
do not allow negative value to be passed to gmp_fact()
2005-03-01 13:09:33 +00:00
Marcus Boerger
67fd1f2654
- MFB
2005-03-01 10:14:18 +00:00
Marcus Boerger
9001280387
- Fix #32130 (ArrayIterator::seek() does not throw an Exception on invalid index)
2005-03-01 10:06:11 +00:00
Marcus Boerger
76c5d53993
- Need to store class entry
2005-03-01 10:05:12 +00:00
foobar
c61608ef35
update
2005-03-01 09:26:28 +00:00
foobar
3f320607ab
touch
2005-03-01 01:45:34 +00:00
Marcus Boerger
a4521139da
- Reserve some bits for flags
2005-02-28 22:37:13 +00:00
Marcus Boerger
6ce9bcc31e
- Need to drop ce until engine gets fixed
2005-02-28 19:23:56 +00:00
Marcus Boerger
eb330a95f6
- Fix warning
2005-02-28 18:44:14 +00:00
Marcus Boerger
d072f6de54
- Changing handler table definitively results in SEGVs
2005-02-28 18:40:02 +00:00
Stefan Esser
e2f1b375a2
This way around for correct error messages
2005-02-28 16:32:49 +00:00
Stefan Esser
b7476a5bd6
Drop invalid arrays
2005-02-28 16:22:39 +00:00
Joe Orton
bc1c0c2e12
Fix type mismatch.
2005-02-28 13:30:50 +00:00
Rasmus Lerdorf
99f832a206
If pdo is disabled, skip all the pdo extensions.
2005-02-28 08:18:47 +00:00
Pierre Joye
ee49617830
- WS
2005-02-28 08:16:47 +00:00
Pierre Joye
4901a8e2b8
- create LIBXML_VERSION and LIBXML_DOTTED_VERSION constants
2005-02-28 08:13:35 +00:00
Wez Furlong
742b0ab676
build bundled sqlite on win32
2005-02-28 03:23:56 +00:00
Wez Furlong
c145e5a7e3
juggle around a bit; commit generated file
2005-02-28 03:21:52 +00:00
Wez Furlong
f58e2006d5
fix for PECL Bug #3452
2005-02-28 01:30:14 +00:00
Marcus Boerger
fdc3fce335
- Fix missapplied logic inversion
2005-02-28 01:08:07 +00:00
Marcus Boerger
8de753f09e
- Add tests
2005-02-27 23:15:52 +00:00
Marcus Boerger
fef7cb4e29
- Disable direct serializing for PHP 5.0
2005-02-27 22:58:08 +00:00
Marcus Boerger
6b18b88b2c
- Allow default fetch mode to contain fetch flags
2005-02-27 22:48:14 +00:00
Marcus Boerger
d0a76e992b
- Add new test
2005-02-27 22:39:35 +00:00
Marcus Boerger
03a4a8c11d
- Add some fetch column related capailities
...
- Add direct (classtype based) unserializing capabilities
2005-02-27 22:32:11 +00:00
Marcus Boerger
893e9c0498
- Add new test
2005-02-27 22:25:11 +00:00
Marcus Boerger
c4bc32ff7b
- Add two new methods
...
- Fix signature, no need to cast it
2005-02-27 22:21:17 +00:00
Hartmut Holzgraefe
f7e8fcb8e0
fully distinguish between database and statement level errors
2005-02-27 20:34:36 +00:00
Ilia Alshanetsky
0367674517
Fixed compiler warnings.
2005-02-27 17:08:18 +00:00
Hartmut Holzgraefe
dd7d41e938
use fetch_fields only once and remember the result
2005-02-27 12:43:23 +00:00
Hartmut Holzgraefe
04f2f981e0
changed the error checks on result set retrieval
...
UPDATEs not modifying anything are not actually bugs
2005-02-27 12:15:47 +00:00
Hartmut Holzgraefe
81770f3c39
no need to check for execution status, always free a result set if there
...
is one
2005-02-27 12:05:46 +00:00
Hartmut Holzgraefe
fa5070b39c
just to be sure ...
2005-02-27 11:55:39 +00:00
Hartmut Holzgraefe
beb7151936
cols
2005-02-27 11:46:38 +00:00
Hartmut Holzgraefe
8725ed75cd
CS / whitespace
2005-02-27 11:42:18 +00:00
Hartmut Holzgraefe
d3fcc41be7
use auto generated error -> state mappings
2005-02-27 11:39:15 +00:00
Hartmut Holzgraefe
4c4ec3c5db
line endings
2005-02-27 11:36:07 +00:00
Hartmut Holzgraefe
409a94ffea
error code mapping (generated from mysql 5 sql_state.h file using
...
the get_error_codes.php script)
2005-02-27 11:31:49 +00:00
Stanislav Malyshev
634a5ec6f8
fix typo
2005-02-27 11:30:41 +00:00
Hartmut Holzgraefe
49a383ef4f
initial checkin
2005-02-27 11:29:17 +00:00
Sara Golemon
00c6078ff1
Enum filters in phpinfo()
2005-02-27 08:12:12 +00:00
Wez Furlong
ae5649598d
upgrade bundled sqlite to sqlite 3.1.3
2005-02-27 05:20:19 +00:00
Wez Furlong
cbe40ddd2d
fix comma
2005-02-27 01:30:58 +00:00
Wez Furlong
2c5b2fc105
Alan: moved your fields away, but reserved you a pointer.
...
Changed PDO::lastInsertId() to have following proto:
string PDO::lastInsertId([string name])
this allows arbitrary unique identitifers to be returned from the driver.
The optional name parameter is for databases that require additional contextual
information to be able to return the correct identifier. None currently use
it, but pgsql will be on the list of drivers that do.
2005-02-26 17:27:51 +00:00
Wez Furlong
31239f2130
*cough*
2005-02-26 16:03:55 +00:00
Wez Furlong
09fee0bf21
and the generated file
2005-02-26 15:45:43 +00:00
Wez Furlong
b4ad599df2
fix for PECL #3545
2005-02-26 15:44:38 +00:00
Wez Furlong
31f5f8f907
fix line endings
2005-02-26 15:41:54 +00:00
Wez Furlong
8be87fbab0
fix broken line endings
2005-02-26 15:35:41 +00:00
Marcus Boerger
f6bf9e67a8
- Make detection work for macros
2005-02-26 02:15:00 +00:00
Marcus Boerger
ec2babc448
- Simplify
2005-02-26 02:06:49 +00:00
Marcus Boerger
74dba52933
- Prepare for db1.85 emulation with db3
2005-02-26 01:05:33 +00:00
Marcus Boerger
9ffeb12c4c
- Add support for db1 through emulation
...
# Most probably db4 requires a slightly different detection since functions
# are macros which most probably doesn't work with current configure check.
2005-02-25 23:51:53 +00:00
Frank M. Kromann
28dbc778d8
FreeTDS does not have support for DBTEXTLIMIT
2005-02-25 23:24:18 +00:00
Frank M. Kromann
9d0e081c56
Kill warnings. There should be no need for this flag as it's already defined in libxml headers.
2005-02-25 22:59:26 +00:00
Marcus Boerger
d907a500bd
- Align
2005-02-25 20:02:45 +00:00
Antony Dovgal
4707b43193
fix bug preventing from building oci8 as shared module
...
(patch by stanislav dot voroniy at portavita dot nl)
2005-02-25 11:31:10 +00:00
Georg Richter
2e2bfb83c4
fix for bug #31939
2005-02-25 08:43:41 +00:00
Marcus Boerger
5b1af1c1ed
- Change to enable (synch with unix build system)
2005-02-25 01:17:45 +00:00
Ilia Alshanetsky
a3085602d0
Fixed bug #32081 (default socket value is not being used).
2005-02-24 23:58:59 +00:00
Marcus Boerger
89d75d5c9c
- Little speed up
2005-02-24 20:22:40 +00:00
Marcus Boerger
72dc2d1025
- This must be == 1
2005-02-24 20:22:18 +00:00
foobar
34805e8d39
- Fixed all buildconf warnings + cross-compiling issues
2005-02-24 19:27:10 +00:00
foobar
129a8a7607
- Generated with re2c 0.9.4
2005-02-24 17:50:20 +00:00
Pierre Joye
a6b93ee6a0
- we do not use any global
2005-02-24 15:35:56 +00:00
Pierre Joye
ec93388662
- we do not need this function anymore
2005-02-24 15:30:24 +00:00
Pierre Joye
19c1535ae5
- revert previous commit, use libxml version to enable or not a function
...
(safer)
- add xmlwriter_flush, flush the buffer, works with both file and mem
buffer, BC kept
- use ifdef for the function implementation
(Rob, Pierre)
2005-02-24 15:08:37 +00:00
Stanislav Malyshev
8919a7ae08
fix typo
2005-02-24 10:58:16 +00:00
Marcus Boerger
f982890a58
- Missed during last committs somehow
2005-02-24 00:14:50 +00:00
Marcus Boerger
30f870f957
- Prevent superflous memory allocation
2005-02-24 00:12:15 +00:00
Marcus Boerger
b89fda667f
- Drop driver name from generic tests and reserve those names for driver
...
specific tests.
# Well a little design correction
2005-02-24 00:11:16 +00:00
Ilia Alshanetsky
fac3e54ad9
Additional safety checks.
...
# More to follow
2005-02-23 23:39:36 +00:00
Marcus Boerger
b786b93b7a
- Delay ctor call so that it can overwrite everything and the data can
...
already be accessed from the ctor.
2005-02-23 23:28:30 +00:00
Marcus Boerger
03c03f5890
- Checks for older versions of libxml2
2005-02-23 23:02:01 +00:00
Marcus Boerger
3f5e714d7b
- Slightly redesign
...
# More to follow, explanation follows at more public place
2005-02-23 22:49:32 +00:00
Rasmus Lerdorf
06aede5b5d
Filter skeleton code. No actual filters yet.
2005-02-23 22:41:43 +00:00
Ard Biesheuvel
f21ab2f60f
Fixed bug #31597 : ibase_connect() - incorrect warning
2005-02-23 20:20:25 +00:00
Ilia Alshanetsky
bd0d48f7a5
Fixed compiler warning.
2005-02-23 18:53:09 +00:00
Ilia Alshanetsky
5ffe5a485d
MFB_4_3: Fixed bug #29521 (compress.bzip2 returns error when used with http
...
wrapper).
2005-02-23 18:48:49 +00:00
Stefan Esser
0ef1f50383
Correcting bounds check before someone uses this code
2005-02-23 18:26:39 +00:00
Ard Biesheuvel
b9b03a7feb
Added search for libfbclient
2005-02-23 17:44:22 +00:00
Moriyoshi Koizumi
d2627b5107
- Synch with the latest checkouts. (include fix by Joe Orton. Thanks.)
2005-02-23 13:35:34 +00:00
Derick Rethans
30d9fd6bba
- Fixed bug #32076 (ReflectionMethod :: isDestructor() always return true)
...
(Patch by Antony Dogval)
2005-02-23 12:20:04 +00:00
Rob Richards
6966023564
fix libxml versions for comments
2005-02-23 11:25:32 +00:00
Stanislav Malyshev
db3fdce304
Custom object serializer infrastructure - PHP implementation
...
# The detailed announce on the list will follow
2005-02-23 11:17:52 +00:00
Marcus Boerger
e0c445d9b1
- Update docu
2005-02-23 01:34:14 +00:00
Marcus Boerger
3f1738f96d
- Add new tests
2005-02-23 01:13:13 +00:00
Marcus Boerger
5f1c3f4a7e
- Allow to convert traversable into Iterator
2005-02-23 01:03:16 +00:00
Marcus Boerger
3cb441df9a
- Add new tests
2005-02-23 00:56:34 +00:00
Marcus Boerger
40d180a87d
- Reorganize ctor_args handling (fixes some bugs)
2005-02-23 00:52:46 +00:00
Marcus Boerger
effe989d91
- Show that PDOStatement implements Traversable
2005-02-23 00:52:14 +00:00
Marcus Boerger
77cf78caa1
- Make ctor args optional
2005-02-23 00:29:44 +00:00
Marcus Boerger
994006abd4
- Need to also revert operator
2005-02-22 21:22:23 +00:00
Marcus Boerger
d235a2bf4a
- Put this back in (forgot to revert)
2005-02-22 20:59:52 +00:00
Marcus Boerger
cb9658feef
- Revert signature of PDO:prepare()
...
old: proto object PDO::prepare(string statment [, array driver_options [, string classname ]])
now: proto object PDO::prepare(string statment [, array options])
param 'classname' and and 'ctor_args' are now set through options
using index PDO_ATTR_STATEMENT_CLASS
- Change all deriver_options parameters to 'options' to reflect the fact
that they may contain statement as well as driver specific flags
2005-02-22 20:25:56 +00:00
Marcus Boerger
3c743e3a98
- Allow to derive PDOStatement
...
- Verify fetch modes
- Add last fetch mode PDO_FETCH_FUNC (only valid inside fetchAll()) that
allows to completley customize the way data is treated on the fly
2005-02-22 19:27:34 +00:00
Ilia Alshanetsky
d97da3e222
Fixed bug #31288 (Possible crash in mysql_fetch_field(), if
...
mysql_list_fields() was not called previously).
2005-02-22 14:58:49 +00:00
Marcus Boerger
18985accc4
- Call dtor
2005-02-22 11:37:53 +00:00
Moriyoshi Koizumi
20f709f339
- Update libmbfl (fixes bug #32063 ).
2005-02-22 09:57:45 +00:00
Pierre Joye
0802829ad4
- ifdef all (protos and functions) and using the correct version
...
- fix protos ending
- ws
2005-02-22 08:05:05 +00:00
Ilia Alshanetsky
c7b931d80d
Fixed bug #31515 (Improve performance of scandir() by factor of 10 or so).
2005-02-22 00:24:13 +00:00
Marcus Boerger
ab8f1f316b
- Add new test
2005-02-21 18:55:51 +00:00
Marcus Boerger
74b1cee57f
- Show warnings
2005-02-21 18:54:45 +00:00
Hartmut Holzgraefe
0ef339df92
"SET SESSION" is not supported by MySQL 3.23, as session is the default
...
scope for SET anyway we can drop the SESSION specifier (PECL Bug #3470 )
2005-02-21 16:10:03 +00:00
Pierre Joye
ec684f72f8
- examples usage, initial commit
2005-02-21 15:31:35 +00:00
Moriyoshi Koizumi
3093ceb3da
- WS fix.
2005-02-21 15:14:32 +00:00
Moriyoshi Koizumi
0d7845384f
- Fix bug #28568 (known_post_content_types is not thread safe).
...
# What is eventually necessiated is entire SAPI redesign, I think.
2005-02-21 15:14:02 +00:00
Pierre Joye
46eb3e977c
- add xmlTextWriterStartComment and xmlTextWriterEndComment support
2005-02-21 15:05:54 +00:00
Ard Biesheuvel
bafbe90392
Fixed PECL bug #3527 : Missing quotation marks in php_pdo_firebird_int.h
2005-02-21 13:57:02 +00:00
Moriyoshi Koizumi
01c0d589ef
- Fix bug #30868 (evaluated pointer comparison in mbregex causes compile
...
failure).
2005-02-21 10:19:11 +00:00
Moriyoshi Koizumi
e8901dc170
- Fix bug #30573 (compiler warning due to invalid type cast)
2005-02-21 10:12:43 +00:00
Anantha Kesari H Y
459313c26d
In NetWare LibC WTERMSIG is avaliable as WIFTERMSIG
2005-02-21 09:50:48 +00:00
Anantha Kesari H Y
bf427d4a0d
NetWare LibC has pwd.h. Removed unwanted extern basic_globals_id declaration for Netware.
2005-02-21 09:44:58 +00:00
Moriyoshi Koizumi
d7d7ca62d4
- Fix bug #29989 (type re_registers redefined in oniguruma.h)
2005-02-21 09:43:55 +00:00
Anantha Kesari H Y
3e204f3e07
NetWare has pwd.h and removed unwanted check on NEW_LIBC while including param.h
2005-02-21 09:17:30 +00:00
Anantha Kesari H Y
8bd83a53ac
NetWare LibC has pwd.h
2005-02-21 09:12:44 +00:00
Anantha Kesari H Y
f43386764f
In NetWare statfs f_bavail member is known as f_bfree
2005-02-21 09:08:54 +00:00
Moriyoshi Koizumi
8d73dc7bfc
- Fix compiler warnings.
2005-02-21 07:57:08 +00:00
Moriyoshi Koizumi
df3c2b5808
- Add testcases for bug #28220 and #30549 .
2005-02-21 07:45:37 +00:00
Hartmut Holzgraefe
fd39b78b39
fix for PECL bug #3529
2005-02-20 23:56:14 +00:00
Hartmut Holzgraefe
5f3dd68ac5
fix for PECL bug 3530
2005-02-20 23:08:34 +00:00
Pierre Joye
7eaece85a8
- zend_bool for boolean arg
2005-02-20 22:56:32 +00:00
Moriyoshi Koizumi
a796dc2b81
- Forgot to add this one.
2005-02-20 22:20:23 +00:00
Moriyoshi Koizumi
5b5e012bc2
- Update libmbfl (fixes bug #30549 and #31911 ).
...
- Update oniguruma to 3.7.0
2005-02-20 22:18:09 +00:00
Rob Richards
8913ddc295
use new error handling when not throwing exceptions
2005-02-20 22:01:24 +00:00
Rob Richards
b7cf6f4539
add function to allow extensions to use new error handling if set by user
2005-02-20 21:49:45 +00:00
Pierre Joye
f67803801e
- more zend_bool.
...
Fix flush buffer in output_memory
Fix isparm in start_dtd_entity
2005-02-20 19:31:52 +00:00
Marcus Boerger
a455c7abcb
- Shutup notices
2005-02-20 19:26:27 +00:00
Marcus Boerger
5a48f0ec38
- Add tests
2005-02-20 19:26:05 +00:00
Marcus Boerger
fc2276c955
- Change tests to use ' instead of " for string values becuase that is
...
working for more SQL dialects.
2005-02-20 19:25:17 +00:00
Marcus Boerger
f607beb486
- Forgot to change extension name
2005-02-20 19:12:55 +00:00
Pierre Joye
3e5b42a291
- int is not zend_bool, fixed indented output
2005-02-20 19:00:25 +00:00
Ilia Alshanetsky
1aab604198
Simplify Code.
2005-02-20 18:23:33 +00:00
Marcus Boerger
776144866c
- Add tests
2005-02-20 18:23:12 +00:00
Marcus Boerger
94c286f2ef
- Attempt at an unified test suite
2005-02-20 17:56:19 +00:00
Marcus Boerger
26677dd2a2
- Add test
2005-02-20 16:16:45 +00:00
Marcus Boerger
d56ce00b85
- Add fetch flag PDO_FETCH_CLASSTYPE
2005-02-20 16:12:57 +00:00
Marcus Boerger
567fd3159d
- Update tests
2005-02-20 15:28:31 +00:00
Marcus Boerger
3239a56526
- Only call the ctor once
2005-02-20 15:28:09 +00:00
Marcus Boerger
dcf89ff197
- Bump API
2005-02-20 15:07:29 +00:00
Marcus Boerger
5a2620349e
- Fix memleak and optimize PDO_FETCH_CLASS
2005-02-20 14:31:44 +00:00
Marcus Boerger
883ee83478
- Call ctor after initializing the props like regular db exts do
2005-02-20 13:42:03 +00:00
Marcus Boerger
44ab1ef86c
- Update test
2005-02-20 13:37:04 +00:00
Marcus Boerger
07a8ea220f
- Need to specify class_entry in PDO_FETCH_CLASS mode
2005-02-20 13:33:45 +00:00
Marcus Boerger
96e8cca9bc
- Add test
2005-02-19 23:58:03 +00:00
Marcus Boerger
6045a3a5e1
- Add test
2005-02-19 23:48:47 +00:00
Marcus Boerger
b788dc9d2a
- Add fetch mode PDO_FETCH_UNIQUE
2005-02-19 23:48:30 +00:00
Marcus Boerger
a452a445cf
- Simplify
2005-02-19 23:36:58 +00:00
Marcus Boerger
422e2b639e
- Add PDO_FETCH_GROUP test
2005-02-19 23:12:24 +00:00
Marcus Boerger
474fcab623
- Add PDO_FETCH_GROUP to fetchAll()
2005-02-19 23:11:23 +00:00
Marcus Boerger
1fee3962b0
- Update/Add tests
2005-02-19 21:50:46 +00:00
Marcus Boerger
41674da59f
- Add full PDO_FETCH_CLASS capabilities to fetchAll()
2005-02-19 21:49:42 +00:00
Marcus Boerger
e6a5ebbdab
- Default to stdClass in PDO_FETCH_CLASS mode if no classname is given
2005-02-19 21:35:31 +00:00
Marcus Boerger
89f1128cf4
- Add first tests
2005-02-19 19:52:41 +00:00
Marcus Boerger
253cd12753
- Regroup and add a test
2005-02-19 14:02:24 +00:00
Wez Furlong
cdbe7b7afa
add this note.
2005-02-18 15:39:22 +00:00
Wez Furlong
9653864fbd
prep for release
2005-02-18 15:32:14 +00:00
Wez Furlong
86708673fb
Fix connecting to remote host, patch by Tim Friebe
2005-02-18 15:11:27 +00:00
Derick Rethans
ff1687731d
- Fixed bug #32021 : Crash caused by range('', 'z')
2005-02-18 13:37:23 +00:00
Rob Richards
b1157ff8d9
Fragment must have associated document to append xml otherwise it is read-only
2005-02-18 11:57:24 +00:00
Rob Richards
e46e7309f8
Fixed bug #32011 (Fragments which replaced Nodes are not globaly useable)
2005-02-18 11:47:20 +00:00
Wez Furlong
3f0f701639
Update for pending PEAR release.
2005-02-18 01:39:36 +00:00
Ilia Alshanetsky
6af3197b90
Improved search paths.
2005-02-17 22:56:47 +00:00
Andi Gutmans
27b13ba47c
- Fix Bug #31960 : msql_fetch_row() and msql_fetch_array() dropping columns with NULL values
2005-02-17 20:11:20 +00:00
Ilia Alshanetsky
f2eb0acfcf
Fixed bug #27633 (Double \r\r problem on ftp_get in ASCII mode on Win32).
2005-02-17 15:37:24 +00:00
Joe Orton
4f4cb65300
Declare error_mapping array as static and more const.
2005-02-17 15:05:16 +00:00
Anantha Kesari H Y
5f243d7af7
NetWare LibC has pwd.h
2005-02-17 13:57:21 +00:00
Anantha Kesari H Y
67a2998335
NetWare libc has pwd.h
2005-02-17 13:56:49 +00:00
Wez Furlong
9296eb0fd2
George too
2005-02-17 04:50:49 +00:00
Wez Furlong
ede312933c
ran ./scripts/dev/credits to update credits to reflect recent removals and
...
additions.
2005-02-17 04:49:52 +00:00
Wez Furlong
55f53a5a96
symlinked pdo drivers under ext.
...
Enabled PDO and PDO_SQLITE by default.
Fixup PDO header detection so that it searches in the correct order, and
correctly picks up the headers when building from outside of the source
tree.
TODO: make pdo_XXX auto-enable when XXX is enabled. Volunteers welcome.
2005-02-17 04:23:15 +00:00
foobar
4585c15cb0
- Fixed bug #29554 (compile failure when using --with-pspell=/usr/local)
2005-02-17 03:51:19 +00:00
Marcus Boerger
80af3ac83d
- Add version information
2005-02-17 00:24:57 +00:00
Marcus Boerger
e9b635b6e7
- For now we need the simple way
2005-02-17 00:16:00 +00:00
foobar
3f9dc8814e
PHP_WIN32 is defined or not defined.
2005-02-16 23:47:38 +00:00
Wez Furlong
7215b2b8fb
use a number here, fixes PECL #3493
2005-02-16 18:09:26 +00:00
Edin Kadribasic
d388e4dc16
Enable mbstring use on windows. We were linking against mbstring for
...
some time now, but have never actually used it on Windows.
Fixes #31980 .
2005-02-16 09:53:26 +00:00
Ilia Alshanetsky
43d1785ea1
Fixed bug #31986 (Max nesting limit set too low).
2005-02-15 21:56:17 +00:00
Marcus Boerger
7956ca0211
- SQLite depends on SPL if it is present
...
- Add SQLiteResult::count()
- SQLiteResult implements Countable if present
2005-02-15 21:09:42 +00:00
Edin Kadribasic
2c306869c5
Fixed bug #3478 : handling of 64bit return values on 32bit machine
2005-02-15 12:41:24 +00:00
foobar
67a965a7e0
No tabs here
2005-02-15 01:44:10 +00:00
foobar
b6b3659224
- More sock->error resets
2005-02-14 23:44:23 +00:00
Edin Kadribasic
4a133ae725
ws fix
2005-02-14 23:40:24 +00:00
Edin Kadribasic
70e0849416
Added pg_field_type_oid() function
2005-02-14 23:36:16 +00:00
Edin Kadribasic
84a6e90b7d
Added missing defines ( #31751 )
2005-02-14 23:01:57 +00:00
foobar
a66b053ac9
- Removed duplicate error + reset error in new sockets
2005-02-14 22:16:06 +00:00
Marcus Boerger
3ab88a4718
- Disallow illegal class names (.c part)
2005-02-14 21:03:09 +00:00
Marcus Boerger
ff8055fc5c
- Disallow illegal class names
2005-02-14 20:58:22 +00:00
Wez Furlong
6c1c64c2e7
experimental hooks for alan.
...
Off limits to everyone else... pretend they are not there :)
2005-02-14 15:52:06 +00:00
Antony Dovgal
47e1961561
add markers for nice vim foldings
2005-02-14 13:38:09 +00:00
Antony Dovgal
7d4bf3ccd9
free errmsg & prevent leaks
2005-02-14 13:31:34 +00:00
Antony Dovgal
ff23184893
fix indentation and add check for PDO includes
2005-02-14 12:52:34 +00:00
foobar
28f0397803
Nuke unused code
2005-02-14 08:21:34 +00:00
Edin Kadribasic
6ff3368e1b
Simplify
2005-02-13 23:40:30 +00:00
Edin Kadribasic
14819d0f14
Allow pdo to be statically compiled in, while modules remain dynamic
2005-02-13 23:19:00 +00:00
Wez Furlong
06cf185298
fix pdo_mssql.dll build
2005-02-13 23:13:14 +00:00
Marcus Boerger
a57b6bad69
- Be more gracious in reflection API
2005-02-13 23:04:49 +00:00
Ilia Alshanetsky
cd0435b15a
Fixed test.
2005-02-13 19:23:53 +00:00
Marcus Boerger
21705a45bf
- Little code reordering
2005-02-13 18:30:26 +00:00
Marcus Boerger
f04134aee0
- Drop unneccessary rinit/rshutown,mshutdown
...
- Add protos
2005-02-13 18:14:34 +00:00
Marcus Boerger
ef2b59f772
- Expand tests to have it work inside PHP 5.0
2005-02-13 18:13:44 +00:00
foobar
3ca8ad73a4
- Missing $Id$ tags
2005-02-13 17:54:04 +00:00
Ilia Alshanetsky
f57b8d6dc5
Set auto-commit after establishing the connection, otherwise we have a crash.
2005-02-13 17:16:24 +00:00
Marcus Boerger
f860c70362
- In fetch mode PDO_FETCH_CLASS handle constructor args
...
- Add PDOStatement::fetchObject
2005-02-13 17:04:04 +00:00
Marcus Boerger
746d5490cf
- Use runtimeException as base if present (synch with other dbs)
2005-02-13 15:40:15 +00:00
Hartmut Holzgraefe
aedea8539c
no need to check for all functions of a group,
...
added check for prepared statement functions
2005-02-13 14:42:46 +00:00
Marcus Boerger
d308d6d462
- Rename
2005-02-13 13:57:51 +00:00
Marcus Boerger
0a9e940ab7
- Add new test
2005-02-13 13:50:30 +00:00
foobar
7281cd8082
MFB_4_3: cvs diff -r1.84.2.5 -r1.84.2.6 php_session.h
2005-02-13 07:55:27 +00:00
Hartmut Holzgraefe
1f98a966c5
fix aclocal "underquoted argument" warnings
2005-02-13 07:31:02 +00:00
Hartmut Holzgraefe
fc20765c5e
fix aclocal warning (newer versions are more strict about this)
2005-02-13 07:17:06 +00:00
Hartmut Holzgraefe
e087455493
add function existance check
2005-02-13 07:15:02 +00:00
Wez Furlong
427c5e0e4f
tidy up error case
2005-02-13 07:00:29 +00:00
Wez Furlong
0be93c95c9
prep for release
2005-02-13 06:56:16 +00:00
Hartmut Holzgraefe
b6828f5949
Fixed domain socket / named pipe handling
2005-02-13 06:52:45 +00:00
Wez Furlong
81999fdeba
Fix variable declaration
2005-02-13 06:42:19 +00:00
Wez Furlong
f2d2da300f
zts
2005-02-13 06:41:46 +00:00
Wez Furlong
47d1c2ad65
autocommit flag gets set always by PDO before invoking this method;
...
we should unconditionally inspect it here.
2005-02-13 06:37:29 +00:00
Wez Furlong
078b77619a
commit generated version of the .re
2005-02-13 06:30:36 +00:00
Wez Furlong
0da6a84edf
implement mapping of :name to ? parameters for drivers that only support ?
...
placeholders.
The current restriction is that you may not use the same named parameter
more than one in a given query, as there is a danger of scary things happen
with the zval if it gets bound multiple times.
2005-02-13 06:29:35 +00:00
Wez Furlong
2a32b478f9
typo-fix error message
2005-02-13 06:27:03 +00:00
Wez Furlong
5edd570b94
Correct the pdo header search order
2005-02-13 06:26:48 +00:00
Wez Furlong
fc51fd11b6
it's only an error in emulation mode; rewrite happens in prepare, which
...
happens before bindParam
2005-02-13 04:00:22 +00:00
Edin Kadribasic
ab9821d8c3
Do not shout :)
2005-02-13 03:27:48 +00:00
Wez Furlong
1051e7076f
Fixes the crash part of PECL Bug #3434 .
2005-02-13 03:26:43 +00:00
Wez Furlong
0aa82c3c83
same fix here
2005-02-13 03:15:11 +00:00
Wez Furlong
bee7f3d0ac
correct backwards logic
2005-02-13 03:01:38 +00:00
Wez Furlong
08f683a645
Probably fix pecl vs bundled-shared build
2005-02-13 02:51:11 +00:00
Wez Furlong
4d80aaf47a
try to handle OSX issues more gracefully
2005-02-13 01:54:59 +00:00
Wez Furlong
4dc3b75569
possible fix for snaps box
2005-02-13 01:32:27 +00:00
Antony Dovgal
175bf7e9a3
set username && password only if they were specified
2005-02-13 00:57:48 +00:00
Hartmut Holzgraefe
486370dc7c
autocommit setting done right
2005-02-13 00:55:16 +00:00
Hartmut Holzgraefe
5d4fb518ae
added MySQL transaction support
2005-02-13 00:51:17 +00:00
Ilia Alshanetsky
5904d59ffd
Fixed compiler warnings.
2005-02-12 20:58:29 +00:00
Ilia Alshanetsky
9b394af973
Simplify code and fix compiler warning.
2005-02-12 20:55:28 +00:00
Ilia Alshanetsky
e5a906dcb9
Updated version without compiler warnings.
2005-02-12 20:34:20 +00:00
Marcus Boerger
1a35bcfcbc
- Add new test
2005-02-12 18:40:19 +00:00
foobar
f485fc1a83
Missed one place..
2005-02-12 18:29:42 +00:00
foobar
751712628a
This was not good idea.
2005-02-12 18:27:22 +00:00
foobar
30deea4d30
Remove unused set_h_errno
2005-02-12 18:14:03 +00:00
Wez Furlong
9e31b10531
prep for release
2005-02-12 08:23:32 +00:00
Wez Furlong
002545fffb
Fix bundled sqlite build (doh!)
2005-02-12 08:20:17 +00:00
Wez Furlong
91eab3e5bc
typo
2005-02-11 02:05:05 +00:00
Wez Furlong
1f06eb1c5c
update in anticipation of a release later tonight
2005-02-11 01:22:44 +00:00
Wez Furlong
ccd242665b
Fix PDO::query() for drivers that emulate bound parameters.
2005-02-11 01:20:59 +00:00
Rob Richards
bb9ba8e36e
fix segfault when retval_ptr is empty - such as when exception thrown
2005-02-10 22:59:26 +00:00
Hartmut Holzgraefe
2c6b600a90
test case for Bug #30266
2005-02-10 22:55:52 +00:00
Antony Dovgal
5b78e4c025
hm..
...
fix #28324 _properly_
2005-02-10 20:22:07 +00:00
Antony Dovgal
94982058b6
fix bug #28324 (HTTP_SESSION_VARS appear when register_long_arrays is Off)
2005-02-10 19:38:11 +00:00
Rob Richards
4967138514
initial cut of new error handling
2005-02-10 15:52:38 +00:00
Pierre Joye
162b91136c
- fix #30745 and #31853 (php-bugs at demark dot org, pierre)
2005-02-10 14:31:32 +00:00
Ilia Alshanetsky
f257e10d48
Removed unused vars.
2005-02-10 14:11:06 +00:00
Wez Furlong
877a2bd690
prep for release
2005-02-10 02:06:49 +00:00
Wez Furlong
69cbb7f958
prep for release
2005-02-10 01:56:20 +00:00
Wez Furlong
e9f5fb53f3
only do this magic on non-win32 platforms
2005-02-10 01:34:39 +00:00
Wez Furlong
3b857ea987
rename ancient method
2005-02-09 23:34:53 +00:00
Frank M. Kromann
d2ae18d76e
change return value from false to true, when a statement was executed with warnings
2005-02-09 19:32:03 +00:00
Frank M. Kromann
4b0d9e2319
Check for warnings and return the warning texts
2005-02-09 18:49:38 +00:00
Ilia Alshanetsky
ee0e2d0ea3
Touch file.
2005-02-09 17:06:13 +00:00
Ilia Alshanetsky
cd6d5fb18f
Fixed compile warnings.
2005-02-09 16:33:00 +00:00
Rasmus Lerdorf
4909775f04
Fix for bug #31901
2005-02-09 16:22:48 +00:00
Ilia Alshanetsky
2196c4335b
kill unused var
2005-02-09 16:14:50 +00:00
Ilia Alshanetsky
1b3dd5db8b
remove unused vars.
2005-02-09 15:56:27 +00:00
Wez Furlong
94d5261f73
cosmetic changes
2005-02-09 15:12:41 +00:00
Wez Furlong
ad60999858
proper fix for PECL Bug #3412
2005-02-09 14:32:04 +00:00
Rob Richards
08592b38da
Fixed bug #31878 (Segmentation fault using clone keyword on nodes)
2005-02-09 11:46:43 +00:00
Wez Furlong
1cdde9e3ed
update with changes
2005-02-09 07:02:00 +00:00
Wez Furlong
211206b2e4
Add PDO_ATTR_TIMEOUT support.
...
Fix PECL Bug #3391
2005-02-09 07:00:00 +00:00
Wez Furlong
f6aa8f5d90
keep a log here for now
2005-02-09 06:44:08 +00:00
Wez Furlong
902ca8c1cf
Expose the quoter method of the driver as PDO::quote().
...
Closes PECL Bug #3393
2005-02-09 06:43:15 +00:00
Wez Furlong
d57a169500
typo fix
2005-02-09 06:14:48 +00:00
Wez Furlong
dbaa3bfdfa
hope it works!
2005-02-09 05:26:38 +00:00
Wez Furlong
c28a0b9fcb
disable dep
2005-02-09 05:18:02 +00:00
Wez Furlong
44cec3d456
disable dep for pecl release
2005-02-09 05:12:41 +00:00
Wez Furlong
201ec3dc02
prep for release
2005-02-09 05:04:40 +00:00
Wez Furlong
3047ced496
prep for possible release
2005-02-09 05:00:58 +00:00
Wez Furlong
229ea4bbfc
update ready for release.
...
Disable dependency macro for compatibility with existing PHP 5.0.x releases.
2005-02-09 04:57:32 +00:00
Wez Furlong
b9a951aa1a
be realistic...
2005-02-09 04:56:10 +00:00
Wez Furlong
5a2cb4154a
update ready for release
...
# includes big hack to help guide people into running "make install" so
# that the headers get installed; works around a pear bug.
2005-02-09 04:54:56 +00:00
Wez Furlong
5304374fc5
fix typo
2005-02-09 00:38:11 +00:00
Marcus Boerger
3fb1c65a41
- Initial Observer implementation
2005-02-08 20:42:48 +00:00
Marcus Boerger
2e8b9c005b
- Update to 2005
2005-02-08 19:10:06 +00:00
Marcus Boerger
2f9662d156
- Fix year and speling
2005-02-08 19:05:25 +00:00
Marcus Boerger
e5fe40eac9
- Actually these are private
2005-02-08 19:00:19 +00:00
Ilia Alshanetsky
891745776e
Removed pointless operations/declarations.
2005-02-08 15:30:42 +00:00
Ilia Alshanetsky
55fd7ac601
Added optional maxlen parameter to file_get_contents().
2005-02-08 15:25:45 +00:00
Antony Dovgal
bc27a2af7a
move ext/cpdf to PECL
2005-02-08 13:40:37 +00:00
Rasmus Lerdorf
bf7cb1179a
Don't need MSHUTDOWN either here
2005-02-08 05:25:48 +00:00
Rasmus Lerdorf
3baf795c17
Get rid of more useless RINIT/RSHUTDOWN calls
2005-02-07 23:04:00 +00:00
Ilia Alshanetsky
aa6cb1055b
Fixed bug #31527 (crash in msg_send() when non-string is stored without
...
being serialized).
2005-02-07 22:31:19 +00:00
Rasmus Lerdorf
9c530d79e7
No reason to call empty RINIT, RSHUTDOWN and MSHUTDOWN functions here
2005-02-07 22:16:46 +00:00
Marcus Boerger
a8552cb2f9
- Add missing '?>'
2005-02-07 16:27:41 +00:00
Antony Dovgal
96610aee08
fix leaks on shutdown
...
fix leaks appearing when trying to open several "databases"
2005-02-07 13:30:45 +00:00
Wez Furlong
dbcf51b5a8
a working implementation of LOB input parameters for ODBC.
...
however: when sending in a string from the script, we get a 1 byte overflow
of the pdo parameter structure... Need to install valgrind on the test box
2005-02-07 04:13:32 +00:00
Wez Furlong
ac018c38a8
This might allow piecewise sending of LOB data for input parameters.
2005-02-07 03:27:54 +00:00
Wez Furlong
ae5958570b
update
2005-02-07 01:21:58 +00:00
Wez Furlong
29380a8e54
update for input/output parameters change
2005-02-07 01:17:24 +00:00
Wez Furlong
501000f129
Implement input/output parameters
2005-02-07 01:16:16 +00:00
Wez Furlong
36e3ea8cb2
add input/output parameter type flag
2005-02-07 01:12:49 +00:00
Wez Furlong
504afcfc5a
and the generated file
2005-02-07 00:26:38 +00:00
Wez Furlong
2bd3536041
handle input LOBs (which are passed as streams) in bound parameter emulation.
...
Update error handling.
2005-02-07 00:26:22 +00:00
Wez Furlong
af162668e5
fix pointer indirection (and thus leak)
2005-02-07 00:04:20 +00:00
Wez Furlong
7279fe8ab0
centralize this define
2005-02-07 00:02:51 +00:00
Wez Furlong
61981912f8
hmmm
2005-02-06 23:58:53 +00:00
Wez Furlong
d134fb2a8d
update for api changes
2005-02-06 23:22:37 +00:00
Wez Furlong
1069cefada
support sucking data from streams in file_put_contents()
2005-02-06 23:05:24 +00:00
Ilia Alshanetsky
917648a232
Fixed possible un-initialized var on error.
2005-02-06 22:58:46 +00:00
Edin Kadribasic
22ff90f7ba
Adjust for the new get_col api
2005-02-06 22:48:35 +00:00
Wez Furlong
d87c5ec288
update for api changes
2005-02-06 22:34:53 +00:00
Wez Furlong
3130ed3066
make configure smarter.
...
Update for new get_col() signature
2005-02-06 22:25:33 +00:00
Wez Furlong
ccf0a6a557
add a caller_frees parameter to get_col() to allow drivers that need
...
to allocate data on demand to do so without worrying about cleaning it up.
Spec out how LOB parameters are returned.
2005-02-06 22:11:12 +00:00
Wez Furlong
e3ba31e899
better handling of pdo-level errors
2005-02-06 21:05:59 +00:00
Wez Furlong
ec98e744be
touch again
2005-02-06 21:05:28 +00:00
Wez Furlong
474a65e277
update todo
2005-02-06 19:59:32 +00:00
Wez Furlong
c56419ed78
support getting some more attributes
2005-02-06 17:49:48 +00:00
Wez Furlong
ca4dc0361c
this one too
2005-02-06 17:33:12 +00:00
Wez Furlong
9ba84360e3
handle some generic attributes here
2005-02-06 17:25:09 +00:00
Wez Furlong
b2126a848a
This will probably fix PECL Bug #3273
2005-02-06 16:46:18 +00:00
Wez Furlong
257dfcdde7
touch file
2005-02-06 16:29:33 +00:00
Timm Friebe
5eb673d1cb
- Made error handler not output anything if error was not in error_reporting() mask
2005-02-06 14:08:11 +00:00
Timm Friebe
ca250d16dc
- Fixed error handler for situations in which an error
...
was raised in an include file
2005-02-06 14:06:21 +00:00
Timm Friebe
6a4d498af4
- Initial release
...
# Used for being able to run .phpt-files in a webserver environment
# Incomplete and pretty basic but serves its purpose ATM
2005-02-06 13:35:09 +00:00
Timm Friebe
57fa001979
- Prefixed all temporary names with "phpt_"
2005-02-06 12:59:03 +00:00
Timm Friebe
2a595d116e
- Initial release
...
# Works perfectly with php-cli
2005-02-06 11:58:53 +00:00
Timm Friebe
e47835b90e
- "Unified" test name
2005-02-06 11:58:18 +00:00
Edin Kadribasic
accdde8c19
Finalized pgsql LOB support using native pgsql bytea type.
...
If paramater is bound with type PDO_PARAM_LOB the quoter function
gets a hint that specific LOB type quoting should be used:
$stmt->bindParam(":lob", $lob, PDO_PARAM_LOB);
2005-02-06 01:27:27 +00:00
Edin Kadribasic
0d9b0606b9
Don't segault when we have placeholders but no bound params
2005-02-06 00:46:17 +00:00
Edin Kadribasic
bf77a39349
Decode pgsql LOB objects (bytea type) on fetch
2005-02-05 22:55:23 +00:00
Edin Kadribasic
64e8c3105c
Return lobs as strings for now
2005-02-05 22:46:26 +00:00
Wez Furlong
74821473e2
update separately
2005-02-05 21:30:19 +00:00
Wez Furlong
15e754201f
pass param type to quoter functions
2005-02-05 21:29:42 +00:00
Edin Kadribasic
95cc208464
Removed unused variebles.
...
Return OID as int.
2005-02-05 20:38:47 +00:00
Georg Richter
ef6f0f00a6
fix for bug #29329
2005-02-05 10:59:38 +00:00
foobar
71b9c41a6b
fix test
2005-02-04 23:23:34 +00:00
Dmitry Stogov
625b79c3ba
Fixed bug #31832 (SOAP encoding problem with complex types in WSDL mode with multiple parts)
2005-02-04 15:42:46 +00:00
Derick Rethans
0242ae498e
- Fixed bug #31754 (dbase_open() fails for mode = 1). (Mehdi, Derick)
2005-02-04 14:28:50 +00:00
foobar
b61a63d008
- Fixed bug #31842 (*date('r') does not return RFC2822 conforming date string).
2005-02-04 13:08:56 +00:00
Edin Kadribasic
1a962e9d98
Get OID of the last inserted row
2005-02-04 01:48:01 +00:00
Ilia Alshanetsky
779edcb01d
Proper fix for bug #31796 .
2005-02-04 00:21:50 +00:00
Ilia Alshanetsky
5879c5cf21
Fixed bug #31796 (readline completion handler does not handle empty return
...
values).
2005-02-03 22:45:36 +00:00
Ilia Alshanetsky
996b464e30
Use the created connection string.
2005-02-03 22:24:50 +00:00
Magnus M��tt�
fda27b4465
Fix typos.
2005-02-03 17:02:42 +00:00
Zeev Suraski
11339ee42e
Removing this file has been long due...
...
API's and functionality are stable.
2005-02-02 17:22:19 +00:00
foobar
75b4e2c832
- Moved ext/w32api to PECL.
2005-02-02 14:43:26 +00:00
foobar
0741be6f3c
- Moved ext/yp to PECL.
2005-02-02 14:33:23 +00:00
foobar
439c5f4f33
- Moved ext/dio to PECL.
2005-02-02 14:29:58 +00:00
Stanislav Malyshev
7b241027fa
fix memory leak if function call fails
2005-02-02 10:37:50 +00:00
Dmitry Stogov
3c31410074
Fixed bug #31747 (SOAP Digest Authentication doesn't work with "HTTP/1.1 100 Continue" response)
2005-02-02 10:34:39 +00:00
Dmitry Stogov
83e6e40438
Fixed bug #31755 (Cannot create SOAP header in no namespace)
2005-02-02 09:11:46 +00:00
Ilia Alshanetsky
8c97b9dc73
Fixed bug #31797 (exif_read_data() uses too low nesting limit).
2005-02-01 23:27:33 +00:00
Marcus Boerger
0bb81ce1d6
- Add ReclectionClass:hasProperty(), ReflectionClass::hasConstant()
...
to complete api (johannes@php.net )
2005-01-31 22:56:01 +00:00
Dmitry Stogov
fea1b5b3a0
Fixed SIGSEGV when restoring WSDL without functions from cache
2005-01-31 15:08:24 +00:00
Antony Dovgal
5e8cd3a2da
fix segfault when failed to open magic file
2005-01-31 15:01:47 +00:00
Dmitry Stogov
950632519b
Empty "detail" was removed from SoapFault object.
2005-01-31 14:26:06 +00:00
Dmitry Stogov
6e8d3e9023
Fixed memory allocation bug
2005-01-31 14:02:19 +00:00
Ilia Alshanetsky
112eb3b35d
Fix handling of INF/NAN in unserialize().
2005-01-30 16:38:53 +00:00
Georg Richter
32aaa6a7be
fixed a bug in mysql_affected_rows and mysql_stmt_affected_rows
...
in case affected_rows function returns (my_ulonglong) -1 for errors.
(Thanks to Antony Dovgal for reporting this bug)
2005-01-28 17:35:37 +00:00
Antony Dovgal
999c63d9d7
improve CS & error messages
2005-01-28 16:42:26 +00:00
Antony Dovgal
c61ce71a01
MFB: explain why ftok() failed
2005-01-28 16:36:46 +00:00
Dmitry Stogov
d5d127c3ad
Memory leak was fixed
2005-01-28 10:33:46 +00:00
Antony Dovgal
f7326d6279
MFB: fix #31732
2005-01-28 02:00:39 +00:00
Antony Dovgal
3ff7f46fd4
change return type from NULL to FALSE when parameter parsing failed
...
(as was requested by Ilia)
2005-01-28 01:38:56 +00:00
Antony Dovgal
75725c57a5
MFB: fix posix_getsid() & posix_getpgid()
2005-01-28 00:27:48 +00:00
Frank M. Kromann
a13734d2f7
Hack to fix crash caused by FBCAccess not returning errors when creating an index that exists in the database.
2005-01-27 20:13:04 +00:00
Ilia Alshanetsky
42155f6028
Fixed bug #31705 (parse_url() does not recognize http://foo.com#bar )
2005-01-27 16:37:34 +00:00
Antony Dovgal
6ffd569410
MFB: fix leak in mysqli_fetch_array()
2005-01-27 14:41:48 +00:00
Georg Richter
7148919940
fix for bug #31710 (return value for mysql_rollback is reverted)
...
fixed also same behaviour for mysql_commit and mysql_autocommit
2005-01-27 10:18:28 +00:00
Antony Dovgal
9d9e4379af
MFB: fix segfault when invalid field offset is passed to mysqli_fetch_field_direct()
2005-01-27 01:14:43 +00:00
Marcus Boerger
5cabd2f12b
- Move tests to proper location now that the tested classes are hardcoded
2005-01-27 00:34:13 +00:00
Marcus Boerger
faba10853f
- Unify
2005-01-27 00:26:13 +00:00
Marcus Boerger
f1e34911a9
- Add new test
2005-01-27 00:22:28 +00:00
Marcus Boerger
f18aa85252
- Know whether ew refer to an external array (is_ref) or not
2005-01-27 00:22:06 +00:00
Ilia Alshanetsky
4a5294788e
Fixed bug #31699 (unserialize() float problem on non-English locales).
2005-01-26 16:55:17 +00:00
Ilia Alshanetsky
c85a9abc4c
Fixed bug #29733 (printf() handles repeated placeholders wrong).
...
# Original patch by bugs dot php dot net at bluetwanger dot de
2005-01-26 00:01:26 +00:00
Andrei Zmievski
9ab8deb33c
Don't depend on empty_string.
2005-01-25 23:58:22 +00:00
Ilia Alshanetsky
8c22d51070
Fixed bug #31465 (False warning in unpack() when working with *).
2005-01-25 22:50:39 +00:00
Andrei Zmievski
27b1a27faf
MFB (Fix several egregious leaks in ext/browscap and sapi/embed).
2005-01-25 21:33:58 +00:00
Marcus Boerger
1c2b14b92f
- Proto fix
2005-01-25 19:08:38 +00:00
Antony Dovgal
c404bdb9f8
check body for NULL before using and prevent segfaults
2005-01-25 14:20:02 +00:00
foobar
af854a8409
- Fixed bug #31684 (dio_tcsetattr(): misconfigured termios settings)
2005-01-25 13:42:52 +00:00
Dmitry Stogov
2d8e73b963
Fixed bug #28041 (SOAP HTTP Digest Access Authentication was implemented)
2005-01-25 11:03:20 +00:00
Ilia Alshanetsky
25fd4c3bc2
Fixed ZTS build
2005-01-24 23:53:00 +00:00
Marcus Boerger
b570ad759b
- Unify
2005-01-24 21:28:56 +00:00
Marcus Boerger
e1737ca88a
- Bugfix #31346
2005-01-24 21:27:36 +00:00
Marcus Boerger
06dbcb22a1
- Update
2005-01-24 21:13:52 +00:00
Marcus Boerger
36e6841ef5
- Add new test
2005-01-24 20:22:56 +00:00
Marcus Boerger
3c36e73b95
- bugfix 31348
2005-01-24 20:21:11 +00:00
Marcus Boerger
7ec2fe9dcd
- Synch with MYSQLi extension and use RuntimeException as base for
...
SQLiteException if SPL is present.
2005-01-24 18:46:50 +00:00
Antony Dovgal
5a559e9a57
add test
2005-01-24 14:19:53 +00:00
Antony Dovgal
9e55579cb0
fix msg_recieve() returning TRUE instead of FALSE when unserialize failed
...
(patch by Andrey Hristov)
2005-01-24 14:12:01 +00:00
Wez Furlong
ebaf95b13a
make this the right size...
2005-01-23 15:34:48 +00:00
Sergey Kartashoff
618b7c267c
- A bug in mnogosearch module in ispell loading code was fixed
2005-01-23 15:01:20 +00:00
Edin Kadribasic
60f5e66aa9
Add support for fetching meta data
2005-01-23 14:50:06 +00:00
Edin Kadribasic
d8aa131ca0
Store pgsql_type, intval and boolav per column
2005-01-23 10:57:11 +00:00
Edin Kadribasic
902c2b43cb
Remove debug stuff
2005-01-22 23:51:09 +00:00
Edin Kadribasic
e58a8671a2
Support for native nulls, bools and ints
2005-01-22 23:31:19 +00:00
Marcus Boerger
1d5c13bdad
- Fix #31651 (ReflectionClass::getDefaultProperties segfaults with arrays.)
2005-01-22 12:23:01 +00:00
Marcus Boerger
bad986232b
- Update after fixing it
2005-01-22 12:22:01 +00:00
Marcus Boerger
a01e3435de
_ Add test for bug 31651
2005-01-22 11:46:56 +00:00
foobar
f8a540d105
- Typofix + removed unnecessary unsets caused by it
2005-01-22 01:31:54 +00:00
Andrei Zmievski
ecb9f8668d
MFB (bugfix for 24851)
2005-01-22 00:01:33 +00:00
Stefan Esser
581265f4d1
Correctly initialize ZVAL
2005-01-21 16:03:47 +00:00
Antony Dovgal
5e1b127864
destruct return_value
2005-01-21 10:55:41 +00:00
Wez Furlong
0162d0093d
picky picky.
...
Lets make those OUTPUT rather than INPUT-OUTPUT.
We need some flag from the user if they want that.
2005-01-21 06:11:10 +00:00
Wez Furlong
e5b6b0dbee
Allow static build (better detection of PDO headers).
...
Copy error code into driver code, so PDO can handle it correctly.
Less leaks
2005-01-21 04:43:06 +00:00
Wez Furlong
7a137a5f84
fix leak
2005-01-21 04:41:52 +00:00
Wez Furlong
8ebcbfdf1b
hrmm. Really really really really touch the timestamp in CVS to avoid
...
crappy makefile annoyance.
2005-01-21 04:34:41 +00:00
Wez Furlong
bc55e7f3e2
make use of the query rewriter (even though it doesn't do anything yet)
2005-01-21 04:22:06 +00:00
Wez Furlong
53af3dc4f2
update
2005-01-21 04:02:41 +00:00
Wez Furlong
dede3c59fe
fix encoding nastiness that snuck in from the copy-n-paste of error code
...
descriptions from a web page.
2005-01-21 03:59:41 +00:00
Wez Furlong
88640832be
and check in the generated c file later, to avoid remaking it in fresh checkouts.
2005-01-21 03:58:09 +00:00
Wez Furlong
6ddbfa0733
Revise query parser so that it can rewrite from one bind syntax to another.
...
Expose it as PDO_API. No drivers utilize this feature yet.
2005-01-21 03:57:06 +00:00
Wez Furlong
26f97a911b
Eliminate unused parameter.
...
Don't start a transaction when asking for a cursor with pgsql.
Fix parameter binding for sqlite3
2005-01-21 00:39:03 +00:00
Wez Furlong
dcd3d84ddb
Eliminate unused parameter
2005-01-21 00:38:09 +00:00
Wez Furlong
08fa032b80
fix backslash
2005-01-21 00:04:50 +00:00
Antony Dovgal
d0427feee4
fix bug #31623 (OCILogin does not support password grace period)
2005-01-20 18:39:48 +00:00
Antony Dovgal
84a8849a3a
fix error message
2005-01-20 18:08:08 +00:00
Antony Dovgal
4f3e113e38
fix segfault in imap_sort() - it segfaults when options is less than 0.
...
it looks like c-client bug, but we still need a workaround.
also, convert_to_string search criteria.
2005-01-20 18:03:35 +00:00
Dmitry Stogov
a343fc848d
Support for HTTP error codes
2005-01-20 17:29:16 +00:00
Edin Kadribasic
93e4213bfe
Add support for the 'official' build machine layout
2005-01-20 15:54:35 +00:00
Dmitry Stogov
c35353ea20
Fixed bug #30901 (can't send cookies with soap envelop).
...
void SoapClient::__setCookie(string name [, string value])
2005-01-20 14:29:19 +00:00
Antony Dovgal
9812f55289
fix segfault in imap_headerinfo() when fromlength or subjectlength are less than 0
...
+ fix protos
2005-01-20 14:04:50 +00:00
Dmitry Stogov
a830b0fc6b
Fixed bug #31422 (No Error-Logging on SoapServer-Side).
2005-01-20 12:48:01 +00:00
Rob Richards
dd2f5ed142
Fixed bug #28817 (Var problem when extending domDocument).
2005-01-20 11:47:05 +00:00
Antony Dovgal
6a9579bd7e
fix typos in error messages
2005-01-20 09:59:23 +00:00
Antony Dovgal
5aa42a202a
fix typos in error messages & resource name
2005-01-20 09:57:57 +00:00
Dmitry Stogov
56025c6a1a
Support for HTTPS with digital certificates.
2005-01-20 06:08:04 +00:00
Wez Furlong
1312fe469e
Fix segfault on stmt close.
...
Make scrollable cursors actually work
2005-01-20 06:06:26 +00:00
Wez Furlong
e21e1c65e3
Juggle/enhance mssql library detection
2005-01-20 05:09:06 +00:00
Wez Furlong
84aa902015
Generate pdo_oci.dll for modern SDKs and pdo_oci8.dll for ye-olde oci805 libs.
...
I'm told that oci805 is required for connectivity to oci805 servers, which are
no longer supported in more recent SDK releases.
Edin: please grab:
http://download.oracle.com/otn/nt/instantclient/instantclient-basic-win32-10.1.0.3-20050113.zip
http://download.oracle.com/otn/nt/instantclient/instantclient-sdk-win32-10.1.0.3-20050113.zip
and extract them under php_build, so that you end up with php_build/instantclient10_1
2005-01-20 03:33:17 +00:00
Wez Furlong
9fe37737f9
generate dblib and mssql variants in the same build
2005-01-20 03:29:53 +00:00
foobar
2c65e09a4b
- Revert the weird change of ZEND_STRS() macro and use the correct
...
ZEND_STRL() macro.
# ZEND_STRS was changed to be same as ZEND_STRL..someone on crack? :)
2005-01-20 02:02:09 +00:00
Wez Furlong
e28d2c8032
Take a stab at implementing out parameters for odbc
2005-01-19 05:27:15 +00:00
Wez Furlong
a39d50c95f
don't propogate an unspecified length to the driver.
...
Drivers will used a 0 length as a hint that the parameter is an in-out or out
parameter.
2005-01-19 05:25:40 +00:00
Wez Furlong
769d399be5
add dep
2005-01-19 03:50:32 +00:00
Wez Furlong
ffd35bb63d
allow static linkage.
...
Avoid segv when no username is passed
2005-01-19 03:45:21 +00:00
Wez Furlong
a536e31fb1
leak/segv less
2005-01-19 03:44:49 +00:00
Wez Furlong
434d068994
*compile before commit *
...
*compile before commit *
*compile before commit *
2005-01-19 01:17:13 +00:00
Wez Furlong
af8bb16ec1
implement nextRowset for ODBC
...
# this might even work first time
2005-01-19 01:13:39 +00:00
Wez Furlong
544d61873d
proto bool PDOStatement::nextRowset()
...
Advances to the next rowset in a multi-rowset statement handle. Returns true if
it succeded, false otherwise
2005-01-19 01:12:52 +00:00
Wez Furlong
9b36089838
let it compile again
2005-01-19 00:33:56 +00:00
foobar
c245e1f0f7
- ldap_start_tls() requires ldapv3 protocol -> force it
2005-01-19 00:27:21 +00:00
Ilia Alshanetsky
c78db34489
Fixed bug #31142 (crash, memory leak and data loss by imap_mail_compose).
2005-01-18 23:36:08 +00:00
Frank M. Kromann
736ff0319a
Set the MSSQL_VERSION to FreeTDS when that lib is used
2005-01-18 22:39:01 +00:00
Frank M. Kromann
4b4cde0702
Rename php_freetds.dll to php_dblib.dll (still using the freetds libs).
...
Allow the build of both versions in the same process
2005-01-18 22:38:24 +00:00
Antony Dovgal
84fe72612e
add checks for libs & headers required by IBM DB2
2005-01-18 21:16:32 +00:00
Ilia Alshanetsky
023c1bccb3
Fixed bug #31480 (Possible infinite loop in imap_mail_compose()).
2005-01-18 16:32:53 +00:00
Ilia Alshanetsky
1e6454a67b
Fixed bug #31479 (Fixed crash in chunk_split(), when chunklen > strlen).
2005-01-18 15:47:57 +00:00
foobar
64e40c2271
- Make sure FD_CLOEXEC is always defined.
2005-01-18 15:44:33 +00:00
Antony Dovgal
63fbc27466
fix bug #30430 (odbc_next_result() doesn't bind values and that results in segfault)
...
fix protos
2005-01-18 15:03:51 +00:00
foobar
197711bb7d
Add test for bug #31402
2005-01-18 11:36:44 +00:00
foobar
bed68d8828
Touch the generated file.
2005-01-18 10:57:05 +00:00
Dmitry Stogov
ea6ea21939
Fixed bug #31190 (exceptions in call_user_func_array())
2005-01-18 10:38:04 +00:00
Frank M. Kromann
25917d5885
Make this compile with the generic ntwdblib from Microsoft
2005-01-18 07:17:01 +00:00
Frank M. Kromann
14821bb8cf
use the static dblib.lib to avoid the need for extra dll's
2005-01-18 06:42:08 +00:00
Frank M. Kromann
008d859df9
add --with-freetds option to win32 build.
...
TODO make it work when both mssql and freetds is included or bail out with an error
2005-01-18 06:32:11 +00:00
Frank M. Kromann
01b426c452
make the mssql extension work with freetds on win32
2005-01-18 06:29:45 +00:00
Frank M. Kromann
d56b42bec4
make the mssql extension work with freetds on win32
2005-01-18 06:09:48 +00:00
Wez Furlong
a9d98544de
Allow drivers to select bind emulation on a per statement basis
2005-01-18 04:58:50 +00:00
Wez Furlong
d911f19862
doh
2005-01-18 04:35:47 +00:00
Wez Furlong
505fbb1966
nice and fluffy error handling
2005-01-18 02:42:52 +00:00
Wez Furlong
8b35436cb1
remove error and hook up rowCount
2005-01-18 00:58:15 +00:00
Wez Furlong
37ea5fbeb5
Tidy up driver specific method handling
2005-01-17 23:59:16 +00:00
Antony Dovgal
7c152b6a8e
fix weird DB2 issue:
...
DB2's SQLDataSources() returns _max available_ length of result string instead of
_real_ length and that results in strings a-la "\0 "
2005-01-17 18:08:54 +00:00
foobar
e82eb93cf2
- Added some sanity checks by changing to the parameter parsing API
2005-01-17 17:07:28 +00:00
Christian Stocker
8d10b52ddf
fix protos (by Mehdi Achour )
2005-01-17 15:56:17 +00:00
Antony Dovgal
acbdbe1e65
fix leak appearing when odbc_errormsg() got invalid resource
2005-01-17 15:05:11 +00:00
Stefan Esser
da7001a6c3
Fix compiler warning.
2005-01-17 11:45:09 +00:00
Edin Kadribasic
095a6f1eb3
Use PQescapeBytea() for quoting. Need to think how to add binary safe
...
quoting for blobls (pgsql bytea type).
Fixes #2818
2005-01-17 10:37:41 +00:00
Wez Furlong
3a751f37c6
don't raise errors for the no-error case
2005-01-17 05:28:46 +00:00
Wez Furlong
b234f1e415
tidy up a few things
2005-01-17 05:28:13 +00:00
Wez Furlong
44e77380fb
Missing 1
2005-01-17 01:31:14 +00:00
Wez Furlong
ca98805935
Add a PDO driver for Sybase style DB-lib (including MS SQL).
...
Only the basics are here right now.
2005-01-17 01:15:14 +00:00
Zak Greant
f3d39ff406
Added standard emacs and vim modelines
2005-01-16 19:28:55 +00:00
Moriyoshi Koizumi
b1ddbcbef9
- Fix a critical bug that request-local settings leak to another request.
2005-01-16 15:55:17 +00:00
Stefan Esser
135fee7f10
and use it...
2005-01-15 18:30:16 +00:00
Stefan Esser
2c25b9d866
Restore unserialize() speed
2005-01-15 18:18:08 +00:00
foobar
58c6ed3583
CS fix
2005-01-15 04:50:26 +00:00
foobar
0e9866bfd6
ws fix
2005-01-15 04:34:30 +00:00
foobar
330746480e
- Fixed bug #31060 (imageftbbox() does not use linespacing parameter)
2005-01-14 23:07:46 +00:00
foobar
68ca0ed6d8
- Fixed bug #30120 (imagettftext() and imagettfbbox() accept too many parameters)
2005-01-14 22:43:15 +00:00
Dmitry Stogov
9de934c210
Fixed SIGSEGV in ext/standard/tests/network/tcp4loop.phpt and ext/standard/tests/network/unixloop.phpt
2005-01-14 09:02:02 +00:00
Wez Furlong
10eb5a1098
fix compile.
...
Someone with firebird needs to sit down and give this extension some love
2005-01-13 18:02:13 +00:00
Wez Furlong
d056f96a2f
Add configure support for Oracle InstantClient SDK
2005-01-13 04:55:56 +00:00
Wez Furlong
f17311c9dd
Add support for ODBCRouter
2005-01-13 02:06:39 +00:00
Wez Furlong
ef0de01b62
Take a blind stab at implementing scrollable cursors for pgsql.
...
We allocate a unique cursor name for each statement, so that we
don't interfere with other open statement handles on the same dbh.
Note, however, that we force a new transaction for each open scrollable cursor
(postgres requires cursors to be used inside a transaction). This is okay,
except for the case where a scrollable cursor is opened, an update is made and
the cursor is closed; closing the cursor commits the transaction that was begun
when it was opened.
It might well be better to avoid the transaction in PDO and force the user to
be aware of the requirements of cursors and explicitly initiate the transaction
themselves.
This is all untested code; it compiles and looks like it will work, but I
encourage someone with a real postgres setup to actually sit down and try to
use it.
2005-01-13 01:59:39 +00:00
Wez Furlong
0db373883f
detect funky kerberos deps that chain on from openssl deps on RH distros
2005-01-13 01:12:34 +00:00
Wez Furlong
222e5f9cbc
stub out scrollable cursors here too
2005-01-12 06:12:26 +00:00
Wez Furlong
d3ab27f7cc
stub out scrollable cursors
2005-01-12 06:11:33 +00:00
Wez Furlong
be616317c7
stub out scrollable cursor change
2005-01-12 06:10:31 +00:00
Wez Furlong
c77bd71315
be aware of scrollable cursors; sqlite doesn't support them
2005-01-12 06:08:59 +00:00
Wez Furlong
4d5c40cd9a
touch generated file to avoid implicit yacc rule from eating it
2005-01-12 06:08:36 +00:00
Wez Furlong
81664bd2db
Remove bogus scroll attribute.
...
Expose cursor constants to the script
2005-01-12 05:59:27 +00:00
Wez Furlong
7552fe23ff
make scrollable cursors consistent with odbc; removing bogus attribute
2005-01-12 05:58:58 +00:00
Wez Furlong
b2fe675636
Support scrollable cursors
2005-01-12 05:58:19 +00:00
Wez Furlong
459b4f85d3
Add support for scrollable cursors.
...
Enable PDO_ATTR_PREFETCH and default it to 100Kb of prefetch buffer.
2005-01-12 05:47:03 +00:00
Wez Furlong
dd842e4bf4
API support for scrollable cursors
2005-01-12 04:49:12 +00:00
Wez Furlong
076bc75c01
add theoretical support for returning ints as ints and bools as bools.
...
individual drivers need to support returning data in these formats.
2005-01-12 03:26:46 +00:00
Wez Furlong
f9d3469e4f
Add configure support for ODBCRouter and generic ODBC libs.
...
Note that ODBCRouter doesn't directly implement ODBC 3.0, so
using it here won't really work.
Expand the ODBC 3 check to better explain what happened and
how to make progress (e.g.: use an ODBC manager library like
unixODBC).
2005-01-12 02:19:30 +00:00
Moriyoshi Koizumi
20a5a1d61c
- Fix the fix :)
2005-01-11 20:58:46 +00:00
Moriyoshi Koizumi
ee18958f98
- Fix htmlentities() / html_decode_entity() UTF-8 related bugs
...
initially reported by Kamesh Jayachandran
2005-01-11 20:44:04 +00:00
Wez Furlong
166ca20bed
Fix build
2005-01-11 14:28:37 +00:00
Rob Richards
a3335dba69
revert fix for bug #28817 - fix is bad
2005-01-11 10:36:08 +00:00
foobar
b298098307
- Added check for IMAP 2005 version
2005-01-11 04:56:06 +00:00
Wez Furlong
c55b4ab516
update for recent adjustments
2005-01-11 02:59:52 +00:00
Antony Dovgal
6074423330
fix Konstantin's last name Chugeuv -> Chuguev
2005-01-10 21:37:17 +00:00
foobar
32d86482cc
update test to include negative floats as strings too
2005-01-10 16:00:08 +00:00
foobar
71ea389f74
Missing $Id$ tag
2005-01-10 15:20:53 +00:00
foobar
2b407ef934
- Update credits
2005-01-10 15:11:17 +00:00
Joe Orton
9a8114e388
Don't scribble over the stack; icc compiler warning fix
...
from dcb314@hotmail.com via Red Hat bugzilla #143795 .
2005-01-10 11:26:56 +00:00
Marcus Boerger
4a76003201
- Fix proto
2005-01-10 07:19:08 +00:00
Marcus Boerger
0f44e8a722
- Bugfix #31342 : SQLite OO interface with Exceptions (hugo dot pl at gmail dot com)
2005-01-10 07:16:25 +00:00
Marcus Boerger
4494f0892b
- Implement iterator interface in sqlite
2005-01-10 07:13:56 +00:00
foobar
a139dbf9cc
- Fix outside-source-tree builds. Always include generated header files
...
with #include <some_header.h> to make sure the correct file is used.
2005-01-09 21:05:06 +00:00
Antony Dovgal
37d3ea836e
add skipif section
2005-01-09 18:22:12 +00:00
Antony Dovgal
68d73f8cf9
add test for bug #31454
2005-01-09 18:15:49 +00:00
Antony Dovgal
d7072f8a9d
efree(name)
2005-01-09 17:49:51 +00:00
Antony Dovgal
c644b2a5a1
fix bug #31454 (session_set_save_handler crashes PHP when supplied non-existent object ref)
2005-01-09 17:42:02 +00:00
foobar
6ffb0dcaf2
- Fix leaks with registered shutdown functions.
2005-01-09 16:30:09 +00:00
foobar
4db9db0cc7
- Fix possible crash (PR#26223). Leaks remain.
2005-01-08 20:44:23 +00:00
Georg Richter
6b49e2d9e7
fixed compile bug under Windows (libmysql.def currently doesn't export mysql_server_init/end).
...
Thanks to Sebastian Bergmann for reporting
2005-01-08 15:11:37 +00:00
Marcus Boerger
5516915115
- Add new test
2005-01-08 13:47:05 +00:00
Marcus Boerger
344d2210c2
- Unify
2005-01-08 13:46:18 +00:00
Marcus Boerger
01d6db92fc
- Fix shared build
2005-01-08 13:36:17 +00:00
Marcus Boerger
8045f834d4
- Remove double destroy (which is definitively wrong and prevents php from
...
normal execution).
2005-01-08 13:34:03 +00:00
Marcus Boerger
79687e9b7d
- Fix dependency
2005-01-08 13:24:39 +00:00
Marcus Boerger
1875caf1ab
- Fix warning
...
- Fix tsrm usage
2005-01-08 12:35:50 +00:00
foobar
9ea10c5cec
- Fix some memory leaks
2005-01-08 12:02:22 +00:00
Antony Dovgal
5eeb444b8b
remove duplicated include
2005-01-07 20:55:46 +00:00
Magnus M��tt�
5ec0e49497
Argh.. Committed old patch.
...
Add safe_mode check and fix error code.
2005-01-07 17:38:03 +00:00
Georg Richter
f16db40af2
forgot to remove some comments in last commit:(
2005-01-07 16:34:55 +00:00
Sebastian Bergmann
683515596b
ZTS fix.
2005-01-07 16:24:51 +00:00
Sebastian Bergmann
aca657eca2
Sync with config.m4.
2005-01-07 16:23:13 +00:00
Magnus M��tt�
0dddd923c7
Added new function: posix_access()
...
Feature requests: #29615 , #14924
2005-01-07 16:05:06 +00:00
Georg Richter
0b4c108bd7
Added new classes:
...
mysqli_driver
mysqli_warning
mysqli_exception
mysqli_sql_exception
Improved embedded server support
changed testsuite to work also with embedded server
Made statement and resultset classes extendable
minor fixes
2005-01-07 14:59:59 +00:00
Wez Furlong
e6c282a766
jumbo commit; implement sqlstate error codes.
...
Bundle sqlite3
2005-01-07 05:27:27 +00:00
Wez Furlong
02d6b65c67
lame implementation of SQLSTATE error codes
2005-01-07 05:25:57 +00:00
Wez Furlong
70da739031
remove error map; odbc speaks SQLSTATE natively
2005-01-07 05:25:35 +00:00
Wez Furlong
fe1a87d02d
half-hearted adjustment for sqlstate error codes; will do a better job
...
when I'm sitting down with a working oci env
2005-01-07 05:25:02 +00:00
Wez Furlong
0f12bfece7
tidy up some parts of the build (could do with more work)
...
Partially implement SQLSTATE error codes
2005-01-07 05:24:21 +00:00
Wez Furlong
4486666209
half-update for sqlstate error codes
2005-01-07 05:23:48 +00:00
Wez Furlong
6e0d8dd06f
implement SQLSTATE style error codes.
...
Allow drivers to add methods to dbh and stmt objects
(note that we can't use a class, because the use only sees the PDO class).
Clarify the api slightly:
PDO::exec() is used for one-shot queries that don't return rows
PDO::query() is a convenience function for returning a rowset without
having to go through the steps of preparing and executing.
2005-01-07 05:23:10 +00:00
Joe Orton
792032c6bb
Fix #31413 : curl POSTFIELDS usage on 64-bit platforms.
2005-01-05 21:33:56 +00:00
Frank M. Kromann
a6ce3e17e4
Allow gmp to compile under Win32
2005-01-04 22:39:29 +00:00
Wez Furlong
c4bc5b7f33
Fix #31408 : memory leak in stream_socket_recvfrom
2005-01-04 15:30:45 +00:00
foobar
a2177b2e8e
- Fixed bug #31396 (compile fails with gd 2.0.33 without freetype)
2005-01-04 06:51:45 +00:00
Stanislav Malyshev
9fa1ee360b
merge patch from http://www.sqlite.org/cvstrac/chngview?cn=1953
...
bug led to PHP exiting on queries with unknown columns
2005-01-03 11:29:27 +00:00
Rob Richards
6bbb254ecc
allow parser flags to be passed to xinclude()
2005-01-02 12:22:36 +00:00
Rob Richards
6a64418809
add NONET flag to disable network access when loading xml
2005-01-02 12:21:14 +00:00
Rob Richards
8450fae834
Fixed bug #31361 (simplexml/domxml segfault when adding node twice)
2005-01-02 12:08:41 +00:00
Moriyoshi Koizumi
88ce94a3c2
- Add testcases for bug #29493 and #31213 .
2005-01-02 06:51:03 +00:00
Wez Furlong
126e524635
Fix build...
2005-01-01 14:32:59 +00:00
Wez Furlong
1f75a34f76
add proper dep
2004-12-31 17:45:08 +00:00
foobar
4cf9d27072
- Fixed bug #28930 (PHP sources pick wrong header files generated by bison)
2004-12-30 15:18:24 +00:00
foobar
5ac375a40d
- Fixed bug #31101 (missing kerberos header file path with --with-openssl)
2004-12-30 14:50:06 +00:00
Antony Dovgal
8596934a39
tidy_repair_string() should not try to load config file if there was no config parameter
2004-12-30 11:56:18 +00:00
foobar
69eec3f3b9
MFB_4_3: Quote macro names in AC_DEFUN()
2004-12-30 07:08:39 +00:00
foobar
57eddbd7d0
- Fixed the crash and leak.
2004-12-30 05:31:55 +00:00
Ilia Alshanetsky
a7bc501d90
MFH: A leak is better(?) then a crash.
2004-12-30 04:39:17 +00:00
Ilia Alshanetsky
4bef3dde2d
MFB: fixed test case
2004-12-30 04:11:33 +00:00
Ilia Alshanetsky
585833ab7e
Fixed proto.
2004-12-30 01:23:44 +00:00
Ilia Alshanetsky
8f7f00178f
Fixed typo.
2004-12-29 21:56:42 +00:00
Ilia Alshanetsky
12c2113b3e
Fixed compiler warnings.
2004-12-29 21:40:34 +00:00
Ilia Alshanetsky
ed64463bdb
Fixed memory leaks.
2004-12-29 21:33:03 +00:00
Ilia Alshanetsky
742f8c2502
MFB: don't perform pointless operations.
2004-12-29 21:25:00 +00:00
Ilia Alshanetsky
3f79dfbb04
Don't forget to unload t1lib.
2004-12-29 21:07:59 +00:00
Frank M. Kromann
70c51c4ee6
Fix typo
2004-12-29 20:18:34 +00:00
Antony Dovgal
6528b1b0b4
more typos
2004-12-29 16:11:42 +00:00
Antony Dovgal
0460f73db2
MFB: fix typos
2004-12-29 13:53:40 +00:00
Georg Richter
57fa54af2d
added property 'id' to retrieve statement id (required by PEAR DB, to support
...
mysqli prepared statements)
2004-12-29 11:46:13 +00:00
Wez Furlong
73186934d8
more get_method signature changes
2004-12-27 22:04:54 +00:00
Zeev Suraski
f64c4f4569
MFB - description fix
2004-12-27 18:22:50 +00:00
Georg Richter
dc63cb7feb
fixed testcase 047
...
fixed windows compile error
2004-12-27 15:39:35 +00:00
Marcus Boerger
7be33a225e
- Need to unmangle the class name here
2004-12-27 15:13:26 +00:00
Marcus Boerger
03af7c8abc
- More proto/error message fixes
2004-12-27 13:32:22 +00:00
Georg Richter
698c0361d6
Fix for feature request #31015 : added length for field length
2004-12-27 11:48:57 +00:00
Marcus Boerger
4b80deed8e
- Small fixlet (by Tony)
2004-12-27 11:41:45 +00:00
Wez Furlong
823d48bd37
hmmmmm. Bound params *were* working this way before, but now it seems that
...
I have to bind them as text.
2004-12-26 18:13:52 +00:00
Georg Richter
683f6c879c
added constructors for mysqli_stmt and mysqli_result classes
2004-12-26 13:16:40 +00:00
Wez Furlong
b44785e958
don't blow up under HEAD
2004-12-26 04:50:09 +00:00
Georg Richter
ea22bf6063
fix for bug 31141
2004-12-25 16:42:53 +00:00
Marcus Boerger
8c7bd30a7b
- Add ReflectionClass::hasMethod() (thanks to Johannes S.)
2004-12-25 16:27:27 +00:00
Wez Furlong
c8b2f43005
fix build issues
2004-12-25 04:01:30 +00:00
Wez Furlong
843807c647
When a socket is non-blocking, don't block ssl enabled sockets.
...
Allow for non-blocking negotiation when calling stream_socket_enable_crypto().
That function will return the foolowing values:
false - negotiation failed
0 - try again when more data is available (only for non-blocking sockets)
true - ssl was enabled
2004-12-25 02:02:56 +00:00
Antony Dovgal
ffb2cf7a94
return empty string when got empty parameter
2004-12-24 19:45:54 +00:00
Wez Furlong
e1f3beaa13
really don't blow up
2004-12-23 19:39:22 +00:00
Ilia Alshanetsky
d0f606f11d
Fixed several buffer overflows.
2004-12-23 19:29:12 +00:00
Antony Dovgal
38d8e20f68
destroy return_value and fix leak in array_fill()
2004-12-23 16:35:48 +00:00
Antony Dovgal
78edc7e65a
add Oracle Instant Client support (initial patch by cjbj at hotmail dot com)
2004-12-23 16:20:09 +00:00
Wez Furlong
d3d757d95a
don't crash...
2004-12-23 05:56:50 +00:00
Ilia Alshanetsky
b19e666946
Fixed bug #31142 (imap_mail_compose() fails to generate correct output).
2004-12-22 17:27:39 +00:00
Ilia Alshanetsky
4ab69902dc
Fixed possible crash in imap_mail_compose().
2004-12-21 15:47:14 +00:00
foobar
b6823b673e
- Fixed bug #28248 (Can not compile --with-sybase and freetds)
2004-12-21 06:57:01 +00:00
Magnus M��tt�
774a978ea9
Fix test so it doesn't hang make test on HP-UX.
2004-12-21 04:34:22 +00:00
foobar
b8056095c6
- Fixed bug #31145 (configure is using -lcpdf instead of -lcpdfm)
2004-12-21 04:21:43 +00:00
Wez Furlong
0a42a1f422
Errr... fix leak
2004-12-21 00:37:01 +00:00
Georg Richter
5c50f0bb30
prevent type conversion during mysql_stmt_execute for NULL variables
2004-12-20 16:39:14 +00:00
Ilia Alshanetsky
ec83570232
Fixed bug #31103 (Better error message when c-client cannot be found).
2004-12-19 18:16:50 +00:00
Derick Rethans
13c2cbb515
- MF43: Fixed bug #31072 (var_export() does not output an array element with an
...
empty string key). (Derick)
2004-12-17 14:40:39 +00:00
Rob Richards
b462fc8bd2
Fixed bug #31139 (XML Parser Functions seem to drop & when parsing)
2004-12-17 12:20:50 +00:00
Ilia Alshanetsky
77c0395968
Fixed bug #31087 (broken php_url_encode_hash macro).
2004-12-16 22:39:39 +00:00
Frank M. Kromann
4f8973fcdc
Fix #31120 and #31135 . mssql_query returns false on successfill inserts and stored procedures
2004-12-16 21:47:23 +00:00
Antony Dovgal
33c24b5436
fix leak (init array only if we got valid start key)
2004-12-16 19:13:58 +00:00
foobar
ce742b08b0
- Fix typo (avaliable -> available). (bug #28725 )
2004-12-16 12:34:32 +00:00
Frank M. Kromann
7800086169
Adding missing zend_list_addref() and make SWFShape::drawArc() work
2004-12-15 18:01:31 +00:00
Ilia Alshanetsky
cc17322c14
MFB: test fix.
2004-12-14 17:43:53 +00:00
Dmitry Stogov
b20a007aa0
Fixed build with custom libming
2004-12-14 16:15:58 +00:00
Dmitry Stogov
860754f0f9
Fixed build on linux-glibc21-i386
2004-12-14 14:01:06 +00:00
Dmitry Stogov
3f0c2347ff
Fixed bug #30994 (SOAP server unable to handle request with references).
2004-12-14 13:58:57 +00:00
Ilia Alshanetsky
6d7cac7731
Fixed bug #28228 (NULL decimal separator is not being handled correctly).
2004-12-14 00:37:19 +00:00
Wez Furlong
419bbffeef
Make it really build...
2004-12-13 13:52:01 +00:00
Joe Orton
7263c220dd
More PHP_LIBDIR fixes for lib64 platforms.
2004-12-13 10:30:21 +00:00
Wez Furlong
d213b67cdf
Add missing constants for socketpair().
...
I thought I had included these...
Good catch Nuno :)
2004-12-12 23:21:53 +00:00
Wez Furlong
d10b86f8f4
Add stream_socket_pair(), a streams based version of socketpair().
...
Modified patch from Vincent [six at t0x dot net]
2004-12-12 16:10:35 +00:00
Ilia Alshanetsky
c96a1e0ddf
Fixed bug #31056 (php_std_date() returns invalid formatted date if
...
y2k_compliance is On).
# will MFH to 5.0.X and 4.3.X after release
2004-12-12 15:50:06 +00:00
Antony Dovgal
01b996b98b
fix buffer overrun & segfault in get_meta_tags() when there is no tag value
2004-12-10 10:30:01 +00:00
Ilia Alshanetsky
5484568c5c
Avoid causing a crash.
2004-12-10 00:36:51 +00:00
Antony Dovgal
ad76be844b
CS changes (as suggested by Ilia)
2004-12-09 17:15:52 +00:00
Antony Dovgal
5dbe3f6f4f
fix 1-byte leak
2004-12-09 15:07:56 +00:00
Antony Dovgal
e76824c91f
fix segfault in session_module_name() when session.save_handler is empty
2004-12-09 14:14:21 +00:00
Antony Dovgal
01f31dcccb
fix buffer overrun and remove debug printf() call
2004-12-09 08:22:06 +00:00
Frank M. Kromann
49f88bc05a
Fix logic for file checking. Bug #31019
2004-12-08 18:57:48 +00:00
foobar
4366854783
Fix build. This was not supposed to halt configure if test fails.
2004-12-08 06:46:34 +00:00
Brad House
ab6faef7ee
Newer versions of libmonetra broke compatability with one function. Make workaround that detects version, and works with both.
2004-12-08 03:02:34 +00:00
Dmitry Stogov
a22fa4d109
Fixed crash in phpinfo() after graceful Apache restart.
2004-12-07 18:02:25 +00:00
Dmitry Stogov
ca3c82bbb5
Fixed bug #30928 (When Using WSDL, SoapServer doesn't handle private or protected properties)
2004-12-07 17:29:42 +00:00
Antony Dovgal
0582a631fe
fix leak
2004-12-07 16:54:25 +00:00
Ilia Alshanetsky
d0cbaa911f
Fixed bug #30995 (snmp extension does not build with net-snmp 5.2).
2004-12-07 00:33:24 +00:00
Ilia Alshanetsky
6883a3f09c
Fixed bug #30990 (allow popen() on *NIX to accept 'b' flag).
2004-12-06 23:30:37 +00:00
Derick Rethans
48b118968f
- MF43: Install the iconv extension headers to <installpath>/ext/iconv so that
...
external extensions can use them.
2004-12-06 20:39:20 +00:00
Ilia Alshanetsky
2980ab0cdc
MFB: revert
2004-12-06 19:46:23 +00:00
Georg Richter
f0f08ec32b
fixed windows compile errors (Thx to Sebastian Bergmann)
2004-12-06 05:15:03 +00:00
Rob Richards
cb72e23c14
add optional parameter to pass libxml document load options
2004-12-05 12:02:35 +00:00
Rob Richards
4cea708b21
define options that can be used when loading documents
2004-12-05 11:59:46 +00:00
Rob Richards
28076f78ed
add test
2004-12-04 11:40:10 +00:00
Rob Richards
25554b8118
Fixed bug #28817 (Var problem when extending domDocument). (Georg)
2004-12-04 11:39:34 +00:00
Georg Richter
6d27573ec2
added skipif section
2004-12-04 08:50:33 +00:00
Georg Richter
9751d9afaa
Fixed bug #30890 (testsuite)
...
Fixed bug #28817 (property problems in extended class)
2004-12-04 08:16:04 +00:00
Antony Dovgal
b6b8bf0010
fix array_walk_recursive() so it doesn't reuse cached fci between calls
...
and add test for it
2004-12-03 17:43:23 +00:00
Stefan Esser
9a18fb197d
Handle already existing elements correctly
2004-12-03 16:02:48 +00:00
Georg Richter
30dd61abb7
Fixed bug #30967 (properties in extended mysqli classes don't work)
2004-12-03 07:56:19 +00:00
Ilia Alshanetsky
e99526eb7e
Fixed bug #30962 (mssql returns space for NULL columns).
2004-12-03 02:26:04 +00:00
Antony Dovgal
ccc6462cc5
revert my previous patch as it breaks more than fixes
2004-12-02 16:35:02 +00:00
Antony Dovgal
ed5638bf77
fix tests
2004-12-02 16:33:36 +00:00
Stefan Esser
1094a0d243
Beware of negative indices
2004-12-01 22:42:00 +00:00
Dmitry Stogov
a1c85ca6f2
Fixed bug #30329 (Error Fetching http body, No Content-Length, connection closed or chunked data).
2004-12-01 18:22:40 +00:00
Dmitry Stogov
5b074c048d
Port 443 is default for https, so we shouldn't put it into Host:
2004-12-01 17:33:32 +00:00
Dmitry Stogov
ec4b6f713d
Fixed bug #30359 (SOAP client requests have no port in "Host" field ).
2004-12-01 16:59:48 +00:00
Ilia Alshanetsky
349c134061
Fixed bug #30945 (make ctype_* functions return FALSE on empty strings).
...
Slight performance improvement of multi-byte string checking via ctype_*.
2004-11-30 16:55:55 +00:00
Ilia Alshanetsky
46745e31ed
This test is conditional on the libTidy library. On some configurations
...
tidy crashes due to a bug in the lib.
2004-11-30 00:01:30 +00:00
Derick Rethans
b6f9b5c693
- Added testcase for bug #30695
2004-11-29 10:15:03 +00:00
Sergey Kartashoff
1907f0ab8b
- MnoGoSearch extension updated to fix compilation issues with
...
mnogosearch-3.2.25+
2004-11-28 20:03:05 +00:00
Antony Dovgal
dbc0bb7514
fix #29954 (array_reduce segfaults when initial value is array)
2004-11-28 17:03:45 +00:00
Stefan Esser
6d98fc38b5
Fixed: removed possible integer over-/underflows
2004-11-28 12:44:28 +00:00
Ilia Alshanetsky
9379801c9a
Improve offset check inside shmop_write().
2004-11-27 18:17:58 +00:00
Stanislav Malyshev
808d9b035f
'l' is long - int won't work on 64-bit
2004-11-26 13:17:30 +00:00
Ilia Alshanetsky
5796326d5a
CS
2004-11-25 23:44:20 +00:00
Ilia Alshanetsky
07db7765a1
Fixed compilation when PHP is built in separate directory.
2004-11-24 23:12:18 +00:00
Marcus Boerger
520097b065
- Fix Bug #30856 (ReflectionClass::getStaticProperties segfaults)
2004-11-24 19:56:54 +00:00
Marcus Boerger
4ab537fc61
- Add new test
2004-11-24 19:56:25 +00:00
Dmitry Stogov
5ece0ecdfb
Test was fixed.
2004-11-23 17:21:33 +00:00
Derick Rethans
9b9ae8ee70
- We need to install the headers too.
2004-11-23 13:05:24 +00:00
Edin Kadribasic
6d23aae34e
Only dllexport during the compilation of iconv.c
2004-11-23 12:04:07 +00:00
Derick Rethans
ce022d2723
- Export "php_iconv_string()".
2004-11-23 09:44:54 +00:00
Derick Rethans
a6ded1178e
- Added test for bug #28599
2004-11-23 09:40:07 +00:00
Ilia Alshanetsky
0e138423d4
Fixed compile warning.
2004-11-22 23:29:59 +00:00
Frank M. Kromann
b38b068302
Adding fbsql_set_characterset.
...
Change PHP_INI_USER to PHP_INI_ALL on fbsql.batchsize
2004-11-22 22:40:21 +00:00
Andi Gutmans
7c3eaef39d
- Don't reuse Oracle connections in multi-threaded environments until
...
- we decide to either not support ZTS connection pooling (kind of
- pointless as PHP isn't stable in ZTS mode) or fix the 100% reproducable
- crash bug on oci_connect() under Windows most probably due to this
- problem.
2004-11-22 21:44:42 +00:00
Frank M. Kromann
82cd4789a7
Fix #30860 configure fails when tds is compiled as shared
2004-11-22 19:41:43 +00:00
Dmitry Stogov
139933fe59
Test was fixed.
2004-11-22 17:43:03 +00:00
Dmitry Stogov
107da542ae
Skip condition was fixed.
2004-11-22 15:15:50 +00:00
Dmitry Stogov
c6fad655a0
Tests were fixed.
2004-11-22 15:12:32 +00:00
Ilia Alshanetsky
496031df78
emalloc -> safe_emalloc.
2004-11-21 20:43:10 +00:00
Rob Richards
a7cd9768d1
internal entities get expanded if no default handler but cdata handler exists
2004-11-21 14:25:15 +00:00
Antony Dovgal
39b25e4f3d
fix yet another typo
2004-11-21 13:35:32 +00:00
Antony Dovgal
d9dd604ae7
fix typo (bug #30857 )
2004-11-21 13:33:20 +00:00
Andi Gutmans
737568997b
*** empty log message ***
2004-11-21 06:17:32 +00:00
Pierre Joye
f3b74fe9ac
- Attempt to fix #28598 , bug introduced in GD (around php 4.3.4)
...
The way they fix MS Symbol are wrong, multiple faces support hould added
later, safer.
Please test it with your weird fonts, if it works, MFH will be done.
2004-11-20 13:09:45 +00:00
Rob Richards
8f32b61acb
fix crash when calling com methods
...
- due to change in Zend
2004-11-20 11:40:49 +00:00
Antony Dovgal
2a588879ef
fix bug #30587 (array_multisort doesn't separate zvals before changing them)
2004-11-19 16:55:37 +00:00
Rob Richards
83a6b8c762
Fixed bug #30061 (xml_set_start_namespace_decl_handler not called)
...
hopefully resolve a bunch of entity issues
2004-11-18 19:59:23 +00:00
Rob Richards
b87d8cdfd0
prototype fixes (Jakub Vrána)
2004-11-18 19:54:30 +00:00
Rob Richards
1e0212ef8e
Fixed bug #30832 ("!" stripped off comments in xml parser)
...
reset sax->initialized flag when not using SAX2
2004-11-18 18:26:13 +00:00
Rob Richards
2496f4f882
fix SAX2 handling to work with libxml 2.6.16
2004-11-18 16:36:00 +00:00
Rob Richards
bd8aba8c8d
fix typo so it compiles
2004-11-18 16:35:04 +00:00
Ilia Alshanetsky
54ff6af758
Gracefully handle allocation failure.
2004-11-17 23:42:14 +00:00
Pierre Joye
32ff83e4da
- Really fix imagefill, part of my previous (old) fix was not applied
...
(blame me), bak the alphablending and restore it on exit
2004-11-17 20:19:35 +00:00
Pierre Joye
d9f08cb7ce
- MFB: fix #30739 , imagefill did not set back alphablending mode
2004-11-17 17:21:22 +00:00
Dmitry Stogov
6bb5705619
namespace was renamed
2004-11-17 06:18:18 +00:00
Ilia Alshanetsky
df4911561b
Fixed possible usage of un-initialized variable.
2004-11-16 21:04:10 +00:00
Dmitry Stogov
62ce05fb49
indentation fixed.
2004-11-16 13:51:09 +00:00
Dmitry Stogov
94a372b992
Fixed bug #30799 (SoapServer doesn't handle private or protected properties)
2004-11-16 13:04:39 +00:00
Dmitry Stogov
a9a5dbd9b8
Class mapping was implemented (Bug #29385 Soapserver always uses std class).
2004-11-16 12:07:32 +00:00
Ilia Alshanetsky
a04722b1b0
MFB: fixed build.
2004-11-15 23:37:05 +00:00
Frank M. Kromann
4893e3c505
Adding most of the changes suggested in #30280 . Mostly fix's for possible leaks.
2004-11-15 22:45:29 +00:00
Frank M. Kromann
11363296be
Avoid renaming of sprintf to php_sprintf
2004-11-15 21:13:25 +00:00
Sergey Kartashoff
89b2866758
# Copyright header & version info changed to PHP 5 standard notice
2004-11-15 19:03:20 +00:00
Derick Rethans
d79407f4fd
- MF5.0: Fixed bug #28599 (strtotime fails with zero base time).
2004-11-15 16:31:12 +00:00
Derick Rethans
61364b5bb1
- MFH4.3: Cleaned up some of the locale mess:
...
* all internal use of sprintf, snprintf and the like will always
use the . as thousands seperator (if php.h is included only!).
* echo, printf() and sprintf() always render locale-aware
* added the %F modifier for non-locale aware rendering for floats
2004-11-15 13:42:22 +00:00
Ilia Alshanetsky
fae64ba40c
Added support for better control over FTP encryption protocols.
2004-11-14 20:00:16 +00:00
Sergey Kartashoff
acc517cd5c
- More mnogosearch-3.2.23+ compatibility
2004-11-14 18:30:40 +00:00
Marcus Boerger
95ff205e6c
- Bugix #30783 : Apache crash when using ReflectionFunction::getStaticVariables()
2004-11-14 18:01:44 +00:00
Antony Dovgal
f85a11f280
fix #30780 (tidy segfaults on 'new tidyNode;')
2004-11-14 13:33:59 +00:00
Rob Richards
db2c5275a1
Fixed bug #30566 (attribute namespace URIs are inconsistent when parsing).
2004-11-13 14:32:44 +00:00
Frank M. Kromann
a62b69b9c5
fix ZTS builds
2004-11-12 20:32:43 +00:00
Ilia Alshanetsky
613db6ee30
Simplify and cleanup code.
2004-11-12 02:22:01 +00:00
Marcus Boerger
08cc69dbf4
- Correct exception throwing
2004-11-11 20:06:23 +00:00
Marcus Boerger
4c8bca469f
- Use exceptions now they work
2004-11-11 19:42:11 +00:00
Marcus Boerger
9c0f5e8887
- Use appropriate exception class where possible
2004-11-11 19:36:27 +00:00
Marcus Boerger
5dbb0aaa24
- Drop debug message
2004-11-11 19:31:27 +00:00
Dmitry Stogov
e370219e2a
Support for lists in non-WSDL mode was implemented
...
Support for "xsi:type" was improved
2004-11-11 09:17:10 +00:00
Antony Dovgal
d33eb14569
fix #30751 (phpinfo() shows the same ini path after reconfigure with --with-config-file-path)
2004-11-11 06:57:06 +00:00
Wez Furlong
be4778b87e
Fix leaking handle.
...
Thanks to ilya77 at gmail dot com
2004-11-10 19:47:15 +00:00
Marcus Boerger
a59551d771
- Add new tests
2004-11-10 19:22:26 +00:00
Ard Biesheuvel
bb5ce07f8c
Fixed return value of ibase_execute()
2004-11-10 11:21:50 +00:00
Ilia Alshanetsky
8992aa0bcf
Fixed possible overflow.
2004-11-10 01:43:04 +00:00
Joe Orton
20f63ecb7a
Fix --with-recode since PHP_YAZ is never defined.
2004-11-09 16:11:13 +00:00
Joe Orton
0f858fc744
Make the "rounding fuzz" check work again with gcc 3.3 and later,
...
fixing the bug24142 test.
2004-11-09 15:58:16 +00:00
Dmitry Stogov
9c5661f05d
Fixed bug #29211 (SoapClient doesn't request wsdl through proxy). (Rob)
2004-11-09 08:13:35 +00:00
Ilia Alshanetsky
500690f235
Fixed crash inside cpdf_setdash() if called before page init.
2004-11-09 00:44:12 +00:00
Marcus Boerger
31165806f8
- Simplify construction of RecursiveIteratorIterator
2004-11-08 13:44:34 +00:00
Marcus Boerger
118d5a7d5b
- Fix constructors
...
- This fixes exceptions in spl
2004-11-08 13:42:53 +00:00
Ilia Alshanetsky
cb16f5e815
Fixed possible crash on fstat() failure.
2004-11-08 04:54:27 +00:00
Ilia Alshanetsky
92a641e5e7
Simplify and cleanup code.
2004-11-05 00:05:55 +00:00
Marcus Boerger
4b76d82fe3
- Add new test
2004-11-04 22:07:18 +00:00
Marcus Boerger
28ced40c63
Bug #30627
2004-11-04 20:13:30 +00:00
Dmitry Stogov
75c2a2e527
Fixed bug #30685 (Malformed SOAPClient http header reequest).
2004-11-04 15:30:28 +00:00
Edin Kadribasic
d2b5b62af5
MySQL is releasing client libraries that compile out of the box
...
with mysqli extension, so there is no need for a specially compiled
client library anymore.
2004-11-04 02:41:40 +00:00
Derick Rethans
59651c4e58
- Fixed bug #30630 : Added a BSD based strtod function that is
...
locale-independent. (PHP part)
2004-11-03 23:36:51 +00:00
Ilia Alshanetsky
9a9815a123
emalloc() failures are handled by zend engine.
2004-11-03 22:17:45 +00:00
Marcus Boerger
fcbd8c4f99
- Trying to invoke function not methot here
2004-11-03 21:18:44 +00:00
Marcus Boerger
63b288c464
- Fix invokeargs() with static methods
2004-11-03 21:11:48 +00:00
Joe Orton
2685ca935f
Update extensions to use /path/to/$PHP_LIBDIR rather than /path/to/lib
...
to support multi-ABI platforms.
2004-11-03 14:32:52 +00:00
Joe Orton
ee39ec7d0a
Remove unused variable.
2004-11-03 13:12:41 +00:00
Antony Dovgal
b5c1040240
fix build
2004-11-03 06:22:08 +00:00
Frank M. Kromann
6a15a50d35
oops missed a couple!
...
Add termination block to function table. This will allow the engine to stop registreting functions at the end.
This fixes the - duplicate name - warning
2004-11-03 01:20:16 +00:00
Frank M. Kromann
93da44811e
Add termination block to function table. This will allow the engine to stop registreting functions at the end.
...
This fixes the - duplicate name - warning
2004-11-03 01:16:10 +00:00
Andrey Hristov
494d665955
make sleep() return it's return value when possible
...
#on some *nix systems sleep() is implemented with SIGALRM. When SIGALRM
#interrupts sleep() it returns the number of seconds that has to be slept
#till the number of seconds wanted by the script. Sleep() on Windows is
# void.
2004-11-02 17:03:20 +00:00
Ilia Alshanetsky
8091bfb84c
MFB: Fixed bug #30658 (Ensure that temporary files created by GD are removed).
2004-11-02 16:41:41 +00:00
Ilia Alshanetsky
5f9d72c431
Fixed open_basedir & safe_mode bypass inside readlink() function.
2004-11-02 00:37:32 +00:00
Marcus Boerger
e1dfbfc695
- Don't call beginChildren/endChildren if they don't do anything
2004-11-01 23:16:43 +00:00
Marcus Boerger
533e39ecf7
- Cache function lookup
2004-11-01 23:02:10 +00:00
Marcus Boerger
3b7e24cab2
- Add RecursiveIteratorIterator::beginChildren(), endChildren()
2004-11-01 22:54:12 +00:00
Marcus Boerger
36a9455a48
- Update examples
2004-11-01 22:31:11 +00:00
Marcus Boerger
c18e248e60
- Remove doubled definition
2004-11-01 22:28:59 +00:00
Marcus Boerger
b0c2af58f7
- Add some comment
2004-11-01 21:06:42 +00:00
Marcus Boerger
2ce7bcd742
- Allow direct access to spl class entries (SPL cannot be build shared)
2004-11-01 20:57:23 +00:00
Marcus Boerger
4dbf6a530d
- Update docu
2004-11-01 18:11:39 +00:00
Marcus Boerger
07ed0872fb
- Update docu
2004-11-01 18:01:06 +00:00
Marcus Boerger
bd40510b62
- Two new exceptions
...
- Make use of new exception classes
2004-11-01 17:39:59 +00:00
Marcus Boerger
623f564abc
- Fix macro usage
2004-11-01 17:26:15 +00:00
Marcus Boerger
cae8eeba8d
- Update docu
2004-11-01 17:05:45 +00:00
Marcus Boerger
638b0515b3
- Update docu
2004-11-01 16:31:19 +00:00
Marcus Boerger
fe1909b591
- Implement basic exception classes
2004-11-01 15:50:25 +00:00
Marcus Boerger
db47e478c5
- Use new way for global variables
...
- Cache class lookup
2004-11-01 12:09:46 +00:00
Marcus Boerger
8e3a8b1e8e
- Add interface Countable (PECL #30113 )
2004-11-01 10:45:54 +00:00
Georg Richter
b557bdb665
added multi resultset support in mysql_connect
2004-11-01 09:53:16 +00:00
Georg Richter
b8863135a2
Fixed tests for empty dates (see http://bugs.mysql.com/?id=6058 )
...
Fixed memleak in mysqli_stmt_bind_result
Fixed error handling for mysqli_multi_query
2004-11-01 07:19:26 +00:00
Ilia Alshanetsky
5b95dc5faf
MFB: Fixed bug #30613 (Prevent infinite recursion in url redirection).
2004-11-01 04:55:01 +00:00
Marcus Boerger
e0196d11a4
- Do not autoload if require does the trick
2004-11-01 01:29:06 +00:00
Marcus Boerger
846666109b
- Update
2004-11-01 00:33:41 +00:00
Marcus Boerger
b9470609ad
- Minor fixes
...
- Implement AppendIterator in C
2004-11-01 00:26:59 +00:00
Marcus Boerger
9626e9859a
- Implement EmptyIterator in C
2004-10-31 20:59:39 +00:00
Marcus Boerger
b87f16bfbe
- Update docu
2004-10-31 19:51:34 +00:00
Marcus Boerger
de3a8ea3e1
- Implement InfiniteIterator in C
2004-10-31 19:49:18 +00:00
Marcus Boerger
081dac3026
- Update docu
2004-10-31 19:05:37 +00:00
Marcus Boerger
a872cb0d8d
- Aggregate inner iterator for RecursiveIteratorIterator
2004-10-31 19:05:19 +00:00
Marcus Boerger
90012aa3cc
- Implement classes IteratorIterator and NoRewindIterator in C
2004-10-31 18:43:00 +00:00
Marcus Boerger
6166a4a49d
- Update
2004-10-31 15:36:08 +00:00
Marcus Boerger
41b87ab486
- Add ReflectionFunction::invokeArgs(array)
...
- Add ReflectionMethod::invokeArgs(obj, array)
2004-10-31 15:30:53 +00:00
Sebastian Bergmann
e1a941b486
Invokation -> Invocation
2004-10-31 10:19:53 +00:00
Marcus Boerger
9d7cba9db0
- Be consistent and use names as keys (found by johannes)
2004-10-30 19:53:25 +00:00
Marcus Boerger
0e6d7d652e
- Update to new API
2004-10-30 19:14:05 +00:00
Marcus Boerger
861bad634a
- Fix inner iterator aggregation
2004-10-30 19:12:14 +00:00
Marcus Boerger
9dcce367e0
WS (ups)
2004-10-30 14:34:43 +00:00
Marcus Boerger
e2ba10a727
strip trailing (back)slash from path
2004-10-30 14:33:25 +00:00
Marcus Boerger
8bf02ee681
- Fix protos
2004-10-30 10:18:10 +00:00
Marcus Boerger
7c4760d421
- Fix proto
2004-10-30 10:04:37 +00:00
Marcus Boerger
b67ca452c3
- Update docu
2004-10-29 20:58:58 +00:00
Marcus Boerger
208a97a221
- Implement OuterIterator in C
2004-10-29 20:12:57 +00:00
Marcus Boerger
85cae78988
- Abstract no longer valid here
2004-10-29 19:50:51 +00:00
Andi Gutmans
939a0f136e
- [PATCH] Bug fix for #29770 , but for PHP 4.3.9 (Vladimir Zidar)
2004-10-29 00:37:22 +00:00
Ilia Alshanetsky
321cd10977
Simplify code.
2004-10-28 22:22:22 +00:00
Marcus Boerger
dbd717591a
- TSRM Fix
2004-10-28 07:47:46 +00:00
Ilia Alshanetsky
23344ea427
Simplify and cleanup code.
2004-10-27 23:12:05 +00:00
Wez Furlong
c8cc96e6fe
Fix possible crash; patch by Kamesh Jayachandran
2004-10-27 11:07:26 +00:00
Wez Furlong
35b00ffdab
Synopsis:
...
PDOStatement::setFetchMode()
reset default fetch() mode for a statement to PDO_FETCH_BOTH
PDOStatement::setFetchMode(PDO_FETCH_NUM)
PDOStatement::setFetchMode(PDO_FETCH_ASSOC)
PDOStatement::setFetchMode(PDO_FETCH_BOTH)
PDOStatement::setFetchMode(PDO_FETCH_OBJ)
set default fetch() mode for a statement.
PDOStatement::setFetchMode(PDO_FETCH_COLUMN, int colno)
set default fetch() mode to retrieve colno-th column on each fetch() call.
PDOStatement::setFetchMode(PDO_FETCH_CLASS, string classname [, array ctor args])
set default fetch() mode to create an instance of classname,
calling it's ctor, passing the optional ctor args.
The names of the columns in the result set will be used as property names on
the object instance. PPP rules apply.
[NOTE: calling ctor is not yet implemented]
[TODO: this might crash PHP for persistent PDO handles]
PDOStatement::setFetchMode(PDO_FETCH_INTO, object obj)
Similar to PDO_FETCH_CLASS, except that each iteration will update the
supplied object properties.
[TODO: this might crash PHP for persistent PDO handles]
The default fetch() mode is used when no parameters are passed to
PDOStatement::fetch(). When using a statement in an iterator context,
PDOStatement::fetch() is called implicitly on each iteration.
object PDO::queryAndIterate(string sql, <PDOStatement::setFetchMode args>)
This is semantically equivalent to:
$stmt = $pdo->prepare($sql);
$stmt->execute();
$stmt->setFetchMode($args);
return $stmt;
Example/Intended usage:
/* fetch an array with numeric and string keys */
foreach ($pdo->queryAndIterate("select NAME, VALUE from test") as $row) {
debug_zval_dump($row);
}
/* fetch the value of column 1 into $row on each iteration */
foreach ($pdo->queryAndIterate("select NAME, VALUE from test",
PDO_FETCH_COLUMN, 1) as $row) {
debug_zval_dump($row); // string(3) "foo"
}
/* create a new instance of class Foo on each iteration */
foreach ($pdo->queryAndIterate("select NAME, VALUE from test",
PDO_FETCH_CLASS, 'Foo') as $row) {
debug_zval_dump($row);
/*
Object(Foo)#4 (2) refcount(2){
["NAME"]=>
string(12) "foo220051429" refcount(2)
["VALUE"]=>
string(12) "bar789825748" refcount(2)
}
*/
}
etc.
2004-10-27 10:26:27 +00:00
Wez Furlong
12a678ca6a
*cough* de-bogusify driver registration.
...
(what was I smoking??)
2004-10-26 22:00:15 +00:00
Wez Furlong
0a4127a610
Fix for Bug #29418 (double free when openssl_csr_new fails).
...
Also hook up MSHUTDOWN function which appears to have never been enabled.
Patch by Kamesh Jayachandran
2004-10-26 09:24:07 +00:00
Ilia Alshanetsky
852170d740
Merge gettimeofday() based code to prevent duplication.
2004-10-25 13:28:56 +00:00
Hartmut Holzgraefe
7fc2e6ca5b
Make ldap_parse_reference() available on Windows (Bug #29492 )
2004-10-23 23:03:52 +00:00
Antony Dovgal
07f84de680
commit fixes by <mikael dot suvi at trigger dot ee>
...
(segfaults under heavy load)
2004-10-23 09:32:44 +00:00
Rob Richards
b20d2ba86c
fix windows build
2004-10-22 13:11:33 +00:00
Ilia Alshanetsky
4b947b0525
Allow gettimeofday() return a float if optional argument is specified.
2004-10-21 21:20:52 +00:00
Ilia Alshanetsky
0818faee7f
Slight optimization in str_split() when split length is the same or greater
...
then the string length.
2004-10-20 22:44:43 +00:00
Ilia Alshanetsky
c5e2e02b0a
Simplify code.
2004-10-19 22:25:15 +00:00
Anantha Kesari H Y
2559c94740
As NetWare LibC don't have the implementation of chown and chgrp there is no point in exposing this function to PHP
2004-10-19 08:21:24 +00:00
Georg Richter
f4f84ac9ab
Minor fix for mysqli_connect: checking socket_len for NULL Values
...
(Thx to Paul DuBois)
2004-10-19 05:14:09 +00:00
Ilia Alshanetsky
8c8fba0841
Fixed bug #30475 (curl_getinfo() may crash in some situations).
2004-10-18 22:41:24 +00:00
Ilia Alshanetsky
7d18ca4c93
Added sqlite_fetch_column_types() 3rd argument for arrays.
2004-10-14 23:19:38 +00:00
Ilia Alshanetsky
51ffc01776
Added optional offset parameter to file_get_contents().
2004-10-13 23:26:29 +00:00
Ilia Alshanetsky
2390ca71f1
MFH: Added optional offset parameter to stream_get_contents().
2004-10-12 23:25:24 +00:00
Ilia Alshanetsky
5c04e39383
Fixed bug #30362 (stream_get_line() not handling end string correctly).
2004-10-11 18:31:49 +00:00
Ilia Alshanetsky
f8a4d8a4d5
Fixed bug #30375 (cal_info() does not work without a parameter).
2004-10-11 06:39:41 +00:00
Antony Dovgal
3a5822585e
fix possible segfault
2004-10-10 15:04:21 +00:00
Antony Dovgal
b0b4b6eff2
prevent deadlocks when re-using previously established persistent connection
2004-10-10 10:54:26 +00:00
Wez Furlong
9bffcfb407
Fix crash bug.
...
# how the f*** did this work in the first place!?
2004-10-09 13:08:16 +00:00
Moriyoshi Koizumi
a86095fe07
- Fix test. I have no idea why the test was left this way.
2004-10-09 08:16:29 +00:00
Wez Furlong
b3d9c5bea6
Improve .Net support; this should reduce "failed to init .net" errors.
...
Improve error reporting while we're at it too.
2004-10-09 04:39:58 +00:00
Marcus Boerger
2ffbbb1588
Revert for now
2004-10-08 22:19:03 +00:00
Marcus Boerger
1546a578ec
- Make RecursiveFilterIterator work by using reflection
...
- Add docu
- Add new example
2004-10-08 21:49:39 +00:00
Marcus Boerger
1a7051f913
Add new example
2004-10-08 21:17:53 +00:00
Marcus Boerger
5832635b68
Use OuterIterator to simplify conversion to C code
2004-10-08 21:12:15 +00:00
Marcus Boerger
f0c9f998d3
speling
2004-10-08 19:02:00 +00:00
Rob Richards
1aa7fda66b
Fix bug #2482 (xmlwriter_start_document chrashes apache)
...
Fix other function parameters
prep for release
2004-10-08 14:54:15 +00:00
Moriyoshi Koizumi
4f247de89b
- Sync with the latest codebase (fixes bug #28220 ).
2004-10-08 14:40:46 +00:00
Moriyoshi Koizumi
756ee85bec
- Avoid doubly symbol definition. Codes in the removed file has never been
...
used anywhere.
2004-10-08 14:24:06 +00:00
Ilia Alshanetsky
2476198086
Fixed bug #30356 (str_ireplace() does not work on all strings).
2004-10-07 23:10:35 +00:00
Marcus Boerger
6349f46e38
- Added iterator_to_array() and iterator_count()
2004-10-07 23:08:19 +00:00
Rob Richards
7dced12c32
add DOMDocument xmlEncoding, xmlStandalone, xmlVersion (spec name changes)
...
add DOMText isElementContentWhitespace (spec name change)
- old props/method kept for BC.
- spec names changed when Level 3 went from Draft to Recommendation
nuke some unused code
2004-10-07 11:40:20 +00:00
Rob Richards
b0ffa2497b
fix segfault in appendXML due to libxml bug
2004-10-07 10:00:39 +00:00
Marcus Boerger
ca6558a406
- Fix Bug #30344
2004-10-06 21:23:18 +00:00
Ilia Alshanetsky
e35adfe522
Fixed bug #30027 (Possible crash inside ftp_get()).
...
# Patch by cfield at affinitysolutions dot com
2004-10-05 23:53:09 +00:00
Marcus Boerger
476013cebd
- Use ZEND_ARG_SEND_AUTOMATIC for several array functions
2004-10-05 18:37:17 +00:00
Dmitry Stogov
fb6072e10d
Fixed bug #30175 (SOAP results aren't parsed correctly)
2004-10-05 16:00:40 +00:00
Ilia Alshanetsky
5316f7bf25
Fixed bug #30281 (Prevent non-wbmp images from being detected as such).
2004-10-04 20:42:30 +00:00
Andi Gutmans
11bcaedfc8
- Rename delete_global_variable() to zend_delete_global_variable()
2004-10-04 20:17:06 +00:00
Andi Gutmans
db507dd153
- Commit the variable fetch optimization.
...
- Extensions which delete global variables need to use new special function
- delete_global_variable() (I'm about to rename it) to remove them.
- Will post to internals@ or via commit messages if there's anything else.
2004-10-04 19:54:35 +00:00
Marcus Boerger
bb77132391
- Add new test
2004-10-04 17:53:55 +00:00
Anantha Kesari H Y
47e4f575c2
modified to 3rd argument of fcntl to FD_CLOEXEC
2004-10-04 08:52:53 +00:00
Rob Richards
5f630e1935
add evaluate() method to support all xpath expressions
2004-10-03 09:55:29 +00:00
Rasmus Lerdorf
3d85a5d876
Slightly different fix for HEAD for the ming output method BC breaking
...
change.
2004-10-01 19:28:45 +00:00
Sebastian Bergmann
b4a5314dc3
Fugbix typo.
2004-10-01 10:35:26 +00:00
Anantha Kesari H Y
142e92bb70
NetWare specific stat structure access incorporated
2004-09-30 14:31:30 +00:00
Anantha Kesari H Y
ccbeace1ff
handled NetWare F_SETFD and stat differences
2004-09-30 14:23:51 +00:00
Antony Dovgal
0ea23249da
fix error message
2004-09-30 14:20:02 +00:00
Antony Dovgal
fcd702efe4
fix segfault when using unknown/unsupported save_handler and/or serialize_handler (bug #30282 )
2004-09-30 12:19:59 +00:00
Marcus Boerger
9d28fc6643
- CS: Use PHP_* instead of ZEND_* macros
2004-09-30 08:04:29 +00:00
Ilia Alshanetsky
c7cd1d708f
Fixed bug #30276 (Possible crash in ctype_digit on large numbers).
2004-09-30 01:22:56 +00:00
Marcus Boerger
1619178f5e
- Speling
2004-09-29 20:27:36 +00:00
Marcus Boerger
e109ab5492
- Fix docu
2004-09-29 20:25:28 +00:00
Marcus Boerger
35e78f43a1
- Add missing --SKIPIF--
2004-09-29 20:10:12 +00:00
Marcus Boerger
d748f8ecf2
- Fix tests (atm preg_match() is wrong)
2004-09-29 20:09:52 +00:00
Marcus Boerger
c9d32d9b71
- Update test
2004-09-29 19:36:30 +00:00
Anantha Kesari H Y
7387db4366
Included select.h for NetWare
2004-09-29 10:28:17 +00:00
Anantha Kesari H Y
474c53348c
removed unwanted comments, NEW_LIBC checks and NetWare specific stat structure population
2004-09-29 10:21:41 +00:00
Anantha Kesari H Y
745beb2deb
removed redundant NEW_LIBC and CLIB_STAT_PATCH checks for NETWARE
2004-09-29 09:47:15 +00:00
Marcus Boerger
2f40d61bed
- Fix test
2004-09-29 09:43:33 +00:00
Marcus Boerger
7133858532
- Fix test by removing corrupt --SKIPIF--
2004-09-29 09:41:18 +00:00
Marcus Boerger
a898c2dd28
Fix classnames
2004-09-29 08:55:45 +00:00
Marcus Boerger
93753e19b1
Add new test
2004-09-29 08:48:16 +00:00
Anantha Kesari H Y
ec42c1432c
implemented proc_open for NETWARE
2004-09-29 06:04:36 +00:00
Sterling Hughes
8f1a327edb
Add strptime function.
2004-09-29 04:57:19 +00:00
Marcus Boerger
aa8da8daf1
- Fix warnign
2004-09-28 23:10:39 +00:00
foobar
72b2d1c9ee
MFB: - Fixed bug #30205 (Missing <unistd.h> in crypt() configure test).
2004-09-28 20:42:56 +00:00
Marcus Boerger
b907755e3c
- publish reflection_class_factory() as zend_reflection_class_factory()
2004-09-28 19:06:15 +00:00
Frank M. Kromann
81c8d3132b
Fix compilation
2004-09-28 18:38:29 +00:00
Antony Dovgal
454b9659c5
fix bug #29652 (number of FD to ocius.msb is growing)
...
many thanks to Sergei V. Rozinov <S dot Rozinov at sibron dot ru> for testing
2004-09-28 16:59:10 +00:00
Ilia Alshanetsky
183126535c
Fixed bug #30224 (Sybase date strings are sometimes not null terminated).
2004-09-28 14:07:23 +00:00
Marcus Boerger
3fec3a916b
- Make internally used properties read-only and fix default properties
2004-09-27 22:24:57 +00:00
Marcus Boerger
0e68cf3cdb
- Add new test
2004-09-27 22:23:31 +00:00
Marcus Boerger
8d587ce308
- Declare properties
2004-09-27 21:25:12 +00:00
Marcus Boerger
5ab692da02
- Add new test
2004-09-27 21:24:45 +00:00
Ilia Alshanetsky
52ee529ef4
Make test more generic.
...
# Thanks Marcus.
2004-09-27 17:52:25 +00:00
Anantha Kesari H Y
549ec65eee
removed redundant NEW_LIBC checks
2004-09-27 15:55:04 +00:00
Anantha Kesari H Y
32788092da
removed redundant NEW_LIBC and CLIB_STAT_PATCH checks
2004-09-27 15:37:33 +00:00
Anantha Kesari H Y
09d305c1ff
removed redundant NEW_LIBC checks
2004-09-27 14:51:17 +00:00
Anantha Kesari H Y
5da74deab9
removed unwanted NEW_LIBC checks
2004-09-27 14:29:55 +00:00
Anantha Kesari H Y
e12ea3c30d
removed redundant NEW_LIBC check
2004-09-27 14:25:13 +00:00
Anantha Kesari H Y
e510e26aa6
removed unwanted NEW_LIBC checks and comments
2004-09-27 14:19:07 +00:00
Marcus Boerger
9291a7fa98
Fix Reflection_Class to ReflectionClass in docu/messages
2004-09-27 09:11:40 +00:00
Marcus Boerger
04fe8184f8
- Fix warnings
2004-09-27 09:01:18 +00:00
Marcus Boerger
32a0465214
- Fix warning
2004-09-26 22:23:14 +00:00
Marcus Boerger
cc7ef25e4a
fix build
2004-09-26 22:20:24 +00:00
Marcus Boerger
32e478b9fc
- Add fputcsv() (David Sklar)
2004-09-26 21:55:22 +00:00
Marcus Boerger
881c2f05f5
- Earlier detection of failure (.c now)
2004-09-26 21:49:16 +00:00
Marcus Boerger
abe47301c1
- Earlier detection of failure
2004-09-26 21:47:27 +00:00
Marcus Boerger
ace462334e
Fix TSRM build
2004-09-26 21:45:17 +00:00
Marcus Boerger
42bc4cd0ca
Add new examples
2004-09-26 21:21:45 +00:00
Wez Furlong
69a91aae8e
Removing clucking debug and tweak the reset call
2004-09-26 20:52:07 +00:00
Wez Furlong
e7a6eca69d
rough cut at mysql meta data
2004-09-26 20:47:03 +00:00
Wez Furlong
486b426947
meta data for sqlite3.
...
Fix repeated executes when the entire rowset has not been consumed.
2004-09-26 20:46:35 +00:00
Wez Furlong
eb0cd48d60
Add rough cut at fetching meta data.
2004-09-26 20:45:44 +00:00
Ilia Alshanetsky
d5bac133ee
Return FALSE when file cannot be found.
...
Specify full paths to the files used for the test.
2004-09-26 19:24:18 +00:00
Ilia Alshanetsky
d6501f756a
fixed test output.
2004-09-26 19:12:06 +00:00
Marcus Boerger
3cdd2bcb01
- Add more tests
2004-09-26 18:28:07 +00:00
Wez Furlong
429b37d750
compile fix from Timm
2004-09-26 13:52:09 +00:00
Wez Furlong
0c1a436917
Probable fix for Bug #30147
2004-09-25 23:13:49 +00:00
Anantha Kesari H Y
cc45f504d4
removing the unwanted inclusion of headers
2004-09-25 15:39:26 +00:00
Anantha Kesari H Y
b35e507884
removing unwanted comment
2004-09-25 15:36:47 +00:00
Anantha Kesari H Y
293ab565b5
removing unwanted inclusion of socket header file
2004-09-25 15:33:57 +00:00
Anantha Kesari H Y
80a4042a5c
removed NEW_LIBC checks in NETWARE
2004-09-25 15:30:26 +00:00
Marcus Boerger
16f30e1951
- Fix lib substitution (rurban at x-ray dot at )
2004-09-25 15:29:19 +00:00
Anantha Kesari H Y
7d57757a8a
removed redundant NEW_LIBC checks
2004-09-25 15:26:55 +00:00
Anantha Kesari H Y
6692794433
removed redundance LIBC checks for NETWARE
2004-09-25 15:23:35 +00:00
Anantha Kesari H Y
78ecac2569
removed unwanted NEW_LIBC checks as they are no more needed for NETAWRE
2004-09-25 14:54:41 +00:00
Anantha Kesari H Y
146cb29054
removing unwanted header files getting included
2004-09-25 14:48:44 +00:00
Anantha Kesari H Y
bc90ecb7e2
removed unwanted NEW_LIBC checks
2004-09-25 14:46:24 +00:00
Anantha Kesari H Y
c4b57bc16b
Now NetWare LibC supports proper stat structure no need of CLIB_STAT_PATCH and all such checks
2004-09-25 14:23:32 +00:00
Anantha Kesari H Y
595268403a
removed the redundant NEW_LIBC checks
2004-09-25 14:19:38 +00:00
Anantha Kesari H Y
00760e1343
removed the redundant NEW_LIBC checks
2004-09-25 14:09:45 +00:00
Anantha Kesari H Y
24437ccb75
cleaned up confusing NetWare specific check. disabled chown and chgrp for NetWare
2004-09-25 13:19:45 +00:00
Wez Furlong
2416481fd1
More sensible error codes in the exceptions we throw for broken transactions
2004-09-24 18:49:33 +00:00
Ilia Alshanetsky
1fc2b79172
Make handle error messages handle persistent situations better.
2004-09-23 21:15:51 +00:00
Ilia Alshanetsky
626caf0292
Make error messages handle persistent environments properly.
2004-09-23 21:03:41 +00:00
Wez Furlong
72040f7f2a
more method table adjustments.
...
mysql driver needs work with the error message stuff.
Other drivers need a bit more auditing...
2004-09-23 20:43:11 +00:00
Wez Furlong
b42c14f07e
placeholder for someone to implement a ping for persistent connections
2004-09-23 20:20:23 +00:00
Wez Furlong
53ed3475ce
add entry for liveness check
2004-09-23 20:09:00 +00:00
Wez Furlong
7937f0a229
Implement persistent connections
...
$dbh->exec --> $dbh->query
2004-09-23 20:07:02 +00:00
Marcus Boerger
2e49a2d960
Add test description
2004-09-23 18:43:21 +00:00
Marcus Boerger
c0b62ca36d
Add new test
2004-09-23 18:38:34 +00:00
Marcus Boerger
e13eb1d6c0
Bugfix # 30209
2004-09-23 18:37:53 +00:00
Dmitry Stogov
b027850ba4
Fixed bug #30182 (SOAP module processing WSDL file dumps core).
2004-09-22 05:58:40 +00:00
Frank M. Kromann
62fbbd1494
Fix win32 build
2004-09-21 18:09:29 +00:00
Wez Furlong
31a17d9044
Enable hypot for all
2004-09-20 22:08:06 +00:00
Edin Kadribasic
3da64fa20a
Add additional include search path
2004-09-20 21:26:24 +00:00
Ilia Alshanetsky
4af4cf0914
Fixed bug #29913 (parse_url() is now binary safe).
2004-09-20 05:13:35 +00:00
Wez Furlong
9ce9605723
Use the correct free() here...
2004-09-19 22:20:55 +00:00
Wez Furlong
eb5e0d6d12
Add package.xml
...
(not quite ready for release)
2004-09-19 19:50:06 +00:00
Wez Furlong
ceb551024a
Add support for:
...
$d = new PDO('foobar'); // name has no : character
This will indirect via the entry "pdo.dsn.foobar" from the php.ini file,
so if you have:
pdo.dsn.foobar=sqlite::memory:
the above is equivalent to this:
$d = new PDO('sqlite::memory:');
which creates an in-memory sqlite db.
2004-09-19 19:28:02 +00:00
Wez Furlong
f40608230b
Use NO_PERM code here
2004-09-19 18:13:09 +00:00
Wez Furlong
797303d23a
un-bogusify uri: stuff...
2004-09-19 18:11:27 +00:00
Wez Furlong
34d10931e2
Add "no permission" error code.
...
Add a uri: psuedo driver; it specifies the name of a resource that contains,
as its first line, the actual data source to connect to.
The resource can be a local file, or it can be any resource for which PHP
has a wrapper.
// loads connection data from the file "myapp"
$d = new PDO('uri:myapp');
// lets say that public.db.com has a read-only db open for the public
// their connection data is also published via the web:
// (not so great to resolve this on each request though...)
$d = new PDO('uri:http://public.db.com/pdo-connection-data ');
2004-09-19 16:58:13 +00:00
Wez Furlong
6fa469f367
make it build on win32
2004-09-19 15:47:13 +00:00
Wez Furlong
0d4869f24b
Add transaction support.
...
Add authorizer/safe_mode support
2004-09-19 12:42:39 +00:00
Marcus Boerger
d0cfb7d3fd
Bugfix #30146 (ReflectionProperty->getValue() requires instance for static property)
2004-09-19 11:54:08 +00:00
Marcus Boerger
dfe23e34d9
Add new test
2004-09-19 11:53:30 +00:00
Marcus Boerger
980424a834
Add new test
2004-09-19 11:26:05 +00:00
Marcus Boerger
43d9ade92b
Bugfix #30148 (ReflectionMethod->isConstructor() fails for inherited classes)
2004-09-19 11:25:39 +00:00
Wez Furlong
2f161ab79d
First cut at a PDO driver for SQLite 3.x
...
Features:
- native prepare/execute and bound parameters.
- finally supports binary data (via bound parameter api)
- full unicode/utf-8 support
Missing:
- UDF functions
- authorizer hooks for safe_mode/open_basedir restrictions
You need to download, compile and install sqlite3 yourself; we're not bundling
it (at least, not yet).
2004-09-19 10:55:41 +00:00
Wez Furlong
99e290f882
Fix for Bug #24189 : possibly unsafe select(2) usage.
...
We avoid the problem by using poll(2).
On systems without poll(2) (older bsd-ish systems, and win32), we emulate
poll(2) using select(2) and check for valid descriptors before attempting
to access them via the descriptor sets.
If an out-of-range descriptor is detected, an E_WARNING is raised suggesting
that PHP should be recompiled with a larger FD_SETSIZE (and also with a
suggested value).
Most uses of select(2) in the source are to poll a single descriptor, so
a couple of handy wrapper functions have been added to make this easier.
A configure option --enable-fd-setsize has been added to both the unix and
win32 builds; on unix we default to 16384 and on windows we default to 256.
Windows FD_SETSIZE imposes a limit on the maximum number of descriptors that
can be select()ed at once, whereas the unix FD_SETSIZE limit is based on the
highest numbered descriptor; 256 should be plenty for PHP scripts under windows
(the default OS setting is 64).
The win32 specific parts are untested; will do that now.
2004-09-17 12:44:56 +00:00
Wez Furlong
9085689d6f
standardize the callback support to allow array($obj, 'method') callbacks.
...
Add a couple of utility functions.
2004-09-17 11:26:43 +00:00
Dmitry Stogov
7a149080d8
Fixed crash with SoapFault and register_shutdown_function().
2004-09-16 08:12:27 +00:00
Dmitry Stogov
37a66d6d3b
Fixed invalid test name
2004-09-15 14:36:59 +00:00
foobar
36a76f403a
Test for bug #30069
2004-09-15 13:54:16 +00:00
Derick Rethans
7795da58e6
- Added new boolean (fourth) parameter to array_slice() that turns on the
...
preservation of keys in the returned array.
2004-09-15 11:50:27 +00:00
Dmitry Stogov
2a63e78eed
Fixed possible crash
2004-09-15 10:43:07 +00:00
Ilia Alshanetsky
6784176b9c
Fixed compiler warnings.
2004-09-14 23:57:53 +00:00
Dmitry Stogov
ffc2278d6e
Fixed bug #30045 (Cannot pass big integers (> 2147483647) in SOAP requests)
2004-09-14 12:15:30 +00:00
Sara Golemon
34550382d8
Added stream_filter_remove() to cancel a stream filter.
...
Register filters as resources when
instantiated by stream_filter_(ap|pre)pend().
Export php_stream_filter_flush() internal function to wind buffered data
out of a particular filter until consumed by a later filter or sent to
stream->readbuffer or stream->ops->write()
2004-09-14 03:48:17 +00:00
Magnus M��tt�
17c77a54bf
Add missing stream unregister for sslv2 and 3.
2004-09-13 18:30:30 +00:00
Dmitry Stogov
12752a4044
Change soap's ctors to __construct(),
...
rename SoapClient->__call() to SoapClinet->__soapCall().
2004-09-13 11:55:24 +00:00
Marcus Boerger
61bbeabdfa
- Moe changed from .re to .c
2004-09-12 12:45:01 +00:00
Marcus Boerger
8564352f59
- Readd check for nested data (but correct this time)
2004-09-12 12:43:05 +00:00
Marcus Boerger
06ade1ab1c
- Check for legal key types
2004-09-12 12:23:16 +00:00
Marcus Boerger
6200c9a5a1
- Remove wrong test
2004-09-12 11:51:13 +00:00
Antony Dovgal
e2568f0a4f
64-bit related changes
...
./configure will now behave differently if $ORACLE_HOME/lib32 exists
(this mostly happens at Solaris AFAIK)
2004-09-12 06:38:31 +00:00
Derick Rethans
4bae5cb4d0
- MFB: Added the sorting flag SORT_LOCALE_STRING to the sort() functions which
...
makes them sort based on the current locale. (Derick)
2004-09-11 14:22:35 +00:00
Sara Golemon
955b43ba12
Add stream_wrapper_unregister()
...
Disables a wrapper (user-defined or built-in) for the life of the request.
Add stream_wrapper_restore()
Restores the wrapper originally defined at the time the request started
to the protocol name mentioned.
2004-09-10 20:45:35 +00:00
Sterling Hughes
58cb0d77a0
fix wrong check from return value, binary content should not be \0'd,
...
non-binary content should be \0'd.
2004-09-10 20:36:45 +00:00
Wez Furlong
0bc0ccce2b
Fix Bug #29296 : add explicit sslv2 and sslv3 transports
2004-09-10 11:43:47 +00:00
Dmitry Stogov
f8181ba7b5
SoapClient->__call() is renamed to SoapClient->__soap_call().
2004-09-10 09:02:06 +00:00
Dmitry Stogov
f93560ddc9
Using php_libxml_xmlCheckUTF8() from ext/libxml.
2004-09-10 08:59:45 +00:00
Wez Furlong
751f67d5d1
avoid ANSI stdio when calling tempnam() to avoid limitations of AT&T libc.
2004-09-09 19:41:07 +00:00
Timm Friebe
8e5d8e6679
- Defaulted ini variable "sybct.deadlock_retry_count" to 0
...
# For details on why this was changed, see
# http://zend.com/lists/php-dev/200409/msg00108.html
2004-09-09 19:17:50 +00:00
Marcus Boerger
621795ef4b
Fix __call's method signature
2004-09-09 09:53:53 +00:00
Marcus Boerger
8e56b3b6a6
Proper #ifdef'ing
2004-09-09 09:08:33 +00:00
Marcus Boerger
b16ae3b73a
add new test
2004-09-09 07:46:19 +00:00
Sara Golemon
532a79aa52
*** empty log message ***
2004-09-08 23:37:55 +00:00
Rob Richards
da5ff5d9f1
fix issue with multiple xsl objects using registerPHPfunctions
...
- also fixes threading issue
2004-09-08 16:54:17 +00:00
Rob Richards
ccb99d0a1e
implement php_libxml_xmlCheckUTF8
...
- workaround for pre libxml2-2.6.13 function
2004-09-08 10:15:41 +00:00
Sara Golemon
92c4a37a6a
Chunk Length may optionally be followed by whitespace
2004-09-07 22:46:24 +00:00
Frank M. Kromann
aa25757136
Make it possible to return VideoStream and PrebuiltClip
2004-09-07 19:40:18 +00:00
Sara Golemon
a85bff9796
Protocol version context option and chunked transfer encoding
2004-09-07 19:27:11 +00:00
Dmitry Stogov
7e53511ec8
Make ext/soap work around libxml2 bug in xmlCheckUTF8 (2.6.7-2.6.13)
2004-09-07 14:34:46 +00:00
Rob Richards
963200c74c
Fixed bug #29945 (simplexml_load_file URL limitation 255 char)
2004-09-06 10:16:34 +00:00
Marcus Boerger
2f5990a5c4
Touch
2004-09-05 17:44:15 +00:00
Marcus Boerger
338e3357ae
- Bugfix #29985
2004-09-05 17:37:57 +00:00
Marcus Boerger
efea880e6f
- Add some checks to unserialize() to prevent bufferoverflows
2004-09-05 17:16:02 +00:00
Marcus Boerger
91af7f394f
- Add some checks when unserializing data to prevent buffer overflows
2004-09-05 16:29:05 +00:00
Andrey Hristov
945f7d68b9
remove "." at the end of messages
2004-09-05 13:27:58 +00:00
Moshe Doron
9632e324b6
make autogenerated docs happy (Friedhelm Betz)
2004-09-05 08:13:56 +00:00
Georg Richter
eb3900b77a
forgot to remove comment in last commit
2004-09-04 14:16:52 +00:00
Marcus Boerger
ef3e8fa852
- Add link to chm version
...
- Change wording
2004-09-03 18:46:29 +00:00
Marcus Boerger
d265cdffbf
- Fix protoe's
2004-09-03 18:39:30 +00:00
Marcus Boerger
4d3894178d
Update docu
2004-09-03 06:16:34 +00:00
Ilia Alshanetsky
6ad651afbe
Adjusted input check.
2004-09-03 03:35:22 +00:00
Frank M. Kromann
57f3b2504e
Adding swfvideostreamp and swfprebuiltclipp, available in ming 0.3
2004-09-02 20:56:39 +00:00
Marcus Boerger
72000ecda9
Fix memleak in serialize
2004-09-02 18:28:47 +00:00
Marcus Boerger
94c4feef12
Fix test
2004-09-02 18:24:58 +00:00
Stanislav Malyshev
dbc1cb5e92
MF4: fix crash if shutdown uses file stats
2004-09-02 09:39:55 +00:00
Georg Richter
62ed6a0f2b
fixed bug #29283
2004-09-02 04:53:01 +00:00
Ilia Alshanetsky
197d65770a
Fixed bug #29925 (Added a check to prevent illegal characters in session
...
key).
2004-09-02 02:44:04 +00:00
Marcus Boerger
1cd7013517
Add new test for seeking
2004-08-31 20:54:31 +00:00
Marcus Boerger
819127b74b
Fix seeking
2004-08-31 20:54:00 +00:00
Sara Golemon
579575e430
Use user_agent ini setting if it's available.
2004-08-31 20:11:18 +00:00
Joe Orton
0d3884fed1
Move global symbols defined by bundled copy of libgd into private
...
php_gd_* namespace, to avoid symbol conflicts with, for instance,
another Apache module which loads a different copy of libgd.
2004-08-31 16:41:29 +00:00
Antony Dovgal
fdb578219b
this file shouldn't be in the repository at all
2004-08-31 08:31:09 +00:00
Ilia Alshanetsky
142ac728dd
Added missing input validation to dio_write().
2004-08-30 22:21:09 +00:00
Frank M. Kromann
a1cf684b55
Fif for #28047 . Set correct debug options for debug_ts build
2004-08-30 19:01:58 +00:00
Rob Richards
a50166004d
remove cloning under ze1_compatibility_mode
...
- minor BC break but doesnt work right under compat mode anyways
2004-08-30 17:29:22 +00:00
Rob Richards
02fa5aa0dc
remove cloning under ze1_compatibility_mode
...
- minor BC break but doesnt work right under compat mode anyways
2004-08-30 15:07:20 +00:00
Rob Richards
d39cca1530
remove clone functionality
2004-08-30 14:59:30 +00:00
Ilia Alshanetsky
9996b5f731
Fixed leak when serializing protected & private properties.
2004-08-29 17:16:20 +00:00
George Schlossnagle
1901b9d90e
A little cleanup on the language refinements.
2004-08-29 13:37:10 +00:00
Jan Lehnardt
d402f6fab3
- language refinements
2004-08-29 11:54:38 +00:00
Sergey Kartashoff
505144b844
- A fix for building of shared mnogosearch module
2004-08-29 10:59:33 +00:00
Marcus Boerger
1d1d20ced2
Add more docu
2004-08-29 10:33:24 +00:00
Antony Dovgal
fdb29f9fa5
fix leak
2004-08-29 06:10:47 +00:00
John Coggeshall
2f4ca9a2d4
Removed examples which don't actually work anymore for PHP 4, and
...
updated those that do for PHP 5.
2004-08-28 18:10:21 +00:00
Derick Rethans
52d6a64efa
- Fixed bug #29873 (No defines around pcntl_*priority definitions).
2004-08-28 12:20:06 +00:00
Marcus Boerger
eeb4e150e7
Fix by (mathieu dot bruneau at argontechnologies dot ca)
2004-08-27 20:38:15 +00:00
Dmitry Stogov
dae2423d11
Fixed bug #29842 (soapclient return null value)
2004-08-27 07:07:46 +00:00
Ilia Alshanetsky
ee8a0fc8f8
Fixed a nasty resource/memory/disk-space leak when opening zlib files
...
via wrapper stacking ala compress.zlib://http://...
2004-08-26 23:36:05 +00:00
Marcus Boerger
b1d43bac61
Fix test: Classes cannot extend Interfaces
2004-08-26 22:58:12 +00:00
Marcus Boerger
5960786cc6
Add new test
2004-08-26 22:24:48 +00:00
Rob Richards
74259c9124
no longer experimental
...
update package info
2004-08-26 20:17:20 +00:00
Rob Richards
518145133f
not experimental
2004-08-26 20:13:33 +00:00
Dmitry Stogov
855f3591a6
Memory leaks were fixed
2004-08-26 18:52:57 +00:00
Dmitry Stogov
0384e2ae27
Fixed bug #29839 (incorrect convert (xml:lang to lang))
2004-08-26 18:43:06 +00:00
Dmitry Stogov
dedab09c32
Fixed bug #29839 (incorrect convert (xml:lang to lang))
2004-08-26 18:40:10 +00:00
Dmitry Stogov
0835c34572
Fixed bug #29795 (SegFault with Soap and Amazon's Web Services)
...
Fixed bug #27994 (segfault with Soapserver when WSDL-Cache is enabled)
2004-08-26 15:26:32 +00:00
Dmitry Stogov
6078001f12
Merged bug fixes from PHP_5_0.
2004-08-26 12:24:54 +00:00
Ilia Alshanetsky
fe73e4d851
Fixed bug #29808 (array_count_values() breaks with numeric strings).
2004-08-26 00:26:19 +00:00
Andrei Zmievski
ace6ff598c
MFB.
2004-08-25 20:48:48 +00:00
Georg Richter
616d49aaf6
test for local_infile_handler
2004-08-25 13:58:03 +00:00
Georg Richter
c8572b0bba
changed local_infile_handler:
...
mysql client lib now uses php_local_infile functions by default, which allows
to use php_fopen_wrapper: e.g. LOAD DATA LOCAL INFILE 'http://foo.com/bar.csv ' ...
mysql_set_local_infile_handler now only supports a callback function for read.
2004-08-25 13:57:35 +00:00
Christian Stocker
b96ebb376f
if $doc->recover = true; set error_reporting to (old | E_WARNING)
...
This way, you can't silence XML parse errors with the @ character
2004-08-25 08:27:07 +00:00
Marcus Boerger
1d913a9c0b
MFB: TSRM fix
2004-08-24 21:49:09 +00:00
Andrei Zmievski
f30355a7df
MFB.
2004-08-24 20:58:59 +00:00
Frank M. Kromann
381d3f8e62
Add fbsql_rows_fetched() - returns the total number of rows fetched.
...
Fix a possible crash in fbsql_database() if the function was called before a connection was made.
2004-08-24 17:59:01 +00:00
Ilia Alshanetsky
f95c1df583
Fixed bug #29821 (Fixed possible crashes in convert_uudecode() on invalid
...
data).
2004-08-24 15:25:48 +00:00
Rob Richards
53d0c7a753
fix segfault when object cloned
2004-08-24 13:33:11 +00:00
Wez Furlong
bbd6dec20c
Add support for the readline callback interface, allowing you to interleave
...
IO and user input. Sample script:
<?php
dl("readline.so");
function handle_user_input($line)
{
echo "You typed: '$line'\n";
if ($line == 'exit')
exit;
}
readline_callback_handler_install('type! > ', 'handle_user_input');
while (true) {
$n = stream_select($r = array(STDIN), $w = null, $e = null, null);
if ($n && in_array(STDIN, $r)) {
readline_callback_read_char();
}
}
2004-08-24 12:52:07 +00:00
Derick Rethans
0bfb0fad92
- No tabs here please
2004-08-24 12:28:46 +00:00
Wez Furlong
5ed8e63591
use dependent libs while probing for functions
2004-08-24 12:06:37 +00:00
Christian Stocker
ce65982ec1
This extension is no more experimental
2004-08-24 11:50:26 +00:00
Ilia Alshanetsky
4ca88997f7
Fixed possible crash inside dio_read().
2004-08-23 17:27:33 +00:00
Ilia Alshanetsky
8eacea8b48
Fixed proto of headers_list().
2004-08-23 16:58:11 +00:00
Timm Friebe
7035a224b5
- Fixed packet size setting
...
# Patch by Alex Kiesel
2004-08-21 17:54:11 +00:00
Andrey Hristov
dd5538566e
fix for bug 26737 : private & protected member variables not serialized
...
when user defined __sleep() is declared. Additionally E_NOTICE is
being thrown if __sleep() returns a non-existing member variable name
2004-08-21 13:49:19 +00:00
Ilia Alshanetsky
3849411fa2
Adjust magic path ordering.
2004-08-20 15:11:49 +00:00
Ilia Alshanetsky
823e4029f7
MFB: Removed unneeded bits.
2004-08-20 13:53:16 +00:00
Ilia Alshanetsky
420a8cd50a
Added /usr/share/misc/file/magic to the possible magic paths (used by Debian)
2004-08-20 13:48:19 +00:00
Ilia Alshanetsky
67e3288a5d
Added more missing cURL options.
2004-08-20 00:55:56 +00:00
Antony Dovgal
ca28e37be1
fix #29737 in the right way with performance in mind
2004-08-19 15:14:04 +00:00
Antony Dovgal
e156ed7433
fix #29737 (ip2long should return -1 if IP is 255.255.255.255 and FALSE on error)
2004-08-19 13:59:29 +00:00
Christian Stocker
5950725144
fix for bug #29657 xml_* functions throw non descriptive error, compared to php4
...
fix for bug #29711 libxml and non iso-8859-1.
If no encoding specified, it defaults to UTF-8 now
2004-08-19 12:18:25 +00:00
Marcus Boerger
ba75dd7877
Fix issue in test
2004-08-19 08:04:20 +00:00
Marcus Boerger
308081cd11
- Implement #29728 : Reflection API Feature: Default parameter value.
...
. ReflectionParameter::isDefaultValueAvailable()
. ReflectionParameter::getDefaultValue()
2004-08-19 07:42:02 +00:00
Marcus Boerger
5e1a0f4c0c
- Nedd to work on copy
2004-08-19 07:16:02 +00:00
Marcus Boerger
35fec42377
- Show default value of optional parameters of user defined functions.
2004-08-18 23:07:12 +00:00
Ilia Alshanetsky
5520636b17
Fixed bug #29727 (Added missing CURL authentication directives).
2004-08-18 21:27:24 +00:00
Ilia Alshanetsky
4d360ead0c
Fixed bug #29594 (Use PHP's own tmpfile() implementation).
2004-08-16 23:07:42 +00:00
Marcus Boerger
041d23d7b6
- Fix bug #29447 : Reflection API issues
2004-08-16 08:48:25 +00:00
Ilia Alshanetsky
60fc9c050a
Fixed bug #29678 (opendir() with ftp:// wrapper segfaults if path does not
...
have trailing slash).
2004-08-16 01:41:14 +00:00
Marcus Boerger
44a9c3188e
Make clear this is PDO support
2004-08-15 19:17:58 +00:00
Marcus Boerger
d16571328f
Fix extension name
2004-08-15 15:56:33 +00:00
Marcus Boerger
295ae448b1
- Synch names with other extensions
2004-08-15 13:43:56 +00:00
Georg Richter
1c6f49006b
fixed default for mysqli_fetch_array
2004-08-15 05:48:16 +00:00
Dan Kalowsky
206c05dc47
Checking in a patch by Dave Lawson (dlawson@masterytech.com) to correct
...
some of the behavior found in the odbc_fetch_*() functions. This patch
NEEDS to be tested on MS Access before a release is done with it. This
submission is to get it into the daily builds for testing.
2004-08-13 19:33:24 +00:00
Georg Richter
1593aa0e5e
fixed bug #29656 (segfault on result and statement properties)
2004-08-13 16:25:29 +00:00
Antony Dovgal
e511b57e2a
fix yet another annoying compile warning
2004-08-13 14:59:58 +00:00
Antony Dovgal
f370d0290f
fix compile warning
2004-08-13 14:52:27 +00:00
Christian Stocker
e99c375606
Added DomDocument->recover property for parsing not well-formed XML Documents.
2004-08-13 12:32:55 +00:00
Georg Richter
8ff9528138
minor fix in mysqli_prepare: copying stmt errormessag to mysql structure
2004-08-12 22:14:06 +00:00
Chuck Hagenbuch
6639ab8469
More spaces -> tabs.
2004-08-12 19:31:36 +00:00
Ilia Alshanetsky
5b58b9af6b
Properly fix the msgno check inside imap_fetchbody().
2004-08-12 19:20:15 +00:00
Chuck Hagenbuch
0bf1525bc8
fix.
2004-08-12 18:01:45 +00:00
Andi Gutmans
0286913937
- Use FREE_HASHTABLE()
2004-08-12 06:17:42 +00:00
Marcus Boerger
5310de975c
Change to use md5_file()
2004-08-12 00:38:01 +00:00
Ilia Alshanetsky
61d60153b2
Fixed memory leak.
2004-08-11 23:25:50 +00:00
Marcus Boerger
3bca709fbc
Add missing module deps
2004-08-11 21:04:36 +00:00
Ilia Alshanetsky
af77fdb9bf
It's stable now.
2004-08-11 20:31:39 +00:00
Ilia Alshanetsky
e8f10e2694
Prepare for 1.0 release of enchant.
2004-08-11 20:30:44 +00:00
Derick Rethans
318be175a4
- Added a notice to getimagesize in case zlib is not available and a compressed
...
SWF movie has been passed to the function.
2004-08-11 12:33:03 +00:00
Christian Stocker
786ffab310
fix test
2004-08-11 08:23:26 +00:00
Sara Golemon
74de8bdb02
Don't require the user to specify as a reference
2004-08-11 03:57:15 +00:00
Dmitry Stogov
fa6079ea25
Fixed bug #28969 (Wrong data encoding of special characters)
2004-08-10 16:18:08 +00:00
Dmitry Stogov
de46ba2ea5
Fixed bug #28969 (Wrong data encoding of special characters).
2004-08-10 16:11:41 +00:00
Dmitry Stogov
db855e2c74
Test is fixed. (__call() requires two parameters).
2004-08-10 09:57:16 +00:00
Christian Stocker
32613f510c
Fix segfault on error in xslt
2004-08-10 08:00:06 +00:00
Moriyoshi Koizumi
51fc7b8ea5
- Bugfix #29493 (extract(array, EXTR_REFS) misbehaves with elements referred
...
twice or more times). (Patch inspired by Michael Manley. Thanks.)
2004-08-10 06:00:30 +00:00
Georg Richter
2454194424
fixed bug #29577 (MYSQLI_CLIENT_FOUND_ROWS undefined)
2004-08-09 04:34:01 +00:00
Christian Stocker
264fd866a1
- Fix bug #29573 : Segmentation fault when php function(called from XSLT templat) throw exception
...
- Fix some 0 Byte Memory Leaks
2004-08-08 18:01:33 +00:00
Wez Furlong
8c4b687769
Fix for Bug #29490 from Michael Sisolak.
...
Another fine patch; thanks Michael.
2004-08-07 21:00:59 +00:00
Sara Golemon
37b8c079d6
Fix inet_pton/ntop() on BSD
2004-08-07 15:59:59 +00:00
Sara Golemon
592b17d4d1
Binary safety fix for inet_pton()
2004-08-07 05:11:26 +00:00
Sara Golemon
75f4ec8879
New Functions inet_pton() and inet_ntop()
2004-08-07 04:50:24 +00:00
Sara Golemon
d1341b1c15
Add A6 support, fix IPv6 address parsing, and improve define compatability
2004-08-06 18:38:35 +00:00
Sara Golemon
b48af415cd
ZTS Fix
2004-08-06 16:36:00 +00:00
Wez Furlong
d0ce6368b1
Avoid possible segfault when using stream_socket_client with bogus flags.
2004-08-06 14:08:17 +00:00
Ilia Alshanetsky
ee656c4b32
php_error() -> php_error_docref()
2004-08-05 23:57:51 +00:00
Gabor Hojtsy
15e14aeca5
update documentation credits, mentioning that more contributors are listed in the manual
2004-08-05 16:26:15 +00:00
Antony Dovgal
e63a7d893b
change xsl_xsltprocessor_set_parameter() to support parameter->value arrays
...
add test for it
@Change xsl_xsltprocessor_set_parameter() to support parameter->value arrays (Tony)
2004-08-05 13:31:17 +00:00
Marcus Boerger
90e4fd0a0a
- Fix bug #29523 (ReflectionParameter::isOptional() is incorrect)
2004-08-04 22:47:56 +00:00
Frank M. Kromann
5c412842d9
Move iconv exports to the iconv extension and make libxml depend on iconv
2004-08-04 16:47:17 +00:00
Frank M. Kromann
3944483cac
Move iconv exports to the iconv extension
2004-08-04 16:46:48 +00:00
Zeev Suraski
99e343d250
Update prototypes
2004-08-04 16:41:13 +00:00
Antony Dovgal
58f9ed3a8e
nuke unused variable
2004-08-04 14:57:40 +00:00
Zeev Suraski
84e6f8f075
Fix prototypes
2004-08-04 14:41:56 +00:00
Georg Richter
40defd5f2c
forgot to remove debug variable :( (Thx to Derick)
2004-08-04 13:15:48 +00:00
Georg Richter
5caeacc9c3
fixed properties when connect wasn't called
2004-08-04 12:59:09 +00:00
Georg Richter
161b37ffbc
fixed bug #29522
2004-08-04 12:28:09 +00:00
Ilia Alshanetsky
e7b73ddce7
Fixed argument handling in sun* functions.
2004-08-04 00:28:03 +00:00
Edin Kadribasic
a0a046ca09
New libxml2 version for windows build.
...
Version 2.6.11.
http://ctindustries.net/dom/libxml/
2004-08-03 22:45:36 +00:00
Wez Furlong
4d39a171ee
Even more verbosity...
2004-08-03 12:41:26 +00:00
Wez Furlong
f765acea59
Even more verbosity in case of error
2004-08-03 09:44:04 +00:00
Antony Dovgal
cc39d06e4e
fix typo in mail.c: mail_force_extra_parameters -> mail.force_extra_parameters
2004-08-03 06:25:25 +00:00
Frank M. Kromann
2acc314e6f
sys/stat.h is includes in php_streams.h no need to do that again.
2004-08-03 04:15:34 +00:00
Wez Furlong
99639f79b6
Avoid possible exception
2004-08-03 00:47:57 +00:00
Marcus Boerger
70268f05ef
- Expand to test number of parameters
2004-08-02 23:10:53 +00:00
Marcus Boerger
84b90d6803
- Add methods to check parameter count
2004-08-02 23:10:29 +00:00
Marcus Boerger
2803965525
Correct test name
2004-08-02 23:00:35 +00:00
Marcus Boerger
ef9e7e5d9e
Add test
2004-08-02 22:59:58 +00:00
Ilia Alshanetsky
cd7dafab7c
Allow sqlite_fetch_column_types() to properly handle table names with
...
spaces in them.
2004-08-02 22:43:40 +00:00
Wez Furlong
d38f944d1c
Better error reporting
2004-08-02 18:02:48 +00:00
Marcus Boerger
5f0433db83
MFB: Enforce protocol on magic methods/functions
2004-08-02 08:27:57 +00:00
Sascha Schumann
5890197024
fix empty_string issue
...
Patch submitted by Antony Dovgal <tony2001@phpclub.net>
2004-08-02 08:27:46 +00:00
Sascha Schumann
26cb5355e0
don't read empty files
...
0 malloc noticed by Antony Dovgal <tony2001@phpclub.net>
2004-08-02 08:27:24 +00:00
Wez Furlong
83472de48e
Fix some misbehaving pecls (my own included ;-)
2004-07-31 18:46:18 +00:00
Wez Furlong
47e7fef08e
Allow win32 stuff to build non-zts.
...
Fix stream crypto func (again? didn't I already commit that?)
2004-07-31 17:28:27 +00:00
Wez Furlong
d4ad4ac370
Allow COM to build under non-zts.
...
Thanks Frank.
2004-07-31 17:27:03 +00:00
Frank M. Kromann
62cd02c5a7
Adding missing PHPAPI for non ZTS builds
2004-07-30 22:49:02 +00:00
Ilia Alshanetsky
972940509f
Fixed bug #29443 (Sanity check for wbmp detection).
2004-07-30 01:10:41 +00:00
Edin Kadribasic
5ec7c94a95
Fixed bug #29264 . Newer libintl redefines function names so all
...
PHP gettext function names become prefixed with libintl_
2004-07-29 22:23:23 +00:00
Edin Kadribasic
8a582fa707
Fix compilation on Windows (bug #29340 )
2004-07-29 21:09:23 +00:00
Edin Kadribasic
7941b599fc
No PECL should be enabled by default
2004-07-29 20:43:00 +00:00
Timm Friebe
a75203a278
- Fixed bug #29064 (Exact numeric/decimal/money datatypes lose precision)
...
- Fixed bug #27843 (sybase_query() triggers (spurious?) notices when
query is a stored procedure)
- Fixed multiple memory leaks with sybase_unbuffered_query()
- Changed sybase_query() to ignore store_results = false in buffering
mode, it would yield unpredictable results
- Fixed sybase_unbuffered_query() when used with store_results = false
- Changed sybase_fetch_object() to ignore second argument when passed
as NULL
- Made sybase_data_seek() error message more verbose
- Fixed memory leak in shutdown when not all rows where selected in an
unbuffered query
2004-07-29 19:32:46 +00:00
Wez Furlong
7b1d95adba
Fix my favourite call user func mistake
2004-07-29 14:06:24 +00:00
Wez Furlong
ff531cca4d
Missing ifdef; thanks Tony
2004-07-29 11:54:12 +00:00
Wez Furlong
4da80ed1de
Use the correct lengths when building the name -> dispid mapping
2004-07-29 06:19:27 +00:00
Wez Furlong
cde7423cde
Misc. win32 thread safety fixes.
2004-07-29 02:59:44 +00:00
Ilia Alshanetsky
739696d2d7
Fixed but #29437 (Possible crash inside array_walk_recursive()).
2004-07-29 00:35:07 +00:00
Ilia Alshanetsky
65ae35729d
Proper parameter separators for PostgreSQL connection initialization.
2004-07-29 00:18:02 +00:00
Ilia Alshanetsky
45ddc6a5cd
Better address availability check.
2004-07-28 23:34:27 +00:00
Ilia Alshanetsky
445daac3ab
Fixed possible crash in stream_socket_recvfrom() when length parameter has
...
a negative value.
2004-07-28 23:21:54 +00:00
Marcus Boerger
b1326c1c24
- Fix problem when inner constructor isn't called from derived constructor
...
(foound by david)
2004-07-28 22:53:10 +00:00
Marcus Boerger
171d01dfcf
- Update examples
2004-07-28 22:52:11 +00:00
Christian Stocker
5f888422d9
Fix for bug #29409 (Segfault in PHP functions called from XSLT). (by Rob)
2004-07-28 12:40:53 +00:00
Ilia Alshanetsky
89989f4e62
Fixed bug #29342 (strtotime() does not handle empty date string properly).
2004-07-28 01:44:39 +00:00
Marcus Boerger
0b40c1d82b
- Trim error messages
2004-07-28 00:51:48 +00:00
Marcus Boerger
7557b388de
- Fix shutdown problems
2004-07-28 00:40:01 +00:00
Wez Furlong
d5923d9121
equivalent segv/shutdown fix for failed connect
2004-07-28 00:15:19 +00:00
Wez Furlong
d6bfe18b20
looks like this approach will give us our exceptions back
2004-07-28 00:10:28 +00:00
Marcus Boerger
23475d4147
- Add missing include
2004-07-28 00:03:44 +00:00
Marcus Boerger
af900cb1d0
- Fix SEGV in case ctor failed
2004-07-28 00:01:12 +00:00
Wez Furlong
7d788aeba4
fix possible segv on failed connect
2004-07-27 23:58:19 +00:00
Wez Furlong
a783891e76
that's not my copy of the exception ctor, do don't fiddle its flags.
2004-07-27 22:17:40 +00:00
Wez Furlong
aa74430ee0
"better" "fix" for #29392 .
...
This fixes the crash; the sample script:
$c = new COM('ADODB.Connection');
echo $c;
still does not work because the engine tries to call $c->__toString() and the
ADODB object *might* implement that method, but doesn't know until you open the
connection.
2004-07-27 22:17:00 +00:00
Rob Richards
4897bbe125
prep for stable release
2004-07-27 21:06:04 +00:00
Ilia Alshanetsky
fe50278d0a
Fixed bug 29395 (sqlite_escape_string() returns bogus data on empty
...
strings).
Original Patch by: Tony
2004-07-27 16:40:43 +00:00
Ilia Alshanetsky
47bf193c53
Added missing comma. Thanks Tony.
2004-07-27 12:44:25 +00:00
Wez Furlong
3e327b6e21
protect caller from a potential bailout
2004-07-27 03:44:40 +00:00
Wez Furlong
530d41732d
Revert last fix, because it breaks dynamic methods
2004-07-27 02:37:54 +00:00
Wez Furlong
20534bc445
Fix #29392 COM behaved badly for non-existant methods
2004-07-27 01:59:44 +00:00
Ilia Alshanetsky
69a5253284
Fixed bug #29349 (imagecreatefromstring() crashes with external GD library)
...
Original Patch By: adconrad at debian dot org
2004-07-27 00:27:06 +00:00
George Schlossnagle
c7b7791029
allow pdo to be functionally inherited from.
2004-07-26 07:42:46 +00:00
Georg Richter
485f862b35
fixed bug #29335
2004-07-26 07:19:05 +00:00
Andrey Hristov
e64af9a898
proto fix
...
(thanks to dave%php.net for spotting)
2004-07-26 06:32:54 +00:00
Georg Richter
dede51adf6
fixed bug in mysql->client_version
...
added mysql->client_info property
2004-07-26 05:44:06 +00:00
Marcus Boerger
aae7a83df4
- Fixed Bug #29354 Exception constructor marked as both public and
...
protected
# If the constructor should be protected then it needs to be overwritten
# with a method that simply calls the parent, this function simply changes
# the visibility of the original function and makes that (public+protected)
2004-07-25 18:50:24 +00:00
Marcus Boerger
7e914380c9
- Show visibility errors (try to fix #29354 )
2004-07-25 18:20:33 +00:00
Christian Stocker
0936bfa42c
renamed registerNamespace() to registerXPathNamespace()
2004-07-25 14:59:21 +00:00
Rob Richards
a1c33af793
export php_libxml_error_handler for win32 build
2004-07-25 12:00:28 +00:00
Christian Stocker
0b244def73
added new method SimpleXMLElement->registerNamespace(string prefix, string uri)
...
"registers a prefix <-> namespaceURI combination for use in a later xpath query. "
2004-07-25 11:02:43 +00:00
Christian Stocker
a497e9bf75
use php_error_docref for libxml2 errors
2004-07-25 10:37:27 +00:00
Christian Stocker
6bd845e365
set errorhandler to generic php_libxml_error_handler
2004-07-25 08:37:39 +00:00
Marcus Boerger
40bf10319b
- Add ReflectionParameter::isOptional() to test whether a parameter is
...
optional and also show this information in export.
2004-07-25 07:06:53 +00:00
Andrey Hristov
d77a3f92e6
make behavior a bit field
2004-07-24 09:25:52 +00:00
Sara Golemon
b0f344e493
Oh by the way, only use proxy mode for reading...
2004-07-24 04:14:26 +00:00
Sara Golemon
93f795bb9e
Add proxy support to ftp using http wrapper
2004-07-24 04:01:48 +00:00
Andi Gutmans
d1b29ad4c2
- There's no reason why gettimeofday() shouldn''t return the same time in
...
successive calls; this test fails spuriously on Linux/x86_64 (which has
a particularly fast gettimeofday() implementation).
- Joe Orton <jorton@redhat>
2004-07-23 21:53:16 +00:00
Georg Richter
8c6ab178e4
fixed bug #29311
...
added support for Cursors (MySQL 5.0.x)
2004-07-23 12:47:36 +00:00
Edin Kadribasic
67c42a4a9b
Updated version number
2004-07-23 02:28:18 +00:00
Ilia Alshanetsky
70d78cf7dd
Fixed bug #29333 (output_buffering + trans_sess_id can corrupt output).
2004-07-23 02:05:49 +00:00
Stefan Esser
da3d9f8e25
Fix .dsp
2004-07-22 22:42:35 +00:00
Stefan Esser
e58e6efd4d
Merge changes from GD 2.0.28
2004-07-22 22:38:59 +00:00
Rob Richards
950f950ecd
add optional name parameter to next()
...
move to next named sibling skipping subtrees
2004-07-22 15:50:44 +00:00
Wez Furlong
17adf438a2
Added stream_context_get_default() which returns the default context option.
...
You may then set options that affect streams operations for the whole script.
Added stream_socket_enable_crypto() which allows you to turn on or off a crypto
layer (eg: SSL/TLS) on stream, if supported by the underlying transport.
Registered a bunch of constants for that.
2004-07-22 12:12:28 +00:00
Georg Richter
96c002e07c
changed warning (bug #29298 ) for outdated client library
2004-07-22 07:24:55 +00:00
Sara Golemon
f064a2c8b9
This should fix binary safety for bound results or may coogle strike me down.
2004-07-22 03:23:33 +00:00
Ilia Alshanetsky
1c2a22025d
Fixed bug #29209 (imap_fetchbody() doesn't check message index).
...
# Initial Patch by tony2001 at phpclub dot net
2004-07-21 21:57:03 +00:00
Andrey Hristov
5e5d2640fb
add array_:
...
intersect_key()
intersect_ukey()
diff_key()
diff_ukey()
The first two by a patch of Cristiano Duarte. The second two were
implemented in almost the same way except one small difference.
2004-07-21 21:17:56 +00:00
Sara Golemon
e5ed53b00a
Add MTDM support to ftp_fopen_wrapper::url_stat()
2004-07-21 04:37:47 +00:00
Sara Golemon
f502f56613
Oops, copy/paste typo
2004-07-21 02:39:53 +00:00
Sara Golemon
ee93ed0aaa
Persistent mallocs can return NULL (on failure)
2004-07-21 02:38:40 +00:00
Ilia Alshanetsky
633ce3039f
Abort earlier on invalid format.
2004-07-21 00:14:48 +00:00
Rob Richards
23d202bd36
prep for alpha release
2004-07-20 20:57:10 +00:00
Moriyoshi Koizumi
fbfd50bd1f
- Correct range checks.
...
- Normalize negative values.
2004-07-20 20:08:08 +00:00
Moriyoshi Koizumi
e87fe59e96
- Cleanups.
2004-07-20 19:41:37 +00:00
Moriyoshi Koizumi
e25a206e87
oops...
2004-07-20 19:35:38 +00:00
Marcus Boerger
514dfbfbed
- Need to set handle prior to calling zend_register_module_ex()
...
(Marcus, Kamesh Jayachandran <kameshj at fastmail dot fm>)
2004-07-20 19:23:55 +00:00
Moriyoshi Koizumi
f89486a3a0
- Fix possible leaks / segfaults in persistent filter
2004-07-20 18:46:39 +00:00
Marcus Boerger
446cc107b8
- Fixed bug 28895 again (long live the dead)
2004-07-20 18:22:31 +00:00
Moriyoshi Koizumi
c210c68add
- Add more null checks.
2004-07-20 18:16:36 +00:00
Moriyoshi Koizumi
3e026f08ae
- pemalloc() might return NULL.
2004-07-20 18:03:19 +00:00
Rob Richards
180306cf88
add optional flush paramter to xmlwriter_output_memory
2004-07-20 15:13:53 +00:00
Dmitry Stogov
31757a6aa8
Fixed incorrect HTTP headers in SOAP response
2004-07-20 07:39:32 +00:00
Sara Golemon
f92797f4e0
Add bz2 stream filter support
2004-07-20 05:26:33 +00:00
Sara Golemon
fc7197322c
Make persistency safe
2004-07-20 05:08:52 +00:00