Commit Graph

82 Commits

Author SHA1 Message Date
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
Christian Stocker
6873ef7055 - Set an empty string and avoid warnings and stopping of the transformation process
when a php function can't be called.
- Fixed tests.
2011-08-31 09:14:08 +00:00
Ilia Alshanetsky
9c297247ef Another build fix relating to previous DOM commit 2011-08-08 16:49:43 +00:00
Ilia Alshanetsky
0b3cb3f220 Fixed build 2011-08-08 16:06:40 +00:00
Pierrick Charron
e03d19a00e Remove unused variables 2011-08-07 06:37:22 +00:00
Pierre Joye
894a746a80 - fix build 2011-07-14 11:12:33 +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
32b5f8a1a3 - Added new parameter parsing option (p - for valid path (string without null byte in the middle))
# The tests will be fixed in the next commits
2011-06-06 21:28:16 +00:00
Felipe Pena
0203cc3d44 - Year++ 2011-01-01 02:17:06 +00:00
Dmitry Stogov
94dd83722b Changed the structure of op_array.opcodes. The constant values are moved from opcode operands into a separate literal table 2010-04-20 10:57:45 +00:00
Sebastian Bergmann
9ba1e81665 sed -i "s#1997-2009#1997-2010#g" **/*.c **/*.h **/*.php 2010-01-03 09:23:27 +00:00
Ilia Alshanetsky
556dde6a34 Fixed return value to comply with tests 2009-09-02 13:07:44 +00:00
Matt Wilmas
1fa3b21c15 MFH: Fixed error message grammar:
- "cannot" instead of "can not" (meaning "also can")
 - "than" instead of "then" (Hint: "then" should hardly be needed;
     you're not telling the order in which to do something)

... plus removed a couple ending. dots
2009-06-06 02:40:49 +00:00
Felipe Pena
424c018991 - Fix error message 2009-05-23 14:26:47 +00:00
David Coallier
0204349438 - Removed the RETURN_TRUE to keep consistency with documentation. This function
is supposed to be "void registerPHPFunctions"
2009-05-10 19:59:47 +00:00
Felipe Pena
680bc45ba5 - MFH: Fixed bug #48221 (memory leak when passing invalid xslt parameter) 2009-05-10 15:13:05 +00:00
Sebastian Bergmann
08659c2dcd MFH: Bump copyright year, 3 of 3. 2008-12-31 11:15:49 +00:00
Rob Richards
64a1f04f17 MFH: fix arginfo - these also accept SimpleXMLElement 2008-12-05 18:35:43 +00:00
Dmitry Stogov
7d4fd3fd38 Fixed bug #46409 (__invoke method called outside of object context when using array_map) 2008-11-27 19:01:23 +00:00
Felipe Pena
fc2fb50d09 - MFH: Added 'static' into ZEND_BEGIN_ARG_INFO_EX macro 2008-11-17 11:28:01 +00:00
Felipe Pena
7a37fa2d6b - Revert ZEND_BEGIN_ARG_INFO change 2008-11-02 21:19:39 +00:00
Felipe Pena
df10005563 - MFH: Added 'static' into ZEND_BEGIN_ARG_INFO_EX macro 2008-10-24 14:35:40 +00:00
Rob Richards
24e9b91193 MFH: fix bug #46099 (Xsltprocessor::setProfiling - memory leak) 2008-09-18 11:47:59 +00:00
Rob Richards
87922550b0 MFH: fix bug #44891 Memory leak using registerPHPFunctions and XSLT Variable 2008-05-04 15:14:23 +00:00
Sebastian Bergmann
9d86113b20 MFH: Fix arginfo and prototype. 2008-01-29 21:21:20 +00:00
Sebastian Bergmann
98527ad549 MFH: Add Reflection API metadata for XSLTProcessor. 2008-01-29 07:51:43 +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
Antony Dovgal
ca4c55ad3a MFH: fix ws & folding, nuke unused vars 2007-10-06 21:28:50 +00:00
Christian Stocker
5b0f4647b6 - Added xsl->setProfiling() for profiling stylesheets. 2007-10-02 06:31:18 +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
Rob Richards
b96718ba20 allow user specified class to be returned from transformToDoc 2007-07-30 16:33:22 +00:00
Sebastian Bergmann
4223aa4d5e MFH: Bump year. 2007-01-01 09:36:18 +00:00
Ilia Alshanetsky
7f376183f8 C++ comment 2006-12-30 02:28:15 +00:00
Antony Dovgal
9c2b6efb77 MFH 2006-12-25 22:27:24 +00:00
Rob Richards
865f4d75be fix bug #39625 (Apache crashes on importStylesheet call) 2006-12-05 12:04:34 +00:00
Christian Stocker
88dfe8cfd9 return false instead of null, if it's an invalid document 2006-07-31 13:05:35 +00:00
Christian Stocker
e53c538151 return true, if xsl import did work 2006-07-31 12:50:42 +00:00
Christian Stocker
d7fd19b7ff MFH
Fix a segfault, when an unknown type was given and support all known xpath object types
2006-06-14 09:42:35 +00:00
Rob Richards
8d1427dd98 MFH: add doXInclude property to allow processor to perform XIncludes 2006-05-12 18:53:40 +00:00
foobar
5bd93221a8 bump year and license version 2006-01-01 12:51:34 +00:00
Rob Richards
44840ace8e MFH: Fix key length so params passed by array can be retrieved by getParameter() 2005-09-02 06:38:02 +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