Commit Graph

72 Commits

Author SHA1 Message Date
Brent Simmons
b7e79b5aff Move some functions to where they actually belong in MainWindowController. 2018-02-17 20:58:30 -08:00
Brent Simmons
5e9ae73fcd Remove to unused functions from MainWindowController. 2018-02-17 20:46:33 -08:00
Brent Simmons
5ffe3bb948 Move existingToolbarItem function to NSToolbar category in RSCore. 2018-02-17 20:45:15 -08:00
Brent Simmons
a633c49a6c Move toolbar and sharing service delegates from MainWindowController to separate objects. 2018-02-17 20:33:30 -08:00
Brent Simmons
054c7fb409 Remove unused references to AppNavigationKeyPressed. 2018-02-17 18:26:17 -08:00
Brent Simmons
2325e7edbc Move the isOpen property from specific window controllers to the NSWindowController extension in RSCore. 2018-02-17 18:22:57 -08:00
Brent Simmons
9d39ae2de4 Create and use AppImages.swift for widely-referenced images. 2018-02-17 18:19:25 -08:00
Brent Simmons
58a1a92481 Remove isDisplayingSheet property now that it’s part of an NSWindowController extension. 2018-02-17 18:14:51 -08:00
Brent Simmons
c5ed540194 Use CoalescingQueue.standard instead of one created by AppDelegate. 2018-02-17 17:45:05 -08:00
Brent Simmons
c8fa1b71d9 Create and use a fetchAndMergeArticlesQueue (coalescing queue) for TimelineViewController. 2018-02-17 15:29:55 -08:00
Brent Simmons
b3ea268807 Use appDelegate’s coalescing queue to update toolbar items. 2018-02-17 15:20:07 -08:00
Brent Simmons
21f262e953 Make mark-as-starred menu item work; make it validate; change its name as needed. 2018-02-17 12:01:14 -08:00
Brent Simmons
ce5b60cfe8 Update mark-as-starred toolbar item tooltip during validation. 2018-02-17 10:32:32 -08:00
Brent Simmons
1603d0b3f2 Make progress on the star/unstar command and on updating its toolbar item. 2018-02-16 22:35:04 -08:00
Brent Simmons
e773df33e3 Start work on saving main window state. 2018-02-12 13:31:43 -08:00
Brent Simmons
1aac355418 Make all senders parameters for actions optional — Any? instead of AnyObject or Any. 2018-02-11 18:58:50 -08:00
Olof Hellman
dcd2ee94f9 Merge remote-tracking branch 'brentsimmons/master' 2018-02-08 00:12:33 -08:00
Olof Hellman
395af1420e implement 'current article' property of the application
Also, fix the unique-id based accessors (the four byte code  for id was
wrong in the sdef)
Add valueIn<Key>WithUniqueID accessors
Add a few protocols and protocol implementations for the AppDelegate
and MainWindowControllor so as to expose needed functionality for
scriptability
2018-02-08 00:11:52 -08:00
Brent Simmons
78530dbb96 Change the name of the Show/Hide Sidebar command as needed. Fix #98. 2018-02-07 21:42:33 -08:00
Brent Simmons
2999641572 Move MainWindowController+ContextualMenus to SidebarViewController+ContextualMenus, where it always should have been. 2018-02-04 11:19:24 -08:00
Brent Simmons
27c5ffa5eb Add new-feed and new-folder commands to the sidebar gear menu when there’s no selection. 2018-02-03 21:30:30 -08:00
Brent Simmons
01729378f3 Make further progress on rename sheet. 2018-02-03 18:49:29 -08:00
Brent Simmons
e7ce12869c Disable commands to add a feed or add a folder if the window is already displaying a sheet. Fix #319. 2018-02-03 10:56:12 -08:00
Brent Simmons
50dcf436d9 Change Cocoa imports to AppKit imports, because we don’t need CoreData imported (which Cocoa imports). 2018-02-02 22:51:32 -08:00
Daniel Jalkut
a291f1e93c Merge branch 'fix-toolbar-validation' into xcode9.3 2018-01-29 11:49:47 -05:00
Daniel Jalkut
e4136c2165 Sender should be Any? to reflect the fact it may be nil. This nuance seems to make the difference on Xcode 9.3/Swift 4.1 between crashing or not. Without this change, refreshing crashes every time, presumably because Swift is making assumptions about the parameter being non-nil and refreshProgressDidChange calls it explicitly with a nil parameter. 2018-01-29 11:48:09 -05:00
Daniel Jalkut
d7f13ca4be Change from flatMap to new compactMap rename in Xcode 9.3. 2018-01-29 11:19:54 -05:00
Brent Simmons
b32d45cd60 Add isOpen property to MainWindowController. 2018-01-27 15:04:45 -08:00
Brent Simmons
3ff00b7eb0 Make Go > Today, Unread, Starred commands work. Fix #310. 2018-01-27 12:39:07 -08:00
Brent Simmons
394274f1e5 Continue progress on inspector. 2018-01-21 11:35:50 -08:00
Brent Simmons
c3bcf82713 Make the send-to-Micro.blog command work. Need some tweaking, but it mostly does the job. 2018-01-11 22:18:46 -08:00
Brent Simmons
9ec6188395 Popup a share menu on clicking the Share toolbar item. Fix #40. 2017-12-26 12:50:34 -08:00
Brent Simmons
2dbb0a4988 Validate the Mark Older Articles as Read command. 2017-12-25 12:21:44 -08:00
Brent Simmons
de70a4d539 Clean up. Drop the panic button mark-everywhere-read UI bits, since they’re no longer used. 2017-12-25 10:48:49 -08:00
Brent Simmons
c38b46a29e Implement markOlderArticlesAsRead. Fix #199. 2017-12-25 10:40:06 -08:00
Brent Simmons
1cb2a32b5a Merge branch 'master' of https://github.com/brentsimmons/Evergreen 2017-12-24 10:28:44 -08:00
Brent Simmons
5241f936c0 Use setPointAndSizeAdjustingForScreen for setting size and position of main window on first run. 2017-12-24 10:28:34 -08:00
Brent Simmons
24fb1f0356 Fix infinite loop that could happen on going to next unread. Fix #269. 2017-12-23 22:18:42 -08:00
Brent Simmons
9c249ef6b2 Position the window on first-run exactly once. Opening a second window should not place it in the same position as the first. 2017-12-21 14:47:12 -08:00
Brent Simmons
a4c82739b6 Implement next and previous subscription navigation. Also: on first-run, position and size the window a bit nicer. 2017-12-21 14:43:29 -08:00
Brent Simmons
70000c1d31 Progress on keyboard shortcuts. Add link to Technotes in Help menu. Fix #266. 2017-12-20 21:23:48 -08:00
Brent Simmons
ac3947b164 Continue progress on keyboard shortcuts. 2017-12-20 20:51:17 -08:00
Brent Simmons
85e0a9739d Implement scrollOrGoToNextUnread. 2017-12-20 13:39:31 -08:00
Brent Simmons
6879c172c2 Make a bunch of progress on keyboard commands. 2017-12-20 12:59:31 -08:00
Brent Simmons
6371c0e9d2 Make right-arrow work to go from sidebar to timeline. Make left-arrow work to go from timeline to sidebar. 2017-12-19 15:24:38 -08:00
Brent Simmons
c65757bab3 Delete appInfo stuff — it was confusing and overkill as a UserInfo helper. 2017-12-18 12:34:07 -08:00
Brent Simmons
ef988199cc Make main window title-less again — but allow for a hidden pref to change that: KafasisTitleMode. 2017-12-02 14:54:12 -08:00
Brent Simmons
226a7d05b6 Use 97% white background for source list, since favicons look so very terrible on standard translucent sidebar background. 2017-11-24 22:05:10 -08:00
Brent Simmons
4cf3f8dfe7 Create and use SidebarCellAppearance and SidebarCellLayout with SidebarCell. 2017-11-24 21:39:59 -08:00
Brent Simmons
1288309995 Make window have a title — this allows people to show labels for toolbar items. 2017-11-21 13:12:22 -08:00