summaryrefslogtreecommitdiffstats
path: root/library
Commit message (Collapse)AuthorAgeFilesLines
* Make use of TkFixedFont and ttk widgets in the console. Try and select a ↵patthoyts2007-10-121-15/+30
| | | | | better fixed font just for the console. FossilOrigin-Name: 70d0b28c0d556fb7be34e35c2ec31865192c9e92
* * generic/tk.h: Bump version number to 8.5b1.1 to distinguishdgp2007-10-021-2/+2
| | | | | | | | | | | | * library/tk.tcl: CVS development snapshots from the 8.5b1 * unix/configure.in: release. Updated LOCALES. * unix/tk.spec: * win/configure.in: * unix/configure: autoconf (2.59) * win/configure: FossilOrigin-Name: 75ae2ea83c2429737ea254e2441be646b56db3b4
* Fix private routines accidentally defined in global namespace [Bug 1803836]jenglish2007-09-301-3/+3
| | | FossilOrigin-Name: 4b695ec036b7b4feacf82f683140a8dfb5c2cd9d
* Added Hungarian messages. [Patch 1800742]dkf2007-09-261-0/+77
| | | FossilOrigin-Name: a3c10ba509cf2be40929989169cce67c1d9b84a4
* * README: Bump version number to 8.5b1.dgp2007-09-191-3/+3
| | | | | | | | | | * generic/tk.h: Merge from core-stabilizer-branch. * library/tk.tcl: Stabilizing toward 8.5b1 release now done * unix/configure.in: on the HEAD. core-stabilizer-branch is * unix/tk.spec: now suspended. * win/configure.in: FossilOrigin-Name: d2539be7e0f05658c9b17b88d51bc886ef039786
* Try to improve combobox appearance on OSX + Tk 8.5 [#1780286].jenglish2007-09-171-40/+65
| | | FossilOrigin-Name: 2fbcddd3edad867ee3d921e0ffa51f3ba3fa3583
* * generic/tkConsole.c: Revised calls to Tcl_InitStubs() anddgp2007-09-111-3/+6
| | | | | | | | | | | * generic/tkMain.c: [package require Tcl] so that Tk Says What * generic/tkWindow.c: It Means using the new facilties of [package] * library/tk.tcl: in Tcl 8.5 about what version(s) of Tcl it * unix/Makefile.in: is willing to work with. [Bug 1578344]. * win/Makefile.in: * win/makefile.vc: FossilOrigin-Name: 010ab6d6a465c23f11326eef0b83e3f1c06f8354
* Explicitly set -anchor w for TMenubuttons [#1614540]jenglish2007-07-061-1/+2
| | | | | | CVS :---------------------------------------------------------------------- FossilOrigin-Name: 1a36311455d4fa683ca20ff34db1ee44aa8fe17d
* * library/ttk/ttk.tcl: should require Tk before pseudo-providinghobbs2007-06-211-2/+2
| | | | | | tile 0.8.0. FossilOrigin-Name: 40b7bf0497f25c80a9e03139a961055c0a628a68
* Ttk_Manager API overhaul:jenglish2007-06-091-3/+3
| | | | | | | | | | | | | + Ttk_Manager no longer responsible for managing slave records + Ttk_Manager structure now opaque + Ttk_Slave structure now private + Pass Ttk_Manager * to Tk_GeomMgr hooks instead of Ttk_Slave * ttk::labelframe: Simplified -labelwidget management. ttk::noteboook 'insert' command didn't correctly maintain current tab. Changed documentation of ttk::panedwindow 'identify' command to match implementation. FossilOrigin-Name: def6bb17f9e3906823584da8275e0052377733db
* replace previous inoperative commit with direct setting of ↵das2007-05-301-2/+9
| | | | | highlightbackground on all buttons FossilOrigin-Name: a96be4b7e24c6ef829f65d49fcbfd3b55dfdad0d
* * library/bgerror.tcl: standardize dialog option & button sizedas2007-05-304-12/+31
| | | | | | | | | * library/dialog.tcl: modifications done when running on on Aqua. * library/msgbox.tcl: * library/demos/button.tcl: set button highlightbackground on Aqua. FossilOrigin-Name: d8956cfb2fa1ab95cc5fb893600442db5e9085ba
* fix TIP #145 breakage on Aquadas2007-05-271-2/+3
| | | FossilOrigin-Name: ca7ecdaffb5a07ba129e7c7a940adc3ebe3f054e
* Removed ttk::dialog and dependencies.jenglish2007-05-254-544/+1
| | | FossilOrigin-Name: 6a266d8cb35e10b3d0fb4210ff9e43d2b99f5e97
* library/demos/ttk_*.tcl: removed Tile demos, not appropriate for core.jenglish2007-05-253-1110/+0
| | | FossilOrigin-Name: 292b947fac9a91ecc47e163e497a0f0151fa0a6c
* * unix/configure: autoconf-2.59 (FC6 fork)dgp2007-05-181-3/+3
| | | | | | | | | | | | | * win/configure: * README: Bump version number to 8.5a7 * generic/tk.h: * library/tk.tcl: * unix/configure.in: * unix/tk.spec: * win/configure.in: FossilOrigin-Name: 2d64ab8f608edca871bd7a450f6204854716a54a
* * library/choosedir.tcl: Removed uses of obsolete {expand}dgp2007-05-163-15/+15
| | | | | | | | | * library/comdlg.tcl: syntax; replaced with the now * library/tk.tcl: approved {*}. [Bug 1710633] * tests/canvImg.test: * tests/imgPhoto.test: FossilOrigin-Name: 7f0bc8cf92bada98b71069d0658b99b5256f0dde
* * library/palette.tcl (tk::RecolorTree): handle color options withdas2007-05-091-4/+8
| | | | | | | empty value, fixes error due to emtpy -selectforeground (reported on tcl-mac by Russel E. Owen). FossilOrigin-Name: 1719fc7c071d1e073af9ffdeaeefb1f5a1db1ce2
* TIP #145 implementationpatthoyts2007-05-042-15/+32
| | | FossilOrigin-Name: 5c1d2633c30b24b2068350342eb9d853e153dfa6
* * library/bgerror.tcl: on aqua, use moveable alert resp. modal dialogdas2007-04-234-9/+25
| | | | | | | | | | * library/dialog.tcl: window class and corresponding system background pattern; fix button padding. * library/tearoff.tcl: correct aqua menu bar height; vertically offset * library/tk.tcl: aqua tearoff floating window to match menu. FossilOrigin-Name: a1016683775c33fb1297d45cb72a7314533780d1
* * library/demos/goldberg.tcl: fix overwriting of widget demo global.das2007-04-235-22/+22
| | | | | | | | | | * library/demos/menu.tcl: on aqua, use custom MDEF and tearoffs; * library/demos/menubu.tcl: correct menubutton toplevel name. * library/demos/puzzle.tcl: fix button size & padding for aqua. * library/demos/radio.tcl: FossilOrigin-Name: 22ac054f865b462d05bd23f42c8b92b51a559be8
* * library/ttk/panedwindow.tcl (ttk::panedwindow::Press): handlehobbs2007-04-131-2/+2
| | | | | | Press triggering outside sash element boundaries. FossilOrigin-Name: 8dbdaf2bd306eec6ba51698128f5449b528b64c0
* inverted logic in previous commitdas2007-02-241-3/+3
| | | FossilOrigin-Name: 39d29d0370f176a820ee7f3bd946957fd16f6e54
* * library/ttk/notebook.tcl (ttk::notebook::enableTraversal): OS Xhobbs2007-02-241-3/+8
| | | | | | needs Option instead of Alt binding FossilOrigin-Name: e02327e3c9eb9a5be4250a2e0764989581972826
* * library/tkfbox.tcl (::tk::IconList_Goto): avoid goto issues inhobbs2007-02-191-2/+2
| | | | | | empty dirs. [Bug 1662959] FossilOrigin-Name: cf67aa1726d2cbf712dde7c14bdc9201ac2820d4
* Add no-op [package ifneeded] script for tile 0.8.0,jenglish2007-02-061-1/+4
| | | | | | | so that existing applications that use "package require tile" won't fail when run under Tk 8.5. FossilOrigin-Name: 058e15647f70ce9828755106f6f2bc6d9caa3edd
* s/CRLF/LF/ghobbs2007-01-111-74/+74
| | | FossilOrigin-Name: 07a3dc2babf1b38f41efeaef604a239794128d02
* Spanish always uses "Guardar" to mean "Save" in the computer sense. [Bug ↵dkf2006-12-222-79/+74
| | | | | 1111213] FossilOrigin-Name: 5ba54e7a20acac17623b5f8dfed4b428337a915a
* Big batch of ttk::treeview improvements:jenglish2006-12-188-52/+108
| | | | | | | | | | | | | | | | | Added column '-stretch' and '-minwidth' options. Improved column drag and resize behavior. Added horizontal scrolling [#1518650]. Row height and child indent specifiable on Treeview style. Decreased default row height, no default -padding. Use correct heading height [#1163349]. Apply tag settings to tree item as well as to data columns [NOTE: 'tag configure' still buggy]. Fix off-by-one condition when moving nodes forward [#1618142] Prevent overscroll ([#1173434]) Treeview style settings specified separately in each theme. Added disclosure triangle element in aqua theme. FossilOrigin-Name: 084a0a51310d2364f3f4c73a9304c3b432fc2956
* Add combobox -height option; only show scrollbar if the listboxjenglish2006-12-171-3/+6
| | | | | | needs to scroll [#1032869]. FossilOrigin-Name: 34d9182a3e61891b26f58fbd4b7254fba1c24a6f
* Try to straighten out theme loading and selection logic.jenglish2006-12-133-94/+116
| | | FossilOrigin-Name: c778f0048be933a8fd5e2b20ec38f310875579dd
* Remove nonfunctional code and incorrect comments.jenglish2006-12-131-39/+1
| | | FossilOrigin-Name: 754bb0f389b3a50bc1a7e7687b39ec0c4e5d1399
* * library/ttk/fonts.tcl: Clean up temporary variables.jenglish2006-11-281-45/+51
| | | FossilOrigin-Name: 3f3258080caf47385ceeac3e5955d7c357ebaa9d
* * generic/ttk/ttkWidget.c, generic/ttk/ttkPaned.c Fix for #1603506jenglish2006-11-273-12/+37
| | | | | | | | | | * library/ttk/button.tcl, library/ttk/combobox.tcl, library/ttk/utils.tcl: Rename ttk::CopyBindings to ttk::copyBindings * generic/ttk/ttkTreeview.c, doc/ttk_treeview.n: -displaycolumns {} now means "no columns" instead of "all columns". Use -displaycolumns #all for "all columns" [Fixes #1547622]. FossilOrigin-Name: 55ed983446d1c1b57e001b62b41f44a52cdd4e83
* * library/ttk/altTheme.tcl, library/ttk/clamTheme.tcl,jenglish2006-11-247-27/+28
| | | | | | | | | | | | library/ttk/defaults.tcl, library/ttk/winTheme.tcl, library/ttk/xpTheme.tcl: explicitly specify -anchor w on TMenubutton * tests/ttk/entry.test: Fixed font dependency; test entry-3.2 should work on all platforms now. * library/classicTheme.tcl: Don't define or use TkClassicDefaultFont. * generic/ttk/ttkTreeview.c, generic/ttk/ttkPanedwindow.c: Handle missing layouts. FossilOrigin-Name: bcec0a6d03c28d1231062507218dbf8cf5d15de1
* Miscellaneous minor changes to re-sync Ttk codebase with Tile CVS:jenglish2006-11-074-43/+25
| | | | | | | | fix comments damaged by overzealous search-and-destroy; removed obsolete [style default] synonym for [ttk::style configure]; removed other dead code. FossilOrigin-Name: b0e5e0ffb2a3a61a7533fa4477fa5751811babbe
* Theme itpatthoyts2006-11-031-9/+11
| | | FossilOrigin-Name: 382ed8d2d05640406587a9301ec376d5a03b838c
* In a safe interp there is no osVersion field in tcl_platform so work around it.patthoyts2006-11-031-6/+15
| | | FossilOrigin-Name: 26e06743597ae14867d52fe218276248ef0de31b
* * doc/ttk_Geometry.3, doc/ttk_Theme.3, doc/ttk_button.n:hobbs2006-10-3129-7/+5035
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * doc/ttk_checkbutton.n, doc/ttk_combobox.n, doc/ttk_dialog.n: * doc/ttk_entry.n, doc/ttk_frame.n, doc/ttk_image.n: * doc/ttk_intro.n, doc/ttk_label.n, doc/ttk_labelframe.n: * doc/ttk_menubutton.n, doc/ttk_notebook.n, doc/ttk_panedwindow.n: * doc/ttk_progressbar.n, doc/ttk_radiobutton.n, doc/ttk_scrollbar.n: * doc/ttk_separator.n, doc/ttk_sizegrip.n, doc/ttk_style.n: * doc/ttk_treeview.n, doc/ttk_widget.n,: * generic/ttk/ttk.decls, generic/ttk/ttkBlink.c: * generic/ttk/ttkButton.c, generic/ttk/ttkCache.c: * generic/ttk/ttkClamTheme.c, generic/ttk/ttkClassicTheme.c: * generic/ttk/ttkDecls.h, generic/ttk/ttkDefaultTheme.c: * generic/ttk/ttkElements.c, generic/ttk/ttkEntry.c: * generic/ttk/ttkFrame.c, generic/ttk/ttkImage.c: * generic/ttk/ttkInit.c, generic/ttk/ttkLabel.c: * generic/ttk/ttkLayout.c, generic/ttk/ttkManager.c: * generic/ttk/ttkManager.h, generic/ttk/ttkNotebook.c: * generic/ttk/ttkPanedwindow.c, generic/ttk/ttkProgress.c: * generic/ttk/ttkScale.c, generic/ttk/ttkScroll.c: * generic/ttk/ttkScrollbar.c, generic/ttk/ttkSeparator.c: * generic/ttk/ttkSquare.c, generic/ttk/ttkState.c: * generic/ttk/ttkStubInit.c, generic/ttk/ttkStubLib.c: * generic/ttk/ttkTagSet.c, generic/ttk/ttkTheme.c: * generic/ttk/ttkTheme.h, generic/ttk/ttkThemeInt.h: * generic/ttk/ttkTrace.c, generic/ttk/ttkTrack.c: * generic/ttk/ttkTreeview.c, generic/ttk/ttkWidget.c: * generic/ttk/ttkWidget.h: * library/demos/ttk_demo.tcl, library/demos/ttk_iconlib.tcl: * library/demos/ttk_repeater.tcl: * library/ttk/altTheme.tcl, library/ttk/aquaTheme.tcl: * library/ttk/button.tcl, library/ttk/clamTheme.tcl: * library/ttk/classicTheme.tcl, library/ttk/combobox.tcl: * library/ttk/cursors.tcl, library/ttk/defaults.tcl: * library/ttk/dialog.tcl, library/ttk/entry.tcl: * library/ttk/fonts.tcl, library/ttk/icons.tcl: * library/ttk/keynav.tcl, library/ttk/menubutton.tcl: * library/ttk/notebook.tcl, library/ttk/panedwindow.tcl: * library/ttk/progress.tcl, library/ttk/scale.tcl: * library/ttk/scrollbar.tcl, library/ttk/sizegrip.tcl: * library/ttk/treeview.tcl, library/ttk/ttk.tcl: * library/ttk/utils.tcl, library/ttk/winTheme.tcl: * library/ttk/xpTheme.tcl: * macosx/ttkMacOSXTheme.c: * tests/ttk/all.tcl, tests/ttk/bwidget.test, tests/ttk/combobox.test: * tests/ttk/entry.test, tests/ttk/image.test: * tests/ttk/labelframe.test, tests/ttk/layout.test: * tests/ttk/misc.test, tests/ttk/notebook.test: * tests/ttk/panedwindow.test, tests/ttk/progressbar.test: * tests/ttk/scrollbar.test, tests/ttk/treetags.test: * tests/ttk/treeview.test, tests/ttk/ttk.test, tests/ttk/validate.test: * win/ttkWinMonitor.c, win/ttkWinTheme.c, win/ttkWinXPTheme.c: First import of Ttk themed Tk widgets as branched from tile 0.7.8 * generic/tkInt.h, generic/tkWindow.c: add Ttk_Init call, copy tk classic widgets to ::tk namespace. * library/tk.tcl: add source of ttk/ttk.tcl, define $::ttk::library. * unix/Makefile.in, win/Makefile.in: add Ttk build bits * win/configure, win/configure.in: check for uxtheme.h (XP theme). FossilOrigin-Name: 7c7e532bde391eb8b36b9e412978dd5ab8facee2
* * README: Bump version number to 8.5a6dgp2006-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: c965223f5f0ac3375ef863bd02fc3c41673d50b0
* * library/demos/pendulum.tcl: fix incorrect setting of toplevel title.das2006-10-171-2/+2
| | | FossilOrigin-Name: 754a3f6bf503fc68480cec3c80f35e743a686e28
* * generic/tkConsole.c: TIP #268 update regarding registered packageandreas_kupries2006-09-221-3/+3
| | | | | | | | | | | | | | | | * generic/tkMain.c: version, now using full patchlevel instead of * generic/tkWindow.c: major.minor * library/tk.tcl: * unix/configure: * unix/Makefile.in: * unix/tcl.m4: * win/configure: * win/Makefile.in: * win/makefile.vc: * win/rules.vc: * win/tcl.m4: FossilOrigin-Name: 9d41acf54154dda8103f6b94602caaa91d6b572c
* * macosx/tkMacOSXWm.c (TkMacOSXMakeRealWindowExist): revert part ofdas2006-09-111-9/+10
| | | | | | | | | | | | | | | | | | 2006-05-16 change that had set overrideredirect windows to not become activated by the window manager, as this prevented interaction with native widgets in such windows [Bug 1472624]; apply changes to carbon window attributes even if native window has already been created. * macosx/tkMacOSXKeyEvent.c (TkMacOSXProcessKeyboardEvent): fix app * macosx/tkMacOSXMenu.c (DrawMenuBarWhenIdle): menu item key shortcuts * macosx/tkMacOSXInt.h: when custom ".apple" menu is installed. * library/demos/widget: on TkAqua, don't install file menu with single quit menu item, as the application menu already has a quit item. * macosx/tkMacOSXColor.c: fix building on Mac OS X 10.2. FossilOrigin-Name: 1980544470785fb409c8b65fd725c0d45f41f09d
* * macosx/tkMacOSXColor.c (TkSetMacColor, TkpGetColor): use AppearanceMgrdas2006-09-101-10/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * macosx/tkMacOSXDefault.h: to retrieve platform std colors for text * macosx/tkMacOSXPort.h: selections, add "systemHighlightSecondary" color name for standard color of inactive selections, use this color as default for text widget -inactiveselectbackground to implement platform standard look for inactive text selections. * library/text.tcl (aqua): remove focus bindings to set selection color. * generic/tkTextBTree.c (TkTextIsElided): on TkAqua, don't show inactive * generic/tkTextDisp.c (GetStyle): text selection when text widget is in disabled state. * generic/tkEntry.c (DisplayEntry): change default TkAqua selection * macosx/tkMacOSXDefault.h: relief to "flat" (platform std). * generic/tkText.c (CreateWidget): fix bug leading to default text selection relief string DEF_TEXT_SELECT_RELIEF being ignored. * macosx/tkMacOSXMouseEvent.c (TkMacOSXProcessMouseEvent): allow mouse event delivery to background windows with kWindowNoActivatesAttribute (e.g. overrideredirect windows), as these never come to the foreground they would not receive any mouse events otherwise. [Bug 1472624] * macosx/tkMacOSXWindowEvent.c (TkMacOSXGenerateFocusEvent): do not send focus events to any windows with kWindowNoActivatesAttribute. * macosx/tkMacOSXXStubs.c (XQueryColor, XQueryColors): implement basic XColor computation from pixel values, enough to make tkImg's window.c happy, fixes img::window failures reported on tcl-mac. * macosx/tkMacOSXMenu.c (DrawMenuEntryLabel): fix leak. [Bug 1554672] * macosx/GNUmakefile: workaround bug in 'cp -pRH' on Darwin 6 and earlier, fixes 'make embedded' failure reported on tcl-mac; fix error from 'make deploy' with same build tree as previous 'make embedded'. * macosx/Wish.xcodeproj/project.pbxproj: add new tclUnixCompat.c file. * macosx/tkMacOSXEntry.c (TkpDrawEntryBorderAndFocus): fix typo. * unix/tcl.m4: sync with tcl/unix/tcl.m4. * unix/configure: autoconf-2.59 FossilOrigin-Name: 12b024293d2d8e2cb8422838d1dce5d3241a7c65
* * generic/tkEntry.c: move hard-coded ALWAYS_SHOW_SELECTIONhobbs2006-09-061-3/+6
| | | | | | | | | | | | | * generic/tkInt.h: control of entry/text selection display * generic/tkText.c: based on focus to the Tcl level, * generic/tkWindow.c: controlled by ::tk::AlwaysShowSelection * library/tk.tcl: (boolean, private). [Bug 1553691] * macosx/tkMacOSXDefault.h: * unix/tkUnixDefault.h: * unix/tkUnixPort.h: * win/tkWinDefault.h: FossilOrigin-Name: 25cf9158b784bb5826fdd96a2adf07ad623480a2
* catch scrollbar use of highlightthicknesshobbs2006-07-071-3/+3
| | | FossilOrigin-Name: d0d6116454a9ba01482b72f286107aaf00e9b3cd
* * library/bgerror.tcl (::tk::dialog::error::bgerror): remove ahobbs2006-06-221-4/+3
| | | | | | couple of unnecessary hardcoded options FossilOrigin-Name: f2fd7fea986b9b9c1a8253ad1c0cf46d6e67c9e0
* Fix [1467938]dkf2006-04-101-6/+10
| | | FossilOrigin-Name: 08ad74e398f5354e59dee3a6d45dc5ea3b79ce73
* * generic/tkFont.c: implementation of ATSUI text renderingdas2006-03-221-7/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * generic/tkInt.h: in TkAqua provided by Benjamin * generic/tkTextDisp.c: Riefenstahl. [Patch 638966] * library/demos/unicodeout.tcl: * macosx/tkMacOSXFont.h (new file): * macosx/tkMacOSXFont.c: * tests/font.test: * unix/tkUnixFont.c: * win/tkWinFont.c: * generic/tkFont.c: moved MODULE_SCOPE declarations of * generic/tkFont.h: font helper procs into header files. * macosx/tkMacOSXButton.c: * macosx/tkMacOSXFont.h: * macosx/tkMacOSXMenubutton.c: * macosx/Wish.xcode/project.pbxproj: add new tkMacOSXFont.h file, * macosx/Wish.xcodeproj/project.pbxproj: turn off dead code stripping as it interferes with -sectcreate (rdar://4486223). * macosx/Wish.xcode/default.pbxuser: add TCLLIBPATH=/Library/Tcl * macosx/Wish.xcodeproj/default.pbxuser: env var setting to tktest. * unix/configure.in: fix detection of symbols build when enabling TkAqua debug code; filter nm output of libtclstub better to avoid error on intel macs [Bug 1415789]. * unix/configure: autoconf-2.59 FossilOrigin-Name: 69379436a2a1cee0a35fbf45186cdb6a053ca4fa
* bug #1451587: avoid using abbreviated sub-commands inpatthoyts2006-03-176-42/+42
| | | | | | | core scripts as this can cause problems with mega-widget libraries like snit. FossilOrigin-Name: 0cec5e194320fce0311c9d3ea25c90534b2a2b80