summaryrefslogtreecommitdiffstats
path: root/compat
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Further changes to the TIP 72 patch to make it compile under VC++kennykb2002-02-153-9/+21
| | | FossilOrigin-Name: ffd6a7d7738c855d3f78a3b416a52091432c6b02
* 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. FossilOrigin-Name: 8d82de1905ada4c5d06f5fb967721e8b681b7c82
* * Sought out and eliminated instances of CONST-casting that are nodgp2002-01-261-2/+2
| | | | | | longer needed after the TIP 27 effort. FossilOrigin-Name: 4bca1d26dbe0eea4e2c7807477efc846faa7ca75
* ** 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 FossilOrigin-Name: f961ecdd17042f83d4cf5b21380c117066ed9b88
* * Fixed failure to handle expressionsdgp2001-09-041-1/+7
| | | | | | like 3eq2 and failure to set errno on overflow. [Bug 440894] FossilOrigin-Name: 156fa15818515def2714eb7ed4d91990f5afd255
* * compat/string.h: Fixed function prototypes for strpbrk andericm2000-07-181-3/+4
| | | | | | strtok [Bug: 6020]. FossilOrigin-Name: 907cc4ce33164164e474c91f6435d9e57057c3b1
* added IsLeapYear macro (from tclGetDate.y)hobbs2000-01-151-2/+3
| | | FossilOrigin-Name: 02122eb2435e27379b738fe8478b9e29b8dd2dac
* * 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. FossilOrigin-Name: 53023d030d3ce288ed929ac8fad6c03646e458c3
* * compat/waitpid.c: use pid_t type instead of int [Bug: 3999]hobbs2000-01-111-5/+9
| | | FossilOrigin-Name: 3b711e6b6a216303aee421259a9f02b0f72e9932
* revert changes to TclpStrftime, not needed for internal functions.redman1999-07-221-6/+6
| | | FossilOrigin-Name: a4cee78edc3a5c4654cbf4fb76845626b0849c0e
* * doc/Utf.3:redman1999-07-221-6/+6
| | | | | | | | | | | | | | | * generic/tcl.decls: * generic/tclInt.decls: * generic/tclDecls.h: * generic/tclIntDecls.h: * generic/tclUtf.c: * compat/strftime.c: * unix/tclUnixTime.c: Changed function declarations in non-platform-specific APIs to use "unsigned long" instead of "size_t", which may not be defined on certain compilers (rather than include sys/types.h, which may not exist). FossilOrigin-Name: 22b143003b180eaed3b7f8c9bad28df440ef6071
* merged tcl 8.1 branch back into the main trunkstanton1999-04-164-7/+72
| | | FossilOrigin-Name: f3b32fb71c9011ac220779bd9dbe5617c9dc87d9
* Replaced SCCS strings, fixed binary filescore-8-0-3stanton1998-09-1421-25/+24
| | | FossilOrigin-Name: 196f92fd17305db5fec1acd59f6926de11e01624
* Initial revisionrjohnson1998-03-2621-0/+1998
FossilOrigin-Name: cacdd0f329872d67973970d74c6978730bc24baa