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