Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | No need to check for allow_url_fopen here. | Edin Kadribasic | 2002-06-19 | 1 | -3/+0 |
| | | | | | | #This closes two bugs which I cannot find right now courtesy our buggy bug #database. | ||||
* | - Fix builtin gets() emulation (hopefully). | Markus Fischer | 2002-06-11 | 1 | -11/+3 |
| | |||||
* | - Add missing Id tag. | Markus Fischer | 2002-06-11 | 1 | -0/+2 |
| | |||||
* | - Always \0 terminate data returned from _php_stream_copy_to_mem(). | Markus Fischer | 2002-06-11 | 1 | -1/+2 |
| | |||||
* | - Since streams are always enabled, instead of just printing 'enabled' we tell | Markus Fischer | 2002-06-08 | 1 | -0/+4 |
| | | | | | what streams are currently registered. | ||||
* | Remove debug code that should not have been committed. | Wez Furlong | 2002-04-30 | 1 | -7/+0 |
| | | | | | # I must apologize for the quality of my commits tonight... | ||||
* | Implement context option setting API. | Wez Furlong | 2002-04-30 | 1 | -2/+44 |
| | | | | | | | Add/amend debugging code for sockets. Add a flag that will help the http wrapper optimize itself when it is not being used for include/require. | ||||
* | Make scheme part decoding rfc2396 compliant. | Wez Furlong | 2002-04-19 | 1 | -4/+4 |
| | | | | | | 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 Furlong | 2002-04-16 | 1 | -51/+218 |
| | | | | | | | | | | | | 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 | ||||
* | Adding PHPAPI needed for exif on Win32 | Frank M. Kromann | 2002-04-15 | 1 | -1/+1 |
| | |||||
* | Implement stream context and status notification system. | Wez Furlong | 2002-04-10 | 1 | -6/+43 |
| | | | | | | 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 Furlong | 2002-04-06 | 1 | -0/+14 |
| | | | | | | | 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. | ||||
* | main/streams.c | Wez Furlong | 2002-04-02 | 1 | -0/+1 |
| | |||||
* | Phase 3 of OO wrapper cleanup | Wez Furlong | 2002-03-28 | 1 | -9/+59 |
| | | | | | # What was phase 2? | ||||
* | Phase 1 of wrapper OO cleanup. | Wez Furlong | 2002-03-24 | 1 | -3/+3 |
| | | | | | # Collecting underpants | ||||
* | -defined php_stream_temp_new() for standard temp streams | Marcus Boerger | 2002-03-23 | 1 | -2/+1 |
| | |||||
* | *** empty log message *** | Markus Fischer | 2002-03-21 | 1 | -1/+1 |
| | |||||
* | Require that wrappers use <protocol>://<path> to avoid | Wez Furlong | 2002-03-21 | 1 | -1/+1 |
| | | | | | | ambiguities when filenames have ':' characters. This slightly breaks BC with the old style zlib: wrapper. | ||||
* | Convert the gzfile related functions into aliases for their equivalents | Wez Furlong | 2002-03-21 | 1 | -1/+49 |
| | | | | | | | | | | 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. | ||||
* | Streams are all tracked as resources now. | Wez Furlong | 2002-03-20 | 1 | -7/+47 |
| | | | | | | Add some logic that will help track down leaks when debug is enabled. | ||||
* | Improve behaviour of the stream casting operation. | Wez Furlong | 2002-03-19 | 1 | -19/+62 |
| | | | | | Improve interaction with fopencookie. | ||||
* | fix for bug #16168 | Wez Furlong | 2002-03-19 | 1 | -14/+15 |
| | |||||
* | register some constants for user streams | Wez Furlong | 2002-03-19 | 1 | -3/+1 |
| | |||||
* | Make file_get_wrapper_data return the underlying PHP object for | Wez Furlong | 2002-03-19 | 1 | -1/+1 |
| | | | | | user-space streams. | ||||
* | Implement user-space streams. | Wez Furlong | 2002-03-19 | 1 | -2/+4 |
| | | | | | | There's probably room for improvement, docs will following some time this week. | ||||
* | Fix build under Release_TS | Zeev Suraski | 2002-03-18 | 1 | -1/+1 |
| | | | | | Maybe separating TSRMLS away wasn't such a good idea (sorry Wez :) | ||||
* | fix non-TS build... | Wez Furlong | 2002-03-18 | 1 | -1/+1 |
| | |||||
* | TSRMLS related work on streams, as discussed with Zeev. | Wez Furlong | 2002-03-18 | 1 | -63/+70 |
| | | | | | | # Should be the last "broad" commit for a while # Don't forget to make clean ; make | ||||
* | Make Sebastian happy | Zeev Suraski | 2002-03-18 | 1 | -1/+1 |
| | |||||
* | Fix the build and all of the outstanding VC++ warnings | Zeev Suraski | 2002-03-18 | 1 | -9/+13 |
| | |||||
* | Streams now make more use of the memory manager, so tracking down | Wez Furlong | 2002-03-17 | 1 | -41/+63 |
| | | | | | | leaking streams should be easier. # I hate these big commits | ||||
* | Fix for php_stream_gets when the implementation does not support it | Wez Furlong | 2002-03-17 | 1 | -3/+53 |
| | | | | | | | | | natively (Thanks Marcus). Implement php_stream_make_seekable() and add STREAM_MUST_SEEK as an option to php_stream_open_wrapper(). See README.STREAMS for usage. | ||||
* | -fix bug with wrappers | Marcus Boerger | 2002-03-17 | 1 | -1/+1 |
| | |||||
* | -copy_stream_to_stream returns size if maxlen == PHP_STREAM_COPY_ALL | Marcus Boerger | 2002-03-16 | 1 | -38/+42 |
| | | | | | #had to commit myself to do the rest... | ||||
* | fix ftell/fseek in stdio streams | Wez Furlong | 2002-03-16 | 1 | -0/+3 |
| | |||||
* | - Indentation fix. | Andi Gutmans | 2002-03-16 | 1 | -4/+5 |
| | | | | | | | | | | | | Never do: if (expr) { } else It should be: if (expr) { } else { | ||||
* | Implement get_file_contents() as discussed (briefly!) by myself, Derick | Wez Furlong | 2002-03-16 | 1 | -1/+1 |
| | | | | | | and Sterling on php-dev some months ago. It returns the file contents as a string, and uses mmap if possible. | ||||
* | Hopefully fix resource usage so that we have no leaks and don't segfault. | Wez Furlong | 2002-03-16 | 1 | -16/+37 |
| | |||||
* | Tweak the API to be more consistent. | Wez Furlong | 2002-03-16 | 1 | -7/+19 |
| | | | | | Update docs. | ||||
* | Hopefully fix probs with apache. | Wez Furlong | 2002-03-16 | 1 | -4/+20 |
| | |||||
* | some minor docu-in-header changes | Wez Furlong | 2002-03-16 | 1 | -2/+1 |
| | |||||
* | ZTS build fix | Yasuo Ohgaki | 2002-03-16 | 1 | -1/+1 |
| | |||||
* | ZTS build fix | Yasuo Ohgaki | 2002-03-16 | 1 | -4/+4 |
| | |||||
* | Allow php_stream_copy_to_stream to do nothing when used with code | Wez Furlong | 2002-03-16 | 1 | -3/+12 |
| | | | | | that calculates a max length of zero. (Thanks again Marcus). | ||||
* | some tweaks for seek/read used in image.c (thanks Marcus) | Wez Furlong | 2002-03-16 | 1 | -4/+9 |
| | |||||
* | more *'s | Wez Furlong | 2002-03-16 | 1 | -14/+14 |
| | |||||
* | - Change one strncpy() to strlcpy(). | Andi Gutmans | 2002-03-16 | 1 | -100/+116 |
| | | | | | | | | | | | | | - Big indentation patch. I don't have strength to do all of the changed - files but here's a good example. Please try and keep to the coding - standards even if you think they suck :) - Things to keep in mind: - void *foo and not void * foo; - if() { and not if()<TAB>{ - } else { and not {\nelse - - The streams stuff looks very cool though! :) | ||||
* | New PHP streams... | Wez Furlong | 2002-03-15 | 1 | -37/+558 |
| | |||||
* | Maintain headers. | Sebastian Bergmann | 2002-02-28 | 1 | -3/+2 |
| | |||||
* | Update headers. | Sebastian Bergmann | 2001-12-11 | 1 | -1/+1 |
| |