| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
problem with double clicks in file dialogs falling through to the
window underneath in win32.
|
|
|
|
|
| |
fleur (move) cursor under win.
* tests/cursor.test: Check that documented cursors are available.
|
|
|
|
| |
consistency between unix and windows -cursor option.
|
|
|
|
|
| |
This is a short-term solution until the -multiple option is
extended. [Bug 641261]
|
|
|
|
| |
bitmap header. [Bug 703697] (cap)
|
| |
|
|
|
|
|
|
|
|
|
|
| |
* generic/tkButton.c (TkButtonWorldChanged): of compound *buttons
* mac/tkMacButton.c (TkpDisplayButton): to correctly display
* macosx/tkMacOSXButton.c (TkpDisplayButton): mixture of disabledfg,
* unix/tkUnixButton.c (TkpDisplayButton): selectcolor, indicator,
* win/tkWinButton.c (TkpDisplayButton): etc. *buttons will
now only stipple the image, unless no disabledfg is given, in which
case it will stipple the whole button.
|
|
|
|
|
|
| |
* win/tkWinButton.c (TkpDisplayButton): displaying disabled text
that have images, as they get a gray50 stipple as well and the
disabledGc is not set up correctly for font drawing. [Bug #477740]
|
|
|
|
|
| |
* win/configure.in (SHELL): force it to /bin/sh as autoconf 2.5x
uses /bin/bash, which can fail to find exes in the path (ie: lib).
|
|
|
|
|
|
| |
Rename the private menu helper cmd from
tk::tkWinMenuKey to tk::WinMenuKey.
[Bug 721514]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
that can be used to query the XEvent* for the currently
executing binding.
* generic/tkInt.h: Declare TkpGetBindingXEvent.
* win/tkWinMenu.c (MenuKeyBindProc, TkWinMenuKeyObjCmd,
TkpInitializeMenuBindings): Rename MenuKeyBindProc to
TkWinMenuKeyObjCmd and convert it into a Tcl command
named tk::tkWinMenuKey. Bind keyboard accelerator
actions to this Tcl command instead of using a native
C binding. This makes it possible to extend the
existing binding with Tcl code and makes the Windows
version work just like the unix version.
|
|
|
|
|
|
|
| |
* win/configure.in: Set stub lib flag based
on new LIBFLAGSUFFIX variable.
* win/tcl.m4: Update from Tcl to get new
LIBFLAGSUFFIX variable.
|
|
|
|
|
|
|
|
|
|
| |
* win/configure.in: Don't set TCL_DLL_FILE,
TCL_LIB_FILE, TCL_STUB_LIB_FILE, TCL_STUB_LIB_FLAG,
and TCL_BUILD_STUB_LIB_SPEC. These variables are
already set in tclConfig.sh. Don't subst vars
that are either not used, or already covered by
a subst in SC_LOAD_TCLCONFIG.
[Bug 691908]
|
|
|
|
| |
properly. [Patch 707792] Thanks to Joe Mistachkin for the fixes.
|
|
|
|
|
| |
to mirror the TCL_DLL_FILE entry in tclConfig.sh.
[Patch 694271]
|
|
|
|
|
|
|
|
|
| |
* win/configure.in: Don't run the AC_CYGWIN
macro since it uses AC_CANONICAL_HOST under
autoconf 2.5X. Just check to see if __CYGWIN__
is defined by the compiler and set the
ac_cv_cygwin variable based on that.
[Tcl Bug 705912]
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
for a detailed explanation of why this is good.
This will no doubt break the build on some
platforms, let the flaming begin.
* unix/configure: Regen with autoconf 2.57.
* unix/configure.in: Require autoconf 2.57.
* unix/tcl.m4: Update from Tcl.
* win/configure: Regen with autoconf 2.57.
* win/configure.in: Require autoconf 2.57.
* win/tcl.m4: Update from Tcl.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
that the resizable command keeps scripts from
changing the size of windows since it is
not true. The resizable command only applies
to user sizing via user interaction.
* tests/unixWm.test: Replace broken tests with
the nonPortable constraint with new tests for
maxsize and minsize options. These tests
verify that setting the minsize and maxsize
will resize the window if needed, and that
the wm hints will be updated with the new sizes.
* tests/wm.test: Add an exhaustive set of tests
for the wm maxsize and wm minsize commands.
These tests verify that setting the minsize
and maxsize will resize the window if needed.
These tests have only been run under Win98
and Window Maker under Linux, so further tweaking
may be needed for other systems.
* unix/tkUnixWm.c (UpdateGeometryInfo, UpdateSizeHints):
Fixup comments and initialization for the minWidth,
minHeight, maxWidth, maxHeight, width, and height
members of the WmInfo struct. Check to ensure
that a new toplevel window size is not larger
than the maxsize or smaller than the minsize
when updating the geometry at idle time.
Pass new width and height values to the
UpdateSizeHints method so that it can properly
set the window min and max sizes for a window
that cannot be resized by the user. This fixes
a bug where the window resizes back to the original
size when the user clicks on the window border.
* win/tkWinWm.c (UpdateGeometryInfo):
Fixup comments and initialization for the minWidth,
minHeight, maxWidth, maxHeight, width, and height
members of the WmInfo struct. Check to ensure
that a new toplevel window size is not larger
than the maxsize or smaller than the minsize
when updating the geometry at idle time.
[Patch 568861]
|
|
|
|
| |
of the install step.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* generic/tk.h: Tk to 8.5a0.
* library/tk.tcl:
* mac/README:
* macosx/Wish.pbproj/project.pbxproj:
* unix/README:
* unix/configure.in:
* unix/tk.spec:
* win/README:
* win/configure.in:
* win/makefile.vc:
* win/tcl.m4:
* unix/configure: autoconf
* win/configure:
|
|
|
|
|
|
| |
* win/tkWinDraw.c:
* win/tkWinFont.c (Tk_DrawChars): add support for simple XOR text
drawing on Windows. [Patch #685388] (martin)
|
|
|
|
|
| |
"disable" scrollbar when on Windows when there is nothing to
scroll. This is Windows style, and fixes [Bug #624116].
|
|
|
|
|
| |
to 1024 chars to prevent possible oversized window errors. May be
necessary in other MB uses (ie Tcl_AppInit). [Tcl Bug #608559]
|
|
|
|
|
|
|
|
|
|
|
| |
* generic/tk.h:
* macosx/Wish.pbproj/project.pbxproj:
* unix/configure:
* unix/configure.in:
* unix/tcl.m4:
* unix/tk.spec:
* win/configure:
* win/configure.in:
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
ChooseDirectoryValidateProc, Tk_MessageBoxObjCmd):
Remove unused tsdPtr variable. Use TEXT macro
instead of _T macro since _T does not work
under Cygwin. Declare flags as UINT to avoid
compiler warning when compiling with mingw.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
so that compiler flags defined by Tcl get
passed to the compiler. Add empty rule
for cat.c so that Tk compiles under msys.
* win/configure: Regen.
* win/tcl.m4: Update from Tcl, this pulls
in a subst of TCL_DEFS, it also defines
USE_THREAD_ALLOC when threads are used
and it updates the SC_ENABLE_SYMBOLS
and SC_PROG_TCLSH macros to match the
ones used in Tcl.
|
|
|
|
| |
tktest.exe [Bug 651396]
|
|
|
|
|
|
|
|
|
|
| |
* generic/tkIntPlatDecls.h: regen
* generic/tkStubInit.c: regen
* win/tkWinInit.c (TkpInit): While init and cleanup aren't correct
* win/tkWinX.c (TkWinXInit): in DllMain, we had to specify the
* win/tkWin32Dll.c (DllMain): true HINSTANCE or the resources of a
dynamic Tk weren't being loaded correctly. Created a new function
TkWinSetHINSTANCE for this purpose.
|
|
|
|
|
|
| |
* win/tkWin32Dll.c (DllMain): to ensure that it will be called
* win/tkWinWm.c (TkWinWmCleanup): without having to unload the dll.
Also reset the static int initialized on cleanup to allow reinit.
|
|
|
|
|
|
|
|
|
|
|
| |
check that a transient remains withdrawn
when it is first withdrawn and then turned
into a transient.
* unix/tkUnixWm.c:
* win/tkWinWm.c: Replace WM_TRANSIENT_WITHDRAWN
with WM_WITHDRAWN and set this flag whenever
a window is explicitly withdrawn. This fixes
the test case added above. [Bug 644356]
|
|
|
|
|
|
|
| |
* unix/tcl.m4: Update from Tcl.
* win/configure: Regen.
* win/configure.in: Check that AR, RANLIB, and RC
are found on the path when building with gcc.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Dde_Init() when STATIC_BUILD and TCL_USE_STATIC_PACKAGES macros
are set.
* win/makefile.vc: linkexten option now sets the
TCL_USE_STATIC_PACKAGES macro which also adds the registry and
dde static lib files to the link of the shell. [Patch 479697]
* win/rules.vc: Matches the one from Tcl.
* win/buildall.vc.bat: More useful commentary.
|
| |
|
|
|
|
|
|
|
|
| |
* win/tcl.m4 (SC_CONFIG_CFLAGS): Check for bug in Cygwin version
of windres and work around that case by passing a POSIX path
instead of a Windows native path. One can't always pass a POSIX
path because the mingw native toolchain accepts only Windows
native paths. (dejong)
|
|
|
|
| |
[Patch #625472] (howell)
|
| |
|
|
|
|
| |
* win/tcl.m4: Add --enable-shared=mem support.
|
|
|
|
|
|
|
|
| |
TkColormapData on Windows (Windows now requires RGB pixel data
from image).
* win/tkWinImage.c (XGetImage, XGetImageZPixmap): added support
for generating ps for embedded widgets on canvases on Windows,
tested for 8, 16, 24 and 32-bit depths (XGetImageZPixmap not used).
|
|
|
|
|
|
|
|
|
|
| |
* generic/tkCanvWind.c (CanvasPsWindow): removed dead code loop.
* generic/tkCanvas.h: moved TkColormapData struct to tkCanvPs.c
* generic/tkCanvPs.c (TkImageGetColor): corrected bogus use of
TkColormapData on Windows. Non-separated data may need correction
as well.
* win/tkWinImage.c (XGetImage, XGetImageZPixmap): added support
for generating ps for embedded windows on canvases.
|
|
|
|
|
|
|
|
|
|
|
| |
* generic/tk.h: of CVS snapshots with release 8.4.0.
* unix/README:
* unix/configure.in:
* unix/tk.spec
* win/configure.in:
* unix/configure: autoconf
* win/configure:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Added basic Cygwin support.
* win/tcl.m4 (SC_PATH_TCLCONFIG): Support one-tree build.
(SC_PATH_TKCONFIG): Likewise.
(SC_PROG_TCLSH): Likewise.
(SC_CONFIG_CFLAGS): Assume real Cygwin port and remove -mno-cygwin
flags. Add -mwin32 to extra_cflags and extra_ldflags.
Remove ``-e _WinMain@16'' from LDFLAGS_WINDOW.
* win/configure: Regenerate.
* win/tkWinPort.h (tchar.h): Do not include on Cygwin.
(_T): Define for Cygwin.
* win/winMain.c (main): Conditionally define.
|
|
|
|
|
|
| |
install the message catalogs. Copied same section from
unix/Makefile.in and adapted it to the slightly different
environment.
|
| |
|
|
|
|
|
|
|
| |
* win/tkWinButton.c (TkpComputeButtonGeometry): correct Win button
sizing to be equal for one-line buttons with -height of 0 or 1, as
well as -height 0 buttons with empty text and no image, which
should be the same as single-line text buttons. [Bug #565485]
|
| |
|
|
|
|
| |
-relief is sunken, -offrelief is flat, and -overrelief is raised.
|
|
|
|
|
| |
* win/winMain.c: tcltest executable on Windows. It was not
used, and the dependency complicated the Makefile. [Bug 592638].
|