Commit Graph

55 Commits

Author SHA1 Message Date
Xinchen Hui
0a7395e009 Happy New Year 2013-01-01 16:28:54 +08:00
Felipe Pena
4e19825281 - Year++ 2012-01-01 13:15:04 +00:00
Christian Stocker
eb039d5783 Added the xsl.security_prefs option to 5_4 and trunk and
mark it as deprecated for BC-reasons
Added tests for ini option and combination of both
2011-10-10 07:59:19 +00:00
Felipe Pena
707a8f70b8 - Added ZEND_MOD_END macro to use in the end of zend_module_dep[] 2011-08-06 14:47:44 +00:00
Felipe Pena
4b30846b50 - Make usage of new PHP_FE_END macro 2011-07-25 11:35:02 +00:00
Christian Stocker
6be6c2d62d Added XsltProcessor::setSecurityPrefs($options) and getSecurityPrefs()
to define forbidden operations within XSLT stylesheets, default is not to
enable any write operations from XSLT anymore. Bug #54446

(second iteration of the code for trunk, first commit for 5.4 branch)
2011-07-12 04:58:38 +00:00
Felipe Pena
0203cc3d44 - Year++ 2011-01-01 02:17:06 +00:00
Dmitry Stogov
c5237d82bf Added caches to eliminate repeatable run-time bindings of functions, classes, constants, methods and properties 2010-05-24 14:11:39 +00:00
Sebastian Bergmann
9ba1e81665 sed -i "s#1997-2009#1997-2010#g" **/*.c **/*.h **/*.php 2010-01-03 09:23:27 +00:00
Sebastian Bergmann
08659c2dcd MFH: Bump copyright year, 3 of 3. 2008-12-31 11:15:49 +00:00
Rob Richards
24e9b91193 MFH: fix bug #46099 (Xsltprocessor::setProfiling - memory leak) 2008-09-18 11:47:59 +00:00
Sebastian Bergmann
d1dded8751 MFH: Bump copyright year, 2 of 2. 2007-12-31 07:17:19 +00:00
Christian Stocker
5b0f4647b6 - Added xsl->setProfiling() for profiling stylesheets. 2007-10-02 06:31:18 +00:00
Antony Dovgal
d84755e758 ws 2007-09-28 05:33:11 +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
Antony Dovgal
e8d2c9489d MFH: nuke skeleton leftovers 2007-01-12 12:17:32 +00:00
Sebastian Bergmann
4223aa4d5e MFH: Bump year. 2007-01-01 09:36:18 +00:00
Antony Dovgal
59b8592c8c fix bug #36898 (__set() leaks in classes extending internal ones)
Added:
ZEND_API void zend_object_std_init(zend_object *object, zend_class_entry *ce TSRMLS_DC)
ZEND_API void zend_object_std_dtor(zend_object *object TSRMLS_DC)

to initialize and destroy zend_object structs
2006-03-29 14:28:43 +00:00
foobar
5bd93221a8 bump year and license version 2006-01-01 12:51:34 +00:00
Pierre Joye
41284d17b0 - MFH: #35805 add LIBXSLT_VERSION, LIBXSLT_DOTTED_VERSION, LIBEXSLT_VERSION
and LIBEXSLT_DOTTED_VERSION
2005-12-26 00:56:41 +00:00
foobar
3e669bc950 MFH: nuke php3 legacy 2005-12-06 02:28:41 +00:00
Dmitry Stogov
d3e0b57e1a Allow recursive calls to __get/__set for different properties 2005-11-15 14:28:40 +00:00
Antony Dovgal
241aa9a59d MFH: fix #35197 (Destructor is not called) and similar issues in other extensions 2005-11-14 22:03:02 +00:00
foobar
23e671a51e - Bumber up year 2005-08-03 14:08:58 +00:00
George Schlossnagle
869d6002d6 Darwin seems to like this arrangement much better. 2005-07-15 16:47:12 +00:00
foobar
371135fa2c Use the new dependency system 2005-06-17 11:44:59 +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
Rob Richards
da5ff5d9f1 fix issue with multiple xsl objects using registerPHPfunctions
- also fixes threading issue
2004-09-08 16:54:17 +00:00
Rob Richards
d39cca1530 remove clone functionality 2004-08-30 14:59:30 +00:00
Rob Richards
53d0c7a753 fix segfault when object cloned 2004-08-24 13:33:11 +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
Christian Stocker
6bd845e365 set errorhandler to generic php_libxml_error_handler 2004-07-25 08:37:39 +00:00
Christian Stocker
14a61929b9 implement the clone code for the XSLTProcessor object and fix #29108
"xslt segfaults when ze1_compatibility_mode is on" (By Rob Richards)
2004-07-12 13:04:01 +00:00
Rob Richards
fb39035e77 Fix class name 2004-04-07 16:48:11 +00:00
Marcus Boerger
09fe52c687 Fix Warning 2004-02-04 21:04:39 +00:00
Zeev Suraski
8424be849f - Update with new destructor code 2004-02-04 11:14:47 +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
Christian Stocker
87bd1f4d02 fix crashes when you call php:functionString() with a
non-string handler (by adam)
2003-12-10 22:32:36 +00:00
Rob Richards
49494dee00 fix issues when passing in mulitple arguments 2003-12-09 20:12:39 +00:00
Rob Richards
8c700ad546 fix ZTS build 2003-11-29 20:40:54 +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
df63bcddda follow coding standards. 2003-11-29 13:31:51 +00:00
Christian Stocker
d699569f5a it's now possible to return a DomNode from userland functions back to the xsl-processor 2003-11-29 13:07:20 +00:00
Christian Stocker
3f07e4364c @- Added possibility to call php functions as XSLT-functions (chregu)
- Added possibility to call php functions as XSLT-functions
  eg: <xsl:value-of select="php:function('date','r')"/>
  Namespace is http://php.net/functions
2003-11-28 22:08:16 +00:00
Christian Stocker
b63803a06c added exslt support 2003-11-19 12:07:59 +00:00
Rob Richards
ea1b33438a remove document pointer references as doc is now copied 2003-08-24 10:18:08 +00:00
Wez Furlong
9ada9e5767 fix build 2003-08-19 01:30:27 +00:00
Rob Richards
1688895f6b use common doc with ref counting rather than copy 2003-07-05 23:43:10 +00:00