summaryrefslogtreecommitdiffstats
path: root/win/tkWinInit.c
Commit message (Collapse)AuthorAgeFilesLines
* Implemented more options for new tk_get{Open,Save} file dialogsashok2014-09-131-0/+51
| | | | | | Renamed Win32ErrorObj to TkWin32ErrorObj and moved it from tkWinSend.c to be generally available. FossilOrigin-Name: 4d2302956f53c00ab845d806513f139d3efa1aa3
* Some more fixes for Cygwin32/64 in win32 GUI mode. jan.nijtmans2013-06-131-0/+14
|\ | | | | | | | | | | Now that this is fully working, eliminate all usage of WISH_BUILD_LIB_SPEC: TK_BUILD_LIB_SPEC can be used everywhere in stead. Remove some old carbon-leftovers from configure/make. FossilOrigin-Name: 456e5dfc9c2b5adb82b4ac8a8ee5f71a17033197
| * Some more fixes for Cygwin32/64 in win32 GUI mode. jan.nijtmans2013-06-131-0/+14
| | | | | | | | | | | | Now that this is fully working, eliminate all usage of WISH_BUILD_LIB_SPEC: TK_BUILD_LIB_SPEC can be used everywhere in stead. Add tk.pc FossilOrigin-Name: facb4fce459cda40793531354cef9e45c7b0333a
* | Replace various functions calls, for functions which are small wrappers ↵jan.nijtmans2013-01-141-1/+1
| | | | | | | | | | around other functions, to call the wrapped function directly. FossilOrigin-Name: cb8420c1d1cfcf429e49b78a9b97a824a99fdc52
* | Purge RCS Keywordsdgp2011-06-081-2/+0
|\ \ | |/ | | FossilOrigin-Name: b8a1385217cc117d6962c234f0a4d28ff10e089c
| * Purge RCS Keywords.dgp2011-06-081-2/+0
| |\ | | | | | | FossilOrigin-Name: 3f95fbe0ce14948fd409844b915c18ef25d7d0a0
| | * Purge RCS Keywords.dgp2011-06-081-2/+0
| | | | | | | | | FossilOrigin-Name: a74f32bb6369d3e66e661145c81a98a14ed79b3a
| * | re-wrote TkpDisplayWarning such that it does not use an Tcl API calls any ↵nijtmans2010-11-241-15/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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. FossilOrigin-Name: e7a9f4f8769517f3ebf1d98ce81445d251198ed2
* | | Remove casts from uses of ckalloc/ckfree/... now that Tcl declares them to bedkf2011-03-121-1/+1
| | | | | | | | | | | | | | | using useful casts internally. FossilOrigin-Name: 142e016e7b17277d81257da90477297eb9aaa05a
* | | refactor isatty() function for Windowsnijtmans2010-12-171-10/+21
| | | | | | | | | | | | | | | | | | Let TkpDisplayWarning() send the message directly to the debugger, if available, otherwise do as before FossilOrigin-Name: 27a28c58189b1846f4b77c1cb6b2c57830704a7a
* | | re-write TkpDisplayWarning not to use any Tcl functions any more. This ↵nijtmans2010-11-241-15/+9
| | | | | | | | | | | | | | | allows TkpDisplayWarning to be used as panic proc on Windows FossilOrigin-Name: 19068c75b388fd98755adba5dc4e36da4c412454
* | | Eliminate tkpMenubuttonClassnijtmans2010-01-131-2/+2
| | | | | | | | | | | | | | | | | | | | | make tkpButtonProcs CONST fix gcc warnings: missing initializer FossilOrigin-Name: 621b74296faf0808383caf277e5d114a4ed2560a
* | | Get rid of pre-C89-isms (esp. CONST vs const).dkf2008-04-271-4/+4
|/ / | | | | FossilOrigin-Name: ddfd8bb6f7ecfa71a218a5dc88075a419e3e1d5c
* | merge stable branch onto HEADdgp2007-12-131-1/+1
| | | | | | FossilOrigin-Name: e7868b44c1e7bffc63a053b87a96a4499757f80d
* | * generic/tkWindow.c (Initialize): Moved common Tk initializationdgp2007-09-061-8/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | * generic/tkInitScript.h (removed): script out of tkInitScript.h * macosx/tkMacOSXInit.c: and multiple TkpInit() routines and * unix/Makefile.in: into the common Initialize() routine in * unix/tkUnixInit.c: generic code. Also removed constraint on * win/tkWinInit.c: ability to define a custom [tkInit] before calling Tk_Init(). Until now the custom [tkInit] had to be a proc. Now it can be any command. Removal of tkInitScript.h also fixes [Bug 1656283]. FossilOrigin-Name: 8b6b21d988cf7030c31a12c343fd3d5b8a298dfb
* | ANSIficationdkf2005-12-021-22/+32
|/ | | FossilOrigin-Name: 1be88f1039a57d37b1f4567340d02ca39ddb3575
* * win/tkWinInit.c (TkpDisplayWarning): truncate MessageBox stringhobbs2003-02-181-1/+10
| | | | | | | to 1024 chars to prevent possible oversized window errors. May be necessary in other MB uses (ie Tcl_AppInit). [Tcl Bug #608559] FossilOrigin-Name: 65e7d42c400fc5eeaf02b955822a92e6af84f2be
* * generic/tkInt.decls: add TkWinSetHINSTANCE declhobbs2002-12-081-5/+4
| | | | | | | | | | | | * 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. FossilOrigin-Name: 07dfcd13bcbf8c38b20c8e156f51d25ace1d615d
* * win/tkWinInt.h: declaration for TkWinGetUnicodeEncodinghobbs2002-04-121-2/+2
| | | | | | | | | * win/tkWinDialog.c (GetFileNameW): use TkWinGetUnicodeEncoding * win/tkWinInit.c (TkpDisplayWarning): use TkWinGetUnicodeEncoding * win/tkWinFont.c: use TkWinGetUnicodeEncoding instead of static unicodeEncoding. FossilOrigin-Name: ca09d55644cd9006092eec025b62e54ee611bf11
* * win/tkWinInit.c (TkpGetAppName): TIP 27 fixup. The code now doesandreas_kupries2002-01-291-4/+6
| | | | | | | not write into the CONST path returned by "argv0" and Tcl_SplitPath anymore. FossilOrigin-Name: 6b1785497d20fd266cac609d492d2d09e65a5136
* * Updated callers of Tcl_SplitList and Tcl_Merge.dgp2002-01-251-4/+4
| | | | | | | | | | | * Updated callers of Tcl_GetStringResult. Rewrote PrintScrollFractions to ScrollFractions to stop scribbling directly on interp->result. * Updated callers of Tcl_GetVar, Tcl_GetVar2 * Updated callers of Tcl_SplitPath, Tcl_JoinPath, and Tcl_TranslateFileName. FossilOrigin-Name: 933dcfe881579bb3925ff2a05e925a0bd8d67087
* win/tkWinInit.c (TkpDisplayWarning): added Tcl_DStringFreeshobbs2001-12-281-1/+3
| | | FossilOrigin-Name: f3f5aa50750c88de3cb946f7d7df5e8cfd711ba4
* * win/tkWinInit.c (TkpDisplayWarning): Use MessageBoxW in case thehobbs2001-12-281-2/+9
| | | | | | error displayed has unicode chars. [Bug #485986] FossilOrigin-Name: 1d95df52a9bbc270d4d355c07605c88956a4c155
* * win/tkWinDialog.c: added unicode-aware open/save file dialogshobbs2000-03-311-1/+7
| | | | | | | | | | | | | | | | | | | | | | | | | * win/tkWinFont.c (TkpFontPkgInit): move private ref to platformId to TkWinGetPlatformId * win/tkWinMenu.c (SetDefaults): moved private use of versionInfo to TkWinGetPlatformId and removed all code for (versionInfo.dwMajorVersion < 4) (== Win32s) * win/tkWinX.c: * win/tkWin32Dll.c: moved TkWinGetPlatformId to tkWinX.c * win/tkWinInit.c: added TkWinXInit to TkpInit to ensure that its called for static Windows shells. [Bug: 3647] * win/tkWinInt.h: * win/tkWinX.c: * win/tkWinDraw.c (SetUpGraphicsPort): * win/tkWinScrlbr.c (UpdateScrollbar): removed use of tkpIsWin32s * win/tkWinInt.h (TkWinDCState struct): added bkmode value * win/tkWinDraw.c (TkWinGetDrawableDC, et al): added support for properly transparent dashed lines on Windows. [Bug: 4617] FossilOrigin-Name: 4da507a963ef135744aef559227cc6d7a4335951
* * Merged 8.1 branch into the main trunkstanton1999-04-161-2/+2
| | | FossilOrigin-Name: 1120dc4257448ed1955333e682de48e2940cc741
* Replaced SCCS strings, fixed binary filesstanton1998-09-141-1/+1
| | | FossilOrigin-Name: fb58b663f313796e8ed3115f92d657f0cae1d575
* Initial revisionrjohnson1998-04-011-0/+121
FossilOrigin-Name: 2bf55ca9aa942b581137b9f474da5ad9c1480de4