Marcus Boerger
bd9cf79efb
new ini setting log_errors_max_len
...
@-New ini setting log_errors_max_len controls maximum length for error
@ messages. Set it to 0 for infinite. Default is 1024 (old behaviour) (Marcus)
2002-04-10 01:27:44 +00:00
Marcus Boerger
3e70f373ce
make (v)spprintf available
2002-04-10 01:13:18 +00:00
Marcus Boerger
c664a0a202
introducing spprintf and vspprintf
...
#mail follows
2002-04-10 01:09:22 +00:00
Marcus Boerger
d3e97520d9
-preface for new vpprintf
...
#reordered and renamed some functions and removed some static
2002-04-10 01:07:49 +00:00
foobar
14a6bc6d69
upload_max_filesize can only be set in php.ini
2002-04-08 07:58:47 +00:00
Marcus Boerger
ddc6437e32
new feature ignoring repeated error messages (defaults to old behaviour)
...
@You can now disable logging of repeated error messages with two new ini settings ignore_repeated_errors, ignore_repeated_source. @(Marcus)
2002-04-06 18:49:59 +00:00
Wez Furlong
62538caa86
Added BC support for old style zlib: wrapper.
...
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.
2002-04-06 17:29:39 +00:00
Wez Furlong
a0f165a5cb
main/streams.c
2002-04-02 16:46:33 +00:00
foobar
bccfe80480
Prevent crashing with some bogus POSTs.
2002-04-01 23:02:16 +00:00
foobar
f43ca8d2bc
Fixed a bug with file_uploads=off -> normal post variables not set.
2002-03-30 02:58:19 +00:00
Yasuo Ohgaki
266ba32b3c
Fix ZE2 build.
2002-03-29 01:19:02 +00:00
Wez Furlong
2539cbc74c
Phase 3 of OO wrapper cleanup
...
# What was phase 2?
2002-03-28 00:49:00 +00:00
Wez Furlong
5ee65bd8f5
Phase 1 of wrapper OO cleanup.
...
# Collecting underpants
2002-03-24 18:05:49 +00:00
Marcus Boerger
4df6833a79
-defined php_stream_temp_new() for standard temp streams
2002-03-23 17:51:20 +00:00
Hartmut Holzgraefe
10811cd0d8
getting rid of the warn_not_available alias
2002-03-22 01:10:31 +00:00
Markus Fischer
1d75089d8b
*** empty log message ***
2002-03-21 22:35:02 +00:00
foobar
9ef9a18d2c
The changes to build system and the streams stuff alone are big enough
...
reason to make next release 4.3.0
2002-03-21 20:55:55 +00:00
Marcus Boerger
661fd669ec
-missing efree in close
2002-03-21 20:37:04 +00:00
Wez Furlong
06f6e47e4c
Require that wrappers use <protocol>://<path> to avoid
...
ambiguities when filenames have ':' characters.
This slightly breaks BC with the old style zlib: wrapper.
2002-03-21 17:02:50 +00:00
Marcus Boerger
f2ae5b70d9
#uups commit on wrong file
2002-03-21 12:55:37 +00:00
Marcus Boerger
a598e0b73f
-fix missing efree
2002-03-21 12:45:32 +00:00
Wez Furlong
a662f012bb
Convert the gzfile related functions into aliases for their equivalents
...
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.
2002-03-21 01:11:52 +00:00
Harald Radi
f64628eb7d
fixed signed/unsigned comparison warnings
2002-03-20 19:13:03 +00:00
Wez Furlong
3dbde95896
Make state parameter of php_strip_tags passed by reference.
...
Move state tracking to stream structure.
2002-03-20 14:38:13 +00:00
Wez Furlong
659a071e3d
Streams are all tracked as resources now.
...
Add some logic that will help track down leaks
when debug is enabled.
2002-03-20 14:21:30 +00:00
Wez Furlong
7990d742e5
Improve behaviour of the stream casting operation.
...
Improve interaction with fopencookie.
2002-03-19 23:29:37 +00:00
Zeev Suraski
a9411a6da2
Possibly fix a crash - Marcus, please take a look at it...
2002-03-19 19:16:20 +00:00
Zeev Suraski
dcb44bf512
- Fix whitespace (guys, please try to stick with the php4 tree style as far
...
as indentation/newlines go, and also as far as using {} even on if's
that have single statements)
- Fix Windows build
2002-03-19 19:15:40 +00:00
Wez Furlong
14a3911866
fix for bug #16168
2002-03-19 17:49:02 +00:00
Wez Furlong
b92f2da5fa
make buffer length warnings more verbose
2002-03-19 16:56:53 +00:00
Wez Furlong
32a4f35580
register some constants for user streams
2002-03-19 14:35:55 +00:00
Wez Furlong
6d55f16974
correct copy/paste typo
2002-03-19 13:46:32 +00:00
Wez Furlong
6d431f1caf
avoid possible buffer overruns when write returns a value larger than the buffer
2002-03-19 13:44:38 +00:00
Wez Furlong
b808af8601
Make file_get_wrapper_data return the underlying PHP object for
...
user-space streams.
2002-03-19 13:42:25 +00:00
Wez Furlong
06712a508a
Implement user-space streams.
...
There's probably room for improvement,
docs will following some time this week.
2002-03-19 03:51:01 +00:00
Wez Furlong
67231e25e4
make feof more useful on network streams
2002-03-19 03:49:03 +00:00
Frank M. Kromann
ce24409e86
Adding HAVE_SHUTDOWN on win32. Needed for the sockets extension to compile
2002-03-18 21:09:23 +00:00
Wez Furlong
33906e934a
Fix for bug #10001 : a timeout event prevents further reads.
...
The Bug DB has a patch that should be applied to fsock.c on the
4.2 branch.
2002-03-18 20:13:50 +00:00
Zeev Suraski
16c9da0eed
Fix build under Release_TS
...
Maybe separating TSRMLS away wasn't such a good idea (sorry Wez :)
2002-03-18 19:47:50 +00:00
Wez Furlong
48e902bacd
Fix for bugs #16148 , #11199 , #10092 :
...
fread from socket will never free memory.
This patch should also be applied to php_sockread_internal in
fsock.c in the 4.2 branch.
2002-03-18 19:42:19 +00:00
Wez Furlong
c978602a0b
fix non-TS build...
2002-03-18 19:13:11 +00:00
Wez Furlong
021bf6f01f
Shouldn't have made it into my last commit.
2002-03-18 18:57:25 +00:00
Wez Furlong
c9d5e13738
TSRMLS related work on streams, as discussed with Zeev.
...
# Should be the last "broad" commit for a while
# Don't forget to make clean ; make
2002-03-18 18:54:32 +00:00
Wez Furlong
966784bcde
fix TSRM build
2002-03-18 11:46:21 +00:00
Wez Furlong
dd9a3c94a8
tidyup use of STREAMS_DC macros
2002-03-18 11:18:07 +00:00
Zeev Suraski
8cb649d06d
Make Sebastian happy
2002-03-18 09:12:31 +00:00
Sascha Schumann
68d2592f52
Rename HAVE_PHP_STREAM to PHP_HAVE_STREAMS, because
...
1.) a PHP-specific symbol should be in the php namespace, and
2.) there are multiple streams and the old configure parameter was plural, too.
2002-03-18 08:29:17 +00:00
Zeev Suraski
73e79322ba
Fix the build and all of the outstanding VC++ warnings
2002-03-18 08:05:28 +00:00
Marcus Boerger
f83c6cc0a9
-temp streams are now clean (Thanks to Wez)
2002-03-18 04:57:06 +00:00
Marcus Boerger
318dc3e527
-added temporary streams
...
-added stream debug code
#should be used from php_stream_make_seekable
2002-03-17 23:50:31 +00:00