Greg Beaver
ab45c16a61
fix all but 1 test on windows (yay)
2008-04-20 04:19:13 +00:00
Greg Beaver
54540385b8
fix a couple more tests on windows
2008-04-20 04:10:51 +00:00
Felipe Pena
09e8c4db9a
- Fixed tests
2008-04-20 02:25:08 +00:00
Felipe Pena
6b49c2a151
- Better error message
2008-04-20 01:44:51 +00:00
Greg Beaver
95fc6451f0
fix 98 of 105 failing tests on windows (real progress now)
2008-04-20 00:24:01 +00:00
Felipe Pena
18fad25a77
- Fixed tests
2008-04-19 23:11:26 +00:00
Greg Beaver
9035dc059a
fix 3 failing tests out of 108 on windows (whoop-de-doo)
2008-04-19 17:57:24 +00:00
Greg Beaver
ef0139c866
fix ZTS build
2008-04-19 17:24:41 +00:00
Greg Beaver
f870b8ae74
fix ZTS build and Phar::isValidPharFilename
2008-04-19 17:24:26 +00:00
Greg Beaver
e94aaeada9
new test for unsupported compression versions, vastly enhance error messages on unsupported compression methods, fix memleak
2008-04-19 06:18:13 +00:00
Greg Beaver
aa61e6066c
new tests for corrupted zips
2008-04-19 05:58:40 +00:00
Greg Beaver
0d1e0b4311
new test for zip archives with files created from stdin
2008-04-19 05:53:57 +00:00
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
Ilia Alshanetsky
8b32865ffc
MFB: Properly address incomplete multibyte chars inside escapeshellcmd()
2008-03-17 23:02:35 +00:00
Antony Dovgal
a8127d612d
fix test
2008-03-17 15:35:25 +00:00
Josie Messa
149fe30489
- new tests for ctype functions
2008-03-17 09:54:36 +00:00
Antony Dovgal
044f39293b
fix 5_3 ZTS build
2008-03-17 08:55:56 +00:00
Marcus Boerger
a1cbab9142
- Rewrite scanner to be based on re2c instead of flex
...
The full patch is available as:
http://php.net/~helly/php-re2c-5.3-20080316.diff.txt
This is against php-re2c repository version 98
An older patch against version 97 is available under:
http://php.net/~helly/php-re2c-97-20080316.diff.txt
2008-03-16 21:06:54 +00:00
Ilia Alshanetsky
6cbde65afa
MFB: Remove unused variable
2008-03-16 15:15:47 +00:00
Derick Rethans
ee6f62b1cb
- Updated to version 2008.1 (2008a)
2008-03-16 07:20:17 +00:00
Felipe Pena
6779560ec5
Fix build (ZTS)
2008-03-14 17:57:44 +00:00
Derick Rethans
56ba1cf8fa
- Allow datetime objects to be serialized and woken up.
...
- Implemented __set_state().
2008-03-14 16:18:25 +00:00
Marcus Boerger
3264a25717
- Fix possible memory corruption
2008-03-13 19:45:22 +00:00
Marcus Boerger
58f7de98f4
- Fix build
2008-03-13 19:43:14 +00:00
Derick Rethans
cc07cc0bd9
- MF53: Fixed bug #44257 (timelib_tz_lookup_table must use float for
...
gmtoffset).
2008-03-13 16:00:18 +00:00
Derick Rethans
c7703dec10
- MF53: Added support for parsing date/time strings returned by MS SQL with strtotime().
2008-03-13 15:54:53 +00:00
Antony Dovgal
983ff657ba
fix zts build
2008-03-13 09:57:49 +00:00
Felipe Pena
ba05723fd9
Sync with fix for #44394
2008-03-12 19:35:24 +00:00
Felipe Pena
8ae1faf517
MFB: Fixed bug #42177 (Warning "array_merge_recursive(): recursion detected" comes again...)
2008-03-12 19:21:30 +00:00
Christopher Jones
32ed6f39de
New test for existing behavior
2008-03-12 17:52:29 +00:00
Ilia Alshanetsky
6ccc87cb26
MFB: Fixed bug #44388 (Crash inside exif_read_data() on invalid images)
2008-03-12 17:32:26 +00:00
Etienne Kneuss
5a10df8c56
Fix bug #41828 (Fix crash on wrong instantiation)
2008-03-12 13:35:04 +00:00
Greg Beaver
0262e844c4
implement full support and usage of phar stream in include_path, for both 5.2 and 5.3.
...
5.3 code expects the proposed patch for stream wrapper in include_path to be committed
5.2 code only supports phar stream wrapper in include_path.
this is a 2-step process. After this, more magic, particularly in funcinterceptors.c will be
converted to use phar_resolve_path, which is far safer than the current implementation.
this needs windows and 5.2 testing unix/windows
2008-03-12 03:55:12 +00:00
Greg Beaver
70e30449bb
fix leaked var, fixes all tests for me
2008-03-12 03:12:35 +00:00
Felipe Pena
1fe7347fed
MFB: Fixed bug #44394 (Last two bytes missing from output)
2008-03-12 02:45:15 +00:00
Christopher Jones
7d41cd902b
Cleaned up whitespace
...
Fixed bug #44372 (compilation with Oracle 10gR1 libraries)
http://bugs.php.net/bug.php?id=44372
Updated updated error number list to improve re-connection
behavior after a database restart.
Guard against potential internal list corruption after ping
removes old oci_pconnect() information.
Fix ini_set("oci8.connection_class", "abc") to get an appropriate
persistent connection.
Ping at oci8.ping_interval for oci_connect() and oci_new_connect()
when DRCP connections are used. This improves non-persistent
connection reliability if a database gets restarted.
2008-03-12 01:25:13 +00:00
Josie Messa
09c316399b
- Added extra whitespace around error messages in expected output
2008-03-11 10:20:06 +00:00
Dmitry Stogov
b2638b8297
Fixed memory corruption because of double free()
2008-03-11 09:36:51 +00:00
Andrey Hristov
60869b3e8e
Update mysqlnd, ext/mysql and ext/mysqli - now possible to compile with different
...
configurations one or the another extension to use libmysql or mysqlnd mixed in
one binary
2008-03-10 20:27:15 +00:00
Steph Fox
54615ca871
Fix for crash caused by unhappy c&p.
...
@Greg: this still doesn't fix bug #13353... not sure why
2008-03-10 19:11:16 +00:00
Josie Messa
f30035ea79
- New tests for getcwd() function
2008-03-10 15:24:14 +00:00
Josie Messa
49b8c820e6
- Modified expected output to allow tests to work on all platforms
2008-03-10 15:19:59 +00:00
Gwynne Raskind
29e1c1b66e
Unused function in HEAD, fixes compiler warning
2008-03-10 14:35:37 +00:00
Josie Messa
1fd345c31c
- New tests for scandir() function
2008-03-10 14:16:32 +00:00
Johannes Schlüter
e883735e64
Fix typo
2008-03-10 13:38:23 +00:00
Johannes Schlüter
0cd7f31de0
- Fix build with older MySQL
2008-03-10 13:26:15 +00:00
Andrey Hristov
a8e4046c72
- Fix a warning in php_mysql.c
...
- Fixed #44371 Extension compile failed
2008-03-10 09:16:13 +00:00
Scott MacVicar
b5e9791b40
MFB: Fix memory issues with statement being deleted twice
2008-03-09 21:32:38 +00:00
Ilia Alshanetsky
d2827c1e6a
MFB: Initialize ts only after successful argument parsing
2008-03-09 18:10:09 +00:00
Steph Fox
3ee08069a6
Rename archive during compressAllFiles*()
...
Note: this only works for tar archives at present pending a fix for bug #13352
2008-03-09 04:46:16 +00:00
Greg Beaver
f0b329da20
pack tar structs so speed optimizations don't add extra bytes to the header
...
# Steph: try this and see if it fixes Bug #13353
2008-03-09 04:17:20 +00:00
Johannes Schlüter
0defdae045
- Fix typo in skipif
2008-03-09 01:06:38 +00:00
Felipe Pena
7235c8e5bb
Fix test
2008-03-08 23:32:22 +00:00
Felipe Pena
d005d404e0
Fix test
2008-03-08 23:14:16 +00:00
Etienne Kneuss
2660bd1de9
User error handlers no longer catch supressed errors
2008-03-08 22:17:32 +00:00
Greg Beaver
b0595a7bab
fix tests if allow_url_fopen is disabled in php.ini
2008-03-08 19:12:41 +00:00
David Coallier
5d2af78a8b
- Skipif libxml dotted version is < 2.6.20. Patch from scoates
2008-03-08 19:08:58 +00:00
Greg Beaver
5faf5f8b87
fix test if allow_url_fopen is disabled in php.ini
2008-03-08 19:08:52 +00:00
Zoe Slattery
1bc3797c3f
Countable requires SPL
2008-03-08 17:15:18 +00:00
Andrey Hristov
cd9b7889ec
Bug fixed in MySQL 5.0.46
2008-03-08 15:17:45 +00:00
Andrey Hristov
f20d47c541
MFB:
...
- Fixed problem with $mysqli->connect() not connecting with defaults
- Fixed leak (#39475 )
2008-03-08 15:16:08 +00:00
Felipe Pena
effe87122f
MFB: Fixed bug #44373 (PDO_OCI extension compile failed)
2008-03-08 14:04:53 +00:00
Nuno Lopes
cc2e43cde1
MFB: fix #44214
2008-03-08 13:14:02 +00:00
Nuno Lopes
2e0b0d8f58
MFB
2008-03-08 11:59:44 +00:00
Nuno Lopes
3b2e53e538
add new tests
2008-03-08 11:51:03 +00:00
Scott MacVicar
9c164f91b6
Fixed bug #42203 (Clear SQLite result sets before closing database.)
2008-03-08 04:17:30 +00:00
Gwynne Raskind
3ccb44a951
Fix bug #32330 (session_destroy, "Failed to initialize storage module", custom session handler)
2008-03-07 23:20:15 +00:00
Pierre Joye
37cd6f7114
- MFB: #44355 compilation breaks due illegal const usage
2008-03-07 18:41:59 +00:00
Scott MacVicar
b979efee24
MFB:
...
Fixed bug #41135 (When binding as binary data use sqlite3_bind_blob() to stop errors with null bytes.)
Fixed bug #42443 (Bind integers and booleans as integers rather than strings.)
2008-03-07 17:02:48 +00:00
Josie Messa
192649581e
- Tests awaiting fix of bug #44246
2008-03-07 16:21:30 +00:00
Josie Messa
a532e65cd6
- New tests for rewinddir() function
2008-03-07 16:13:20 +00:00
Josie Messa
e5c40c1721
fix test
2008-03-07 16:07:34 +00:00
Josie Messa
c654b41280
- New tests for closedir() function
2008-03-07 16:02:42 +00:00
Steph Fox
410c1584c6
update TODO
2008-03-07 14:59:47 +00:00
Scott MacVicar
31dade5280
MFB: Update bundled SQLite to 3.5.6
2008-03-07 10:55:14 +00:00
Gwynne Raskind
7abf0787ad
Fix build (one too many right parenthesis in last commit for non-Windows builds)
2008-03-07 08:51:05 +00:00
Greg Beaver
4c23969a41
test was failing because I had a file named 1 in the checkout directory
...
# note to tests writers: never assume anything about directory
# contents.
2008-03-07 04:15:29 +00:00
Stanislav Malyshev
123b31cb52
improve seed calculation
...
# better solution would be to port mt's multi-value seed procedure
2008-03-07 03:39:29 +00:00
Ilia Alshanetsky
e9c77a5e92
MFB: Fixed a memory leak inside date_get_last_errors() when there are no
...
errors
2008-03-07 02:05:48 +00:00
Robin Fernandes
f0acfb157d
Add new tests for class/object functions and features.
2008-03-06 11:07:29 +00:00
Ilia Alshanetsky
1aab3a9b41
MFB: Revert patch for bug #44325
2008-03-05 23:52:56 +00:00
Pierre Joye
be4cb471ef
- MFB: #40013 , php_uname() does not return nodename on Netware
...
(Guenter Knauf)
2008-03-05 21:18:26 +00:00
Felipe Pena
702a290aba
Fix test
2008-03-05 14:22:06 +00:00
Felipe Pena
f395d9bf3e
Fix test
2008-03-05 13:15:03 +00:00
Antony Dovgal
5c46c52f09
apply better fix, so that the default handle would be closed when closing its reference
2008-03-05 12:09:33 +00:00
Antony Dovgal
41bd0ca803
fix memory corruption due to double destruction of default dir handle
...
(detected by ext/standard/tests/dir/readdir_variation6.phpt)
2008-03-05 09:28:41 +00:00
Felipe Pena
2818d4fc51
New way for check void parameters
2008-03-04 23:39:15 +00:00
Felipe Pena
e3ca51413c
MFB: Fixed bug #44333 (SEGFAULT when using mysql_pconnect() with client_flags)
2008-03-04 22:31:38 +00:00
Christopher Jones
2da1432d75
Fix bug #41069 (db link crash). Also allow SQLT_AFC (aka CHAR datatype) in oci_bind_by_name
2008-03-04 21:45:55 +00:00
Christopher Jones
f5af5850e9
Attempt greater test portability
2008-03-04 21:05:01 +00:00
Ilia Alshanetsky
b48faec1c8
MFB: Fixed bug #44325 (mssql_bind not correctly bind empty strings as
...
parameter value)
2008-03-04 19:39:33 +00:00
Josie Messa
40c790c9f6
- new tests for readdir() function
2008-03-04 17:11:10 +00:00
Dmitry Stogov
76faa5ff6b
Fixed SIGSEGV because of access to uninitialized data
2008-03-04 12:47:36 +00:00
Antony Dovgal
e1d3d931ed
fix test
2008-03-04 11:16:22 +00:00
Josie Messa
f002663134
- new tests for opendir() function
2008-03-04 10:45:40 +00:00
Ilia Alshanetsky
18c0b63dd1
MFB: Fixed bug #44166 (Parameter handling flaw in
...
PDO::getAvailableDrivers())
2008-03-03 21:13:29 +00:00
Steph Fox
5e4b47fa87
fix tests
2008-03-03 19:36:09 +00:00
Johannes Schlüter
237ad54d4c
- Fix get_parent_class() of PDORow instances
2008-03-03 18:58:59 +00:00
Robin Fernandes
0188a097cc
Remove inconsistent behaviour when a protected static prop is overridden by public static prop (details: http://turl.ca/phhhf ).
2008-03-03 14:24:11 +00:00
Steph Fox
8343d7c139
- A bit more work on PharData creation/conversion.
...
- If readonly=0, why not $phardata->convertToPhar()?
- Known issue with directories creating 'as-file' copies within the archive (all formats)
@Greg/Marcus/Tony: This passes all tests on my box, 5.2/5.3/release_ts/debug_ts, and I can't find any more memleaks. Obviously this is too good to be true, so if conversion is still messy elsewhere please feel free to fix, or bug and assign to me.
2008-03-03 08:41:15 +00:00
Ilia Alshanetsky
09799b7539
MFB: Fixed bug #44306 (Better detection of MIPS processors on Windows)
2008-03-02 15:36:24 +00:00
Steph Fox
1cdade809b
Going back to square one ("it works on Scott's box" - OSX 10.5, gcc version 4.0.1 (Apple Inc. build 5465)). Thanks ScottMac, David C and Philip for testing...
...
Possibly a gcc version issue?
2008-03-02 00:42:29 +00:00
Steph Fox
5c2be9551b
Should work on all platforms now. (Testing.)
2008-03-01 22:38:10 +00:00
Steph Fox
d4cf7e47f6
Right problem, wrong solution. Also missed an '= 1' , thanks Marcus
2008-03-01 22:28:33 +00:00
Steph Fox
f96cd8fbc3
Tested this time. All's fine here, MacOSX still complaining @ present.
2008-03-01 22:04:19 +00:00
Steph Fox
66d3abac02
Untested. Killing remaining warnings under MacOSX (thanks again Philip).
2008-03-01 21:44:32 +00:00
Steph Fox
15fefd3692
All tests pass here now. Thanks Philip for reporting compiler errors that don't show on my setup.
2008-03-01 21:31:03 +00:00
Antony Dovgal
cd858fe243
fix segfault, comment out useless line
2008-02-29 13:56:46 +00:00
Etienne Kneuss
69a686dd6f
Fix #44144 (object methods as spl autoload functions returned correctly)
2008-02-29 13:48:09 +00:00
Etienne Kneuss
47c663a943
Fix tests in non-unicode mode
2008-02-29 13:45:19 +00:00
Etienne Kneuss
03d5e7a7f1
Fix #44288 (Move declarations)
2008-02-29 09:25:30 +00:00
Felipe Pena
c82d6062ac
Fixed return value changed previously
2008-02-28 17:43:32 +00:00
Rasmus Lerdorf
2a30239eb7
MFB
2008-02-28 17:39:08 +00:00
Dmitry Stogov
e338f39423
We don't nave to change request shutdown sequence if dl() was failed
2008-02-28 16:59:21 +00:00
Felipe Pena
4f83f918c5
Added UEXPECT
2008-02-28 15:41:56 +00:00
Felipe Pena
748677148c
Fixed tests
2008-02-28 15:28:00 +00:00
Felipe Pena
a1e8d340c3
New macro for check void parameters
2008-02-28 14:16:25 +00:00
Steph Fox
ad0a7679ac
Kill an unnecessary bit of internal docu and add 'compression' to the TODO
2008-02-28 02:09:49 +00:00
Steph Fox
413df68971
Forgot to return... not that I understand this stuff...
2008-02-28 01:16:43 +00:00
Steph Fox
9e61358eda
Allow alias for phar.tar/phar.zip
2008-02-28 01:08:34 +00:00
Steph Fox
dd5196cf01
Update TODO
2008-02-27 21:41:59 +00:00
Steph Fox
001ffec19f
Initial support for PharData object.
...
Note: two tests currently fail. IMHO we should be throwing E_ERROR on encountering a corrupted archive, not trying to throw a trail of exceptions...
New tests still to be written, not all functionality is in place yet.
2008-02-27 21:34:26 +00:00
Derick Rethans
964189e41e
- Fixed bug #44260 (African timezones missing).
2008-02-27 09:47:23 +00:00
Felipe Pena
6562201156
MFB: Improved fix for #44242
2008-02-27 01:25:40 +00:00
Felipe Pena
c557be114f
Fixed tests
2008-02-26 13:16:55 +00:00
Josie Messa
1ce9261aac
- New tests for chdir() function
2008-02-26 09:40:49 +00:00
Christopher Jones
95302839d6
Use STD_PHP_INI_BOOLEAN. Fix whitespace.
2008-02-26 02:18:16 +00:00
Christopher Jones
e08e6b0214
fix test noise
2008-02-26 01:04:35 +00:00
Ilia Alshanetsky
5b5f3d1944
MFB: Better fix for bug #44189
2008-02-26 00:14:25 +00:00
Christopher Jones
e51eeed567
OCI8: fix bug #44008 (OCI-Lob->close) & bug #44206 (ref cursor leak)
2008-02-25 23:49:51 +00:00
Etienne Kneuss
5bc0a12d7d
Fix folding
2008-02-25 23:40:47 +00:00
Etienne Kneuss
cb51a84418
SplHeap, SplMinHeap, SplMaxHeap, SplPriorityQueue implementation
2008-02-25 23:36:36 +00:00
Felipe Pena
cdb42ce6d2
MFB: Fixed bug #44242 (metaphone('CMXFXM') crashes PHP)
2008-02-25 22:56:47 +00:00
Rob Richards
7a92403c87
fix win32 build
2008-02-25 22:56:06 +00:00
Derick Rethans
a39148adf7
- Fixed tests on 64bit platform.
2008-02-25 22:32:26 +00:00
Derick Rethans
3b3d13ea0a
- Added a few new separation specifiers.
...
- Added specifiers that can reset or default the y/m/d/h/i/s/tz values.
- Fixed a problem with parsing timezones as part of a format.
#- [DOC]: Added format specifiers.
2008-02-25 18:25:01 +00:00
Steph Fox
6a63b3921e
Update protos.
2008-02-25 16:27:23 +00:00
Steph Fox
eaef0319d2
Make it possible to read the TODO file on a laptop :)
2008-02-25 16:15:57 +00:00
Steph Fox
4b849dcac6
Lunchbreak III
2008-02-25 15:44:21 +00:00
Steph Fox
d712008ba7
Lunchbreak II
2008-02-25 15:43:14 +00:00
Steph Fox
303b72fed3
Lunchbreak.
2008-02-25 15:41:47 +00:00
Steph Fox
f5ab70a3b9
Update reflection info
2008-02-25 12:21:19 +00:00
Steph Fox
1a3bf3619f
Leftover from experimenting with zend_hash_del...
2008-02-25 11:37:08 +00:00
Steve Seear
47742538ff
Replace hardcoded resource ids with %d in fgetc() tests.
2008-02-25 10:33:30 +00:00
Greg Beaver
2d36a89d83
update TODO
2008-02-25 04:49:19 +00:00
Greg Beaver
0503140256
add little fix to phar_mount_entry to ensure path separators are unix-based on windows
2008-02-25 04:30:55 +00:00
Greg Beaver
ec7f89fe79
implement Phar::mount() for directories, add test
...
# opendir not yet implemented for mounted directories
2008-02-25 04:23:36 +00:00
Greg Beaver
b5c765f942
fix tests
2008-02-24 23:48:19 +00:00
Greg Beaver
d108a03553
fix --CLEAN--
2008-02-24 23:47:13 +00:00
Greg Beaver
1ea58d0c04
fix test
2008-02-24 23:44:12 +00:00
Greg Beaver
a5a246e876
add missing declaration of phar_rename_archive
2008-02-24 23:40:14 +00:00
Steph Fox
8513db73bb
A bunch of stuff to do with filename conversion. Hopefully it won't sink the ship.
2008-02-24 22:29:06 +00:00
Steph Fox
89842172e3
Updating tests. 100% pass rate here now - not sure about the rest of the world just yet (sorry Marcus).
2008-02-24 19:34:05 +00:00
Felipe Pena
dbf4e3cab9
New test
2008-02-24 18:50:14 +00:00
Felipe Pena
4707350eed
MFB: Fixed segfault in filter extension when using callbacks.
2008-02-24 18:42:09 +00:00
Ilia Alshanetsky
f0548595b6
MFB: Fixed bug #44200 (A crash in PDO when no bound targets exists and yet
...
bound parameters are present)
2008-02-24 16:09:13 +00:00
Felipe Pena
997b877aa4
Removed internal warning
2008-02-24 11:49:39 +00:00
Felipe Pena
e285f368ca
Added UEXPECTF
2008-02-24 02:47:36 +00:00
Felipe Pena
8253434ea9
Fixed tests
2008-02-24 02:22:15 +00:00
Felipe Pena
49114611bb
FIxed tests (new error message - E_DEPRECATED)
2008-02-23 22:30:08 +00:00
Felipe Pena
e97f7311a8
Fixed tests (new error message - E_DEPRECATED)
2008-02-23 21:51:37 +00:00
Greg Beaver
a8d0c64662
fix faulty & in check for creation of phar manifest
2008-02-23 21:33:46 +00:00
Greg Beaver
588f0660e9
free mounted_dirs on error to avoid memleak
2008-02-23 21:29:57 +00:00
Greg Beaver
f6862d4a33
fix unfreed value found in tempmanifest1.phpt
2008-02-23 19:44:51 +00:00
Greg Beaver
b3a266fca8
fix double error (this fixes frontcontroller22.phpt)
2008-02-23 19:26:18 +00:00
Felipe Pena
b4b9e034b4
Fixed tests (new error message - E_DEPRECATED)
2008-02-23 19:26:08 +00:00
Felipe Pena
482e4f2348
Fixed tests (new error message - E_DEPRECATED)
2008-02-23 19:17:41 +00:00
Felipe Pena
beeccb1e04
Fixed tests (new error message - E_DEPRECATED)
2008-02-23 19:01:11 +00:00
Felipe Pena
93722d35b0
Change some E_STRICTs to E_DEPRECATED
2008-02-23 18:29:16 +00:00
Greg Beaver
dc43219add
down to 1 failing zip test with this commit
2008-02-23 18:28:36 +00:00
Greg Beaver
94f39ee501
fix unfreed value
2008-02-23 18:26:20 +00:00
Greg Beaver
a0e5e40663
port same fix from tar.c to zip.c
2008-02-23 18:24:41 +00:00
Greg Beaver
2eb4db8d79
best fix for the bad logic in tar.c, now all tests pass that should
2008-02-23 18:17:48 +00:00
Greg Beaver
18444e3b5a
revert previous changes to tar.c, fix incorrect user_stub == dummy check, now things work that should
2008-02-23 18:14:44 +00:00
Greg Beaver
a561228843
revert previous changes to tar.c, fix incorrect user_stub == dummy check, now things work that should
2008-02-23 18:09:31 +00:00
Greg Beaver
0c647b5c1c
fix test, missing phar.readonly=0 --INI-- section
2008-02-23 18:08:54 +00:00
Marcus Boerger
6b58678c63
- Add E_DEPRECATED (Lars Strojny, Felipe Pena, Marcus)
2008-02-23 17:03:53 +00:00
Greg Beaver
9d9bd2715a
that !zend_hash_exists should be zend_hash_exists
2008-02-23 15:07:02 +00:00
Greg Beaver
a1828999c5
fix unfreed stuff when adding default stub
2008-02-23 15:05:05 +00:00
Greg Beaver
0e6457b2cf
free spprintf'ed stub after using it
2008-02-23 14:59:52 +00:00
Greg Beaver
0996c1ffb5
fix test - needed phar.readonly=0 INI section
2008-02-23 14:57:59 +00:00
Marcus Boerger
2f29db8333
- Fix logic
2008-02-23 13:04:59 +00:00
Derick Rethans
4c1dd9079d
- Fixed bug #44216 (strftime segfaults on large negative value).
2008-02-22 17:48:31 +00:00
Felipe Pena
33c6806efe
Fixed Bug #44212 (array_diff_assoc not reporting missing arguments)
2008-02-22 13:48:02 +00:00
Robert Nicholson
05824bab01
- bug #44212 array_diff_assoc_error.phpt should expect warnings for missing parameters
2008-02-22 12:16:02 +00:00
Derick Rethans
7f7c1c986e
- Fixed bug #44209 : strtotime doesn't support 64 bit timestamps.
2008-02-22 09:47:10 +00:00
Josie Messa
9c888c54cc
- New tests for reset() function
2008-02-22 09:22:27 +00:00
Dmitry Stogov
e8718dfe67
Fixed test
2008-02-22 08:31:50 +00:00
Rasmus Lerdorf
ce9bce1fa7
Missing footer comment
2008-02-22 05:05:50 +00:00
Steph Fox
b2dbfbc321
As the line below says - there shouldn't be an exception here.
2008-02-21 18:51:54 +00:00
Steph Fox
20836262c8
Updated wrong expectation (different stub).
2008-02-21 18:44:06 +00:00
Josie Messa
b0daabb4e3
- New tests for end() and next() function
2008-02-21 16:41:39 +00:00
Steph Fox
9a1e7ee88b
Update tests to accommodate those two extra bytes
2008-02-21 15:20:46 +00:00
Steph Fox
cf9bbcc2e6
Satisfy the pedants :)
2008-02-21 14:48:41 +00:00
Steph Fox
e8e85afbcc
Updating conversion tests to check for more conversion parameters than one. Note that these will all fail against current CVS.
...
@Greg: We need to clarify conversion policy across the board.
2008-02-21 14:45:44 +00:00
Josie Messa
7b5a0bc42b
- New tests for key() function
2008-02-21 14:36:15 +00:00
Steph Fox
eb7565451d
s/zip/tar
2008-02-21 14:27:19 +00:00
Antony Dovgal
de7ee656f7
fix test
2008-02-21 13:38:54 +00:00
Ilia Alshanetsky
287d112e72
MFB: Fixed bug #44189 (PDO setAttribute() does not properly validate values
...
for native numeric options)
2008-02-21 13:38:12 +00:00
Steph Fox
6cc2426ff1
A much better solution for setDefaultStub(). The convertTo*() fixes should be trivial now.
2008-02-21 00:24:38 +00:00
Felipe Pena
8ce1d11649
MFB: Fixed Bug #44191 (preg_grep messes up array index)
2008-02-20 22:15:53 +00:00