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
Rui Hirokawa
b202ef7494
MFH
2008-06-13 14:48:33 +00:00
Zoe Slattery
bd2fbb9c79
Commited for Sanjay, reviewed by Pierre. Testfest task 79.
2008-06-13 13:49:40 +00:00
Zoe Slattery
aa8f158276
Commited for Sanjay, reviewed by Pierre. Testfest task 117.
2008-06-13 13:31:18 +00:00
Zoe Slattery
89d3bb2189
Commited for Sanjay, reviewed by Pierre. Testfest task 118.
2008-06-13 13:11:37 +00:00
Felipe Pena
d61f32d021
- Fix build (ZTS)
2008-06-13 13:06:46 +00:00
Greg Beaver
9c8d13fd6c
partial refactor - move signature verification into its own function, in preparation for tar/zip signature support.
...
next is signature creation
2008-06-13 06:34:41 +00:00
Lars Strojny
622ac25e81
Testfest: putenv() safe_mode tests by Brian DeShong
2008-06-12 22:36:43 +00:00
Lars Strojny
709ac7c21f
Testfest: various tests for ReflectionParameter
2008-06-12 21:41:21 +00:00
Lars Strojny
f2326fbed0
Testfest test cases for ReflectionExtension
2008-06-12 21:25:08 +00:00
Lars Strojny
5a241ddfe0
Testfest: ReflectionExtension tests by Gerrit te Sligte and Leon Luijkx
2008-06-12 20:55:38 +00:00
Etienne Kneuss
ee81b5a968
Add tests from testfest
2008-06-12 20:52:34 +00:00
Lars Strojny
c26c072cba
Testfest: ReflectionExtension::info()-test by Stefan Koopmanschap
2008-06-12 20:46:23 +00:00
Etienne Kneuss
da68b946a1
Add tests from testfest
2008-06-12 20:46:12 +00:00
Lars Strojny
45f85f3840
Reflection::getModifierNames()-test by Felix De Vliegher (Testfest)
2008-06-12 20:31:06 +00:00
Greg Beaver
98f2dc2aca
[DOC] add phar.cache_list, a PATH_SEPARATOR-separated list of full paths to phar archives to cache
...
at startup. This caches the manifest, so that on first access to a phar archive, no file manifest parsing occurs.
This could use further tweaking. For instance, the full copy of the manifest into the current process may be unnecessary if refcounting could be external
to the manifest. This would be another significant gain. With APC, I measure a slight perf increase to 19 req/sec up from 16 req/sec, without it approaches
regular PHP at 3.8 req/sec (regular is 4 req/sec). This is benching phpMyAdmin
2008-06-12 18:56:23 +00:00
Greg Beaver
84eb9cc145
ensure we don't try to use an unitialized hash table
2008-06-12 18:46:58 +00:00
Antony Dovgal
da022874c5
MFH
2008-06-12 12:40:13 +00:00
Antony Dovgal
ca3e7643a6
fix build (noticed by Alexey Zakhlestin)
2008-06-12 10:31:22 +00:00
Greg Beaver
279771dc4b
fix error messages
2008-06-12 04:57:24 +00:00
Steve Seear
bc29a3874d
Filesystem tests.
2008-06-11 12:38:56 +00:00
Dmitry Stogov
cafae0dc4b
Fixed test
2008-06-11 10:08:14 +00:00
Dmitry Stogov
337ea89883
Fixed test
2008-06-11 09:58:32 +00:00
Dmitry Stogov
99933df5e2
closeder/readdir/rewinddir must work only with directories
2008-06-11 09:01:56 +00:00
Dmitry Stogov
8d260b6b71
Fixed memory leak
2008-06-11 07:45:44 +00:00
Philip Olson
db7f3fe8c0
MFH: fixed imap_listscan() proto
2008-06-11 02:32:23 +00:00
Greg Beaver
4a62db4e6c
new tests (forgot to add these earlier)
2008-06-10 19:23:09 +00:00
Greg Beaver
8b8a64a3e8
fix PHP Bug #45218 : PHAR archive built from directory limited by max open file handles
2008-06-10 19:20:33 +00:00
Zoe Slattery
562cb168f1
Written by Sanjay Mantoor and reviewed by Pierre.
2008-06-10 18:29:48 +00:00
Greg Beaver
d0734964ca
fix memleak on error
2008-06-10 17:58:09 +00:00
Antony Dovgal
d7d94aab53
fix typo
2008-06-10 08:14:52 +00:00
Etienne Kneuss
84ec12d36a
add get_debug_info
2008-06-09 17:29:23 +00:00
Greg Beaver
eb77b80b9d
fix compile warnings if openssl is enabled statically. fix dangerous use of wrong length var in openssl signature verification
2008-06-09 16:07:18 +00:00
Pierre Joye
8b75c07bf1
- should not be called butlet remove it as well
2008-06-08 11:40:49 +00:00
Antony Dovgal
f1b8d65790
MFH: more checks and tests
2008-06-07 21:36:13 +00:00
Antony Dovgal
c80f146f81
add more tests (Felipe)
2008-06-07 14:10:42 +00:00
Antony Dovgal
5d6b1c6ead
MFH
2008-06-07 14:09:06 +00:00
Antony Dovgal
344c076584
add new test
2008-06-07 12:49:35 +00:00
Antony Dovgal
83d26fc47d
MFH: disallow $a[] = value syntax
2008-06-07 12:47:04 +00:00
Antony Dovgal
b8bd4cbbc6
MFH
2008-06-07 08:05:55 +00:00
Etienne Kneuss
e909912389
MFH: Fix segfault caused by get_current_data on an uninitialized element
2008-06-07 01:46:44 +00:00
Etienne Kneuss
b5eaa1005a
MFH: Implements C arrays wrapper
2008-06-06 23:53:43 +00:00
Christopher Jones
b8e1d4d4e5
MFB: OCI8: Remove macros obsoleted by rev 1.55.2.3.2.11.2.1 when Oracle 8 support was dropped
2008-06-05 23:43:10 +00:00
Christopher Jones
19732456a1
MFB: sync with PECL 1.2.5 release
2008-06-05 23:41:35 +00:00
Christopher Jones
b0885bb9a2
MFH: Make tests interruptible; clean up tables at start
2008-06-05 23:28:16 +00:00
Rob Richards
5e60f46159
MFH: rawurlencode now conforms to rfc 3986 (~ is not encoded) [DOC]
2008-06-04 19:35:15 +00:00
Marcus Boerger
332d83555c
- Make phar.phar building work for virtualized builds
2008-06-04 16:38:13 +00:00
Marcus Boerger
ad8eb0f672
- Make sure we are not trying to pack directories
2008-06-04 14:36:33 +00:00
Marcus Boerger
376ca12a21
- Update
2008-06-04 09:47:41 +00:00
Marcus Boerger
e8609b5199
- Use -n only for current built PHP
2008-06-04 09:47:17 +00:00
Marcus Boerger
350824478b
- Improve pear usage and PHP_Archive detection
2008-06-04 09:46:34 +00:00
Antony Dovgal
2ac1ba6254
fix tests
2008-06-04 07:38:10 +00:00
Marcus Boerger
c317ce0d67
- Prefer current CLI target to build phar.phar
...
- Use php -n
- Use shared phar, bz2, zlib automatically
2008-06-03 20:18:58 +00:00
Scott MacVicar
2b60fdf976
Add snefru256 as an alias for snefru, since in reality that is the implementation.
2008-06-03 17:25:42 +00:00
Zoe Slattery
fe0ef8b17c
Tests from London test fest 2008
2008-06-03 12:42:22 +00:00
Marcus Boerger
4e61f63d3f
- Remove checked-in or older version of phar.phar as we might not be able to open it
2008-06-02 15:50:42 +00:00
Marcus Boerger
159561e9da
- Need to use a proper inheritance check
2008-06-02 15:49:03 +00:00
Scott MacVicar
d06e683922
Correct test name
2008-06-02 14:14:26 +00:00
Jani Taskinen
f047195f55
MFH: simplify, readability
2008-06-02 14:12:20 +00:00
Marcus Boerger
c60365e9b3
- Fix issue with -y parameter hanlding (fix typo)
2008-06-02 13:39:54 +00:00
Marcus Boerger
4f74e50c1b
- Fix issue with -y parameter hanlding
2008-06-02 13:33:45 +00:00
Marcus Boerger
cb0af1eeb8
- Fix issue with -y parameter hanlding
2008-06-02 13:24:15 +00:00
Scott MacVicar
b83fbba9f3
Add sha224 support.
2008-06-02 12:24:23 +00:00
Jani Taskinen
d652cec246
- Revert pointless patch: a) the version is already there, see line above,
...
b) one branch commits are idiotic to begin with, we have three active branches!
This only leads to out-of-sync situations ála PDO..
2008-06-02 11:23:16 +00:00
Matt Wilmas
572adc05e4
MFH: Initialize with length instead of 0
2008-06-02 11:20:59 +00:00
Antony Dovgal
779769563c
fix uninitialized variable
2008-06-02 10:27:55 +00:00
Pierre Joye
57bcc16896
- reintroduce the x.y.z version string info (a bit nicer to make the other guy happier)
...
- silent warning (windows only and don't remove it, thanks)
2008-06-02 10:25:54 +00:00
Jani Taskinen
930d9e47c9
- Revert crap
...
# Someone should remove Pierre's karma too..
2008-06-02 08:46:41 +00:00
Pierre Joye
2528bd43fc
- don't use openldap/portable and build the human readable version
...
- silent strdup redclaration warning
2008-06-02 06:48:35 +00:00
Pierre Joye
8290e3324a
- add OpenLDAP version info in phpinfo (windows only, have to check if openldap/portable.h is present on linux headers)
2008-06-02 00:24:19 +00:00
Hannes Magnusson
49961368be
Add arginfo & fix protos
2008-06-01 18:47:20 +00:00
Hannes Magnusson
0f6e76e502
fix arginfo and proto
2008-06-01 18:24:38 +00:00
Hannes Magnusson
e610609556
Add arginfo & fix protos
2008-06-01 17:54:02 +00:00
Marcus Boerger
678a38e9ba
- Make work with new API
2008-06-01 17:16:40 +00:00
Marcus Boerger
147eed53e2
- Fix signature handling (and remaining API change fixes)
2008-06-01 17:16:04 +00:00
Marcus Boerger
aaf6b216ed
- Fix docu
2008-06-01 17:14:48 +00:00
Marcus Boerger
c05c40cea4
- Add Openssl support
2008-06-01 07:39:06 +00:00
Greg Beaver
5fbeb235d2
add openssl signing support. This adds an extra parameter
...
for the contents of the exported private key to Phar->setSignatureAlgorithm, and expects the public key to be in
a file named blah.phar.pubkey in the same directory as the phar blah.phar. This works with openssl static or
shared and fails gracefully if openssl is not present without adding a dependency. config.w32 needs updating to match config.m4 [DOC]
2008-06-01 04:21:26 +00:00