Commit Graph

424 Commits

Author SHA1 Message Date
Kiel Gillard 6bef313937 Feedly accounts now refresh their access tokens on initialisation. 2019-11-07 18:55:05 +11:00
Maurice Parker 560f36621f Add IconImage to encapsulate our icon processing logic 2019-11-05 18:05:57 -06:00
Brent Simmons 14fbf612c1 Set up 5.1d1 testing things: new appcast URL, build # 3000. 2019-10-26 20:58:40 -07:00
Brent Simmons 4cb602f24a Merge mac-release. 2019-10-26 12:44:33 -07:00
Brent Simmons 759f89ec84
Merge pull request #1170 from Wevah/row-swipe-icons
Use glyphs from SF Symbols for table row swipe actions
2019-10-26 12:25:22 -07:00
Brent Simmons f8c9f94ced
Merge pull request #1183 from danielpunkass/caches-directory
Use the NSCachesDirectory default location, which for sandboxed build…
2019-10-26 12:23:58 -07:00
Daniel Jalkut 030d86c1b7 Use the NSCachesDirectory default location, which for sandboxed builds will end up inside our sandbox container. 2019-10-26 14:42:11 -04:00
Daniel Jalkut 2903e4507b Remove references to WebKit preferences that are not pertinent in 10.15. 2019-10-26 14:23:44 -04:00
Daniel Jalkut 1fd55ab846 Remove an unused outlet for enableWebInspectorMenuItem 2019-10-26 14:21:00 -04:00
Brent Simmons f8376b807a Restore two-step process for OPML exporting. 2019-10-24 21:12:58 -07:00
Brent Simmons 1c06eb27e8 Create separate private extension. Make misc. code formatting changes to match current thinking. 2019-10-23 22:33:21 -07:00
Brent Simmons 6f29497ec8 Move NSTextFieldDelegate conformance to separate extension.
Handle the optional nil case in controlTextDidChange.
2019-10-23 22:27:08 -07:00
Brent Simmons c01b2c6269
Merge pull request #1145 from Wevah/add-folder-button-fix
Disable "Add Folder" button when the text field is empty
2019-10-23 22:22:12 -07:00
Brent Simmons 06b0e35739 Move Protocol declaration to top of ExportOPMLAccessoryViewController.swift. As critical API, it needs to be easy to spot.
Create separation extensions — one for protocol conformance, one for private methods — ExportOPMLController.

Make minor code formatting change: instead of { return } — which is hard to set a breakpoint on — move the return to its own line.

Remove an internal access qualifier, since internal is default and implied.
2019-10-23 22:00:14 -07:00
Nate Weaver 4b1a19360c Use glyphs from SF Symbols for table row swipe actions
(Thin font weight.)
2019-10-23 15:05:12 -05:00
Maurice Parker 8c8ab39b0c Change the local account icon 2019-10-23 14:21:55 -05:00
Daniel Jalkut 8e37881ed8 Protect against unrecognized protocol errors when building for MAC_APP_STORE or TEST. 2019-10-22 19:44:06 -04:00
Daniel Jalkut 471c8ce667 Switch to SPUUpdater and establish our own single instance of this updater in the app delegate. If we're building for App Store or a TEST build, don't even initialize Sparkle. 2019-10-22 19:33:00 -04:00
Maurice Parker e80a5f92bb Readd the SUUpdater code 2019-10-22 16:42:17 -05:00
Maurice Parker d4816506f2 Disable sparkle for test builds 2019-10-22 16:13:08 -05:00
Nate Weaver 37e77a9596 Make delegate-less init() fail since a delegate is currently required 2019-10-22 12:14:38 -05:00
Nate Weaver e7278017d9 Forgo notifications entirely, and use a delegate instead 2019-10-22 12:14:38 -05:00
Nate Weaver a762052264 Don't use block-based notification observing 2019-10-22 12:14:38 -05:00
Nate Weaver 7e98869080 Use an accessory view instead of an intermediate sheet for OPML export 2019-10-22 12:14:38 -05:00
Ryan Dotson 48fb3ebc18 Curled some quotes 2019-10-22 19:58:05 +09:00
Daniel Jalkut b8e1fb1ab4 Omit the Advanced preferences tab from MAS build. 2019-10-21 18:47:06 -04:00
Daniel Jalkut d5c6ea253e Fix the sandbox migration script to properly reference NetNewsWire. 2019-10-21 11:16:01 -04:00
Daniel Jalkut 272af29031 First step towards supporting MAS and sandboxing. Add new targets for MAS variations of direct-distribution apps. Enable sandboxing in both targets. 2019-10-21 10:22:27 -04:00
Maurice Parker 00f100e3a3 Renamed TimelineStringFormatter to ArticleStringFormatter now that it is used for much more than the timelines 2019-10-20 02:28:00 -05:00
Nate Weaver b5d7ce8e8c Disable "Add Folder" button when the text field is empty 2019-10-19 12:31:47 -05:00
Brent Simmons 74b1d56cbf Merge branch 'mac-release' 2019-10-18 17:38:22 -07:00
Brent Simmons a11e900a93 Get the y scroll position in the detail view using window.pageYOffset instead of document.body.scrollTop. It appears the latter may be broken — at any rate, it just returns 0 on Catalina. (On Mojave, use the same method as before, so as not to risk a regression.) 2019-10-18 17:37:56 -07:00
Brent Simmons 1d45796220 Merge mac-release. 2019-10-17 22:11:35 -07:00
Brent Simmons 56fab24cec Make importing NetNewsWire 3 subscriptions a one-step process — use an accessory view in the NSOpenPanel. Also: refactor to use immutable structs instead of classes; use static methods on structs; reduce API surface; don’t flatten sub-folders (let the OPML importer handle the flattening, which it already does). 2019-10-17 13:25:11 -07:00
Maurice Parker 51373885b4 Change javascript event handlers to use event.target.matches instead of walking the dom to install event handlers 2019-10-15 09:04:21 -05:00
Maurice Parker 9e18361043 Merge branch 'mac-release' 2019-10-14 20:59:26 -05:00
Maurice Parker 19145505c5 Add the ability to import NNW 3 Subscription plist files. Issue #1129 2019-10-14 20:45:58 -05:00
Brent Simmons 427c0da0d3 Fix build error in FetchRequestQueue. 2019-10-13 22:19:49 -07:00
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 c5e0d96adb Merge changes from mac-release, including performance fix. 2019-10-13 19:08:27 -07:00
Maurice Parker a1f26898c8 Split Mac and iOS specific javascript into individual files. 2019-10-13 15:47:11 -05: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
Maurice Parker ee1f26899c Add Test build configuration 2019-10-11 17:38:01 -05:00
Maurice Parker a3a694333a Disable Sparke's check for updates on DEBUG builds 2019-10-11 15:07:41 -05:00
Brent Simmons cc9a9435d7 Add provisioning profile. On Signing 7 Capabilities, import provisioning profile. 2019-10-09 21:51:13 -07:00
Phil Dokas 31c1dc40e3 Fix leading for super and subscript in the article view 2019-10-08 22:15:49 -07:00
Maurice Parker f7e235a1fb Remove padding from code blocks that was causing weird indentation 2019-10-07 11:05:22 -05: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 e4134c3256 Add iCloud capability. 2019-10-06 16:53:02 -07:00
Kiel Gillard 6707fdcbd1 Double clicking a feed in the side bar opens the feed's homepage in the browser. Issue #1099 2019-10-05 11:44:21 +10:00