Commit Graph

226 Commits

Author SHA1 Message Date
Daniel Veillard
32bc74ef98 - doc/encoding.html doc/xml.html: added I18N doc
- encoding.[ch] HTMLtree.[ch] parser.c HTMLparser.c: I18N encoding
  improvements, both parser and filters, added ASCII & HTML,
  fixed the ISO-Latin-1 one
- xmllint.c testHTML.c: added/made visible --encode
- debugXML.c : cleanup
- most .c files: applied patches due to warning on Windows and
  when using Sun Pro cc compiler
- xpath.c : cleanup memleaks
- nanoftp.c : added a TESTING preprocessor flag for standalong
  compile so that people can report bugs more easilly
- nanohttp.c : ditched socklen_t which was a portability mess
  and replaced it with unsigned int.
- tree.[ch]: added xmlHasProp()
- TODO: updated
- test/ : added more test for entities, NS, encoding, HTML, wap
- configure.in: preparing for 2.2.0 release
Daniel
2000-07-14 14:49:25 +00:00
Daniel Veillard
4970326b4c Fixed the handling of the control FTP connection
Fixed the spec file
Daniel
2000-07-10 10:27:46 +00:00
Daniel Veillard
306be999e9 Updated doc dur to xmlsoft.org reorg, updated examples, Daniel. 2000-07-03 12:38:45 +00:00
Daniel Veillard
7d85335ad1 Fixed bug #7419, dependancies fouled, Daniel. 2000-07-02 18:53:09 +00:00
Daniel Veillard
365e13be6c Work on character encoding support for the HTML parser
Fixed some autoopen/autoclose probs for the HTML parser
Fixed a potential memleak in the encoding stuff
Daniel.
2000-07-02 07:56:37 +00:00
Daniel Veillard
af743793c8 Added an FAQ, Daniel. 2000-07-01 11:49:28 +00:00
Daniel Veillard
d83eb8212e more cleanup of the HTML parser to force it to not bypass SAX, Daniel.
Ready for 2.1.1 it seems
2000-06-30 18:39:56 +00:00
Daniel Veillard
3f6f7f64ce - win32config.h.in: updated
- xmlversion.h.in: crap forgot to update this, this mean 2.1.0
  lacks iconv support :-( need to release 2.1.1
- configure.in: release 2.1.1
- HTMLparser: fixed bug #14784
- xpath.c HTMLparser.c encoding.c parser.c: fix warning raised
  by Windows compiler
- HTMLparser.c SAX.c HTMLtree.h tree.h: create HTML document in
  the SAX startDocument() callback.
- TODO: updated
- rebuild doc
Daniel
2000-06-30 17:58:25 +00:00
Daniel Veillard
be803967db - Large resync between W3C and Gnome tree
- configure.in: 2.1.0 prerelease
- example/Makefile.am example/gjobread.c tree.h: work on
  libxml1 libxml2 convergence.
- nanoftp, nanohttp.c: fixed stalled connections probs
- HTMLtree.c SAX.c : support for attribute without values in
  HTML for andersca
- valid.c: Fixed most validation + namespace problems
- HTMLparser.c: start document callback for andersca
- debugXML.c xpath.c: lots of XPath fixups from Picdar Technology
- parser.h, SAX.c: serious speed improvement for large
  CDATA blocks
- encoding.[ch] xmlIO.[ch]: Improved seriously saving to
  different encoding
- config.h.in parser.c xmllint.c: added xmlCheckVersion()
  and the LIBXML_TEST_VERSION macro
Daniel
2000-06-28 23:40:59 +00:00
Daniel Veillard
c310d56482 updated doc, added a documentation lookup module, Daniel. 2000-06-23 18:32:15 +00:00
Daniel Veillard
f302982d37 updated with instructions for support of both libxml-1.x and libxml-2.x
* doc/upgrade.html: updated with instructions for support of both
  libxml-1.x and libxml-2.x
* doc/gjobread.c : applied Todd Dukes <tdukes@ibmoto.com> patch
  for 2.x support and also fixed includes
Daniel
2000-05-06 08:11:19 +00:00
Daniel Veillard
496a1cf592 revamped the encoding support, added iconv support, so now libxml if
* encoding.[ch], xmlIO.[ch], parser.c, configure.in : revamped
  the encoding support, added iconv support, so now libxml if
  compiled with iconv automatically support japanese encodings
  among others. Work based on initial patch from Yuan-Chen Cheng
  I may have broken binary compat in the encoding handler
  registration scheme, but that was so utterly broken I don't
  expect anybody to have used this feature until now.
* parserInternals.h: fixup on the CHAR range macro
* xml-error.h, parser.c: catch URL/URI errors using the uri.c
  code.
* tree.[ch]: added xmlBufferGrow(), was needed for iconv
* uri.c: added xmlParseURI() I can't believe I forgot to
  implement this one in 2.0 !!!
* SAX.c: moved doc->encoding update in the endDocument() call.
* TODO: updated.

  Iconv rules :-)

Daniel
2000-05-03 14:20:55 +00:00
Daniel Veillard
06047432eb removed extraneous xmlRemoveProp definition added item about
* tree.h: removed extraneous xmlRemoveProp definition
* TODO: added item about --disable-corba configure switch
* tree.c parser.c: fixed problems for xmlCopyDoc and postvalidation
* nanoftp.c: fixed include problems giving troubles on AIX and
  slowlaris
* xmlIO.[ch] valid.h tree.[ch] xlink.c xmlmemory.c uri.c
  parser.c nanoftp.c nanohttp.c SAX.c testSAX.c :
  comment and headers changes to lower gtk-doc number of warnings
* doc/html/*: rebuilt docs
Daniel
2000-04-24 11:33:38 +00:00
Daniel Veillard
e0aed304b1 Updated the Hacking file with instructions, Daniel. 2000-04-16 08:52:20 +00:00
Daniel Veillard
5e873c4627 - speedup of IS_CHAR like macros, significant overall improvement
- More interfaces for new I/O functions: xmlNewIOInputStream,
  xmlParserInputBufferCreateIO, xmlCreateIOParserCtxt
- added I/O test to xmllint
Daniel
2000-04-12 13:27:38 +00:00
Daniel Veillard
fc708e2b7c - cosmetic changes from "Timur I. Bakeyev" <timur@bat.ru>
Daniel
2000-04-08 13:17:27 +00:00
Daniel Veillard
5d211f4c7a libxml2 prerelease ?
- xmlIO cleanup, xmlRegisterInputCallbacks() for new input method
- fixed xmlPrevSibling and xmlNextSibling
- TODO: updated
- doc/* : updated/regenerated
Daniel
2000-04-07 17:00:24 +00:00
Daniel Veillard
e77a918a34 added testURI.c, Daniel. 2000-04-05 19:12:29 +00:00
Daniel Veillard
ce8b83b020 Adding xmllint.c missing from CVs too, Daniel. 2000-04-05 18:38:42 +00:00
Daniel Veillard
b9df404b9b Added xmlversion.h.in, Daniel 2000-04-05 14:23:16 +00:00
Daniel Veillard
361d845de0 Work done on the plane, ready to release libxml2-2.0.0, Daniel 2000-04-03 19:48:13 +00:00
Daniel Veillard
ec30341c5c uri.c uri.h: finished the escaping handling, the base support and the URI
path normalization.
Makefile.am: added instructions to generate testURI
TODO: updated
doc/xml.html, doc/smallfootonly.gif doc/w3c.png: updated,
      added links and icons for W3C and Gnome
Daniel
2000-03-24 13:41:54 +00:00
Daniel Veillard
8f62198686 - xmlmemory.[ch] commiting the files finally
- rebuilt/uploaded docs,
Daniel
2000-03-20 13:07:15 +00:00
Daniel Veillard
3dd82e7c2a - TODO: updated - xmlmemory.[ch] : added xmlMemSetup() and xmlMemGet() to
- TODO: updated
- xmlmemory.[ch] : added xmlMemSetup() and xmlMemGet() to override
  libxml default allocation function with another set (like gmalloc/gfree).
- Makefile.am, uri.c, uri.h: added a set of functions to do exact (litteraly
  copied from the RFC 2396 productions) parsing and handling of URI.
Daniel
2000-03-20 11:48:04 +00:00
Daniel Veillard
edfb29b8af Updated the docs, and configuratio/spec stuff to release is at libxml2 , daniel. 2000-03-14 19:59:05 +00:00
Daniel Veillard
cf46199c5e This is the 2.0.0-beta, lots and lots and lots of changes
Have a look at http://xmlsoft.org/upgrade.html

Daniel
2000-03-14 18:30:20 +00:00
Daniel Veillard
f13e1ed19c Updated docs, Daniel. 2000-03-06 07:41:49 +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
402e8c8865 applied doc patch from Paul DuBois, Daniel 2000-02-29 22:57:47 +00:00
Daniel Veillard
d0f7f74b47 Do a bit of bufferization in text mode, Daniel 2000-02-02 17:42:48 +00:00
Daniel Veillard
5feb8495f4 - Removing warnings on various paltforms
- closing bug #5281
Daniel
2000-02-02 17:15:36 +00:00
Daniel Veillard
f341f93011 Patches for WIN32, Daniel. 2000-02-02 14:52:08 +00:00
Daniel Veillard
13c757ef89 Commited the snprintf patch courtesy of George Katsirelos <gkatsi@cs.toronto.edu>, Daniel. 2000-02-01 23:59:15 +00:00
Daniel Veillard
726e879614 Fixed '#' and '?' stripping when processing URLs, Daniel. 2000-01-30 20:04:29 +00:00
Daniel Veillard
e41f2b74c5 Released 1.8.6, Daniel. 2000-01-30 20:00:07 +00:00
James Henstridge
f3be931a2e include <netinet/in.h> for IPPROTO_TCP.
2000-01-29  James Henstridge <james@daa.com.au>

        * nanoftp.c: include <netinet/in.h> for IPPROTO_TCP.

        * Makefile.am: added nanoftp.[ch] to the build.
2000-01-28 13:59:21 +00:00
Daniel Veillard
aeea04f18f - cleaned up the FTP module, did the API, extracted docs
- regenerated and updated the docs
2000-01-25 19:27:27 +00:00
Daniel Veillard
da07c34a75 - added a nano FTP module
- removed SNAP from RPM
- updated the status in doc
2000-01-25 18:31:22 +00:00
Daniel Veillard
e3d88efb8d - bux fixes in XPath implementation
- fixed xml-config --version
- updated TODO

Daniel
2000-01-24 13:55:06 +00:00
Daniel Veillard
461a66c942 Candidate libxml-1.8.5, include jody libz patch, Daniel 2000-01-18 18:01:01 +00:00
Daniel Veillard
f967b904c2 Fixed a hideous bu in xmlGetProp, reported by Rune.Djurhuus@fast.no, Daniel. 2000-01-17 16:06:10 +00:00
Daniel Veillard
ad8f99df6b Updated TODO conditionnal compile of messages from the parser/tree.c code,
Updated TODO
conditionnal compile of messages from the parser/tree.c code,
Daniel
2000-01-15 14:20:03 +00:00
Daniel Veillard
0142b84bbf Oops, it seems I forgot to commit 1.8.4 changes
- restored xmlNewGlobalNs since this seems used
- fixed a problem with INCLUDE_WINSOCK
- removed all calls to exit() from the library code.
- removed bugs detected by Windows compilers
- started adding interfaces for parsing well balanced XML fragments
- releasing 1.8.4
- rebuilt the docs
Daniel
2000-01-14 14:45:24 +00:00
Daniel Veillard
2eac503994 Added a Fragment function for Raph (DOM) Daniel. 2000-01-09 21:08:56 +00:00
Daniel Veillard
f3a7358dca Updated the documentation, Daniel 2000-01-05 14:58:39 +00:00
Daniel Veillard
71b656e067 - added xmlRemoveID() and xmlRemoveRef()
- added check and handling when possibly removing an ID
- fixed some entities problems
- added xmlParseTryOrFinish()
- changed the way struct aredeclared to allow gtk-doc to expose those
- closed #4960
- fixes to libs detection from Albert Chin-A-Young
- preparing 1.8.3 release
Daniel
2000-01-05 14:46:17 +00:00
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