Greg Beaver
e54eb5513e
clarify error message on why opening a stream wrapper failed for allow_url_include/allow_url_fopen, add test for allow_url_fopen
2008-01-12 15:50:17 +00:00
Greg Beaver
4df43510b9
make zip optional
2008-01-12 05:17:12 +00:00
Greg Beaver
e9ee7dbfc5
fix compile on windows
...
remove internal libzip
add required dep on zip (will make optional in a few minutes)
2008-01-12 04:32:19 +00:00
Greg Beaver
673e955d98
export symbols for use by other extensions like phar
2008-01-12 03:42:41 +00:00
Greg Beaver
67a15e332f
add missing defines, s/filename_len/filename_length/ (thanks steph) - now over to the windows box and debug this properly
2008-01-12 02:13:52 +00:00
dc07ea8416
ChangeLog update
2008-01-12 01:31:36 +00:00
Dmitry Stogov
02cbdbe853
Simplified assignment to string offset
2008-01-11 15:10:50 +00:00
Lukas Smith
08eca67010
- added rules about real names and signatures
2008-01-11 14:01:52 +00:00
Lukas Smith
25ac2b3cb6
- minor typo fixes
2008-01-11 10:49:01 +00:00
Dmitry Stogov
c66fc45dcb
Fixed unspecialized executor
2008-01-11 10:09:12 +00:00
Lukas Smith
8128032b47
- initial commit .. feedback appreciated
2008-01-11 09:40:20 +00:00
Dmitry Stogov
350a3daee4
Fixed bug #39346 (Unsetting a static variable inside a destructor causes segfault later on)
2008-01-11 08:42:19 +00:00
Greg Beaver
36f3d80779
stupid windows doesn't allow varargs macros, so remove it. remove unused variable
2008-01-11 07:39:02 +00:00
Greg Beaver
aae1442ee3
update package.xml
2008-01-11 07:33:32 +00:00
Greg Beaver
8fb4205a8d
add Phar::interceptFileFuncs()
...
To intercept fopen(), file_get_contents(), opendir(), and all the stat-based functions so that
code like "if (is_readable('./config.inc.php'))" actually works inside of a phar
[DOC]
2008-01-11 07:30:03 +00:00
Greg Beaver
a38e4ff9a7
always mung PATH_INFO and PATH_TRANSLATED, fix segfault if tar-based phar has no stub
2008-01-11 02:52:13 +00:00
Ilia Alshanetsky
f4078bfc73
MFB: Fixed a bug with PDO::FETCH_COLUMN|PDO::FETCH_GROUP mode when a column
...
# by which to group by data is specified.
2008-01-11 01:48:19 +00:00
2f5e6e896e
ChangeLog update
2008-01-11 01:31:38 +00:00
Greg Beaver
7e65f56264
MAPPHAR_ALLOC_FILE slipped in there somehow
2008-01-10 22:05:30 +00:00
Greg Beaver
74df58d255
fix tsrm build, fix various problems with initialization and zlib/bz2-compressed phars
2008-01-10 21:21:38 +00:00
Brian Shire
4ebc0325d8
- fix truncation of large values on 64-bit systems in http_build_query
2008-01-10 20:28:08 +00:00
Rob Richards
c803ef3b1b
add errors when missing dependencies (Steph)
2008-01-10 18:21:23 +00:00
Greg Beaver
ab4c2caf4b
add interception of is_dir(), file_exists() and file_get_contents() - will make these optional shortly
2008-01-10 15:13:00 +00:00
Antony Dovgal
335728651f
fix #43750 (stristr() modifies string)
...
patch by Felipe Pena
2008-01-10 14:31:11 +00:00
Marcus Boerger
507ed4a13d
- Fix bug in example code found by Surf Chen
2008-01-10 10:11:21 +00:00
Dmitry Stogov
1d9894a0c5
Added missing warning message
2008-01-10 09:38:41 +00:00
Antony Dovgal
c355a6a813
fix test
2008-01-10 08:45:54 +00:00
cc3e8eab19
ChangeLog update
2008-01-10 01:31:36 +00:00
Rob Richards
2e656bee3b
fix crash when using default algorithm
2008-01-09 16:46:52 +00:00
Dmitry Stogov
b4573d5531
Fixed broken soap.wsdl_cache_enabled
2008-01-09 16:46:06 +00:00
Dmitry Stogov
54ab73bf2e
Remplemented support for SplArray using Traversable interface.
2008-01-09 13:50:17 +00:00
Rob Richards
685a7c9a3a
fix win32 compile
2008-01-09 11:23:25 +00:00
Greg Beaver
aeda51223c
update package.xml
2008-01-09 08:49:58 +00:00
Greg Beaver
7def324a80
new tests for bz2-compressed tar or phar-based phars (wow, worked on first try, how about that)
2008-01-09 08:48:56 +00:00
Greg Beaver
21ab2ca8e9
fix gzipped phars in phar file format, add test
2008-01-09 08:45:00 +00:00
Greg Beaver
38a9da1071
apply proper fix of bug #43793 to zlib.deflate (window+16 = gzip)
2008-01-09 08:12:15 +00:00
Greg Beaver
f6b16061d1
implement whole-file compression of phars for phar/tar-based phars
...
still not 100% working, add failing test
add Phar::isCompressed(), which returns either 0, Phar::GZ, or Phar::BZ2
[DOC]
2008-01-09 07:09:04 +00:00
Greg Beaver
2345d26989
apply same fix of bug #43793 to zlib.deflate
2008-01-09 07:03:48 +00:00
Greg Beaver
7cda2c40a6
fix Bug #43793 : zlib filter is unable to auto-detect gzip/zlib file headers
2008-01-09 06:42:56 +00:00
Greg Beaver
59da946283
add tests to package.xml, note new empty directory feature
2008-01-09 03:53:42 +00:00
Greg Beaver
6961da0811
add tests for directory creation and management for tar and zip-based phars, add isPhar() to phar-based test
...
to confirm it is indeed a phar-based archive
2008-01-09 03:51:38 +00:00
Greg Beaver
abde85c420
add rmdir() support, add rmdir to dir test
...
fix *extremely* ancient problem where phar_wrapper_stat always returned success indicating the file existed
rename phar_destroy_manifest to phar_destroy_manifest_entry
2008-01-09 03:47:22 +00:00
Pierre Joye
fa3f2f7ead
- MFB: #43790 , fix crash when no family name has been found
2008-01-09 01:52:03 +00:00
4dd074de60
ChangeLog update
2008-01-09 01:31:43 +00:00
Greg Beaver
9f5b3a229f
fix empty directories in phar, add test
2008-01-09 00:58:37 +00:00
Greg Beaver
1a3624494e
implement mkdir (compiles, not yet tested), support for empty directories in phar (not yet tested)
...
revert last commit of efree(), it's necessary.
2008-01-08 22:14:16 +00:00
Greg Beaver
70ce6b77d0
remove invalid free if opening a phar file in plain_map fails
2008-01-08 21:40:48 +00:00
Greg Beaver
88bdd12803
update package.xml so this can be installed
2008-01-08 20:36:32 +00:00
Greg Beaver
4bce48417b
split stream file handlers into stream.c and directory handlers into dirstream.c
2008-01-08 20:31:54 +00:00
Greg Beaver
63adb98f78
split out zip functions
2008-01-08 19:40:23 +00:00