summaryrefslogtreecommitdiffstats
path: root/win
Commit message (Collapse)AuthorAgeFilesLines
* various "const" additions, in line with TIP #27nijtmans2007-01-182-4/+4
|
* More warning squelching (mostly uninit variable warnings)dkf2007-01-125-33/+41
|
* Added more build output that everyone should ignoredkf2007-01-121-1/+3
|
* Revert previous change to keep in sync with Tile codebase.jenglish2007-01-113-20/+18
| | | | | | | The minor warnings from GCC fixed in the previous revision were false positives due to improper use of "-Wconversion". Still compiles cleanly with "gcc -Wall -Werror" (gcc 3.3.5).
* * win/tcl.m4(CFLAGS_WARNING): Remove "-Wconversion".jenglish2007-01-112-30/+20
| | | | | This was removed from unix/tcl.m4 2004-07-16 but not from here. * win/configure: Regenerated.
* Many minute fixes to reduce number of minor warnings from GCC.dkf2007-01-1117-179/+203
|
* various "const" additions, in line with TIP #27nijtmans2007-01-052-4/+4
| | | | fix bug #1627732
* (TkpDisplayButton): lint init. [Bug 1618604]hobbs2006-12-191-2/+2
|
* * doc/cursors.n: Mention "none" in supportedmdejong2006-12-172-1/+3
| | | | | | | | | | | | | | | | | | 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]
* * win/Makefile.in, unix/Makefile.in (demo): add 'demo' targethobbs2006-12-131-1/+4
|
* * win/tkWinButton.c (InitBoxes): Call Tcl_Panic()mdejong2006-12-122-3/+13
| | | | | | | | | | | | 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]
* TIP 300 IMPLEMENTATIONKevin B Kenny2006-12-011-1/+57
|
* * doc/wm.n, tests/winWm.test:hobbs2006-12-011-27/+80
| | | | * win/tkWinWm.c: add -transparentcolor attribute for Windows.
* * unix/tkUnixMenu.c (DrawMenuUnderline): bound Tcl_UtfAtIndex usagehobbs2006-11-241-3/+3
| | | | * tests/menu.test (menu-36.1): [Bug 1599877]
* * win/tkWinMenu.c (TkWinHandleMenuEvent, DrawMenuUnderline):hobbs2006-11-241-24/+34
| | | | handle unichar underlining correctly and safely. [Bug 1599877]
* Add support for alternate/indeterminate checkbutton state.jenglish2006-11-211-40/+41
| | | | | Fix various spacing parameters [#1596020, patch from Tim Baker]. Remove unused uxtheme hooks.
* Miscellaneous minor changes to re-sync Ttk codebase with Tile CVS:jenglish2006-11-071-2/+2
| | | | | | fix comments damaged by overzealous search-and-destroy; removed obsolete [style default] synonym for [ttk::style configure]; removed other dead code.
* We do not want to require tkInt in all the ttk files so added thepatthoyts2006-11-031-5/+5
| | | | | definition of MODULE_SCOPE to ttkTheme.h Ensure everyone gets to see the definition from someplace.
* #include tkInt.h to ensure MODULE_SCOPE is defineddas2006-11-031-2/+2
|
* Oops. Removing rogue flagpatthoyts2006-11-031-3/+2
|
* * generic/ttk/ttkBlink.c, generic/ttk/ttkButton.c:das2006-11-033-19/+19
| | | | | | | | | | | | | | | | | | | | | | | * 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.
* Add manifest merging for MSVC8.patthoyts2006-10-311-15/+35
|
* Update to support ttk merge.patthoyts2006-10-312-13/+116
|
* * doc/ttk_Geometry.3, doc/ttk_Theme.3, doc/ttk_button.n:hobbs2006-10-316-20/+2031
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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).
* * README: Bump version number to 8.5a6dgp2006-10-232-3/+3
| | | | | | | | | | * generic/tk.h: * unix/configure.in: * unix/tk.spec: * win/configure.in: * unix/configure: autoconf-2.59 * win/configure:
* generic/tkImgBmap.c: Fixed line endings.patthoyts2006-10-193-145/+366
| | | | | | win/makefile.vc: Patched up build system to manage win/rules.vc: AMD64 with MSVC8 win/nmakehlp.c: Ensure operation without Platform SDK.
* * unix/Makefile.in (install-binaries): Added a second guard to theandreas_kupries2006-09-272-3/+5
| | | | | | | | * 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].
* * generic/tkConsole.c: TIP #268 update regarding registered packageandreas_kupries2006-09-225-9/+13
| | | | | | | | | | | | | | * 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:
* * win/tkWinMenu.c (TkpPostMenu): disable menu animation in menushobbs2006-09-211-2/+19
| | | | with images to avoid clipping bug. [Bug 1329198]
* * generic/tkEntry.c: move hard-coded ALWAYS_SHOW_SELECTIONhobbs2006-09-061-1/+2
| | | | | | | | | | | * 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:
* * win/tkWinKey.c: Add WM_UNICHAR window message support (used byhobbs2006-08-302-2/+51
| | | | * win/tkWinX.c: virtual keyboard apps). [Bug 1518677] (petasis)
* * win/tkWinEmbed.c (TkpGetOtherWindow): [Bug 1212056] do not panichobbs2006-05-291-2/+1
| | | | | | * unix/tkUnixEmbed.c (TkpGetOtherWindow): if no window is found - * unix/tkUnixWm.c (Tk_CoordsToWindow, UpdateGeometryInfo): handle it in the caller
* * win/tkWinMenu.c (TkWinMenuKeyObjCmd): get eventPtr after we knowhobbs2006-05-251-3/+3
| | | | the window is still alive. [AS bug 45987] [Bug 1236306]
* * README: Bump version number to 8.5a4dgp2006-05-042-3/+3
| | | | | | | | | | * generic/tk.h: * unix/configure.in: * unix/tk.spec: * win/configure.in: * unix/configure: autoconf-2.59 * win/configure:
* * generic/tkMenu.c (TkSetWindowMenuBar): remove extra TkMenuInithobbs2006-04-051-70/+104
| | | | | | | | | | 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]
* * win/tkWinX.c (TkWinXInit): init default keyboard charsethobbs2006-04-051-2/+15
| | | | correctly. [Bug 1374119] (pajas)
* * win/tkWinWm.c (WmProc): pass WM_QUERYENDSESSION message to Tk ashobbs2006-04-051-1/+17
| | | | WM_SAVE_YOURSELF wm protocol callback.
* * win/Makefile.in: convert _NATIVE paths to use / to avoid ".\"hobbs2006-03-291-10/+10
| | | | path-as-escape issue.
* * unix/tcl.m4, win/tcl.m4: []-quote AC_DEFUN functions.hobbs2006-03-281-12/+12
|
* * generic/tkFont.c: implementation of ATSUI text renderingdas2006-03-221-1/+103
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* remove unused variable to allow compilation with VC++ in debug modevincentdarley2005-12-291-2/+2
|
* * win/tkWinWm.c (WinSetIcon): Don't check resultmdejong2005-12-101-33/+16
| | | | | | | of SetClassLong() or SetClassLongPtr() since it was generating an incorrect error and the MSDN docs indicate that the result need not be checked.
* * win/configure: Regen.mdejong2005-12-102-0/+6
| | | | | | | * 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.
* * generic/tkInt.decls: move all platform test sources from tk lib intodas2005-12-093-7/+15
| | | | | | | | | | | | * 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.
* add tkWinTest.obj to regular Tk obj for TkplatformtestInithobbs2005-12-081-6/+3
|
* * win/tcl.m4: Add build support for Windows-x64 builds.hobbs2005-12-086-61/+393
| | | | | | | | | * win/configure: --enable-64bit now accepts =amd64|ia64 for * win/Makefile.in: Windows 64-bit build variants (default: amd64) * win/makefile.vc: [Bug 1369597] * win/configure.in: Add CE build support (some C code fixes needed) * win/wish.exe.manifest.in (new): manifest must map in MACHINE * win/rc/wish.exe.manifest (removed): and VERSION to be correct.
* More fixes (mostly getting rid of excess spaces)dkf2005-12-0215-949/+1009
|
* Fix problems in last commitdkf2005-12-023-186/+188
|
* ANSIficationdkf2005-12-0225-5659/+6165
|
* * win/tkWinWm.c (WmAttributesCmd): set (no)topmost window aspecthobbs2005-12-011-2/+14
| | | | before rewrapping. [Bug 1086049]