Commit Graph

1325 Commits

Author SHA1 Message Date
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
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
Brent Simmons b7e9fbf2a6 Stop saving account’s unread count to disk — no need. It gets calculated at startup plenty fast enough. 2018-09-13 21:25:35 -07:00
Maurice Parker f8f268f55f Enabled sidebar to scroll to current selection when using the read next unread function. Issue #201 2018-09-13 15:36:07 -05:00
Maurice Parker 7c37ed5d88 Changed the Mark as Read toolbar item to toggle back and forth between read and unread states. Issue #46. 2018-09-13 15:00:33 -05:00
Maurice Parker d34e5916ad Enabled "Add to Feeds" button on Feed Directory. Issue #105 2018-09-13 10:04:20 -05:00
Maurice Parker 3a4abb6d6e Rolledback changes to the Feed List (directory) window. 2018-09-13 07:15:26 -05:00
Brent Simmons cd8c7a2b0c Update RSDatabase. 2018-09-12 22:41:12 -07:00
Brent Simmons 4bc6c7d5db Start using ODB code with Account. Store the unread count in the settings database. 2018-09-12 22:28:21 -07:00
Maurice Parker ab8ef65962 Implemented the add feed functionality on the feed directory window. Issue #105 2018-09-12 22:23:23 -05:00
Brent Simmons 586d10bfa4 Update RSParser. 2018-09-10 23:03:49 -07:00
Brent Simmons 3243c8dd4d Give detail URL status bar a dark background color when in dark mode. 2018-09-10 23:03:24 -07:00
Brent Simmons 25ff76e1e5 Fix a performance bug when fetching all unread articles. When validating unread counts, it was looping through the entire set of articles once per feed. Now it loops through articles just once, for a major performance boost with lots of feeds and/or lots of unread articles. 2018-09-10 22:08:38 -07:00