summaryrefslogtreecommitdiffstats
path: root/win
Commit message (Collapse)AuthorAgeFilesLines
* * generic/tkWindow.c (Initialize): Moved common Tk initializationdgp2007-09-061-8/+2
| | | | | | | | | | | * generic/tkInitScript.h (removed): script out of tkInitScript.h * macosx/tkMacOSXInit.c: and multiple TkpInit() routines and * unix/Makefile.in: into the common Initialize() routine in * unix/tkUnixInit.c: generic code. Also removed constraint on * win/tkWinInit.c: ability to define a custom [tkInit] before calling Tk_Init(). Until now the custom [tkInit] had to be a proc. Now it can be any command. Removal of tkInitScript.h also fixes [Bug 1656283].
* Synchronize with tcl rules.vcpatthoyts2007-08-211-9/+14
|
* Fix bug #1692927 (buffer length problems). Added 'testfindwindow' and ↵patthoyts2007-08-012-34/+152
| | | | | | | 'testgetwindowinfo' and extended 'testwinevent' for WM_COMMAND support to enable testing native messagebox dialogs and added a new test file to use these functions.
* * win/tkWinWm.c (WmIconphotoCmd): fix wm iconphoto RGBA issues.hobbs2007-06-101-5/+15
| | | | [Bug 1467997] (janssen)
* * win/tkWinMenu.c (TkWinHandleMenuEvent): improve handling tohobbs2007-06-091-16/+15
| | | | | allow for unicode char menu indices and not use CharUpper on Tcl utf strings. [Bug #1734223]
* * unix/configure: autoconf-2.59 (FC6 fork)dgp2007-05-182-21/+31
| | | | | | | | | | | * win/configure: * README: Bump version number to 8.5a7 * generic/tk.h: * library/tk.tcl: * unix/configure.in: * unix/tk.spec: * win/configure.in:
* Test ttk widgetspatthoyts2007-05-151-2/+18
|
* [Tk Bug 1712081]dgp2007-05-143-11/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * unix/Makefile.in: Updates to account for new and deleted files * win/Makefile.in: tkStubImg.c and tkOldTest.c. * win/makefile.bc: * win/makefile.vc: * generic/tkOldTest.c (new): New file used to create testing * generic/tkTest.c: commands for testing various Tk * tests/constraints.tcl: legacy interfaces where a separate * tests/image.test: compilation unit is needed in order to #define suitable macros during compilation. Only the effect of USE_OLD_IMAGE on Tk_CreateImageType() is currently tested, but more similar testing commands can be added to this same file. New constraint defined to detect presence of the image type provided by the new testing code, and a few tests added to exercise it. Having USE_OLD_IMAGE support tested by the default test suite should reduce chance of a recurrence of this bug. * doc/CrtImgType.3: Revised docs to better indicate the legacy * doc/CrtPhImgFmt.3: nature of the interfaces supported by USE_OLD_IMAGE. * generic/tkDecls.h: make genstubs * generic/tkStubInit.c: * generic/tk.decls: Reworked USE_OLD_IMAGE support to use * generic/tk.h: the same support mechanisms both with * generic/tkStubImg.c (deleted):and without a stub-enabled build. In each case, route the legacy calls to Tk_CreateImageType and Tk_CreatePhotoImageFormat through the Tk_CreateOldImageType and Tk_CreateOldPhotoImageFormat routines. Add those routines to the public stub table so they're available to a stub-enabled extension. Remove the definition of Tk_InitImageArgs() and use a macro to convert any calls to it in source code into a comment. * generic/tkImage.c: Removed the MODULE_SCOPE declarations that * generic/tkImgPhoto.c: broke USE_OLD_IMAGE support.
* Make the tktest build work when Tcl is located in a path with a space indkf2007-05-051-2/+2
|
* Slight simplificationdkf2007-05-051-3/+4
|
* TIP #145 implementationpatthoyts2007-05-044-6/+157
|
* Sync with tcl versionpatthoyts2007-05-041-13/+93
|
* Standardize function definition format.dkf2007-04-173-337/+474
|
* Skip OS version test, should work on Vista/Aero now as well as XPjenglish2007-04-101-37/+24
| | | | [Fixes #1687299, thanks to George Petasis for tracking this down].
* Re-sync with Tile codebase so patches can flow back and forth.jenglish2007-04-102-110/+53
|
* Added compliler define SUPPORT_CONFIG_EMBEDDED to support config of -use ↵chengyemao2007-02-282-3/+4
| | | | option at Windows
* Reduce the number of warningsdkf2007-02-233-58/+51
|
* Less of that K&R or wrongly indented function header style!dkf2007-02-226-383/+433
|
* Windows build fixesJoe Mistachkin2007-02-092-4/+10
|
* see logJoe Mistachkin2007-02-043-7/+18
|
* Support IsAppThemed() call. This is what is used when theming ispatthoyts2007-02-021-3/+8
| | | | turned off just for an individual application.
* Build fix for man2tcl.c with MSVC8Joe Mistachkin2007-01-191-2/+4
|
* 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: