Commit Graph

37 Commits

Author SHA1 Message Date
Sara Golemon
48798021b5 Refactor streams layer for PHP6.
Don't be frightened by the size of this commit.
A significant portion of it is restoring the read buffer semantics back
to what PHP4/5 use.  (Or a close aproximation thereof).

See main/streams/streams.c and ext/standard/file.c for a set of
UTODO comments covering work yet to be done.
2006-03-13 04:40:11 +00:00
Pierre Joye
bb1ec86f9d - remove magic_quotes_gpc, magic_quotes_runtime, magic_quotes_sybase
(calling ini_set('magic_....') returns 0|false
- get_magic_quotes_gpc, get_magic_quotes_runtime are kept but always return false
- set_magic_quotes_runtime raises an E_CORE_ERROR
2006-03-08 00:43:32 +00:00
Andi Gutmans
1efe984d08 - Get rid of using ENFORCE_SAFE_MODE. 2006-02-19 04:29:42 +00:00
foobar
251c5173fd bump year and license version 2006-01-01 13:10:10 +00:00
foobar
a208d9a966 - Nuke php3 legacy 2005-12-06 02:28:26 +00:00
foobar
cdd291f514 - Fix bug #35530 (ext/bz2 compile failure with phpize) 2005-12-03 13:22:20 +00:00
Ilia Alshanetsky
85aaa8e388 Fixed bug #34968 (bz2 extension fails on to build on some win32 setups). 2005-10-25 15:52:08 +00:00
Andrei Zmievski
264cec8be6 Unicode support. 2005-08-11 23:36:07 +00:00
foobar
23e671a51e - Bumber up year 2005-08-03 14:08:58 +00:00
Edin Kadribasic
60b465fc5b MFB: MSVC++ 6.0 doesn't support long long type 2005-06-13 19:33:39 +00:00
Ilia Alshanetsky
3341b5dedd Fixed compiler warning. 2005-06-09 16:13:14 +00:00
Ilia Alshanetsky
e3d8886bcd Better storage size for output length.
# Thanks to Stefan for noticing the problem.
2005-06-06 16:30:46 +00:00
Ilia Alshanetsky
a13aaa8aef Fixed bug #33070 (Improved performance of bzdecompress() by several orders
of magnitude).
2005-06-05 18:04:20 +00:00
foobar
28ffae8ad0 - Make VC6 happy 2005-04-10 19:07:38 +00:00
Antony Dovgal
f27fb2d715 fix #32373 (segfault in bzopen('/wrong/path')) 2005-03-19 13:56:00 +00:00
Ilia Alshanetsky
5ffe5a485d MFB_4_3: Fixed bug #29521 (compress.bzip2 returns error when used with http
wrapper).
2005-02-23 18:48:49 +00:00
Joe Orton
2685ca935f Update extensions to use /path/to/$PHP_LIBDIR rather than /path/to/lib
to support multi-ABI platforms.
2004-11-03 14:32:52 +00:00
Sara Golemon
ee93ed0aaa Persistent mallocs can return NULL (on failure) 2004-07-21 02:38:40 +00:00
Sara Golemon
f92797f4e0 Add bz2 stream filter support 2004-07-20 05:26:33 +00:00
Marcus Boerger
29cfd6d24f - Remove unused blocks 2004-05-19 08:56:50 +00:00
Edin Kadribasic
d5c6825241 According to Wez, this is not needed.
It also breaks win32 build.
2004-04-14 13:56:18 +00:00
Sara Golemon
a7ba08a0bd Export symbols needed by bz2_filter 2004-04-13 17:54:47 +00:00
Hartmut Holzgraefe
eeb172b29f "The Visa to Sibiria" (work in progress)
Adding a package.xml to a bundled extension does not only
ease the transition to PECL whereever suitable but also
allows to build and install an extension as "shared" using
the PEAR installer without having to deal with phpize and
friends by hand
2004-03-23 19:46:10 +00:00
foobar
e23a1b8a5c Break out the test with first hit. 2004-01-21 05:04:30 +00:00
foobar
f4983c0d3f - Renamed all *php4* files to *php5*, changed all php4/PHP4 to php5/PHP5 2004-01-17 13:00:38 +00:00
Martin Kraemer
a116666bc4 Avoid duplicate symbols; definition is in bz2.c 2004-01-12 16:30:55 +00:00
foobar
ccfc46b0aa - Happy new year and PHP 5 for rest of the files too..
# Should the LICENSE and Zend/LICENSE dates be updated too?
2004-01-08 17:33:29 +00:00
Andi Gutmans
dbeb4158d2 - A belated happy holidays and PHP 5 2004-01-08 08:18:22 +00:00
Sara Golemon
c56647833b Route mkdir()/rmdir() via wrapper ops.
Move current rmdir()/rmdir() code to plain_wrappers.c
Implement mkdir()/rmdir() in ftp:// wrapper
2003-12-13 04:07:18 +00:00
Sara Golemon
b1f8236b63 Route rename() via wrapper ops.
Move current rename() code to main/streams/plain_wrapper.c
Implement ftp/rename()
Implement userstreams/rename()
2003-12-12 23:06:42 +00:00
foobar
63df219b31 - Update header + added missing Id tags. 2003-12-09 16:29:54 +00:00
Wez Furlong
213f528aad Fixup bz2 extension so it builds as shared and static under win32 2003-12-04 02:58:33 +00:00
Ilia Alshanetsky
b871ebd8dc Fixed bug #25106 (Added more stringent checks on bzopen() mode).
In some cases bz2 may fail to open the file, but stream wrappers will still
create an empty file, remove this file.
Change virtual_filepath to virtual_filepath_ex, which allows BZ2_bzfopen()
to work without having to resort to stream wrappers.
2003-09-15 23:49:32 +00:00
foobar
498685fb2f Fix phpize build 2003-08-20 08:14:24 +00:00
Ilia Alshanetsky
c23609efa7 Fixed paths in various tests. In certain conditions usage of partial file
paths results in test failures.
2003-08-18 22:57:49 +00:00
Sterling Hughes
a42ae5f191 add a package.xml file 2003-05-17 14:29:31 +00:00
Sterling Hughes
7153eb7378 add bzip2 extension to pecl from php5 cvs 2003-05-17 14:27:07 +00:00