summaryrefslogtreecommitdiff
path: root/ext/zlib/zlib_fopen_wrapper.c
Commit message (Collapse)AuthorAgeFilesLines
* Happy New Year~Xinchen Hui2013-01-011-1/+1
|
* Fix bug #61139 gzopen leaks when specifying invalid modeNikita Popov2012-02-191-15/+10
| | | | | Needs to be merged to 5.4.
* - Year++Felipe Pena2012-01-011-1/+1
|
* - Year++Felipe Pena2011-01-011-1/+1
|
* - fix bug #52926, zlib fopen wrapper does not use the contextPierre Joye2010-09-261-1/+1
|
* - Reverted r296062 and r296065Jani Taskinen2010-03-121-1/+1
|
* MFH: Improved / fixed output buffering (Michael Wallner)Jani Taskinen2010-03-111-1/+1
|
* sed -i "s#1997-2009#1997-2010#g" **/*.c **/*.h **/*.phpSebastian Bergmann2010-01-031-1/+1
|
* - MFH: Fixed bug #47152 (gzseek/fseek using SEEK_END produces strange results)Felipe Pena2009-01-201-0/+4
|
* MFH: Bump copyright year, 3 of 3.Sebastian Bergmann2008-12-311-1/+1
|
* MFH: Bump copyright year, 2 of 2.Sebastian Bergmann2007-12-311-1/+1
|
* Fixed bug #41304 (compress.zlib temp files left)Dmitry Stogov2007-05-081-2/+2
|
* Prevent double close() of the same file handleDmitry Stogov2007-04-261-1/+1
|
* MFH: Bump year.Sebastian Bergmann2007-01-011-1/+1
|
* move static declaration to *.c filesNuno Lopes2006-08-141-1/+1
| | | | | mroe static/const keywording
* bump year and license versionfoobar2006-01-011-3/+3
|
* - Bumber up yearfoobar2005-08-031-1/+1
|
* Fixed a nasty resource/memory/disk-space leak when opening zlib filesIlia Alshanetsky2004-08-261-2/+8
| | | | | via wrapper stacking ala compress.zlib://http://...
* - A belated happy holidays and PHP 5Andi Gutmans2004-01-081-2/+2
|
* Route mkdir()/rmdir() via wrapper ops.Sara Golemon2003-12-131-1/+3
| | | | | | Move current rmdir()/rmdir() code to plain_wrappers.c Implement mkdir()/rmdir() in ftp:// wrapper
* Route rename() via wrapper ops.Sara Golemon2003-12-121-1/+2
| | | | | | | Move current rename() code to main/streams/plain_wrapper.c Implement ftp/rename() Implement userstreams/rename()
* gztell() is not necessary, the return value of gzseek() represents theIlia Alshanetsky2003-07-241-7/+5
| | | | | | new position. With zlib 1.1.4 gztell() alse returns 0 when working on non-zlib files (test ext/zlib/tests/gzreadgzwriteplain.phpt).
* updating license information in the headers.James Cox2003-06-101-3/+3
|
* Setup unlink() method in wrapper_ops structure, implement unlink in ↵Sara Golemon2003-05-141-1/+2
| | | | plainfiles wrapper, explicitly set method NULL in other wrappers (for now), and rewrite unlink userland function to call into wrapper_ops
* WS & CS fixesfoobar2003-03-171-26/+37
|
* Bump year.Sebastian Bergmann2002-12-311-1/+1
|
* Fix for #21304 (gzopen did not report errors on open; "a" mode broken)Wez Furlong2002-12-311-6/+0
|
* MFB zlib related fixesWez Furlong2002-12-091-14/+31
| | | | | (sorry I didn't get around to doing this sooner)
* email address changeHartmut Holzgraefe2002-11-251-1/+1
|
* Fix for 19906.Wez Furlong2002-10-151-4/+5
| | | | | | | | gzeof has different semantics from feof, in that gzeof will return true if the read position is at EOF, even if the most recent read was 100% successful. feof will return true only (usually) if the most recent fread failed.
* Don't use streams-level buffer on zlib streams.Wez Furlong2002-10-151-1/+3
|
* This seems to resolve the issues with fgets.Wez Furlong2002-10-051-6/+6
| | | | | | | | I've moved EOF detection into the streams layer; a stream reader implementation should set stream->eof when it detects EOF. Fixed test for user streams - it still fails but that is due to an output buffering bug.
* Rename file_get_wrapper_data -> file_get_meta_data.Wez Furlong2002-09-261-3/+5
| | | | | | | | | | It now always returns useful information for all streams. Unified that data with socket_get_status and made socket_get_status an alias for file_get_meta_data. Fix Location header following which was broken in this commit: http://cvs.php.net/diff.php/php4/ext/standard/http_fopen_wrapper.c?r1=1.41&r2=1.42&ty=h
* Implement read buffering in streams.Wez Furlong2002-09-231-14/+11
| | | | | | | | | | | | Eliminate similar code from network.c. Implement fgets equivalent at the streams level, which can detect the mac, dos and unix line endings and handle them appropriately. The default behaviour is unix (and dos) line endings. An ini option to control this behaviour will follow. # Don't forget to make clean! # I've done some testing but would appreciate feedback from # people with scripts/extensions that seek around a lot.
* *cough*Wez Furlong2002-08-221-1/+1
|
* Fix error messages.Wez Furlong2002-08-221-0/+2
|
* Make scheme part decoding rfc2396 compliant.Wez Furlong2002-04-191-2/+2
| | | | | | Change zlib:// and bzip2:// to compress.zlib:// and compress.bzip2:// Tidy up old socket/network code/comments.
* Always initialize wrappers, regardless of PG(allow_url_fopen).Wez Furlong2002-04-161-1/+4
| | | | | | | | | | | | Add is_url field to wrapper structure; the stream wrapper openers will disallow opening is is_url && !PG(allow_url_fopen). Add infrastructure for stat($url) and opendir($url). Tidy up/centralize code that locates and instantiates wrappers for the various operations. Implement opendir for plain files. Make the PHP opendir and dir functions use the streams implementations. Add modelines for syntax highlighting the pear scripts in vim
* Implement stream context and status notification system.Wez Furlong2002-04-101-1/+2
| | | | | | Bump the BC for zlib notice to a warning # See my RFC to php-dev a few days ago
* Added BC support for old style zlib: wrapper.Wez Furlong2002-04-061-0/+2
| | | | | | | Added notice when a requested wrapper is not found. # This BC thing was giving me nightmares. # It took me 10 minutes to realize I hadn't compiled in zlib support also.
* Phase 3 of OO wrapper cleanupWez Furlong2002-03-281-1/+2
| | | | | # What was phase 2?
* Phase 1 of wrapper OO cleanup.Wez Furlong2002-03-241-3/+7
| | | | | # Collecting underpants
* Require that wrappers use <protocol>://<path> to avoidWez Furlong2002-03-211-2/+2
| | | | | | ambiguities when filenames have ':' characters. This slightly breaks BC with the old style zlib: wrapper.
* Implement bz2 streams and bz2: wrapper.Wez Furlong2002-03-211-1/+8
| | | | | | | | You can now do this: copy("zlib:src.gz", "bz2:dest.bz2"); As with zlib, most of the functions with counterparts in file.c are now aliases to those functions.
* Convert the gzfile related functions into aliases for their equivalentsWez Furlong2002-03-211-3/+9
| | | | | | | | | | in ext/standard/file.c, so a gzopen()ed file pointer can be used in fread, fseek etc. Improved behaviour of zlib stream. Moved passthru code into streams.c # I'm not happy about BG(mmap_file) Nuked gzgetss_state as no longer needed.
* add forgotten parameterWez Furlong2002-03-201-1/+1
|
* TSRMLS related work on streams, as discussed with Zeev.Wez Furlong2002-03-181-7/+7
| | | | | | # Should be the last "broad" commit for a while # Don't forget to make clean ; make
* fix warningWez Furlong2002-03-181-1/+1
|
* Streams now make more use of the memory manager, so tracking downWez Furlong2002-03-171-2/+2
| | | | | | leaking streams should be easier. # I hate these big commits
* Fix some issues with gzFile and fsockopen.Wez Furlong2002-03-161-4/+3
|