Tk Source Code

Timeline
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

264 check-ins using file generic/tkIntPlatDecls.h version 0a170524

2006-12-18
14:30
Whitespace cleanup check-in: 63294869 user: dkf tags: trunk
2006-12-17
21:09
Add combobox -height option; only show scrollbar if the listbox needs to scroll #1032869. check-in: 34d9182a user: jenglish tags: trunk
00:43
* doc/cursors.n: Mention "none" in supported cursor list. Fix comment that incorrectly claims that the Win32 "no" cursor hides the cursor. * tests/cursor.test: Test "none" cursor. * unix/tkUnixCursor.c (CreateCursorFromTableOrFile, TkGetCursorByName): Define a table of Tk cursors that is searched in addition to the X cursor table. A Tk cursor is loaded from a data string and works with the same options as the built in X cursors. This code makes it possible to use "none" as a cursor name under Unix. * win/rc/cursor9a.cur: Added none Win32 cursor. * win/rc/tk_base.rc: Define a built-in Win32 cursor named "none". [Patch 1615427]
check-in: 3d756d41 user: mdejong tags: trunk
2006-12-14
19:51
Global reduction: use per-file *_Init() routines to reduce the number of globally-visible initialization records. check-in: 873888aa user: jenglish tags: trunk
2006-12-13
23:04
* unix/Makefile.in (install-doc): intentionally skip ttk_dialog.n installation (not for public consumption)
* doc/scrollbar.n, doc/button.n, doc/checkbutton.n: * doc/entry.n, doc/frame.n, doc/label.n, doc/labelframe.n: * doc/menu.n, doc/menubutton.n, doc/panedwindow.n: * doc/radiobutton.n, doc/scrollbar.n, doc/ttk_*: revamp ttk docs to use consist nroff format (not 100% consistent with classic widget docs). Add more man page cross-linking "SEE ALSO".
check-in: ced3eab2 user: hobbs tags: trunk
20:40
* generic/ttk/ttkInit.c: * generic/ttk/ttkTreeview.c: make treeview exist by default * generic/ttk/ttkPanedwindow.c: s/TtkPaned_Init/TtkPanedwindow_Init/
check-in: 4adcf8ae user: hobbs tags: trunk
20:38
* win/Makefile.in, unix/Makefile.in (demo): add 'demo' target
check-in: 547cea4e user: hobbs tags: trunk
17:06
Try to straighten out theme loading and selection logic. check-in: c778f004 user: jenglish tags: trunk
05:36
Remove nonfunctional code and incorrect comments. check-in: 754bb0f3 user: jenglish tags: trunk
2006-12-12
23:38
* win/tkWinButton.c (InitBoxes): Call Tcl_Panic() if loading of bitmap resources fails. This change generates an error if Tk is unable to find button widget resources instead of silently failing and then drawing widgets incorrectly. win/rc/tk_base.rc: If the user defines BASE_NO_TK_ICON then compile the base resources file without a "tk" icon. This change makes it easier to replace the default tk icon with a custom icon. [Patch 1614362]
check-in: b5a2c05f user: mdejong tags: trunk
2006-12-11
13:33
Fix warnings and (unfortunately introduced with last commit) errors check-in: aeb69887 user: dkf tags: trunk
13:08
Support the _NET_WM_PING protocol from EWMH. There's no reason to do anything other than what is implemented, so no need for additional script control over it. check-in: f2a49327 user: dkf tags: trunk
2006-12-10
19:19
Rename typedef Ttk_Element => Ttk_ElementImpl. check-in: 1959c00b user: jenglish tags: trunk
05:26
fix warning check-in: 5b1efc62 user: das tags: trunk
2006-12-09
20:53
Merged duplicate functionality between image element factory, image element, and -image option processing. Image element factory now takes an imageSpec argument instead of a separate image name and -map option. check-in: e3da608e user: jenglish tags: trunk
2006-12-08
03:38
typo check-in: bec73499 user: das tags: trunk
2006-12-06
16:22
Bug 1609616 check-in: 8caaae22 user: kennykb tags: trunk
01:44
add new platform package files and earlier new test files check-in: 430d3ddd user: das tags: trunk
2006-12-04
23:33
Whitespace cop check-in: 262d2eef user: dkf tags: trunk
20:13
* generic/tkListbox.c (ConfigureListboxItem): ListboxWorldChanged not needed - just call EventuallyRedrawRange. [Bug 1608046] (rezic)
check-in: d2469801 user: hobbs tags: trunk
15:16
TIP#286 implementation. [Patch 1152376] check-in: d24b2dd4 user: dkf tags: trunk
2006-12-01
20:14
TIP 300 IMPLEMENTATION check-in: c2f09fce user: kennykb tags: trunk
19:48
* doc/wm.n, tests/winWm.test: * win/tkWinWm.c: add -transparentcolor attribute for Windows.
check-in: 2e3c6dc1 user: hobbs tags: trunk
15:05
Dead code removal. check-in: fb532f2f user: jenglish tags: trunk
07:13
* macosx/tkMacOSXDialog.c (Tk_MessageBoxObjCmd): fix inability to use buttons with standard Escape key binding as -default button (reported on tcl-mac by Hans-Christoph Steiner).
check-in: cd53cd85 user: das tags: trunk
06:19
* macosx/tkMacOSXWm.c (WmAttributesCmd): fix getting [wm attr -alpha]. [Bug 1581932]
check-in: 9534309d user: das tags: trunk
2006-11-28
21:25
* library/ttk/fonts.tcl: Clean up temporary variables. check-in: 3f325808 user: jenglish tags: trunk
2006-11-27
19:08
Corrected Xft configuration so that Xft actually does get turned on if available check-in: 527e5ae3 user: kennykb tags: trunk
06:53
* generic/ttk/ttkWidget.c, generic/ttk/ttkPaned.c Fix for #1603506 * 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]. check-in: 55ed9834 user: jenglish tags: trunk
2006-11-26
06:05
* tcl.m4 (Linux): --enable-64bit support. [Patch 1597389], [Bug 1230558] * configure: autoconf-2.59
check-in: c74a1d6f user: das tags: trunk
06:02
whitespace check-in: cf39b120 user: das tags: trunk
05:32
add tclMathOp.c check-in: 03bc9748 user: das tags: trunk
2006-11-24
19:03
* macosx/tkMacOSXInit.c (TkpInit): only set tcl_interactive 1 if it isn't already defined. Allows embedders to set it to 0 to prevent the console appearing on OS X. [Bug 1487701]
check-in: 9901d3ea user: hobbs tags: trunk
18:11
* unix/tkUnixMenu.c (DrawMenuUnderline): bound Tcl_UtfAtIndex usage * tests/menu.test (menu-36.1): [Bug 1599877]
check-in: a2dae84f user: hobbs tags: trunk
18:04
* library/ttk/altTheme.tcl, library/ttk/clamTheme.tcl, 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. check-in: bcec0a6d user: jenglish tags: trunk
01:51
* win/tkWinMenu.c (TkWinHandleMenuEvent, DrawMenuUnderline): handle unichar underlining correctly and safely. [Bug 1599877]
check-in: 2081c3f8 user: hobbs tags: trunk
2006-11-23
03:22
removed tcl/tools/genWinImage.tcl tcl/win/README.binary and tk/win/rc/wish.exe.manifest corrected link order of ttk files check-in: 83262de3 user: das tags: trunk
2006-11-21
02:21
Add support for alternate/indeterminate checkbutton state. Fix various spacing parameters #1596020, patch from Tim Baker. Remove unused uxtheme hooks. check-in: 717b2844 user: jenglish tags: trunk
2006-11-16
13:50
Minor fixes/improvements check-in: 00d3d666 user: dkf tags: trunk
13:44
Minor correction of abbreviation check-in: 6bda98d4 user: dkf tags: trunk
13:25
Highlighted keyword in example check-in: 53cfe163 user: dkf tags: trunk
11:22
Added example check-in: 1296fe99 user: dkf tags: trunk
2006-11-15
16:31
Added example for labels check-in: 1c2ab7f7 user: dkf tags: trunk
13:29
Convert \fP to \fR so that man-page scrapers have an easier time. check-in: 5bcb6a84 user: dkf tags: trunk
2006-11-14
22:44
Fix off-by-one bug in tree indicator size computation #1596021, patch from Tim Baker. Increased default size from 7 to 9 pixels. check-in: 3dd84a3d user: jenglish tags: trunk
2006-11-13
00:22
*correct* fix for #1588251. check-in: 01e8b6ff user: jenglish tags: trunk
2006-11-12
21:32
Workaround for #1583038 check-in: e4e59adc user: jenglish tags: trunk
20:35
Reworked cleanup procedure -- "self-cancelling" idle call is not robust, call Tcl_CancelIdleCall() in TtkFreeScrollHandle instead. [fixes #1588251] check-in: 39eefd1b user: jenglish tags: trunk
2006-11-10
01:57
* macosx/Wish.xcodeproj/project.pbxproj: remove tclParseExpr.c and bwidget.test.
* unix/tcl.m4 (Darwin): suppress linker arch warnings when building universal for both 32 & 64 bit and no 64bit CoreFoundation is available; sync with tcl tcl.m4 change. * unix/configure: autoconf-2.59 * unix/tkConfig.h.in: autoheader-2.59
check-in: b93c50e7 user: das tags: trunk
2006-11-08
18:40
Bug 1592667 check-in: aa33d6e2 user: kennykb tags: trunk
15:50
fixed typo in last commit check-in: 749f411c user: kennykb tags: trunk
15:39
Silence warnings about Xft unless Xft is requested explicitly. check-in: 18b0f63f user: kennykb tags: trunk
15:19
correct typo check-in: 416e2fe6 user: dgp tags: trunk
2006-11-07
21:56
make --enable-xft the default check-in: 247ff34e user: kennykb tags: trunk
03:45
Miscellaneous minor changes to re-sync Ttk codebase with Tile CVS: fix comments damaged by overzealous search-and-destroy; removed obsolete [style default] synonym for [ttk::style configure]; removed other dead code. check-in: b0e5e0ff user: jenglish tags: trunk
2006-11-03
15:58
Theme it check-in: 382ed8d2 user: patthoyts tags: trunk
15:42
We do not want to require tkInt in all the ttk files so added the definition of MODULE_SCOPE to ttkTheme.h Ensure everyone gets to see the definition from someplace. check-in: 45dafadb user: patthoyts tags: trunk
15:35
In a safe interp there is no osVersion field in tcl_platform so work around it. check-in: 26e06743 user: patthoyts tags: trunk
14:42
#include tkInt.h to ensure MODULE_SCOPE is defined check-in: 8b3c5ec7 user: das tags: trunk
11:22
Oops. Removing rogue flag check-in: a7e9998c user: patthoyts tags: trunk
03:06
* generic/ttk/ttkBlink.c, generic/ttk/ttkButton.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.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/ttkStubInit.c, generic/ttk/ttkStubLib.c: * generic/ttk/ttkTheme.c, generic/ttk/ttkTheme.h: * generic/ttk/ttkThemeInt.h, generic/ttk/ttkTrack.c: * generic/ttk/ttkTreeview.c, generic/ttk/ttkWidget.c: * generic/ttk/ttkWidget.h, macosx/ttkMacOSXTheme.c: * win/ttkWinMonitor.c, win/ttkWinTheme.c, win/ttkWinXPTheme.c: ensure all global Ttk symbols have Ttk or ttk prefix; declare all externally visible Ttk symbols not contained in stubs table as MODULE_SCOPE (or as static when possible); so that 'make check{exports,stubs}' once again complete without errors.
check-in: 194ccbce user: das tags: trunk
03:05
* macosx/tkMacOSXColor.c (TkMacOSXCompareColors): ifdef out when unused.
check-in: e632ac88 user: das tags: trunk
03:04
* macosx/Wish.xcodeproj/project.pbxproj: check autoconf/autoheader exit status and stop build if they fail.
check-in: 0d2ed393 user: das tags: trunk
2006-11-02
15:18
comment typo check-in: 00072a7e user: das tags: trunk
12:24
* macosx/tkMacOSXWindowEvent.c (GenerateUpdateEvent): fix handling of Carbon Update events: the QuickDraw window update region was being ignored and all child TkWindows were sent an Expose XEvent even when they did not need to be redrawn. [Patch 1589226]
check-in: aa4e45d3 user: das tags: trunk
2006-10-31
22:33
* macosx/tkMacOSXDebug.c: add TkMacOSX prefix to leftover macosx-private * macosx/tkMacOSXDebug.h: global symbols without Tk prefix; ifdef out * macosx/tkMacOSXEmbed.c: currently unused debug procs. * macosx/tkMacOSXEvent.c: * macosx/tkMacOSXInt.h: * macosx/tkMacOSXCarbonEvents.c: * macosx/tkMacOSXSubwindows.c: * macosx/tkMacOSXWm.c:
check-in: a7a4a499 user: das tags: trunk
22:26
Add manifest merging for MSVC8. check-in: ffc0679c user: patthoyts tags: trunk
22:26
whitespace check-in: 54e892e3 user: das tags: trunk
14:45
Update to support ttk merge. check-in: f5ba36e6 user: patthoyts tags: trunk
13:56
* macosx/Wish.xcodeproj/project.pbxproj: add new Ttk files.
* macosx/ttkMacOSXTheme.c: standardize header #includes.
* unix/Makefile (checkstubs, checkexports): check ttk.decls, allow export of Ttk prefixed symbols.
* generic/ttk/tkDefaultTheme.c: fix warnings.
check-in: 0c8d1e77 user: das tags: trunk
01:42
* doc/ttk_Geometry.3, doc/ttk_Theme.3, doc/ttk_button.n: * 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).
check-in: 7c7e532b user: hobbs tags: trunk
2006-10-23
20:31
* README: Bump version number to 8.5a6 * generic/tk.h: * library/tk.tcl: * unix/configure.in: * unix/tk.spec: * win/configure.in:
* unix/configure: autoconf-2.59 * win/configure:
check-in: c965223f user: dgp tags: trunk
19:46
* README: Bump version number to 8.5a6 * generic/tk.h: * unix/configure.in: * unix/tk.spec: * win/configure.in:
* unix/configure: autoconf-2.59 * win/configure:
check-in: bd7a87c3 user: dgp tags: trunk
13:19
Created branch core-8-5-a5-synthetic Closed-Leaf check-in: 4127831d user: cvs2fossil tags: core-8-5-a5-synthetic, core-8-5-a5
13:19
Move tag for 8.5a5 release check-in: d4471926 user: dgp tags: trunk
2006-10-20
22:39
fix signature of TkInitStubs (missing CONST for version parameter) check-in: 94b1afc1 user: nijtmans tags: trunk
2006-10-19
00:48
generic/tkImgBmap.c: Fixed line endings. win/makefile.vc: Patched up build system to manage win/rules.vc: AMD64 with MSVC8 win/nmakehlp.c: Ensure operation without Platform SDK. check-in: baa01e99 user: patthoyts tags: trunk
2006-10-18
19:04
* changes: 8.5a5 release date set.
check-in: cf76a376 user: dgp tags: trunk
17:43
advance tag for 8.5a5 check-in: f41d3971 user: dgp tags: trunk
00:01
* doc/text.n: fix docs to not correct -tabs usage case.
check-in: 9a4c1234 user: hobbs tags: trunk
2006-10-17
23:44
* generic/tkTextDisp.c (SizeOfTab): fix -tabstyle wordprocessor tab alignment to correct tab edge case. [Bug 1578858]
check-in: 3dde0674 user: hobbs tags: trunk
10:21
generic/tkText.c: Applied suggested patch from #1536735 tests/text.test: Update test for above patch. tests/textWind.test: Corrected test to catch all messages tests/safe.test: Silence spurious win32 failure awaiting TIP150 tests/winDialog.test: Updated test for file name length check. test/winWm.test: Corrected test expectation for menu wrapping. check-in: e3897e46 user: patthoyts tags: trunk
05:52
* library/demos/pendulum.tcl: fix incorrect setting of toplevel title.
check-in: 754a3f6b user: das tags: trunk
2006-10-16
17:36
* macosx/GNUmakefile: don't redo prebinding of non-prebound binaires.
check-in: 8c3fc8e2 user: das tags: trunk
16:28
* doc/WindowId.3: Pat's commit on 2006-10-08 broke the .SH NAME information across several lines, breaking the cross-linking of manpages during installation for this one. Put everything back on a single line, unbreaking it. check-in: 77b0e78b user: andreas_kupries tags: trunk
16:25
whitespace check-in: 7740ce13 user: das tags: trunk
15:56
* macosx/README: document CG antialiasing limit changes.
check-in: c0c37a39 user: das tags: trunk
15:35
* changes: updates for 8.5a5 release.
* macosx/tkMacOSXDraw.c: fix numerous issues in CG and QD drawing procs so that they now match X11 drawing much more closely [Bug 1558051]; use Tiger ellipse drawing API when available; fix comments & whitespace.
* macosx/tkMacOSXInit.c: set default linewidth limit for CG antialiasing to 0 as thin horizontal/vertical lines look good now.
* generic/tkCanvLine.c (ConfigureLine): on TkAqua, pass outline * generic/tkCanvPoly.c (ConfigurePolygon): linewidth in gc even for * generic/tkRectOval.c (ConfigureRectOval): fills (as it controls AA).
check-in: 7b1e5388 user: das tags: trunk
2006-10-11
03:56
* changes: Updates for 8.5a5 release
check-in: acdf50b5 user: dgp tags: trunk
2006-10-08
21:47
Implemented TIP #264 - Tk_Interp check-in: 1940a357 user: patthoyts tags: trunk
2006-10-05
21:27
* unix/tkUnixFont.c (Ucs2beToUtfProc, UtfToUcs2beProc): (TkpFontPkgInit, encodingAliases): Correct alignment issues in encoding conversion. Call ucs-2be "unicode" on big-endian systems. [Bug 1122671]
check-in: eef92b10 user: hobbs tags: trunk
2006-09-27
18:43
* unix/Makefile.in (install-binaries): Added a second guard to the * win/Makefile.in: package index file to prevent older versions of * win/makefile.vc: Tcl from seeing version numbers which may contain a/b information, and then balking on them. This could otherwise happen when Tcl/Tk 8.4 and 8.5 are installed in the same directory, seeing each other. [SF Tk Bug 1566418]. check-in: 2c942d25 user: andreas_kupries tags: trunk
2006-09-22
19:02
* generic/tkConsole.c: TIP #268 update regarding registered package * 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: check-in: 9d41acf5 user: andreas_kupries tags: trunk
2006-09-21
00:13
* win/tkWinMenu.c (TkpPostMenu): disable menu animation in menus with images to avoid clipping bug. [Bug 1329198]
check-in: 2324d457 user: hobbs tags: trunk
00:01
Fix 1562528 in Tk check-in: 39beb33e user: dkf tags: trunk
2006-09-11
16:12
fix logic bug in previous commit check-in: 82c1d433 user: das tags: trunk
14:41
* macosx/tkMacOSXWm.c (TkMacOSXMakeRealWindowExist): revert part of 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.
check-in: 19805444 user: das tags: trunk
2006-09-10
17:06
* macosx/tkMacOSXColor.c (TkSetMacColor, TkpGetColor): use AppearanceMgr * 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
check-in: 12b02429 user: das tags: trunk
17:02
whitespace check-in: 587bfc09 user: das tags: trunk
2006-09-06
22:39
* generic/tkEntry.c: move hard-coded ALWAYS_SHOW_SELECTION * 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:
check-in: 25cf9158 user: hobbs tags: trunk
2006-08-30
21:55
* win/tkWinKey.c: Add WM_UNICHAR window message support (used by * win/tkWinX.c: virtual keyboard apps). [Bug 1518677] (petasis)
check-in: 40f945bb user: hobbs tags: trunk
2006-08-24
05:22
* macosx/tkMacOSXScrlbr.c (UpdateControlValues): set native scrollbar control bounds only once all size adjustments have been computed. Fixes issue with grow icon obscuring scrollbar reported on tcl-mac.
check-in: 951050c7 user: das tags: trunk
2006-08-21
06:12
typo: s/Xcode 2.3/Xcode 2.4/ check-in: f17866c0 user: das tags: trunk
02:39
sync with relevant core-8-4-branch additions check-in: 9e50803d user: das tags: trunk
01:09
* macosx/tkMacOSXCarbonEvents.c (CarbonTimerProc): avoid starving main event loop: limit the number of tcl events processed per invocation. Fixes bug reported on tcl-mac by Kevan Hashemi.
check-in: 744a40c1 user: das tags: trunk
2006-08-18
10:49
Added test suggested by Sam <[email protected]> on c.l.t check-in: 862d2265 user: dkf tags: trunk
10:24
Style cleanup Split older changelog entries into separate file check-in: a9bb9207 user: dkf tags: trunk
07:47
* unix/tcl.m4 (Darwin): add support for --enable-64bit on x86_64, for universal builds including x86_64, for 64-bit CoreFoundation on Leopard and for use of -mmacosx-version-min instead of MACOSX_DEPLOYMENT_TARGET. * unix/configure.in (Darwin): remove 64-bit arch flags from CFLAGS for combined 32-bit and 64-bit universal builds, as neither TkAqua nor TkX11 can be built for 64-bit at present. * unix/configure: autoconf-2.59 * unix/tkConfig.h.in: autoheader-2.59
* macosx/Wish.xcodeproj/project.pbxproj: switch native release targets to use DWARF with dSYM, Xcode 3.0 changes. * macosx/README: updates for x86_64 and Xcode 2.3.
* macosx/tkMacOSXInit.c (TkpInit): when available, use public TransformProcessType() API instead of CPSEnableForegroundOperation() SPI to notify the window server that we are a GUI application.
* macosx/tkMacOSXWm.c (WmAttrGetTitlePath): use HIWindow API on >=Tiger.
* macosx/tkMacOSXMouseEvent.c (GenerateToolbarButtonEvent): * macosx/tkMacOSXMenus.c (GenerateEditEvent): * macosx/tkMacOSXMenu.c (MenuSelectEvent): bzero XVirtualEvent structure before use to ensure all fields are initialized. [Bug 1542205]
check-in: 947c1df3 user: das tags: trunk
07:30
sync whitespace with core-8-4-branch check-in: eb19f259 user: das tags: trunk
2006-08-17
01:10
fix typo in WmAttrGetNotifyStatus check-in: f0599818 user: hobbs tags: trunk
01:07
* macosx/tkMacOSXWm.c (WmAttributesCmd): correct OS X result for [wm attributes $top].
check-in: f65da2fb user: hobbs tags: trunk
2006-07-25
12:08
* macosx/tkMacOSXKeyEvent.c (TkMacOSXProcessKeyboardEvent): handle key shortcut for kHICommandQuit in the same way as other application menu item key shortcuts. [Bug 1516950]
check-in: eacc8bce user: das tags: trunk
2006-07-24
04:45
* macosx/tkMacOSXWm.c (TkWmMapWindow): fix incorrect values of wmInfo parentWidth/Height for toplevels by recalculating them once the window is mapped (i.e. once the window&structure sizes are known). [Bug 1358663] (ParseGeometry): sync with ParseGeometry in tkUnixWm.c/tkWinWm.c.
check-in: 35fbd4e1 user: das tags: trunk
04:45
fix typo: visable -> visible check-in: 81255706 user: das tags: trunk
2006-07-21
07:07
swap out of order "F34" and "R14" check-in: 348287b5 user: das tags: trunk
06:28
typo check-in: 25464151 user: das tags: trunk
06:26
* generic/tkBind.c (TkBindInit): for REDO_KEYSYM_LOOKUP, change keysym-to-string mapping hash to use first name in ks_names.h instead of last (if there are multiple possibilities), e.g. "F11" instead of "L1".
* macosx/tkMacOSXKeyboard.c (TkpGetKeySym): correct keysyms for pure modifier key presses [Bugs 700311, 1525905]; correct keysym for Enter key; add keysyms for new NumLock and Fn modifiers (added 2005-08-09).
check-in: 3ac34041 user: das tags: trunk
06:03
typos check-in: 3a1da580 user: das tags: trunk
2006-07-20
07:40
cleanup quoting and whitespace check-in: b0c81702 user: das tags: trunk
06:25
* macosx/tkMacOSXWm.c (WmAttributesCmd, WmIconbitmapCmd): add support * unix/tkUnixSend.c (Tk_GetUserInactiveTime): for weakly importing symbols not available on OSX 10.2 or 10.3, enables binaires built on later OSX versions to run on earlier ones. * macosx/Wish.xcodeproj/project.pbxproj: enable weak-linking; turn on extra warnings. * macosx/README: document how to enable weak-linking; cleanup. * unix/configure.in: add check on Darwin-X11 for ld support of -weak-l * unix/tcl.m4: flag and weak-link libXss if possible as it is not available before OSX 10.4; enforce requirement of OSX 10.2 for TkAqua; move Darwin specific checks & defines that are only relevant to the tcl build out of tcl.m4; restrict framework option to Darwin; cleanup quoting and help messages. * unix/configure: autoconf-2.59 * unix/tkConfig.h.in: autoheader-2.59
* macosx/GNUmakefile: enable xft for TkX11 build. * macosx/tkMacOSXFont.c (TkMacOSXQuarzStartDraw, TkMacOSXQuarzEndDraw): verify validity of context returned from QDBeginCGContext() before use. * macosx/tkMacOSXKeyEvent.c: ifdef out diagnostic messages to stderr.
* macosx/tkMacOSXEvent.h: standardize MAC_OS_X_VERSION_MAX_ALLOWED * macosx/tkMacOSXMenu.c: checks per QA1316, ensure define can be * macosx/tkMacOSXMenubutton.c: overriden on command line (from default * macosx/tkMacOSXMenus.c: of current OS version). * macosx/tkMacOSXMouseEvent.c: * macosx/tkMacOSXWm.c:
* macosx/tkMacOSXFont.c (TkpMeasureCharsInContext): fix signed-with-unsigned comparison and other warnings from gcc4 -Wextra.
check-in: 361478a0 user: das tags: trunk
06:24
* generic/tkImgGIF.c (ReadImage): * macosx/tkMacOSXCursor.c (TkMacOSXCursor): * macosx/tkMacOSXDebug.c (TkMacOSXGetNamedDebugSymbol): * macosx/tkMacOSXInit.c (Map): * xlib/xgc.c (XCreateGC): fix signed-with-unsigned comparison and other warnings from gcc4 -Wextra.
check-in: 694dad4d user: das tags: trunk
2006-07-14
18:25
* generic/tkWindow.c (Initialize): Modify change of 2006-05-25 (jeffh). Release mutex a bit earlier, to prevent lock when OS X creates its console windows (recursively enters Tk_Init). Patch by JeffH. check-in: 0c9282a5 user: andreas_kupries tags: trunk
2006-07-07
00:39
catch scrollbar use of highlightthickness check-in: d0d61164 user: hobbs tags: trunk
2006-06-22
00:38
* library/bgerror.tcl (::tk::dialog::error::bgerror): remove a couple of unnecessary hardcoded options
check-in: f2fd7fea user: hobbs tags: trunk
2006-06-14
22:17
* generic/tkScale.c: Revised variable writing logic to account for [scale]'s design that it deals with its value as a formatted string, and not as a double. [Bug 891141].
check-in: 2df13bc7 user: dgp tags: trunk
21:18
* macosx/tkMacOSXSubwindows.c (TkMacOSXInvalidateWindow): ensure invalid clip regions are recreated via TkMacOSXUpdateClipRgn() before they are used; correct call order of TkMacOSXInvalidateWindow() and TkMacOSXInvalClipRgns() throughout. [Bug 1501922]
* macosx/tkMacOSXDraw.c (TkPutImage): implement drawing of very wide images in slices of less than 4096 pixels to workaround CopyBits limitation. [Bug 950121]
check-in: b09412a6 user: das tags: trunk
2006-06-09
15:40
* generic/tkMain.c: Added Tcl_Preserve() call on the master interp as crash protection against any Tcl_DeleteInterp() call that might happen.
check-in: 5469a021 user: dgp tags: trunk
2006-06-01
17:19
* generic/tkConsole.c: Added Tcl_RegisterChannel() calls to bump the refcount of channels passed to Tcl_SetStdChannel(). This prevents early free-ing of the channels that leads to crashes. [Bug 912571].
check-in: 4a77baf8 user: dgp tags: trunk
2006-05-29
22:21
* win/tkWinEmbed.c (TkpGetOtherWindow): [Bug 1212056] do not panic * unix/tkUnixEmbed.c (TkpGetOtherWindow): if no window is found - * unix/tkUnixWm.c (Tk_CoordsToWindow, UpdateGeometryInfo): handle it in the caller
check-in: 57cc8021 user: hobbs tags: trunk
21:53
* tests/entry.test (entry-22.1): * tests/listbox.test (listbox-6.15): * generic/tkListbox.c (ListboxInsertSubCmd, ListboxDeleteSubCmd): Ignore Tcl_SetVar2Ex failure of listVarName, similar to entry widget handling. [Bug 1424513]
check-in: a0656b40 user: hobbs tags: trunk
2006-05-27
05:23
sync with tcl check-in: 75563643 user: das tags: trunk
2006-05-26
21:42
* macosx/tkMacOSXButton.c (TkMacOSXDrawControl): correct redraw for direct transition from disabled to active state. [Bug 706446]
check-in: 902feccd user: hobbs tags: trunk
19:15
autoconf-2.59 check-in: 66effddc user: das tags: trunk
19:14
sync with tcl HEAD check-in: 089668d8 user: das tags: trunk
19:13
updates for Xcode 2.3 check-in: 7074fedd user: das tags: trunk
2006-05-25
23:50
see changes check-in: 79b5f517 user: hobbs tags: trunk
23:50
* win/tkWinMenu.c (TkWinMenuKeyObjCmd): get eventPtr after we know the window is still alive. [AS bug 45987] [Bug 1236306]
check-in: d179ef57 user: hobbs tags: trunk
23:50
* generic/tkMenu.c (DeleteMenuCloneEntries): Modify entry index changes to work around VC6 optimization bug. [Bug 1224330]
check-in: 05511bc9 user: hobbs tags: trunk
23:50
* generic/tkMessage.c (MessageWidgetObjCmd): Correct msgPtr preserve/release pairing. [Bug 1485750] (afredd)
check-in: b5e60af4 user: hobbs tags: trunk
23:49
* generic/tkWindow.c (Initialize): Correct mutex (un)lock pairing. [Bug 1479587] (loewis)
check-in: fa945f54 user: hobbs tags: trunk
23:49
* generic/tkBind.c (Tk_BindEvent, TkCopyAndGlobalEval): use Tcl_EvalEx instead of Tcl_GlobalEval.
check-in: 340d20bf user: hobbs tags: trunk
2006-05-16
07:58
fix building on Jaguar check-in: 009ad670 user: das tags: trunk
07:37
fix building on Jaguar: move defines of newer OS constants to top, fix warnings check-in: 1b264b99 user: das tags: trunk
06:55
* macosx/tkMacOSXWindowEvent.c (TkMacOSXGenerateFocusEvent): don't send focus events to windows of class help or to overrideredirect windows. [Bug 1472624]
* macosx/tkMacOSXWm.c: set overrideredirect windows to not become activated by the window manager and to not receive OS activate events (should make them behave more like on other platforms); use modern window class API for overrideredirect and transient windows; set the default class of overrideredirect windows to 'simple' rather than 'plain' (i.e. no window frame); add missing Panther and Tiger window attributes to [::tk::unsupported::MacWindowStyle].
check-in: c5a0f8fa user: das tags: trunk
06:53
comment typo check-in: 3486bfa9 user: das tags: trunk
2006-05-13
00:47
* generic/tkImgPhoto.c (Tk_PhotoPutBlock, Tk_PhotoPutZoomedBlock): Fix opt added 2006-03 that caused slowdown for some common cases. [Bug 1409140]
check-in: 5b3d1d3a user: hobbs tags: trunk
2006-05-12
18:18
fix whitespace, copyright check-in: 7c8e7f40 user: das tags: trunk
18:17
* generic/tkCanvWind.c (DisplayWinItem, WinItemRequestProc): ensure canvas window items are unmapped when canvas is unmapped. [Bug 940117]
* macosx/tkMacOSXSubwindows.c (TkMacOSXUpdateClipRgn): empty clip region of unmapped windows to prevent any drawing into them or into their children from becoming visible. [Bug 940117]
* macosx/tkMacOSXInt.h: revert Jim's attempt of 2005-03-14 to * macosx/tkMacOSXSubwindows.c: fix Bug 940117 as it disables Map/Unmap event propagation to children. [Bug 1480105]
* macosx/tkMacOSXDraw.c (TkPutImage): handle tkPictureIsOpen flag, fixes incorrect positioning of images with complex alpha on native buttons; actual alpha blending is still broken in this situation. [Bug 1155596]
* macosx/tkMacOSXEvent.c (TkMacOSXProcessCommandEvent): * macosx/tkMacOSXMenus.c (TkMacOSXInitMenus): workaround carbon bug with key shortcut for 'Preferences' app menu item. [Bug 1481503]
* macosx/tkMacOSXKeyEvent.c (TkMacOSXProcessKeyboardEvent): only check for HICommand menu item shortcuts in the application menu.
* macosx/tkMacOSXInt.h: initialize keyboard layout setup in * macosx/tkMacOSXInit.c: TkpInit() rather than during handling of * macosx/tkMacOSXKeyEvent.c: first key down event.
* macosx/tkMacOSXDraw.c: add optional debug code to flash clip * macosx/tkMacOSXSubwindows.c: regions during update or draw.
check-in: bb9d0b13 user: das tags: trunk
2006-05-04
14:11
* README: Bump version number to 8.5a4 * generic/tk.h: * unix/configure.in: * unix/tk.spec: * win/configure.in:
* unix/configure: autoconf-2.59 * win/configure:
check-in: 0b0a579d user: dgp tags: trunk
2006-04-28
06:02
* macosx/tkMacOSXWm.c (TkWmMapWindow, InitialWindowBounds): fix use of potentially stale window position in initial configure event on first map of a window. [Bug 1476443] (TkMacOSXWindowOffset): use modern GetWindowStructureWidths API.
* macosx/tkMacOSXInt.h: * macosx/tkMacOSXMouseEvent.c (TkGenerateButtonEventForXPointer): new internal function to generate button events for current pointer directly, without requiring prior call to XQueryPointer().
* macosx/tkMacOSXMouseEvent.c (XQueryPointer): implement return of window-local pointer position.
* macosx/tkMacOSXInt.h: use improvements above to avoid calls to * macosx/tkMacOSXKeyEvent.c: GlobalToLocal() when the current port might * macosx/tkMacOSXMenu.c: not be set correctly. May fix [Bug 1243318] * macosx/tkMacOSXMenus.c: * macosx/tkMacOSXScale.c: * macosx/tkMacOSXScrlbr.c:
* tkAboutDlg.r: update copyright.
* macosx/tkMacOSXDebug.h: sync #includes with core-8-4-branch. * macosx/tkMacOSXEvent.h: * macosx/tkMacOSXFont.h:
check-in: 1350d6f8 user: das tags: trunk
2006-04-26
13:58
* changes: Updates for next RC
check-in: 1ba6dd9a user: dgp tags: trunk, core-8-5-a4
2006-04-25
08:18
Stop crashes when bad font names received from XServer. [Bug 1475865] check-in: 78290572 user: dkf tags: trunk
2006-04-23
21:51
scrollbar.test fixes for TkAqua check-in: 330751e8 user: vincentdarley tags: trunk
2006-04-22
04:12
fix warnings check-in: 437a541a user: das tags: trunk
2006-04-18
22:57
fix tests for TkAqua check-in: 3c64651f user: vincentdarley tags: trunk
22:33
fix tests for TkAqua check-in: b8ddb299 user: vincentdarley tags: trunk
22:32
fix to get correct error message check-in: 96c02ac0 user: vincentdarley tags: trunk
22:16
fix to embed.test failures check-in: 7e97297e user: vincentdarley tags: trunk
2006-04-17
18:06
typo check-in: 3f361a5b user: dgp tags: trunk
2006-04-12
02:35
fix make html error check-in: ce4911b4 user: das tags: trunk
00:58
fix to 'embedded' targets & cosmetic fix to 'install' targets check-in: 9e9eeecf user: das tags: trunk
2006-04-11
21:52
* generic/tkWindow.c (Tk_NameToWindow): Allow NULL interp to Tk_NameToWindow. This fixes TkGetWindowFromObj which promises to handle NULL but didn't.
* generic/tkGrid.c: Fixed handling of out of bounds row or column. * tests/grid.test: [Bug 1432666]
check-in: c8de6c34 user: pspjuth tags: trunk
18:09
* unix/Makefile.in: Updated `make dist` target to be sure the message catalogs for the widget demo get packaged into the source code distribution. [Bug 1466509]
check-in: 9c923f3e user: dgp tags: trunk
12:05
* macosx/tkMacOSXDialog.c (Tk_MessageBoxObjCmd): added standard Escape key binding for msgbox cancel buttons [Patch 1193614], whitespace.
check-in: 8d79cf26 user: das tags: trunk
10:23
* changes: added latest aqua bug fixes.
* macosx/tkMacOSXCarbonEvents.c: handle kEventCommandUpdateStatus * macosx/tkMacOSXEvent.c: carbon event to dynamically enable the 'Preferences' app menu item when proc [::tk::mac::ShowPreferences] is defined. [Bug 700316]
* macosx/tkMacOSXHLEvents.c: call ::tk::mac::* procs for all * macosx/tkMacOSXWindowEvent.c: registered appleevents [FR 1105284], implement print applevent handling, style/whitespace cleanup.
* macosx/tkMacOSXDraw.c (TkMacOSXInitCGDrawing): prevent multiple init.
* macosx/tkMacOSXFont.c: remove #ifdef'd text measuring codepaths now * macosx/tkMacOSXInit.c: known to be incorrect, cleanup obsolete text * macosx/README: antialiasing control code, document ATSUI text antialiasing changes.
check-in: da5a3c4f user: das tags: trunk
10:22
* macosx/tkMacOSXCarbonEvents.c: handle kEventCommandUpdateStatus * macosx/tkMacOSXEvent.c: carbon event to dynamically enable the 'Preferences' app menu item when proc [::tk::mac::ShowPreferences] is defined. [Bug 700316]
check-in: a2ab34ad user: das tags: trunk
10:21
* macosx/tkMacOSXHLEvents.c: call ::tk::mac::* procs for all * macosx/tkMacOSXWindowEvent.c: registered appleevents [FR 1105284], implement print applevent handling, style/whitespace cleanup.
check-in: 3db67cd7 user: das tags: trunk
10:20
* macosx/tkMacOSXDraw.c (TkMacOSXInitCGDrawing): prevent multiple init.
check-in: fc52afea user: das tags: trunk
10:19
* macosx/tkMacOSXFont.c: remove #ifdef'd text measuring codepaths now * macosx/tkMacOSXInit.c: known to be incorrect, cleanup obsolete text * macosx/README: antialiasing control code, document ATSUI text antialiasing changes.
check-in: 9736cfe7 user: das tags: trunk
07:36
* macosx/tkMacOSXInt.h: Implemented 'zoomed' window state * macosx/tkMacOSXWindowEvent.c: handling for TkAqua, via titlebar * macosx/tkMacOSXWm.c: widget clicks as well as [wm state]. * doc/wm.n: [Bug 1073456]
check-in: eb5f0d24 user: das tags: trunk
05:42
typos, whitespace check-in: 38d23107 user: das tags: trunk
2006-04-10
21:33
Fix [1467938] check-in: 08ad74e3 user: dkf tags: trunk
20:54
2006-04-10 Benjamin Riefenstahl <[email protected]>
* macosx/tkMacOSXFont.c (MeasureStringWidth): Use implementation based on ATSUGetGlyphBounds (TK_MAC_USE_GETGLYPHBOUNDS), so we can use kATSUseFractionalOrigins. This in turn corrects bug #1461650. * (InitFont): Use "." and "W" instead of "i" and "w" to determine the "-fixed" attribute. This prevents "Apple Chancery" from being classified as fixed. * (InitFontFamilies): Only get the font families once.
check-in: 3e0cf3ee user: cc_benny tags: trunk
20:52
* (MeasureStringWidth): Use implementation based on ATSUGetGlyphBounds (TK_MAC_USE_GETGLYPHBOUNDS), so we can use kATSUseFractionalOrigins. This in turn corrects bug #1461650. * (TK_MAC_DEBUG_FONTS): Fix use this throughout: Don't use TK_MAC_DEBUG; avoid empty "if" blocks in non-debug mode. * (InitFont): Use "." and "W" instead of "i" and "w" to determine the "-fixed" attribute. This prevents "Apple Chancery" from being classified as fixed. * (InitFontFamilies): Only get the font families once. check-in: 67ae9680 user: cc_benny tags: trunk
09:25
* macosx/tkMacOSXWm.c (TkSetWMName, TkMacOSXMakeRealWindowExist): allow empty name for toplevels, remove bogus initial window name. [Bug 1450800]
check-in: 873d914a user: das tags: trunk
02:11
added ref to bug 934524 check-in: b5f30f75 user: das tags: trunk
2006-04-09
22:07
* macosx/tkMacOSXWm.c (WmResizableCmd): propagate window attribute changes to Carbon window manager. [FR 1467004]
check-in: 73dd06aa user: das tags: trunk
2006-04-07
16:17
move tag check-in: 4e68fd2b user: dgp tags: trunk
06:15
* macosx/tkMacOSXMouseEvent.c (TkMacOSXProcessMouseEvent): fix return values, implement window dragging & growing in background (with Command key down) and by fronting clicks, use correct button & modifier state API when application is in background (also in TkMacOSXButtonKeyState).
* macosx/tkMacOSXWm.c (TkMacOSXGrowToplevel): ensure QD port is set correctly before using API relying on it.
check-in: dd40f5f3 user: das tags: trunk
2006-04-06
22:16
add support for proxy icon dragging and titlepath menu check-in: 7dd22e5c user: vincentdarley tags: trunk
22:15
add support for proxy icon dragging and titlepath menu check-in: 81c5218d user: vincentdarley tags: trunk
09:28
* macosx/tkMacOSXWm.c (WmAttributesCmd, WmIconbitmapCmd): fix errors in setting/removing window proxy icons via [wm attributes -titlepath] and [wm iconbitmap], use HIWindow API on Tiger or later. [Bug 1455241]
* unix/tcl.m4: remove TCL_IO_TRACK_OS_FOR_DRIVER_WITH_BAD_BLOCKING define on Darwin. [Tcl Bug 1457515] * unix/configure: autoconf-2.59 * unix/tkConfig.h.in: autoheader-2.59
check-in: 15e8a365 user: das tags: trunk
2006-04-05
21:00
see changes check-in: fe3e6512 user: hobbs tags: trunk
21:00
* generic/tkWindow.c (Initialize): remove impotent use of DeleteWindowsExitProc as a global exit handler.
check-in: 6c765555 user: hobbs tags: trunk
20:59
* generic/tkMenu.c (TkSetWindowMenuBar): remove extra TkMenuInit call that caused finalization panic. [Bug 1456851] * win/tkWinMenu.c (FreeID, TkpNewMenu, MenuExitHandler) (MenuThreadExitHandler, TkpMenuInit, TkpMenuThreadInit): rework Windows menu init/finalization to better respect per-process and per-thread boundaries. [Bug 1456851] (TkWinMenuKeyObjCmd): Do not error when unknown window is passed in. [Bug 1236306]
check-in: 180fe53d user: hobbs tags: trunk
20:58
* win/tkWinX.c (TkWinXInit): init default keyboard charset correctly. [Bug 1374119] (pajas)
check-in: b80a6e44 user: hobbs tags: trunk
20:57
* tests/textWind.test (textWind-10.6.1): prevent infinite update loop in case of test failure
check-in: 62290649 user: hobbs tags: trunk
20:56
* win/tkWinWm.c (WmProc): pass WM_QUERYENDSESSION message to Tk as WM_SAVE_YOURSELF wm protocol callback.
check-in: a29af090 user: hobbs tags: trunk
20:54
* tests/grid.test: fix segfault on empty or "all" index list * generic/tkGrid.c (GridRowColumnConfigureCommand): [Bug 1422430]
check-in: ced1f6ca user: hobbs tags: trunk
20:54
(wm-attributes-1.2.4): correct expected result check-in: c14beb21 user: hobbs tags: trunk
18:04
Revised test to account for changed error message check-in: 94205138 user: dgp tags: trunk
17:16
fix to crash in test suite, with dump -command check-in: 63eadbb9 user: vincentdarley tags: trunk
01:59
use standard Carbon Fixed <-> Int conversion macros instead of our own check-in: e3796daa user: das tags: trunk
2006-03-30
01:39
* generic/tkOption.c (TkOptionDeadWindow): handle OptionThreadExitProc being called before DeleteWindowsExitProc.
check-in: a98f7e01 user: hobbs tags: trunk
2006-03-29
23:05
* win/Makefile.in: convert _NATIVE paths to use / to avoid ".\" path-as-escape issue.
check-in: 545857fa user: hobbs tags: trunk
16:37
* changes: Updates for next RC
check-in: e7be3566 user: dgp tags: trunk
16:27
* unix/tkUnixDefault.h: Changed "Black" to "#000000" and "White" to "#ffffff" to work around the (broken?) X servers that do not accept those color names. [Bug 917433]
check-in: bb2a9fc1 user: dgp tags: trunk
2006-03-28
21:25
* unix/tcl.m4, win/tcl.m4: []-quote AC_DEFUN functions.
check-in: 38cd48e8 user: hobbs tags: trunk
19:26
further fixes to $text dump -command check-in: 19901322 user: vincentdarley tags: trunk
14:01
* macosx/Wish.xcode/default.pbxuser: add '-singleproc 1' cli arg to * macosx/Wish.xcodeproj/default.pbxuser: tcltest to ease test debugging.
* macosx/Wish.xcode/project.pbxproj: removed $prefix/share from * macosx/Wish.xcodeproj/project.pbxproj: TCL_PACKAGE_PATH as per change to tcl/unix/configure.in of 2006-03-13.
check-in: 67f61bbf user: das tags: trunk
02:43
* macosx/tkMacOSXDraw.c: sync whitespace & minor changes * macosx/tkMacOSXEvent.h: with core-8-4-branch. * macosx/tkMacOSXFont.h: * macosx/tkMacOSXMenu.c: * macosx/tkMacOSXNotify.c:
check-in: cf47afc2 user: das tags: trunk
2006-03-27
16:20
* changes: Updates for next RC
check-in: 702aa19a user: dgp tags: trunk
15:38
Oops, forgot that this test should return an error... check-in: 1179096d user: dkf tags: trunk
13:43
* generic/tkTextDisp.c (MeasureChars): Fix calculations of start and end of string. [Bugs 1325998, 1456157]
check-in: 956b9fb6 user: cc_benny tags: trunk
10:55
Fix (and add test for) [Bug 1458234] check-in: 057f364d user: dkf tags: trunk
2006-03-26
17:52
fix for text dump -command callbacks which modify the text widget check-in: 292a50c8 user: vincentdarley tags: trunk
2006-03-25
06:08
* macosx/tkMacOSXDraw.c (TkMacOSXSetUpCGContext): * macosx/tkMacOSXFont.c (TkMacOSXQuarzStartDraw, TkMacOSXQuarzEndDraw): performance improvements, sync similar code, formatting & whitespace.
check-in: 3f256e3e user: das tags: trunk
06:02
* macosx/tkMacOSXDraw.c (TkMacOSXSetUpCGContext): * macosx/tkMacOSXFont.c (TkMacOSXQuarzStartDraw, TkMacOSXQuarzEndDraw): performance improvements, sync similar code, formatting & whitespace.
check-in: df3c8bc5 user: das tags: trunk
2006-03-24
14:58
* generic/tkTextDisp.c: moved #ifdef MAC_OSX_TK code added by * macosx/tkMacOSXColor.c: Patch #638966 into platform specific * macosx/tkMacOSXInt.h: files.
* macosx/tkMacOSX.h: cleaned up & rationalized order of * macosx/tkMacOSXBitmap.c: #includes of tk and carbon headers. * macosx/tkMacOSXButton.c: * macosx/tkMacOSXCarbonEvents.c: * macosx/tkMacOSXClipboard.c: * macosx/tkMacOSXColor.c: * macosx/tkMacOSXConfig.c: * macosx/tkMacOSXCursor.c: * macosx/tkMacOSXDialog.c: * macosx/tkMacOSXDraw.c: * macosx/tkMacOSXEmbed.c: * macosx/tkMacOSXEntry.c: * macosx/tkMacOSXEvent.c: * macosx/tkMacOSXEvent.h: * macosx/tkMacOSXFont.h: * macosx/tkMacOSXHLEvents.c: * macosx/tkMacOSXInit.c: * macosx/tkMacOSXInt.h: * macosx/tkMacOSXKeyEvent.c: * macosx/tkMacOSXKeyboard.c: * macosx/tkMacOSXMenu.c: * macosx/tkMacOSXMenubutton.c: * macosx/tkMacOSXMenus.c: * macosx/tkMacOSXMouseEvent.c: * macosx/tkMacOSXRegion.c: * macosx/tkMacOSXScale.c: * macosx/tkMacOSXScrlbr.c: * macosx/tkMacOSXSend.c: * macosx/tkMacOSXSubwindows.c: * macosx/tkMacOSXWindowEvent.c: * macosx/tkMacOSXWm.c: * macosx/tkMacOSXWm.h: * macosx/tkMacOSXXStubs.c:
check-in: bd201bc0 user: das tags: trunk
2006-03-23
22:08
* unix/tkUnixRFont.c (TkpMeasureCharsInContext): Copied over from tkUnixFont.c to fix compiling with --enable-xft . check-in: c2f98ca4 user: rmax tags: trunk
16:48
* unix/tk.spec: Cleaned up and completed the spec file. An RPM can now be built from the tk source distribution with "rpmbuild -tb <tarball>". check-in: 69a1b24e user: rmax tags: trunk
16:26
* tests/textDisp.test: Updated expected error messages to match the standardized formats established on 2005-11-17. [Bug 1370296]
check-in: f0d7afc4 user: dgp tags: trunk
2006-03-22
15:15
* changes: Updates for next RC
check-in: 99e994e0 user: dgp tags: trunk
00:21
* generic/tkFont.c: implementation of ATSUI text rendering * 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
check-in: 69379436 user: das tags: trunk
2006-03-21
03:01
* generic/tkConsole.c: Added exit handler to clean up the interp where the console window lives. Also added code to handle multiple calls to Tk_CreateConsoleWindow so that the console channels connect to the last console window opened, in compatibility with the previous implementation.
check-in: 0f47d987 user: dgp tags: trunk
2006-03-20
22:58
* generic/tkConsole.c: Added exit handler to clean up the interp where the console window lives.
check-in: 46b926eb user: dgp tags: trunk
15:27
reduce unnecessary namespace use check-in: 80f2ec5c user: dkf tags: trunk
2006-03-18
15:52
undo/modified and empty string fix check-in: 0ffdbc09 user: vincentdarley tags: trunk
2006-03-17
11:13
bug #1451587: avoid using abbreviated sub-commands in core scripts as this can cause problems with mega-widget libraries like snit. check-in: 0cec5e19 user: patthoyts tags: trunk
2006-03-16
22:51
corrected silly cut/paste/forget to modify error in the name of the stderr console channel. check-in: a6c9ed2e user: dgp tags: trunk
22:47
Revisions to Tk_CreateConsoleWindow to tolerate case when no console channels have been created. check-in: 29cc1b67 user: dgp tags: trunk
17:32
* generic/tkConsole.c: Substantial rewrite of [console] support. * generic/tkInt.h: Included Obj-ification of the [console] and [consoleinterp] commands, and reworking of all the supporting data structures for cleaner sharing and lifetime management especially in multi-threaded configurations.
check-in: 3529fe2c user: dgp tags: trunk
13:59
Noticed that several other locales were missing too check-in: eba0680a user: dkf tags: trunk
13:56
Added 'changes' entries for my last two sets of changes check-in: 1bc5ab7a user: dkf tags: trunk
13:50
Added locale check-in: 832cd0ca user: dkf tags: trunk
13:40
Added a Portuguese message catalog. [Bug 1405069] check-in: 97359045 user: dkf tags: trunk
10:04
missing MODULE_SCOPE declarations and obsolete exports discovered by 'make checkstubs' check-in: 390d117c user: das tags: trunk
00:38
D'oh! check-in: 0152ff20 user: dkf tags: trunk
00:31
Hack to make photo-to-photo copies cheaper in the common case of no alpha check-in: a7bc92f1 user: dkf tags: trunk
2006-03-15
23:20
Squelch [Bug 1409140] by special-case-ing the single-pixel put case. Also take better advantage of C's casting rules w.r.t. void* and other pointers check-in: 360a23a6 user: dkf tags: trunk
13:25
typo in last commit re notAqua constraint check-in: 4a7c70c4 user: das tags: trunk
2006-03-14
06:04
* tests/scrollbar.test: Corrected several broken calls to [testmetrics] that were crashing the test suite.
check-in: fad9520a user: dgp tags: trunk
05:01
* tests/constraints.tcl: Added notAqua constraint to canvPs-3.1 * tests/canvPs.test: to stop test suite crash on Mac OSX. [Bug 1088807]
check-in: b53fbc0e user: dgp tags: trunk
2006-03-13
18:19
* generic/tkCmds.c: Purged remaining references to * macosx/tkMacOSXPort.h: errno, and errno.h. Standardized * macosx/tkMacOSXWm.c: the logic for using header files from * macosx/tkMacOSXWm.h: the compat directory. Thanks Joe * unix/tkUnixPort.h: English for the patch. [Patch 1445404]
check-in: 9ee09b00 user: dgp tags: trunk
2006-03-08
22:54
more images copied into dist check-in: f9cf4aeb user: dgp tags: trunk
22:17
* unix/Makefile.in: Update `make dist` to copy the image files needed by the test suite into the source distro. This was overlooked in the 2005-10-12 commit.
check-in: a42149ed user: dgp tags: trunk
20:14
* changes: Update in prep. for 8.5a4 release.
check-in: 5855e89e user: dgp tags: trunk
07:12
Set SHLIB_LD_FLAGS='${LIBS}' on NetBSD, as per the other *BSD variants [Bug 1334613]. Regenerated configure script. check-in: 6f9ac466 user: jenglish tags: trunk
2006-03-07
22:30
Band-aid doc update for [Bug 220787] check-in: 9066524c user: dkf tags: trunk
2006-03-02
20:45
* macosx/tkMacOSXDraw.c (TkPutImage): fix endian issue on OS X x86 displaying images. Bitmap images still have a black/white reversal issue, appears to be a general OS X issue (as seen in frogger demo).
check-in: ef50aa90 user: hobbs tags: trunk
2006-02-27
11:34
Fix old thread-safety issue. [Bug 470322] check-in: e83a7560 user: dkf tags: trunk
10:36
Fix pixmap creation ordering issue [Bug 480862] Stupid issue was fixed for the mask pixmap, but not the data pixmap! check-in: 291d4c3c user: dkf tags: trunk
2006-02-09
19:08
* generic/tk.decls: fix signature of TkMacOSXInvalClipRgns * generic/tkPlatDecls.h: to use Tk_Window instead of internal * macosx/tkMacOSXSubwindows.c: type TkWindow (which led to any include * macosx/tkMacOSXWindowEvent.c: of public header tkMacOSX.h requiring * macosx/tkMacOSXWm.c: prior include of tkInt.h).
* generic/tk.h: move TkAqua specific REDO_KEYSYM_LOOKUP define * macosx/tkMacOSXPort.h: out of tk.h into platform header.
check-in: 03071b66 user: das tags: trunk
2006-02-07
11:33
Scope the config a bit better; it only needs to be visible inside one function. check-in: c60c8562 user: dkf tags: trunk
11:25
Use the fact that ckalloc() *never* returns NULL to optimize the code check-in: 2e334022 user: dkf tags: trunk
11:20
space->tab check-in: 6cdc6cc6 user: dkf tags: trunk
2006-02-03
22:40
Comment formatting check-in: 7f87d183 user: dkf tags: trunk
2006-01-31
21:39
Finish i18n of bgerror [Bug 1409264]. No l10n of that specific message though; that can wait for someone who really wants to use non-English to submit patches. check-in: 25466c90 user: dkf tags: trunk
2006-01-25
18:22
* library/bgerror.tcl: Updates to use Tcl 8.4 features. [Patch 1237759] * library/choosedir.tcl: * library/comdlg.tcl: * library/console.tcl: * library/dialog.tcl: * library/focus.tcl: * library/msgbox.tcl: * library/palette.tcl: * library/tk.tcl: * library/tkfbox.tcl: * library/xmfbox.tcl:
check-in: 49fb7ce3 user: dgp tags: trunk
2006-01-23
00:53
* unix/configure: minor fix to Darwin specific code removing * unix/configure.in: 64bit flags from CFLAGS for Tk build.
check-in: 8e9101dc user: das tags: trunk
2006-01-20
18:58
XIM fixes [See #905830, patch tk84-xim-fixes.patch]. + Revert 2005-12-05 patch disabling XIM when SCIM in use; + Make sure all X events get passed to XFilterEvent, including those without a corresponding Tk window. check-in: 6e812d71 user: jenglish tags: trunk
2006-01-12
23:29
generic/tkUndo.c (TkUndoSetDepth): Don't free TkUndoSubAtoms for separator entries that are deleted: there is some unpredictable garbage instead of subatoms. Free both 'apply' and 'revert' action chains for non-separator entries. check-in: 1c6c7ed5 user: a_kovalenko tags: trunk
13:38
TIP#260 implementation check-in: 9af1f6dc user: dkf tags: trunk
2006-01-11
19:53
Removed a lingering error message from TIP#147 implementation. check-in: f9a57704 user: pspjuth tags: trunk
2006-01-10
05:37
* macosx/tkMacOSXDebug.c: add TkMacOSXGetNamedDebugSymbol() function * macosx/tkMacOSXDebug.h: that finds unexported symbols in loaded libraries by manually walking their symbol table; only to be used for debugging purposes, may break unexpectedly in the future. Needed to get access to private_extern internal debugging functions in HIToolbox.
* macosx/tkMacOSXCarbonEvents.c: fix debug event tracing on Tiger. * macosx/tkMacOSXMenu.c: add debug menu printing during reconfigure. * macosx/tkMacOSXInit.c: conditionalize 64bit-unsafe dyld code. * macosx/GNUmakefile: add 'wish8.x' symlink to SYMROOT.
* macosx/Wish.xcode/project.pbxproj: fix copy to tktest resource * macosx/Wish.xcodeproj/project.pbxproj: fork when zerolinked.
* macosx/Wish.xcode/default.pbxuser: add widget demo as argument to * macosx/Wish.xcodeproj/default.pbxuser: executables (on by default).
* unix/configure: add caching, use AC_CACHE_CHECK instead of * unix/configure.in: AC_CACHE_VAL where possible, consistent message * unix/tcl.m4: quoting, sync relevant tclconfig/tcl.m4 changes and gratuitous formatting differences, fix SC_CONFIG_MANPAGES with default argument, Darwin improvements to SC_LOAD_*CONFIG.
check-in: d23f30ce user: das tags: trunk
2005-12-29
10:46
remove unused variable to allow compilation with VC++ in debug mode check-in: 8a103cb6 user: vincentdarley tags: trunk
2005-12-28
17:26
Fix [Bug 1380427] using [Patch 1391939] from Ludwig Callewaert check-in: bea821e1 user: dkf tags: trunk
2005-12-14
02:09
* macosx/Wish.xcode/project.pbxproj: * macosx/Wish.xcodeproj/project.pbxproj: add new tclTomMath* files.
check-in: 93d04bc3 user: das tags: trunk
2005-12-13
03:44
* library/demos/cscroll.tcl: add MouseWheel bindings for aqua.
* macosx/tkMacOSXCarbonEvents.c (TkMacOSXInitCarbonEvents): * macosx/tkMacOSXMouseEvent.c (TkMacOSXProcessMouseEvent, GenerateMouseWheelEvent): add support for kEventMouseScroll events (smooth mouse wheel scrolling from mighty mouse or scrolling trackpad) by handling kEventMouseWheelMoved on application target as well as on dispatcher, in order to pick up synthesized MouseWheel events from HIObject handler (c.f. QA1453); add support for horizontal scrolling events by generating MouseWheel XEvent with Shift modifier.
check-in: e13a9e41 user: das tags: trunk
2005-12-12
22:33
ANSIfy check-in: e8665628 user: dkf tags: trunk
20:58
* unix/tcl.m4, unix/configure: Fix sh quoting error reported in bash-3.1+ [Bug 1377619] (schafer)
check-in: 2d92acd2 user: hobbs tags: trunk
2005-12-10
01:42
* win/tkWinWm.c (WinSetIcon): Don't check result of SetClassLong() or SetClassLongPtr() since it was generating an incorrect error and the MSDN docs indicate that the result need not be checked.
check-in: 0c5773d9 user: mdejong tags: trunk
01:38
* win/configure: Regen. * win/tcl.m4 (SC_CONFIG_CFLAGS): Define MACHINE for gcc builds. The lack of a definition of this variable in the manifest file was causing a runtime error in wish built with gcc.
check-in: 5b27d5f9 user: mdejong tags: trunk
2005-12-09
00:48
* generic/tkInt.decls: move all platform test sources from tk lib into * generic/tkTest.c: tktest directly, removes requirement to export * macosx/tkMacOSXTest.c: TkplatformtestInit from internal stubs table. * unix/Makefile.in: * win/Makefile.in: * win/makefile.vc: * win/tkWinTest.c:
* generic/tkIntPlatDecls.h: * generic/tkStubInit.c: regen.
check-in: 6ef50d0b user: das tags: trunk