summaryrefslogtreecommitdiffstats
path: root/compat
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Changed Win32 platform #define from 'WIN32' to '__WIN32__' as thisdavygrvy2003-08-271-4/+4
| | | | | | | is the correct one to use across the Tcl sources. Even though we do force it in tcl.h, the true parent one is __WIN32__. FossilOrigin-Name: 773578e8ee3cfb5e719654d309bbadb14c8d3420
* * compat/strftime.c (_fmt): Fixed syst array intializer thatdavygrvy2003-08-271-12/+11
| | | | | | | | couldn't take variables within it under the watcom compiler. I believe Borland has this strictness as well. VC++ must be non-standard about this. FossilOrigin-Name: 19deccf65e2ffaa600cbfb1df69f60c190d2e500
* * compat/strftime.c: Modified TclpStrftime to return its kennykb2003-05-181-16/+43
| | | | | | | | | | * generic/tclClock.c: result in UTF-8 encoding, and removed * mac/tclMacTime.c: the conversion from system encoding to * unix/tclUnixTime.c: UTF-8 from [clock format]. Needed to * win/tclWinTime.c: avoid double conversion of the timezone name on Windows systems. [Bug 624408] FossilOrigin-Name: 24ccf14ddd003100f1665ad07f1dd558714cbd81
* Make sure EOVERFLOW is defined on Unix.dkf2002-06-071-84/+83
| | | FossilOrigin-Name: 190346ee5553ae1aa8abe945ba60602b669378b2
* * tests/clock.test: added clock-9.1hobbs2002-05-291-4/+13
| | | | | | | | | | | | | | * compat/strftime.c: * generic/tclClock.c: * generic/tclInt.decls: * generic/tclIntDecls.h: * unix/tclUnixTime.c: fix for Windows msvcrt mem leak caused by using an env(TZ) setting trick for in clock format -gmt 1. This also makes %s seem to work correctly with -gmt 1 as well as making it a lot faster by avoid the env(TZ) hack. TclpStrftime now takes useGMT as an arg. [Bug #559376] FossilOrigin-Name: 4d47e1cec7caf94d2cdda340e5467982b96c322b
* * doc/clock.n:hobbs2002-04-221-7/+56
| | | | | | | | * compat/strftime.c (_fmt): change strftime to correctly handle localized %c, %x and %X on Windows. Added some notes about how the other values could be further localized. FossilOrigin-Name: 3664ea71af81d1b1dc01708426bcae2f69c0821c
* * compat/strtod.c (strtod): simplified #includesdgp2002-02-251-2/+2
| | | | | | | * compat/strtol.c (strtol): gather result in a long before returning as a long: necessary on platforms where sizeof(int) != sizeof(long). FossilOrigin-Name: 051f9676eb730c896489edf2065c24a056aa1f14
* simplified the #include linesdgp2002-02-251-8/+2
| | | FossilOrigin-Name: 610523d310e4d72a21fe5b7a2c20249fe14d7432
* Minor cleanup of compat functions to get rid of GCC warnings.dkf2002-02-253-11/+13
| | | FossilOrigin-Name: 438469be6a8a555377804c1cf1a37cc2574184b5
* * compat/strtoull.c (strtoull):dgp2002-02-243-14/+58
| | | | | | | | | * compat/strtoll.c (strtoll): * compat/strtoul.c (strtoul): Fixed failure to handle leading sign symbols '+' and '-' and '0X' and raise overflow errors. [Bug 440916] Also corrects prototype and errno problems. FossilOrigin-Name: dbcccf04b63e6850b697cf29d508e60ce0889daa
* Const-ifying declarations of strtoll/strtoull and new compat code.dkf2002-02-222-12/+12
| | | FossilOrigin-Name: a2e0dc62c06e320020010e809ad83e5b4c075b5f