Felipe Pena
4b30846b50
- Make usage of new PHP_FE_END macro
2011-07-25 11:35:02 +00:00
Felipe Pena
da376383e8
- Make usage of new PHP_FE_END macro
2011-07-25 11:35:02 +00:00
Pierre Joye
4488350bb5
- fix build
2011-07-14 11:12:33 +00:00
Pierre Joye
894a746a80
- fix build
2011-07-14 11:12:33 +00:00
Christian Stocker
0c8c69e89b
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
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
Christian Stocker
0511fa337e
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
2011-07-11 11:16:22 +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
4737910b69
- 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
927bf09c29
- Year++
2011-01-01 02:19:59 +00:00
Felipe Pena
0203cc3d44
- Year++
2011-01-01 02:17:06 +00:00
Pierre Joye
96b6130930
- fix leak introduced by the null poisoning patch
2010-12-18 12:05:55 +00:00
Pierre Joye
ce96fd6b07
- fix #39863 , do not accept paths with NULL in them. See http://news.php.net/php.internals/50191 , trunk will have the patch later (adding a macro and/or changing (some) APIs. Patch by Rasmus
2010-11-18 15:22:22 +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
Rob Richards
0a34d10783
revert change #298288 : Remove old dsp/dsw/makefile files
2010-04-28 14:41:51 +00:00
Kalle Sommer Nielsen
518a17e7bf
Remove old dsp/dsw/makefile files, these arent used by the build system anymore and are barely updated nor available for all extensions
2010-04-21 23:36:49 +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
62557f1d81
Fixed tests
2009-09-07 14:18:46 +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
1504c700be
- Fixed tests
2009-06-04 01:15:12 +00:00
Felipe Pena
be7d45b0dc
- New xsl files
2009-05-23 14:49:55 +00:00
Felipe Pena
5dfcef7ab4
- New tests (testfest BerlinUG)
2009-05-23 14:45:07 +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
a8209c5157
- Simplify test (cweiske)
2009-05-10 15:48:39 +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
Pierre Joye
bfa5044bb3
- be sure we define the deps so the right exts are built before (dom symbol error)
2008-12-26 14:05:05 +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
Nuno Lopes
61eb7ae554
remove unused PHP_EXTNAME_API macros.
...
#in preparation for the gcc 4 visibility patch
2008-01-03 16:20:33 +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
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
Rob Richards
b96718ba20
allow user specified class to be returned from transformToDoc
2007-07-30 16:33:22 +00:00
foobar
7ed3c4536d
MFH: Fix some configure --help texts
2007-07-03 17:25:43 +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
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
Hannes Magnusson
a327a6f737
fix test
2006-09-28 12:01:52 +00:00
Hannes Magnusson
267b0e9b03
Bump libxslt version to 1.1.0 (closes bug#35589)
2006-09-08 16:41:01 +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
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
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
Marcus Boerger
e8ea32a789
- Add new test
2005-07-25 20:21:43 +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
Rob Richards
f14292df21
Fixed bug #33340 (CLI Crash when calling php:function from XSLT)
2005-06-14 19:39:52 +00:00
foobar
a20383ba06
- Unify the "configure --help" texts
2005-05-29 23:17:16 +00:00
foobar
39bcbfc306
- Made the libxml related stuff to error out if someone does --disable-all
...
or --disable-libxml. Better than silently just leave the ext out..
2005-04-27 13:12:55 +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
Joe Orton
2685ca935f
Update extensions to use /path/to/$PHP_LIBDIR rather than /path/to/lib
...
to support multi-ABI platforms.
2004-11-03 14:32:52 +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
ce65982ec1
This extension is no more experimental
2004-08-24 11:50:26 +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
Christian Stocker
6bd845e365
set errorhandler to generic php_libxml_error_handler
2004-07-25 08:37:39 +00:00
Rob Richards
42ade33fa6
MFB: enable exslt support for win32 builds
...
WS fixes for exslt tests
2004-07-18 13:23:33 +00:00
Wez Furlong
ed682e570a
Implement extension load-order deps.
2004-07-18 12:03:51 +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
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
Ilia Alshanetsky
738aa1099f
Added missing skip condition.
2004-04-28 15:14:47 +00:00
Christian Stocker
65bc57a81f
- make static methods calls work from within xslt
...
- extended tests
2004-04-20 09:24:24 +00:00
Rob Richards
fb39035e77
Fix class name
2004-04-07 16:48:11 +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
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
Rob Richards
109ea54871
fix corruption when cloneDocument is not defined
2004-01-29 00:33:20 +00:00