Commit Graph

29 Commits

Author SHA1 Message Date
TheBrokenRail
b6548a202d Fix Continuation Indent 2020-05-12 17:04:16 -04:00
TheBrokenRail
55c7b99e5d Proper Braces 2020-05-12 17:04:16 -04:00
TheBrokenRail
cda40d9947 Code Formatting Using Patched ClangFormat 2020-05-12 17:04:15 -04:00
Sergey Bugaev
e3bb5c9196 CGFloat/O2Float-ization
See darlinghq/darling#418
2018-09-12 09:25:27 +03:00
Andrew Hyatt
a23df37eff Remove execution bit from source files of AppKit 2017-08-23 09:25:24 -07:00
Christopher Lloyd
65085ece4d Merge plasqdev-cocotron 2015-03-24 22:54:48 -04:00
Robert Grant
e8e64e6908 -convertFont:toFace: should return the original font if the conversion fails 2014-12-08 13:20:15 -05:00
Airy ANDRE
7c56bde495 Be more robust when trying to convert nil font 2014-08-28 16:02:07 +02:00
Robert Grant
9e797ca370 Improper clearing of traits - x-or was toggling it back on instead of leaving it clear 2013-12-11 12:22:08 -08:00
Airy ANDRE
6dae7c34e6 font manager selected font not always updated 2013-10-24 15:51:52 +02:00
Airy ANDRE
a8a574fed1 Fix modifyFont:/convertFont: + make NSTextView modifyFont: aware of multiple fonts 2013-10-17 18:13:19 +02:00
Christopher Lloyd
d50db5d468 use sel_isEqual 2013-05-27 21:29:20 -04:00
Airy ANDRE
58c9d75fdf Add [NSFontManager currentFontAction] + missing changeFont: from NSText 2013-05-22 19:37:35 +02:00
Airy ANDRE
d9511a55b3 Fix NSFont so it works with postscript name, as its Cocoa cousin 2012-01-27 13:53:41 +01:00
Robert Grant
b5ab411409 Internationalize AppKit 2012-01-18 09:55:13 -08:00
Robert Grant
a4088d0d12 NSFontManager needs to validate some menu items 2011-11-21 10:33:28 -05:00
Airy ANDRE
400c0289d0 Font panel is always shown at top left, with its title bar hidden 2011-11-14 15:49:25 +01:00
Robert Grant
39a5cc6e35 fontWithFamily:traits:weight:size: is giving up to easily 2011-11-08 11:09:08 -05:00
Robert Grant
fb307a522c Missing NSFont and related classes methods 2011-07-15 16:49:18 -04:00
Airy ANDRE
3f0f39beef fontWithFamily:traits:weight:size: is missing 2011-06-22 21:56:50 +02:00
Robert Grant
eb5259e20f basic implementation of fontWithDescriptor:size: 2011-01-24 17:01:49 -05:00
Christopher Lloyd
e9baa8323f - unbordered windows use opaque Win32 layered windows
- improved sheet animation based on the use of layered windows
- NSWindow -setStyleMask: works even if the window is already created
- NSWindow manages a NSGraphicsContext instead of creating a new one each time the -graphicsContext method is called.
- Some child window management code in NSWindow.
- better ordering on autosave frames and use of toolbars preventing windows from growing each time they are created
- window background view marked for display when the toolbar size changes
- NSDockTile ivar added to NSApplication
- implementation of NSString +localizedNameOfStringEncoding:
2010-03-10 18:19:26 +00:00
Christopher Lloyd
05518cc9bb (fixes issue #478) by Gary Palter 2010-03-02 15:07:51 +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
97a4048fb2 Updated towards Objective-C 2.0 runtime API and some decoupling of objc runtime from Foundation
- added 2.0 objc/runtime.h, message.h with most of the declarations
- added deprecated.h for deprecated declarations
- cleanup objc-class.h to use standard naming for structs
- moved FOUNDATION_EXPORT to NSObjCRuntime.h
- deleted ObjCTypes.h, ObjectiveC.h
- moved Object.h/Protocol.h to objc headers
- added method.m, ivar.m for method_ and ivar_ functions
- Changed all use of deprecated SELNAME to sel_getName
- Changed use of OBJCLog in Foundation to replacement NSCLog
- Changed most all the equivalent OBJC* names to 2.0 function names
- rename OBJCIsKindOfClass to NSObjectIsKindOfClass, move to NSObject.m
- removed empty OBJCReportStatistics, objc_lock.h
2009-04-07 00:17:26 +00:00
Christopher Lloyd
fcda3ab7d9 - Large number of missing AppKit constant/methods added, most of the simpler ones implemented. Cleanup and instance size changes.
- Some existing implementation updated for new methods, primarily NSDocument
- Removed legacy keyed encoding/decoding functionality in AppKit
2007-11-08 15:58:54 +00:00
Christopher Lloyd
95a0d5cf32 - Issue 39 fix for NSDateFormatter, check for error being NULL in NSDateFormatter getObjectValue:
- Fixed bug in NSRunLoop which would cause a timer set up during an ASAP notification to not fire
- Removed text drag acceptance by non-key text fields, not the correct behavior
- Assortment of missing methods added, some implemented whole or partially, some not.
- Updated some of the Objective-C runtime structures to reflect Apple conventions (OBJCMethod -> struct objc_method, OBJCMethodList -> struct objc_method_list, etc)
2007-08-26 18:29:25 +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