summaryrefslogtreecommitdiffstats
path: root/generic
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* Factor out the platform-specific bits of [tk busy]. [Bug 2180919]dkf2008-10-203-324/+79
|
* Implementation of the [tk busy] command on non-OSX.dkf2008-10-184-10/+1238
| | | | Adapted from [Patch 1997907]
* Avoid const jiggling by using Tcl_SetObjResultpatthoyts2008-10-181-2/+3
|
* Add "const" to many internalnijtmans2008-10-1736-153/+151
| | | | | | | | 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.
* Add "const" to many internalnijtmans2008-10-1511-35/+35
| | | | | | | | 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.
* Added new utility function: TkNewWindowObj()dkf2008-10-142-46/+74
|
* Correct error result generation of [$canvas select clear $bogus].dkf2008-10-111-2/+2
|
* removed bogus commentdkf2008-10-091-3/+3
|
* * generic/tkListbox.c: Make literal return values consistent withdgp2008-10-091-3/+3
| | | | | | | | those generated by Tcl_PrintDouble(). * tests/entry.test: Restore test naming consistency with Tk 8.5. * tests/listbox.test: Remove some more dependency on precision in test results.
* comment formattingdkf2008-10-091-4/+3
|
* minor correctionsdkf2008-10-052-6/+5
|
* Greatly clean up Tk's handling of the writability of the Tcl result object.dkf2008-10-0514-194/+175
|
* typodkf2008-10-032-4/+4
|
* Convert %g to Tcl_PrintDouble to avoid locale trouble. [Bug 2112563]dkf2008-10-035-84/+102
|
* Implemented TIP #236 from patch by Neil McKay.dkf2008-09-301-158/+228
|
* * generic/tk.h: Dropped use of _ANSI_ARGS_ macro to preservedgp2008-09-032-162/+135
| | | | * generic/tkSelect.h: Tk's TCL_NO_DEPRECATED build.
* * generic/tkImgPhoto.c: Changed TclStack* calls to ck* calls so thatdgp2008-08-281-10/+8
| | | | | | | | we don't create new dependencies on Tcl internals. * unix/tkUnixPort.h: Removed #include of tclInt.h that has been * win/tkWinPort.h: disabled for three years. If we needed this we'd have noticed by now.
* * README: Bump version number to 8.6a3dgp2008-08-281-3/+3
| | | | | | | | | | | * generic/tk.h: * library/tk.tcl: * unix/configure.in: * unix/tk.spec: * win/configure.in: * unix/configure: autoconf-2.59 * win/configure:
* Fix crash reported by Don Porter.dkf2008-08-251-1/+3
|
* Split the photo image core into two pieces to make it easier to maintain.dkf2008-08-253-2170/+2288
|
* Use ckrealloc to resize arrays...dkf2008-08-211-11/+7
|
* After some discussion with Joe English and subsequently thegeorgeps2008-08-196-68/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | X.org developers (Keith Packard in particular), it was discovered that Tk is doing management of XIDs that it shouldn't need to do. The very common XC-MISC extension which has come with every version of X for the last 15 years is used with Xlib now, to retrieve the information about the used/unused XIDs. The public Tk_FreeXId is now a no-op. Joe English reviewed the patch, and said "please commit." The patch is associated with the bug tracker id: 2039720 generic/tkError.c: Remove the usage of TkpWindowWasRecentlyDeleted. generic/tkInt.decls: Update the declarations for the now unused internalstubs. generic/tkIntDecls.h: Regenerated based on tkInt.decls. generic/tkIntPlatDecls.h: Regenerated based on tkInt.decls. generic/tkStubInit.c generic/tkWindow.c: Remove the calls to TkInitXId, and TkFreeWindowId. macosx/tkMaxOSXPort.h: Remove TkFreeWindowId and TkInitXId macro definitions. macosx/tkMacOSXXStubs.c: Remove the no-op TkpWindowWasRecentlyDeleted. unix/tkUnixEvent.c: Remove call to TkFreeXId. unix/tkUnixXId.c: Remove a lot of unnecessary code (see above). win/tkWinPort.h: Remove TkFreeWindowId and TkInitXId. win/tkWinWindow.c: Remove TkpWindowWasRecentlyDeleted.
* generic/ttk/ttkScroll.c: Don't use sprintf "%g" to format floatingjenglish2008-08-191-11/+11
| | | | | point numbers in -[xy]scrollcommand callbacks or [xy]view methods. Minor incompatibility: 0 and 1 now formatted as "0.0" resp "1.0".
* * README: Bump version number to 8.6a2dgp2008-08-121-4/+4
| | | | | | | | | | | * generic/tk.h: * library/tk.tcl: * unix/configure.in: * unix/tk.spec: * win/configure.in: * unix/configure: autoconf-2.59 * win/configure:
* Fix for [Bug 2010422] "no event type or button # or keysymjenglish2008-08-052-13/+30
| | | | | | | while executing "bind Listbox <MouseWheel> [...]". This allows Tk to compile and run against newer versions of libX11 where the protocol constant LastEvent has changed.
* * generic/tk.h: Added missing EXTERN for the Tcl_PkgInitStubsCheckdgp2008-07-311-2/+2
| | | | declaration to fix inability to embed non-stub-enabled Tk on Windows.