1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-01-15 23:24:06 +03:00

431 Commits

Author SHA1 Message Date
Daniel Veillard
c084e47841 integrated a cleaned up version of Marc Liyanage' patch for boolean
* HTMLtree.c include/libxml/HTMLtree.h: integrated a cleaned up
  version of Marc Liyanage' patch for boolean attributes in HTML
  output
Daniel
2002-08-12 13:27:28 +00:00
Daniel Veillard
58e44c9daf adding a new API for Christian Glahn: xmlParseBalancedChunkMemoryRecover
* parser.c include/libxml/parser.h: adding a new API for Christian
  Glahn: xmlParseBalancedChunkMemoryRecover
* valid.c: patch from Rick Jones for some grammar cleanup in
  validation messages
* result/VC/* result/valid/*: this slightly change some of the
  regression tests outputs
Daniel
2002-08-02 22:19:49 +00:00
Daniel Veillard
6f46f6c5b8 Opening the interface xmlNewCharEncodingHandler as requested in #89415
* encoding.c include/libxml/encoding.h: Opening the interface
  xmlNewCharEncodingHandler as requested in #89415
* python/generator.py python/setup.py.in: applied cleanup
  patches from Marc-Andre Lemburg
* tree.c: fixing bug #89332 on a specific case of loosing
  the XML-1.0 namespace on xml:xxx attributes
Daniel
2002-08-01 12:22:24 +00:00
Aleksey Sanin
2c135a1cf1 fixed one more c14n + namespaces corner case from new Merlin's test suite
* c14n.c include/libxml/c14n.h: fixed one more c14n + namespaces                corner case from new Merlin's test suite and added a callback                   that will be used to improve xmlsec performance
2002-08-01 06:31:50 +00:00
PDT 2002 Aleksey Sanin
8e8a703c76 added _private member to xmlNs struct
Mon Jul 22 11:04:48 PDT 2002  Aleksey Sanin <aleksey@aleksey.com>
* include/libxml/tree.h: added _private member to xmlNs struct
2002-07-22 18:03:11 +00:00
William M. Brack
0c022ad823 xpath.c fix bug 85256 2002-07-12 00:56:01 +00:00
Daniel Veillard
539638ba23 preparing 2.4.23 rebuilt the docs Daniel
* configure.in: preparing 2.4.23
* doc/*: rebuilt the docs
Daniel
2002-07-06 19:55:14 +00:00
Daniel Veillard
5f7f991ab7 applied patch from Sander Vesik improving the quality of the hash
* hash.c: applied patch from Sander Vesik improving the quality of
  the hash function.
Daniel
2002-06-17 17:03:00 +00:00
Daniel Veillard
9e4123023a patch from Richard Jinks for XPath substring() function new set of tests
* xpath.c: patch from Richard Jinks for XPath substring() function
* result/XPath/expr/strings test/XPath/expr/strings: new set of tests
Daniel
2002-06-10 15:59:44 +00:00
Aleksey Sanin
f8cb6dda89 added merlin-c14n-two.tar.gz tests for c14n/exc-c14n and slightly modified
* result/c14n/exc-without-comments/merlin-c14n-two-*
  result/c14n/without-comments/merlin-c14n-two-*
  test/c14n/exc-without-comments/merlin-c14n-two-*
  test/c14n/without-comments/merlin-c14n-two-*
  testC14N.c Makefile.am: added merlin-c14n-two.tar.gz tests for
c14n/exc-c14n and slightly modified test script to handle
these test cases
* c14n.c: fixed bugs for complicated nodes set (namespace
without node and others from merlin-c14n-two.tar.gz)
* include/libxml/xpathInternals.h win32/dsp/libxml2.def.src
win32/libxml2.def.src: "opened" xmlXPathNodeSetFreeNs() function
for xmlsec performance patch
* xpath.c: fixed self::node() for namespaces and attributes
2002-06-04 04:27:06 +00:00
Daniel Veillard
46de64e9c0 performance patch from Peter Jacobi Daniel
* SAX.c parser.c tree.c include/libxml/tree.h: performance patch from
  Peter Jacobi
Daniel
2002-05-29 08:21:33 +00:00
Daniel Veillard
d5e22ef580 preparing 2.4.22 Daniel
* configure.in: preparing 2.4.22
Daniel
2002-05-27 21:17:57 +00:00
Daniel Veillard
1b31e4a0b2 fixing #79334 making htmlParseDocument a public entry point. rebuilt the
* HTMLparser.c win32/libxml2.def.src win32/dsp/libxml2.def.src
  include/libxml/HTMLparser.h: fixing #79334 making htmlParseDocument
  a public entry point.
* doc/*: rebuilt the API and docs
Daniel
2002-05-27 14:44:50 +00:00
Aleksey Sanin
23002568a6 changed default value for global parameter xmlIndentTreeOutput to 1 and
* global.data globals.c tree.c include/libxml/globals.h                         win32/libxml2.def.src win32/dsp/libxml2.def.src: changed                        default value for global parameter xmlIndentTreeOutput to 1 and                 introduced new global parameter xmlTreeIndentString (the string                 used to do one-level indent) with default value "  " (as it was                 in tree.c)
2002-05-24 07:18:40 +00:00
Daniel Veillard
10b6da4aa5 apply a couple of patches from Christian Cornelssen fixing the man pages
* libxml.3 doc/buildDocBookCatalog: apply a couple of patches
  from Christian Cornelssen fixing the man pages and the Catalog
  building script.
* xmlschemas.c include/libxml/schemasInternals.h: nothing new yet
  next step is <xs:import> I now have a reasonable understanding
  of how it works.
Daniel
2002-05-18 07:55:20 +00:00
Aleksey Sanin
79376ba948 maked xmlXPathNodeSetAddNs() function public for XMLSec performance
* xpath.c include/libxml/xpathInternals.h: maked xmlXPathNodeSetAddNs()
          function public for XMLSec performance optimizations
2002-05-14 06:41:32 +00:00
Aleksey Sanin
5aac8b85dd exported default 'file:', 'http:' and 'ftp:' protocols input handlers and
* include/libxml/xmlIO.h win32/dsp/libxml2.def.src
win32/libxml2.def.src xmlIO.c: exported default
'file:', 'http:' and 'ftp:' protocols input handlers
and maked protocols comparisson case insensitive
2002-05-01 18:32:28 +00:00
Daniel Veillard
fc57b41cb1 preparing 2.4.21 raised a too low limit rebuilt the docs Daniel
* configure.in include/libxml/xmlwin32version.h: preparing 2.4.21
* valid.c: raised a too low limit
* doc/*: rebuilt the docs
Daniel
2002-04-29 15:50:14 +00:00
Daniel Veillard
13e04c6c12 fixed validation of attribute groups. added an example from the primer
* xmlschemas.c: fixed validation of attribute groups.
* test/schemas result/schemas: added an example from the primer
Daniel
2002-04-23 17:51:29 +00:00
Daniel Veillard
88c5891a25 more work on Schemas updated the test list Daniel
* Makefile.am xmlschemas.c xmlschemastypes.c: more work on Schemas
* test/schemas result/schemas: updated the test list
Daniel
2002-04-23 07:12:20 +00:00
Daniel Veillard
e19fc23b64 updated a bit made a comment more specific more work on the Schemas
* TODO: updated a bit
* parser.c: made a comment more specific
* xmlregexp.c xmlschemas.c xmlschemastypes.c: more work on the
  Schemas conformance.
* test/schemas result/schemas: updated the test list
Daniel
2002-04-22 16:01:24 +00:00
Daniel Veillard
441bc32e31 implementing xs:all with minOccurs = 0 added more tests covering xs:all
* xmlregexp.c xmlschemas.c include/libxml/xmlautomata.h:
  implementing xs:all with minOccurs = 0
* tes/schemas/* result/schemas/*: added more tests covering
  xs:all
Daniel
2002-04-20 17:38:48 +00:00
Daniel Veillard
7646b18d64 another entity processing update from Markus Henke Daniel
* tree.c: another entity processing update from Markus Henke
Daniel
2002-04-20 06:41:40 +00:00
Igor Zlatkovic
648b8e9707 *** empty log message *** 2002-04-17 18:35:57 +00:00
Daniel Veillard
b509f1543d more work on the automata interfaces and debug of counted choices added a
* xmlregexp.c xmlschemas.c include/libxml/xmlautomata.h: more work
  on the automata interfaces and debug of counted choices
* test/schemas/* result/schemas/*: added a number of tests
Daniel
2002-04-17 16:28:10 +00:00
Daniel Veillard
8651f5365c a bit of work on Schemas try to make it more useful changed the Schemas
* xmlschemas.c xmlschemastypes.c include/libxml/xmlschemas.h:
  a bit of work on Schemas
* testSchemas.c: try to make it more useful
* test/schemas/* result/schemas/* Makefile.am: changed the
  Schemas regression test procedure, started adding a few samples
Daniel
2002-04-17 09:06:27 +00:00
Igor Zlatkovic
a6f2d90669 *** empty log message *** 2002-04-16 17:57:17 +00:00
Daniel Veillard
4255d50415 merged the current state of XML Schemas implementation, it is not
* Makefile.am TODO_SCHEMAS configure.in genUnicode.py testAutomata.c
 testRegexp.c testSchemas.c xmlregexp.c xmlschemas.c xmlschemastypes.c
 xmlunicode.c include/libxml/Makefile.am
 include/libxml/schemasInternals.h include/libxml/xmlautomata.h
 include/libxml/xmlregexp.h include/libxml/xmlschemas.h
 include/libxml/xmlschemastypes.h include/libxml/xmlunicode.h
 include/libxml/xmlversion.h.in : merged the current state of
 XML Schemas implementation, it is not configured in by default,
 a specific --schemas configure option has been added.
* test/automata test/regexp test/schemas Makefile.am
  result/automata result/regexp result/schemas:
  merged automata/regexp/schemas regression tests
Daniel
2002-04-16 15:50:10 +00:00
Daniel Veillard
a7084cd57e release of 2.4.20 updated and rebuilt the docs Daniel
* configure.in: release of 2.4.20
* doc/*: updated and rebuilt the docs
Daniel
2002-04-15 17:12:47 +00:00
Daniel Veillard
9b731d709e trying to fix #77441 Daniel
* configure.in: trying to fix #77441
Daniel
2002-04-14 12:56:08 +00:00
Daniel Veillard
a8a89fe587 Hallski complained it could not be included by itself. Daniel
* include/libxml/xmlIO.h: Hallski complained it could not be
  included by itself.
Daniel
2002-04-12 21:03:34 +00:00
Daniel Veillard
da423da207 Silvan Minghetti pointed erroneous use of LIBXML_THREADS_ENABLED instead
* xpath.c include/libxml/xmlwin32version.h.in: Silvan Minghetti
  pointed erroneous use of LIBXML_THREADS_ENABLED instead of
  LIBXML_THREAD_ENABLED
Daniel
2002-04-10 19:25:38 +00:00
Daniel Veillard
192740927a preparing 2.4.19 rebuilt the docs Daniel
* configure.in: preparing 2.4.19
* doc/*: rebuilt the docs
Daniel
2002-03-25 16:48:03 +00:00
Daniel Veillard
9e537937a6 applied 2 fixups from Igor Daniel
* xmlcatalog.c include/libxml/xmlversion.h.in: applied 2 fixups
  from Igor
Daniel
2002-03-21 13:08:08 +00:00
Daniel Veillard
561b7f883e dohh I really didn't intended to commit this test version :-( Daniel
* HTMLparser.c error.c parser.c parserInternals.c tree.c xmlIO.c
  include/libxml/tree.h: dohh I really didn't intended to commit
  this test version :-(
Daniel
2002-03-20 21:55:57 +00:00
Daniel Veillard
e50f3b5d54 I wanted to see the real speed at the SAX interface after a little too
* testSAX.c: I wanted to see the real speed at the SAX interface
  after a little too many Ximianer started complaining about the
  parser speed.
  added a --quiet option:
  paphio:~/XML -> ls -l db100000.xml
  -rw-rw-r--    1 veillard www      20182040 Mar 20 10:30 db100000.xml
  paphio:~/XML -> time ./testSAX --quiet db100000.xml
  3200006 callbacks generated
  real	0m1.270s
  Which means 16MBytes/s and 3Mcallback/s
Daniel
2002-03-20 19:24:21 +00:00
Daniel Veillard
34ce8bece2 preparing 2.4.18 updated and rebuilt the web site implement the new
* configure.in: preparing 2.4.18
* doc/*: updated and rebuilt the web site
* *.c libxml.h: implement the new IN_LIBXML scheme discussed with
  the Windows and Cygwin maintainers.
* parser.c: humm, changed the way the SAX parser work when
  xmlSubstituteEntitiesDefault(1) is set, it will then
  do the entity registration and loading by itself in case the
  user provided SAX getEntity() returns NULL.
* testSAX.c: added --noent to test the behaviour.
Daniel
2002-03-18 19:37:11 +00:00
Daniel Veillard
61f261749f Heiko W. Rupp fixed a lot of comments to generate better API descriptions
* include/libxml/*.h: Heiko W. Rupp fixed a lot of comments
  to generate better API descriptions etc...
Daniel
2002-03-12 18:46:39 +00:00
Daniel Veillard
9ff8817e67 Fixing #74186, made sure all boolean expressions get fully parenthesized,
* c14n.c: Fixing #74186, made sure all boolean expressions
  get fully parenthesized, ran indent on the output
* configure.in HTMLtree.c SAX.c c14n.c debugXML.c tree.c xpointer.c
  include/libxml/tree.h: also #74186 related, removed the
  --with-buffers option, and all the preprocessor conditional
  sections that were resulting from it.
Daniel
2002-03-11 09:15:32 +00:00
Daniel Veillard
af43f63aaa preparing 2.4.17 release updated and rebuilt the docs fixed a comment
* configure.in: preparing 2.4.17 release
* doc/*: updated and rebuilt the docs
* xpath.c: fixed a comment
* python/libxml.c: fixed a possible reentrancy problem
Daniel
2002-03-08 15:05:20 +00:00
Daniel Veillard
bcf64c0d85 Oops forgot to add c14n.h to the makefile.am, Daniel 2002-03-05 00:08:55 +00:00
Daniel Veillard
044fc6b747 fixing #61290 "namespace nodes have no parent" long standing divergence
* xpath.c: fixing #61290 "namespace nodes have no parent"
  long standing divergence from the XPath REC. NodeSets
  simply hold a copy of namespace nodes and those node ->next
  points to the parent (which may not be the node carrying the
  definition).
* include/libxml/xpath.h: flagged but didn't added a possible
  speedup
* DOCBparser.c HTMLparser.c: removed some warnings from push
  parser due to new state being added.
* tree.c: new fix from Boris Erdmann
* configure.in c14n.c include/libxml/c14n.h testC14N.c: added
  the XML Canonalization support from Aleksey Sanin
Daniel
2002-03-04 17:09:44 +00:00
Daniel Veillard
7839e16128 fixes a misplaced #endif Daniel
* include/libxml/parserInternals.h: fixes a misplaced #endif
Daniel
2002-02-20 18:54:48 +00:00
Daniel Veillard
5f4b5999b4 preparing 2.4.16 updated and rebuilt the docs, rebuilt the API and web
* configure.in include/libxml/xmlwin32version.h: preparing 2.4.16
* doc/* python/libxml2class.txt: updated and rebuilt the docs,
  rebuilt the API and web site
* xpath.c: fixed #71978 portability bugs
Daniel
2002-02-20 10:22:49 +00:00
Daniel Veillard
8dc16a642a had to change 2 internal parsing API when processing document content to
* include/libxml/parserInternals.h parser.c: had to change
  2 internal parsing API when processing document content
  to check the start and end of element content are defined
  in the same entity
* valid.c include/libxml/valid.h: attribute normalization can
  generate a validity error added xmlValidCtxtNormalizeAttributeValue()
  with the context to report it.
* SAX.c: fixed the last known bugs, crazy validation constraints
  when a document is standalone seems correctly handled. There
  is a couple of open issues left which need consideration especially
  PE93 on external unparsed entities and standalone status.
  Ran 1819 tests: 1817 suceeded, 2 failed and 0 generated an error in 8.26 s.
  The 2 tests left failing are actually in error. Cleanup done.
Daniel
2002-02-19 21:08:48 +00:00
Daniel Veillard
4a7ae50350 isExtender was missing a char % are acceptable in the internal subset if
* xmlInternald.c: isExtender was missing a char
* parser.c include/libxml/parser.h: % are acceptable in the
  internal subset if within a PUBLIC ID
Daniel
2002-02-18 19:18:17 +00:00
Daniel Veillard
e4301c8bdf fixing a comment fixing some troubles with validity check on namespaces
* include/libxml/entities.h: fixing a comment
* valid.c: fixing some troubles with validity check on namespaces
* result/VC/NS3 test/VC/NS3: added a specific regression test
Daniel
2002-02-13 13:32:35 +00:00
Daniel Veillard
397ff11cdd preparing 2.4.15 rebuilt some docs Daniel
* configure.in include/libxml/xmlwin32version.h: preparing 2.4.15
* doc/news.html doc/xml.html doc/xmlio.html: rebuilt some docs
Daniel
2002-02-11 18:27:20 +00:00
Daniel Veillard
6c4ffafd8f trying to fix the include mess Daniel
* include/libxml/encoding.h include/libxml/entities.h
  include/libxml/globals.h include/libxml/parser.h
  include/libxml/threads.h include/libxml/tree.h
  include/libxml/xmlmemory.h: trying to fix the include mess
Daniel
2002-02-11 08:54:05 +00:00
Daniel Veillard
1a612ed3f0 reverted part of the previous attempt to provide #69655, this was breaking
* include/libxml/xmlmemory.h: reverted part of the previous
  attempt to provide #69655, this was breaking the build.
Daniel
2002-02-11 07:54:45 +00:00