Commit Graph

1453 Commits

Author SHA1 Message Date
Brent Simmons 796074986d
Merge pull request #484 from vincode-io/issue-225
Added "Select feed in Sidebar" to timeline content menu.  Issue #225
2018-09-26 21:37:05 -07:00
Brent Simmons 7799156823
Merge pull request #485 from vincode-io/issue-328
Added delete to the sidebar context and gear menus.  Issue #328
2018-09-26 21:36:36 -07:00
Brent Simmons a0c1b63889
Merge pull request #486 from vincode-io/issue-367
Sorted articles by publishing date before sharing them.  Issue #367
2018-09-26 21:35:29 -07:00
Brent Simmons 3fdf8b3728 Improve scrolling performance with very large timelines. Reload visible cells only, and minimize the amount of looping through articles in the array. 2018-09-26 21:33:55 -07:00
Brent Simmons 9ad468781d Start work on performance optimization for the timeline view — make looking up a row for an Article faster. 2018-09-26 13:23:21 -07:00
Brent Simmons 33fe733a8e Redo the database indexes, after some trial and error, to get some significant speed boosts in fetching articles and unread counts. 2018-09-25 22:48:47 -07:00
Maurice Parker 3128475640 Sorted articles by publishing date before sharing them. Issue #367 Also fixed issue where mail subject wasn't being set when sharing via the context share menu. 2018-09-25 22:20:59 -05:00
Maurice Parker 89bdcc7a61 Added delete to the sidebar context and gear menus. Issue #328 2018-09-25 21:10:54 -05:00
Maurice Parker d21924ab20 Added "Select feed in Sidebar" to timeline content menu. Issue #225 2018-09-25 19:20:43 -05:00
Brent Simmons d738bff2ad Make stubs for acceptSingleLocalFeedDrop and acceptLocalFeedsDrop. 2018-09-22 21:42:57 -07:00
Brent Simmons a74b2f289d Validate single and multiple local feed drops. Propose an index for single local feed drops. 2018-09-22 21:27:28 -07:00
Brent Simmons 601c95bee7 Get the name from the dragged feed, if present, to use in the add-feed sheet. 2018-09-22 14:57:10 -07:00
Brent Simmons f7ae284b53 Make the On My Mac account node the drop target when the drop target is otherwise invalid — when dropping nonlocal feeds (URLs, etc. from outside). This way you don’t have to be too precise — you can drag anywhere into the sidebar to add a feed. 2018-09-22 14:44:16 -07:00
Brent Simmons 38b824afca Accept drops of a single nonlocal feed — a URL from outside the app, for instance — in the sidebar. Show the add-feed sheet after accepting the drop. 2018-09-22 12:47:19 -07:00
Brent Simmons 6390bd4a57 Add the ability to specify a selected Folder when running the add-feed sheet. 2018-09-22 12:46:24 -07:00
Brent Simmons bcdd9057b2 Validate single non-local feed drop on sidebar. Retarget as needed. 2018-09-22 11:54:02 -07:00
Brent Simmons 47a172fc8b Register for URL and String drag types in the sidebar. 2018-09-21 21:37:44 -07:00
Brent Simmons 819b661898 Normalize URLs when initing PasteboardFeed. Pull URL and String data from a pasteboard item when richer data is not available. 2018-09-21 21:37:20 -07:00
Brent Simmons 7d443955e8
Merge pull request #479 from vincode-io/issue-48
Made window title reflect current sidebar selection.  Issue #48
2018-09-20 14:08:48 -07:00
Brent Simmons 28a7386fd4 Refactor FeedPasteboardWriter and DraggedFeed — add PasteboardFeed. 2018-09-20 13:29:01 -07:00
Brent Simmons 089ffbd299 Make progress on drag and drop. Reads feeds from pasteboard. This needs refactoring, though. 2018-09-19 21:49:13 -07:00
Brent Simmons f29f690625 Start work on drop validation. 2018-09-19 13:22:22 -07:00
Brent Simmons 0a20b26ed5 Remove the internal folder type from the dragged types registration. Since folders can’t be moved inside other folders, we don’t actually accept folder drops. This will have to be revisited once we have multiple accounts, though — you might drag a folder from one account to another. 2018-09-19 13:09:09 -07:00
Maurice Parker 2abd4f34b4 Made a comment clearer. Issue #48 2018-09-19 11:26:19 -05:00
Maurice Parker cef22fc9e7 Made title window title work for PseudoFeeds. Issue #48 2018-09-19 11:15:04 -05:00
Brent Simmons 2769c93c20 Create stub functions for validateDrop and acceptDrop. 2018-09-18 21:53:19 -07:00
Brent Simmons 9e55a4da50 Register the sidebar for the dragged types it accepts. 2018-09-18 21:53:02 -07:00
Brent Simmons 66c9b89a0f Include the feedID when writing a Feed to the pasteboard. 2018-09-18 21:36:31 -07:00
Brent Simmons 350aee6fb1 Disallow dragging of built-in smart feeds. 2018-09-18 21:12:11 -07:00
Maurice Parker 5fc1ce4389 Updated window title display code to take into consideration pseudo feeds. Issue #48 2018-09-18 23:10:11 -05:00
Maurice Parker 9c4f96e611 Modified window title to reflect the current sidebar selection. Issue #48 2018-09-18 21:57:38 -05:00
Brent Simmons 896ff7503d
Merge pull request #463 from vincode-io/issue-461
Added refresh to the dock menu.  Issue #461
2018-09-17 07:32:53 -07:00
Brent Simmons 7026eae899 Skip writing OPML file to disk during startup. Structure-changed notices happen during startup as the object graph is created, but it doesn’t mean that there’s a change that requires saving to disk. 2018-09-16 20:02:24 -07:00
Brent Simmons 1c3dca4d9b Update unreadCount for an Account only when one of its feeds changes its unreadCount. 2018-09-16 19:07:07 -07:00
Brent Simmons a914b3949b Made launch performance *much* faster for large (thousands of feeds) subscriptions list. Also: split container.children in container.topLevelFeeds and container.folders. This simplifies a bunch of things, and makes some things faster. 2018-09-16 17:54:42 -07:00
Brent Simmons f88c58a130 Remove instance of no-longer-needed feed uniquing. 2018-09-16 13:11:54 -07:00
Brent Simmons 6b6d393b3d Delete some dead code. 2018-09-16 13:08:44 -07:00
Brent Simmons 3d45231494 Stop using urlToFeedDictionary. Feeds don’t have to be uniqued. 2018-09-16 13:04:42 -07:00
Brent Simmons f8d6cb48dc Remove instance where Feed equality was expected to be pointer equality, which is no longer true. 2018-09-16 12:46:50 -07:00
Brent Simmons 4010b4cb2a On startup, import from AccountData.plist one last time, then rename it to AccountData-old.plist. On subsequent startups, import using Subscriptions.opml. 2018-09-16 12:42:46 -07:00
Maurice Parker 4b24487b02 Added refresh to the dock menu. Issue #461 2018-09-15 16:07:54 -05:00
Brent Simmons 823d83c942 Write to disk on display-name-change only if it’s a Folder, since Feed names are stored in ODB. 2018-09-15 12:08:57 -07:00
Brent Simmons d0df791b93 Skip writing to disk when feed setting changes, since we’re writing OPML now and storing feed settings in ODB. 2018-09-15 12:06:19 -07:00
Brent Simmons abd8fb2236 Store feed.name and feed.editedName in ODB. 2018-09-15 11:45:01 -07:00
Brent Simmons ce1fe6ed1f Store feed.editedName in ODB. 2018-09-15 11:39:33 -07:00
Brent Simmons 0f59b904ef Store feed.authors in ODB. Make Author Codable. 2018-09-15 11:16:05 -07:00
Brent Simmons 904feb9950 Store feed.homePageURL in ODB. 2018-09-14 22:23:30 -07:00
Brent Simmons fb9590de98 Make feedID and accountID the things that determine hashing and equality for a Feed. 2018-09-14 22:15:22 -07:00
Brent Simmons 47cf018143 Store feed.unreadCount with the Account rather than the feed. This is part of making it so that feeds no longer have to be uniqued. 2018-09-14 22:06:03 -07:00
Brent Simmons 28d084e246 Store iconURL and faviconURL in ODB. 2018-09-14 21:51:05 -07:00