Kalle Sommer Nielsen
dcd43b5264
Fixes #49428 - Patch by Patrick Allaert
2009-09-01 14:05:00 +00:00
Felipe Pena
8ecf8ede1f
- Removed:
...
- UG(unicode) checks
- pcre_cache_entry.unicode_mode
- Changed:
- ZEND_STR_TYPE -> IS_UNICODE
- convert_to_text -> convert_to_unicode
- convert_to_text_ex -> convert_to_unicode_ex
(Felipe, Steph)
2009-03-26 20:02:53 +00:00
Marcus Boerger
d4f5b3f0a9
- This is PHP 6 - if this ... ever gets out
2009-03-10 23:40:06 +00:00
Ilia Alshanetsky
6973cd82d1
MFB: Arg parsing cleanup
2009-01-06 23:46:22 +00:00
Sebastian Bergmann
7f4dc8702a
Bump copyright year, 3 of 3.
2008-12-31 11:12:40 +00:00
Antony Dovgal
7c3170f5ac
lost part of the fix
2008-12-27 20:23:05 +00:00
Antony Dovgal
4ec1bdf3f2
fix compile warning
2008-12-27 20:21:57 +00:00
Felipe Pena
43791516db
- Added 'static' into ZEND_BEGIN_ARG_INFO_EX macro (again!)
2008-11-17 11:26:25 +00:00
Felipe Pena
e006a89e71
- Revert ZEND_BEGIN_ARG_INFO change
2008-11-02 21:10:13 +00:00
Felipe Pena
7eb2715464
- Added 'static' into ZEND_BEGIN_ARG_INFO_EX macro
2008-10-24 14:34:17 +00:00
Henrique do Nascimento Angelo
047bf62f61
Fix wrong Unicode string length (bytes) in tidy_parse_string()
2008-08-29 22:59:41 +00:00
Felipe Pena
4b50d12a48
- MFB: Added arginfo (functions)
2008-07-03 12:21:25 +00:00
Felipe Pena
2818d4fc51
New way for check void parameters
2008-03-04 23:39:15 +00:00
Marcus Boerger
f1d8a5ca60
- revert over constfying
2008-01-27 15:03:55 +00:00
Nuno Lopes
64d4e4244a
MFB: const keywording
2008-01-25 20:30:36 +00:00
Sebastian Bergmann
9b620d50b4
Bump copyright year, 2 of 2.
2007-12-31 07:12:20 +00:00
Yiduo (David) Wang
95da0dc570
Added macros for managing zval refcounts and is_ref statuses
2007-10-07 05:15:07 +00:00
Dmitry Stogov
8146078f7b
Improved memory usage by movig constants to read only memory. (Dmitry, Pierre)
2007-09-27 18:28:44 +00:00
Nuno Lopes
c5df1d8673
oops.. thats what you get for commiting code without compiling nor testing..
2007-09-20 22:44:17 +00:00
Nuno Lopes
c891118ce9
MFB: fix crash in tidy_get_body() and related functions when the node doesnt exist
2007-09-20 22:30:49 +00:00
Nuno Lopes
beacfebc7b
use the new 's&' parameter type and simplify the code
2007-05-04 17:45:56 +00:00
Nuno Lopes
2a47436c67
fix a few tests (segfaults + wrong output)
2007-02-08 16:37:52 +00:00
Nuno Lopes
e9d4b10d86
MFB: fix a few crashes
2007-01-23 19:50:14 +00:00
Nuno Lopes
b3bca12cf6
MFB: fix crash & add tests
2007-01-20 12:58:20 +00:00
Nuno Lopes
ed9acc4e04
MFB: fix crash
2007-01-20 12:27:55 +00:00
Nuno Lopes
7ae095f947
MFB: fix segfaults with new libtidy
2007-01-19 18:57:06 +00:00
Sebastian Bergmann
3717df72ae
Bump year.
2007-01-01 09:29:37 +00:00
Nuno Lopes
15731bf29a
convert a few more functions
2006-11-01 18:55:02 +00:00
Nuno Lopes
1fbbf4b050
start converting the tidy and tidyNode objects to be Unicode aware
...
I added a converter pointer per node, so that the text can be converted to unicode when requested
this commit also breaks a few tests in unicode mode, but it isnt scary at this time :P
2006-11-01 18:28:37 +00:00
Andrei Zmievski
83e0dbb3d2
- Add an extra parameter to the cast_object handler that can be used by
...
various types as needed.
- Use that parameter to pass a specific converter for
IS_UNICODE/IS_STRING types.
2006-10-13 14:52:19 +00:00
Hannes Magnusson
176b72284c
Error message clean up
...
(patch by Matt W (php_lists -AT- realpain.com))
2006-10-08 13:34:24 +00:00
Hannes Magnusson
9c669ecf1f
Protos
2006-10-02 07:54:37 +00:00
Nuno Lopes
0289bacc94
MFB
2006-09-15 14:59:04 +00:00
Nuno Lopes
7af2495f81
MFB
2006-09-15 14:43:08 +00:00
Michael Wallner
aee8e73316
- add note why we can't have a chunk-sized output handler
2006-09-07 14:54:28 +00:00
Michael Wallner
83429c1620
- upgrade ob_tidyhandler
2006-09-06 17:55:09 +00:00
Nuno Lopes
cb07c93c04
sync code and tests with PHP_5_2
2006-09-05 15:25:44 +00:00
Antony Dovgal
c61a20eda0
z/Z problem fixes
2006-08-31 13:58:07 +00:00
Antony Dovgal
18c201100f
fix tidy problems caused by returning local static buffers
...
looks like somebody forgot to MFB this patch..
2006-08-30 22:52:18 +00:00
Antony Dovgal
9a3f6bfa40
fix a couple of leaks, add new test
2006-08-30 22:32:35 +00:00
Nuno Lopes
a313548528
MFB: static keywording
2006-08-14 15:17:03 +00:00
Michael Wallner
56b38cafa5
- fix compiler warnings
2006-07-25 23:03:56 +00:00
Michael Wallner
d792c96736
- reduce memory footprint
2006-07-25 22:57:31 +00:00
Nuno Lopes
7a95cb8344
remove some left overs plus static keywording
2006-07-08 00:04:37 +00:00
Dmitry Stogov
943960c324
Added automatic module globals management
2006-06-13 13:12:20 +00:00
Michael Wallner
231ad17475
- explicit usage of TS macros
...
# this could have been raised a lot earlier
2006-06-03 11:19:44 +00:00
Michael Wallner
4ce0141713
- new output control code
...
# scan README.NEW-OUTPUT-API to get a grasp
# tree has been tagged with BEFORE_NEW_OUTPUT_API
#
# TODO:
# - improve existing output handlers
# - move zlib.output_compression cruft from SAPI.c to zlib.c
# - output_encoding handling was ambigious, resp. is undefined yet
# - more tests
2006-06-02 19:51:43 +00:00
Antony Dovgal
2873c3a5ad
MFB: fix #37418 (tidy module crashes CLI version of PHP)
2006-05-24 21:22:27 +00:00
Nuno Lopes
eb5343ee47
convert a few more functions to unicode and adapt the tests as well
2006-05-07 18:11:40 +00:00
Nuno Lopes
50cf480153
fix thread safe build
2006-05-06 13:19:10 +00:00