12 Commits

Author SHA1 Message Date
Robert Grant
8ecb58bbdd Make menu item titles draw in tight spaces (no wrapping) and add a bunch of logging to layout and typesetting 2014-04-23 17:56:46 -07:00
Robert Grant
33b8f73107 Debug logging to track down truncated menus 2014-04-10 12:49:06 -07:00
Robert Grant
b61c54fc96 Ellipsis adding was a bit too aggressive - this change works with multi-line text fields 2011-11-08 16:49:33 -05:00
Airy ANDRE
b1b7c8cda0 Too long control titles should be clipped with "..." 2011-11-07 17:31:57 +01:00
Christopher Lloyd
89dadca76f (fixes issue #106) by Markus Hitter, NSAlert layout fixes 2009-11-14 21:23:09 +00:00
Christopher Lloyd
a73db3310f - split CoreGraphics out into it's own framework project. AppKit still embeds CoreGraphics but it is also built standalone on Foundation. (don't link against both)
- new experimental AppKit-MacOS-i386 target which sits on Apple's Foundation, ApplicationServices (not operational). Header&api usage fixes to clean this up.
- Redid NSBezierPath so it doesn't rely on private Cocotron CoreGraphics API.
- Change the NSRaise macros/functions to be inline so AppKit can just include it instead of depending on them in Foundation since they aren't present in OSX.
- split NSRaiseException() into it's own Foundation private header and removed use from AppKit.
- changed use of NSRangeEntries so AppKit can embed it on MacOS
- switched NSOutlineView use of NSInt*CallBacks to NSInteger*CallBacks
- added CGPDFContext and CGDataConsumer
2009-06-05 03:16:46 +00:00
Christopher Lloyd
061c62e63c - KGFontState renamed KTFont, most of the existing implementation moved to KTFont_gdi (previously KGFontState_gdi), cleaned up
- CTFont API which wraps KTFont
- NSFont largely changed to CTFont API use
- assorted KGContext * -> CGContextRef changes
2008-12-04 04:15:50 +00:00
Christopher Lloyd
5aabd688f9 - Moved CG* headers to ApplicationServices and changed references in KG classes, this allows for building the KG classes on OSX from SWRender
- Cleanup of CG/KG classes, use CGGeometry instead of NSGeometry, fixed PathElement constant names
- SWRender, image resampling optimizations, added better basis for cubic curve tessellation
2008-04-17 16:59:58 +00:00
Christopher Lloyd
f4499ef96b - PDF output using the NSString/NSAttributedString drawing category (NSStringDrawer) fixed. NSLayoutManager now adjusts y coordinates for an unflipped view instead of NSStringDrawer modifying the CTM
- beginPageInRect: CTM calculation fixed for unflipped view
- KGShading PDF decoding regression fixed, encoding tested as functional
- KGColorSpace PDF encoding fixed
2007-10-26 20:23:52 +00:00
Christopher Lloyd
291d859a1e - Fixed case sensitivity on ObjC* #import's for case sensitive file systems submitted by halfactivist.
- CGWindow, NSCustomView, NSDrawer, NSWindow, NSWindowController, Win32Window fixes from Issues 10-17 submitted by Rolf Jansen.

- NSFileWrapper implementation submitted by Dirk Theisen.

- Added stubs to NSAssertionHandler, NSDirectoryEnumerator, NSFileManager for methods needed by NSFileWrapper addition.

- Added FlateDecode filter derived from a public domain implementation (not zlib) by Sean Barrett to the PDF system.

- Added ImageIO directory and starting point files.

- Added more starting point code in KoreGraphics and clean up in KG and Win32. Added KG(Mutable)Path.

- First pass at NSPDFImageRep hooks into underlying KG classes.
2007-03-11 19:28:02 +00:00
Christopher Lloyd
578873e3cf Added templates for many missing classes, updated copyright for 2007, +[NSValue valueWithRange:],-[NSObject className] 2007-01-01 21:11:21 +00:00
Christopher Lloyd
30916ff6e5 Original 2006-12-22 04:41:44 +00:00