summaryrefslogtreecommitdiffstats
path: root/win/tkWinTest.c
Commit message (Collapse)AuthorAgeFilesLines
* Merge trunkjan.nijtmans2019-06-201-4/+2
|\
| * Merge 8.6jan.nijtmans2019-06-201-1/+1
| |\
| | * Don't use wcslen() in combination with Tcl_WinTCharToUtf(): Using -1 has the ↵jan.nijtmans2019-06-201-1/+1
| | | | | | | | | | | | same effect already (it even was wrong in tkWinTest.c's previous commit, forgot to multiply with sizeof(WCHAR)).
| * | Merge 8.6. Code cleanup, possible because we know we are compiling in ↵jan.nijtmans2019-06-191-6/+3
| |\ \ | | |/ | | | | | | UNICODE mode on Windows.
| | * Don't re-reference encoding "unicode", when we can re-use the encoding.jan.nijtmans2019-06-191-4/+1
| | |
* | | Switch back to using Tcl_UtfToExternalDString() in tkWinFont.c, since - ↵jan.nijtmans2019-06-111-11/+12
| | | | | | | | | | | | | | | somehow - changing it doesn't work. More usage of implicit WCHAR, since we are always building with UNICODE.
* | | More TCHAR -> WCHAR conversionsjan.nijtmans2019-06-111-2/+2
| | |
* | | Eliminate on Windows all usages of Tcl_WinUtfToTChar() and ↵jan.nijtmans2019-06-101-5/+8
|/ / | | | | | | Tcl_WinTCharToUtf(). Proving the point of this TIP.
* | A few WideINT-related range improvements and comment fixesjan.nijtmans2018-12-121-1/+1
| |
* | Eliminate USE_OLD_TAG_SEARCH: It isn't used and tested any more.jan.nijtmans2018-12-081-6/+6
| | | | | | Eliminate a ton of unnecessary type casts
* | Fix PTR2INT/PTR2UINT, so they no longer are restricted to the "int" range.jan.nijtmans2018-10-221-3/+3
| | | | | | | | Make TCL_Z_MODIFIER available in Tk (even when compiled with Tcl 8.6), and use it. More size_t/clientData related improvements
* | merge core-8-6-branchjan.nijtmans2017-05-051-1/+4
|\ \ | |/
| * On Windows, use Tcl_WinTCharToUtf() in stead of Tcl_NewUnicodeObj(), since ↵jan.nijtmans2017-05-051-1/+4
| | | | | | | | | | | | Tcl_WinTCharToUtf() works correctly when TCL_UTF_MAX==6 while Tcl_NewUnicodeObj() doesn't. All changes taken over from androwish. Thanks to Christian Werner! And ... on the go ... fixed a few memory leaks correctly detected by Christian.
* | Smarter initialization of doubleTypePtr/intTypePtr without hash-table lookup ↵jan.nijtmans2017-01-201-9/+9
|/ | | | | | or creating complete Tcl_Obj's. In Windows tests, allow up to 64 bits for HWND. Check stubs for "8.6-" in stead of "8.6", for better interoperability with "novem".
* Remove unnecessary end-of-line spacingjan.nijtmans2014-11-211-1/+1
|
* Make findwindow more robust by ensuring it is a window belongingashok2014-09-201-0/+22
| | | to the same process.
* Convert native paths returned from file dialogs to Tcl canonical paths.ashok2014-09-201-6/+64
|
* Convert "testwinevent", "testmetrics" and "testdeleteapps" for using the ↵jan.nijtmans2014-05-261-34/+25
| | | | Tcl_Obj API.
* Convert all Tcl_SetResult calls to Tcl_SetObjResult calls. jan.nijtmans2013-01-281-5/+5
| | | Convert Tcl_GetStringFromObj to Tcl_GetString when possible.
* Fixed, but only tested yet on Windows 7. On other platforms, at least the ↵jan.nijtmans2012-11-111-1/+7
| | | | 'user input problem' is gone, but the test might still fail.
* Remove tclWinProcs, as it is no longer being usedjan.nijtmans2011-10-051-22/+4
|
* [Bug 3388350] mingw64 compiler warningsjan.nijtmans2011-08-161-8/+8
|\
| * [Bug 3388350] mingw64 compiler warningsjan.nijtmans2011-08-161-9/+9
| |\
| * \ [Bug 3388350] mingw64 compiler warningsjan.nijtmans2011-08-131-3/+0
| |\ \ | | |/
* | | Purge RCS Keywordsdgp2011-06-081-2/+0
|\ \ \ | |/ /
| * | Purge RCS Keywords.dgp2011-06-081-2/+0
| |\ \ | | |/
| | * Purge RCS Keywords.dgp2011-06-081-2/+0
| | |
| | * [Bug 2956548] TkpButtonSetDefaults only initializes one button typenijtmans2010-03-121-3/+2
| | | | | | | | | | | | Fix 2 minor gcc warnings in tkWinTest.c
| * | [Bug 2956548] TkpButtonSetDefaults only initializes one button typenijtmans2010-03-121-27/+13
| | | | | | | | | | | | | | | Fix various gcc warnings, all backported from Tk 8.6 VC6++ does not have SPI_SETKEYBOARDCUES
| * | [Bug 2307837] Backported fix for running dialog tests on non-English localespatthoyts2009-11-131-2/+25
| | |
| * | backported tk_chooseColor -title fix from HEADpatthoyts2008-04-141-1/+4
| | |
* | | [FRQ 2965056]: Windows build with -DUNICODEnijtmans2010-10-061-21/+11
| | |
* | | Make compilable with -DUNICODE, or mark files with a TODO which are not done ↵nijtmans2010-09-101-7/+11
| | | | | | | | | | | | | | | | | | yet. tkWinPort.h: mingw/cygwin fixes: <tchar.h> should always be included here.
* | | win/rules.vc: (sync with tcl version)nijtmans2010-09-091-22/+2
| | | | | | | | | | | | | | | | | | mingw should always link with -ladvapi32 Remove ascii variant of tkWinPocs table, it is no longer necessary.
* | | Don't use -fvisibility=hidden for cygwin.nijtmans2010-03-041-36/+24
| | | | | | | | | | | | Make tkTestWinProcs const
* | | fix more gcc warnings: missing initializernijtmans2010-01-221-4/+1
| | | | | | | | | | | | | | | | | | | | | Eliminate use of __argc and __argv for CYGWIN Make cygwin configuration error into a warning: CYGWIN compilation works although there still are test failures.
* | | Eliminate tkpMenubuttonClassnijtmans2010-01-131-3/+3
| | | | | | | | | | | | | | | make tkpButtonProcs CONST fix gcc warnings: missing initializer
* | | Make all internal initializationnijtmans2009-11-291-2/+1
| | | | | | | | | | | | | | | | | | routines MODULE_SCOPE copy win/tcl.m4 from Tcl (latest) to Tk and regenerate win/configure
* | | Compile tkTest.c and friends with Stubsnijtmans2009-11-191-6/+62
| | |
* | | Eliminate more gcc warningsnijtmans2009-08-101-18/+26
| | |
* | | FormatMessage should always use the ignore-inserts flag when processing ↵patthoyts2009-05-131-2/+4
| | | | | | | | | | | | system errors.
* | | TIP #324 IMPLEMENTATIONdas2008-12-101-27/+30
| | |
* | | elminate warning: unused variable 'tkwin'nijtmans2008-11-271-4/+1
| | | | | | | | | | | | | | | Replace Tcl_SetResult(interp, NULL, ....) calls with Tcl_ResetResult(interp) everywhere
* | | [Bug 2307837] avoid some locale-dependent failures by using id's or an ↵patthoyts2008-11-221-2/+25
| | | | | | | | | | | | english constraint
* | | Lots of small changes to make code more pretty and C89-like.dkf2008-11-081-4/+7
| | |
* | | tkWinTest.c: fix warning: assignment discards qualifiers from pointer target ↵nijtmans2008-11-031-2/+2
| | | | | | | | | | | | type
* | | CONSTify TkPrintPadAmount, TkCreateFrame, TkCreateMainWindownijtmans2008-10-281-12/+9
| | | | | | | | | | | | | | | and Tk_ParseArgv. move TkSelGetSelection to internal stub table (needed in tkWinTest.c)
* | | * win/tkWinTest.c: Revise [testclipboard] to form thatdgp2008-10-281-25/+15
| | | | | | | | | | | | | | | * tests/winClipboard.test: handles encodings. [Bug 2191960] * tests/constraints.tcl: [tcltest::bytestring] no longer used.
* | | Get rid of pre-C89-isms (esp. CONST vs const).dkf2008-04-271-9/+9
| | |
* | | Fixed bug #1941740: tk_chooseColor -title was broken in revision 1.40 after ↵patthoyts2008-04-141-1/+4
| | | | | | | | | | | | some code cleanup. Added tests for this windows dialog to avoid regression.