Greg Beaver
78c55d2f6d
new test for encrypted zips
2008-04-19 05:51:10 +00:00
Greg Beaver
d3a4ecf5ab
new test for central directory offset being wrong
2008-04-19 05:45:10 +00:00
Greg Beaver
bd3ddde29f
new test for truncated file comment, fix memleak found by test
2008-04-19 05:39:42 +00:00
Greg Beaver
4e98585ff7
new corrupt zip test
2008-04-19 05:35:03 +00:00
Greg Beaver
531caa6393
new test for corrupted zip with mis-matched entry counts, and fix memleaks in this test case
2008-04-19 05:30:48 +00:00
Greg Beaver
410ce457ab
add utility for creating corrupted zip archives for testing purposes
2008-04-19 05:15:24 +00:00
Greg Beaver
c4f502fae0
COMPLETELY rework filename extension detection. Now the only requirements are:
...
1 - executable phars must contain '.phar' in the filename
2 - non-executable phars must not contain '.phar' and must have an extension of at least 1 character
In addition, phar filenames must exist if opened for read, and the directory containing the phar must exist if opened for creation
if opened for creation, the file must not already exist
[DOC]
2008-04-18 04:13:13 +00:00
Christopher Jones
bd6696c639
MFB: Set extension status back to dev
2008-04-18 02:35:08 +00:00
Christopher Jones
7f3604bbab
Code:
...
- Do scope-end release for oci_pconnect (oci8.old_oci_close_semantics=1 gives old behavior)
- Fix session reuse with 10.2 client libs
- Fix the Ping macro version check for 10.2
- Add type check associated with zend_list_find
- Code connection re-organized for reuse
- Format comments
- WS changes
- Prepare for new PECL release
Tests:
- Add new tests
- Rationalize password tests
- Revert use of __DIR__ so tests will work with PHP 5.2
- Update some skipifs to make tests more portable
2008-04-18 00:04:45 +00:00
Rob Richards
30800f4b12
fix bug #44648 (Attribute names not checked for wellformedness)
...
fix some warnings
2008-04-17 20:19:53 +00:00
Felipe Pena
5d8c35d561
- Fixed typo
2008-04-17 11:08:32 +00:00
Greg Beaver
26e10f8cca
fix compression zip tests
2008-04-16 20:26:22 +00:00
Greg Beaver
a3e723b935
add failing tests for compression of zip files internally
2008-04-16 20:15:19 +00:00
Greg Beaver
31e6629895
fix large zip test
2008-04-16 20:08:02 +00:00
Greg Beaver
159e39d81d
load entire end of zip instead of weird 8k looping, logic is much simpler, and it's only 65k instead of 8k
2008-04-16 19:48:31 +00:00
Greg Beaver
8bc9ec5466
make test OS-agnostic
2008-04-16 19:47:41 +00:00
Derick Rethans
62a4aff5f8
- MF52: Fixed bug #44703 (htmlspecialchars() does not detect bad character set
...
argument).
#- WIll merge to 5.3 later, that branch has some more modifications.
2008-04-16 17:24:00 +00:00
Antony Dovgal
fa7f1fce98
always initialize mod_type
2008-04-16 13:19:31 +00:00
Antony Dovgal
6b3698f2ed
unicode support and minor leak fix
2008-04-16 13:17:44 +00:00
Antony Dovgal
b19791609a
convert ext/ldap to use new parameter parsing API
...
also restructure the extension to get rid of some garbage
2008-04-16 13:02:26 +00:00
Andrey Hristov
c931468b88
Update ext/mysql, ext/mysqli and ext/mysqlnd from development tree
2008-04-16 12:53:18 +00:00
Pierre Joye
372be75ef5
- add test
2008-04-16 09:56:36 +00:00
Pierre Joye
19363e515d
- prepare 1.0.2
2008-04-16 09:41:05 +00:00
Pierre Joye
6b58f235b2
- Fix protos
2008-04-16 09:30:16 +00:00
Greg Beaver
4e584728e5
fix end of directory locator detection code, add failing test for large zips
2008-04-16 04:34:25 +00:00
Greg Beaver
398bcf4dd0
fix test - metadata works now
2008-04-16 04:16:20 +00:00
Greg Beaver
8c4477cde5
fix segfault in meta-data parsing of zip archives
2008-04-16 04:15:08 +00:00
Greg Beaver
f513caa0a6
add failing test for metadata support in zip archives
2008-04-16 04:11:14 +00:00
Greg Beaver
dc837b5f53
rename is_zip parameter of phar_parse_metadata to more accurately reflect what it is
2008-04-16 04:01:33 +00:00
Greg Beaver
6eabae560b
increase code coverage
2008-04-16 03:55:13 +00:00
Greg Beaver
21b84bb728
forgot F in EXPECTF
2008-04-16 03:54:06 +00:00
Greg Beaver
cd9ecb53ae
increase code coverage
2008-04-16 03:54:05 +00:00
Greg Beaver
6387155b3d
add another test for alias overloading and make sure we disallow it when passed in constructor
2008-04-16 03:42:29 +00:00
Greg Beaver
ae3837851a
fix tests so $Revision$ does not screw with things
2008-04-16 03:27:45 +00:00
Greg Beaver
6c0564c721
increase code coverage for phpinfo(), rework CLI phpinfo for phar.extract_list to be legible
2008-04-16 03:26:20 +00:00
Greg Beaver
a12dc0ba3d
increase code coverage
2008-04-15 23:46:44 +00:00
Greg Beaver
277ba45f8f
re-add as binary
2008-04-15 19:26:35 +00:00
Greg Beaver
bf716e8e98
aha - added as ascii, removing in order to re-add
2008-04-15 19:25:46 +00:00
Greg Beaver
2d6ad98ed9
this was corrupted on my windows box. $1m question: is this newly regenerated phar valid on Steph's box and my unix box?
...
withphar.phpt and withphar_web.phpt use it
2008-04-15 19:25:06 +00:00
Greg Beaver
77b6ed3861
further big-endian systems fixes for zip
2008-04-15 19:16:47 +00:00
Felipe Pena
4ec4c5c77f
- Fixed test
2008-04-15 18:59:27 +00:00
Greg Beaver
189b936ba3
fix test on windows
2008-04-15 18:41:03 +00:00
Greg Beaver
df32c25175
forgot to commit this yesterday - make error message test PHP-version agnostic
2008-04-15 18:33:47 +00:00
Felipe Pena
04d0bb1e10
- Fixed tests (NULL is allowed where binary string is expected)
2008-04-15 17:13:08 +00:00
Felipe Pena
c831cc9c75
- Fixed test
2008-04-15 15:41:41 +00:00
Steph Fox
cdabebdb98
- Clean files that actually exist ;)
2008-04-15 14:34:16 +00:00
Greg Beaver
1a2ac90cde
truly enable APC in phar
2008-04-15 13:52:02 +00:00
Antony Dovgal
513dde5f84
remove -ldl - it doesn't seem to be required on Linux and it's not present on FreeBSD
2008-04-15 12:47:18 +00:00
Jani Taskinen
009ac20f20
- missed one line
2008-04-15 09:02:16 +00:00
Jani Taskinen
263b1aa1d2
- Readd config_get_has(). No need to document, it is only available for debug builds.
2008-04-15 08:43:48 +00:00
Greg Beaver
9e33e0cc5b
add support for proper APC caching
2008-04-15 04:56:34 +00:00
Greg Beaver
859bd13d09
add interception for readfile [DOC]
2008-04-15 03:36:57 +00:00
Greg Beaver
e465dc8711
add support for big-endian systems to zip implementation
2008-04-15 03:29:21 +00:00
Scott MacVicar
8b5866866c
Fixed bug #44719 (More uninitialised values causing wierd errors)
2008-04-15 00:39:43 +00:00
Scott MacVicar
43a40e7486
Fixed bug #44722 (Segfault setting a null session path)
2008-04-15 00:32:51 +00:00
Greg Beaver
a8d822ed16
fix test to be OS-agnostic
2008-04-14 22:50:52 +00:00
Greg Beaver
023d1c96ea
fix invalid variable access
2008-04-14 22:39:27 +00:00
Greg Beaver
e7a8df1248
fixes test on windows. Does it break on unix? the shadow knows
2008-04-14 22:27:34 +00:00
Greg Beaver
3cd16d46c9
fix test on windows
2008-04-14 22:22:04 +00:00
Greg Beaver
9f86ad6142
fix test
2008-04-14 18:35:10 +00:00
Greg Beaver
24b6df944d
complete rename code coverage tests, completely re-do errors (why are the streams funcs so dang inconsistent in error handling/return values?)
2008-04-14 18:33:12 +00:00
Greg Beaver
567870d4ef
remove unused file
2008-04-14 18:16:51 +00:00
Greg Beaver
0c9fcac767
remove redundant check for file existence, add another unlink edgecase test
2008-04-14 18:03:57 +00:00
Greg Beaver
bf701fe74f
disallow unlink() on extracted phars (the idea is that it is a read-only for execute thing), add tests for unlink edge cases
2008-04-14 17:54:38 +00:00
Felipe Pena
d376f209d4
- Fixed test (bug #44533 )
2008-04-14 17:51:08 +00:00
Felipe Pena
47affc1757
- Fixed test
2008-04-14 17:42:30 +00:00
Greg Beaver
4cd9806d06
add stat test for root dir
2008-04-14 17:40:46 +00:00
Greg Beaver
754a3b9a76
add tests for extract_list and stat
2008-04-14 17:39:46 +00:00
Greg Beaver
3703d9195d
nuke potential segfault in phar_open_url, remove mem leaks due to error logging in phar_wrapper_stat, add to test case
2008-04-14 17:36:48 +00:00
Greg Beaver
e00568dd6a
s/l/L/ to match actual lstat errors
2008-04-14 17:31:01 +00:00
Greg Beaver
0828c08abc
add test case for SEEK_CUR fseek
2008-04-14 17:24:39 +00:00
Steph Fox
ef203ea793
- Kill doze compiler warning
2008-04-14 17:23:25 +00:00
Greg Beaver
65e04335a6
add test case for inability to open extract_list file
2008-04-14 17:21:49 +00:00
Greg Beaver
e9de3a285d
2 more test coverage edge cases down
2008-04-14 17:19:55 +00:00
Greg Beaver
f3f9f52af9
minor re-factoring of phar_open_url to remove one nested brackets, put fopen edge cases in its own test, tweak test phar file names
2008-04-14 17:18:58 +00:00
Steph Fox
31596d1b45
- Fix ZTS build
2008-04-14 17:14:54 +00:00
Etienne Kneuss
607d8114a7
Fix dns_check_proto (related to #44723 )
2008-04-14 16:49:30 +00:00
Greg Beaver
6d06058e81
add test coverage for fopen() with append mode
2008-04-14 16:38:58 +00:00
Greg Beaver
abb0766b8f
add phar.extract_list test coverage for opendir
2008-04-14 16:34:11 +00:00
Greg Beaver
19e4a6113f
add test coverage for phar.extract_list and mkdir/rmdir
2008-04-14 16:30:55 +00:00
Greg Beaver
eb252c5c92
fix potential segfault if some idiot tries to remove the root directory of a phar, add creation of root directory to test
2008-04-14 16:26:01 +00:00
Greg Beaver
07e36f5cad
increase code coverage further
2008-04-14 16:10:58 +00:00
Greg Beaver
e7cbf4ddfe
add error message on attempt to rmdir/mkdir 'phar://', add to test
2008-04-14 16:04:11 +00:00
Greg Beaver
2c0e0e1a96
update tests to ensure all temp files are erased, and to current error messages
2008-04-14 15:58:12 +00:00
Greg Beaver
61a9b7d8ee
increase code coverage slightly
2008-04-14 15:52:57 +00:00
Greg Beaver
dbf43f5e0d
add test for mkdir() of sub-directory of existing file, and restore the removed free()s with an is_temp_dir test
2008-04-14 15:48:25 +00:00
Greg Beaver
4b5079f4b7
increase test coverage of phar_wrapper_mkdir, fix segfault when mkdir() on existing directory
2008-04-14 15:46:06 +00:00
Hannes Magnusson
0789f3d81c
MFB5.3: Remove config_get_hash() & and add new boolean parameter to
...
ini_get_all() to list ini entries key=>current_value like config_get_hash()
did.
2008-04-14 15:42:14 +00:00
Greg Beaver
2277396fe3
fix edge case where a new phar is created via mkdir(), add to dir.phpt test
2008-04-14 15:21:41 +00:00
Hannes Magnusson
ef552c57de
MFB53: Fixed bug#44716 (Progress notifications incorrect)
2008-04-14 12:17:38 +00:00
Greg Beaver
b8865a63ae
another attempt at fixing mac OS X compile, remove unused obsolete code
2008-04-14 04:47:34 +00:00
Greg Beaver
2ed2ae7e53
missing from previous commit to remove stat from opendir wrapper ops
2008-04-14 04:47:00 +00:00
Greg Beaver
e69ea0731d
more test coverage and fixes from increased coverage to opendir(). dir.phpt fails, but for wrong reasons (bug uncovered that needs fix)
2008-04-14 04:44:04 +00:00
Greg Beaver
aee1be851e
add fstat to 027 test. Remove phar_dir_stat, stat should not be possible on a dir handle
2008-04-13 23:57:44 +00:00
Greg Beaver
61f439c1ad
add to 027 test (for code coverage) of fwrite on dir handle
2008-04-13 23:48:46 +00:00
Greg Beaver
653b67b34f
minor optimization
2008-04-13 23:47:15 +00:00
Greg Beaver
6f6a6dcb0e
100% code coverage for dir handle seeking, remove error log (not used in dir seeking, causes leak), update 027 test to have seeking test
2008-04-13 23:46:15 +00:00
Greg Beaver
c22b6a76ed
add test for stat interception, fix stat interception
2008-04-13 23:33:31 +00:00
Hannes Magnusson
1972f83385
MFB5.3: Fixed bug#44712 (stream_context_set_params segfaults on invalid arguments)
2008-04-13 22:40:35 +00:00
Greg Beaver
abb227db46
sync fixed test properly with 5.3 branch
2008-04-13 21:41:46 +00:00
Greg Beaver
d90aa1a587
fix test
2008-04-13 21:41:45 +00:00
Greg Beaver
dc4da5e2f9
make tests php version-agnostic with regards to stream errors
2008-04-13 21:31:46 +00:00
Greg Beaver
02bbb72f6d
add test for fopen interception, fix fopen interception
2008-04-13 20:46:45 +00:00
Greg Beaver
24d5595a8f
add test for file_get_contents interception, fix file_get_contents interception
2008-04-13 19:36:33 +00:00
Greg Beaver
72daaf1d44
add test for opendir, fix bugs found
2008-04-12 22:21:29 +00:00
Greg Beaver
0814b2df09
fix build if SPL is disabled
2008-04-12 21:43:39 +00:00
Felipe Pena
f6639abf7d
MFB: Fixed bug #44703 (htmlspecialchars() does not detect bad character set argument)
2008-04-11 19:08:05 +00:00
Robin Fernandes
30fd5ba517
Fix test parse_url_variation_002.phpt for 64bit platforms.
2008-04-11 14:35:07 +00:00
Greg Beaver
b0f281b159
restore Phar->compress/decompress() to simplify $phar->convertToExecutable(NULL, Phar::GZ) to $phar->compress(Phar::GZ)
...
[DOC]
2008-04-11 13:41:59 +00:00
Greg Beaver
8f28d19d4e
cosmetics, extra space
2008-04-11 13:26:36 +00:00
Greg Beaver
3493fb6561
combine PharFileInfo->setCompressedGZ/setCompressedBZIP2 into compress() with parameter Phar::GZ or Phar::BZ2
...
use ZEND_ACC_PUBLIC in PharFileInfo definitions, to be consistent
[DOC]
2008-04-11 13:26:03 +00:00
Greg Beaver
ab34fcac05
merge PharFileInfo->isCompressed/isCompressedGZ/isCompressedBZIP2 by adding an
...
optional parameter to isCompressed for testing specific compression algorithm
[DOC]
2008-04-11 13:07:14 +00:00
Greg Beaver
c07a07ea68
change PharFileInfo->setUncompressed to decompress
...
[DOC]
2008-04-11 12:56:53 +00:00
Antony Dovgal
3c48de1912
fix tests
2008-04-11 11:05:33 +00:00
Antony Dovgal
0e7655209a
fix 2 segfaults in ZTS mode
2008-04-11 10:59:50 +00:00
Steve Seear
20b755c30e
POSIX extension error tests
2008-04-11 09:33:59 +00:00
Steve Seear
bd6292a700
POSIX extension variation tests (failing due to spurious array to string conversion notices).
2008-04-11 09:29:08 +00:00
Robin Fernandes
91df70bdaa
Adding some tests for ereg and url functions.
2008-04-11 08:57:06 +00:00
Greg Beaver
c0d82e966f
refactor compress/convertToTar/convertToPhar/convertToZip/convertToExecutable/convertToData
...
into 2 methods:
convertToExecutable/convertToData. Both methods accept 3 optional parameters
1 archive type, Phar::PHAR, Phar::TAR, or Phar::ZIP
2 compression Phar::NONE, Phar::GZ, or Phar::BZ2
3 file extension. Default is <format>.<compression> where .phar.tar is executable .tar
convertToExecutable always returns a Phar object
convertToData always returns a PharData object
also added Phar::PHAR, Phar::TAR, and Phar::ZIP class constants
[DOC]
2008-04-11 04:20:15 +00:00
Marcus Boerger
3bfa3d163d
- No longer allow to disable pcre
2008-04-10 19:41:24 +00:00
Nuno Lopes
5d183af5f4
MFB
2008-04-10 19:14:23 +00:00
Nuno Lopes
c7e53aa963
MFB
2008-04-10 18:51:54 +00:00
Greg Beaver
f0ff6fb109
s/getContents/getContent/
2008-04-10 13:41:29 +00:00
Greg Beaver
61b5fc48e3
re-factor all-file compression. Remove compressAllFilesGZ/compressAllFilesBZ2 in favor of
...
unifying compressFiles which accepts Phar::GZ or Phar::BZ2 as argument. rename uncompressAllFiles to decompressFiles
2008-04-10 13:40:26 +00:00
Philip Olson
9de8833bea
Updated the documentation credits
2008-04-10 05:30:34 +00:00
Greg Beaver
06df9bff83
add Phar->isWritable() for detecting whether a phar archive can be written to based on phar.readonly combined with actual file permissions
...
[DOC]
2008-04-10 03:32:10 +00:00
Greg Beaver
1c3097fcbe
make built-in SplFileInfo->isWriteable() work for PharFileInfo as well, by ensuring phar->is_writeable is set/reset when phar.readonly is changed
2008-04-10 03:12:08 +00:00
Marcus Boerger
54502e978c
- SPL can no longer be disabld as discussed some time ago (checked back with RM)
2008-04-09 21:47:29 +00:00
Greg Beaver
abfc228f36
add addFile/addFromString/addEmptyDir. API is identical to ext/zip
...
[DOC]
2008-04-09 19:23:31 +00:00
Etienne Kneuss
f6df935264
Fix #44511 (Ensure no exception was already thrown by php_stream_opendir)
2008-04-09 19:00:48 +00:00
Greg Beaver
e56beeeefd
add PharFileInfo->getContents() to retrieve file contents
...
[DOC]
2008-04-09 18:12:41 +00:00
Felipe Pena
bb8b904eec
MFB: Fixed bug #44678 (spliti error message includes wrong function name)
2008-04-09 13:52:53 +00:00
Jani Taskinen
defea67cf5
- Add missing basic test (see also bug #44574 )
2008-04-08 12:32:51 +00:00
Jani Taskinen
6fa8f52e7d
- fix test
2008-04-08 11:58:03 +00:00
Jani Taskinen
30d057d32c
- Fixed bug #44667 (proc_open does not handle pipes with the mode "wb" correctly)
2008-04-08 08:42:05 +00:00
Andrey Hristov
212c00cd1a
Fix snapshot build
2008-04-08 07:46:05 +00:00
Ilia Alshanetsky
01ef65015b
MFB: Fixed bug #44663 (Crash in imap_mail_compose if "body" parameter
...
invalid)
2008-04-08 00:02:01 +00:00
Christopher Jones
bb4c6a7267
MFB: PECL #13523 (x86_64 build) and versioning sync
2008-04-07 22:34:03 +00:00
Christopher Jones
ca31d5bc68
MFB: Fix OCIPing 10.2 macro
2008-04-07 22:33:31 +00:00
Christopher Jones
135476bdb8
MFB: Test updates
2008-04-07 22:33:08 +00:00
Pierre Joye
66f7ed7240
- #13181 , fix resource destruction during context change
2008-04-07 21:45:17 +00:00
Derick Rethans
3954343162
- Fixing returned offset.
...
- Algorithm optimization.
2008-04-07 17:43:49 +00:00
Derick Rethans
d3a0dbf991
- Fixed testcases.
2008-04-07 17:41:48 +00:00
Etienne Kneuss
b5cdc9ffee
Implement forward_static_call(_array) to complete LSB. Patch by Mike Lively
2008-04-07 10:39:43 +00:00
Ilia Alshanetsky
c8d256ed2f
MFB: Fixed bug #44603 (Order issues with Content-Type/Length headers on
...
POST)
2008-04-06 15:21:45 +00:00
Joe Orton
e15c6ca077
Fix another case of a broken stream->fd cast in 64-bit builds.
2008-04-04 12:58:32 +00:00
Joe Orton
8176b6e8f4
Fixed bug #32979 (OpenSSL stream->fd casts broken in 64-bit build)
...
(stotty at tvnet dot hu)
2008-04-04 12:49:57 +00:00
Antony Dovgal
5b6995730d
fix folding
2008-04-04 07:47:18 +00:00
Ilia Alshanetsky
5fe2de0d2a
MFB: Fixed bug #44613 (Crash inside imap_headerinfo())
2008-04-02 16:29:08 +00:00
Antony Dovgal
3fbf99a283
decrement parent's refcount only when destroying the child, not when decrementing child's refcount
2008-04-02 14:56:03 +00:00
Antony Dovgal
9dea5a0747
initialize variable
2008-04-02 14:35:16 +00:00
Felipe Pena
9b30b7398a
Typo
2008-04-01 18:48:41 +00:00
Christopher Jones
7e9a08adb8
Use new version macro
2008-04-01 18:38:17 +00:00
Ilia Alshanetsky
306eb4fad2
MFB: Fixed bug #44594 (imap_open() does not validate # of retries parameter)
2008-04-01 18:29:09 +00:00
Steph Fox
c2a8b95137
Bump dev version ready for any new changes
2008-04-01 17:59:00 +00:00
Ilia Alshanetsky
e831c158c8
Revert unintended bits from "Added a warning message" commit
2008-03-31 22:44:38 +00:00
Steph Fox
d834c32dea
- Bring the majority of PECL extensions into line with macro/x.x.x versioning.
...
- Please use the -dev tag during the development cycle so that snapshots can easily be distinguished from releases.
2008-03-31 09:37:51 +00:00
Derick Rethans
08534e1bee
- Fixed a bug in formatting timestamps when DST is active in the default
...
timezone.
2008-03-31 09:10:54 +00:00
Felipe Pena
2fba4f5e61
- Fix build
2008-03-30 15:31:33 +00:00
Ilia Alshanetsky
c22a23ccd5
MFB: Added a warning message
2008-03-30 15:06:07 +00:00
Felipe Pena
223b7349a0
MFB: Fixed bug #44564 (escapeshellarg removes UTF-8 multi-byte characters)
2008-03-30 12:27:37 +00:00
Felipe Pena
4a5536a033
- Fixed bug #44533 (floatval() issues E_NOTICE "non well formed numeric value")
...
(Keep the old behavior, as other related functions)
2008-03-29 22:02:20 +00:00
Greg Beaver
54cfa7437c
correct last commit (comparison of "nu" in wrong order)
2008-03-28 21:03:29 +00:00
Felipe Pena
a9bdd4d456
MFB: Fixed bug #44557 (Crash in imap_setacl when supplied integer as username)
2008-03-28 16:45:59 +00:00
Greg Beaver
6ff19e08f4
fix Bug #13518 : comparision of a char* pointer with a string literal
2008-03-27 21:31:27 +00:00
Jani Taskinen
366581789f
MFB: fix test
2008-03-27 15:06:16 +00:00
Marcus Boerger
5b3560f069
- Ifdef out code that has if(0) and doesn't compile anyway
2008-03-27 12:54:23 +00:00
Dmitry Stogov
977cc79398
Added ability to use stream wrappers in include_path
2008-03-27 10:33:52 +00:00
Antony Dovgal
8f7910f92e
add missing EOL and fix build
2008-03-27 08:32:48 +00:00
Greg Beaver
a090d45251
fix build on PHP 5.2, prepare release of 2.0.0a2
2008-03-27 06:38:53 +00:00
Steve Seear
d08d2d7ee4
Adding tests for gethostbyaddr() and gethostbynamel()
2008-03-26 18:16:55 +00:00
Scott MacVicar
56352d1a2f
MFB 5.3: Rest of the changes for re2c merge
2008-03-26 14:46:17 +00:00
Greg Beaver
0084937b10
turns out it is now tomorrow, so update package.xml
2008-03-26 05:20:43 +00:00
Greg Beaver
085bb5cdd6
prepare release of 2.0.0a1
2008-03-26 03:55:37 +00:00
Andrey Hristov
1bf96fdf5c
MFB : Fix for Bug #43832 mysqi_get_charset() doesn't expose charset comment
2008-03-25 18:28:13 +00:00
Christopher Jones
7060c9574c
oci8: Sync with 5.3 - version macro updates and DRCP tweaks
2008-03-25 02:25:03 +00:00
Ilia Alshanetsky
1ad9e6e1d0
MFB: Fixed test on systems where . and .. order not guaranteed
2008-03-24 18:34:44 +00:00
Derick Rethans
38ffd11722
- Updated to version 2008.2 (2008b)
2008-03-24 13:00:24 +00:00
Marcus Boerger
7202434956
- Add documentation
2008-03-24 12:53:28 +00:00
Dmitry Stogov
824fa7ad54
Fixed tests (file order is undefined, so we need to sort() them)
2008-03-24 09:00:41 +00:00
Greg Beaver
1bda8cf708
a subtle plea for help to Marcus...
2008-03-24 03:05:24 +00:00
Greg Beaver
2e9fca4f0b
fix read/write for PharData object, update tests to current API
2008-03-24 03:01:31 +00:00
Greg Beaver
b4b890cb8f
check for invalid aliases, add tests for this and direct setting of stub/alias
2008-03-24 01:33:30 +00:00
Greg Beaver
cea3169ca6
prevent direct setting of stub or alias in tar/zip
2008-03-24 01:18:50 +00:00
Greg Beaver
7493b9dfb6
update TODO
2008-03-23 22:51:00 +00:00
Greg Beaver
95eeee9156
not all tests have been converted over to the new API, but it works
...
conversion is now split into 3 separate methods
1\) convertToZip\(\) convertToTar\(\) and convertToPhar\(\) exclusively change file format
2\) compress\(\) sets compression, accepting Phar::GZ, Phar::BZ2, or Phar::NONE
3\) convertToExecutable\(\) allows stub creation in tar/zip, convertToData\(\) prevents it
all methods return either Phar or PharData objects, allowing fluent interface.
only 1 test has been converted to the new format, but the API works
2008-03-23 22:42:45 +00:00
Greg Beaver
cac70206f2
add Phar->getPath() for retrieving the full path to the phar archive.
...
this is useful for renaming and also always returns the realpath()
2008-03-23 19:03:15 +00:00
Greg Beaver
ca92928b48
fix param parsing for Phar::running() to be optional
...
# this is the last bug for ZF app - it now works!
2008-03-23 17:36:57 +00:00
Marcus Boerger
69c71f703e
- Add .cvsignore
2008-03-23 16:51:52 +00:00
Ilia Alshanetsky
4743186f27
MFB: removed unused var
2008-03-23 15:49:51 +00:00
Greg Beaver
27ca45f898
don't disallow opening .tar/.zip files as Phar object if readonly is disabled, the whole idea is to be able to
...
add crap including an automatic stub or explicit stub
2008-03-23 06:59:59 +00:00
Greg Beaver
39c4f38c27
rename Phar::getRunningPhar\(\) to Phar::running\(\) and by default return the full
...
phar url, if optional parameter is false, return the path to the phar on disk. Fix a double free on failed mount
2008-03-23 06:00:31 +00:00
Greg Beaver
eea82226c1
fix potential segfault by misuse of phar_find_in_include_path
2008-03-23 05:39:58 +00:00
Greg Beaver
62ed0adcca
fix memleak found by valgrind
2008-03-23 00:05:53 +00:00
Greg Beaver
15f8facded
fix Bug #13110 : using rewrite parameter to webPhar causes memory error
2008-03-22 22:56:04 +00:00
Greg Beaver
bf081ec2a5
add failing test for bug #13110
2008-03-22 22:44:21 +00:00
Greg Beaver
6cef8da201
move all blah++ to ++blah where possible for those with crapass compilers
2008-03-22 22:11:49 +00:00
Greg Beaver
1b05ce68d7
fix all frontcontroller tests - cgi sapi was not being detected, only fastcgi
2008-03-22 22:04:21 +00:00
Greg Beaver
01e5bbbaf5
fix memleak in php 5.2, simplify code slightly
2008-03-22 21:54:55 +00:00
Steph Fox
1feb9b581a
Satisfy Greg's inertia
2008-03-22 21:54:15 +00:00
Greg Beaver
6be582b537
fix test
2008-03-22 21:53:11 +00:00
Felipe Pena
b859ca7770
- Fixed compilation warnings
2008-03-22 20:37:08 +00:00
Felipe Pena
26f3bd40ef
Fixed compilation warnings
2008-03-22 19:29:43 +00:00
Steph Fox
c0619c6523
Make versioning more standard
2008-03-22 17:09:24 +00:00
Marcus Boerger
f022bca16b
- Fix build for PHP < 5.3
2008-03-22 16:33:33 +00:00
Felipe Pena
3ed829f10e
- Added some UEXPECTs
...
- Fixed some tests
2008-03-22 14:58:29 +00:00
Marcus Boerger
cc3ee90dc5
- Update and include 'channel://pear.php.net/PHP_Archive-0.11.3'
2008-03-22 01:52:12 +00:00
Marcus Boerger
eb0f0e36e1
- Still missed one debug output
2008-03-22 01:48:45 +00:00
Marcus Boerger
1b286e1475
- If multiple possible exts are found use the first one.
...
This fixes an issue with: phar.phar info -f install-pear-nozlib.phar
because that archive contains a .tar file
2008-03-22 00:15:45 +00:00
Marcus Boerger
e08556eb2e
- Constify
2008-03-22 00:11:43 +00:00
Marcus Boerger
4d8073056c
- Don't throw exception for uninitialized instance
2008-03-21 23:56:52 +00:00
Marcus Boerger
efc1c1ea99
- Damn forgot to remove the debug code
2008-03-21 23:31:31 +00:00
Marcus Boerger
6d3bb76302
- Fix stub/hashbang generation
2008-03-21 23:22:18 +00:00
Marcus Boerger
9bfa3909bf
- Fix error message
2008-03-21 23:07:44 +00:00
Greg Beaver
891067c975
fix the memleak - but this breaks the \*compressAllFiles\*() methods because of fatal flaw
...
in renaming implementation - see pecl-dev email for details
2008-03-21 19:54:07 +00:00
Greg Beaver
3fcc6565b7
with stream wrappers in include_path, and after marcus's last fix, only 1 failing test (tar/tar_makegz.phpt)
...
add mounted file/dir to url stat
2008-03-21 18:50:22 +00:00
Marcus Boerger
34898339b5
- Add new test
2008-03-21 15:18:18 +00:00
Antony Dovgal
e128a1d885
fix ZTS build
2008-03-21 08:28:09 +00:00
Steph Fox
c11bcd5414
Deliberate test breakage (no idea how many) in an attempt to see where the valgrind 'bad news' is coming from on gcov.php.net.
2008-03-21 05:22:10 +00:00
Steph Fox
f0fdef1b64
Cosmetics (RC data)
2008-03-21 05:05:23 +00:00
Greg Beaver
d02dff1363
save work - sandbox is completely f**ed up, have to rm -rf and start again
...
This *SHOULD* fix issues, but I can't get run-tests to work reliably to be absolutely sure
2008-03-20 23:59:07 +00:00
Ilia Alshanetsky
b986dfaaae
MFB: Refine fix for multibyte char hanling inside command names and args
2008-03-20 23:26:01 +00:00
Derick Rethans
993eb05f5b
- Fix the DateTimeZone::getTransitions() algorithm.
2008-03-20 19:43:02 +00:00
Rob Richards
cfb250b84f
fix bug #44478 (Inconsistent behaviour when assigning new nodes)
...
add test
2008-03-20 16:46:55 +00:00
Andrey Hristov
9732763eca
Small fix and a test case to prove it
2008-03-20 15:34:09 +00:00
Andrey Hristov
46df4529be
Missing lines from the param-bind-non-changing fix
2008-03-20 13:58:46 +00:00
Andrey Hristov
0e884df573
- Don't modify the variables which are passed for parameter binding.
...
We need to clone them, if there will be a transformation (convert_to_xxx)
which will change the origin.
- Make mysqlnd more compatible to libmysql, in this case if the execute of
a statement fails set the state of the statement back to PREPARED
- A test case to check the case of a failing statement.
2008-03-20 13:25:49 +00:00
Antony Dovgal
a81de7c7a1
expect->expectf
2008-03-20 12:13:57 +00:00
Antony Dovgal
9b1c720c3d
fix tests (tcp_socket is tcp_socket/ssl when/if openssl is enabled)
2008-03-20 08:35:11 +00:00
David Soria Parra
a19e28ece9
Fix bug #44487 (call_user_method_array issues a warning when throwing an exception).
2008-03-20 00:50:47 +00:00
Steve Seear
7533d77bb0
Adding tokenizer test
2008-03-19 17:43:49 +00:00
Steve Seear
77f4934103
Adding streams tests
2008-03-19 17:38:20 +00:00
Steve Seear
b4f5622904
Adding filesystem tests
2008-03-19 17:26:36 +00:00
Felipe Pena
c604a1933c
Cosmetic
2008-03-19 15:34:38 +00:00
Felipe Pena
d321bfba65
Fixed test
2008-03-19 15:22:59 +00:00
Felipe Pena
0e27741364
Fixed tests
2008-03-19 15:13:12 +00:00
Felipe Pena
b02063cf05
Fixed test
2008-03-19 14:55:58 +00:00
Felipe Pena
5056e34018
Fixed test
2008-03-19 14:45:24 +00:00
Felipe Pena
e7ecc9003e
Added UEXPECT
2008-03-19 14:19:54 +00:00
Felipe Pena
2f777042a0
Fixed error message (%s -> %v)
2008-03-19 14:00:46 +00:00
Antony Dovgal
da036996be
make use of zend_atol()
2008-03-19 12:40:48 +00:00
Antony Dovgal
4ce259fc1a
fix test
2008-03-19 12:36:00 +00:00
Felipe Pena
f0c4283f47
MFB: Fixed bug #43614 (incorrect processing of numerical string keys of array in arbitrary serialized data)
2008-03-19 03:12:39 +00:00
Ilia Alshanetsky
8c039bd8cc
MFB: Bug #44445 (email validator does not handle domains starting/ending
...
with a -)
2008-03-18 23:32:56 +00:00
Andrey Hristov
86cc5d9325
MFB : fix the build
2008-03-18 17:32:03 +00:00
Andrey Hristov
e53f44b9bd
MFB - Bug #44352 mysqli_connect_error() false negative for host errors
2008-03-18 16:58:43 +00:00
Robin Fernandes
da591e8eca
Adding more tests for serialize() and unserialize().
2008-03-18 15:12:42 +00:00
Dmitry Stogov
a0378d3514
Fixed test
2008-03-18 06:44:54 +00:00
Felipe Pena
2c7b9a55cb
Fix build
2008-03-18 00:37:35 +00:00
Stanislav Malyshev
8a6c836497
fix integer overflow in lenght calculation
2008-03-17 23:07:55 +00:00