1
0
mirror of https://gitlab.gnome.org/GNOME/libxslt synced 2025-11-05 12:10:38 +03:00

added configuration/version informations for Windows/MSC internal header

* libxslt/xsltwin32config.h[.in]: added configuration/version
  informations for Windows/MSC
* libxslt/libxslt.h libxslt/*.c: internal header to centralize
  includes switches
* libxslt/Makefile.am: added libxslt.h and xsltwin32config.h[.in]
* libxslt/*.[ch] libxslt/*.in: quite a bit of cleanup, especially
  the email addresses
* AUTHORS: added William
Daniel
This commit is contained in:
Daniel Veillard
2001-06-28 14:23:39 +00:00
parent ca7b104205
commit 241bfda06e
47 changed files with 209 additions and 67 deletions

View File

@@ -1,6 +1,5 @@
Daniel Veillard:
Daniel.Veillard@imag.fr
daniel@veillard.com
DV on #gnome IRC channel
http://veillard.com/
Used to work at W3C, now Red Hat
@@ -13,3 +12,6 @@ Bjorn Reese:
http://home1.stofanet.dk/breese/
Software developer at http://www.systematic.dk/
Member of the XML-MTF Mapping WG.
William Brack <wbrack@mmm.com.hk>

View File

@@ -1,3 +1,14 @@
Thu Jun 28 15:48:06 CEST 2001 Daniel Veillard <Daniel.Veillard@imag.fr>
* libxslt/xsltwin32config.h[.in]: added configuration/version
informations for Windows/MSC
* libxslt/libxslt.h libxslt/*.c: internal header to centralize
includes switches
* libxslt/Makefile.am: added libxslt.h and xsltwin32config.h[.in]
* libxslt/*.[ch] libxslt/*.in: quite a bit of cleanup, especially
the email addresses
* AUTHORS: added William
Tue Jun 26 18:45:38 CEST 2001 Daniel Veillard <Daniel.Veillard@imag.fr>
* configure.in doc/xslt.html: releasing 0.13.0

View File

@@ -241,4 +241,4 @@ YES @class
YES @*
YES except ns for key key('a','b')
Daniel.Veillard@imag.fr
daniel@veillard.com

View File

@@ -178,6 +178,7 @@ AC_OUTPUT([
Makefile
libxslt/Makefile
libxslt/xsltconfig.h
libxslt/xsltwin32config.h
tests/Makefile
tests/docs/Makefile
tests/REC1/Makefile

View File

@@ -500,7 +500,7 @@ xsltCompMatch).</p>
<p></p>
<p><a href="mailto:Daniel.Veillard@imag.fr">Daniel Veillard</a></p>
<p><a href="mailto:daniel@veillard.com">Daniel Veillard</a></p>
<p>$Id$</p>
</body>

View File

@@ -23,7 +23,7 @@
<surname>Veillard</surname>
<affiliation>
<address>
<email>Daniel.Veillard@imag.fr</email>
<email>daniel@veillard.com</email>
</address>
</affiliation>
</author>

View File

@@ -125,7 +125,7 @@ database:</a>:</p>
<li>provide new documentations pieces (translations, examples, etc ...)</li>
<li>Check the TODO file and try to close one of the items</li>
<li>take one of the points raised in the archive or the bug database and
provide a fix. <a href="mailto:Daniel.Veillard@imag.fr">Get in touch with
provide a fix. <a href="mailto:daniel@veillard.com">Get in touch with
me </a>before to avoid synchronization problems and check that the
suggested fix will fit in nicely :-)</li>
</ol>
@@ -382,7 +382,7 @@ documents.</p>
<p></p>
<p><a href="mailto:Daniel.Veillard@imag.fr">Daniel Veillard</a></p>
<p><a href="mailto:daniel@veillard.com">Daniel Veillard</a></p>
<p>$Id$</p>
</body>

View File

@@ -35,7 +35,7 @@ installed.
%changelog
* Mon Jan 22 2001 Daniel.Veillard <Daniel.Veillard@imag.fr>
* Mon Jan 22 2001 Daniel.Veillard <daniel@veillard.com>
- created based on libxml2 spec file

View File

@@ -41,7 +41,10 @@ libxslt_la_SOURCES = \
documents.c \
preproc.c \
transform.c \
win32config.h
win32config.h \
xsltwin32config.h \
xsltwin32config.h.in \
libxslt.h
libxslt_la_LIBADD = $(EXTRA_LIBS)
libxslt_la_LDFLAGS = -version-info @LIBXSLT_VERSION_INFO@

View File

@@ -6,10 +6,10 @@
*
* See Copyright for the status of this software.
*
* Daniel.Veillard@imag.fr
* daniel@veillard.com
*/
#include "xsltconfig.h"
#include "libxslt.h"
#include <string.h>

View File

@@ -3,7 +3,7 @@
*
* See Copyright for the status of this software.
*
* Daniel.Veillard@imag.fr
* daniel@veillard.com
*/
#ifndef __XML_XSLT_ATTRIBUTES_H__

View File

@@ -3,14 +3,13 @@
*
* See Copyright for the status of this software.
*
* Daniel.Veillard@imag.fr
* daniel@veillard.com
*/
#include "xsltconfig.h"
#include "libxslt.h"
#include <string.h>
#include <libxml/xmlversion.h>
#include <libxml/xmlmemory.h>
#include <libxml/tree.h>
#include <libxml/hash.h>

View File

@@ -3,7 +3,7 @@
*
* See Copyright for the status of this software.
*
* Daniel.Veillard@imag.fr
* daniel@veillard.com
*/
#ifndef __XML_XSLT_DOCUMENTS_H__

View File

@@ -6,10 +6,10 @@
*
* See Copyright for the status of this software.
*
* Daniel.Veillard@imag.fr
* daniel@veillard.com
*/
#include "xsltconfig.h"
#include "libxslt.h"
#include <string.h>

View File

@@ -3,7 +3,7 @@
*
* See Copyright for the status of this software.
*
* Daniel.Veillard@imag.fr
* daniel@veillard.com
*/
#ifndef __XML_XSLT_EXTENSION_H__

View File

@@ -7,10 +7,10 @@
*
* See Copyright for the status of this software.
*
* Daniel.Veillard@imag.fr
* daniel@veillard.com
*/
#include "xsltconfig.h"
#include "libxslt.h"
#include <string.h>
@@ -19,7 +19,6 @@
#include <libxml/hash.h>
#include <libxml/xmlerror.h>
#include <libxml/parserInternals.h>
#include <libxml/xmlversion.h>
#include "xslt.h"
#include "xsltInternals.h"
#include "xsltutils.h"

View File

@@ -3,7 +3,7 @@
*
* See Copyright for the status of this software.
*
* Daniel.Veillard@imag.fr
* daniel@veillard.com
*/
#ifndef __XML_XSLT_EXTRA_H__

View File

@@ -6,11 +6,11 @@
*
* See Copyright for the status of this software.
*
* Daniel.Veillard@imag.fr
* daniel@veillard.com
* Bjorn Reese <breese@users.sourceforge.net> for number formatting
*/
#include "xsltconfig.h"
#include "libxslt.h"
#include <string.h>

View File

@@ -3,7 +3,7 @@
*
* See Copyright for the status of this software.
*
* Daniel.Veillard@imag.fr
* daniel@veillard.com
* Bjorn Reese <breese@users.sourceforge.net> for number formatting
*/

View File

@@ -6,10 +6,10 @@
*
* See Copyright for the status of this software.
*
* Daniel.Veillard@imag.fr
* daniel@veillard.com
*/
#include "xsltconfig.h"
#include "libxslt.h"
#include <string.h>

View File

@@ -3,7 +3,7 @@
*
* See Copyright for the status of this software.
*
* Daniel.Veillard@imag.fr
* daniel@veillard.com
*/
#ifndef __XML_XSLT_IMPORTS_H__

View File

@@ -6,10 +6,10 @@
*
* See Copyright for the status of this software.
*
* Daniel.Veillard@imag.fr
* daniel@veillard.com
*/
#include "xsltconfig.h"
#include "libxslt.h"
#include <string.h>

View File

@@ -3,7 +3,7 @@
*
* See Copyright for the status of this software.
*
* Daniel.Veillard@imag.fr
* daniel@veillard.com
*/
#ifndef __XML_XSLT_KEY_H__

View File

@@ -6,10 +6,10 @@
*
* See Copyright for the status of this software.
*
* Daniel.Veillard@imag.fr
* daniel@veillard.com
*/
#include "xsltconfig.h"
#include "libxslt.h"
#include <string.h>

View File

@@ -3,7 +3,7 @@
*
* See Copyright for the status of this software.
*
* Daniel.Veillard@imag.fr
* daniel@veillard.com
*/
#ifndef __XML_XSLT_NAMESPACES_H__

View File

@@ -6,11 +6,11 @@
*
* See Copyright for the status of this software.
*
* Daniel.Veillard@imag.fr
* daniel@veillard.com
* Bjorn Reese <breese@users.sourceforge.net>
*/
#include "xsltconfig.h"
#include "libxslt.h"
#include <math.h>
#include <limits.h>

View File

@@ -3,7 +3,7 @@
*
* See Copyright for the status of this software.
*
* Daniel.Veillard@imag.fr
* daniel@veillard.com
* Bjorn Reese <breese@users.sourceforge.net>
*/

View File

@@ -6,7 +6,7 @@
*
* See Copyright for the status of this software.
*
* Daniel.Veillard@imag.fr
* daniel@veillard.com
*/
/*
@@ -14,7 +14,7 @@
* TODO: detect [number] at compilation, optimize accordingly
*/
#include "xsltconfig.h"
#include "libxslt.h"
#include <string.h>

View File

@@ -3,7 +3,7 @@
*
* See Copyright for the status of this software.
*
* Daniel.Veillard@imag.fr
* daniel@veillard.com
*/
#ifndef __XML_XSLT_PATTERN_H__

View File

@@ -12,10 +12,10 @@
*
* See Copyright for the status of this software.
*
* Daniel.Veillard@imag.fr
* daniel@veillard.com
*/
#include "xsltconfig.h"
#include "libxslt.h"
#include <string.h>

View File

@@ -3,7 +3,7 @@
*
* See Copyright for the status of this software.
*
* Daniel.Veillard@imag.fr
* daniel@veillard.com
*/
#ifndef __XML_XSLT_PRECOMP_H__

View File

@@ -6,10 +6,10 @@
*
* See Copyright for the status of this software.
*
* Daniel.Veillard@imag.fr
* daniel@veillard.com
*/
#include "xsltconfig.h"
#include "libxslt.h"
#include <string.h>

View File

@@ -3,7 +3,7 @@
*
* See Copyright for the status of this software.
*
* Daniel.Veillard@imag.fr
* daniel@veillard.com
*/
#ifndef __XML_XSLT_TEMPLATES_H__

View File

@@ -13,10 +13,10 @@
*
* See Copyright for the status of this software.
*
* Daniel.Veillard@imag.fr
* daniel@veillard.com
*/
#include "xsltconfig.h"
#include "libxslt.h"
#include <string.h>

View File

@@ -4,7 +4,7 @@
*
* See Copyright for the status of this software.
*
* Daniel.Veillard@imag.fr
* daniel@veillard.com
*/
#ifndef __XML_XSLT_TRANSFORM_H__

View File

@@ -6,10 +6,10 @@
*
* See Copyright for the status of this software.
*
* Daniel.Veillard@imag.fr
* daniel@veillard.com
*/
#include "xsltconfig.h"
#include "libxslt.h"
#include <string.h>
@@ -21,7 +21,6 @@
#include <libxml/xpath.h>
#include <libxml/xpathInternals.h>
#include <libxml/parserInternals.h>
#include <libxml/xmlversion.h>
#include "xslt.h"
#include "xsltInternals.h"
#include "xsltutils.h"

View File

@@ -3,7 +3,7 @@
*
* See Copyright for the status of this software.
*
* Daniel.Veillard@imag.fr
* daniel@veillard.com
*/
#ifndef __XML_XSLT_VARIABLES_H__

View File

@@ -56,11 +56,13 @@ static int isnan (double d) {
/* Microsoft's C runtime names all non-ANSI functions with a leading
underscore. Since functionality is still the same, they can be used. */
#ifdef _MSC_VER
#include <libxml/xmlversion.h>
#include <libxml/xmlwin32version.h>
#ifndef WITH_TRIO
#define snprintf _snprintf
#define vsnprintf _vsnprintf
#endif /* WITH_TRIO */
#else
#include <libxml/xmlversion.h>
#endif /* _MSC_VER */

View File

@@ -6,10 +6,10 @@
*
* See Copyright for the status of this software.
*
* Daniel.Veillard@imag.fr
* daniel@veillard.com
*/
#include "xsltconfig.h"
#include "libxslt.h"
#include <string.h>

View File

@@ -3,7 +3,7 @@
*
* See Copyright for the status of this software.
*
* Daniel.Veillard@imag.fr
* daniel@veillard.com
*/
#ifndef __XML_XSLT_H__

View File

@@ -4,7 +4,7 @@
*
* See Copyright for the status of this software.
*
* Daniel.Veillard@imag.fr
* daniel@veillard.com
*/
#ifndef __XML_XSLT_INTERNALS_H__

View File

@@ -3,7 +3,7 @@
*
* See Copyright for the status of this software.
*
* Daniel.Veillard@w3.org
* daniel@veillard.com
*/
#ifndef __XML_XSLTCONFIG_H__

View File

@@ -3,11 +3,10 @@
*
* See Copyright for the status of this software.
*
* Daniel.Veillard@imag.fr
* daniel@veillard.com
*/
#include <libxml/xmlversion.h>
#include <libxslt/xsltconfig.h>
#include "libxslt.h"
#ifdef HAVE_STRING_H
#include <string.h>
#endif

View File

@@ -6,15 +6,14 @@
*
* See Copyright for the status of this software.
*
* Daniel.Veillard@imag.fr
* daniel@veillard.com
*/
#include "xsltconfig.h"
#include "libxslt.h"
#include <stdio.h>
#include <stdarg.h>
#include <libxml/xmlversion.h>
#include <libxml/xmlmemory.h>
#include <libxml/tree.h>
#include <libxml/HTMLtree.h>

View File

@@ -3,7 +3,7 @@
*
* See Copyright for the status of this software.
*
* Daniel.Veillard@w3.org
* daniel@veillard.com
*/
#ifndef __XML_XSLTUTILS_H__

64
libxslt/xsltwin32config.h Normal file
View File

@@ -0,0 +1,64 @@
/*
* xsltwin32config.h: compile-time version informations for the XSLT engine
* when compiled on windows
*
* See Copyright for the status of this software.
*
* daniel@veillard.com
*/
#ifndef __XML_XSLTWIN32CONFIG_H__
#define __XML_XSLTWIN32CONFIG_H__
#include <win32config.h>
#ifdef __cplusplus
extern "C" {
#endif
/**
* LIBXSLT_DOTTED_VERSION:
*
* the version string like "1.2.3"
*/
#define LIBXSLT_DOTTED_VERSION "0.13.0"
/**
* LIBXSLT_VERSION:
*
* the version number: 1.2.3 value is 1002003
*/
#define LIBXSLT_VERSION 1300
/**
* LIBXSLT_VERSION_STRING:
*
* the version number string, 1.2.3 value is "1002003"
*/
#define LIBXSLT_VERSION_STRING "1300"
/**
* WITH_XSLT_DEBUG:
*
* Activate the compilation of the debug reporting. Speed penalty
* is insignifiant and being able to run xsltpoc -v is useful. On
* by default
*/
#if 1
#define WITH_XSLT_DEBUG
#endif
/**
* ATTRIBUTE_UNUSED:
*
* This macro is used to flag unused function parameters to GCC, useless here
*/
#ifndef ATTRIBUTE_UNUSED
#define ATTRIBUTE_UNUSED
#endif
#ifdef __cplusplus
}
#endif
#endif /* __XML_XSLTWIN32CONFIG_H__ */

View File

@@ -0,0 +1,64 @@
/*
* xsltwin32config.h: compile-time version informations for the XSLT engine
* when compiled on windows
*
* See Copyright for the status of this software.
*
* daniel@veillard.com
*/
#ifndef __XML_XSLTWIN32CONFIG_H__
#define __XML_XSLTWIN32CONFIG_H__
#include <win32config.h>
#ifdef __cplusplus
extern "C" {
#endif
/**
* LIBXSLT_DOTTED_VERSION:
*
* the version string like "1.2.3"
*/
#define LIBXSLT_DOTTED_VERSION "@VERSION@"
/**
* LIBXSLT_VERSION:
*
* the version number: 1.2.3 value is 1002003
*/
#define LIBXSLT_VERSION @LIBXSLT_VERSION_NUMBER@
/**
* LIBXSLT_VERSION_STRING:
*
* the version number string, 1.2.3 value is "1002003"
*/
#define LIBXSLT_VERSION_STRING "@LIBXSLT_VERSION_NUMBER@"
/**
* WITH_XSLT_DEBUG:
*
* Activate the compilation of the debug reporting. Speed penalty
* is insignifiant and being able to run xsltpoc -v is useful. On
* by default
*/
#if 1
#define WITH_XSLT_DEBUG
#endif
/**
* ATTRIBUTE_UNUSED:
*
* This macro is used to flag unused function parameters to GCC, useless here
*/
#ifndef ATTRIBUTE_UNUSED
#define ATTRIBUTE_UNUSED
#endif
#ifdef __cplusplus
}
#endif
#endif /* __XML_XSLTWIN32CONFIG_H__ */