diff --git a/lib-src/expat/AUTHORS b/lib-src/expat/AUTHORS new file mode 100644 index 000000000..99475bb1b --- /dev/null +++ b/lib-src/expat/AUTHORS @@ -0,0 +1,10 @@ +Expat is brought to you by: + +Clark Cooper +Fred L. Drake, Jr. +Greg Stein +James Clark +Karl Waclawek +Rhodri James +Sebastian Pipping +Steven Solie diff --git a/lib-src/expat/buildconf.sh b/lib-src/expat/buildconf.sh new file mode 100755 index 000000000..8eb0a76d3 --- /dev/null +++ b/lib-src/expat/buildconf.sh @@ -0,0 +1,30 @@ +#! /bin/sh + +#-------------------------------------------------------------------------- +# autoconf 2.58 or newer +# +ac_version="`${AUTOCONF:-autoconf} --version 2> /dev/null | head -1 | sed -e 's/^[^0-9]*//' -e 's/[a-z]* *$//'`" +if test -z "$ac_version"; then + echo "ERROR: autoconf not found." + echo " You need autoconf version 2.58 or newer installed." + exit 1 +fi +IFS=.; set $ac_version; IFS=' ' +if test "$1" = "2" -a "$2" -lt "58" || test "$1" -lt "2"; then + echo "ERROR: autoconf version $ac_version found." + echo " You need autoconf version 2.58 or newer installed." + exit 1 +fi + +echo "Creating configure ..." +${AUTORECONF:-autoreconf} -fvi + +echo "Creating conftools/install-sh ..." +# .. for configure, despite not using automake +automake --add-missing 2>/dev/null || true + +# toss this; it gets created by autoconf on some systems +rm -rf autom4te*.cache + +# exit with the right value, so any calling script can continue +exit 0 diff --git a/lib-src/expat/configure.ac b/lib-src/expat/configure.ac new file mode 100644 index 000000000..e48c32e39 --- /dev/null +++ b/lib-src/expat/configure.ac @@ -0,0 +1,239 @@ +dnl configuration script for expat +dnl Process this file with autoconf to produce a configure script. +dnl +dnl Copyright 2000 Clark Cooper +dnl +dnl This file is part of EXPAT. +dnl +dnl EXPAT is free software; you can redistribute it and/or modify it +dnl under the terms of the License (based on the MIT/X license) contained +dnl in the file COPYING that comes with this distribution. +dnl + +dnl Ensure that Expat is configured with autoconf 2.58 or newer +AC_PREREQ(2.58) + +dnl Get the version number of Expat, using m4's esyscmd() command to run +dnl the command at m4-generation time. This allows us to create an m4 +dnl symbol holding the correct version number. AC_INIT() requires the +dnl version number at m4-time, rather than when ./configure is run, so +dnl all this must happen as part of m4, not as part of the shell code +dnl contained in ./configure. +dnl +dnl NOTE: esyscmd() is a GNU M4 extension. Thus, we wrap it in an appropriate +dnl test. I believe this test will work, but I don't have a place with non- +dnl GNU M4 to test it right now. +define([expat_version], ifdef([__gnu__], + [esyscmd(conftools/get-version.sh lib/expat.h)], + [2.2.x])) +AC_INIT(expat, expat_version, expat-bugs@libexpat.org) +undefine([expat_version]) + +AC_CONFIG_SRCDIR(Makefile.in) +AC_CONFIG_AUX_DIR(conftools) +AC_CONFIG_MACRO_DIR([m4]) + + +dnl +dnl Increment LIBREVISION if source code has changed at all +dnl +dnl If the API has changed, increment LIBCURRENT and set LIBREVISION to 0 +dnl +dnl If the API changes compatibly (i.e. simply adding a new function +dnl without changing or removing earlier interfaces), then increment LIBAGE. +dnl +dnl If the API changes incompatibly set LIBAGE back to 0 +dnl + +LIBCURRENT=7 # sync +LIBREVISION=3 # with +LIBAGE=6 # CMakeLists.txt! + +AC_CONFIG_HEADER(expat_config.h) + +sinclude(conftools/ac_c_bigendian_cross.m4) + +AC_LIBTOOL_WIN32_DLL +AC_PROG_LIBTOOL + +AC_SUBST(LIBCURRENT) +AC_SUBST(LIBREVISION) +AC_SUBST(LIBAGE) + +dnl Checks for programs. +AC_PROG_CC +AC_PROG_CXX +AC_PROG_INSTALL + +if test "$GCC" = yes ; then + dnl + dnl Be careful about adding the -fexceptions option; some versions of + dnl GCC don't support it and it causes extra warnings that are only + dnl distracting; avoid. + dnl + OLDCFLAGS="$CFLAGS -Wall -Wmissing-prototypes -Wstrict-prototypes" + CFLAGS="$OLDCFLAGS -fexceptions" + AC_MSG_CHECKING(whether $CC accepts -fexceptions) + AC_TRY_LINK( , , + AC_MSG_RESULT(yes), + AC_MSG_RESULT(no); CFLAGS="$OLDCFLAGS") + if test "x$CXXFLAGS" = x ; then + CXXFLAGS=`echo "$CFLAGS" | sed 's/ -Wmissing-prototypes -Wstrict-prototypes//'` + fi + + CFLAGS="${CFLAGS} -fno-strict-aliasing" + CXXFLAGS="${CXXFLAGS} -fno-strict-aliasing" + LDFLAGS="${LDFLAGS} -fno-strict-aliasing" +fi + +dnl Checks for header files. +AC_HEADER_STDC + +dnl Checks for typedefs, structures, and compiler characteristics. + +dnl Note: Avoid using AC_C_BIGENDIAN because it does not +dnl work in a cross compile. +AC_C_BIGENDIAN_CROSS + +AC_C_CONST +AC_TYPE_SIZE_T +AC_CHECK_FUNCS(memmove bcopy) + + +AC_ARG_WITH([libbsd], [ +AS_HELP_STRING([--with-libbsd], [utilize libbsd (for arc4random_buf)]) +], [], [with_libbsd=no]) +AS_IF([test "x${with_libbsd}" != xno], [ + AC_CHECK_LIB([bsd], [arc4random_buf], [], [ + AS_IF([test "x${with_libbsd}" = xyes], [ + AC_MSG_ERROR([Enforced use of libbsd cannot be satisfied.]) + ]) + ]) +]) +AC_MSG_CHECKING([for arc4random_buf (BSD or libbsd)]) +AC_LINK_IFELSE([AC_LANG_SOURCE([ + #include /* for arc4random_buf on BSD, for NULL */ + #if defined(HAVE_LIBBSD) + # include + #endif + int main() { + arc4random_buf(NULL, 0U); + return 0; + } +])], [ + AC_DEFINE([HAVE_ARC4RANDOM_BUF], [1], + [Define to 1 if you have the `arc4random_buf' function.]) + AC_MSG_RESULT([yes]) +], [ + AC_MSG_RESULT([no]) +]) + + +AC_MSG_CHECKING([for getrandom (Linux 3.17+, glibc 2.25+)]) +AC_COMPILE_IFELSE([AC_LANG_SOURCE([ + #include /* for NULL */ + #include + int main() { + return getrandom(NULL, 0U, 0U); + } +])], [ + AC_DEFINE([HAVE_GETRANDOM], [1], + [Define to 1 if you have the `getrandom' function.]) + AC_MSG_RESULT([yes]) +], [ + AC_MSG_RESULT([no]) + + AC_MSG_CHECKING([for syscall SYS_getrandom (Linux 3.17+)]) + AC_LINK_IFELSE([AC_LANG_SOURCE([ + #include /* for NULL */ + #include /* for syscall */ + #include /* for SYS_getrandom */ + int main() { + syscall(SYS_getrandom, NULL, 0, 0); + return 0; + } + ])], [ + AC_DEFINE([HAVE_SYSCALL_GETRANDOM], [1], + [Define to 1 if you have `syscall' and `SYS_getrandom'.]) + AC_MSG_RESULT([yes]) + ], [ + AC_MSG_RESULT([no]) + ]) +]) + + +dnl Only needed for xmlwf: +AC_CHECK_HEADERS(fcntl.h unistd.h) +AC_TYPE_OFF_T +AC_FUNC_MMAP + +if test "$ac_cv_func_mmap_fixed_mapped" = "yes"; then + FILEMAP=unixfilemap +else + FILEMAP=readfilemap +fi +AC_SUBST(FILEMAP) + +dnl Needed for the test support code; this was found at +dnl http://lists.gnu.org/archive/html/bug-autoconf/2002-07/msg00028.html + +# AC_CPP_FUNC +# ------------------ # +# Checks to see if ANSI C99 CPP variable __func__ works. +# If not, perhaps __FUNCTION__ works instead. +# If not, we'll just define __func__ to "". +AC_DEFUN([AC_CPP_FUNC], +[AC_REQUIRE([AC_PROG_CC_STDC])dnl +AC_CACHE_CHECK([for an ANSI C99-conforming __func__], ac_cv_cpp_func, +[AC_COMPILE_IFELSE([AC_LANG_PROGRAM([], +[[const char *foo = __func__;]])], + [ac_cv_cpp_func=yes], + [AC_COMPILE_IFELSE([AC_LANG_PROGRAM([], +[[const char *foo = __FUNCTION__;]])], + [ac_cv_cpp_func=__FUNCTION__], + [ac_cv_cpp_func=no])])]) +if test $ac_cv_cpp_func = __FUNCTION__; then + AC_DEFINE(__func__,__FUNCTION__, + [Define to __FUNCTION__ or "" if `__func__' does not conform to +ANSI C.]) +elif test $ac_cv_cpp_func = no; then + AC_DEFINE(__func__,"", + [Define to __FUNCTION__ or "" if `__func__' does not conform to +ANSI C.]) +fi +])# AC_CPP_FUNC + +AC_CPP_FUNC + + +dnl Some basic configuration: +AC_DEFINE([XML_NS], 1, + [Define to make XML Namespaces functionality available.]) +AC_DEFINE([XML_DTD], 1, + [Define to make parameter entity parsing functionality available.]) + +AC_ARG_ENABLE([xml-context], + AS_HELP_STRING([--enable-xml-context @<:@COUNT@:>@], + [Retain context around the current parse point; + default is enabled and a size of 1024 bytes]) +AS_HELP_STRING([--disable-xml-context], + [Do not retain context around the current parse point]), + [enable_xml_context=${enableval}]) +AS_IF([test "x${enable_xml_context}" != "xno"], [ + AS_IF([test "x${enable_xml_context}" == "xyes" \ + -o "x${enable_xml_context}" == "x"], [ + enable_xml_context=1024 + ]) + AC_DEFINE_UNQUOTED([XML_CONTEXT_BYTES], [${enable_xml_context}], + [Define to specify how much context to retain around the current parse point.]) +]) + +AC_CONFIG_FILES([Makefile expat.pc]) +AC_CONFIG_FILES([run.sh], [chmod +x run.sh]) +AC_OUTPUT + +abs_srcdir="`cd $srcdir && pwd`" +abs_builddir="`pwd`" +if test "$abs_srcdir" != "$abs_builddir"; then + make mkdir-init +fi diff --git a/lib-src/expat/conftools/.gitignore b/lib-src/expat/conftools/.gitignore new file mode 100644 index 000000000..43c4c8e14 --- /dev/null +++ b/lib-src/expat/conftools/.gitignore @@ -0,0 +1,6 @@ +config.guess +config.sub +install-sh +libtool.m4 +ltconfig +ltmain.sh diff --git a/lib-src/expat/coverage.sh b/lib-src/expat/coverage.sh new file mode 100755 index 000000000..10a0a20d2 --- /dev/null +++ b/lib-src/expat/coverage.sh @@ -0,0 +1,211 @@ +#! /bin/bash +# Copyright (C) Sebastian Pipping +# Licensed under the MIT license + +export PS4='# ' + + +_get_source_dir() { + echo "source__${version}" +} + + +_get_build_dir() { + local libbsd_part= + if ${with_libbsd}; then + libbsd_part=__libbsd + fi + + local mingw_part= + if ${with_mingw}; then + mingw_part=__windows + fi + + echo "build__${version}__unicode_${unicode_enabled}__xml_context_${xml_context}${libbsd_part}${mingw_part}" +} + + +_get_coverage_dir() { + echo "coverage__${version}" +} + + +_configure() { + local configure_args=() + + ${unicode_enabled} \ + && configure_args+=( CPPFLAGS='-DXML_UNICODE -DXML_UNICODE_WCHAR_T' ) + + if [[ ${xml_context} -eq 0 ]]; then + configure_args+=( --disable-xml-context ) + else + configure_args+=( --enable-xml-context=${xml_context} ) + fi + + ${with_libbsd} && configure_args+=( --with-libbsd ) + ${with_mingw} && configure_args+=( --host=i686-w64-mingw32 ) + + ( + set -x + ./buildconf.sh &> configure.log + ./configure "${configure_args[@]}" "$@" &>> configure.log + ) +} + + +_copy_to() { + local target_dir="$1" + [[ -d "${target_dir}" ]] && return 0 + + mkdir "${target_dir}" + git archive --format=tar "${version}" | ( cd "${target_dir}" && tar x ) +} + + +_copy_missing_mingw_libaries() { + # These extra files are copied because + # * coverage GCC fflags make them needed + # * With WINEDLLPATH Wine look for .dll.so in these folders, not .dll + local target="$1" + local mingw_dll_dir="$(dirname "$(ls -1 /usr/lib*/gcc/i686-w64-mingw32/*/libgcc_s_sjlj-1.dll | head -n1)")" + for dll in libgcc_s_sjlj-1.dll libstdc++-6.dll; do + ( + set -x + ln -s "${mingw_dll_dir}"/${dll} "${target}"/${dll} + ) + done +} + + +_run() { + local source_dir="$1" + local build_dir="$2" + local capture_dir=lib + + local BASE_FLAGS='-pipe -Wall -Wextra -pedantic -Wno-overlength-strings' + BASE_FLAGS+=' --coverage --no-inline' + + local CFLAGS="-std=c89 ${BASE_FLAGS}" + local CXXFLAGS="-std=c++98 ${BASE_FLAGS}" + + ( + set -e + cd "${build_dir}" + + _configure \ + CFLAGS="${BASE_FLAGS}" \ + CXXFLAGS="${BASE_FLAGS}" + + ( + set -x + make buildlib &> build.log + + lcov -c -d "${capture_dir}" -i -o "${coverage_info}-zero" &> run.log + ) + + if ${with_mingw}; then + _copy_missing_mingw_libaries .libs + fi + + set -x + make check run-xmltest + + lcov -c -d "${capture_dir}" -o "${coverage_info}-test" &>> run.log + lcov \ + -a "${coverage_info}-zero" \ + -a "${coverage_info}-test" \ + -o "${coverage_info}-all" \ + &>> run.log + + # Make sure that files overlap in report despite different build folders + sed "/SF:/ s,${build_dir}/,${source_dir}/," "${coverage_info}-all" > "${coverage_info}" + ) |& sed 's,^, ,' + res=${PIPESTATUS[0]} + + if [[ ${res} -eq 0 ]]; then + echo PASSED + else + echo FAILED >&2 + return 1 + fi +} + + +_merge_coverage_info() { + local coverage_dir="$1" + shift + local build_dirs=( "$@" ) + + mkdir -p "${coverage_dir}" + ( + local lcov_merge_args=() + for build_dir in "${build_dirs[@]}"; do + lcov_merge_args+=( -a "${build_dir}/${coverage_info}" ) + done + lcov_merge_args+=( -o "${coverage_dir}/${coverage_info}" ) + + set -x + lcov "${lcov_merge_args[@]}" + ) &> "${coverage_dir}/merge.log" +} + + +_render_html_report() { + local coverage_dir="$1" + genhtml -o "${coverage_dir}" "${coverage_dir}/${coverage_info}" &> "${coverage_dir}/render.log" +} + + +_show_summary() { + local coverage_dir="$1" + lcov -q -l "${coverage_dir}/${coverage_info}" | grep -v '^\[' +} + + +_main() { + version="$(git describe --tags)" + coverage_info=coverage.info + + local build_dirs=() + local source_dir="$(_get_source_dir)" + local coverage_dir="$(_get_coverage_dir)" + + _copy_to "${source_dir}" + + _build_case() { + local build_dir="$(_get_build_dir)" + + echo "[${build_dir}]" + _copy_to "${build_dir}" + _run "${source_dir}" "${build_dir}" + + build_dirs+=( "${build_dir}" ) + } + + # All combinations: + with_libbsd=false + for with_mingw in true false ; do + for unicode_enabled in false ; do + for xml_context in 0 1024 ; do + _build_case + done + done + done + + # Single cases: + with_libbsd=true _build_case + + echo + echo 'Merging coverage files...' + _merge_coverage_info "${coverage_dir}" "${build_dirs[@]}" + + echo 'Rendering HTML report...' + _render_html_report "${coverage_dir}" + echo "--> ${coverage_dir}/index.html" + + echo + _show_summary "${coverage_dir}" +} + + +_main diff --git a/lib-src/expat/doc/.gitignore b/lib-src/expat/doc/.gitignore new file mode 100644 index 000000000..65c1472da --- /dev/null +++ b/lib-src/expat/doc/.gitignore @@ -0,0 +1,2 @@ +/XMLWF.1 +/xmlwf.1 diff --git a/lib-src/expat/doc/xmlwf.xml b/lib-src/expat/doc/xmlwf.xml new file mode 100644 index 000000000..92ea8b592 --- /dev/null +++ b/lib-src/expat/doc/xmlwf.xml @@ -0,0 +1,440 @@ + + Scott"> + Bronson"> + + March 11, 2016"> + + 1"> + bronson@rinspin.com"> + + XMLWF"> + + + Debian GNU/Linux"> + GNU"> +]> + + + +
+ &dhemail; +
+ + &dhfirstname; + &dhsurname; + + + 2001 + &dhusername; + + &dhdate; +
+ + &dhucpackage; + + &dhsection; + + + &dhpackage; + + Determines if an XML document is well-formed + + + + &dhpackage; + + + + + + + + + + + + + + + + + + file ... + + + + + DESCRIPTION + + + &dhpackage; uses the Expat library to + determine if an XML document is well-formed. It is + non-validating. + + + + If you do not specify any files on the command-line, and you + have a recent version of &dhpackage;, the + input file will be read from standard input. + + + + + + WELL-FORMED DOCUMENTS + + + A well-formed document must adhere to the + following rules: + + + + + The file begins with an XML declaration. For instance, + <?xml version="1.0" standalone="yes"?>. + NOTE: + &dhpackage; does not currently + check for a valid XML declaration. + + + Every start tag is either empty (<tag/>) + or has a corresponding end tag. + + + There is exactly one root element. This element must contain + all other elements in the document. Only comments, white + space, and processing instructions may come after the close + of the root element. + + + All elements nest properly. + + + All attribute values are enclosed in quotes (either single + or double). + + + + + If the document has a DTD, and it strictly complies with that + DTD, then the document is also considered valid. + &dhpackage; is a non-validating parser -- + it does not check the DTD. However, it does support + external entities (see the option). + + + + + OPTIONS + + +When an option includes an argument, you may specify the argument either +separately (" output") or concatenated with the +option ("output"). &dhpackage; +supports both. + + + + + + + + + If the input file is well-formed and &dhpackage; + doesn't encounter any errors, the input file is simply copied to + the output directory unchanged. + This implies no namespaces (turns off ) and + requires to specify an output file. + + + + + + + + + Specifies a directory to contain transformed + representations of the input files. + By default, outputs a canonical representation + (described below). + You can select different output formats using + and . + + + The output filenames will + be exactly the same as the input filenames or "STDIN" if the input is + coming from standard input. Therefore, you must be careful that the + output file does not go into the same directory as the input + file. Otherwise, &dhpackage; will delete the + input file before it generates the output file (just like running + cat < file > file in most shells). + + + Two structurally equivalent XML documents have a byte-for-byte + identical canonical XML representation. + Note that ignorable white space is considered significant and + is treated equivalently to data. + More on canonical XML can be found at + http://www.jclark.com/xml/canonxml.html . + + + + + + + + + Specifies the character encoding for the document, overriding + any document encoding declaration. &dhpackage; + supports four built-in encodings: + US-ASCII, + UTF-8, + UTF-16, and + ISO-8859-1. + Also see the option. + + + + + + + + + Outputs some strange sort of XML file that completely + describes the input file, including character positions. + Requires to specify an output file. + + + + + + + + + Turns on namespace processing. (describe namespaces) + disables namespaces. + + + + + + + + + Tells xmlwf to process external DTDs and parameter + entities. + + + Normally &dhpackage; never parses parameter + entities. tells it to always parse them. + implies . + + + + + + + + + Normally &dhpackage; memory-maps the XML file + before parsing; this can result in faster parsing on many + platforms. + turns off memory-mapping and uses normal file + IO calls instead. + Of course, memory-mapping is automatically turned off + when reading from standard input. + + + Use of memory-mapping can cause some platforms to report + substantially higher memory usage for + &dhpackage;, but this appears to be a matter of + the operating system reporting memory in a strange way; there is + not a leak in &dhpackage;. + + + + + + + + + Prints an error if the document is not standalone. + A document is standalone if it has no external subset and no + references to parameter entities. + + + + + + + + + Turns on timings. This tells Expat to parse the entire file, + but not perform any processing. + This gives a fairly accurate idea of the raw speed of Expat itself + without client overhead. + turns off most of the output options + (, , , ...). + + + + + + + + + Prints the version of the Expat library being used, including some + information on the compile-time configuration of the library, and + then exits. + + + + + + + + + Enables support for Windows code pages. + Normally, &dhpackage; will throw an error if it + runs across an encoding that it is not equipped to handle itself. With + , &dhpackage; will try to use a Windows code + page. See also . + + + + + + + + + Turns on parsing external entities. + + + Non-validating parsers are not required to resolve external + entities, or even expand entities at all. + Expat always expands internal entities (?), + but external entity parsing must be enabled explicitly. + + + External entities are simply entities that obtain their + data from outside the XML file currently being parsed. + + + This is an example of an internal entity: + +<!ENTITY vers '1.0.2'> + + + + And here are some examples of external entities: + + +<!ENTITY header SYSTEM "header-&vers;.xml"> (parsed) +<!ENTITY logo SYSTEM "logo.png" PNG> (unparsed) + + + + + + + + + + + (Two hyphens.) + Terminates the list of options. This is only needed if a filename + starts with a hyphen. For example: + + +&dhpackage; -- -myfile.xml + + + will run &dhpackage; on the file + -myfile.xml. + + + + + + + Older versions of &dhpackage; do not support + reading from standard input. + + + + + OUTPUT + + If an input file is not well-formed, + &dhpackage; prints a single line describing + the problem to standard output. If a file is well formed, + &dhpackage; outputs nothing. + Note that the result code is not set. + + + + + BUGS + + &dhpackage; returns a 0 - noerr result, + even if the file is not well-formed. There is no good way for + a program to use &dhpackage; to quickly + check a file -- it must parse &dhpackage;'s + standard output. + + + The errors should go to standard error, not standard output. + + + There should be a way to get to send its + output to standard output rather than forcing the user to send + it to a file. + + + I have no idea why anyone would want to use the + , , and + options. If someone could explain it to + me, I'd like to add this information to this manpage. + + + + + ALTERNATIVES + + Here are some XML validators on the web: + + +http://www.hcrc.ed.ac.uk/~richard/xml-check.html +http://www.stg.brown.edu/service/xmlvalid/ +http://www.scripting.com/frontier5/xml/code/xmlValidator.html +http://www.xml.com/pub/a/tools/ruwf/check.html + + + + + + + SEE ALSO + + + +The Expat home page: http://www.libexpat.org/ +The W3 XML specification: http://www.w3.org/TR/REC-xml + + + + + + + AUTHOR + + This manual page was written by &dhusername; &dhemail; for + the &debian; system (but may be used by others). Permission is + granted to copy, distribute and/or modify this document under + the terms of the GNU Free Documentation + License, Version 1.1. + + +
diff --git a/lib-src/expat/examples/.gitignore b/lib-src/expat/examples/.gitignore new file mode 100644 index 000000000..88a46969c --- /dev/null +++ b/lib-src/expat/examples/.gitignore @@ -0,0 +1,8 @@ +Makefile +elements +elements.plg +outline +outline.plg +Debug +Release +.libs diff --git a/lib-src/expat/examples/elements.vcxproj b/lib-src/expat/examples/elements.vcxproj new file mode 100644 index 000000000..20da9b2c7 --- /dev/null +++ b/lib-src/expat/examples/elements.vcxproj @@ -0,0 +1,139 @@ + + + + + Debug + Win32 + + + Release + Win32 + + + + + + {35262250-C85F-463A-9F6D-670088BFA17E} + + + + Application + v120 + false + MultiByte + + + Application + v120 + false + MultiByte + + + + + + + + + + + + + + + .\..\win32\bin\Release\ + .\..\win32\tmp\Release-elements\ + false + + + .\..\win32\bin\Debug\ + .\..\win32\tmp\Debug-elements\ + true + + + + MultiThreaded + Default + true + true + MaxSpeed + true + Level3 + false + ..\lib;%(AdditionalIncludeDirectories) + NDEBUG;_CONSOLE;XML_STATIC;%(PreprocessorDefinitions) + .\..\win32\tmp\Release-elements\ + .\..\win32\tmp\Release-elements\elements.pch + .\..\win32\tmp\Release-elements\ + .\..\win32\tmp\Release-elements\ + + + .\..\win32\bin\Release\elements.tlb + + + 0x0409 + NDEBUG;%(PreprocessorDefinitions) + + + true + .\..\win32\bin\Release\elements.bsc + + + true + Console + ..\win32\bin\Release\elements.exe + ..\win32\bin\Release;%(AdditionalLibraryDirectories) + libexpatMT.lib;%(AdditionalDependencies) + + + + + MultiThreadedDebug + Default + true + Disabled + true + Level3 + EditAndContinue + ..\lib;%(AdditionalIncludeDirectories) + _DEBUG;_CONSOLE;XML_STATIC;%(PreprocessorDefinitions) + .\..\win32\tmp\Debug-elements\ + true + .\..\win32\tmp\Debug-elements\elements.pch + .\..\win32\tmp\Debug-elements\ + .\..\win32\tmp\Debug-elements\ + EnableFastChecks + + + .\..\win32\bin\Debug\elements.tlb + + + 0x0409 + _DEBUG;%(PreprocessorDefinitions) + + + true + .\..\win32\bin\Debug\elements.bsc + + + true + true + Console + ..\win32\bin\Debug\elements.exe + ..\win32\bin\Debug;%(AdditionalLibraryDirectories) + libexpatMT.lib;%(AdditionalDependencies) + + + + + + + + {58a821bc-e4af-4df4-9a54-2baa22b92615} + false + + + + + + \ No newline at end of file diff --git a/lib-src/expat/examples/elements.vcxproj.filters b/lib-src/expat/examples/elements.vcxproj.filters new file mode 100644 index 000000000..ab374c181 --- /dev/null +++ b/lib-src/expat/examples/elements.vcxproj.filters @@ -0,0 +1,22 @@ + + + + + {95d10a62-f554-4b10-a08b-cc74ba9fe102} + cpp;c;cxx;rc;def;r;odl;idl;hpj;bat + + + {21ef9308-545b-4d8d-8bde-012f925efa3a} + h;hpp;hxx;hm;inl + + + {ddac4f51-12d6-4e8f-817c-12c85eb1ffd2} + ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe + + + + + Source Files + + + \ No newline at end of file diff --git a/lib-src/expat/examples/outline.vcxproj b/lib-src/expat/examples/outline.vcxproj new file mode 100644 index 000000000..56a065f7e --- /dev/null +++ b/lib-src/expat/examples/outline.vcxproj @@ -0,0 +1,150 @@ + + + + + Debug + Win32 + + + Release + Win32 + + + Template + Win32 + + + + + + {DE74E6FD-E107-4326-B1B0-A0CFEEB64F25} + + + + Application + v120 + + + Application + v120 + false + MultiByte + + + Application + v120 + false + MultiByte + + + + + + + + + + + + + + + + + + .\..\win32\bin\Debug\ + .\..\win32\tmp\Debug-outline\ + true + + + .\..\win32\bin\Release\ + .\..\win32\tmp\Release-outline\ + false + + + + MultiThreadedDebug + Default + true + Disabled + true + Level3 + true + EditAndContinue + ..\lib;%(AdditionalIncludeDirectories) + _DEBUG;_CONSOLE;%(PreprocessorDefinitions) + .\..\win32\tmp\Debug-outline\ + .\..\win32\tmp\Debug-outline\outline.pch + .\..\win32\tmp\Debug-outline\ + .\..\win32\tmp\Debug-outline\ + EnableFastChecks + + + .\..\win32\bin\Debug\outline.tlb + + + 0x0409 + _DEBUG;%(PreprocessorDefinitions) + + + true + .\..\win32\bin\Debug\outline.bsc + + + true + true + Console + ..\win32\bin\Debug\outline.exe + ..\win32\bin\Debug;%(AdditionalLibraryDirectories) + libexpat.lib;%(AdditionalDependencies) + + + + + MultiThreaded + Default + true + true + MaxSpeed + true + Level3 + false + ..\lib;%(AdditionalIncludeDirectories) + NDEBUG;_CONSOLE;%(PreprocessorDefinitions) + .\..\win32\tmp\Release-outline\ + .\..\win32\tmp\Release-outline\outline.pch + .\..\win32\tmp\Release-outline\ + .\..\win32\tmp\Release-outline\ + + + .\..\win32\bin\Release\outline.tlb + + + 0x0409 + NDEBUG;%(PreprocessorDefinitions) + + + true + .\..\win32\bin\Release\outline.bsc + + + true + Console + ..\win32\bin\Release\outline.exe + ..\win32\bin\Release;%(AdditionalLibraryDirectories) + libexpat.lib;%(AdditionalDependencies) + + + + + + + + {45a5074d-66e8-44a4-a03f-018027b528d6} + false + + + + + + \ No newline at end of file diff --git a/lib-src/expat/examples/outline.vcxproj.filters b/lib-src/expat/examples/outline.vcxproj.filters new file mode 100644 index 000000000..0c23f3522 --- /dev/null +++ b/lib-src/expat/examples/outline.vcxproj.filters @@ -0,0 +1,22 @@ + + + + + {48092a1f-486d-4bd8-a9ea-d087423ab371} + cpp;c;cxx;rc;def;r;odl;idl;hpj;bat + + + {d9494f7e-987c-467b-a3e0-ea577aea229d} + h;hpp;hxx;hm;inl + + + {7e3cfca9-158f-4e78-be6c-02d599fd9254} + ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe + + + + + Source Files + + + \ No newline at end of file diff --git a/lib-src/expat/expat.sln b/lib-src/expat/expat.sln new file mode 100644 index 000000000..d1c4efc27 --- /dev/null +++ b/lib-src/expat/expat.sln @@ -0,0 +1,73 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio 2013 +VisualStudioVersion = 12.0.40629.0 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "elements", "examples\elements.vcxproj", "{35262250-C85F-463A-9F6D-670088BFA17E}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "expat", "lib\expat.vcxproj", "{45A5074D-66E8-44A4-A03F-018027B528D6}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "expat_static", "lib\expat_static.vcxproj", "{58A821BC-E4AF-4DF4-9A54-2BAA22B92615}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "expatw", "lib\expatw.vcxproj", "{C04F1C11-7079-48AD-A90B-6F59B7A55BEF}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "expatw_static", "lib\expatw_static.vcxproj", "{9220B0F2-C895-4CB2-91D1-1C16C4ECB759}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "outline", "examples\outline.vcxproj", "{DE74E6FD-E107-4326-B1B0-A0CFEEB64F25}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "xmlwf", "xmlwf\xmlwf.vcxproj", "{E3C5991F-5238-4168-A179-275D1AC98D7E}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Win32 = Debug|Win32 + Release|Win32 = Release|Win32 + Template|Win32 = Template|Win32 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {35262250-C85F-463A-9F6D-670088BFA17E}.Debug|Win32.ActiveCfg = Debug|Win32 + {35262250-C85F-463A-9F6D-670088BFA17E}.Debug|Win32.Build.0 = Debug|Win32 + {35262250-C85F-463A-9F6D-670088BFA17E}.Release|Win32.ActiveCfg = Release|Win32 + {35262250-C85F-463A-9F6D-670088BFA17E}.Release|Win32.Build.0 = Release|Win32 + {35262250-C85F-463A-9F6D-670088BFA17E}.Template|Win32.ActiveCfg = Release|Win32 + {35262250-C85F-463A-9F6D-670088BFA17E}.Template|Win32.Build.0 = Release|Win32 + {45A5074D-66E8-44A4-A03F-018027B528D6}.Debug|Win32.ActiveCfg = Debug|Win32 + {45A5074D-66E8-44A4-A03F-018027B528D6}.Debug|Win32.Build.0 = Debug|Win32 + {45A5074D-66E8-44A4-A03F-018027B528D6}.Release|Win32.ActiveCfg = Release|Win32 + {45A5074D-66E8-44A4-A03F-018027B528D6}.Release|Win32.Build.0 = Release|Win32 + {45A5074D-66E8-44A4-A03F-018027B528D6}.Template|Win32.ActiveCfg = Template|Win32 + {45A5074D-66E8-44A4-A03F-018027B528D6}.Template|Win32.Build.0 = Template|Win32 + {58A821BC-E4AF-4DF4-9A54-2BAA22B92615}.Debug|Win32.ActiveCfg = Debug|Win32 + {58A821BC-E4AF-4DF4-9A54-2BAA22B92615}.Debug|Win32.Build.0 = Debug|Win32 + {58A821BC-E4AF-4DF4-9A54-2BAA22B92615}.Release|Win32.ActiveCfg = Release|Win32 + {58A821BC-E4AF-4DF4-9A54-2BAA22B92615}.Release|Win32.Build.0 = Release|Win32 + {58A821BC-E4AF-4DF4-9A54-2BAA22B92615}.Template|Win32.ActiveCfg = Template|Win32 + {58A821BC-E4AF-4DF4-9A54-2BAA22B92615}.Template|Win32.Build.0 = Template|Win32 + {C04F1C11-7079-48AD-A90B-6F59B7A55BEF}.Debug|Win32.ActiveCfg = Debug|Win32 + {C04F1C11-7079-48AD-A90B-6F59B7A55BEF}.Debug|Win32.Build.0 = Debug|Win32 + {C04F1C11-7079-48AD-A90B-6F59B7A55BEF}.Release|Win32.ActiveCfg = Release|Win32 + {C04F1C11-7079-48AD-A90B-6F59B7A55BEF}.Release|Win32.Build.0 = Release|Win32 + {C04F1C11-7079-48AD-A90B-6F59B7A55BEF}.Template|Win32.ActiveCfg = Template|Win32 + {C04F1C11-7079-48AD-A90B-6F59B7A55BEF}.Template|Win32.Build.0 = Template|Win32 + {9220B0F2-C895-4CB2-91D1-1C16C4ECB759}.Debug|Win32.ActiveCfg = Debug|Win32 + {9220B0F2-C895-4CB2-91D1-1C16C4ECB759}.Debug|Win32.Build.0 = Debug|Win32 + {9220B0F2-C895-4CB2-91D1-1C16C4ECB759}.Release|Win32.ActiveCfg = Release|Win32 + {9220B0F2-C895-4CB2-91D1-1C16C4ECB759}.Release|Win32.Build.0 = Release|Win32 + {9220B0F2-C895-4CB2-91D1-1C16C4ECB759}.Template|Win32.ActiveCfg = Template|Win32 + {9220B0F2-C895-4CB2-91D1-1C16C4ECB759}.Template|Win32.Build.0 = Template|Win32 + {DE74E6FD-E107-4326-B1B0-A0CFEEB64F25}.Debug|Win32.ActiveCfg = Debug|Win32 + {DE74E6FD-E107-4326-B1B0-A0CFEEB64F25}.Debug|Win32.Build.0 = Debug|Win32 + {DE74E6FD-E107-4326-B1B0-A0CFEEB64F25}.Release|Win32.ActiveCfg = Release|Win32 + {DE74E6FD-E107-4326-B1B0-A0CFEEB64F25}.Release|Win32.Build.0 = Release|Win32 + {DE74E6FD-E107-4326-B1B0-A0CFEEB64F25}.Template|Win32.ActiveCfg = Template|Win32 + {DE74E6FD-E107-4326-B1B0-A0CFEEB64F25}.Template|Win32.Build.0 = Template|Win32 + {E3C5991F-5238-4168-A179-275D1AC98D7E}.Debug|Win32.ActiveCfg = Debug|Win32 + {E3C5991F-5238-4168-A179-275D1AC98D7E}.Debug|Win32.Build.0 = Debug|Win32 + {E3C5991F-5238-4168-A179-275D1AC98D7E}.Release|Win32.ActiveCfg = Release|Win32 + {E3C5991F-5238-4168-A179-275D1AC98D7E}.Release|Win32.Build.0 = Release|Win32 + {E3C5991F-5238-4168-A179-275D1AC98D7E}.Template|Win32.ActiveCfg = Template|Win32 + {E3C5991F-5238-4168-A179-275D1AC98D7E}.Template|Win32.Build.0 = Template|Win32 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/lib-src/expat/expat.spec b/lib-src/expat/expat.spec new file mode 100644 index 000000000..c852f6497 --- /dev/null +++ b/lib-src/expat/expat.spec @@ -0,0 +1,113 @@ +%define version 2.2.1 +%define release 1 + +Summary: Expat is an XML 1.0 parser written in C. +Name: expat +Version: %{version} +Release: %{release} +License: MIT/X +Group: Utilities/parsers +URL: http://www.libexpat.org/ +Source: http://download.sourceforge.net/expat/expat-%{version}.tar.gz +BuildRoot: /var/tmp/%{name}-buildroot + +%description +Expat is an XML 1.0 parser written in C by James Clark. It aims to be +fully conforming. It is not a validating XML parser. + +%prep +%setup + +%build +./configure +make lib xmlwf + +%install +rm -rf $RPM_BUILD_ROOT +mkdir -p $RPM_BUILD_ROOT/usr/bin +mkdir -p $RPM_BUILD_ROOT/usr/lib +mkdir -p $RPM_BUILD_ROOT/usr/include +make install DESTDIR=$RPM_BUILD_ROOT prefix=/usr +install -D xmlwf/xmlwf $RPM_BUILD_ROOT/usr/bin/xmlwf + +%files +%doc COPYING Changes MANIFEST README doc/reference.html doc/style.css doc/*.png +/usr/bin/xmlwf +/usr/lib +/usr/include/expat.h +/usr/include/expat_config.h +/usr/include/expat_external.h +/usr/share/man/man1/xmlwf.1.gz + +%changelog +* Sat Jun 17 2017 Sebastian Pipping +[Release 2.2.1-1] +- Update for the 2.2.1 release. + +* Tue Jun 21 2016 Sebastian Pipping +[Release 2.2.0-1] +- Update for the 2.2.0 release. + +* Wed Mar 2 2016 Sebastian Pipping +[Release 2.1.1-1] +- Update for the 2.1.1 release. + +* Sat Mar 3 2012 Karl Waclawek +[Release 2.1.0-1] +- Update for the 2.1.0 release. + +* Sun Nov 26 2006 Karl Waclawek +[Release 2.0.1-1] +- Update for the 2.0.1 release. + +* Fri Jul 16 2004 Fred L. Drake, Jr. +[Release 1.95.8-1] +- Update for the 1.95.8 release. +- Add the expat_external.h header to the installed files. + +* Tue Oct 21 2003 Fred L. Drake, Jr. +- Update list of documentation files; we missed a .png file in the + previous release. + +* Mon Oct 20 2003 Fred L. Drake, Jr. +[Release 1.95.7-1] +- Updated for the 1.95.7 release. + +* Sat Jan 25 2003 Fred L. Drake, Jr. +[Release 1.95.6-1] +- Updated for the 1.95.6 release. + +* Wed Sep 4 2002 Fred L. Drake, Jr. +[Release 1.95.5-1] +- Updated for the 1.95.5 release. +- Updated URL for Expat home page to point to www.libexpat.org. +- Added "Valid XHTML 1.0" icon to the installed documentation. + +* Sat Jun 29 2002 Fred L. Drake, Jr. +[Release 1.95.4-1] +- Updated for the 1.95.4 release. + +* Fri May 17 2002 Fred L. Drake, Jr. +[Release 1.95.3-1] +- Updated for the 1.95.3 release. +- Added xmlwf man page to the list of files. + +* Wed Jul 25 2001 Fred L. Drake, Jr. +[Release 1.95.2-1] +- Updated for the 1.95.2 release. + +* Sun Feb 18 2001 Sean Reifschneider +[Release 1.95.1-1tummy] +- Updated to 1.95.1 release. +- Removed the "/usr/include/expat" directory for headers, as it now uses + "expat.h" instead of "xmlparser.h". + +* Thu Jan 25 2001 Sean Reifschneider +[Release 1.1-3tummy] +- Moved xmlparse.h into "/usr/include/expat" directory to prevent conflict + with w3c-libwww-devel package. + +* Wed Sep 6 2000 Sean Reifschneider +- Modified to install into /usr. +- Modified to use RPM_BUILD_ROOT instead of writing directly to install + location. diff --git a/lib-src/expat/gennmtab/.gitignore b/lib-src/expat/gennmtab/.gitignore new file mode 100755 index 000000000..f966c45cf --- /dev/null +++ b/lib-src/expat/gennmtab/.gitignore @@ -0,0 +1,3 @@ +Debug +Release +gennmtab.plg diff --git a/lib-src/expat/gennmtab/gennmtab.c b/lib-src/expat/gennmtab/gennmtab.c new file mode 100644 index 000000000..8a4ff3472 --- /dev/null +++ b/lib-src/expat/gennmtab/gennmtab.c @@ -0,0 +1,429 @@ +/* Copyright (c) 1998, 1999 Thai Open Source Software Center Ltd + See the file COPYING for copying permission. +*/ + +#include +#include +#include + +struct range { + int start; + int end; +}; + +struct range nmstrt[] = { + { '_' }, + { ':' }, + /* BaseChar */ + { 0x0041, 0x005a }, + { 0x0061, 0x007a }, + { 0x00c0, 0x00d6 }, + { 0x00d8, 0x00f6 }, + { 0x00f8, 0x00ff }, + { 0x0100, 0x0131 }, + { 0x0134, 0x013e }, + { 0x0141, 0x0148 }, + { 0x014a, 0x017e }, + { 0x0180, 0x01c3 }, + { 0x01cd, 0x01f0 }, + { 0x01f4, 0x01f5 }, + { 0x01fa, 0x0217 }, + { 0x0250, 0x02a8 }, + { 0x02bb, 0x02c1 }, + { 0x0386 }, + { 0x0388, 0x038a }, + { 0x038c }, + { 0x038e, 0x03a1 }, + { 0x03a3, 0x03ce }, + { 0x03d0, 0x03d6 }, + { 0x03da }, + { 0x03dc }, + { 0x03de }, + { 0x03e0 }, + { 0x03e2, 0x03f3 }, + { 0x0401, 0x040c }, + { 0x040e, 0x044f }, + { 0x0451, 0x045c }, + { 0x045e, 0x0481 }, + { 0x0490, 0x04c4 }, + { 0x04c7, 0x04c8 }, + { 0x04cb, 0x04cc }, + { 0x04d0, 0x04eb }, + { 0x04ee, 0x04f5 }, + { 0x04f8, 0x04f9 }, + { 0x0531, 0x0556 }, + { 0x0559 }, + { 0x0561, 0x0586 }, + { 0x05d0, 0x05ea }, + { 0x05f0, 0x05f2 }, + { 0x0621, 0x063a }, + { 0x0641, 0x064a }, + { 0x0671, 0x06b7 }, + { 0x06ba, 0x06be }, + { 0x06c0, 0x06ce }, + { 0x06d0, 0x06d3 }, + { 0x06d5 }, + { 0x06e5, 0x06e6 }, + { 0x0905, 0x0939 }, + { 0x093d }, + { 0x0958, 0x0961 }, + { 0x0985, 0x098c }, + { 0x098f, 0x0990 }, + { 0x0993, 0x09a8 }, + { 0x09aa, 0x09b0 }, + { 0x09b2 }, + { 0x09b6, 0x09b9 }, + { 0x09dc, 0x09dd }, + { 0x09df, 0x09e1 }, + { 0x09f0, 0x09f1 }, + { 0x0a05, 0x0a0a }, + { 0x0a0f, 0x0a10 }, + { 0x0a13, 0x0a28 }, + { 0x0a2a, 0x0a30 }, + { 0x0a32, 0x0a33 }, + { 0x0a35, 0x0a36 }, + { 0x0a38, 0x0a39 }, + { 0x0a59, 0x0a5c }, + { 0x0a5e }, + { 0x0a72, 0x0a74 }, + { 0x0a85, 0x0a8b }, + { 0x0a8d }, + { 0x0a8f, 0x0a91 }, + { 0x0a93, 0x0aa8 }, + { 0x0aaa, 0x0ab0 }, + { 0x0ab2, 0x0ab3 }, + { 0x0ab5, 0x0ab9 }, + { 0x0abd }, + { 0x0ae0 }, + { 0x0b05, 0x0b0c }, + { 0x0b0f, 0x0b10 }, + { 0x0b13, 0x0b28 }, + { 0x0b2a, 0x0b30 }, + { 0x0b32, 0x0b33 }, + { 0x0b36, 0x0b39 }, + { 0x0b3d }, + { 0x0b5c, 0x0b5d }, + { 0x0b5f, 0x0b61 }, + { 0x0b85, 0x0b8a }, + { 0x0b8e, 0x0b90 }, + { 0x0b92, 0x0b95 }, + { 0x0b99, 0x0b9a }, + { 0x0b9c }, + { 0x0b9e, 0x0b9f }, + { 0x0ba3, 0x0ba4 }, + { 0x0ba8, 0x0baa }, + { 0x0bae, 0x0bb5 }, + { 0x0bb7, 0x0bb9 }, + { 0x0c05, 0x0c0c }, + { 0x0c0e, 0x0c10 }, + { 0x0c12, 0x0c28 }, + { 0x0c2a, 0x0c33 }, + { 0x0c35, 0x0c39 }, + { 0x0c60, 0x0c61 }, + { 0x0c85, 0x0c8c }, + { 0x0c8e, 0x0c90 }, + { 0x0c92, 0x0ca8 }, + { 0x0caa, 0x0cb3 }, + { 0x0cb5, 0x0cb9 }, + { 0x0cde }, + { 0x0ce0, 0x0ce1 }, + { 0x0d05, 0x0d0c }, + { 0x0d0e, 0x0d10 }, + { 0x0d12, 0x0d28 }, + { 0x0d2a, 0x0d39 }, + { 0x0d60, 0x0d61 }, + { 0x0e01, 0x0e2e }, + { 0x0e30 }, + { 0x0e32, 0x0e33 }, + { 0x0e40, 0x0e45 }, + { 0x0e81, 0x0e82 }, + { 0x0e84 }, + { 0x0e87, 0x0e88 }, + { 0x0e8a }, + { 0x0e8d }, + { 0x0e94, 0x0e97 }, + { 0x0e99, 0x0e9f }, + { 0x0ea1, 0x0ea3 }, + { 0x0ea5 }, + { 0x0ea7 }, + { 0x0eaa, 0x0eab }, + { 0x0ead, 0x0eae }, + { 0x0eb0 }, + { 0x0eb2, 0x0eb3 }, + { 0x0ebd }, + { 0x0ec0, 0x0ec4 }, + { 0x0f40, 0x0f47 }, + { 0x0f49, 0x0f69 }, + { 0x10a0, 0x10c5 }, + { 0x10d0, 0x10f6 }, + { 0x1100 }, + { 0x1102, 0x1103 }, + { 0x1105, 0x1107 }, + { 0x1109 }, + { 0x110b, 0x110c }, + { 0x110e, 0x1112 }, + { 0x113c }, + { 0x113e }, + { 0x1140 }, + { 0x114c }, + { 0x114e }, + { 0x1150 }, + { 0x1154, 0x1155 }, + { 0x1159 }, + { 0x115f, 0x1161 }, + { 0x1163 }, + { 0x1165 }, + { 0x1167 }, + { 0x1169 }, + { 0x116d, 0x116e }, + { 0x1172, 0x1173 }, + { 0x1175 }, + { 0x119e }, + { 0x11a8 }, + { 0x11ab }, + { 0x11ae, 0x11af }, + { 0x11b7, 0x11b8 }, + { 0x11ba }, + { 0x11bc, 0x11c2 }, + { 0x11eb }, + { 0x11f0 }, + { 0x11f9 }, + { 0x1e00, 0x1e9b }, + { 0x1ea0, 0x1ef9 }, + { 0x1f00, 0x1f15 }, + { 0x1f18, 0x1f1d }, + { 0x1f20, 0x1f45 }, + { 0x1f48, 0x1f4d }, + { 0x1f50, 0x1f57 }, + { 0x1f59 }, + { 0x1f5b }, + { 0x1f5d }, + { 0x1f5f, 0x1f7d }, + { 0x1f80, 0x1fb4 }, + { 0x1fb6, 0x1fbc }, + { 0x1fbe }, + { 0x1fc2, 0x1fc4 }, + { 0x1fc6, 0x1fcc }, + { 0x1fd0, 0x1fd3 }, + { 0x1fd6, 0x1fdb }, + { 0x1fe0, 0x1fec }, + { 0x1ff2, 0x1ff4 }, + { 0x1ff6, 0x1ffc }, + { 0x2126 }, + { 0x212a, 0x212b }, + { 0x212e }, + { 0x2180, 0x2182 }, + { 0x3041, 0x3094 }, + { 0x30a1, 0x30fa }, + { 0x3105, 0x312c }, + { 0xac00, 0xd7a3 }, + /* Ideographic */ + { 0x4e00, 0x9fa5 }, + { 0x3007 }, + { 0x3021, 0x3029 }, +}; + +/* name chars that are not name start chars */ +struct range name[] = { + { '.' }, + { '-' }, + /* CombiningChar */ + { 0x0300, 0x0345 }, + { 0x0360, 0x0361 }, + { 0x0483, 0x0486 }, + { 0x0591, 0x05a1 }, + { 0x05a3, 0x05b9 }, + { 0x05bb, 0x05bd }, + { 0x05bf }, + { 0x05c1, 0x05c2 }, + { 0x05c4 }, + { 0x064b, 0x0652 }, + { 0x0670 }, + { 0x06d6, 0x06dc }, + { 0x06dd, 0x06df }, + { 0x06e0, 0x06e4 }, + { 0x06e7, 0x06e8 }, + { 0x06ea, 0x06ed }, + { 0x0901, 0x0903 }, + { 0x093c }, + { 0x093e, 0x094c }, + { 0x094d }, + { 0x0951, 0x0954 }, + { 0x0962, 0x0963 }, + { 0x0981, 0x0983 }, + { 0x09bc }, + { 0x09be }, + { 0x09bf }, + { 0x09c0, 0x09c4 }, + { 0x09c7, 0x09c8 }, + { 0x09cb, 0x09cd }, + { 0x09d7 }, + { 0x09e2, 0x09e3 }, + { 0x0a02 }, + { 0x0a3c }, + { 0x0a3e }, + { 0x0a3f }, + { 0x0a40, 0x0a42 }, + { 0x0a47, 0x0a48 }, + { 0x0a4b, 0x0a4d }, + { 0x0a70, 0x0a71 }, + { 0x0a81, 0x0a83 }, + { 0x0abc }, + { 0x0abe, 0x0ac5 }, + { 0x0ac7, 0x0ac9 }, + { 0x0acb, 0x0acd }, + { 0x0b01, 0x0b03 }, + { 0x0b3c }, + { 0x0b3e, 0x0b43 }, + { 0x0b47, 0x0b48 }, + { 0x0b4b, 0x0b4d }, + { 0x0b56, 0x0b57 }, + { 0x0b82, 0x0b83 }, + { 0x0bbe, 0x0bc2 }, + { 0x0bc6, 0x0bc8 }, + { 0x0bca, 0x0bcd }, + { 0x0bd7 }, + { 0x0c01, 0x0c03 }, + { 0x0c3e, 0x0c44 }, + { 0x0c46, 0x0c48 }, + { 0x0c4a, 0x0c4d }, + { 0x0c55, 0x0c56 }, + { 0x0c82, 0x0c83 }, + { 0x0cbe, 0x0cc4 }, + { 0x0cc6, 0x0cc8 }, + { 0x0cca, 0x0ccd }, + { 0x0cd5, 0x0cd6 }, + { 0x0d02, 0x0d03 }, + { 0x0d3e, 0x0d43 }, + { 0x0d46, 0x0d48 }, + { 0x0d4a, 0x0d4d }, + { 0x0d57 }, + { 0x0e31 }, + { 0x0e34, 0x0e3a }, + { 0x0e47, 0x0e4e }, + { 0x0eb1 }, + { 0x0eb4, 0x0eb9 }, + { 0x0ebb, 0x0ebc }, + { 0x0ec8, 0x0ecd }, + { 0x0f18, 0x0f19 }, + { 0x0f35 }, + { 0x0f37 }, + { 0x0f39 }, + { 0x0f3e }, + { 0x0f3f }, + { 0x0f71, 0x0f84 }, + { 0x0f86, 0x0f8b }, + { 0x0f90, 0x0f95 }, + { 0x0f97 }, + { 0x0f99, 0x0fad }, + { 0x0fb1, 0x0fb7 }, + { 0x0fb9 }, + { 0x20d0, 0x20dc }, + { 0x20e1 }, + { 0x302a, 0x302f }, + { 0x3099 }, + { 0x309a }, + /* Digit */ + { 0x0030, 0x0039 }, + { 0x0660, 0x0669 }, + { 0x06f0, 0x06f9 }, + { 0x0966, 0x096f }, + { 0x09e6, 0x09ef }, + { 0x0a66, 0x0a6f }, + { 0x0ae6, 0x0aef }, + { 0x0b66, 0x0b6f }, + { 0x0be7, 0x0bef }, + { 0x0c66, 0x0c6f }, + { 0x0ce6, 0x0cef }, + { 0x0d66, 0x0d6f }, + { 0x0e50, 0x0e59 }, + { 0x0ed0, 0x0ed9 }, + { 0x0f20, 0x0f29 }, + /* Extender */ + { 0xb7 }, + { 0x02d0 }, + { 0x02d1 }, + { 0x0387 }, + { 0x0640 }, + { 0x0e46 }, + { 0x0ec6 }, + { 0x3005 }, + { 0x3031, 0x3035 }, + { 0x309d, 0x309e }, + { 0x30fc, 0x30fe }, +}; + +static void +setTab(char *tab, struct range *ranges, size_t nRanges) +{ + size_t i; + int j; + for (i = 0; i < nRanges; i++) { + if (ranges[i].end) { + for (j = ranges[i].start; j <= ranges[i].end; j++) + tab[j] = 1; + } + else + tab[ranges[i].start] = 1; + } +} + +static void +printTabs(char *tab) +{ + int nBitmaps = 2; + int i, j, k; + unsigned char pageIndex[512]; + + printf( +"static const unsigned namingBitmap[] = {\n\ +0x00000000, 0x00000000, 0x00000000, 0x00000000,\n\ +0x00000000, 0x00000000, 0x00000000, 0x00000000,\n\ +0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF,\n\ +0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF,\n"); + for (i = 0; i < 512; i++) { + int kind = tab[i*256]; + for (j = 1; j < 256; j++) + if (tab[i*256 +j] != kind) { + kind = -1; + break; + } + if (i >= 256 && memcmp(tab + (i - 256)*256, tab + i*256, 256) == 0) + pageIndex[i] = pageIndex[i - 256]; + else if (kind == -1) { + pageIndex[i] = nBitmaps++; + for (j = 0; j < 8; j++) { + unsigned val = 0; + for (k = 0; k < 32; k++) { + if (tab[i*256 + j*32 +k]) + val |= (1 << k); + } + printf("0x%08X,", val); + putchar((((j + 1) & 3) == 0) ? '\n' : ' '); + } + } + else + pageIndex[i] = kind; + } + printf("};\n"); + printf("static const unsigned char nmstrtPages[] = {\n"); + for (i = 0; i < 512; i++) { + if (i == 256) + printf("};\nstatic const unsigned char namePages[] = {\n"); + printf("0x%02X,", pageIndex[i]); + putchar((((i + 1) & 7) == 0) ? '\n' : ' '); + } + printf("};\n"); +} + +int +main() +{ + char tab[2*65536]; + memset(tab, 0, 65536); + setTab(tab, nmstrt, sizeof(nmstrt)/sizeof(nmstrt[0])); + memcpy(tab + 65536, tab, 65536); + setTab(tab + 65536, name, sizeof(name)/sizeof(name[0])); + printTabs(tab); + return 0; +} diff --git a/lib-src/expat/lib/.gitignore b/lib-src/expat/lib/.gitignore new file mode 100644 index 000000000..9c9cf881a --- /dev/null +++ b/lib-src/expat/lib/.gitignore @@ -0,0 +1,18 @@ +Makefile +.libs +*.lo +expat.h +Debug +Debug-w +Release +Release-w +expat.ncb +expat.opt +expat.plg +Debug_static +Debug-w_static +Release_static +Release-w_static +expat_static.plg +expatw.plg +expatw_static.plg diff --git a/lib-src/expat/lib/expat.vcxproj b/lib-src/expat/lib/expat.vcxproj new file mode 100644 index 000000000..1673e6765 --- /dev/null +++ b/lib-src/expat/lib/expat.vcxproj @@ -0,0 +1,177 @@ + + + + + Debug + Win32 + + + Release + Win32 + + + Template + Win32 + + + + + + {45A5074D-66E8-44A4-A03F-018027B528D6} + + + + Application + v120 + + + DynamicLibrary + v120 + false + MultiByte + + + DynamicLibrary + v120 + false + MultiByte + + + + + + + + + + + + + + + + + + .\..\win32\bin\Debug\ + .\..\win32\tmp\Debug\ + true + + + .\..\win32\bin\Release\ + .\..\win32\tmp\Release\ + false + + + + MultiThreadedDebug + Default + true + Disabled + true + Level3 + EditAndContinue + _DEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) + .\..\win32\tmp\Debug\ + true + .\..\win32\tmp\Debug\expat.pch + .\..\win32\tmp\Debug\ + .\..\win32\tmp\Debug\ + EnableFastChecks + + + true + _DEBUG;%(PreprocessorDefinitions) + .\..\win32\bin\Debug\expat.tlb + true + Win32 + + + 0x0409 + _DEBUG;%(PreprocessorDefinitions) + + + true + .\..\win32\bin\Debug\expat.bsc + + + true + true + true + Console + ..\win32\bin\Debug\libexpat.dll + .\..\win32\bin\Debug\libexpat.lib + .\libexpat.def + + + + + MultiThreaded + Default + true + true + MaxSpeed + true + Level3 + NDEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) + .\..\win32\tmp\Release\ + .\..\win32\tmp\Release\expat.pch + + .\..\win32\tmp\Release\ + .\..\win32\tmp\Release\ + + + true + NDEBUG;%(PreprocessorDefinitions) + .\..\win32\bin\Release\expat.tlb + true + Win32 + + + 0x0409 + NDEBUG;%(PreprocessorDefinitions) + + + true + .\..\win32\bin\Release\expat.bsc + + + true + true + Console + ..\win32\bin\Release\libexpat.dll + .\..\win32\bin\Release\libexpat.lib + .\libexpat.def + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/lib-src/expat/lib/expat.vcxproj.filters b/lib-src/expat/lib/expat.vcxproj.filters new file mode 100644 index 000000000..34aea26dd --- /dev/null +++ b/lib-src/expat/lib/expat.vcxproj.filters @@ -0,0 +1,80 @@ + + + + + {f01bb743-0ef8-4601-bc44-378fc0abe768} + cpp;c;cxx;rc;def;r;odl;idl;hpj;bat + + + {c22177dc-5748-4bb1-816e-df311093bf72} + h;hpp;hxx;hm;inl + + + {41146e15-3129-4e5e-bb0f-6b78bb4701b9} + ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe + + + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + + + Source Files + + + \ No newline at end of file diff --git a/lib-src/expat/lib/expat_static.vcxproj b/lib-src/expat/lib/expat_static.vcxproj new file mode 100644 index 000000000..77c0ece93 --- /dev/null +++ b/lib-src/expat/lib/expat_static.vcxproj @@ -0,0 +1,147 @@ + + + + + Debug + Win32 + + + Release + Win32 + + + Template + Win32 + + + + + + {58A821BC-E4AF-4DF4-9A54-2BAA22B92615} + + + + Application + v120 + + + StaticLibrary + v120 + false + MultiByte + + + StaticLibrary + v120 + false + MultiByte + + + + + + + + + + + + + + + + + + .\..\win32\bin\Release\ + .\..\win32\tmp\Release_static\ + false + + + .\..\win32\bin\Debug\ + .\..\win32\tmp\Debug_static\ + true + + + + MultiThreaded + Default + true + true + MaxSpeed + true + Level3 + _WINDOWS;NDEBUG;_LIB;%(PreprocessorDefinitions) + .\..\win32\tmp\Release_static\ + .\..\win32\tmp\Release_static\expat_static.pch + .\..\win32\tmp\Release_static\ + .\..\win32\tmp\Release_static\ + + + 0x0409 + NDEBUG;%(PreprocessorDefinitions) + + + true + .\..\win32\bin\Release\expat_static.bsc + + + true + ..\win32\bin\Release\libexpatMT.lib + + + + + MultiThreadedDebug + Default + true + Disabled + true + Level3 + EditAndContinue + _DEBUG;_WINDOWS;_LIB;%(PreprocessorDefinitions) + .\..\win32\tmp\Debug_static\ + true + .\..\win32\tmp\Debug_static\expat_static.pch + .\..\win32\tmp\Debug_static\ + .\..\win32\tmp\Debug_static\ + EnableFastChecks + + + 0x0409 + _DEBUG;%(PreprocessorDefinitions) + + + true + .\..\win32\bin\Debug\expat_static.bsc + + + true + ..\win32\bin\Debug\libexpatMT.lib + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/lib-src/expat/lib/expat_static.vcxproj.filters b/lib-src/expat/lib/expat_static.vcxproj.filters new file mode 100644 index 000000000..e6d9d80fe --- /dev/null +++ b/lib-src/expat/lib/expat_static.vcxproj.filters @@ -0,0 +1,71 @@ + + + + + {ef375f25-3490-4376-8deb-a8a8bebc0194} + cpp;c;cxx;rc;def;r;odl;idl;hpj;bat + + + {f1cd6f85-7111-4c1b-abad-37c79851ca34} + h;hpp;hxx;hm;inl + + + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + \ No newline at end of file diff --git a/lib-src/expat/lib/expatw.vcxproj b/lib-src/expat/lib/expatw.vcxproj new file mode 100644 index 000000000..cf54fd2ab --- /dev/null +++ b/lib-src/expat/lib/expatw.vcxproj @@ -0,0 +1,177 @@ + + + + + Debug + Win32 + + + Release + Win32 + + + Template + Win32 + + + + + + {C04F1C11-7079-48AD-A90B-6F59B7A55BEF} + + + + Application + v120 + + + DynamicLibrary + v120 + false + MultiByte + + + DynamicLibrary + v120 + false + MultiByte + + + + + + + + + + + + + + + + + + .\..\win32\bin\Release\ + .\..\win32\tmp\Release-w\ + false + + + .\..\win32\bin\Debug\ + .\..\win32\tmp\Debug-w\ + true + + + + MultiThreaded + Default + true + true + MaxSpeed + true + Level3 + NDEBUG;_WINDOWS;_USRDLL;XML_UNICODE_WCHAR_T;%(PreprocessorDefinitions) + .\..\win32\tmp\Release-w\ + .\..\win32\tmp\Release-w\expatw.pch + + .\..\win32\tmp\Release-w\ + .\..\win32\tmp\Release-w\ + + + true + NDEBUG;%(PreprocessorDefinitions) + .\..\win32\bin\Release\expatw.tlb + true + Win32 + + + 0x0409 + NDEBUG;%(PreprocessorDefinitions) + + + true + .\..\win32\bin\Release\expatw.bsc + + + true + true + Console + ..\win32\bin\Release\libexpatw.dll + .\..\win32\bin\Release\libexpatw.lib + .\libexpatw.def + + + + + MultiThreadedDebug + Default + true + Disabled + true + Level3 + EditAndContinue + _DEBUG;_WINDOWS;_USRDLL;XML_UNICODE_WCHAR_T;%(PreprocessorDefinitions) + .\..\win32\tmp\Debug-w\ + true + .\..\win32\tmp\Debug-w\expatw.pch + .\..\win32\tmp\Debug-w\ + .\..\win32\tmp\Debug-w\ + EnableFastChecks + + + true + _DEBUG;%(PreprocessorDefinitions) + .\..\win32\bin\Debug\expatw.tlb + true + Win32 + + + 0x0409 + _DEBUG;%(PreprocessorDefinitions) + + + true + .\..\win32\bin\Debug\expatw.bsc + + + true + true + true + Console + ..\win32\bin\Debug\libexpatw.dll + .\..\win32\bin\Debug\libexpatw.lib + .\libexpatw.def + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/lib-src/expat/lib/expatw.vcxproj.filters b/lib-src/expat/lib/expatw.vcxproj.filters new file mode 100644 index 000000000..dc6e96852 --- /dev/null +++ b/lib-src/expat/lib/expatw.vcxproj.filters @@ -0,0 +1,80 @@ + + + + + {fea8fd20-7d6d-4664-a821-1ab5a29dadbd} + cpp;c;cxx;rc;def;r;odl;idl;hpj;bat + + + {0ceb9aa0-672d-4a6b-bff9-345c51aab04c} + h;hpp;hxx;hm;inl + + + {d62ff6fc-7f74-443d-a048-31ef02a6f99f} + ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe + + + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + + + Source Files + + + \ No newline at end of file diff --git a/lib-src/expat/lib/expatw_static.vcxproj b/lib-src/expat/lib/expatw_static.vcxproj new file mode 100644 index 000000000..99a45e479 --- /dev/null +++ b/lib-src/expat/lib/expatw_static.vcxproj @@ -0,0 +1,147 @@ + + + + + Debug + Win32 + + + Release + Win32 + + + Template + Win32 + + + + + + {9220B0F2-C895-4CB2-91D1-1C16C4ECB759} + + + + Application + v120 + + + StaticLibrary + v120 + false + MultiByte + + + StaticLibrary + v120 + false + MultiByte + + + + + + + + + + + + + + + + + + .\..\win32\bin\Debug\ + .\..\win32\tmp\Debug-w_static\ + true + + + .\..\win32\bin\Release\ + .\..\win32\tmp\Release-w_static\ + false + + + + MultiThreadedDebug + Default + true + Disabled + true + Level3 + EditAndContinue + _DEBUG;_WINDOWS;_LIB;XML_UNICODE_WCHAR_T;%(PreprocessorDefinitions) + .\..\win32\tmp\Debug-w_static\ + true + .\..\win32\tmp\Debug-w_static\expatw_static.pch + .\..\win32\tmp\Debug-w_static\ + .\..\win32\tmp\Debug-w_static\ + EnableFastChecks + + + 0x0409 + _DEBUG;%(PreprocessorDefinitions) + + + true + .\..\win32\bin\Debug\expatw_static.bsc + + + true + ..\win32\bin\Debug\libexpatwMT.lib + + + + + MultiThreaded + Default + true + true + MaxSpeed + true + Level3 + _WINDOWS;NDEBUG;_LIB;XML_UNICODE_WCHAR_T;%(PreprocessorDefinitions) + .\..\win32\tmp\Release-w_static\ + .\..\win32\tmp\Release-w_static\expatw_static.pch + .\..\win32\tmp\Release-w_static\ + .\..\win32\tmp\Release-w_static\ + + + 0x0409 + NDEBUG;%(PreprocessorDefinitions) + + + true + .\..\win32\bin\Release\expatw_static.bsc + + + true + ..\win32\bin\Release\libexpatwMT.lib + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/lib-src/expat/lib/expatw_static.vcxproj.filters b/lib-src/expat/lib/expatw_static.vcxproj.filters new file mode 100644 index 000000000..83a7c08c9 --- /dev/null +++ b/lib-src/expat/lib/expatw_static.vcxproj.filters @@ -0,0 +1,71 @@ + + + + + {c0226397-04be-42b5-ba75-257ac91ef7fa} + cpp;c;cxx;rc;def;r;odl;idl;hpj;bat + + + {3d74dc56-3aec-4ee9-b700-7203f44e015d} + h;hpp;hxx;hm;inl + + + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + \ No newline at end of file diff --git a/lib-src/expat/make-release.sh b/lib-src/expat/make-release.sh new file mode 100755 index 000000000..dc5073114 --- /dev/null +++ b/lib-src/expat/make-release.sh @@ -0,0 +1,75 @@ +#! /bin/bash +# +# make-release.sh: make an Expat release +# +# USAGE: make-release.sh tagname +# +# Note: tagname may be HEAD to just grab the head revision (e.g. for testing) +# + +if test $# != 1; then + echo "USAGE: $0 tagname" + exit 1 +fi + +tmpdir=expat-release.$$ +if test -e $tmpdir; then + echo "ERROR: oops. chose the $tmpdir subdir, but it exists." + exit 1 +fi + +echo "Checking out into temporary area: $tmpdir" +mkdir -p "${tmpdir}" || exit 1 +git archive --format=tar -o /dev/stdout "$1" | ( cd $tmpdir && tar xf -) || exit 1 + +echo "" +echo "----------------------------------------------------------------------" +echo "Preparing $tmpdir for release" +(cd $tmpdir && ./buildconf.sh) || exit 1 +(make -C $tmpdir/doc xmlwf.1) || exit 1 + +# figure out the release version +vsn="`$tmpdir/conftools/get-version.sh $tmpdir/lib/expat.h`" + +echo "" +echo "Release version: $vsn" + +if test "$1" = HEAD ; then + distdir=expat-`date '+%Y-%m-%d'` +else + distdir=expat-$vsn +fi +if test -e $distdir; then + echo "ERROR: for safety, you must manually remove $distdir." + rm -rf $tmpdir + exit 1 +fi +mkdir $distdir || exit 1 + +CPOPTS=-Pp +if (cp --version 2>/dev/null | grep -q 'Free Software Foundation') ; then + # If we're using GNU cp, we can avoid the warnings about forward + # compatibility of the options. + CPOPTS='--parents --preserve' +fi + +echo "" +echo "----------------------------------------------------------------------" +echo "Building $distdir based on the MANIFEST:" +files="`sed -e 's/[ ]:.*$//' $tmpdir/MANIFEST`" +for file in $files; do + echo "Copying $file..." + (cd $tmpdir && cp $CPOPTS $file ../$distdir) || exit 1 +done + +echo "" +echo "----------------------------------------------------------------------" +echo "Removing (temporary) checkout directory..." +rm -rf $tmpdir + +tarball=$distdir.tar.bz2 +echo "Constructing $tarball..." +tar cf - $distdir | bzip2 -9 > $tarball || exit $? +rm -r $distdir + +echo "Done." diff --git a/lib-src/expat/memory-sanitizer-blacklist.txt b/lib-src/expat/memory-sanitizer-blacklist.txt new file mode 100644 index 000000000..166e6a14a --- /dev/null +++ b/lib-src/expat/memory-sanitizer-blacklist.txt @@ -0,0 +1,6 @@ +# Line "hash_secret_salt = generate_hash_secret_salt(parser);" +# is mis-reported as use-of-uninitialized-value because +# its call to writeRandomBytes_getrandom uses syscall +# SYS_getrandom and MemorySanitizer does not seem to understand that +# as writing bytes to that memory (which it does). +fun:startParsing diff --git a/lib-src/expat/qa.sh b/lib-src/expat/qa.sh new file mode 100755 index 000000000..56bc34921 --- /dev/null +++ b/lib-src/expat/qa.sh @@ -0,0 +1,130 @@ +#! /bin/bash +# Copyright (C) 2016 Sebastian Pipping +# Licensed under MIT license + +set -o nounset + +: ${GCC_CC:=gcc} +: ${GCC_CXX:=g++} +: ${CLANG_CC:=clang} +: ${CLANG_CXX:=clang++} + +: ${AR:=ar} +: ${CC:="${CLANG_CC}"} +: ${CXX:="${CLANG_CXX}"} +: ${LD:=ld} +: ${MAKE:=make} + +: ${BASE_FLAGS:="-pipe -Wall -Wextra -pedantic -Wno-overlength-strings"} + +ANNOUNCE() { + local open='\e[1m' + local close='\e[0m' + + echo -e -n "${open}" + echo -n "# $*" + echo -e "${close}" +} + +RUN() { + ANNOUNCE "$@" + env "$@" +} + +main() { + local mode="${1:-}" + shift + + local RUNENV + local BASE_FLAGS="${BASE_FLAGS}" + + case "${mode}" in + address) + # http://clang.llvm.org/docs/AddressSanitizer.html + local CC="${GCC_CC}" + local CXX="${GCC_CXX}" + BASE_FLAGS+=" -g -fsanitize=address -fno-omit-frame-pointer" + ;; + coverage | lib-coverage | app-coverage) + local CC="${GCC_CC}" + local CXX="${GCC_CXX}" + BASE_FLAGS+=" --coverage --no-inline" + ;; + egypt) + BASE_FLAGS+=" -fdump-rtl-expand" + ;; + memory) + # http://clang.llvm.org/docs/MemorySanitizer.html + BASE_FLAGS+=" -fsanitize=memory -fno-omit-frame-pointer -g -O2 -fsanitize-memory-track-origins -fsanitize-blacklist=memory-sanitizer-blacklist.txt" + ;; + ncc) + # http://students.ceid.upatras.gr/~sxanth/ncc/ + local CC="ncc -ncgcc -ncld -ncfabs" + local AR=nccar + local LD=nccld + BASE_FLAGS+=" -fPIC" + ;; + undefined) + # http://clang.llvm.org/docs/UndefinedBehaviorSanitizer.html + BASE_FLAGS+=" -fsanitize=undefined" + export UBSAN_OPTIONS=print_stacktrace=1 + ;; + *) + echo "Usage:" 1>&2 + echo " ${0##*/} (address|coverage|lib-coverage|app-coverage|egypt|memory|ncc|undefined)" 1>&2 + exit 1 + ;; + esac + + local CFLAGS="-std=c89 ${BASE_FLAGS} ${CFLAGS:-}" + local CXXFLAGS="-std=c++98 ${BASE_FLAGS} ${CXXFLAGS:-}" + + ( + set -e + + RUN CC="${CC}" CFLAGS="${CFLAGS}" \ + CXX="${CXX}" CXXFLAGS="${CXXFLAGS}" \ + AR="${AR}" \ + LD="${LD}" \ + ./configure "$@" + + RUN "${MAKE}" clean all + + case "${mode}" in + egypt|ncc) + ;; + *) + RUN "${MAKE}" check run-xmltest + ;; + esac + ) + [[ $? -ne 0 ]] && exit 1 + + case "${mode}" in + coverage) + find -name '*.gcda' | sort | xargs gcov + ;; + lib-coverage) + find lib -name '*.gcda' | sort | xargs gcov + ;; + app-coverage) + find lib xmlwf -name '*.gcda' | sort | xargs gcov + ;; + egypt) + local DOT_FORMAT="${DOT_FORMAT:-svg}" + local o="callgraph.${DOT_FORMAT}" + ANNOUNCE "egypt ...... | dot ...... > ${o}" + find -name '*.expand' \ + | sort \ + | xargs -r egypt \ + | unflatten -c 20 \ + | dot -T${DOT_FORMAT} -Grankdir=LR \ + > "${o}" + ;; + ncc) + RUN nccnav ./.libs/libexpat.a.nccout + ;; + esac +} + +main "$@" diff --git a/lib-src/expat/run.sh.in b/lib-src/expat/run.sh.in new file mode 100644 index 000000000..ff3fb3644 --- /dev/null +++ b/lib-src/expat/run.sh.in @@ -0,0 +1,12 @@ +#! /usr/bin/env bash +# Copyright (C) 2017 Expat development team +# Licensed under the MIT license + +case "@host@" in +*-mingw*) + exec wine "$@" + ;; +*) + exec "$@" + ;; +esac diff --git a/lib-src/expat/tests/.gitignore b/lib-src/expat/tests/.gitignore new file mode 100644 index 000000000..410d083b7 --- /dev/null +++ b/lib-src/expat/tests/.gitignore @@ -0,0 +1,9 @@ +/out +/xmlconf +/xmltest.log +Makefile +runtests +runtestspp +xmlts.zip +XML-Test-Suite +.libs diff --git a/lib-src/expat/tests/benchmark/benchmark.sln b/lib-src/expat/tests/benchmark/benchmark.sln new file mode 100644 index 000000000..bc790bc0c --- /dev/null +++ b/lib-src/expat/tests/benchmark/benchmark.sln @@ -0,0 +1,25 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio 2013 +VisualStudioVersion = 12.0.40629.0 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "benchmark", "benchmark.vcxproj", "{FF89BA66-62C4-49EC-9189-1E7B603A1FD6}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Win32 = Debug|Win32 + Release|Win32 = Release|Win32 + Template|Win32 = Template|Win32 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {FF89BA66-62C4-49EC-9189-1E7B603A1FD6}.Debug|Win32.ActiveCfg = Debug|Win32 + {FF89BA66-62C4-49EC-9189-1E7B603A1FD6}.Debug|Win32.Build.0 = Debug|Win32 + {FF89BA66-62C4-49EC-9189-1E7B603A1FD6}.Release|Win32.ActiveCfg = Release|Win32 + {FF89BA66-62C4-49EC-9189-1E7B603A1FD6}.Release|Win32.Build.0 = Release|Win32 + {FF89BA66-62C4-49EC-9189-1E7B603A1FD6}.Template|Win32.ActiveCfg = Template|Win32 + {FF89BA66-62C4-49EC-9189-1E7B603A1FD6}.Template|Win32.Build.0 = Template|Win32 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/lib-src/expat/tests/benchmark/benchmark.vcxproj b/lib-src/expat/tests/benchmark/benchmark.vcxproj new file mode 100644 index 000000000..0f46e8835 --- /dev/null +++ b/lib-src/expat/tests/benchmark/benchmark.vcxproj @@ -0,0 +1,143 @@ + + + + + Debug + Win32 + + + Release + Win32 + + + Template + Win32 + + + + + + {FF89BA66-62C4-49EC-9189-1E7B603A1FD6} + + + + Application + v120 + + + Application + v120 + false + MultiByte + + + Application + v120 + false + MultiByte + + + + + + + + + + + + + + + + + + .\Release\ + .\Release\ + false + + + .\Debug\ + .\Debug\ + true + + + + MultiThreaded + Default + true + true + MaxSpeed + true + Level3 + ..\..\lib;%(AdditionalIncludeDirectories) + NDEBUG;_CONSOLE;%(PreprocessorDefinitions) + .\Release\ + .\Release\benchmark.pch + .\Release\ + .\Release\ + + + .\Release\benchmark.tlb + + + 0x1009 + NDEBUG;%(PreprocessorDefinitions) + + + true + .\Release\benchmark.bsc + + + true + Console + .\Release\benchmark.exe + ..\..\win32\bin\Release;%(AdditionalLibraryDirectories) + libexpat.lib;%(AdditionalDependencies) + + + + + MultiThreadedDebug + Default + true + Disabled + true + Level3 + true + EditAndContinue + ..\..\lib;%(AdditionalIncludeDirectories) + _DEBUG;_CONSOLE;%(PreprocessorDefinitions) + .\Debug\ + .\Debug\benchmark.pch + .\Debug\ + .\Debug\ + EnableFastChecks + + + .\Debug\benchmark.tlb + + + 0x1009 + _DEBUG;%(PreprocessorDefinitions) + + + true + .\Debug\benchmark.bsc + + + true + true + Console + .\Debug\benchmark.exe + ..\..\win32\bin\Debug;%(AdditionalLibraryDirectories) + libexpat.lib;%(AdditionalDependencies) + + + + + + + + + \ No newline at end of file diff --git a/lib-src/expat/tests/memcheck.c b/lib-src/expat/tests/memcheck.c new file mode 100644 index 000000000..0b1e5330c --- /dev/null +++ b/lib-src/expat/tests/memcheck.c @@ -0,0 +1,173 @@ +/* Copyright (c) 2017 The Expat Maintainers + * Copying is permitted under the MIT license. See the file COPYING + * for details. + * + * memcheck.c : debug allocators for the Expat test suite + */ + +#include +#include +#include "memcheck.h" + + +/* Structures to keep track of what has been allocated. Speed isn't a + * big issue for the tests this is required for, so we will use a + * doubly-linked list to make deletion easier. + */ + +typedef struct allocation_entry { + struct allocation_entry * next; + struct allocation_entry * prev; + void * allocation; + size_t num_bytes; +} AllocationEntry; + +static AllocationEntry *alloc_head = NULL; +static AllocationEntry *alloc_tail = NULL; + +static AllocationEntry *find_allocation(void *ptr); + + +/* Allocate some memory and keep track of it. */ +void * +tracking_malloc(size_t size) +{ + AllocationEntry *entry = malloc(sizeof(AllocationEntry)); + + if (entry == NULL) { + printf("Allocator failure\n"); + return NULL; + } + entry->num_bytes = size; + entry->allocation = malloc(size); + if (entry->allocation == NULL) { + free(entry); + return NULL; + } + entry->next = NULL; + + /* Add to the list of allocations */ + if (alloc_head == NULL) { + entry->prev = NULL; + alloc_head = alloc_tail = entry; + } else { + entry->prev = alloc_tail; + alloc_tail->next = entry; + alloc_tail = entry; + } + + return entry->allocation; +} + +static AllocationEntry * +find_allocation(void *ptr) +{ + AllocationEntry *entry; + + for (entry = alloc_head; entry != NULL; entry = entry->next) { + if (entry->allocation == ptr) { + return entry; + } + } + return NULL; +} + +/* Free some memory and remove the tracking for it */ +void +tracking_free(void *ptr) +{ + AllocationEntry *entry; + + if (ptr == NULL) { + /* There won't be an entry for this */ + return; + } + + entry = find_allocation(ptr); + if (entry != NULL) { + /* This is the relevant allocation. Unlink it */ + if (entry->prev != NULL) + entry->prev->next = entry->next; + else + alloc_head = entry->next; + if (entry->next != NULL) + entry->next->prev = entry->prev; + else + alloc_tail = entry->next; + free(entry); + } else { + printf("Attempting to free unallocated memory at %p\n", ptr); + } + free(ptr); +} + +/* Reallocate some memory and keep track of it */ +void * +tracking_realloc(void *ptr, size_t size) +{ + AllocationEntry *entry; + + if (ptr == NULL) { + /* By definition, this is equivalent to malloc(size) */ + return tracking_malloc(size); + } + if (size == 0) { + /* By definition, this is equivalent to free(ptr) */ + tracking_free(ptr); + return NULL; + } + + /* Find the allocation entry for this memory */ + entry = find_allocation(ptr); + if (entry == NULL) { + printf("Attempting to realloc unallocated memory at %p\n", ptr); + entry = malloc(sizeof(AllocationEntry)); + if (entry == NULL) { + printf("Reallocator failure\n"); + return NULL; + } + entry->allocation = realloc(ptr, size); + if (entry->allocation == NULL) { + free(entry); + return NULL; + } + + /* Add to the list of allocations */ + entry->next = NULL; + if (alloc_head == NULL) { + entry->prev = NULL; + alloc_head = alloc_tail = entry; + } else { + entry->prev = alloc_tail; + alloc_tail->next = entry; + alloc_tail = entry; + } + } else { + entry->allocation = realloc(ptr, size); + if (entry->allocation == NULL) { + /* Realloc semantics say the original is still allocated */ + entry->allocation = ptr; + return NULL; + } + } + + entry->num_bytes = size; + return entry->allocation; +} + +int +tracking_report(void) +{ + AllocationEntry *entry; + + if (alloc_head == NULL) + return 1; + + /* Otherwise we have allocations that haven't been freed */ + for (entry = alloc_head; entry != NULL; entry = entry->next) + { + printf("Allocated %lu bytes at %p\n", + entry->num_bytes, entry->allocation); + } + return 0; +} diff --git a/lib-src/expat/tests/memcheck.h b/lib-src/expat/tests/memcheck.h new file mode 100644 index 000000000..2c9272415 --- /dev/null +++ b/lib-src/expat/tests/memcheck.h @@ -0,0 +1,34 @@ +/* Copyright (c) 2017 The Expat Maintainers + * Copying is permitted under the MIT license. See the file COPYING + * for details. + * + * memcheck.h + * + * Interface to allocation functions that will track what has or has + * not been freed. +*/ + +#ifdef __cplusplus +extern "C" { +#endif + +#ifndef XML_MEMCHECK_H +#define XML_MEMCHECK_H 1 + +/* Allocation declarations */ + +void *tracking_malloc(size_t size); +void tracking_free(void *ptr); +void *tracking_realloc(void *ptr, size_t size); + +/* End-of-test check to see if unfreed allocations remain. Returns + * TRUE (1) if there is nothing, otherwise prints a report of the + * remaining allocations and returns FALSE (0). + */ +int tracking_report(void); + +#endif /* XML_MEMCHECK_H */ + +#ifdef __cplusplus +} +#endif diff --git a/lib-src/expat/tests/runtests.sln b/lib-src/expat/tests/runtests.sln new file mode 100644 index 000000000..6e07293f5 --- /dev/null +++ b/lib-src/expat/tests/runtests.sln @@ -0,0 +1,24 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio 2013 +VisualStudioVersion = 12.0.40629.0 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "runtests", "runtests.vcxproj", "{63D6D820-B526-4A5F-9605-9B8551FAC591}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Win32 = Debug|Win32 + Release|Win32 = Release|Win32 + Template|Win32 = Template|Win32 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {63D6D820-B526-4A5F-9605-9B8551FAC591}.Debug|Win32.ActiveCfg = Debug|Win32 + {63D6D820-B526-4A5F-9605-9B8551FAC591}.Debug|Win32.Build.0 = Debug|Win32 + {63D6D820-B526-4A5F-9605-9B8551FAC591}.Release|Win32.ActiveCfg = Release|Win32 + {63D6D820-B526-4A5F-9605-9B8551FAC591}.Release|Win32.Build.0 = Release|Win32 + {63D6D820-B526-4A5F-9605-9B8551FAC591}.Template|Win32.ActiveCfg = Release|Win32 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/lib-src/expat/tests/runtests.vcxproj b/lib-src/expat/tests/runtests.vcxproj new file mode 100644 index 000000000..ff8f54981 --- /dev/null +++ b/lib-src/expat/tests/runtests.vcxproj @@ -0,0 +1,140 @@ + + + + + Debug + Win32 + + + Release + Win32 + + + + + + {63D6D820-B526-4A5F-9605-9B8551FAC591} + + + + Application + v120 + false + MultiByte + + + Application + v120 + false + MultiByte + + + + + + + + + + + + + + + .\Release\ + .\Release\ + false + + + .\Debug\ + .\Debug\ + true + + + + MultiThreaded + Default + true + true + MaxSpeed + true + Level3 + ..\lib;%(AdditionalIncludeDirectories) + NDEBUG;_CONSOLE;%(PreprocessorDefinitions) + .\Release\ + .\Release\runtests.pch + .\Release\ + .\Release\ + + + .\Release\runtests.tlb + + + 0x1009 + NDEBUG;%(PreprocessorDefinitions) + + + true + .\Release\runtests.bsc + + + true + Console + .\Release\runtests.exe + ..\win32\bin\Release;%(AdditionalLibraryDirectories) + libexpatMT.lib;libexpat.exp;%(AdditionalDependencies) + + + + + MultiThreadedDebug + Default + true + Disabled + true + Level3 + true + EditAndContinue + ..\lib;%(AdditionalIncludeDirectories) + _DEBUG;_CONSOLE;%(PreprocessorDefinitions) + .\Debug\ + .\Debug\runtests.pch + .\Debug\ + .\Debug\ + EnableFastChecks + + + .\Debug\runtests.tlb + + + 0x1009 + _DEBUG;%(PreprocessorDefinitions) + + + true + .\Debug\runtests.bsc + + + true + true + Console + .\Debug\runtests.exe + ..\win32\bin\Debug;%(AdditionalLibraryDirectories) + libexpatMT.lib;libexpat.exp;%(AdditionalDependencies) + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/lib-src/expat/tests/runtests.vcxproj.filters b/lib-src/expat/tests/runtests.vcxproj.filters new file mode 100644 index 000000000..ca66cb56f --- /dev/null +++ b/lib-src/expat/tests/runtests.vcxproj.filters @@ -0,0 +1,42 @@ + + + + + {a3e83144-e1b8-4d37-853a-793ce2b17b31} + cpp;c;cxx;rc;def;r;odl;idl;hpj;bat + + + {6a1287d5-359d-4ecb-a1a8-79aec14ad46d} + h;hpp;hxx;hm;inl + + + {75f72e18-16a8-453e-84bc-fe9301b8d5b2} + ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe + + + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + + + Header Files + + + Header Files + + + Header Files + + + \ No newline at end of file diff --git a/lib-src/expat/tests/xmltest.log.expected b/lib-src/expat/tests/xmltest.log.expected new file mode 100644 index 000000000..7c92c1d4a --- /dev/null +++ b/lib-src/expat/tests/xmltest.log.expected @@ -0,0 +1,35 @@ +Output differs: ibm/valid/P02/ibm02v01.xml +Output differs: ibm/valid/P28/ibm28v02.xml +Output differs: ibm/valid/P29/ibm29v01.xml +Output differs: ibm/valid/P29/ibm29v02.xml +Output differs: ibm/valid/P54/ibm54v01.xml +Output differs: ibm/valid/P56/ibm56v08.xml +Output differs: ibm/valid/P57/ibm57v01.xml +Output differs: ibm/valid/P58/ibm58v01.xml +Output differs: ibm/valid/P58/ibm58v02.xml +Output differs: ibm/valid/P70/ibm70v01.xml +Output differs: ibm/valid/P82/ibm82v01.xml +ibm49i02.dtd: No such file or directory +Output differs: ibm/invalid/P58/ibm58i01.xml +Output differs: ibm/invalid/P58/ibm58i02.xml +Output differs: xmltest/valid/sa/069.xml +Output differs: xmltest/valid/sa/076.xml +Output differs: xmltest/valid/sa/090.xml +Output differs: xmltest/valid/sa/091.xml +Output differs: sun/valid/notation01.xml +Output differs: sun/valid/not-sa01.xml +Output differs: sun/valid/not-sa02.xml +Output differs: sun/valid/not-sa03.xml +Output differs: sun/valid/not-sa04.xml +Output differs: sun/valid/sa02.xml +Output differs: sun/valid/sa03.xml +Output differs: sun/valid/sa04.xml +Output differs: sun/valid/sa05.xml +Expected not well-formed: ibm/not-wf/misc/432gewf.xml +Expected not well-formed: xmltest/not-wf/not-sa/005.xml +Expected not well-formed: sun/not-wf/uri01.xml +Expected not well-formed: oasis/p06fail1.xml +Expected not well-formed: oasis/p08fail1.xml +Expected not well-formed: oasis/p08fail2.xml +Passed: 1776 +Failed: 33 diff --git a/lib-src/expat/win32/.gitignore b/lib-src/expat/win32/.gitignore new file mode 100644 index 000000000..e7546777b --- /dev/null +++ b/lib-src/expat/win32/.gitignore @@ -0,0 +1,10 @@ +expat.IAB +expat.IAD +expat.IMB +expat.IMD +expat.PFI +expat.PO +expat.PR +expat.PRI +expat.PS +expat.WK3 diff --git a/lib-src/expat/xmlwf/.gitignore b/lib-src/expat/xmlwf/.gitignore new file mode 100755 index 000000000..90464b413 --- /dev/null +++ b/lib-src/expat/xmlwf/.gitignore @@ -0,0 +1,6 @@ +Debug +Release +xmlwf.plg +Makefile +xmlwf +.libs diff --git a/lib-src/expat/xmlwf/xmlwf.vcxproj b/lib-src/expat/xmlwf/xmlwf.vcxproj new file mode 100644 index 000000000..0a511c6cc --- /dev/null +++ b/lib-src/expat/xmlwf/xmlwf.vcxproj @@ -0,0 +1,163 @@ + + + + + Debug + Win32 + + + Release + Win32 + + + Template + Win32 + + + + + + {E3C5991F-5238-4168-A179-275D1AC98D7E} + + + + Application + v120 + + + Application + v120 + false + + + Application + v120 + false + + + + + + + + + + + + + + + + + + .\..\win32\bin\Release\ + .\..\win32\tmp\Release-xmlwf\ + false + + + .\..\win32\bin\Debug\ + .\..\win32\tmp\Debug-xmlwf\ + true + + + + MultiThreaded + Default + true + true + MaxSpeed + true + Level3 + ..\lib;%(AdditionalIncludeDirectories) + NDEBUG;_CONSOLE;%(PreprocessorDefinitions) + .\..\win32\tmp\Release-xmlwf\ + .\..\win32\tmp\Release-xmlwf\xmlwf.pch + + .\..\win32\tmp\Release-xmlwf\ + .\..\win32\tmp\Release-xmlwf\ + + + .\..\win32\bin\Release\xmlwf.tlb + + + 0x0409 + NDEBUG;%(PreprocessorDefinitions) + + + true + .\..\win32\bin\Release\xmlwf.bsc + + + true + Console + false + ..\win32\bin\Release\xmlwf.exe + ..\win32\bin\Release;%(AdditionalLibraryDirectories) + libexpat.lib;setargv.obj;%(AdditionalDependencies) + + + + + MultiThreadedDebug + Default + true + Disabled + true + Level3 + EditAndContinue + ..\lib;%(AdditionalIncludeDirectories) + _DEBUG;_CONSOLE;%(PreprocessorDefinitions) + .\..\win32\tmp\Debug-xmlwf\ + .\..\win32\tmp\Debug-xmlwf\xmlwf.pch + .\..\win32\tmp\Debug-xmlwf\ + .\..\win32\tmp\Debug-xmlwf\ + + + .\..\win32\bin\Debug\xmlwf.tlb + + + 0x0409 + _DEBUG;%(PreprocessorDefinitions) + + + true + .\..\win32\bin\Debug\xmlwf.bsc + + + true + true + Console + ..\win32\bin\Debug\xmlwf.exe + ..\win32\bin\Debug;%(AdditionalLibraryDirectories) + libexpat.lib;setargv.obj;%(AdditionalDependencies) + + + + + + true + true + + + true + true + + + + + + + + + + + + + {45a5074d-66e8-44a4-a03f-018027b528d6} + false + + + + + + \ No newline at end of file diff --git a/lib-src/expat/xmlwf/xmlwf.vcxproj.filters b/lib-src/expat/xmlwf/xmlwf.vcxproj.filters new file mode 100644 index 000000000..890b9efb8 --- /dev/null +++ b/lib-src/expat/xmlwf/xmlwf.vcxproj.filters @@ -0,0 +1,48 @@ + + + + + {843deb01-ec59-4070-9fb7-4de851940fbd} + cpp;c;cxx;rc;def;r;odl;idl;hpj;bat;for;f90 + + + {41225059-d26f-42fd-9d1b-fda760b7e45d} + h;hpp;hxx;hm;inl;fi;fd + + + {a722469e-558e-4d77-b8ea-88c9f136e29a} + ico;cur;bmp;dlg;rc2;rct;bin;cnt;rtf;gif;jpg;jpeg;jpe + + + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + + + Header Files + + + Header Files + + + Header Files + + + \ No newline at end of file