Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
* | Eliminate "register" keyword. Use more TCL_UNUSED() | jan.nijtmans | 2021-03-23 | 1 | -10/+10 | |
| | ||||||
* | Micro-optimization in tkScale.c, following no-op observation provided in ↵ | fvogel | 2020-08-17 | 1 | -6/+4 | |
|\ | | | | | | | [81c3ef9314]. | |||||
| * | Remove rounding of the fromValue to the resolution (which is a no-op). | fvogel | 2020-08-17 | 1 | -2/+5 | |
| | | ||||||
| * | Remove comment relic. | fvogel | 2020-08-17 | 1 | -5/+0 | |
| | | ||||||
* | | Add missing INT2PTR (doesn't cause warning with Tcl8.x, but does with Tcl ↵ | jan.nijtmans | 2019-05-17 | 1 | -1/+1 | |
| | | | | | | | | 9.0). One None -> NULL change which was still missing. Backported from trunk. | |||||
* | | Revised bug fix for [5d991b822e]. | dgp | 2019-05-15 | 1 | -14/+21 | |
|\ \ | ||||||
| * | | Tests and fix for similar issues in [menu]. | dgp | 2019-05-15 | 1 | -1/+0 | |
| | | | ||||||
| * | | Tests and fix for [scale ... -variable]. | dgp | 2019-05-15 | 1 | -1/+22 | |
| | | | ||||||
* | | | Revert previous commit following discussion on tcl-core list. | fvogel | 2019-03-28 | 1 | -2/+2 | |
| | | | ||||||
* | | | Change TICK_VALUES_DISPLAY_ACCURACY for the more correct word ↵ | fvogel | 2019-03-26 | 1 | -2/+2 | |
| | | | | | | | | | | | | TICK_VALUES_DISPLAY_PRECISION | |||||
* | | | Name the TICK_VALUES_DISPLAY_ACCURACY constant | fvogel | 2019-03-24 | 1 | -2/+3 | |
| | | | ||||||
* | | | Minor tinkering (style, efficiency, etc.) | dkf | 2019-03-24 | 1 | -32/+84 | |
| | | | ||||||
* | | | Make the branch build with MSVC by replacing calls to C99 functions round(), ↵ | fvogel | 2019-03-04 | 1 | -4/+8 | |
| | | | | | | | | | | | | fmin() and fmax() by equivalent macros. | |||||
* | | | Trimmed an unused variable | jaspert | 2019-02-28 | 1 | -1/+1 | |
| | | | ||||||
* | | | Added a procedure to increase the number of digits in the tick values until | jaspert | 2019-02-28 | 1 | -3/+51 | |
| | | | | | | | | | | | | the maximum rounding error goes below a certain value, currently 0.2x the tick interval. Also fixed it to work with scales from larger to smaller values. | |||||
* | | | Eliminate trailing zeros from scale tick values. This is done by | jal_frezie | 2019-02-20 | 1 | -53/+95 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | calculating a separate format string for these values, rather than using the same format string as for the current value. The basis is the same, i.e., enough digits are displayed to distinguish any pair of adjacent tick values, and all tick values have the same number of decimals so some may still have trailing zeros. Code for laying out vertical scales has been adjusted to take account of the fact that the tick column may now be narrower than the value column. | |||||
* | | | Fix [3003895fff] and [1899040fff]: TkRoundToResolution doesn't account for -from | fvogel | 2019-01-26 | 1 | -15/+28 | |
|\ \ \ | | |/ | |/| | ||||||
| * | | Fix [3003895fff] and [1899040fff] with a different fix, this time it does ↵ | fvogel | 2019-01-13 | 1 | -15/+14 | |
| | | | | | | | | | | | | not resurrect [220665ffff] or duplicates [220265ffff] [779559ffff]. All scale.test tests do pass now. | |||||
| * | | Fix [3003895fff] and [1899040fff]: TkRoundToResolution doesn't account for -from | fvogel | 2019-01-05 | 1 | -21/+35 | |
| | | | ||||||
| | | | ||||||
| \ \ | ||||||
*-. \ \ | Merge 8.6 and all changes from original [bug-9e31fd9449] branch | jan.nijtmans | 2019-01-08 | 1 | -6/+6 | |
|\ \ \ \ | | |/ / | |/| | | ||||||
| | * | | Fix [9e31fd944934e269121fa78ff56b7b86f33e6db6|9e31fd9449]: X11/X.h and ↵ | jan.nijtmans | 2019-01-08 | 1 | -10/+10 | |
| | |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | Windows.h have conflicting symbols. *** POTENTIAL INCOMPATIBILITY *** on Windows only: gcc/clang/MSVC will generate new warnings in extensions when the "None" symbol is used incorrectly. Those warnings are all fixed in the core, that's what most of this commit is doing. | |||||
* | | \ \ | As requested by Christian Werner/François Vogel and others: Undo many None ↵ | jan.nijtmans | 2018-12-31 | 1 | -10/+10 | |
|\ \ \ \ \ | | |_|/ / | |/| | | | | | | | | | | | | | -> 0 changes, in order to reduce the probability of merge conflicts with other branches. Remark: Many usages of "None" in Tk are wrong, "NULL" should be used in many places where pointers are referenced in stead of XID's. Those places are corrected. | |||||
| * | | | | As requested by Christian Werner/François Vogel and others: Undo many None ↵ | jan.nijtmans | 2018-12-31 | 1 | -10/+10 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | -> 0 changes, in order to reduce the probability of merge conflicts with other branches. Remark: Many usages of "None" in Tk are wrong, "NULL" should be used in many places where pointers are referenced in stead of XID's. Those places are corrected. | |||||
* | | | | | Fix [9e31fd9449]: X11/X.h and Windows.h have conflicting symbols | jan.nijtmans | 2018-12-20 | 1 | -10/+10 | |
|\ \ \ \ \ | |/ / / / | | / / / | |/ / / |/| | | | *** POTENTIAL INCOMPATIBILITY *** for Win32 only: On X11 and Mac, "None" can still be used as before | |||||
| * | | | Fix [9e31fd944934e269121fa78ff56b7b86f33e6db6|9e31fd9449]: X11/X.h and ↵ | jan.nijtmans | 2018-12-20 | 1 | -10/+10 | |
| |/ / | | | | | | | | | | | | | Windows.h have conflicting symbols. Also fix a few newer (harmless) gcc warnings. | |||||
* | | | Fix [5d991b822e]: segmentation violation in TclObjLookupVarEx. Patch from ↵ | fvogel | 2018-01-28 | 1 | -0/+13 | |
| |/ |/| | | | | | Christian Werner. | |||||
* | | Fix more issues with sprintf in the scale widget. | fvogel | 2017-10-07 | 1 | -3/+16 | |
| | | ||||||
* | | Fix [55b95f578a]: Associating variable with bignum value with scale crashes ↵ | fvogel | 2017-10-07 | 1 | -3/+3 | |
| | | | | | | | | it. The added test (scale-21) passes. | |||||
* | | Fixed bug [2262543] - Scale widget unexpectedly fires command callback ↵ | fvogel | 2016-03-07 | 1 | -1/+14 | |
| | | | | | | | | (cherrypicked [3c1a8559dd]) | |||||
* | | [3417012] Stop [scale] segfault when -digits too big. Thanks fvogel. | dgp | 2014-10-30 | 1 | -2/+5 | |
|\ \ | |/ | ||||||
| * | Pushing the fix out to more files. | dgp | 2014-10-30 | 1 | -6/+4 | |
| | | ||||||
| * | Fixed bug [3417012fff] | fvogel | 2014-10-29 | 1 | -3/+8 | |
| | | ||||||
| * | SetOptions.3: minor doc fix | jan.nijtmans | 2012-06-19 | 1 | -12/+12 | |
| |\ | | | | | | | | | | make various other tables const (all backported from Tk 8.6) | |||||
| | * | SetOptions.3: minor doc fix | jan.nijtmans | 2012-06-19 | 1 | -3/+3 | |
| | | | | | | | | | | | | make various other tables CONST (All backported from Tk 8.6) | |||||
| * | | make some internal tables const | jan.nijtmans | 2012-04-18 | 1 | -2/+2 | |
| |\ \ | | |/ | ||||||
| | * | make some more internal tables CONST | jan.nijtmans | 2012-04-18 | 1 | -2/+2 | |
| | | | ||||||
* | | | Replace all Tcl_TraceVar/Tcl_UntraceVar with Tcl_TraceVar2/Tcl_UntraceVar2 ↵ | jan.nijtmans | 2013-02-22 | 1 | -4/+4 | |
| | | | | | | | | | | | | calls: The former are just thin wrappers around the latter. | |||||
* | | | more places converted | jan.nijtmans | 2013-01-24 | 1 | -2/+2 | |
| | | | ||||||
* | | | Replace various functions calls, for functions which are small wrappers ↵ | jan.nijtmans | 2013-01-14 | 1 | -4/+4 | |
| | | | | | | | | | | | | around other functions, to call the wrapped function directly. | |||||
* | | | Much more cleaning up of result handling. | dkf | 2012-07-23 | 1 | -13/+11 | |
| | | | ||||||
* | | | frq-3536507: clientData field in Tk_OptionSpec should be "const void *" | jan.nijtmans | 2012-06-20 | 1 | -9/+9 | |
| | | | ||||||
* | | | Purge RCS Keywords | dgp | 2011-06-08 | 1 | -2/+0 | |
|\ \ \ | |/ / | ||||||
| * | | Purge RCS Keywords. | dgp | 2011-06-08 | 1 | -2/+0 | |
| |\ \ | | |/ | ||||||
| | * | Purge RCS Keywords. | dgp | 2011-06-08 | 1 | -2/+0 | |
| | | | ||||||
| | * | * generic/tkScale.c: Revised variable writing logic to account | dgp | 2006-06-14 | 1 | -5/+12 | |
| | | | | | | | | | | | | | | | for [scale]'s design that it deals with its value as a formatted string, and not as a double. [Bug 891141]. | |||||
* | | | Eliminate tkpMenubuttonClass | nijtmans | 2010-01-13 | 1 | -2/+4 | |
| | | | | | | | | | | | | | | | make tkpButtonProcs CONST fix gcc warnings: missing initializer | |||||
* | | | SMALL FIX: Remove useless explicit casts now that we require C89 or later. | dkf | 2010-01-02 | 1 | -2/+2 | |
| | | | ||||||
* | | | More small changes to use C89 better and manage the result more efficiently. | dkf | 2008-11-08 | 1 | -13/+7 | |
| | | | ||||||
* | | | more internal -Wwrite-strings warning fixes | nijtmans | 2008-10-30 | 1 | -3/+3 | |
| | | | ||||||
* | | | Add "const" to many internal | nijtmans | 2008-10-17 | 1 | -4/+4 | |
| | | | | | | | | | | | | | | | | | | | | | | | | const tables, so those will be put by the C-compiler in the TEXT segment in stead of the DATA segment. This makes those table sharable in shared libraries. |