Commit Graph

32 Commits

Author SHA1 Message Date
Christopher Lloyd
8b99802d8d Issue #574 by Pauli Ojala, textured NSButton's 2010-05-17 22:37:55 -04:00
Christopher Lloyd
f7f1d14b22 NSRegularSquareBezelStyle drawing implemented in NSButtonCell 2010-03-05 17:30:43 +00:00
Dr. Rolf Jansen
94d611ab3c (fixes issue #425) by Markus Hitter, BezelStyle button shouldn't background drawing 2009-11-06 00:47:16 +00:00
Christopher Lloyd
0ad80ec0c8 (fixes issue 407) by Erlend Böe
(fixes issue 409) by Erlend Böe with modification to release already initialized _timeZone
(fixes issue 410) by Erlend Böe
(fixes issue 414) by Erlend Böe, NSDateFormatter missing methods
(fixes issue 415) added NSOSStatusErrorDomain constant
(fixes issue 417) added NSStringDrawing options
(fixes issue 419) by Markus Hitter, NSDateFormatter off by one for month
(fixes issue 421) by Markus Hitter, NSWindow resign main window behavior fix
(fixes issue 422) by Erlend Böe, NSDateFormatter returns
(fixes issue 424) by tobias at platen-software.de, CoreFoundation.xcodeproj and NSKeyedUnarchiver fix
(fixes issue 425) by Markus Hitter, NSButtonCell drawing fix
2009-10-29 15:21:40 +00:00
Christopher Lloyd
94b6e9b585 fine changes to NSCell, NSButtonCell init's. removed never reached test 2009-10-20 15:42:03 +00:00
Christopher Lloyd
20dff96e56 - added frame style drawing to NSImageCell
- replaced _wraps with _lineBreakMode in NSCell, NSFormCell, NSTextFieldCell, NSButtonCell. added nib decoding of value
- added a few missing setNeedsDisplay: in NSImageView
- added keyed encoding to NSColor and concrete subclasses, switched pasteboard i/o to keyed encoding
- fixed drawing of images in an NSButtonCell in a flipped view
- fine changes to NSOutlineView's cell width calculations
2009-09-16 20:40:16 +00:00
Christopher Lloyd
777ff4ba1b NSButtonCell reorganized to match 10.5 drawBezel/Image mechanism 2009-08-31 16:12:17 +00:00
Christopher Lloyd
473ace3fe1 #366, implement NSButton setButtonType: in terms of NSButtonCell setButtonType:, add more NSButtonCell API 2009-08-24 19:08:04 +00:00
Christopher Lloyd
fc6d94e7a1 NSBox fix by Mathew Burrack to use title cell for drawing 2009-06-26 05:03:16 +00: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
Johannes Fortmann
bfdea5af7d reverted r419 since I don't see any way to implement the 10.5 semantics correctly 2009-03-16 17:01:43 +00:00
Johannes Fortmann
74be1cf047 - build font family list lazily
- X11: fallback font
- X11: error handler (does nothing)
- NSButtonCell: split drawing in -drawInterior, -drawBezel
- (incomplete) bezierPathWithRoundedRect:
2009-03-08 14:22:13 +00:00
Christopher Lloyd
617b577d5d - Issue #204 Ken Aspeslagh's -[NSButtonCell cellSize] implementation 2008-12-01 19:32:26 +00:00
Johannes Fortmann
0bfcf7f5b2 NSUserDefaultsController implemented
fix for direct instance variable access without automatic notification
NSButtonCell now accepts numerical value of strings as object value
2008-09-26 14:40:02 +00:00
Dr. Rolf Jansen
a0038f1f04 NSButtonCell:
fix for inappropriate background re-drawing within the content area of NSTabViewItems and probably other drawing areas
fine tuning of button controls layout size in dependency of the control size parameter
2008-08-28 14:45:49 +00:00
Christopher Lloyd
ea7a8a921e - Removed CGContextSetCalibrated* functions, the Windows user colors defined within their own color space and gamma adjustment of device/calibrated pushed into KGContext_gdi
- Fixed problem with NSPopUpButton cell having a blank title introduced with the NSButtonCell attributed title changes

- SWRender, AA Sample structure flattened
2008-05-19 20:30:25 +00:00
Christopher Lloyd
22bbe557d3 - Issue #115 patch by steph...@sente.ch, split -[NSColor set] into -[NSColor setFill] and -[NSColor setStroke] 2008-05-16 18:59:00 +00:00
Christopher Lloyd
e64bcd2609 - NSAlert implemented
- NSButton expanded to match doc.s, NSCell, NSButtonCell attributedTitle work
2008-05-13 18:43:48 +00:00
Christopher Lloyd
4a1cd93e74 - Issue #96-101 fixes by Cedric Luthi, missing NSImageView.h import, NSButtonCell drawInteriorWithFrame:inView:, NSMatrix addColumn, NSPopUpButtonCell setMenu:, NSTableView rectOfRow:, NSTabViewItem setLabel:
- Issue #88, NSOpenGLView now receives mouse events
2008-04-30 18:40:25 +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
6510258e28 - Issue 40 fix by Rolf Jansen, compile errors/warnings in NSButtonCell and NSFormCell 2007-08-27 16:02:57 +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
e346fd856b + Johannes Fortmann's patch:
- table view editing
- fine-grained bindings for table columns
- NSArray objectsAtIndexes:
- some fixes for KVO

+ Rolf Jansen's NSSortDescriptor initWithCoder/encodeWithCoder
+ Rolf Jansen's NSCell/NSButtonCell controlSize patch
2007-05-14 13:15:31 +00:00
Christopher Lloyd
ab72409ef1 - Fixed issue #24, NSImage now retains self for NSCopying
- Fixed issue #25, %C should work now in NSString format strings
- Initial pass at issue #26, partial implementation of NSKeyedArchiver

- Initial pass at recursive descent parser for NSPredicate format strings.
- A few CoreFoundation headers added to Foundation
- NSConditionLock template added.
-[NSBundle objectForInfoDictionaryKey:] implemented
-[NSCharacterSet isSupersetOfSet:] implemented (poorly)
-[NSMutableData replaceBytesInRange:withBytes:length:] implemented
-[NSData dataWithBytesNoCopy:length:freeWhenDone:] implemented
-[NSString UTF8String] implemented
-[NSString stringByStandardizingPath] added by not implemented correctly
-[NSError localizedDescription] implemented
+[NSSet setWithObjects:count:] implemented
- AppKit/binders renamed AppKit/NSKeyValueBinding
- Initial pass at NSFontDescriptor added
-[NSView convertSize:to/fromView:] implemented
-[NSFont getAdvancements:forGlyphs:count:] implemented
-A few NSAnimation/NSViewAnimation definitions added
2007-04-22 18:58:47 +00:00
Christopher Lloyd
1e6d2bb42a - Added Rolf Jansen's NSCell, NSButtonCell, NSButton patches for more button types and mixed state
- Implemented NSDisclosureBezelStyle in NSButtonCell in default theme

- Improved layout and more drawing with UxTheme

- Added Johannes Fortmann's KVO fixes from April 5th

- Fixed Linux/Unix header, linking and runtime problems reported by Anthony Beurivé
2007-04-06 01:43:26 +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
b83f6593fc - Dirk Theisen added NSFileType key to attributes dictionary returned by -[NSFileManager_win32 fileAttributesAtPath:traverseLink:]
- Added axial shaders via CGShading/CGFunction interface

- Added clipping to path

- Added ApplicationServices project for header compatibility if you use CoreGraphics

- Fixed problem with nib connections which do not have : at end

- Fixed problem with system images not appearing in check boxes loaded from nib
2007-03-23 21:20:59 +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