Commit Graph

82 Commits

Author SHA1 Message Date
Gustavo André dos Santos Lopes
29b76e6de3 - Use our external entity loader only in the context of a PHP request. 2011-09-02 05:14:32 +00:00
Pierre Joye
361903fbce - ws 2011-08-30 05:44:37 +00:00
Gustavo André dos Santos Lopes
6affeb6b60 - Turns out the external entity loader is not a per-thread global but a true
global. Changed code accordingly; however, applications that embed PHP and
  also use libxml2 may be affected negatively.
2011-08-30 01:08:22 +00:00
Pierre Joye
934aba9f4f - fix build, TSRMLS_FETCH must be the last declaration statement and init using TSRM cannot be done before either 2011-08-29 10:10:05 +00:00
Gustavo André dos Santos Lopes
1d5e508658 - Added libxml_set_external_entity_loader(). 2011-08-29 05:00:26 +00:00
Felipe Pena
da376383e8 - Make usage of new PHP_FE_END macro 2011-07-25 11:35:02 +00:00
Christian Stocker
0a7aeb7f28 Added the ability to pass options to loadHTML (Chregu, fxmulder at gmail dot com) 2011-07-11 15:02:56 +00:00
Hannes Magnusson
ca90339957 Fixed bug #54601 (Removing the doctype node segfaults) 2011-05-29 11:39:49 +00:00
Gustavo André dos Santos Lopes
09b990f499 - Fixed bug #54440: libxml extension ignores default context. 2011-04-09 18:32:55 +00:00
Felipe Pena
0203cc3d44 - Year++ 2011-01-01 02:17:06 +00:00
Pierre Joye
aa0ed267a2 - use TSRMLS_*C instead of TSRMLS_FETCH in zend_list_insert 2010-09-16 09:13:19 +00:00
Dmitry Stogov
d8bddb9665 In some SAPI (e.g. FastCGI) we don't need to setup and reset libxml callbacks on each request, we con do it only once. Probably the list of such SAPI may be extended. 2010-08-27 06:12:37 +00:00
Kalle Sommer Nielsen
dd8e59da8f Removed safe_mode
* Removed ini options, safe_mode*
 * Removed --enable-safe-mode --with-exec-dir configure options on Unix
 * Updated extensions, SAPI's and core
 * php_get_current_user() is now declared in main.c, thrus no need to include safe_mode.h anymore
2010-04-26 23:53:30 +00:00
Sebastian Bergmann
9ba1e81665 sed -i "s#1997-2009#1997-2010#g" **/*.c **/*.h **/*.php 2010-01-03 09:23:27 +00:00
Felipe Pena
9b8f2525aa - Fixed bug #49660 (libxml 2.7.3+ limits text nodes to 10MB). (Felipe)
- Added LIBXML_PARSEHUGE constant to overrides the maximum text size of a
  single text node when using libxml2.7.3+. (Kalle)
[DOC]
2009-12-01 02:05:28 +00:00
Hannes Magnusson
f3d8a9ad0d MFH: Fix arginfo for libxml_disable_entity_loader() and libxml_use_internal_errors() 2009-06-23 13:44:24 +00:00
Rob Richards
f7b30e6578 MFH: add libxml_disable_entity_loader function 2009-06-23 10:50:09 +00:00
Rob Richards
1313c86484 MFH: add LIBXML_LOADED_VERSION constant that contains currently loaded libxml2 version
add libxml2 version being used to info output
2009-03-14 17:30:28 +00:00
Sebastian Bergmann
08659c2dcd MFH: Bump copyright year, 3 of 3. 2008-12-31 11:15:49 +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
cb3bc15807 MFH: Visibility (bug #45557) 2008-07-22 10:30:38 +00:00
Hannes Magnusson
4fb0ceca1b MFH: fix proto 2008-07-21 09:38:04 +00:00
Rob Richards
8a64e9de36 MFH: fix bug #41562 (SimpleXML memory issue) 2008-01-30 15:28:46 +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
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
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
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
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
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