Commit Graph

4936 Commits

Author SHA1 Message Date
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
Brent Simmons ff2086ccd4 Merge branch 'master' of https://github.com/brentsimmons/NetNewsWire 2018-09-14 19:33:56 -07:00
Brent Simmons 6d2bb123e3 Save conditional GET info in ODB. 2018-09-14 19:33:47 -07:00
Brent Simmons 7b4e096911
Merge pull request #462 from vincode-io/issue-455
Changed the article detail pane to always use the webview. Issue #455
2018-09-14 19:02:54 -07:00
Brent Simmons 4e8409a891 Merge branch 'master' of https://github.com/brentsimmons/NetNewsWire 2018-09-14 19:01:28 -07:00
Maurice Parker 6a8dfa37c7 Added correct label colors for system messages. Issue #455 2018-09-14 20:25:32 -05:00
Maurice Parker 4f2f4a1ef4 Changed the article detail pane to always use the webview even when displaying system messages, for example "No selection" or "Multiple Selection". Issue #455 2018-09-14 20:00:51 -05:00
Brent Simmons 230671a190
Merge pull request #458 from vincode-io/issue-46
Changed the Mark as Read toolbar item to toggle back and forth betwee…
2018-09-14 14:06:54 -07:00
Brent Simmons 40b49c0553
Merge pull request #459 from vincode-io/issue-201
Enabled sidebar to scroll to current selection when using the read ne…
2018-09-14 14:06:39 -07:00
Brent Simmons 3f1f4fd24c Write Subscriptions.opml to disk. 2018-09-14 13:25:38 -07:00
Brent Simmons b8546d8e8b Don't store account.unreadCount in Settings.odb. Don’t rewrite AccountData.plist when feed.contentHash changes. 2018-09-14 13:12:55 -07:00
Brent Simmons aa94bc4c91
Merge pull request #457 from vincode-io/issue-105
Enabled "Add to Feeds" button on Feed Directory. Issue #105
2018-09-14 10:15:52 -07:00
Brent Simmons b065693f75 Stop storing account.unreadCount in Settings.odb. 2018-09-13 22:55:06 -07:00
Brent Simmons 13fbad12a5 Store feed.contentHash in Settings.odb. 2018-09-13 22:52:34 -07:00
Brent Simmons 679e6f6c0b Give Feed a weak account rather than accountID. 2018-09-13 22:37:40 -07:00
Brent Simmons b5b42b8df6 Stop storing unreadCount for Feed and Folder objects on disk, since they’re fast to fetch at startup. Also, give Feed an ODBRawValueTable for metadata storage. 2018-09-13 22:25:10 -07:00
Brent Simmons ce3a90c518 Update RSDatabase. 2018-09-13 21:44:38 -07:00
Brent Simmons 0ac68cf92c Update RSParser. 2018-09-13 21:25:57 -07:00