History log of /PHP_TRUNK/ext/standard/filters.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
e112f6a 14-Dec-2014 Anatol Belski <ab@php.net> second shot on removing TSRMLS_*
/php-src/ext/standard/filters.c
bdeb220 13-Dec-2014 Anatol Belski <ab@php.net> first shot remove TSRMLS_* things
/php-src/ext/standard/filters.c
303973f 23-Oct-2014 Anatol Belski <ab@php.net> fix datatype mismatches
/php-src/ext/standard/filters.c
baddb1c 21-Oct-2014 Xinchen Hui <laruence@php.net> Extra comma
/php-src/ext/standard/filters.c
a770d29 21-Sep-2014 Nikita Popov <nikic@php.net> Add smart_str_append for appending zend_strings

Also replaces usages in Zend/ and ext/standard
/php-src/ext/standard/filters.c
e33f3d3 20-Sep-2014 Nikita Popov <nikic@php.net> Move smart_str implementation into Zend/

So we can use it there as well...

For now I've retained the zend_smart_str_public.h header, though
it would probably be better to just move that one struct into
zend_types.h.
/php-src/ext/standard/filters.c
d0cb715 19-Sep-2014 Johannes Schl├╝ter <johannes@php.net> s/PHP 5/PHP 7/
/php-src/ext/standard/filters.c
87a5aae 13-Sep-2014 Anatol Belski <ab@php.net> removed extra 1 byte member, padding will be done anyway by the compiler
/php-src/ext/standard/filters.c
47fb7a4 13-Sep-2014 Anatol Belski <ab@php.net> reduced struct sizes by 8 byte each on 64 bit
/php-src/ext/standard/filters.c
d578e35 13-Sep-2014 Anatol Belski <ab@php.net> fix condition

substraction of two unsigned
/php-src/ext/standard/filters.c
5092c54 13-Sep-2014 Anatol Belski <ab@php.net> reduce struct sizes by 8 byte on 64 bit
/php-src/ext/standard/filters.c
af59e92 25-Aug-2014 Anatol Belski <ab@php.net> master renames phase 7
/php-src/ext/standard/filters.c
c3e3c98 25-Aug-2014 Anatol Belski <ab@php.net> master renames phase 1
/php-src/ext/standard/filters.c
745a71b 20-Aug-2014 Anatol Belski <ab@php.net> yet more fixes to zpp
/php-src/ext/standard/filters.c
90d6f60 17-Aug-2014 Anatol Belski <ab@php.net> mostly fixes to spl, but also some other
/php-src/ext/standard/filters.c
5bb2577 16-Aug-2014 Anatol Belski <ab@php.net> further fixes on core
/php-src/ext/standard/filters.c
cb25136 16-Aug-2014 Anatol Belski <ab@php.net> fix macros in the 5 basic extensions
/php-src/ext/standard/filters.c
17d027e 30-Apr-2014 Dmitry Stogov <dmitry@zend.com> Split IS_BOOL into IS_FALSE and IS_TRUE
/php-src/ext/standard/filters.c
b1b7939 25-Apr-2014 Nikita Popov <nikic@php.net> Move more code to use zval_get_string
/php-src/ext/standard/filters.c
7652a97 18-Apr-2014 Dmitry Stogov <dmitry@zend.com> Use ZEND_FETCH_FOREACH_* macros to iterate over HashTables instead of zend_hash_move_forward() and family.
/php-src/ext/standard/filters.c
8434237 28-Feb-2014 Dmitry Stogov <dmitry@zend.com> Fixed user stream filters
/php-src/ext/standard/filters.c
43b03c7 18-Feb-2014 Xinchen Hui <laruence@gmail.com> Refacting smart_str
/php-src/ext/standard/filters.c
398256e 14-Feb-2014 Dmitry Stogov <dmitry@zend.com> Use better data structures (incomplete)
/php-src/ext/standard/filters.c
c081ce6 03-Jan-2014 Xinchen Hui <laruence@php.net> Bump year
/php-src/ext/standard/filters.c
5201a2d 20-Aug-2013 Michael M Slusarz <slusarz@curecanti.org> Fix #65483: quoted-printable encode stream filter incorrectly encoding spaces
/php-src/ext/standard/filters.c
0dc9820 18-Mar-2013 Michael M Slusarz <slusarz@curecanti.org> Move unsigned char declaration to top of block
/php-src/ext/standard/filters.c
d9c034e 18-Mar-2013 Michael M Slusarz <slusarz@curecanti.org> trailing ws
/php-src/ext/standard/filters.c
b5b0a53 25-Feb-2013 Michael M Slusarz <slusarz@curecanti.org> Fix #64166: quoted-printable-encode stream filter incorrectly discarding whitespace

Second attempt: need to use lookaheadto determine whether to encode ws
/php-src/ext/standard/filters.c
600d6de 07-Feb-2013 Michael M Slusarz <slusarz@curecanti.org> Fix #64166: quoted-printable-encode stream filter incorrectly discarding whitespace

If trailing whitespace on a line is detected, mark the linebreak as a
soft linebreak.
/php-src/ext/standard/filters.c
0a7395e 01-Jan-2013 Xinchen Hui <laruence@php.net> Happy New Year
/php-src/ext/standard/filters.c
4e19825 01-Jan-2012 Felipe Pena <felipe@php.net> - Year++
/php-src/ext/standard/filters.c
020cfc3 23-Nov-2011 Dmitry Stogov <dmitry@php.net> Fixed bug #48216 (PHP Fatal error: SOAP-ERROR: Parsing WSDL: Extra content at the end of the doc, when server uses chunked transfer encoding with spaces after chunk size)
/php-src/ext/standard/filters.c
ad0666e 24-May-2011 Felipe Pena <felipe@php.net> - Fixed bug #50363 (Invalid parsing in convert.quoted-printable-decode filter)
Patch by: slusarz at curecanti dot org
/php-src/ext/standard/filters.c
0203cc3 01-Jan-2011 Felipe Pena <felipe@php.net> - Year++
/php-src/ext/standard/filters.c
68e0e88 28-Apr-2010 Pierre Joye <pajoye@php.net> - fix possible Dechunking Filter Buffer Overflow
/php-src/ext/standard/filters.c
9ba1e81 03-Jan-2010 Sebastian Bergmann <sebastian@php.net> sed -i "s#1997-2009#1997-2010#g" **/*.c **/*.h **/*.php
/php-src/ext/standard/filters.c
b89985a 23-Jul-2009 Ilia Alshanetsky <iliaa@php.net> Fixed bug #49014 (dechunked filter broken when serving more than 8192 bytes in
a chunk)

# Original patch by andreas dot streichardt at globalpark dot com
/php-src/ext/standard/filters.c
679c629 16-Apr-2009 Dmitry Stogov <dmitry@php.net> - Added "dechunk" filter which can decode HTTP responces with chunked transfer-encoding. HTTP streams use this filter automatically in case "Transfer-Encoding: chunked" header presents in responce. It's possible to disable this behaviour using "http"=>array("auto_decode"=>0) in stream context
- Fixed bug #47021 (SoapClient stumbles over WSDL delivered with "Transfer-Encoding: chunked")
/php-src/ext/standard/filters.c
08659c2 31-Dec-2008 Sebastian Bergmann <sebastian@php.net> MFH: Bump copyright year, 3 of 3.
/php-src/ext/standard/filters.c
d1dded8 31-Dec-2007 Sebastian Bergmann <sebastian@php.net> MFH: Bump copyright year, 2 of 2.
/php-src/ext/standard/filters.c
6723ed1 30-Sep-2007 Jani Taskinen <jani@php.net> MFH: Nuked ending dots from error messages
/php-src/ext/standard/filters.c
4223aa4 01-Jan-2007 Sebastian Bergmann <sebastian@php.net> MFH: Bump year.
/php-src/ext/standard/filters.c
731b68f 04-Sep-2006 Nuno Lopes <nlopess@php.net> fix gcc warning
/php-src/ext/standard/filters.c
5b5e7a4 01-Jun-2006 Ilia Alshanetsky <iliaa@php.net> Fixed compiler warning
/php-src/ext/standard/filters.c
0675e5e 01-Jun-2006 Antony Dovgal <tony2001@php.net> MFH: nuke unused variable
/php-src/ext/standard/filters.c
3ef8817 17-Apr-2006 Sara Golemon <pollita@php.net> MFH(r-1.55) Fix 'soft line break' handling in convert.quoted-printable-decode
/php-src/ext/standard/filters.c
82d5901 18-Jan-2006 Antony Dovgal <tony2001@php.net> MFH: couple of pedantic fixes: "static" should be first
/php-src/ext/standard/filters.c
f113090 12-Jan-2006 Marcus Boerger <helly@php.net> - Add stream filter 'consumed'
/php-src/ext/standard/filters.c
5bd9322 01-Jan-2006 foobar <sniper@php.net> bump year and license version
/php-src/ext/standard/filters.c
e7925c9 20-Oct-2005 Antony Dovgal <tony2001@php.net> MFH: use proper constants
/php-src/ext/standard/filters.c
d696f11 25-Sep-2005 Ilia Alshanetsky <iliaa@php.net> MFH: Fixed bug #34321 (Possible crash in filter code).
/php-src/ext/standard/filters.c
23e671a 03-Aug-2005 foobar <sniper@php.net> - Bumber up year
/php-src/ext/standard/filters.c
e87fe59 20-Jul-2004 Moriyoshi Koizumi <moriyoshi@php.net> - Cleanups.
/php-src/ext/standard/filters.c
e25a206 20-Jul-2004 Moriyoshi Koizumi <moriyoshi@php.net> oops...
/php-src/ext/standard/filters.c
c210c68 20-Jul-2004 Moriyoshi Koizumi <moriyoshi@php.net> - Add more null checks.
/php-src/ext/standard/filters.c
3e026f0 20-Jul-2004 Moriyoshi Koizumi <moriyoshi@php.net> - pemalloc() might return NULL.
/php-src/ext/standard/filters.c
d40e78a 16-Jul-2004 Sara Golemon <pollita@php.net> convert.* filters not consuming buckets_in on PSFS_FLUSH_*
/php-src/ext/standard/filters.c
dbeb415 08-Jan-2004 Andi Gutmans <andi@php.net> - A belated happy holidays and PHP 5
/php-src/ext/standard/filters.c
b6c0003 08-Dec-2003 Moriyoshi Koizumi <moriyoshi@php.net> Fix a convert filters bug that occurs when multiple buckets are coming in.
/php-src/ext/standard/filters.c
436a071 28-Aug-2003 Sascha Schumann <sas@php.net> fix format strings
/php-src/ext/standard/filters.c
6a7dde2 28-Aug-2003 Sascha Schumann <sas@php.net> kill warnings
/php-src/ext/standard/filters.c
f68c7ff 10-Jun-2003 James Cox <imajes@php.net> updating license information in the headers.
/php-src/ext/standard/filters.c
2a31fa0 16-Apr-2003 Moriyoshi Koizumi <moriyoshi@php.net> Fixed memleak
/php-src/ext/standard/filters.c
6dd17c3 16-Apr-2003 Moriyoshi Koizumi <moriyoshi@php.net> Added missing sanity check
/php-src/ext/standard/filters.c
49b43ad 16-Apr-2003 Moriyoshi Koizumi <moriyoshi@php.net> Changed stream filter factory to be capable of accepting a zval as a parameter
instead of a string
/php-src/ext/standard/filters.c
9bdc869 05-Mar-2003 Moriyoshi Koizumi <moriyoshi@php.net> Fixed a small leak in the convert filter code
/php-src/ext/standard/filters.c
da0d5a1 02-Mar-2003 Moriyoshi Koizumi <moriyoshi@php.net> Fixed my silly mistake in the filter code
/php-src/ext/standard/filters.c
14db9ea 24-Feb-2003 Moriyoshi Koizumi <moriyoshi@php.net> Fixed string.strip_tags filter so it reflects the change on php_strip_tags
/php-src/ext/standard/filters.c
69113a3 19-Feb-2003 Moriyoshi Koizumi <moriyoshi@php.net> Added string.strip_tags filter.
/php-src/ext/standard/filters.c
6389a79 18-Feb-2003 Moriyoshi Koizumi <moriyoshi@php.net> Fixed memory leaks on conversion failure.
/php-src/ext/standard/filters.c
8793a78 18-Feb-2003 Moriyoshi Koizumi <moriyoshi@php.net> Revived convert filter codes
/php-src/ext/standard/filters.c
32165a5 18-Feb-2003 Wez Furlong <wez@php.net> Implement new filter API, stage 1.
This breaks user-space filters (for the time being), and those
weird convert.* filters in ext/standard/filters.c

The filters stack has been separated into one chain for read and one chain
for write.

The user-space stream_filter_append() type functions currently only operate
on the read chain. They need extending to work with the write chain too.
/php-src/ext/standard/filters.c
3d8e54f 19-Jan-2003 Ilia Alshanetsky <iliaa@php.net> Changed php_error to php_error_docref.
/php-src/ext/standard/filters.c
f71ef5e 17-Jan-2003 Moriyoshi Koizumi <moriyoshi@php.net> Fixed a quoted printable decoder so that it would conform to RFC2045.
/php-src/ext/standard/filters.c
f94cbfe 17-Jan-2003 Moriyoshi Koizumi <moriyoshi@php.net> Significant speed enhancements. I was underestimating the power of recent
CPUs :)
/php-src/ext/standard/filters.c
93481ce 16-Jan-2003 Moriyoshi Koizumi <moriyoshi@php.net> Finally fixed a qp encoder bug that line break characters that appear exactly
at the end of the chunk lost in the output.
# I bet no more problems will occur in quoted-printable encoder.
# But I recognised the counterpart is still buggy due to RFC2045-incompliance.
/php-src/ext/standard/filters.c
fdf0768 15-Jan-2003 Moriyoshi Koizumi <moriyoshi@php.net> Fixed a qp encoder bug that the constructor sometimes fails if
line-breaking mode is off.
/php-src/ext/standard/filters.c
e5c5412 14-Jan-2003 Moriyoshi Koizumi <moriyoshi@php.net> Added a new option "force-encode-first" to the quoted-printable encoder
as per Wez's request. If enabled, the encoder forcefully does qp
tranformation on every first character of lines in incoming stream.
/php-src/ext/standard/filters.c
a0be48c 14-Jan-2003 Moriyoshi Koizumi <moriyoshi@php.net> Fixed small memory leak that occurs when the invalid line length is passed
to the qprint ctor.
/php-src/ext/standard/filters.c
121e625 14-Jan-2003 Moriyoshi Koizumi <moriyoshi@php.net> Fixed quoted-printable encoder so that it produces RFC2045 complicant
output. As per this specification requirement, the constructor now accepts
three options: binary (boolean), line-len (uint), line-break-chars (string).
/php-src/ext/standard/filters.c
78f527e 13-Jan-2003 Moriyoshi Koizumi <moriyoshi@php.net> Fixed a silly segfault bug caused by lack of strict type checking
/php-src/ext/standard/filters.c
ab71e2c 13-Jan-2003 Moriyoshi Koizumi <moriyoshi@php.net> . Implemented a common filter parameter parsing function.
# For example "base64-encode.line-break-chars=--,base64-decode.blah=foobar"
# will be parsed and splitted into a zval array as
# array(2) {
# ["base64-encode"]=>
# array(1) {
# ["line-break-chars"]=>
# string(2) "--"
# }
# ["base64-decode"]=>
# array(1) {
# ["blah"] =>
# string(6) "foobar"
# }
# }
. Added automatic line-breaking feature for base64 encode filter. This
can be turned on by putting a option entry "base64-encode.line-length"
to the filter parameters.
/php-src/ext/standard/filters.c
1fec8e3 12-Jan-2003 Moriyoshi Koizumi <moriyoshi@php.net> Fixed a bug of the base64 decoder that a sequence of intervening
characters that are supposed to be ignored by the decoder cause output
corruption.
/php-src/ext/standard/filters.c
a88173b 12-Jan-2003 Moriyoshi Koizumi <moriyoshi@php.net> Fixed infinite loop bug when an invalid quoted-printable escape sequence
appears in the streem.
/php-src/ext/standard/filters.c
b1e8631 12-Jan-2003 Moriyoshi Koizumi <moriyoshi@php.net> Fixed error msg format so it correctly reports the actual filter name
/php-src/ext/standard/filters.c
aa41ab2 12-Jan-2003 Moriyoshi Koizumi <moriyoshi@php.net> . Updated quoted-printable filter by a neater implementation.
. Changed emalloc family functions to pemalloc ones for persistent filters.
. Changed base64 and quoted-printable filter names to "convert.base64-encode",
"convert.base64-decode", "convert.quoted-printable-encode", and
"convert.quoted-printable-decode" respectively for the consistency that
may be requested later.
/php-src/ext/standard/filters.c
59393ef 08-Jan-2003 Moriyoshi Koizumi <moriyoshi@php.net> Reimplemented base64 filter to use iconv()-like facility for flexibility.
# I'm leaving the code dirty & ugly prior to the discussion.
/php-src/ext/standard/filters.c
b064810 07-Jan-2003 Moriyoshi Koizumi <moriyoshi@php.net> Instances should not be freed in dtor()...
/php-src/ext/standard/filters.c
b86a4ed 07-Jan-2003 Moriyoshi Koizumi <moriyoshi@php.net> Made error msg format more consistent
/php-src/ext/standard/filters.c
eed5a6b 07-Jan-2003 Moriyoshi Koizumi <moriyoshi@php.net> Implemented quoted-printable stream filter
/php-src/ext/standard/filters.c
00a36a0 07-Jan-2003 Moriyoshi Koizumi <moriyoshi@php.net> Implemented string.base64 stream filter
@- Implemented string.base64 stream filter. (Moriyoshi)
/php-src/ext/standard/filters.c
999d989 06-Jan-2003 Sara Golemon <pollita@php.net> Added string.toupper and string.tolower filters and generalized non-op filter methods
/php-src/ext/standard/filters.c
0ab3a13 01-Jan-2003 Sebastian Bergmann <sebastian@php.net> Fix warnings.
/php-src/ext/standard/filters.c
97a0102 01-Jan-2003 Wez Furlong <wez@php.net> Tidy up
/php-src/ext/standard/filters.c
f58628c 01-Jan-2003 Wez Furlong <wez@php.net> Move rot13 filter into a new filters.c source file.
Tidy up some other filter related code.

# win32 -> someone please add user_filters.c and filters.c to the .dsp
/php-src/ext/standard/filters.c