Commit Graph

609 Commits

Author SHA1 Message Date
Brent Simmons ed94887464 Turn off drawing grid lines in the timeline. 2018-02-23 22:21:48 -08:00
Brent Simmons 5d756d6a20 Fix layout bug with 1-line title and 0-line summary. 2018-02-23 22:20:59 -08:00
Brent Simmons c5742d0242 Use separate text field for title, summary, and text-only in the timeline. 2018-02-23 22:15:35 -08:00
Brent Simmons d3846a6a37 Continue progress toward variable row heights. 2018-02-21 22:48:34 -08:00
Brent Simmons ab6d232377 Start work on multiline text measurement. 2018-02-20 22:32:14 -08:00
Brent Simmons c9df252f9a Remove TimelineCellData attributed string properties that are no longer needed. 2018-02-20 13:06:35 -08:00
Olof Hellman 71005b56af support for "make new feed" 2018-02-20 00:26:46 -08:00
Brent Simmons b52c82e8b6 Make no-selection-view’s background color white. 2018-02-19 22:20:23 -08:00
Brent Simmons b39bcd9a77 Remove RSTextDrawing and all references to it. 2018-02-19 22:06:36 -08:00
Brent Simmons 08b9a56ab3 Don’t show text in the timeline when there’s a title. 2018-02-19 22:06:24 -08:00
Brent Simmons 1614416fe0 Don’t show summary text in the timeline if it’s just “Comments.” (As in Hacker News.) 2018-02-19 22:05:47 -08:00
Brent Simmons 389f04bcfb Make the selected text in the timeline white. 2018-02-19 21:49:32 -08:00
Brent Simmons 12575901ec Use an NSTextField to draw the title in the timeline. 2018-02-19 21:26:15 -08:00
Brent Simmons 83f97cf118 Add one pixel between rows so that the grid can draw. 2018-02-19 21:25:56 -08:00
Brent Simmons 28f001b3ed Make the summary text start right after the title rather than on the next line. 2018-02-19 21:25:32 -08:00
Brent Simmons 6e875888c4 Reenable the code that draws the grid in the timeline. 2018-02-19 21:25:11 -08:00
Brent Simmons 7ed83994d0 Turn drawGrid back on. Make avatars 64 its instead of 48. They’re more legible at this size. 2018-02-19 21:24:33 -08:00
Brent Simmons 127dd24016 Create and use MultiLineTextFieldSizer for sizing the title/text field in the timeline. 2018-02-19 20:28:00 -08:00
Brent Simmons 6d46b44e22 Remove no-longer-used RSSingleLineView and RSSingleLineRenderer. 2018-02-19 16:00:26 -08:00
Brent Simmons f11604df48 Switch to using NSTextField for timeline date and feed name views. 2018-02-19 15:56:15 -08:00
Brent Simmons d8b4371144 Make sidebar status view use same background color as source list. 2018-02-18 22:13:20 -08:00
Brent Simmons 1ba2306b9c Show no-selection or multiple-selection text in the detail view when appropriate. 2018-02-18 21:49:46 -08:00
Brent Simmons 2bb3d5c6ca Draw a light background for the no-content-view. 2018-02-18 20:37:51 -08:00
Brent Simmons 04694cef4c Tweak timeline font sizes a bit. 2018-02-18 20:28:31 -08:00
Brent Simmons 2bc89abc0c Give the source list an almost-white background color, because favicons are created with the expectation of a white background, and they look way better this way than on a visual effects background.
Plus, that blue source list thing has been so tired for so long.
2018-02-18 20:13:47 -08:00
Brent Simmons 07aa49d51d Bump version to 1.0d39. 2018-02-18 16:59:58 -08:00
Brent Simmons 2496f57af4 Tweak some colors. 2018-02-18 16:57:09 -08:00
Brent Simmons 3d5be1022c Define a textOnlyColor for when an article has no title. 2018-02-18 16:13:58 -08:00
Brent Simmons 0ad41358fc Rewrite much of the timeline cell layout code. Move avatars to the right. 2018-02-18 15:13:47 -08:00
Brent Simmons 1e250839c3 Remove some commented-out code. 2018-02-18 13:01:34 -08:00
Brent Simmons 994426ffa1 Make drawing the grid in the timeline a DB5 option. 2018-02-18 13:00:54 -08:00
Brent Simmons 24db26777f Release 1.0d38. 2018-02-18 12:45:18 -08:00
Brent Simmons 3731648d57 Mark articles starred/unstarred via contextual menu in the timeline. 2018-02-18 12:09:13 -08:00
Brent Simmons 3894a9ea14 Add a private extension to TimelineTableCellView. 2018-02-17 22:37:33 -08:00
Brent Simmons ad600884fc Skip drawing a light gray background for unloaded (or nonexistent) avatars in the timeline. 2018-02-17 22:29:40 -08:00
Brent Simmons 203637b30e Show a star in the timeline for starred articles. 2018-02-17 22:23:36 -08:00
Brent Simmons e789130248 Start work on laying out the star in the timeline cell. 2018-02-17 21:46:19 -08:00
Brent Simmons c0d7a87231 Do misc. minor cleanups in SidebarViewController. 2018-02-17 21:08:36 -08:00
Brent Simmons 39afef3db8 Darken the split view divider by just a smidge. 2018-02-17 21:01:32 -08:00
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 95268db09b Use CoalescingQueue with the refresh progress indicator in the sidebar. 2018-02-17 18:10:00 -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 7bcb8f7d12 Use appDelegate’s coalescing queue for reloading visible cells. 2018-02-17 15:16:30 -08:00
Brent Simmons d1137b7192 Use appDelegate’s coalescing queue for updating the dock badge. 2018-02-17 15:15:53 -08:00
Brent Simmons 1a5c9d130d Use appDelegate’s coalescing queue for fetching unread counts for smart feeds. 2018-02-17 15:15:26 -08:00
Brent Simmons 9e860321bd Add a short duration (0.05 seconds) coalescing queue to AppDelegate for the rest of the app to use. 2018-02-17 15:14:48 -08:00
Brent Simmons 8e18c85b58 Remove no-longer-valid comment. 2018-02-17 12:36:18 -08:00
Brent Simmons c048b6bea0 Delete now-unused data source methods from TimelineViewController.. 2018-02-17 12:29:57 -08:00
Brent Simmons 673686ca68 Create TimelineDataSource as part of making TimelineViewController less big. 2018-02-17 12:21:15 -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 e1a51b8acd When updating a timeline that’s already displaying, merge articles by articleID, so that updated versions replace older versions. 2018-02-16 21:21:27 -08:00
Brent Simmons dbab809420 Hide the detail status bar view at first. Fix #348. 2018-02-16 21:08:34 -08:00
Brent Simmons d081f041f8 Skip group rows when going to next unread. Fix #273. 2018-02-15 17:50:31 -08:00
Brent Simmons 22d335d4ad Bump version number. 2018-02-14 13:21:40 -08:00
Brent Simmons 71e38bfb3b Update the copyright date in Info.plist, which fixes it in the About box. 2018-02-14 13:18:47 -08:00
Brent Simmons 2f21dbf6be Remove extraneous get { from a bunch of read-only accessors. 2018-02-14 13:14:25 -08:00
Brent Simmons 0762074e91 Support display of articles in the timeline from multiple items selected in the sidebar. As a side effect: fix #295. 2018-02-12 22:13:37 -08:00
Brent Simmons f2228120b5 Make SidebarOutlineDataSource a separate object. Move data source methods out of SidebarViewController. 2018-02-12 22:02:51 -08:00
Brent Simmons e773df33e3 Start work on saving main window state. 2018-02-12 13:31:43 -08:00
Brent Simmons 9adf047525 Add Donate to App Camp for Girls menu item to the Help menu. It opens the browser to https://appcamp4girls.com/contribute/
Fix #181.
2018-02-12 13:10:13 -08:00
Brent Simmons 09b8cd7811 Support the Copy command in the timeline. Fix #114. 2018-02-12 13:04:07 -08:00
Brent Simmons 81e56ba84b Implement and validate the Copy command for the sidebar. Fix #115. 2018-02-11 22:10:28 -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
Brent Simmons 84a8cb1a0e Punt font size till after 1.0. 2018-02-11 18:58:01 -08:00
Brent Simmons b43670b747 Disallow blurring behind the title bar, since it’s buggy. It doesn’t always update the blur when the content changes — it appears to wait for a scroll. This can lead to a blur of the selection color under the title bar when it doesn’t make sense. 2018-02-11 18:06:06 -08:00
Brent Simmons 46e0f781f8 Skip clearing undo stack when timeline view changes articles. Fix #341. 2018-02-11 17:45:02 -08:00
Brent Simmons 2495a882ee Make the buttons at the bottom of the Feed Directory not change their width on window resize. 2018-02-11 17:42:58 -08:00
Brent Simmons f72da562e0 Fix disclosure triangle padding in the Feed Directory. Implement the Open Home Page command. 2018-02-11 17:14:09 -08:00
Brent Simmons ddf57944be Remember the Feed Directory window’s frame between runs. 2018-02-11 17:13:34 -08:00
Brent Simmons 263fc50c38 Make progress on the Feed Directory window. 2018-02-11 16:20:46 -08:00
Brent Simmons 3262a7a8fc Skip downloading feeds for the Feed Directory, since feed previews have been punted to after 1.0. 2018-02-11 16:19:53 -08:00
Brent Simmons 8060f1ccd6 Remove feed preview view from Feed Directory. Punted that till after 1.0. Also: made the Feed Directory window vibrant dark. Gratuitously. 2018-02-11 15:15:52 -08:00
Brent Simmons f8e4fb4f1c Bump version number. 2018-02-11 14:30:48 -08:00
Brent Simmons c8d2fac9a6 Rename MarkReadOrUnreadCommand to MarkStatusCommand and make it handle starring/unstarring and deleting/undeleting. Also: add contextual menu for smart feeds in the sidebar. 2018-02-11 12:59:35 -08:00
Brent Simmons a13d21395e Fetch starred articles for the Starred smart feed. 2018-02-11 12:07:55 -08:00
Olof Hellman f563c2f78e Merge remote-tracking branch 'brentsimmons/master' 2018-02-11 01:20:38 -08:00
Olof Hellman 43cfb54437 support for permalink and external url
Consolidate GetURL AppleEvent handling into AppDelegate+Scriptability
file
Add scripting access groups to sdef
Add exists command
Add ‘permalink’ and ‘external url’ properties to the article scripting
object
Add a unit test to verify the behavior of ‘current article’
2018-02-11 01:20:30 -08:00
Brent Simmons 5aeb914ab6 Fetch articles for the Today smart feed. 2018-02-10 17:37:47 -08:00
Brent Simmons d6d2b8d26c Remove Action item from the toolbar. Fix #337. 2018-02-10 15:49:58 -08:00
Brent Simmons 3e60f929a2 Add stubs for fetching articles for starred and today feeds. 2018-02-10 13:22:02 -08:00
Brent Simmons f5bfadfb33 Make the UnreadFeed conform to ArticleFetcher. It now displays articles in the timeline when selected. 2018-02-10 13:00:53 -08:00
Brent Simmons 9ac2d7d033 Create a WKWebView subclass (ugh) in order to hide items in its contextual menu. Fix #120. 2018-02-10 11:16:09 -08:00
Brent Simmons d46ae4df33 Add contextual menu to timeline. 2018-02-09 23:16:12 -08:00
Brent Simmons 46cae22987 Use the menu.takeItems method. 2018-02-09 22:10:52 -08:00
Brent Simmons 68d81b7581 Rearrange toolbar to put search closer to timeline. 2018-02-09 21:58:42 -08:00
Brent Simmons 582fd62080 Start work on timeline contextual menus. 2018-02-08 13:24:43 -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 765a91dd34 Restore selection in timeline after reload due to font size change. 2018-02-07 21:48:51 -08:00