summaryrefslogtreecommitdiffstats
path: root/generic
Commit message (Collapse)AuthorAgeFilesLines
* * 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.
* fix [2021443] inconsistant "wrong # args" messages (for Tk)nijtmans2008-07-2333-173/+173
|
* Audit: ensure that output arguments to Tk_Get*FromObj() are initialized,jenglish2008-07-044-17/+15
| | | | in case of erroneous style specifications [#2009213].
* * 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.
* * 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:
* TIP 285 ImplementationJoe Mistachkin2008-06-131-9/+58
|
* * 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]
* * generic/ttk/ttkTreeview.c: fix warning.das2008-06-121-3/+4
|
* NSCjenglish2008-06-011-3/+3
|
* [ttk::style theme use] without an argument now returns the current themepatthoyts2008-05-271-3/+40
|
* fix warningdas2008-05-231-2/+3
|
* Batch of ttk::treeview enhancements:jenglish2008-05-237-334/+567
| | | | | | | | | | | + Added [$tv identify region], [$tv identify element], and [$tv identify item] subcommands. + Simplified bindings. + Added [$tv tag has] subcommand. + Tag-related display improvements: setting a tag -background or -foreground no longer overrides selection feedback. + Don't need separate 'Item', 'Cell', and 'Row' style settings anymore, only the base "Treeview" style is used.
* Avoid passing width or height <= 0 to Tk_RedrawImage,jenglish2008-05-231-1/+7
| | | | as this leads to a panic on Windows [Bug 1967576]
* Apply fix for [Bug 1639824]dkf2008-05-141-4/+13
|
* fix constness warningsdas2008-05-031-4/+4
|
* More elimination of pre-C89-isms.dkf2008-05-022-9/+9
|
* Forgot to check in critical helper macro!dkf2008-04-281-2/+8
|
* Get rid of pre-C89-isms (esp. CONST vs const).dkf2008-04-2770-2145/+2153
|
* * generic/tkCanvas.c: Fix logic that determines when canvas itemdgp2008-04-171-4/+5
| | | | <Enter> event should fire. Thanks to Sebastian Wangnick. [Bug 1327482]
* * generic/tkStubInit.c: make stubs tables static constdas2008-04-162-16/+18
| | | | | * generic/tkWindow.c (Initialize): and export only a module-scope pointer to to the main stubs table (for package init). [Patch 1938497]
* Let the GIF writer use a real LZW compressor.nijtmans2008-04-091-444/+321
|
* a little cleanup, in preparation for replacing the gif compressor with a ↵nijtmans2008-04-091-92/+85
| | | | real LZW one.
* * generic/tkDecls.h: make genstubs (genStubs.tcl changes).das2008-04-083-11/+6
| | | | | * generic/tkIntPlatDecls.h: * generic/tkIntXlibDecls.h:
* * tkDecls.h: Reverted das's change of Tk's stubs pointersKevin B Kenny2008-04-083-6/+11
| | | | | | | | | | | * tkIntDecls.h: from 'extern' to 'EXTERN'. Since the stubs pointer * tkPlatDecls.h: is always linked statically, its wrong to import or export it from a DLL, and the change causes trouble for extensions that build with -DUSE_TK_STUBS. * tkWinEmbed.c: Removed #if 0 code. Trust the revision control system, if you need it again, you can find it. * tkWinSend.c: Added conditional compilation to silence several compiler warnings.
* * generic/tkWindow.c (Initialize): fix double-free on Tk_ParseArgvhobbs2008-04-071-2/+1
| | | | * tests/main.test (main-3.*): error. [Bug 1937135]
* use kenny variant for 1936238 fixhobbs2008-04-071-12/+4
|
* * generic/tkArgv.c: fix -help mem explosion. [Bug 1936238] (bachmann)hobbs2008-04-071-2/+3
|
* * generic/tkDecls.h: make genstubsdas2008-04-027-63/+23
| | | | | | | | * generic/tkIntDecls.h: * generic/tkIntPlatDecls.h: * generic/tkIntXlibDecls.h: * generic/tkPlatDecls.h: * generic/tkStubInit.c:
* * generic/tkStubLib.c: make symbols in libtkstub.a MODULE_SCOPE todas2008-04-022-12/+18
| | | | | | | | | avoid exporting them from libraries that link with -ltkstub; constify tk*StubsPtr and stub table hook pointers. [Bug 1819422] * generic/tkStubLib.c: undef USE_TCL_STUBS before defining it * generic/ttk/ttkStubLib.c: unconditionally; remove needless #ifdef
* * generic/tk.decls: remove 'export' declarations of symbols nowdas2008-04-021-23/+1
| | | | only in libtkstub and no longer in libtk.
* typodgp2008-04-022-13/+6
|
* * generic/tkWindow.c: Revised package initialization so thatdgp2008-04-022-8/+7
| | | | | | * unix/Makefile.in: "tkStubsPtr" is not present in libtk.so, but is present only in libtkstub.a. This tightens up the rules for users of the stubs interfaces. [Tcl Bug 1819422].
* * README: Bump version number to 8.6a0dgp2008-04-0110-28/+43
| | | | | | | | | | | | | | | | | | | | | | | | | | | * generic/tk.h: * library/tk.tcl: * macosx/Wish-Common.xcconfig: * unix/configure.in: * unix/tk.spec: * win/README: * win/configure.in: * win/tcl.m4: * unix/configure: autoconf-2.59 * win/configure: * generic/tkConsole.c: Relax Tcl_InitStubs() calls so that a Tk 8.6 * generic/tkMain.c: might [load] into a Tcl 8.5 interp. * generic/tkWindow.c: * generic/tkStubLib.c: Update to compatibility with a libtcl.so that contains no "tclStubsPtr" [Tcl Bug 1819422]. * generic/tkDecls.h: make genstubs * generic/tkIntDecls.h: * generic/tkIntPlatDecls.h: * generic/tkIntXlibDecls.h: * generic/tkPlatDecls.h:
* * README: Bump to 8.5.2 for release.dgp2008-03-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:
* * generic/ttk/ttkStubLib.c: ensure tcl stubs are used in libtkstubdas2008-03-272-4/+14
| | | | | | even in a static build of Tk. * generic/ttk/ttkDecls.h: fix incorrect number of arguments in Ttk_InitStubs macro definition.
* whitespace, typodas2008-03-271-2/+2
|
* XIM reorganization and cleanup; see [Patch 1919791] for details.jenglish2008-03-262-97/+49
|
* Keep ttkStubLib.o in libtkstub instead of libtk. [Bug 1920030]jenglish2008-03-212-12/+6
|
* initialize StubsPtr vars to NULLdas2008-03-191-6/+6
|
* ensure symbols needed for Ttk stub support are exporteddas2008-03-192-6/+12
|
* * generic/tkCanvUtil.c: fix gcc-4.2 warnings.das2008-03-111-7/+7
|