Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Use the win32 Wide API in some more places. And some simplifications, since ↵ | jan.nijtmans | 2017-01-18 | 1 | -25/+16 |
| | | | | we no longer support win95/98/ME | ||||
* | Do everything the other way round. Leave things how they were on OS X ↵ | fvogel | 2016-12-30 | 1 | -1/+5 |
| | | | | (revert [a076cf64] and [42e0339e]), and fix TkpDrawCharsInContext() on Win and Linux in case these platforms at some point of time decide to define TK_LAYOUT_WITH_BASE_CHUNKS and TK_DRAW_IN_CONTEXT to true | ||||
* | Fix [6c0d7aec6713ab6a7c3e12dff7f26bff4679bc9d|6c0d7aec67]: unicode text ↵ | jan.nijtmans | 2016-09-29 | 1 | -8/+9 |
|\ | | | | | | | input Windows 8. Added some test-cases using the "font actual" command. | ||||
| * | merge core-8-6-branch, keep FONTMAP_SHIFT to the original value. | jan.nijtmans | 2016-09-27 | 1 | -2/+3 |
| |\ | |/ |/| | |||||
| * | Merge core-8-6-branch. More surrogate handling, e.g. in HandleIMEComposition() | jan.nijtmans | 2016-09-27 | 1 | -1/+1 |
| |\ | |/ |/| | |||||
* | | Fix [720879afe9] - WM_CHAR message handling. Patch from Christian Werner ↵ | jan.nijtmans | 2016-09-27 | 1 | -1/+1 |
|\ \ | | | | | | | | | | | | | backported from http://www.androwish.org/index.html/info/a0da5845594cec28. Change (internal) TkpGetFontAttrsForChar() signature to match androwish's, no functional change. | ||||
| * \ | [Bug 3388350] mingw64 compiler warnings | jan.nijtmans | 2011-08-13 | 1 | -2/+2 |
| |\ \ | |||||
| | | * | Enhanced proposed fix [6c0d7aec67]: unicode text input Windows 8. More ↵ | jan.nijtmans | 2016-09-19 | 1 | -11/+10 |
| | | |\ | |_|/ / |/| | | | | | | | places where Unicode surrogate handling could be improved. | ||||
| | | * | More simplifications | jan.nijtmans | 2016-09-19 | 1 | -4/+4 |
| | | | | |||||
| | | * | Rename TkUtfToUniChar32 to TkUtfToUniChar2, and various simplifications ↵ | jan.nijtmans | 2016-09-16 | 1 | -27/+5 |
| | | | | | | | | | | | | | | | | needing less #ifdef's | ||||
| | | * | Patch from Christian Werner, for evaluation | jan.nijtmans | 2016-09-16 | 1 | -8/+29 |
| | | | | |||||
| | | * | Fix use of XMaxTransChars in stead of TCL_UTF_MAX in some places. This ↵ | jan.nijtmans | 2016-08-31 | 1 | -1/+1 |
| | | |\ | |_|_|/ |/| | | | | | | | | | | | should prevent possible buffer overflow when TCL_UTF_MAX=6 Micro-optimizations in tkEntry and ttkEntry | ||||
| | | * | Make Tk compile warning-free against TIP-389-enabled Tcl 8.7. No change of ↵ | jan.nijtmans | 2016-03-16 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | functionality, since font-names generally don't contain out-of-BMP Unicode characters (if they do in the future, that still can be fixed then). | ||||
* | | | | Fix use of XMaxTransChars in stead of TCL_UTF_MAX in some places. This ↵ | jan.nijtmans | 2016-08-31 | 1 | -1/+1 |
| |_|/ |/| | | | | | | | | | | | should prevent possible buffer overflow when TCL_UTF_MAX=6 Micro-optimizations in tkEntry and ttkEntry | ||||
* | | | Use size_t in stead of int for some internal refCount variables. On 32-bit ↵ | jan.nijtmans | 2015-07-08 | 1 | -3/+2 |
| | | | | | | | | | | | | systems, this doubles the range (as size_t is unsigned), on 64-bit system much more than that. | ||||
* | | | Internationalization of all Windows font handling | jan.nijtmans | 2011-10-13 | 1 | -52/+26 |
| | | | |||||
* | | | code cleanup (WCHAR -> TCHAR, no direct calls to *W() functions, unnecessary ↵ | jan.nijtmans | 2011-10-11 | 1 | -14/+14 |
| | | | | | | | | | | | | type casts | ||||
* | | | Purge RCS Keywords | dgp | 2011-06-08 | 1 | -2/+0 |
|\ \ \ | |/ / | |||||
| * | | Purge RCS Keywords. | dgp | 2011-06-08 | 1 | -2/+0 |
| |\ \ | | |/ | |||||
| | * | Purge RCS Keywords. | dgp | 2011-06-08 | 1 | -2/+0 |
| | | | |||||
| | * | * tests/canvText.test: | mdejong | 2004-08-09 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * win/tkWinFont.c (Tk_MeasureChars): Fix for text wrapping problem that appeared using canvas text under Win32. A long wrapping string that had leading spaces was being incorrectly wrapped. This change makes the Win32 implementation behave the same as the Unix implementation. [Patch 100628 | ||||
| | * | * win/tkWinFont.c (Tk_MeasureChars,Tk_DrawChars,etc): Make sure | hobbs | 2004-05-05 | 1 | -15/+33 |
| | | | | | | | | | | | | | | | that the lastSubFontPtr remains valid even when the subfont array is reallocated. [Bug #618872] (dkf, hobbs) | ||||
| | * | * win/tkWinFont.c (Tk_MeasureChars): backport fixes to bold/italic | hobbs | 2004-02-14 | 1 | -144/+159 |
| | | | | | | | | | | | | | | | | | | font handling. [Patch 852669] [Bug 478568] * tests/textDisp.test: added test for the font measurement problem. | ||||
| * | | [Bug 1825353]: Backported patch for tiny fixed font on Russian Windows systems. | patthoyts | 2009-10-29 | 1 | -3/+19 |
| | | | |||||
* | | | Remove casts from uses of ckalloc/ckfree/... now that Tcl declares them to be | dkf | 2011-03-12 | 1 | -15/+14 |
| | | | | | | | | | using useful casts internally. | ||||
* | | | * generic/tkInt.decls (TkDrawAngledTextLayout,TkDrawAngledChars,...): | dkf | 2010-12-02 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | Expose angled text API for Emiliano Gavilan. Still only in internal stub table. | ||||
* | | | [FRQ 2965056]: Windows build with -DUNICODE | nijtmans | 2010-10-06 | 1 | -85/+56 |
| | | | |||||
* | | | Make compilable with -DUNICODE, or mark files with a TODO which are not done ↵ | nijtmans | 2010-09-10 | 1 | -1/+7 |
| | | | | | | | | | | | | | | | | | | yet. tkWinPort.h: mingw/cygwin fixes: <tchar.h> should always be included here. | ||||
* | | | Unnessarary TCL_STORAGE_CLASS re-definitions | nijtmans | 2010-04-29 | 1 | -5/+5 |
| | | | | | | | | | | | | | | | | | | Make various functions MODULE_SCOPE TCHAR-related fixes, making al those files compile fine when TCHAR != char. | ||||
* | | | Eliminate tkpMenubuttonClass | nijtmans | 2010-01-13 | 1 | -3/+3 |
| | | | | | | | | | | | | | | | make tkpButtonProcs CONST fix gcc warnings: missing initializer | ||||
* | | | Corrected rounding of coordinates when working with fonts. [Bug 2824916] | dkf | 2010-01-05 | 1 | -3/+3 |
| | | | |||||
* | | | [Bug 1825353] Fix tiny fixed font on Russian Windows. | patthoyts | 2009-10-29 | 1 | -17/+20 |
| | | | | | | | | | | | | | | | | | | This patch reverts a previous attempt to fix tiny fonts on Russian Windows. It fixes the issue by requesting a suitable fixed font instead of decoding the system stock font. | ||||
* | | | - eliminate some unnessary type casts | nijtmans | 2009-01-28 | 1 | -3/+3 |
| | | | | | | | | | | | | | | | - some internal const decorations - spacing | ||||
* | | | Fixed up complaints from MSVC engendered by the last commit. In particular ↵ | patthoyts | 2008-11-22 | 1 | -7/+7 |
| | | | | | | | | | | | | replaced round() which is a C99 function. | ||||
* | | | TIP#119 implementation. [Patch 1611359] | dkf | 2008-11-22 | 1 | -56/+247 |
| | | | |||||
* | | | More small changes to use C89 better and manage the result more efficiently. | dkf | 2008-11-08 | 1 | -11/+11 |
| | | | |||||
* | | | const fixes for windows code | patthoyts | 2008-11-03 | 1 | -13/+15 |
| | | | |||||
* | | | [Bug 1825353] To fix a problem with tiny fonts on Russian versions of | patthoyts | 2008-10-18 | 1 | -3/+16 |
| | | | | | | | | | | | | | | | Windows we will avoid removing the internal leading for fixed width fonts. See the bug for more details on why this change is as it is. | ||||
* | | | Greatly clean up Tk's handling of the writability of the Tcl result object. | dkf | 2008-10-05 | 1 | -12/+12 |
| | | | |||||
* | | | Get rid of pre-C89-isms (esp. CONST vs const). | dkf | 2008-04-27 | 1 | -50/+50 |
|/ / | |||||
* | | merge stable branch onto HEAD | dgp | 2007-12-13 | 1 | -1/+1 |
| | | |||||
* | | We must specify the lowest Windows version we | patthoyts | 2007-12-10 | 1 | -15/+24 |
| | | | | | | | | | | | | | | | | | | intend to support. In particular the SystemParametersInfo API doesn't like to receive structures that are larger than it expects which affects the font assignements. Set to Win98 support. Handle failure to read the system parameters. This causes ttk/fonts.tcl to set any missing named fonts. | ||||
* | | Minor reshuffle for clarity | patthoyts | 2007-11-17 | 1 | -5/+5 |
| | | |||||
* | | * tests/listbox.test, tests/panedwindow.test, tests/scrollbar.test: | hobbs | 2007-10-30 | 1 | -8/+9 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * library/bgerror.tcl, library/dialog.tcl, library/listbox.tcl: * library/msgbox.tcl, library/optMenu.tcl, library/tclIndex: * library/tkfbox.tcl, library/demos/floor.tcl, library/demos/rmt: * library/demos/tcolor, library/demos/text.tcl: * library/demos/twind.tcl, library/demos/widget: Buh-bye Motif look * library/ttk/fonts.tcl: Update of Tk default look in 8.5 * macosx/tkMacOSXDefault.h: Trims border sizes, cleaner X11 look * unix/tkUnixDefault.h: with minor modifications for Win32/Aqua. * win/tkWinDefault.h: Uses Tk*Font definitions throughout for * win/tkWinFont.c: classic widgets. [Bug #1820344] * library/obsolete.tcl (::tk::classic::restore): This restores changes made to defaults in 8.5 using the 'option' command, segmented into logical groups. | ||||
* | | Fixed leak in CreateNamedFont spotted by das. | patthoyts | 2007-10-23 | 1 | -12/+6 |
| | | |||||
* | | Assorted minor cleanups. | dkf | 2007-09-08 | 1 | -74/+71 |
| | | |||||
* | | TIP #145 implementation | patthoyts | 2007-05-04 | 1 | -1/+142 |
| | | |||||
* | | various "const" additions, in line with TIP #27 | nijtmans | 2007-01-18 | 1 | -2/+2 |
| | | |||||
* | | More warning squelching (mostly uninit variable warnings) | dkf | 2007-01-12 | 1 | -2/+2 |
| | | |||||
* | | Many minute fixes to reduce number of minor warnings from GCC. | dkf | 2007-01-11 | 1 | -10/+11 |
| | |