23 Commits

Author SHA1 Message Date
Andrew Hyatt
a23df37eff Remove execution bit from source files of AppKit 2017-08-23 09:25:24 -07:00
Airy ANDRE
fc83abd505 NSMenuItem should support encoded NSAction/NSTarget (and NSPopUpButton use that) 2014-01-17 18:24:25 +01:00
Robert Grant
ecc95d7fab pulldown menus set their title into menu item index 0 2013-07-22 10:31:48 -04:00
Robert Grant
3880c351f5 The sender depends on whether the menu items have an explicit action 2011-11-30 18:06:47 -05:00
Robert Grant
8a08b76fc7 sendevents from the popupbutton not the menu item 2011-11-30 16:45:00 -05:00
Airy ANDRE
31f233b952 Fix NSPopUpButton action sender + menu fix for pull-down 2011-11-30 15:52:41 +01:00
Airy ANDRE
d5240c4945 Bounds popupbutton contents never shorten the item list 2011-11-28 15:29:03 +01:00
Airy ANDRE
79d67cb1a1 AppKit lets you bind some NSValue to a popUpButton selectedValue (even if the docs says it's a string) 2011-11-25 18:36:34 +01:00
Robert Grant
f34a3c2b46 Bindings bugs 2011-07-18 17:37:21 -04:00
Robert Grant
e774cc1f54 NSPopupButton not indicating willChange/didChange for selectedTag binding 2011-07-11 20:38:03 -04:00
Christopher Lloyd
d8cac06cec NSPopUpView infinite loop problem when selectedIndex == -1, fixed cursor tracking behavior when no currentCursor 2011-01-27 21:58:22 -05:00
Christopher Lloyd
bf3e9bfef3 implement performClick: to popup menu in NSPopUpButton 2011-01-20 20:49:24 -05:00
Christopher Lloyd
435750e58c NSPopUpButton fixes for binding to a dictionary controller 2010-11-03 22:35:20 -04:00
Christopher Lloyd
711f022bc2 NSPopUpButton and NSPopUpBotton fixes and additions, reworked selection and title synchronization behavior. (fixes issue #528) 2010-03-17 18:15:20 +00:00
Christopher Lloyd
b8bc414c64 - CFCopyDescription fix
- CFArrayGetCountOfValue fix
- NSString * to NSString * const fixes
- requestUserAttention: implementation
- NSTrackingArea fix, retains userInfo, does not retain userData
- removed unused code from NSWindowBackgroundView
- couple more font mappings in NSFont
- fixes to NSTrackingArea behavior in NSView
- faster visibleRect, precalculate as zero rect if hidden
- Fixed NSTrackingInVisibleRect behavior, doesn't do hit test
- Fixed NSTrackingArea testing to properly order exit/enter events
- setFrame: doesn't do anything if the new value is the same as the old value
- reorganize NSWIndow setFrame:display:/setFrame:display:animation:
- mark window as needing display if display called and not visible
- Win32Display will load fonts in main bundle for private usage
- use of setControlView: for cells in NSOutlineView and NSTableView
- _setSelectedRowIndexes: added to NSTableView for KVO
- NSString cString related fixes
- NSStringFormatter changes to accomodate NSNumberFormatter grouping separator
- NSNumberFormatter fixes
- appendFloat_generic removed, might cause problems
- NSSet fixes
- NSSocket_windows fixes for SSL handler
- per thread select capabilities
- NSLog uses fprintf instead of WriteFile so it synchronizes with NSCLog
2010-03-16 20:38:14 +00:00
Christopher Lloyd
883e05b9b2 NSImageCell fixes for scaling, new scaling constants, -[NSCell setControlView:] implemented, NSDockTile skeleton, NSPopUpButton selectTag accessors for bindings 2010-03-04 20:25:51 +00:00
Johannes Fortmann
d2f2fdfec9 NSPredicate "contains" fixed
NSPopUpButton lastItem
lots of bindings fixes; bindings refactored
NSImage -lockFocusOnRepresentation with nil will fill in image data after creating cached rep
table view preparedCellAtColumn implemented; is now used to prepare cell
2009-02-09 20:32:41 +00:00
Johannes Fortmann
bd7bac37fa some more KVO selectors
NSPopUpButton selectedObject/selectedValue bindings
plugtwo's table view fix
2008-12-02 10:52:22 +00:00
Dr. Rolf Jansen
b83623594d NSPopUpButton: implemented -(BOOL)selectItemWithTag:(int)tag 2008-07-02 18:24:22 +00:00
Johannes Fortmann
d54accc0e9 - KVO dependent key would overwrite each other before. Fixed.
- if NSDebugEnabled is set, KVO will emit diagnostics for methods which look like setters but have the wrong signature
- NSArrayController selectionIndex and friends now fire the right change messages
- NSPopUpButton content, contentValues and selectionIndex bindings now work
2008-03-20 17:26:13 +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