summaryrefslogtreecommitdiffstats
path: root/compat
Commit message (Collapse)AuthorAgeFilesLines
* Now that we're no longer using SCM based on RCS, the RCS Keyword linesdgp2011-03-0221-43/+0
|\ | | | | | | | | cause more harm than good. Purged them (except in zlib files). FossilOrigin-Name: c64f310d38b977e7ae26a48bcf8bb8c50e453af7
| * Now that we're no longer using SCM based on RCS, the RCS Keyword lines causedgp2011-03-0219-38/+0
| |\ | | | | | | | | | | | | more harm than good. Purged them. FossilOrigin-Name: 79367df0f0e01a96f037f893e889e7cb9b807847
| | * Now that we're no longer using SCM based on RCS, the RCS Keyword lines causedgp2011-03-0124-53/+0
| | | | | | | | | | | | | | | more harm than good. Purged them. FossilOrigin-Name: 90b4acd7bdab65433169a232124967885c18d972
| | * Fixed obvious stupid error. [Bug 1786647]dkf2007-09-061-1/+1
| | | | | | | | | FossilOrigin-Name: ec5ad5449862a793b47ed53cfbd7dcce298baf26
| | * * compat/memcmp.c (memcmp): Fixed the VOID / CONST typo introducedandreas_kupries2007-01-221-2/+2
| | | | | | | | | | | | | | | | | | by the last checkin. FossilOrigin-Name: ba274c89872dabe636f2354e0537f605f6335060
| | * Fix [Bug 1631017]dkf2007-01-221-4/+5
| | | | | | | | | FossilOrigin-Name: 43fa0fcf12989a74fcd9dc282d25247f2127475a
| | * Bug 1317477kennykb2005-11-041-12/+20
| | | | | | | | | FossilOrigin-Name: d64beb6fe2fdabbc723fa2ba32afceb7fd98f2bc
| | * * compat/string.h: fixed memchr() protoype for __APPLE__ so that wedas2005-04-261-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | build on Mac OS X 10.1 again. * generic/tclNotify.c (TclFinalizeNotifier): fixed notifier not being finalized in unthreaded core (was testing for notifier initialization in current thread by checking thread id != 0 but thread id is always 0 in untreaded core). * unix/tclUnixNotfy.c (Tcl_WaitForEvent): sync with HEAD: only declare and use timeout var in unthreaded core. * unix/Makefile.in: added @PLAT_SRCS@ to SRCS and split out NOTIFY_SRCS from UNIX_SRCS for parity with UNIX_OBJS & NOTIFY_OBJS. * unix/configure.in: only run check for broken strstr implementation if AC_REPLACE_FUNCS(strstr) hasn't already determined that strstr is unavailable, otherwise compat/strstr.o will be used twice (resulting in duplicate symbol link errors on Mac OS X 10.1) * unix/tcl.m4 (Darwin): added configure checks for recently added linker flags -single_module and -search_paths_first to allow building with older tools (and on Mac OS X 10.1), use -single_module in SHLIB_LD and not just T{CL,K}_SHLIB_LD_EXTRAS, added unexporting from Tk of symbols from libtclstub to avoid duplicate symbol warnings, added PLAT_SRCS definition for Mac OS X. (SC_MISSING_POSIX_HEADERS): added caching of dirent.h check. (SC_TCL_64BIT_FLAGS): fixed 'checking for off64_t' message output. * unix/configure: autoconf-2.13 FossilOrigin-Name: 74b7355f7077725411d9e1ffca40b89d80d661db
| | * added definition of NULL to strstr.c for Bug 1175161kennykb2005-04-121-1/+6
| | | | | | | | | FossilOrigin-Name: ccf59bad268f428f45382113bd9d195699406d4f
| | * * compat/strftime.c (_conv): Corrected a problem where hour 0kennykb2004-09-081-4/+10
| | | | | | | | | | | | | | | | | | | | | | | | would format as a blank format group with %k. * tests/clock.test (clock-41.1): Added regression test case for %k at the zero hour. FossilOrigin-Name: 3a35f8120294d7c77833fb56d9bc5ecbc0d7989c
| | * * compat/strftime.c (_fmt, ISO8601Week): kennykb2004-05-181-21/+77
| | | | | | | | | | | | | | | | | | | | | | | | | | | * doc/clock.n: * tests/clock.test: Major rework to the handling of ISO8601 week numbers. Now passes all the %G and %V test cases on Windows, Linux and Solaris [Bugs #500285, #500389, and #852944] FossilOrigin-Name: 06cfb3828ae320f18e376614a3881d3aa73c6940
* | | Implement TIP#162rmax2010-09-282-0/+438
| | | | | | | | | FossilOrigin-Name: bf99e9f86d9215f03c6f8d2c134996ddb696456f
* | | Remove mslu completely, see Feature Req #2819611nijtmans2010-08-143-182/+0
| | | | | | | | | FossilOrigin-Name: 86f59a32d88a9a1238928396510c81b6a7358506
* | | Official build of zlib1.dll 1.2.5 is finally available, so put it innijtmans2010-07-293-0/+148
| | | | | | | | | FossilOrigin-Name: 6b99a1c2bf6baaaa8451548839b19afbf8b7b203
* | | Include "tcl.h", not <tcl.h>,nijtmans2010-04-295-19/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | like everywhere else, to insure that the version in the Tcl distribution is used, not some version from somewhere else. FossilOrigin-Name: 38aced1306be07e98334ac236a1d7d459626d77e
* | | If tclInt.h or tclPort.h is alreadynijtmans2010-04-272-4/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | included, don't include <limits.h> again. Follow-up to [Bug 2991415]: tclport.h #included before limits.h See comments in [Bug 2991415] FossilOrigin-Name: b7c55dd4bff714c0d799cc3972956b79eee2a6ff
* | | Upgrade to zlib 1.2.5nijtmans2010-04-20116-15108/+15386
| | | | | | | | | FossilOrigin-Name: 47f60cf75718b88055b8f49ff8d124c137beb9ac
* | | Upgrade zlib to version 1.2.4nijtmans2010-03-16185-11133/+29186
| | | | | | | | | FossilOrigin-Name: 62fd020af884e69f269560bf28aa7342ddb2ca5e
* | | Split tommath stub lib source filenijtmans2010-03-043-9/+10
| | | | | | | | | | | | | | | | | | | | | in separate file. Don't use -fvisibility=hidden for cygwin FossilOrigin-Name: c8722c8b57f1a834fb1e549481d82d45020e2632
* | | reverted earlier rename from tcl*Stubs tonijtmans2010-02-153-0/+182
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | tcl*ConstStubs, it's not necessary at all. tclEnsemble.c: Fix signed-unsigned mismatch make tclWinProcs "const" Add first part of mslu support, See [Feature Request #2819611] FossilOrigin-Name: 0d29245dd5206eba5211a17216e65982d0be8923
* | | Minor whitespace cleanup... nothing to see heredkf2009-12-101-4/+4
| | | | | | | | | FossilOrigin-Name: 7be18c83556b160bf66bae46408805f2dc19b8dc
* | | Fix [Bug 2819227] by using a function from C89 rather than POSIX.dkf2009-07-091-2/+2
| | | | | | | | | FossilOrigin-Name: ab6aecb07148cf7f743fd8867ae0c7ca6c641862
* | | Make our mkstemp() replacement build on IRIX 6.5.dkf2009-05-121-1/+3
| | | | | | | | | FossilOrigin-Name: ac97ad0a2ac0927b596993e4df69c9bc914ff5e6
* | | fix [Feature Request 2605263] use officialnijtmans2009-02-162-0/+0
| | | | | | | | | | | | | | | | | | zlib build. FossilOrigin-Name: 8f34b18e0ca9febb906e4f9bf1750692c3c6e966
* | | Fix various mkstemp()-related issues. [Bugs 741967,878333]dkf2009-01-021-0/+78
| | | | | | | | | FossilOrigin-Name: b7a0a9fa28734a97e082903a4937162e9cc63802
* | | - add more missing symbols from zlib.defnijtmans2008-12-221-1/+0
| | | | | | | | | | | | | | | | | | | | | - mark dll build as being a modified verson Both changes backported from (unreleased) zlib-1.2.3.3 FossilOrigin-Name: 1da4d0c96f661ae0f1360e0be6f7b360530ce28a
* | | - add more missing symbols from zlib.defnijtmans2008-12-223-6/+16
| | | | | | | | | | | | | | | | | | | | | - mark dll build as being a modified verson Both changes backported from (unreleased) zlib-1.2.3.3 FossilOrigin-Name: 3325d742fb4cf67273836c19478fe053a210a4e9
* | | Add previously omitted files so we have a complete zlib 1.2.3 distro...dkf2008-12-19150-0/+38641
| | | | | | | | | FossilOrigin-Name: 8b8d3f1e880150add5aefa98d6ca84762768261a
* | | add symbols deflateSetHeader and inflateGetHeader to win32/zlib.defnijtmans2008-12-194-5/+15
| | | | | | | | | | | | | | | | | | | | | Modify ChangeLog, README and zlib.h, documenting this change, so we comply with the zlib requirements of clearly marking the modification. FossilOrigin-Name: a46a70919175ee8aa7509366b9f2f09bd1ce0dbd
* | | Import of zlib 1.2.3dkf2008-12-1852-0/+16012
| | | | | | | | | FossilOrigin-Name: 0f222b0fe898c56d3fe2b92139d1860bfe303be0
* | | VOID -> voidnijtmans2008-12-181-4/+4
| | | | | | | | | FossilOrigin-Name: 1b2f480abfeea90d0f2c00bd99481975dc2260b9
* | | * generic/tcl.h: Stripped "callers" of the _ANSI_ARGS_ macrodgp2008-09-032-11/+11
| | | | | | | | | | | | | | | | | | | | | | | | * compat/dirent2.h: to support a TCL_NO_DEPRECATED build. * compat/dlfcn.h: * unix/tclUnixPort.h: FossilOrigin-Name: bbd0f4b7ed70d69cd34117cea1e534083d271d13
* | | CONST -> constnijtmans2008-05-041-2/+2
| | | | | | | | | FossilOrigin-Name: af93d720f52fad04af80848a0ce588fe420f9060
* | | More elimination of pre-C89-isms.dkf2008-05-023-127/+108
| | | | | | | | | FossilOrigin-Name: 27caec3459c6d0a42da22078c41eb35bf4661ebf
* | | Get rid of pre-C89-isms (esp. CONST vs const).dkf2008-04-275-23/+23
|/ / | | | | FossilOrigin-Name: 2d205c22fbe5def21ccd36bc6f7b2d3831f6122d
* | * compat/tmpnam.c (removed): The routine tmpnam() is no longerdgp2007-10-181-42/+0
| | | | | | | | | | | | | | | | | | | | | | * unix/Makefile.in: called by Tcl source code. Remove autogoo * unix/configure.in: the supplied a replacement version on * win/tcl.dsp: systems where the routine was not available. [RFE 1811848]. * unix/configure: autoconf-2.59 FossilOrigin-Name: e09597661a46c69135fee3400d062565fe44e4db
* | * generic/tclCmdMZ.c: Correct [string is (wide)integer] failuredgp2007-10-112-362/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * tests/string.test: to report correct failindex values for non-decimal integer strings. [Bug 1805887]. * compat/strtoll.c (removed): The routines strtoll() and strtoull() * compat/strtoull.c (removed): are no longer called by the Tcl source * generic/tcl.h: code. (Their functionality has been replaced * unix/Makefile.in: by TclParseNumber().) Remove outdated comments * unix/configure.in: and mountains of configury autogoo that * unix/tclUnixPort.h: allegedly support the mythical systems where * win/Makefile.in: these routines might not have been available. * win/makefile.bc: * win/makefile.vc: * win/tclWinPort.h: * unix/configure: autoconf-2.59 FossilOrigin-Name: 9ed4da643a4fe91e42db6bf614b76b78846fb985
* | Complete the purge of K&R function definitions from manually-written code.dkf2007-04-1612-317/+299
| | | | | | FossilOrigin-Name: 645aed2fcdcd55ca81df269a4ea262eeca2b9ff2
* | Fix [Bug 1631017]dkf2007-01-221-22/+28
| | | | | | FossilOrigin-Name: 5e8c416d24b19526e27ac2358d41835498b1ca58
* | * compat/tclErrno.h: Removed obsolete file.dgp2005-10-131-99/+0
| | | | | | FossilOrigin-Name: a707e67c4d5bf85da82925bb3f665668d48a1a12
* | Merged kennykb-numerics-branch back to the head; TIPs 132 and 232kennykb2005-05-104-4/+4
| | | | | | FossilOrigin-Name: 1cc2336920c70c6b9f7825b88dec87fc223f2c4e
* | * compat/string.h: fixed memchr() protoype for __APPLE__ so that wedas2005-04-261-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | build on Mac OS X 10.1 again. * generic/tclNotify.c (TclFinalizeNotifier): fixed notifier not being finalized in unthreaded core (was testing for notifier initialization in current thread by checking thread id != 0 but thread id is always 0 in untreaded core). * win/tclWinNotify.c (Tcl_WaitForEvent): * unix/tclUnixNotfy.c (Tcl_WaitForEvent): don't call ScaleTimeProc for zero wait times (as specified in TIP 233). * unix/Makefile.in: added @PLAT_SRCS@ to SRCS and split out NOTIFY_SRCS from UNIX_SRCS for parity with UNIX_OBJS & NOTIFY_OBJS. * unix/tcl.m4 (Darwin): added configure checks for recently added linker flags -single_module and -search_paths_first to allow building with older tools (and on Mac OS X 10.1), use -single_module in SHLIB_LD and not just T{CL,K}_SHLIB_LD_EXTRAS, added unexporting from Tk of symbols from libtclstub to avoid duplicate symbol warnings, added PLAT_SRCS definition for Mac OS X, defined MODULE_SCOPE to __private_extern__. (SC_MISSING_POSIX_HEADERS): added caching of dirent.h check. * unix/configure: autoconf-2.59 FossilOrigin-Name: 20a693c229a872ba529fda92f3baabeb24e94ff0
* | added definition of NULL to strstr.c for Bug 1175161kennykb2005-04-121-1/+4
| | | | | | FossilOrigin-Name: 43ddb35efd3656c7e6a1ff904a09a033945174a6
* | many more TIP 173 changeskennykb2004-09-271-538/+0
| | | | | | FossilOrigin-Name: e64761cd12de4d157037d35fed3c2419b268fd98
* | * compat/strftime.c (_conv): Corrected a problem where hour 0kennykb2004-09-081-4/+10
| | | | | | | | | | | | | | | | would format as a blank format group with %k. * tests/clock.test (clock-41.1): Added regression test case for %k at the zero hour. FossilOrigin-Name: 5b7d61b147f8d2278c83c2095b9aadc36f77db75
* | * compat/strftime.c (_fmt, ISO8601Week): kennykb2004-05-181-21/+77
| | | | | | | | | | | | | | | | | | * doc/clock.n: * tests/clock.test: Major rework to the handling of ISO8601 week numbers. Now passes all the %G and %V test cases on Windows, Linux and Solaris [Bugs #500285, #500389, and #852944] FossilOrigin-Name: d89c598ef2f6eeab02073bf030651247e229396a
* | Patch 922727 committed. Implements three changes:dgp2004-04-0611-21/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * generic/tclInt.h: Reworked the Tcl header files into a clean * unix/tclUnixPort.h: hierarchy where tcl.h < tclPort.h < tclInt.h * win/tclWinInt.h: and every C source file should #include * win/tclWinPort.h: at most one of those files to satisfy its declaration needs. tclWinInt.h and tclWinPort.h also better organized so that tclWinPort.h includes the Windows implementation of cross-platform declarations, while tclWinInt.h makes declarations that are available on Windows only. * generic/tclBinary.c (TCL_NO_MATH): Deleted the generic/tclMath.h * generic/tclMath.h (removed): header file. The internal Tcl * macosx/Makefile (PRIVATE_HEADERS): header, tclInt.h, has a * win/tcl.dsp: #include <math.h> directly, and file external to Tcl needing libm should do the same. * win/Makefile.in (WIN_OBJS): Deleted the win/tclWinMtherr.c file. * win/makefile.bc (TCLOBJS): It's a vestige from matherr() days * win/makefile.vc (TCLOBJS): gone by. * win/tcl.dsp: * win/tclWinMtherr.c (removed): FossilOrigin-Name: 2e5b18c85c944b46540edfdd6580648e32645e2b
* | Made HEAD build on Windows VC++ again.kennykb2004-03-192-4/+4
| | | | | | FossilOrigin-Name: 6610e1aa01b0cec45ed1eb774b5abf2a6b8c9b01
* | Removed support for Mac OS Classic platform [Patch 918142]das2004-03-171-3/+1
| | | | | | FossilOrigin-Name: b6330dbac725e2d527ad089669aa7f4779d19398
* | Added missing CONST'ification usage.davygrvy2003-08-271-11/+11
| | | | | | FossilOrigin-Name: d3904f58d963a4737525e545caeb9c7fe053a868