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

145 Commits

Author SHA1 Message Date
Daniel Veillard
7db3871bf5 cleanup always use stdout if output is NULL don't close filedescriptors
* Makefile.am: cleanup
* debugXML.c: always use stdout if output is NULL
* xmlIO.c: don't close filedescriptors passed to outputBuffers
* python/Makefile.am python/generator.py python/libxml2class.txt
  python/libxml_wrap.h python/types.c: augmented the number of bindings
  handling FILE * and XPath contexts
* python/tests/Makefile.am: avoid a stupid problem due to the
  use of TEST.
Daniel
2002-02-07 16:39:11 +00:00
Daniel Veillard
c3e39448e5 Jacob sent a patch to allow building from tarfile. Daniel
* python/Makefile.am: Jacob sent a patch to allow building from
  tarfile.
Daniel
2002-02-01 09:29:41 +00:00
Daniel Veillard
f1d0e6be57 inserted the python wrappers build, I hope this won't be too unportable
* python/Makefile.am python/libxml.c configure.in Makefile.am:
  inserted the python wrappers build, I hope this won't be too
  unportable
Daniel
2002-01-31 23:42:44 +00:00
Daniel Veillard
3606581dcd another set of patches from Anthony Jones for copy operations cleanup and
* valid.c tree.c entities.c: another set of patches from
  Anthony Jones for copy operations cleanup and robustness
Daniel
2002-01-24 15:02:46 +00:00
Daniel Veillard
610064716f added an XML description of the API, moved the script generating it here.
* Makefile.am doc/Makefile.am doc/libxml2-api.xml doc/parsedecl.py:
  added an XML description of the API, moved the script generating
  it here. Added a "make api" target
Daniel
2002-01-21 17:31:47 +00:00
Bjorn Reese
026d29f41e Upgraded to trio baseline 1.6 2002-01-19 15:40:18 +00:00
Daniel Veillard
314cfa083c patch from Anthony Jones for hash.c allocation size trying to work around
* hash.c: patch from Anthony Jones for hash.c allocation size
* Makefile.am: trying to work around Yet Another Libtool Madness
  and build the 2.4.13 release finally ...
daniel
2002-01-14 17:58:01 +00:00
Daniel Veillard
db0eb8df5a applied Serguei Narojnyi's patch to add native thread support on the Win32
* threads.c: applied Serguei Narojnyi's patch to add native
  thread support on the Win32 platform
* testThreadsWin32.c Makefile.am: added the test program also
  from Serguei, Win32 specific
* include/win32config.h include/libxml/xmlwin32version.h.in:
  added patch from Igor for the Windows thread specific defines.
Daniel
2002-01-13 13:35:00 +00:00
Daniel Veillard
d3b08826fc integrated Eric Lavigne (sp???) contribution to build libxml2 on MacOS
* configure.in libxml.h parser.c testThreads.c macos/: integrated
  Eric Lavigne (sp???) contribution to build libxml2 on MacOS using
  CodeWarrior.
Daniel
2001-12-05 12:03:33 +00:00
Daniel Veillard
8e3943cbab update from Igor for Windows Daniel
* win32/dsp/* include/libxml/xmlwin32version.h.in: update
  from Igor for Windows
Daniel
2001-11-12 21:35:44 +00:00
Daniel Veillard
0135a3902d 2.4.10 release, Daniel. 2001-11-10 14:10:27 +00:00
Daniel Veillard
03f848d886 Weiqi Gao pointed out that xmlcatalog migh need the history libraries
* Makefile.am: Weiqi Gao pointed out that xmlcatalog
  migh need the history libraries
Daniel
2001-11-07 12:53:46 +00:00
Daniel Veillard
c853b32f9d releasing 2.4.9 fixing catalog breakages fixed more problems in catalog
* configure.in include/libxml/xmlwin32version.h: releasing 2.4.9
  fixing catalog breakages
* Makefile.am catalog.c result/catalogs/catal
  result/catalogs/mycatalog.* test/catalogs/catal*:
  fixed more problems in catalog support, added more regression tests
  for both XML and SGML catalog handling
Daniel
2001-11-06 15:24:37 +00:00
Daniel Veillard
ad661b9eff confexecdir and confexec_DATA were defined twice pointed out by Karl
* Makefile.am: confexecdir and confexec_DATA were defined twice
  pointed out by Karl Eichwalder
Daniel
2001-11-05 11:43:15 +00:00
Daniel Veillard
8bdb91dd5c cleanup cleanup too added xmlNoNetExternalEntityLoader() from xsltproc
* Makefile.am: cleanup
* threads.c: cleanup too
* xmlIO.c include/libxml/xmlIO.h: added xmlNoNetExternalEntityLoader()
  from xsltproc
* include/libxml/tree.h include/libxml/parser.h: trying to break a
  dependancy loop.
Daniel
2001-10-31 17:52:43 +00:00
Daniel Veillard
52dcab3999 preparing 2.4.7 switched to the latest xmllint manual page from John
* configure.in: preparing 2.4.7
* Makefile.am doc/Makefile.am: switched to the latest xmllint
  manual page from John
* doc/*: updated the doc and rebuilt the generated pages
Daniel
2001-10-30 12:51:17 +00:00
Daniel Veillard
89cad536e3 added entities testing to the Thread test make the test reasonable fix the
* test/threads/*: added entities testing to the Thread test
* testThreads.c: make the test reasonable
* DOCBparser.c: fix the DTD public and system ID
* xmllint.c: added --sgml for SGML DocBook importing
* Makefile.am: added Docbtests target
Daniel
2001-10-22 09:46:13 +00:00
Daniel Veillard
ab7488efa5 fixed some bugs in CFLAGS passing. added a specific threaded test case
* configure.in: fixed some bugs in CFLAGS passing.
* test/threads Makefile.am testThreads.c: added a specific
  threaded test case (really nasty, guaranteed).
Daniel
2001-10-17 11:30:37 +00:00
Daniel Veillard
d046356030 Applied the last patches from Gary, cleanup, activated threading all user
* include/libxml/SAX.h include/libxml/globals.h include/libxml/parser.h
  include/libxml/parserInternals.h include/libxml/tree.h
  include/libxml/xmlerror.h HTMLparser.c SAX.c error.c globals.c
  nanoftp.c nanohttp.c parser.c parserInternals.c testDocbook.c
  testHTML.c testSAX.c tree.c uri.c xlink.c xmlmemory.c:
  Applied the last patches from Gary, cleanup, activated threading
  all user accessible global variables are now handled in globals.[ch]
  Still a bit rought but make tests passes with either
  --with-threads defined at configure time or not.
* Makefile.am example/Makefile.am: added globals.[ch] and threads
  linking options
Daniel
2001-10-13 09:15:48 +00:00
Daniel Veillard
b847864fc2 started integrating the core of the thread support not activated yet but
* Makefile.am include/libxml/Makefile.am
  include/libxml/globals.h globals.c  include/libxml/threads.h
  threads.c build_glob.py global.data xmlcatalog.c acconfig.h
  configure.in: started integrating the core of the thread support
  not activated yet but half integrated. The code should still
  compile and work anyway.
Daniel
2001-10-12 17:29:10 +00:00
Daniel Veillard
1a123613d3 PISSED !!! DO NOT COMMIT DIRECTLY IF NOT ALLOWED PERSONALLY
* Makefile.am libxml.spec.in: backing up non-documented changes
  commited without review or aproval by Jens Finke <jens@gnome.org>
* HACKING: made 100% clear that no commit should be done directly
Daniel
2001-09-19 08:06:23 +00:00
CEST 2001 Jens Finke
de8c8af992 Don't copy libxml.spec, it's already included due to listing in
Wed Sep 19 08:42:20 CEST 2001 Jens Finke <jens@gnome.org>

	* Makfefile.am (dist-hook): Don't copy libxml.spec, it's already
	included due to listing in EXTRA_DIST.

	* libxml.spec.in: Updated.
2001-09-19 07:20:40 +00:00
Daniel Veillard
5eb9dea8be Need $(ICONV_LIBS) in libxml2_la_LIBADD Daniel
* Makefile.am: Need $(ICONV_LIBS) in libxml2_la_LIBADD
Daniel
2001-09-07 09:38:02 +00:00
Daniel Veillard
9f7b84bb07 preparing for a 2.4.3 release even if it may not be ready yet redirected
* Makefile.am configure.in include/libxml/xmlwin32version.h:
  preparing for a 2.4.3 release even if it may not be ready yet
* catalog.c parser.c xmlIO.c include/libxml/catalog.h: redirected
  all file parsing lookup to go through the entity resolver, add
  to add an API to bypass it (needed to load catalogs themselves),
  some cleanup on the catalog code too.
* nanoftp.c: small cleanup
* doc/catalog.html: small update
Daniel
2001-08-23 15:31:19 +00:00
Daniel Veillard
cda969218b more work on the XML catalog support. small cleanup seems using list as a
* Makefile.am catalog.c xmlcatalog.c include/libxml/catalog.h:
  more work on the XML catalog support.
* parser.c include/libxml/parser.h: small cleanup seems using
  list as a public parameter name can give portability troubles
* trionan.c trionan.h xpath.c include/libxml/trionan.h
  include/libxml/xpath.h include/libxml/Makefile.am: removed
  trionan from the libxml API, added xmlXPathIsInf and xmlXPathIsNaN
  wrappers
Daniel
2001-08-21 10:56:31 +00:00
Bjorn Reese
450296070e Re-worked NaN and Inf support 2001-08-21 09:23:53 +00:00
Daniel Veillard
344cee76a6 renaming testCatalog as xmlcatalog, making it an installed app adding a
* Makefile.am xmlcatalog.c libxml.spec.in: renaming
  testCatalog as xmlcatalog, making it an installed app
  adding a shell, and preparing it to be a /etc/xml/catalog
  management tool, though not ready yet
* catalog.c include/libxml/catalog.h: adding support for
  XML Catalogs http://www.oasis-open.org/committees/entity/
  not finished, there is some interesting tradeoffs and a
  few open questions left.
Daniel
2001-08-20 00:08:40 +00:00
Daniel Veillard
50f3437111 applied Win32 Facelift No.2 patches from Igor Zlatkovic for Windows/MSC
* DOCBparser.c Makefile.am nanohttp.c parser.c testHTML.c
  testSAX.c xmlIO.c xmllint.c include/win32config.h
  include/libxml/xmlversion.h.in include/libxml/xmlwin32version.h
  include/libxml/xmlwin32version.h.in win32/README.MSDev
  win32/dsp/*: applied Win32 Facelift No.2 patches from
  Igor Zlatkovic for Windows/MSC
Daniel
2001-08-03 12:06:36 +00:00
Daniel Veillard
5e2dace1ca Cleanup, cleanup .. removed libxml softlink for good cleanup to get 100%
Cleanup, cleanup ..
* configure.in Makefile.am: removed libxml softlink for good
* include/libxml/*.h *.c doc/Makefile.am: cleanup to get
  100% coverage by gtk-doc
Daniel
2001-07-18 19:30:27 +00:00
Daniel Veillard
b8c9be9718 fixed XML Base computation which was broken added a base function to the
* tree.c: fixed XML Base computation which was broken
* debugXML.c: added a base function to the shell
* Makefile.am result/scripts/* test/scripts/*: added scripts
  based regression tests, and adding 2 XML Base tests
Daniel
2001-07-09 16:01:19 +00:00
Daniel Veillard
f524d6e1d9 released 2.3.14 Daniel
* Makefile.am configure.in include/libxml/xmlwin32version.h:
  released 2.3.14
Daniel
2001-07-05 23:41:40 +00:00
Daniel Veillard
6e90d19693 - example/Makefile.am: fixed the include path to add srcdir/include
- Makefile.am configure.in: fix from Albert Chin for iconv detection
  and some cleanup
Daniel
2001-07-03 16:37:49 +00:00
Daniel Veillard
770447311e xmlStrstr args are both const small cleanup reformated, fixed problems if
* include/libxml/parser.h parser.c: xmlStrstr args are both const
* xpath.c: small cleanup
* xmlGetNsList: reformated, fixed problems if used on Entities
Daniel
2001-06-29 21:31:07 +00:00
Daniel Veillard
b37ecd0e51 - configure.in include/libxml/xmlwin32version.h: released 2.3.13
- Makefile.am example/Makefile.am: workaround automake generating
  erroneous deps
Daniel
2001-06-28 16:18:11 +00:00
Daniel Veillard
3e5bb8e54e - Makefile.am: added --push regression tests
- parserInternals.c: the XML parser segfaulted in --push mode
Daniel
2001-06-27 16:34:34 +00:00
Daniel Veillard
07385fd77f fixed make distcheck and rebuilding the rpms Daniel
* include/Makefile.am include/libxml/Makefile.am: fixed make
  distcheck and rebuilding the rpms
Daniel
2001-06-23 21:55:48 +00:00
Daniel Veillard
017b108fcf - Makefile.am: cleanup when --without-debug is specified
- xinclude.c xpath.c xpathInternals.h xpointer.c: cleanup
  w.r.t. --without-debug and other include points
- catalog.h testCatalog.c: a bit of cleanup and prepare for XML
  Catalogs
- configure.in entities.h tree.h HTMLparser.c: removed
  --without-corba, made the _private field mandatory
Daniel
2001-06-21 11:20:21 +00:00
Daniel Veillard
3739b98927 Kjartan Maraas provided a small patch to add xml2-config.in to EXTRA_DIST
* Makefile.am: Kjartan Maraas provided a small patch to
  add xml2-config.in to EXTRA_DIST
Daniel
2001-06-19 12:51:30 +00:00
Daniel Veillard
96ed5832c7 - Makefile.am example/Makefile.am: Laszlo PETER provided a fix
when using -liconv
- TODO: updated
Daniel
2001-06-15 22:22:04 +00:00
Daniel Veillard
6278fb5b30 - Makefile.am include/Makefile.am: small change to have
include/libxml rebuilt if working from CVS.
- uri.c: applied another patch from Carl Douglas for URI escaping,
  this should close bug #51876
Daniel
2001-05-25 07:38:41 +00:00
Daniel Veillard
a737459bc4 - Makefile.am xmlversion.h.in configure.in include/Makefile.am:
integrating catalogs
- catalog.[ch] testCatalog.c: adding a small catalo API
  (only SGML catalog support).
- parser.c: restaured xmlKeepBlanksDefault(0) API
Daniel
2001-05-10 14:17:55 +00:00
Daniel Veillard
4de4d3bf2d - valid.c: warn when indeterminist content model is detected
- result/VC/ElementValid8: this adds a message
- Makefile.am: add --novalid for VCM tests
- parserInternals.c: added a call to Init memory
Daniel
2001-05-07 20:50:47 +00:00
Daniel Veillard
357c960e40 - xpath.c result/XPath/expr/floats : clarified and cleanup
printing of abnormal floats in tests.
Daniel
2001-05-03 10:49:20 +00:00
Daniel Veillard
2a0d2e6b14 fixed a error introduced in Makefile.am, daniel 2001-05-02 17:11:36 +00:00
Daniel Veillard
7150a0385c - configure.in Makefile.am: make the inclusion of the trio
modules in the library conditional
Daniel
2001-05-02 16:41:11 +00:00
Daniel Veillard
eae522a0d8 Time to work on helping the Gnome Doc project, first step is reintegrating
the SGML DocBook parser in libxml2 distrib:
- DOCBparser.c DOCBparser.h testDocbook.c configure.in Makefile.am
  xmlversion.h.in: started (re)integrating the DocBook SGML parser.
- SAX.[ch]: cleanup and updates for DocBook
- debugXML.c parser.h tree.[ch] valid.c xpath.c: small macro or
  ex SGML identifier changes
- valid.c: removed a static unused function.
Daniel
2001-04-23 13:41:34 +00:00
Daniel Veillard
de57c61c9d - HTMLtree.c: applied change for Paul Sponagl on script saving
- Makefile.am: the warning about entity title.xml are normal.
Daniel
2001-04-23 09:13:36 +00:00
Daniel Veillard
393df01cac Finally pushing 2.3.7 out:
- configure.in: release of 2.3.7
- Makefile.am: fixing make distcheck
Daniel
2001-04-22 20:11:18 +00:00
Daniel Veillard
dab4cb37d8 Geez, this one was painful ! I still need to handle entities references
for the validation step but I have a clean way to add this without touching
the algorithm:
- valid.[ch] tree.h: worked *hard* to get non-determinist content
  validation without using an ugly NFA -> DFA algo in the source.
  Made a specific algorithm easier to maintain, using a single
  stack and without recursion.
- Makefile.am test/VCM/*.xml: added more tests to "make Validtests"
- hash.c: made the growing routine static
- tree.h parser.c: added the parent information to an
  xmlElementContent node.
Daniel
2001-04-20 13:03:48 +00:00
Daniel Veillard
2d90de4b16 - xmlversion.h.in win32config.h win32/libxml2/*: applied
Igor Zlatkovic patches for MSC compilation and added his
  updates
Daniel
2001-04-16 17:46:18 +00:00