summaryrefslogtreecommitdiffstats
path: root/generic/tkFont.c
Commit message (Collapse)AuthorAgeFilesLines
* Purge RCS Keywordsdgp2011-06-081-2/+0
|\
| * Purge RCS Keywords.dgp2011-06-081-2/+0
| |\
| | * Purge RCS Keywords.dgp2011-06-081-2/+0
| | |
| | * * generic/tkFont.c: #ifdef out debug msg printing to stderr.das2007-05-311-1/+3
| | |
| | * Fix [Bug 1151523] by making the code conform to the docs.dkf2005-11-221-15/+22
| | |
| * | Backport of "misconfigured xft font engine" fixes.dkf2009-09-101-1/+14
| | |
| * | [Bug 2791352] backported fix and tests for mis-parsing of certain font ↵patthoyts2009-05-131-1/+15
| | | | | | | | | | | | descriptions.
| * | Backported some fixes for uninitialized variables identified by das using ↵patthoyts2009-03-031-2/+2
| | | | | | | | | | | | clang analysis.
* | | Remove casts from uses of ckalloc/ckfree/... now that Tcl declares them to bedkf2011-03-121-11/+11
| | | | | | | | | using useful casts internally.
* | | * generic/tkInt.decls (TkDrawAngledTextLayout,TkDrawAngledChars,...):dkf2010-12-021-5/+5
| | | | | | | | | | | | | | | Expose angled text API for Emiliano Gavilan. Still only in internal stub table.
* | | Corrected rounding of coordinates when working with fonts. [Bug 2824916]dkf2010-01-051-3/+1
| | |
* | | cast needed on msvc6 for ushort to char to avoid warningpatthoyts2010-01-031-2/+2
| | |
* | | Simplify the postscript generation.dkf2010-01-031-94/+84
| | |
* | | SMALL FIX: Remove useless explicit casts now that we require C89 or later.dkf2010-01-021-3/+2
| | |
* | | [Tcl Bug 2857044]: Corrections following audit of Tcl_ObjType freeingdkf2009-11-211-6/+15
| | | | | | | | | | | | | | | | | | | | | practises; the typePtr field is now cleared when an object ceases to be of the type. Also remove some anachronistic techniques (pointless casts, mixed assignments and tests, etc.)
* | | Add cast to int to silence warning on msvc.patthoyts2009-10-211-2/+3
| | |
* | | [Bug 1961455]: Draw underlines and overstrikes when using Xft.dkf2009-10-101-3/+8
| | |
* | | Put the armouring in the right place.dkf2009-09-101-9/+14
| | |
* | | Try to make Tk more resilient in the face of Xft allocation failures.dkf2009-09-091-1/+9
| | |
* | | Corrected drawing of rotated underlines. [Bug 2356057]dkf2009-07-211-3/+3
| | |
* | | Fix [Bug 2328657] by explicitly excluding hacky zero-char chunks from ↵ferrieux2009-07-201-4/+5
| | | | | | | | | | | | intersection computation. Might deserve generalization to other tests.
* | | [Bug 2791352] handle parsing of type 5 font descriptions with hyphenated ↵patthoyts2009-05-131-1/+15
| | | | | | | | | | | | family name.
* | | - eliminate some unnessary type castsnijtmans2009-02-031-2/+2
| | | | | | | | | | | | | | | - some internal const decorations - spacing
* | | CONSTify TkDebugBorder, TkStringToKeysym, TkDebugBitmapnijtmans2009-01-091-8/+8
| | | | | | | | | | | | | | | TkDebugColor, TkDebugCursor, TkDebugFont All those mods TIP #27 complient, no incompatibility risks.
* | | Fix potential use of uninitialized variable flagged by clang static analyzerdas2008-12-071-2/+2
| | |
* | | Fixed up complaints from MSVC engendered by the last commit. In particular ↵patthoyts2008-11-221-9/+11
| | | | | | | | | | | | replaced round() which is a C99 function.
* | | TIP#119 implementation. [Patch 1611359]dkf2008-11-221-3/+385
| | |
* | | more internal -Wwrite-strings warning fixesnijtmans2008-11-021-19/+19
| | |
* | | Add "const" to many internalnijtmans2008-10-151-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | const tables, so those will be put by the C-compiler in the TEXT segment in stead of the DATA segment. This makes those table sharable in shared libraries.
* | | minor correctionsdkf2008-10-051-3/+2
| | |
* | | Greatly clean up Tk's handling of the writability of the Tcl result object.dkf2008-10-051-22/+24
| | |
* | | fix [2021443] inconsistant "wrong # args" messages (for Tk)nijtmans2008-07-231-2/+2
| | |
* | | Get rid of pre-C89-isms (esp. CONST vs const).dkf2008-04-271-55/+43
|/ /
* | merge stable branch onto HEADdgp2007-12-131-1/+1
| |
* | Only check for -displayof if there are sufficient arguments. This permits ↵patthoyts2007-11-171-5/+7
| | | | | | | | checking strings like -d.
* | * generic/tkFont.c (Tk{Create,Delete}NamedFont): allow NULL interp.das2007-10-211-8/+11
| |
* | header cleanupdgp2007-09-071-2/+1
| |
* | fix compile errors & warnings introduced by dkf's cleanupdas2007-06-251-3/+1
| |
* | Cleaning up whitespace, comments, declarations. No functional changes.dkf2007-06-241-20/+16
| |
* | * generic/tkFont.c: #ifdef out debug msg printing to stderr.das2007-05-311-1/+3
| | | | | | | | * generic/tkTextDisp.c:
* | bug #1716613 propagate error from TkDeleteNamedFont.patthoyts2007-05-111-5/+5
| |
* | TIP #145 implementationpatthoyts2007-05-041-22/+45
| |
* | Standardize function definition format.dkf2007-04-171-80/+93
| |
* | various "const" additions, in line with TIP #27nijtmans2007-01-181-45/+45
| |
* | various "const" additions in implementationnijtmans2007-01-031-2/+2
| |
* | fix warningdas2006-12-101-2/+2
| |
* | TIP 300 IMPLEMENTATIONKevin B Kenny2006-12-011-10/+67
| |
* | * generic/tkFont.c: implementation of ATSUI text renderingdas2006-03-221-13/+42
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * generic/tkInt.h: in TkAqua provided by Benjamin * generic/tkTextDisp.c: Riefenstahl. [Patch 638966] * library/demos/unicodeout.tcl: * macosx/tkMacOSXFont.h (new file): * macosx/tkMacOSXFont.c: * tests/font.test: * unix/tkUnixFont.c: * win/tkWinFont.c: * generic/tkFont.c: moved MODULE_SCOPE declarations of * generic/tkFont.h: font helper procs into header files. * macosx/tkMacOSXButton.c: * macosx/tkMacOSXFont.h: * macosx/tkMacOSXMenubutton.c: * macosx/Wish.xcode/project.pbxproj: add new tkMacOSXFont.h file, * macosx/Wish.xcodeproj/project.pbxproj: turn off dead code stripping as it interferes with -sectcreate (rdar://4486223). * macosx/Wish.xcode/default.pbxuser: add TCLLIBPATH=/Library/Tcl * macosx/Wish.xcodeproj/default.pbxuser: env var setting to tktest. * unix/configure.in: fix detection of symbols build when enabling TkAqua debug code; filter nm output of libtclstub better to avoid error on intel macs [Bug 1415789]. * unix/configure: autoconf-2.59
* | * unix/tcl.m4 (Darwin): add 64bit support, check for Tiger copyfile(),das2005-11-271-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | add CFLAGS to SHLIB_LD to support passing -isysroot in env(CFLAGS) to configure (flag can't be present twice, so can't be in both CFLAGS and LDFLAGS during configure), don't use -prebind when deploying on 10.4, define TCL_IO_TRACK_OS_FOR_DRIVER_WITH_BAD_BLOCKING (rdar://3171542). (SC_ENABLE_LANGINFO, SC_TIME_HANDLER): add/fix caching, fix obsolete autoconf macros. Sync with tcl/unix/tcl.m4. * unix/configure.in: fix obsolete autoconf macros, sync gratuitous formatting/ordering differences with tcl/unix/configure.in. * unix/Makefile.in: add CFLAGS to wish/tktest link to make executable linking the same as during configure (needed to avoid loosing any linker relevant flags in CFLAGS, in particular flags that can't be in LDFLAGS). Avoid concurrent linking of wish and compiling of tkTestInit.o during parallel make, fix dependencies and flags for building tkMacOSXInit.o (checkstubs, checkexports): dependency and Darwin fixes (dist): add new macosx files. * macosx/tkMacOSXEvent.c (TkMacOSXProcessEvent): * macosx/tkMacOSXEvent.h: * macosx/tkMacOSXMouseEvent.c (TkMacOSXProcessMouseEvent): * macosx/tkMacOSXCarbonEvents.c: install standard application event handler, add & call functions to start and stop carbon even timer that runs the tcl event loop periodically during a nested carbon event loop in the toolbox (e.g. during menutracking) to ensure tcl timers etc continue to fire, register app event handler for menu tracking and HI command carbon events, move menu event handling to new handlers for those carbon events, no longer register for/handle appleevent carbon event (now dealt with by standard application event handler), event debugging code dynamically acquires carbon event debugging functions to allow use on Tiger where they are no longer exported from HIToolbox. * macosx/tkMacOSXFont.c (TkMacOSXUseAntialiasedText): * macosx/tkMacOSXKeyEvent.c (GetKeyboardLayout): * macosx/tkMacOSXCarbonEvents.c (TkMacOSXInitCarbonEvents): * macosx/tkMacOSXInit.c: * macosx/tkMacOSXInt.h: abstract common code to dynamically acquire address of a named symbol (from a loaded dynamic library) into new function TkMacOSXGetNamedSymbol() and macro TkMacOSXInitNamedSymbol. * macosx/tkMacOSXMenu.c (TkpNewMenu): * macosx/tkMacOSXMenubutton.c (MenuButtonInitControl): * macosx/tkMacOSXMenus.c (TkMacOSXHandleMenuSelect): switch to modern utf8 aware menu manager API, remove obsolete code, add error handling. * macosx/tkMacOSXMouseEvent.c: define OSX 10.3 or later only constants if necessary to allow compilation on OSX 10.2 * macosx/tkMacOSXWm.c (UpdateSizeHints): remove code that is never executed. * xlib/xgc.c (XCreateGC): sync with core-8-4-branch change. * generic/tk.h: add/correct location of version numbers in macosx files. * generic/tkInt.h: clarify fat compile comment. * macosx/Wish.pbproj/default.pbxuser (new file): * macosx/Wish.pbproj/jingham.pbxuser: * macosx/Wish.pbproj/project.pbxproj: * macosx/Wish.xcode/default.pbxuser: * macosx/Wish.xcode/project.pbxproj: * macosx/Wish.xcodeproj/default.pbxuser (new file): * macosx/Wish.xcodeproj/project.pbxproj (new file): new/updated projects for Xcode 2.2 on 10.4, Xcode 1.5 on 10.3 & ProjectBuilder on 10.2, with native tktest targets and support for universal (fat) compiles. * macosx/Tk-Info.plist (removed): * macosx/Wish-Info.plist (removed): * macosx/buildTkConfig.tcl (removed): remove obsolete build files. * macosx/README: clarification/cleanup, document new Xcode projects and universal (fat) builds via CFLAGS (i.e. ppc and i386 at the same time). * unix/Makefile.in: * unix/aclocal.m4: * unix/configure.in: * macosx/configure.ac (new file): add support for inclusion of unix/configure.in by macosx/configure.ac, allows generation of a config headers enabled configure script in macosx (required by Xcode projects). * macosx/GNUmakefile: rename from Makefile to avoid overwriting by configure run in tk/macosx, add support for reusing configure cache, build target fixes. * generic/tk3d.h: * generic/tkButton.h: * generic/tkCanvas.c: * generic/tkCanvas.h: * generic/tkColor.h: * generic/tkEntry.h: * generic/tkFileFilter.h: * generic/tkFont.c: * generic/tkFont.h: * generic/tkImage.c: * generic/tkImgPhoto.c: * generic/tkInt.h: * generic/tkMenu.c: * generic/tkMenu.h: * generic/tkMenubutton.h: * generic/tkScale.h: * generic/tkScrollbar.h: * generic/tkSelect.h: * generic/tkStubInit.c: * generic/tkStubLib.c: * generic/tkText.h: * generic/tkUndo.h: * macosx/tkMacOSXButton.c: * macosx/tkMacOSXDebug.c: * macosx/tkMacOSXDebug.h: * macosx/tkMacOSXDialog.c: * macosx/tkMacOSXDraw.c: * macosx/tkMacOSXEntry.c: * macosx/tkMacOSXFont.c: * macosx/tkMacOSXInt.h: * macosx/tkMacOSXMenu.c: * macosx/tkMacOSXMenubutton.c: * macosx/tkMacOSXMouseEvent.c: * macosx/tkMacOSXSend.c: * macosx/tkMacOSXSubwindows.c: * macosx/tkMacOSXWindowEvent.c: * macosx/tkMacOSXWm.c: * macosx/tkMacOSXXStubs.c: * unix/tkUnixButton.c: * unix/tkUnixMenu.c: * xlib/xgc.c: ensure externally visible symbols not contained in stubs table are declared as MODULE_SCOPE (or as static if not used outside of own source file), #ifdef out a few Xlib and aqua functions that are never called. These changes allow 'make checkstubs' to complete without error on Darwin with gcc 4. * macosx/tkMacOSXTest.c: * macosx/tkMacOSXPort.h: * win/tkWinTest.c: * generic/tkInt.decls: add functions needed by tktest to internal stubs table, correct signature of TkMacOSXHandleMenuSelect, add XSync to aqua Xlib stubs. * unix/tkUnixSend.c: * generic/tkText.c: * generic/tkTest.c: #ifdef unix only declarations. (TestmetricsCmd): unify win and mac implementation. (TestsendCmd): move to tkUnixSend.c to avoid access to global var. (TesttextCmd): move to tkText.c to avoid having to put all the internal text functions it uses into the stubs table. * generic/tkTextDisp.c: * macosx/tkMacOSXInit.c: * macosx/tkMacOSXKeyEvent.c: * macosx/tkMacOSXWindowEvent.c: * macosx/tkMacOSXXStubs.c: fix gcc 4 warnings. * macosx/tkMacOSXNotify.c: * macosx/tkMacOSXScrlbr.c: sync with core-8-4-branch. * generic/tkIntDecls.h: * generic/tkIntPlatDecls.h: * generic/tkIntXlibDecls.h: * generic/tkStubInit.c: * unix/configure: * unix/tkConfig.h.in: regen.
* | Fix [Bug 1151523] the non-embarrasing way!dkf2005-11-221-8/+14
| |