summaryrefslogtreecommitdiffstats
path: root/generic
Commit message (Collapse)AuthorAgeFilesLines
* 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 *'... FossilOrigin-Name: 247c6ad8ac61d05c278903bb8c566eca33ca8c03
* Forgot to check this in due to local network woes.dkf2008-11-021-43/+52
| | | FossilOrigin-Name: 04cf18bfe954e659bdef6c01a31107f78332d080
* more internal -Wwrite-strings warning fixesnijtmans2008-11-025-42/+42
| | | FossilOrigin-Name: bef0648aed98539441a1a154af2ac554af8a941c
* Implementation of TIP 97 - canvas imove and rchars methods.dkf2008-11-015-700/+942
| | | FossilOrigin-Name: b63a8c792211ffa5815ce1d436e016b1e063893d
* Implemented the themed spinbox widget ttk::spinbox.patthoyts2008-11-011-68/+350
| | | FossilOrigin-Name: 1fc44d63b7e4ec4da75db0a00822b66c26c1620e
* Temporary workaround for [Bug 2207435]jenglish2008-10-311-1/+2
| | | FossilOrigin-Name: 14002bf54ebe2b157b8ac3c3ab30819293a967fe
* more internal -Wwrite-strings warning fixesnijtmans2008-10-3016-80/+72
| | | FossilOrigin-Name: 8cc51975139f771898f1b3ab9da8b2e7c02f9905
* [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. FossilOrigin-Name: bb3ffd4977c1850656227cd5e05f0d820792eacf
* Remove incorrect 'const' qualifier.jenglish2008-10-291-7/+7
| | | | | | Remove useless 'register' declarations too, while we're at it. FossilOrigin-Name: 0b6ae256985b6b920fc248313d490974e8a67f9d
* CONST updatedgp2008-10-291-2/+2
| | | FossilOrigin-Name: 5f3029435e3ba17dcd1388276405aa8c6c218290
* CONSTify TkPrintPadAmount, TkCreateFrame, TkCreateMainWindownijtmans2008-10-2818-85/+103
| | | | | | | and Tk_ParseArgv. move TkSelGetSelection to internal stub table (needed in tkWinTest.c) FossilOrigin-Name: 17c2598fc31e8f5a5ad87a7e318c7f069e149dc5
* 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. FossilOrigin-Name: a501aa15217c3ebbb941256413c04522d7e1141e
* Silence warning.dkf2008-10-241-4/+5
| | | FossilOrigin-Name: 74d4ee8c4c2867b3c2c4cefb110918409b267643
* * 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: FossilOrigin-Name: a6a0e86e903afdf5d457f75e2de08cb34f55c681
* 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. FossilOrigin-Name: ff239323ed950a51605485392c5927efe2080abe
* Reduce number of castsdkf2008-10-201-2/+2
| | | FossilOrigin-Name: 5febc09c8a6e1041559d13f5c6d7a461fa92d8f2
* Correct mistake in [tk busy configure].dkf2008-10-201-27/+27
| | | FossilOrigin-Name: 62c5f711fd1ee7b18badc82afa0a42e3d5a75b7c
* fix compile errors and warningsdgp2008-10-201-9/+10
| | | FossilOrigin-Name: 2bfb5fbd14cc644ac88156856f30b2e74c970cab
* Factor out the platform-specific bits of [tk busy]. [Bug 2180919]dkf2008-10-203-324/+79
| | | FossilOrigin-Name: 42d69c5440e925994955e38f87566134d309c8e5
* Implementation of the [tk busy] command on non-OSX.dkf2008-10-184-10/+1238
| | | | | | Adapted from [Patch 1997907] FossilOrigin-Name: d9f9056ec1e227748b77891bf1b9bd0bddd4cae0
* Avoid const jiggling by using Tcl_SetObjResultpatthoyts2008-10-181-2/+3
| | | FossilOrigin-Name: dcded822bc7d12bab659e85604ba071c4681118b
* 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. FossilOrigin-Name: da3819dbb53904a418b6098f3b103df483c53304
* 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. FossilOrigin-Name: 7702e3f7a3d0133733e965183538a53dffbeba1c
* Added new utility function: TkNewWindowObj()dkf2008-10-142-46/+74
| | | FossilOrigin-Name: c3b79dab2efd29825980f1cebe5058cc1d6e1fd2
* Correct error result generation of [$canvas select clear $bogus].dkf2008-10-111-2/+2
| | | FossilOrigin-Name: 9e66671f83d5fafc5a207a3f64313c81a0bed8e1
* removed bogus commentdkf2008-10-091-3/+3
| | | FossilOrigin-Name: 014df6a0b45e3ac910a17240f117ee502037c22d
* * 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. FossilOrigin-Name: db586b9285a53ab0555795d02495085a358897f7
* comment formattingdkf2008-10-091-4/+3
| | | FossilOrigin-Name: 51760f94e82a39373a8d75f02dd3fba2f5029a2f
* minor correctionsdkf2008-10-052-6/+5
| | | FossilOrigin-Name: 58539c23f9e182e812a0463a251122630787ea9c
* Greatly clean up Tk's handling of the writability of the Tcl result object.dkf2008-10-0514-194/+175
| | | FossilOrigin-Name: a83341a36174d2059bc339dea19260a38eda5a01
* typodkf2008-10-032-4/+4
| | | FossilOrigin-Name: 283618731fc6f9a2d3e8796aee5e6a29a301c90b
* Convert %g to Tcl_PrintDouble to avoid locale trouble. [Bug 2112563]dkf2008-10-035-84/+102
| | | FossilOrigin-Name: 6902fa243ef174be82b8156af62dcd069064e68c
* Implemented TIP #236 from patch by Neil McKay.dkf2008-09-301-158/+228
| | | FossilOrigin-Name: a2e1a9e4c16016fab4438212deeb6addef94716a
* * generic/tk.h: Dropped use of _ANSI_ARGS_ macro to preservedgp2008-09-032-162/+135
| | | | | | * generic/tkSelect.h: Tk's TCL_NO_DEPRECATED build. FossilOrigin-Name: 9f2fb463df09dcaea2a0104108e0366c8bd515f1
* * 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. FossilOrigin-Name: 0ce4361ba3a9fba3c0934cc089c7e79458704a57
* * 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: FossilOrigin-Name: b9fae78d1982e91db62ca72d8892678c4b1ad2bc
* Fix crash reported by Don Porter.dkf2008-08-251-1/+3
| | | FossilOrigin-Name: cff2534ebe9965f9cc20f94f019b8e0129e0a19e
* Split the photo image core into two pieces to make it easier to maintain.dkf2008-08-253-2170/+2288
| | | FossilOrigin-Name: 999c25802a2869d419441e14c906af7dad5291cd
* Use ckrealloc to resize arrays...dkf2008-08-211-11/+7
| | | FossilOrigin-Name: e7fcaec3859b842b07343987b28c60c88e8b93be
* 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. FossilOrigin-Name: 8356aa0eec57fa7af4840febe78bf647259ff203
* 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". FossilOrigin-Name: 2d900ad05b898419dfe40b8d70fe67169d8e2105
* * 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: FossilOrigin-Name: 39d0f3137da355008d1713ed5a8d54ae5fee2242
* 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. FossilOrigin-Name: f2b70826ca14875435ac6c59b811665ed10e3c5f
* * 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. FossilOrigin-Name: 7dd2f97fdd8c03f37659918574c5b09c11b626c8
* fix [2021443] inconsistant "wrong # args" messages (for Tk)nijtmans2008-07-2333-173/+173
| | | FossilOrigin-Name: def570d7bdd7211b4c17c706781050222d16890f
* Audit: ensure that output arguments to Tk_Get*FromObj() are initialized,jenglish2008-07-044-17/+15
| | | | | | in case of erroneous style specifications [#2009213]. FossilOrigin-Name: 9939c08234968e99caa92e47b49ad96563ae6b4d
* * generic/tk.h: TIP 285 additions make Tk 8.6 call the newdgp2008-06-191-3/+3
| | | | | | | | * library/tk.tcl: Tcl_Canceled() routine, available only in Tcl 8.6, so bump our Tcl dependencies to version 8.6. Tk 8.6a1 will no longer [load] into a Tcl 8.5 interp. FossilOrigin-Name: 39a44e202cd34b974666d28bc73789e2c905ad26
* * README: Bump version number to 8.6a1dgp2008-06-191-3/+3
| | | | | | | | | | | | | * generic/tk.h: * library/tk.tcl: * unix/configure.in: * unix/tk.spec: * win/configure.in: * unix/configure: autoconf-2.59 * win/configure: FossilOrigin-Name: dceb3a1eb37296ee09689495eaaaa6c5023da2e1
* TIP 285 Implementationmistachkin2008-06-131-9/+58
| | | FossilOrigin-Name: 7ed688e770caea98aeaa62fc00b7054653fff76a
* * generic/tkPointer.c (Tk_UpdatePointer): fix failure to restore adas2008-06-121-6/+4
| | | | | | | | global grab capture and to release the restrict window capture when releasing a button grab. Fixes segfault due to dangling reference to restrict window inside TkpSetCapture() implementation. [Bug 1991932] FossilOrigin-Name: 2c73237a099866d9ba3e137f5e68ecf0975f7ed0