1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-04-20 02:50:06 +03:00

266 Commits

Author SHA1 Message Date
Daniel Veillard
73a4bfe952 Getting ready for 1.8.12 release:
- doc/xml.html: updated
- doc/html/*: rebuilt the docs
Daniel
LIBXML_1_8_12
2001-05-04 07:38:19 +00:00
Daniel Veillard
0186153834 parser.c: fixed line number reporting on error
Daniel
2001-03-26 22:51:03 +00:00
Daniel Veillard
0d6a64cf64 - parser.c parserold.c: Sullivan and Darin found a parser bug,
applied the patch.
Daniel
2001-03-26 21:23:18 +00:00
Daniel Veillard
925eedf83b - parserold.c : reapplied bug 52299 fix
Daniel
2001-03-26 07:52:39 +00:00
Daniel Veillard
412aaa8d70 Started I18N checking on the new parser:
- parser.c: fixed an I18N breakage on the new parser due
  to the usage of an old routine
- test/i18n.xml result/i18n.xml: added a small first test
Daniel
2001-03-25 14:58:11 +00:00
Daniel Veillard
cdcb0d1eaf More checking and cleanup:
- parser.c: cleanup and make sure scrollkeeper won't have problems
Daniel
2001-03-25 14:11:51 +00:00
Daniel Veillard
8657b30c81 forgot the file Daniel
forgot the file
Daniel
2001-03-25 00:42:30 +00:00
Daniel Veillard
44343ab1db - parser.c: initialization code must be run before deciding
which parser to launch.
Daniel
2001-03-25 00:41:28 +00:00
Daniel Veillard
989765adcd Trying to get a final solution to the problem:
- added back the old parser
  - make it the default
  - allow people to switch easilly
Few changes except the old parser where all names were changed and
made static except 3 entry points:
- Makefile.am parserold.c: added back the 1.8.11 parser for compatibility
- README: updated
- SAX.c: integrate back 1.8.11 callback code and call it when
  we are using the old parser
- entities.c: fixed a small problem
- parser.[ch]: allow to use either parser, add xmlUseNewParser(),
  and modify the Initialization code to check LIBXML_USE_NEW_PARSER
  or LIBXML_USE_OLD_PARSER
- tester.c: make it use the new parser by default, but check
  LIBXML_USE_OLD_PARSER and add the --oldparser option
Daniel
2001-03-25 00:13:40 +00:00
Daniel Veillard
2e9f9b2199 Applied patch from Darin:
* tree.[ch], .cvsignore: Darin fixed some CPP crap nobody noticed so far
Daniel
2001-03-24 08:43:16 +00:00
Martin Baulig
bc81eb2ee1 Added install-data-local target to create the libxml symlink.
2001-03-24  Martin Baulig  <baulig@suse.de>

	* Makefile.am: Added install-data-local target to create the
	libxml symlink.
2001-03-23 23:33:12 +00:00
Daniel Veillard
1071dadc7f Seems some galeon bookmarks refuses to load, remove some cases
where the problem could arose:
- parser.c: remove some cases where an encoding error
  disable loading corrupted documents generated by previous version
Daniel
2001-03-23 18:20:47 +00:00
Daniel Veillard
2d6dde06e8 - Makefile.am: fixed bug 51876
Daniel
2001-03-22 14:51:23 +00:00
Daniel Veillard
aa2130c053 - HTMLparser.c parser.c: found a hard to trigger but real I/O
buffer problem fixed the multiple points where this needed fixing
Daniel
2001-03-21 17:21:36 +00:00
Daniel Veillard
a9c540cfc9 Early test this crashed galeon:
- parser.c: make sure the full structure is NULL initialized
  when allocated
Daniel
2001-03-21 13:52:30 +00:00
Daniel Veillard
354edd89c8 It's hard to estimate how much I hated to do this, but it's done ...
The best way to solve the I18N problen is unfortunately to fix libxml1
parser to at least deal correctly with UTF8 and ISO-Latin-1 encodings.
I have plugged in the 2.3.5 (or what will be it's not released yet) core
XML parser in the libxml1 framework. No changes API wise. The only changes
will be backward binary compatible extensions of some of the parser
structures and the number of parser states.

- configure.in: version will be 1.8.12
- Makefile.am: added .memdump tests
- SAX.c entities.[ch] parser.[ch] tree.c valid.c xml-error.h
  xmlIO.[ch]: plugged the 2.3.5 libxml2 XML parser in, while
  preserving binary compatibility
- uri.[ch]: the parser code really requires URI manipulation
  add this from 2.3.5 too
- results/* : of course this changed the output of a number of tests
- test/dtd12 : this test was actually not wellformed, the new
  parser pukes at it, fixed ...
Daniel
2001-03-21 12:53:50 +00:00
Daniel Veillard
87bfeb50e5 Fixing the bug in the libxml1 branch too:
- parser.c: fixing bug 52299 strange condition leading
  to a parser crash due to a buffer overflow
- result/attrib.xml test/attrib.xml:
  added the specific test case
Daniel
2001-03-20 11:38:20 +00:00
Kjartan Maraas
676ab9ebb8 Actually bump the version.
2001-01-19  Kjartan Maraas  <kmaraas@gnome.org>

	* configure.in: Actually bump the version.
2001-01-19 08:39:36 +00:00
Daniel Veillard
4f8cd2474a Preparing for 1.8.11, Daniel 2001-01-11 10:18:57 +00:00
Ali Abdin
ea448bbe92 in xmlParseReference, do not split up an entity into the '&' and the rest
Sun Dec 24 20:10:11 2000  Ali Abdin <aliabdin@aucegypt.edu>

        * parser.c: in xmlParseReference, do not split up an entity into the
          '&' and the rest of it (e.g. 'gt;'). This throws off the SAX parser
          in a certain case and makes it do SAX.characters ('&') and then
          SAX.characters ('gt;'). The code is only #if 0'd out. I ran 'make
          tests' and no errors were generated.
2000-12-25 17:32:19 +00:00
George Lebl
8d348f923d xmlAddPrevSibling and xmlAddNextSibling had reverse semantics from those
Sun Nov 12 12:12:22 2000  George Lebl <jirka@5z.com>

	* tree.c: xmlAddPrevSibling and xmlAddNextSibling had reverse
	  semantics from those documented.  And the only use on gnome-cvs
	  I could find was bonobo-ui which used the documented semantics
	  apparently.  Thus I switched the bodies of these two functions.
2000-11-12 20:22:43 +00:00
Daniel Veillard
9a27781f64 Updated HACKING instructions for v1, daniel. 2000-11-12 20:18:03 +00:00
George Lebl
958538520d When messing with the child list by adding children, don't just update the
Sat Nov 04 18:36:52 2000  George Lebl <jirka@5z.com>

	* tree.c: When messing with the child list by adding children,
	  don't just update the last pointer, but set the parent pointers
	  as well for all the children, during the traversal.  Also in
	  xmlUnlinkNode, if the node is the doc->root node, set doc->root
	  to NULL.
2000-11-04 23:35:15 +00:00
Daniel Veillard
f96b97af18 Patch for solaris libs lookup, Daniel 2000-09-30 14:39:29 +00:00
Martin Baulig
ae9fc1f3f4 Added missing version number. 2000-09-30 13:47:54 +00:00
Martin Baulig
ca17d4349a Use the correct pkg-config syntax
(the pkg-config that comes with the RedHat 7.0 glib-gtkbeta RPM
 and not the one from pkgconfig.sourceforge.net which is old).
2000-09-30 02:26:05 +00:00
Martin Baulig
e6aeea052f Provide pkg-config script.
2000-09-30  Martin Baulig  <baulig@suse.de>

	* libxml.pc.in: Provide pkg-config script.

	* configure.in: Create the libxml.pc script from the
	libxml.pc.in templates.
	* Makefile.am (pkgconfig_DATA): Install the libxml.pc
	script in `$(libexecdir)/pkgconfig'.
2000-09-29 23:51:05 +00:00
Daniel Veillard
2b7a123c34 - entities.c: handling of doc == NULL in xmlGetDocEntity()
was not proper ... refixed .
Daniel
2000-09-08 18:45:43 +00:00
Daniel Veillard
0b52ad0885 aplied old patch from Sopwith fix Windows bug reported by Marcus Lankenau
* Makefile.in: aplied old patch from Sopwith
* tree.c: fix Windows bug reported by Marcus Lankenau <marcus.lankenau@socon.de>
Daniel
2000-09-07 15:03:41 +00:00
Daniel Veillard
c040851979 Released LIBXML_1_8_10, daniel. LIBXML_1_8_10_REAL 2000-09-06 23:28:33 +00:00
Daniel Veillard
7cb7a77c30 Oops forgot chagelog, Daniel LIBXML_1_8_10 2000-09-02 08:28:20 +00:00
Daniel Veillard
0e8e884e14 Add checks to doc == NULL, as pointed by Michael, Daniel. 2000-09-02 08:25:29 +00:00
Daniel Veillard
2c6feb542a iTrying to fix a problem with CDATA sections, Daniel 2000-08-07 18:20:46 +00:00
Daniel Veillard
e98991955c Fixed the way the control connection was handled,
Fixed the spec file,
Released 1.8.9,
Daniel
LIBXML_1_8_9
2000-07-10 10:10:55 +00:00
Daniel Veillard
6b81b3ee12 Fixed bug #7419, dependancies fouled, Daniel. 2000-07-02 18:34:47 +00:00
Daniel Veillard
9dad02a49e Fixed &#38; parsing bug, Daniel. 2000-06-29 09:38:26 +00:00
Daniel Veillard
08746ae6f0 Updated the examples, 1.8.8 pretest release, Daniel. LIBXML_1_8_8 2000-06-29 00:44:15 +00:00
Daniel Veillard
6117c6fb02 libxml 1/2 fixups, spec cleanup, 1.8.8 prerelease, Daniel. 2000-06-28 23:39:08 +00:00
Daniel Veillard
43f300d933 Cope with libxml1/libxml2, Daniel 2000-06-28 16:41:05 +00:00
Daniel Veillard
76234da152 ???, Daniel. EAZEL-NAUTILUS-MS-AUG07 LIB_XML_1_X 2000-03-14 18:02:01 +00:00
Daniel Veillard
f13e1ed19c Updated docs, Daniel. 2000-03-06 07:41:49 +00:00
Daniel Veillard
3e6d237ff7 Blanks handling function, added 2.x upgrade doc, Daniel 2000-03-04 11:39:43 +00:00
Daniel Veillard
b566ce1d28 Rebuit doc finished closing a few bugs, Daniel. 2000-03-04 11:39:42 +00:00
Daniel Veillard
fb76c40ad7 Blanks handling function, added 2.x upgrade doc, Daniel 2000-03-04 11:39:42 +00:00
Daniel Veillard
90fb02caaf Trying another better solution at the <a> </a> problem, Daniel 2000-03-02 03:46:43 +00:00
Daniel Veillard
83a30e7a16 Fixed #6766 and satrted working on white space handling, Daniel 2000-03-02 03:33:32 +00:00
Daniel Veillard
88f00ae133 Second patch from Paul Dubois, Daniel 2000-03-02 00:15:55 +00:00
Daniel Veillard
6c8b1171e1 Fixed with the update, daniel 2000-03-01 00:40:41 +00:00
Daniel Veillard
402e8c8865 applied doc patch from Paul DuBois, Daniel 2000-02-29 22:57:47 +00:00
Tomasz Kłoczko
ae7cb7fefb - added "libxml_la_LIBADD = @Z_LIBS@" to link libxml with proper libraries
list.
2000-02-02 23:51:10 +00:00