1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2024-10-26 12:25:09 +03:00
Commit Graph

122 Commits

Author SHA1 Message Date
Daniel Veillard
64354ea7d6 fixed bug reported by Petr Pajas, in the absence of encoding UTF-8 should
* xmlsave.c: fixed bug reported by Petr Pajas, in the absence of
  encoding UTF-8 should really be assumed. This may break if
  the HTTP headers indicates for example ISO-8859-1 since this
  then becomes a well formedness error.
Daniel
2005-03-31 15:22:56 +00:00
William M. Brack
12d37ab634 fixed problem when XMLLINT_INDENT was empty (bug 168033). fixed
* xmlsave.c: fixed problem when XMLLINT_INDENT was empty (bug 168033).
* xpath.c: fixed compilation warning, no change to logic.
* xmlschemastypes.c: fixed compilation warning, no change to logic.
2005-02-21 13:54:07 +00:00
William M. Brack
4e1c2db89e fixed compilation warning changed xmlWarningMsg so ctxt->errNo is not set
* dict.c: fixed compilation warning
* parser.c: changed xmlWarningMsg so ctxt->errNo is not set
* xmllint.c: changed to return non-zero status if error
  on xinclude processing
* xmlsave.c: minor deletion of a redundant condition statement
2005-02-11 10:58:55 +00:00
Daniel Veillard
6fc5db0090 trying to fix at least the message from bug #158628 added first xmlsave
* xmlschemastypes.c: trying to fix at least the message from
  bug #158628
* include/libxml/xmlsave.h xmlsave.c: added first xmlsave option
  for format, c.f. bug #159997
Daniel
2005-01-16 00:05:58 +00:00
Daniel Veillard
ce682bc24b autogenerate a minimal NULL value sequence for unknown pointer types This
* gentest.py testapi.c: autogenerate a minimal NULL value sequence
  for unknown pointer types
* HTMLparser.c SAX2.c chvalid.c encoding.c entities.c parser.c
  parserInternals.c relaxng.c valid.c xmlIO.c xmlreader.c
  xmlsave.c xmlschemas.c xmlschemastypes.c xmlstring.c xpath.c
  xpointer.c: This uncovered an impressive amount of entry points
  not checking for NULL pointers when they ought to, closing all
  the open gaps.
Daniel
2004-11-05 17:22:25 +00:00
Daniel Veillard
ce244ad595 fixed the way the generator works, extended the testing, especially with
* gentest.py testapi.c: fixed the way the generator works,
  extended the testing, especially with more real trees and nodes.
* HTMLtree.c tree.c valid.c xinclude.c xmlIO.c xmlsave.c: a bunch
  of real problems found and fixed.
* entities.c: fix error reporting to go through the new handlers
Daniel
2004-11-05 10:03:46 +00:00
Daniel Veillard
3d97e669ec extending the tests coverage more fixes and cleanups Daniel
* gentest.py testapi.c: extending the tests coverage
* HTMLtree.c tree.c xmlsave.c xpointer.c: more fixes and cleanups
Daniel
2004-11-04 10:49:00 +00:00
Daniel Veillard
41c4a753bc fixed 2 problems raised by #152140, one which is that notation not in the
* valid.c xmlsave.c: fixed 2 problems raised by #152140, one
  which is that notation not in the internal subset should
  not be saved, and the second more nasty on an error saving
  NOTATIONs, if there is a proof that nobody uses notations !
Daniel
2004-09-08 20:55:38 +00:00
Daniel Veillard
da3b29a5c4 added a dumb rule to able to compile tst.c when people submit a sample
* Makefile.am: added a dumb rule to able to compile tst.c
  when people submit a sample test program
* xmlschemas.c: applied small patch from Eric Haszlakiewicz
  to document xmlSchemasSetValidErrors() limitations, #141827
* error.c: Add information in generic and structured error
  setter functions that this need to be done per thread #144308
* xmlsave.c: fixed bug whith missing NOTATION(s) serialization
  bug #144162
* doc/xmllint.xml: typo fix #144840
Daniel
2004-08-14 11:15:13 +00:00
Daniel Veillard
a2351322c8 hack based on Arjan van de Ven suggestion to reduce ELF footprint and
* elfgcchack.h doc/elfgcchack.xsl libxml.h: hack based on Arjan van de
  Ven suggestion to reduce ELF footprint and generated code. Based on
  aliasing of libraries function to generate direct call instead of
  indirect ones
* doc/libxml2-api.xml doc/Makefile.am doc/apibuild.py: added automatic
  generation of elfgcchack.h based on the API description, extended
  the API description to show the conditionals configuration flags
  required for symbols.
* nanohttp.c parser.c xmlsave.c include/libxml/*.h: lot of cleanup
* doc/*: regenerated the docs.
Daniel
2004-06-27 12:08:10 +00:00
Daniel Veillard
3995bc3618 start adding API for escaping customization. Daniel
* xmlsave.c include/libxml/xmlsave.h: start adding API for
  escaping customization.
Daniel
2004-05-15 18:57:31 +00:00
Daniel Veillard
7a6361f710 more xmlSave cleanup, optimization and refactoring Daniel
* xmlsave.c: more xmlSave cleanup, optimization and refactoring
Daniel
2004-05-15 16:37:50 +00:00
Daniel Veillard
83a75e05b0 third pass at the escaping refactoring. Daniel
* xmlIO.c xmlsave.c: third pass at the escaping refactoring.
Daniel
2004-05-14 21:50:42 +00:00
Daniel Veillard
ee8960bcab second pass on escaping handling, start to looks better, need to be
* xmlIO.c xmlsave.c include/libxml/xmlIO.h: second pass on escaping
  handling, start to looks better, need to be completed and added
  directly at the saving context level.
Daniel
2004-05-14 03:25:14 +00:00
Daniel Veillard
5d1a4d81bf first pass at refactoring the escape on save routines for better
* xmlIO.c xmlsave.c include/libxml/xmlIO.h: first pass at refactoring
  the escape on save routines for better performances (less malloc)
  and more flexibility using the new saving context. Preliminary
  work, interface will change.
Daniel
2004-05-13 14:31:25 +00:00
Daniel Veillard
f0244cea96 apply fix for XHTML1 formating from Nick Wellnhofer fixes bug #141266
* xmlsave.c: apply fix for XHTML1 formating from Nick Wellnhofer
  fixes bug #141266
* test/xhtmlcomp result//xhtmlcomp*: added the specific regression
  test
Daniel
2004-05-09 23:48:39 +00:00
Daniel Veillard
656ce948ab Fixed bug #141529 i.e. various problems when building with --without-html
* xmllint.c xmlsave.c python/generator.py python/libxml.c: Fixed
  bug #141529 i.e. various problems when building with --without-html
Daniel
2004-04-30 23:11:45 +00:00
Daniel Veillard
e2161a699b fix a nasty problem with reading over the end fix a reported memory leak
* xmlreader.c: fix a nasty problem with reading over the end
* xmlsave.c: fix a reported memory leak apparently
Daniel
2004-04-29 17:14:25 +00:00
Daniel Veillard
377e1a9059 move the TODO as comments as the function while not finished are usable
* xmlsave.c: move the TODO as comments as the function while not
  finished are usable as-is
* xmlschemas.c include/libxml/xmlerror.h: patch from Kasimier Buchcik
  implementing union
* test/schemas/union_0_0.x* result/schemas/union_0_0*: added example
* python/Makefile.am: applied fix from Mike Hommey
Daniel
2004-04-16 16:30:05 +00:00
Daniel Veillard
753086ac9b optimize indentation based on the new context Daniel
* xmlsave.c: optimize indentation based on the new context
Daniel
2004-03-28 16:12:44 +00:00
Daniel Veillard
32b7cdb6b7 switched the output routines to use the new context. Daniel
* xmlsave.c: switched the output routines to use the new context.
Daniel
2004-03-15 13:46:37 +00:00
Daniel Veillard
1a8741c898 commiting the new xmlsave module before the actuall big code change.
* Makefile.am tree.c xmlsave.c include/libxml/xmlsave.h: commiting
  the new xmlsave module before the actuall big code change.
Daniel
2004-03-04 13:40:59 +00:00