Commit Graph

17 Commits

Author SHA1 Message Date
Sergey Bugaev
348fdf7813 Fix direct isa access 2017-12-17 16:11:05 +03:00
Andrew Hyatt
a23df37eff Remove execution bit from source files of AppKit 2017-08-23 09:25:24 -07:00
Rolf
f8a9c69267 when selecting an item of a combo box then update the field editor accordingly, select the whole text like Mac OS X does, end editing, and send the action 2015-09-03 23:00:56 -03:00
Rolf
3b748d5481 draw insertion point centered on a screen scan line
rectification of NSComboBox
2015-08-28 22:00:19 -03:00
Airy ANDRE
c2f475aae8 Just clicking on the NSComboBox menu item doesn't select the item clicked 2014-01-17 18:12:25 +01:00
Christopher Lloyd
fa5c4e7860 remove retain in NSComboBoxCell on dataSource 2010-11-01 16:52:36 -04:00
Christopher Lloyd
d90b0b9bce change imports to use NSKeyedArchiver.h 2009-06-19 18:12:28 +00:00
Christopher Lloyd
3edcca086e removed now empty NSNibKeyedUnarchiver 2009-06-19 17:31:04 +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
Dr. Rolf Jansen
6021275b90 acc. Cocoa Docs., NSComboBoxCell objectValueOfSelectedItem should log a message if it is called when usesDataSource is set to YES 2008-07-08 13:11:15 +00:00
Dr. Rolf Jansen
28cb583b7f NSComboBoxCell: implemented -(int)indexOfSelectedItem and -objectValueOfSelectedItem 2008-07-02 21:06:31 +00:00
Christopher Lloyd
ec80813506 Rolf Jansen's fixes:
-Panels and Drawers no longer appear in task bar
-[NSText(View) setFont:range:] implemented
-NSCell, NSButtonCell loading state from nib file
-NSCell,NSTextField sendsActionOnEndEditing implemented
-NSTabView layout adjustments
-NSComboBox improvements
2007-11-19 14:49:00 +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
64055fe034 - Added Johannes Fortmann's KVC fixes and KVO implementation
- Cleaned up objc runtime/headers so that the differences between the KVO implementation for Cocotron vs. Apple runtime are a much smaller.

- Fixed issue 20 for pointer and non-retained object NSValue's.

- Fixed issue 19, NSSelectorFromString so that it registers unknown selectors

- Added Dirk Theisen's concrete NSDirectoryEnumerator and NSClassDescription implementation

- added more NSURL* methods.

- moved some control drawing into a new class NSGraphicsStyle which is responsible for control drawing in the current theme. NSGraphicsStyle implements the default theme and subclasses draw whatever look they want.

- preliminary support for the XP and above UxTheme API in the class NSGraphicsStyle_uxtheme, some controls will do native themed drawing now. Layout/highlighting is not perfect.
2007-04-02 14:40:36 +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