Commit Graph

49 Commits

Author SHA1 Message Date
Felipe Pena
3725d115a8 - MFH: Fixed data size 2008-05-08 18:28:25 +00:00
Felipe Pena
84a8bb038a MFH: New way for check void parameters 2008-03-10 22:15:36 +00:00
Sebastian Bergmann
d1dded8751 MFH: Bump copyright year, 2 of 2. 2007-12-31 07:17:19 +00:00
Yiduo (David) Wang
4b4d634cb9 MFH: Added macros for managing zval refcounts and is_ref statuses 2007-10-07 05:22:07 +00:00
Dmitry Stogov
6c810b0d4c Improved memory usage by movig constants to read only memory. (Dmitry, Pierre) 2007-09-27 18:00:48 +00:00
Sara Golemon
6f25b84a3a MFH(r-1.49)Bugfix#36492 Userfilters can leak buckets 2007-08-04 07:53:00 +00:00
Antony Dovgal
c313af32a9 MFH 2007-02-01 14:21:01 +00:00
Rasmus Lerdorf
49dbf804ad Fix typo 2007-01-25 06:12:58 +00:00
Ilia Alshanetsky
49c0823800 Added safety checks to the code 2007-01-25 00:27:19 +00:00
Antony Dovgal
ebd7c13e8b MFH: fix #40168 2007-01-19 14:50:11 +00:00
Antony Dovgal
7ad1c3c5f2 MFH: add trailing '\0' to stream hashes 2007-01-15 17:07:08 +00:00
Sebastian Bergmann
4223aa4d5e MFH: Bump year. 2007-01-01 09:36:18 +00:00
Antony Dovgal
14b168fcab MFH: check filter and class names for empty strings 2006-10-11 14:46:40 +00:00
Hannes Magnusson
5326a8b2bc MFH: argument info for php_user_filter
Add tests
2006-06-26 17:23:39 +00:00
Antony Dovgal
7fbb54f55c nuke compile warning 2006-03-30 21:10:23 +00:00
Ilia Alshanetsky
77acc692fd Fixed bug #36886 (User filters can leak buckets in some situations). 2006-03-28 16:01:04 +00:00
Marcus Boerger
5a69b29082 - Warning fixes by Steph 2006-02-26 10:57:00 +00:00
foobar
5bd93221a8 bump year and license version 2006-01-01 12:51:34 +00:00
foobar
23e671a51e - Bumber up year 2005-08-03 14:08:58 +00:00
Ilia Alshanetsky
ba93fc60af Removed unused var. 2005-06-12 17:07:20 +00:00
Dmitry Stogov
4c0970bec6 Fixed reference counting and probable crash on fclose() or shutdown 2005-06-09 08:19:30 +00:00
Sara Golemon
a2c24ae90e BugFix#28868 (Part Two): This fixes thread unsafety in the userspace
filters which relates to the fix just applied for userspace wrappers.
2004-06-21 21:08:05 +00:00
Sara Golemon
0dae58bb2a Bugfix #28300 Userspace stream/filter names don't need to be lowercased. 2004-05-06 14:29:33 +00:00
Sara Golemon
0180c36951 BugFix#28287 stream_*_register() not calling __autoload(). 2004-05-05 18:18:57 +00:00
Marcus Boerger
ad4755e257 studlyCaps 2004-04-10 13:56:27 +00:00
Andrey Hristov
9e5df0c666 HEAD is now bundled only with ZE2 2004-01-17 17:33:11 +00:00
Andi Gutmans
dbeb4158d2 - A belated happy holidays and PHP 5 2004-01-08 08:18:22 +00:00
Sara Golemon
70f4a0c9ec Allow userspace filters to use wildcards 2003-10-29 00:19:57 +00:00
Sara Golemon
735b24a727 Allow userfilter instantiation to programmatically fail by returning false.
Equivalent of Cspace filter "failure" by returning NULL.
2003-10-28 23:56:57 +00:00
Moriyoshi Koizumi
12ac36ca8d Move shutdown code to better place 2003-08-07 19:53:31 +00:00
Ilia Alshanetsky
cbfb63c1c4 Fixed possible crashes in streams code 2003-06-19 16:10:54 +00:00
Sara Golemon
236349f156 User Filters don't need to register a resource list for streams.
That functionality is already exported by the streams API.
2003-06-13 22:25:29 +00:00
James Cox
f68c7ff249 updating license information in the headers. 2003-06-10 20:04:29 +00:00
Sara Golemon
8e9c159f75 The bucket rewrite was done some time ago... 2003-05-19 18:40:11 +00:00
Derick Rethans
92f0da58e6 - Rename stream_register_filter() to stream_filter_register(),
stream_register_wrapper() to stream_wrapper_register() and added an alias for
  the latter change.
2003-05-19 15:35:06 +00:00
Moriyoshi Koizumi
c591d4decd Reduced leaks in userland filters 2003-04-21 18:43:36 +00:00
Sara Golemon
19ef914bb4 Catch up to Moriyoshi's streams megapatch 2003-04-17 23:59:28 +00:00
Sara Golemon
c4a491e12c Adjustment to user filters reimplementation. Make a bucket an object containing a resource(the real bucket) and a data element for direct operations. Simplifies
user interface and reduces number of function calls/reallocs needed.
2003-03-09 23:12:31 +00:00
Sara Golemon
85a5ef3ec9 Initial re-implementation of userfilters after filterchain redesign by wez. More userspace API to come. 2003-02-24 21:56:19 +00:00
Wez Furlong
32165a5546 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.
2003-02-18 01:22:21 +00:00
Sara Golemon
f4f313ff40 Backout changes between 1.6 and 1.7 2003-01-07 16:43:26 +00:00
Moriyoshi Koizumi
346fa499ca Fixed small leak 2003-01-07 08:57:27 +00:00
Sara Golemon
35b1635c81 Add option to stream_get_filters() user-defined fiters vs. all filters, default to user only 2003-01-07 01:02:29 +00:00
Sara Golemon
42e912da79 Expose stream_filters_hash so that it can be searched by stream_get_filters() 2003-01-06 04:06:40 +00:00
Sara Golemon
7dae400063 Fixes to stream_get_wrappers() and stream_get_filters() handle hash table layouts better, plus some picune whitespace fixes 2003-01-05 22:24:49 +00:00
Sara Golemon
43630e2ac0 Added stream_get_filters(); to list registered filters 2003-01-05 03:24:38 +00:00
Sebastian Bergmann
0ab3a13612 Fix warnings. 2003-01-01 12:36:06 +00:00
Wez Furlong
f58628ca4d 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
2003-01-01 11:04:44 +00:00
Wez Furlong
350b0bbeac Implement user-space filters.
See ext/standard/tests/file/userfilters.phpt for an example of their use.
2002-12-31 18:39:36 +00:00