Commit Graph

21408 Commits

Author SHA1 Message Date
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
Moriyoshi Koizumi
88318e0294 - MFH: Added a new configure option --with-onig=[DIR] that allows the extension
to link to the external oniguruma library.
- MFH: Prevent libmbfl files from being installed when --with-libmbfl is
  specified.
2008-07-16 02:30:49 +00:00
Moriyoshi Koizumi
817f393a2d * MFH: indentation fix only 2008-07-15 18:04:32 +00:00
Derick Rethans
3df7836db9 - MFH: Also add the warnings for times. This does not make sense for the
english text parser, as invalid times are never allowed in there.
2008-07-15 17:38:27 +00:00
Pierre Joye
597d411627 - MFH: Port mcrypt_create_iv to windows (aka fix it on windows) 2008-07-15 17:05:02 +00:00
Scott MacVicar
a9d60c014b MFH: Fix bug when < is used within attribute. 2008-07-15 14:46:12 +00:00
Andrey Hristov
136a55fcd9 Sync with bzr 2008-07-15 13:11:09 +00:00
Felix De Vliegher
0adb8c0b10 Tests for strpbrk(), testfest.php.net task #91 and #92. 2008-07-15 11:14:42 +00:00
Antony Dovgal
56ba1f9e80 fix test 2008-07-15 09:14:28 +00:00
Henrique do Nascimento Angelo
0890b92f86 Fix error message 2008-07-15 03:20:44 +00:00
Henrique do Nascimento Angelo
d3538f427a Fix uninitilized variables in openssl_pkcs7_encrypt() and openssl_pkcs7_sign() 2008-07-15 02:59:56 +00:00
Henrique do Nascimento Angelo
8e2248c8b1 Fix segfault caused by openssl_pkey_new() in ext/openssl/tests/006.phpt 2008-07-15 02:43:30 +00:00
Jani Taskinen
cd913eb2d8 MFH:- Fix tests (do NOT assume things in php.ini always to be same...or sane) 2008-07-15 01:00:00 +00:00
Felipe Pena
2838f22fc0 - Added arginfo 2008-07-14 18:08:37 +00:00
Felipe Pena
07444b4670 - Added arginfo 2008-07-14 17:50:47 +00:00
Derick Rethans
e7ee127f9c - MFH: Fixed reversed logic. 2008-07-14 17:38:33 +00:00
Derick Rethans
c76ba173a9 - MFH: Added a warning to the error struct in case a parsed-date was found to
be invalid.
2008-07-14 17:36:12 +00:00
Josie Messa
be5633612a - Tests from TestFest
- Have slightly modified similar_text_error.phpt from original file
2008-07-14 15:27:19 +00:00
Felipe Pena
8a388f61a1 - Fixed tests 2008-07-14 11:47:44 +00:00
Dmitry Stogov
d5ef2f466c Added support for lambda functions and closures 2008-07-14 09:49:03 +00:00
Jani Taskinen
d23342397c No dots 2008-07-14 09:03:48 +00:00
Jani Taskinen
1e2b2bbeae - Some config*.m4 file cleanups: NO tabs in these! 2008-07-14 09:02:26 +00:00
Jani Taskinen
4db24954fb - Update credits: Whenever some extension is removed/added, remember to run scripts/dev/credits and commit ext/standards/credits* !! 2008-07-14 08:57:10 +00:00
Antony Dovgal
cd408f1235 MFH: minor speedup - convert offset to long only when needed 2008-07-14 08:09:09 +00:00
Stanislav Malyshev
bdc0acdd77 add icu version to phpinfo 2008-07-14 07:16:24 +00:00
Stanislav Malyshev
aeef561b98 fix test 2008-07-14 06:42:45 +00:00
Stanislav Malyshev
44326938eb - increase max locale to 80
- add some macros
2008-07-14 06:42:11 +00:00
Stanislav Malyshev
01e9895f41 todo 2008-07-14 06:15:49 +00:00
Marcus Boerger
ca64703134 - Use new helper 2008-07-13 21:45:07 +00:00
Marcus Boerger
a694fad739 - MFH Fix test 2008-07-13 21:44:38 +00:00
Antony Dovgal
4a71b17693 more fixed tests 2008-07-13 21:43:12 +00:00
Antony Dovgal
805f552cd3 fix skipif sections 2008-07-13 21:40:49 +00:00
Antony Dovgal
80e391190a add missing SKIPIF sections 2008-07-13 21:34:15 +00:00
Antony Dovgal
ad275fa6ef MFH 2008-07-13 21:22:55 +00:00
Antony Dovgal
4f040525ef improve code coverage 2008-07-13 19:47:52 +00:00
Etienne Kneuss
f60da35554 MFH: Implement toArray,fromArray and get_properties (Thanks Tony for the patches) 2008-07-13 15:59:52 +00:00
Antony Dovgal
0cd1f90e29 blind fix for a segfault in ext/pdo_firebird/tests/bug_38253.phpt 2008-07-13 10:55:50 +00:00
Rui Hirokawa
97b0ae946f fixed #43227 removed PHP_INI_PERDIR from mbstring.func_overload. 2008-07-13 01:34:21 +00:00
Rui Hirokawa
7aab46a2f1 updated bundled oniguruma from 4.4.0 to 4.7.1 2008-07-13 01:25:22 +00:00
Pierre Joye
64cf2c2f50 - MFH: fix build with VC9 PSDK6.x 2008-07-12 23:54:53 +00:00
Pierre Joye
f8a7c37c83 - MFH: don't use inet_ntop when not present 2008-07-12 23:26:02 +00:00
Felipe Pena
75db10f95b - MFB: Fixed bug #45220 (curl_read callback returns -1 when needs to return size_t (unsigned)) 2008-07-12 21:16:50 +00:00
Marcus Boerger
e4869828a7 - MFH Allow multiple exceptions in spl's autoload 2008-07-12 14:58:41 +00:00
Felipe Pena
8cbd7cc7b9 - MFB: Fixed bug #45449 (filesize() regression using ftp wrapper) (patch by crrodriguez at suse dot de) 2008-07-11 18:33:35 +00:00
Rob Richards
58c300ddf6 dont forget the header 2008-07-11 15:05:05 +00:00
Rob Richards
848c7196f4 fix iconv linking 2008-07-11 14:41:06 +00:00
Felipe Pena
40e96d282d MFB: - Fixed bug #45486 (mb_send_mail(); header 'Content-Type: text/plain; charset=' parsing incorrect) 2008-07-11 13:53:09 +00:00
Jani Taskinen
0cd842e51b nuke unused variable 2008-07-11 13:50:43 +00:00
Antony Dovgal
04c8373b6a MFH 2008-07-11 12:44:02 +00:00
Felipe Pena
8ea5ae6c9a - MFB: Fixed bug #45485 (strip_tags and <?XML tag) 2008-07-11 12:25:38 +00:00
Felipe Pena
f1f2a238ca MFB: - Fixed the strings size in imap_headerinfo 2008-07-11 11:27:32 +00:00
Antony Dovgal
cf7e15c3a0 MFH: manage references of stream context properly 2008-07-11 10:25:15 +00:00
Antony Dovgal
46f41aded1 MFH 2008-07-11 09:17:10 +00:00
Antony Dovgal
0c8d3ebe9c MFH 2008-07-11 09:15:44 +00:00
Antony Dovgal
0be3a5dcd5 drop unused var 2008-07-11 09:11:18 +00:00
Antony Dovgal
120f19b6a6 fix function protos and is_link() wrapper 2008-07-11 08:53:43 +00:00
Derick Rethans
5ab9ca968b - MFH: Fixed a compiler warning - the code didn't make much sense. 2008-07-11 08:42:54 +00:00
David Soria Parra
f41c78ddbb PHP Testfest. Tests done by Felix De Vliegher 2008-07-10 23:46:49 +00:00
Stanislav Malyshev
f787963056 fix date formatter positions (bug #14263) 2008-07-10 21:58:02 +00:00
Felipe Pena
b82c9b9461 - MFB: Fixed bug #45460 (imap patch for fromlength fix in imap_headerinfo doesn't accept lengths of 1024) 2008-07-10 17:50:51 +00:00
Dmitry Stogov
478234b235 Fixed wrong refcount updates 2008-07-10 16:16:15 +00:00
Dmitry Stogov
d82b5d59b4 Added tests that demonstrate serious PHAR errors
They cannot be easly fixed without algorithms modification
2008-07-10 14:27:21 +00:00
Dmitry Stogov
53bbf1238c Extensions MUST NOT manipulate with internal functions from EG(function_table) in run-time. It may cause problems with opcode caches and in multi-threaded environment. Now the same functions are overriden at MINIT and call original functions or PHAR ones dependent on flag setting. 2008-07-10 11:36:50 +00:00
Etienne Kneuss
8ceb0b6fd3 MFH: Fix resolution rule of count vs. handler 2008-07-09 21:29:52 +00:00
Etienne Kneuss
003841e312 MFH: Move SXI::count to SXE::count and make it user-friendly 2008-07-09 21:27:28 +00:00
Etienne Kneuss
b229f9b7d8 MFH: Test extended iterators methods 2008-07-09 20:35:04 +00:00
Rob Richards
e83274cd16 fix zlib detection and linking 2008-07-09 16:09:35 +00:00
Antony Dovgal
ae7eff10e8 add zero-terminator to the delimiter (and make valgrind happy) 2008-07-09 14:15:41 +00:00
Felipe Pena
8f8b51bc87 - Fixed test 2008-07-09 12:53:58 +00:00
Felipe Pena
28d91d0cde - Added arginfo 2008-07-09 12:50:57 +00:00
Dmitry Stogov
1cfd92fc43 Fixed efree(NULL) 2008-07-09 08:47:05 +00:00
Etienne Kneuss
e53a9ca709 Fix filename/pathname/getpathinfo tests according to SPL fix 2008-07-09 08:39:42 +00:00
Joe Orton
3ab1efefc4 - MFH: tweak test case to better trigger the (now-fixed) reference bugs 2008-07-09 08:37:29 +00:00
Etienne Kneuss
767eaa7a4e MFH: - Fix filename in debug_info
- Fix #45345 (getPathInfo on the file instead of the dir)
- Remove trailing / on input
2008-07-08 22:40:48 +00:00
Derick Rethans
db2ed70a73 - MFH: Fixed bug #45459 (date_create_from_format() fails on DATE_RFC3339) by
allowing a few more format specifiers in date_create_from_format() /
  date_parse_from_format().
2008-07-08 20:25:28 +00:00
Derick Rethans
875d013b71 - MFH: Fixed a memleak (Original patch by Hannes Magnusson). 2008-07-08 19:29:18 +00:00
Pierre Joye
0ca3ffeda3 MFH:
- use _a for static lib
 - fix logic for shared zlib
2008-07-08 19:09:11 +00:00
Derick Rethans
4a23bbfe75 - MFH: Fixed some ambiguities in the date parser. 2008-07-08 18:28:49 +00:00
Derick Rethans
484d6b21c0 - Replaced // by /* .. */ comments. 2008-07-08 17:55:59 +00:00
Derick Rethans
198746158f - MFH: Fixed memory leaks and segfaults, patch by Joe Orton.
- MFH: Fixed bug #45038 (Crash when using DateTimeZone object returned by
  Date::getTimezone).
2008-07-08 17:41:51 +00:00
Antony Dovgal
9a5375a0e3 fix typo 2008-07-08 15:24:12 +00:00
Antony Dovgal
8eeaf9df95 capitalize multibyte support 2008-07-08 08:37:56 +00:00
David Soria Parra
375631c3b9 Exif tests from Eric Steward. Testfest task 82. 2008-07-07 23:31:54 +00:00
Stanislav Malyshev
9eb22ce7f7 Merge intl extension 2008-07-07 23:10:15 +00:00
Stanislav Malyshev
0d16b1516b Merge intl extension into core 2008-07-07 22:51:04 +00:00
Felipe Pena
9d56746085 - Added arginfo 2008-07-07 17:33:47 +00:00
Felipe Pena
bcecf98096 - Added arginfo 2008-07-07 17:18:43 +00:00
Derick Rethans
c9e8ea703f - Updated to version 2008.4 (2008d) 2008-07-07 14:36:18 +00:00
Felipe Pena
e7eda53a3b - Removed unused variables 2008-07-07 12:52:00 +00:00
Felipe Pena
d7a224914e - Added arginfo
- Removed unnecessary #include "zend_arg_defs.c"
2008-07-07 12:40:51 +00:00
Jani Taskinen
4345a82661 - Update credits 2008-07-07 10:36:50 +00:00
Pierre Joye
ce7428d9d9 - test for ZLIB_SHARED (possible conflict) 2008-07-07 08:41:10 +00:00
Steph Fox
005c6c8f04 - Don't do stuff twice over
@Jani: pick up mail!
2008-07-07 01:25:53 +00:00
Steph Fox
27340e60fc - Fixed config.w32 to keep Elizabeth happy
- NB This whole lot still might disappear, OpenSSL patch review pending
2008-07-07 01:13:14 +00:00
Steph Fox
2c9df0990d - We forgot to check that the phar exists before trying to extract files from it :) 2008-07-07 01:11:07 +00:00
Steph Fox
5db08e7d1f Duplicate tests to accommodate parameter parsing fixes in 5_3 core
(NB the 5_2 tests will fail currently due to name changes, will fix tomorrow)
2008-07-07 01:09:21 +00:00
Etienne Kneuss
91ada2fd0a Remove .htaccess file(??) 2008-07-07 00:05:37 +00:00
Etienne Kneuss
0a2467bd05 MFH: Add missing test 2008-07-06 23:54:36 +00:00
Etienne Kneuss
0eea0a059e MFH: First part of count/handlers related fixes 2008-07-06 23:45:56 +00:00
Pierre Joye
a4354756eb - MFH:
- update lib/headers detection
  - nuke unused variables
2008-07-06 17:07:26 +00:00
Pierre Joye
4ef36bc364 - MFH: update lib detection and does not enable it when lib/headers are missing 2008-07-06 16:59:13 +00:00
Pierre Joye
c02eff3995 - don't enable xmlrpc when libxml is missing 2008-07-06 16:52:59 +00:00
Nuno Lopes
d771fa6da1 fix CVE-2008-2371. patch by Tavis Ormandy
# currently there's no release of PCRE with this fix. PCRE's author recommended applying this patch in the meantime
2008-07-06 15:23:31 +00:00
Nuno Lopes
053dc572ca upgrade to PCRE 7.7 2008-07-06 15:17:25 +00:00
Felipe Pena
40ebd51f8e - Added arginfo
- Removed #include "zend_arg_defs.c"
2008-07-05 22:35:14 +00:00
Felipe Pena
376924229c - Removed unnecessary #include "zend_arg_defs.c" 2008-07-05 20:17:58 +00:00
Felipe Pena
e51b1412da - Added arginfo (methods)
- Removed #include "zend_arg_defs.c"
2008-07-05 20:12:56 +00:00
Felipe Pena
ead75b74f2 - zend_arg_defs.c is unnecessary now 2008-07-05 20:09:33 +00:00
Pierre Joye
53c53ed731 - MFH: silent redefinition warning 2008-07-05 18:17:37 +00:00
Pierre Joye
f0d28fafa8 -MFH: fix build (function was never implemented), even if noone uses it (or complains about broken build ;) 2008-07-05 13:13:28 +00:00
Rui Hirokawa
5deede0da4 cosmetic change. 2008-07-05 07:36:24 +00:00
Rui Hirokawa
b0ce4732b0 removed wrong bytes. 2008-07-05 07:30:01 +00:00
Rui Hirokawa
236114fa63 revert commit. 2008-07-05 07:10:25 +00:00
Rui Hirokawa
a55482ad87 added CP1254 2008-07-05 07:09:37 +00:00
Rui Hirokawa
dea0d31baf - added koi8-u (Ukrainian) and CP1254 (Turkish). 2008-07-05 06:52:04 +00:00
Scott MacVicar
a164217bf2 Fix break caused by previous commit, warning and remove zend_get_parameters() 2008-07-05 00:28:16 +00:00
Pierre Joye
581c48c2a0 - fix compile error with vc6 (snaps) 2008-07-04 21:00:16 +00:00
Felipe Pena
543f015d52 - Moved protos to .c (sync with HEAD) 2008-07-04 14:50:07 +00:00
Felipe Pena
c757089335 - Reverted previous commit
- Moved protos to .c (sync with HEAD)
2008-07-04 14:43:53 +00:00
Alexey Zakhlestin
8e46482aac fixed tests not to rely on actual strings of errors, as those are not defined by any standard and are platform-dependent 2008-07-04 14:30:36 +00:00
Felipe Pena
026d7fe232 - Added arginfo
- Removed #include "zend_arg_defs.c" (it's unnecessary now)
2008-07-04 14:08:16 +00:00
Derick Rethans
3657b0ab5c - Revert that crap. 2008-07-04 07:47:18 +00:00
Olivier Hill
e360ff7476 New parameter parsing API 2008-07-03 20:19:26 +00:00
Rob Richards
74bc652de8 fix key container access 2008-07-03 19:40:15 +00:00
Antony Dovgal
b691365e7b size_t -> int 2008-07-03 14:00:20 +00:00
Pierre Joye
f0ec9b9475 - fix mcrypt_iv on windows, use urandom equivalent
- MFH, code cleaning and reorganisation
2008-07-03 13:50:14 +00:00
Felipe Pena
12a4c54dcf - Fixed compile warnings 2008-07-03 12:53:12 +00:00
Felipe Pena
6488a85545 - New parameter parsing API 2008-07-03 12:38:53 +00:00
Antony Dovgal
bd07572494 fix test 2008-07-03 09:46:10 +00:00