├── debian-src ├── compat ├── teckit.install ├── source │ └── format ├── libteckit-perl.install ├── libteckit0.install ├── libteckit-dev.install ├── teckit.preinst ├── teckit.postrm ├── rules ├── changelog └── control ├── source ├── teckitjni │ ├── NEWS │ ├── TODO │ ├── ChangeLog │ ├── README │ ├── MSDev │ │ ├── TecKitJni.ncb │ │ ├── TecKitJni.opt │ │ ├── StdAfx.cpp │ │ ├── TecKitJni.dsw │ │ ├── StdAfx.h │ │ ├── TecKitJni.cpp │ │ ├── TecKitJni.h │ │ ├── ReadMe.txt │ │ └── TecKitJni.plg │ ├── gdb.txt │ ├── Makefile.am │ ├── configure.in │ ├── autogen.sh │ ├── src │ │ ├── Makefile.am │ │ ├── TecKitJni.h │ │ └── org_sil_scripts_teckit_TecKitJni.h │ ├── templates │ │ ├── h │ │ └── cpp │ └── config.h.in ├── Prefix_Mac.h ├── Prefix_Win32.h ├── Perl │ ├── typemap │ └── test.pl ├── TECkit_Compiler.exp ├── Public-headers │ └── Makefile.am ├── TECkit_Engine.exp ├── TECkit_Compiler.cmd ├── UpdateUnidata.sh ├── MakeUnicodeNames.pl ├── TECkit_Engine.cmd ├── version_defs.h ├── Sample-tools │ ├── version_defs.h │ ├── TxtConv_ver.rc │ └── TECkit_Compile_ver.rc ├── Engine_ver.rc └── Compiler_ver.rc ├── SFconv ├── expat │ ├── xmltok │ │ ├── CVS │ │ │ ├── Tag │ │ │ ├── Repository │ │ │ ├── Root │ │ │ └── Entries │ │ ├── .cvsignore │ │ ├── makefile.win │ │ ├── Makefile.in │ │ ├── dllmain.c │ │ ├── xmltok_impl.h │ │ ├── xmldef.h │ │ └── xmltok_ns.c │ ├── xmlwf │ │ ├── CVS │ │ │ ├── Tag │ │ │ ├── Repository │ │ │ ├── Root │ │ │ └── Entries │ │ ├── xmltchar.h │ │ ├── codepage.h │ │ ├── xmlfile.h │ │ ├── filemap.h │ │ ├── unixfilemap.c │ │ └── codepage.c │ ├── xmlparse │ │ ├── CVS │ │ │ ├── Tag │ │ │ ├── Repository │ │ │ ├── Root │ │ │ └── Entries │ │ ├── .cvsignore │ │ ├── MANIFEST │ │ ├── Makefile.in │ │ ├── makefile.win │ │ └── hashtable.h │ └── expat.html ├── Final_Prefix.h ├── Debug_Prefix.h ├── SFconv_ver.rc └── UtfCodec.cpp ├── COPYING ├── ChangeLog ├── zlib-1.2.13 ├── contrib │ ├── blast │ │ ├── test.txt │ │ ├── test.pk │ │ ├── README │ │ └── Makefile │ ├── infback9 │ │ ├── README │ │ ├── infback9.h │ │ └── inflate9.h │ ├── puff │ │ ├── zeros.raw │ │ ├── puff.h │ │ └── Makefile │ ├── dotzlib │ │ ├── DotZLib.chm │ │ ├── DotZLib │ │ │ ├── DotZLib.cs │ │ │ ├── CodecBase.cs │ │ │ ├── Deflater.cs │ │ │ ├── GZipStream.cs │ │ │ ├── Inflater.cs │ │ │ ├── ChecksumImpl.cs │ │ │ ├── CircularBuffer.cs │ │ │ └── AssemblyInfo.cs │ │ ├── DotZLib.sln │ │ ├── DotZLib.build │ │ ├── LICENSE_1_0.txt │ │ └── readme.txt │ ├── minizip │ │ ├── MiniZip64_Changes.txt │ │ ├── minizip.pc.in │ │ ├── Makefile │ │ ├── mztools.h │ │ ├── configure.ac │ │ ├── iowin32.h │ │ ├── make_vms.com │ │ ├── Makefile.am │ │ ├── minizip.1 │ │ └── miniunzip.1 │ ├── delphi │ │ ├── ZLibConst.pas │ │ ├── readme.txt │ │ └── zlibd32.mak │ ├── testzlib │ │ └── testzlib.txt │ ├── untgz │ │ ├── Makefile │ │ └── Makefile.msc │ ├── iostream3 │ │ ├── TODO │ │ ├── README │ │ └── test.cc │ ├── ada │ │ ├── zlib.gpr │ │ └── readme.txt │ ├── iostream │ │ └── test.cpp │ ├── iostream2 │ │ └── zstream_test.cpp │ ├── vstudio │ │ ├── vc10 │ │ │ ├── miniunz.vcxproj.filters │ │ │ ├── minizip.vcxproj.filters │ │ │ ├── testzlibdll.vcxproj.filters │ │ │ ├── zlib.rc │ │ │ ├── testzlib.vcxproj.filters │ │ │ └── zlibstat.vcxproj.filters │ │ ├── vc12 │ │ │ └── zlib.rc │ │ ├── vc14 │ │ │ └── zlib.rc │ │ ├── vc11 │ │ │ └── zlib.rc │ │ └── vc9 │ │ │ └── zlib.rc │ ├── README.contrib │ └── pascal │ │ └── zlibd32.mak ├── zlib.3.pdf ├── doc │ └── crc-doc.1.0.pdf ├── Makefile ├── old │ ├── README │ ├── os2 │ │ └── zlib.def │ ├── descrip.mms │ └── Makefile.emx ├── win32 │ ├── VisualC.txt │ ├── zlib1.rc │ └── zlib.def ├── nintendods │ └── README ├── zlib.pc.in ├── withenable.ac ├── zlib.pc.cmakein ├── inffast.h ├── gzclose.c ├── LICENSE ├── zlib.ac ├── watcom │ ├── watcom_l.mak │ └── watcom_f.mak ├── msdos │ └── Makefile.emx ├── os400 │ └── README400 ├── zlib.map ├── amiga │ ├── Makefile.sas │ └── Makefile.pup ├── examples │ ├── README.examples │ └── zran.h └── INDEX ├── mac-installer ├── .gitignore ├── Description.plist ├── create-pkg.sh ├── Resources │ ├── Welcome.rtf │ ├── License.rtf │ └── ReadMe.rtf └── Info.plist ├── test ├── mrk.txt ├── academy.tec ├── silipa93.tec ├── mrk.sf.legacy.txt.orig ├── SILGreek2004-04-27.uncompressed.tec.orig ├── ISO-8859-1.map ├── Makefile.am └── GNT-map.xml ├── docs ├── TECkit_Tools.odt ├── TECkit_Tools.pdf ├── TECkit_Language.odt ├── TECkit_Language.pdf ├── TECkit_Binary_Format.odt ├── TECkit_Binary_Format.pdf ├── Calling_TECkit_from_VB.doc ├── Calling_TECkit_from_VB.odt ├── Calling_TECkit_from_VB.pdf ├── Makefile.am ├── teckit_compile.1 ├── txtconv.1 └── sfconv.1 ├── perl_binaries ├── Install.PL ├── Encode-TECkit-0.05-MSWin32-x86-5.8.4.tar.gz ├── Encode-TECkit-0.04-MSWin32-x86-multi-thread-5.8.4.par └── Encode-TECkit-0.06-MSWin32-x86-multi-thread-5.10.0.par ├── installed-top.pc.in ├── teckit.pc.in ├── uninstalled-top.pc.in ├── lib └── Makefile.am ├── Makefile.am ├── AUTHORS ├── .gitignore ├── README ├── .github └── workflows │ ├── arches.yml │ └── main.yml ├── .travis.yml ├── autogen.sh ├── NEWS ├── license └── LICENSING.txt └── bin └── Makefile.am /debian-src/compat: -------------------------------------------------------------------------------- 1 | 7 2 | -------------------------------------------------------------------------------- /source/teckitjni/NEWS: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /source/teckitjni/TODO: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /SFconv/expat/xmltok/CVS/Tag: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /SFconv/expat/xmlwf/CVS/Tag: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /source/teckitjni/ChangeLog: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /source/teckitjni/README: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /SFconv/expat/xmlparse/CVS/Tag: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /COPYING: -------------------------------------------------------------------------------- 1 | see license/LICENSING.txt 2 | -------------------------------------------------------------------------------- /debian-src/teckit.install: -------------------------------------------------------------------------------- 1 | usr/bin 2 | -------------------------------------------------------------------------------- /SFconv/expat/xmlparse/.cvsignore: -------------------------------------------------------------------------------- 1 | Makefile -------------------------------------------------------------------------------- /SFconv/expat/xmltok/.cvsignore: -------------------------------------------------------------------------------- 1 | Makefile -------------------------------------------------------------------------------- /debian-src/source/format: -------------------------------------------------------------------------------- 1 | 3.0 (native) 2 | -------------------------------------------------------------------------------- /ChangeLog: -------------------------------------------------------------------------------- 1 | See the commit history from git. 2 | -------------------------------------------------------------------------------- /zlib-1.2.13/contrib/blast/test.txt: -------------------------------------------------------------------------------- 1 | AIAIAIAIAIAIA -------------------------------------------------------------------------------- /SFconv/expat/xmlwf/CVS/Repository: -------------------------------------------------------------------------------- 1 | /cvsroot/mozilla/expat/xmlwf -------------------------------------------------------------------------------- /SFconv/expat/xmlparse/CVS/Repository: -------------------------------------------------------------------------------- 1 | /cvsroot/mozilla/expat/xmlparse -------------------------------------------------------------------------------- /SFconv/expat/xmltok/CVS/Repository: -------------------------------------------------------------------------------- 1 | /cvsroot/mozilla/expat/xmltok -------------------------------------------------------------------------------- /SFconv/Final_Prefix.h: -------------------------------------------------------------------------------- 1 | #define _MSL_NO_LOCALE 1 2 | #define XML_DTD 1 3 | -------------------------------------------------------------------------------- /mac-installer/.gitignore: -------------------------------------------------------------------------------- 1 | /Archive/ 2 | /TECkit*.pkg/ 3 | /TECkit.dmg 4 | -------------------------------------------------------------------------------- /SFconv/expat/xmlwf/CVS/Root: -------------------------------------------------------------------------------- 1 | :pserver:anonymous@cvs-mirror.mozilla.org:/cvsroot -------------------------------------------------------------------------------- /debian-src/libteckit-perl.install: -------------------------------------------------------------------------------- 1 | usr/lib/*/perl5 2 | usr/share/man/man3 3 | -------------------------------------------------------------------------------- /test/mrk.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/silnrsi/teckit/HEAD/test/mrk.txt -------------------------------------------------------------------------------- /SFconv/expat/xmlparse/CVS/Root: -------------------------------------------------------------------------------- 1 | :pserver:anonymous@cvs-mirror.mozilla.org:/cvsroot -------------------------------------------------------------------------------- /SFconv/expat/xmltok/CVS/Root: -------------------------------------------------------------------------------- 1 | :pserver:anonymous@cvs-mirror.mozilla.org:/cvsroot -------------------------------------------------------------------------------- /test/academy.tec: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/silnrsi/teckit/HEAD/test/academy.tec -------------------------------------------------------------------------------- /test/silipa93.tec: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/silnrsi/teckit/HEAD/test/silipa93.tec -------------------------------------------------------------------------------- /SFconv/Debug_Prefix.h: -------------------------------------------------------------------------------- 1 | #define DEBUG 1 2 | #define _MSL_NO_LOCALE 1 3 | #define XML_DTD 1 4 | -------------------------------------------------------------------------------- /docs/TECkit_Tools.odt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/silnrsi/teckit/HEAD/docs/TECkit_Tools.odt -------------------------------------------------------------------------------- /docs/TECkit_Tools.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/silnrsi/teckit/HEAD/docs/TECkit_Tools.pdf -------------------------------------------------------------------------------- /zlib-1.2.13/contrib/infback9/README: -------------------------------------------------------------------------------- 1 | See infback9.h for what this is and how to use it. 2 | -------------------------------------------------------------------------------- /debian-src/libteckit0.install: -------------------------------------------------------------------------------- 1 | usr/lib/*/libTECkit.so.* 2 | usr/lib/*/libTECkit_Compiler.so.* 3 | -------------------------------------------------------------------------------- /docs/TECkit_Language.odt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/silnrsi/teckit/HEAD/docs/TECkit_Language.odt -------------------------------------------------------------------------------- /docs/TECkit_Language.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/silnrsi/teckit/HEAD/docs/TECkit_Language.pdf -------------------------------------------------------------------------------- /zlib-1.2.13/zlib.3.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/silnrsi/teckit/HEAD/zlib-1.2.13/zlib.3.pdf -------------------------------------------------------------------------------- /docs/TECkit_Binary_Format.odt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/silnrsi/teckit/HEAD/docs/TECkit_Binary_Format.odt -------------------------------------------------------------------------------- /docs/TECkit_Binary_Format.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/silnrsi/teckit/HEAD/docs/TECkit_Binary_Format.pdf -------------------------------------------------------------------------------- /test/mrk.sf.legacy.txt.orig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/silnrsi/teckit/HEAD/test/mrk.sf.legacy.txt.orig -------------------------------------------------------------------------------- /docs/Calling_TECkit_from_VB.doc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/silnrsi/teckit/HEAD/docs/Calling_TECkit_from_VB.doc -------------------------------------------------------------------------------- /docs/Calling_TECkit_from_VB.odt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/silnrsi/teckit/HEAD/docs/Calling_TECkit_from_VB.odt -------------------------------------------------------------------------------- /docs/Calling_TECkit_from_VB.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/silnrsi/teckit/HEAD/docs/Calling_TECkit_from_VB.pdf -------------------------------------------------------------------------------- /zlib-1.2.13/doc/crc-doc.1.0.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/silnrsi/teckit/HEAD/zlib-1.2.13/doc/crc-doc.1.0.pdf -------------------------------------------------------------------------------- /zlib-1.2.13/contrib/blast/test.pk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/silnrsi/teckit/HEAD/zlib-1.2.13/contrib/blast/test.pk -------------------------------------------------------------------------------- /zlib-1.2.13/contrib/puff/zeros.raw: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/silnrsi/teckit/HEAD/zlib-1.2.13/contrib/puff/zeros.raw -------------------------------------------------------------------------------- /source/teckitjni/MSDev/TecKitJni.ncb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/silnrsi/teckit/HEAD/source/teckitjni/MSDev/TecKitJni.ncb -------------------------------------------------------------------------------- /source/teckitjni/MSDev/TecKitJni.opt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/silnrsi/teckit/HEAD/source/teckitjni/MSDev/TecKitJni.opt -------------------------------------------------------------------------------- /zlib-1.2.13/contrib/blast/README: -------------------------------------------------------------------------------- 1 | Read blast.h for purpose and usage. 2 | 3 | Mark Adler 4 | madler@alumni.caltech.edu 5 | -------------------------------------------------------------------------------- /perl_binaries/Install.PL: -------------------------------------------------------------------------------- 1 | use InstallPar; 2 | 3 | InstallPar::install_all( 4 | ['Encode::TECkit' => '0.06'], 5 | ); 6 | 7 | -------------------------------------------------------------------------------- /zlib-1.2.13/contrib/dotzlib/DotZLib.chm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/silnrsi/teckit/HEAD/zlib-1.2.13/contrib/dotzlib/DotZLib.chm -------------------------------------------------------------------------------- /source/teckitjni/gdb.txt: -------------------------------------------------------------------------------- 1 | directory ../../src 2 | set arg -char2utf8 /home/keith/projects/DocCharConvert/teckitjni/academy.tec 3 | -------------------------------------------------------------------------------- /installed-top.pc.in: -------------------------------------------------------------------------------- 1 | prefix=@prefix@ 2 | exec_prefix=@exec_prefix@ 3 | libdir=@libdir@ 4 | includedir=@includedir@ 5 | version=@VERSION@ 6 | -------------------------------------------------------------------------------- /test/SILGreek2004-04-27.uncompressed.tec.orig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/silnrsi/teckit/HEAD/test/SILGreek2004-04-27.uncompressed.tec.orig -------------------------------------------------------------------------------- /zlib-1.2.13/Makefile: -------------------------------------------------------------------------------- 1 | all: 2 | -@echo "Please use ./configure first. Thank you." 3 | 4 | distclean: 5 | make -f Makefile.in distclean 6 | -------------------------------------------------------------------------------- /zlib-1.2.13/contrib/dotzlib/DotZLib/DotZLib.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/silnrsi/teckit/HEAD/zlib-1.2.13/contrib/dotzlib/DotZLib/DotZLib.cs -------------------------------------------------------------------------------- /SFconv/expat/xmlparse/MANIFEST: -------------------------------------------------------------------------------- 1 | # 2 | # This is a list of local files which get copied to the mozilla:dist directory 3 | # 4 | 5 | xmlparse.h 6 | -------------------------------------------------------------------------------- /zlib-1.2.13/contrib/dotzlib/DotZLib/CodecBase.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/silnrsi/teckit/HEAD/zlib-1.2.13/contrib/dotzlib/DotZLib/CodecBase.cs -------------------------------------------------------------------------------- /zlib-1.2.13/contrib/dotzlib/DotZLib/Deflater.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/silnrsi/teckit/HEAD/zlib-1.2.13/contrib/dotzlib/DotZLib/Deflater.cs -------------------------------------------------------------------------------- /zlib-1.2.13/contrib/dotzlib/DotZLib/GZipStream.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/silnrsi/teckit/HEAD/zlib-1.2.13/contrib/dotzlib/DotZLib/GZipStream.cs -------------------------------------------------------------------------------- /zlib-1.2.13/contrib/dotzlib/DotZLib/Inflater.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/silnrsi/teckit/HEAD/zlib-1.2.13/contrib/dotzlib/DotZLib/Inflater.cs -------------------------------------------------------------------------------- /zlib-1.2.13/contrib/dotzlib/DotZLib/ChecksumImpl.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/silnrsi/teckit/HEAD/zlib-1.2.13/contrib/dotzlib/DotZLib/ChecksumImpl.cs -------------------------------------------------------------------------------- /source/Prefix_Mac.h: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | #undef TARGET_RT_BIG_ENDIAN 4 | #define TARGET_RT_BIG_ENDIAN 1 5 | 6 | #define BZ_NO_STDIO 1 7 | -------------------------------------------------------------------------------- /zlib-1.2.13/contrib/dotzlib/DotZLib/CircularBuffer.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/silnrsi/teckit/HEAD/zlib-1.2.13/contrib/dotzlib/DotZLib/CircularBuffer.cs -------------------------------------------------------------------------------- /source/Prefix_Win32.h: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | #undef TARGET_RT_BIG_ENDIAN 4 | #define TARGET_RT_BIG_ENDIAN 0 5 | 6 | #define BZ_NO_STDIO 1 7 | -------------------------------------------------------------------------------- /perl_binaries/Encode-TECkit-0.05-MSWin32-x86-5.8.4.tar.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/silnrsi/teckit/HEAD/perl_binaries/Encode-TECkit-0.05-MSWin32-x86-5.8.4.tar.gz -------------------------------------------------------------------------------- /teckit.pc.in: -------------------------------------------------------------------------------- 1 | 2 | Name: TECkit 3 | Description: Unicode conversion library 4 | Version: ${version} 5 | Libs: -L${libdir} -lTECkit 6 | Cflags: -I${includedir} 7 | 8 | -------------------------------------------------------------------------------- /zlib-1.2.13/old/README: -------------------------------------------------------------------------------- 1 | This directory contains files that have not been updated for zlib 1.2.x 2 | 3 | (Volunteers are encouraged to help clean this up. Thanks.) 4 | -------------------------------------------------------------------------------- /zlib-1.2.13/win32/VisualC.txt: -------------------------------------------------------------------------------- 1 | 2 | To build zlib using the Microsoft Visual C++ environment, 3 | use the appropriate project from the contrib/vstudio/ directory. 4 | -------------------------------------------------------------------------------- /source/Perl/typemap: -------------------------------------------------------------------------------- 1 | Encode::TECkit T_PTROBJ 2 | TECkit_Status INT 3 | Byte * T_PV 4 | UInt32 T_UV 5 | Byte T_U_CHAR 6 | 7 | -------------------------------------------------------------------------------- /zlib-1.2.13/contrib/minizip/MiniZip64_Changes.txt: -------------------------------------------------------------------------------- 1 | 2 | MiniZip 1.1 was derrived from MiniZip at version 1.01f 3 | 4 | Change in 1.0 (Okt 2009) 5 | - **TODO - Add history** 6 | 7 | -------------------------------------------------------------------------------- /docs/Makefile.am: -------------------------------------------------------------------------------- 1 | dist_man1_MANS = teckit_compile.1 txtconv.1 sfconv.1 2 | EXTRA_DIST = TECkit_Binary_Format.pdf 3 | EXTRA_DIST += TECkit_Language.pdf 4 | EXTRA_DIST += TECkit_Tools.pdf 5 | -------------------------------------------------------------------------------- /perl_binaries/Encode-TECkit-0.04-MSWin32-x86-multi-thread-5.8.4.par: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/silnrsi/teckit/HEAD/perl_binaries/Encode-TECkit-0.04-MSWin32-x86-multi-thread-5.8.4.par -------------------------------------------------------------------------------- /perl_binaries/Encode-TECkit-0.06-MSWin32-x86-multi-thread-5.10.0.par: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/silnrsi/teckit/HEAD/perl_binaries/Encode-TECkit-0.06-MSWin32-x86-multi-thread-5.10.0.par -------------------------------------------------------------------------------- /zlib-1.2.13/contrib/blast/Makefile: -------------------------------------------------------------------------------- 1 | blast: blast.c blast.h 2 | cc -DTEST -o blast blast.c 3 | 4 | test: blast 5 | blast < test.pk | cmp - test.txt 6 | 7 | clean: 8 | rm -f blast blast.o 9 | -------------------------------------------------------------------------------- /debian-src/libteckit-dev.install: -------------------------------------------------------------------------------- 1 | usr/include 2 | usr/lib/*/libTECkit.a 3 | usr/lib/*/libTECkit.so 4 | usr/lib/*/libTECkit_Compiler.a 5 | usr/lib/*/libTECkit_Compiler.so 6 | usr/lib/*/pkgconfig 7 | -------------------------------------------------------------------------------- /source/teckitjni/Makefile.am: -------------------------------------------------------------------------------- 1 | # not a GNU package. You can remove this line, if 2 | # have all needed files, that a GNU package needs 3 | AUTOMAKE_OPTIONS = foreign 1.4 4 | 5 | SUBDIRS = src 6 | -------------------------------------------------------------------------------- /source/TECkit_Compiler.exp: -------------------------------------------------------------------------------- 1 | TECkit_Compile 2 | TECkit_CompileOpt 3 | TECkit_DisposeCompiled 4 | TECkit_GetCompilerVersion 5 | TECkit_GetUnicodeName 6 | TECkit_GetTECkitName 7 | TECkit_GetUnicodeValue 8 | -------------------------------------------------------------------------------- /uninstalled-top.pc.in: -------------------------------------------------------------------------------- 1 | prefix=@abs_builddir@ 2 | exec_prefix=@exec_prefix@ 3 | priv_includedir=@abs_srcdir@/source 4 | includedir=@abs_srcdir@/include 5 | libdir=@abs_builddir@/lib/.libs 6 | version=@VERSION@ 7 | -------------------------------------------------------------------------------- /debian-src/teckit.preinst: -------------------------------------------------------------------------------- 1 | #!/bin/sh -e 2 | if [ "$1" != upgrade ] || dpkg --compare-versions "$2" le 2.5.5; then 3 | dpkg-divert --package teckit --add --rename /usr/bin/teckit_compile 4 | fi 5 | 6 | #DEBHELPER# 7 | -------------------------------------------------------------------------------- /test/ISO-8859-1.map: -------------------------------------------------------------------------------- 1 | EncodingName "ISO-8859-1" 2 | DescriptiveName "ISO-8859-1" 3 | 4 | ByteDefault '?' 5 | UniDefault replacement_character 6 | 7 | ByteClass [x] = (0..255) 8 | UniClass [x] = (0..255) 9 | 10 | [x] <> [x] 11 | -------------------------------------------------------------------------------- /zlib-1.2.13/nintendods/README: -------------------------------------------------------------------------------- 1 | This Makefile requires devkitARM (http://www.devkitpro.org/category/devkitarm/) and works inside "contrib/nds". It is based on a devkitARM template. 2 | 3 | Eduardo Costa 4 | January 3, 2009 5 | 6 | -------------------------------------------------------------------------------- /zlib-1.2.13/contrib/delphi/ZLibConst.pas: -------------------------------------------------------------------------------- 1 | unit ZLibConst; 2 | 3 | interface 4 | 5 | resourcestring 6 | sTargetBufferTooSmall = 'ZLib error: target buffer may be too small'; 7 | sInvalidStreamOp = 'Invalid stream operation'; 8 | 9 | implementation 10 | 11 | end. 12 | -------------------------------------------------------------------------------- /source/Public-headers/Makefile.am: -------------------------------------------------------------------------------- 1 | publicheaderdir = $(top_srcdir)/source/Public-headers 2 | 3 | pkginclude_HEADERS = $(publicheaderdir)/TECkit_Common.h 4 | pkginclude_HEADERS += $(publicheaderdir)/TECkit_Compiler.h 5 | pkginclude_HEADERS += $(publicheaderdir)/TECkit_Engine.h 6 | 7 | -------------------------------------------------------------------------------- /zlib-1.2.13/contrib/testzlib/testzlib.txt: -------------------------------------------------------------------------------- 1 | To build testzLib with Visual Studio 2005: 2 | 3 | copy to a directory file from : 4 | - root of zLib tree 5 | - contrib/testzlib 6 | - contrib/masmx86 7 | - contrib/masmx64 8 | - contrib/vstudio/vc7 9 | 10 | and open testzlib8.sln -------------------------------------------------------------------------------- /lib/Makefile.am: -------------------------------------------------------------------------------- 1 | AM_CPPFLAGS = -I$(top_srcdir)/source/Public-headers 2 | 3 | if OLD_LIB_NAMES 4 | lib_LTLIBRARIES = TECkit_Compiler_x86.la TECkit_x86.la 5 | else 6 | lib_LTLIBRARIES = libTECkit_Compiler.la libTECkit.la 7 | endif 8 | 9 | 10 | include ../source/Makefile.am 11 | 12 | -------------------------------------------------------------------------------- /Makefile.am: -------------------------------------------------------------------------------- 1 | ACLOCAL_AMFLAGS = -I m4 2 | 3 | SUBDIRS = lib bin docs test 4 | 5 | pkgconfigdir = $(libdir)/pkgconfig 6 | pkgconfig_DATA = teckit.pc 7 | 8 | EXTRA_DIST = license/License_CPLv05.txt 9 | EXTRA_DIST += license/License_LGPLv21.txt 10 | EXTRA_DIST += license/LICENSING.txt 11 | 12 | -------------------------------------------------------------------------------- /debian-src/teckit.postrm: -------------------------------------------------------------------------------- 1 | #!/bin/sh -e 2 | if [ "$1" = remove -o "$1" = abort-install -o "$1" = disappear ] \ 3 | || ([ "$1" = abort-upgrade ] && dpkg --compare-versions "$2" le 2.5.5); then 4 | dpkg-divert --package teckit --remove --rename /usr/bin/teckit_compile 5 | fi 6 | 7 | #DEBHELPER# 8 | -------------------------------------------------------------------------------- /source/TECkit_Engine.exp: -------------------------------------------------------------------------------- 1 | TECkit_CreateConverter 2 | TECkit_DisposeConverter 3 | TECkit_GetConverterName 4 | TECkit_GetConverterFlags 5 | TECkit_ResetConverter 6 | TECkit_ConvertBuffer 7 | TECkit_ConvertBufferOpt 8 | TECkit_Flush 9 | TECkit_FlushOpt 10 | TECkit_GetMappingName 11 | TECkit_GetMappingFlags 12 | TECkit_GetVersion 13 | -------------------------------------------------------------------------------- /source/teckitjni/configure.in: -------------------------------------------------------------------------------- 1 | AC_INIT(configure.in) 2 | 3 | AM_CONFIG_HEADER(config.h) 4 | AM_INIT_AUTOMAKE(teckitjni, 0.1) 5 | 6 | AC_LANG_CPLUSPLUS 7 | 8 | AC_PROG_CXXCPP 9 | AM_PROG_LIBTOOL 10 | CC=CXX 11 | CXXFLAGS="$CXXFLAGS -I$JAVA_HOME/include -I$JAVA_HOME/include/linux" 12 | AC_OUTPUT(Makefile src/Makefile) 13 | 14 | -------------------------------------------------------------------------------- /zlib-1.2.13/contrib/untgz/Makefile: -------------------------------------------------------------------------------- 1 | CC=cc 2 | CFLAGS=-g 3 | 4 | untgz: untgz.o ../../libz.a 5 | $(CC) $(CFLAGS) -o untgz untgz.o -L../.. -lz 6 | 7 | untgz.o: untgz.c ../../zlib.h 8 | $(CC) $(CFLAGS) -c -I../.. untgz.c 9 | 10 | ../../libz.a: 11 | cd ../..; ./configure; make 12 | 13 | clean: 14 | rm -f untgz untgz.o *~ 15 | -------------------------------------------------------------------------------- /zlib-1.2.13/zlib.pc.in: -------------------------------------------------------------------------------- 1 | prefix=@prefix@ 2 | exec_prefix=@exec_prefix@ 3 | libdir=@libdir@ 4 | sharedlibdir=@sharedlibdir@ 5 | includedir=@includedir@ 6 | 7 | Name: zlib 8 | Description: zlib compression library 9 | Version: @VERSION@ 10 | 11 | Requires: 12 | Libs: -L${libdir} -L${sharedlibdir} -lz 13 | Cflags: -I${includedir} 14 | -------------------------------------------------------------------------------- /source/teckitjni/MSDev/StdAfx.cpp: -------------------------------------------------------------------------------- 1 | // stdafx.cpp : source file that includes just the standard includes 2 | // TecKitJni.pch will be the pre-compiled header 3 | // stdafx.obj will contain the pre-compiled type information 4 | 5 | #include "stdafx.h" 6 | 7 | // TODO: reference any additional headers you need in STDAFX.H 8 | // and not in this file 9 | -------------------------------------------------------------------------------- /zlib-1.2.13/contrib/minizip/minizip.pc.in: -------------------------------------------------------------------------------- 1 | prefix=@prefix@ 2 | exec_prefix=@exec_prefix@ 3 | libdir=@libdir@ 4 | includedir=@includedir@/minizip 5 | 6 | Name: minizip 7 | Description: Minizip zip file manipulation library 8 | Requires: 9 | Version: @PACKAGE_VERSION@ 10 | Libs: -L${libdir} -lminizip 11 | Libs.private: -lz 12 | Cflags: -I${includedir} 13 | -------------------------------------------------------------------------------- /zlib-1.2.13/withenable.ac: -------------------------------------------------------------------------------- 1 | AC_ARG_WITH([system_zlib], 2 | [ --without-system-zlib Don't use installed zlib library],,[with_system_zlib=yes]) 3 | 4 | AC_ARG_WITH([zlib_libdir], 5 | [ --with-zlib-libdir=DIR Specify directory where the zlib library resides.]) 6 | 7 | AC_ARG_WITH([zlib_include], 8 | [ --with-zlib-include=DIR Specify the zlib header files location.]) 9 | -------------------------------------------------------------------------------- /AUTHORS: -------------------------------------------------------------------------------- 1 | AUTHORS 2 | 3 | TECkit is written by Jonathan Kew, SIL Global. 4 | 5 | The Perl interface is by Martin Hosken, and the JNI interface is by Keith Stribley. 6 | Thanks to Ulrik Petersen for patches to improve portability, especially for MS VC++ 7 | and for 64-bit systems. Authors of other library code included with TECkit are as 8 | noted in the relevant source files. 9 | -------------------------------------------------------------------------------- /SFconv/expat/xmlparse/CVS/Entries: -------------------------------------------------------------------------------- 1 | /.cvsignore/1.1/Fri May 5 18:27:49 2000// /hashtable.c/1.3/Fri May 5 18:27:49 2000// /hashtable.h/1.3/Fri May 5 18:27:49 2000// /Makefile.in/1.8/Fri May 5 18:27:49 2000// /makefile.win/1.6/Fri May 5 18:27:49 2000// /MANIFEST/1.1/Fri May 5 18:27:49 2000// /xmlparse.c/1.10/Fri May 5 18:27:51 2000// /xmlparse.h/1.9/Fri May 5 18:27:51 2000// D -------------------------------------------------------------------------------- /zlib-1.2.13/zlib.pc.cmakein: -------------------------------------------------------------------------------- 1 | prefix=@CMAKE_INSTALL_PREFIX@ 2 | exec_prefix=@CMAKE_INSTALL_PREFIX@ 3 | libdir=@INSTALL_LIB_DIR@ 4 | sharedlibdir=@INSTALL_LIB_DIR@ 5 | includedir=@INSTALL_INC_DIR@ 6 | 7 | Name: zlib 8 | Description: zlib compression library 9 | Version: @VERSION@ 10 | 11 | Requires: 12 | Libs: -L${libdir} -L${sharedlibdir} -lz 13 | Cflags: -I${includedir} 14 | -------------------------------------------------------------------------------- /zlib-1.2.13/contrib/untgz/Makefile.msc: -------------------------------------------------------------------------------- 1 | CC=cl 2 | CFLAGS=-MD 3 | 4 | untgz.exe: untgz.obj ..\..\zlib.lib 5 | $(CC) $(CFLAGS) untgz.obj ..\..\zlib.lib 6 | 7 | untgz.obj: untgz.c ..\..\zlib.h 8 | $(CC) $(CFLAGS) -c -I..\.. untgz.c 9 | 10 | ..\..\zlib.lib: 11 | cd ..\.. 12 | $(MAKE) -f win32\makefile.msc 13 | cd contrib\untgz 14 | 15 | clean: 16 | -del untgz.obj 17 | -del untgz.exe 18 | -------------------------------------------------------------------------------- /source/TECkit_Compiler.cmd: -------------------------------------------------------------------------------- 1 | /EXPORT: TECkit_Compile=TECkit_Compile 2 | /EXPORT: TECkit_CompileOpt=TECkit_CompileOpt 3 | /EXPORT: TECkit_DisposeCompiled=TECkit_DisposeCompiled 4 | /EXPORT: TECkit_GetCompilerVersion=TECkit_GetCompilerVersion 5 | /EXPORT: TECkit_GetUnicodeName=TECkit_GetUnicodeName 6 | /EXPORT: TECkit_GetTECkitName=TECkit_GetTECkitName 7 | /EXPORT: TECkit_GetUnicodeValue=TECkit_GetUnicodeValue 8 | -------------------------------------------------------------------------------- /mac-installer/Description.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IFPkgDescriptionDescription 6 | The TECkit encoding conversion package 7 | IFPkgDescriptionTitle 8 | TECkit 9 | 10 | 11 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | m4/ 2 | aclocal.m4 3 | autom4te.cache 4 | config.guess 5 | config.sub 6 | compile 7 | depcomp 8 | ltmain.sh 9 | install-sh 10 | missing 11 | mkinstalldirs 12 | test-driver 13 | 14 | configure 15 | Makefile.in 16 | config.h.in 17 | 18 | # These are directories used for building and making releases. 19 | /build/ 20 | /linux-build/ 21 | /mac-build/ 22 | /windows-build/ 23 | /teckit-linux/ 24 | /teckit-mac/ 25 | /teckit-windows-bin/ 26 | -------------------------------------------------------------------------------- /SFconv/expat/xmlwf/CVS/Entries: -------------------------------------------------------------------------------- 1 | /codepage.c/1.3/Fri May 5 18:27:55 2000// /codepage.h/1.2/Fri May 5 18:27:56 2000// /filemap.h/1.2/Fri May 5 18:27:56 2000// /readfilemap.c/1.2/Fri May 5 18:27:56 2000// /unixfilemap.c/1.2/Fri May 5 18:27:56 2000// /win32filemap.c/1.3/Fri May 5 18:27:56 2000// /xmlfile.c/1.2/Fri May 5 18:27:56 2000// /xmlfile.h/1.2/Fri May 5 18:27:56 2000// /xmltchar.h/1.1/Fri May 5 18:27:57 2000// /xmlwf.c/1.3/Fri May 5 18:27:57 2000// D -------------------------------------------------------------------------------- /zlib-1.2.13/inffast.h: -------------------------------------------------------------------------------- 1 | /* inffast.h -- header to use inffast.c 2 | * Copyright (C) 1995-2003, 2010 Mark Adler 3 | * For conditions of distribution and use, see copyright notice in zlib.h 4 | */ 5 | 6 | /* WARNING: this file should *not* be used by applications. It is 7 | part of the implementation of the compression library and is 8 | subject to change. Applications should only use zlib.h. 9 | */ 10 | 11 | void ZLIB_INTERNAL inflate_fast OF((z_streamp strm, unsigned start)); 12 | -------------------------------------------------------------------------------- /source/UpdateUnidata.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | # Update the Unicode data that TECKit uses 4 | 5 | if [ $# -ne 1 ]; then 6 | echo "Usage: $(basename $0) VERSION" >&2 7 | exit 1 8 | fi 9 | 10 | VERSION=$1 11 | 12 | BASE=https://www.unicode.org/Public/$VERSION/ucd 13 | 14 | curl -O $BASE/CompositionExclusions.txt 15 | curl -O $BASE/UnicodeData.txt 16 | 17 | perl MakeNormData.pl >NormalizationData.c 18 | perl MakeUnicodeNames.pl >UnicodeNames.cpp 19 | 20 | cd ../test 21 | 22 | curl -O $BASE/NormalizationTest.txt 23 | -------------------------------------------------------------------------------- /test/Makefile.am: -------------------------------------------------------------------------------- 1 | check_SCRIPTS = dotests.pl 2 | 3 | check_DATA = GNT-map.xml 4 | check_DATA += ISO-8859-1.map 5 | check_DATA += Mrk-GNT.sf 6 | check_DATA += mrk.sf.legacy.txt.orig 7 | check_DATA += mrk.txt 8 | check_DATA += NormalizationTest.txt 9 | check_DATA += SILGreek2004-04-27.map 10 | check_DATA += SILGreek2004-04-27.uncompressed.tec.orig 11 | check_DATA += academy.tec 12 | check_DATA += silipa93.tec 13 | 14 | EXTRA_DIST = $(check_SCRIPTS) $(check_DATA) 15 | 16 | TESTS = $(check_SCRIPTS) 17 | TESTS_ENVIRONMENT = BINDIR=$(top_builddir)/bin SRCDIR=$(srcdir) 18 | -------------------------------------------------------------------------------- /source/teckitjni/autogen.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | echo "*** Recreating libtool files" 3 | if test -z $LTIZE; then 4 | LTIZE="$AUTODIR""libtoolize" 5 | fi 6 | echo "$LTIZE" 7 | $LTIZE -f -c; 8 | 9 | echo "*** Recreating aclocal.m4" 10 | ACLOCAL="$AUTODIR""aclocal" 11 | echo "$ACLOCAL" 12 | $ACLOCAL -I .; 13 | 14 | echo "*** Recreating configure" 15 | AUTOCONF="$AUTODIR""autoconf" 16 | AUTOHEAD="$AUTODIR""autoheader" 17 | $AUTOHEAD ; 18 | $AUTOCONF; 19 | 20 | echo "*** Recreating the Makefile.in files" 21 | AUTOMAKE="$AUTODIR""automake" 22 | $AUTOMAKE --foreign -a -c; 23 | 24 | -------------------------------------------------------------------------------- /source/teckitjni/src/Makefile.am: -------------------------------------------------------------------------------- 1 | lib_LTLIBRARIES= libTecKitJni.la 2 | libTecKitJni_la_SOURCES = ../../Engine.cpp TecKitJni.cpp 3 | 4 | # set the include path found by configure 5 | INCLUDES= $(all_includes) '-I../../Public-headers' -I ../.. 6 | 7 | # the library version and shared libs so there are no run time undefined symbols 8 | libTecKitJni_la_LDFLAGS= -version-info 1 -lz 9 | libTecKitJni_la_CC=g++ 10 | 11 | bin_PROGRAMS= testTecKit 12 | testTecKit_SOURCES= teckitjniTest.cpp 13 | 14 | # set the library search path 15 | testTecKit_LDFLAGS =-lTecKitJni -lz 16 | 17 | 18 | -------------------------------------------------------------------------------- /zlib-1.2.13/contrib/iostream3/TODO: -------------------------------------------------------------------------------- 1 | Possible upgrades to gzfilebuf: 2 | 3 | - The ability to do putback (e.g. putbackfail) 4 | 5 | - The ability to seek (zlib supports this, but could be slow/tricky) 6 | 7 | - Simultaneous read/write access (does it make sense?) 8 | 9 | - Support for ios_base::ate open mode 10 | 11 | - Locale support? 12 | 13 | - Check public interface to see which calls give problems 14 | (due to dependence on library internals) 15 | 16 | - Override operator<<(ostream&, gzfilebuf*) to allow direct copying 17 | of stream buffer to stream ( i.e. os << is.rdbuf(); ) 18 | -------------------------------------------------------------------------------- /zlib-1.2.13/contrib/ada/zlib.gpr: -------------------------------------------------------------------------------- 1 | project Zlib is 2 | 3 | for Languages use ("Ada"); 4 | for Source_Dirs use ("."); 5 | for Object_Dir use "."; 6 | for Main use ("test.adb", "mtest.adb", "read.adb", "buffer_demo"); 7 | 8 | package Compiler is 9 | for Default_Switches ("ada") use ("-gnatwcfilopru", "-gnatVcdfimorst", "-gnatyabcefhiklmnoprst"); 10 | end Compiler; 11 | 12 | package Linker is 13 | for Default_Switches ("ada") use ("-lz"); 14 | end Linker; 15 | 16 | package Builder is 17 | for Default_Switches ("ada") use ("-s", "-gnatQ"); 18 | end Builder; 19 | 20 | end Zlib; 21 | -------------------------------------------------------------------------------- /zlib-1.2.13/contrib/iostream/test.cpp: -------------------------------------------------------------------------------- 1 | 2 | #include "zfstream.h" 3 | 4 | int main() { 5 | 6 | // Construct a stream object with this filebuffer. Anything sent 7 | // to this stream will go to standard out. 8 | gzofstream os( 1, ios::out ); 9 | 10 | // This text is getting compressed and sent to stdout. 11 | // To prove this, run 'test | zcat'. 12 | os << "Hello, Mommy" << endl; 13 | 14 | os << setcompressionlevel( Z_NO_COMPRESSION ); 15 | os << "hello, hello, hi, ho!" << endl; 16 | 17 | setcompressionlevel( os, Z_DEFAULT_COMPRESSION ) 18 | << "I'm compressing again" << endl; 19 | 20 | os.close(); 21 | 22 | return 0; 23 | 24 | } 25 | -------------------------------------------------------------------------------- /source/MakeUnicodeNames.pl: -------------------------------------------------------------------------------- 1 | #!perl 2 | 3 | # make name list for teckit compiler from UnicodeData.txt 4 | 5 | open FH, ") { 7 | chomp; 8 | @fields = split(/;/); 9 | $uc = $fields[0]; 10 | $un = $fields[1]; 11 | 12 | next if $un =~ /[1] cmp $b->[1] } @names) { 26 | print "{0x$_->[0],\"$_->[1]\"},\n"; 27 | } 28 | 29 | print << '__END__'; 30 | {0,0} 31 | }; 32 | __END__ 33 | -------------------------------------------------------------------------------- /test/GNT-map.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 7 | 8 | 9 | 10 | 13 | 14 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /source/TECkit_Engine.cmd: -------------------------------------------------------------------------------- 1 | /EXPORT: TECkit_CreateConverter=TECkit_CreateConverter 2 | /EXPORT: TECkit_DisposeConverter=TECkit_DisposeConverter 3 | /EXPORT: TECkit_GetConverterName=TECkit_GetConverterName 4 | /EXPORT: TECkit_GetConverterFlags=TECkit_GetConverterFlags 5 | /EXPORT: TECkit_ResetConverter=TECkit_ResetConverter 6 | /EXPORT: TECkit_ConvertBuffer=TECkit_ConvertBuffer 7 | /EXPORT: TECkit_ConvertBufferOpt=TECkit_ConvertBufferOpt 8 | /EXPORT: TECkit_Flush=TECkit_Flush 9 | /EXPORT: TECkit_FlushOpt=TECkit_FlushOpt 10 | /EXPORT: TECkit_GetMappingName=TECkit_GetMappingName 11 | /EXPORT: TECkit_GetMappingFlags=TECkit_GetMappingFlags 12 | /EXPORT: TECkit_GetVersion=TECkit_GetVersion 13 | -------------------------------------------------------------------------------- /source/teckitjni/MSDev/TecKitJni.dsw: -------------------------------------------------------------------------------- 1 | Microsoft Developer Studio Workspace File, Format Version 6.00 2 | # WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! 3 | 4 | ############################################################################### 5 | 6 | Project: "TecKitJni"=.\TecKitJni.dsp - Package Owner=<4> 7 | 8 | Package=<5> 9 | {{{ 10 | }}} 11 | 12 | Package=<4> 13 | {{{ 14 | }}} 15 | 16 | ############################################################################### 17 | 18 | Global: 19 | 20 | Package=<5> 21 | {{{ 22 | }}} 23 | 24 | Package=<3> 25 | {{{ 26 | }}} 27 | 28 | ############################################################################### 29 | 30 | -------------------------------------------------------------------------------- /zlib-1.2.13/contrib/minizip/Makefile: -------------------------------------------------------------------------------- 1 | CC=cc 2 | CFLAGS := $(CFLAGS) -O -I../.. 3 | 4 | UNZ_OBJS = miniunz.o unzip.o ioapi.o ../../libz.a 5 | ZIP_OBJS = minizip.o zip.o ioapi.o ../../libz.a 6 | 7 | .c.o: 8 | $(CC) -c $(CFLAGS) $*.c 9 | 10 | all: miniunz minizip 11 | 12 | miniunz: $(UNZ_OBJS) 13 | $(CC) $(CFLAGS) -o $@ $(UNZ_OBJS) 14 | 15 | minizip: $(ZIP_OBJS) 16 | $(CC) $(CFLAGS) -o $@ $(ZIP_OBJS) 17 | 18 | test: miniunz minizip 19 | @rm -f test.* 20 | @echo hello hello hello > test.txt 21 | ./minizip test test.txt 22 | ./miniunz -l test.zip 23 | @mv test.txt test.old 24 | ./miniunz test.zip 25 | @cmp test.txt test.old 26 | @rm -f test.* 27 | 28 | clean: 29 | /bin/rm -f *.o *~ minizip miniunz test.* 30 | -------------------------------------------------------------------------------- /SFconv/expat/xmltok/CVS/Entries: -------------------------------------------------------------------------------- 1 | /.cvsignore/1.1/Fri May 5 18:27:52 2000// /asciitab.h/1.3/Fri May 5 18:27:52 2000// /dllmain.c/1.3/Fri May 5 18:27:52 2000// /iasciitab.h/1.3/Fri May 5 18:27:52 2000// /latin1tab.h/1.2/Fri May 5 18:27:52 2000// /Makefile.in/1.8/Fri May 5 18:27:52 2000// /makefile.win/1.5/Fri May 5 18:27:52 2000// /nametab.h/1.1/Fri May 5 18:27:53 2000// /utf8tab.h/1.2/Fri May 5 18:27:53 2000// /xmldef.h/1.14/Fri May 5 18:27:53 2000// /xmlrole.c/1.4/Fri May 5 18:27:53 2000// /xmlrole.h/1.4/Fri May 5 18:27:53 2000// /xmltok.c/1.4/Fri May 5 18:27:53 2000// /xmltok.h/1.5/Fri May 5 18:27:54 2000// /xmltok_impl.c/1.4/Fri May 5 18:27:54 2000// /xmltok_impl.h/1.3/Fri May 5 18:27:55 2000// /xmltok_ns.c/1.2/Fri May 5 18:27:55 2000// D -------------------------------------------------------------------------------- /zlib-1.2.13/gzclose.c: -------------------------------------------------------------------------------- 1 | /* gzclose.c -- zlib gzclose() function 2 | * Copyright (C) 2004, 2010 Mark Adler 3 | * For conditions of distribution and use, see copyright notice in zlib.h 4 | */ 5 | 6 | #include "gzguts.h" 7 | 8 | /* gzclose() is in a separate file so that it is linked in only if it is used. 9 | That way the other gzclose functions can be used instead to avoid linking in 10 | unneeded compression or decompression routines. */ 11 | int ZEXPORT gzclose(file) 12 | gzFile file; 13 | { 14 | #ifndef NO_GZCOMPRESS 15 | gz_statep state; 16 | 17 | if (file == NULL) 18 | return Z_STREAM_ERROR; 19 | state = (gz_statep)file; 20 | 21 | return state->mode == GZ_READ ? gzclose_r(file) : gzclose_w(file); 22 | #else 23 | return gzclose_r(file); 24 | #endif 25 | } 26 | -------------------------------------------------------------------------------- /README: -------------------------------------------------------------------------------- 1 | README 2 | ====== 3 | 4 | This is TECkit, a library for encoding conversion, usable through standalone 5 | tools or by linking with other software packages. 6 | 7 | See the Documentation folder for information on the TECkit mapping language 8 | and conversion tool usage notes. 9 | 10 | The TECkit libraries have been updated to support the Unicode 17.0.0 character 11 | repertoire. 12 | 13 | Starting with TECkit version 2.5.7 there are several changes with the Windows 14 | builds. First, a 64-bit build has been added to the already existing 32-bit 15 | build. Second, the runtime files have changed. The file libwinpthread-1.dll 16 | is no longer needed. The file libstdc++-6.dll needs to match the build 17 | (32 or 64 bit) of the rest of the code. The 32-bit build needs 18 | libgcc_s_sjlj-1.dll, while the 64-bit build needs libgcc_s_seh-1.dll. 19 | -------------------------------------------------------------------------------- /zlib-1.2.13/contrib/iostream2/zstream_test.cpp: -------------------------------------------------------------------------------- 1 | #include "zstream.h" 2 | #include 3 | #include 4 | #include 5 | 6 | void main() { 7 | char h[256] = "Hello"; 8 | char* g = "Goodbye"; 9 | ozstream out("temp.gz"); 10 | out < "This works well" < h < g; 11 | out.close(); 12 | 13 | izstream in("temp.gz"); // read it back 14 | char *x = read_string(in), *y = new char[256], z[256]; 15 | in > y > z; 16 | in.close(); 17 | cout << x << endl << y << endl << z << endl; 18 | 19 | out.open("temp.gz"); // try ascii output; zcat temp.gz to see the results 20 | out << setw(50) << setfill('#') << setprecision(20) << x << endl << y << endl << z << endl; 21 | out << z << endl << y << endl << x << endl; 22 | out << 1.1234567890123456789 << endl; 23 | 24 | delete[] x; delete[] y; 25 | } 26 | -------------------------------------------------------------------------------- /source/teckitjni/MSDev/StdAfx.h: -------------------------------------------------------------------------------- 1 | // stdafx.h : include file for standard system include files, 2 | // or project specific include files that are used frequently, but 3 | // are changed infrequently 4 | // 5 | 6 | #if !defined(AFX_STDAFX_H__5A920250_B22D_4D7D_8764_875B6DAC5D1F__INCLUDED_) 7 | #define AFX_STDAFX_H__5A920250_B22D_4D7D_8764_875B6DAC5D1F__INCLUDED_ 8 | 9 | #if _MSC_VER > 1000 10 | #pragma once 11 | #endif // _MSC_VER > 1000 12 | 13 | 14 | // Insert your headers here 15 | #define WIN32_LEAN_AND_MEAN // Exclude rarely-used stuff from Windows headers 16 | 17 | #include 18 | 19 | // TODO: reference additional headers your program requires here 20 | 21 | //{{AFX_INSERT_LOCATION}} 22 | // Microsoft Visual C++ will insert additional declarations immediately before the previous line. 23 | 24 | #endif // !defined(AFX_STDAFX_H__5A920250_B22D_4D7D_8764_875B6DAC5D1F__INCLUDED_) 25 | -------------------------------------------------------------------------------- /zlib-1.2.13/contrib/minizip/mztools.h: -------------------------------------------------------------------------------- 1 | /* 2 | Additional tools for Minizip 3 | Code: Xavier Roche '2004 4 | License: Same as ZLIB (www.gzip.org) 5 | */ 6 | 7 | #ifndef _zip_tools_H 8 | #define _zip_tools_H 9 | 10 | #ifdef __cplusplus 11 | extern "C" { 12 | #endif 13 | 14 | #ifndef _ZLIB_H 15 | #include "zlib.h" 16 | #endif 17 | 18 | #include "unzip.h" 19 | 20 | /* Repair a ZIP file (missing central directory) 21 | file: file to recover 22 | fileOut: output file after recovery 23 | fileOutTmp: temporary file name used for recovery 24 | */ 25 | extern int ZEXPORT unzRepair(const char* file, 26 | const char* fileOut, 27 | const char* fileOutTmp, 28 | uLong* nRecovered, 29 | uLong* bytesRecovered); 30 | 31 | 32 | #ifdef __cplusplus 33 | } 34 | #endif 35 | 36 | 37 | #endif 38 | -------------------------------------------------------------------------------- /source/Perl/test.pl: -------------------------------------------------------------------------------- 1 | use Test; 2 | use Encode::TECkit; 3 | 4 | %tests = ( 5 | 'silipa93.tec' => [ 6 | ["D\"\xe2s i\xf9z ?\xab tHEstH", 7 | "\x{00F0}i\x{0303}s i\x{02D0}z \x{0294}\x{0259} t\x{02B0}\x{025B}st\x{02B0}"], 8 | ], 9 | 'academy.tec' => [ 10 | ["upkdu|Gm:", "\x{1000}\x{1005}\x{102F}\x{102D}\x{1000}\x{101B}\x{1039}\x{101D}\x{102C}\x{1038}"], 11 | ], 12 | ); 13 | 14 | foreach $k (keys %tests) 15 | { 16 | $numtests++; 17 | $numtests += scalar (@{$tests{$k}}) * 2; 18 | } 19 | 20 | plan tests => $numtests; 21 | 22 | foreach $k (keys %tests) 23 | { 24 | $enc = Encode::TECkit->new("../../test/$k"); 25 | ok ($enc); 26 | foreach $t (@{$tests{$k}}) 27 | { 28 | $str = $enc->decode($t->[0]); 29 | ok ($str, $t->[1]); 30 | $str = $enc->encode($t->[1]); 31 | ok ($str, $t->[0]); 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /zlib-1.2.13/contrib/minizip/configure.ac: -------------------------------------------------------------------------------- 1 | # -*- Autoconf -*- 2 | # Process this file with autoconf to produce a configure script. 3 | 4 | AC_INIT([minizip], [1.2.13], [bugzilla.redhat.com]) 5 | AC_CONFIG_SRCDIR([minizip.c]) 6 | AM_INIT_AUTOMAKE([foreign]) 7 | LT_INIT 8 | 9 | AC_MSG_CHECKING([whether to build example programs]) 10 | AC_ARG_ENABLE([demos], AC_HELP_STRING([--enable-demos], [build example programs])) 11 | AM_CONDITIONAL([COND_DEMOS], [test "$enable_demos" = yes]) 12 | if test "$enable_demos" = yes 13 | then 14 | AC_MSG_RESULT([yes]) 15 | else 16 | AC_MSG_RESULT([no]) 17 | fi 18 | 19 | case "${host}" in 20 | *-mingw* | mingw*) 21 | WIN32="yes" 22 | ;; 23 | *) 24 | ;; 25 | esac 26 | AM_CONDITIONAL([WIN32], [test "${WIN32}" = "yes"]) 27 | 28 | 29 | AC_SUBST([HAVE_UNISTD_H], [0]) 30 | AC_CHECK_HEADER([unistd.h], [HAVE_UNISTD_H=1], []) 31 | AC_CONFIG_FILES([Makefile minizip.pc]) 32 | AC_OUTPUT 33 | -------------------------------------------------------------------------------- /source/teckitjni/MSDev/TecKitJni.cpp: -------------------------------------------------------------------------------- 1 | // TecKitJni.cpp : Defines the entry point for the DLL application. 2 | // 3 | 4 | #include "stdafx.h" 5 | #include "TecKitJni.h" 6 | 7 | BOOL APIENTRY DllMain( HANDLE hModule, 8 | DWORD ul_reason_for_call, 9 | LPVOID lpReserved 10 | ) 11 | { 12 | switch (ul_reason_for_call) 13 | { 14 | case DLL_PROCESS_ATTACH: 15 | case DLL_THREAD_ATTACH: 16 | case DLL_THREAD_DETACH: 17 | case DLL_PROCESS_DETACH: 18 | break; 19 | } 20 | return TRUE; 21 | } 22 | 23 | 24 | // This is an example of an exported variable 25 | TECKITJNI_API int nTecKitJni=0; 26 | 27 | // This is an example of an exported function. 28 | TECKITJNI_API int fnTecKitJni(void) 29 | { 30 | return 42; 31 | } 32 | 33 | // This is the constructor of a class that has been exported. 34 | // see TecKitJni.h for the class definition 35 | CTecKitJni::CTecKitJni() 36 | { 37 | return; 38 | } 39 | 40 | -------------------------------------------------------------------------------- /source/teckitjni/MSDev/TecKitJni.h: -------------------------------------------------------------------------------- 1 | 2 | // The following ifdef block is the standard way of creating macros which make exporting 3 | // from a DLL simpler. All files within this DLL are compiled with the TECKITJNI_EXPORTS 4 | // symbol defined on the command line. this symbol should not be defined on any project 5 | // that uses this DLL. This way any other project whose source files include this file see 6 | // TECKITJNI_API functions as being imported from a DLL, wheras this DLL sees symbols 7 | // defined with this macro as being exported. 8 | #ifdef TECKITJNI_EXPORTS 9 | #define TECKITJNI_API __declspec(dllexport) 10 | #else 11 | #define TECKITJNI_API __declspec(dllimport) 12 | #endif 13 | 14 | /* 15 | // This class is exported from the TecKitJni.dll 16 | class TECKITJNI_API CTecKitJni { 17 | public: 18 | CTecKitJni(void); 19 | // TODO: add your methods here. 20 | }; 21 | 22 | extern TECKITJNI_API int nTecKitJni; 23 | 24 | TECKITJNI_API int fnTecKitJni(void); 25 | 26 | */ -------------------------------------------------------------------------------- /mac-installer/create-pkg.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | # adjust this to newer version numbers 4 | VERSION="2.5.13" 5 | echo current version is: $VERSION 6 | 7 | sudo rm -rf ./Pkg 8 | 9 | mkdir -p ./Pkg/usr/local 10 | cp -p -R ../teckit-mac/* ./Pkg/usr/local 11 | 12 | mkdir -p ./Pkg/usr/local/include 13 | cp -p -R ../source/Public-headers/*.h ./Pkg/usr/local/include 14 | 15 | mkdir -p ./Img 16 | cp -p -R ../docs/*.pdf ./Img 17 | cp -p -R ../docs/*.odt ./Img 18 | cp -p -R ../docs/*.doc ./Img 19 | 20 | cp -p -R ../license ./Img 21 | 22 | sudo chown -R root:wheel ./Pkg/usr 23 | sudo chown -R $USER:staff ./Img 24 | sudo chmod -R a+rw ./Img 25 | 26 | /usr/bin/pkgbuild --identifier "org.sil.scripts.teckit" --analyze --root Pkg/ components.plist 27 | 28 | /usr/bin/pkgbuild --identifier "org.sil.scripts.teckit" --root Pkg/ --component-plist components.plist --version $VERSION Img/TECkit-$VERSION.pkg 29 | 30 | /usr/bin/hdiutil create -verbose -volname "TECkit" -srcdir Img/ -ov TECkit-$VERSION.dmg 31 | -------------------------------------------------------------------------------- /zlib-1.2.13/contrib/minizip/iowin32.h: -------------------------------------------------------------------------------- 1 | /* iowin32.h -- IO base function header for compress/uncompress .zip 2 | Version 1.1, February 14h, 2010 3 | part of the MiniZip project - ( http://www.winimage.com/zLibDll/minizip.html ) 4 | 5 | Copyright (C) 1998-2010 Gilles Vollant (minizip) ( http://www.winimage.com/zLibDll/minizip.html ) 6 | 7 | Modifications for Zip64 support 8 | Copyright (C) 2009-2010 Mathias Svensson ( http://result42.com ) 9 | 10 | For more info read MiniZip_info.txt 11 | 12 | */ 13 | 14 | #include 15 | 16 | 17 | #ifdef __cplusplus 18 | extern "C" { 19 | #endif 20 | 21 | void fill_win32_filefunc OF((zlib_filefunc_def* pzlib_filefunc_def)); 22 | void fill_win32_filefunc64 OF((zlib_filefunc64_def* pzlib_filefunc_def)); 23 | void fill_win32_filefunc64A OF((zlib_filefunc64_def* pzlib_filefunc_def)); 24 | void fill_win32_filefunc64W OF((zlib_filefunc64_def* pzlib_filefunc_def)); 25 | 26 | #ifdef __cplusplus 27 | } 28 | #endif 29 | -------------------------------------------------------------------------------- /SFconv/expat/xmlwf/xmltchar.h: -------------------------------------------------------------------------------- 1 | #ifdef XML_UNICODE 2 | #ifndef XML_UNICODE_WCHAR_T 3 | #error xmlwf requires a 16-bit Unicode-compatible wchar_t 4 | #endif 5 | #define T(x) L ## x 6 | #define ftprintf fwprintf 7 | #define tfopen _wfopen 8 | #define fputts fputws 9 | #define puttc putwc 10 | #define tcscmp wcscmp 11 | #define tcscpy wcscpy 12 | #define tcscat wcscat 13 | #define tcschr wcschr 14 | #define tcsrchr wcsrchr 15 | #define tcslen wcslen 16 | #define tperror _wperror 17 | #define topen _wopen 18 | #define tmain wmain 19 | #define tremove _wremove 20 | #else /* not XML_UNICODE */ 21 | #define T(x) x 22 | #define ftprintf fprintf 23 | #define tfopen fopen 24 | #define fputts fputs 25 | #define puttc putc 26 | #define tcscmp strcmp 27 | #define tcscpy strcpy 28 | #define tcscat strcat 29 | #define tcschr strchr 30 | #define tcsrchr strrchr 31 | #define tcslen strlen 32 | #define tperror perror 33 | #define topen open 34 | #define tmain main 35 | #define tremove remove 36 | #endif /* not XML_UNICODE */ 37 | -------------------------------------------------------------------------------- /docs/teckit_compile.1: -------------------------------------------------------------------------------- 1 | .TH TECKIT_COMPILE 1 "2015-11-14" "TECkit" 2 | .SH NAME 3 | teckit_compile \- manual page for command line error at --version 4 | .SH SYNOPSIS 5 | .B teckit_compile 6 | [\fI\,-u\/\fR] [\fI\,-x\/\fR] [\fI\,-z\/\fR] \fI\,mapping_description \/\fR[\fI\,-o compiled_table\/\fR] 7 | .SH OPTIONS 8 | Required argument: 9 | .IP 10 | \fBsource\fR mapping description (.map) file 11 | .PP 12 | Optional arguments: 13 | .TP 14 | .BR \fB\-o\fR file 15 | output compiled table (.tec) file ("\-" for stdout) 16 | .TP 17 | .BR \fB\-u\fR 18 | read source text as UTF8 even if no BOM found 19 | .TP 20 | .BR \fB\-x\fR 21 | generate XML representation rather than compiled table 22 | .TP 23 | .BR \fB\-z\fR 24 | generate uncompressed table format 25 | .SH Further Information 26 | For further information see the document TECkit_Tools.pdf. 27 | A description of the mapping description language used by the compiler, with examples, is found in TECkit_Language.pdf. 28 | On a Debian system, these can be found in /usr/share/doc/teckit. 29 | -------------------------------------------------------------------------------- /zlib-1.2.13/contrib/dotzlib/DotZLib.sln: -------------------------------------------------------------------------------- 1 | Microsoft Visual Studio Solution File, Format Version 8.00 2 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DotZLib", "DotZLib\DotZLib.csproj", "{BB1EE0B1-1808-46CB-B786-949D91117FC5}" 3 | ProjectSection(ProjectDependencies) = postProject 4 | EndProjectSection 5 | EndProject 6 | Global 7 | GlobalSection(SolutionConfiguration) = preSolution 8 | Debug = Debug 9 | Release = Release 10 | EndGlobalSection 11 | GlobalSection(ProjectConfiguration) = postSolution 12 | {BB1EE0B1-1808-46CB-B786-949D91117FC5}.Debug.ActiveCfg = Debug|.NET 13 | {BB1EE0B1-1808-46CB-B786-949D91117FC5}.Debug.Build.0 = Debug|.NET 14 | {BB1EE0B1-1808-46CB-B786-949D91117FC5}.Release.ActiveCfg = Release|.NET 15 | {BB1EE0B1-1808-46CB-B786-949D91117FC5}.Release.Build.0 = Release|.NET 16 | EndGlobalSection 17 | GlobalSection(ExtensibilityGlobals) = postSolution 18 | EndGlobalSection 19 | GlobalSection(ExtensibilityAddIns) = postSolution 20 | EndGlobalSection 21 | EndGlobal 22 | -------------------------------------------------------------------------------- /mac-installer/Resources/Welcome.rtf: -------------------------------------------------------------------------------- 1 | {\rtf1\mac\ansicpg10000\cocoartf824\cocoasubrtf470 2 | {\fonttbl\f0\fnil\fcharset77 LucidaGrande;} 3 | {\colortbl;\red255\green255\blue255;\red128\green0\blue0;\red0\green0\blue128;} 4 | \paperw11900\paperh16840\margl1440\margr1440\vieww11760\viewh14040\viewkind0 5 | \pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\ql\qnatural 6 | 7 | \f0\fs22 \cf2 for version 2.5.13\cf0 \ 8 | \ 9 | Written by: Jonathan Kew for SIL Global\ 10 | \pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\ql\qnatural 11 | Contact: \cf3 nrsi@sil.org\cf0 \ 12 | \ 13 | This will install TECkit, a library for text encoding conversion, into \cf2 /usr/local/lib\cf0 (with header files in \cf2 /usr/local/include/teckit\cf0 ), and the command-line tools \cf2 teckit_compile\cf0 , \cf2 txtconv\cf0 and \cf2 sfconv\cf0 into \cf2 /usr/local/bin\cf0 . Documentation will be placed in \cf2 /Documents\cf0 .\ 14 | \ 15 | Copyright \'a92002-2025 SIL Global.\ 16 | } 17 | -------------------------------------------------------------------------------- /zlib-1.2.13/old/os2/zlib.def: -------------------------------------------------------------------------------- 1 | ; 2 | ; Slightly modified version of ../nt/zlib.dnt :-) 3 | ; 4 | 5 | LIBRARY Z 6 | DESCRIPTION "Zlib compression library for OS/2" 7 | CODE PRELOAD MOVEABLE DISCARDABLE 8 | DATA PRELOAD MOVEABLE MULTIPLE 9 | 10 | EXPORTS 11 | adler32 12 | compress 13 | crc32 14 | deflate 15 | deflateCopy 16 | deflateEnd 17 | deflateInit2_ 18 | deflateInit_ 19 | deflateParams 20 | deflateReset 21 | deflateSetDictionary 22 | gzclose 23 | gzdopen 24 | gzerror 25 | gzflush 26 | gzopen 27 | gzread 28 | gzwrite 29 | inflate 30 | inflateEnd 31 | inflateInit2_ 32 | inflateInit_ 33 | inflateReset 34 | inflateSetDictionary 35 | inflateSync 36 | uncompress 37 | zlibVersion 38 | gzprintf 39 | gzputc 40 | gzgetc 41 | gzseek 42 | gzrewind 43 | gztell 44 | gzeof 45 | gzsetparams 46 | zError 47 | inflateSyncPoint 48 | get_crc_table 49 | compress2 50 | gzputs 51 | gzgets 52 | -------------------------------------------------------------------------------- /zlib-1.2.13/contrib/minizip/make_vms.com: -------------------------------------------------------------------------------- 1 | $ if f$search("ioapi.h_orig") .eqs. "" then copy ioapi.h ioapi.h_orig 2 | $ open/write zdef vmsdefs.h 3 | $ copy sys$input: zdef 4 | $ deck 5 | #define unix 6 | #define fill_zlib_filefunc64_32_def_from_filefunc32 fillzffunc64from 7 | #define Write_Zip64EndOfCentralDirectoryLocator Write_Zip64EoDLocator 8 | #define Write_Zip64EndOfCentralDirectoryRecord Write_Zip64EoDRecord 9 | #define Write_EndOfCentralDirectoryRecord Write_EoDRecord 10 | $ eod 11 | $ close zdef 12 | $ copy vmsdefs.h,ioapi.h_orig ioapi.h 13 | $ cc/include=[--]/prefix=all ioapi.c 14 | $ cc/include=[--]/prefix=all miniunz.c 15 | $ cc/include=[--]/prefix=all unzip.c 16 | $ cc/include=[--]/prefix=all minizip.c 17 | $ cc/include=[--]/prefix=all zip.c 18 | $ link miniunz,unzip,ioapi,[--]libz.olb/lib 19 | $ link minizip,zip,ioapi,[--]libz.olb/lib 20 | $ mcr []minizip test minizip_info.txt 21 | $ mcr []miniunz -l test.zip 22 | $ rename minizip_info.txt; minizip_info.txt_old 23 | $ mcr []miniunz test.zip 24 | $ delete test.zip;* 25 | $exit 26 | -------------------------------------------------------------------------------- /.github/workflows/arches.yml: -------------------------------------------------------------------------------- 1 | name: TECKit non-x86 2 | 3 | on: 4 | push: 5 | branches: [ master ] 6 | paths-ignore: 7 | - '.github/workflow/**' 8 | - '.gitignore' 9 | - 'AUTHORS' 10 | - 'COPYING' 11 | - 'ChangeLog' 12 | - 'INSTALL' 13 | - 'NEWS' 14 | - 'README*' 15 | pull_request: 16 | branches: [ master ] 17 | paths-ignore: 18 | - '.github/workflow/**' 19 | - '.gitignore' 20 | - 'AUTHORS' 21 | - 'COPYING' 22 | - 'ChangeLog' 23 | - 'INSTALL' 24 | - 'NEWS' 25 | - 'README*' 26 | 27 | jobs: 28 | arches: 29 | runs-on: ubuntu-latest 30 | strategy: 31 | fail-fast: false 32 | matrix: 33 | arch: [aarch64, ppc64le, s390x] 34 | steps: 35 | - uses: actions/checkout@v4 36 | - uses: uraimo/run-on-arch-action@v3 37 | id: build 38 | with: 39 | arch: ${{ matrix.arch }} 40 | distro: alpine_latest 41 | run: | 42 | uname -a 43 | ./autogen.sh 44 | ./build-linux-binaries.sh 45 | -------------------------------------------------------------------------------- /zlib-1.2.13/contrib/vstudio/vc10/miniunz.vcxproj.filters: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | {048af943-022b-4db6-beeb-a54c34774ee2} 6 | cpp;c;cxx;def;odl;idl;hpj;bat 7 | 8 | 9 | {c1d600d2-888f-4aea-b73e-8b0dd9befa0c} 10 | h;hpp;hxx;hm;inl;inc 11 | 12 | 13 | {0844199a-966b-4f19-81db-1e0125e141b9} 14 | rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe 15 | 16 | 17 | 18 | 19 | Source Files 20 | 21 | 22 | -------------------------------------------------------------------------------- /zlib-1.2.13/contrib/vstudio/vc10/minizip.vcxproj.filters: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | {c0419b40-bf50-40da-b153-ff74215b79de} 6 | cpp;c;cxx;def;odl;idl;hpj;bat 7 | 8 | 9 | {bb87b070-735b-478e-92ce-7383abb2f36c} 10 | h;hpp;hxx;hm;inl;inc 11 | 12 | 13 | {f46ab6a6-548f-43cb-ae96-681abb5bd5db} 14 | rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe 15 | 16 | 17 | 18 | 19 | Source Files 20 | 21 | 22 | -------------------------------------------------------------------------------- /zlib-1.2.13/contrib/minizip/Makefile.am: -------------------------------------------------------------------------------- 1 | lib_LTLIBRARIES = libminizip.la 2 | 3 | if COND_DEMOS 4 | bin_PROGRAMS = miniunzip minizip 5 | endif 6 | 7 | zlib_top_srcdir = $(top_srcdir)/../.. 8 | zlib_top_builddir = $(top_builddir)/../.. 9 | 10 | AM_CPPFLAGS = -I$(zlib_top_srcdir) 11 | AM_LDFLAGS = -L$(zlib_top_builddir) 12 | 13 | if WIN32 14 | iowin32_src = iowin32.c 15 | iowin32_h = iowin32.h 16 | endif 17 | 18 | libminizip_la_SOURCES = \ 19 | ioapi.c \ 20 | mztools.c \ 21 | unzip.c \ 22 | zip.c \ 23 | ${iowin32_src} 24 | 25 | libminizip_la_LDFLAGS = $(AM_LDFLAGS) -version-info 1:0:0 -lz 26 | 27 | minizip_includedir = $(includedir)/minizip 28 | minizip_include_HEADERS = \ 29 | crypt.h \ 30 | ioapi.h \ 31 | mztools.h \ 32 | unzip.h \ 33 | zip.h \ 34 | ${iowin32_h} 35 | 36 | pkgconfigdir = $(libdir)/pkgconfig 37 | pkgconfig_DATA = minizip.pc 38 | 39 | EXTRA_PROGRAMS = miniunzip minizip 40 | 41 | miniunzip_SOURCES = miniunz.c 42 | miniunzip_LDADD = libminizip.la 43 | 44 | minizip_SOURCES = minizip.c 45 | minizip_LDADD = libminizip.la -lz 46 | -------------------------------------------------------------------------------- /zlib-1.2.13/contrib/vstudio/vc10/testzlibdll.vcxproj.filters: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | {fa61a89f-93fc-4c89-b29e-36224b7592f4} 6 | cpp;c;cxx;def;odl;idl;hpj;bat 7 | 8 | 9 | {d4b85da0-2ba2-4934-b57f-e2584e3848ee} 10 | h;hpp;hxx;hm;inl;inc 11 | 12 | 13 | {e573e075-00bd-4a7d-bd67-a8cc9bfc5aca} 14 | rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe 15 | 16 | 17 | 18 | 19 | Source Files 20 | 21 | 22 | -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- 1 | language: cpp 2 | os: linux 3 | dist: bionic 4 | compiler: 5 | - gcc 6 | - clang 7 | arch: 8 | - amd64 9 | - arm64 10 | - ppc64le 11 | - s390x 12 | script: 13 | - ./autogen.sh 14 | - ./build-linux-binaries.sh 15 | 16 | jobs: 17 | include: 18 | - os: linux 19 | dist: bionic 20 | name: "Windows" 21 | script: 22 | - ./autogen.sh 23 | - ./build-windows-binaries.sh 24 | - ./build-windows-package.sh 25 | - os: linux 26 | dist: bionic 27 | name: "Ubuntu package" 28 | script: 29 | - ./autogen.sh 30 | - ./build-linux-package.sh -us -uc 31 | - os: osx 32 | name: "macOS" 33 | script: 34 | - ./autogen.sh 35 | - ./build-mac-binaries.sh 36 | 37 | addons: 38 | apt: 39 | packages: 40 | # For Debian packaging 41 | - devscripts 42 | - fakeroot 43 | - build-essential 44 | - debhelper 45 | - cdbs 46 | # For cross-compiling Windows executables 47 | - mingw-w64 48 | - dos2unix 49 | - groff 50 | -------------------------------------------------------------------------------- /zlib-1.2.13/contrib/vstudio/vc12/zlib.rc: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | #define IDR_VERSION1 1 4 | IDR_VERSION1 VERSIONINFO MOVEABLE IMPURE LOADONCALL DISCARDABLE 5 | FILEVERSION 1, 2, 13, 0 6 | PRODUCTVERSION 1, 2, 13, 0 7 | FILEFLAGSMASK VS_FFI_FILEFLAGSMASK 8 | FILEFLAGS 0 9 | FILEOS VOS_DOS_WINDOWS32 10 | FILETYPE VFT_DLL 11 | FILESUBTYPE 0 // not used 12 | BEGIN 13 | BLOCK "StringFileInfo" 14 | BEGIN 15 | BLOCK "040904E4" 16 | //language ID = U.S. English, char set = Windows, Multilingual 17 | 18 | BEGIN 19 | VALUE "FileDescription", "zlib data compression and ZIP file I/O library\0" 20 | VALUE "FileVersion", "1.2.13\0" 21 | VALUE "InternalName", "zlib\0" 22 | VALUE "OriginalFilename", "zlibwapi.dll\0" 23 | VALUE "ProductName", "ZLib.DLL\0" 24 | VALUE "Comments","DLL support by Alessandro Iacopetti & Gilles Vollant\0" 25 | VALUE "LegalCopyright", "(C) 1995-2022 Jean-loup Gailly & Mark Adler\0" 26 | END 27 | END 28 | BLOCK "VarFileInfo" 29 | BEGIN 30 | VALUE "Translation", 0x0409, 1252 31 | END 32 | END 33 | -------------------------------------------------------------------------------- /zlib-1.2.13/contrib/vstudio/vc14/zlib.rc: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | #define IDR_VERSION1 1 4 | IDR_VERSION1 VERSIONINFO MOVEABLE IMPURE LOADONCALL DISCARDABLE 5 | FILEVERSION 1, 2, 13, 0 6 | PRODUCTVERSION 1, 2, 13, 0 7 | FILEFLAGSMASK VS_FFI_FILEFLAGSMASK 8 | FILEFLAGS 0 9 | FILEOS VOS_DOS_WINDOWS32 10 | FILETYPE VFT_DLL 11 | FILESUBTYPE 0 // not used 12 | BEGIN 13 | BLOCK "StringFileInfo" 14 | BEGIN 15 | BLOCK "040904E4" 16 | //language ID = U.S. English, char set = Windows, Multilingual 17 | 18 | BEGIN 19 | VALUE "FileDescription", "zlib data compression and ZIP file I/O library\0" 20 | VALUE "FileVersion", "1.2.13\0" 21 | VALUE "InternalName", "zlib\0" 22 | VALUE "OriginalFilename", "zlibwapi.dll\0" 23 | VALUE "ProductName", "ZLib.DLL\0" 24 | VALUE "Comments","DLL support by Alessandro Iacopetti & Gilles Vollant\0" 25 | VALUE "LegalCopyright", "(C) 1995-2022 Jean-loup Gailly & Mark Adler\0" 26 | END 27 | END 28 | BLOCK "VarFileInfo" 29 | BEGIN 30 | VALUE "Translation", 0x0409, 1252 31 | END 32 | END 33 | -------------------------------------------------------------------------------- /zlib-1.2.13/LICENSE: -------------------------------------------------------------------------------- 1 | Copyright notice: 2 | 3 | (C) 1995-2022 Jean-loup Gailly and Mark Adler 4 | 5 | This software is provided 'as-is', without any express or implied 6 | warranty. In no event will the authors be held liable for any damages 7 | arising from the use of this software. 8 | 9 | Permission is granted to anyone to use this software for any purpose, 10 | including commercial applications, and to alter it and redistribute it 11 | freely, subject to the following restrictions: 12 | 13 | 1. The origin of this software must not be misrepresented; you must not 14 | claim that you wrote the original software. If you use this software 15 | in a product, an acknowledgment in the product documentation would be 16 | appreciated but is not required. 17 | 2. Altered source versions must be plainly marked as such, and must not be 18 | misrepresented as being the original software. 19 | 3. This notice may not be removed or altered from any source distribution. 20 | 21 | Jean-loup Gailly Mark Adler 22 | jloup@gzip.org madler@alumni.caltech.edu 23 | -------------------------------------------------------------------------------- /mac-installer/Resources/License.rtf: -------------------------------------------------------------------------------- 1 | {\rtf1\mac\ansicpg10000\cocoartf824\cocoasubrtf470 2 | {\fonttbl\f0\fnil\fcharset77 LucidaGrande-Bold;\f1\fnil\fcharset77 LucidaGrande;} 3 | {\colortbl;\red255\green255\blue255;\red12\green12\blue12;} 4 | \paperw11900\paperh16840\margl1440\margr1440\vieww12220\viewh15900\viewkind0 5 | \pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\ql\qnatural 6 | 7 | \f0\b\fs28 \cf0 TECkit license\ 8 | \pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\ql\qnatural 9 | 10 | \f1\b0\fs22 \cf0 \ 11 | \pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\ql\qnatural 12 | \cf2 TECkit is copyright\'ca\'a92002-2025 by SIL Global.\ 13 | \ 14 | This software is copyright by SIL Global. However, in the spirit of academic community, we do grant users of the software the right to share it freely with their colleagues, provided this is not done for commercial gain. The software distributed in this way may represent work in progress, and bears no warranty, either expressed or implied. \ 15 | } 16 | -------------------------------------------------------------------------------- /zlib-1.2.13/contrib/vstudio/vc10/zlib.rc: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | #define IDR_VERSION1 1 4 | IDR_VERSION1 VERSIONINFO MOVEABLE IMPURE LOADONCALL DISCARDABLE 5 | FILEVERSION 1, 2, 13, 0 6 | PRODUCTVERSION 1, 2, 13, 0 7 | FILEFLAGSMASK VS_FFI_FILEFLAGSMASK 8 | FILEFLAGS 0 9 | FILEOS VOS_DOS_WINDOWS32 10 | FILETYPE VFT_DLL 11 | FILESUBTYPE 0 // not used 12 | BEGIN 13 | BLOCK "StringFileInfo" 14 | BEGIN 15 | BLOCK "040904E4" 16 | //language ID = U.S. English, char set = Windows, Multilingual 17 | 18 | BEGIN 19 | VALUE "FileDescription", "zlib data compression and ZIP file I/O library\0" 20 | VALUE "FileVersion", "1.2.13\0" 21 | VALUE "InternalName", "zlib\0" 22 | VALUE "OriginalFilename", "zlibwapi.dll\0" 23 | VALUE "ProductName", "ZLib.DLL\0" 24 | VALUE "Comments","DLL support by Alessandro Iacopetti & Gilles Vollant\0" 25 | VALUE "LegalCopyright", "(C) 1995-2022 Jean-loup Gailly & Mark Adler\0" 26 | END 27 | END 28 | BLOCK "VarFileInfo" 29 | BEGIN 30 | VALUE "Translation", 0x0409, 1252 31 | END 32 | END 33 | -------------------------------------------------------------------------------- /zlib-1.2.13/contrib/vstudio/vc11/zlib.rc: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | #define IDR_VERSION1 1 4 | IDR_VERSION1 VERSIONINFO MOVEABLE IMPURE LOADONCALL DISCARDABLE 5 | FILEVERSION 1, 2, 13, 0 6 | PRODUCTVERSION 1, 2, 13, 0 7 | FILEFLAGSMASK VS_FFI_FILEFLAGSMASK 8 | FILEFLAGS 0 9 | FILEOS VOS_DOS_WINDOWS32 10 | FILETYPE VFT_DLL 11 | FILESUBTYPE 0 // not used 12 | BEGIN 13 | BLOCK "StringFileInfo" 14 | BEGIN 15 | BLOCK "040904E4" 16 | //language ID = U.S. English, char set = Windows, Multilingual 17 | 18 | BEGIN 19 | VALUE "FileDescription", "zlib data compression and ZIP file I/O library\0" 20 | VALUE "FileVersion", "1.2.13\0" 21 | VALUE "InternalName", "zlib\0" 22 | VALUE "OriginalFilename", "zlibwapi.dll\0" 23 | VALUE "ProductName", "ZLib.DLL\0" 24 | VALUE "Comments","DLL support by Alessandro Iacopetti & Gilles Vollant\0" 25 | VALUE "LegalCopyright", "(C) 1995-2022 Jean-loup Gailly & Mark Adler\0" 26 | END 27 | END 28 | BLOCK "VarFileInfo" 29 | BEGIN 30 | VALUE "Translation", 0x0409, 1252 31 | END 32 | END 33 | -------------------------------------------------------------------------------- /zlib-1.2.13/contrib/vstudio/vc9/zlib.rc: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | #define IDR_VERSION1 1 4 | IDR_VERSION1 VERSIONINFO MOVEABLE IMPURE LOADONCALL DISCARDABLE 5 | FILEVERSION 1, 2, 13, 0 6 | PRODUCTVERSION 1, 2, 13, 0 7 | FILEFLAGSMASK VS_FFI_FILEFLAGSMASK 8 | FILEFLAGS 0 9 | FILEOS VOS_DOS_WINDOWS32 10 | FILETYPE VFT_DLL 11 | FILESUBTYPE 0 // not used 12 | BEGIN 13 | BLOCK "StringFileInfo" 14 | BEGIN 15 | BLOCK "040904E4" 16 | //language ID = U.S. English, char set = Windows, Multilingual 17 | 18 | BEGIN 19 | VALUE "FileDescription", "zlib data compression and ZIP file I/O library\0" 20 | VALUE "FileVersion", "1.2.13\0" 21 | VALUE "InternalName", "zlib\0" 22 | VALUE "OriginalFilename", "zlibwapi.dll\0" 23 | VALUE "ProductName", "ZLib.DLL\0" 24 | VALUE "Comments","DLL support by Alessandro Iacopetti & Gilles Vollant\0" 25 | VALUE "LegalCopyright", "(C) 1995-2022 Jean-loup Gailly & Mark Adler\0" 26 | END 27 | END 28 | BLOCK "VarFileInfo" 29 | BEGIN 30 | VALUE "Translation", 0x0409, 1252 31 | END 32 | END 33 | -------------------------------------------------------------------------------- /SFconv/expat/xmltok/makefile.win: -------------------------------------------------------------------------------- 1 | #!gmake 2 | # 3 | # The contents of this file are subject to the Netscape Public 4 | # License Version 1.1 (the "License"); you may not use this file 5 | # except in compliance with the License. You may obtain a copy of 6 | # the License at http://www.mozilla.org/NPL/ 7 | # 8 | # Software distributed under the License is distributed on an "AS 9 | # IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or 10 | # implied. See the License for the specific language governing 11 | # rights and limitations under the License. 12 | # 13 | # The Original Code is mozilla.org code. 14 | # 15 | # The Initial Developer of the Original Code is Netscape 16 | # Communications Corporation. Portions created by Netscape are 17 | # Copyright (C) 1998 Netscape Communications Corporation. All 18 | # Rights Reserved. 19 | # 20 | # Contributor(s): 21 | 22 | # 23 | 24 | DEPTH= ..\.. 25 | 26 | CPPSRCS= \ 27 | xmltok.c \ 28 | xmlrole.c \ 29 | $(NULL) 30 | 31 | CPP_OBJS= \ 32 | .\$(OBJDIR)\xmltok.obj \ 33 | .\$(OBJDIR)\xmlrole.obj \ 34 | $(NULL) 35 | 36 | include <$(DEPTH)\config\rules.mak> 37 | 38 | install:: $(OBJDIR) $(OBJS) 39 | -------------------------------------------------------------------------------- /source/version_defs.h: -------------------------------------------------------------------------------- 1 | /*------------------------------------------------------------------------ 2 | Copyright (c) 2008-2025 SIL Global. All rights reserved. 3 | 4 | Distributable under the terms of either the Common Public License or the 5 | GNU Lesser General Public License, as specified in the LICENSING.txt file. 6 | ------------------------------------------------------------------------*/ 7 | 8 | // version_defs.h -- common pieces included in all the version resources 9 | 10 | #include 11 | 12 | // version numbers that should be updated for each release 13 | #define VER_FILEVERSION 2,5,13,0 14 | #define VER_FILEVERSION_STR "2.5.13.0\0" 15 | 16 | #define VER_PRODUCTVERSION 2,5,13,0 17 | #define VER_PRODUCTVERSION_STR "2.5.13\0" 18 | 19 | // constants used in all the binaries, shouldn't need changing (until next year) 20 | #define VER_COMPANY_NAME_STR "SIL Global\0" 21 | #define VER_COPYRIGHT_STR "Copyright (c) 2002-2025\0" 22 | #define VER_PRODUCT_NAME_STR "TECkit core\0" 23 | 24 | #ifndef DEBUG 25 | #define VER_DEBUG 0 26 | #else 27 | #define VER_DEBUG VS_FF_DEBUG 28 | #endif 29 | 30 | -------------------------------------------------------------------------------- /source/Sample-tools/version_defs.h: -------------------------------------------------------------------------------- 1 | /*------------------------------------------------------------------------ 2 | Copyright (c) 2008-2025 SIL Global. All rights reserved. 3 | 4 | Distributable under the terms of either the Common Public License or the 5 | GNU Lesser General Public License, as specified in the LICENSING.txt file. 6 | ------------------------------------------------------------------------*/ 7 | 8 | // version_defs.h -- common pieces included in all the version resources 9 | 10 | #include 11 | 12 | // version numbers that should be updated for each release 13 | #define VER_FILEVERSION 2,5,13,0 14 | #define VER_FILEVERSION_STR "2.5.13.0\0" 15 | 16 | #define VER_PRODUCTVERSION 2,5,13,0 17 | #define VER_PRODUCTVERSION_STR "2.5.13\0" 18 | 19 | // constants used in all the binaries, shouldn't need changing (until next year) 20 | #define VER_COMPANY_NAME_STR "SIL Global\0" 21 | #define VER_COPYRIGHT_STR "Copyright (c) 2002-2025\0" 22 | #define VER_PRODUCT_NAME_STR "TECkit basic tools\0" 23 | 24 | #ifndef DEBUG 25 | #define VER_DEBUG 0 26 | #else 27 | #define VER_DEBUG VS_FF_DEBUG 28 | #endif 29 | 30 | -------------------------------------------------------------------------------- /autogen.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | echo "*** Recreating libtool files" 4 | if [ "$LIBTOOLIZE" = "" ] && [ "`uname`" = "Darwin" ]; then 5 | if command -v "glibtoolize" > /dev/null; then 6 | LIBTOOLIZE=glibtoolize 7 | $LIBTOOLIZE -f -c; 8 | elif command -v "libtoolize" > /dev/null; then 9 | LIBTOOLIZE=libtoolize 10 | $LIBTOOLIZE -f -c; 11 | else 12 | echo "DIST: line $LINENO: command libtoolize or glibtoolize not found" 13 | exit 1 14 | fi 15 | fi 16 | 17 | if [ "$LIBTOOLIZE" = "" ] && [ "`uname`" = "Linux" ]; then 18 | if command -v "libtoolize" > /dev/null; then 19 | LIBTOOLIZE=libtoolize 20 | $LIBTOOLIZE -f -c; 21 | else 22 | echo "DIST: line $LINENO: command libtoolize not found" 23 | exit 1 24 | fi 25 | fi 26 | 27 | echo "*** Recreating aclocal.m4" 28 | ACLOCAL="$AUTODIR""aclocal" 29 | echo "$ACLOCAL" 30 | $ACLOCAL -I .; 31 | 32 | echo "*** Recreating configure" 33 | AUTOCONF="$AUTODIR""autoconf" 34 | AUTOHEAD="$AUTODIR""autoheader" 35 | $AUTOHEAD ; 36 | $AUTOCONF; 37 | 38 | echo "*** Recreating the Makefile.in files" 39 | AUTOMAKE="$AUTODIR""automake" 40 | $AUTOMAKE --foreign -a -c; 41 | 42 | -------------------------------------------------------------------------------- /SFconv/expat/xmltok/Makefile.in: -------------------------------------------------------------------------------- 1 | # 2 | # The contents of this file are subject to the Netscape Public 3 | # License Version 1.1 (the "License"); you may not use this file 4 | # except in compliance with the License. You may obtain a copy of 5 | # the License at http://www.mozilla.org/NPL/ 6 | # 7 | # Software distributed under the License is distributed on an "AS 8 | # IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or 9 | # implied. See the License for the specific language governing 10 | # rights and limitations under the License. 11 | # 12 | # The Original Code is mozilla.org code. 13 | # 14 | # The Initial Developer of the Original Code is Netscape 15 | # Communications Corporation. Portions created by Netscape are 16 | # Copyright (C) 1998 Netscape Communications Corporation. All 17 | # Rights Reserved. 18 | # 19 | # Contributor(s): 20 | # 21 | 22 | DEPTH = ../.. 23 | topsrcdir = @top_srcdir@ 24 | srcdir = @srcdir@ 25 | VPATH = @srcdir@ 26 | 27 | include $(DEPTH)/config/autoconf.mk 28 | 29 | MODULE = expat 30 | LIBRARY_NAME = xmltok_s 31 | 32 | CSRCS = \ 33 | xmltok.c \ 34 | xmlrole.c \ 35 | $(NULL) 36 | 37 | # We want only the static lib, not the shared lib 38 | override NO_SHARED_LIB=1 39 | override NO_STATIC_LIB= 40 | 41 | include $(topsrcdir)/config/rules.mk 42 | -------------------------------------------------------------------------------- /zlib-1.2.13/win32/zlib1.rc: -------------------------------------------------------------------------------- 1 | #include 2 | #include "../zlib.h" 3 | 4 | #ifdef GCC_WINDRES 5 | VS_VERSION_INFO VERSIONINFO 6 | #else 7 | VS_VERSION_INFO VERSIONINFO MOVEABLE IMPURE LOADONCALL DISCARDABLE 8 | #endif 9 | FILEVERSION ZLIB_VER_MAJOR,ZLIB_VER_MINOR,ZLIB_VER_REVISION,0 10 | PRODUCTVERSION ZLIB_VER_MAJOR,ZLIB_VER_MINOR,ZLIB_VER_REVISION,0 11 | FILEFLAGSMASK VS_FFI_FILEFLAGSMASK 12 | #ifdef _DEBUG 13 | FILEFLAGS 1 14 | #else 15 | FILEFLAGS 0 16 | #endif 17 | FILEOS VOS__WINDOWS32 18 | FILETYPE VFT_DLL 19 | FILESUBTYPE 0 // not used 20 | BEGIN 21 | BLOCK "StringFileInfo" 22 | BEGIN 23 | BLOCK "040904E4" 24 | //language ID = U.S. English, char set = Windows, Multilingual 25 | BEGIN 26 | VALUE "FileDescription", "zlib data compression library\0" 27 | VALUE "FileVersion", ZLIB_VERSION "\0" 28 | VALUE "InternalName", "zlib1.dll\0" 29 | VALUE "LegalCopyright", "(C) 1995-2022 Jean-loup Gailly & Mark Adler\0" 30 | VALUE "OriginalFilename", "zlib1.dll\0" 31 | VALUE "ProductName", "zlib\0" 32 | VALUE "ProductVersion", ZLIB_VERSION "\0" 33 | VALUE "Comments", "For more information visit http://www.zlib.net/\0" 34 | END 35 | END 36 | BLOCK "VarFileInfo" 37 | BEGIN 38 | VALUE "Translation", 0x0409, 1252 39 | END 40 | END 41 | -------------------------------------------------------------------------------- /zlib-1.2.13/contrib/dotzlib/DotZLib.build: -------------------------------------------------------------------------------- 1 | 2 | 3 | A .Net wrapper library around ZLib1.dll 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | -------------------------------------------------------------------------------- /debian-src/rules: -------------------------------------------------------------------------------- 1 | #!/usr/bin/make -f 2 | 3 | DEB_TAR_SRCDIR := teckit-2.5.12 4 | 5 | include /usr/share/cdbs/1/rules/tarball.mk 6 | 7 | DEB_CONFIGURE_EXTRA_FLAGS += --libdir=\$${prefix}/lib/$(DEB_HOST_MULTIARCH) 8 | 9 | common-install-arch:: $(patsubst %.in,%,$(wildcard debian/*.install.in)) 10 | # Remove this when Perl versions <5.20 are gone (Ubuntu vivid onwards) 11 | if [ ! -d /usr/lib/$(DEB_HOST_MULTIARCH)/perl5 ]; then \ 12 | sed -i 's/\*\///g' debian/libteckit-perl.install; \ 13 | fi 14 | 15 | include /usr/share/cdbs/1/rules/debhelper.mk 16 | include /usr/share/cdbs/1/class/autotools.mk 17 | 18 | # DEB_INSTALL_DOCS_teckit += ../../docs/TECkit_Binary_Format.pdf 19 | # DEB_INSTALL_DOCS_teckit += ../../docs/TECkit_Language.pdf 20 | # DEB_INSTALL_DOCS_teckit += ../../docs/TECkit_Tools.pdf 21 | DEB_INSTALL_MANPAGES_teckit += debian/tmp/usr/share/man/man1/teckit_compile.1 22 | DEB_INSTALL_MANPAGES_teckit += debian/tmp/usr/share/man/man1/txtconv.1 23 | DEB_INSTALL_MANPAGES_teckit += debian/tmp/usr/share/man/man1/sfconv.1 24 | DEB_DH_SHLIBDEPS_ARGS_teckit := -lteckit 25 | 26 | build/libteckit-perl :: 27 | cd $(DEB_SRCDIR)/source/Perl ; perl Makefile.PL INSTALLDIRS=vendor 28 | cd $(DEB_SRCDIR)/source/Perl ; $(MAKE) OPTIMIZE="-O2 -g -Wall" 29 | 30 | install/libteckit-perl :: 31 | cd $(DEB_SRCDIR)/source/Perl ; $(MAKE) install DESTDIR=$(CURDIR)/debian/tmp 32 | -------------------------------------------------------------------------------- /source/teckitjni/src/TecKitJni.h: -------------------------------------------------------------------------------- 1 | /* 2 | ------------------------------------------------------------------------ 3 | Copyright (C) 2002-2004 Keith Stribley 4 | 5 | Distributable under the terms of either the Common Public License or the 6 | GNU Lesser General Public License, as specified in the LICENSING.txt file. 7 | 8 | File: TecKitJni.h 9 | Responsibility: Keith Stribley 10 | Last reviewed: Not yet. 11 | 12 | Description: 13 | Implements a JNI interface to the TECkit conversion engine. 14 | -------------------------------------------------------------------------*/ 15 | 16 | #pragma once 17 | 18 | #include "TECkit_Engine.h" 19 | 20 | class TecKitJni 21 | { 22 | public: 23 | TecKitJni(); 24 | ~TecKitJni() ; 25 | bool openMapping(const char * fileName, bool toUnicode); 26 | bool openMapping(const char* fileName, bool toUnicode, UInt16 sourceForm, UInt16 targetForm); 27 | char * convert(const char * input); 28 | char * convert(const char* input, UInt32 inLength); 29 | void flush(); 30 | Byte * getOutputBuffer() { return outputBuffer;}; 31 | UInt32 getOutputLength() { return outputLength;}; 32 | private: 33 | TECkit_Converter converter; 34 | bool toUnicode; 35 | Byte * mapBuffer; 36 | Byte * outputBuffer; 37 | UInt32 outputLength; 38 | UInt32 maxOutputLength; 39 | char * inputBuffer; 40 | UInt32 maxInputLength; 41 | }; 42 | -------------------------------------------------------------------------------- /mac-installer/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleGetInfoString 6 | 2.5.13, copyright © 2002-2025 SIL Global 7 | CFBundleIdentifier 8 | org.sil.nrsi.teckit 9 | CFBundleShortVersionString 10 | 2.5.13 11 | IFMajorVersion 12 | 2 13 | IFMinorVersion 14 | 5 15 | IFPkgFlagAllowBackRev 16 | 17 | IFPkgFlagAuthorizationAction 18 | AdminAuthorization 19 | IFPkgFlagBackgroundAlignment 20 | topleft 21 | IFPkgFlagBackgroundScaling 22 | none 23 | IFPkgFlagDefaultLocation 24 | / 25 | IFPkgFlagFollowLinks 26 | 27 | IFPkgFlagInstallFat 28 | 29 | IFPkgFlagIsRequired 30 | 31 | IFPkgFlagOverwritePermissions 32 | 33 | IFPkgFlagRelocatable 34 | 35 | IFPkgFlagRestartAction 36 | NoRestart 37 | IFPkgFlagRootVolumeOnly 38 | 39 | IFPkgFlagUpdateInstalledLanguages 40 | 41 | 42 | 43 | -------------------------------------------------------------------------------- /source/teckitjni/src/org_sil_scripts_teckit_TecKitJni.h: -------------------------------------------------------------------------------- 1 | /* DO NOT EDIT THIS FILE - it is machine generated */ 2 | #include 3 | /* Header for class org_sil_scripts_teckit_TecKitJni */ 4 | 5 | #ifndef _Included_org_sil_scripts_teckit_TecKitJni 6 | #define _Included_org_sil_scripts_teckit_TecKitJni 7 | #ifdef __cplusplus 8 | extern "C" { 9 | #endif 10 | /* 11 | * Class: org_sil_scripts_teckit_TecKitJni 12 | * Method: createConverter 13 | * Signature: (Ljava/lang/String;Z)J 14 | */ 15 | JNIEXPORT jlong JNICALL Java_org_sil_scripts_teckit_TecKitJni_createConverter 16 | (JNIEnv *, jobject, jstring, jboolean); 17 | 18 | /* 19 | * Class: org_sil_scripts_teckit_TecKitJni 20 | * Method: convert 21 | * Signature: (J[B)[B 22 | */ 23 | JNIEXPORT jbyteArray JNICALL Java_org_sil_scripts_teckit_TecKitJni_convert 24 | (JNIEnv *, jobject, jlong, jbyteArray); 25 | 26 | /* 27 | * Class: org_sil_scripts_teckit_TecKitJni 28 | * Method: flush 29 | * Signature: (J)V 30 | */ 31 | JNIEXPORT void JNICALL Java_org_sil_scripts_teckit_TecKitJni_flush 32 | (JNIEnv *, jobject, jlong); 33 | 34 | /* 35 | * Class: org_sil_scripts_teckit_TecKitJni 36 | * Method: destroyConverter 37 | * Signature: (J)V 38 | */ 39 | JNIEXPORT void JNICALL Java_org_sil_scripts_teckit_TecKitJni_destroyConverter 40 | (JNIEnv *, jobject, jlong); 41 | 42 | #ifdef __cplusplus 43 | } 44 | #endif 45 | #endif 46 | -------------------------------------------------------------------------------- /docs/txtconv.1: -------------------------------------------------------------------------------- 1 | .TH TXTCONV 1 "2015-11-13" "TECkit" 2 | .SH NAME 3 | txtconv \- A tool to apply TECkit mappings to convert the encoding of a plain text file 4 | .SH SYNOPSIS 5 | .B txtconv 6 | \fI\,-i inFile -o outFile \/\fR[\fI\,-t tecFile\/\fR] [\fI\,-r\/\fR] [\fI\,-if inForm\/\fR] [\fI\,-of outForm\/\fR] [\fI\,-nobom\/\fR] [\fI\,-nf\/\fR[\fI\,cd\/\fR]] [\fI\,-u n\/\fR] 7 | .SH "OPTIONS" 8 | \fBRequired arguments:\fR 9 | .TP 10 | \fB\-i\fR 11 | input file 12 | .TP 13 | \fB\-o\fR 14 | output file 15 | .PP 16 | \fBOptional arguments:\fR 17 | .TP 18 | \fB\-t\fR 19 | compiled TECkit mapping (.tec) file 20 | .TP 21 | \fB\-r\fR 22 | reverse (RHS\->LHS, or Unicode\->Byte) mapping 23 | .TP 24 | \fB\-if\fR
25 | input encoding form 26 | .TP 27 | \fB\-of\fR 28 | output encoding form 29 | .TP 30 | \fB\-nobom\fR 31 | don't write a BOM to Unicode output 32 | .TP 33 | \fB\-nf[cd]\fR 34 | apply NFC or NFD normalization to Unicode output 35 | .TP 36 | \fB\-u\fR 37 | handling of unmappable input: 38 | .IP 39 | \(bu 0 = use replacement character 40 | \.IP 41 | \(bu 1 = use replacement but generate warning 42 | \.IP 43 | \(bu 2 = stop conversion 44 | .PP 45 | \fBEncoding forms:\fR 46 | .IP 47 | bytes utf8 utf16be utf16le utf16 utf32be utf32le utf32 48 | .SH Further Information 49 | For further information see the document TECkit_Tools.pdf. 50 | On a Debian system, this can be found in /usr/share/doc/teckit. 51 | -------------------------------------------------------------------------------- /SFconv/expat/xmlparse/Makefile.in: -------------------------------------------------------------------------------- 1 | # 2 | # The contents of this file are subject to the Netscape Public 3 | # License Version 1.1 (the "License"); you may not use this file 4 | # except in compliance with the License. You may obtain a copy of 5 | # the License at http://www.mozilla.org/NPL/ 6 | # 7 | # Software distributed under the License is distributed on an "AS 8 | # IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or 9 | # implied. See the License for the specific language governing 10 | # rights and limitations under the License. 11 | # 12 | # The Original Code is mozilla.org code. 13 | # 14 | # The Initial Developer of the Original Code is Netscape 15 | # Communications Corporation. Portions created by Netscape are 16 | # Copyright (C) 1998 Netscape Communications Corporation. All 17 | # Rights Reserved. 18 | # 19 | # Contributor(s): 20 | # 21 | 22 | DEPTH = ../.. 23 | topsrcdir = @top_srcdir@ 24 | srcdir = @srcdir@ 25 | VPATH = @srcdir@ 26 | 27 | include $(DEPTH)/config/autoconf.mk 28 | 29 | MODULE = expat 30 | LIBRARY_NAME = expat_s 31 | 32 | CSRCS = \ 33 | hashtable.c \ 34 | xmlparse.c \ 35 | $(NULL) 36 | 37 | EXPORTS = xmlparse.h 38 | 39 | EXPORTS := $(addprefix $(srcdir)/, $(EXPORTS)) 40 | 41 | LOCAL_INCLUDES = -I$(srcdir)/../xmltok 42 | 43 | # We want only the static lib, not the shared lib 44 | override NO_SHARED_LIB=1 45 | override NO_STATIC_LIB= 46 | 47 | include $(topsrcdir)/config/rules.mk 48 | -------------------------------------------------------------------------------- /source/teckitjni/MSDev/ReadMe.txt: -------------------------------------------------------------------------------- 1 | ======================================================================== 2 | DYNAMIC LINK LIBRARY : TecKitJni 3 | ======================================================================== 4 | 5 | 6 | AppWizard has created this TecKitJni DLL for you. 7 | 8 | This file contains a summary of what you will find in each of the files that 9 | make up your TecKitJni application. 10 | 11 | TecKitJni.dsp 12 | This file (the project file) contains information at the project level and 13 | is used to build a single project or subproject. Other users can share the 14 | project (.dsp) file, but they should export the makefiles locally. 15 | 16 | TecKitJni.cpp 17 | This is the main DLL source file. 18 | 19 | TecKitJni.h 20 | This file contains your DLL exports. 21 | 22 | ///////////////////////////////////////////////////////////////////////////// 23 | Other standard files: 24 | 25 | StdAfx.h, StdAfx.cpp 26 | These files are used to build a precompiled header (PCH) file 27 | named TecKitJni.pch and a precompiled types file named StdAfx.obj. 28 | 29 | 30 | ///////////////////////////////////////////////////////////////////////////// 31 | Other notes: 32 | 33 | AppWizard uses "TODO:" to indicate parts of the source code you 34 | should add to or customize. 35 | 36 | 37 | ///////////////////////////////////////////////////////////////////////////// 38 | -------------------------------------------------------------------------------- /zlib-1.2.13/contrib/dotzlib/LICENSE_1_0.txt: -------------------------------------------------------------------------------- 1 | Boost Software License - Version 1.0 - August 17th, 2003 2 | 3 | Permission is hereby granted, free of charge, to any person or organization 4 | obtaining a copy of the software and accompanying documentation covered by 5 | this license (the "Software") to use, reproduce, display, distribute, 6 | execute, and transmit the Software, and to prepare derivative works of the 7 | Software, and to permit third-parties to whom the Software is furnished to 8 | do so, all subject to the following: 9 | 10 | The copyright notices in the Software and this entire statement, including 11 | the above license grant, this restriction and the following disclaimer, 12 | must be included in all copies of the Software, in whole or in part, and 13 | all derivative works of the Software, unless such copies or derivative 14 | works are solely in the form of machine-executable object code generated by 15 | a source language processor. 16 | 17 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 18 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 19 | FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVENT 20 | SHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE 21 | FOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE, 22 | ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 23 | DEALINGS IN THE SOFTWARE. -------------------------------------------------------------------------------- /zlib-1.2.13/zlib.ac: -------------------------------------------------------------------------------- 1 | # zlib stuff basically copied from TeXLive 2 | 3 | EXTRA_ZLIB_INCLUDE= 4 | EXTRA_ZLIB_LIBDIR= 5 | 6 | if test "$with_system_zlib" = yes; then 7 | if test "x$with_zlib_libdir" != x; then 8 | EXTRA_ZLIB_LIBDIR="-L$with_zlib_libdir" 9 | fi 10 | if test "x$with_zlib_include" != x; then 11 | EXTRA_ZLIB_INCLUDE="-I$with_zlib_include" 12 | fi 13 | fi 14 | 15 | OLD_LDFLAGS=$LDFLAGS 16 | OLD_CPP=$CPP 17 | OLD_LIBS=$LIBS 18 | 19 | LDFLAGS="$LDFLAGS $EXTRA_ZLIB_LIBDIR" 20 | CPP="$CPP $EXTRA_ZLIB_INCLUDE" 21 | 22 | if test "$with_system_zlib" = yes; then 23 | AC_CHECK_LIB(z, inflate,, 24 | AC_MSG_WARN(Standard ZLIB library not found. Compiling my own.) 25 | with_system_zlib=no) 26 | fi 27 | 28 | if test "$with_system_zlib" = yes; then 29 | AC_CHECK_HEADERS(zlib.h) 30 | if test "$ac_cv_header_zlib_h" != yes; then 31 | AC_MSG_WARN(zlib.h not found. Using my own zlib sources.) 32 | with_system_zlib=no 33 | fi 34 | fi 35 | 36 | LDFLAGS=$OLD_LDFLAGS 37 | CPP=$OLD_CPP 38 | LIBS=$OLD_LIBS 39 | 40 | if test "$with_system_zlib" != yes; then 41 | ZLIBCPPFLAGS='-I$(ZLIBSRCDIR)' 42 | LDZLIB= 43 | ZLIBDEP= 44 | using_system_zlib=no 45 | else 46 | ZLIBCPPFLAGS="$EXTRA_ZLIB_INCLUDE" 47 | LDZLIB="$EXTRA_ZLIB_LIBDIR -lz" 48 | ZLIBDEP= 49 | using_system_zlib=yes 50 | fi 51 | 52 | AC_SUBST(ZLIBCPPFLAGS) 53 | AC_SUBST(LDZLIB) 54 | AC_SUBST(ZLIBDEP) 55 | -------------------------------------------------------------------------------- /SFconv/expat/xmlwf/codepage.h: -------------------------------------------------------------------------------- 1 | /* 2 | The contents of this file are subject to the Mozilla Public License 3 | Version 1.1 (the "License"); you may not use this file except in 4 | compliance with the License. You may obtain a copy of the License at 5 | http://www.mozilla.org/MPL/ 6 | 7 | Software distributed under the License is distributed on an "AS IS" 8 | basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the 9 | License for the specific language governing rights and limitations 10 | under the License. 11 | 12 | The Original Code is expat. 13 | 14 | The Initial Developer of the Original Code is James Clark. 15 | Portions created by James Clark are Copyright (C) 1998, 1999 16 | James Clark. All Rights Reserved. 17 | 18 | Contributor(s): 19 | 20 | Alternatively, the contents of this file may be used under the terms 21 | of the GNU General Public License (the "GPL"), in which case the 22 | provisions of the GPL are applicable instead of those above. If you 23 | wish to allow use of your version of this file only under the terms of 24 | the GPL and not to allow others to use your version of this file under 25 | the MPL, indicate your decision by deleting the provisions above and 26 | replace them with the notice and other provisions required by the 27 | GPL. If you do not delete the provisions above, a recipient may use 28 | your version of this file under either the MPL or the GPL. 29 | */ 30 | 31 | int codepageMap(int cp, int *map); 32 | int codepageConvert(int cp, const char *p); 33 | -------------------------------------------------------------------------------- /SFconv/expat/xmlparse/makefile.win: -------------------------------------------------------------------------------- 1 | #!gmake 2 | # 3 | # The contents of this file are subject to the Netscape Public 4 | # License Version 1.1 (the "License"); you may not use this file 5 | # except in compliance with the License. You may obtain a copy of 6 | # the License at http://www.mozilla.org/NPL/ 7 | # 8 | # Software distributed under the License is distributed on an "AS 9 | # IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or 10 | # implied. See the License for the specific language governing 11 | # rights and limitations under the License. 12 | # 13 | # The Original Code is mozilla.org code. 14 | # 15 | # The Initial Developer of the Original Code is Netscape 16 | # Communications Corporation. Portions created by Netscape are 17 | # Copyright (C) 1998 Netscape Communications Corporation. All 18 | # Rights Reserved. 19 | # 20 | # Contributor(s): 21 | 22 | # 23 | 24 | DEPTH= ..\.. 25 | MODULE = raptor 26 | EXPORTS = xmlparse.h 27 | LIBRARY_NAME=expat 28 | 29 | CPPSRCS= \ 30 | xmlparse.c \ 31 | hashtable.c \ 32 | $(NULL) 33 | 34 | CPP_OBJS= \ 35 | .\$(OBJDIR)\xmlparse.obj \ 36 | .\$(OBJDIR)\hashtable.obj \ 37 | ..\xmltok\$(OBJDIR)\xmltok.obj \ 38 | ..\xmltok\$(OBJDIR)\xmlrole.obj \ 39 | $(NULL) 40 | 41 | LINCS=-I..\xmltok 42 | 43 | include <$(DEPTH)\config\rules.mak> 44 | 45 | install:: $(OBJDIR) $(OBJS) 46 | 47 | install:: $(LIBRARY) 48 | $(MAKE_INSTALL) $(LIBRARY) $(DIST)\lib 49 | 50 | install:: $(LIBRARY) 51 | -------------------------------------------------------------------------------- /SFconv/SFconv_ver.rc: -------------------------------------------------------------------------------- 1 | /*------------------------------------------------------------------------ 2 | Copyright (c) 2008-2016 SIL Global. All rights reserved. 3 | 4 | Distributable under the terms of either the Common Public License or the 5 | GNU Lesser General Public License, as specified in the LICENSING.txt file. 6 | ------------------------------------------------------------------------*/ 7 | 8 | // 9 | // Version 10 | // 11 | 12 | #include "version_defs.h" 13 | 14 | VS_VERSION_INFO VERSIONINFO 15 | FILEVERSION VER_FILEVERSION 16 | PRODUCTVERSION VER_PRODUCTVERSION 17 | FILEFLAGSMASK VS_FFI_FILEFLAGSMASK 18 | FILEFLAGS VER_DEBUG 19 | FILEOS VOS__WINDOWS32 20 | FILETYPE VFT_DLL 21 | FILESUBTYPE VFT2_UNKNOWN 22 | BEGIN 23 | BLOCK "StringFileInfo" 24 | BEGIN 25 | BLOCK "040904b0" 26 | BEGIN 27 | VALUE "Comments", "Standard Format file conversion tool\0" 28 | VALUE "CompanyName", VER_COMPANY_NAME_STR 29 | VALUE "FileDescription", "Standard Format file conversion tool\0" 30 | VALUE "FileVersion", VER_FILEVERSION_STR 31 | VALUE "InternalName", "sfconv\0" 32 | VALUE "LegalCopyright", VER_COPYRIGHT_STR 33 | VALUE "OriginalFilename", "sfconv.exe\0" 34 | VALUE "ProductName", VER_PRODUCT_NAME_STR 35 | VALUE "ProductVersion", VER_PRODUCTVERSION_STR 36 | END 37 | END 38 | BLOCK "VarFileInfo" 39 | BEGIN 40 | VALUE "Translation", 0x409, 1200 41 | END 42 | END 43 | -------------------------------------------------------------------------------- /source/Engine_ver.rc: -------------------------------------------------------------------------------- 1 | /*------------------------------------------------------------------------ 2 | Copyright (c) 2008-2016 SIL Global. All rights reserved. 3 | 4 | Distributable under the terms of either the Common Public License or the 5 | GNU Lesser General Public License, as specified in the LICENSING.txt file. 6 | ------------------------------------------------------------------------*/ 7 | 8 | // 9 | // Version 10 | // 11 | 12 | #include "version_defs.h" 13 | 14 | VS_VERSION_INFO VERSIONINFO 15 | FILEVERSION VER_FILEVERSION 16 | PRODUCTVERSION VER_PRODUCTVERSION 17 | FILEFLAGSMASK VS_FFI_FILEFLAGSMASK 18 | FILEFLAGS VER_DEBUG 19 | FILEOS VOS__WINDOWS32 20 | FILETYPE VFT_DLL 21 | FILESUBTYPE VFT2_UNKNOWN 22 | BEGIN 23 | BLOCK "StringFileInfo" 24 | BEGIN 25 | BLOCK "040904b0" 26 | BEGIN 27 | VALUE "Comments", "TECkit character mapping engine\0" 28 | VALUE "CompanyName", VER_COMPANY_NAME_STR 29 | VALUE "FileDescription", "TECkit character mapping engine\0" 30 | VALUE "FileVersion", VER_FILEVERSION_STR 31 | VALUE "InternalName", "TECkit_x86\0" 32 | VALUE "LegalCopyright", VER_COPYRIGHT_STR 33 | VALUE "OriginalFilename", "TECkit_x86.dll\0" 34 | VALUE "ProductName", VER_PRODUCT_NAME_STR 35 | VALUE "ProductVersion", VER_PRODUCTVERSION_STR 36 | END 37 | END 38 | BLOCK "VarFileInfo" 39 | BEGIN 40 | VALUE "Translation", 0x409, 1200 41 | END 42 | END 43 | -------------------------------------------------------------------------------- /source/Sample-tools/TxtConv_ver.rc: -------------------------------------------------------------------------------- 1 | /*------------------------------------------------------------------------ 2 | Copyright (c) 2008-2016 SIL Global. All rights reserved. 3 | 4 | Distributable under the terms of either the Common Public License or the 5 | GNU Lesser General Public License, as specified in the LICENSING.txt file. 6 | ------------------------------------------------------------------------*/ 7 | 8 | // 9 | // Version 10 | // 11 | 12 | #include "version_defs.h" 13 | 14 | VS_VERSION_INFO VERSIONINFO 15 | FILEVERSION VER_FILEVERSION 16 | PRODUCTVERSION VER_PRODUCTVERSION 17 | FILEFLAGSMASK VS_FFI_FILEFLAGSMASK 18 | FILEFLAGS VER_DEBUG 19 | FILEOS VOS__WINDOWS32 20 | FILETYPE VFT_DLL 21 | FILESUBTYPE VFT2_UNKNOWN 22 | BEGIN 23 | BLOCK "StringFileInfo" 24 | BEGIN 25 | BLOCK "040904b0" 26 | BEGIN 27 | VALUE "Comments", "Plain-text file conversion tool\0" 28 | VALUE "CompanyName", VER_COMPANY_NAME_STR 29 | VALUE "FileDescription", "Plain-text file conversion tool\0" 30 | VALUE "FileVersion", VER_FILEVERSION_STR 31 | VALUE "InternalName", "txtconv\0" 32 | VALUE "LegalCopyright", VER_COPYRIGHT_STR 33 | VALUE "OriginalFilename", "txtconv.exe\0" 34 | VALUE "ProductName", VER_PRODUCT_NAME_STR 35 | VALUE "ProductVersion", VER_PRODUCTVERSION_STR 36 | END 37 | END 38 | BLOCK "VarFileInfo" 39 | BEGIN 40 | VALUE "Translation", 0x409, 1200 41 | END 42 | END 43 | -------------------------------------------------------------------------------- /source/teckitjni/templates/h: -------------------------------------------------------------------------------- 1 | /*************************************************************************** 2 | * Copyright (C) 2004 by Keith Stribley * 3 | * keith@myanmarlug.org * 4 | * * 5 | * This program is free software; you can redistribute it and/or modify * 6 | * it under the terms of the GNU General Public License as published by * 7 | * the Free Software Foundation; either version 2 of the License, or * 8 | * (at your option) any later version. * 9 | * * 10 | * This program is distributed in the hope that it will be useful, * 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of * 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * 13 | * GNU General Public License for more details. * 14 | * * 15 | * You should have received a copy of the GNU General Public License * 16 | * along with this program; if not, write to the * 17 | * Free Software Foundation, Inc., * 18 | * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * 19 | ***************************************************************************/ 20 | -------------------------------------------------------------------------------- /source/teckitjni/templates/cpp: -------------------------------------------------------------------------------- 1 | /*************************************************************************** 2 | * Copyright (C) 2004 by Keith Stribley * 3 | * keith@myanmarlug.org * 4 | * * 5 | * This program is free software; you can redistribute it and/or modify * 6 | * it under the terms of the GNU General Public License as published by * 7 | * the Free Software Foundation; either version 2 of the License, or * 8 | * (at your option) any later version. * 9 | * * 10 | * This program is distributed in the hope that it will be useful, * 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of * 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * 13 | * GNU General Public License for more details. * 14 | * * 15 | * You should have received a copy of the GNU General Public License * 16 | * along with this program; if not, write to the * 17 | * Free Software Foundation, Inc., * 18 | * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * 19 | ***************************************************************************/ 20 | -------------------------------------------------------------------------------- /source/Compiler_ver.rc: -------------------------------------------------------------------------------- 1 | /*------------------------------------------------------------------------ 2 | Copyright (c) 2008-2016 SIL Global. All rights reserved. 3 | 4 | Distributable under the terms of either the Common Public License or the 5 | GNU Lesser General Public License, as specified in the LICENSING.txt file. 6 | ------------------------------------------------------------------------*/ 7 | 8 | // 9 | // Version 10 | // 11 | 12 | #include "version_defs.h" 13 | 14 | VS_VERSION_INFO VERSIONINFO 15 | FILEVERSION VER_FILEVERSION 16 | PRODUCTVERSION VER_PRODUCTVERSION 17 | FILEFLAGSMASK VS_FFI_FILEFLAGSMASK 18 | FILEFLAGS VER_DEBUG 19 | FILEOS VOS__WINDOWS32 20 | FILETYPE VFT_DLL 21 | FILESUBTYPE VFT2_UNKNOWN 22 | BEGIN 23 | BLOCK "StringFileInfo" 24 | BEGIN 25 | BLOCK "040904b0" 26 | BEGIN 27 | VALUE "Comments", "TECkit mapping compiler library\0" 28 | VALUE "CompanyName", VER_COMPANY_NAME_STR 29 | VALUE "FileDescription", "TECkit mapping compiler library\0" 30 | VALUE "FileVersion", VER_FILEVERSION_STR 31 | VALUE "InternalName", "TECkit_Compiler_x86\0" 32 | VALUE "LegalCopyright", VER_COPYRIGHT_STR 33 | VALUE "OriginalFilename", "TECkit_Compiler_x86.dll\0" 34 | VALUE "ProductName", VER_PRODUCT_NAME_STR 35 | VALUE "ProductVersion", VER_PRODUCTVERSION_STR 36 | END 37 | END 38 | BLOCK "VarFileInfo" 39 | BEGIN 40 | VALUE "Translation", 0x409, 1200 41 | END 42 | END 43 | -------------------------------------------------------------------------------- /source/Sample-tools/TECkit_Compile_ver.rc: -------------------------------------------------------------------------------- 1 | /*------------------------------------------------------------------------ 2 | Copyright (c) 2008-2016 SIL Global. All rights reserved. 3 | 4 | Distributable under the terms of either the Common Public License or the 5 | GNU Lesser General Public License, as specified in the LICENSING.txt file. 6 | ------------------------------------------------------------------------*/ 7 | 8 | // 9 | // Version 10 | // 11 | 12 | #include "version_defs.h" 13 | 14 | VS_VERSION_INFO VERSIONINFO 15 | FILEVERSION VER_FILEVERSION 16 | PRODUCTVERSION VER_PRODUCTVERSION 17 | FILEFLAGSMASK VS_FFI_FILEFLAGSMASK 18 | FILEFLAGS VER_DEBUG 19 | FILEOS VOS__WINDOWS32 20 | FILETYPE VFT_DLL 21 | FILESUBTYPE VFT2_UNKNOWN 22 | BEGIN 23 | BLOCK "StringFileInfo" 24 | BEGIN 25 | BLOCK "040904b0" 26 | BEGIN 27 | VALUE "Comments", "TECkit mapping table compiler\0" 28 | VALUE "CompanyName", VER_COMPANY_NAME_STR 29 | VALUE "FileDescription", "TECkit mapping table compiler\0" 30 | VALUE "FileVersion", VER_FILEVERSION_STR 31 | VALUE "InternalName", "teckit_compile\0" 32 | VALUE "LegalCopyright", VER_COPYRIGHT_STR 33 | VALUE "OriginalFilename", "teckit_compile.exe\0" 34 | VALUE "ProductName", VER_PRODUCT_NAME_STR 35 | VALUE "ProductVersion", VER_PRODUCTVERSION_STR 36 | END 37 | END 38 | BLOCK "VarFileInfo" 39 | BEGIN 40 | VALUE "Translation", 0x409, 1200 41 | END 42 | END 43 | -------------------------------------------------------------------------------- /zlib-1.2.13/contrib/puff/puff.h: -------------------------------------------------------------------------------- 1 | /* puff.h 2 | Copyright (C) 2002-2013 Mark Adler, all rights reserved 3 | version 2.3, 21 Jan 2013 4 | 5 | This software is provided 'as-is', without any express or implied 6 | warranty. In no event will the author be held liable for any damages 7 | arising from the use of this software. 8 | 9 | Permission is granted to anyone to use this software for any purpose, 10 | including commercial applications, and to alter it and redistribute it 11 | freely, subject to the following restrictions: 12 | 13 | 1. The origin of this software must not be misrepresented; you must not 14 | claim that you wrote the original software. If you use this software 15 | in a product, an acknowledgment in the product documentation would be 16 | appreciated but is not required. 17 | 2. Altered source versions must be plainly marked as such, and must not be 18 | misrepresented as being the original software. 19 | 3. This notice may not be removed or altered from any source distribution. 20 | 21 | Mark Adler madler@alumni.caltech.edu 22 | */ 23 | 24 | 25 | /* 26 | * See puff.c for purpose and usage. 27 | */ 28 | #ifndef NIL 29 | # define NIL ((unsigned char *)0) /* for no output option */ 30 | #endif 31 | 32 | int puff(unsigned char *dest, /* pointer to destination pointer */ 33 | unsigned long *destlen, /* amount of output space */ 34 | const unsigned char *source, /* pointer to source data pointer */ 35 | unsigned long *sourcelen); /* amount of input available */ 36 | -------------------------------------------------------------------------------- /mac-installer/Resources/ReadMe.rtf: -------------------------------------------------------------------------------- 1 | {\rtf1\mac\ansicpg10000\cocoartf824\cocoasubrtf470 2 | {\fonttbl\f0\fnil\fcharset77 LucidaGrande-Bold;\f1\fnil\fcharset77 LucidaGrande;} 3 | {\colortbl;\red255\green255\blue255;\red128\green0\blue0;\red0\green0\blue128;\red34\green34\blue34; 4 | \red0\green0\blue255;} 5 | \paperw11900\paperh16840\margl1440\margr1440\vieww12700\viewh19920\viewkind0 6 | \pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\qc 7 | 8 | \f0\b\fs28 \cf0 TECkit: a toolkit for encoding conversion\ 9 | \pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\qc 10 | 11 | \f1\b0\fs22 \cf2 version 2.5.13\cf0 \ 12 | \ 13 | Written by Jonathan Kew for SIL Global\ 14 | \cf3 nrsi@sil.org\cf0 \ 15 | \pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\ql\qnatural 16 | \cf0 \ 17 | \pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\ql\qnatural 18 | \cf4 TECkit is a low-level toolkit intended to be used by other applications that need to perform encoding conversions (e.g., when importing legacy data into a Unicode-based application). The primary component of the TECkit package is therefore a library that performs conversions; this is the "TECkit engine". The engine relies on mapping tables in a specific binary format (for which documentation is available); there is a compiler that creates such tables from a human-readable mapping description (a simple text file).\cf0 \ 19 | \ 20 | For more information, see \cf5 https://software.sil.org/teckit\cf0 .\ 21 | } 22 | -------------------------------------------------------------------------------- /SFconv/expat/xmlwf/xmlfile.h: -------------------------------------------------------------------------------- 1 | /* 2 | The contents of this file are subject to the Mozilla Public License 3 | Version 1.1 (the "License"); you may not use this file except in 4 | compliance with the License. You may obtain a copy of the License at 5 | http://www.mozilla.org/MPL/ 6 | 7 | Software distributed under the License is distributed on an "AS IS" 8 | basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the 9 | License for the specific language governing rights and limitations 10 | under the License. 11 | 12 | The Original Code is expat. 13 | 14 | The Initial Developer of the Original Code is James Clark. 15 | Portions created by James Clark are Copyright (C) 1998, 1999 16 | James Clark. All Rights Reserved. 17 | 18 | Contributor(s): 19 | 20 | Alternatively, the contents of this file may be used under the terms 21 | of the GNU General Public License (the "GPL"), in which case the 22 | provisions of the GPL are applicable instead of those above. If you 23 | wish to allow use of your version of this file only under the terms of 24 | the GPL and not to allow others to use your version of this file under 25 | the MPL, indicate your decision by deleting the provisions above and 26 | replace them with the notice and other provisions required by the 27 | GPL. If you do not delete the provisions above, a recipient may use 28 | your version of this file under either the MPL or the GPL. 29 | */ 30 | 31 | #define XML_MAP_FILE 01 32 | #define XML_EXTERNAL_ENTITIES 02 33 | 34 | extern int XML_ProcessFile(XML_Parser parser, 35 | const XML_Char *filename, 36 | unsigned flags); 37 | -------------------------------------------------------------------------------- /zlib-1.2.13/watcom/watcom_l.mak: -------------------------------------------------------------------------------- 1 | # Makefile for zlib 2 | # OpenWatcom large model 3 | # Last updated: 28-Dec-2005 4 | 5 | # To use, do "wmake -f watcom_l.mak" 6 | 7 | C_SOURCE = adler32.c compress.c crc32.c deflate.c & 8 | gzclose.c gzlib.c gzread.c gzwrite.c & 9 | infback.c inffast.c inflate.c inftrees.c & 10 | trees.c uncompr.c zutil.c 11 | 12 | OBJS = adler32.obj compress.obj crc32.obj deflate.obj & 13 | gzclose.obj gzlib.obj gzread.obj gzwrite.obj & 14 | infback.obj inffast.obj inflate.obj inftrees.obj & 15 | trees.obj uncompr.obj zutil.obj 16 | 17 | CC = wcc 18 | LINKER = wcl 19 | CFLAGS = -zq -ml -s -bt=dos -oilrtfm -fr=nul -wx 20 | ZLIB_LIB = zlib_l.lib 21 | 22 | .C.OBJ: 23 | $(CC) $(CFLAGS) $[@ 24 | 25 | all: $(ZLIB_LIB) example.exe minigzip.exe 26 | 27 | $(ZLIB_LIB): $(OBJS) 28 | wlib -b -c $(ZLIB_LIB) -+adler32.obj -+compress.obj -+crc32.obj 29 | wlib -b -c $(ZLIB_LIB) -+gzclose.obj -+gzlib.obj -+gzread.obj -+gzwrite.obj 30 | wlib -b -c $(ZLIB_LIB) -+deflate.obj -+infback.obj 31 | wlib -b -c $(ZLIB_LIB) -+inffast.obj -+inflate.obj -+inftrees.obj 32 | wlib -b -c $(ZLIB_LIB) -+trees.obj -+uncompr.obj -+zutil.obj 33 | 34 | example.exe: $(ZLIB_LIB) example.obj 35 | $(LINKER) -fe=example.exe example.obj $(ZLIB_LIB) 36 | 37 | minigzip.exe: $(ZLIB_LIB) minigzip.obj 38 | $(LINKER) -fe=minigzip.exe minigzip.obj $(ZLIB_LIB) 39 | 40 | clean: .SYMBOLIC 41 | del *.obj 42 | del $(ZLIB_LIB) 43 | @echo Cleaning done 44 | -------------------------------------------------------------------------------- /SFconv/expat/xmltok/dllmain.c: -------------------------------------------------------------------------------- 1 | /* 2 | The contents of this file are subject to the Mozilla Public License 3 | Version 1.1 (the "License"); you may not use this file except in 4 | compliance with the License. You may obtain a copy of the License at 5 | http://www.mozilla.org/MPL/ 6 | 7 | Software distributed under the License is distributed on an "AS IS" 8 | basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the 9 | License for the specific language governing rights and limitations 10 | under the License. 11 | 12 | The Original Code is expat. 13 | 14 | The Initial Developer of the Original Code is James Clark. 15 | Portions created by James Clark are Copyright (C) 1998, 1999 16 | James Clark. All Rights Reserved. 17 | 18 | Contributor(s): 19 | 20 | Alternatively, the contents of this file may be used under the terms 21 | of the GNU General Public License (the "GPL"), in which case the 22 | provisions of the GPL are applicable instead of those above. If you 23 | wish to allow use of your version of this file only under the terms of 24 | the GPL and not to allow others to use your version of this file under 25 | the MPL, indicate your decision by deleting the provisions above and 26 | replace them with the notice and other provisions required by the 27 | GPL. If you do not delete the provisions above, a recipient may use 28 | your version of this file under either the MPL or the GPL. 29 | */ 30 | 31 | #define STRICT 1 32 | #define WIN32_LEAN_AND_MEAN 1 33 | 34 | #include 35 | 36 | BOOL WINAPI DllMain(HANDLE hInst, ULONG ul_reason_for_call, LPVOID lpReserved) 37 | { 38 | return TRUE; 39 | } 40 | 41 | -------------------------------------------------------------------------------- /zlib-1.2.13/watcom/watcom_f.mak: -------------------------------------------------------------------------------- 1 | # Makefile for zlib 2 | # OpenWatcom flat model 3 | # Last updated: 28-Dec-2005 4 | 5 | # To use, do "wmake -f watcom_f.mak" 6 | 7 | C_SOURCE = adler32.c compress.c crc32.c deflate.c & 8 | gzclose.c gzlib.c gzread.c gzwrite.c & 9 | infback.c inffast.c inflate.c inftrees.c & 10 | trees.c uncompr.c zutil.c 11 | 12 | OBJS = adler32.obj compress.obj crc32.obj deflate.obj & 13 | gzclose.obj gzlib.obj gzread.obj gzwrite.obj & 14 | infback.obj inffast.obj inflate.obj inftrees.obj & 15 | trees.obj uncompr.obj zutil.obj 16 | 17 | CC = wcc386 18 | LINKER = wcl386 19 | CFLAGS = -zq -mf -3r -fp3 -s -bt=dos -oilrtfm -fr=nul -wx 20 | ZLIB_LIB = zlib_f.lib 21 | 22 | .C.OBJ: 23 | $(CC) $(CFLAGS) $[@ 24 | 25 | all: $(ZLIB_LIB) example.exe minigzip.exe 26 | 27 | $(ZLIB_LIB): $(OBJS) 28 | wlib -b -c $(ZLIB_LIB) -+adler32.obj -+compress.obj -+crc32.obj 29 | wlib -b -c $(ZLIB_LIB) -+gzclose.obj -+gzlib.obj -+gzread.obj -+gzwrite.obj 30 | wlib -b -c $(ZLIB_LIB) -+deflate.obj -+infback.obj 31 | wlib -b -c $(ZLIB_LIB) -+inffast.obj -+inflate.obj -+inftrees.obj 32 | wlib -b -c $(ZLIB_LIB) -+trees.obj -+uncompr.obj -+zutil.obj 33 | 34 | example.exe: $(ZLIB_LIB) example.obj 35 | $(LINKER) -ldos32a -fe=example.exe example.obj $(ZLIB_LIB) 36 | 37 | minigzip.exe: $(ZLIB_LIB) minigzip.obj 38 | $(LINKER) -ldos32a -fe=minigzip.exe minigzip.obj $(ZLIB_LIB) 39 | 40 | clean: .SYMBOLIC 41 | del *.obj 42 | del $(ZLIB_LIB) 43 | @echo Cleaning done 44 | -------------------------------------------------------------------------------- /zlib-1.2.13/contrib/iostream3/README: -------------------------------------------------------------------------------- 1 | These classes provide a C++ stream interface to the zlib library. It allows you 2 | to do things like: 3 | 4 | gzofstream outf("blah.gz"); 5 | outf << "These go into the gzip file " << 123 << endl; 6 | 7 | It does this by deriving a specialized stream buffer for gzipped files, which is 8 | the way Stroustrup would have done it. :-> 9 | 10 | The gzifstream and gzofstream classes were originally written by Kevin Ruland 11 | and made available in the zlib contrib/iostream directory. The older version still 12 | compiles under gcc 2.xx, but not under gcc 3.xx, which sparked the development of 13 | this version. 14 | 15 | The new classes are as standard-compliant as possible, closely following the 16 | approach of the standard library's fstream classes. It compiles under gcc versions 17 | 3.2 and 3.3, but not under gcc 2.xx. This is mainly due to changes in the standard 18 | library naming scheme. The new version of gzifstream/gzofstream/gzfilebuf differs 19 | from the previous one in the following respects: 20 | - added showmanyc 21 | - added setbuf, with support for unbuffered output via setbuf(0,0) 22 | - a few bug fixes of stream behavior 23 | - gzipped output file opened with default compression level instead of maximum level 24 | - setcompressionlevel()/strategy() members replaced by single setcompression() 25 | 26 | The code is provided "as is", with the permission to use, copy, modify, distribute 27 | and sell it for any purpose without fee. 28 | 29 | Ludwig Schwardt 30 | 31 | 32 | DSP Lab 33 | Electrical & Electronic Engineering Department 34 | University of Stellenbosch 35 | South Africa 36 | -------------------------------------------------------------------------------- /zlib-1.2.13/contrib/minizip/minizip.1: -------------------------------------------------------------------------------- 1 | .\" Hey, EMACS: -*- nroff -*- 2 | .TH minizip 1 "May 2, 2001" 3 | .\" Please adjust this date whenever revising the manpage. 4 | .\" 5 | .\" Some roff macros, for reference: 6 | .\" .nh disable hyphenation 7 | .\" .hy enable hyphenation 8 | .\" .ad l left justify 9 | .\" .ad b justify to both left and right margins 10 | .\" .nf disable filling 11 | .\" .fi enable filling 12 | .\" .br insert line break 13 | .\" .sp insert n+1 empty lines 14 | .\" for manpage-specific macros, see man(7) 15 | .SH NAME 16 | minizip - create ZIP archives 17 | .SH SYNOPSIS 18 | .B minizip 19 | .RI [ -o ] 20 | zipfile [ " files" ... ] 21 | .SH DESCRIPTION 22 | .B minizip 23 | is a simple tool which allows the creation of compressed file archives 24 | in the ZIP format used by the MS-DOS utility PKZIP. It was written as 25 | a demonstration of the 26 | .IR zlib (3) 27 | library and therefore lack many of the features of the 28 | .IR zip (1) 29 | program. 30 | .SH OPTIONS 31 | The first argument supplied is the name of the ZIP archive to create or 32 | .RI -o 33 | in which case it is ignored and the second argument treated as the 34 | name of the ZIP file. If the ZIP file already exists it will be 35 | overwritten. 36 | .PP 37 | Subsequent arguments specify a list of files to place in the ZIP 38 | archive. If none are specified then an empty archive will be created. 39 | .SH SEE ALSO 40 | .BR miniunzip (1), 41 | .BR zlib (3), 42 | .BR zip (1). 43 | .SH AUTHOR 44 | This program was written by Gilles Vollant. This manual page was 45 | written by Mark Brown . 46 | 47 | -------------------------------------------------------------------------------- /source/teckitjni/config.h.in: -------------------------------------------------------------------------------- 1 | /* config.h.in. Generated from configure.in by autoheader. */ 2 | 3 | /* Define to 1 if you have the header file. */ 4 | #undef HAVE_DLFCN_H 5 | 6 | /* Define to 1 if you have the header file. */ 7 | #undef HAVE_INTTYPES_H 8 | 9 | /* Define to 1 if you have the header file. */ 10 | #undef HAVE_MEMORY_H 11 | 12 | /* Define to 1 if you have the header file. */ 13 | #undef HAVE_STDINT_H 14 | 15 | /* Define to 1 if you have the header file. */ 16 | #undef HAVE_STDLIB_H 17 | 18 | /* Define to 1 if you have the header file. */ 19 | #undef HAVE_STRINGS_H 20 | 21 | /* Define to 1 if you have the header file. */ 22 | #undef HAVE_STRING_H 23 | 24 | /* Define to 1 if you have the header file. */ 25 | #undef HAVE_SYS_STAT_H 26 | 27 | /* Define to 1 if you have the header file. */ 28 | #undef HAVE_SYS_TYPES_H 29 | 30 | /* Define to 1 if you have the header file. */ 31 | #undef HAVE_UNISTD_H 32 | 33 | /* Name of package */ 34 | #undef PACKAGE 35 | 36 | /* Define to the address where bug reports for this package should be sent. */ 37 | #undef PACKAGE_BUGREPORT 38 | 39 | /* Define to the full name of this package. */ 40 | #undef PACKAGE_NAME 41 | 42 | /* Define to the full name and version of this package. */ 43 | #undef PACKAGE_STRING 44 | 45 | /* Define to the one symbol short name of this package. */ 46 | #undef PACKAGE_TARNAME 47 | 48 | /* Define to the version of this package. */ 49 | #undef PACKAGE_VERSION 50 | 51 | /* Define to 1 if you have the ANSI C header files. */ 52 | #undef STDC_HEADERS 53 | 54 | /* Version number of package */ 55 | #undef VERSION 56 | -------------------------------------------------------------------------------- /SFconv/UtfCodec.cpp: -------------------------------------------------------------------------------- 1 | /* GRAPHITE2 LICENSING 2 | 3 | Copyright 2010, SIL Global 4 | All rights reserved. 5 | 6 | This library is free software; you can redistribute it and/or modify 7 | it under the terms of the GNU Lesser General Public License as published 8 | by the Free Software Foundation; either version 2.1 of License, or 9 | (at your option) any later version. 10 | 11 | This program is distributed in the hope that it will be useful, 12 | but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 14 | Lesser General Public License for more details. 15 | 16 | You should also have received a copy of the GNU Lesser General Public 17 | License along with this library in the file named "LICENSE". 18 | If not, write to the Free Software Foundation, 51 Franklin Street, 19 | Suite 500, Boston, MA 02110-1335, USA or visit their web page on the 20 | internet at http://www.fsf.org/licenses/lgpl.html. 21 | 22 | Alternatively, the contents of this file may be used under the terms of the 23 | Mozilla Public License (http://mozilla.org/MPL) or the GNU General Public 24 | License, as published by the Free Software Foundation, either version 2 25 | of the License or (at your option) any later version. 26 | */ 27 | #include "UtfCodec.h" 28 | 29 | const int8_t _utf_codec<8>::sz_lut[16] = 30 | { 31 | 1,1,1,1,1,1,1,1, // 1 byte 32 | 0,0,0,0, // trailing byte 33 | 2,2, // 2 bytes 34 | 3, // 3 bytes 35 | 4 // 4 bytes 36 | }; 37 | 38 | const uint8_t _utf_codec<8>::mask_lut[5] = {0x7f, 0xff, 0x3f, 0x1f, 0x0f}; 39 | -------------------------------------------------------------------------------- /zlib-1.2.13/contrib/iostream3/test.cc: -------------------------------------------------------------------------------- 1 | /* 2 | * Test program for gzifstream and gzofstream 3 | * 4 | * by Ludwig Schwardt 5 | * original version by Kevin Ruland 6 | */ 7 | 8 | #include "zfstream.h" 9 | #include // for cout 10 | 11 | int main() { 12 | 13 | gzofstream outf; 14 | gzifstream inf; 15 | char buf[80]; 16 | 17 | outf.open("test1.txt.gz"); 18 | outf << "The quick brown fox sidestepped the lazy canine\n" 19 | << 1.3 << "\nPlan " << 9 << std::endl; 20 | outf.close(); 21 | std::cout << "Wrote the following message to 'test1.txt.gz' (check with zcat or zless):\n" 22 | << "The quick brown fox sidestepped the lazy canine\n" 23 | << 1.3 << "\nPlan " << 9 << std::endl; 24 | 25 | std::cout << "\nReading 'test1.txt.gz' (buffered) produces:\n"; 26 | inf.open("test1.txt.gz"); 27 | while (inf.getline(buf,80,'\n')) { 28 | std::cout << buf << "\t(" << inf.rdbuf()->in_avail() << " chars left in buffer)\n"; 29 | } 30 | inf.close(); 31 | 32 | outf.rdbuf()->pubsetbuf(0,0); 33 | outf.open("test2.txt.gz"); 34 | outf << setcompression(Z_NO_COMPRESSION) 35 | << "The quick brown fox sidestepped the lazy canine\n" 36 | << 1.3 << "\nPlan " << 9 << std::endl; 37 | outf.close(); 38 | std::cout << "\nWrote the same message to 'test2.txt.gz' in uncompressed form"; 39 | 40 | std::cout << "\nReading 'test2.txt.gz' (unbuffered) produces:\n"; 41 | inf.rdbuf()->pubsetbuf(0,0); 42 | inf.open("test2.txt.gz"); 43 | while (inf.getline(buf,80,'\n')) { 44 | std::cout << buf << "\t(" << inf.rdbuf()->in_avail() << " chars left in buffer)\n"; 45 | } 46 | inf.close(); 47 | 48 | return 0; 49 | 50 | } 51 | -------------------------------------------------------------------------------- /SFconv/expat/xmlwf/filemap.h: -------------------------------------------------------------------------------- 1 | /* 2 | The contents of this file are subject to the Mozilla Public License 3 | Version 1.1 (the "License"); you may not use this file except in 4 | compliance with the License. You may obtain a copy of the License at 5 | http://www.mozilla.org/MPL/ 6 | 7 | Software distributed under the License is distributed on an "AS IS" 8 | basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the 9 | License for the specific language governing rights and limitations 10 | under the License. 11 | 12 | The Original Code is expat. 13 | 14 | The Initial Developer of the Original Code is James Clark. 15 | Portions created by James Clark are Copyright (C) 1998, 1999 16 | James Clark. All Rights Reserved. 17 | 18 | Contributor(s): 19 | 20 | Alternatively, the contents of this file may be used under the terms 21 | of the GNU General Public License (the "GPL"), in which case the 22 | provisions of the GPL are applicable instead of those above. If you 23 | wish to allow use of your version of this file only under the terms of 24 | the GPL and not to allow others to use your version of this file under 25 | the MPL, indicate your decision by deleting the provisions above and 26 | replace them with the notice and other provisions required by the 27 | GPL. If you do not delete the provisions above, a recipient may use 28 | your version of this file under either the MPL or the GPL. 29 | */ 30 | 31 | 32 | #include 33 | 34 | #ifdef XML_UNICODE 35 | int filemap(const wchar_t *name, 36 | void (*processor)(const void *, size_t, const wchar_t *, void *arg), 37 | void *arg); 38 | #else 39 | int filemap(const char *name, 40 | void (*processor)(const void *, size_t, const char *, void *arg), 41 | void *arg); 42 | #endif 43 | -------------------------------------------------------------------------------- /zlib-1.2.13/old/descrip.mms: -------------------------------------------------------------------------------- 1 | # descrip.mms: MMS description file for building zlib on VMS 2 | # written by Martin P.J. Zinser 3 | 4 | cc_defs = 5 | c_deb = 6 | 7 | .ifdef __DECC__ 8 | pref = /prefix=all 9 | .endif 10 | 11 | OBJS = adler32.obj, compress.obj, crc32.obj, gzio.obj, uncompr.obj,\ 12 | deflate.obj, trees.obj, zutil.obj, inflate.obj, infblock.obj,\ 13 | inftrees.obj, infcodes.obj, infutil.obj, inffast.obj 14 | 15 | CFLAGS= $(C_DEB) $(CC_DEFS) $(PREF) 16 | 17 | all : example.exe minigzip.exe 18 | @ write sys$output " Example applications available" 19 | libz.olb : libz.olb($(OBJS)) 20 | @ write sys$output " libz available" 21 | 22 | example.exe : example.obj libz.olb 23 | link example,libz.olb/lib 24 | 25 | minigzip.exe : minigzip.obj libz.olb 26 | link minigzip,libz.olb/lib,x11vms:xvmsutils.olb/lib 27 | 28 | clean : 29 | delete *.obj;*,libz.olb;* 30 | 31 | 32 | # Other dependencies. 33 | adler32.obj : zutil.h zlib.h zconf.h 34 | compress.obj : zlib.h zconf.h 35 | crc32.obj : zutil.h zlib.h zconf.h 36 | deflate.obj : deflate.h zutil.h zlib.h zconf.h 37 | example.obj : zlib.h zconf.h 38 | gzio.obj : zutil.h zlib.h zconf.h 39 | infblock.obj : zutil.h zlib.h zconf.h infblock.h inftrees.h infcodes.h infutil.h 40 | infcodes.obj : zutil.h zlib.h zconf.h inftrees.h infutil.h infcodes.h inffast.h 41 | inffast.obj : zutil.h zlib.h zconf.h inftrees.h infutil.h inffast.h 42 | inflate.obj : zutil.h zlib.h zconf.h infblock.h 43 | inftrees.obj : zutil.h zlib.h zconf.h inftrees.h 44 | infutil.obj : zutil.h zlib.h zconf.h inftrees.h infutil.h 45 | minigzip.obj : zlib.h zconf.h 46 | trees.obj : deflate.h zutil.h zlib.h zconf.h 47 | uncompr.obj : zlib.h zconf.h 48 | zutil.obj : zutil.h zlib.h zconf.h 49 | -------------------------------------------------------------------------------- /zlib-1.2.13/contrib/infback9/infback9.h: -------------------------------------------------------------------------------- 1 | /* infback9.h -- header for using inflateBack9 functions 2 | * Copyright (C) 2003 Mark Adler 3 | * For conditions of distribution and use, see copyright notice in zlib.h 4 | */ 5 | 6 | /* 7 | * This header file and associated patches provide a decoder for PKWare's 8 | * undocumented deflate64 compression method (method 9). Use with infback9.c, 9 | * inftree9.h, inftree9.c, and inffix9.h. These patches are not supported. 10 | * This should be compiled with zlib, since it uses zutil.h and zutil.o. 11 | * This code has not yet been tested on 16-bit architectures. See the 12 | * comments in zlib.h for inflateBack() usage. These functions are used 13 | * identically, except that there is no windowBits parameter, and a 64K 14 | * window must be provided. Also if int's are 16 bits, then a zero for 15 | * the third parameter of the "out" function actually means 65536UL. 16 | * zlib.h must be included before this header file. 17 | */ 18 | 19 | #ifdef __cplusplus 20 | extern "C" { 21 | #endif 22 | 23 | ZEXTERN int ZEXPORT inflateBack9 OF((z_stream FAR *strm, 24 | in_func in, void FAR *in_desc, 25 | out_func out, void FAR *out_desc)); 26 | ZEXTERN int ZEXPORT inflateBack9End OF((z_stream FAR *strm)); 27 | ZEXTERN int ZEXPORT inflateBack9Init_ OF((z_stream FAR *strm, 28 | unsigned char FAR *window, 29 | const char *version, 30 | int stream_size)); 31 | #define inflateBack9Init(strm, window) \ 32 | inflateBack9Init_((strm), (window), \ 33 | ZLIB_VERSION, sizeof(z_stream)) 34 | 35 | #ifdef __cplusplus 36 | } 37 | #endif 38 | -------------------------------------------------------------------------------- /zlib-1.2.13/msdos/Makefile.emx: -------------------------------------------------------------------------------- 1 | # Makefile for zlib. Modified for emx 0.9c by Chr. Spieler, 6/17/98. 2 | # Copyright (C) 1995-1998 Jean-loup Gailly. 3 | # For conditions of distribution and use, see copyright notice in zlib.h 4 | 5 | # To compile, or to compile and test, type: 6 | # 7 | # make -fmakefile.emx; make test -fmakefile.emx 8 | # 9 | 10 | CC=gcc 11 | 12 | #CFLAGS=-MMD -O 13 | #CFLAGS=-O -DMAX_WBITS=14 -DMAX_MEM_LEVEL=7 14 | #CFLAGS=-MMD -g -DZLIB_DEBUG 15 | CFLAGS=-MMD -O3 $(BUTT) -Wall -Wwrite-strings -Wpointer-arith -Wconversion \ 16 | -Wstrict-prototypes -Wmissing-prototypes 17 | 18 | # If cp.exe is available, replace "copy /Y" with "cp -fp" . 19 | CP=copy /Y 20 | # If gnu install.exe is available, replace $(CP) with ginstall. 21 | INSTALL=$(CP) 22 | # The default value of RM is "rm -f." If "rm.exe" is found, comment out: 23 | RM=del 24 | LDLIBS=-L. -lzlib 25 | LD=$(CC) -s -o 26 | LDSHARED=$(CC) 27 | 28 | INCL=zlib.h zconf.h 29 | LIBS=zlib.a 30 | 31 | AR=ar rcs 32 | 33 | prefix=/usr/local 34 | exec_prefix = $(prefix) 35 | 36 | OBJS = adler32.o compress.o crc32.o gzclose.o gzlib.o gzread.o gzwrite.o \ 37 | uncompr.o deflate.o trees.o zutil.o inflate.o infback.o inftrees.o inffast.o 38 | 39 | TEST_OBJS = example.o minigzip.o 40 | 41 | all: example.exe minigzip.exe 42 | 43 | test: all 44 | ./example 45 | echo hello world | .\minigzip | .\minigzip -d 46 | 47 | %.o : %.c 48 | $(CC) $(CFLAGS) -c $< -o $@ 49 | 50 | zlib.a: $(OBJS) 51 | $(AR) $@ $(OBJS) 52 | 53 | %.exe : %.o $(LIBS) 54 | $(LD) $@ $< $(LDLIBS) 55 | 56 | 57 | .PHONY : clean 58 | 59 | clean: 60 | $(RM) *.d 61 | $(RM) *.o 62 | $(RM) *.exe 63 | $(RM) zlib.a 64 | $(RM) foo.gz 65 | 66 | DEPS := $(wildcard *.d) 67 | ifneq ($(DEPS),) 68 | include $(DEPS) 69 | endif 70 | -------------------------------------------------------------------------------- /zlib-1.2.13/old/Makefile.emx: -------------------------------------------------------------------------------- 1 | # Makefile for zlib. Modified for emx/rsxnt by Chr. Spieler, 6/16/98. 2 | # Copyright (C) 1995-1998 Jean-loup Gailly. 3 | # For conditions of distribution and use, see copyright notice in zlib.h 4 | 5 | # To compile, or to compile and test, type: 6 | # 7 | # make -fmakefile.emx; make test -fmakefile.emx 8 | # 9 | 10 | CC=gcc -Zwin32 11 | 12 | #CFLAGS=-MMD -O 13 | #CFLAGS=-O -DMAX_WBITS=14 -DMAX_MEM_LEVEL=7 14 | #CFLAGS=-MMD -g -DZLIB_DEBUG 15 | CFLAGS=-MMD -O3 $(BUTT) -Wall -Wwrite-strings -Wpointer-arith -Wconversion \ 16 | -Wstrict-prototypes -Wmissing-prototypes 17 | 18 | # If cp.exe is available, replace "copy /Y" with "cp -fp" . 19 | CP=copy /Y 20 | # If gnu install.exe is available, replace $(CP) with ginstall. 21 | INSTALL=$(CP) 22 | # The default value of RM is "rm -f." If "rm.exe" is found, comment out: 23 | RM=del 24 | LDLIBS=-L. -lzlib 25 | LD=$(CC) -s -o 26 | LDSHARED=$(CC) 27 | 28 | INCL=zlib.h zconf.h 29 | LIBS=zlib.a 30 | 31 | AR=ar rcs 32 | 33 | prefix=/usr/local 34 | exec_prefix = $(prefix) 35 | 36 | OBJS = adler32.o compress.o crc32.o deflate.o gzclose.o gzlib.o gzread.o \ 37 | gzwrite.o infback.o inffast.o inflate.o inftrees.o trees.o uncompr.o zutil.o 38 | 39 | TEST_OBJS = example.o minigzip.o 40 | 41 | all: example.exe minigzip.exe 42 | 43 | test: all 44 | ./example 45 | echo hello world | .\minigzip | .\minigzip -d 46 | 47 | %.o : %.c 48 | $(CC) $(CFLAGS) -c $< -o $@ 49 | 50 | zlib.a: $(OBJS) 51 | $(AR) $@ $(OBJS) 52 | 53 | %.exe : %.o $(LIBS) 54 | $(LD) $@ $< $(LDLIBS) 55 | 56 | 57 | .PHONY : clean 58 | 59 | clean: 60 | $(RM) *.d 61 | $(RM) *.o 62 | $(RM) *.exe 63 | $(RM) zlib.a 64 | $(RM) foo.gz 65 | 66 | DEPS := $(wildcard *.d) 67 | ifneq ($(DEPS),) 68 | include $(DEPS) 69 | endif 70 | -------------------------------------------------------------------------------- /.github/workflows/main.yml: -------------------------------------------------------------------------------- 1 | name: TECkit 2 | 3 | on: 4 | push: 5 | branches: [ master ] 6 | pull_request: 7 | branches: [ master ] 8 | 9 | jobs: 10 | windows: 11 | runs-on: ubuntu-22.04 12 | steps: 13 | - uses: mstksg/get-package@v1 14 | with: 15 | apt-get: mingw-w64 dos2unix groff 16 | - uses: actions/checkout@v4 17 | - name: setup 18 | run: ./autogen.sh 19 | - name: build 20 | run: ./build-windows-binaries.sh 21 | - name: package 22 | run: ./build-windows-package.sh 23 | - uses: actions/upload-artifact@v4 24 | with: 25 | name: TECkit-Windows-${{runner.arch}}-${{github.sha}}-build${{github.run_number}} 26 | path: TECkit-*.zip 27 | 28 | linux: 29 | runs-on: ${{ matrix.os }} 30 | strategy: 31 | matrix: 32 | os: [ubuntu-22.04, ubuntu-latest] 33 | steps: 34 | - uses: actions/checkout@v4 35 | - name: setup 36 | run: ./autogen.sh 37 | - name: build 38 | run: ./build-linux-binaries.sh 39 | 40 | macos: 41 | runs-on: macos-latest 42 | steps: 43 | - uses: mstksg/get-package@v1 44 | with: 45 | brew: automake libtool 46 | - uses: actions/checkout@v4 47 | - name: setup 48 | run: ./autogen.sh 49 | - name: build 50 | run: | 51 | ./build-mac-binaries.sh 52 | # The otool commands below show what shared libraries the binaries are linked against, 53 | # they do not affect the build of the binaries. 54 | # otool -L teckit-mac/bin/sfconv 55 | # otool -L teckit-mac/bin/teckit_compile 56 | # otool -L teckit-mac/bin/txtconv 57 | cd mac-installer 58 | ./create-pkg.sh 59 | - uses: actions/upload-artifact@v4 60 | with: 61 | name: TECkit-${{runner.os}}-${{runner.arch}}-${{github.sha}}-build${{github.run_number}} 62 | path: mac-installer/*.dmg 63 | -------------------------------------------------------------------------------- /source/teckitjni/MSDev/TecKitJni.plg: -------------------------------------------------------------------------------- 1 | 2 | 3 |
 4 | 

Build Log

5 |

6 | --------------------Configuration: TecKitJni - Win32 Debug-------------------- 7 |

8 |

Command Lines

9 | Creating temporary file "C:\DOCUME~1\root\LOCALS~1\Temp\RSP16.tmp" with contents 10 | [ 11 | /nologo /MTd /W3 /Gm /GX /Zi /Od /I "..\..\\" /I "..\..\zlib\src" /I "C:\Program Files\j2sdk_nb\j2sdk1.4.2\include" /I "C:\Program Files\j2sdk_nb\j2sdk1.4.2\include\win32" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "TECKITJNI_EXPORTS" /Fo"Debug/" /Fd"Debug/" /FD /GZ /c 12 | "E:\DocCharConvert\teckitjni\src\teckitjni.cpp" 13 | ] 14 | Creating command line "cl.exe @C:\DOCUME~1\root\LOCALS~1\Temp\RSP16.tmp" 15 | Creating temporary file "C:\DOCUME~1\root\LOCALS~1\Temp\RSP17.tmp" with contents 16 | [ 17 | kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /incremental:yes /pdb:"Debug/TecKitJni.pdb" /debug /machine:I386 /out:"Debug/TecKitJni.dll" /implib:"Debug/TecKitJni.lib" /pdbtype:sept 18 | .\Debug\adler32.obj 19 | .\Debug\compress.obj 20 | .\Debug\crc32.obj 21 | .\Debug\deflate.obj 22 | .\Debug\Engine.obj 23 | .\Debug\gzio.obj 24 | .\Debug\infblock.obj 25 | .\Debug\infcodes.obj 26 | .\Debug\inffast.obj 27 | .\Debug\inflate.obj 28 | .\Debug\inftrees.obj 29 | .\Debug\infutil.obj 30 | .\Debug\teckitjni.obj 31 | .\Debug\trees.obj 32 | .\Debug\uncompr.obj 33 | .\Debug\zutil.obj 34 | ] 35 | Creating command line "link.exe @C:\DOCUME~1\root\LOCALS~1\Temp\RSP17.tmp" 36 |

Output Window

37 | Compiling... 38 | teckitjni.cpp 39 | E:\DocCharConvert\teckitjni\src\teckitjni.cpp(187) : warning C4800: 'unsigned char' : forcing value to bool 'true' or 'false' (performance warning) 40 | Linking... 41 | Creating library Debug/TecKitJni.lib and object Debug/TecKitJni.exp 42 | 43 | 44 | 45 |

Results

46 | TecKitJni.dll - 0 error(s), 1 warning(s) 47 |
48 | 49 | 50 | -------------------------------------------------------------------------------- /zlib-1.2.13/contrib/puff/Makefile: -------------------------------------------------------------------------------- 1 | CFLAGS=-O 2 | 3 | puff: puff.o pufftest.o 4 | 5 | puff.o: puff.h 6 | 7 | pufftest.o: puff.h 8 | 9 | test: puff 10 | puff zeros.raw 11 | 12 | puft: puff.c puff.h pufftest.o 13 | cc -fprofile-arcs -ftest-coverage -o puft puff.c pufftest.o 14 | 15 | # puff full coverage test (should say 100%) 16 | cov: puft 17 | @rm -f *.gcov *.gcda 18 | @puft -w zeros.raw 2>&1 | cat > /dev/null 19 | @echo '04' | xxd -r -p | puft 2> /dev/null || test $$? -eq 2 20 | @echo '00' | xxd -r -p | puft 2> /dev/null || test $$? -eq 2 21 | @echo '00 00 00 00 00' | xxd -r -p | puft 2> /dev/null || test $$? -eq 254 22 | @echo '00 01 00 fe ff' | xxd -r -p | puft 2> /dev/null || test $$? -eq 2 23 | @echo '01 01 00 fe ff 0a' | xxd -r -p | puft -f 2>&1 | cat > /dev/null 24 | @echo '02 7e ff ff' | xxd -r -p | puft 2> /dev/null || test $$? -eq 246 25 | @echo '02' | xxd -r -p | puft 2> /dev/null || test $$? -eq 2 26 | @echo '04 80 49 92 24 49 92 24 0f b4 ff ff c3 04' | xxd -r -p | puft 2> /dev/null || test $$? -eq 2 27 | @echo '04 80 49 92 24 49 92 24 71 ff ff 93 11 00' | xxd -r -p | puft 2> /dev/null || test $$? -eq 249 28 | @echo '04 c0 81 08 00 00 00 00 20 7f eb 0b 00 00' | xxd -r -p | puft 2> /dev/null || test $$? -eq 246 29 | @echo '0b 00 00' | xxd -r -p | puft -f 2>&1 | cat > /dev/null 30 | @echo '1a 07' | xxd -r -p | puft 2> /dev/null || test $$? -eq 246 31 | @echo '0c c0 81 00 00 00 00 00 90 ff 6b 04' | xxd -r -p | puft 2> /dev/null || test $$? -eq 245 32 | @puft -f zeros.raw 2>&1 | cat > /dev/null 33 | @echo 'fc 00 00' | xxd -r -p | puft 2> /dev/null || test $$? -eq 253 34 | @echo '04 00 fe ff' | xxd -r -p | puft 2> /dev/null || test $$? -eq 252 35 | @echo '04 00 24 49' | xxd -r -p | puft 2> /dev/null || test $$? -eq 251 36 | @echo '04 80 49 92 24 49 92 24 0f b4 ff ff c3 84' | xxd -r -p | puft 2> /dev/null || test $$? -eq 248 37 | @echo '04 00 24 e9 ff ff' | xxd -r -p | puft 2> /dev/null || test $$? -eq 250 38 | @echo '04 00 24 e9 ff 6d' | xxd -r -p | puft 2> /dev/null || test $$? -eq 247 39 | @gcov -n puff.c 40 | 41 | clean: 42 | rm -f puff puft *.o *.gc* 43 | -------------------------------------------------------------------------------- /zlib-1.2.13/os400/README400: -------------------------------------------------------------------------------- 1 | ZLIB version 1.2.13 for OS/400 installation instructions 2 | 3 | 1) Download and unpack the zlib tarball to some IFS directory. 4 | (i.e.: /path/to/the/zlib/ifs/source/directory) 5 | 6 | If the installed IFS command supports gzip format, this is straightforward, 7 | else you have to unpack first to some directory on a system supporting it, 8 | then move the whole directory to the IFS via the network (via SMB or FTP). 9 | 10 | 2) Edit the configuration parameters in the compilation script. 11 | 12 | EDTF STMF('/path/to/the/zlib/ifs/source/directory/os400/make.sh') 13 | 14 | Tune the parameters according to your needs if not matching the defaults. 15 | Save the file and exit after edition. 16 | 17 | 3) Enter qshell, then work in the zlib OS/400 specific directory. 18 | 19 | QSH 20 | cd /path/to/the/zlib/ifs/source/directory/os400 21 | 22 | 4) Compile and install 23 | 24 | sh make.sh 25 | 26 | The script will: 27 | - create the libraries, objects and IFS directories for the zlib environment, 28 | - compile all modules, 29 | - create a service program, 30 | - create a static and a dynamic binding directory, 31 | - install header files for C/C++ and for ILE/RPG, both for compilation in 32 | DB2 and IFS environments. 33 | 34 | That's all. 35 | 36 | 37 | Notes: For OS/400 ILE RPG programmers, a /copy member defining the ZLIB 38 | API prototypes for ILE RPG can be found in ZLIB/H(ZLIB.INC). 39 | In the ILE environment, the same definitions are available from 40 | file zlib.inc located in the same IFS include directory as the 41 | C/C++ header files. 42 | Please read comments in this member for more information. 43 | 44 | Remember that most foreign textual data are ASCII coded: this 45 | implementation does not handle conversion from/to ASCII, so 46 | text data code conversions must be done explicitly. 47 | 48 | Mainly for the reason above, always open zipped files in binary mode. 49 | -------------------------------------------------------------------------------- /zlib-1.2.13/zlib.map: -------------------------------------------------------------------------------- 1 | ZLIB_1.2.0 { 2 | global: 3 | compressBound; 4 | deflateBound; 5 | inflateBack; 6 | inflateBackEnd; 7 | inflateBackInit_; 8 | inflateCopy; 9 | local: 10 | deflate_copyright; 11 | inflate_copyright; 12 | inflate_fast; 13 | inflate_table; 14 | zcalloc; 15 | zcfree; 16 | z_errmsg; 17 | gz_error; 18 | gz_intmax; 19 | _*; 20 | }; 21 | 22 | ZLIB_1.2.0.2 { 23 | gzclearerr; 24 | gzungetc; 25 | zlibCompileFlags; 26 | } ZLIB_1.2.0; 27 | 28 | ZLIB_1.2.0.8 { 29 | deflatePrime; 30 | } ZLIB_1.2.0.2; 31 | 32 | ZLIB_1.2.2 { 33 | adler32_combine; 34 | crc32_combine; 35 | deflateSetHeader; 36 | inflateGetHeader; 37 | } ZLIB_1.2.0.8; 38 | 39 | ZLIB_1.2.2.3 { 40 | deflateTune; 41 | gzdirect; 42 | } ZLIB_1.2.2; 43 | 44 | ZLIB_1.2.2.4 { 45 | inflatePrime; 46 | } ZLIB_1.2.2.3; 47 | 48 | ZLIB_1.2.3.3 { 49 | adler32_combine64; 50 | crc32_combine64; 51 | gzopen64; 52 | gzseek64; 53 | gztell64; 54 | inflateUndermine; 55 | } ZLIB_1.2.2.4; 56 | 57 | ZLIB_1.2.3.4 { 58 | inflateReset2; 59 | inflateMark; 60 | } ZLIB_1.2.3.3; 61 | 62 | ZLIB_1.2.3.5 { 63 | gzbuffer; 64 | gzoffset; 65 | gzoffset64; 66 | gzclose_r; 67 | gzclose_w; 68 | } ZLIB_1.2.3.4; 69 | 70 | ZLIB_1.2.5.1 { 71 | deflatePending; 72 | } ZLIB_1.2.3.5; 73 | 74 | ZLIB_1.2.5.2 { 75 | deflateResetKeep; 76 | gzgetc_; 77 | inflateResetKeep; 78 | } ZLIB_1.2.5.1; 79 | 80 | ZLIB_1.2.7.1 { 81 | inflateGetDictionary; 82 | gzvprintf; 83 | } ZLIB_1.2.5.2; 84 | 85 | ZLIB_1.2.9 { 86 | inflateCodesUsed; 87 | inflateValidate; 88 | uncompress2; 89 | gzfread; 90 | gzfwrite; 91 | deflateGetDictionary; 92 | adler32_z; 93 | crc32_z; 94 | } ZLIB_1.2.7.1; 95 | 96 | ZLIB_1.2.12 { 97 | crc32_combine_gen; 98 | crc32_combine_gen64; 99 | crc32_combine_op; 100 | } ZLIB_1.2.9; 101 | -------------------------------------------------------------------------------- /docs/sfconv.1: -------------------------------------------------------------------------------- 1 | .TH SFCONV 1 "2015-11-13" "TECkit" 2 | .SH NAME 3 | sfconv \- A tool for converting the encoding of Standard Format (SF) files 4 | .SH SYNOPSIS 5 | .SS "8-bit to Unicode:" 6 | .TP 7 | sfconv \fB\-8u\fR [\-utf8|\-be|\-le] [\-bom] \fB\-c\fR ControlFile [\-d MappingDirectory] \fB\-i\fR InFile \fB\-o\fR OutFile 8 | .SS "Unicode to 8-bit:" 9 | .TP 10 | sfconv \fB\-u8\fR [\-utf8|\-be|\-le] \fB\-c\fR ControlFile [\-d MappingDirectory] \fB\-i\fR InFile \fB\-o\fR OutFile 11 | .SH "DESCRIPTION" 12 | A tool for converting Standard Format (SF) files is included in the current TECkit package. 13 | This is \fBsfconv\fR , a command-line tool that uses an XML “control file” to specify the 14 | mappings associated with the various markers in an SF file. Note that the current SFconv tool 15 | should be considered a prototype rather than a full solution to the issue of SF conversions. A 16 | more complete tool with an improved user interface would be desirable. 17 | .SH "OPTIONS" 18 | The SFconv utility uses command-line options to specify the conversion direction, 19 | control file, and input and output files. The required arguments are: 20 | .TP 21 | .BR \-8u | \-u8 22 | conversion direction: 8-bit to Unicode or vice versa 23 | .TP 24 | .BR \-c controlFile 25 | specifies XML control file 26 | .TP 27 | .BR \-i inFile 28 | specifies filename of input SF file 29 | .TP 30 | .BR \-o outFile 31 | specifies filename for converted output 32 | 33 | In addition, the following optional arguments may be used if appropriate: 34 | .TP 35 | .BR \-d mappingDir 36 | directory where mapping files ( .tec files) are to be found 37 | .TP 38 | .BR \-utf8 | \-be | \-le 39 | Unicode encoding form: UTF-8, UTF-16BE, or UTF16-LE (default is UTF8 for output, or detected from input file if BOM is present) 40 | .TP 41 | .BR \-bom 42 | (only when mapping to Unicode) write initial BOM to the output file 43 | .TP 44 | .BR \-nfc | \-nfd 45 | (only when mapping to Unicode) normalize to NFC or NFD 46 | .SH Further Information 47 | For further information see the document TECkit_Tools.pdf. 48 | On a Debian system, this can be found in /usr/share/doc/teckit. 49 | -------------------------------------------------------------------------------- /zlib-1.2.13/win32/zlib.def: -------------------------------------------------------------------------------- 1 | ; zlib data compression library 2 | EXPORTS 3 | ; basic functions 4 | zlibVersion 5 | deflate 6 | deflateEnd 7 | inflate 8 | inflateEnd 9 | ; advanced functions 10 | deflateSetDictionary 11 | deflateGetDictionary 12 | deflateCopy 13 | deflateReset 14 | deflateParams 15 | deflateTune 16 | deflateBound 17 | deflatePending 18 | deflatePrime 19 | deflateSetHeader 20 | inflateSetDictionary 21 | inflateGetDictionary 22 | inflateSync 23 | inflateCopy 24 | inflateReset 25 | inflateReset2 26 | inflatePrime 27 | inflateMark 28 | inflateGetHeader 29 | inflateBack 30 | inflateBackEnd 31 | zlibCompileFlags 32 | ; utility functions 33 | compress 34 | compress2 35 | compressBound 36 | uncompress 37 | uncompress2 38 | gzopen 39 | gzdopen 40 | gzbuffer 41 | gzsetparams 42 | gzread 43 | gzfread 44 | gzwrite 45 | gzfwrite 46 | gzprintf 47 | gzvprintf 48 | gzputs 49 | gzgets 50 | gzputc 51 | gzgetc 52 | gzungetc 53 | gzflush 54 | gzseek 55 | gzrewind 56 | gztell 57 | gzoffset 58 | gzeof 59 | gzdirect 60 | gzclose 61 | gzclose_r 62 | gzclose_w 63 | gzerror 64 | gzclearerr 65 | ; large file functions 66 | gzopen64 67 | gzseek64 68 | gztell64 69 | gzoffset64 70 | adler32_combine64 71 | crc32_combine64 72 | crc32_combine_gen64 73 | ; checksum functions 74 | adler32 75 | adler32_z 76 | crc32 77 | crc32_z 78 | adler32_combine 79 | crc32_combine 80 | crc32_combine_gen 81 | crc32_combine_op 82 | ; various hacks, don't look :) 83 | deflateInit_ 84 | deflateInit2_ 85 | inflateInit_ 86 | inflateInit2_ 87 | inflateBackInit_ 88 | gzgetc_ 89 | zError 90 | inflateSyncPoint 91 | get_crc_table 92 | inflateUndermine 93 | inflateValidate 94 | inflateCodesUsed 95 | inflateResetKeep 96 | deflateResetKeep 97 | gzopen_w 98 | -------------------------------------------------------------------------------- /SFconv/expat/xmltok/xmltok_impl.h: -------------------------------------------------------------------------------- 1 | /* 2 | The contents of this file are subject to the Mozilla Public License 3 | Version 1.1 (the "License"); you may not use this file except in 4 | compliance with the License. You may obtain a copy of the License at 5 | http://www.mozilla.org/MPL/ 6 | 7 | Software distributed under the License is distributed on an "AS IS" 8 | basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the 9 | License for the specific language governing rights and limitations 10 | under the License. 11 | 12 | The Original Code is expat. 13 | 14 | The Initial Developer of the Original Code is James Clark. 15 | Portions created by James Clark are Copyright (C) 1998, 1999 16 | James Clark. All Rights Reserved. 17 | 18 | Contributor(s): 19 | 20 | Alternatively, the contents of this file may be used under the terms 21 | of the GNU General Public License (the "GPL"), in which case the 22 | provisions of the GPL are applicable instead of those above. If you 23 | wish to allow use of your version of this file only under the terms of 24 | the GPL and not to allow others to use your version of this file under 25 | the MPL, indicate your decision by deleting the provisions above and 26 | replace them with the notice and other provisions required by the 27 | GPL. If you do not delete the provisions above, a recipient may use 28 | your version of this file under either the MPL or the GPL. 29 | */ 30 | 31 | enum { 32 | BT_NONXML, 33 | BT_MALFORM, 34 | BT_LT, 35 | BT_AMP, 36 | BT_RSQB, 37 | BT_LEAD2, 38 | BT_LEAD3, 39 | BT_LEAD4, 40 | BT_TRAIL, 41 | BT_CR, 42 | BT_LF, 43 | BT_GT, 44 | BT_QUOT, 45 | BT_APOS, 46 | BT_EQUALS, 47 | BT_QUEST, 48 | BT_EXCL, 49 | BT_SOL, 50 | BT_SEMI, 51 | BT_NUM, 52 | BT_LSQB, 53 | BT_S, 54 | BT_NMSTRT, 55 | BT_COLON, 56 | BT_HEX, 57 | BT_DIGIT, 58 | BT_NAME, 59 | BT_MINUS, 60 | BT_OTHER, /* known not to be a name or name start character */ 61 | BT_NONASCII, /* might be a name or name start character */ 62 | BT_PERCNT, 63 | BT_LPAR, 64 | BT_RPAR, 65 | BT_AST, 66 | BT_PLUS, 67 | BT_COMMA, 68 | BT_VERBAR 69 | }; 70 | 71 | #include 72 | -------------------------------------------------------------------------------- /zlib-1.2.13/amiga/Makefile.sas: -------------------------------------------------------------------------------- 1 | # SMakefile for zlib 2 | # Modified from the standard UNIX Makefile Copyright Jean-loup Gailly 3 | # Osma Ahvenlampi 4 | # Amiga, SAS/C 6.56 & Smake 5 | 6 | CC=sc 7 | CFLAGS=OPT 8 | #CFLAGS=OPT CPU=68030 9 | #CFLAGS=DEBUG=LINE 10 | LDFLAGS=LIB z.lib 11 | 12 | SCOPTIONS=OPTSCHED OPTINLINE OPTALIAS OPTTIME OPTINLOCAL STRMERGE \ 13 | NOICONS PARMS=BOTH NOSTACKCHECK UTILLIB NOVERSION ERRORREXX \ 14 | DEF=POSTINC 15 | 16 | OBJS = adler32.o compress.o crc32.o gzclose.o gzlib.o gzread.o gzwrite.o \ 17 | uncompr.o deflate.o trees.o zutil.o inflate.o infback.o inftrees.o inffast.o 18 | 19 | TEST_OBJS = example.o minigzip.o 20 | 21 | all: SCOPTIONS example minigzip 22 | 23 | check: test 24 | test: all 25 | example 26 | echo hello world | minigzip | minigzip -d 27 | 28 | install: z.lib 29 | copy clone zlib.h zconf.h INCLUDE: 30 | copy clone z.lib LIB: 31 | 32 | z.lib: $(OBJS) 33 | oml z.lib r $(OBJS) 34 | 35 | example: example.o z.lib 36 | $(CC) $(CFLAGS) LINK TO $@ example.o $(LDFLAGS) 37 | 38 | minigzip: minigzip.o z.lib 39 | $(CC) $(CFLAGS) LINK TO $@ minigzip.o $(LDFLAGS) 40 | 41 | mostlyclean: clean 42 | clean: 43 | -delete force quiet example minigzip *.o z.lib foo.gz *.lnk SCOPTIONS 44 | 45 | SCOPTIONS: Makefile.sas 46 | copy to $@ insert n+1 empty lines 14 | .\" for manpage-specific macros, see man(7) 15 | .SH NAME 16 | miniunzip - uncompress and examine ZIP archives 17 | .SH SYNOPSIS 18 | .B miniunzip 19 | .RI [ -exvlo ] 20 | zipfile [ files_to_extract ] [-d tempdir] 21 | .SH DESCRIPTION 22 | .B minizip 23 | is a simple tool which allows the extraction of compressed file 24 | archives in the ZIP format used by the MS-DOS utility PKZIP. It was 25 | written as a demonstration of the 26 | .IR zlib (3) 27 | library and therefore lack many of the features of the 28 | .IR unzip (1) 29 | program. 30 | .SH OPTIONS 31 | A number of options are supported. With the exception of 32 | .BI \-d\ tempdir 33 | these must be supplied before any 34 | other arguments and are: 35 | .TP 36 | .BI \-l\ ,\ \-\-v 37 | List the files in the archive without extracting them. 38 | .TP 39 | .B \-o 40 | Overwrite files without prompting for confirmation. 41 | .TP 42 | .B \-x 43 | Extract files (default). 44 | .PP 45 | The 46 | .I zipfile 47 | argument is the name of the archive to process. The next argument can be used 48 | to specify a single file to extract from the archive. 49 | 50 | Lastly, the following option can be specified at the end of the command-line: 51 | .TP 52 | .BI \-d\ tempdir 53 | Extract the archive in the directory 54 | .I tempdir 55 | rather than the current directory. 56 | .SH SEE ALSO 57 | .BR minizip (1), 58 | .BR zlib (3), 59 | .BR unzip (1). 60 | .SH AUTHOR 61 | This program was written by Gilles Vollant. This manual page was 62 | written by Mark Brown . The -d tempdir option 63 | was added by Dirk Eddelbuettel . 64 | -------------------------------------------------------------------------------- /zlib-1.2.13/contrib/infback9/inflate9.h: -------------------------------------------------------------------------------- 1 | /* inflate9.h -- internal inflate state definition 2 | * Copyright (C) 1995-2003 Mark Adler 3 | * For conditions of distribution and use, see copyright notice in zlib.h 4 | */ 5 | 6 | /* WARNING: this file should *not* be used by applications. It is 7 | part of the implementation of the compression library and is 8 | subject to change. Applications should only use zlib.h. 9 | */ 10 | 11 | /* Possible inflate modes between inflate() calls */ 12 | typedef enum { 13 | TYPE, /* i: waiting for type bits, including last-flag bit */ 14 | STORED, /* i: waiting for stored size (length and complement) */ 15 | TABLE, /* i: waiting for dynamic block table lengths */ 16 | LEN, /* i: waiting for length/lit code */ 17 | DONE, /* finished check, done -- remain here until reset */ 18 | BAD /* got a data error -- remain here until reset */ 19 | } inflate_mode; 20 | 21 | /* 22 | State transitions between above modes - 23 | 24 | (most modes can go to the BAD mode -- not shown for clarity) 25 | 26 | Read deflate blocks: 27 | TYPE -> STORED or TABLE or LEN or DONE 28 | STORED -> TYPE 29 | TABLE -> LENLENS -> CODELENS -> LEN 30 | Read deflate codes: 31 | LEN -> LEN or TYPE 32 | */ 33 | 34 | /* state maintained between inflate() calls. Approximately 7K bytes. */ 35 | struct inflate_state { 36 | /* sliding window */ 37 | unsigned char FAR *window; /* allocated sliding window, if needed */ 38 | /* dynamic table building */ 39 | unsigned ncode; /* number of code length code lengths */ 40 | unsigned nlen; /* number of length code lengths */ 41 | unsigned ndist; /* number of distance code lengths */ 42 | unsigned have; /* number of code lengths in lens[] */ 43 | code FAR *next; /* next available space in codes[] */ 44 | unsigned short lens[320]; /* temporary storage for code lengths */ 45 | unsigned short work[288]; /* work area for code table building */ 46 | code codes[ENOUGH]; /* space for code tables */ 47 | }; 48 | -------------------------------------------------------------------------------- /zlib-1.2.13/examples/README.examples: -------------------------------------------------------------------------------- 1 | This directory contains examples of the use of zlib and other relevant 2 | programs and documentation. 3 | 4 | enough.c 5 | calculation and justification of ENOUGH parameter in inftrees.h 6 | - calculates the maximum table space used in inflate tree 7 | construction over all possible Huffman codes 8 | 9 | fitblk.c 10 | compress just enough input to nearly fill a requested output size 11 | - zlib isn't designed to do this, but fitblk does it anyway 12 | 13 | gun.c 14 | uncompress a gzip file 15 | - illustrates the use of inflateBack() for high speed file-to-file 16 | decompression using call-back functions 17 | - is approximately twice as fast as gzip -d 18 | - also provides Unix uncompress functionality, again twice as fast 19 | 20 | gzappend.c 21 | append to a gzip file 22 | - illustrates the use of the Z_BLOCK flush parameter for inflate() 23 | - illustrates the use of deflatePrime() to start at any bit 24 | 25 | gzjoin.c 26 | join gzip files without recalculating the crc or recompressing 27 | - illustrates the use of the Z_BLOCK flush parameter for inflate() 28 | - illustrates the use of crc32_combine() 29 | 30 | gzlog.c 31 | gzlog.h 32 | efficiently and robustly maintain a message log file in gzip format 33 | - illustrates use of raw deflate, Z_PARTIAL_FLUSH, deflatePrime(), 34 | and deflateSetDictionary() 35 | - illustrates use of a gzip header extra field 36 | 37 | gznorm.c 38 | normalize a gzip file by combining members into a single member 39 | - demonstrates how to concatenate deflate streams using Z_BLOCK 40 | 41 | zlib_how.html 42 | painfully comprehensive description of zpipe.c (see below) 43 | - describes in excruciating detail the use of deflate() and inflate() 44 | 45 | zpipe.c 46 | reads and writes zlib streams from stdin to stdout 47 | - illustrates the proper use of deflate() and inflate() 48 | - deeply commented in zlib_how.html (see above) 49 | 50 | zran.c 51 | zran.h 52 | index a zlib or gzip stream and randomly access it 53 | - illustrates the use of Z_BLOCK, inflatePrime(), and 54 | inflateSetDictionary() to provide random access 55 | -------------------------------------------------------------------------------- /zlib-1.2.13/INDEX: -------------------------------------------------------------------------------- 1 | CMakeLists.txt cmake build file 2 | ChangeLog history of changes 3 | FAQ Frequently Asked Questions about zlib 4 | INDEX this file 5 | Makefile dummy Makefile that tells you to ./configure 6 | Makefile.in template for Unix Makefile 7 | README guess what 8 | configure configure script for Unix 9 | make_vms.com makefile for VMS 10 | test/example.c zlib usages examples for build testing 11 | test/minigzip.c minimal gzip-like functionality for build testing 12 | test/infcover.c inf*.c code coverage for build coverage testing 13 | treebuild.xml XML description of source file dependencies 14 | zconf.h.cmakein zconf.h template for cmake 15 | zconf.h.in zconf.h template for configure 16 | zlib.3 Man page for zlib 17 | zlib.3.pdf Man page in PDF format 18 | zlib.map Linux symbol information 19 | zlib.pc.in Template for pkg-config descriptor 20 | zlib.pc.cmakein zlib.pc template for cmake 21 | zlib2ansi perl script to convert source files for C++ compilation 22 | 23 | amiga/ makefiles for Amiga SAS C 24 | as400/ makefiles for AS/400 25 | doc/ documentation for formats and algorithms 26 | msdos/ makefiles for MSDOS 27 | nintendods/ makefile for Nintendo DS 28 | old/ makefiles for various architectures and zlib documentation 29 | files that have not yet been updated for zlib 1.2.x 30 | qnx/ makefiles for QNX 31 | watcom/ makefiles for OpenWatcom 32 | win32/ makefiles for Windows 33 | 34 | zlib public header files (required for library use): 35 | zconf.h 36 | zlib.h 37 | 38 | private source files used to build the zlib library: 39 | adler32.c 40 | compress.c 41 | crc32.c 42 | crc32.h 43 | deflate.c 44 | deflate.h 45 | gzclose.c 46 | gzguts.h 47 | gzlib.c 48 | gzread.c 49 | gzwrite.c 50 | infback.c 51 | inffast.c 52 | inffast.h 53 | inffixed.h 54 | inflate.c 55 | inflate.h 56 | inftrees.c 57 | inftrees.h 58 | trees.c 59 | trees.h 60 | uncompr.c 61 | zutil.c 62 | zutil.h 63 | 64 | source files for sample programs 65 | See examples/README.examples 66 | 67 | unsupported contributions by third parties 68 | See contrib/README.contrib 69 | -------------------------------------------------------------------------------- /zlib-1.2.13/contrib/vstudio/vc10/testzlib.vcxproj.filters: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | {c1f6a2e3-5da5-4955-8653-310d3efe05a9} 6 | cpp;c;cxx;def;odl;idl;hpj;bat 7 | 8 | 9 | {c2aaffdc-2c95-4d6f-8466-4bec5890af2c} 10 | h;hpp;hxx;hm;inl;inc 11 | 12 | 13 | {c274fe07-05f2-461c-964b-f6341e4e7eb5} 14 | rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe 15 | 16 | 17 | 18 | 19 | Source Files 20 | 21 | 22 | Source Files 23 | 24 | 25 | Source Files 26 | 27 | 28 | Source Files 29 | 30 | 31 | Source Files 32 | 33 | 34 | Source Files 35 | 36 | 37 | Source Files 38 | 39 | 40 | Source Files 41 | 42 | 43 | Source Files 44 | 45 | 46 | Source Files 47 | 48 | 49 | Source Files 50 | 51 | 52 | Source Files 53 | 54 | 55 | -------------------------------------------------------------------------------- /zlib-1.2.13/amiga/Makefile.pup: -------------------------------------------------------------------------------- 1 | # Amiga powerUP (TM) Makefile 2 | # makefile for libpng and SAS C V6.58/7.00 PPC compiler 3 | # Copyright (C) 1998 by Andreas R. Kleinert 4 | 5 | LIBNAME = libzip.a 6 | 7 | CC = scppc 8 | CFLAGS = NOSTKCHK NOSINT OPTIMIZE OPTGO OPTPEEP OPTINLOCAL OPTINL \ 9 | OPTLOOP OPTRDEP=8 OPTDEP=8 OPTCOMP=8 NOVER 10 | AR = ppc-amigaos-ar cr 11 | RANLIB = ppc-amigaos-ranlib 12 | LD = ppc-amigaos-ld -r 13 | LDFLAGS = -o 14 | LDLIBS = LIB:scppc.a LIB:end.o 15 | RM = delete quiet 16 | 17 | OBJS = adler32.o compress.o crc32.o gzclose.o gzlib.o gzread.o gzwrite.o \ 18 | uncompr.o deflate.o trees.o zutil.o inflate.o infback.o inftrees.o inffast.o 19 | 20 | TEST_OBJS = example.o minigzip.o 21 | 22 | all: example minigzip 23 | 24 | check: test 25 | test: all 26 | example 27 | echo hello world | minigzip | minigzip -d 28 | 29 | $(LIBNAME): $(OBJS) 30 | $(AR) $@ $(OBJS) 31 | -$(RANLIB) $@ 32 | 33 | example: example.o $(LIBNAME) 34 | $(LD) $(LDFLAGS) $@ LIB:c_ppc.o $@.o $(LIBNAME) $(LDLIBS) 35 | 36 | minigzip: minigzip.o $(LIBNAME) 37 | $(LD) $(LDFLAGS) $@ LIB:c_ppc.o $@.o $(LIBNAME) $(LDLIBS) 38 | 39 | mostlyclean: clean 40 | clean: 41 | $(RM) *.o example minigzip $(LIBNAME) foo.gz 42 | 43 | zip: 44 | zip -ul9 zlib README ChangeLog Makefile Make????.??? Makefile.?? \ 45 | descrip.mms *.[ch] 46 | 47 | tgz: 48 | cd ..; tar cfz zlib/zlib.tgz zlib/README zlib/ChangeLog zlib/Makefile \ 49 | zlib/Make????.??? zlib/Makefile.?? zlib/descrip.mms zlib/*.[ch] 50 | 51 | # DO NOT DELETE THIS LINE -- make depend depends on it. 52 | 53 | adler32.o: zlib.h zconf.h 54 | compress.o: zlib.h zconf.h 55 | crc32.o: crc32.h zlib.h zconf.h 56 | deflate.o: deflate.h zutil.h zlib.h zconf.h 57 | example.o: zlib.h zconf.h 58 | gzclose.o: zlib.h zconf.h gzguts.h 59 | gzlib.o: zlib.h zconf.h gzguts.h 60 | gzread.o: zlib.h zconf.h gzguts.h 61 | gzwrite.o: zlib.h zconf.h gzguts.h 62 | inffast.o: zutil.h zlib.h zconf.h inftrees.h inflate.h inffast.h 63 | inflate.o: zutil.h zlib.h zconf.h inftrees.h inflate.h inffast.h 64 | infback.o: zutil.h zlib.h zconf.h inftrees.h inflate.h inffast.h 65 | inftrees.o: zutil.h zlib.h zconf.h inftrees.h 66 | minigzip.o: zlib.h zconf.h 67 | trees.o: deflate.h zutil.h zlib.h zconf.h trees.h 68 | uncompr.o: zlib.h zconf.h 69 | zutil.o: zutil.h zlib.h zconf.h 70 | -------------------------------------------------------------------------------- /zlib-1.2.13/examples/zran.h: -------------------------------------------------------------------------------- 1 | /* zran.h -- example of zlib/gzip stream indexing and random access 2 | * Copyright (C) 2005, 2012, 2018 Mark Adler 3 | * For conditions of distribution and use, see copyright notice in zlib.h 4 | * Version 1.2 14 Oct 2018 Mark Adler */ 5 | 6 | #include 7 | #include "zlib.h" 8 | 9 | /* Access point list. */ 10 | struct deflate_index { 11 | int have; /* number of list entries */ 12 | int gzip; /* 1 if the index is of a gzip file, 0 if it is of a 13 | zlib stream */ 14 | off_t length; /* total length of uncompressed data */ 15 | void *list; /* allocated list of entries */ 16 | }; 17 | 18 | /* Make one entire pass through a zlib or gzip compressed stream and build an 19 | index, with access points about every span bytes of uncompressed output. 20 | gzip files with multiple members are indexed in their entirety. span should 21 | be chosen to balance the speed of random access against the memory 22 | requirements of the list, about 32K bytes per access point. The return value 23 | is the number of access points on success (>= 1), Z_MEM_ERROR for out of 24 | memory, Z_DATA_ERROR for an error in the input file, or Z_ERRNO for a file 25 | read error. On success, *built points to the resulting index. */ 26 | int deflate_index_build(FILE *in, off_t span, struct deflate_index **built); 27 | 28 | /* Deallocate an index built by deflate_index_build() */ 29 | void deflate_index_free(struct deflate_index *index); 30 | 31 | /* Use the index to read len bytes from offset into buf. Return bytes read or 32 | negative for error (Z_DATA_ERROR or Z_MEM_ERROR). If data is requested past 33 | the end of the uncompressed data, then deflate_index_extract() will return a 34 | value less than len, indicating how much was actually read into buf. This 35 | function should not return a data error unless the file was modified since 36 | the index was generated, since deflate_index_build() validated all of the 37 | input. deflate_index_extract() will return Z_ERRNO if there is an error on 38 | reading or seeking the input file. */ 39 | int deflate_index_extract(FILE *in, struct deflate_index *index, off_t offset, 40 | unsigned char *buf, int len); 41 | -------------------------------------------------------------------------------- /SFconv/expat/xmlparse/hashtable.h: -------------------------------------------------------------------------------- 1 | /* 2 | The contents of this file are subject to the Mozilla Public License 3 | Version 1.1 (the "License"); you may not use this file except in 4 | compliance with the License. You may obtain a copy of the License at 5 | http://www.mozilla.org/MPL/ 6 | 7 | Software distributed under the License is distributed on an "AS IS" 8 | basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the 9 | License for the specific language governing rights and limitations 10 | under the License. 11 | 12 | The Original Code is expat. 13 | 14 | The Initial Developer of the Original Code is James Clark. 15 | Portions created by James Clark are Copyright (C) 1998, 1999 16 | James Clark. All Rights Reserved. 17 | 18 | Contributor(s): 19 | 20 | Alternatively, the contents of this file may be used under the terms 21 | of the GNU General Public License (the "GPL"), in which case the 22 | provisions of the GPL are applicable instead of those above. If you 23 | wish to allow use of your version of this file only under the terms of 24 | the GPL and not to allow others to use your version of this file under 25 | the MPL, indicate your decision by deleting the provisions above and 26 | replace them with the notice and other provisions required by the 27 | GPL. If you do not delete the provisions above, a recipient may use 28 | your version of this file under either the MPL or the GPL. 29 | */ 30 | 31 | 32 | #include 33 | 34 | #ifdef XML_UNICODE 35 | 36 | #ifdef XML_UNICODE_WCHAR_T 37 | typedef const wchar_t *KEY; 38 | #else /* not XML_UNICODE_WCHAR_T */ 39 | typedef const unsigned short *KEY; 40 | #endif /* not XML_UNICODE_WCHAR_T */ 41 | 42 | #else /* not XML_UNICODE */ 43 | 44 | typedef const char *KEY; 45 | 46 | #endif /* not XML_UNICODE */ 47 | 48 | typedef struct { 49 | KEY name; 50 | } NAMED; 51 | 52 | typedef struct { 53 | NAMED **v; 54 | size_t size; 55 | size_t used; 56 | size_t usedLim; 57 | } HASH_TABLE; 58 | 59 | NAMED *lookup(HASH_TABLE *table, KEY name, size_t createSize); 60 | void hashTableInit(HASH_TABLE *); 61 | void hashTableDestroy(HASH_TABLE *); 62 | 63 | typedef struct { 64 | NAMED **p; 65 | NAMED **end; 66 | } HASH_TABLE_ITER; 67 | 68 | void hashTableIterInit(HASH_TABLE_ITER *, const HASH_TABLE *); 69 | NAMED *hashTableIterNext(HASH_TABLE_ITER *); 70 | -------------------------------------------------------------------------------- /zlib-1.2.13/contrib/ada/readme.txt: -------------------------------------------------------------------------------- 1 | ZLib for Ada thick binding (ZLib.Ada) 2 | Release 1.3 3 | 4 | ZLib.Ada is a thick binding interface to the popular ZLib data 5 | compression library, available at http://www.gzip.org/zlib/. 6 | It provides Ada-style access to the ZLib C library. 7 | 8 | 9 | Here are the main changes since ZLib.Ada 1.2: 10 | 11 | - Attension: ZLib.Read generic routine have a initialization requirement 12 | for Read_Last parameter now. It is a bit incompartible with previous version, 13 | but extends functionality, we could use new parameters Allow_Read_Some and 14 | Flush now. 15 | 16 | - Added Is_Open routines to ZLib and ZLib.Streams packages. 17 | 18 | - Add pragma Assert to check Stream_Element is 8 bit. 19 | 20 | - Fix extraction to buffer with exact known decompressed size. Error reported by 21 | Steve Sangwine. 22 | 23 | - Fix definition of ULong (changed to unsigned_long), fix regression on 64 bits 24 | computers. Patch provided by Pascal Obry. 25 | 26 | - Add Status_Error exception definition. 27 | 28 | - Add pragma Assertion that Ada.Streams.Stream_Element size is 8 bit. 29 | 30 | 31 | How to build ZLib.Ada under GNAT 32 | 33 | You should have the ZLib library already build on your computer, before 34 | building ZLib.Ada. Make the directory of ZLib.Ada sources current and 35 | issue the command: 36 | 37 | gnatmake test -largs -L -lz 38 | 39 | Or use the GNAT project file build for GNAT 3.15 or later: 40 | 41 | gnatmake -Pzlib.gpr -L 42 | 43 | 44 | How to build ZLib.Ada under Aonix ObjectAda for Win32 7.2.2 45 | 46 | 1. Make a project with all *.ads and *.adb files from the distribution. 47 | 2. Build the libz.a library from the ZLib C sources. 48 | 3. Rename libz.a to z.lib. 49 | 4. Add the library z.lib to the project. 50 | 5. Add the libc.lib library from the ObjectAda distribution to the project. 51 | 6. Build the executable using test.adb as a main procedure. 52 | 53 | 54 | How to use ZLib.Ada 55 | 56 | The source files test.adb and read.adb are small demo programs that show 57 | the main functionality of ZLib.Ada. 58 | 59 | The routines from the package specifications are commented. 60 | 61 | 62 | Homepage: http://zlib-ada.sourceforge.net/ 63 | Author: Dmitriy Anisimkov 64 | 65 | Contributors: Pascal Obry , Steve Sangwine 66 | -------------------------------------------------------------------------------- /zlib-1.2.13/contrib/README.contrib: -------------------------------------------------------------------------------- 1 | All files under this contrib directory are UNSUPPORTED. They were 2 | provided by users of zlib and were not tested by the authors of zlib. 3 | Use at your own risk. Please contact the authors of the contributions 4 | for help about these, not the zlib authors. Thanks. 5 | 6 | 7 | ada/ by Dmitriy Anisimkov 8 | Support for Ada 9 | See http://zlib-ada.sourceforge.net/ 10 | 11 | blast/ by Mark Adler 12 | Decompressor for output of PKWare Data Compression Library (DCL) 13 | 14 | delphi/ by Cosmin Truta 15 | Support for Delphi and C++ Builder 16 | 17 | dotzlib/ by Henrik Ravn 18 | Support for Microsoft .Net and Visual C++ .Net 19 | 20 | gcc_gvmat64/by Gilles Vollant 21 | GCC Version of x86 64-bit (AMD64 and Intel EM64t) code for x64 22 | assembler to replace longest_match() and inflate_fast() 23 | 24 | infback9/ by Mark Adler 25 | Unsupported diffs to infback to decode the deflate64 format 26 | 27 | iostream/ by Kevin Ruland 28 | A C++ I/O streams interface to the zlib gz* functions 29 | 30 | iostream2/ by Tyge Løvset 31 | Another C++ I/O streams interface 32 | 33 | iostream3/ by Ludwig Schwardt 34 | and Kevin Ruland 35 | Yet another C++ I/O streams interface 36 | 37 | minizip/ by Gilles Vollant 38 | Mini zip and unzip based on zlib 39 | Includes Zip64 support by Mathias Svensson 40 | See http://www.winimage.com/zLibDll/minizip.html 41 | 42 | pascal/ by Bob Dellaca et al. 43 | Support for Pascal 44 | 45 | puff/ by Mark Adler 46 | Small, low memory usage inflate. Also serves to provide an 47 | unambiguous description of the deflate format. 48 | 49 | testzlib/ by Gilles Vollant 50 | Example of the use of zlib 51 | 52 | untgz/ by Pedro A. Aranda Gutierrez 53 | A very simple tar.gz file extractor using zlib 54 | 55 | vstudio/ by Gilles Vollant 56 | Building a minizip-enhanced zlib with Microsoft Visual Studio 57 | Includes vc11 from kreuzerkrieg and vc12 from davispuh 58 | -------------------------------------------------------------------------------- /NEWS: -------------------------------------------------------------------------------- 1 | 2025-12-16 2 | Version 2.5.13 3 | Updated Unicode character names and normalization data to 17.0.0 4 | 5 | 2023-08-25 6 | Version 2.5.12 7 | Updated Unicode character names and normalization data to 15.0.0 8 | Updated zlib to version 1.2.13 9 | Updated documentation 10 | 11 | 2021-11-08 12 | Version 2.5.11 13 | Updated Unicode character names and normalization data to 14.0.0 14 | Updated documentation 15 | 16 | 2020-05-05 17 | Version 2.5.10 18 | Updated Unicode character names and normalization data to 13.0.0 19 | Updated zlib to version 1.2.11 20 | Various improvements for compiling and documentation. 21 | 22 | 2019-03-18 23 | Version 2.5.9 24 | Updated Unicode character names and normalization data to 12.0.0 25 | Various improvements for testing, compiling, and documentation. 26 | 27 | 2018-06-18 28 | Version 2.5.8 29 | Updated Unicode character names and normalization data to 11.0.0 30 | 31 | 2017-06-22 32 | Version 2.5.7 33 | Updated Unicode character names and normalization data to 10.0.0 34 | Added a 64-bit Windows build 35 | Updated documentation 36 | 37 | 2016-04-19 38 | Version 2.5.6 39 | Added a diversion of /usr/bin/teckit_compile to avoid a conflict with the 40 | texlive-binaries package on Linux 41 | 42 | 2016-04-11 43 | Version 2.5.5 44 | Split shared libraries into a separate Linux package 45 | Made Linux packages multiarch-compatible 46 | Fixed compiler warnings 47 | 48 | 2014-07-09 49 | Version 2.5.4 50 | Improved building and testing scripts 51 | Enabled tests to be run on Windows without bash 52 | 53 | 2014-06-30 54 | Updated Unicode character names and normalization data to 7.0.0 55 | Fixed data normalization bug 56 | Updated tests 57 | Improved Unicode version updating 58 | Fixed compiler warnings 59 | 60 | 2011-01-13 61 | Updated Unicode character names and normalization data to 6.0.0 62 | Updated copyright dates and contact details 63 | 64 | 2009-01-30 65 | Fixed returning zero-length strings in Perl 66 | 67 | 2008-04-07 68 | updated Unicode character names and normalization data to 5.1 69 | now building Windows release with mingw32-gcc instead of CodeWarrior 70 | minor compiler bugfixes and code cleanup for portability 71 | 72 | 2006-03-16 73 | updated Unicode character names and normalization data to 5.0 74 | added license files and docs to subversion repository 75 | released new Windows binary package, supporting -x option in teckit_compile 76 | -------------------------------------------------------------------------------- /SFconv/expat/xmlwf/unixfilemap.c: -------------------------------------------------------------------------------- 1 | /* 2 | The contents of this file are subject to the Mozilla Public License 3 | Version 1.1 (the "License"); you may not use this file except in 4 | compliance with the License. You may obtain a copy of the License at 5 | http://www.mozilla.org/MPL/ 6 | 7 | Software distributed under the License is distributed on an "AS IS" 8 | basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the 9 | License for the specific language governing rights and limitations 10 | under the License. 11 | 12 | The Original Code is expat. 13 | 14 | The Initial Developer of the Original Code is James Clark. 15 | Portions created by James Clark are Copyright (C) 1998, 1999 16 | James Clark. All Rights Reserved. 17 | 18 | Contributor(s): 19 | 20 | Alternatively, the contents of this file may be used under the terms 21 | of the GNU General Public License (the "GPL"), in which case the 22 | provisions of the GPL are applicable instead of those above. If you 23 | wish to allow use of your version of this file only under the terms of 24 | the GPL and not to allow others to use your version of this file under 25 | the MPL, indicate your decision by deleting the provisions above and 26 | replace them with the notice and other provisions required by the 27 | GPL. If you do not delete the provisions above, a recipient may use 28 | your version of this file under either the MPL or the GPL. 29 | */ 30 | 31 | #include 32 | #include 33 | #include 34 | #include 35 | #include 36 | #include 37 | #include 38 | 39 | #ifndef MAP_FILE 40 | #define MAP_FILE 0 41 | #endif 42 | 43 | #include "filemap.h" 44 | 45 | int filemap(const char *name, 46 | void (*processor)(const void *, size_t, const char *, void *arg), 47 | void *arg) 48 | { 49 | int fd; 50 | size_t nbytes; 51 | struct stat sb; 52 | void *p; 53 | 54 | fd = open(name, O_RDONLY); 55 | if (fd < 0) { 56 | perror(name); 57 | return 0; 58 | } 59 | if (fstat(fd, &sb) < 0) { 60 | perror(name); 61 | close(fd); 62 | return 0; 63 | } 64 | if (!S_ISREG(sb.st_mode)) { 65 | close(fd); 66 | fprintf(stderr, "%s: not a regular file\n", name); 67 | return 0; 68 | } 69 | 70 | nbytes = sb.st_size; 71 | p = (void *)mmap((caddr_t)0, (size_t)nbytes, PROT_READ, 72 | MAP_FILE|MAP_PRIVATE, fd, (off_t)0); 73 | if (p == (void *)-1) { 74 | perror(name); 75 | close(fd); 76 | return 0; 77 | } 78 | processor(p, nbytes, name, arg); 79 | munmap((caddr_t)p, nbytes); 80 | close(fd); 81 | return 1; 82 | } 83 | -------------------------------------------------------------------------------- /zlib-1.2.13/contrib/dotzlib/readme.txt: -------------------------------------------------------------------------------- 1 | This directory contains a .Net wrapper class library for the ZLib1.dll 2 | 3 | The wrapper includes support for inflating/deflating memory buffers, 4 | .Net streaming wrappers for the gz streams part of zlib, and wrappers 5 | for the checksum parts of zlib. See DotZLib/UnitTests.cs for examples. 6 | 7 | Directory structure: 8 | -------------------- 9 | 10 | LICENSE_1_0.txt - License file. 11 | readme.txt - This file. 12 | DotZLib.chm - Class library documentation 13 | DotZLib.build - NAnt build file 14 | DotZLib.sln - Microsoft Visual Studio 2003 solution file 15 | 16 | DotZLib\*.cs - Source files for the class library 17 | 18 | Unit tests: 19 | ----------- 20 | The file DotZLib/UnitTests.cs contains unit tests for use with NUnit 2.1 or higher. 21 | To include unit tests in the build, define nunit before building. 22 | 23 | 24 | Build instructions: 25 | ------------------- 26 | 27 | 1. Using Visual Studio.Net 2003: 28 | Open DotZLib.sln in VS.Net and build from there. Output file (DotZLib.dll) 29 | will be found ./DotZLib/bin/release or ./DotZLib/bin/debug, depending on 30 | you are building the release or debug version of the library. Check 31 | DotZLib/UnitTests.cs for instructions on how to include unit tests in the 32 | build. 33 | 34 | 2. Using NAnt: 35 | Open a command prompt with access to the build environment and run nant 36 | in the same directory as the DotZLib.build file. 37 | You can define 2 properties on the nant command-line to control the build: 38 | debug={true|false} to toggle between release/debug builds (default=true). 39 | nunit={true|false} to include or esclude unit tests (default=true). 40 | Also the target clean will remove binaries. 41 | Output file (DotZLib.dll) will be found in either ./DotZLib/bin/release 42 | or ./DotZLib/bin/debug, depending on whether you are building the release 43 | or debug version of the library. 44 | 45 | Examples: 46 | nant -D:debug=false -D:nunit=false 47 | will build a release mode version of the library without unit tests. 48 | nant 49 | will build a debug version of the library with unit tests 50 | nant clean 51 | will remove all previously built files. 52 | 53 | 54 | --------------------------------- 55 | Copyright (c) Henrik Ravn 2004 56 | 57 | Use, modification and distribution are subject to the Boost Software License, Version 1.0. 58 | (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 59 | -------------------------------------------------------------------------------- /SFconv/expat/xmltok/xmldef.h: -------------------------------------------------------------------------------- 1 | /* 2 | The contents of this file are subject to the Mozilla Public License 3 | Version 1.1 (the "License"); you may not use this file except in 4 | compliance with the License. You may obtain a copy of the License at 5 | http://www.mozilla.org/MPL/ 6 | 7 | Software distributed under the License is distributed on an "AS IS" 8 | basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the 9 | License for the specific language governing rights and limitations 10 | under the License. 11 | 12 | The Original Code is expat. 13 | 14 | The Initial Developer of the Original Code is James Clark. 15 | Portions created by James Clark are Copyright (C) 1998, 1999 16 | James Clark. All Rights Reserved. 17 | 18 | Contributor(s): 19 | 20 | Alternatively, the contents of this file may be used under the terms 21 | of the GNU General Public License (the "GPL"), in which case the 22 | provisions of the GPL are applicable instead of those above. If you 23 | wish to allow use of your version of this file only under the terms of 24 | the GPL and not to allow others to use your version of this file under 25 | the MPL, indicate your decision by deleting the provisions above and 26 | replace them with the notice and other provisions required by the 27 | GPL. If you do not delete the provisions above, a recipient may use 28 | your version of this file under either the MPL or the GPL. 29 | */ 30 | 31 | #include 32 | 33 | #ifdef XML_WINLIB 34 | 35 | #define WIN32_LEAN_AND_MEAN 36 | #define STRICT 37 | #include 38 | 39 | #define malloc(x) HeapAlloc(GetProcessHeap(), 0, (x)) 40 | #define calloc(x, y) HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, (x)*(y)) 41 | #define free(x) HeapFree(GetProcessHeap(), 0, (x)) 42 | #define realloc(x, y) HeapReAlloc(GetProcessHeap(), 0, x, y) 43 | #define abort() /* as nothing */ 44 | 45 | #else /* not XML_WINLIB */ 46 | 47 | #include 48 | 49 | #endif /* not XML_WINLIB */ 50 | 51 | /* This file can be used for any definitions needed in 52 | particular environments. */ 53 | 54 | /*** 55 | * Mozilla specific defines listed below 56 | */ 57 | /*#ifdef MOZILLA_CLIENT 58 | 59 | #include "nspr.h" 60 | #define malloc(x) PR_Malloc((size_t)(x)) 61 | #define realloc(x, y) PR_Realloc((x), (size_t)(y)) 62 | #define calloc(x, y) PR_Calloc((x),(y)) 63 | #define free(x) PR_Free(x) 64 | 65 | #if PR_BYTES_PER_INT != 4 66 | typedef PRInt32 int; 67 | #endif 68 | 69 | // Enable Unicode string processing in expat 70 | #define XML_UNICODE 71 | 72 | // Enable external paramter entity parsing in expat 73 | #ifndef XML_DTD 74 | #define XML_DTD 1 75 | #endif 76 | 77 | #endif 78 | */ 79 | -------------------------------------------------------------------------------- /license/LICENSING.txt: -------------------------------------------------------------------------------- 1 | TECKit Licensing 2 | 3 | A few parts, noted here, have a different license than most of TECkit. 4 | 5 | The files SFconv/UtfCodec.* are 6 | Copyright 2010-2011 SIL Global 7 | with a license of LGPL-2+ or GPL-2+ or Mozilla Public License (http://mozilla.org/MPL) 8 | 9 | The files deb-source/copyright and docs/*.1 are 10 | Copyright 2015 Daniel Glassey 11 | with a license of LGPL-2+ 12 | 13 | Rest of the project: 14 | 15 | Copyright 2002-2025, SIL Global 16 | All rights reserved. 17 | 18 | This library is free software; you can redistribute it and/or modify 19 | it under the terms of either: 20 | 21 | a) the Common Public License as published by the "Agreement 22 | Steward" for that license (currently IBM); either version 0.5 23 | of the License, or (at your option) any later version, 24 | 25 | or 26 | 27 | b) the GNU Lesser General Public License as published by the 28 | Free Software Foundation; either version 2.1 of License, or 29 | (at your option) any later version. 30 | 31 | This program is distributed in the hope that it will be useful, 32 | but WITHOUT ANY WARRANTY; without even the implied warranty of 33 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See either 34 | the Common Public License or the GNU Lesser General Public License 35 | for more details. 36 | 37 | You should have received a plain text copy of the Common Public License 38 | Version 0.5 with this distribution in the file named "License_CPLv05.txt". 39 | That text came from http://www.opensource.org/licenses/cpl.html. The 40 | initial "Agreement Steward" for the CPL displays currently the license at 41 | http://www-124.ibm.com/developerworks/oss/license-cpl.html. 42 | 43 | You should also have received a copy of the GNU Lesser General Public 44 | License along with this library in the file named "License_LGPLv21.txt". 45 | If not, write to the Free Software Foundation, Inc., 51 Franklin Street, 46 | Fifth Floor, Boston, MA 02110-1301, USA or visit their web page on the 47 | internet at http://www.fsf.org/licenses/lgpl.html. 48 | 49 | The GNU General Public License to which the GNU Lesser General Public 50 | License refers can be found at http://www.gnu.org/copyleft/gpl.html. 51 | For convenient reference, a text version has been included with this 52 | distribution in the file named "License_LGPLv21.txt". All of the licenses 53 | mentioned above can also be found at http://www.opensource.org/licenses/. 54 | 55 | -------------------------------------------------------------------------- 56 | -------------------------------------------------------------------------------- /SFconv/expat/expat.html: -------------------------------------------------------------------------------- 1 | 3 | 4 | 5 | 6 | expat 7 | 8 | 9 | 10 |

expat - XML Parser Toolkit

11 | 12 |

Version 19990307

13 | 14 |

Copyright (c) 1998, 1999 James Clark. Expat is subject to the Mozilla Public License Version 1.0. You may 16 | as a special exception elect to use the GNU 17 | General Public License. Please contact me if you wish to 18 | negotiate an alternative license.

19 | 20 |

Expat is an XML 1.0 parser 22 | written in C. It aims to be fully conforming. It is currently not a 23 | validating XML processor. The current production version of expat can 24 | be downloaded from ftp://ftp.jclark.com/pub/xml/expat.zip.

26 | 27 |

The directory xmltok contains a low-level library for 28 | tokenizing XML. The interface is documented in 29 | xmltok/xmltok.h.

30 | 31 |

The directory xmlparse contains an XML parser library 32 | which is built on top of the xmltok library. The 33 | interface is documented in xmlparse/xmlparse.h. The 34 | directory sample contains a simple example program using 35 | this interface; sample/build.bat is a batch file to build 36 | the example using Visual C++.

37 | 38 |

The directory xmlwf contains the xmlwf 39 | application, which uses the xmlparse library. The 40 | arguments to xmlwf are one or more files which are each 41 | to be checked for well-formedness. An option -d 42 | dir can be specified; for each well-formed input 43 | file the corresponding canonical XML will 45 | be written to dir/f, where 46 | f is the filename (without any path) of the 47 | input file. A -x option will cause references to 48 | external general entities to be processed.

49 | 50 |

The bin directory contains Win32 executables. The 51 | lib directory contains Win32 import libraries.

52 | 53 |

Answers to some frequently asked questions about expat can be found 54 | in the expat 55 | FAQ.

56 | 57 |

58 | 59 |
60 | 61 | James Clark 62 | 63 |
64 | 65 | 66 | 67 | 68 | -------------------------------------------------------------------------------- /zlib-1.2.13/contrib/vstudio/vc10/zlibstat.vcxproj.filters: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | {174213f6-7f66-4ae8-a3a8-a1e0a1e6ffdd} 6 | 7 | 8 | 9 | 10 | Source Files 11 | 12 | 13 | Source Files 14 | 15 | 16 | Source Files 17 | 18 | 19 | Source Files 20 | 21 | 22 | Source Files 23 | 24 | 25 | Source Files 26 | 27 | 28 | Source Files 29 | 30 | 31 | Source Files 32 | 33 | 34 | Source Files 35 | 36 | 37 | Source Files 38 | 39 | 40 | Source Files 41 | 42 | 43 | Source Files 44 | 45 | 46 | Source Files 47 | 48 | 49 | Source Files 50 | 51 | 52 | Source Files 53 | 54 | 55 | Source Files 56 | 57 | 58 | Source Files 59 | 60 | 61 | Source Files 62 | 63 | 64 | 65 | 66 | Source Files 67 | 68 | 69 | 70 | 71 | Source Files 72 | 73 | 74 | -------------------------------------------------------------------------------- /zlib-1.2.13/contrib/dotzlib/DotZLib/AssemblyInfo.cs: -------------------------------------------------------------------------------- 1 | using System.Reflection; 2 | using System.Runtime.CompilerServices; 3 | 4 | // 5 | // General Information about an assembly is controlled through the following 6 | // set of attributes. Change these attribute values to modify the information 7 | // associated with an assembly. 8 | // 9 | [assembly: AssemblyTitle("DotZLib")] 10 | [assembly: AssemblyDescription(".Net bindings for ZLib compression dll 1.2.x")] 11 | [assembly: AssemblyConfiguration("")] 12 | [assembly: AssemblyCompany("Henrik Ravn")] 13 | [assembly: AssemblyProduct("")] 14 | [assembly: AssemblyCopyright("(c) 2004 by Henrik Ravn")] 15 | [assembly: AssemblyTrademark("")] 16 | [assembly: AssemblyCulture("")] 17 | 18 | // 19 | // Version information for an assembly consists of the following four values: 20 | // 21 | // Major Version 22 | // Minor Version 23 | // Build Number 24 | // Revision 25 | // 26 | // You can specify all the values or you can default the Revision and Build Numbers 27 | // by using the '*' as shown below: 28 | 29 | [assembly: AssemblyVersion("1.0.*")] 30 | 31 | // 32 | // In order to sign your assembly you must specify a key to use. Refer to the 33 | // Microsoft .NET Framework documentation for more information on assembly signing. 34 | // 35 | // Use the attributes below to control which key is used for signing. 36 | // 37 | // Notes: 38 | // (*) If no key is specified, the assembly is not signed. 39 | // (*) KeyName refers to a key that has been installed in the Crypto Service 40 | // Provider (CSP) on your machine. KeyFile refers to a file which contains 41 | // a key. 42 | // (*) If the KeyFile and the KeyName values are both specified, the 43 | // following processing occurs: 44 | // (1) If the KeyName can be found in the CSP, that key is used. 45 | // (2) If the KeyName does not exist and the KeyFile does exist, the key 46 | // in the KeyFile is installed into the CSP and used. 47 | // (*) In order to create a KeyFile, you can use the sn.exe (Strong Name) utility. 48 | // When specifying the KeyFile, the location of the KeyFile should be 49 | // relative to the project output directory which is 50 | // %Project Directory%\obj\. For example, if your KeyFile is 51 | // located in the project directory, you would specify the AssemblyKeyFile 52 | // attribute as [assembly: AssemblyKeyFile("..\\..\\mykey.snk")] 53 | // (*) Delay Signing is an advanced option - see the Microsoft .NET Framework 54 | // documentation for more information on this. 55 | // 56 | [assembly: AssemblyDelaySign(false)] 57 | [assembly: AssemblyKeyFile("")] 58 | [assembly: AssemblyKeyName("")] 59 | -------------------------------------------------------------------------------- /bin/Makefile.am: -------------------------------------------------------------------------------- 1 | AUTOMAKE_OPTIONS = -Wno-portability 2 | 3 | bin_PROGRAMS = teckit_compile txtconv sfconv 4 | 5 | AM_CPPFLAGS = -I$(top_srcdir)/source/Public-headers 6 | 7 | expatdir = $(top_srcdir)/SFconv/expat 8 | tool_src = $(top_srcdir)/source/Sample-tools 9 | 10 | if SYSTEM_EXPAT 11 | EXPAT_CFLAGS = -DXML_DTD @expat_CFLAGS@ 12 | else 13 | EXPAT_CFLAGS = -DXML_DTD -I$(expatdir)/xmlparse -I$(expatdir)/xmltok 14 | noinst_LIBRARIES = libexpat.a 15 | libexpat_a_SOURCES = @top_builddir@/SFconv/expat/xmlparse/xmlparse.c 16 | libexpat_a_SOURCES += @top_builddir@/SFconv/expat/xmlparse/hashtable.c 17 | libexpat_a_SOURCES += @top_builddir@/SFconv/expat/xmltok/xmlrole.c 18 | libexpat_a_SOURCES += @top_builddir@/SFconv/expat/xmltok/xmltok.c 19 | libexpat_a_CFLAGS = $(AM_CPPFLAGS) $(EXPAT_CFLAGS) 20 | $(am_libexpat_a_OBJECTS): CFLAGS := $(filter-out -Wextra, $(CFLAGS)) 21 | endif 22 | 23 | # AM_CPPFLAGS += $(EXPAT_CFLAGS) 24 | AM_CFLAGS = $(AM_CPPFLAGS) 25 | 26 | teckit_compile_SOURCES = @top_builddir@/source/Sample-tools/TECkit_Compile.cpp 27 | 28 | txtconv_SOURCES = @top_builddir@/source/Sample-tools/TxtConv.cpp 29 | 30 | sfconv_SOURCES = @top_builddir@/SFconv/SFconv.cpp 31 | sfconv_SOURCES += @top_builddir@/SFconv/UtfCodec.cpp 32 | sfconv_CPPFLAGS = $(AM_CPPFLAGS) $(EXPAT_CFLAGS) 33 | sfconv_CXXFLAGS = -std=c++11 34 | sfconv_CFLAGS = $(AM_CPPFLAGS) $(EXPAT_CFLAGS) 35 | sfconv_SOURCES += @top_builddir@/SFconv/sfReader.h 36 | sfconv_SOURCES += @top_builddir@/SFconv/UtfCodec.h 37 | sfconv_SOURCES += @top_builddir@/SFconv/Debug_Prefix.h 38 | sfconv_SOURCES += @top_builddir@/SFconv/Final_Prefix.h 39 | sfconv_SOURCES += @top_builddir@/SFconv/ushort_chartraits.h 40 | if OLD_LIB_NAMES 41 | teckit_compile_LDADD = $(top_builddir)/lib/TECkit_Compiler_x86.la 42 | txtconv_LDADD = $(top_builddir)/lib/TECkit_x86.la 43 | sfconv_LDADD = $(top_builddir)/lib/TECkit_x86.la @expat_LIBS@ 44 | else 45 | teckit_compile_LDADD = $(top_builddir)/lib/libTECkit_Compiler.la 46 | txtconv_LDADD = $(top_builddir)/lib/libTECkit.la 47 | sfconv_LDADD = $(top_builddir)/lib/libTECkit.la @expat_LIBS@ 48 | endif 49 | sfconv_LDADD += $(noinst_LIBRARIES) 50 | 51 | # --> RC Support 52 | if OLD_LIB_NAMES 53 | teckit_compile_DEPENDENCIES = TECkit_Compile_ver.o 54 | teckit_compile_LDFLAGS = -Wl,TECkit_Compile_ver.o 55 | TECkit_Compile_ver.o: $(tool_src)/TECkit_Compile_ver.rc 56 | $(RC) $(AM_RCFLAGS) $(RCFLAGS) -o $@ $< 57 | 58 | txtconv_DEPENDENCIES = TxtConv_ver.o 59 | txtconv_LDFLAGS = -Wl,TxtConv_ver.o 60 | TxtConv_ver.o: $(tool_src)/TxtConv_ver.rc 61 | $(RC) $(AM_RCFLAGS) $(RCFLAGS) -o $@ $< 62 | 63 | sfconv_DEPENDENCIES = SFconv_ver.o 64 | sfconv_LDFLAGS = -Wl,SFconv_ver.o 65 | SFconv_ver.o: $(top_srcdir)/SFconv/SFconv_ver.rc 66 | $(RC) $(AM_RCFLAGS) $(RCFLAGS) -I$(tool_src) -o $@ $< 67 | endif 68 | -------------------------------------------------------------------------------- /SFconv/expat/xmlwf/codepage.c: -------------------------------------------------------------------------------- 1 | /* 2 | The contents of this file are subject to the Mozilla Public License 3 | Version 1.1 (the "License"); you may not use this file except in 4 | compliance with the License. You may obtain a copy of the License at 5 | http://www.mozilla.org/MPL/ 6 | 7 | Software distributed under the License is distributed on an "AS IS" 8 | basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the 9 | License for the specific language governing rights and limitations 10 | under the License. 11 | 12 | The Original Code is expat. 13 | 14 | The Initial Developer of the Original Code is James Clark. 15 | Portions created by James Clark are Copyright (C) 1998, 1999 16 | James Clark. All Rights Reserved. 17 | 18 | Contributor(s): 19 | 20 | Alternatively, the contents of this file may be used under the terms 21 | of the GNU General Public License (the "GPL"), in which case the 22 | provisions of the GPL are applicable instead of those above. If you 23 | wish to allow use of your version of this file only under the terms of 24 | the GPL and not to allow others to use your version of this file under 25 | the MPL, indicate your decision by deleting the provisions above and 26 | replace them with the notice and other provisions required by the 27 | GPL. If you do not delete the provisions above, a recipient may use 28 | your version of this file under either the MPL or the GPL. 29 | */ 30 | 31 | #include "codepage.h" 32 | 33 | #ifdef WIN32 34 | #define STRICT 1 35 | #define WIN32_LEAN_AND_MEAN 1 36 | 37 | #include 38 | 39 | int codepageMap(int cp, int *map) 40 | { 41 | int i; 42 | CPINFO info; 43 | if (!GetCPInfo(cp, &info) || info.MaxCharSize > 2) 44 | return 0; 45 | for (i = 0; i < 256; i++) 46 | map[i] = -1; 47 | if (info.MaxCharSize > 1) { 48 | for (i = 0; i < MAX_LEADBYTES; i++) { 49 | int j, lim; 50 | if (info.LeadByte[i] == 0 && info.LeadByte[i + 1] == 0) 51 | break; 52 | lim = info.LeadByte[i + 1]; 53 | for (j = info.LeadByte[i]; j < lim; j++) 54 | map[j] = -2; 55 | } 56 | } 57 | for (i = 0; i < 256; i++) { 58 | if (map[i] == -1) { 59 | char c = i; 60 | unsigned short n; 61 | if (MultiByteToWideChar(cp, MB_PRECOMPOSED|MB_ERR_INVALID_CHARS, 62 | &c, 1, &n, 1) == 1) 63 | map[i] = n; 64 | } 65 | } 66 | return 1; 67 | } 68 | 69 | int codepageConvert(int cp, const char *p) 70 | { 71 | unsigned short c; 72 | if (MultiByteToWideChar(cp, MB_PRECOMPOSED|MB_ERR_INVALID_CHARS, 73 | p, 2, &c, 1) == 1) 74 | return c; 75 | return -1; 76 | } 77 | 78 | #else /* not WIN32 */ 79 | 80 | int codepageMap(int cp, int *map) 81 | { 82 | return 0; 83 | } 84 | 85 | int codepageConvert(int cp, const char *p) 86 | { 87 | return -1; 88 | } 89 | 90 | #endif /* not WIN32 */ 91 | -------------------------------------------------------------------------------- /zlib-1.2.13/contrib/delphi/readme.txt: -------------------------------------------------------------------------------- 1 | 2 | Overview 3 | ======== 4 | 5 | This directory contains an update to the ZLib interface unit, 6 | distributed by Borland as a Delphi supplemental component. 7 | 8 | The original ZLib unit is Copyright (c) 1997,99 Borland Corp., 9 | and is based on zlib version 1.0.4. There are a series of bugs 10 | and security problems associated with that old zlib version, and 11 | we recommend the users to update their ZLib unit. 12 | 13 | 14 | Summary of modifications 15 | ======================== 16 | 17 | - Improved makefile, adapted to zlib version 1.2.1. 18 | 19 | - Some field types from TZStreamRec are changed from Integer to 20 | Longint, for consistency with the zlib.h header, and for 64-bit 21 | readiness. 22 | 23 | - The zlib_version constant is updated. 24 | 25 | - The new Z_RLE strategy has its corresponding symbolic constant. 26 | 27 | - The allocation and deallocation functions and function types 28 | (TAlloc, TFree, zlibAllocMem and zlibFreeMem) are now cdecl, 29 | and _malloc and _free are added as C RTL stubs. As a result, 30 | the original C sources of zlib can be compiled out of the box, 31 | and linked to the ZLib unit. 32 | 33 | 34 | Suggestions for improvements 35 | ============================ 36 | 37 | Currently, the ZLib unit provides only a limited wrapper around 38 | the zlib library, and much of the original zlib functionality is 39 | missing. Handling compressed file formats like ZIP/GZIP or PNG 40 | cannot be implemented without having this functionality. 41 | Applications that handle these formats are either using their own, 42 | duplicated code, or not using the ZLib unit at all. 43 | 44 | Here are a few suggestions: 45 | 46 | - Checksum class wrappers around adler32() and crc32(), similar 47 | to the Java classes that implement the java.util.zip.Checksum 48 | interface. 49 | 50 | - The ability to read and write raw deflate streams, without the 51 | zlib stream header and trailer. Raw deflate streams are used 52 | in the ZIP file format. 53 | 54 | - The ability to read and write gzip streams, used in the GZIP 55 | file format, and normally produced by the gzip program. 56 | 57 | - The ability to select a different compression strategy, useful 58 | to PNG and MNG image compression, and to multimedia compression 59 | in general. Besides the compression level 60 | 61 | TCompressionLevel = (clNone, clFastest, clDefault, clMax); 62 | 63 | which, in fact, could have used the 'z' prefix and avoided 64 | TColor-like symbols 65 | 66 | TCompressionLevel = (zcNone, zcFastest, zcDefault, zcMax); 67 | 68 | there could be a compression strategy 69 | 70 | TCompressionStrategy = (zsDefault, zsFiltered, zsHuffmanOnly, zsRle); 71 | 72 | - ZIP and GZIP stream handling via TStreams. 73 | 74 | 75 | -- 76 | Cosmin Truta 77 | -------------------------------------------------------------------------------- /SFconv/expat/xmltok/xmltok_ns.c: -------------------------------------------------------------------------------- 1 | const ENCODING *NS(XmlGetUtf8InternalEncoding)(void) 2 | { 3 | return &ns(internal_utf8_encoding).enc; 4 | } 5 | 6 | const ENCODING *NS(XmlGetUtf16InternalEncoding)(void) 7 | { 8 | #if XML_BYTE_ORDER == 12 9 | return &ns(internal_little2_encoding).enc; 10 | #elif XML_BYTE_ORDER == 21 11 | return &ns(internal_big2_encoding).enc; 12 | #else 13 | const short n = 1; 14 | return *(const char *)&n ? &ns(internal_little2_encoding).enc : &ns(internal_big2_encoding).enc; 15 | #endif 16 | } 17 | 18 | static 19 | const ENCODING *NS(encodings)[] = { 20 | &ns(latin1_encoding).enc, 21 | &ns(ascii_encoding).enc, 22 | &ns(utf8_encoding).enc, 23 | &ns(big2_encoding).enc, 24 | &ns(big2_encoding).enc, 25 | &ns(little2_encoding).enc, 26 | &ns(utf8_encoding).enc /* NO_ENC */ 27 | }; 28 | 29 | static 30 | int NS(initScanProlog)(const ENCODING *enc, const char *ptr, const char *end, 31 | const char **nextTokPtr) 32 | { 33 | return initScan(NS(encodings), (const INIT_ENCODING *)enc, XML_PROLOG_STATE, ptr, end, nextTokPtr); 34 | } 35 | 36 | static 37 | int NS(initScanContent)(const ENCODING *enc, const char *ptr, const char *end, 38 | const char **nextTokPtr) 39 | { 40 | return initScan(NS(encodings), (const INIT_ENCODING *)enc, XML_CONTENT_STATE, ptr, end, nextTokPtr); 41 | } 42 | 43 | int NS(XmlInitEncoding)(INIT_ENCODING *p, const ENCODING **encPtr, const char *name) 44 | { 45 | int i = getEncodingIndex(name); 46 | if (i == UNKNOWN_ENC) 47 | return 0; 48 | SET_INIT_ENC_INDEX(p, i); 49 | p->initEnc.scanners[XML_PROLOG_STATE] = NS(initScanProlog); 50 | p->initEnc.scanners[XML_CONTENT_STATE] = NS(initScanContent); 51 | p->initEnc.updatePosition = initUpdatePosition; 52 | p->encPtr = encPtr; 53 | *encPtr = &(p->initEnc); 54 | return 1; 55 | } 56 | 57 | static 58 | const ENCODING *NS(findEncoding)(const ENCODING *enc, const char *ptr, const char *end) 59 | { 60 | #define ENCODING_MAX 128 61 | char buf[ENCODING_MAX]; 62 | char *p = buf; 63 | int i; 64 | XmlUtf8Convert(enc, &ptr, end, &p, p + ENCODING_MAX - 1); 65 | if (ptr != end) 66 | return 0; 67 | *p = 0; 68 | if (streqci(buf, "UTF-16") && enc->minBytesPerChar == 2) 69 | return enc; 70 | i = getEncodingIndex(buf); 71 | if (i == UNKNOWN_ENC) 72 | return 0; 73 | return NS(encodings)[i]; 74 | } 75 | 76 | int NS(XmlParseXmlDecl)(int isGeneralTextEntity, 77 | const ENCODING *enc, 78 | const char *ptr, 79 | const char *end, 80 | const char **badPtr, 81 | const char **versionPtr, 82 | const char **encodingName, 83 | const ENCODING **encoding, 84 | int *standalone) 85 | { 86 | return doParseXmlDecl(NS(findEncoding), 87 | isGeneralTextEntity, 88 | enc, 89 | ptr, 90 | end, 91 | badPtr, 92 | versionPtr, 93 | encodingName, 94 | encoding, 95 | standalone); 96 | } 97 | -------------------------------------------------------------------------------- /debian-src/changelog: -------------------------------------------------------------------------------- 1 | teckit (2.5.12) stable; urgency=medium 2 | 3 | * Updated Unicode character names and normalization data to 15.0.0 4 | * Updated zlib to version 1.2.13 5 | * Updated documentation 6 | 7 | -- Bobby de Vos Fri, 25 Aug 2023 11:21:26 -0600 8 | 9 | teckit (2.5.11) stable; urgency=medium 10 | 11 | * Updated Unicode character names and normalization data to 14.0.0 12 | * Updated documentation 13 | 14 | -- Bobby de Vos Tue, 08 Nov 2021 11:16:24 -0700 15 | 16 | teckit (2.5.10) stable; urgency=medium 17 | 18 | * Updated Unicode character names and normalization data to 13.0.0 19 | * Updated zlib to version 1.2.11 20 | * Various improvements for compiling and documentation 21 | 22 | -- Bobby de Vos Tue, 05 May 2020 07:44:40 -0600 23 | 24 | teckit (2.5.9) stable; urgency=medium 25 | 26 | * Updated Unicode character names and normalization data to 12.0.0 27 | * Various improvements for testing, compiling, and documentation 28 | 29 | -- Bobby de Vos Mon, 18 Mar 2019 09:09:21 -0600 30 | 31 | teckit (2.5.8) stable; urgency=medium 32 | 33 | * Updated Unicode character names and normalization data to 11.0.0 34 | 35 | -- Bobby de Vos Mon, 18 Jun 2018 13:26:21 -0600 36 | 37 | teckit (2.5.7) stable; urgency=medium 38 | 39 | * Updated Unicode character names and normalization data to 10.0.0 40 | 41 | -- Bobby de Vos Thu, 22 Jun 2017 18:17:45 -0600 42 | 43 | teckit (2.5.6) stable; urgency=medium 44 | 45 | * Add a diversion of /usr/bin/teckit_compile to avoid a conflict 46 | with texlive-binaries 47 | 48 | -- Neil Mayhew Mon, 04 Apr 2016 14:00:50 -0600 49 | 50 | teckit (2.5.5) stable; urgency=medium 51 | 52 | * Handle multiarch 53 | 54 | -- Neil Mayhew Tue, 29 Mar 2016 14:25:10 -0600 55 | 56 | teckit (2.5.4) stable; urgency=medium 57 | 58 | * Update Unicode character names and normalization data to 7.0.0 59 | * Fix data normalization bug 60 | * Update tests 61 | 62 | -- Neil Mayhew Mon, 30 Jun 2014 17:17:45 -0600 63 | 64 | teckit (2.5.3) maverick; urgency=low 65 | 66 | * Update Unicode character names and normalization data to 6.0.0 67 | * Update copyright dates and contact details 68 | 69 | -- Neil Mayhew Wed, 12 Jan 2011 21:26:48 -0700 70 | 71 | teckit (2.5.2) intrepid; urgency=low 72 | 73 | * Fix Perl handling 0 length return strings 74 | 75 | -- Martin Hosken Fri, 30 Jan 2009 19:14:38 +0700 76 | 77 | teckit (2.5.1-1ubuntu1~hardy) hardy; urgency=low 78 | 79 | * Package v2.5.1 80 | 81 | -- Martin Hosken Thu, 03 Apr 2008 15:11:04 +0700 82 | 83 | Local variables: 84 | mode: debian-changelog 85 | End: 86 | -------------------------------------------------------------------------------- /zlib-1.2.13/contrib/delphi/zlibd32.mak: -------------------------------------------------------------------------------- 1 | # Makefile for zlib 2 | # For use with Delphi and C++ Builder under Win32 3 | # Updated for zlib 1.2.x by Cosmin Truta 4 | 5 | # ------------ Borland C++ ------------ 6 | 7 | # This project uses the Delphi (fastcall/register) calling convention: 8 | LOC = -DZEXPORT=__fastcall -DZEXPORTVA=__cdecl 9 | 10 | CC = bcc32 11 | LD = bcc32 12 | AR = tlib 13 | # do not use "-pr" in CFLAGS 14 | CFLAGS = -a -d -k- -O2 $(LOC) 15 | LDFLAGS = 16 | 17 | 18 | # variables 19 | ZLIB_LIB = zlib.lib 20 | 21 | OBJ1 = adler32.obj compress.obj crc32.obj deflate.obj gzclose.obj gzlib.obj gzread.obj 22 | OBJ2 = gzwrite.obj infback.obj inffast.obj inflate.obj inftrees.obj trees.obj uncompr.obj zutil.obj 23 | OBJP1 = +adler32.obj+compress.obj+crc32.obj+deflate.obj+gzclose.obj+gzlib.obj+gzread.obj 24 | OBJP2 = +gzwrite.obj+infback.obj+inffast.obj+inflate.obj+inftrees.obj+trees.obj+uncompr.obj+zutil.obj 25 | 26 | 27 | # targets 28 | all: $(ZLIB_LIB) example.exe minigzip.exe 29 | 30 | .c.obj: 31 | $(CC) -c $(CFLAGS) $*.c 32 | 33 | adler32.obj: adler32.c zlib.h zconf.h 34 | 35 | compress.obj: compress.c zlib.h zconf.h 36 | 37 | crc32.obj: crc32.c zlib.h zconf.h crc32.h 38 | 39 | deflate.obj: deflate.c deflate.h zutil.h zlib.h zconf.h 40 | 41 | gzclose.obj: gzclose.c zlib.h zconf.h gzguts.h 42 | 43 | gzlib.obj: gzlib.c zlib.h zconf.h gzguts.h 44 | 45 | gzread.obj: gzread.c zlib.h zconf.h gzguts.h 46 | 47 | gzwrite.obj: gzwrite.c zlib.h zconf.h gzguts.h 48 | 49 | infback.obj: infback.c zutil.h zlib.h zconf.h inftrees.h inflate.h \ 50 | inffast.h inffixed.h 51 | 52 | inffast.obj: inffast.c zutil.h zlib.h zconf.h inftrees.h inflate.h \ 53 | inffast.h 54 | 55 | inflate.obj: inflate.c zutil.h zlib.h zconf.h inftrees.h inflate.h \ 56 | inffast.h inffixed.h 57 | 58 | inftrees.obj: inftrees.c zutil.h zlib.h zconf.h inftrees.h 59 | 60 | trees.obj: trees.c zutil.h zlib.h zconf.h deflate.h trees.h 61 | 62 | uncompr.obj: uncompr.c zlib.h zconf.h 63 | 64 | zutil.obj: zutil.c zutil.h zlib.h zconf.h 65 | 66 | example.obj: test/example.c zlib.h zconf.h 67 | 68 | minigzip.obj: test/minigzip.c zlib.h zconf.h 69 | 70 | 71 | # For the sake of the old Borland make, 72 | # the command line is cut to fit in the MS-DOS 128 byte limit: 73 | $(ZLIB_LIB): $(OBJ1) $(OBJ2) 74 | -del $(ZLIB_LIB) 75 | $(AR) $(ZLIB_LIB) $(OBJP1) 76 | $(AR) $(ZLIB_LIB) $(OBJP2) 77 | 78 | 79 | # testing 80 | test: example.exe minigzip.exe 81 | example 82 | echo hello world | minigzip | minigzip -d 83 | 84 | example.exe: example.obj $(ZLIB_LIB) 85 | $(LD) $(LDFLAGS) example.obj $(ZLIB_LIB) 86 | 87 | minigzip.exe: minigzip.obj $(ZLIB_LIB) 88 | $(LD) $(LDFLAGS) minigzip.obj $(ZLIB_LIB) 89 | 90 | 91 | # cleanup 92 | clean: 93 | -del *.obj 94 | -del *.exe 95 | -del *.lib 96 | -del *.tds 97 | -del zlib.bak 98 | -del foo.gz 99 | 100 | -------------------------------------------------------------------------------- /zlib-1.2.13/contrib/pascal/zlibd32.mak: -------------------------------------------------------------------------------- 1 | # Makefile for zlib 2 | # For use with Delphi and C++ Builder under Win32 3 | # Updated for zlib 1.2.x by Cosmin Truta 4 | 5 | # ------------ Borland C++ ------------ 6 | 7 | # This project uses the Delphi (fastcall/register) calling convention: 8 | LOC = -DZEXPORT=__fastcall -DZEXPORTVA=__cdecl 9 | 10 | CC = bcc32 11 | LD = bcc32 12 | AR = tlib 13 | # do not use "-pr" in CFLAGS 14 | CFLAGS = -a -d -k- -O2 $(LOC) 15 | LDFLAGS = 16 | 17 | 18 | # variables 19 | ZLIB_LIB = zlib.lib 20 | 21 | OBJ1 = adler32.obj compress.obj crc32.obj deflate.obj gzclose.obj gzlib.obj gzread.obj 22 | OBJ2 = gzwrite.obj infback.obj inffast.obj inflate.obj inftrees.obj trees.obj uncompr.obj zutil.obj 23 | OBJP1 = +adler32.obj+compress.obj+crc32.obj+deflate.obj+gzclose.obj+gzlib.obj+gzread.obj 24 | OBJP2 = +gzwrite.obj+infback.obj+inffast.obj+inflate.obj+inftrees.obj+trees.obj+uncompr.obj+zutil.obj 25 | 26 | 27 | # targets 28 | all: $(ZLIB_LIB) example.exe minigzip.exe 29 | 30 | .c.obj: 31 | $(CC) -c $(CFLAGS) $*.c 32 | 33 | adler32.obj: adler32.c zlib.h zconf.h 34 | 35 | compress.obj: compress.c zlib.h zconf.h 36 | 37 | crc32.obj: crc32.c zlib.h zconf.h crc32.h 38 | 39 | deflate.obj: deflate.c deflate.h zutil.h zlib.h zconf.h 40 | 41 | gzclose.obj: gzclose.c zlib.h zconf.h gzguts.h 42 | 43 | gzlib.obj: gzlib.c zlib.h zconf.h gzguts.h 44 | 45 | gzread.obj: gzread.c zlib.h zconf.h gzguts.h 46 | 47 | gzwrite.obj: gzwrite.c zlib.h zconf.h gzguts.h 48 | 49 | infback.obj: infback.c zutil.h zlib.h zconf.h inftrees.h inflate.h \ 50 | inffast.h inffixed.h 51 | 52 | inffast.obj: inffast.c zutil.h zlib.h zconf.h inftrees.h inflate.h \ 53 | inffast.h 54 | 55 | inflate.obj: inflate.c zutil.h zlib.h zconf.h inftrees.h inflate.h \ 56 | inffast.h inffixed.h 57 | 58 | inftrees.obj: inftrees.c zutil.h zlib.h zconf.h inftrees.h 59 | 60 | trees.obj: trees.c zutil.h zlib.h zconf.h deflate.h trees.h 61 | 62 | uncompr.obj: uncompr.c zlib.h zconf.h 63 | 64 | zutil.obj: zutil.c zutil.h zlib.h zconf.h 65 | 66 | example.obj: test/example.c zlib.h zconf.h 67 | 68 | minigzip.obj: test/minigzip.c zlib.h zconf.h 69 | 70 | 71 | # For the sake of the old Borland make, 72 | # the command line is cut to fit in the MS-DOS 128 byte limit: 73 | $(ZLIB_LIB): $(OBJ1) $(OBJ2) 74 | -del $(ZLIB_LIB) 75 | $(AR) $(ZLIB_LIB) $(OBJP1) 76 | $(AR) $(ZLIB_LIB) $(OBJP2) 77 | 78 | 79 | # testing 80 | test: example.exe minigzip.exe 81 | example 82 | echo hello world | minigzip | minigzip -d 83 | 84 | example.exe: example.obj $(ZLIB_LIB) 85 | $(LD) $(LDFLAGS) example.obj $(ZLIB_LIB) 86 | 87 | minigzip.exe: minigzip.obj $(ZLIB_LIB) 88 | $(LD) $(LDFLAGS) minigzip.obj $(ZLIB_LIB) 89 | 90 | 91 | # cleanup 92 | clean: 93 | -del *.obj 94 | -del *.exe 95 | -del *.lib 96 | -del *.tds 97 | -del zlib.bak 98 | -del foo.gz 99 | 100 | -------------------------------------------------------------------------------- /debian-src/control: -------------------------------------------------------------------------------- 1 | Source: teckit 2 | Build-Depends: 3 | debhelper (>= 8.1.3), cdbs (>= 0.4.93~), autotools-dev, pkg-config, 4 | perl (>= 5.8.0), zlib1g-dev, libexpat1-dev 5 | Section: devel 6 | Priority: optional 7 | Maintainer: Daniel Glassey 8 | Standards-Version: 3.9.7 9 | 10 | Package: teckit 11 | Architecture: any 12 | Multi-Arch: foreign 13 | Section: devel 14 | Depends: ${misc:Depends}, ${shlibs:Depends}, libteckit0 (= ${binary:Version}) 15 | Description: Encoding conversion library - command-line utilities 16 | TECkit provides a generic library for converting data to and from Unicode 17 | and also Unicode <> Unicode. 18 | . 19 | It also includes a compiler for a description language that allows 20 | for bidirectional conversion description (the same description is 21 | used for conversion to and from Unicode, for example). 22 | 23 | Package: libteckit0 24 | Replaces: libteckit (<< 2.5.7) 25 | Breaks: libteckit (<< 2.5.7) 26 | Architecture: any 27 | Multi-Arch: same 28 | Section: devel 29 | Depends: ${misc:Depends}, ${shlibs:Depends} 30 | Description: Encoding conversion library - shared libraries 31 | TECkit provides a generic library for converting data to and from Unicode 32 | and also Unicode <> Unicode. 33 | . 34 | It also includes a compiler for a description language that allows 35 | for bidirectional conversion description (the same description is 36 | used for conversion to and from Unicode, for example). 37 | 38 | Package: libteckit-dev 39 | Architecture: any 40 | Multi-Arch: same 41 | Section: libdevel 42 | Depends: ${misc:Depends}, ${shlibs:Depends}, libteckit0 (= ${binary:Version}) 43 | Description: Encoding conversion library - development files 44 | TECkit provides a generic library for converting data to and from Unicode 45 | and also Unicode <> Unicode. 46 | . 47 | It also includes a compiler for a description language that allows 48 | for bidirectional conversion description (the same description is 49 | used for conversion to and from Unicode, for example). 50 | . 51 | Development files to allow linking to libteckit for data conversion. 52 | 53 | Package: libteckit-perl 54 | Architecture: any 55 | Multi-Arch: same 56 | Section: perl 57 | Depends: ${misc:Depends}, ${shlibs:Depends}, perl (>= 5.8.0) 58 | Description: Encoding conversion library - Perl module 59 | TECkit provides a generic library for converting data to and from Unicode 60 | and also Unicode <> Unicode. 61 | . 62 | It also includes a compiler for a description language that allows 63 | for bidirectional conversion description (the same description is 64 | used for conversion to and from Unicode, for example). 65 | . 66 | Perl module to access libteckit for data conversion, using a statically 67 | linked copy of libteckit. 68 | 69 | #Package: libteckit 70 | #Depends: libteckit0, ${misc:Depends} 71 | #Architecture: all 72 | #Priority: extra 73 | #Section: oldlibs 74 | #Description: transitional package 75 | # This is a transitional package. It can safely be removed. 76 | --------------------------------------------------------------------------------