Alan Rogers
|
f41680bba3
|
Bring back dem assertions.
|
2013-07-11 12:19:52 +10:00 |
|
Alan Rogers
|
448d5aa4a0
|
Replace main thread asserts with a log message.
|
2013-07-10 12:45:46 +10:00 |
|
Justin Spahr-Summers
|
36636a70c1
|
Expose TUINSView->_trackingView as a property
|
2012-10-31 11:44:34 -07:00 |
|
Sheng Luo
|
cd14f2036e
|
Use the existing notification handler to avoid introducing a new one.
|
2012-10-24 07:27:59 +08:00 |
|
Sheng Luo
|
ce028dc647
|
When the window will close, set appkit host view's layout manager to nil.
|
2012-10-23 22:47:44 +08:00 |
|
Justin Spahr-Summers
|
dc03671d01
|
Merge remote-tracking branch 'galaxas0/upstream-text-extensions' (pull request #78)
|
2012-09-30 22:16:42 -07:00 |
|
Aditya Nrusimha
|
82c43ee33d
|
Style changes and indentation fixes.
|
2012-09-24 17:06:18 -07:00 |
|
Aditya Nrusimha
|
cccc5f760e
|
Removed deprecated method.
|
2012-09-24 16:42:28 -07:00 |
|
Justin Spahr-Summers
|
c3f50479f4
|
Actually send -willMoveToTUINSView: and -didMoveFromTUINSView:
Fixes #70.
|
2012-09-13 16:37:33 -07:00 |
|
joshaber
|
84c4dfd694
|
Revert "Remove duplicate -setWantsLayer: call"
This reverts commit 2d4c20cd3e.
|
2012-08-22 16:24:52 -04:00 |
|
Justin Spahr-Summers
|
274427818b
|
Merge remote-tracking branch 'origin/master' into really-remove-tuinshostview
Conflicts:
lib/UIKit/TUITextView.m
|
2012-08-20 09:25:59 -07:00 |
|
Justin Spahr-Summers
|
6c0d74f92a
|
Remove unused imports
|
2012-08-10 21:52:20 -07:00 |
|
Justin Spahr-Summers
|
2d4c20cd3e
|
Remove duplicate -setWantsLayer: call
|
2012-08-08 12:48:03 -07:00 |
|
Justin Spahr-Summers
|
fa90af6f3d
|
Keep AppKit views on top
|
2012-08-08 12:12:08 -07:00 |
|
Justin Spahr-Summers
|
d404a3db8b
|
Remove TUINSHostView for real
It doesn't seem to be necessary, and this will still support 10.6.
|
2012-08-08 12:10:01 -07:00 |
|
joshaber
|
af4c14c254
|
removed TUIHostView for saner 10.6-support
|
2012-07-31 17:34:21 -04:00 |
|
joshaber
|
903908e377
|
Merge branch 'master' of github.com:github/twui
|
2012-07-25 17:26:36 -04:00 |
|
joshaber
|
d476dae2cd
|
work around a bug in 10.6 with mixing layer-backed and layer-hosting view hierarchies
|
2012-07-25 17:25:09 -04:00 |
|
joshaber
|
3fe3063b48
|
nil out our hostView reference
|
2012-07-25 10:34:30 -04:00 |
|
joshaber
|
514b439572
|
explicitly synthesize those guys
|
2012-07-24 17:27:44 -04:00 |
|
Justin Spahr-Summers
|
6ae2f1a2db
|
Merge branch 'master' into imports-cleanup
Conflicts:
lib/UIKit/TUIView.m
|
2012-07-24 09:06:05 -07:00 |
|
Justin Spahr-Summers
|
4baf8a9960
|
Remove TUIKit.h import from TUINSView header, and add all the other imports that are now necessary
|
2012-07-23 12:09:02 -07:00 |
|
Justin Spahr-Summers
|
f6e984a337
|
Made TUINSView+NSTextInputClient into a proper category, and cleaned up imports around it
|
2012-07-23 12:08:18 -07:00 |
|
Justin Spahr-Summers
|
4246138ead
|
Import TUINSView+Hyperfocus in TUIKit.h, instead of TUINSView.h
|
2012-07-23 12:05:48 -07:00 |
|
Justin Spahr-Summers
|
076af7d207
|
Refactored how TUINSView calculates the clipping path for the focus ring of an NSView (to be more correct and clip tighter)
|
2012-07-22 17:57:18 -07:00 |
|
Justin Spahr-Summers
|
5c7511d59a
|
Don't clip NSViews to some scroll view if the TUINSView itself is within it
|
2012-07-22 17:47:23 -07:00 |
|
Justin Spahr-Summers
|
8645822e20
|
Keep the AppKit masking layer at the same size as the appKitHostView (though it doesn't seem to make a difference, it seems like a good idea)
|
2012-07-20 11:57:40 -07:00 |
|
Justin Spahr-Summers
|
ad2bb979e4
|
Added a compile-time flag to enable or disable NSViews being clipped by TwUI (mainly for debugging)
|
2012-07-19 15:17:21 -07:00 |
|
Justin Spahr-Summers
|
64c8819339
|
Don't consume hit tests outside of the bounds of a TUINSView
|
2012-07-18 11:07:11 -07:00 |
|
Justin Spahr-Summers
|
b363a4e914
|
Added an assertion to protect against subviews being added to TUINSView
|
2012-07-18 11:03:35 -07:00 |
|
Justin Spahr-Summers
|
6f7c084752
|
Renamed uses of the 'rootView' property's ivar to '_rootView' (since it's now implicitly synthesized), and remove the 'rootView' ivar from TUINSView that was masking the issue
|
2012-07-18 03:26:04 -07:00 |
|
Justin Spahr-Summers
|
7ac3e8a378
|
Fix up some other uses of self.layer in TUINSView
|
2012-07-18 03:10:16 -07:00 |
|
Justin Spahr-Summers
|
864f17e05b
|
Add TUINSView.rootView to the right superlayer -- that'll fix them black boxes
|
2012-07-18 01:07:30 -07:00 |
|
Justin Spahr-Summers
|
b156b3ef56
|
WIP extending TUINSView to support (indirectly) hosting NSViews
|
2012-07-17 16:43:47 -07:00 |
|
joshaber
|
d98197d605
|
the nsView property should be unsafe_unretained
|
2012-06-22 11:19:34 -04:00 |
|
Loren Brichter
|
e19b491475
|
Delay updating content scales until after notification fires (NSWindow's backingScaleFactor doesn't update till later, on 10.8 at least). Remove unnecessary if(), if we're updating contentScales, just update all the contentScales.
|
2012-06-18 12:00:31 -04:00 |
|
joshaber
|
afca39456b
|
send -mouseExited: before -mouseEntered:
|
2012-05-20 16:42:14 -04:00 |
|
joshaber
|
4bb8832e46
|
just use NSWindowDidChangeScreenProfileNotification
|
2012-04-12 16:03:12 -04:00 |
|
joshaber
|
8bd71fb704
|
Merge remote-tracking branch 'upstream/master' into dev
Conflicts:
TwUI.xcodeproj/project.pbxproj
lib/Support/CoreText+Additions.m
lib/UIKit/TUIAttributedString.m
lib/UIKit/TUIControl.m
lib/UIKit/TUINSView.h
lib/UIKit/TUINSView.m
lib/UIKit/TUINSWindow.m
lib/UIKit/TUITableView.m
lib/UIKit/TUITableViewCell.m
lib/UIKit/TUITextRenderer.m
lib/UIKit/TUITextView.m
lib/UIKit/TUIView.m
|
2012-04-09 14:48:41 -04:00 |
|
joshaber
|
696531d0cd
|
method name changed
|
2012-04-09 12:38:46 -04:00 |
|
joshaber
|
913495a5f8
|
use NSWindowDidChangeBackingPropertiesNotification to watch for scale changes
|
2012-04-09 11:08:35 -04:00 |
|
joshaber
|
1e6362a136
|
update the layer's scale when the screen changes
|
2012-04-09 10:54:44 -04:00 |
|
joshaber
|
fcb1553040
|
-[CALayer contentsScale] is 10.7+
|
2012-04-06 16:08:07 -04:00 |
|
joshaber
|
2b6966ce09
|
-[NSWindow backingScaleFactor] is 10.7+ so guard our uses of it
|
2012-04-06 10:01:39 -04:00 |
|
joshaber
|
0940950dae
|
real HiDPI support
|
2012-04-05 23:07:36 -04:00 |
|
joshaber
|
4e3abf6824
|
send non-consumed -performKeyAction:'s as -performKeyEquivalents if the next responder is an NSViewController
|
2012-03-15 10:16:47 -04:00 |
|
joshaber
|
68a68b99b7
|
added needsDisplayWhenWindowsKeyednessChanges to TUIView
|
2012-03-14 17:11:56 -04:00 |
|
joshaber
|
ed86289e1a
|
nil out the NSView when it's dealloc'd
|
2012-02-22 22:52:27 -05:00 |
|
joshaber
|
a67663906b
|
make sure we end our tooltip if we're being removed from the view hierarchy
|
2012-02-06 21:37:43 -05:00 |
|
joshaber
|
25a7e8c4be
|
keep NSViewControllers in the responder chain
|
2012-01-11 16:45:59 -05:00 |
|