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
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