committed by
Dmitry Vedenko
351 changed files with 0 additions and 220803 deletions
-
45cmake-proxies/expat/CMakeLists.txt
-
89cmake-proxies/lame/CMakeLists.txt
-
371cmake-proxies/lame/config.h.in
-
51cmake-proxies/libid3tag/CMakeLists.txt
-
86cmake-proxies/libid3tag/config.h.in
-
58cmake-proxies/libmad/CMakeLists.txt
-
215cmake-proxies/libmad/config.h.in
-
15cmake-proxies/libmad/mad.h.in
-
287cmake-proxies/wxWidgets/CMakeLists.txt
-
42lib-src/expat/CMake.README
-
111lib-src/expat/CMakeLists.txt
-
22lib-src/expat/COPYING
-
205lib-src/expat/Changes
-
44lib-src/expat/ConfigureChecks.cmake
-
141lib-src/expat/MANIFEST
-
201lib-src/expat/Makefile.in
-
139lib-src/expat/README
-
336lib-src/expat/amiga/Makefile
-
98lib-src/expat/amiga/README.txt
-
264lib-src/expat/amiga/expat.xml
-
939lib-src/expat/amiga/expat_68k.c
-
94lib-src/expat/amiga/expat_68k.h
-
185lib-src/expat/amiga/expat_68k_handler_stubs.c
-
40lib-src/expat/amiga/expat_base.h
-
247lib-src/expat/amiga/expat_lib.c
-
505lib-src/expat/amiga/expat_vectors.c
-
94lib-src/expat/amiga/include/inline4/expat.h
-
98lib-src/expat/amiga/include/interfaces/expat.h
-
566lib-src/expat/amiga/include/libraries/expat.h
-
52lib-src/expat/amiga/include/proto/expat.h
-
57lib-src/expat/amiga/launch.c
-
87lib-src/expat/bcb5/README.txt
-
49lib-src/expat/bcb5/all_projects.bpg
-
4lib-src/expat/bcb5/elements.bpf
-
149lib-src/expat/bcb5/elements.bpr
-
186lib-src/expat/bcb5/elements.mak
-
6lib-src/expat/bcb5/expat.bpf
-
140lib-src/expat/bcb5/expat.bpr
-
187lib-src/expat/bcb5/expat.mak
-
5lib-src/expat/bcb5/expat_static.bpf
-
143lib-src/expat/bcb5/expat_static.bpr
-
189lib-src/expat/bcb5/expat_static.mak
-
6lib-src/expat/bcb5/expatw.bpf
-
146lib-src/expat/bcb5/expatw.bpr
-
187lib-src/expat/bcb5/expatw.mak
-
5lib-src/expat/bcb5/expatw_static.bpf
-
152lib-src/expat/bcb5/expatw_static.bpr
-
190lib-src/expat/bcb5/expatw_static.mak
-
141lib-src/expat/bcb5/libexpat_mtd.def
-
140lib-src/expat/bcb5/libexpatw_mtd.def
-
37lib-src/expat/bcb5/makefile.mak
-
4lib-src/expat/bcb5/outline.bpf
-
132lib-src/expat/bcb5/outline.bpr
-
186lib-src/expat/bcb5/outline.mak
-
9lib-src/expat/bcb5/setup.bat
-
7lib-src/expat/bcb5/xmlwf.bpf
-
136lib-src/expat/bcb5/xmlwf.bpr
-
187lib-src/expat/bcb5/xmlwf.mak
-
18668lib-src/expat/configure
-
155lib-src/expat/configure.in
-
116lib-src/expat/conftools/PrintPath
-
81lib-src/expat/conftools/ac_c_bigendian_cross.m4
-
1517lib-src/expat/conftools/config.guess
-
1760lib-src/expat/conftools/config.sub
-
43lib-src/expat/conftools/expat.m4
-
46lib-src/expat/conftools/get-version.sh
-
520lib-src/expat/conftools/install-sh
-
9661lib-src/expat/conftools/ltmain.sh
-
40lib-src/expat/conftools/mkinstalldirs
-
BINlib-src/expat/doc/expat.png
-
2390lib-src/expat/doc/reference.html
-
101lib-src/expat/doc/style.css
-
BINlib-src/expat/doc/valid-xhtml10.png
-
251lib-src/expat/doc/xmlwf.1
-
468lib-src/expat/doc/xmlwf.sgml
-
65lib-src/expat/examples/elements.c
-
103lib-src/expat/examples/elements.dsp
-
106lib-src/expat/examples/outline.c
-
103lib-src/expat/examples/outline.dsp
-
110lib-src/expat/expat.dsw
-
11lib-src/expat/expat.pc.in
-
91lib-src/expat/expat_config.h.cmake
-
102lib-src/expat/expat_config.h.in
-
206lib-src/expat/lib/Makefile.MPW
-
32lib-src/expat/lib/amigaconfig.h
-
92lib-src/expat/lib/ascii.h
-
36lib-src/expat/lib/asciitab.h
-
185lib-src/expat/lib/expat.dsp
-
1047lib-src/expat/lib/expat.h
-
115lib-src/expat/lib/expat_external.h
-
162lib-src/expat/lib/expat_static.dsp
-
185lib-src/expat/lib/expatw.dsp
-
162lib-src/expat/lib/expatw_static.dsp
-
37lib-src/expat/lib/iasciitab.h
-
73lib-src/expat/lib/internal.h
-
36lib-src/expat/lib/latin1tab.h
-
73lib-src/expat/lib/libexpat.def
-
73lib-src/expat/lib/libexpatw.def
-
53lib-src/expat/lib/macconfig.h
-
150lib-src/expat/lib/nametab.h
@ -1,45 +0,0 @@ |
|||
|
|||
add_library( ${TARGET} STATIC ) |
|||
|
|||
def_vars() |
|||
|
|||
list( APPEND SOURCES |
|||
PRIVATE |
|||
${TARGET_ROOT}/lib/xmlparse.c |
|||
${TARGET_ROOT}/lib/xmlrole.c |
|||
${TARGET_ROOT}/lib/xmltok.c |
|||
${TARGET_ROOT}/lib/xmltok_impl.c |
|||
${TARGET_ROOT}/lib/xmltok_ns.c |
|||
) |
|||
|
|||
list( APPEND INCLUDES |
|||
PRIVATE |
|||
${_PRVDIR} |
|||
PUBLIC |
|||
${TARGET_ROOT}/lib |
|||
) |
|||
|
|||
list( APPEND DEFINES |
|||
PRIVATE |
|||
HAVE_EXPAT_CONFIG_H |
|||
PUBLIC |
|||
XML_STATIC |
|||
) |
|||
|
|||
if( WORDS_BIGENDIAN ) |
|||
set( BYTEORDER 4321 ) |
|||
else( WORDS_BIGENDIAN ) |
|||
set( BYTEORDER 1234 ) |
|||
endif() |
|||
|
|||
set( XML_DTD OFF ) |
|||
set( XML_NS OFF ) |
|||
|
|||
configure_file( ${TARGET_ROOT}/expat_config.h.cmake private/expat_config.h ) |
|||
|
|||
organize_source( "${TARGET_ROOT}" "" "${SOURCES}" ) |
|||
target_sources( ${TARGET} PRIVATE ${SOURCES} ) |
|||
target_compile_definitions( ${TARGET} PRIVATE ${DEFINES} ) |
|||
target_include_directories( ${TARGET} PRIVATE ${INCLUDES} ) |
|||
target_link_libraries( ${TARGET} PRIVATE ${LIBRARIES} ) |
|||
|
@ -1,89 +0,0 @@ |
|||
|
|||
add_library( ${TARGET} STATIC ) |
|||
|
|||
def_vars() |
|||
|
|||
list( APPEND SOURCES |
|||
PRIVATE |
|||
# libmp3lame |
|||
${TARGET_ROOT}/libmp3lame/bitstream.c |
|||
${TARGET_ROOT}/libmp3lame/encoder.c |
|||
${TARGET_ROOT}/libmp3lame/fft.c |
|||
${TARGET_ROOT}/libmp3lame/gain_analysis.c |
|||
${TARGET_ROOT}/libmp3lame/id3tag.c |
|||
${TARGET_ROOT}/libmp3lame/lame.c |
|||
${TARGET_ROOT}/libmp3lame/newmdct.c |
|||
${TARGET_ROOT}/libmp3lame/presets.c |
|||
${TARGET_ROOT}/libmp3lame/psymodel.c |
|||
${TARGET_ROOT}/libmp3lame/quantize.c |
|||
${TARGET_ROOT}/libmp3lame/quantize_pvt.c |
|||
${TARGET_ROOT}/libmp3lame/reservoir.c |
|||
${TARGET_ROOT}/libmp3lame/set_get.c |
|||
${TARGET_ROOT}/libmp3lame/tables.c |
|||
${TARGET_ROOT}/libmp3lame/takehiro.c |
|||
${TARGET_ROOT}/libmp3lame/util.c |
|||
${TARGET_ROOT}/libmp3lame/vbrquantize.c |
|||
${TARGET_ROOT}/libmp3lame/VbrTag.c |
|||
${TARGET_ROOT}/libmp3lame/version.c |
|||
${TARGET_ROOT}/libmp3lame/vector/xmm_quantize_sub.c |
|||
) |
|||
|
|||
list( APPEND INCLUDES |
|||
PRIVATE |
|||
${_PRVDIR} |
|||
${TARGET_ROOT}/lame |
|||
${TARGET_ROOT}/libmp3lame |
|||
PUBLIC |
|||
${TARGET_ROOT} |
|||
) |
|||
|
|||
list( APPEND DEFINES |
|||
PRIVATE |
|||
HAVE_CONFIG_H |
|||
) |
|||
|
|||
list( APPEND OPTIONS |
|||
PRIVATE |
|||
${MMX_FLAG} |
|||
${SSE_FLAG} |
|||
) |
|||
|
|||
set( HAVE_INT8_T SIZEOF_INT8_T ) |
|||
set( HAVE_INT16_T SIZEOF_INT16_T ) |
|||
set( HAVE_INT32_T SIZEOF_INT32_T ) |
|||
set( HAVE_INT64_T SIZEOF_INT64_T ) |
|||
set( HAVE_UINT16_T SIZEOF_UINT16_T ) |
|||
set( HAVE_UINT32_T SIZEOF_UINT32_T ) |
|||
set( HAVE_UINT64_T SIZEOF_UINT64_T ) |
|||
|
|||
if( SIZEOF_SHORT EQUAL 4 ) |
|||
set( A_INT32_T int ) |
|||
elseif( SIZEOF_INT EQUAL 4 ) |
|||
set( A_INT32_T int ) |
|||
elseif( SIZEOF_LONG EQUAL 4 ) |
|||
set( A_INT32_T long ) |
|||
endif() |
|||
|
|||
if( SIZEOF_INT EQUAL 8 ) |
|||
set( A_INT64_T int ) |
|||
elseif( SIZEOF_LONG EQUAL 8 ) |
|||
set( A_INT64_T long ) |
|||
elseif( SIZEOF_LONG_LONG EQUAL 8 ) |
|||
set( A_INT64_T long long ) |
|||
endif() |
|||
|
|||
set( TAKEHIRO_IEEE754_HACK 1 ) |
|||
set( USE_FAST_LOG 1 ) |
|||
if( ${CMakeDetermineASM_NASMCompiler} ) |
|||
set( HAVE_NASM 1 ) |
|||
endif() |
|||
|
|||
configure_file( config.h.in private/config.h ) |
|||
|
|||
#organize_source( "${TARGET_ROOT}" "" "${SOURCES}" ) |
|||
target_sources( ${TARGET} PRIVATE ${SOURCES} ) |
|||
target_compile_definitions( ${TARGET} PRIVATE ${DEFINES} ) |
|||
target_include_directories( ${TARGET} PRIVATE ${INCLUDES} ) |
|||
target_compile_options( ${TARGET} PRIVATE ${OPTIONS} ) |
|||
target_link_libraries( ${TARGET} PRIVATE ${LIBRARIES} ) |
|||
|
@ -1,371 +0,0 @@ |
|||
/* config.h.in. Generated from configure.in by autoheader. */ |
|||
|
|||
|
|||
#ifndef LAME_CONFIG_H |
|||
#define LAME_CONFIG_H 1 |
|||
|
|||
|
|||
/* debug define */ |
|||
#cmakedefine ABORTFP 1 |
|||
|
|||
/* Define if building universal (internal helper macro) */ |
|||
#cmakedefine AC_APPLE_UNIVERSAL_BUILD 1 |
|||
|
|||
/* Define to one of `_getb67', `GETB67', `getb67' for Cray-2 and Cray-YMP |
|||
systems. This function is required for `alloca.c' support on those systems. |
|||
*/ |
|||
#cmakedefine CRAY_STACKSEG_END @CRAY_STACKSEG_END@ |
|||
|
|||
/* Define to 1 if using `alloca.c'. */ |
|||
#cmakedefine C_ALLOCA 1 |
|||
|
|||
/* a lot of debug output */ |
|||
#cmakedefine DEBUG 1 |
|||
|
|||
/* allow to compute a more accurate replaygain value */ |
|||
#cmakedefine DECODE_ON_THE_FLY 1 |
|||
|
|||
/* double is faster than float on Alpha */ |
|||
#cmakedefine FLOAT @FLOAT@ |
|||
|
|||
/* Define to 1 if you have `alloca', as a function or macro. */ |
|||
#cmakedefine HAVE_ALLOCA 1 |
|||
|
|||
/* Define to 1 if you have <alloca.h> and it should be used (not on Ultrix). |
|||
*/ |
|||
#cmakedefine HAVE_ALLOCA_H 1 |
|||
|
|||
/* Define to 1 if you have the <dlfcn.h> header file. */ |
|||
#cmakedefine HAVE_DLFCN_H 1 |
|||
|
|||
/* we link against libefence */ |
|||
#cmakedefine HAVE_EFENCE 1 |
|||
|
|||
/* Define to 1 if you have the <errno.h> header file. */ |
|||
#cmakedefine HAVE_ERRNO_H 1 |
|||
|
|||
/* Define to 1 if you have the <fcntl.h> header file. */ |
|||
#cmakedefine HAVE_FCNTL_H 1 |
|||
|
|||
/* Define to 1 if you have the `gettimeofday' function. */ |
|||
#cmakedefine HAVE_GETTIMEOFDAY 1 |
|||
|
|||
/* Define if you have the iconv() function and it works. */ |
|||
#cmakedefine HAVE_ICONV 1 |
|||
|
|||
/* add ieee754_float32_t type */ |
|||
#cmakedefine HAVE_IEEE754_FLOAT32_T 1 |
|||
#ifndef HAVE_IEEE754_FLOAT32_T |
|||
typedef float ieee754_float32_t; |
|||
#endif |
|||
|
|||
/* add ieee754_float64_t type */ |
|||
#cmakedefine HAVE_IEEE754_FLOAT64_T 1 |
|||
#ifndef HAVE_IEEE754_FLOAT64_T |
|||
typedef double ieee754_float64_t; |
|||
#endif |
|||
|
|||
/* system has 80 bit floats */ |
|||
#cmakedefine HAVE_IEEE854_FLOAT80 1 |
|||
|
|||
/* add ieee854_float80_t type */ |
|||
#cmakedefine HAVE_IEEE854_FLOAT80_T 1 |
|||
#ifndef HAVE_IEEE854_FLOAT80_T |
|||
typedef long double ieee854_float80_t; |
|||
#endif |
|||
|
|||
/* add int16_t type */ |
|||
#cmakedefine HAVE_INT16_T 1 |
|||
#ifndef HAVE_INT16_T |
|||
typedef short int16_t; |
|||
#endif |
|||
|
|||
/* add int32_t type */ |
|||
#cmakedefine HAVE_INT32_T 1 |
|||
#ifndef HAVE_INT32_T |
|||
#define A_INT32_T @A_INT32_T@ |
|||
typedef A_INT32_T int32_t; |
|||
#endif |
|||
|
|||
/* add int64_t type */ |
|||
#cmakedefine HAVE_INT64_T 1 |
|||
#ifndef HAVE_INT64_T |
|||
#define A_INT64_T @A_INT64_T@ |
|||
typedef A_INT64_T int64_t; |
|||
#endif |
|||
|
|||
/* add int8_t type */ |
|||
#cmakedefine HAVE_INT8_T 1 |
|||
#ifndef HAVE_INT8_T |
|||
typedef char int8_t; |
|||
#endif |
|||
|
|||
/* Define to 1 if you have the <inttypes.h> header file. */ |
|||
#cmakedefine HAVE_INTTYPES_H 1 |
|||
|
|||
/* Define to 1 if you have the <limits.h> header file. */ |
|||
#cmakedefine HAVE_LIMITS_H 1 |
|||
|
|||
/* Define to 1 if you have the <linux/soundcard.h> header file. */ |
|||
#cmakedefine HAVE_LINUX_SOUNDCARD_H 1 |
|||
|
|||
/* Define to 1 if the type `long double' works and has more range or precision |
|||
than `double'. */ |
|||
#cmakedefine HAVE_LONG_DOUBLE 1 |
|||
|
|||
/* Define to 1 if the type `long double' works and has more range or precision |
|||
than `double'. */ |
|||
#cmakedefine HAVE_LONG_DOUBLE_WIDER 1 |
|||
|
|||
/* Define to 1 if you have the <memory.h> header file. */ |
|||
#cmakedefine HAVE_MEMORY_H 1 |
|||
|
|||
/* build with mpglib support */ |
|||
#cmakedefine HAVE_MPGLIB 1 |
|||
|
|||
/* have nasm */ |
|||
#cmakedefine HAVE_NASM 1 |
|||
|
|||
/* Define to 1 if you have the <ncurses/termcap.h> header file. */ |
|||
#cmakedefine HAVE_NCURSES_TERMCAP_H 1 |
|||
|
|||
/* Define to 1 if you have the `socket' function. */ |
|||
#cmakedefine HAVE_SOCKET 1 |
|||
|
|||
/* Define to 1 if you have the <stdint.h> header file. */ |
|||
#cmakedefine HAVE_STDINT_H 1 |
|||
|
|||
/* Define to 1 if you have the <stdlib.h> header file. */ |
|||
#cmakedefine HAVE_STDLIB_H 1 |
|||
|
|||
/* Define to 1 if you have the <strings.h> header file. */ |
|||
#cmakedefine HAVE_STRINGS_H 1 |
|||
|
|||
/* Define to 1 if you have the <string.h> header file. */ |
|||
#cmakedefine HAVE_STRING_H 1 |
|||
|
|||
/* Define to 1 if you have the `strtol' function. */ |
|||
#cmakedefine HAVE_STRTOL 1 |
|||
|
|||
/* Define to 1 if you have the <sys/soundcard.h> header file. */ |
|||
#cmakedefine HAVE_SYS_SOUNDCARD_H 1 |
|||
|
|||
/* Define to 1 if you have the <sys/stat.h> header file. */ |
|||
#cmakedefine HAVE_SYS_STAT_H 1 |
|||
|
|||
/* Define to 1 if you have the <sys/time.h> header file. */ |
|||
#cmakedefine HAVE_SYS_TIME_H 1 |
|||
|
|||
/* Define to 1 if you have the <sys/types.h> header file. */ |
|||
#cmakedefine HAVE_SYS_TYPES_H 1 |
|||
|
|||
/* have termcap */ |
|||
#cmakedefine HAVE_TERMCAP 1 |
|||
|
|||
/* Define to 1 if you have the <termcap.h> header file. */ |
|||
#cmakedefine HAVE_TERMCAP_H 1 |
|||
|
|||
/* add uint16_t type */ |
|||
#cmakedefine HAVE_UINT16_T 1 |
|||
#ifndef HAVE_UINT16_T |
|||
typedef unsigned short uint16_t; |
|||
#endif |
|||
|
|||
/* add uint32_t type */ |
|||
#cmakedefine HAVE_UINT32_T 1 |
|||
#ifndef HAVE_UINT32_T |
|||
#define A_UINT32_T @A_UINT32_T@ |
|||
typedef A_UINT32_T uint32_t; |
|||
#endif |
|||
|
|||
/* add uint64_t type */ |
|||
#cmakedefine HAVE_UINT64_T 1 |
|||
#ifndef HAVE_UINT64_T |
|||
#define A_UINT64_T @A_UINT64_T@ |
|||
typedef A_UINT64_T uint64_t; |
|||
#endif |
|||
|
|||
/* add uint8_t type */ |
|||
#cmakedefine HAVE_UINT8_T 1 |
|||
#ifndef HAVE_UINT8_T |
|||
typedef unsigned char uint8_t; |
|||
#endif |
|||
|
|||
/* Define to 1 if you have the <unistd.h> header file. */ |
|||
#cmakedefine HAVE_UNISTD_H 1 |
|||
|
|||
/* Define if SSE intrinsics work. */ |
|||
#cmakedefine HAVE_XMMINTRIN_H 1 |
|||
|
|||
/* Define as const if the declaration of iconv() needs const. */ |
|||
#define ICONV_CONST @ICONV_CONST@ |
|||
|
|||
/* requested by Frank, seems to be temporary needed for a smooth transition */ |
|||
#cmakedefine LAME_LIBRARY_BUILD 1 |
|||
|
|||
/* set to 1 if you have libsndfile */ |
|||
#cmakedefine LIBSNDFILE 1 |
|||
|
|||
/* Define to the sub-directory where libtool stores uninstalled libraries. */ |
|||
#cmakedefine LT_OBJDIR @LT_OBJDIR@ |
|||
|
|||
/* use MMX version of choose_table */ |
|||
#cmakedefine MMX_choose_table 1 |
|||
|
|||
/* build without hooks for analyzer */ |
|||
#cmakedefine NOANALYSIS 1 |
|||
|
|||
/* Name of package */ |
|||
#cmakedefine PACKAGE "@PACKAGE@" |
|||
|
|||
/* Define to the address where bug reports for this package should be sent. */ |
|||
#cmakedefine PACKAGE_BUGREPORT "@PACKAGE_BUGREPORT@" |
|||
|
|||
/* Define to the full name of this package. */ |
|||
#cmakedefine PACKAGE_NAME "@PACKAGE_NAME@" |
|||
|
|||
/* Define to the full name and version of this package. */ |
|||
#cmakedefine PACKAGE_STRING "@PACKAGE_STRING@" |
|||
|
|||
/* Define to the one symbol short name of this package. */ |
|||
#cmakedefine PACKAGE_TARNAME "@PACKAGE_TARNAME@" |
|||
|
|||
/* Define to the home page for this package. */ |
|||
#cmakedefine PACKAGE_URL "@PACKAGE_URL@" |
|||
|
|||
/* Define to the version of this package. */ |
|||
#cmakedefine PACKAGE_VERSION "@PACKAGE_VERSION@" |
|||
|
|||
/* The size of `double', as computed by sizeof. */ |
|||
#define SIZEOF_DOUBLE @SIZEOF_DOUBLE@ |
|||
|
|||
/* The size of `float', as computed by sizeof. */ |
|||
#define SIZEOF_FLOAT @SIZEOF_FLOAT@ |
|||
|
|||
/* The size of `int', as computed by sizeof. */ |
|||
#define SIZEOF_INT @SIZEOF_INT@ |
|||
|
|||
/* The size of `long', as computed by sizeof. */ |
|||
#define SIZEOF_LONG @SIZEOF_LONG@ |
|||
|
|||
/* The size of `long double', as computed by sizeof. */ |
|||
#define SIZEOF_LONG_DOUBLE @SIZEOF_LONG_DOUBLE@ |
|||
|
|||
/* The size of `long long', as computed by sizeof. */ |
|||
#define SIZEOF_LONG_LONG @SIZEOF_LONG_LONG@ |
|||
|
|||
/* The size of `short', as computed by sizeof. */ |
|||
#define SIZEOF_SHORT @SIZEOF_SHORT@ |
|||
|
|||
/* The size of `unsigned int', as computed by sizeof. */ |
|||
#define SIZEOF_UNSIGNED_INT @SIZEOF_UNSIGNED_INT@ |
|||
|
|||
/* The size of `unsigned long', as computed by sizeof. */ |
|||
#define SIZEOF_UNSIGNED_LONG @SIZEOF_UNSIGNED_LONG@ |
|||
|
|||
/* The size of `unsigned long long', as computed by sizeof. */ |
|||
#define SIZEOF_UNSIGNED_LONG_LONG @SIZEOF_UNSIGNED_LONG_LONG@ |
|||
|
|||
/* The size of `unsigned short', as computed by sizeof. */ |
|||
#define SIZEOF_UNSIGNED_SHORT @SIZEOF_UNSIGNED_SHORT@ |
|||
|
|||
/* If using the C implementation of alloca, define if you know the |
|||
direction of stack growth for your system; otherwise it will be |
|||
automatically deduced at runtime. |
|||
STACK_DIRECTION > 0 => grows toward higher addresses |
|||
STACK_DIRECTION < 0 => grows toward lower addresses |
|||
STACK_DIRECTION = 0 => direction of growth unknown */ |
|||
#cmakedefine STACK_DIRECTION @STACK_DIRECTION@ |
|||
|
|||
/* Define to 1 if you have the ANSI C header files. */ |
|||
#cmakedefine STDC_HEADERS 1 |
|||
|
|||
/* IEEE754 compatible machine */ |
|||
#cmakedefine TAKEHIRO_IEEE754_HACK 1 |
|||
|
|||
/* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */ |
|||
#cmakedefine TIME_WITH_SYS_TIME 1 |
|||
|
|||
/* faster log implementation with less but enough precision */ |
|||
#cmakedefine USE_FAST_LOG 1 |
|||
|
|||
/* Enable extensions on AIX 3, Interix. */ |
|||
#ifndef _ALL_SOURCE |
|||
#cmakedefine _ALL_SOURCE 1 |
|||
#endif |
|||
/* Enable GNU extensions on systems that have them. */ |
|||
#ifndef _GNU_SOURCE |
|||
#cmakedefine _GNU_SOURCE 1 |
|||
#endif |
|||
/* Enable threading extensions on Solaris. */ |
|||
#ifndef _POSIX_PTHREAD_SEMANTICS |
|||
#cmakedefine _POSIX_PTHREAD_SEMANTICS 1 |
|||
#endif |
|||
/* Enable extensions on HP NonStop. */ |
|||
#ifndef _TANDEM_SOURCE |
|||
#cmakedefine _TANDEM_SOURCE 1 |
|||
#endif |
|||
/* Enable general extensions on Solaris. */ |
|||
#ifndef __EXTENSIONS__ |
|||
#cmakedefine __EXTENSIONS__ 1 |
|||
#endif |
|||
|
|||
|
|||
/* Version number of package */ |
|||
#cmakedefine VERSION "@VERSION@" |
|||
|
|||
/* Define if using the dmalloc debugging malloc package */ |
|||
#cmakedefine WITH_DMALLOC 1 |
|||
|
|||
/* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most |
|||
significant byte first (like Motorola and SPARC, unlike Intel). */ |
|||
#if defined AC_APPLE_UNIVERSAL_BUILD |
|||
# if defined __BIG_ENDIAN__ |
|||
# define WORDS_BIGENDIAN 1 |
|||
# endif |
|||
#else |
|||
# ifndef WORDS_BIGENDIAN |
|||
#cmakedefine WORDS_BIGENDIAN 1 |
|||
# endif |
|||
#endif |
|||
|
|||
/* Enable large inode numbers on Mac OS X 10.5. */ |
|||
#ifndef _DARWIN_USE_64_BIT_INODE |
|||
# define _DARWIN_USE_64_BIT_INODE 1 |
|||
#endif |
|||
|
|||
/* Number of bits in a file offset, on hosts where this is settable. */ |
|||
#cmakedefine _FILE_OFFSET_BITS @_FILE_OFFSET_BITS@ |
|||
|
|||
/* Define for large files, on AIX-style hosts. */ |
|||
#cmakedefine _LARGE_FILES @_LARGE_FILES@ |
|||
|
|||
/* Define to 1 if on MINIX. */ |
|||
#cmakedefine _MINIX 1 |
|||
|
|||
/* Define to 2 if the system does not provide POSIX.1 features except with |
|||
this defined. */ |
|||
#cmakedefine _POSIX_1_SOURCE @_POSIX_1_SOURCE@ |
|||
|
|||
/* Define to 1 if you need to in order for `stat' and other things to work. */ |
|||
#cmakedefine _POSIX_SOURCE 1 |
|||
|
|||
/* we're on DEC Alpha */ |
|||
#cmakedefine __DECALPHA__ 1 |
|||
|
|||
/* work around a glibc bug */ |
|||
#cmakedefine __NO_MATH_INLINES 1 |
|||
|
|||
/* Define to empty if `const' does not conform to ANSI C. */ |
|||
#cmakedefine const @const@ |
|||
|
|||
/* Define to `__inline__' or `__inline' if that's what the C compiler |
|||
calls it, or to nothing if 'inline' is not supported under any name. */ |
|||
#ifndef __cplusplus |
|||
#cmakedefine inline @inline@ |
|||
#endif |
|||
|
|||
/* Define to `unsigned int' if <sys/types.h> does not define. */ |
|||
#cmakedefine size_t @size_t@ |
|||
|
|||
#endif /* LAME_CONFIG_H */ |
@ -1,51 +0,0 @@ |
|||
|
|||
add_library( ${TARGET} STATIC ) |
|||
|
|||
def_vars() |
|||
|
|||
list( APPEND SOURCES |
|||
PRIVATE |
|||
${TARGET_ROOT}/compat.c |
|||
${TARGET_ROOT}/crc.c |
|||
${TARGET_ROOT}/debug.c |
|||
${TARGET_ROOT}/field.c |
|||
${TARGET_ROOT}/file.c |
|||
${TARGET_ROOT}/frame.c |
|||
${TARGET_ROOT}/frametype.c |
|||
${TARGET_ROOT}/genre.c |
|||
${TARGET_ROOT}/latin1.c |
|||
${TARGET_ROOT}/parse.c |
|||
${TARGET_ROOT}/render.c |
|||
${TARGET_ROOT}/tag.c |
|||
${TARGET_ROOT}/ucs4.c |
|||
${TARGET_ROOT}/utf16.c |
|||
${TARGET_ROOT}/utf8.c |
|||
${TARGET_ROOT}/util.c |
|||
${TARGET_ROOT}/version.c |
|||
) |
|||
|
|||
list( APPEND INCLUDES |
|||
PRIVATE |
|||
${_PRVDIR} |
|||
PUBLIC |
|||
${TARGET_ROOT} |
|||
) |
|||
|
|||
list( APPEND OPTIONS |
|||
PRIVATE |
|||
$<$<C_COMPILER_ID:AppleClang,Clang,GNU>:-Wno-implicit-function-declaration> |
|||
) |
|||
|
|||
list( APPEND LIBRARIES |
|||
PRIVATE |
|||
|
|||
) |
|||
|
|||
configure_file( config.h.in private/config.h ) |
|||
|
|||
organize_source( "${TARGET_ROOT}" "src" "${SOURCES}" ) |
|||
target_sources( ${TARGET} PRIVATE ${SOURCES} ) |
|||
target_compile_options( ${TARGET} PRIVATE ${OPTIONS} ) |
|||
target_include_directories( ${TARGET} PRIVATE ${INCLUDES} ) |
|||
target_link_libraries( ${TARGET} PRIVATE ${LIBRARIES} ) |
|||
|
@ -1,86 +0,0 @@ |
|||
/* config.h.in. Generated from configure.ac by autoheader. */ |
|||
|
|||
/* Define to enable diagnostic debugging support. */ |
|||
#cmakedefine DEBUG 1 |
|||
|
|||
/* Define to 1 if you have the <assert.h> header file. */ |
|||
#cmakedefine HAVE_ASSERT_H 1 |
|||
|
|||
/* Define to 1 if you have the <dlfcn.h> header file. */ |
|||
#cmakedefine HAVE_DLFCN_H 1 |
|||
|
|||
/* Define to 1 if you have the `ftruncate' function. */ |
|||
#cmakedefine HAVE_FTRUNCATE 1 |
|||
|
|||
/* Define to 1 if you have the <inttypes.h> header file. */ |
|||
#cmakedefine HAVE_INTTYPES_H 1 |
|||
|
|||
/* Define to 1 if you have the `z' library (-lz). */ |
|||
#cmakedefine HAVE_LIBZ 1 |
|||
|
|||
/* Define to 1 if you have the <memory.h> header file. */ |
|||
#cmakedefine HAVE_MEMORY_H 1 |
|||
|
|||
/* Define to 1 if you have the <stdint.h> header file. */ |
|||
#cmakedefine HAVE_STDINT_H 1 |
|||
|
|||
/* Define to 1 if you have the <stdlib.h> header file. */ |
|||
#cmakedefine HAVE_STDLIB_H 1 |
|||
|
|||
/* Define to 1 if you have the <strings.h> header file. */ |
|||
#cmakedefine HAVE_STRINGS_H 1 |
|||
|
|||
/* Define to 1 if you have the <string.h> header file. */ |
|||
#cmakedefine HAVE_STRING_H 1 |
|||
|
|||
/* Define to 1 if you have the <sys/stat.h> header file. */ |
|||
#cmakedefine HAVE_SYS_STAT_H 1 |
|||
|
|||
/* Define to 1 if you have the <sys/types.h> header file. */ |
|||
#cmakedefine HAVE_SYS_TYPES_H 1 |
|||
|
|||
/* Define to 1 if you have the <unistd.h> header file. */ |
|||
#cmakedefine HAVE_UNISTD_H 1 |
|||
|
|||
/* Define to the sub-directory in which libtool stores uninstalled libraries. |
|||
*/ |
|||
#cmakedefine LT_OBJDIR "@LT_OBJDIR@" |
|||
|
|||
/* Define to disable debugging assertions. */ |
|||
#cmakedefine NDEBUG 1 |
|||
|
|||
/* Name of package */ |
|||
#cmakedefine PACKAGE "@PACKAGE@" |
|||
|
|||
/* Define to the address where bug reports for this package should be sent. */ |
|||
#cmakedefine PACKAGE_BUGREPORT "@PACKAGE_BUGREPORT@" |
|||
|
|||
/* Define to the full name of this package. */ |
|||
#cmakedefine PACKAGE_NAME "@PACKAGE_NAME@" |
|||
|
|||
/* Define to the full name and version of this package. */ |
|||
#cmakedefine PACKAGE_STRING "@PACKAGE_STRING@" |
|||
|
|||
/* Define to the one symbol short name of this package. */ |
|||
#cmakedefine PACKAGE_TARNAME "@PACKAGE_TARNAME@" |
|||
|
|||
/* Define to the home page for this package. */ |
|||
#cmakedefine PACKAGE_URL "@PACKAGE_URL@" |
|||
|
|||
/* Define to the version of this package. */ |
|||
#cmakedefine PACKAGE_VERSION "@PACKAGE_VERSION@" |
|||
|
|||
/* Define to 1 if you have the ANSI C header files. */ |
|||
#cmakedefine STDC_HEADERS 1 |
|||
|
|||
/* Version number of package */ |
|||
#cmakedefine VERSION "@VERSION@" |
|||
|
|||
/* Define to empty if `const' does not conform to ANSI C. */ |
|||
#cmakedefine const @const@ |
|||
|
|||
/* Define to `__inline__' or `__inline' if that's what the C compiler |
|||
calls it, or to nothing if 'inline' is not supported under any name. */ |
|||
#ifndef __cplusplus |
|||
#cmakedefine inline @inline@ |
|||
#endif |
@ -1,58 +0,0 @@ |
|||
|
|||
add_library( ${TARGET} STATIC ) |
|||
|
|||
def_vars() |
|||
|
|||
if( IS_64BIT ) |
|||
set( FPM FPM_64BIT ) |
|||
elseif( ${CMAKE_HOST_SYSTEM_PROCESSOR} MATCHES "X86|AMD64|i386|i686|x86_64" ) |
|||
set( FPM FPM_INTEL ) |
|||
else() |
|||
set( FPM FPM_DEFAULT ) |
|||
endif() |
|||
|
|||
list( APPEND SOURCES |
|||
PRIVATE |
|||
${TARGET_ROOT}/bit.c |
|||
${TARGET_ROOT}/decoder.c |
|||
${TARGET_ROOT}/fixed.c |
|||
${TARGET_ROOT}/frame.c |
|||
${TARGET_ROOT}/huffman.c |
|||
${TARGET_ROOT}/layer12.c |
|||
${TARGET_ROOT}/layer3.c |
|||
${TARGET_ROOT}/stream.c |
|||
${TARGET_ROOT}/synth.c |
|||
${TARGET_ROOT}/timer.c |
|||
${TARGET_ROOT}/version.c |
|||
) |
|||
|
|||
list( APPEND INCLUDES |
|||
PRIVATE |
|||
${_PRVDIR} |
|||
PUBLIC |
|||
${_PUBDIR} |
|||
${TARGET_ROOT} |
|||
) |
|||
|
|||
list( APPEND DEFINES |
|||
PRIVATE |
|||
HAVE_CONFIG_H |
|||
OPT_ACCURACY |
|||
${FPM} |
|||
) |
|||
|
|||
list( APPEND OPTIONS |
|||
PRIVATE |
|||
$<$<C_COMPILER_ID:AppleClang,Clang,GNU>:-Wall> |
|||
) |
|||
|
|||
configure_file( config.h.in private/config.h ) |
|||
configure_file( mad.h.in public/mad.h ) |
|||
|
|||
organize_source( "${TARGET_ROOT}" "" "${SOURCES}" ) |
|||
target_sources( ${TARGET} PRIVATE ${SOURCES} ) |
|||
target_compile_definitions( ${TARGET} PRIVATE ${DEFINES} ) |
|||
target_compile_options( ${TARGET} PRIVATE ${OPTIONS} ) |
|||
target_include_directories( ${TARGET} PRIVATE ${INCLUDES} ) |
|||
target_link_libraries( ${TARGET} PRIVATE ${LIBRARIES} ) |
|||
|
@ -1,215 +0,0 @@ |
|||
/* config.h.in. Generated from configure.ac by autoheader. */ |
|||
/* |
|||
* libmad - MPEG audio decoder library |
|||
* Copyright (C) 2000-2001 Robert Leslie |
|||
* |
|||
* This program is free software; you can redistribute it and/or modify |
|||
* it under the terms of the GNU General Public License as published by |
|||
* the Free Software Foundation; either version 2 of the License, or |
|||
* (at your option) any later version. |
|||
* |
|||
* This program is distributed in the hope that it will be useful, |
|||
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
|||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|||
* GNU General Public License for more details. |
|||
* |
|||
* You should have received a copy of the GNU General Public License |
|||
* along with this program; if not, write to the Free Software |
|||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
|||
* |
|||
* $Id: acconfig.h,v 1.2 2001-10-21 22:26:32 dmazzoni Exp $ |
|||
*/ |
|||
|
|||
# ifndef LIBMAD_CONFIG_H |
|||
# define LIBMAD_CONFIG_H 1 |
|||
|
|||
/***************************************************************************** |
|||
* Definitions selected automatically by `configure' * |
|||
*****************************************************************************/ |
|||
|
|||
/* Define to optimize for speed over accuracy. */ |
|||
#cmakedefine OPT_SPEED 1 |
|||
|
|||
/* Define to optimize for accuracy over speed. */ |
|||
#cmakedefine OPT_ACCURACY 1 |
|||
|
|||
/* Define to enable a fast subband synthesis approximation optimization. */ |
|||
#cmakedefine OPT_SSO 1 |
|||
|
|||
/* Define to influence a strict interpretation of the ISO/IEC standards, |
|||
even if this is in opposition with best accepted practices. */ |
|||
#cmakedefine OPT_STRICT 1 |
|||
|
|||
/* Define if your MIPS CPU supports a 2-operand MADD instruction. */ |
|||
#cmakedefine HAVE_MADD_ASM 1 |
|||
|
|||
/* Define if your MIPS CPU supports a 2-operand MADD16 instruction. */ |
|||
#cmakedefine HAVE_MADD16_ASM 1 |
|||
|
|||
/* Define to enable diagnostic debugging support. */ |
|||
#cmakedefine DEBUG 1 |
|||
|
|||
/* Define to disable debugging assertions. */ |
|||
#cmakedefine NDEBUG 1 |
|||
|
|||
/* Define to enable experimental code. */ |
|||
#cmakedefine EXPERIMENTAL 1 |
|||
|
|||
|
|||
/* Define if building universal (internal helper macro) */ |
|||
#cmakedefine AC_APPLE_UNIVERSAL_BUILD 1 |
|||
|
|||
/* Define to enable diagnostic debugging support. */ |
|||
#cmakedefine DEBUG 1 |
|||
|
|||
/* Define to enable experimental code. */ |
|||
#cmakedefine EXPERIMENTAL 1 |
|||
|
|||
/* Define to 1 if you have the <assert.h> header file. */ |
|||
#cmakedefine HAVE_ASSERT_H 1 |
|||
|
|||
/* Define to 1 if you have the <dlfcn.h> header file. */ |
|||
#cmakedefine HAVE_DLFCN_H 1 |
|||
|
|||
/* Define to 1 if you have the <errno.h> header file. */ |
|||
#cmakedefine HAVE_ERRNO_H 1 |
|||
|
|||
/* Define to 1 if you have the `fcntl' function. */ |
|||
#cmakedefine HAVE_FCNTL 1 |
|||
|
|||
/* Define to 1 if you have the <fcntl.h> header file. */ |
|||
#cmakedefine HAVE_FCNTL_H 1 |
|||
|
|||
/* Define to 1 if you have the `fork' function. */ |
|||
#cmakedefine HAVE_FORK 1 |
|||
|
|||
/* Define to 1 if you have the <inttypes.h> header file. */ |
|||
#cmakedefine HAVE_INTTYPES_H 1 |
|||
|
|||
/* Define to 1 if you have the <limits.h> header file. */ |
|||
#cmakedefine HAVE_LIMITS_H 1 |
|||
|
|||
/* Define if your MIPS CPU supports a 2-operand MADD16 instruction. */ |
|||
#cmakedefine HAVE_MADD16_ASM 1 |
|||
|
|||
/* Define if your MIPS CPU supports a 2-operand MADD instruction. */ |
|||
#cmakedefine HAVE_MADD_ASM 1 |
|||
|
|||
/* Define to 1 if you have the <memory.h> header file. */ |
|||
#cmakedefine HAVE_MEMORY_H 1 |
|||
|
|||
/* Define to 1 if you have the `pipe' function. */ |
|||
#cmakedefine HAVE_PIPE 1 |
|||
|
|||
/* Define to 1 if you have the <stdint.h> header file. */ |
|||
#cmakedefine HAVE_STDINT_H 1 |
|||
|
|||
/* Define to 1 if you have the <stdlib.h> header file. */ |
|||
#cmakedefine HAVE_STDLIB_H 1 |
|||
|
|||
/* Define to 1 if you have the <strings.h> header file. */ |
|||
#cmakedefine HAVE_STRINGS_H 1 |
|||
|
|||
/* Define to 1 if you have the <string.h> header file. */ |
|||
#cmakedefine HAVE_STRING_H 1 |
|||
|
|||
/* Define to 1 if you have the <sys/stat.h> header file. */ |
|||
#cmakedefine HAVE_SYS_STAT_H 1 |
|||
|
|||
/* Define to 1 if you have the <sys/types.h> header file. */ |
|||
#cmakedefine HAVE_SYS_TYPES_H 1 |
|||
|
|||
/* Define to 1 if you have <sys/wait.h> that is POSIX.1 compatible. */ |
|||
#cmakedefine HAVE_SYS_WAIT_H 1 |
|||
|
|||
/* Define to 1 if you have the <unistd.h> header file. */ |
|||
#cmakedefine HAVE_UNISTD_H 1 |
|||
|
|||
/* Define to 1 if you have the `waitpid' function. */ |
|||
#cmakedefine HAVE_WAITPID 1 |
|||
|
|||
/* Define to the sub-directory in which libtool stores uninstalled libraries. |
|||
*/ |
|||
#cmakedefine LT_OBJDIR "@LT_OBJDIR@" |
|||
|
|||
/* Define to disable debugging assertions. */ |
|||
#cmakedefine NDEBUG 1 |
|||
|
|||
/* Define to optimize for accuracy over speed. */ |
|||
#cmakedefine OPT_ACCURACY 1 |
|||
|
|||
/* Define to optimize for speed over accuracy. */ |
|||
#cmakedefine OPT_SPEED 1 |
|||
|
|||
/* Define to enable a fast subband synthesis approximation optimization. */ |
|||
#cmakedefine OPT_SSO 1 |
|||
|
|||
/* Define to influence a strict interpretation of the ISO/IEC standards, even |
|||
if this is in opposition with best accepted practices. */ |
|||
#cmakedefine OPT_STRICT 1 |
|||
|
|||
/* Name of package */ |
|||
#cmakedefine PACKAGE "@PACKAGES" |
|||
|
|||
/* Define to the address where bug reports for this package should be sent. */ |
|||
#cmakedefine PACKAGE_BUGREPORT "@PACKAGE_BUGREPORT@" |
|||
|
|||
/* Define to the full name of this package. */ |
|||
#cmakedefine PACKAGE_NAME "@PACKAGE_NAME@" |
|||
|
|||
/* Define to the full name and version of this package. */ |
|||
#cmakedefine PACKAGE_STRING "@PACKAGE_STRING@" |
|||
|
|||
/* Define to the one symbol short name of this package. */ |
|||
#cmakedefine PACKAGE_TARNAME "@PACKAGE_TARNAME@" |
|||
|
|||
/* Define to the home page for this package. */ |
|||
#cmakedefine PACKAGE_URL "@PACKAGE_URL@" |
|||
|
|||
/* Define to the version of this package. */ |
|||
#cmakedefine PACKAGE_VERSION "@PACKAGE_VERSION@" |
|||
|
|||
/* The size of `int', as computed by sizeof. */ |
|||
#define SIZEOF_INT @SIZEOF_INT@ |
|||
|
|||
/* The size of `long', as computed by sizeof. */ |
|||
#define SIZEOF_LONG @SIZEOF_LONG@ |
|||
|
|||
/* The size of `long long', as computed by sizeof. */ |
|||
#define SIZEOF_LONG_LONG @SIZEOF_LONG_LONG@ |
|||
|
|||
/* Define to 1 if you have the ANSI C header files. */ |
|||
#cmakedefine STDC_HEADERS 1 |
|||
|
|||
/* Version number of package */ |
|||
#cmakedefine VERSION "@VERSION@" |
|||
|
|||
/* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most |
|||
significant byte first (like Motorola and SPARC, unlike Intel). */ |
|||
#if defined AC_APPLE_UNIVERSAL_BUILD |
|||
# if defined __BIG_ENDIAN__ |
|||
# define WORDS_BIGENDIAN 1 |
|||
# endif |
|||
#else |
|||
# ifndef WORDS_BIGENDIAN |
|||
# cmakedefine WORDS_BIGENDIAN @WORDS_BIGENDIAN@ |
|||
# endif |
|||
#endif |
|||
|
|||
/* Define to empty if `const' does not conform to ANSI C. */ |
|||
#cmakedefine const @const@ |
|||
|
|||
/* Define to `__inline__' or `__inline' if that's what the C compiler |
|||
calls it, or to nothing if 'inline' is not supported under any name. */ |
|||
#ifndef __cplusplus |
|||
#cmakedefine inline @const@ |
|||
#endif |
|||
|
|||
/* Define to `int' if <sys/types.h> does not define. */ |
|||
#cmakedefine pid_t @pid_t@ |
|||
|
|||
/***************************************************************************** |
|||
* End of automatically configured definitions * |
|||
*****************************************************************************/ |
|||
|
|||
# endif |
@ -1,15 +0,0 @@ |
|||
#ifndef _MAD_H_ |
|||
#define _MAD_H_ |
|||
|
|||
#define @FPM@ |
|||
|
|||
#include "version.h" |
|||
#include "fixed.h" |
|||
#include "bit.h" |
|||
#include "timer.h" |
|||
#include "stream.h" |
|||
#include "frame.h" |
|||
#include "synth.h" |
|||
#include "decoder.h" |
|||
|
|||
#endif |
@ -1,287 +0,0 @@ |
|||
|
|||
add_library( ${TARGET} INTERFACE ) |
|||
add_library( wxBase INTERFACE ) |
|||
add_library( ${symbol} ALIAS ${TARGET} ) |
|||
|
|||
def_vars() |
|||
|
|||
message( STATUS "========== Configuring ${name} ==========" ) |
|||
|
|||
cmd_option( ${_OPT}use_wxwidgets |
|||
"Use ${name} library [system (if available), local]" |
|||
"${audacity_lib_preference}" |
|||
STRINGS "system" "local" |
|||
) |
|||
|
|||
if( ${_OPT}use_wxwidgets STREQUAL "system" ) |
|||
# Make sure shared libs are preferred over static |
|||
set( BUILD_SHARED_LIBS YES ) |
|||
|
|||
# Specify all of the components we'll need since "html" and "qa" aren't |
|||
# included in the default list |
|||
find_package(wxWidgets REQUIRED COMPONENTS adv base core html net qa xml) |
|||
|
|||
unset( BUILD_SHARED_LIBS ) |
|||
endif() |
|||
|
|||
if( wxWidgets_FOUND ) |
|||
message( STATUS "Using '${name}' system library" ) |
|||
|
|||
if( wxWidgets_INCLUDE_DIRS_NO_SYSTEM ) |
|||
set( INCLUDES |
|||
INTERFACE |
|||
${wxWidgets_INCLUDE_DIRS_NO_SYSTEM} |
|||
) |
|||
else() |
|||
set( INCLUDES |
|||
INTERFACE |
|||
${wxWidgets_INCLUDE_DIRS} |
|||
) |
|||
endif() |
|||
|
|||
set( DEFINES |
|||
INTERFACE |
|||
${wxWidgets_DEFINITIONS_GENERAL} |
|||
$<$<CONFIG:Debug>: |
|||
${wxWidgets_DEFINITIONS_DEBUG} |
|||
> |
|||
$<$<NOT:$<CONFIG:Debug>>: |
|||
${wxWidgets_DEFINITIONS_OPTIMIZED} |
|||
> |
|||
) |
|||
|
|||
set( LINKDIRS |
|||
INTERFACE |
|||
$<$<PLATFORM_ID:Windows>: |
|||
${wxWidgets_LIB_DIR} |
|||
> |
|||
) |
|||
|
|||
set( LIBRARIES |
|||
INTERFACE |
|||
${wxWidgets_LIBRARIES} |
|||
$<$<NOT:$<PLATFORM_ID:Windows>>: |
|||
z |
|||
> |
|||
) |
|||
|
|||
# set( WXWIN $ENV{WXWIN} CACHE INTERNAL "" ) |
|||
if( WXWIN ) |
|||
string( APPEND WXWIN "/lib" ) |
|||
else() |
|||
set( WXWIN "${wxWidgets_LIBRARY_DIRS}" ) |
|||
endif() |
|||
set( WXWIN "${WXWIN}" CACHE INTERNAL "" ) |
|||
|
|||
set( toolkit "${wxWidgets_LIBRARIES}" ) |
|||
else() |
|||
message( STATUS "Using local '${name}' library" ) |
|||
|
|||
set( WXWIN $ENV{WXWIN} ) |
|||
if( "${WXWIN}" STREQUAL "" ) |
|||
# XXX: Look into importing instead of adding to this project |
|||
set( WXWIN "${_INTDIR}/wxwidgets" ) |
|||
endif() |
|||
|
|||
if( NOT EXISTS "${WXWIN}" ) |
|||
if( NOT GIT_FOUND ) |
|||
message( FATAL_ERROR "Git is needed to clone wxWidgets" ) |
|||
endif() |
|||
|
|||
execute_process( |
|||
COMMAND |
|||
${GIT_EXECUTABLE} clone |
|||
--depth 1 |
|||
--single-branch |
|||
--recurse-submodules |
|||
https://github.com/audacity/wxwidgets |
|||
"${WXWIN}" |
|||
) |
|||
endif() |
|||
|
|||
if( CMAKE_SYSTEM_NAME MATCHES "Windows" ) |
|||
# Want accessibility |
|||
set( wxUSE_ACCESSIBILITY YES ) |
|||
|
|||
# Windows requires it due to missing "#include" directives |
|||
set( wxBUILD_PRECOMP YES ) |
|||
elseif( CMAKE_SYSTEM_NAME MATCHES "Darwin" ) |
|||
# Want accessibility |
|||
set( wxUSE_ACCESSIBILITY YES ) |
|||
|
|||
# Causes problems on OSX, so turn it off |
|||
set( wxBUILD_PRECOMP NO ) |
|||
elseif( CMAKE_SYSTEM_NAME MATCHES "Linux|FreeBSD" ) |
|||
# Doesn't yet have accessbility |
|||
set( wxUSE_ACCESSIBILITY NO ) |
|||
|
|||
# Linux can go either way, so might as well use it |
|||
set( wxBUILD_PRECOMP YES ) |
|||
endif() |
|||
|
|||
# Just to be consistent with Audacity |
|||
set( wxBUILD_CXX_STANDARD "14" ) |
|||
|
|||
# Pull in wxWidgets |
|||
add_subdirectory( ${WXWIN} ${WXWIN} ) |
|||
|
|||
# And rearrange the folder structure |
|||
set_dir_folder( ${WXWIN} "wxWidgets" ) |
|||
|
|||
set( INCLUDES |
|||
$<$<STREQUAL:"${wxUSE_ZLIB}","builtin">: |
|||
${WXWIN}/src/zlib |
|||
> |
|||
) |
|||
|
|||
set( DEFINES |
|||
WXUSINGDLL |
|||
) |
|||
|
|||
# For all required libs, gather all of the interface target |
|||
# properties and merge them into the wxWidgets target |
|||
foreach( lib adv base core html net qa xml ) |
|||
get_target_property( value ${lib} INTERFACE_INCLUDE_DIRECTORIES ) |
|||
if( value ) |
|||
list( APPEND INCLUDES ${value} ) |
|||
list( REMOVE_DUPLICATES INCLUDES ) |
|||
endif() |
|||
|
|||
get_target_property( value ${lib} INTERFACE_COMPILE_DEFINITIONS ) |
|||
if( value ) |
|||
list( APPEND DEFINES ${value} ) |
|||
list( REMOVE_DUPLICATES DEFINES ) |
|||
endif() |
|||
|
|||
get_target_property( value ${lib} INTERFACE_COMPILE_OPTIONS ) |
|||
if( value ) |
|||
list( APPEND COPTS ${value} ) |
|||
list( REMOVE_DUPLICATES COPTS ) |
|||
endif() |
|||
|
|||
get_target_property( value ${lib} INTERFACE_LINK_LIBRARIES ) |
|||
if( value) |
|||
list( APPEND LIBRARIES ${lib} ${value} ) |
|||
list( REMOVE_DUPLICATES LIBRARIES ) |
|||
endif() |
|||
endforeach() |
|||
|
|||
# Do NOT split the generator expressions across multiple lines here. |
|||
# CMake appears to have a bug and doesn't seem to handle it correctly |
|||
# for target link libraries. |
|||
list( APPEND LIBRARIES |
|||
$<$<STREQUAL:"${wxUSE_EXPAT}","builtin">:wxexpat> |
|||
$<$<STREQUAL:"${wxUSE_LIBJPEG}","builtin">:wxjpeg> |
|||
$<$<STREQUAL:"${wxUSE_LIBPNG}","builtin">:wxpng> |
|||
$<$<STREQUAL:"${wxUSE_LIBTIFF}","builtin">:wxtiff> |
|||
$<$<STREQUAL:"${wxUSE_REGEX}","builtin">:wxregex> |
|||
$<$<STREQUAL:"${wxUSE_ZLIB}","builtin">:wxzlib> |
|||
) |
|||
|
|||
if( CMAKE_SYSTEM_NAME MATCHES "Darwin" ) |
|||
# When accessibility is enabled, the build will fail in "wx/chkconf.h" |
|||
# since wxRegex compile defines do not include __WXOSX_COCOA__. So, |
|||
# add it here. |
|||
target_compile_definitions( wxregex PRIVATE "__WXOSX_COCOA__" ) |
|||
endif() |
|||
|
|||
set( toolkit "${wxBUILD_TOOLKIT}" ) |
|||
endif() |
|||
|
|||
if( "${toolkit}" MATCHES ".*gtk2.*" ) |
|||
set( gtk gtk+-2.0 ) |
|||
set( glib glib-2.0 ) |
|||
set( wxTOOLKIT "GTK2" CACHE INTERNAL "" ) |
|||
set( wxIS_GTK YES CACHE INTERNAL "" ) |
|||
elseif( "${toolkit}" MATCHES ".*gtk3.*" ) |
|||
set( gtk gtk+-3.0 ) |
|||
set( glib glib-2.0 ) |
|||
set( wxTOOLKIT "GTK3" CACHE INTERNAL "" ) |
|||
set( wxIS_GTK YES CACHE INTERNAL "" ) |
|||
elseif( "${toolkit}" MATCHES ".*gtk4.*" ) |
|||
set( gtk gtk+-4.0 ) |
|||
set( glib glib-2.0 ) |
|||
set( wxTOOLKIT "GTK4" CACHE INTERNAL "" ) |
|||
set( wxIS_GTK YES CACHE INTERNAL "" ) |
|||
elseif( "${toolkit}" MATCHES ".*msw.*" ) |
|||
set( wxTOOLKIT "MSW" CACHE INTERNAL "" ) |
|||
set( wxIS_WIN YES CACHE INTERNAL "" ) |
|||
list( APPEND DEFINES __WXMSW__=1 ) |
|||
elseif( "${toolkit}" MATCHES ".*osx.*" ) |
|||
set( wxTOOLKIT "MAC" CACHE INTERNAL "" ) |
|||
set( wxIS_MAC YES CACHE INTERNAL "" ) |
|||
else() |
|||
message( FATAL_ERROR "Unrecognized wxWidgets toolkit" ) |
|||
endif() |
|||
|
|||
if( "${wxTOOLKIT}" MATCHES "GTK." ) |
|||
pkg_check_modules( GTK REQUIRED IMPORTED_TARGET GLOBAL ${gtk} ) |
|||
pkg_check_modules( GLIB REQUIRED IMPORTED_TARGET GLOBAL ${glib} ) |
|||
endif() |
|||
|
|||
find_file( WXVERSION_H |
|||
NAMES |
|||
wx/version.h |
|||
PATHS |
|||
${INCLUDES} |
|||
NO_DEFAULT_PATH |
|||
) |
|||
|
|||
if( NOT WXVERSION_H ) |
|||
message( FATAL_ERROR "wxWidgets version.h header not found" ) |
|||
endif() |
|||
|
|||
file( |
|||
STRINGS |
|||
"${WXVERSION_H}" output |
|||
REGEX |
|||
"^#define +wxVERSION_STRING +" |
|||
) |
|||
|
|||
string( REGEX MATCHALL "\".+(Audacity).+\"" ours "${output}") |
|||
if( NOT ours ) |
|||
message( FATAL_ERROR |
|||
"\n########################################################################\n" |
|||
"Audacity version 3.0.0 or higher requires use of a customized version of " |
|||
"wxWidgets. For details:\n" |
|||
" https://wiki.audacityteam.org/wiki/Building_for_Distros\n" |
|||
"########################################################################\n" |
|||
) |
|||
endif() |
|||
|
|||
foreach( target "${TARGET}" wxBase ) |
|||
target_include_directories( ${target} INTERFACE ${INCLUDES} ) |
|||
target_compile_definitions( ${target} INTERFACE ${DEFINES} ) |
|||
target_compile_options( ${target} INTERFACE ${COPTS} ) |
|||
target_link_directories( ${target} INTERFACE ${LINKDIRS} ) |
|||
target_link_libraries( ${target} INTERFACE ${LIBRARIES} ) |
|||
endforeach() |
|||
|
|||
# wxBase exposes only the GUI-less subset of full wxWidgets |
|||
# Also prohibit use of some other headers by pre-defining their include guards |
|||
# wxUSE_GUI=0 doesn't exclude all of wxCore dependency, and the application |
|||
# object and event loops are in wxBase, but we want to exclude their use too |
|||
target_compile_definitions( wxBase INTERFACE |
|||
"wxUSE_GUI=0" |
|||
|
|||
# Don't use app.h |
|||
_WX_APP_H_BASE_ |
|||
|
|||
# Don't use evtloop.h |
|||
_WX_EVTLOOP_H_ |
|||
|
|||
# Don't use image.h |
|||
_WX_IMAGE_H |
|||
|
|||
# Don't use colour.h |
|||
_WX_COLOUR_H_BASE_ |
|||
|
|||
# Don't use brush.h |
|||
_WX_BRUSH_H_BASE_ |
|||
|
|||
# Don't use pen.h |
|||
_WX_PEN_H_BASE_ |
|||
) |
|||
|
|||
install( TARGETS ${TARGET} DESTINATION ${_LIBDIR} ) |
|||
|
@ -1,42 +0,0 @@ |
|||
== How to build expat with cmake (experimental) == |
|||
|
|||
The cmake based buildsystem for expat works on Windows (cygwin, mingw, Visual |
|||
Studio) and should work on all other platform cmake supports. |
|||
|
|||
Assuming ~/expat-2.1.0 is the source directory of expat, add a subdirectory |
|||
build and change into that directory: |
|||
~/expat-2.1.0$ mkdir build && cd build |
|||
~/expat-2.1.0/build$ |
|||
|
|||
From that directory, call cmake first, then call make, make test and |
|||
make install in the usual way: |
|||
~/expat-2.1.0/build$ cmake .. |
|||
-- The C compiler identification is GNU |
|||
-- The CXX compiler identification is GNU |
|||
.... |
|||
-- Configuring done |
|||
-- Generating done |
|||
-- Build files have been written to: /home/patrick/expat-2.1.0/build |
|||
|
|||
If you want to specify the install location for your files, append |
|||
-DCMAKE_INSTALL_PREFIX=/your/install/path to the cmake call. |
|||
|
|||
~/expat-2.1.0/build$ make && make test && make install |
|||
Scanning dependencies of target expat |
|||
[ 5%] Building C object CMakeFiles/expat.dir/lib/xmlparse.c.o |
|||
[ 11%] Building C object CMakeFiles/expat.dir/lib/xmlrole.c.o |
|||
.... |
|||
-- Installing: /usr/local/lib/pkgconfig/expat.pc |
|||
-- Installing: /usr/local/bin/xmlwf |
|||
-- Installing: /usr/local/share/man/man1/xmlwf.1 |
|||
|
|||
For Windows builds, you must make sure to call cmake from an environment where |
|||
your compiler is reachable, that means either you call it from the |
|||
Visual Studio Command Prompt or when using mingw, you must open a cmd.exe and |
|||
make sure that gcc can be called. On Windows, you also might want to specify a |
|||
special Generator for CMake: |
|||
for Visual Studio builds do: |
|||
cmake .. -G "Visual Studio 10" && vcexpress expat.sln |
|||
for mingw builds do: |
|||
cmake .. -G "MinGW Makefiles" -DCMAKE_INSTALL_PREFIX=D:\expat-install |
|||
&& gmake && gmake install |
@ -1,111 +0,0 @@ |
|||
# This file is copyrighted under the BSD-license for buildsystem files of KDE |
|||
# copyright 2010, Patrick Spendrin <ps_ml@gmx.de> |
|||
|
|||
project(expat) |
|||
|
|||
cmake_minimum_required(VERSION 2.6) |
|||
set(PACKAGE_BUGREPORT "expat-bugs@libexpat.org") |
|||
set(PACKAGE_NAME "expat") |
|||
set(PACKAGE_VERSION "2.1.0") |
|||
set(PACKAGE_STRING "${PACKAGE_NAME} ${PACKAGE_VERSION}") |
|||
set(PACKAGE_TARNAME "${PACKAGE_NAME}") |
|||
|
|||
option(BUILD_tools "build the xmlwf tool for expat library" ON) |
|||
option(BUILD_examples "build the examples for expat library" ON) |
|||
option(BUILD_tests "build the tests for expat library" ON) |
|||
option(BUILD_shared "build a shared expat library" ON) |
|||
|
|||
# configuration options |
|||
set(XML_CONTEXT_BYTES 1024 CACHE STRING "Define to specify how much context to retain around the current parse point") |
|||
option(XML_DTD "Define to make parameter entity parsing functionality available" ON) |
|||
option(XML_NS "Define to make XML Namespaces functionality available" ON) |
|||
|
|||
if(XML_DTD) |
|||
set(XML_DTD 1) |
|||
else(XML_DTD) |
|||
set(XML_DTD 0) |
|||
endif(XML_DTD) |
|||
if(XML_NS) |
|||
set(XML_NS 1) |
|||
else(XML_NS) |
|||
set(XML_NS 0) |
|||
endif(XML_NS) |
|||
|
|||
if(BUILD_tests) |
|||
enable_testing() |
|||
endif(BUILD_tests) |
|||
|
|||
include(ConfigureChecks.cmake) |
|||
|
|||
include_directories(${CMAKE_CURRENT_BINARY_DIR} ${CMAKE_CURRENT_SOURCE_DIR}/lib) |
|||
if(MSVC) |
|||
add_definitions(-D_CRT_SECURE_NO_WARNINGS -wd4996) |
|||
endif(MSVC) |
|||
|
|||
set(expat_SRCS |
|||
lib/xmlparse.c |
|||
lib/xmlrole.c |
|||
lib/xmltok.c |
|||
lib/xmltok_impl.c |
|||
lib/xmltok_ns.c |
|||
) |
|||
|
|||
if(WIN32 AND BUILD_shared) |
|||
set(expat_SRCS ${expat_SRCS} lib/libexpat.def) |
|||
endif(WIN32 AND BUILD_shared) |
|||
|
|||
if(BUILD_shared) |
|||
set(_SHARED SHARED) |
|||
else(BUILD_shared) |
|||
set(_SHARED STATIC) |
|||
endif(BUILD_shared) |
|||
|
|||
add_library(expat ${_SHARED} ${expat_SRCS}) |
|||
|
|||
install(TARGETS expat RUNTIME DESTINATION bin |
|||
LIBRARY DESTINATION lib |
|||
ARCHIVE DESTINATION lib) |
|||
|
|||
set(prefix ${CMAKE_INSTALL_PREFIX}) |
|||
set(exec_prefix "\${prefix}/bin") |
|||
set(libdir "\${prefix}/lib") |
|||
set(includedir "\${prefix}/include") |
|||
configure_file(expat.pc.in ${CMAKE_CURRENT_BINARY_DIR}/expat.pc) |
|||
|
|||
install(FILES lib/expat.h lib/expat_external.h DESTINATION include) |
|||
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/expat.pc DESTINATION lib/pkgconfig) |
|||
|
|||
|
|||
|
|||
if(BUILD_tools AND NOT WINCE) |
|||
set(xmlwf_SRCS |
|||
xmlwf/xmlwf.c |
|||
xmlwf/xmlfile.c |
|||
xmlwf/codepage.c |
|||
xmlwf/readfilemap.c |
|||
) |
|||
|
|||
add_executable(xmlwf ${xmlwf_SRCS}) |
|||
target_link_libraries(xmlwf expat) |
|||
install(TARGETS xmlwf DESTINATION bin) |
|||
install(FILES doc/xmlwf.1 DESTINATION share/man/man1) |
|||
endif(BUILD_tools AND NOT WINCE) |
|||
|
|||
if(BUILD_examples) |
|||
add_executable(elements examples/elements.c) |
|||
target_link_libraries(elements expat) |
|||
|
|||
add_executable(outline examples/outline.c) |
|||
target_link_libraries(outline expat) |
|||
endif(BUILD_examples) |
|||
|
|||
if(BUILD_tests) |
|||
## these are unittests that can be run on any platform |
|||
add_executable(runtests tests/runtests.c tests/chardata.c tests/minicheck.c) |
|||
target_link_libraries(runtests expat) |
|||
add_test(runtests runtests) |
|||
|
|||
add_executable(runtestspp tests/runtestspp.cpp tests/chardata.c tests/minicheck.c) |
|||
target_link_libraries(runtestspp expat) |
|||
add_test(runtestspp runtestspp) |
|||
endif(BUILD_tests) |
@ -1,22 +0,0 @@ |
|||
Copyright (c) 1998, 1999, 2000 Thai Open Source Software Center Ltd |
|||
and Clark Cooper |
|||
Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006 Expat maintainers. |
|||
|
|||
Permission is hereby granted, free of charge, to any person obtaining |
|||
a copy of this software and associated documentation files (the |
|||
"Software"), to deal in the Software without restriction, including |
|||
without limitation the rights to use, copy, modify, merge, publish, |
|||
distribute, sublicense, and/or sell copies of the Software, and to |
|||
permit persons to whom the Software is furnished to do so, subject to |
|||
the following conditions: |
|||
|
|||
The above copyright notice and this permission notice shall be included |
|||
in all copies or substantial portions of the Software. |
|||
|
|||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, |
|||
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF |
|||
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. |
|||
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY |
|||
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, |
|||
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE |
|||
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
@ -1,205 +0,0 @@ |
|||
Release 2.1.0 Sat March 24 2012 |
|||
- Bug Fixes: |
|||
#1742315: Harmful XML_ParserCreateNS suggestion. |
|||
#2895533: CVE-2012-1147 - Resource leak in readfilemap.c. |
|||
#1785430: Expat build fails on linux-amd64 with gcc version>=4.1 -O3. |
|||
#1983953, 2517952, 2517962, 2649838: |
|||
Build modifications using autoreconf instead of buildconf.sh. |
|||
#2815947, #2884086: OBJEXT and EXEEXT support while building. |
|||
#1990430: CVE-2009-3720 - Parser crash with special UTF-8 sequences. |
|||
#2517938: xmlwf should return non-zero exit status if not well-formed. |
|||
#2517946: Wrong statement about XMLDecl in xmlwf.1 and xmlwf.sgml. |
|||
#2855609: Dangling positionPtr after error. |
|||
#2894085: CVE-2009-3560 - Buffer over-read and crash in big2_toUtf8(). |
|||
#2958794: CVE-2012-1148 - Memory leak in poolGrow. |
|||
#2990652: CMake support. |
|||
#3010819: UNEXPECTED_STATE with a trailing "%" in entity value. |
|||
#3206497: Unitialized memory returned from XML_Parse. |
|||
#3287849: make check fails on mingw-w64. |
|||
#3496608: CVE-2012-0876 - Hash DOS attack. |
|||
- Patches: |
|||
#1749198: pkg-config support. |
|||
#3010222: Fix for bug #3010819. |
|||
#3312568: CMake support. |
|||
#3446384: Report byte offsets for attr names and values. |
|||
- New Features / API changes: |
|||
Added new API member XML_SetHashSalt() that allows setting an intial |
|||
value (salt) for hash calculations. This is part of the fix for |
|||
bug #3496608 to randomize hash parameters. |
|||
When compiled with XML_ATTR_INFO defined, adds new API member |
|||
XML_GetAttributeInfo() that allows retrieving the byte |
|||
offsets for attribute names and values (patch #3446384). |
|||
Added CMake build system. |
|||
See bug #2990652 and patch #3312568. |
|||
Added run-benchmark target to Makefile.in - relies on testdata module |
|||
present in the same relative location as in the repository. |
|||
|
|||
Release 2.0.1 Tue June 5 2007 |
|||
- Fixed bugs #1515266, #1515600: The character data handler's calling |
|||
of XML_StopParser() was not handled properly; if the parser was |
|||
stopped and the handler set to NULL, the parser would segfault. |
|||
- Fixed bug #1690883: Expat failed on EBCDIC systems as it assumed |
|||
some character constants to be ASCII encoded. |
|||
- Minor cleanups of the test harness. |
|||
- Fixed xmlwf bug #1513566: "out of memory" error on file size zero. |
|||
- Fixed outline.c bug #1543233: missing a final XML_ParserFree() call. |
|||
- Fixes and improvements for Windows platform: |
|||
bugs #1409451, #1476160, #1548182, #1602769, #1717322. |
|||
- Build fixes for various platforms: |
|||
HP-UX, Tru64, Solaris 9: patch #1437840, bug #1196180. |
|||
All Unix: #1554618 (refreshed config.sub/config.guess). |
|||
#1490371, #1613457: support both, DESTDIR and INSTALL_ROOT, |
|||
without relying on GNU-Make specific features. |
|||
#1647805: Patched configure.in to work better with Intel compiler. |
|||
- Fixes to Makefile.in to have make check work correctly: |
|||
bugs #1408143, #1535603, #1536684. |
|||
- Added Open Watcom support: patch #1523242. |
|||
|
|||
Release 2.0.0 Wed Jan 11 2006 |
|||
- We no longer use the "check" library for C unit testing; we |
|||
always use the (partial) internal implementation of the API. |
|||
- Report XML_NS setting via XML_GetFeatureList(). |
|||
- Fixed headers for use from C++. |
|||
- XML_GetCurrentLineNumber() and XML_GetCurrentColumnNumber() |
|||
now return unsigned integers. |
|||
- Added XML_LARGE_SIZE switch to enable 64-bit integers for |
|||
byte indexes and line/column numbers. |
|||
- Updated to use libtool 1.5.22 (the most recent). |
|||
- Added support for AmigaOS. |
|||
- Some mostly minor bug fixes. SF issues include: #1006708, |
|||
#1021776, #1023646, #1114960, #1156398, #1221160, #1271642. |
|||
|
|||
Release 1.95.8 Fri Jul 23 2004 |
|||
- Major new feature: suspend/resume. Handlers can now request |
|||
that a parse be suspended for later resumption or aborted |
|||
altogether. See "Temporarily Stopping Parsing" in the |
|||
documentation for more details. |
|||
- Some mostly minor bug fixes, but compilation should no |
|||
longer generate warnings on most platforms. SF issues |
|||
include: #827319, #840173, #846309, #888329, #896188, #923913, |
|||
#928113, #961698, #985192. |
|||
|
|||
Release 1.95.7 Mon Oct 20 2003 |
|||
- Fixed enum XML_Status issue (reported on SourceForge many |
|||
times), so compilers that are properly picky will be happy. |
|||
- Introduced an XMLCALL macro to control the calling |
|||
convention used by the Expat API; this macro should be used |
|||
to annotate prototypes and definitions of callback |
|||
implementations in code compiled with a calling convention |
|||
other than the default convention for the host platform. |
|||
- Improved ability to build without the configure-generated |
|||
expat_config.h header. This is useful for applications |
|||
which embed Expat rather than linking in the library. |
|||
- Fixed a variety of bugs: see SF issues #458907, #609603, |
|||
#676844, #679754, #692878, #692964, #695401, #699323, #699487, |
|||
#820946. |
|||
- Improved hash table lookups. |
|||
- Added more regression tests and improved documentation. |
|||
|
|||
Release 1.95.6 Tue Jan 28 2003 |
|||
- Added XML_FreeContentModel(). |
|||
- Added XML_MemMalloc(), XML_MemRealloc(), XML_MemFree(). |
|||
- Fixed a variety of bugs: see SF issues #615606, #616863, |
|||
#618199, #653180, #673791. |
|||
- Enhanced the regression test suite. |
|||
- Man page improvements: includes SF issue #632146. |
|||
|
|||
Release 1.95.5 Fri Sep 6 2002 |
|||
- Added XML_UseForeignDTD() for improved SAX2 support. |
|||
- Added XML_GetFeatureList(). |
|||
- Defined XML_Bool type and the values XML_TRUE and XML_FALSE. |
|||
- Use an incomplete struct instead of a void* for the parser |
|||
(may not retain). |
|||
- Fixed UTF-8 decoding bug that caused legal UTF-8 to be rejected. |
|||
- Finally fixed bug where default handler would report DTD |
|||
events that were already handled by another handler. |
|||
Initial patch contributed by Darryl Miles. |
|||
- Removed unnecessary DllMain() function that caused static |
|||
linking into a DLL to be difficult. |
|||
- Added VC++ projects for building static libraries. |
|||