Commit Graph

26 Commits

Author SHA1 Message Date
Andrew Hyatt
a23df37eff Remove execution bit from source files of AppKit 2017-08-23 09:25:24 -07:00
Andrew Hyatt
1c81808e25 Create include directories 2017-08-07 23:33:12 -07:00
Rolf Jansen
302e2abf5e don't alter the key view loop if the window won't auto recalculate a new one
fix setting of _previousKeyView
fix premature display of the insertion pointer
fix occasional persistence of the insertion pointer in a deactivated text view
fix endEditing of text views on drawers
2015-10-08 19:51:18 -03:00
Rolf
eb0d31acbd fine adjustment of the drawer height so it matches the available content size on Mac OS X
fixed an issue whereby the content view of the drawer moved upward upon opening-closing-opening the drawer
2015-08-12 21:31:38 -03:00
Rolf
fa9844531b NSDrawerWindows can become key, otherwise NSTextFields and other input controls are inactive on NSDrawers 2015-08-09 23:40:55 -03:00
Christopher Lloyd
631462795d Reformat entire project using newer style 2015-05-23 20:15:45 -04:00
Christopher Lloyd
3a4ee557c9 merge with timschmielau-cocotron 2015-04-26 19:56:18 -04:00
Christopher Lloyd
b07b9998f4 merge 7f53ff8 2015-03-26 22:09:33 -04:00
Christopher Lloyd
85ed88a459 merge 9476f90 2015-03-26 22:08:24 -04:00
Tim Schmielau
682cf94ca2 fix NSDrawer live resizing
Stick to the current _contentSize instead of looking at the actual content,
so the drawer doesn't change size uncommandedly.
2012-12-22 22:07:22 +00:00
Robert Grant
711a189e56 Don't think twice about removing self as an observer in dealloc 2012-01-20 12:43:06 -08:00
Steve Nicholson
174b56e4a5 Remove delegate from NSNotificationCenter in -dealloc: 2011-09-13 10:51:51 -07:00
Dr. Rolf Jansen
7f53ff8ec7 Drawer content position adjustments 2011-02-20 21:18:15 -03:00
Dr. Rolf Jansen
9476f90343 make on open Drawer together with its parent window part of the responder chain 2011-02-20 21:05:09 -03:00
Christopher Lloyd
3523fbf9b5 merge from clone 2010-11-30 14:58:27 -05:00
Christopher Lloyd
0f1a73fd84 NSWindow/Win32Window setLevel: implemented and used in AppKit for proper window levels 2010-11-01 21:13:23 -04:00
Steve Nicholson
3e68194dd2 Change calculation in drawerFrameWithContentSize: to use parent's content frame instead of window frame. Previous implementation made drawer smaller each time it was toggled open until it disappeared altogether. Also moved tests for [_delegate respondToSelector:] for notifications to setDelegate. 2010-09-16 15:49:37 -07:00
Steve Nicholson
6482021a8c Honor delegate's -drawerShouldOpen: and -drawerShouldClose: to make -toggle: behavior consistent with OS X 2010-08-27 10:54:58 -07:00
Steve Nicholson
634fd75c07 Don't send notifications to delegate unless it responds to selector. Otherwise resulting exception can prevent drawer from opening or closing. 2010-08-26 12:38:48 -07: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
cbeae71792 (fixes issue #499) constant NSString fixes by Sven Weidauer, NSPathCell/Control import fixes 2010-03-02 16:33:55 +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
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