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

427 Commits

Author SHA1 Message Date
Martin Baulig
dd7d1f6d79 Provide pkg-config script.
2000-09-30  Martin Baulig  <baulig@suse.de>

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

	* configure.in: Create the libxml-2.0.pc script from the
	libxml-2.0.pc.in templates.
	* Makefile.am (pkgconfig_DATA): Install the libxml-2.0.pc
	script in `$(libexecdir)/pkgconfig'.
2000-09-29 23:17:57 +00:00
Daniel Veillard
c92c304a44 on-line update, Daniel 2000-09-29 02:42:04 +00:00
Daniel Veillard
4b0755c68b - HTMLparser.c parser.c tree.c tree.h: Avoiding a few warning
when compiling with MSC
Daniel
2000-09-25 14:26:28 +00:00
Daniel Veillard
46057e141c Various contribs: - xpath.c: patch for normalize-string()
Various contribs:
- xpath.c: patch for normalize-string() substring-before(),
  substring-after() and translate() functions from Bjorn Reese
  <breese@mail1.stofanet.dk>
- libxml.m4 Makefile.am: added libxml.m4 from Debian ?
  Fredrik Hallenberg <hallon@lysator.liu.se>
- TODO: updated
Daniel
2000-09-24 18:49:59 +00:00
Daniel Veillard
281f8ff431 Got an OSF/1 bug report fixing related problems:
- xmlversion.h.in nanoftp.c nanohttp.c: traying to work out the
  problem of socklen_t being undefined on a number of platforms
- debugXML.c: fixed a compilation problem when without snprintf
Daniel
2000-09-24 08:12:14 +00:00
Daniel Veillard
8ddb5a7aef Small bugfixes: - HTMLparser.c uri.c: Another patch from Wayne Davison,
Small bugfixes:
- HTMLparser.c uri.c: Another patch from Wayne Davison, correcting
  an URI bug and a fix for the control-character-induced infinite loop
- nanohttp.c: preventive fix for compiling on WIN32
Daniel
2000-09-23 10:28:52 +00:00
Daniel Veillard
bbe11b0880 updated Wayne Davison email in Changelog, Daniel. 2000-09-23 07:07:40 +00:00
Daniel Veillard
20cdd5e484 avoid possible future probs on Win32, daniel. 2000-09-22 18:42:33 +00:00
Daniel Veillard
64c20ed0b7 Closing bug #25000, Daniel. 2000-09-22 16:07:02 +00:00
Daniel Veillard
b656ebe456 Cleanup, patch from Wayne Davison:
- xmlIO.h tree.h: made xmlNodeDump() and xmlNodeDumpOutput() public
- parser.[ch] nanohttp.c HTMLtree.c HTMLparser.c tree.c: applied and
  modified slightly Wayne Davison patch adding xmlStrcasecmp and
  related function, fixing xmlStrncmp(), and associated cleanup
- result/HTML/entities.html.sax: updating result
Daniel
2000-09-22 13:51:48 +00:00
Daniel Veillard
4fb87ee585 Various contributed patches:
- uri.c: applied patch for URI escaping from Wayne Davison
  <wayned@blorf.net>
- tree.c parserInternals.c HTMLparser.c: memset checks patches
  from Denis Barbier <barbier@imacs.polytechnique.fr>
- HTMLparser.c: UTF8 characters in HTML tag-attribute values
  patch from Wayne Davison
Daniel
2000-09-19 12:25:59 +00:00
Daniel Veillard
d5f97f8077 - doc/xml.html : updated with new releases, adding "how to help"
Daniel
2000-09-17 16:38:14 +00:00
Daniel Veillard
04698d9e1c New set of cleanups, released 2.2.3:
- SAX.c debugXML.c parser.c parserInternals.c tree.c valid.c xpath.c:
  removed a few warnings in pedantic mode ...
- parserInternals.c parser.c: moved encoding switching function
  to parserInternals.c
- configure.in, doc/Makefile.am libxml.spec.in: released 2.2.3
Daniel
2000-09-17 16:00:22 +00:00
Daniel Veillard
a2c6da94f8 For Havoc: - HTMLparser.c parser.c: set ctxt->errNo before calling the
For Havoc:
- HTMLparser.c parser.c: set ctxt->errNo before calling the error handlers
Daniel
2000-09-16 18:15:00 +00:00
Daniel Veillard
b1059e2f88 Finally commiting work done on the plane, major cleanup,
spread some serious anti bitrot all over the place:
- parserInternals.c parserInternals.h parser.c Makefile.am:
  created a new module parserInternals.c, moved most of the
  code shared by the various parsers there, as well as
  deprecated  code from parser.c. More cleanup of parser.c
- uri.c: fixed a problem when URI is NULL
- valid.c: speedup when looking for an attribute declaration
Daniel
2000-09-16 14:02:43 +00:00
Daniel Veillard
39c7d71a3b Jumbo patch, resync of W3C/Gnome CVS trees:
- uri.c tree.c SAX.c parser.c entities.c debugXML.c: finished
  the cleanup of the computation of URI references when seeking
  external entities. The URI reference string and the resulting
  URI are both stored now.
- parser.c HTMLparser.c valid.c nanoftp.c nanohttp.c xpath.c:
  large s(n)printf checks and cleanup from Denis Barbier
  <barbier@imacs.polytechnique.fr>
- xmlversion.h.in tree.h: couple of SGML declarations for a
  possible docbook module.
- result/VC/ : a couple of test output changed due to the change
  of the entities URI
Daniel
2000-09-10 16:14:55 +00:00
Daniel Veillard
b513f5a00d Added a _private for hooking up users data to a parser context, Daniel. 2000-09-10 14:01:12 +00:00
Daniel Veillard
dd477cedf3 - parser.c parserInternals.h: demacroified most of the IS_XXX
the gain in size is significant so ...
Daniel
2000-09-10 13:23:08 +00:00
Daniel Veillard
4b5b80cf02 Fixed cases where doc is NULL when looking up entities, daniel 2000-09-08 18:54:41 +00:00
Daniel Veillard
1de5080002 Fixed a name typo in the Changelog, Daniel 2000-09-07 08:54:32 +00:00
Daniel Veillard
90e1131a60 - uri.c: applied Wayne Davidson patch
- Makefile.in test/URI/uri.data result/URI/uri.data: updated URI tests
Daniel
2000-09-05 10:42:32 +00:00
Daniel Veillard
98a7916ba1 URI work cleanup and regresssion tests,
- uri.c testUri.c: applied Wayne Davidson patches
- test/URI/uri.data result/URI/uri.data: first set of tests/results
- Makefile.in: added URItest and included thenin "make tests"
Daniel
2000-09-04 11:15:39 +00:00
Daniel Veillard
960aa53d2f Closed bug 22941, Daniel 2000-09-03 17:20:17 +00:00
Daniel Veillard
2bb89090d1 Added doc on the xmlExternalEntityLoaders and example for catalogs, Daniel 2000-08-31 14:57:50 +00:00
Daniel Veillard
a7ad452205 Fixing PRE sections, Daniel 2000-08-31 14:19:54 +00:00
Daniel Veillard
969844565f Added a doc on the I/O interfaces, Daniel 2000-08-31 13:50:12 +00:00
Daniel Veillard
f121ab7295 on-line update, Daniel 2000-08-29 23:40:42 +00:00
Daniel Veillard
e715dd25dd - parser.c: Fixed bug on invalid ontent characters and when using
push.
- xmllint.c: fixed xmllint endling of errors in push mode
Daniel
2000-08-29 18:29:38 +00:00
Daniel Veillard
4948eb4fd4 - HTMLparser.c testHTML.c: applied two new patches from
Wayne Davison <wayned@blorf.net>
- result/HTML/*.sax: regenerated HTML SAX output
- parser.c: more cleanup.
Daniel
2000-08-29 09:41:15 +00:00
Daniel Veillard
e010c17d78 Mostly HTML generation and parsing enhancements:
- HTMLparser.[ch] testHTML.c: applied the second set of
  patches from Wayne Davison <wayned@blorf.net>, adding
  htmlEncodeEntities()
- HTMLparser.c: fixed an ignorable white space detection bug
  occuring when parsing with SAX only
- result/HTML/*.sax: updated since the output is now HTML
  encoded...
Daniel.
2000-08-28 10:04:51 +00:00
Daniel Veillard
47f3f31f83 - HTMLparser.[ch]: applied some of Wayne Davison <wayned@blorf.net> patches
Daniel
2000-08-27 22:40:15 +00:00
Daniel Veillard
e0854c3f83 Bunch of new parser cleanup work:
- SAX.c tree.c debugXML.c: fixed bogus behaviour when an
  undeclared namespace prefix was used, added a warning.
  Cleaned up support w.r.t. entities, spilling out a warning
  and being pedantic on lookups.
- test/warning/ent9 : added testcase for previous example.
- TODO: updated
- parserInternals.h parser.c: changed the way names are parsed
  now allow infinite size and decrease penalty for normal use
- parser.c: Started a big cleanup/check of the parser code,
  fixed some of the most tortuous entity code, spotted code
  unused anymore
- test/*: added tests for very long names and related nasty
  things.
Daniel
2000-08-27 21:12:29 +00:00
Daniel Veillard
f0cc7ccc7d libxml now grok Docbook-3.1.5 and Docbook-4.1.1 DTDs, this
popped out a couple of bugs and 3 speed issues, there is only
on minor speed issue left. Assorted collection of user reported
bugs and fixes:
- doc/encoding.html: added encoding aliases doc
- doc/xml.html: updates
- encoding.[ch]: added EncodingAliases functions
- entities.[ch] valid.[ch] debugXML.c: removed two serious
  bottleneck affecting large DTDs like Docbook
- parser.[ch] xmllint.c: added a pedantic option, will be useful
- SAX.c: redefinition of entities is reported in pedantic mode
- testHTML.c: uninitialized warning from gcc
- uri.c: fixed a couple of bugs
- TODO: added issue raised by Michael
Daniel
2000-08-26 21:40:43 +00:00
Daniel Veillard
088f428a20 Added a section on aliases, Daniel. 2000-08-25 23:46:50 +00:00
Daniel Veillard
8c6d6af17a Added pointer to gtk-doc, Daniel. 2000-08-25 17:14:13 +00:00
Daniel Veillard
7b9c4b752d Added Warning about SAX en entities support. Daniel. 2000-08-25 16:26:50 +00:00
Daniel Veillard
ec78c0f8d5 Updated for clearer message of the content, DV. 2000-08-25 10:25:23 +00:00
Daniel Veillard
0d6b17088e Fixes from Martin Duerst for encoding.html, Daniel. 2000-08-22 23:52:16 +00:00
Daniel Veillard
52402ce7eb bug fixes, bugfixes, bugfixes ...
- parser.c: Fixed Bug#21552: libxml fails to decode &amp;
- uri.c testUri.c patches, by Marc Sanfacon (1 left)
- parser.c HTMLparser.c: HTML/encoding push problems reportedi by Wayne Davison
Daniel
2000-08-22 23:36:12 +00:00
Daniel Veillard
af7fc34f22 Changed the title external parsed entity in tests, Daniel 2000-08-20 15:32:58 +00:00
Daniel Veillard
2f2bf417f8 Small cleanups, updates, Daniel 2000-08-20 15:11:02 +00:00
Daniel Veillard
244ece9787 Minor fix and add to testsuite, Daniel 2000-08-19 20:58:02 +00:00
Daniel Veillard
b8f25c9118 work done on auto-opening of <p> tags and cleanup of SAX output, Daniel. 2000-08-19 19:52:36 +00:00
Daniel Veillard
979e55e889 Added man pages, Daniel 2000-08-19 16:48:54 +00:00
Daniel Veillard
4540be4af6 Updated the doc a bit, Daniel. 2000-08-19 16:40:28 +00:00
Daniel Veillard
808a3f1f9f cleaned up the output of SAX tests, Daniel 2000-08-17 13:50:51 +00:00
Daniel Veillard
29579360a7 Patch from Albert Chin-A-Young <china@thewrittenword.com>:
- xmllint.c: workaround a MAP_FAILEd definition bug in DU-4.0
Daniel
2000-08-14 17:57:48 +00:00
Daniel Veillard
1255ab7780 Patch from Dave Yearke <yearke@eng.buffalo.edu>:
- testHTML.c: fix core dump on Solaris 2.x systems
- HTMLparser.c: fix segfault if ctxt->sax->characters() is NULL
- result/HTML/*.sax: previous bug fix lead to new results
Daniel
2000-08-14 15:13:33 +00:00
Daniel Veillard
0310929cc4 Patch from Albert Chin-A-Young <china@thewrittenword.com>:
- configure.in: added --with-readline=DIR to accept alternate
  path for readline include/library
- configure.in: added AM_C_PROTOTYPES to add -Aa -D_HPUX_SOURCE
  for ANSI under HP-UX
- config.in: Removed @LIBS@ from xml-config because @XML_LIBS@
  includes @LIBS@
Daniel
2000-08-14 14:58:22 +00:00
Daniel Veillard
786d7c8dcf on-line update, Daniel 2000-08-12 23:38:57 +00:00