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

22 Commits

Author SHA1 Message Date
Nick Wellnhofer
60d457be30 libxml.h: Don't include stdio.h 2022-12-08 04:24:57 +01:00
Nick Wellnhofer
ce9baf94d5 Remove XMLCALL and XMLCDECL macros from public headers 2022-12-08 02:48:27 +01:00
Ross Burton
4762c85668 Use python3 not python
As per https://peps.python.org/pep-0394/, the python binary can be one
of the following options:
- Python 2
- Python 3
- Not exist

All of the scripts in libxml2 use 'python', which may not exist.

As Python 2 reached EOL on the 1st January 2020, it's safe to move the
scripts to use python3 explicitly.
2022-12-07 13:21:12 +00:00
Nick Wellnhofer
b22b6deba9 Port genChRanges.py to Python 3 2022-08-18 22:46:42 +02:00
David Seifert
a62b31f43f
Use portable python shebangs
* In conda or Gentoo Prefix, we don't want to use the system python and
  instead rely on PATH lookup.
2022-04-06 19:57:30 +02:00
Nick Wellnhofer
78d7a5ca3c Update genChRanges.py
Remove trailing whitespace. The output now matches the generated files
in version control.
2022-03-02 20:40:41 +01:00
Nick Wellnhofer
346c3a930c Remove elfgcchack.h
The same optimization can be enabled with -fno-semantic-interposition
since GCC 5. clang has always used this option by default.
2022-02-20 21:49:04 +01:00
Jared Yanovich
2a350ee9b4 Large batch of typo fixes
Closes #109.
2019-09-30 18:04:38 +02:00
Daniel Veillard
05e9db806d applied patches from Aivars Kalvans to make unicode tables const, fixes
* chvalid.c genChRanges.py genUnicode.py xmlunicode.c
  include/libxml/chvalid.h include/libxml/xmlunicode.h: applied
  patches from Aivars Kalvans to make unicode tables const, fixes
  bug #336096, this also updates to Unicode 4.01 final with a couple
  of character ranges fixes.
Daniel
2006-03-27 09:30:13 +00:00
Daniel Veillard
8ea29c48f0 fixed bug #335603 and resync'ed genChRanges.py to the expected output.
* chvalid.c genChRanges.py include/libxml/chvalid.h: fixed bug
  #335603 and resync'ed genChRanges.py to the expected output.
Daniel
2006-03-26 22:52:40 +00:00
Daniel Veillard
be5869729a modified the file header to add more informations, painful... updated to
* include/libxml/*.h include/libxml/*.h.in: modified the file
  header to add more informations, painful...
* genChRanges.py genUnicode.py: updated to generate said changes
  in headers
* doc/apibuild.py: extract headers, add them to libxml2-api.xml
* *.html *.xsl *.xml: updated the stylesheets to flag geprecated
  APIs modules. Updated the stylesheets, some cleanups, regenerated
* doc/html/*.html: regenerated added back book1 and libxml-lib.html
Daniel
2003-11-18 20:56:51 +00:00
William M. Brack
b1d531659b minor enhancement to prevent comment with unreferenced variable. edited
* genChRanges.py, chvalid.c, include/libxml/chvalid.h: minor
  enhancement to prevent comment with unreferenced variable.
* threads.c xmlreader.c xmlwriter.c: edited some comments to
  improve auto-generation of documentation
* apibuild.py: minor change to an error message
2003-11-18 06:54:40 +00:00
William M. Brack
2ad1dfffa0 rebuilt the generated pages (again), manually restored doc/html/index.html
* doc/Makefile.am doc/*.html doc/html/*.html: rebuilt the
  generated pages (again), manually restored doc/html/index.html
  and manually edited generated file doc/gnome-xml.xml to put
  in appropriate headings.
* doc/docdescr.doc: new file to describe details of the
  document generation (helps my memory for the next time)
* genChRanges.py,chvalid.c,include/libxml/chvalid.h: minor
  enhancement to please the automatic documentation generation.
2003-11-15 10:35:20 +00:00
William M. Brack
272693c7e1 minor error cleanup for gcc-3.3.[12] compilation warnings.
* catalog.c,relaxng.c,testAutomata.c,xpointer.c,genChRanges.py,
  chvalid.c,include/libxml/chvalid.h,doc/examples/test1.c:
  minor error cleanup for gcc-3.3.[12] compilation warnings.
2003-11-14 16:20:34 +00:00
Daniel Veillard
2bd4322ce9 Stephane Bidoul pointed out another small glitch missing a const Daniel
* chvalid.c genChRanges.py: Stephane Bidoul pointed out another
  small glitch missing a const
Daniel
2003-10-22 08:51:21 +00:00
Daniel Veillard
fca7d83ba5 Stephane Bidoul pointed out that it doesn't define IN_LIBXML Daniel
* chvalid.c genChRanges.py: Stephane Bidoul pointed out that
  it doesn't define IN_LIBXML
Daniel
2003-10-22 08:44:26 +00:00
William M. Brack
196b38860c enhanced to include enough comments to make the api doc generation happy.
* genChRanges.py, chvalid.c, include/libxml/chvalid.h,
  doc/apibuild.py: enhanced to include enough comments to
  make the api doc generation happy.
2003-10-18 12:42:41 +00:00
William M. Brack
871611bb03 enhanced macros to avoid breaking ABI from previous versions. modified to
* genChRanges.py, chvalid.c, include/libxml/chvalid.h,
  include/libxml/parserInternals.h: enhanced macros to avoid
  breaking ABI from previous versions.
* catalog.c, parser.c, tree.c: modified to use IS_* macros
  defined in parserInternals.h.  Makes maintenance much easier.
* testHTML.c, testSAX.c, python/libxml.c: minor fixes to avoid
  compilation warnings
* configuration.in: fixed pushHTML test error; enhanced for
  better devel (me) testing
2003-10-18 04:53:14 +00:00
William M. Brack
c4b8189aa7 fixed a bug in the range search; enhanced range generation (inline code if
* genChRanges.py, chvalid.c, include/libxml/chvalid.h: fixed
  a bug in the range search; enhanced range generation (inline code
  if a small number of intervals); enhanced the readability of the
  output files.
2003-10-12 10:42:46 +00:00
Daniel Veillard
1a99396b18 removed some annoying warnings fixed a bug in the PubidChars definition,
* check-xml-test-suite.py: removed some annoying warnings
* chvalid.def chvalid.c include/libxml/chvalid.h: fixed a bug
  in the PubidChars definition, regenerated, there is still
  a bug left somewhere
* genChRanges.py: save the header directly in include/libxml/
* configure.in: I generated a 2.6.0beta6 earlier today
Daniel
2003-10-11 20:58:06 +00:00
William M. Brack
6819a4e3e8 fixed problem with include path (third time's a charm?)
* genChRange.py, chvalid.c: fixed problem with include
  path (third time's a charm?)
2003-10-11 15:59:36 +00:00
William M. Brack
68aca051a6 new files for a different method for doing range validation of character
* genChRange.py, chvalid.def, chvalid.c, include/libxml/chvalid.h:
  new files for a different method for doing range validation
  of character data.
* Makefile.am, parserInternals.c, include/libxml/Makefile.am,
  include/libxml/parserInternals.h: modified for new range method.
* catalog.c: small enhance for warning message (using one
  of the new range routines)
2003-10-11 15:22:13 +00:00