Commit Graph

480 Commits

Author SHA1 Message Date
Xinchen Hui
76825a71a4 Fixed SXE iterator(14 tests fail) 2014-04-15 00:37:48 +08:00
Xinchen Hui
30a974f435 Fixed sxe object clone 2014-04-15 00:10:59 +08:00
Xinchen Hui
1f207e73eb Fixed double free 2014-04-15 00:06:54 +08:00
Xinchen Hui
a975c7e0fe Refactor simpleXML (compilable, but incompleted) 2014-04-14 19:27:22 +08:00
Anatol Belski
a094f6d255 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  updated NEWS
  Fixed bug #66084 simplexml_load_string() mangles empty node name
2014-04-05 09:48:54 +02:00
Anatol Belski
bbfda90d72 Merge branch 'PHP-5.4' into PHP-5.5
* PHP-5.4:
  Fixed bug #66084 simplexml_load_string() mangles empty node name
2014-04-05 09:47:14 +02:00
Anatol Belski
a0beddf5e9 Fixed bug #66084 simplexml_load_string() mangles empty node name 2014-04-05 09:46:24 +02:00
Dmitry Stogov
f4cfaf36e2 Use better data structures (incomplete) 2014-02-10 10:04:30 +04:00
Xinchen Hui
c081ce628f Bump year 2014-01-03 11:08:10 +08:00
Xinchen Hui
47c9027772 Bump year 2014-01-03 11:06:16 +08:00
Xinchen Hui
c0d060f5c0 Bump year 2014-01-03 11:04:26 +08:00
Christopher Jones
3c166c4758 Merge branch 'PHP-5.5'
* PHP-5.5:
  Reduce (some) compile noise of 'unused variable' and 'may be used uninitialized' warnings.

Conflicts:
	ext/gmp/gmp.c
2013-08-14 20:47:00 -07:00
Christopher Jones
39612afc72 Merge branch 'PHP-5.4' into PHP-5.5
* PHP-5.4:
  Reduce (some) compile noise of 'unused variable' and 'may be used uninitialized' warnings.

Conflicts:
	ext/dba/libinifile/inifile.c
2013-08-14 20:43:25 -07:00
Christopher Jones
9ad97cd489 Reduce (some) compile noise of 'unused variable' and 'may be used uninitialized' warnings. 2013-08-14 20:36:50 -07:00
Christopher Jones
4c3c9d1fe5 Merge branch 'PHP-5.5'
* PHP-5.5:
  Fix long-standing visual pain point: the misalignment of './configure help' text. Whitespace changes and a couple of grammar fixes.
2013-08-06 11:09:12 -07:00
Christopher Jones
c6d977dd39 Fix long-standing visual pain point: the misalignment of './configure help' text.
Whitespace changes and a couple of grammar fixes.
2013-08-06 11:06:09 -07:00
Anatol Belski
5e1ac558c3 make simplexml headers available to the outta world 2013-07-29 22:18:55 +02:00
Nikita Popov
fcc6611de9 Add support for non-scalar Iterator keys in foreach
RFC: https://wiki.php.net/rfc/foreach-non-scalar-keys
2013-03-12 17:27:31 +01:00
Nikita Popov
a59b211b2d Fix get_property_ptr_ptr declaration in simplexml
A new parameter was added to the API and simplexml wasn't adjusted,
thus causing crashes.
2013-03-09 20:15:00 +01:00
Xinchen Hui
a666285bc2 Happy New Year 2013-01-01 16:37:09 +08:00
Xinchen Hui
0a7395e009 Happy New Year 2013-01-01 16:28:54 +08:00
Dmitry Stogov
df97c3aa0d Use get_gc instead of hacks of get_properties 2012-12-05 17:58:36 +04:00
Xinchen Hui
e081c55fb5 Merge branch 'PHP-5.3' into PHP-5.4 2012-10-10 10:31:31 +08:00
Xinchen Hui
610c7fbe7b Remove executable permission on phpt 2012-10-10 10:27:49 +08:00
Xinchen Hui
e4a8fa6a15 Merge branch 'PHP-5.3' into PHP-5.4 2012-10-09 13:29:51 +08:00
Xinchen Hui
6284ef112e Fixed bug #63236 (Executable permission on various source files) 2012-10-09 13:28:31 +08:00
Rob Richards
c5a611b257 Merge branch 'PHP-5.3' into PHP-5.4
# By Daniel Veillard
* PHP-5.3:
  Update to work with libxml 2.9.0
2012-08-09 14:24:50 -04:00
Daniel Veillard
c4b26cc1b0 Update to work with libxml 2.9.0 2012-08-09 14:02:33 -04:00
Stanislav Malyshev
a213c10ef2 Merge branch 'pull-request/112' into PHP-5.4
* pull-request/112:
  Added in NEWS and UPGRADING for feature 55218
  Adding in test for feature 55218
  Implements feature 55218
2012-07-07 12:51:26 -07:00
Marc Easen
896ac689c9 Fixed the common misspelling of the word occurred (occured -> occurred) 2012-06-30 16:54:03 -07:00
Lonny Kapelushnik
2178b1d02d Adding in test for feature 55218 2012-06-21 23:21:17 -04:00
Lonny Kapelushnik
f1ef8b327f Implements feature 55218
Allows you to recursively check namespaces under a child node
instead of from the root of the XML doc
2012-06-21 22:34:46 -04:00
David Soria Parra
c918ca57a7 Merge branch 'PHP-5.3' into PHP-5.4
* PHP-5.3:
  Replace $Revision$ with $Id$ in keyword expansion enable files
  Enable $Id$ expansion for files with the $Revision$ keyword

Conflicts:
	ext/mysqlnd/mysqlnd.h
2012-03-20 17:58:58 +01:00
David Soria Parra
f7b10abae9 Replace $Revision$ with $Id$ in keyword expansion enable files 2012-03-20 17:53:47 +01:00
Felipe Pena
e4ca0ed09f - Year++ 2012-01-01 13:15:04 +00:00
Felipe Pena
4e19825281 - Year++ 2012-01-01 13:15:04 +00:00
Pierre Joye
1a166b2100 - add skipif for dom 2011-09-07 08:12:08 +00:00
Pierre Joye
8dc7e3d8c6 - add skipif for dom 2011-09-07 08:12:08 +00:00
Pierre Joye
9d33b167af - add skipif 2011-09-06 07:09:56 +00:00
Pierre Joye
6402150c91 - add skipif 2011-09-06 07:09:56 +00:00
Christian Stocker
e1813b69c5 Merge from Trunk
simplexml->query returns empty array if no nodes were found
and false if libxml thinks the xpath-expression was invalid.
Behaves now the same like DomXPath and fixes Bug #48601
Adjusted a test to reflect that change
2011-09-01 13:42:45 +00:00
Christian Stocker
13fa5542f7 simplexml->query returns empty array if no nodes were found
and false if libxml thinks the xpath-expression was invalid.
Behaves now the same like DomXPath and fixes Bug #48601
Adjusted a test to reflect that change
2011-08-31 11:44:22 +00:00
Felipe Pena
997f323e3a - Added ZEND_MOD_END macro to use in the end of zend_module_dep[] 2011-08-06 14:47:44 +00:00
Felipe Pena
707a8f70b8 - Added ZEND_MOD_END macro to use in the end of zend_module_dep[] 2011-08-06 14:47:44 +00:00
Felipe Pena
23e438594d - Make usage of new PHP_FE_END macro 2011-07-25 11:42:53 +00:00
Felipe Pena
4b30846b50 - Make usage of new PHP_FE_END macro 2011-07-25 11:35:02 +00:00
Felipe Pena
ebf9db550f - Added missing arginfos for void params and void param checks 2011-06-18 15:56:14 +00:00
Felipe Pena
2b309c8f9e - Added missing arginfos for void params and void param checks 2011-06-18 15:56:14 +00:00
Ilia Alshanetsky
14ed144318 Fixed test 008 2011-06-07 01:40:54 +00:00
Ilia Alshanetsky
de2291689c Fixed test 008 2011-06-07 01:40:54 +00:00
Felipe Pena
32b5f8a1a3 - Added new parameter parsing option (p - for valid path (string without null byte in the middle))
# The tests will be fixed in the next commits
2011-06-06 21:28:16 +00:00
Andrew Curioso
1e3b32c777 Commiting r311138 into the 5.3 branch - fix to SimpleXML get properties hash 2011-05-18 04:43:21 +00:00
Felipe Pena
f912a2d087 - Fixed bug #53991 (SimpleXMLElement::__construct shows no params via ReflectionMethod) 2011-02-11 21:10:48 +00:00
Felipe Pena
ed2cdf31d3 - Fixed bug #53991 (SimpleXMLElement::__construct shows no params via ReflectionMethod) 2011-02-11 21:10:48 +00:00
Felipe Pena
927bf09c29 - Year++ 2011-01-01 02:19:59 +00:00
Felipe Pena
0203cc3d44 - Year++ 2011-01-01 02:17:06 +00:00
Antony Dovgal
c4a5af24e0 fix segfault when node is NULL 2010-12-27 21:47:52 +00:00
Antony Dovgal
874954ed97 fix segfault when node is NULL 2010-12-27 21:47:52 +00:00
Rob Richards
6fab69a17d typo 2010-12-27 19:00:13 +00:00
Rob Richards
8029a7563c typo 2010-12-27 19:00:13 +00:00
Rob Richards
2479cd6ec9 fix crash with entity declarations 2010-12-27 18:57:49 +00:00
Rob Richards
8bd6c63f66 fix crash with entity declarations 2010-12-27 18:57:49 +00:00
Pierre Joye
d8d014be78 - revert fix for #52655, rev. 302614 2010-08-23 17:01:44 +00:00
Pierre Joye
a6c5363f05 - revert fix for #52655, rev. 302614 2010-08-23 17:01:44 +00:00
Kalle Sommer Nielsen
3947bfeadf Fixed bug #52655 (SimpleXMLIterator supports ArrayAccess without implementing the interface) 2010-08-21 16:22:46 +00:00
Kalle Sommer Nielsen
77755af9b6 Fixed bug #52655 (SimpleXMLIterator supports ArrayAccess without implementing the interface) 2010-08-21 16:22:46 +00:00
Dmitry Stogov
04e72491bb Fixed a possible crash because of recursive GC invocation 2010-05-17 07:50:33 +00:00
Dmitry Stogov
059e2be153 Fixed a possible crash because of recursive GC invocation 2010-05-17 07:50:33 +00:00
Rob Richards
1e96fbe4a8 fix bug #48601 (xpath() returns FALSE for legitimate query)
add test
2010-05-05 11:40:11 +00:00
Rob Richards
8a0450698d fix bug #48601 (xpath() returns FALSE for legitimate query)
add test
2010-05-05 11:40:11 +00:00
Rob Richards
0a34d10783 revert change #298288: Remove old dsp/dsw/makefile files 2010-04-28 14:41:51 +00:00
Kalle Sommer Nielsen
518a17e7bf Remove old dsp/dsw/makefile files, these arent used by the build system anymore and are barely updated nor available for all extensions 2010-04-21 23:36:49 +00:00
Felipe Pena
0cbfc91628 - Improve test 2010-04-20 16:45:46 +00:00
Felipe Pena
6df7a7d7b5 - Improve test 2010-04-20 16:45:46 +00:00
Felipe Pena
df43d76e62 - Fixed bug #51615 (PHP crash with wrong HTML in SimpleXML) 2010-04-20 16:24:21 +00:00
Felipe Pena
3a0a2af52c - Fixed bug #51615 (PHP crash with wrong HTML in SimpleXML) 2010-04-20 16:24:21 +00:00
Dmitry Stogov
94dd83722b Changed the structure of op_array.opcodes. The constant values are moved from opcode operands into a separate literal table 2010-04-20 10:57:45 +00:00
Kalle Sommer Nielsen
294e69dd8f Fix assignment when SimpleXML is disabled on Windows 2010-02-25 17:08:17 +00:00
Kalle Sommer Nielsen
8c634336f3 Added parameter parsing check to SimpleXMLElement::count() 2010-02-25 17:06:32 +00:00
Sebastian Bergmann
9ba1e81665 sed -i "s#1997-2009#1997-2010#g" **/*.c **/*.h **/*.php 2010-01-03 09:23:27 +00:00
Ilia Alshanetsky
b6b56ba87a Fixed bug #49800 (SimpleXML allow (un)serialize() calls without warning).
# original patch by wmeler at wp-sa dot pl
2009-10-07 12:46:29 +00:00
Zoe Slattery
1c98e49afd Test from 2009 testfest 2009-08-26 17:17:58 +00:00
Gwynne Raskind
c336c2e5d0 fix broken test (spurious tab characters caused run-tests to spaz) 2009-08-14 09:44:45 +00:00
Jani Taskinen
d35dc78dd3 - Remove duplicate section 2009-08-06 12:40:36 +00:00
andy wharmby
cfc417af37 Add missing SKIPIF sections to tests 2009-08-03 22:40:58 +00:00
Zoe Slattery
98c8c6738a Added comment to XFAIL 2009-07-18 17:00:53 +00:00
Zoe Slattery
d93cf1f610 removing empty XFAIL sections 2009-07-18 16:41:16 +00:00
Hannes Magnusson
4ed202e185 MFH: Mark spl as required and fix extension loading order
# Not needed in 5.2 as the simplexmliterator is part of spl there
2009-06-11 09:41:15 +00:00
David Coallier
0328eaea77 - Fixed Bug #46048 (SimpleXML top-level @attributes not part of iterator)
- Added test for bug #46048
2009-02-03 21:42:35 +00:00
Sebastian Bergmann
08659c2dcd MFH: Bump copyright year, 3 of 3. 2008-12-31 11:15:49 +00:00
Rob Richards
b3f4191d35 MFH: proper exports/imports for win32 2008-12-27 12:22:38 +00:00
Rob Richards
90b040b7d0 MFH: force export on win32 to workaround win32 conig issues 2008-12-27 01:07:49 +00:00
Rob Richards
5690e188da MFH: properly export functions 2008-12-26 20:28:43 +00:00
Pierre Joye
50d26a85a6 - remove the temp hack for libxml path (fixed now)
- do not raise a warning if the extension was not enabled anyway
2008-12-26 14:13:38 +00:00
Pierre Joye
be4a8abd0c - add libxml cflag for shared and static 2008-12-25 01:00:26 +00:00
Pierre Joye
b73aec3e08 - work around missing libxml include path (will be replaced by a PHP_SETUP_LIBXML macro) 2008-12-25 00:47:32 +00:00
Pierre Joye
68bf21ecad - MFH: disable simplexml when libxml is not enabled 2008-12-25 00:01:10 +00:00
Etienne Kneuss
3919b16f04 MFH: Fix #46241 (stacked error_handlers, error_handling in general) 2008-11-19 02:00:53 +00:00
Felipe Pena
fc2fb50d09 - MFH: Added 'static' into ZEND_BEGIN_ARG_INFO_EX macro 2008-11-17 11:28:01 +00:00
Etienne Kneuss
27e41ff48c MFH: Fix #45976 (Move SXE from SPL to SimpleXML) 2008-11-06 00:37:13 +00:00