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

372 Commits

Author SHA1 Message Date
Daniel Veillard
126f27992d Bunch of fixes, finishing moving datastructures to the hash stuff:
- hash.[ch] debugXML.c: expanded/enhanced the API, added
  multikey tuples, made hash structure opaque
- valid.[ch]: moved elements, attributes, notations decalarations
  as well as ID and refs to hash tables.
- entities.c: hash cleanup
- xmlmemory.c: fixed a dump problem in debug mode
- include/Makefile.am: problem passing in DESTDIR= values patch
  from Marc Christensen <marc@calderasystems.com>
- nanohttp.c: removed debugging remains
- HTMLparser.c: the bogus tag should be ignored (Wayne)
- HTMLparser.c parser.c: fixing a number of problems with the
  macros in the *parser.c files (Wayne).
- HTMLparser.c: close the previous option when opening a new one
  (Marc Sanfacon).
- result/HTML/*: updated the HTML results accordingly
Daniel
2000-10-24 17:10:12 +00:00
Daniel Veillard
3fe876892e Ooops forgot the hash module on last commit, Daniel. 2000-10-23 08:10:05 +00:00
Daniel Veillard
52afe800ac Started working on the hash table module integration, fixed a bug:
- entities.[ch] xpath.[ch] hash.[ch] debugXML.c tree.h: added/hacked
  hash tables from Bjorn Reese <breese@mail1.stofanet.dk>. Switched
  XPath functions and XML entities table to them. More to come...
- xmlIO.c: fixed libxml closing FILEs it didn't open.
Daniel
2000-10-22 16:56:02 +00:00
Daniel Veillard
683cb02636 Patches added during last week on W3C CVS base:
- tree.c: coalesce adjacent text nodes
- valid.c: handling of blank nodes in DTd validation (raised
  by problems with a posteriori validation).
- nanohttp.c: changing behaviour on HTTP write stuff.
- HTMLtree.c: forced body and html to be explicitely closed.
- xpath.h: exported more XPath functions.
Daniel
2000-10-22 12:04:13 +00:00
Daniel Veillard
0c0692291e Fixed a stoopid URL problem, Daniel. 2000-10-21 09:25:52 +00:00
Daniel Veillard
e9202a05e5 Added libiconv library info, Jon <dissy@netset.com>, Daniel. 2000-10-16 16:58:19 +00:00
Daniel Veillard
5edcc93658 Auto* still annoying peoples, commiting result :-(, Daniel. 2000-10-15 21:43:03 +00:00
Daniel Veillard
ab8500d794 Updated homepage to reflect the new distrib, Daniel. 2000-10-15 21:06:19 +00:00
Daniel Veillard
1baf412f4e - Release of 2.2.5 - xpointer.c: range() range-inside and other helper
- Release of 2.2.5
- xpointer.c: range() range-inside and other helper functions
- parserInternals.c: fixed perf problem raised by rolf@pointsman.de
Daniel
2000-10-15 20:38:39 +00:00
Daniel Veillard
47e12f2318 HTML attributes handling:
- SAX.c: HTML attributes need normalization too (Bjorn Reese)
- HTMLparser.[ch]: addded htmlIsScriptAttribute()
Daniel
2000-10-15 14:24:25 +00:00
Daniel Veillard
b732a0eafc Rebuilt docs for 2.2.5, added XPointer, Daniel 2000-10-15 11:27:01 +00:00
Daniel Veillard
134c9f313e SAX.h: Fixed #25107, Daniel 2000-10-15 10:27:08 +00:00
Daniel Veillard
399156223f - testSAX.c: fixed problem with cdata reporting
- SAXresult/* : updated
Daniel
2000-10-15 10:06:55 +00:00
Daniel Veillard
1e851392fc - parser.c test/wap.xml result/noent/wap.xml result/wap.xml:
Closed bug #27499, added to regression tests
- TODO: updated
Daniel
2000-10-15 10:02:56 +00:00
Daniel Veillard
7eda8452f8 - HTMLparser.c HTMLtree.[ch] SAX.c testHTML.c tree.c: fixed HTML
support for SCRIPT and STYLE with help from Bjorn Reese
- test/HTML/* result/HTML/*: added simple testcase and updated
  the existing ones.
Daniel
2000-10-14 23:38:43 +00:00
Daniel Veillard
ff9c330753 More work on XPointer
- xpath.c xpointer.c: XPointer reorder of ranges start/end and
  string-range for empty strings
- test/XPath/docs/str test/XPath/xptr/chaptersrange
  test/XPath/xptr/strrange: augmented the XPointer testsuite
Daniel
2000-10-13 16:38:25 +00:00
Daniel Veillard
189446d2fa documentations: - doc/xml.html doc/xmlmem.html: added a module describing
documentations:
- doc/xml.html doc/xmlmem.html: added a module describing memory
  interfaces and use, updated the main page.
Daniel
2000-10-13 10:23:06 +00:00
Daniel Veillard
2f971a26da Another patch from Wayne Davison:
- nanoftp.c nanohttp.c xmlIO.c: Win32 patch nanoftp code work now
Daniel
2000-10-12 23:26:32 +00:00
Daniel Veillard
c2df4cde4e Going forward in XPointer implementation:
- testXPath.c xpath.[ch]: moved some debug functions to xpath core
- xpointer.c: implemented string-range() at least a good first version
- test/XPath/docs/str test/XPath/xptr/strrange
  result/XPath/xptr/strrange: the string-range() tests
Daniel
2000-10-12 23:15:24 +00:00
Daniel Veillard
d3c68c4642 - Makefile.am include/Makefile.am include/win32config.h
win32/Makefile.mingw: fixed problems reported by Wayne Davison
  and make distcheck
Daniel
2000-10-12 08:06:28 +00:00
Daniel Veillard
19d6111574 - nanohttp.c: added xmlNanoHTTPTimeout(int delay), removed a bug
xmlNanoHTTPMethod on input MimeType Tony Lam <Tony.Lam@eng.sun.com>
- xpointer.c: slight extension of xmlXPtrLocationSetMerge
Daniel
2000-10-11 23:50:35 +00:00
Daniel Veillard
b0426caeb9 patch for socklen_t detection by Albert Chin-A-Young <china@thewrittenword.com>
Daniel
2000-10-11 23:39:43 +00:00
Daniel Veillard
cd4296125d - tree.c valid.c xmllint.c: Fixed a few postvalidation bugs
and added a --dtdvalid option to xmllint used to test it
Daniel
2000-10-11 15:57:05 +00:00
Daniel Veillard
47c024516e Added a man page for xml-config Fredrik Hallenberg <hallon@lysator.liu.se>, Daniel. 2000-10-11 13:04:36 +00:00
Daniel Veillard
2d38f04707 - xpath.[ch] xpointer.[ch]: worked on XPath functions and variable
handlings (registration, lookup, cleanup)
Daniel
2000-10-11 10:54:10 +00:00
Daniel Veillard
e8eac3d979 Oops seems I forgot to commit the xpointer.[ch] files, Daniel. 2000-10-11 08:55:02 +00:00
Daniel Veillard
aa4f649b16 Fixed the HTML tests output, Daniel. 2000-10-10 23:54:49 +00:00
Daniel Veillard
c8df0aaf9f Added XPointer: - configure.in Makefile.am include/makefile.am: adding
Added XPointer:
- configure.in Makefile.am include/makefile.am: adding XPointer
  and XPtrtests target
- xpointer.[ch] : new files for XPointer support
- test/XPath/xptr result/XPath/xptr: added XPointer testsuite and
  more XPath tests
Daniel
2000-10-10 23:50:30 +00:00
Daniel Veillard
57fda59b6d Fixed configure.in, very broken, Daniel 2000-10-10 23:24:14 +00:00
Daniel Veillard
e8282edd45 More work toward 2.2.5, integrated a number of patches
- configure.in Makefile.am win32config.h.in: trying to cleanup
  make distcheck .... huh ...
- include/Makefile.am include/win32config.h: new directory
  for includes
- win32/Makefile.mingw win32/README.MSDev win32/libxml2/libxml2.dsp
  updated teh makefiles and instructions for WIN32
- xpath.c: small fixes
- test/XPath/ results/XPath: updated the testcases and results
- HTMLparser.c nanohttp.c testXPath.c: incorporated provided or
  suggested patches
- valid.c: fixed an ID bug
Daniel
2000-10-10 23:01:31 +00:00
Daniel Veillard
b71379b796 - moved xml-error.h to xmlerror.h: seems this allowed to bypass
the automake bug where wrong dependancies were generated.
- xpath.[ch]: worked on XPointer
Daniel
2000-10-09 12:30:39 +00:00
Daniel Veillard
aaf58b96f5 Various attemps at trying to bypass this automake bullshit !!! Daniel
Failing too bad no release before next wed I'm seriously pissed, this
bug has been around for more than one year it seems, piece of crap
2000-10-06 14:07:26 +00:00
Daniel Veillard
7e99c63be0 Tried to build libxml2-2.2.5
Automake is a fucking piece of ugly shit full of tricks and without
any kind of sensible documentation or logic :-(((((((((
Daniel, pissed !
2000-10-06 12:59:53 +00:00
Daniel Veillard
55b91f2d5b Massive XPath implementation cleanup:
- debugXML.c testXPath.c xpath.[ch]: got pissed by some nastyness
  in the XPath engine, rewrote large parts of it, now it's far
  cleaner and in sync with the REC not an old WD. Fixed a parsing
  problem in the interactive XML shell found when testing XPath.
Daniel
2000-10-05 16:30:11 +00:00
Daniel Veillard
ac26030669 More work and fixes on XPath:
- debugXML.c testXPath.c xpath.[ch]: More work on XPath/Xpointer,
  incorporated "(TOM)" <ptittom@free.fr> patches rebuilt the XPath
  examples with the extra test
Daniel
2000-10-04 13:33:43 +00:00
Daniel Veillard
7cfce324d8 Bugfix - parser.c xmlIO.c xmlIO.h: fixed bug 26650, and improved the
Bugfix
- parser.c xmlIO.c xmlIO.h: fixed bug 26650, and improved the global
  init function.
Daniel
2000-10-04 12:40:27 +00:00
Daniel Veillard
970112a914 Stupid bug fix on the HTML parser:
- HTMLparser.c: Doohhh, attribute name parsing was still case
  sensitive ! Fixed this ...
- result/HTML/* : updated the tests results accordingly
Daniel
2000-10-03 09:33:21 +00:00
Daniel Veillard
740abf5ae7 Big XPath cleanup continues, one URI fix:
- xpath.[ch] debugXML.c testXPath.c: fixed the XPath evaluation
  engine, should be far more stable, incorporated a new version of
  preceding/following axis, need testing
- uri.c: fixed file:///c:/a/b/c problem
- test/XPath/tests/idsimple: augmented the XPath tests
Daniel
2000-10-02 23:04:54 +00:00
Daniel Veillard
3bff2b0e5d Rebuilt docs for 2.2.4 release, Daniel. 2000-10-01 20:33:47 +00:00
Daniel Veillard
8b5dd83f46 - configure.in: releasing 2.2.4
- parser.[ch]: added xmlStrEqual()
- HTMLparser.c HTMLtree.c SAX.c debugXML.c entities.c parser.c
  tree.c valid.c xlink.c xpath.c: converted all !xmlStrcmp to
  use xmlStrEqual instead
- TODO: updated
- added an XPath test
Daniel
2000-10-01 20:28:44 +00:00
Daniel Veillard
bc765307ff Cleanups, 1 bug fix:
- HTMLparser.c: fixed htmlStartCloseIndexinitialized init
- entities.h: exported xmlInitializePredefinedEntities
- parser.[ch] : added xmlInitParser()
- parserInternals.h : had to export htmlInitAutoClose()
Daniel
2000-10-01 18:23:35 +00:00
Daniel Veillard
f09e7e35de XPath fixes and cleanup, 2 general bug fixes:
- xpath.[ch] : fixed some serious XPath Predicate evaluation
  problems
- Makefile.am : added XPath regression tests to normal tests
- uri.c: fixed a problem with local paths, cleanup
- parser.c: fixed a problem with large CData sections
Daniel
2000-10-01 15:53:30 +00:00
Daniel Veillard
d2ade932d7 Patch for solaris libs lookup, Daniel. 2000-09-30 14:39:55 +00:00
Martin Baulig
1b478d113c 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:27:55 +00:00
Martin Baulig
fc79fa2b2a file libxml.pc.in was initially added on branch LIB_XML_1_BRANCH. 2000-09-29 23:51:05 +00:00
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