summaryrefslogtreecommitdiffstats
path: root/generic/tclGetDate.y
Commit message (Collapse)AuthorAgeFilesLines
* Merge 8.6jan.nijtmans2020-11-201-2/+2
|\
| * Use '&' in stead of 'and' in copyright statements consistantlyjan.nijtmans2020-11-201-2/+2
| |
* | Merge 8.6jan.nijtmans2020-10-131-7/+7
|\ \ | |/
| * More usage of TclNewObj() in stead of Tcl_NewObj() and TclNewIntObj() in ↵jan.nijtmans2020-10-131-9/+9
| | | | | | | | stead of Tcl_NewIntObj()
* | More usage of TclNewIntObj() macrojan.nijtmans2020-08-131-2/+2
| |
* | Merge 8.6jan.nijtmans2020-07-101-17/+4
|\ \ | |/
| * Proposed fix for [5019748c73]: FreeScan resp. Oldscan does not recognize ↵jan.nijtmans2020-07-091-17/+4
| | | | | | | | positive time zone offset like "31 Jan 14 23:59:59 +0100"
* | Merge 8.6jan.nijtmans2020-07-091-28/+40
|\ \ | |/
| * Merge 8.6jan.nijtmans2020-06-231-1/+1
| |\
| * \ Merge 8.6. re-generate tclParse.cjan.nijtmans2020-06-231-17/+18
| |\ \
| * | | clock-iso-2.patchjan.nijtmans2020-05-271-28/+30
| | | |
| * | | Proposed soution for [a1bd37b719]: clock (free)scan of ISO 8601 timestamp ↵jan.nijtmans2020-05-271-1/+11
| | | | | | | | | | | | | | | | | | | | with literal T behaves strange (I like it!)
* | | | Merge 8.6jan.nijtmans2020-06-231-1/+1
|\ \ \ \ | | |_|/ | |/| |
| * | | avoid %pure-parser deprecation warning from Bison 3.4jan.nijtmans2020-06-231-1/+1
| | |/ | |/|
| * | Backport some changes in tclGetDate.y from 8.7.jan.nijtmans2020-06-231-17/+18
| |/
| * Replace isspace() -> TclIsSpaceProc() _everywhere_. jan.nijtmans2019-01-261-1/+1
| | | | | | Change TclIsSpaceProc() and TclIsBareWord so it works with both signed and unsigned characters. Actually, this is not a signature change, as "char" arguments are enlarged to "int" by the C-compiler anyway.
* | Backport some recent changes in tclDate.c back to tclGetDate.y, so they are ↵jan.nijtmans2020-06-231-3/+2
| | | | | | | | not lost when re-generating
* | Merge tip-548jan.nijtmans2019-08-291-1/+2
|\ \
* \ \ Merge tip-548jan.nijtmans2019-08-151-14/+14
|\ \ \ | |/ /
| * | 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-9/+9
| | |
* | | 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-1/+1
|/ | | Re-generate tclDate.c with Bision 3.1
* 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-2/+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-2/+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.
| | * 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-66/+152
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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-5/+1
| | |
* | | Follow-up to Fix [Bug 2954959] expr abs(0.0) is -0.0nijtmans2010-02-211-7/+7
| | | | | | | | | | | | | | | | | | 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-6/+6
| | |
* | | * macosx/tclMacOSXFCmd.c: CONST -> constnijtmans2009-07-221-2/+2
| | | | | | | | | | | | | | | | | | * 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-63/+149
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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-2/+2
| | | | | | | | | | | | | | | {unix win} in *.decls is equivalent to {generic} tclGetDate.y, tclDate.c: single internal const decoration
* | | Add "const" to many internalnijtmans2008-10-161-4/+4
|/ / | | | | | | | | const tables. No functional or API change.
* | merge stable branch onto HEADdgp2007-12-131-1/+1
| |
* | * generic/tclGetDate.y: Added a cast to the definition of YYFREE toKevin B Kenny2007-08-061-2/+2
| | | | | | | | | | | | | | | | 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-1/+4
| | | | | | | | * generic/tclDate.c: bison 1.875e
* | Whitespace policing, replacing commas in varargs with constant string ↵Kevin B Kenny2007-04-201-3/+3
| | | | | | | | catenation, and fixed an oversight in the fix for NZA time zones.
* | Fixed a buglet in recognizing time zone SIERRAKevin B Kenny2007-04-201-2/+2
| |
* | * tests/clock.test (clock-59.1): Added a regression test forKevin B Kenny2007-04-201-26/+26
| | | | | | | | | | | | military time zone input conversion. [Bug 1586828]. * generic/tclGetDate.y (MilitaryTable): Fixed an ancient bug where the military NZA time zones had the signs reversed [Bug 1586828].
* | Introduce modern formatting standards; no need for rebuild of tclDate.cdkf2007-03-201-640/+684
| |
* | More fixing which struct stat to refer to. Some casts from time_t to int ↵patthoyts2006-09-261-13/+13
| | | | | | | | | | | | | | required. Tcl_Time structure members are longs. Support for varying compiler options and build to platform-specific subdirs.
* | * unix/tcl.m4 (Darwin): add 64bit support, check for Tiger copyfile(),das2005-11-271-1/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | add CFLAGS to SHLIB_LD to support passing -isysroot in env(CFLAGS) to configure (flag can't be present twice, so can't be in both CFLAGS and LDFLAGS during configure), don't use -prebind when deploying on 10.4, define TCL_IO_TRACK_OS_FOR_DRIVER_WITH_BAD_BLOCKING (rdar://3171542). (SC_ENABLE_LANGINFO, SC_TIME_HANDLER): add/fix caching, fix obsolete autoconf macros. Sync with tk/unix/tcl.m4. * unix/configure.in: fix obsolete autoconf macros, sync gratuitous formatting/ordering differences with tk/unix/configure.in. * unix/Makefile.in: add CFLAGS to tclsh/tcltest link to make executable linking the same as during configure (needed to avoid loosing any linker relevant flags in CFLAGS, in particular flags that can't be in LDFLAGS). Avoid concurrent linking of tclsh and compiling of tclTestInit.o or xtTestInit.o during parallel make. (checkstubs, checkdoc, checkexports): dependency and Darwin fixes (dist): add new macosx files. * unix/tclLoadDyld.c (TclpDlopen): use NSADDIMAGE_OPTION_WITH_SEARCHING on second NSAddImage only. [Bug 1204237] (TclGuessPackageName): should not be MODULE_SCOPE. (TclpLoadMemory): ppc64 and endian (i386) fixes, add support for loading universal (fat) bundles from memory. * unix/tclUnixFCmd.c: * macosx/tclMacOSXFCmd.c: ppc64 and endian (i386) fixes. (TclMacOSXCopyFileAttributes): add support for new Tiger copyfile() API to enable copying of xattrs & ACLs by [file copy]. * generic/tcl.h: add Darwin specifc configure overrides for TCL_WIDE defines to support fat compiles of ppc and ppc64 at the same time, (replaces Darwin CVS fix by emoy, rdar://3693001). add/correct location of version numbers in macosx files. * generic/tclInt.h: clarify fat compile comment. * unix/tclUnixPort.h: add Darwin specifc configure overrides to support fat compiles, where configure runs only once for multiple architectures (replaces Darwin CVS fix by emoy, rdar://3693001). * macosx/tclMacOSXBundle.c: * macosx/tclMacOSXNotify.c: * unix/tclUnixNotfy.c: * unix/tclUnixPort.h: fix #include order to support compile time override of HAVE_COREFOUNDATION in tclUnixPort.h when building for ppc64 * macosx/Tcl.pbproj/default.pbxuser (new file): * macosx/Tcl.pbproj/jingham.pbxuser: * macosx/Tcl.pbproj/project.pbxproj: * macosx/Tcl.xcode/default.pbxuser (new file): * macosx/Tcl.xcode/project.pbxproj (new file): * macosx/Tcl.xcodeproj/default.pbxuser (new file): * macosx/Tcl.xcodeproj/project.pbxproj (new file): new/updated projects for Xcode 2.2 on 10.4, Xcode 1.5 on 10.3 & ProjectBuilder on 10.2, with native tcltest targets and support for universal (fat) compiles. * macosx/README: clarification/cleanup, document new Xcode projects and universal (fat) builds via CFLAGS (i.e. all of ppc ppc64 i386 at once). * unix/Makefile.in: * unix/aclocal.m4: * unix/configure.in: * unix/dltest/Makefile.in: * macosx/configure.ac (new file): add support for inclusion of unix/configure.in by macosx/configure.ac, allows generation of a config headers enabled configure script in macosx (required by Xcode projects). * macosx/GNUmakefile: rename from Makefile to avoid overwriting by configure run in tcl/macosx, add support for reusing configure cache, build target fixes, remove GENERIC_FLAGS override now handled by tcl.m4. * generic/tcl.decls: add Tcl_Main declaration as comment to avoid 'checkstubs' target complaining about it missing from stubs. * generic/regex.h: * generic/tclDate.c: * generic/tclEnv.c: * generic/tclGetDate.y: * generic/tclIOUtil.c: * generic/tclObj.c: * generic/tclStubInit.c: * generic/tclStubLib.c: * generic/tclPathObj.c: * generic/tclThreadAlloc.c: * generic/tclThreadStorage.c: * generic/tclTrace.c: * generic/tclVar.c: * generic/tommath.h: * tools/fix_tommath_h.tcl: * unix/tclUnixFCmd.c: ensure externally visible symbols not contained in stubs table are declared as MODULE_SCOPE (or as static if not used outside of own source file). These changes allow 'make checkstubs' to complete without error on Darwin with gcc 4. * generic/rege_dfa.c (getvacant): * generic/regexec.c (cfind): * generic/tclCompExpr.c (CompileSubExpr): * generic/tclNamesp.c (NamespaceEnsembleCmd): * unix/tclUnixChan.c (TclUnixWaitForFile): initialise variables to silence gcc 4 warnings. * generic/tclExecute.c (TclExecuteByteCode): fix unused variable warning when NO_WIDE_TYPE is defined. * generic/regguts.h: only #define NDEBUG if not already #defined. * unix/tclUnixNotfy.c: * macosx/tclMacOSXNotify.c: sync whitespace & comments. * unix/tclUnixPort.h: * win/tclWinPort.h: remove declaration of obsolete&unused TclpMutex API. * unix/configure: * unix/tclConfig.h.in: regen.
* | Bug 1298737Kevin B Kenny2005-11-041-1/+4
| |
* | ANSIfy; generic/*.c now all done except for test codedkf2005-11-021-6/+6
| |
* | Merged kennykb-numerics-branch back to the head; TIPs 132 and 232Kevin B Kenny2005-05-101-1/+1
| |