| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
| |
Clang/LLVM) don't define it, and _WIN32 is much more portable anyway.
See: [http://nadeausoftware.com/articles/2012/01/c_c_tip_how_use_compiler_predefined_macros_detect_operating_system#WindowsCygwinnonPOSIXandMinGW]
|
|\ |
|
| | |
|
|\ \
| |/
| |
| | |
EXCEPTION_REGISTRATION typedef, which means something completely different in MinGW-w64.
|
| |
| |
| |
| | |
EXCEPTION_REGISTRATION typedef, which means something completely different in MinGW-w64.
|
| |
| |
| | |
Eliminate all usage of TclWinSetInterfaces(), which does exactly the same as TclpSetInterfaces(), but keep exported symbol and stub entry.
|
| | |
|
| |
| |
| | |
rest of Tcl source code. No ABI change. API change *should* be harmless.
|
|\ \
| |/
| | |
cause more harm than good. Purged them (except in zlib files).
|
| |\
| | |
| | | |
more harm than good. Purged them.
|
| | |
| | |
| | | |
more harm than good. Purged them.
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* win/tclWin32Dll.c (asciiProcs, unicodeProcs):
* win/tclWinLoad.c (TclpDlopen): 'load' use LoadLibraryEx with
* win/tclWinInt.h (TclWinProcs): LOAD_WITH_ALTERED_SEARCH_PATH to
prefer dependent DLLs in same dir as loaded DLL.
|
| | |
| | |
| | |
| | |
| | |
| | | |
* generic/tclInt.h: `make checkexports` test.
* win/tclWin32Dll.c:
* win/tclWinFile.c:
|
| | | |
|
| | |
| | |
| | |
| | |
| | | |
* win/tclWinConsole.c: to give unicode console support on
* win/tclWinInt.h: suitable systems (eg: NT/XP)
|
| | | |
|
| | |
| | |
| | |
| | | |
until we have it, just return unknown. [Bug 1020445]
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
TclpCheckStackSpace, _except_checkstackspace_handler,
TclWinCPUID, _except_TclWinCPUID_detach_handler):
* win/tclWinChan.c (Tcl_MakeFileChannel,
_except_makefilechannel_handler):
* win/tclWinFCmd.c (DoRenameFile,
_except_dorenamefile_handler, DoCopyFile,
_except_docopyfile_handler):
Rework pushing of exception handler function pointer
so that compiling with gcc -O3 works. Remove empty
function call to avoid compiler warning. Mark the
DllMain function as noinline to avoid compiler
error from duplicated asm labels in generated code.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
build works again.
* generic/tclInt.decls: Changes to the tests for
* generic/tclIntPlatDecls.h: clock frequency in Tcl_WinTime
* generic/tclStubInit.c: so that any clock frequency
* tests/platform.test (platform-1.3): is accepted provided that
* win/tclWin32Dll.c (TclWinCPUID): all CPU's in the system share
* win/tclWinTest.c (TestwincpuidCmd): a common chip, and hence,
* win/tclWinTime.c (Tcl_GetTime): presumably, a common clock. This
change necessitated a small burst of assembly code to read CPU ID
information, which was added as TclWinCPUID in the internal Stubs. To
test this code in the common case of a single-processor machine, a
'testwincpuid' command was added to tclWinTest.c, and a test case in
platform.test. Thanks to Jeff Godfrey and Richard Suchenwirth for
reporting this bug. [Bug #976722]
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Tcl_Finalize called from DllMain's DLL_PROCESS_DETACH. We can't
be 100% assured that Tcl is being unloaded by the OS in a stable
condition and we need to protect the exit handlers should the
stack be in a hosed state. AT&T style assembly for SEH under
MinGW included, too. [Patch 858493]
Also added DisableThreadLibraryCalls() for the DLL_PROCESS_ATTACH
case. We're not interested in knowing about DLL_THREAD_ATTACH, so
disable the notices.
|
| | | |
|
| | |
| | |
| | |
| | | |
[Patch 3059922]: fixes for mingw64 - gcc4.5.1
|
| | | |
|
| | |
| | |
| | |
| | |
| | | |
* win/tclWinChan.c: mingw on amd64 systems. Thanks to "mescalinum"
* win/tclWinFCmd.c: for reporting and testing.
|
| | |
| | |
| | |
| | |
| | |
| | | |
* win/tclWinLoad.c (TclpDlopen): 'load' use LoadLibraryEx with
* win/tclWinInt.h (TclWinProcs): LOAD_WITH_ALTERED_SEARCH_PATH to
prefer dependent DLLs in same dir as loaded DLL.
|
| | |
| | |
| | |
| | | |
2806622]
|
| | | |
|
| | |
| | |
| | |
| | | |
environments.
|
| | |
| | |
| | |
| | | |
Fixed for gcc, not yet for MSVC 64-bit.
|
| | | |
|
| | |
| | |
| | |
| | | |
Tcl on MSVC++
|
| | |
| | |
| | |
| | | |
Fix some MSVC 6.0 warnings
|
| | |
| | |
| | |
| | | |
Eliminate dynamical loading of advapi23 and kernal32 symbols.
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Remove ascii variant of tkWinPocs table,
it is no longer necessary. Fix CreateProcess
signature and remove unused GetModuleFileName and lstrcpy
mingw/cygwin fixes: <tchar.h> should always
be included, and fix conflict in various macro values: Always force
the same values as in VC++.
|
| | |
| | |
| | |
| | |
| | |
| | | |
unsupported platform with a panic. Code to support it still
exists in other files (to go away in time), but new APIs are being
used that don't exist on Win9x.
|
| | |
| | |
| | |
| | |
| | |
| | | |
* win/tclWinLoad.c (TclpDlopen): 'load' use LoadLibraryEx with
* win/tclWinInt.h (TclWinProcs): LOAD_WITH_ALTERED_SEARCH_PATH to
prefer dependent DLLs in same dir as loaded DLL.
|
| | |
| | |
| | |
| | |
| | | |
pointers.
Fix double declaration of TclNativeDupInternalRep
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Applied missing part of [Patch 2961556]
Change all tclWinProcs signatures to use
TCHAR* in stead of WCHAR*. This is meant
as preparation to make [Enh 2965056]
possible at all.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
tcl*ConstStubs, it's not necessary at all.
tclEnsemble.c: Fix signed-unsigned mismatch
make tclWinProcs "const"
Add first part of mslu support,
See [Feature Request #2819611]
|
| | |
| | |
| | |
| | |
| | |
| | | |
it does exactly the same as TclWinEncodingsCleanup,
make sure that tclWinProcs and tclWinTCharEncoding
are always set and reset concurrently.
|
| | |
| | |
| | |
| | | |
2806622]
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* generic/tclEvent.c: on DLL_PROCESS_DETACH as it may lead
* win/tclWin32Dll.c (DllMain): to issues and the user should be
explicitly calling Tcl_Finalize before unloading regardless.
Clarify the docs to note the explicit need in embedded use.
|
| | | |
|
|/ / |
|
| | |
|