Commit Graph

21536 Commits

Author SHA1 Message Date
Dmitry Stogov
ac68c41f8d Fixed support for static methods 2008-07-25 09:44:47 +00:00
Jani Taskinen
ccc012d3f6 MFH: enable fileinfo by default 2008-07-25 09:16:22 +00:00
Jani Taskinen
bdf5b7bdba Update credits 2008-07-25 09:13:24 +00:00
Jani Taskinen
e593146673 MFH: cleanup 2008-07-25 09:10:11 +00:00
Dmitry Stogov
176ebc26ea Fixed uninitialized data 2008-07-25 08:50:55 +00:00
Antony Dovgal
a46319d86d fix typos 2008-07-25 08:45:09 +00:00
Michael Wallner
15da8367c4 - Changed HTTP stream wrapper to accept any code between and including
200 to 399 as successful. (patch by Noah Fontes)
2008-07-25 08:27:37 +00:00
Dmitry Stogov
691d4a6999 Fixed uninitialised data 2008-07-25 08:23:07 +00:00
SVN Migration
7b0f90e0c8 This commit was manufactured by cvs2svn to create branch 'PHP_5_3'. 2008-07-25 08:18:35 +00:00
Moriyoshi Koizumi
bb35ab45bb - MFH: suppress signedness warnings 2008-07-25 03:42:01 +00:00
Scott MacVicar
d584ed4a01 SQLite3 extension, still has 2 failing tests that will be sorted tomorrow. Will merge to head tomorrow as well. 2008-07-25 02:44:59 +00:00
SVN Migration
14ce4a1d0a This commit was manufactured by cvs2svn to create branch 'PHP_5_3'. 2008-07-25 02:44:58 +00:00
Moriyoshi Koizumi
4f42ed39c0 - Revived zend multibyte 2008-07-24 22:21:41 +00:00
Felipe Pena
0fbe6a0c14 - MFH: Added TSRMLS_DC to apply_func_args_t and zend_hash_apply_with_arguments. 2008-07-24 19:52:24 +00:00
Frank M. Kromann
ae8a21ad77 Fix parameter types for a couple of methods 2008-07-24 18:39:42 +00:00
Moriyoshi Koizumi
150d7a5489 - MFH: fix win32 build 2008-07-24 17:00:03 +00:00
Pierre Joye
246d836a28 - MFH: force static for now, broken now 2008-07-24 16:05:34 +00:00
Arnaud Le Blanc
f9ef6c8723 MFH: Fixed bug #45614 (ArrayIterator::current(), ::key() can show 1st private prop of wrapped object) 2008-07-24 15:54:41 +00:00
Christopher Jones
3de112221f MFH
1. Fix macro version test for constants

2. [DOC] Increase oci8.default_prefetch to 100.  Better out of box experience.  Consistent woth PDO_OCI
2008-07-24 15:24:14 +00:00
Ulf Wendel
44b9a0215c MFH (prepare() fallback logic) 2008-07-24 15:08:02 +00:00
Arnaud Le Blanc
236b03985d Fixed #42663 (gzinflate() try to allocate all memory with truncated data), not present in HEAD. 2008-07-24 14:38:37 +00:00
Scott MacVicar
ccc996f1d9 MFH: Remove non existent defines and change THREADSAFE to SQLITE_THREADSAFE 2008-07-24 14:25:33 +00:00
Andrey Hristov
f728ceae94 MFH: Added test file 2008-07-24 14:17:47 +00:00
Moriyoshi Koizumi
850449568e - MFH: Fix tests. 2008-07-24 13:49:39 +00:00
Moriyoshi Koizumi
d7594edaa0 - MFH: Fixed warnings. 2008-07-24 13:46:50 +00:00
Moriyoshi Koizumi
e29684a2ce - MFH: Added "mbstring.http_output_conv_mimetypes" INI directive. 2008-07-24 13:01:50 +00:00
Ulf Wendel
60e70d1760 MFH (32bit fix) 2008-07-24 12:54:50 +00:00
Felipe Pena
44f1ef210d - MFH: New parameter parsing API 2008-07-24 12:49:11 +00:00
Scott MacVicar
797202ca1a MFH: Add .cvsignore, update config.w32 and remove the other bundled sqlite library 2008-07-24 11:33:34 +00:00
Dmitry Stogov
feb8580166 LSB parent/self forwarding 2008-07-24 09:42:18 +00:00
Steph Fox
6895773aff - Utilize new UNIX_PATHS flag in SPL
- Fix tests

@Jani: hold back on the bunny-killing, HEAD will be in sync later today
2008-07-24 09:22:35 +00:00
Arnaud Le Blanc
aa31988e43 MFH: Allow filters to work on INPUT_SERVER in CLI (bug #44779) 2008-07-24 09:12:45 +00:00
Steph Fox
01b8829f73 MFH Make test x-platform 2008-07-24 08:56:51 +00:00
Steph Fox
0aeea4bdbf MFH SPL_FILE_DIR_UNIXPATHS. 2008-07-24 08:55:52 +00:00
Frank M. Kromann
008a1fd8c2 Add a couple of methods to SWFVideoStream 2008-07-24 08:22:48 +00:00
Antony Dovgal
6b4b6b8341 bump copyright year 2008-07-24 08:17:55 +00:00
Frank M. Kromann
0e80cababc Syncronize the ming extension with libming 0.4
[DOC] PHP 5.3 requires libming 0.4
2008-07-24 08:02:40 +00:00
Antony Dovgal
15cb10c7e3 fix test 2008-07-24 07:32:28 +00:00
Felipe Pena
a1ce847cd5 - MFH: Improved parameter handling 2008-07-24 03:07:22 +00:00
Scott MacVicar
f37a1316fe Update pdo_sqlite to use the amalgamation, much easier to upgrade / maintain. Also kill useless PECL version tag in MINFO.
Will probably be chastised by Jani for doing branch first...
2008-07-24 00:24:03 +00:00
Hartmut Holzgraefe
54981e8c2e MFH: corrected library search path order in tests 2008-07-23 21:44:25 +00:00
Lars Strojny
6579ba27a6 array_intersect_ukey tests by Sanjay Mantoor 2008-07-23 20:37:23 +00:00
Derick Rethans
07c9bd8382 - MFH: Fixed an issue with "first <weekday> of" in case the first <weekday> was
the same day-of-week as the first day of the month.
2008-07-23 19:53:39 +00:00
Stanislav Malyshev
0a7c0b37e3 add compose syntax as per request #14266 2008-07-23 19:44:51 +00:00
Felipe Pena
0bbed66ede - MFH: New parameter parsing API 2008-07-23 19:34:35 +00:00
Derick Rethans
11f9cd84f7 - MFH: Fixed bug #43452 (strings containing a weekday, or a number plus weekday
behaved incorrect of the current day-of-week was the same as the one in the
  phrase).
2008-07-23 18:50:37 +00:00
Felipe Pena
a2cc7ec96a - MFH: Fixed bug #45605 (array_uintersect_assoc gives incorrect error message) 2008-07-23 16:28:46 +00:00
Jani Taskinen
12c066136b MFH: Fix test (bug #44985) 2008-07-23 14:15:19 +00:00
Andrey Hristov
24e7d03e48 MFH: Fixed bug#44897 - failed to prepare statement
After a PS "CALL()" we have at least one result set. If the SP does also some, then
     we need to clean the wire more fool-proof.
2008-07-23 14:07:38 +00:00
Ulf Wendel
e5f3857589 MFH 2008-07-23 13:04:18 +00:00
Antony Dovgal
28a22396d4 MFH: invert the logics - FLAG_FCLOSE -> FLAG_NO_FCLOSE 2008-07-23 11:25:14 +00:00
Antony Dovgal
16ace1828e fix test 2008-07-23 10:26:45 +00:00
Antony Dovgal
a8af74f3d4 fix test names 2008-07-23 10:23:08 +00:00
Antony Dovgal
c31464c976 fix test 2008-07-23 09:49:18 +00:00
Antony Dovgal
c4b8d7149f fix test 2008-07-23 09:29:21 +00:00
Arnaud Le Blanc
0b2ecdbac5 MFH: Fix tests: need simplexml 2008-07-23 09:25:06 +00:00
Antony Dovgal
af00eedf4a MFH: add PHP_STREAM_FLAG_FCLOSE to zip streams 2008-07-23 09:09:10 +00:00
Hartmut Holzgraefe
6fcc0ec369 splitted test cases for lo_create and lo_import, added version aware
SKIP tests
2008-07-23 09:06:59 +00:00
Antony Dovgal
0c9d42bfde MFH: add PHP_STREAM_FLAG_FCLOSE, bz2 streams can be closed with fclose() 2008-07-23 08:56:29 +00:00
Arnaud Le Blanc
15b1c9aade MFH: Fix tests: soap tests in schema/ needs the xml extension 2008-07-23 08:56:20 +00:00
Arnaud Le Blanc
f11ae4d440 MFH: Fix test: use canonical name to avoid problems with domain search path 2008-07-23 08:27:17 +00:00
Marcus Boerger
d78f5554e7 - [DOC] Add FilesystemIterator::SKIP_DOTS (flag to skip '.' and '..' in iteration) 2008-07-23 06:12:29 +00:00
Marcus Boerger
e48d79ba07 - MFH Add new classes 2008-07-23 06:08:07 +00:00
Stanislav Malyshev
c7e1aefd7f add test 2008-07-23 01:18:25 +00:00
Stanislav Malyshev
775502f7e9 add acceptFromHttp 2008-07-23 01:15:33 +00:00
Hartmut Holzgraefe
432b57b2ae added support for object ids in pg_lo_create() and pg_lo_import() where available
(based on code provided by Tatsuo Ishii)
2008-07-23 00:17:19 +00:00
Andrey Hristov
8c56a23a26 MFH: Two less failing tests, one of which was definitely a leak in mysqli with mysqlnd
and pconn. ext/mysql is being fixed with a better fix for similar leak.
2008-07-22 23:44:23 +00:00
Marcus Boerger
ae8ef6c13a - MFH Add MultipleIterator (Arnaud, Marcus) 2008-07-22 22:54:35 +00:00
Scott MacVicar
8d3bfaa01f Fix windows build error. 2008-07-22 21:53:53 +00:00
Stanislav Malyshev
0d30c88ded use correct locale check 2008-07-22 20:40:01 +00:00
Stanislav Malyshev
07667caf13 typofixes 2008-07-22 20:25:51 +00:00
Stanislav Malyshev
d54c396dca refactor ctors, cleanup code 2008-07-22 20:23:47 +00:00
Andrey Hristov
529d73f9d4 MFH: Fix a leak with pconn and mysqlnd 2008-07-22 17:41:15 +00:00
Scott MacVicar
d8d69652dd MFH: Add test for escapeshellcmd and restore previous behaviour with stripping % on Windows. 2008-07-22 16:21:16 +00:00
Andrey Hristov
2c54b3abb5 More debugging info for the trace log 2008-07-22 16:06:08 +00:00
Jani Taskinen
4e2ed54d15 ws + cs 2008-07-22 15:30:03 +00:00
Jani Taskinen
7e67bc4e80 MFH: unused stuff 2008-07-22 14:57:46 +00:00
Felipe Pena
fdfbfb96a1 - MFH: Fixed bug #44246 (closedir() accepts a file resource opened by fopen()) 2008-07-22 14:09:24 +00:00
Rob Richards
cb3bc15807 MFH: Visibility (bug #45557) 2008-07-22 10:30:38 +00:00
Moriyoshi Koizumi
90f9a8e457 - Remove duplicated lines. 2008-07-22 09:18:30 +00:00
Dmitry Stogov
4b0b1d804e Fixed test 2008-07-22 07:09:59 +00:00
Dmitry Stogov
c48c63f5e6 Improved webPhar speed (frontcontroller11.phar.phpt is disabled, should be removed) 2008-07-22 07:03:00 +00:00
Pierre Joye
39ae248465 - MFH: Segfault when an exception is thrown on persistent connections 2008-07-22 06:51:00 +00:00
Felipe Pena
1d5c800648 - MFH: Added arginfo 2008-07-22 01:47:22 +00:00
Scott MacVicar
6c48a01f40 MFH: Fix integer oveflow in strrpos() 2008-07-22 01:10:58 +00:00
Pierre Joye
86a493f435 - SAB: #41996, Problem accessing Oracle ROWID (Martin Jansen) 2008-07-21 17:35:50 +00:00
Jani Taskinen
07586f682b MFH:- Visibility (bug #45564) 2008-07-21 16:23:00 +00:00
Jani Taskinen
1ca8daaafb MFH: sync 2008-07-21 16:16:30 +00:00
Johannes Schlüter
be0793d2e7 MFH: Add mysqlnd support for PDO_mysql, fixes at least bug#41997,#42499,
pecl#12794, pecl#12401

# Running the tests:
# (Note: Doesn't work currnetly on HEAD, see:
#  http://news.php.net/php.qa/64378)
#
#  PDO_MYSQL_TEST_DSN  - DSN
#    For example: mysql:dbname=test;host=localhost;port=3306
#
#  PDO_MYSQL_TEST_HOST    - database host
#  PDO_MYSQL_TEST_DB      - database (schema) name
#  PDO_MYSQL_TEST_SOCKET  - database server socket
#  PDO_MYSQL_TEST_ENGINE  - storage engine to use
#  PDO_MYSQL_TEST_USER    - database user
#  PDO_MYSQL_TEST_PASS    - database user password
#  PDO_MYSQL_TEST_CHARSET - database charset
#
#  NOTE: if any of PDO_MYSQL_TEST_[HOST|DB|SOCKET|ENGINE|CHARSET] is
#  part of PDO_MYSQL_TEST_DSN, the values must match. That is, for example,
#  for PDO_MYSQL_TEST_DSN = mysql:dbname=test you MUST set PDO_MYSQL_TEST_DB=test.
2008-07-21 13:09:28 +00:00
Andrey Hristov
5e79f2c476 Fix for bug#45179 --with-mysql-sock fails to compile & work
Now --with-mysql-sock controls all mysql extensions. If provided it will be
the default value as it was set in php.ini . php.ini will override it for
ext/mysql and ext/mysqli but not for pdo_mysql
2008-07-21 12:58:51 +00:00
Hannes Magnusson
ee40f557a7 Fix tests (patch by Lars) 2008-07-21 12:23:38 +00:00
Jani Taskinen
89935d6f7e - Forward compatibility.
# @DOC@, [DOC], *DOC*: Added FILE_TEXT and FILE_BINARY constants for forward compatibility.
2008-07-21 11:46:18 +00:00
Kalle Sommer Nielsen
769cb023fb MFH 2008-07-21 11:09:36 +00:00
Hannes Magnusson
4fb0ceca1b MFH: fix proto 2008-07-21 09:38:04 +00:00
Kalle Sommer Nielsen
f204fdddb1 Fix test on Windows 2008-07-21 09:32:56 +00:00
Derick Rethans
f279efa61e - MFH: Fixed one more test (on 32 bits) 2008-07-21 09:32:15 +00:00
Derick Rethans
96dedbfedb - MFH: fix test 2008-07-21 07:27:26 +00:00
Antony Dovgal
69b3e17faa MFH 2008-07-21 07:27:13 +00:00
Derick Rethans
f8050d525f - MFH: Fixed bug #45562 (Creating instance of DatePeriod crashes). 2008-07-20 20:58:51 +00:00
Kalle Sommer Nielsen
c9be725fd8 MFH + NEWS entry 2008-07-20 19:03:18 +00:00
Moriyoshi Koizumi
69fa2e384a - MFH: Bug #45572 2008-07-20 18:26:02 +00:00
Etienne Kneuss
6f289c582b MFH: Iterator methods overwriting optimisations 2008-07-20 17:32:10 +00:00
Felipe Pena
a83e976857 - Fixed bug #45571 (ReflectionClass::export() shows superclasses' private static methods.)
patch by Robin Fernandes
2008-07-20 16:51:28 +00:00
Etienne Kneuss
3d0d02f95b MFH: Fix build for solaris 2008-07-20 16:32:55 +00:00
Dmitry Stogov
331a4e46a4 Fixed test 2008-07-20 16:20:02 +00:00
Dmitry Stogov
58e6e2b3d9 Fixed test 2008-07-20 15:56:28 +00:00
Dmitry Stogov
68537af530 Fixed directory reanming/deletion 2008-07-20 14:42:34 +00:00
Felipe Pena
b22f47ee30 - Added arginfo 2008-07-20 14:28:41 +00:00
Etienne Kneuss
5495813bb3 MFH: Complete the ZTS build fix 2008-07-19 19:45:55 +00:00
Derick Rethans
5501431626 - MFH: Fixed ZTS build. 2008-07-19 19:24:07 +00:00
Derick Rethans
42aa7f3dd4 - MFH: Country codes are ISO 3166. 2008-07-19 17:38:29 +00:00
Marcus Boerger
0b42dbce38 - MFH Add MultipleIterator (http://blog.somabo.de/2008/01/multipleiterator-for-php.html) 2008-07-19 15:56:59 +00:00
Marcus Boerger
e537b7934d - MFH Added RecursiveTreeIterator 2008-07-19 15:49:21 +00:00
Etienne Kneuss
f4c3f18053 MFH: Fix valgrind errors in array_method, and possibly #45349 (Thanks tony for the patch) 2008-07-19 13:13:57 +00:00
Etienne Kneuss
8dafec40be MFH: Implement DirectoryIterator::seek 2008-07-19 11:20:18 +00:00
Henrique do Nascimento Angelo
158239004e New tests 2008-07-18 23:52:01 +00:00
Felipe Pena
ff9ad113e9 - New tests 2008-07-18 19:24:49 +00:00
Felipe Pena
6e0906323e MFB:
- Fixed bug #45556 (Return value from callback isn't freed).
- Fixed bug #45555 (Segfault with invalid non-string as register_introspection_callback).
- Fixed wrong arginfo for xmlrpc_encode_request()
2008-07-18 19:24:03 +00:00
Derick Rethans
84693147d0 - MFH: Added support for selectively listing timezone identifiers by country
code through timezone_identifiers_list() / DateTimezone::listIdentifiers().
- MFH: Added timezone_location_get() / DateTimezone::getLocation() for
  retrieving location information from timezones.
2008-07-18 14:33:53 +00:00
Derick Rethans
039bc2d3e2 - Updated to version 2008.4.1 (2008d) 2008-07-18 13:46:06 +00:00
Felipe Pena
94840506de - Fixed test 2008-07-18 12:20:29 +00:00
Dmitry Stogov
529ac539d0 Fixed access to freed memory 2008-07-18 09:35:51 +00:00
Antony Dovgal
fbf68def7d fix segfault 2008-07-18 07:39:53 +00:00
Scott MacVicar
2558df59d9 Remove GD 1.0 support, still need to adjust the configure scripts to correctly check for a newer version 2008-07-18 01:51:49 +00:00
Scott MacVicar
62de800b36 Remove freetype1 support 2008-07-18 01:16:25 +00:00
Pierre Joye
9a60aed6d1 - MFB: fix crash when some crafted font are given 2008-07-17 23:13:09 +00:00
Moriyoshi Koizumi
2392861770 - MFH: Fix ZTS build 2008-07-17 20:04:06 +00:00
Felipe Pena
c3453925c5 - Deprecate ticks 2008-07-17 19:29:34 +00:00
Scott MacVicar
8cd0d59f71 This file isn't needed any more 2008-07-17 17:24:26 +00:00
Moriyoshi Koizumi
85d7751097 - Fix include_path. 2008-07-17 16:30:32 +00:00
Moriyoshi Koizumi
f78da21527 - MFH: Removed dependencies from php_mbregex to oniguruma types 2008-07-17 16:08:37 +00:00
Rui Hirokawa
db88da985e fixed win32 build when ext/mbstring is enabled. 2008-07-17 14:10:53 +00:00
Dmitry Stogov
67b77b06e5 Fixed search on uninitialized data 2008-07-17 14:05:07 +00:00
Dmitry Stogov
5c631e8765 Fixed wrong arguments order 2008-07-17 13:22:32 +00:00
Antony Dovgal
fe54c5144d fix folding 2008-07-17 10:24:51 +00:00
Dmitry Stogov
833a2295d1 Support for closures 2008-07-17 09:53:42 +00:00
Christopher Jones
47e6c5d017 Allow PECL builds with PHP 4. No MTH needed 2008-07-17 00:36:02 +00:00
Christopher Jones
d990032b7a MFH: [DOC] Add LOB & Collection class parameter reflection 2008-07-16 23:55:13 +00:00
Rui Hirokawa
0814d9e58a revert my previous patch. 2008-07-16 22:56:56 +00:00
Christopher Jones
1c1c98c620 MFH
1. Merged ARG_INFO patch (Felipe)

2. Allow empty username & password so Oracle can do non-password based
authentication, i.e. "External Authentication".
http://news.php.net/php.internals/37545

[DOC]

A new OCI_CRED_EXT flag can be passed as the "session_mode" parameter
to oci_connect(), oci_new_connect() and oci_pconnect().

  $c1 = oci_connect("/", "", $db, null, OCI_CRED_EXT);

This tells Oracle to do external or OS authentication, if configured
in the database.

OCI_CRED_EXT can only be used with username of "/" and a empty
password.  Oci8.privileged_connection may be On or Off.  OCI_CRED_EXT
is not supported on Windows for security reasons.

The new flag may be combined with the existing OCI_SYSOPER or
OCI_SYSDBA modes (note: oci8.privileged_connection needs to be On for
OCI_SYSDBA and OCI_SYSOPER), e.g.:

  $c1 = oci_connect("/", "", $db, null, OCI_CRED_EXT+OCI_SYSOPER);
2008-07-16 22:16:03 +00:00
Christopher Jones
47c918cd6f MFH: improve skipif 2008-07-16 19:52:01 +00:00
Felipe Pena
c91e9cc1bd - Added arginfo 2008-07-16 18:34:56 +00:00
Derick Rethans
0ab7520dc0 - MFH: Fixed bug #45529 (new DateTimeZone() and date_create()->getTimezone() behave
different).
2008-07-16 15:41:01 +00:00
Dmitry Stogov
44557cf981 Improved support for opcode caches. Now some open() syscalls might be eliminated by caches. 2008-07-16 15:09:39 +00:00
Jani Taskinen
d91bc9eca2 MFH:- Fixed bug #44127 (UNIX abstract namespace socket connect does not work) 2008-07-16 14:08:38 +00:00
Felipe Pena
644b06978a - Fix typo (thanks Pierre) 2008-07-16 13:41:35 +00:00
Jani Taskinen
39098a6d16 - Fix build 2008-07-16 12:37:00 +00:00
Derick Rethans
99b31af3f9 - Fixed a segfault - simply a forgotten return; 2008-07-16 12:35:11 +00:00
Rui Hirokawa
6d9788d768 fixed compile error on Win32 environment. 2008-07-16 12:21:46 +00:00
Derick Rethans
8d14c2b182 - MFH: Fixed tests. 2008-07-16 07:36:04 +00:00