| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|\
| |
| |
| | |
don't enable command line globbing either by default.
|
| |
| |
| |
| | |
don't enable command line globbing either by default. (Accidently cleared execute permission on two files)
|
| |
| |
| |
| | |
used in winMain.c/tkAppInit.c
|
| |
| |
| |
| |
| | |
tkAppInit.c/winMain.c.
Remove unneeded use of TEXT() macro, as in tclAppInit.c
|
|\ \
| |/
| | |
cleanup some more unused CYGWIN stuff
|
| | |
|
|\ \
| |/ |
|
| |\ |
|
| | | |
|
| | |
| | |
| | |
| | |
| | | |
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.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
more, so it works even with an ill-initialized Tcl
Teach WishPanic how to thread UTF-8 in it's messagebox.
Both of those changes backported from Tcl 8.6. No change in functionality.
|
| | | |
|
| | |
| | |
| | | |
using useful casts internally.
|
| | |
| | |
| | |
| | | |
Remove special MessageBox'es here, since every panic-related thing is now handled correctly by Tcl
|
| | |
| | |
| | |
| | | |
dialog title to exactly what it was in Tk 8.5 ("Fatal Error in Wish")
|
| | |
| | |
| | |
| | | |
allows TkpDisplayWarning to be used as panic proc on Windows
|
| | |
| | |
| | |
| | | |
now implemented for cygwin and mingw32 too.
|
| | | |
|
| | |
| | |
| | |
| | | |
mingw32 build!)
|
| | | |
|
| | |
| | |
| | |
| | | |
cmdline" implemented for Tk on MSVC++
|
| | |
| | |
| | |
| | | |
as Tcl_SetVar.
|
| | | |
|
| | |
| | |
| | |
| | |
| | | |
tkWinX.c,winMain.c: Make compilable with -DUNICODE
tkAppInit.c,winMain.c: Many clean-ups in comments, so all (tcl|tk)AppInit.c variants use the same style.
|
| | |
| | |
| | |
| | |
| | |
| | | |
yet.
tkWinPort.h: mingw/cygwin fixes: <tchar.h> should always be included here.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Eliminate use of __argc and __argv for CYGWIN
Make cygwin configuration error into
a warning: CYGWIN compilation works
although there still are test failures.
|
| | | |
|
|/ / |
|
| | |
|
| |
| |
| |
| |
| |
| | |
why the console widget does not need to be created for this
application entry point (if used). Must have been a bad copy/paste
of WinMain() from 10 years back.
|
| | |
|
| | |
|
| |
| |
| |
| | |
direct use of stdarg.h conventions.
|
| | |
|
| |
| |
| |
| | |
the exported __argc and __argv exported by the c-runtime.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* generic/tkInt.h: TkDeleteExitHandler, and TkFinalize. This adds
* generic/tkMenu.c: an insertion point so Tk's exit handlers can be
* generic/tkWindow.c: called on their own from tk85.dll's DllMain
* mac/tkMacButton.c: for DLL_PROCESS_DETACH. These are private to
* unix/tkUnixEvent.c: the binary and not exported. It is possible
* win/tkWin32Dll.c: the Windows OS can unload Tk _prior_ to Tcl
* win/tkWinEmbed.c: under some conditions such as ExitProcess().
* win/tkWinMenu.c: This avoids a dangling pointer problem when Tcl
* win/tkWinX.c: does Tcl_Finalize after Tk has been unloaded.
* win/winMain.c: DllMain's DLL_PROCESS_DETACH now protected with
SEH as DeleteWindowsExitProc is causing an
exception of its own under some teardown
conditions. AT&T assembly syntax has not been
added for MinGW yet. [Tcl Patch 858493]
|
| | |
|
| |
| |
| |
| |
| | |
DllMain() and 2) needs a MinGW custom assembly implimentation as
it doesn't understand SEH syntax.
|
|/
|
|
| |
* win/winMain.c: Joe Mistachkin
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
* win/winMain.c: tcltest executable on Windows. It was not
used, and the dependency complicated the Makefile. [Bug 592638].
|
|
|
|
| |
CONST-ification in Tcl.
|
|
|
|
|
|
|
|
|
| |
* library/tkfbox.tcl (::tk::dialog::file::Config): removed the
extraneous glob on -initialdir after file isdir already returned 1
and moved cd trick into this case as the else already uses [pwd].
[Bug: 5181]
* win/winMain.c: moved extern call out of WinMain func
|
|
|
|
|
|
|
| |
* unix/tkAppInit.c:
* win/winMain.c: Added added hooks into the main() code for
supporting TclPro and other "big" shells more easily without
requiring a copy of the main() code.
|
|
|
|
| |
returning an error message from the top level
|
|
|
|
|
|
| |
function public. Add an interp argument and init the Tcl stubs.
Rename TkConsoleInit() to Tk_CreateConsoleWindow()
Remove TkConsoleCreate() (no underbar)
|