summaryrefslogtreecommitdiffstats
path: root/generic/tclTimer.c
Commit message (Collapse)AuthorAgeFilesLines
* Merge 8.6jan.nijtmans2022-01-171-8/+8
|\
| * Tcl_NewObj() -> TclNewObj()jan.nijtmans2022-01-171-8/+10
| |
| * Eliminate many "register" keywords (which do nothing with modern compilers)jan.nijtmans2020-09-141-6/+6
| | | | | | Eliminate many unnecessary type-casts to (unsigned)
* | Add -finput-charset=UTF-8 and -fextended-identifiers to gcc (and clang). All ↵jan.nijtmans2020-12-081-1/+1
| | | | | | | | C sources can now use UTF-8, as far as gcc/clang/msvc support it. Not used yet
* | Fix -Wshadow warnings, when compiling with a C++ compilerjan.nijtmans2020-10-021-1/+1
| |
* | Eliminate many usages of Tcl_NewObj (-> TclNewObj) and Tcl_NewIntObj (-> ↵jan.nijtmans2020-09-171-2/+4
| | | | | | | | TclNewIntObj or Tcl_NewWideIntObj)
* | TIP 569 - remove lint commentsdgp2020-03-171-2/+0
| |
* | Moredgp2020-03-091-12/+6
| |
* | Merge 8.7jan.nijtmans2019-12-081-1/+1
|\ \
| * \ Merge 8.6jan.nijtmans2019-12-061-1/+1
| |\ \ | | |/
| | * Unnecessary double ;; in tclTimer.c. Update compat/zlib to exactly the same ↵jan.nijtmans2019-12-061-1/+1
| | | | | | | | | | | | content as in the core-8-branch branch.
* | | Mark more function paramaters as unused. Now Tcl compiles fully (on UNIX and ↵jan.nijtmans2019-09-051-5/+11
|\ \ \ | |/ / | | | | | | Windows) without -Wunused-parameters warnings
* | | Merge tip-548jan.nijtmans2019-08-151-4/+4
|\ \ \ | |/ /
| * | Eliminate "register" keyword _everywhere_ in Tcl. This keyword is deprecated ↵jan.nijtmans2019-07-171-5/+5
| | | | | | | | | | | | in C++ (removed in C++17, even), and essentially does nothing with most modern compilers.
* | | Merge 8.7, and continue implementation. Almost donejan.nijtmans2019-07-101-12/+12
|/ /
* | merge 8.6dgp2019-05-031-13/+13
|\ \ | |/
| * Minor code style cleanup.dkf2019-04-231-7/+13
| |
* | More use of (efficient) TclHasIntRep() macro. Also eliminate many (size_t) ↵jan.nijtmans2019-02-271-1/+1
| | | | | | | | and (unsigned) type-casts, which don't make sense any more.
* | merge 8.7dgp2018-02-061-21/+11
|\ \
| * | Finally, get rid of tclWideIntType completelyjan.nijtmans2017-11-011-1/+0
| | |
| * | more progress in code simplificationsjan.nijtmans2017-10-301-2/+0
| | |
| * | Change (internal) TclFormatInt() signature, so it can handle WideInt's ↵jan.nijtmans2017-10-301-21/+11
| | | | | | | | | | | | directly. Ongoing simplifications ...
* | | merge trunkdgp2017-04-111-3/+9
|\ \ \ | |/ /
| * | More minor style fixes.dkf2017-04-101-3/+9
| | |
* | | merge trunkdgp2016-07-091-2/+2
|\ \ \ | |/ /
| * | Micro-optimization: Use TclGetStringFromObj in stead of Tcl_GetStringFromObj ↵jan.nijtmans2016-07-081-2/+2
| | | | | | | | | | | | in many places where possible.
* | | merge trunkdgp2016-07-021-1/+1
|\ \ \ | |/ /
| * | Simplify use of "struct" keyword in many places.jan.nijtmans2016-06-301-1/+1
| |/
* | Remove direct access to Tcl_Obj typePtr field that does nothing of anydgp2016-03-301-10/+4
|/ | | obvious benefit.
* Implement Tcl_NewBooleanObj, Tcl_DbNewBooleanObj and Tcl_SetBooleanObj as ↵jan.nijtmans2013-04-231-1/+1
|\ | | | | | | | | | | macros using Tcl_NewIntObj, Tcl_DbNewLongObj and Tcl_SetIntObj. Starting with Tcl 8.5, this is exactly the same, it only eliminates code duplication. Eliminate use of NO_WIDE_TYPE everywhere: It's exactly the same as TCL_WIDE_INT_IS_LONG
* | more result generation conversiondkf2012-08-031-4/+5
| |
* | Factor out constant that must be the same in multiple places. Prompted by adkf2012-05-251-6/+3
| | | | | | conversation with Alexandre Ferrieux.
* | Reduce use of Tcl_AppendElement, which is not (and can't be) a Tcl_Obj-aware ↵dkf2011-05-091-3/+5
| | | | | | | | API.
* | More generation of error codes ([format], [after], [trace], RE optimizer).dkf2011-04-041-14/+20
| |
* | Adjust ckalloc/ckfree macros to greatly reduce number of explicit casts indkf2011-03-121-15/+15
| | | | | | rest of Tcl source code. No ABI change. API change *should* be harmless.
* | 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 1350293Kevin B Kenny2005-11-091-2/+3
| | |
| | * Tcl_ClearChannelHandlers(): bail out early if passed NULL argumentvasiljevic2005-10-041-3/+6
| | |
| | * purge outdated commentdgp2005-03-231-4/+2
| | |
| | * * generic/tclTimer.c: Removed a premature optimisation thatKevin B Kenny2004-09-071-14/+4
| | | | | | | | | | | | | | | | | | attempted to store the assoc data in the client data; the optimisation caused a bug that [after] would overwrite its imports. [Bug 1016167]
* | | Stop small [afters] from wasting CPU [Bug 2905784] while keeping accuracy.ferrieux2010-10-291-5/+21
| | |
* | | Pure whitespace changes, changing to follow Engineering Manual style.dkf2010-02-241-3/+3
| | |
* | | Minor formatting issuesdkf2009-12-281-7/+6
| | |
* | | * generic/tclExecute.c: fix potential uninitialized variable use anddas2009-09-071-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * generic/tclFCmd.c: null dereference flagged by clang static * generic/tclProc.c: analyzer. * generic/tclTimer.c: * generic/tclUtf.c: * generic/tclExecute.c: silence false positives from clang static * generic/tclIO.c: analyzer about potential null dereference. * generic/tclScan.c: * generic/tclCompExpr.c:
* | | - eliminate some unnessary type castsnijtmans2009-02-101-3/+3
| | | | | | | | | | | | | | | - some internal const decorations - spacing
* | | Style fixes (unfouling whitespace, sorting comments, removing useless casts, ↵dkf2009-01-091-22/+19
| | | | | | | | | | | | etc.)
* | | TIP #337 IMPLEMENTATIONdgp2008-12-091-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * doc/BackgdErr.3: Converted internal routine * doc/interp.n: TclBackgroundException() into public routine * generic/tcl.decls: Tcl_BackgroundException(). * generic/tclEvent.c: * generic/tclInt.decls: * generic/tclDecls.h: make genstubs * generic/tclIntDecls.h: * generic/tclStubInit.c: * generic/tclIO.c: Update callers. * generic/tclIOCmd.c: * generic/tclInterp.c: * generic/tclTimer.c: *** POTENTIAL INCOMPATIBILITY only for extensions using the converted internal routine ***
* | | Style improvements - invoking callbacks without visual junk.dkf2008-10-261-4/+4
| | |