1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-02-20 13:57:22 +03:00

19 Commits

Author SHA1 Message Date
William M. Brack
87640d5f14 minor warning cleanup (no change to logic) fixed return value for internal
* xmlschemas.c, xmlwriter.c, doc/examples/parse4.c,
  doc/examples/io2.c: minor warning cleanup (no change to logic)
* xinclude: fixed return value for internal function
  xmlXIncludeLoadFallback (now always 0 or -1)
2004-04-17 14:58:15 +00:00
Daniel Veillard
500a1de533 applied patch from Alfred Mickautsch for better DTD support. fixed bug
* xmlwriter.c include/libxml/xmlwriter.h doc/* : applied patch from
  Alfred Mickautsch for better DTD support.
* SAX2.c HTMLparser.c parser.c xinclude.c xmllint.c xmlreader.c
  xmlschemas.c: fixed bug #137867 i.e. fixed properly the way
  reference counting is handled in the XML parser which had the
  side effect of removing a lot of hazardous cruft added to try
  to fix the problems associated as they popped up.
* xmlIO.c: FILE * close fixup for stderr/stdout
Daniel
2004-03-22 15:22:58 +00:00
Daniel Veillard
ab69f366d0 applied update from Alfred Mickautsch and the added patch from Lucas
* xmlwriter.c include/libxml/xmlwriter.h: applied update
  from Alfred Mickautsch and the added patch from Lucas Brasilino
Daniel
2004-02-17 11:40:32 +00:00
William M. Brack
1ce3c802e2 fixed problem with return value of xmlTextWriterWriteIndent() (bug 133297)
* xmlwriter.c: fixed problem with return value of
  xmlTextWriterWriteIndent() (bug 133297)
2004-02-06 13:03:38 +00:00
William M. Brack
b907905369 enhanced output indenting (bug 133264)
* xmlwriter.c: enhanced output indenting (bug 133264)
2004-02-03 04:20:18 +00:00
William M. Brack
a9c612c3ee moved serialization of attribute text data (xmlSerializeContent) into a
* tree.c, include/libxml/tree.h: moved serialization of
  attribute text data (xmlSerializeContent) into a separate
  routine (xmlSerializeTxtContent) so it can be used by xmlwriter.c
* xmlwriter.c: changed handling of attribute string to use the
  routine above (fixed bug 131548)
2004-02-01 10:04:05 +00:00
Daniel Veillard
4773df2a58 added io1.c an example ox xmlIO usage and io1.res test result, fixed a
* doc/examples/*: added io1.c an example ox xmlIO usage and io1.res
  test result, fixed a awful lot of memory leaks showing up in
  testWriter.c, changed the examples and the Makefiles to test
  memory leaks.
* xmlwriter.c: fixed a memory leak
* Makefile.am: run the doc/examples regression tests as part of
  make tests
* xpath.c include/libxml/xpath.h: added xmlXPathCtxtCompile() to
  compile an XPath expression within a context, currently the goal
  is to be able to reuse the XSLT stylesheet dictionnary, but this
  opens the door to others possible optimizations.
* dict.c include/libxml/dict.h: added xmlDictCreateSub() which allows
  to build a new dictionnary based on another read-only dictionnary.
  This is needed for XSLT to keep the stylesheet dictionnary read-only
  while being able to reuse the strings for the transformation
  dictionnary.
* xinclude.c: fixed a dictionnar reference counting problem occuring
  when document parsing failed.
* testSAX.c: adding option --repeat for timing 100times the parsing
* doc/* : rebuilt all the docs
Daniel
2004-01-23 13:15:13 +00:00
Daniel Veillard
20c5e7878d applied patch from Alfred Mickautsch fixing a memory leak reported on the
* xmlwriter.c: applied patch from Alfred Mickautsch fixing a memory
  leak reported on the list.
Daniel
2004-01-21 09:57:31 +00:00
William M. Brack
5d4cba413a fixed Bug130593 fixed compilation warning
* configure.in: fixed Bug130593
* xmlwriter.c: fixed compilation warning
2004-01-06 15:19:12 +00:00
Daniel Veillard
751c9ec657 applied patch from Lucas Brasilino fixing an indent problem. Daniel
* xmlwriter.c: applied patch from Lucas Brasilino fixing an indent
  problem.
Daniel
2004-01-05 13:05:58 +00:00
Daniel Veillard
2cca446b86 applied the patch from Lucas Brasilino to add indentation support to
* include/libxml/xmlwriter.h xmlwriter.c: applied the patch from
  Lucas Brasilino to add indentation support to xmlWriter
Daniel
2004-01-02 20:04:23 +00:00
Daniel Veillard
10c08c7d06 applied the patch to xmlTextWriterStartPI() suggested by Daniel Schulman
* xmlwriter.c: applied the patch to xmlTextWriterStartPI()
  suggested by Daniel Schulman in #128313
Daniel
2003-12-09 15:14:26 +00:00
Daniel Veillard
1e90661bb8 cleanup the make rebuild in doc, this include new directive to stop
* globals.c xmlwriter.c doc/apibuild.py include/libxml/globals.h
  include/libxml/pattern.h include/libxml/schemasInternals.h
  include/libxml/xmlexports.h include/libxml/xmlwriter.h: cleanup
  the make rebuild in doc, this include new directive to stop
  documentation warnings
* doc/* doc/html/*: rebuilt the docs
* pattern.c xmlreader.c include/libxml/pattern.h
  include/libxml/xmlreader.h: adding xmlTextReaderPreservePattern()
  to save nodes while scanning the tree with the reader, cleanup
  the way element were freed, and xmlTextReaderPreserve()
  implementation, the API might change for namespace binding support
  when compiling patterns.
* doc/examples/*: added reader3.c exposing the xmlTextReaderPreserve()
Daniel
2003-12-05 14:57:46 +00:00
Igor Zlatkovic
b23de5ad89 added IN_LIBXML macro 2003-11-27 18:36:46 +00:00
Daniel Veillard
1d91386313 applied patch from Robert Stepanek to start import os schemas support,
* xmlschemas.c: applied patch from Robert Stepanek to start
  import os schemas support, cleaned up stuff and the patch.
* test/schemas/import0_0.* result/schemas/import0_0_0*: added test
  to regression, fixed a few regressions too.
Daniel
2003-11-21 00:28:39 +00:00
Daniel Veillard
5841f0e0a4 applied patch from Alfred Mickautsch, bugfixes and comments added his test
* xmlwriter.c include/libxml/xmlwriter.h: applied patch from
  Alfred Mickautsch, bugfixes and comments
* doc/examples/*: added his test as the xmlWriter example
* doc/html/ doc/*.html: this resulted in some improvements
* include/libxml/hash.h: fixed an inclusion problem when
  <libxml/hash.h> wasn't preceeded by <xml/parser.h>
Daniel
2003-11-20 11:59:09 +00:00
William M. Brack
b1d531659b minor enhancement to prevent comment with unreferenced variable. edited
* genChRanges.py, chvalid.c, include/libxml/chvalid.h: minor
  enhancement to prevent comment with unreferenced variable.
* threads.c xmlreader.c xmlwriter.c: edited some comments to
  improve auto-generation of documentation
* apibuild.py: minor change to an error message
2003-11-18 06:54:40 +00:00
Daniel Veillard
929714b707 applied patch from Alfred Mickautsch fixing #125180 Daniel
* xmlwriter.c: applied patch from Alfred Mickautsch fixing #125180
Daniel
2003-10-22 12:34:36 +00:00
Daniel Veillard
1d211e2273 added the xmlWriter module contributed by Alfred Mickautsch added room for
* configure.in xmlwriter.c Makefile.am include/libxml/xmlwriter.h
  include/libxml/Makefile.am include/libxml/xmlversion.h.in:
  added the xmlWriter module contributed by Alfred Mickautsch
* include/libxml/tree.h: added room for line and extra information
* xmlreader.c python/tests/reader6.py: bugfixing some problem some
  of them introduced in September
* win32/libxml2.def.src doc/libxml2-api.xml: regenerated the API
Daniel
2003-10-20 22:32:39 +00:00