Commit Graph

64 Commits

Author SHA1 Message Date
Rob Richards
97256c625f fix bug #44891 Memory leak using registerPHPFunctions and XSLT Variable 2008-05-04 15:13:39 +00:00
Sebastian Bergmann
133679ec8c - Fix arginfo and prototype. 2008-01-29 21:21:04 +00:00
Sebastian Bergmann
f238cbb0a0 Add Reflection API metadata for XSLTProcessor. 2008-01-29 07:51:40 +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
Antony Dovgal
8e1a65814b fix ws & folding, nuke unused vars 2007-10-06 21:28:10 +00:00
Christian Stocker
04e7a85518 - Added xsl->setProfiling() for profiling stylesheets. (MFB) 2007-10-02 06:32:16 +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
Rob Richards
a1cf7cec92 allow user specified class to be returned from transformToDoc 2007-07-28 09:16:15 +00:00
Sebastian Bergmann
3717df72ae Bump year. 2007-01-01 09:29:37 +00:00
Antony Dovgal
3bbf11859c more safe_emalloc() 2006-12-25 22:27:12 +00:00
Rob Richards
5ccef7164e MFB: fix bug #39625 (Apache crashes on importStylesheet call) 2006-12-05 12:05:03 +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
Rob Richards
d421131d98 finish unicode updates
update test
2006-09-21 10:31:36 +00:00
Rob Richards
b855c33590 fix prototypes 2006-09-08 13:04:29 +00:00
Rob Richards
db883a8b9d add unicode support
registered_phpfunctions hashtable still needs to be handled
update tests
2006-09-07 21:57:26 +00:00
Christian Stocker
304816bf78 return false instead of null, if it's an invalid document
(MFB)
2006-07-31 13:07:44 +00:00
Christian Stocker
b59ad4f938 return true, if xsl import did work 2006-07-31 12:51:08 +00:00
Christian Stocker
aad9541658 Fix a segfault, when an unknown type was given support all known xpath object types 2006-06-14 09:41:28 +00:00
Rob Richards
d12a4835fb add doXInclude property to allow processor to perform XIncludes 2006-05-12 18:52:11 +00:00
foobar
251c5173fd bump year and license version 2006-01-01 13:10:10 +00:00
Rob Richards
9a95a98628 Fix crash: handler name not length needs to be passed to php_error_docref 2005-09-02 15:38:22 +00:00
Rob Richards
acfde98e6e Fix key length so params passed by array can be retrieved by getParameter() 2005-09-02 06:37:29 +00:00
Derick Rethans
8deeef8805 - Fixed typo. 2005-08-22 14:16:07 +00:00
Dmitry Stogov
6b622046dc zend_is_callable() and zend_make_callable() were changed to return readable function name as zval (instead of string). 2005-08-22 12:22:16 +00:00
foobar
23e671a51e - Bumber up year 2005-08-03 14:08:58 +00:00
Rob Richards
f14292df21 Fixed bug #33340 (CLI Crash when calling php:function from XSLT) 2005-06-14 19:39:52 +00:00
Christian Stocker
997690b132 - Added optional first parameter to XsltProcessor::registerPHPFunctions to only
allow certain functions to be called from XSLT.
2005-04-06 12:26:29 +00:00
Rob Richards
c90305cb2e Fixed bug #31033 (php:function(string, nodeset) with xsl:key crashes PHP)
- only in 5.1 branch for now due to significance of change
2005-03-02 18:27:25 +00:00
Christian Stocker
8d10b52ddf fix protos (by Mehdi Achour ) 2005-01-17 15:56:17 +00:00
Rob Richards
da5ff5d9f1 fix issue with multiple xsl objects using registerPHPfunctions
- also fixes threading issue
2004-09-08 16:54:17 +00:00
Christian Stocker
32613f510c Fix segfault on error in xslt 2004-08-10 08:00:06 +00:00
Christian Stocker
264fd866a1 - Fix bug #29573: Segmentation fault when php function(called from XSLT templat) throw exception
- Fix some 0 Byte Memory Leaks
2004-08-08 18:01:33 +00:00
Antony Dovgal
e63a7d893b change xsl_xsltprocessor_set_parameter() to support parameter->value arrays
add test for it
@Change xsl_xsltprocessor_set_parameter() to support parameter->value arrays (Tony)
2004-08-05 13:31:17 +00:00
Christian Stocker
5f888422d9 Fix for bug #29409 (Segfault in PHP functions called from XSLT). (by Rob) 2004-07-28 12:40:53 +00:00
Ilia Alshanetsky
6544f8d47e Fixed memory leak on error. 2004-05-28 14:17:46 +00:00
Christian Stocker
c59471cd1f fix memleak in php callbacks 2004-05-28 13:04:19 +00:00
Christian Stocker
65bc57a81f - make static methods calls work from within xslt
- extended tests
2004-04-20 09:24:24 +00:00
Marcus Boerger
d7cea0945c Fix XSL (Rob/Marcus) 2004-03-28 15:35:01 +00:00
Rob Richards
5e4b287463 use php_libxml_import_node for transform functions 2004-03-01 12:43:34 +00:00
Rob Richards
76ee5707f7 Fix bug #27436 dom_import_simplexml innaccurate
extensions register callbacks to export nodes
prevents segfault passing invalid objects to import functions
2004-03-01 12:09:24 +00:00
Rob Richards
109ea54871 fix corruption when cloneDocument is not defined 2004-01-29 00:33:20 +00:00
Christian Stocker
d4488ccf2d Cosmetics and NEWS entry 2004-01-19 17:27:22 +00:00
Christian Stocker
23b30e9a30 @- added XsltProcessor->registerPhpFunctions() (Christian)
without that method call, it is not allowed to call php functions from
xslt stylesheets for security reasons.
2004-01-19 15:07:08 +00:00
Andi Gutmans
dbeb4158d2 - A belated happy holidays and PHP 5 2004-01-08 08:18:22 +00:00
Rob Richards
ab29ed006c rollback to previouos version
bug #26690 fixed in libxml.c
2003-12-22 16:49:54 +00:00
Ilia Alshanetsky
a8c58f1d79 Fixed bug #26690 (make xsltProcessor->transformToUri use streams wrappers). 2003-12-22 16:32:29 +00:00
Christian Stocker
5c039bbad9 Fixed for Bug #26384 (domxslt->process causes segfault with xsl:key) 2003-11-29 16:37:37 +00:00
Christian Stocker
44ae81871b - Added $proc->hasExsltSupport() 2003-11-21 12:21:35 +00:00
Christian Stocker
45614453cd fix for test Nr 3 bug (not freeing all params) 2003-10-27 12:16:35 +00:00