Commit Graph

226 Commits

Author SHA1 Message Date
Daniel Veillard
437b87b8cc fixed configure and Makefile to use readline in tester if available
rebuilt and updated the doc,
Daniel
2000-01-03 17:30:46 +00:00
Daniel Veillard
686d6b6ab1 - added xmlRemoveProp
- changed the way Windows socket stuff get included
- removed an indetermination xmLDecl/PI(xml...)
- xmlNewNs wasn't checking for double definition
- fixed a problem with dist-hook duplicates
- fixed the loading of external entities APIs, now xmlLoadExternalEntity()
  is used everywhere
- now the xhtml spec validates with the xhtml DTD.
- error.c: fixed crashes in case of no input stream
- added the xhtml spec and dtds to the validation tests and results
Daniel
2000-01-03 11:08:02 +00:00
Daniel Veillard
5e5c62351f - Push mode for the HTML parser (new calls)
- Improved the memory debugger to provide content informations
- cleanups, last known mem leak killed
Daniel
1999-12-29 12:49:06 +00:00
Daniel Veillard
be849cf33f Rebuild the documentation, Daniel. 1999-12-28 16:43:59 +00:00
Daniel Veillard
dbfd641b78 - Lots of improvements, too long to list here
- Push mode for the XML parser (HTML to come)
- XML shell like interface for debug
- improvements on XPath and validation
Daniel
1999-12-28 16:35:14 +00:00
Daniel Veillard
fef854d234 Update to Changelog lost, Daniel. 1999-12-22 11:31:10 +00:00
Daniel Veillard
3c558c3753 - fix for PIs name starting with xml
- fixed a potential problem with || and && ops
 - generate win32config.h for those on the Other Side !
Daniel
1999-12-22 11:30:41 +00:00
Daniel Veillard
0caf07a701 Fixed = vs. == bug in parser.c (hrmless though) and type in sgml, Daniel. 1999-12-21 16:25:49 +00:00
Daniel Veillard
5cb5ab8d94 - release 1.8.2 - HTML handling improvement - new tree handling functions
- release 1.8.2
- HTML handling improvement
- new tree handling functions
- default namespace on attribute bug fixed
- libxml use for C++ fixed (for good this time !)
Daniel
1999-12-21 15:35:29 +00:00
Daniel Veillard
b24054a09a - Updated HTML test outputs
- Fixed taht f....g problem with C++ and includes,
Daniel
1999-12-18 15:32:46 +00:00
Chris Lahey
323c48c880 Made it so that html nodes with a single child do not insert a carriage
* HTMLtree.c: Made it so that html nodes with a single child do
not insert a carriage return before or after the child node.
1999-12-18 15:32:45 +00:00
Daniel Veillard
262f9cb7b6 - Fixed bug #4344 - Fixed C++ problems in headers - Released 1.8.1 Daniel
- Fixed bug #4344
- Fixed C++ problems in headers
- Released 1.8.1
Daniel
1999-12-18 15:32:45 +00:00
Daniel Veillard
6d3bf1f4ee - fixed a nasty bug destroying default namespace and Dia :-(
introduced in 1.8.0
- closed bug #3950
Daniel
1999-12-16 17:52:19 +00:00
Daniel Veillard
944b5ff4f6 A posteriori validation should now work,
Added --postvalid to tester program
Added xmlDocGetRootElement() to the API,
Daniel
1999-12-15 19:08:24 +00:00
Ramiro Estrugo
bfce377579 Changed 'namespace' to 'nameSpace' to workaround c++ losage where 'namespace'
is a reserved keyword of the compiler.
1999-12-15 04:32:07 +00:00
Daniel Veillard
10a2c6532a Large commit of changes done while travelling to XML'99
- cleanups on memory use and parsers
- start of Link interfaces HTML and XLink
- rebuild the doc
- released as 1.8.0
Daniel
1999-12-12 13:03:50 +00:00
Daniel Veillard
294cbca511 Closing #3908 and #3937 and a memory leak in the SAX API
added SAX.h mostly useful for the doc generation
Regenerated all the docs,
Daniel
1999-12-03 13:19:09 +00:00
Daniel Veillard
f5c2c8707a - added the patch from Carl Nygard <cnygard@bellatlantic.net>
which allow impressive speed improvement on dataset with large text
   pieces, but at the cost of broken binary compatibility and slightly
   bigger memory usage.  Configure with --with-buffers to activate them,
   they are protected with XML_USE_BUFFER_CONTENT define.
 - added xmlCleanupPredefinedEntities(), memory allocation cleanup
Daniel
1999-12-01 09:51:45 +00:00
Daniel Veillard
a819dace56 Added cleanup routines, cleanup with -pedantic on linux, closed #3788, Daniel 1999-11-24 18:04:22 +00:00
Daniel Veillard
11a48ec6f4 Closing bug report #3748, changed global compression flag usage, and
added xmlNewTextChild() and xmlNewDocRawNode(), Daniel
1999-11-23 10:40:46 +00:00
Daniel Veillard
4c3a2030db The HTML parser MUST not die, even if given complete garbage to eat !
Updated the xml.html doc a bit and reran the doc generation,

Daniel
1999-11-19 17:46:26 +00:00
Daniel Veillard
07136650c1 Fixed some wrongly space collapsing code due to misreading of the spec, Daniel. 1999-11-18 14:02:05 +00:00
Daniel Veillard
7f8585025f Attribute nomarlization closing bug #3597
Small fixes in encoding.c
First bits of real progressive parsing,
   Daniel
1999-11-17 17:32:38 +00:00
Daniel Veillard
d7e200c0b0 closing bug #3163 by adding extra flags for the cc compiler on HP-uX, Daniel. 1999-11-15 17:53:11 +00:00
Daniel Veillard
51e3b154bf xmlSetProp() and xmlNewProp() fixes, mem extra alloc bug in parser fixed, Daniel 1999-11-12 17:02:31 +00:00
Daniel Veillard
962195f62c Turned off memory debug, oops ! Daniel 1999-10-28 15:51:53 +00:00
Daniel Veillard
3500838f65 BUG FIXED #2784 HTML parsing/output improvements Rebuilt, updated the docs
BUG FIXED #2784
HTML parsing/output improvements
Rebuilt, updated the docs
Improvement of regression scripts, make testall should look clean
Released as 1.7.4
1999-10-25 13:15:52 +00:00
Daniel Veillard
7c1206fc06 Revamped HTML parsing, lots of bug fixes for HTML stuff,
Added xmlValidGetValidElements and xmlValidGetPotentialChildren,
Completed and cleaned up the tests,
Added doc for new modules gnome-xml-xmlmemory.html and gnome-xml-nanohttp.html,
Daniel
1999-10-14 09:10:25 +00:00
Daniel Veillard
7d2c276a65 Fixed probles in some HTML tag autoclose, XML output bug on mixed-content
and fixed the related output for tests, Daniel.
1999-10-11 15:09:51 +00:00
Daniel Veillard
6077d03d0e Various small bugfixes, Daniel. 1999-10-09 09:11:45 +00:00
Daniel Veillard
2673d3c856 Fixed problems with HTML parsing, Daniel. 1999-10-08 14:37:09 +00:00
Daniel Veillard
00fdf370d3 Improvement of doc, Raph patch for CORBA init, support for spaces in XPath, Daniel 1999-10-08 09:40:39 +00:00
Daniel Veillard
ad21944c30 Turning off memory debug, Daniel 1999-09-27 08:17:49 +00:00
Daniel Veillard
7a66ee6bd0 better SAX interfaces. preparing for 1.7.2, Daniel. 1999-09-26 11:31:02 +00:00
Daniel Veillard
2f4dfc40d4 Updated the doc, and patched libxml.spec.in, Daniel. 1999-09-24 14:03:48 +00:00
Daniel Veillard
335849b934 Removed unconditionnal references to snprintf, Daniel. 1999-09-23 23:08:42 +00:00
Daniel Veillard
dd6b36766f Fixed CHAR, errno, alpha RPM compile, updated doc, Daniel 1999-09-23 22:19:22 +00:00
Daniel Veillard
7f7d1119af Ready for 1.7.0, major changes, nanohttp, cleanup, binary compat with 1.4,
etc... See Changelog, Daniel.
1999-09-22 09:46:25 +00:00
Daniel Veillard
c08a2c6fd4 Bug fixes, improvement on ID/IDREF support, 1.6.2, no memleaks, Daniel 1999-09-08 21:35:25 +00:00
CEST 1999 Timur Bakeyev
72bd1001e2 replaced "install -d " with "mkinstalldirs" - not all invocations of
Sat Sep  4 22:48:05 CEST 1999 Timur Bakeyev <mc@bat.ru>

	* doc/Makefile.am: replaced "install -d " with "mkinstalldirs" -
	not all invocations of install understand -d.
1999-09-04 20:50:25 +00:00
CEST 1999 Timur Bakeyev
6db3cb0b53 prepend all the test* calls with $(top_builddir) - to make 'check' works,
Sat Sep  4 22:20:07 CEST 1999 Timur Bakeyev <mc@bat.ru>

	* Makefile.am: prepend all the test* calls with $(top_builddir) -
	to make 'check' works, when builddir != srcdir.
1999-09-04 20:25:14 +00:00
Daniel Veillard
c8eab3a22c Updated the documentation, Daniel. 1999-09-04 18:27:23 +00:00
Daniel Veillard
6454aec23d Added memory debug wrappers, killed all detected memory leaks, Daniel 1999-09-02 22:04:43 +00:00
Daniel Veillard
1ff7ae3dfd Fixing two stupid bugs on entities and HTML tree deallocation, Daniel. 1999-09-01 12:19:13 +00:00
Daniel Veillard
c26087b870 Patched warning issued on SGI by Stephane.Conversy@lri.fr, Daniel. 1999-08-30 11:23:51 +00:00
Daniel Veillard
b96e643849 Release 1.6, lot of fixes, more validation, code cleanup, added namespace
on attributes, Daniel.
1999-08-29 21:02:19 +00:00
Daniel Veillard
991e63d9cb More validity stuff (ID) and corrct version of equal and compare for XPath, Daniel 1999-08-15 23:32:28 +00:00
Daniel Veillard
b556eb5864 Corrected xmlConf.sh missing in distrib, Daniel 1999-08-15 17:19:50 +00:00
Daniel Veillard
b05deb7f5f Huge commit: 1.5.0, XML validation, Xpath, bugfixes, examples .... Daniel 1999-08-10 19:04:08 +00:00
Daniel Veillard
6a6ccc1de6 Added an HACKING file, Daniel. 1999-08-10 09:34:35 +00:00
Daniel Veillard
e2d034d3b5 Bunch of updates, progressive parsing, updates on HTML, XPAth and docs, Daniel 1999-07-27 19:52:06 +00:00
Daniel Veillard
15b75af8fa Just adds 'const' to a couple of important parameters, patch from
Michael Meeks <michael@oasis.edenproject.org>, Daniel.
1999-07-26 16:42:37 +00:00
Daniel Veillard
1566d3a91b Added XPath code (http://www.w3.org/TR/xpath), updated HTML support and docs, Daniel 1999-07-15 14:24:29 +00:00
Daniel Veillard
d79d787092 Applied patch from John Ellson <ellson@lucent.com> closing #1646, Daniel 1999-07-12 10:38:12 +00:00
Daniel Veillard
be9e595a41 Fixed bug #1638, daniel 1999-07-12 09:16:45 +00:00
Daniel Veillard
3166ab1a14 Added the Makefile for example subdir containing gjobread, Daniel. 1999-07-11 16:14:19 +00:00
Tomasz Kłoczko
a75b6b325c - log entry.
- log entry.
1999-07-10 12:21:13 +00:00
Daniel Veillard
7cc3c04b80 Applied a bug fix on file reading code from John Ellson <ellson@lucent.com>, Daniel. 1999-07-09 10:11:57 +00:00
Daniel Veillard
82150d8a99 HTML parsing, output is now correct, added HTMLtests target and testcases, Daniel 1999-07-07 07:32:15 +00:00
Daniel Veillard
5233ffc8d3 Restore binary compat, more HTML stuff, allow stdin input, Daniel. 1999-07-06 22:25:25 +00:00
Daniel Veillard
be70ff7162 Closing reported bugs: 617 1591 1592, adding an HTML parser, Daniel 1999-07-05 16:50:46 +00:00
Daniel Veillard
97fea18b71 Allocate a per-parser SAX table, correct the SAX results, Daniel. 1999-06-26 23:07:37 +00:00
Daniel Veillard
14fff064e5 Big changes, seems that 1.2.0 wasn't commited, here is 1.3.0, Daniel 1999-06-22 21:49:07 +00:00
Raph Levien
05240da818 Fixed a buffer overrun (exhibits with very long attributes). 1999-06-15 21:27:11 +00:00
Daniel Veillard
bb2da58013 Added a gjob example for ole, Daniel 1999-06-13 14:37:07 +00:00
Daniel Veillard
011b63cb20 Release of libxml-1.1, Daniel. 1999-06-02 17:44:04 +00:00
Daniel Veillard
27d88744f9 CORBA defines fixes, char encoding atodetection, Daniel 1999-05-29 11:51:49 +00:00
Manish Vachharajani
5e60f5a236 Prevent gnome-xml from writing two copies of the xml tree to the dest file in
xmlSaveFile, and free the allocated buffer there
1999-05-29 03:04:30 +00:00
Daniel Veillard
5099ae89ef Removal of threading problems, update documentation, added SAX tests, Daniel 1999-04-21 20:12:07 +00:00
Daniel Veillard
517752b985 Completed/revamped the SAX support, removed old namespace suppport, Daniel 1999-04-05 12:20:10 +00:00
Daniel Veillard
87c83bd334 Added test and result to EXTRA_DIST, Daniel 1999-04-02 16:04:43 +00:00
Daniel Veillard
64068b3e25 Moved macros to parserInternals, applied patches for MSVC6, Daniel 1999-03-24 20:42:16 +00:00
Daniel Veillard
012ccc1c6d Fixed xml-config --version, Daniel. 1999-03-23 10:11:11 +00:00
Raja R Harinath
a86c23e3a1 Alias for tests' target. This will cause make check' to do the right
* Makefile.am (check-local): Alias for `tests' target.  This will
cause `make check' to do the right thing.
(tests): Don't run tests in srcdir.  Also, replaced calls to
basename with a `sed' "equivalent".
1999-03-05 22:14:01 +00:00
Daniel Veillard
d109e37b00 Moved error.h to xml-error.h, associated fixed and updates, Daniel 1999-03-05 06:26:45 +00:00
Daniel Veillard
bc50b59d36 Memory leak hunting, export more interfaces, updated the doc, Daniel. 1999-03-01 12:28:53 +00:00
Daniel Veillard
d692aa49bd Added call to create/free parser contexts, + doc, Daniel. 1999-02-28 21:54:31 +00:00
Daniel Veillard
55a992728b Toward 1.0.0, added docs to the packages, Daniel. 1999-02-25 11:01:29 +00:00
Daniel Veillard
35925478d1 Added parserInternals.h to Makefile.am and the generated HTML docs, Daniel. 1999-02-25 08:46:07 +00:00
Daniel Veillard
1e346af5e4 Serious upgrade of internal subset support, setup for gtk-doc, Daniel 1999-02-22 10:33:01 +00:00
Daniel Veillard
1164e752e6 Upgrade to 0.99.8 cleanup of spec and makefiles to include doc, Daniel. 1999-02-16 16:29:17 +00:00
Nuno Ferreira
03d04781b2 Added this file.
1999-02-13  Nuno Ferreira  <nmrf@rnl.ist.utl.pt>

	* doc/.cvsignore: Added this file.
1999-02-13 00:07:17 +00:00
Daniel Veillard
6800ef354b fixed xmlGetProp to return "" when the attribute is NULL, Daniel. 1999-02-08 18:33:22 +00:00
Daniel Veillard
726c7e3c8d Fixed the output of empty attributes, Daniel. 1999-02-08 15:13:10 +00:00
Daniel Veillard
1899e85350 Header cleanup and work on parsing/output of element declarations, Daniel. 1999-02-01 12:18:54 +00:00
Daniel Veillard
3b9def1571 More work toward DTD parsing, informations on the mailing-list and Web, Daniel. 1999-01-31 22:15:06 +00:00
Raja R Harinath
7eb5c4f227 Use -I not -L for includes.
* configure.in (XML_INCLUDEDIR): Use -I not -L for includes.
1999-01-27 23:01:51 +00:00
Daniel Veillard
39a1f9a3a7 Speed, conformance testing, more parsing, general improvements, Daniel. 1999-01-17 19:11:59 +00:00
Daniel Veillard
3c2c2ce4af Updated the tests and result files for better conformances, added rdf2, Daniel 1999-01-17 13:48:01 +00:00
Daniel Veillard
7c92c0aad1 Changed the behaviour of xmlGetProp on NULL values, Daniel. 1998-12-06 18:08:28 +00:00
Daniel Veillard
44b3a06163 Patched a bug in the generation of empty attributes, Daniel. 1998-12-05 17:27:22 +00:00
Daniel Veillard
be36afe119 Added copy operations for node/tree/documents, Daniel. 1998-11-27 06:39:50 +00:00
Daniel Veillard
8cc0d1f889 Better entities and char ref encoding, error msg formatting, Daniel. 1998-11-16 01:04:26 +00:00
Daniel Veillard
242590ee5d simple bug hunting done during rpm2html and rpmfind integration. 1998-11-13 18:04:35 +00:00
Daniel Veillard
42dc9b30b9 Added interfaces with SAX callback block, and upgraded libtool, Daniel 1998-11-09 01:17:21 +00:00
Daniel Veillard
e3bffb9934 Redirect all errors reporting through the SAX error function, Daniel. 1998-11-08 14:40:56 +00:00
Daniel Veillard
da4d3c42fa Update of libtool files, use of HAVE_SNPRINTF, Daniel. 1998-11-04 20:07:05 +00:00
Miguel de Icaza
442321cef2 Use g_snprintf insteda of snprintf.
1998-11-04  Miguel de Icaza  <miguel@nuclecu.unam.mx>

	* entities.c: Use g_snprintf insteda of snprintf.
1998-11-04 18:13:38 +00:00
Daniel Veillard
0ba4d5377c CharRef handling, comments, formatting, pre UTF-8 handling, Daniel. 1998-11-01 19:34:31 +00:00
Daniel Veillard
27271682f7 Fixed? a trange bug related to compression, Daniel. 1998-10-30 06:39:40 +00:00
Daniel Veillard
25940b7c1b Cleanup, bug fixing, entities improvement, more documentation, Daniel. 1998-10-29 05:51:30 +00:00
Daniel Veillard
1625364f6d Cleanup of the API, more work done on the tree generation, Daniel. 1998-10-28 22:58:05 +00:00
Daniel Veillard
10c6a8fdde A small patch and more doc, Daniel. 1998-10-28 01:00:12 +00:00
Daniel Veillard
baf4cd58df Added debugging code, a bit of parser cleanup, Daniel 1998-10-27 22:56:57 +00:00
Daniel Veillard
ccb096379a Changed the internals a lot for DOM, entity support, slight changes of API,
more (if not all) formating of function comments, started documentation, Daniel.
1998-10-27 06:21:04 +00:00
Daniel Veillard
11e0058a11 Function blocks of parser.c, attribute handling through SAX, Daniel. 1998-10-24 18:27:49 +00:00
Daniel Veillard
97b587771b Set up the fonctions comment block, boring but useful, Daniel. 1998-10-20 06:14:16 +00:00
Daniel Veillard
891e404a09 Added the UTF-8, UTF-16 and ISO Lat 1 conversion routines, not yet used, Daniel. 1998-10-19 00:43:02 +00:00
Daniel Veillard
33942846fc Make sure that new object carry the proper type value, Daniel. 1998-10-18 19:12:41 +00:00
Daniel Veillard
27fb07571f Corbaization of the document structures, Daniel. 1998-10-17 06:47:46 +00:00
Daniel Veillard
0bef131b72 Added prev and doc pointers to Node, confomity with DOM, Daniel 1998-10-14 02:36:47 +00:00
Daniel Veillard
278647065b Added hooks for servants, Daniel. 1998-10-08 03:47:24 +00:00
Daniel Veillard
a6e1d12ac2 Added xml-config.in and the related changes, Daniel. 1998-10-04 14:41:05 +00:00
Daniel Veillard
7066a79c63 Patched autogen.sh to to autoupdate libtool and automake config files, Daniel. 1998-10-01 20:28:28 +00:00
Miguel de Icaza
60681bd36c Use '?' to separate the sed commands as ',' is used when people pass
1998-09-30  Miguel de Icaza  <miguel@nuclecu.unam.mx>

	* Makefile.am: Use '?' to separate the sed
	commands as ',' is used when people pass -Wl,something.
1998-09-30 19:28:59 +00:00
Daniel Veillard
15a8df4b82 Added a per-document compression interface, Daniel. 1998-09-24 19:15:06 +00:00
Daniel Veillard
151b1b0c2d Added compression on saving, Daniel. 1998-09-23 00:49:46 +00:00
Daniel Veillard
70120ffb43 Corrected a loop if the file size is 0, Daniel. 1998-09-22 00:24:21 +00:00
Raja R Harinath
d2e3abde2b New file. Contains prototyes from `error.c'.
* error.h: New file.  Contains prototyes from `error.c'.
1998-08-20 21:52:38 +00:00
Tom Tromey
c19653dcd0 New macro. (xmlinc_HEADERS): Renamed from include_HEADERS.
Thu Aug 13 19:02:34 1998  Tom Tromey  <tromey@cygnus.com>

	* Makefile.am (xmlincdir): New macro.
	(xmlinc_HEADERS): Renamed from include_HEADERS.
1998-08-14 01:22:43 +00:00
Daniel Veillard
845664df7c Applied a small patch on numeric entities parsing from Christopher Blizzard, Daniel 1998-08-13 04:43:19 +00:00
Daniel Veillard
260a68fd34 Release 0.2, 80% rewrite, nothing left intact ... Daniel 1998-08-13 03:39:55 +00:00
Christopher Blizzard
a36749e073 Add .deps dir
1998-07-30  Christopher Blizzard  <blizzard@appliedtheory.com>

        * .cvsignore: Add .deps dir
1998-07-30 21:47:18 +00:00
Daniel Veillard
f8015fac7a changed the memory allocation scheme for name in xmlNewNode, Daniel. 1998-07-26 21:31:38 +00:00
Daniel Veillard
fe9260038a Corrected errors in infos, patched the Makefile.am, Daniel. 1998-07-26 04:28:20 +00:00
Daniel Veillard
01791d57d6 Added the XML code developped at W3C, Daniel. 1998-07-24 19:24:09 +00:00