Brent Simmons
31a2afb067
Fix crashing bug in FetchRequestQueue by making sure the completion is called not more than once from FetchRequestOperation. Fix #1133 .
2019-10-13 22:08:05 -07:00
Brent Simmons
fcb0f0c439
Remove a no-longer-used Account.update function — we have a new one that’s way faster. Also: assert that we’re in the main thread in that new update function.
2019-10-13 19:23:36 -07:00
Brent Simmons
1d0cacd5fc
When syncing, update the database by articleIDs rather than by feeds — this means *far* fewer fetches and much less data pulled from the database. It should help app responsiveness dramatically during sync, and especially during an initial sync.
2019-10-13 19:02:56 -07:00
Brent Simmons
099172d9d2
Empty the database articles cache when NetNewsWire moves to the background. This helps prevent the cache from growing forever.
2019-10-12 15:06:21 -07:00
Brent Simmons
fae21082b0
Merge pull request #1110 from correia/bug-1108
...
The Debug menu can now be enabled in release builds.
2019-10-06 21:22:58 -07:00
Jim Correia
be89df884d
The Debug menu can now be enabled in release builds.
...
`defaults write com.ranchero.NetNewsWire-Evergreen ShowDebugMenu -bool YES`
Toggling the Web Inspector uses SPI, so it's always excluded from the Debug
menu when building for the Mac App Store.
2019-10-06 17:56:53 -07:00
Brent Simmons
50276233d1
Add feeds all in one go when processing Feedbin subscriptions. This is a performance enhancement.
2019-10-06 12:37:46 -07:00
Brent Simmons
1613a374d2
Update version number.
2019-09-30 13:33:52 -07:00
Brent Simmons
098128fd0a
Use new Slack group URL with Help menu command. Fix #1087 .
2019-09-29 22:46:40 -07:00
Brent Simmons
27478b0f6f
Make r and u both just toggle read status. Update keyboard shortcuts HTML documentation to match.
2019-09-29 22:44:32 -07:00
Brent Simmons
b62a7afa10
Add keyboard shortcut for toggling starred status — s key. Fix #875 .
2019-09-29 22:34:31 -07:00
Brent Simmons
0f362b7680
Update RSDatabase.
2019-09-29 17:01:20 -07:00
Brent Simmons
37c9818cad
Create and use a cache for DatabaseArticle — this will make fetches faster, since we can skip pulling the same data from the database over and over. Articles in the cache are removed when articles are updated, so the cache is never stale.
2019-09-28 13:51:33 -07:00
Brent Simmons
2b491217f3
Create statusWithRow(_ row: FMResultSet, articleID: String) — it allows us to avoid pulling articleID from the row twice every time we’re creating a DatabaseArticle.
2019-09-28 12:18:08 -07:00
Brent Simmons
d7b45a1413
Change parseDatePublished() to a lazy var parsedDatePublished — it appeared that it was getting called more than once, and date parsing is expensive. Also: use RSDateWithString rather than an NSDateFormatter, since NSDateFormatter is so massively slow.
2019-09-27 23:01:31 -07:00
Brent Simmons
07a631309c
Update RSWeb.
2019-09-27 22:59:15 -07:00
Brent Simmons
cca3089218
Update RSParser.
2019-09-27 21:56:16 -07:00
Maurice Parker
90834fe6b1
Delete conditional get information for taggings if it looks like Feedbin may have renamed a folder. Issue #1050
2019-09-26 11:35:07 -05:00
Maurice Parker
c4ee1edb69
Add externalID to Folder and persist it to OPML file. Issue #1060
2019-09-25 17:01:09 -05:00
Maurice Parker
08a8b8f6c2
Update to Swift 5.1
2019-09-25 15:32:30 -05:00
Maurice Parker
505a7d5149
Merge pull request #1039 from Wevah/web-inspector-outlet-fix
...
Remove enableWebInspectorMenuItem outlet
2019-09-22 18:17:42 -05:00
Nate Weaver
0c99a5f523
Remove enableWebInspectorMenuItem outlet
...
Fixes a console warning about the removed property.
2019-09-22 15:19:23 -05:00
Maurice Parker
cb1ebda28b
Merge pull request #1037 from benubois/resonsive_iframes
...
Make iFrames responsive.
2019-09-20 20:35:58 -05:00
Ben Ubois
cdf643c2a6
Make iFrames responsive.
2019-09-20 17:21:01 -07:00
Maurice Parker
ea13f911f1
Change to ignore unsupported accounts instead of crashing
2019-09-20 11:41:28 -05:00
Maurice Parker
b75f67bc1b
Merge pull request #1035 from Wevah/mac-app-store-hide-web-inspector
...
Disable Web Inspector for App Store builds
2019-09-19 11:45:10 -05:00
Nate Weaver
502f5656b8
Don't hide the Web Inspector menu item since the entire Debug menu is removed for release builds
2019-09-19 11:27:04 -05:00
Nate Weaver
180cc39904
Negate MAC_APP_STORE
...
Oops. (Was un-negated for testing.)
2019-09-19 11:19:25 -05:00
Nate Weaver
4a0bbeacc2
Disable Web Inspector for App Store builds
...
- Hide the "Enable Web Inspector" menu item.
- #if-out notifications/defaults/etc.
- Make toggleWebInspectorEnabled(_) a no-op.
2019-09-19 10:38:17 -05:00
Maurice Parker
9c9517d7d9
Merge pull request #1026 from Wevah/enable-inspector
...
Enable inspector
2019-09-17 14:44:06 -05:00
Maurice Parker
8a8dcde387
Add javascript to remove styling from articles. Issues ##499, #999 , and #947
2019-09-17 14:32:18 -05:00
Nate Weaver
93f7972441
Add some spacing around a comment
2019-09-17 13:58:45 -05:00
Nate Weaver
1e840f3090
Move WebKit "inspector starts attached" user default to AppDefaults
2019-09-17 13:42:18 -05:00
Nate Weaver
4a2724bcc4
Fix comment capitalization
2019-09-17 13:27:11 -05:00
Nate Weaver
0c89bc43c1
Use a bridging header for the Web Inspector API instead of KVC
2019-09-17 06:55:55 -05:00
Nate Weaver
4f405009f5
Use a selector instead of a block for the notification observation
2019-09-17 05:04:05 -05:00
Nate Weaver
e39fa31bf7
Add a menu item to the Debug menu to enable the Web Inspector
...
Just enables the "Inspect Element" item in a WKWebView's contextual menu at the moment.
2019-09-17 05:04:05 -05:00
Brent Simmons
66d9333999
Make minor code formatting changes so that TimelineViewController matches our current thinking. Also delete some commented-out and unused code.
2019-09-16 22:27:17 -07:00
Brent Simmons
f7c9cc1dbd
Remove no-longer needed machinery for updating the timeline on dark-mode/light-mode appearance changes.
2019-09-16 22:09:58 -07:00
Brent Simmons
a05fd61085
Merge branch 'imagecache' into mac-release
2019-09-16 20:07:31 -07:00
Brent Simmons
2d22f061a5
Remove no-longer-needed functions for compositing the avatar on a background.
2019-09-16 20:07:07 -07:00
Brent Simmons
a225d52ba3
Use the new TimelineAvatarView instead of an NSImageView in TimelineTableCellView.
2019-09-16 20:01:30 -07:00
Brent Simmons
506b621e5d
Draw the avatar background in TimelineAvatarView only if the icon is too short vertically.
2019-09-16 20:00:32 -07:00
Brent Simmons
2f9f4e263c
Restore color for light avatar background.
2019-09-16 19:59:33 -07:00
Maurice Parker
1d7cbe5596
Fix super wide div's. Issue #1010
2019-09-16 18:12:56 -05:00
Maurice Parker
0458fd3838
Delete avatar and favicon image caches every three days
2019-09-16 16:26:40 -05:00
Brent Simmons
8a2d1f5f6a
Create TimelineAvatarView, which draws the background for images that need it.
2019-09-15 23:02:13 -07:00
Maurice Parker
7c3c78b796
Remove debug print statement
2019-09-15 04:08:10 -05:00
Maurice Parker
dc67c9f03b
Update to latest RSCore
2019-09-15 04:06:24 -05:00
Maurice Parker
20dda3727b
Change to use the scaled avatar version of the favicon.
2019-09-15 04:05:11 -05:00