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

2460 Commits

Author SHA1 Message Date
Daniel Veillard
189f46b18c preparing release 2.6.5, rebuilt the docs, checked rngparser stuff does
* configure.in NEWS doc/*: preparing release 2.6.5, rebuilt the
  docs, checked rngparser stuff does not end up in the tarball
Daniel
2004-01-25 21:03:04 +00:00
Daniel Veillard
05349ab2f6 applied patch from Frederic Peters fixing the wrong arg order in xpath
* python/libxml.c: applied patch from Frederic Peters
  fixing the wrong arg order in xpath callback in bug #130980
Daniel
2004-01-25 20:01:35 +00:00
Daniel Veillard
03c2f0a41d fixing #130453 XInclude element with no href attribute fully integrating
* xinclude.c: fixing #130453 XInclude element with no href attribute
* relaxng.c rngparser.c include/libxml2/relaxng.h: fully integrating
  the compact syntax will require more work, postponed for the
  2.6.5 release.
Daniel
2004-01-25 19:54:59 +00:00
Daniel Veillard
dda22c15d5 applied patch from Steve Ball to avoid a double-free. Daniel
* include/libxml/schemasInternals.h xmlschemas.c: applied patch from
  Steve Ball to avoid a double-free.
Daniel
2004-01-24 08:31:30 +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
Aleksey Sanin
e9f0811a2f make xmlReallocLoc() accept NULL pointer 2004-01-22 22:20:31 +00:00
Daniel Veillard
1516d5b347 applied patch from John Belmonte for normalizedString datatype support.
* xmlschemastypes.c: applied patch from John Belmonte for
  normalizedString datatype support.
Daniel
2004-01-22 07:27:45 +00:00
William M. Brack
ce4fc56e1b fixed problem with union when last() is used in predicate (bug #131971)
* xpath.c: fixed problem with union when last() is used
  in predicate (bug #131971)
* xpointer.c: minor change to comment for doc generation
2004-01-22 02:47:18 +00:00
Daniel Veillard
ae28918bf5 fixed bug #131745 raised by Shaun McCance with the suggested patch Daniel
* parser.c: fixed bug #131745 raised by Shaun McCance with the
  suggested patch
Daniel
2004-01-21 16:00:43 +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
Daniel Veillard
4f4a27f970 applied patch from Stephane Bidoul to add enums to the Python bindings.
* python/generator.py python/tests/tstLastError.py: applied
  patch from Stephane Bidoul to add enums to the Python bindings.
Daniel
2004-01-14 23:50:34 +00:00
Daniel Veillard
c2c0d14217 another small patch from Mark Vadoc Daniel
* testHTML.c: another small patch from Mark Vadoc
Daniel
2004-01-13 20:51:03 +00:00
Daniel Veillard
87247e8740 applied patch from Mark Vadoc to not use SAX1 unless necessary. Daniel
* HTMLparser.c relaxng.c testRelax.c testSchemas.c: applied
  patch from Mark Vadoc to not use SAX1 unless necessary.
Daniel
2004-01-13 20:42:02 +00:00
Daniel Veillard
c82c57e69c some parser optimizations, xmllint --memory --timing --repeat --stream
* dict.c parser.c xmlstring.c: some parser optimizations,
  xmllint --memory --timing --repeat --stream ./db10000.xml
  went down from 16.5 secs to 15.5 secs.
Daniel
2004-01-12 16:24:34 +00:00
Daniel Veillard
65765284fb removed a memory leak remaining from the switch to a dictionnary for
* xmlschemas.c: removed a memory leak remaining from the switch
  to a dictionnary for string allocations c.f. #130891
Daniel
2004-01-08 16:59:30 +00:00
Daniel Veillard
96b6cd2b0b fixing some problem if configured --without-xinclude c.f. #130902 Daniel
* xmlreader.c: fixing some problem if configured --without-xinclude
  c.f. #130902
Daniel
2004-01-08 16:49:50 +00:00
Daniel Veillard
e4177a54c5 changed AC_OUTPUT() macro to avoid a cygwin problem c.f. #130896 Daniel
* configure.in: changed AC_OUTPUT() macro to avoid a cygwin problem
  c.f. #130896
Daniel
2004-01-08 16:43:57 +00:00
Daniel Veillard
abfca61504 applying patch from Mark Vakoc for Windows applied doc fixes from Sven
* win32/Makefile.bcb win32/Makefile.mingw win32/Makefile.msvc:
  applying patch from Mark Vakoc for Windows
* doc/catalog.html doc/encoding.html doc/xml.html: applied doc
  fixes from Sven Zimmerman
Daniel
2004-01-07 23:38:02 +00:00
Daniel Veillard
46da46493f applied patch from Stephane Bidoul for structured error handling from
* python/libxml2-python-api.xml python/libxml_wrap.h python/types.c
  python/tests/Makefile.am python/tests/tstLastError.py: applied
  patch from Stephane Bidoul for structured error handling from
  python, and the associated test
Daniel
2004-01-06 22:54:57 +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
5987071fcc fixed the comment in the header rebuilt the docs Daniel
* include/libxml/xmlstring.h: fixed the comment in the header
* doc/*: rebuilt the docs
Daniel
2004-01-06 14:17:05 +00:00
William M. Brack
a2e844a3b3 moved string and UTF8 routines out of parser.c and encoding.c into a new
* encoding.c, parser.c, xmlstring.c, Makefile.am,
  include/libxml/Makefile.am, include/libxml/catalog.c,
  include/libxml/chvalid.h, include/libxml/encoding.h,
  include/libxml/parser.h, include/libxml/relaxng.h,
  include/libxml/tree.h, include/libxml/xmlwriter.h,
  include/libxml/xmlstring.h:
  moved string and UTF8 routines out of parser.c and encoding.c
  into a new module xmlstring.c with include file
  include/libxml/xmlstring.h mostly using patches from Reid
  Spencer.  Since xmlChar now defined in xmlstring.h, several
  include files needed to have a #include added for safety.
* doc/apibuild.py: added some additional sorting for various
  references displayed in the APIxxx.html files.  Rebuilt the
  docs, and also added new file for xmlstring module.
* configure.in: small addition to help my testing; no effect on
  normal usage.
* doc/search.php: added $_GET[query] so that persistent globals
  can be disabled (for recent versions of PHP)
2004-01-06 11:52:13 +00:00
MST 2004 John Fleck
0f124fdd80 doc/tutorial/customfo.xsl doc/tutorial/customhtml.xsl update custom
Mon Jan  5 20:47:07 MST 2004 John Fleck <jfleck@inkstain.net>

	* doc/tutorial/customfo.xsl
	* doc/tutorial/customhtml.xsl
	update custom tutorial-building stylesheets in preparation
	for tutorial update
2004-01-06 03:48:57 +00:00
Daniel Veillard
d7306b0f20 commiting the compact relax ng parser. It's not completely finished, it's
* rngparser.c: commiting the compact relax ng parser. It's not
  completely finished, it's not integrated but I want to save the
  current state
Daniel
2004-01-05 23:11:54 +00:00
William M. Brack
09a4d0abf3 fixed apibuild.py's generation of "constructors" to be in alphabetical
* doc/apibuild.py, doc/APIconstructors.html, doc/libxml2-refs.xml,
  win32/libxml2.def.src: fixed apibuild.py's generation of
  "constructors" to be in alphabetical order (instead of previous
  random sequence); regenerated resulting files.
2004-01-05 14:28:43 +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
John Fleck
35df6d404d John Fleck <jfleck@inkstain.net> forgot a ChangeLog
John Fleck <jfleck@inkstain.net>
forgot a ChangeLog
2004-01-05 02:01:51 +00:00
MST 2004 John Fleck
2050d89fff change background color of function declaration to improve readability
Sun Jan  4 18:54:29 MST 2004 John Fleck <jfleck@inkstain.net>

	* doc/newapi.xsl: change background color of function
	declaration to improve readability
	* doc/*: rebuild docs with new stylesheet
2004-01-05 01:56:38 +00:00
William M. Brack
7762bb1537 added a routine xmlStrncatNew to create a new string from 2 frags. added
* parser.c, include/libxml/parser.h: added a routine
  xmlStrncatNew to create a new string from 2 frags.
* tree.c: added code to check if node content is from
  dictionary before trying to change or concatenate.
2004-01-04 14:49:01 +00:00
William M. Brack
24d9048570 (removed extra blank line in my last entry) 2004-01-04 07:22:59 +00:00
William M. Brack
9202942ba3 applied suggestion from Miloslav Trmac (see Bug 130419) and eliminated
* xmlmemory.c: applied suggestion from Miloslav Trmac (see
  Bug 130419) and eliminated xmlInitMemoryDone.  More
  improvement needed.

* xml2-config.in: added an additional flag (--exec-prefix) to
  allow library directory to be different from include directory
  (Bug 129558).
2004-01-04 01:01:14 +00:00
Daniel Veillard
d34b0b8fb8 applied patch from Stphane Bidoul for structured error reporting. Daniel
* error.c: applied patch from Stphane Bidoul for structured error
  reporting.
Daniel
2004-01-02 20:26:01 +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
William M. Brack
aae10527fa fixed problem with "recursive" include (fallback contains another include
* xinclude.c: fixed problem with "recursive" include (fallback
  contains another include - Bug 129969)
2004-01-02 14:59:41 +00:00
Daniel Veillard
1a9b7084f6 found and fixed a bug misallocating some non blank text node strings from
* SAX2.c: found and fixed a bug misallocating some non
  blank text node strings from the dictionnary.
* xmlmemory.c: fixed a problem with the memory debug mutex
  release.
Daniel
2004-01-02 10:42:01 +00:00
William M. Brack
1ff4213edd fixed problem caused by wrong dictionary reference count, reported on the
* xinclude.c: fixed problem caused by wrong dictionary
  reference count, reported on the list by Christopher
  Grayce.
2003-12-31 14:05:15 +00:00
William M. Brack
f7eb794c14 fixed problem pointed out by Stphane Bidoul on the list. completed
* python/generator.py, python/libxml2class.txt: fixed problem
  pointed out by Stphane Bidoul on the list.
* xinclude.c, xpointer.c, xpath.c, include/libxml/xpointer.h:
  completed modifications required to fix Bug 129967 (at last!).
  Now wait to see how long before further trouble...
2003-12-31 07:59:17 +00:00
William M. Brack
72ee48d55f Fixed memory leak reported by Dave Beckett Removed spurious comment
* parser.c, xmlmemory.c, include/libxml/xmlmemory.h: Fixed
  memory leak reported by Dave Beckett
* xmlschemas.c: Removed spurious comment reported on the mailing
  list
* xinclude.c, xpath.c, xpointer.c, libxml/include/xpointer.h:
  Further work on Bug 129967 concerning xpointer range handling
  and range-to function; much better, but still not complete
2003-12-30 08:30:19 +00:00
Daniel Veillard
1f5c9891a0 xmlValidateElement could crash for element holding a namespace declaration
* valid.c: xmlValidateElement could crash for element holding a
  namespace declaration but not in a namespace. Oliver Fischer
  provided the example.
Daniel
2003-12-29 17:09:55 +00:00
Daniel Veillard
d21f61b59f issue validation status on stderr, not stdout as suggested by Pawel
* xmllint.c: issue validation status on stderr, not stdout as suggested
  by Pawel Palucha
* result/relaxng/*: this change slightly all the output from RNG
  regressions.
Daniel
2003-12-29 10:31:21 +00:00
William M. Brack
081719182d edited a couple of comments in accordance with posting on the mailing list
* xmlschemas.c: edited a couple of comments in accordance with
  posting on the mailing list (no logic change)
* xpointer.c: working on Bug 129967, added check for NULL
  nodeset to prevent crash.  Further work required.
* xpath.c: working on Bug 129967, added code to handle
  XPATH_LOCATIONSET in RANGETO code, also added code to
  handle it in xmlXPathEvaluatePredicateResult.  Further
  work required.
2003-12-29 02:52:11 +00:00
William M. Brack
b15351e54d added tests for xs:all to assure minOccurs and maxOccurs <= 1 (Bug 130020)
* xmlschemas.c: added tests for xs:all to assure minOccurs
  and maxOccurs <= 1 (Bug 130020)
2003-12-27 04:34:42 +00:00
William M. Brack
dc99df936c fixed xmlFAParseCharRange for Unicode ranges with patch from Charles
* xmlregexp.c: fixed xmlFAParseCharRange for Unicode ranges
  with patch from Charles Bozeman.
2003-12-27 01:54:25 +00:00
William M. Brack
9887395b55 fixed problem causing segfault on validation error condition (reported on
* xmlregexp.c: fixed problem causing segfault on validation error
  condition (reported on mailing list)
2003-12-26 06:03:14 +00:00
William M. Brack
cf9eadf7f9 fixed missing dictionaries for Memory and Doc parser contexts (problem
* xmlschemas.c: fixed missing dictionaries for Memory and Doc
  parser contexts (problem reported on mailing list)
* doc/apibuild.py: small change to prevent duplicate lines
  on API functions list.  It will take effect the next time
  the docs are rebuilt.
2003-12-25 13:24:05 +00:00
Daniel Veillard
e6e59cdf33 updated the docs and prepared a new release 2.6.4 Daniel
* configure.in NEWS doc/*: updated the docs and prepared a new
  release 2.6.4
Daniel
2003-12-24 11:56:44 +00:00
Daniel Veillard
509028f212 remove deprecated warning on startElement() Daniel
* legacy.c: remove deprecated warning on startElement()
Daniel
2003-12-24 11:10:17 +00:00
Daniel Veillard
b98d082eef XInclude xpointer support was broken with the new namespace. Fixes #129932
* xinclude.c result/XInclude/nodes2.*: XInclude xpointer support
  was broken with the new namespace. Fixes #129932
Daniel
2003-12-24 11:06:25 +00:00
Daniel Veillard
b0f397e108 types might be redefined in includes, quick fix to allow this but lacks
* xmlschemas.c include/libxml/schemasInternals.h: types might be
  redefined in includes, quick fix to allow this but lacks the
  equality of the redefinition test.
Daniel
2003-12-23 23:30:53 +00:00
Daniel Veillard
49bcb3a8ef Fixed typo pointed out by S.-H. Zimmermann, Daniel 2003-12-23 16:47:44 +00:00