Commit Graph

141 Commits

Author SHA1 Message Date
Sterling Hughes
dc3b3fa302 some more fixes towards making it work again 2002-04-21 00:27:05 +00:00
Sterling Hughes
c53003575a throw a warning if encoding support not available... 2002-04-19 23:46:09 +00:00
Sterling Hughes
8912735d86 make it work with dom processing, this allows DOM tree caching to avoid
re-parsing the same data.  Currently very beta -- DO NOT USE.  Will be cleaning
this up over the next few days...  Need this in here for version history, and
to show other people
2002-04-19 22:17:23 +00:00
Yasuo Ohgaki
ec11233183 Remove warning. 2002-04-19 07:54:52 +00:00
Sander Roobol
fd167a7d42 Removed redefinition of MIN() 2002-04-18 14:05:28 +00:00
Sterling Hughes
651c00718a move xslt_error and xslt_errno down to functions, in order to
make logical room for the xslt_dom_* functions

# (xslt_dom_* will be a basic api, allowing no dom manipulation,
#  however, one of these days I'll write a message/extension that
#  handles xslt/dom/sax in a coherent manner -- just you watch :)
2002-04-16 15:54:59 +00:00
Derick Rethans
561552cb4d - MFB: Remove version number 2002-04-16 10:14:08 +00:00
Sterling Hughes
e937ad5adf update these docs, phpdoc will lag a bit :) 2002-04-16 06:41:05 +00:00
Sterling Hughes
2b5a95b54b Prefix current functions with "sax" in order to make way for dom interface
backwards compatibility is maintained via function aliases
xslt_sax_set_sax_handlers is a bit wierd, i guess...
2002-04-16 06:37:19 +00:00
Sterling Hughes
59f3ba1490 clean up the error code a tidbit 2002-04-16 06:04:17 +00:00
Yasuo Ohgaki
0c9182ad71 Update Sablotron version supported. 2002-04-12 00:44:59 +00:00
Sterling Hughes
64c894b164 Whitespace fixes 2002-03-25 22:49:25 +00:00
Sterling Hughes
6270efc5a9 remove experimental status 2002-03-23 23:46:04 +00:00
Sterling Hughes
496c46c3f0 make key identifiers case sensitive 2002-03-23 23:37:17 +00:00
Derick Rethans
60f20cd870 - Fix experimental notice 2002-03-23 23:30:17 +00:00
foobar
cf267402b5 fix the fix 2002-03-22 13:55:11 +00:00
foobar
35e7255055 - Fixed minor inconvenience with iconv detection when iconv is found in libc 2002-03-22 13:49:05 +00:00
Hartmut Holzgraefe
10811cd0d8 getting rid of the warn_not_available alias 2002-03-22 01:10:31 +00:00
foobar
ec1b89a627 Minor detail fixed. 2002-03-21 15:49:55 +00:00
foobar
19e82a49f9 - Made one test/setup macro for iconv and fixed it to check
for libc first.
2002-03-17 21:09:21 +00:00
Stig Bakken
fb624cb77a * "new and improved" iconv test 2002-03-15 13:56:32 +00:00
Stig Bakken
5274f1a708 * another libconv->libiconv typo 2002-03-13 09:59:43 +00:00
Sascha Schumann
5cba3a99c2 extension converted automatically to PHP_NEW_EXTENSION. Manually confirmed 2002-03-12 16:44:00 +00:00
Sebastian Bergmann
90613d2282 Maintain headers. 2002-02-28 08:29:35 +00:00
Markus Fischer
b68e5f2ec9 - Fix info output (Peter Neuman <neuman_peter@hotmail.com>). 2002-02-23 22:46:19 +00:00
Sean Bright
12430d1da1 Fix cosmetic bug. (#15142) 2002-02-15 03:08:41 +00:00
Sterling Hughes
ce6c5801b3 Update for Sablotron .8 2002-01-17 17:21:38 +00:00
Hartmut Holzgraefe
25534467c7 more unquoted messages with kommas fixed 2002-01-04 14:15:25 +00:00
Sebastian Bergmann
38933514e1 Update headers. 2001-12-11 15:32:16 +00:00
foobar
068be1721f Fixed a typo. 2001-12-09 02:02:44 +00:00
Sterling Hughes
c8ef634f1b Align comments in xslt.c
First try at fixing funny resource free'ing problems with objects, don't
perform a zval seperation when we're directly saving a pointer to the SAX
or Scheme handlers
2001-12-09 01:18:20 +00:00
Markus Fischer
363a8b69c9 - Fix crash with invalid option to xslt_set_scheme_handlers(). 2001-12-07 18:16:29 +00:00
Rasmus Lerdorf
ff3774d1ee Let's not crash when no error str has been set 2001-12-07 17:29:53 +00:00
Sterling Hughes
734708319f MFB 2001-12-03 08:28:12 +00:00
foobar
f1397d5339 Unified the configure messages. 2001-11-30 19:00:13 +00:00
Rui Hirokawa
ac39c13b1c fixed a link error in configure script. 2001-11-25 22:20:27 +00:00
Derick Rethans
3eded520ef - Fix for bug #14169 2001-11-22 07:48:59 +00:00
Derick Rethans
3ca8006a8d - Fix scheme/sax handlers (patch by Lenar Lõhmus <lenar@vision.ee>) 2001-11-13 09:54:06 +00:00
Stig Bakken
689252082c * zend_module_entry change: apino, debug and zts are moved first,
see README.EXTENSIONS file for upgrade help.
@Introduced extension version numbers (Stig)
2001-10-11 23:33:59 +00:00
Derick Rethans
27fb33e8b7 - More <br> to <br /> fixes 2001-10-09 19:19:21 +00:00
Jeroen van Wolffelaar
39e47f5a98 Revert macro-subst, because wasn't necessary here, and those who were
substitued weren't zvals
2001-09-26 22:24:44 +00:00
Jeroen van Wolffelaar
21f2b9277f 3rd run in back-substitutin Z_* macro's. The val->Z_ cases are all solved now. 2001-09-26 08:35:48 +00:00
Jeroen van Wolffelaar
c033288573 Back-substitute for Z_* macro's. If it breaks some extension (the script isn't optimal, it parses for example var->zval.value incorrect) please let me know. 2001-09-25 21:58:48 +00:00
Sterling Hughes
ca5fdbf537 fix this in a couple of other places and use estrndup() when we have the
string length.
2001-09-15 16:05:38 +00:00
Sterling Hughes
236bcdb514 properly grab field and value pairs, plus avoid a segfault when errmsg isn't
defined
2001-09-15 16:00:47 +00:00
Sascha Schumann
fdd6f08aec Always return something from non-void function 2001-09-11 08:55:44 +00:00
Derick Rethans
78747bd2df - Don't wrap lines... this is annoying while coding. 2001-09-09 13:29:31 +00:00
Sterling Hughes
398b65ed2f noet 2001-08-23 21:56:29 +00:00
Sterling Hughes
0fabddb745 some cleanup 2001-08-23 21:22:38 +00:00
foobar
8f6394365c Look for iconv library also in $ICONV_DIR. 2001-08-17 08:33:49 +00:00
Rasmus Lerdorf
9e9e47faa4 Filter a bit of the "Bronx" out of this README 2001-08-10 01:41:14 +00:00
foobar
d7e1fe914a Killed compile warnings. 2001-08-07 19:24:21 +00:00
Thies C. Arntzen
67775fcd2c adding -lsablot later makes it appear _before_ -lexpat in config_vars - and
that fixes a link problem (atleast) for me.
sterling?
2001-08-02 11:19:19 +00:00
foobar
540f428a91 fixed comment.. 2001-07-31 23:34:23 +00:00
Sterling Hughes
4b00c6b697 Fix ZTS build. 2001-07-31 23:22:19 +00:00
Sterling Hughes
1a5ee49024 ws fix 2001-07-31 19:43:11 +00:00
Zeev Suraski
aa1772ca72 More TSRMLS_FETCH annihilation 2001-07-31 05:44:11 +00:00
Zeev Suraski
c43806f415 Zend compatibility patch 2001-07-30 08:24:42 +00:00
Zeev Suraski
1c25b8dd53 Avoid TSRMLS_FETCH()'s, and clean up a bit of stale extern's and layout on the way 2001-07-30 01:56:43 +00:00
Thies C. Arntzen
832849e522 buffer was too small 2001-07-29 20:16:45 +00:00
Zeev Suraski
fe6f8712a4 - Get rid of ELS_*(), and use TSRMLS_*() instead.
- Move to the new ts_allocate_id() API
This patch is *bound* to break some files, as I must have had typos somewhere.
If you use any uncommon extension, please try to build it...
2001-07-27 10:16:41 +00:00
Rui Hirokawa
f90580caf1 fixed an argument in example of ext/xslt. 2001-07-03 16:59:46 +00:00
Sterling Hughes
6809bcf2b5 Small fixes. 2001-07-03 12:16:03 +00:00
Rui Hirokawa
30ca718935 fixed a link problem of shared extension module in ext/xslt. 2001-07-02 01:55:43 +00:00
foobar
61b28c586a If no backend is specified, bail out. 2001-06-30 00:48:35 +00:00
Sterling Hughes
540391326c # leftovers 2001-06-26 22:49:54 +00:00
Sterling Hughes
abd3b1543c Making logging optional. 2001-06-26 22:48:44 +00:00
Sterling Hughes
8133703841 special offer... 0 out a structure, and remove a crash bug...
# Offer only available between 6/30/2001 - 7/14/2001, Exclusively for
# cvs committers
2001-06-26 18:20:28 +00:00
Daniel Beulshausen
218f570864 let this stuff build under windows 2001-06-11 14:53:31 +00:00
Rui Hirokawa
fd46c91466 modified code freeing resouce which causes segmentation fault. 2001-06-10 09:41:43 +00:00
Rasmus Lerdorf
81e2cf03ac Fix folding and clean up some extensions 2001-06-06 13:06:12 +00:00
Rui Hirokawa
3acd77576e defined HAVE_CONFIG_H to enable DSO extension support. 2001-06-05 23:11:29 +00:00
Rasmus Lerdorf
25c3a3a39d vim-6 does folding - clean up a bunch of missing folding tags plus
some misguided RINIT and RSHUTDOWN calls in a few fringe extensions
2001-06-05 13:12:10 +00:00
foobar
69e6f7ae52 Use different define name for this. 2001-06-01 06:42:14 +00:00
foobar
c44198ff3a Cleanup. ws fixes (no tabs in config.m4 files please) 2001-06-01 06:41:45 +00:00
Sterling Hughes
4fbb606f60 compile warning fixes....... 2001-05-29 07:08:47 +00:00
foobar
3e7754c51e Make this compile. Killed one compile warning.
# I still get a lot warnings when compiling sablot.c
2001-05-28 21:06:50 +00:00
Sterling Hughes
3af89678ec compile goood, compile error baaad. 2001-05-28 04:40:08 +00:00
Sterling Hughes
d4b3b6d536 more leftovers 2001-05-27 01:05:31 +00:00
Sterling Hughes
129f37093a leftovers 2001-05-27 00:58:08 +00:00
Sterling Hughes
a2962a1312 # The mailing lists are a productivity hole, long live
cvsusers@php.net ;)

1) remove outdate struct xslt_function * construct in favor of
just using
the zval's themselves.

2) switch to call_user_function_ex() in the call_xslt_function()
function (gotta respect the alliteration ;) .

3) modify README.XSLT-BACKENDS to reflect some of the changes to
the api
2001-05-27 00:57:21 +00:00
Stig Bakken
1beda9ee1e * include "config.h" if HAVE_CONFIG_H is defined (for standalone dso build) 2001-05-24 10:07:29 +00:00
Sterling Hughes
f7c8bb6a29 Some fixes. Actually assign a value scheme_handlers before processing it.
Add some checks for key type.  Remove some debugging data.
2001-05-17 18:15:15 +00:00
foobar
3d430e4141 The PHP_EXTENSION() has to be before any other PHP_ARG_*()'s 2001-05-09 15:38:29 +00:00
foobar
3d856be7f6 No need to show these if they are not used. 2001-05-08 22:18:00 +00:00
Sterling Hughes
11961e6585 Check for the existance of the iconv library
# Not sure if this is correct, I can verify that it doesn't break anything
# and it logically looks like it would work.  Can someone test this (BSD
# and/or Windows)
2001-05-01 03:26:04 +00:00
Sterling Hughes
c67b6e4836 Add the xslt_make_array and xslt_free_array api functions (C level).
Change the naming to be a bit more standard for a few of the existing
api functions.

Make the sablotron backend compile with these changes.
2001-04-27 05:00:52 +00:00
Sterling Hughes
25ad8d38f3 Add a readme, this is a substitute to the e-mail I was going to send. it
gives a basic overview of the new xslt extension and goes into the details
of the api, etc.
2001-04-26 05:38:17 +00:00
Sterling Hughes
9c8780c809 Add a free function to free the returned structure. 2001-04-26 02:12:07 +00:00
Sterling Hughes
ad138d77db Add the parse_xslt_arguments api function which parses sablotron type
arguments into an easy to use structure.
2001-04-26 02:01:09 +00:00
Sterling Hughes
35890db0a1 Add an experimental version of the new XSLT extension. This is by no means
to be used on anything production, if you want to test it, beware, it may or
may not work (feel free to complain to me if it doesn't work, or shower
praise if it does work)...

Mainly in PHP's CVS so that work on the other backends can take place.
The api (function_entry) is what I'm thinking of for all backends.  Every
backend simply needs to define these functions, I'll send an e-mail describing
all this in a bit....
2001-04-26 00:13:26 +00:00