| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
"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].
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* generic/tk.h: HEAD from the 8.4b2 release.
* unix/configure.in:
* win/configure.in:
* unix/tk.spec:
* unix/configure: autoconf
* win/configure:
* generic/tk.h: Added compile-time check that the tcl.h header file
#included by Tk 8.4 is one from Tcl 8.4. This is needed to be sure
that new #defines like CONST84 are available. [Bug 597432].
|
|
|
|
|
|
| |
file created on installation.
* win/Makefile.in (install-binaries): corrected and simplified
creation of pkgIndex.tcl file on installation.
|
| |
|
| |
|
|
|
|
|
| |
* win/tcl.m4: added shell32 to libs for updated native Windows
tk_chooseDirectory dialog.
|
|
|
|
| |
to idle call ReconfigureWindowsMenu.
|
|
|
|
|
| |
directory browser (tk_chooseDirectory). This does require
shell32.dll v4.71 or greater. [Patch #468139]
|
|
|
|
| |
* win/tkWinWM.c: Windows due to latest patch. Tks Vince Darley.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
updating Tk to use Tcl 8.4's fully CONST-ified
interface, and fully CONSTifying Tk at the
same time.
This patch includes purging Tk of its last
direct access to interp->result. [Bug 589853]
The substantial changes include copying
event sequence strings into Tcl_DStrings
in tkBind.c, and copying [text] indices into
Tcl_DStrings because parsing them involved
overwriting them. If this causes performance
trouble, that can be resolved by further
converting them to Tcl_Obj's.
The #defines USE_NON_CONST and USE_COMPAT_CONST
have the same effect for Tk as they do for Tcl.
(They actually change tcl.h)
|
| |
|
|
|
|
|
| |
ring around the actual text when the button is a compound button.
[Bug #583691]
|
|
|
|
|
|
|
|
|
| |
* unix/configure.in:
* win/configure:
* win/configure.in: Add AC_PREREQ(2.13) in an attempt
to make it more clear that the configure scripts
must be generated with autoconf version 2.13.
[Tcl Bug 583573]
|
| |
|
|
|
|
|
| |
* win/Makefile.in: Add a more descriptive warning
in the event `make genstubs` needs to be rerun.
|
| |
|
|
|
|
| |
<hgiese@ratiosoft.com>.
|
|
|
|
|
|
|
|
| |
* generic/tkTest.c: Test commands not supported on non-Unix
platforms should not be defined there in the first place.
* tests/constraints.tcl: Fixed "secureserver" constraint.
* tests/unixWm.test: Some tests needed "unix" constraint.
* win/tkWinWm.c: Typo in error message.
|
|
|
|
|
| |
the 8.4b1 release. Also extended LOCALES to cover all message
catalogs.
|
|
|
|
|
| |
utfTitle to NULL, add a few more notes about limitations of
possible new Tk_ChooseDirectoryObjCmd function.
|
|
|
|
|
| |
quoting introduced by [Patch 521356] causing the installed to
fail.
|
|
|
|
| |
pkgIndex.tcl file to enable Tk as a loadable package [Patch 521356]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
and already mapped toplevel are raised and receive
the focus when deiconified.
* tests/wm.test: Add wm deiconify tests. Check that
a toplevel that has never been mapped is not mapped
by the deiconify command since it should be done
at idle by MapFrame.
* win/tkWinWm.c (Tk_WmCmd): Check the WM_NEVER_MAPPED
flag while processing the wm deiconify command.
The WM_UPDATE_PENDING flag should never be set when
WM_NEVER_MAPPED is set, but double check so that
the implementation is more explicit and matches
the comment just above.
Return without invoking TkWmRestackToplevel or
TkSetFocusWin on a toplevel that has never been
mapped. This fixes a bug where a toplevel is mapped
with the wrong size and is then resized by the
idle call to MapFrame. [Tk bug 233150]
|