summaryrefslogtreecommitdiffstats
path: root/compat
Commit message (Collapse)AuthorAgeFilesLines
* 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]
* Minor whitespace cleanup... nothing to see heredkf2009-12-101-4/+4
|
* Fix [Bug 2819227] by using a function from C89 rather than POSIX.dkf2009-07-091-2/+2
|
* Make our mkstemp() replacement build on IRIX 6.5.dkf2009-05-121-1/+3
|
* fix [Feature Request 2605263] use officialnijtmans2009-02-162-0/+0
| | | | zlib build.
* Fix various mkstemp()-related issues. [Bugs 741967,878333]dkf2009-01-021-0/+78
|
* - 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
* - 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
* Add previously omitted files so we have a complete zlib 1.2.3 distro...dkf2008-12-19150-0/+38641
|
* 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.
* Import of zlib 1.2.3dkf2008-12-1852-0/+16012
|
* VOID -> voidnijtmans2008-12-181-4/+4
|
* * 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:
* CONST -> constnijtmans2008-05-041-2/+2
|
* More elimination of pre-C89-isms.dkf2008-05-023-127/+108
|
* Get rid of pre-C89-isms (esp. CONST vs const).dkf2008-04-275-23/+23
|
* * 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
* * 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
* Complete the purge of K&R function definitions from manually-written code.dkf2007-04-1612-317/+299
|
* Fix [Bug 1631017]dkf2007-01-221-22/+28
|
* * compat/tclErrno.h: Removed obsolete file.dgp2005-10-131-99/+0
|
* Merged kennykb-numerics-branch back to the head; TIPs 132 and 232Kevin B Kenny2005-05-104-4/+4
|
* * 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
* added definition of NULL to strstr.c for Bug 1175161Kevin B Kenny2005-04-121-1/+4
|
* many more TIP 173 changesKevin B Kenny2004-09-271-538/+0
|
* * compat/strftime.c (_conv): Corrected a problem where hour 0Kevin B Kenny2004-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.
* * compat/strftime.c (_fmt, ISO8601Week): Kevin B Kenny2004-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]
* 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):
* Made HEAD build on Windows VC++ again.Kevin B Kenny2004-03-192-4/+4
|
* Removed support for Mac OS Classic platform [Patch 918142]das2004-03-171-3/+1
|
* Added missing CONST'ification usage.davygrvy2003-08-271-11/+11
|
* 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__.
* * 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.
* * compat/strftime.c: Modified TclpStrftime to return its Kevin B Kenny2003-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]
* Make sure EOVERFLOW is defined on Unix.dkf2002-06-071-84/+83
|
* * 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]
* * 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.
* * 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).
* simplified the #include linesdgp2002-02-251-8/+2
|
* Minor cleanup of compat functions to get rid of GCC warnings.dkf2002-02-253-11/+13
|
* * 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.
* Const-ifying declarations of strtoll/strtoull and new compat code.dkf2002-02-222-12/+12
|
* Further changes to the TIP 72 patch to make it compile under VC++Kevin B Kenny2002-02-153-9/+21
|
* TIP#72 implementation. See ChangeLog for details.dkf2002-02-152-0/+351
| | | | | This version builds clean on Solaris/SPARC, with GCC and CC, both with and without threads and both in 32-bit and 64-bit mode.
* * Sought out and eliminated instances of CONST-casting that are nodgp2002-01-261-2/+2
| | | | longer needed after the TIP 27 effort.
* ** upport to 8.4 of mac code changes for 8.3.3 & various newdas2001-11-232-5/+4
| | | | | | ** changes for 8.4, some already backported to 8.3.4 (patch #435658) see ChangeLog for details
* * Fixed failure to handle expressionsdgp2001-09-041-1/+7
| | | | like 3eq2 and failure to set errno on overflow. [Bug 440894]
* * compat/string.h: Fixed function prototypes for strpbrk andericm2000-07-181-3/+4
| | | | strtok [Bug: 6020].
* added IsLeapYear macro (from tclGetDate.y)hobbs2000-01-151-2/+3
|
* * unix/tclUnixTime.c: New clock format format.ericm2000-01-141-2/+12
| | | | | | * compat/strftime.c: New clock format format. * generic/tclGetDate.y: New clock scan format.