Commit Graph

135 Commits

Author SHA1 Message Date
Pierre Joye
5d112c35b7 - do not show libxml as enabled when libs are missing so ADD_EXTENSION_DEP('myext', 'libxml') can do its job 2008-06-22 21:49:06 +00:00
Elizabeth Marie Smith
7d4dfa8ee4 Windows configure fixes, a few additional lib names allowed, apache2 only on for zts builds since apache on win is always threaded, isapi no longer stops configure in non-zts mode, look for _debug for debug libraries when debug is enabled 2008-05-14 03:13:17 +00:00
Felipe Pena
1cb417edd7 - Fixed test 2008-04-14 17:24:11 +00:00
Rob Richards
8a64e9de36 MFH: fix bug #41562 (SimpleXML memory issue) 2008-01-30 15:28:46 +00:00
Dmitry Stogov
240fa244c3 Improved PHP binary size and startup speed with GCC4 visibility control (Nuno) 2008-01-30 09:41:12 +00:00
Rob Richards
2e58beee96 MFH: add missing export 2008-01-27 16:33:01 +00:00
Sebastian Bergmann
d1dded8751 MFH: Bump copyright year, 2 of 2. 2007-12-31 07:17:19 +00:00
Rob Richards
9d99a820e1 MFH: starting with 2.6.30, standard libxml2 build can be used 2007-12-04 17:14:34 +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
Dmitry Stogov
6c810b0d4c Improved memory usage by movig constants to read only memory. (Dmitry, Pierre) 2007-09-27 18:00:48 +00:00
Antony Dovgal
d5a59064f9 MFH 2007-08-01 11:43:05 +00:00
Rob Richards
b96a8a79ba Fixed Bug #42112 (deleting a node produces memory corruption)
add test
2007-07-28 08:32:51 +00:00
Jani Taskinen
10a6af6bd0 MFH: cs+ws+compile warning fixes 2007-07-21 00:51:17 +00:00
foobar
7ed3c4536d MFH: Fix some configure --help texts 2007-07-03 17:25:43 +00:00
Ilia Alshanetsky
161ab0aa50 Fixed bug #41724 (libxml_get_last_error() - errors survice request scope). 2007-06-18 16:46:21 +00:00
Rob Richards
7846ed2e84 fix bug #40598 (libxml segfault) 2007-02-23 11:12:49 +00:00
Sebastian Bergmann
4223aa4d5e MFH: Bump year. 2007-01-01 09:36:18 +00:00
Nuno Lopes
ec46e5e510 mark a few variables and functions as static 2006-11-10 18:05:11 +00:00
Rob Richards
36505f802c MFH: fix def file for 2.6.26 (xmlXPathCompiledEvalToBoolean required in .27) 2006-09-07 11:25:14 +00:00
Rob Richards
f11c99638e MFH: update def file (2.6.26) 2006-09-06 23:49:00 +00:00
Edin Kadribasic
cb5ad145ab Fixed bug #38190 (threading issues on windows 2003) 2006-09-06 21:44:45 +00:00
Nuno Lopes
4cff5db8f4 int->zend_bool where possible 2006-09-05 12:39:20 +00:00
Antony Dovgal
07b5c8fe2a MFH: fix #38347 (Segmentation fault when using foreach with an unknown/empty SimpleXMLElement) 2006-08-06 17:41:51 +00:00
Dmitry Stogov
d550c270ce Fixed memory leak 2006-07-04 07:26:53 +00:00
Nuno Lopes
38e47dd0bb add new tests. bump code coverage to more than 80% 2006-06-27 22:43:26 +00:00
Hannes Magnusson
d258bcd951 MFH: Removed obsolete arginfo include 2006-06-26 14:11:17 +00:00
Hannes Magnusson
aae5df3ffd MFH: arg ifno 2006-06-17 13:06:06 +00:00
Dmitry Stogov
1dbaae2795 Added automatic module globals management 2006-06-15 18:33:09 +00:00
Rob Richards
3997d6663b MFH: move document property struct from xml_common.h 2006-05-22 17:09:05 +00:00
foobar
5bd93221a8 bump year and license version 2006-01-01 12:51:34 +00:00
Edin Kadribasic
60db0632dd Updated to libxml2 to 2.6.22, thanks to rrichards 2005-12-11 21:54:32 +00:00
foobar
3e669bc950 MFH: nuke php3 legacy 2005-12-06 02:28:41 +00:00
Rasmus Lerdorf
aa749a1269 Missing }}} 2005-11-17 21:56:04 +00:00
Rob Richards
fbda9ce9f4 MFH: only need context set once 2005-10-17 19:50:20 +00:00
Rob Richards
646500bfe9 MFH: insure stream usage 2005-10-13 20:34:37 +00:00
Rob Richards
6818826bbd MFH: add additional constants
remove un-needed ifdefs
2005-09-08 10:37:57 +00:00
Rob Richards
293beeb74a MFH: Fix URI escaping 2005-08-26 02:29:56 +00:00
foobar
23e671a51e - Bumber up year 2005-08-03 14:08:58 +00:00
foobar
a20383ba06 - Unify the "configure --help" texts 2005-05-29 23:17:16 +00:00
foobar
626253940e - Added PHP_INSTALL_HEADERS() macro
- Fixed several VPATH build issues
- Changed all awk calls to use $AWK
- Changed all mkdir calls to use "$php_shtool mkdir"
2005-05-07 02:51:53 +00:00
foobar
e0c4f9b9be - Possible fix for bug #32778 2005-04-21 11:19:29 +00:00
Pierre Joye
ee49617830 - WS 2005-02-28 08:16:47 +00:00
Pierre Joye
4901a8e2b8 - create LIBXML_VERSION and LIBXML_DOTTED_VERSION constants 2005-02-28 08:13:35 +00:00
Frank M. Kromann
9d0e081c56 Kill warnings. There should be no need for this flag as it's already defined in libxml headers. 2005-02-25 22:59:26 +00:00
Rob Richards
b7cf6f4539 add function to allow extensions to use new error handling if set by user 2005-02-20 21:49:45 +00:00
Rob Richards
4967138514 initial cut of new error handling 2005-02-10 15:52:38 +00:00
Rob Richards
6a64418809 add NONET flag to disable network access when loading xml 2005-01-02 12:21:14 +00:00
Rob Richards
8450fae834 Fixed bug #31361 (simplexml/domxml segfault when adding node twice) 2005-01-02 12:08:41 +00:00
Rob Richards
4cea708b21 define options that can be used when loading documents 2004-12-05 11:59:46 +00:00
Dmitry Stogov
9c5661f05d Fixed bug #29211 (SoapClient doesn't request wsdl through proxy). (Rob) 2004-11-09 08:13:35 +00:00
Rob Richards
ccb99d0a1e implement php_libxml_xmlCheckUTF8
- workaround for pre libxml2-2.6.13 function
2004-09-08 10:15:41 +00:00
Rob Richards
963200c74c Fixed bug #29945 (simplexml_load_file URL limitation 255 char) 2004-09-06 10:16:34 +00:00
Frank M. Kromann
5c412842d9 Move iconv exports to the iconv extension and make libxml depend on iconv 2004-08-04 16:47:17 +00:00
Edin Kadribasic
a0a046ca09 New libxml2 version for windows build.
Version 2.6.11.
http://ctindustries.net/dom/libxml/
2004-08-03 22:45:36 +00:00
Rob Richards
a1c33af793 export php_libxml_error_handler for win32 build 2004-07-25 12:00:28 +00:00
Christian Stocker
a497e9bf75 use php_error_docref for libxml2 errors 2004-07-25 10:37:27 +00:00
Rob Richards
22b70fcb31 MFB: Fixed bug #29221 (Segfault using DOM ownerDocument in a PHP object) 2004-07-18 11:45:12 +00:00
Rob Richards
1d82c42493 fix leak when using relaxng
interim fix for isolating our streams handling
- once libxml supports overriding streams this should be changed
  for security reasons
2004-05-31 11:20:46 +00:00
Rob Richards
838d30a5cd move libxml error handler ro rinit/rshutdown to keep it local to php 2004-04-23 17:31:44 +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
Frank M. Kromann
d147e65186 Add missing export. 2004-02-24 19:08:28 +00:00
Zeev Suraski
7c710a9f9b Use zval_ptr_dtor() to free variables as soon as they hit refcount of 0.
Note:  You should not be using ZVAL_DELREF() in day to day usage.  Instead,
       you should use zval_ptr_dtor().  Use ZVAL_DELREF() only if you're
       messing with the refcount directly and know what you're doing.
Note #2:  For clarity, if you want to initialize a new zval with a refcount
          of 0, it's best to do that directly, instead of using ZVAL_DELREF
          after allocating the zval...
2004-02-15 12:58:19 +00:00
Marcus Boerger
c66c9e7102 Fix memory corruption with libxml's error handling. 2004-01-10 13:23:58 +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
620cb2e2eb only test url_stat in read mode 2003-12-22 16:46:26 +00:00
Rob Richards
4dd0dbfd79 consolidate error handling 2003-12-12 13:54:06 +00:00
Rob Richards
1f33239c91 buffer error messages until newline is hit 2003-12-09 21:55:02 +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
44bd3bf47a libxml2 and iconv export file 2003-12-05 19:26:05 +00:00
Wez Furlong
a5cf836260 Fix libxml to use static lib if found.
Disable apache and isapi by default.
Add some smarts so that we can really build extensions and SAPI found in php-src/pecl and/or php-src/../pecl.
Only include a logo in the resources if we are building an .exe.
2003-12-04 13:38:47 +00:00
Wez Furlong
ad84dfa937 Build adjustments. 2003-12-03 14:29:45 +00:00
Wez Furlong
34df2ae239 some tweaks for Frank 2003-12-03 02:47:45 +00:00
Wez Furlong
05b9b20ed8 Add new (optional!) win32 build infrastructure.
Will follow up to internals@ shortly.
2003-12-02 23:17:04 +00:00
Sara Golemon
026d4c9e4c Route php_stat() via streams/url_stat API (php_stream_stat_path).
This enables fopen-wrappers support on stat() and related family calls.
2003-11-28 23:25:28 +00:00
foobar
32b5a41941 - Fixed bug #26072 (--disable-libxml does not work). 2003-11-12 23:42:38 +00:00
Ilia Alshanetsky
2016ac0a73 Fixed write support. 2003-11-07 19:12:46 +00:00
Rob Richards
d29fb55bbb common functions for interoperability 2003-10-26 15:53:20 +00:00
Moriyoshi Koizumi
569309765c Fix compiler warnings 2003-10-20 15:33:40 +00:00
Shane Caraveo
c55f987230 fix the stat check in stream open
addref to the stream context
2003-10-20 03:11:45 +00:00
Rob Richards
56ce4a84e7 add generic default error handling rather than the default stderr 2003-10-19 23:34:39 +00:00
Rob Richards
33004a01ee unescape filepath which libxml excapes 2003-10-19 23:25:48 +00:00
Shane Caraveo
052f9378b2 add global init/shutdown functions for libxml. this is required as
shutdown is not safe to call multiple times, and to make streams work
correctly some init stuff has to happen in a specific order
2003-10-19 23:17:56 +00:00
Shane Caraveo
399095e7a5 Add libxml extension for common code that is needed to be shared between
various xml extensions.  currently the only implemented support is the
addition of the streams support for libxml.  One new function,
libxml_set_streams_context, which allows a streams context to bet set
prior to loading or writing documents.  This works transparently with any
extension that uses libxml.  All ini settings that effect streams will
also now effect the loading and writing of xml documents.

TODO: linux support, not sure if config.m4 will work right.
2003-10-19 21:48:46 +00:00