Commit Graph

46 Commits

Author SHA1 Message Date
Felipe Pena
84a8bb038a MFH: New way for check void parameters 2008-03-10 22:15:36 +00:00
Sebastian Bergmann
d1dded8751 MFH: Bump copyright year, 2 of 2. 2007-12-31 07:17:19 +00:00
Ilia Alshanetsky
a687b6e6b3 Fixed bug #43099 (XMLWriter::endElement() does not check # of params) 2007-10-24 22:49:02 +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
Pierre Joye
19d1d24d60 - [@DOC] MFH: #41326, better fix. It restores BC and allows both canonical
and short form:
  - when $content is given, the closing tag will be generated (even for empty
  string)
  - when $content is ignored or NULL is given, the short form will be used
2007-05-14 09:23:49 +00:00
Pierre Joye
223cfe342f - MFH: #41326, Writing empty tags with Xmlwriter::WriteElement[ns] 2007-05-08 21:41:36 +00:00
Rob Richards
78ccf4e0c2 Fix bug #41287 (Namespace functions don't allow xmlns to be optional)
add test
2007-05-04 20:16:39 +00:00
Rob Richards
57792acabc MFH: parameter entity argument (pe) should be bool
update test
2007-01-06 18:03:43 +00:00
Hannes Magnusson
252b9e9fb1 MFH: bug #39504 (xmlwriter_write_dtd_entity() creates Attlist tag, not entity)
Add & improve test
2007-01-06 15:53:33 +00:00
Ilia Alshanetsky
cb70d99ee2 fixed compiler warning 2007-01-01 19:35:47 +00:00
Ilia Alshanetsky
5787b56554 Added missing entity functions (MFH from HEAD)
Fixed php_xmlwriter_streams_IO_close() docs
2007-01-01 19:21:48 +00:00
Sebastian Bergmann
4223aa4d5e MFH: Bump year. 2007-01-01 09:36:18 +00:00
Nuno Lopes
d6802e1022 statification of local functions and variables.
also remove a few uneeded global variables
interesting new warnings:
/cvs/php5/ext/xmlwriter/php_xmlwriter.c:391: warning: 'xmlwriter_objects_clone' defined but not used
/cvs/php5/ext/xmlwriter/php_xmlwriter.c:1281: warning: 'zif_xmlwriter_start_dtd_entity' defined but not used
/cvs/php5/ext/xmlwriter/php_xmlwriter.c:1325: warning: 'zif_xmlwriter_end_dtd_entity' defined but not used
/cvs/php5/ext/xmlwriter/php_xmlwriter.c:1333: warning: 'zif_xmlwriter_write_dtd_entity' defined but not used
2006-11-09 16:04:34 +00:00
Hannes Magnusson
050f94f746 MFH: Fix double "wron param count" messages 2006-11-03 14:46:48 +00:00
Nuno Lopes
557b583434 plug leaks that in the previous patch 2006-09-16 18:18:55 +00:00
Nuno Lopes
c7101ba6d2 add missing checks around expand_filepath() 2006-09-16 18:15:25 +00:00
Antony Dovgal
24d3381b10 fix typo, add new test 2006-07-11 16:33:25 +00:00
Rob Richards
1048c9cd52 Synch with HEAD 2006-05-10 19:38:35 +00:00
Marcus Boerger
77c1b56cd7 - Update after api changes 2006-05-10 00:00:13 +00:00
Antony Dovgal
0f510a6a95 #ifdef new functions and use their bodies to make PECL extensions compile with PHP < 5.1.3
(as was agreed with Ilia)
2006-04-03 14:59:30 +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
Antony Dovgal
bccf4bd9e7 MFH: initialize variables and reduce the number of warnings 2006-02-06 11:28:41 +00:00
foobar
5bd93221a8 bump year and license version 2006-01-01 12:51:34 +00:00
Ilia Alshanetsky
ab55ed15d5 Fixed parameter parsing for setIndent() method. 2005-12-17 20:04:57 +00:00
Antony Dovgal
9417c070f6 MFH: fix C++ comments in C code 2005-12-15 13:58:10 +00:00
Rob Richards
cc96967132 MFH: allow NULL prefix to create default namespace
fix tests
2005-12-09 20:52:15 +00:00
Rob Richards
c98ef984d8 MFH: enable a few additional functions
- add tests
2005-12-09 04:57:20 +00:00
Rob Richards
5b561a6df3 MFH: fix res parameter typos
- add test
2005-12-07 05:09:33 +00:00
Antony Dovgal
72e366657b MFH: fix compile warning 2005-12-03 23:20:07 +00:00
Ilia Alshanetsky
bcd9356df5 Added xmlwriter to 5.1 2005-12-02 02:05:26 +00:00
SVN Migration
4571221d8e This commit was manufactured by cvs2svn to create branch 'PHP_5_1'. 2005-08-08 23:59:05 +00:00
Rob Richards
f63e56dc1a Fix build under PHP 4 2005-06-25 10:16:59 +00:00
Rob Richards
e923ffddab fix build for libxml > 2.6.17 2005-06-24 21:00:27 +00:00
Pierre Joye
4f2bca6cc9 - fix win32 builds, vc likes to have declarations first 2005-06-24 10:22:21 +00:00
Pierre Joye
8c1c4865ac - Add OO interface
- some {{{ fixes
2005-06-23 11:28:25 +00:00
Rob Richards
d42656b033 use php streams for uri I/O under PHP 4 2005-03-04 15:41:33 +00:00
Pierre Joye
19c1535ae5 - revert previous commit, use libxml version to enable or not a function
(safer)
- add xmlwriter_flush, flush the buffer, works with both file and mem
  buffer, BC kept
- use ifdef for the function implementation
(Rob, Pierre)
2005-02-24 15:08:37 +00:00
Marcus Boerger
03c03f5890 - Checks for older versions of libxml2 2005-02-23 23:02:01 +00:00
Rob Richards
6966023564 fix libxml versions for comments 2005-02-23 11:25:32 +00:00
Pierre Joye
0802829ad4 - ifdef all (protos and functions) and using the correct version
- fix protos ending
- ws
2005-02-22 08:05:05 +00:00
Pierre Joye
46eb3e977c - add xmlTextWriterStartComment and xmlTextWriterEndComment support 2005-02-21 15:05:54 +00:00
Pierre Joye
f67803801e - more zend_bool.
Fix flush buffer in output_memory
  Fix isparm in start_dtd_entity
2005-02-20 19:31:52 +00:00
Pierre Joye
3e5b42a291 - int is not zend_bool, fixed indented output 2005-02-20 19:00:25 +00:00
Rob Richards
1aa7fda66b Fix bug #2482 (xmlwriter_start_document chrashes apache)
Fix other function parameters
prep for release
2004-10-08 14:54:15 +00:00
Rob Richards
180306cf88 add optional flush paramter to xmlwriter_output_memory 2004-07-20 15:13:53 +00:00
Rob Richards
d64a00da04 initial xmlwriter code 2004-07-13 17:01:30 +00:00