summaryrefslogtreecommitdiffstats
path: root/generic
Commit message (Collapse)AuthorAgeFilesLines
* Add new "hover" statejenglish2008-12-033-4/+21
| | | | (patch from Pat Thoyts; needed to support proper visual feedback on Vista).
* Refactoring of the millimeter patch. Fix of a potential issue if a pixel ↵ferrieux2008-11-291-5/+16
| | | | object is reused across screens of different resolutions.
* Fix stupid bug in millimeter patch (conditionally uninited var)ferrieux2008-11-281-1/+3
|
* Millimeter patch. Fixes [1813597,2218964] by eliminating the functional ↵ferrieux2008-11-274-17/+102
| | | | redundancy and unnecessary loss of precision of the {pixel,mm}ObjType tandem.
* elminate warning: unused variable 'tkwin'nijtmans2008-11-274-34/+34
| | | | | Replace Tcl_SetResult(interp, NULL, ....) calls with Tcl_ResetResult(interp) everywhere
* Making code neater...dkf2008-11-261-22/+23
|
* Minor tidying updkf2008-11-251-99/+74
|
* [Bug 1389270] event generate silently ignored focus events. These can now be ↵patthoyts2008-11-234-17/+21
| | | | generated.
* Formattingdkf2008-11-231-6/+6
|
* use M_PI when available, remove redundant definitions of PIdas2008-11-223-10/+7
|
* Fixed up complaints from MSVC engendered by the last commit. In particular ↵patthoyts2008-11-222-33/+36
| | | | replaced round() which is a C99 function.
* TIP#119 implementation. [Patch 1611359]dkf2008-11-223-102/+612
|
* Minor simplification in fix for [Bug 2312027]:nijtmans2008-11-182-15/+7
| | | | | | | | no need to malloc and copy photo type name because it is a constant to begin with. Convert Tcl_SetResult(......, TCL_DYNAMIC) to Tcl_SetResult(......, TCL_VOLATILE), in preparation for TIP #340
* Widget self-destruction is not necessarily an error [Bug 2298720].jenglish2008-11-162-8/+7
|
* bug 2239034: restrict [wm manage] to Frame type widgetspatthoyts2008-11-152-2/+13
|
* ttkWidget.c: Reworked widget construction and destruction sequence;jenglish2008-11-132-109/+129
| | | | | | | fixes [#2207435] and several other problems discovered during investigation of same. ttkButton.c(CheckbuttonInitialize): Account for initializeProc being called earlier in the construction sequence now.
* Small syntactic improvementsdkf2008-11-121-18/+23
|
* fix [Bug 2265860] new test failuresnijtmans2008-11-121-2/+2
|
* modify Tk_Create(Old)ImageType signature, relaxingnijtmans2008-11-127-50/+101
| | | | | | | | | | the constraint that every Tk_ImageType can only be passed to this function once. This allows tkImg to be loaded in multiple interpreters in a thread-enabled build of Tk. This CONSTification complies with TIP #27. It is binary compatible with the old interface, but not fully source compatible (although tkImg does not suffer).
* Don't crash when application uses nondefault visual [#2264732].jenglish2008-11-111-3/+2
|
* Ttk widget initializeProc()s now return void instead ofjenglish2008-11-0911-49/+30
| | | | | a status code, and are no longer allowed to fail. (Fix for #2207435 in progress).
* One more (hopefully the last) signature changenijtmans2008-11-093-11/+11
| | | | in Tk_CreatePhotoImageFormat
* One more (hopefully the last) signature changenijtmans2008-11-096-18/+18
| | | | in Tk_CreateSmoothMethod.
* Remove unnecessary casts from ttkWidget.c.jenglish2008-11-091-15/+14
| | | | (More remain in other files; will get to those later).
* make all Tk_CustomOption tables const andnijtmans2008-11-098-61/+46
| | | | remove unnecessary type cast
* More small changes to use C89 better and manage the result more efficiently.dkf2008-11-0812-207/+176
|
* Lots of small changes to make code more pretty and C89-like.dkf2008-11-081-115/+110
|
* Lots of small changes to make code more pretty and C89-like.dkf2008-11-0821-370/+356
|
* add "-Wno-implicit-int" flag for gcc, as on UNIXnijtmans2008-11-061-2/+2
| | | | | Use tkUnixDefault.h under CygWin. With this change, at least the X11 version of Tk can be built with cygwin
* no need to use CONST in internal header filesnijtmans2008-11-054-21/+21
|
* CONSTify string and fileName parameters of TkGetBitmapDatanijtmans2008-11-054-31/+33
| | | | more internal -Wwrite-string warning fixes
* ttkEntry.c: fix warning: unused variable 'currentValue'nijtmans2008-11-032-16/+15
| | | | tkOldTest.c: fix warning: assignment discards qualifiers from pointer target type
* Added cast to work around stupid type inference bug in MSVC. Apparently itdkf2008-11-031-2/+2
| | | | can't tell the difference between 'const char **' and 'char *const *'...
* Forgot to check this in due to local network woes.dkf2008-11-021-43/+52
|
* more internal -Wwrite-strings warning fixesnijtmans2008-11-025-42/+42
|
* Implementation of TIP 97 - canvas imove and rchars methods.dkf2008-11-015-700/+942
|
* Implemented the themed spinbox widget ttk::spinbox.patthoyts2008-11-011-68/+350
|
* Temporary workaround for [Bug 2207435]jenglish2008-10-311-1/+2
|
* more internal -Wwrite-strings warning fixesnijtmans2008-10-3016-80/+72
|
* [Bug 2190619] Warnings due to Tk_SmoothMethodnijtmans2008-10-308-80/+65
| | | | | | | | | | | | | | | | name constness change. Although dkf's solution (simply adding a type cast) is correct as well, changing the return value (as das suggested) has the advantage that all Tk_OptionPrintProc implementations don't need a type cast any more in its code. This makes all those functions robust against the -Wwrite-strings warning option. Further on, the customPtr field of Tk_ConfigSpec can be a constant, without any danger of source incompatibility.
* Remove incorrect 'const' qualifier.jenglish2008-10-291-7/+7
| | | | Remove useless 'register' declarations too, while we're at it.
* CONST updatedgp2008-10-291-2/+2
|
* CONSTify TkPrintPadAmount, TkCreateFrame, TkCreateMainWindownijtmans2008-10-2818-85/+103
| | | | | and Tk_ParseArgv. move TkSelGetSelection to internal stub table (needed in tkWinTest.c)
* Disable test ttk-6.3, it's not applicable [Bug 2175411].jenglish2008-10-241-10/+5
| | | | | | Use different Tcl_AssocData key for Ttk so the tile extension can be loaded into an 8.6 interp, in the off-chance that anyone wants to do this.
* Silence warning.dkf2008-10-241-4/+5
|
* * README: Bump version number to 8.6a4dgp2008-10-231-3/+3
| | | | | | | | | | | * generic/tk.h: * library/tk.tcl: * unix/configure.in: * unix/tk.spec: * win/configure.in: * unix/configure: autoconf-2.59 * win/configure:
* Letting CONST die a slow and graceful death, since NO_CONST wasnijtmans2008-10-2211-896/+896
| | | | broken since 8.4 and no-one complained about it.
* Reduce number of castsdkf2008-10-201-2/+2
|
* Correct mistake in [tk busy configure].dkf2008-10-201-27/+27
|
* fix compile errors and warningsdgp2008-10-201-9/+10
|