| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
font handling. [Patch 852669] [Bug 478568]
* tests/textDisp.test: added test for the font measurement
problem.
|
| |
|
|
|
|
|
| |
for -initialdir if we have a UNC path because BFFM_SETSELECTION
doesn't support UNC paths in strings.
|
| |
|
|
|
|
|
| |
DllMain() and 2) needs a MinGW custom assembly implimentation as
it doesn't understand SEH syntax.
|
|
|
|
|
|
|
|
|
|
|
|
| |
exceptions that might happen. As Tcl will call Tcl_Finalize from its DllMain
due to the unload from ExitProcess() unloading Tcl, and if Tcl_Panic had
gotten called in an __except block, this avoid the possibility of not being
able to exit. Falls to TerminateProcess() in the __except case.
Removed the #ifdef _MSC_VER around DebugBreak as that function
exists in kernel32.dll and is not compiler dependent. I'd prefer to use
if (IsDebuggerPresent()) DebugBreak(); but IsDebuggerPresent() isn't
available in all kernel32.dll modules for all versions of windows.
|
|
|
|
|
|
|
|
|
| |
* unix/configure.in: CVS snapshots from the 8.4.5 release.
* unix/tk.spec:
* win/configure.in:
* unix/configure: autoconf (2.13)
* win/configure:
|
|
|
|
|
|
|
|
|
|
|
| |
* generic/tk.h: CVS snapshots from the 8.4.5 release.
* unix/configure.in:
* unix/tk.spec:
* win/configure.in:
* macosx/Wish.pbproj/project.pbxproj:
* unix/configure: autoconf (2.13)
* win/configure:
|
|
|
|
| |
with that generated by Makefile.
|
| |
|
|
|
|
|
| |
XGCValues.function parameter when filling rectangles.
[Bug #820278] [Patch #820282]
|
|
|
|
|
|
| |
* win/configure.in: define TK_LIB_FLAG, TK_LIB_SPEC,
TK_BUILD_LIB_SPEC, TK_STUB_LIB_SPEC, TK_STUB_LIB_PATH, and
TK_BUILD_STUB_LIB_PATH for tkConfig.sh [Bug #826614]
|
|
|
|
|
| |
XGetImage code to correctly handle 16bpp requests. This appears
to never have worked correctly.
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
* generic/tk.h: to prepare for next patch
* macosx/Wish.pbproj/project.pbxproj: release.
* unix/configure.in:
* unix/tk.spec:
* win/configure.in:
* unix/configure: autoconf (2.13)
* win/configure:
|
|
|
|
| |
consistency between unix and windows -cursor option. (thoyts)
|
|
|
|
|
| |
This is a short-term solution until the -multiple option is
extended. [Bug 641261]
|
|
|
|
| |
bitmap header. [Bug 703697] (cap)
|
|
|
|
|
|
|
|
|
|
|
| |
* generic/tk.h: for the Tk 8.4.4 release.
* macosx/Wish.pbproj/project.pbxproj:
* unix/configure.in:
* unix/tk.spec:
* win/configure.in:
* unix/configure: autoconf (2.13)
* win/configure:
|
| |
|
|
|
|
|
|
|
|
|
|
| |
* 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: 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.
[Bug 691908]
|
|
|
|
| |
properly. [Patch 707792] Thanks to Joe Mistachkin for the fixes.
|
|
|
|
| |
(I just loathe sticky tags).
|
|
|
|
| |
of the install step.
|
|
|
|
|
|
| |
* 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.
|