Commit Graph

33 Commits

Author SHA1 Message Date
Aditya Nrusimha eb97875282 Switched to CFIndex. 2012-09-25 23:02:20 -07:00
Aditya Nrusimha 97e759a505 Removed commented code. 2012-09-22 18:10:20 -07:00
galaxas0 602b4465e5 Fixed tabbing. 2012-09-19 18:33:45 -07:00
Aditya Nrusimha 9dff724e7d Added up/down navigation and Alt+Enter support for TUITextRenderer 2012-09-18 16:41:47 -07:00
Justin Spahr-Summers 71947ffabf Rename synchronizeNSViewGeometry to synchronizeNSViewAppearance
This better indicates its purpose, and covers properties that are not strictly geometrical.
2012-09-07 14:02:08 -07:00
Justin Spahr-Summers 6c0d74f92a Remove unused imports 2012-08-10 21:52:20 -07:00
joshaber a9a0919a15 added +[NSFont tui_fontWithName:size:fallbackNames:] 2012-07-26 15:09:32 -04:00
Justin Spahr-Summers 1f83f00787 Don't force antialiasing or SPAA one way or the other in NSTextView+TUIExtensions -- let the running OS use its defaults.
This enables SPAA on Mountain Lion, and _should_ disable it on Lion (the latter is untested, though).
2012-07-25 23:56:41 -07:00
Justin Spahr-Summers ebbd8acec4 Remove TUIAnimationManager 2012-07-25 08:36:19 -07:00
Justin Spahr-Summers 3b648aff83 Remain 10.6-compatible in NSTextView+TUIExtensions 2012-07-24 19:32:20 -07:00
Justin Spahr-Summers 5d38a0fc74 Gah, fix indentation style in NSTextView+TUIExtensions and TUIAnimationManager 2012-07-22 20:23:36 -07:00
Justin Spahr-Summers d866028542 Disable NSTextField/NSTextView SPAA for the time being, since it seems to stop working when focus is lost 2012-07-22 20:22:13 -07:00
Justin Spahr-Summers 5628211875 Add an autorelease pool around +[TUIAnimationManager load], even though it's not strictly necessary 2012-07-18 02:13:42 -07:00
Justin Spahr-Summers b36c83e922 Added an NSTextView category to disable blurriness issues when scrolling 2012-07-18 01:15:04 -07:00
Justin Spahr-Summers 36c8c385c3 Added TUIAnimationManager, to forcibly disable implicit AppKit animations 2012-07-18 01:13:51 -07:00
Justin Spahr-Summers 9c3fbb0848 Make sure to return [NSNull null] in -[TUIView runActionForLayer:forKey:]'s recursive case too 2012-07-17 17:21:11 -07:00
Justin Spahr-Summers ec0b4b40b3 Added TUICAAction, which will handle animation of NSViews nested within TwUI 2012-07-17 17:11:59 -07:00
Justin Spahr-Summers 9f491228bc Added useful CALayer and CATransaction extensions from bitswift/Velvet 2012-07-17 16:43:38 -07:00
joshaber c85ebc5b41 added TUIPopover 2012-04-13 11:51:37 -04:00
joshaber 33588842d3 more ARC fixes 2012-04-09 14:48:54 -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
Danny Greg 6378b91303 Merge branch 'dev' of github.com:github/twui into dev 2012-04-03 19:45:15 +01:00
Danny Greg 476cc73a31 Change how we calculate height for a group of text. Previous to this changes, we would unecessarily add height when the frame contained multiple lines of text. 2012-04-03 19:43:18 +01:00
joshaber d2f0c49c7c fixed a potential underflow 2012-04-02 13:11:50 -04:00
joshaber 194c39e878 allocate all the line origin arrays in the heap instead of the stack
it's much safer and less likely to smash the stack if you're dealing
with a large frame
2011-12-20 14:17:38 -05:00
Justin Spahr-Summers fac056b03c ARC migration, baby.
Conflicts:

	TwUI.xcodeproj/project.pbxproj
2011-11-12 17:44:11 -08:00
Justin Spahr-Summers a55ab10bdd Fix ARC precheck warnings in CoreText additions 2011-11-12 17:43:39 -08:00
joshaber e77049c59c only get the line bounds after we know we want that line 2011-11-10 10:54:10 -08:00
joshaber 91f061b065 corrected the height calculation for CTFrame 2011-11-08 11:20:36 -08:00
joshaber cf4d1c6c1d fixed a bug with determining the height of the first line 2011-09-27 15:51:38 -07:00
joshaber 1a000d807a use a better line height measurement that takes into account line spacing 2011-08-25 12:38:20 -04:00
joshaber 952bac2ce5 added a CTLine rect aggregation type for AB_CTFrameGetRectsForRange and made AB_CTFrameGetSize more correct especially for long strings 2011-07-08 12:45:47 -07:00
Loren Brichter 2a704ca1fb TwUI 0.1 2011-07-01 14:18:11 -04:00