Commit Graph

285 Commits

Author SHA1 Message Date
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
Christian Stocker
ab26ac118d really fix this test... 2004-01-19 17:38:47 +00:00
Christian Stocker
efed27ae1b fix test 2004-01-19 17:35:38 +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
Christian Stocker
c0a1f294e9 adjust test 2004-01-19 15:00:59 +00:00
Christian Stocker
c9bd0195a3 -test for more than one argument (this segfaulted before) 2004-01-18 12:30:52 +00:00
foobar
f4983c0d3f - Renamed all *php4* files to *php5*, changed all php4/PHP4 to php5/PHP5 2004-01-17 13:00:38 +00:00
Rob Richards
840979858c Update tests 2004-01-10 11:50:49 +00:00
foobar
ccfc46b0aa - Happy new year and PHP 5 for rest of the files too..
# Should the LICENSE and Zend/LICENSE dates be updated too?
2004-01-08 17:33:29 +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
Wez Furlong
3b450ec431 Add dependencies for these extensions 2003-12-22 13:16:43 +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
c821c5b189 export libxml2 and iconv symbols
extensions no longer link against either of those
2003-12-08 12:56:47 +00:00
Rob Richards
44f59d6d7f fix warning for shared debug
fix test bug26384 - WS issue
2003-12-07 11:11:47 +00:00
Rob Richards
2f9e039c53 Fix the xsl warnings 2003-12-05 21:24:48 +00:00
Wez Furlong
08218f5082 Tweak xml related build.
Still some warnings for ext/xsl, but I'll leave that to someone else for now.
2003-12-05 21:16:47 +00:00
Wez Furlong
952e0db997 Use Rob's static libxml+libiconv library; new build no longer
requires libxml2.dll or iconv.dll at runtime.
Since we have iconv built in, enable iconv extension by
default too.
2003-12-05 20:17:47 +00:00
Rob Richards
c09003a910 test for dom extension 2003-12-04 13:32:22 +00:00
Rob Richards
2fb978a773 correct test 2003-12-04 12:46:20 +00:00
Rob Richards
d5e9e09515 Add xsl config for new win build 2003-12-04 12:37:04 +00:00
Christian Stocker
e969b7897e fix test to the changes made regarding __toString() 2003-12-03 22:18:49 +00:00
Rob Richards
8c700ad546 fix ZTS build 2003-11-29 20:40:54 +00:00
Christian Stocker
146e88ac02 testcase for bug26384 2003-11-29 16:38:09 +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
38b12e7f97 fixed wrong check 2003-11-29 13:01:19 +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
6f8746a14d added test for exslt support 2003-11-21 12:22:48 +00:00
Christian Stocker
44ae81871b - Added $proc->hasExsltSupport() 2003-11-21 12:21:35 +00:00
Christian Stocker
b63803a06c added exslt support 2003-11-19 12:07:59 +00:00
Christian Stocker
1d40b25f68 - streams test 2003-10-27 15:12:20 +00:00
Christian Stocker
c07a013345 forgot one file 2003-10-27 12:17:28 +00:00
Christian Stocker
45614453cd fix for test Nr 3 bug (not freeing all params) 2003-10-27 12:16:35 +00:00
Christian Stocker
d8f6f9d763 added SKIPIF extension is not loaded checks 2003-10-27 11:28:43 +00:00
Christian Stocker
9caf3e1253 totally wrong expected output... 2003-10-27 08:49:11 +00:00
Christian Stocker
acd5eb24db some tests (test #3 is currently broken due to memleak, fix is on the way) 2003-10-27 08:46:55 +00:00
Rob Richards
09c09f4279 use common structures from php_libxml.h 2003-10-26 15:57:31 +00:00
Rob Richards
bd2511af40 set base href for copied, imported doc
set environment for imported stylesheet
add optional clone parameter for data to transform
2003-09-22 19:07:52 +00:00
Rob Richards
ea1b33438a remove document pointer references as doc is now copied 2003-08-24 10:18:08 +00:00
Rob Richards
20a878dc60 doc must be copied when importing stylesheet
libxslt uses the _private for processing
2003-08-20 17:58:55 +00:00
Wez Furlong
9ada9e5767 fix build 2003-08-19 01:30:27 +00:00
Ilia Alshanetsky
93bcd55eaf emalloc -> safe_emalloc 2003-08-12 00:58:52 +00:00
Rob Richards
036b93c4e2 fix segfault when importing multiple documents 2003-08-07 18:38:39 +00:00
Rob Richards
3b2507b910 changed to studlyCaps naming convention 2003-07-07 19:45:24 +00:00
Rob Richards
1688895f6b use common doc with ref counting rather than copy 2003-07-05 23:43:10 +00:00
foobar
f3ac60d4a4 - Cleanup, simplifying, etc. 2003-06-30 17:23:52 +00:00
Sterling Hughes
0422e0d475 fix by Elfyn, use = not == 2003-06-30 05:01:18 +00:00
Marcus Boerger
8e0516c990 ext/xsl requires ext/dom 2003-06-26 18:51:52 +00:00
Rob Richards
6d8dc4b936 fix linking as dom symbols are now built in 2003-06-26 10:51:37 +00:00
Rob Richards
015c6bacdd fix mem leak
remove unused code
2003-06-20 14:07:51 +00:00
Rob Richards
e52b96a296 add xsl_xsltprocessor_transform_to_uri functionality
fix a few unhandled error conditions
fix compiler warnings
2003-06-19 15:00:28 +00:00
Rob Richards
6ed47a404a should be multithreaded and correct lib naming 2003-06-15 19:54:38 +00:00
Rob Richards
02bc7c3217 be nice if i named the dll correctly and put it somewhere 2003-06-15 14:57:06 +00:00
Rob Richards
6082168510 fix xsl release build
link libxml2 and libxslt dynamically for consistancy
2003-06-15 14:52:23 +00:00
Rob Richards
14fad0e5d8 interoperability support 2003-06-14 15:28:13 +00:00
Rob Richards
aa0afd9307 update messages to require libxsl >= 1.0.18 2003-06-11 19:27:01 +00:00
James Cox
f68c7ff249 updating license information in the headers. 2003-06-10 20:04:29 +00:00
Rob Richards
f2957721af changes for /ext/dom document ref count
changes for /ext/dom internal object handling
2003-06-09 20:24:16 +00:00
foobar
497060f49f missing header 2003-06-06 06:43:08 +00:00
foobar
4dc1f7af3c Some missing files.. 2003-06-06 06:34:30 +00:00
foobar
aaf2473558 Missing entries in .cvsignore and some cutpaste bugs in config.m4 2003-06-06 06:32:16 +00:00
Moriyoshi Koizumi
3ebf297261 Avoid unnecesary zval separation 2003-06-05 18:54:19 +00:00
Moriyoshi Koizumi
cf0087ef34 WS fix 2003-06-05 18:04:30 +00:00
Rob Richards
848795e3f9 Inital cut of new xsl extension
interoperates with new dom extension
PHP5 only
2003-06-05 17:10:13 +00:00