summaryrefslogtreecommitdiffstats
path: root/generic/tclDate.c
Commit message (Collapse)AuthorAgeFilesLines
* More usage of TclNewIntObj() macrojan.nijtmans2020-08-131-2/+2
|
* Merge 8.6jan.nijtmans2020-07-101-134/+116
|\
| * Proposed fix for [5019748c73]: FreeScan resp. Oldscan does not recognize ↵jan.nijtmans2020-07-091-134/+116
| | | | | | | | positive time zone offset like "31 Jan 14 23:59:59 +0100"
* | Merge 8.6jan.nijtmans2020-07-091-73/+91
|\ \ | |/
| * re-generate with bison 3.1jan.nijtmans2020-06-231-109/+206
| |
| * Merge 8.6. re-generate tclParse.cjan.nijtmans2020-06-231-1067/+969
| |\
| * | clock-iso-2.patchjan.nijtmans2020-05-271-33/+35
| | |
| * | Proposed soution for [a1bd37b719]: clock (free)scan of ISO 8601 timestamp ↵jan.nijtmans2020-05-271-57/+75
| | | | | | | | | | | | | | | with literal T behaves strange (I like it!)
* | | Merge 8.6jan.nijtmans2020-06-231-3/+3
|\ \ \
| * | | avoid %pure-parser deprecation warning from Bison 3.4jan.nijtmans2020-06-231-3/+3
| | |/ | |/|
| * | Backport some changes in tclGetDate.y from 8.7.jan.nijtmans2020-06-231-965/+966
| |/
* | Backport some recent changes in tclDate.c back to tclGetDate.y, so they are ↵jan.nijtmans2020-06-231-1/+1
| | | | | | | | not lost when re-generating
* | Merge 8.6jan.nijtmans2020-04-141-1/+1
|\ \ | |/
| * Merge 8.5. Failing tests highlight ticket [1b1f5f0b53].dgp2020-04-131-1/+1
| |\
| | * Guarantee TclNeedSpace and TclFindElement have common definition of whitespacedgp2020-04-091-1/+1
| | | | | | | | | | | | by having both call the same routine. Create a macro form to contain performance costs and adapt callers.
| | * Backport various minor issues from 8.6: jan.nijtmans2018-10-271-1/+1
| | | | | | | | | | | | | | | | | | - gcc compiler warning in tclDate.c - protect Tcl_UtfToUniCharDString() from ever reading more than "length" bytes from its input, not even in the case of invalid UTF-8. - update to latest tzdata - fix 2 failing test-cases on MacOSX
| | * (cherry-pick): Fix [e14c77b845]: Compilation error over typedef.jan.nijtmans2016-06-141-7/+1
| | |
* | | more of the samedgp2020-03-061-2/+1
| | |
* | | Merge tip-548jan.nijtmans2019-08-291-1/+2
|\ \ \
* \ \ \ Merge tip-548jan.nijtmans2019-08-151-17/+17
|\ \ \ \ | |/ / /
| * | | Remove "register" keyword in various places. Also add some type-casts to ↵jan.nijtmans2019-08-141-5/+5
| | | | | | | | | | | | | | | | help C++ compatibility.
| * | | Make dateMeridian variable type MERIDIAN (an enum) in stead of int.jan.nijtmans2019-08-121-12/+12
| | | |
* | | | Merge 8.7, and continue implementation. Almost donejan.nijtmans2019-07-101-1/+1
|/ / /
* | | Add entry for Tcl_StaticPackage in internal stub table, since the public one ↵jan.nijtmans2018-11-151-1/+1
| | | | | | | | | | | | | | | is deprecated and will be removed in 9.0 Clean-up a lot of type-casts, which are not necessary any more.
* | | isspace -> TclIsSpaceProc in various places.jan.nijtmans2018-10-091-948/+948
|/ / | | | | Re-generate tclDate.c with Bision 3.1
* | Fix harmless gcc warningjan.nijtmans2018-08-081-1/+1
| |
* | Fix [e14c77b845] for MSVC6: Compilation error over typedefjan.nijtmans2016-06-091-7/+1
| |
* | Use more portable TclIsSpaceProc() in stead of isspace().jan.nijtmans2013-06-171-1/+1
|\ \ | |/
| * Use more portable TclIsSpaceProc() in stead of isspace(). jan.nijtmans2013-06-171-1/+1
| | | | | | Make sure that "string is space \u180e" continues to return 1 for whatever unicode version.
| * make some more internal tables constjan.nijtmans2012-04-231-6/+6
| |\
| | * make some more internal tables constjan.nijtmans2012-04-231-6/+6
| | | | | | | | | On cygwin, install dll's in /usr/bin, not in /usr/lib
* | | TclClockOldscanObjCmd: More generation of errorCode information.dkf2011-03-311-0/+8
| | |
* | | Now that we're no longer using SCM based on RCS, the RCS Keyword linesdgp2011-03-021-1/+0
|\ \ \ | |/ / | | | cause more harm than good. Purged them (except in zlib files).
| * | Now that we're no longer using SCM based on RCS, the RCS Keyword lines causedgp2011-03-021-1/+0
| |\ \ | | |/ | | | more harm than good. Purged them.
| | * Now that we're no longer using SCM based on RCS, the RCS Keyword lines causedgp2011-03-011-2/+0
| | | | | | | | | more harm than good. Purged them.
| | * Enable building Tcl with Microsoft's latest compiler offeringpatthoyts2006-06-141-3/+3
| | | | | | | | | | | | | | | | | | (VS2005). We have to handle a number of oddities as they have deprecated most of the standard C library and now generate manifest files to be linked into the binaries. SF bug #1424909
| | * Bug 1298737Kevin B Kenny2005-11-041-1/+4
| | |
| | * replaced 'long' times with wides, to cope with Win64Kevin B Kenny2005-03-151-6/+6
| | |
| * | * generic/tclGetDate.y: Fixed a thread safety bug in the generatedKevin B Kenny2009-06-091-219/+317
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * library/clock.tcl: Bison parser (needed a %pure-parser * tests/clock.test: declaration to avoid static variables). Discovered that the %pure-parser declaration allowed for returning the Bison error message to the Tcl caller in the event of a syntax error, so did so. * generic/tclDate.c: bison 2.3
* | | 3 unnecessary MODULE_SCOPE symbolsnijtmans2010-03-041-4/+0
| | |
* | | Follow-up to Fix [Bug 2954959] expr abs(0.0) is -0.0nijtmans2010-02-211-6/+6
| | | | | | | | | | | | | | | | | | Some more tests, showing that the LONG implementation was not quite correct too, and a fix for that. Some more internal "const" additions
* | | Eliminate various gcc warnings (in -Wextra mode)nijtmans2009-11-181-5/+5
| | |
* | | * macosx/tclMacOSXFCmd.c: CONST -> constnijtmans2009-07-221-1/+1
| | | | | | | | | | | | | | | | | | * generic/tclGetDate.y: * generic/tclDate.c: * generic/tclLiteral.c: (char *) cast in ckfree call
* | | * generic/tclGetDate.y: Fixed a thread safety bug in the generatedKevin B Kenny2009-06-091-217/+315
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * library/clock.tcl: Bison parser (needed a %pure-parser * tests/clock.test: declaration to avoid static variables). Discovered that the %pure-parser declaration allowed for returning the Bison error message to the Tcl caller in the event of a syntax error, so did so. * generic/tclDate.c: bison 2.3
* | | CONSTify TclPrintInstruction and TclpNativeJoinPath (TIP #27)nijtmans2009-01-221-1/+1
| | | | | | | | | | | | | | | {unix win} in *.decls is equivalent to {generic} tclGetDate.y, tclDate.c: single internal const decoration
* | | Add "const" to many internalnijtmans2008-10-161-3/+3
| | | | | | | | | | | | | | | const tables. No functional or API change.
* | | CONST -> constnijtmans2008-05-041-1/+1
|/ /
* | * generic/tclGetDate.y: Added a cast to the definition of YYFREE toKevin B Kenny2007-08-061-438/+723
| | | | | | | | | | | | | | | | silence compiler warnings. * generic/tclDate.c: Regenerated * win/tclWinTest.c: Added a cast to the call to GetSecurityDescriptorDacl to silence compiler warnings.
* | * generic/tclGetDate.y: use ckalloc/ckfree instead of malloc/free.das2007-06-291-107/+170
| | | | | | | | * generic/tclDate.c: bison 1.875e
* | Whitespace policing, replacing commas in varargs with constant string ↵Kevin B Kenny2007-04-201-2/+2
| | | | | | | | catenation, and fixed an oversight in the fix for NZA time zones.