summaryrefslogtreecommitdiffstats
path: root/generic
Commit message (Collapse)AuthorAgeFilesLines
* * generic/tkPointer.c (Tk_UpdatePointer): use all 5 buttons.das2009-04-101-2/+2
| | | FossilOrigin-Name: 041f6f27d83e1ddcacc4b82471576d211df6c1c2
* * generic/tkMenu.c (PostProcessEntry): delay call todas2009-04-101-5/+5
| | | | | | TkpConfigureMenuEntry() until all menu entry attributes are setup. FossilOrigin-Name: 9a54a123fd4e732191942b7357620992f89dcc5f
* * generic/tkMenubutton.c: s/DEF_BUTTON_JUSTIFY/DEF_MENUBUTTON_JUSTIFY/das2009-04-101-2/+2
| | | FossilOrigin-Name: 916c7955f40fbf399c28ec0d1038a222725dfcfb
* * generic/tkUtil.c (TkBackgroundEvalObjv): use Tcl_BackgroundException.das2009-04-101-2/+2
| | | FossilOrigin-Name: cef0a17b9e2bdde07c46a05526ae8ed269a3552e
* * generic/tkBind.c (HandleEventGenerate): ensure window exists beforedas2009-04-101-1/+2
| | | | | | generating an event for it (fixes testsuite crash). FossilOrigin-Name: 3b16864e712ea1dae78dda52032ba59e9e7182d8
* * generic/tkTextBTree.c (TkBTreeDeleteIndexRange): add bounds checkdas2009-04-101-2/+3
| | | | | | to startEnd array access (fixes testsuite crash). FossilOrigin-Name: 1ec2acc7358133a80aafa0f1cbac708207bc35bc
* Squelch pointless file.dkf2009-04-101-284/+0
| | | FossilOrigin-Name: 3dd6914e97fc50f535d807513b67c560b586ba0b
* Prevent zero-size malloc() calls. [Bug 2178820]dkf2009-03-251-3/+3
| | | FossilOrigin-Name: ddd898d0a3c19c7df5dc1f7651c60623411c506c
* [Feature Request 2636558] Tk_DefineBitmapnijtmans2009-02-277-42/+101
| | | | | | and Tk_GetBitmapFromData signature problem FossilOrigin-Name: bf459fc10c3d4cbddce9c977b8d7dafce0ab6c68
* [Bug 2645457] check for dead windows after calling Tk_MakeWindowExist to ↵patthoyts2009-02-271-1/+8
| | | | | avoid a crash when mapping dead windows. FossilOrigin-Name: dbeb0e45a32169e46069ad32f3876b8a641646df
* ElementStateEventProc: Avoid dangling pointers when layout changesjenglish2009-02-092-17/+26
| | | | | | [Fix for #2431428]. FossilOrigin-Name: acb551a6c5d40f2e3e7b855d7901393a1092da85
* Renamed several internal data structures and functions:jenglish2009-02-0816-277/+283
| | | | | | | | | ElementImpl -> ElementClass, LayoutNode -> Element. Remove more unnecessary casts. Add function Ttk_ClientRegion, common factor of entry, scale, progress, and treeview widgets. FossilOrigin-Name: 5e86a8ff891c409cb4d6be23f7c39e51dde7b686
* * generic/tkImgPhInstance.c: fix numerous leaks discovered with thedas2009-02-068-16/+39
| | | | | | | | | | | | | * generic/tkMenu.c: Mac OS X Instruments.app Leaks tool. * generic/tkText.c: * generic/tkTextImage.c: * generic/tkTextIndex.c: * generic/tkUndo.c: * generic/tkUtil.c: * generic/ttk/ttkFrame.c: * macosx/tkMacOSXWm.c: FossilOrigin-Name: b14d66d41a37ce6244ef28a6db2687c2c5165a58
* - eliminate some unnessary type castsnijtmans2009-02-0323-96/+103
| | | | | | | - some internal const decorations - spacing FossilOrigin-Name: 02ca10b00f1aed5c76ff8149fdbac48018e8bfa0
* - eliminate some unnessary type castsnijtmans2009-01-284-16/+16
| | | | | | | - some internal const decorations - spacing FossilOrigin-Name: 380696cadafe40c73feee0f0b45084587f31f011
* fix typo that led to crashesdas2009-01-191-3/+3
| | | FossilOrigin-Name: b3060e8f5e43cbb34b322188d4b03fb91c6d3cc8
* * generic/tk.h: Bump patchlevel to 8.6b1.1 to distinguishdgp2009-01-161-2/+2
| | | | | | | | | | | * library/tk.tcl: CVS snapshots from the 8.6b1 and 8.6b2 releases. * unix/configure.in: * win/configure.in: * unix/configure: autoconf-2.59 * win/configure: FossilOrigin-Name: 24da8fd02c1876664f45541f8eff562716ed2d2b
* - fix for aMSN compatibility [tcl-Bug 2507326]nijtmans2009-01-143-38/+44
| | | | | | | - CONSTify Tk(Create|Find)menuReferences - various internal "const" decorations FossilOrigin-Name: c77e1b2da236e9ce42e33d2a71bdd3a375745526
* * generic/tkEvent.c: Fix a possible segv due to a NULLgeorgeps2009-01-111-1/+7
| | | | | | pointer dereference that occurs when XCreateIC fails. FossilOrigin-Name: 78d05cc9dd3a6c1d70c80cd4bc8d11b6eda00c16
* ttkNotebook.c(NotebookCleanup): Don't call Tk_DeleteOptionTable(),jenglish2009-01-111-4/+1
| | | | | | it's unnecessary and quite possibly harmful [Bug 2496162]. FossilOrigin-Name: 7368c7d1efedae9a9971382ce3b49073a48d7bd2
* CONSTify TkDebugBorder, TkStringToKeysym, TkDebugBitmapnijtmans2009-01-098-46/+47
| | | | | | | TkDebugColor, TkDebugCursor, TkDebugFont All those mods TIP #27 complient, no incompatibility risks. FossilOrigin-Name: 36cbe251e06e8ed0d25938bae3a8302b63449afc
* A few const -> CONST86 modifications, improvingnijtmans2009-01-065-38/+52
| | | | | | | | | | | backwards compatibility. Change Tk_ItemIndexProc and Tk_ItemInsertProc signature to have a Tcl_Obj parameter in stead of a string parameter. This is binary and source compatible with previous API, it just prevents the need for a type cast in the Tk_ItemType table construction. Bring doc in line with API. FossilOrigin-Name: 88f4039ab41ab8aced179764fc4b283e2e45cc0f
* Apply [Patch 1539990] to speed up Tk_PhotoPutBlock in one case.dkf2009-01-061-10/+15
| | | FossilOrigin-Name: 54363ffe55b6ace8901d4b16e39a6c8279ee15bc
* cast away a warning.patthoyts2009-01-061-2/+2
| | | FossilOrigin-Name: 8fd7f2018fa1ff55687eab29e2e6f13d68712a82
* CONSTify Tk_ClipboardAppendnijtmans2009-01-023-13/+13
| | | FossilOrigin-Name: b1e934f05505105e767b8b093c7fe070232430b5
* * generic/ttk/ttkDefaultTheme.c: Fix color palette for radiobuttonjenglish2008-12-311-95/+62
| | | | | | | | | and checkbutton indicators. Fixes [Bug 2003310]; also makes "alt" theme check/radiobuttons look like Windows 98, as intended. * library/ttk/altTheme.tcl: Specify dark gray -bordercolor to soften edges. FossilOrigin-Name: bd5403fee7623038a3910a1b0eabfa5a71b6880f
* TIP#171 implementation - sanity for <MouseWheel> event handling!dkf2008-12-281-9/+3
| | | FossilOrigin-Name: da1b92466b00755b637abcefff167817f0240a69
* Applied Michael Kirkham's fix to make all PngSuite images work.dkf2008-12-281-3/+2
| | | FossilOrigin-Name: 8dfa607bf7ab2f9291a2e6626f5855815cd63344
* Implementation of TIP #244, PNG image support.dkf2008-12-283-2/+3385
| | | FossilOrigin-Name: 683798fd4bc81328a3e547bedef356c51d59bd4f
* ttk::treeview: Fix inconsistent use of treeArea / headingArea;jenglish2008-12-271-28/+32
| | | | | | fixes [#2381555] ([$tv identify] didn't work when horizontally scrolled). FossilOrigin-Name: f2413979277b9a5204482b37dd01f0e03f35d12d
* * README: Bump version number to 8.6b1dgp2008-12-191-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: 377b636a8c6327f3d11192728c11a092cae6199a
* VOID -> voidnijtmans2008-12-171-4/+4
| | | FossilOrigin-Name: 6cf4c9384e6190bfe18c485d21cd3f3d56f3ab70
* fix 'make checkstubs' failure: make TtkEntry_Init MODULE_SCOPEdas2008-12-151-2/+2
| | | FossilOrigin-Name: d15c12d85f634b045110c132165482b181791556
* TIP #338 IMPLEMENTATIONdgp2008-12-151-2/+1
| | | | | | | | * doc/Tk_Main.c: Removed the last two '#include "tclInt.h"'. * generic/tkMain.c: Tk is now limited to Tcl's public interface. * macosx/tkMacOSXInit.c: FossilOrigin-Name: beef4afbdbbd2ff79a1f3155edec158263d719aa
* Make error message from Tk_GetRelief thenijtmans2008-12-121-2/+2
| | | | | | | same as for Tk_GetReliefFromObj Adapt test cases for changed error message FossilOrigin-Name: ba87777f27ff225c7afde699eb98f2acea9c2616
* Remove leftover commented-out code, mistakenly included in last commitjenglish2008-12-111-2/+1
| | | FossilOrigin-Name: 4b6a01df0e9e2a179c9795f0f0a73f5558417e51
* TIP #324 IMPLEMENTATIONdas2008-12-103-7/+131
| | | FossilOrigin-Name: 7946dc2242dda6d99b301092e8559037911722fe
* TkMakeEnsemble(): support for NULL subensembledas2008-12-101-2/+2
| | | FossilOrigin-Name: 2ac4c9857b9d5a9432246ad7f7b17a37ceb882c9
* * generic/tkInt.h: Turn [tk] into an ensemble (thoyts, steffen)das2008-12-105-331/+498
| | | | | | | | * generic/tkBusy.c: * generic/tkCmds.c: * generic/tkWindow.c: FossilOrigin-Name: a0b9ec2439b544f49a7280429d2f64c205647edc
* TIP 337dgp2008-12-098-32/+37
| | | | | | | | | | | | | | | | | | | | | | | | * generic/tkBind.c: Updated callers of Tcl_BackgroundError() * generic/tkCanvas.c: to use the new routine * generic/tkEntry.c: Tcl_BackgroundException() as appropriate. * generic/tkImgBmap.c: * generic/tkListbox.c: * generic/tkSelect.c: * generic/tkTextDisp.c: * generic/tkTextWind.c: * macosx/tkMacOSXHLEvents.c: * macosx/tkMacOSXMenu.c: * macosx/tkMacOSXMenus.c: * macosx/tkMacOSXScale.c: * macosx/tkMacOSXWindowEvent.c: * unix/tkUnixScale.c: * unix/tkUnixWm.c: * win/tkWinButton.c: * win/tkWinMenu.c: * win/tkWinScrlbr.c: * win/tkWinWm.c: FossilOrigin-Name: 8390c9df2a3de24d02b3414ba3ef502bc1349814
* Add native aqua elements for ttk::spinbox [Bug 2219588].jenglish2008-12-071-291/+126
| | | | | | | Moved most spinbox "business logic" out of ttkEntry.c into Tcl bindings. Minor spinbox appearance improvements in clam theme. FossilOrigin-Name: 087952762daa693971237477949d1d0c60efd418
* Fix potential divide by zero flagged by clang static analyzerdas2008-12-071-13/+21
| | | FossilOrigin-Name: 752001963465e001c3fdca821d0bca3aacba4c0c
* Fix potential null dereference flagged by clang static analyzerdas2008-12-072-44/+44
| | | FossilOrigin-Name: 6f14ab519e5281a1bed964e019f616fbf1839e27
* Fix potential use of uninitialized variable flagged by clang static analyzerdas2008-12-074-14/+15
| | | FossilOrigin-Name: 01ac8739ab148160b39d604439cdab1f4ebe4b0f
* Fix leaks flagged by clang static analyzerdas2008-12-071-2/+2
| | | FossilOrigin-Name: 4d3adc5d1a941759eb419c2d1492bd4caee0a75e
* Implementation of TIP #197.dkf2008-12-063-26/+89
| | | FossilOrigin-Name: f5b1e7040ddddd4220f0b534e088e6fc876f3652
* fix warningdas2008-12-051-1/+2
| | | FossilOrigin-Name: 0f5f09f08c203a5da5953d870b69c79be3fc6b9a
* Improve the code to convert from pixels to pointsdkf2008-12-051-4/+7
| | | FossilOrigin-Name: d63b555adc35a72ebd29d63c1fb3a240a6945f07
* undid previous 'fix': 'const' is only useful for pointers, not fornijtmans2008-12-053-29/+29
| | | | | | opaque types. Therefore it should not have slipped in here. FossilOrigin-Name: 8e68859f53d222add454fc02087b63c034f29648
* Clean up PS prolog generation, getting rid of an obsolete file, and stop textdkf2008-12-051-6/+8
| | | | | | from going wildly wrong when Xft is used. [Bug 2107938] FossilOrigin-Name: d7688f1cfc9f1daf944b5205119a040e9a0d9850