summaryrefslogtreecommitdiffstats
path: root/compat/strftime.c
Commit message (Collapse)AuthorAgeFilesLines
* 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-061-3/+2
| | | | | | | | | | | | | | | | | | | | | | | * 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):
* 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]
* * 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.
* ** upport to 8.4 of mac code changes for 8.3.3 & various newdas2001-11-231-4/+2
| | | | | | ** changes for 8.4, some already backported to 8.3.4 (patch #435658) see ChangeLog for details
* 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.
* revert changes to TclpStrftime, not needed for internal functions.redman1999-07-221-6/+6
|
* * 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).
* merged tcl 8.1 branch back into the main trunkstanton1999-04-161-4/+4
|
* Replaced SCCS strings, fixed binary filescore_8_0_3stanton1998-09-141-5/+4
|
* Initial revisionrjohnson1998-03-261-0/+385