Commit Graph

21622 Commits

Author SHA1 Message Date
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
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
Antony Dovgal
9ed8580b54 fix test 2008-07-03 09:22:17 +00:00
Antony Dovgal
449979cbd0 add a line to phpinfo() to indicate whether multibyte support is On or Off 2008-07-03 08:06:55 +00:00
Antony Dovgal
63d6d67aa7 fix tests 2008-07-03 07:41:58 +00:00
Felipe Pena
bedd323878 - Added arginfo (functions) 2008-07-03 01:55:48 +00:00
Rob Richards
8d5ba06e87 fix win build 2008-07-02 23:48:22 +00:00
Pierre Joye
2f3beadffd - add version info for 2007a and b
- update config.w32
2008-07-02 17:56:19 +00:00
Antony Dovgal
f77382f412 MFH 2008-07-02 12:25:15 +00:00
Antony Dovgal
9d4ede194f MFH: check return value of hash_find() 2008-07-02 10:47:11 +00:00
Felipe Pena
01a35a058f - Added arginfo 2008-07-02 00:10:54 +00:00
Felipe Pena
7294562366 - Added arginfo 2008-07-01 19:43:42 +00:00
Felipe Pena
0a61cda2c7 - Added arginfo 2008-07-01 19:13:44 +00:00
Felipe Pena
9c3c7e8803 - Added arginfo (functions) 2008-07-01 18:28:54 +00:00
Felipe Pena
b206bac4e9 - Added arginfo
- Fixed compile warning
2008-07-01 17:24:10 +00:00
Felipe Pena
899e8d6dea - Fix check for PHP_SYBASE 2008-07-01 17:03:46 +00:00
Felipe Pena
44689fbb36 - Added arginfo 2008-07-01 15:45:54 +00:00
Felipe Pena
f6c971b5f4 - Added arginfo 2008-07-01 15:33:11 +00:00
Felipe Pena
2a35fb373f - Removed unused variables 2008-07-01 11:27:05 +00:00
Felipe Pena
55f7368408 - Fixed types
- Fixed protos
2008-07-01 11:26:10 +00:00
Dmitry Stogov
f7938051d4 Use new parameter parsing API 2008-07-01 10:01:09 +00:00
Antony Dovgal
c79df56ac6 fix test 2008-07-01 09:19:58 +00:00
Antony Dovgal
2f2953760b fix typo 2008-07-01 07:56:24 +00:00
Antony Dovgal
e035184017 string length -> int 2008-07-01 07:54:30 +00:00
Antony Dovgal
dd8202f652 int->long, add missing "s" 2008-07-01 07:43:36 +00:00
Antony Dovgal
7838408b4b more int -> long fixes 2008-07-01 07:41:38 +00:00
Antony Dovgal
6eeb67af78 more long -> int fixes 2008-07-01 07:39:33 +00:00
Antony Dovgal
0729dab2ae on the contrary, string length is int 2008-07-01 07:36:59 +00:00
Felipe Pena
235aab6c0f - New parameter parsing API (to preg_replace*)
- Fixed related tests
2008-06-30 17:14:48 +00:00
Felipe Pena
e7fc9029e6 - Added arginfo 2008-06-30 14:53:17 +00:00
Felipe Pena
44e0c9e4f6 - Added arginfo
- Removed #include "zend_arg_defs.c"
2008-06-30 13:15:03 +00:00
Felipe Pena
7ddf985e05 - zend_arg_defs.c is unnecessary now 2008-06-30 12:15:53 +00:00
Antony Dovgal
c125461de1 "l" is long, that's why it is "l", not "i" 2008-06-30 10:39:34 +00:00
Antony Dovgal
b763c47e4e int -> long 2008-06-30 10:10:44 +00:00
Felipe Pena
4fe93ca55d - Fixed test 2008-06-30 01:23:30 +00:00
Felipe Pena
69e3fc8782 - New parameter parsing API 2008-06-29 22:38:55 +00:00
Felipe Pena
aeed97c0e1 - Added arginfo 2008-06-29 15:11:48 +00:00
Felipe Pena
a44269ca0a - New parameter parsing API
- Added arginfo
2008-06-29 14:29:09 +00:00
Felipe Pena
02c36c4c4a - New parameter parsing API 2008-06-29 13:21:02 +00:00
Felipe Pena
1f69fbd2c3 - New parameter parsing API
- Added arginfo
2008-06-29 12:40:22 +00:00
Felipe Pena
a6410b3056 - Added arginfo 2008-06-28 22:05:59 +00:00
Felipe Pena
15d057df10 - New parameter parsing API 2008-06-28 21:36:39 +00:00
Alexey Zakhlestin
1c77f59429 updated to the new parameter-parsing api 2008-06-28 21:23:08 +00:00
Alexey Zakhlestin
95e419611d added arginfo (fixes #45388) 2008-06-28 18:04:19 +00:00
Scott MacVicar
e710fab855 MFH: Sort Windows changes for mhash BC layer 2008-06-28 15:31:50 +00:00
Henrique do Nascimento Angelo
4776dfb296 Fix a memory leak on openssl_decrypt() 2008-06-28 09:17:39 +00:00
Felipe Pena
cb0d08699d - Added arginfo 2008-06-27 19:16:17 +00:00
Christopher Jones
ff6cf25fa7 OCI8: MFH: (PECL #14219) Improve README 2008-06-27 18:26:16 +00:00
Felipe Pena
ca0c2340fe - Added arginfo 2008-06-27 16:16:23 +00:00
Felipe Pena
2675046a95 - Added arginfo 2008-06-27 15:46:44 +00:00
Felipe Pena
2526420e34 - Added arginfo 2008-06-27 14:33:12 +00:00
Felipe Pena
f53142acb6 - Added arginfo 2008-06-27 13:13:09 +00:00
Dmitry Stogov
b872c30c85 ws 2008-06-27 06:43:21 +00:00
Felipe Pena
fe0403d30d - New parameter parsing API 2008-06-27 02:58:13 +00:00
Greg Beaver
37c684ab3d in preparation for a performance optimization that involves
eliminating phar's interception of zend_compile in favor of a new to-be-added hook in PHP 5.3+,
allow "include 'phar:///path/to/my.phar';" to work as equivalent to
php /path/to/my.phar
this slight change in scripting still allows inclusion and execution of phar stub, but removes the need to
check and modify path in zend_compile, which allows us to play much nicer with external tools like
debuggers/opcode caches
2008-06-27 01:21:12 +00:00
Felipe Pena
424b5b2929 - New parameter parsing API 2008-06-27 00:22:18 +00:00
Scott MacVicar
cc7e8970de Make the old mhash API a wrapper around hash, this removes a dependency. 2008-06-26 22:33:16 +00:00
Felipe Pena
d7f5edd988 - Fixed tests 2008-06-26 11:15:48 +00:00
Felix De Vliegher
4f7961b31a Tests for lchown(), testfest.php.net task number 129. 2008-06-26 09:10:54 +00:00
Felipe Pena
0b89de0f5f - New parameter parsing API 2008-06-25 16:18:55 +00:00
Felipe Pena
3ece9a2cf6 - New parameter parsing API 2008-06-25 15:06:58 +00:00
Felipe Pena
1133ffcf94 - New parameter parsing API 2008-06-25 14:46:19 +00:00
Dmitry Stogov
216909ced7 Added support for namespaces 2008-06-25 12:33:46 +00:00
Olivier Hill
c5ec48e858 New parameter parsing API 2008-06-25 12:16:17 +00:00
David Coallier
624c8f2f66 Reverted zpp API Cleanup patch - memory troubles? 2008-06-25 10:16:52 +00:00
David Coallier
c1f8b9b7de - Hackish but working parameter parsing, no longer using
zend_get* at least
2008-06-25 08:56:42 +00:00
Felipe Pena
65e7b8f6d0 - New parameter parsing API 2008-06-25 03:18:58 +00:00
David Coallier
8c394f4955 - New parsing parameter API
- Tests have been adjusted, if you have something else failing
  let me know now! All tests seem to pass fine at the moment.
2008-06-24 22:53:01 +00:00
David Coallier
0674689940 - Tests for parsing parameter api 2008-06-24 22:51:57 +00:00
Andrey Hristov
827b772c9f Fix remaining valgrind problems with pconn and zval cache
HEAD merge will follow tomorrow.
2008-06-24 22:22:48 +00:00
Timm Friebe
4a58de4c5c - Migrated all zend_get_parameters_ex calls to zend_parse_parameters()
- Fixed prototype declarations to use the type resource instead of int
- Fixed sybase_close() not to crash when no connection was previously open
2008-06-24 16:33:17 +00:00
Felipe Pena
7939a8347e - New parameter parsing API 2008-06-24 16:01:32 +00:00
Raghubansh Kumar
24f01f7ab0 New testcases for hash_file(), Committed for Felix De Vliegher, TestFest Task No: 75 & 76, Tested on RHEL5 -32bit, WinXP-32bit 2008-06-24 15:44:50 +00:00
Andrey Hristov
943e9a577b Fix double-free, introduced lately 2008-06-24 13:19:29 +00:00
Felipe Pena
ff83deb66d - Added arginfo 2008-06-24 12:09:31 +00:00
Andrey Hristov
e0f45cf7ae Fix possible bug with persistent connections and mysqlnd 2008-06-24 11:01:38 +00:00
Felix De Vliegher
048736a907 Tests for ob_get_flush(), testfest task number #131. 2008-06-24 10:31:02 +00:00
Andrey Hristov
9d7955b821 Add missing header 2008-06-24 08:01:13 +00:00
Dmitry Stogov
7e5392b54a Fixed test 2008-06-24 07:06:08 +00:00
Andrey Hristov
f93e715fc5 Even more debug info 2008-06-24 06:56:36 +00:00
Dmitry Stogov
9c3ebd10bb Fixed memory leaks 2008-06-24 06:47:45 +00:00
Dmitry Stogov
56bbba3a79 Fixed tests 2008-06-24 06:25:51 +00:00
Dmitry Stogov
273ee49acb Fixed strtolower/strtoupper to not modify the passed argument 2008-06-24 06:07:08 +00:00
Greg Beaver
8bf72978b3 fix several issues:
1) segfault in phar_buildfromdirectoryiterator8.phpt
2) tests failing because SKIPDOTS is default on 64 bit, not on 32
3) Marcus, you really need to add SKIPDOTS as a class constant, so we don't have to use 0x00001000
2008-06-24 01:11:27 +00:00
Andrey Hristov
ad0f0b73c7 Added more debug info for tracking problems 2008-06-23 22:21:18 +00:00
Pierre Joye
414f7fa6c3 - move sybase to pecl 2008-06-23 19:55:27 +00:00
Steph Fox
b9e8695e75 - One solution for the openssl issues
- config.m4 needs bringing into line with config.w32, there may be broken behaviour under *nix until this is done
2008-06-23 19:18:01 +00:00
Pierre Joye
41976c7ab6 - do not enable an ext when a lib/header fails
- use MESSAGE in mysql*
- use correct CFLAGS for ext/libxml headers
2008-06-23 18:40:29 +00:00
Steph Fox
019c586191 - Wrong SKIPIF message 2008-06-23 17:48:23 +00:00
Felipe Pena
f2d0da3c29 - Fixed folding 2008-06-23 17:28:06 +00:00
Felipe Pena
ca0166605c - Added arginfo 2008-06-23 17:17:46 +00:00
Felipe Pena
a3da6b4c1b - Added arginfo 2008-06-23 16:41:00 +00:00
Felipe Pena
8ee04f3452 - Added XFAIL 2008-06-23 14:04:08 +00:00
Pierre Joye
c9ec9fed7b - set PHP_[EXTNAME] to yes for spl, pcre and reflection (always on), this variable is required by ADD_EXTENSION_DEP 2008-06-23 10:22:42 +00:00
Greg Beaver
10f6d9a556 true fix for potential segfault in phar_build 2008-06-23 04:00:23 +00:00
Greg Beaver
fb448c5c28 fix tar-related failures 2008-06-23 03:55:50 +00:00
Felipe Pena
0e63639070 - New parameter parsing API 2008-06-23 03:17:42 +00:00
Pierre Joye
58fce3a863 - really check for the dependency, libs and header and don't enable the ext if something is missing 2008-06-22 23:17:22 +00:00
Pierre Joye
7053732b6f - don't show zlib as available when libs or headers are missing 2008-06-22 21:55:59 +00:00
Pierre Joye
5d112c35b7 - do not show libxml as enabled when libs are missing so ADD_EXTENSION_DEP('myext', 'libxml') can do its job 2008-06-22 21:49:06 +00:00
Felipe Pena
f90b9d2979 - Fix build where __USE_GNU is used instead of _GNU_SOURCE to define utsname.domainname 2008-06-22 21:45:42 +00:00
Olivier Hill
906b5b80df New parameter parsing API for string, part I 2008-06-22 19:22:41 +00:00
Felipe Pena
44fe6a6005 - Fixed tests 2008-06-22 19:16:44 +00:00
Steph Fox
c68a82ac7d - Revert the two blocks of code that implement the phar_build optimization, causes segfaults under *nix
- Leave the new structure in place to make re-implementation trivial
2008-06-22 16:35:26 +00:00
Etienne Kneuss
f741f6cd6e MFH: Add some tests to increase code coverage 2008-06-22 16:25:02 +00:00
Felipe Pena
bdd6712bf5 - New parameter parsing API 2008-06-22 16:08:52 +00:00
Alexey Zakhlestin
2369f43415 updated to the new parameter-parsing api 2008-06-22 15:16:11 +00:00
Steph Fox
f3844ecd17 - Revert the tar.c part of the inode calculation fix
- All tests now pass under win32, please test under *nix/osx (4 known fails at present)
2008-06-22 14:46:10 +00:00
Rob Richards
92f8906b2b fix parameter parsing change 2008-06-22 14:13:41 +00:00
Alexey Zakhlestin
247bf3eb4a updated to the new parameter-parsing api 2008-06-22 14:13:01 +00:00
Felipe Pena
521c5cf5fb - New parameter parsing API 2008-06-22 13:22:27 +00:00
Steph Fox
332a185e08 - ws, typo fix 2008-06-22 13:10:03 +00:00
Felix De Vliegher
43e8a59ac7 Basic test for ob_get_length(), testfest.php.net task #132 2008-06-22 12:29:41 +00:00
Alexey Zakhlestin
e4ad58109f updated to the new parameter-parsing api 2008-06-22 12:03:30 +00:00
Felipe Pena
592cecf7d4 - Removed unused variables 2008-06-22 11:36:46 +00:00
Timm Friebe
4920a2f980 - Changed zend_get_parameters_ex -> zend_parse_parameters
- Simplified source in php_sybase_do_connect()
# Part 1, more to follow
2008-06-22 10:11:14 +00:00
Sebastian Bergmann
1a23fec1b0 Fix build. 2008-06-22 08:06:48 +00:00
David Soria Parra
b72322de22 Testfest task 93. Written by Sebastian Deutsch. 2008-06-22 05:34:06 +00:00
Greg Beaver
3a8b14f83f fix inode calculation, we need fname to be set for phar/tar formats prior to manifest parsing 2008-06-22 00:50:32 +00:00
Greg Beaver
0ad165e402 new tests for phar.cache_list 2008-06-22 00:49:54 +00:00
Felipe Pena
7e57fd2e6f - Fix segfault 2008-06-21 23:20:40 +00:00
Felipe Pena
1c7f474e81 - New parameter parsing API 2008-06-21 22:07:53 +00:00
Alexey Zakhlestin
2618a28278 updated to the new parameter-parsing api 2008-06-21 21:51:05 +00:00
Steph Fox
0e5b3a3527 - Don't free stuff you still need 2008-06-21 21:37:39 +00:00
Steph Fox
35e0565a4b - Kill a couple of double frees and a memleak
@Greg: You may want to run valgrind over the filestat functions before release..
2008-06-21 20:47:35 +00:00
Steph Fox
ad20b9e6bb - pefree pemalloc'd filename 2008-06-21 20:14:43 +00:00
Steph Fox
22fb73c71e - Fix macro definition syntax
- Remove pre-existing workaround
2008-06-21 19:40:41 +00:00
Steph Fox
f43a2be8cd - fix for segfault in 5.2 (patch from Greg) 2008-06-21 19:15:46 +00:00
Steph Fox
b964ec6e5d - ws 2008-06-21 18:57:53 +00:00
Felipe Pena
7319fb687e - New parameter parsing API 2008-06-21 18:16:02 +00:00
Greg Beaver
4b77c2baa5 define ALLOC_PERMANENT_ZVAL for PHP 5.2 2008-06-21 17:05:32 +00:00
Greg Beaver
eb0a98939a PHP 5.2 fixes to direct include of compressed archives 2008-06-21 17:05:18 +00:00
Felipe Pena
015f82d219 - New parameter parsing API 2008-06-21 15:27:34 +00:00
Greg Beaver
baee4e6028 close stream on failure 2008-06-21 06:55:56 +00:00
Greg Beaver
529aa19cc7 82x(./profile2) speedup for buildFrom*() 2008-06-21 06:53:10 +00:00
Greg Beaver
14c26d05ba fix leak 2008-06-21 06:21:58 +00:00
Felipe Pena
bee6c52437 - New parameter parsing API 2008-06-21 02:41:27 +00:00
David Coallier
88abc99dc0 - New parsing parameter API cleanups 2008-06-20 20:54:32 +00:00
Felipe Pena
f23acf749d - New parameter parsing API 2008-06-20 19:57:25 +00:00
Stanislav Malyshev
8a65886bb9 fix buglet 2008-06-20 18:10:17 +00:00
Olivier Hill
dc4bcc901b - New parameter parsing API for var.c & tests 2008-06-20 18:05:45 +00:00
Felipe Pena
ea00fea83d - New parameter parsing API 2008-06-20 18:00:10 +00:00
Steph Fox
97cf2a15da - 5_2 compatibility stuff (so we can stay in sync with PECL) 2008-06-20 16:29:36 +00:00
Felipe Pena
5fe790929d - New parameter parsing API 2008-06-20 14:53:57 +00:00
Steph Fox
c88e99d9ea - Use SKIP_SLOW_TESTS where it's most useful 2008-06-20 14:42:04 +00:00
Steph Fox
6ef7aef1d4 - Kill the last compiler warning under 5.3 (release-only) 2008-06-20 14:40:53 +00:00
Felipe Pena
d4ddc6d890 - New parameter parsing API 2008-06-20 13:02:33 +00:00
Steph Fox
fc08a7cc2f The only reason that particular 'real solution' wasn't applied in the first place was that it also breaks the shared build
Maybe we don't need to call a non-existent dtor if we're going to physically apply zend_hash_graceful_reverse_destroy()?
- This works on my box, please test under *nix/OSX
2008-06-20 12:21:32 +00:00
Felipe Pena
089a574882 - Fix ws 2008-06-20 11:38:52 +00:00
Johannes Schlüter
62726c967c - Fix ZTS build (not required on HEAD, patch by Uwe Pries) 2008-06-20 09:17:53 +00:00
Greg Beaver
aff3636d9c minor performance improvement 2008-06-20 06:37:14 +00:00
Greg Beaver
7cc6b9f3f5 making progress - up to 42/phar vs. 48/disk with these optimizations 2008-06-20 05:42:58 +00:00
Greg Beaver
5233505043 revert really bad solution to the zend_init_rsrc_list/zend_destroy_rsrc_list problem, replace with real solution 2008-06-20 04:50:11 +00:00
Raghubansh Kumar
48b0cc4134 New testcases for vfprintf(), Committed for Felix De Vliegher, TestFest Task No: 124, Tested on RHEL5 -32bit, WinXP-32bit
Added *.txt to .cvsignore
2008-06-20 04:21:58 +00:00
Christopher Jones
2bb7df3504 MFH:
Fix bug #45266 (Fix build with BDB 4)
Fix bug #45267 (Revert invalid assumption about BDB 4 locking; let DBA handle locking)
Fix bug #45268 (Fix error callback prototype)
2008-06-19 22:39:56 +00:00
Christopher Jones
31d0d253a8 Test updates and bundle 1.3.3 2008-06-19 19:56:11 +00:00
Pierre Joye
0b608cc630 - move fpdf to PECL 2008-06-19 15:49:31 +00:00
Pierre Joye
9ae6ea3842 - mvoe ncurses to PECL 2008-06-19 15:46:09 +00:00
Dmitry Stogov
4961c0c412 Added test for bug #45312 2008-06-19 12:09:44 +00:00
Stanislav Malyshev
5e562853ff fix tests for builtin Zend functions using new parsing API 2008-06-18 23:45:36 +00:00
Steph Fox
5d4eed8f47 - inherited methods don't unixify paths along the way. Allow for it. 2008-06-18 16:48:18 +00:00
Steph Fox
aa694b8b51 - Kill 10 MSVC compiler warnings due to type conflict
- Make cached manifest test platform agnostic
- Comment out zend_(init|destroy)_rsrc_list() and associated references

@Greg: cached manifest test (now) passes here regardless, make of that what you will
2008-06-18 15:06:50 +00:00
Etienne Kneuss
0f5ddaf4ce MFH: Rename everything from SplFastArray to SplFixedArray 2008-06-18 14:54:40 +00:00
Pierre Joye
e5e9be2d1a - really fix the windows builds, don't cast many times when only the hash function requires void **
- copy/paste evilness with TSRM_CC/DC
(tests still pass but would be nice to speed them up...)
2008-06-18 10:20:47 +00:00
Etienne Kneuss
4e80cf8bac MFH: Fix #45216 (Add a default size for fgetss) 2008-06-18 10:05:29 +00:00
Dmitry Stogov
5429bfb518 Fixed SOAP binding selection 2008-06-18 07:23:58 +00:00
Greg Beaver
cbe23b9f20 fix windows build and more performance jumps (these are minor)
implement real copy-on-write
use virtual_dirs for wrapper stat
2008-06-18 06:38:47 +00:00
Philip Olson
31bfce6f19 MFH: updated website team info 2008-06-18 05:20:02 +00:00
Raghubansh Kumar
e70880d3b1 Committed for Felix De Vliegher, TestFest Task No: 123, Tested on RHEL5, WinXP 2008-06-17 13:14:45 +00:00
Raghubansh Kumar
0b5f3a1895 Committed for Felix De Vliegher, TestFest Task No: 122, Tested on RHEL5, WinXP 2008-06-17 13:14:19 +00:00
Zoe Slattery
df3347debd Test committed for felixdv 2008-06-16 19:21:59 +00:00
Rob Richards
37ba76d23d MFH: add parameter allowing node to be exported into existing Document context [DOC]
add test
fix warnings
2008-06-16 15:45:06 +00:00
Greg Beaver
d8d31bc591 remove unused variables in phar_fix_filepath
copy virtual_dirs to avoid segfault on multi-process
fix metadata reading for phar.cache_list
initialize manifest to exact size needed (performance increase)
fix freeing of signature on error to use the correct persist value (fixes segfault on error in cache.list)
reset EG(regular_list) so it is identical to how we found it
2008-06-16 04:10:53 +00:00
Greg Beaver
4e65a58146 fix hashtable creation for tar to be estimated size needed 2008-06-16 04:09:20 +00:00
Greg Beaver
03b9673ba2 fix hashtable creation for zip to be exact size needed, fix endian issue for loading manifest 2008-06-16 04:06:59 +00:00
Greg Beaver
c353e9277e minor performance improvement 2008-06-15 23:00:46 +00:00
Greg Beaver
5e3f592d88 fix memleak 2008-06-15 22:51:46 +00:00
Greg Beaver
4104786072 another optimization - move inode hash to initial manifest parsing, improves runtime perf of stat slightly 2008-06-15 21:42:20 +00:00
Greg Beaver
d8ed660a02 minor optimization 2008-06-15 21:15:29 +00:00
Greg Beaver
04e257a8e1 HUGE speed improvement, from 19 req/sec to 27 req/sec for phpMyAdmin - now speed with apc+phar.cache_list = on-disk speedcvs diff -u |less This is by generating a list of virtual directories and using those in stat calls instead of scanning the whole manifest hash table. on-disk phpMyAdmin = 28 req/sec 2008-06-15 18:15:48 +00:00
Etienne Kneuss
04f211e38f MFH: Add tests for iterators when instanciated without argument (by Sebastian Schürmann) 2008-06-15 11:47:34 +00:00
Rob Richards
790f5ee062 MFH: fixed bug #45251 (double free or corruption with setAttributeNode())
add test
2008-06-14 11:22:57 +00:00
Felipe Pena
c772aca929 - Fix build (ZTS) 2008-06-13 22:28:55 +00:00
Greg Beaver
4f9daeed11 [DOC] implement full signature support for tar-based archives. By default, data archives do
not have a signature, but can have one set via setSignatureAlgorithm()
2008-06-13 22:07:44 +00:00
Greg Beaver
5ff4deaa53 full refactor of signatures complete - now to implement them for tar as a starting point 2008-06-13 20:15:19 +00:00
Greg Beaver
09e1f0249e PHP_5_2 compat - add pestrndup if undefined 2008-06-13 15:59:13 +00:00
Zoe Slattery
af55856d6e Commited for Sanjay, reviewed by Pierre. Testfest task 5. 2008-06-13 15:57:42 +00:00
Zoe Slattery
f88ab53c3d Commited for Sanjay, reviewed by Pierre. Testfest task 117. 2008-06-13 15:20:04 +00:00