1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-03-10 08:58:16 +03:00

3134 Commits

Author SHA1 Message Date
Daniel Veillard
ad87d5e891 added a small section on returning memory to the kernel by compacting the
* doc/xml.html doc/xmlmem.html: added a small section on returning
  memory to the kernel by compacting the heap provided by Wolfram Sang
Daniel

svn path=/trunk/; revision=3682
2008-02-04 16:50:03 +00:00
Rob Richards
82fbf579b2 fix build under VS 2008. patch by David Wimsey
* include/win32config.h win32/Makefile.msvc: fix build under VS 2008.
  patch by David Wimsey

svn path=/trunk/; revision=3681
2008-01-25 19:03:37 +00:00
Daniel Veillard
c707d0b765 fix a memeory leak in internal subset parsing with a fix from Ashwin add
* parser.c: fix a memeory leak in internal subset parsing with
  a fix from Ashwin
* test/errors/content1.xml result/errors/content1.xml*:
  add test to regressions
Daniel

svn path=/trunk/; revision=3680
2008-01-24 14:48:54 +00:00
Daniel Veillard
72c1dfd9c6 preparing release of 2.6.31 daniel
* configure.in doc/*: preparing release of 2.6.31
daniel

svn path=/trunk/; revision=3679
2008-01-24 14:39:12 +00:00
Daniel Veillard
b3edafd72d avoid a warning on 64bits introduced earlier make more checking on the
* parser.c: avoid a warning on 64bits introduced earlier
* parserInternals.c: make more checking on the UTF-8 input
Daniel

svn path=/trunk/; revision=3676
2008-01-11 08:00:57 +00:00
Daniel Veillard
c5b43cc03a avoid stopping parsing when encountering out of range characters in an
* HTMLparser.c: avoid stopping parsing when encountering
  out of range characters in an HTML file, report and 
  continue processing instead, should fix #472696
Daniel

svn path=/trunk/; revision=3675
2008-01-11 07:41:39 +00:00
Daniel Veillard
9ebb632238 patches from John Carr to start cleaning up 'make diskcheck' problems c.f.
* check-relaxng-test-suite2.py check-relaxng-test-suite.py
  Makefile.am python/tests/Makefile.am python/Makefile.am
  check-xsddata-test-suite.py: patches from John Carr to
  start cleaning up 'make diskcheck' problems c.f. #506228
Daniel

svn path=/trunk/; revision=3674
2008-01-11 07:19:24 +00:00
Daniel Veillard
5608b174b7 apply fix from Stefan Kost to avoid a crash in xmllint, fixes 504284
* xmllint.c: apply fix from Stefan Kost to avoid a crash
  in xmllint, fixes 504284
Daniel

svn path=/trunk/; revision=3673
2008-01-11 06:53:15 +00:00
Daniel Veillard
aa2404e92e apply patch from Fred Crozat to avoid outputting -L/usr/lib from
* xml2-config.in: apply patch from Fred Crozat to avoid
  outputting -L/usr/lib from xml2-config, fixes #497012
Daniel

svn path=/trunk/; revision=3672
2008-01-11 06:44:00 +00:00
Daniel Veillard
640f89ef61 fix definition for <embed> to avoid error when saving back, patch from
* HTMLparser.c: fix definition for <embed> to avoid error
  when saving back, patch from Stefan Behnel fixing 495213
Daniel

svn path=/trunk/; revision=3671
2008-01-11 06:24:09 +00:00
Daniel Veillard
9e264adfb1 applied patch from Christian Schmidt fixing a column counter update
* parser.c: applied patch from Christian Schmidt fixing a 
  column counter update problem, fixes #472696
Daniel

svn path=/trunk/; revision=3670
2008-01-11 06:10:16 +00:00
Daniel Veillard
ac4118d5ca handle a erroneous parsing of attributes in case said attribute has been
* parser.c: handle a erroneous parsing of attributes in 
  case said attribute has been redeclared in the DTD with a
  different type
* hash.c: fix the hash scanner to not crash if a first element
  from the hash list is been removed in the callback
Daniel

svn path=/trunk/; revision=3669
2008-01-11 05:27:32 +00:00
Daniel Veillard
7e26fb4b10 fix indentation in xmlTextWriterFullEndElement, as raised by Felipe Pena,
* xmlwriter.c: fix indentation in xmlTextWriterFullEndElement,
  as raised by Felipe Pena, should fix #508156
Daniel

svn path=/trunk/; revision=3668
2008-01-09 02:19:50 +00:00
Rob Richards
3108ba92b7 fix crash from double free of name for bug #501760
* pattern.c: fix crash from double free of name for bug #501760

svn path=/trunk/; revision=3667
2007-12-06 10:08:52 +00:00
Daniel Veillard
5fce6d6870 remove unused variable in __xmlGlobalInitMutexLock reported by Hannes Eder
* threads.c: remove unused variable in __xmlGlobalInitMutexLock
  reported by Hannes Eder
Daniel

svn path=/trunk/; revision=3666
2007-11-23 10:46:55 +00:00
Daniel Veillard
00fde4e490 remove a cut-and-paste copy error Daniel
* xmlregexp.c: remove a cut-and-paste copy error
Daniel

svn path=/trunk/; revision=3665
2007-11-19 17:38:33 +00:00
Rob Richards
91eb560c7c __xmlGlobalInitMutexDestroy() will free global_init_lock on Win32. Patch
* globals.c threads.c include/libxml/threads.h: 
  __xmlGlobalInitMutexDestroy() will free global_init_lock on Win32.
  Patch from Marc-Antoine Ruel.

svn path=/trunk/; revision=3664
2007-11-16 10:54:59 +00:00
Rob Richards
b9ba0facb5 fix crash/leaks from xmlSchematronParse due to improper schema document
* schematron.c: fix crash/leaks from xmlSchematronParse due to improper
  schema document ownership for bug #495215

svn path=/trunk/; revision=3663
2007-11-13 20:27:52 +00:00
Daniel Veillard
2a512dac2d xmlFree(NULL) should not crash in debug mode should fix #491651 Daniel
* xmlmemory.c: xmlFree(NULL) should not crash in debug mode
  should fix #491651
Daniel

svn path=/trunk/; revision=3662
2007-10-30 20:24:40 +00:00
Daniel Veillard
1bc8d853eb add a debug option printing all the fields within the parsed URI structure
* testURI.c: add a debug option printing all the fields within
  the parsed URI structure
Daniel

svn path=/trunk/; revision=3661
2007-10-16 12:18:18 +00:00
Daniel Veillard
a76a81f638 fix to avoid a crash when dumping an attribute from an XHTML document,
* xmlsave.c: fix to avoid a crash when dumping an attribute from
  an XHTML document, patch contributed to fix #485298
Daniel

svn path=/trunk/; revision=3660
2007-10-10 08:28:18 +00:00
Daniel Veillard
c821e03c66 another nasty regexp case fixed. added to regression suite Daniel
* xmlregexp.c: another nasty regexp case fixed.
* test/regexp/ranges2 result/regexp/ranges2: added to regression
  suite
Daniel

svn path=/trunk/; revision=3658
2007-08-28 17:33:45 +00:00
William M. Brack
ec72008ba7 Enhanced to include port number (if not == 80) on the "Header:" URL (bug
* nanohttp.c: Enhanced to include port number (if not == 80) on the
  "Header:" URL (bug #469681).
* xmlregexp.c: Fixed a typo causing a warning message.

svn path=/trunk/; revision=3657
2007-08-24 02:57:38 +00:00
Daniel Veillard
cd2ebab7d9 fix an open() call with creation without 3rd argument hopefully that
* nanohttp.c: fix an open() call with creation without 3rd argument
  hopefully that interface is never used.
Daniel

svn path=/trunk/; revision=3656
2007-08-23 20:47:33 +00:00
Daniel Veillard
c1b3fe0516 preparing release of 2.6.30 Daniel
* configure.in doc/*: preparing release of 2.6.30
Daniel

svn path=/trunk/; revision=3654
2007-08-23 15:00:06 +00:00
William M. Brack
f179456d0f fixed mlXPathCompOpEvalPositionalPredicate problem with object caching
* xpath.c: fixed mlXPathCompOpEvalPositionalPredicate problem
  with object caching (bug #469410)

svn path=/trunk/; revision=3653
2007-08-23 12:58:13 +00:00
Daniel Veillard
3888f47263 applied patch from Frank Gross fixing Schemas IDC import bug #455953 and
* xmlschemas.c test/schemas/*455953* result/schemas/bug455953*:
  applied patch from Frank Gross fixing Schemas IDC import bug
  #455953 and also add the test to the regression suite
Daniel

svn path=/trunk/; revision=3652
2007-08-23 09:29:03 +00:00
Daniel Veillard
76d59b6d6f try to fix for the nth time the automata generation in case of complex
* xmlregexp.c: try to fix for the nth time the automata generation
  in case of complex ranges. I suppose that time it is actually okay
Daniel

svn path=/trunk/; revision=3650
2007-08-22 16:29:21 +00:00
Daniel Veillard
3dcd319a46 aligned xmlSAXUserParseMemory() to match xmlSAXUserParseFile() logic based
* parser.c: aligned xmlSAXUserParseMemory() to match 
  xmlSAXUserParseFile() logic based on Ashwin post, and ifdef
  cleanup
Daniel

svn path=/trunk/; revision=3649
2007-08-14 13:46:54 +00:00
Rob Richards
f779da3172 fixed windows path determination (patch from Roland Schwarz, bug #462877)
* xmlIO.c: fixed windows path determination (patch from
  Roland Schwarz, bug #462877)
* win32/Makefile.mingw win32/configure.js: fixed mingw build
  (patch from Roland Schwarz, bug #462877)

svn path=/trunk/; revision=3648
2007-08-14 09:41:21 +00:00
Daniel Veillard
da62934715 fixed a parser bug where invalid char in comment may not be detected,
* parser.c: fixed a parser bug where invalid char in comment may
  not be detected, reported by Ashwin Sinha
* test/errors/comment1.xml result/errors/comment1.xml*: added
  the example to the regression suite
Daniel

svn path=/trunk/; revision=3647
2007-08-01 07:49:06 +00:00
Daniel Veillard
3814a365d6 fixed problem reported on bug #460415 Daniel
* xmlsave.c: fixed problem reported on bug #460415
Daniel

svn path=/trunk/; revision=3646
2007-07-26 11:41:46 +00:00
William M. Brack
504201966d applied patch from from Patrik Fimml. Fixes bug #458268
* uri.c: applied patch from from Patrik Fimml.  Fixes bug #458268

svn path=/trunk/; revision=3645
2007-07-20 01:09:08 +00:00
William M. Brack
b0a94e8bfa applied patch from bug #454608 from Patrik Fimml. Fixes bug #454608.
* xinclude.c: applied patch from bug #454608 from Patrik Fimml.
  Fixes bug #454608.

svn path=/trunk/; revision=3644
2007-07-18 18:04:55 +00:00
Daniel Veillard
65fcf27ab8 applied patch for xsi:nil from Frank Gross, this should fix bug #358125
* xmlschemas.c: applied patch for xsi:nil from Frank Gross, this
  should fix bug #358125
Daniel

svn path=/trunk/; revision=3643
2007-07-11 17:55:30 +00:00
Daniel Veillard
caa1951d59 patch from Dodji Seketeli to avoid a leak on repeated uses of
* xmlwriter.c: patch from Dodji Seketeli to avoid a leak on repeated
  uses of xmlTextWriterStartDocument()
Daniel

svn path=/trunk/; revision=3642
2007-07-04 15:42:46 +00:00
Daniel Veillard
734e76675f fix a crash on solaris when a printf %s with a NULL argument occurs,
* xmlschemas.c: fix a crash on solaris when a printf %s with a NULL
  argument occurs, should fix #450936
Daniel

svn path=/trunk/; revision=3641
2007-06-26 11:30:31 +00:00
William M. Brack
31700e6306 fixed problem in previous fix to xmlXPathNodeSetSort
* xpath.c: fixed problem in previous fix to xmlXPathNodeSetSort

svn path=/trunk/; revision=3640
2007-06-13 20:33:02 +00:00
Daniel Veillard
38431c3308 release of libxml2 2.6.28 patch from Dagfinn I. Mannsåker for idness of
* doc/* configure.in NEWS: release of libxml2 2.6.28
* valid.c: patch from Dagfinn I. Mannsåker for idness of name
  in HTML, c.f. bug #305885.
Daniel

svn path=/trunk/; revision=3638
2007-06-12 16:20:09 +00:00
Daniel Veillard
dbbd72bd75 fixing bug #319964, parsing of HTML attribute really should not have
* SAX2.c: fixing bug #319964, parsing of HTML attribute really
  should not have namespace processing.
Daniel

svn path=/trunk/; revision=3637
2007-06-12 15:15:52 +00:00
Daniel Veillard
dfac946c3d fixed the push mode when a big comment occurs before an internal subset,
* parser.c: fixed the push mode when a big comment occurs before
  an internal subset, should close bug #438835
* test/comment6.xml result//comment6.xml*: added a special
  test in the regression suite
Daniel

svn path=/trunk/; revision=3635
2007-06-12 14:44:32 +00:00
Daniel Veillard
b9e5acc490 fix bug #414846 where invalid characters in attributes would sometimes not
* parser.c: fix bug #414846 where invalid characters in attributes
  would sometimes not be detected.
* test/errors/attr4.xml result/errors/attr4.xml*: added a specific
  test case to the regression tests
Daniel

svn path=/trunk/; revision=3634
2007-06-12 13:43:00 +00:00
Daniel Veillard
3130fe95db apply patch from Ryan Hill to cope with changes in GNU tar, should fix
* xstc/Makefile.am: apply patch from Ryan Hill to cope with changes
  in GNU tar, should fix #396751
Daniel

svn path=/trunk/; revision=3633
2007-06-12 12:24:54 +00:00
Daniel Veillard
db67015afe try to allow compilation on old python version should fix #398125 Daniel
* python/types.c: try to allow compilation on old python version
  should fix #398125
Daniel

svn path=/trunk/; revision=3632
2007-06-12 10:04:37 +00:00
Daniel Veillard
fcd02adb71 htmlNodeDumpFormatOutput didn't handle XML_ATTRIBUTE_NODe fixes bug
* HTMLtree.c: htmlNodeDumpFormatOutput didn't handle XML_ATTRIBUTE_NODe
  fixes bug #438390
Daniel

svn path=/trunk/; revision=3631
2007-06-12 09:49:40 +00:00
Daniel Veillard
5cdbbd2c75 workaround misgenerated file: URIs c.f. #437385 daniel
* xmlIO.c: workaround misgenerated file: URIs c.f. #437385
daniel

svn path=/trunk/; revision=3630
2007-06-12 09:39:14 +00:00
Daniel Veillard
d8ed1051fa fixed bug #407436 a crash in a specific case of Relax-NG validation Daniel
* relaxng.c: fixed bug #407436 a crash in a specific case of
  Relax-NG validation
Daniel

svn path=/trunk/; revision=3629
2007-06-12 09:24:46 +00:00
Daniel Veillard
be8d9d33eb fixed bug #383687, some case of recursion on next were not caught in the
* catalog.c: fixed bug #383687, some case of recursion on next
  were not caught in the catalog code.
Daniel

svn path=/trunk/; revision=3628
2007-06-12 09:14:11 +00:00
Daniel Veillard
861101d1fa fixed bug #381877, avoid reading over the end of stream when generating an
* HTMLparser.c: fixed bug #381877, avoid reading over the end
  of stream when generating an UTF-8 encoding error.
Daniel

svn path=/trunk/; revision=3627
2007-06-12 08:38:57 +00:00
Daniel Veillard
2e6208651d fixed bug #366161, trivially added the check in xmlCtxtReset() Daniel
* parser.c: fixed bug #366161, trivially added the check in
  xmlCtxtReset()
Daniel

svn path=/trunk/; revision=3626
2007-06-12 08:18:21 +00:00