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

3151 Commits

Author SHA1 Message Date
Daniel Veillard
33b20b70e2 release of 2.6.22 updated doc and rebuild. added XML_SAVE_NO_XHTML
* NEWS configure.in doc//*: release of 2.6.22 updated doc and
  rebuild.
* xmlsave.c include/libxml/xmlsave.h: added XML_SAVE_NO_XHTML
  xmlSaveOption
* xmlschemas.c: minor cleanups
Daniel
2005-09-12 21:43:20 +00:00
Kasimier T. Buchcik
91b2314354 And adapting another one.
* test/schemas/import1_0.xsd: And adapting another one.
2005-09-12 19:44:00 +00:00
Kasimier T. Buchcik
56cbbf2d82 Adapted result.
* result/schemas/derivation-ok-extension_0_0: Adapted result.
2005-09-12 19:31:53 +00:00
Kasimier T. Buchcik
cf0123d352 Adapted regression results.
* result/schemas/allsg_0_3.err result/schemas/allsg_0_4.err
  result/schemas/changelog093_1_0.err
  result/schemas/derivation-ok-extension_0_0.err
  result/schemas/import1_0_0.err
  result/schemas/derivation-ok-restriction-2-1-1_0_0.err:
  Adapted regression results.
2005-09-12 19:24:59 +00:00
Kasimier T. Buchcik
22c0c46515 Completion of the schema graph. Centralisation, more robustness of the
* xmlschemas.c include/libxml/schemasInternals.h
  include/libxml/xmlerror.h: Completion of the schema graph.
  Centralisation, more robustness of the schema document
  aquisition story. Centralised and restructured component fixup.
  Fixed attribute derivation when 'prohibiting' attribute uses.
  Added warnings: when schema documents cannot be localized
  during imports; when we get duplicate and pointless attribute
  prohibitions. Changed error reports for IDCs to report
  the relevant IDC designation as well (requested by GUY Fabrice).
  Misc code-cleanup.
2005-09-12 19:09:46 +00:00
Daniel Veillard
dbd6105321 applied second patch from David Madore to be less intrusive when handling
* xmlsave.c: applied second patch from David Madore to be less intrusive
  when handling scripts and style elements in XHTML1 should fix #316041
* test/xhtml1 result//xhtml1\*: updated the test accordingly
Daniel
2005-09-12 14:03:26 +00:00
Daniel Veillard
1db4a66b9a finished the integration with devhelp, completing the index and inserted
* libxml.spec.in doc/devhelp/*: finished the integration with
  devhelp, completing the index and inserted into the gtk-doc
  database at "make install" stage
Daniel
2005-09-12 13:10:09 +00:00
Rob Richards
2ce51c0646 add XML_SAVE_NO_EMPTY save option and use option from xmlSaveCtxtPtr
* include/libxml/xmlsave.h xmlsave.c: add XML_SAVE_NO_EMPTY save option
  and use option from xmlSaveCtxtPtr rather than global during output.
* xmlsave.c: fix some output formatting for meta element under XHTML.
2005-09-12 12:16:35 +00:00
Daniel Veillard
602434dee5 damn XML_FEATURE_UNICODE clashes with Expat headers rename to XML_WITH_ to
* include/libxml/parser.h parser.c xmllint.c: damn XML_FEATURE_UNICODE
  clashes with Expat headers rename to XML_WITH_ to fix bug #316053.
* doc/Makefile.am: build devhelp before the examples.
* doc/*: regenerated the API
Daniel
2005-09-12 09:20:31 +00:00
Daniel Veillard
60071aecb3 fix bug #316034, where xmlElemDump() can crash if given a document pointer
* xmlsave.c: fix bug #316034, where xmlElemDump() can crash if
  given a document pointer instead of an element
Daniel
2005-09-12 00:03:43 +00:00
Daniel Veillard
fb5c6c474b improvements on the html generation, should be complete with navigation,
* doc/devhelp/devhelp.xsl: improvements on the html generation,
  should be complete with navigation, what is left done is glueing
Daniel
2005-09-11 23:26:44 +00:00
Daniel Veillard
99b78502b6 started work needed to generate devhelp content, not too hard based on the
* configure.in doc/Makefile.am doc/apibuild.py doc/libxml2-api.xml
  doc/devhelp/*: started work needed to generate devhelp content,
  not too hard based on the existing format and extractor.
Daniel
2005-09-11 22:04:08 +00:00
Daniel Veillard
eca59a25f7 fixes bug #315617 when using push CDATA in some cases. Daniel
* parser.c: fixes bug #315617 when using push CDATA in some cases.
Daniel
2005-09-09 10:56:28 +00:00
Daniel Veillard
8c6e65314f patch from Stphane Bidoul to compile without schematron Daniel
* xmllint.c: patch from Stphane Bidoul to compile without schematron
Daniel
2005-09-08 21:39:47 +00:00
Daniel Veillard
7837dd8bc3 patch from Oleg Paraschenko to fix xmlDebugDumpNode() when handled a
* debugXML.c: patch from Oleg Paraschenko to fix xmlDebugDumpNode()
  when handled a namespace node.
Daniel
2005-09-06 22:16:57 +00:00
Daniel Veillard
8240f512a9 Small fix to spec file, Daniel 2005-09-04 23:04:44 +00:00
Daniel Veillard
0bcc7f6ae9 updated the docs and rebuild releasing 2.6.21 removed
* NEWS elfgcchack.h testapi.c doc/*: updated the docs and rebuild
  releasing 2.6.21
* include/libxml/threads.h threads.c: removed xmlIsThreadsEnabled()
* threads.c include/libxml/threads.h xmllint.c: added the more
  generic xmlHasFeature() as suggested by Bjorn Reese, xmllint uses it.
Daniel
2005-09-04 21:39:03 +00:00
Daniel Veillard
b3d1491b69 prepare for release work for #303289, fix a formatting bug for MIN_INT
* configure.in doc/* configure.in: prepare for release
* xpath.c: work for #303289, fix a formatting bug for MIN_INT
Daniel
2005-09-04 20:47:39 +00:00
Daniel Veillard
b30ca313b5 real fix for #314881 and #314759 is was a bit more complex than initially
* relaxng.c: real fix for #314881 and #314759 is was a bit more complex
  than initially expected as ctxt->error == NULL had behaviour side
  effects at the compilation level itself.
Daniel
2005-09-04 13:50:03 +00:00
Daniel Veillard
f03a8cdacd fixing yet another pattern induced XPath bug #314282 reverted back last
* pattern.c xpath.c include/libxml/pattern.h: fixing yet another
  pattern induced XPath bug #314282
* relaxng.c: reverted back last change it was seriously broken
Daniel
2005-09-04 12:01:57 +00:00
Rob Richards
07b7200775 check for NULL to prevent crash with meta elements
* xmlsave.c: check for NULL to prevent crash with meta elements
2005-09-03 14:56:36 +00:00
Daniel Veillard
e40afecb89 structured error reporting problem with Relax-NG should fix #314881 and
* relaxng.c: structured error reporting problem with Relax-NG
  should fix #314881 and #314759
Daniel
2005-09-03 14:28:02 +00:00
Daniel Veillard
f5812c3179 fixes a portability problem raised by C370 on Z/OS Daniel
* pattern.c: fixes a portability problem raised by C370 on Z/OS
Daniel
2005-09-03 13:43:20 +00:00
Daniel Veillard
54f9a4f508 fixing a number of issues raised by xml:id but more generally related to
* SAX2.c tree.c valid.c: fixing a number of issues raised by xml:id
  but more generally related to attributes and ID handling, fixes
  #314358 among other things
Daniel
2005-09-03 13:28:24 +00:00
Daniel Veillard
2e7598cb06 avoid passing a char[] as snprintf first argument. implemented
* encoding.c parserInternals.c: avoid passing a char[] as snprintf
  first argument.
* threads.c include/libxml/threads.h: implemented xmlIsThreadsEnabled()
  based on Andrew W. Nosenko idea.
* doc/* elfgcchack.h: regenerated the API
Daniel
2005-09-02 12:28:34 +00:00
Daniel Veillard
c2f7056adb the use of AM_PATH_PYTHON is not portable enough reverting back to
* configure.in: the use of AM_PATH_PYTHON is not portable enough
  reverting back to AM_PATH_PROG
Daniel
2005-09-01 12:45:26 +00:00
Daniel Veillard
36d73403ff Applied the last patch from Gary Coady for #304637 changing the behaviour
* HTMLparser.c: Applied the last patch from Gary Coady for #304637
  changing the behaviour when text nodes are found in body
* result/HTML/*: this changes the output of some tests
Daniel
2005-09-01 09:52:30 +00:00
Daniel Veillard
9a27b86f53 adding reference to Bull AIX rpms c.f. #160598 Daniel
* doc/downloads.html doc/xml.html: adding reference to Bull AIX rpms
  c.f. #160598
Daniel
2005-09-01 09:25:47 +00:00
Daniel Veillard
cb2a71e3ba removed the obsolete --libtool-libs option, c.f. bug #314853 Daniel
* xml2-config.in: removed the obsolete --libtool-libs option, c.f.
  bug #314853
Daniel
2005-08-31 09:39:42 +00:00
Rob Richards
201087538b move handling of meta element for http-equiv in XHTML docs to
* xmlsave.c: move handling of meta element for http-equiv in XHTML docs to
  serialization and no longer modify internal tree.
2005-08-30 22:47:33 +00:00
Rob Richards
31f73028a2 move handling of meta element for http-equiv in XHTML docs to
* xmlsave.c: move handling of meta element for http-equiv in XHTML docs to
  serialization and no longer modify internal tree.
2005-08-26 15:33:26 +00:00
Daniel Veillard
baad7887d3 the profiling usually don't work, disabled rebuilt Daniel
* libxml.spec.in: the profiling usually don't work, disabled
* doc/*: rebuilt
Daniel
2005-08-25 22:52:51 +00:00
Daniel Veillard
32a461f68b trying to fix the first part of #310033 by detecting gcc <= 3.2 Daniel
* configure.in: trying to fix the first part of #310033 by
  detecting gcc <= 3.2
Daniel
2005-08-25 21:48:54 +00:00
Daniel Veillard
8ce01ce31e fixed bug #310033, the URI extraction code given a node is a bit twisted
* error.c: fixed bug #310033, the URI extraction code given a
  node is a bit twisted and broke in the last months.
Daniel
2005-08-25 20:14:38 +00:00
Daniel Veillard
b6580aef14 uninitialized field and fix on test. Daniel
* debugXML.c result/XPath/xptr/strrange2: uninitialized field and
  fix on test.
Daniel
2005-08-25 14:18:56 +00:00
Daniel Veillard
cfa303ac70 change verbosity depending on API get back to previous outputs Daniel
* debugXML.c: change verbosity depending on API
* result/XPath/tests/* result/XPath/xptr/* result/xmlid/*: get back
  to previous outputs
Daniel
2005-08-25 14:03:56 +00:00
Daniel Veillard
8874b94cd2 added a parser XML_PARSE_COMPACT option to allocate small text nodes (less
* HTMLparser.c parser.c SAX2.c debugXML.c tree.c valid.c xmlreader.c
  xmllint.c include/libxml/HTMLparser.h include/libxml/parser.h:
  added a parser XML_PARSE_COMPACT option to allocate small
  text nodes (less than 8 bytes on 32bits, less than 16bytes on 64bits)
  directly within the node, various changes to cope with this.
* result/XPath/tests/* result/XPath/xptr/* result/xmlid/*: this
  slightly change the output
Daniel
2005-08-25 13:19:21 +00:00
Daniel Veillard
3854c57a99 patch from Andrew W. Nosenko, use se $GCC = 'yes' instead of $CC = 'gcc'
* configure.in: patch from Andrew W. Nosenko, use se $GCC = 'yes'
  instead of $CC = 'gcc' because GCC may have a different name
Daniel
2005-08-25 10:17:45 +00:00
Daniel Veillard
4f69eb6945 changes the way the python binary is found, should also fix bug #308004
* configure.in: changes the way the python binary is found, should
  also fix bug #308004
Daniel
2005-08-24 22:19:10 +00:00
Daniel Veillard
53bd1f3c2c found another bug while looking at #309616 on missing entities. this
* parser.c: found another bug while looking at #309616 on missing
  entities.
* result/ent2.sax* result/ent7.sax* result/xml2.sax*: this changed the
  SAX stream in missing conditions for a few tests
Daniel
2005-08-24 14:46:07 +00:00
Daniel Veillard
2644ab270e applied the patch suggested #309565 which can avoid looping in error
* encoding.c: applied the patch suggested #309565 which can avoid
  looping in error conditions.
Daniel
2005-08-24 14:22:55 +00:00
Daniel Veillard
73da77e0d7 line numbers are now carried by most nodes, fixing xmlGetLineNo() c.f. bug
* SAX2.c tree.c: line numbers are now carried by most nodes, fixing
  xmlGetLineNo() c.f. bug #309205
Daniel
2005-08-24 14:05:37 +00:00
Daniel Veillard
1fc3ed0280 finally converted the encoding module to the common error reporting
* encoding.c error.c include/libxml/xmlerror.h: finally converted
  the encoding module to the common error reporting mechanism
* doc/* doc/html/libxml-xmlerror.html: rebuilt
Daniel
2005-08-24 12:46:09 +00:00
Daniel Veillard
8bda20f73c removed a potentially uninitialized variable error fixed a deprecation
* xpath.c: removed a potentially uninitialized variable error
* python/generator.py: fixed a deprecation warning
* python/tests/tstLastError.py: silent the damn test when Okay !
Daniel
2005-08-24 09:36:47 +00:00
Daniel Veillard
bca3ad25f9 fixed compilation when configured --without-sax1 and other cleanups fixes
* SAX2.c globals.c runtest.c testC14N.c testapi.c tree.c
  include/libxml/SAX2.h include/libxml/xmlregexp.h: fixed compilation
  when configured --without-sax1 and other cleanups fixes bug #172683
* doc/* elfgcchack.h: regenerated
Daniel
2005-08-23 22:14:02 +00:00
Daniel Veillard
9668826368 fixed bug #170489 reported by Jirka Kosek added the test to the regression
* parser.c: fixed bug #170489 reported by Jirka Kosek
* test/valid/objednavka.xml test/valid/dtds/objednavka.dtd
  result/valid/objednavka*: added the test to the regression suite.
Daniel
2005-08-23 18:14:12 +00:00
Daniel Veillard
ea4b0baef2 added a recovery mode for the HTML parser based on the suggestions of bug
* HTMLparser.c include/libxml/HTMLparser.h: added a recovery mode
  for the HTML parser based on the suggestions of bug #169834 by
  Paul Loberg
Daniel
2005-08-23 16:06:08 +00:00
Daniel Veillard
17cccb5e01 Hopefully fixed this time, daniel 2005-08-23 13:49:54 +00:00
Daniel Veillard
ccb4d41c13 regenerated fixed a compilation problem some cleanups and one bug fix
* elfgcchack.h testapi.c doc/*: regenerated
* schematron.c: fixed a compilation problem
* xmlregexp.c include/libxml/xmlregexp.h: some cleanups and one bug fix
* result/expr/base: slightly changes the number of Cons.
Daniel
2005-08-23 13:41:17 +00:00
Daniel Veillard
5eee767ca9 rescanned code and rebuilt small cleanup cleanup problems from code
* elfgcchack.h testapi.c doc/*: rescanned code and rebuilt
* xmlregexp.c: small cleanup
* include/libxml/schematron.h include/libxml/xmlexports.h
  include/libxml/xmlversion.h.in: cleanup problems from code scanner
Daniel
2005-08-22 21:22:27 +00:00