Commit Graph

685 Commits

Author SHA1 Message Date
Maurice Parker d15dbe18ef Change AppDefaults to be final classes on macOS and iOS 2020-07-02 05:36:23 -05:00
Stuart Breckenridge a57f98e4e7 NetNewsWire-Mac AppDefaults is now a singleton 2020-07-02 11:17:38 +08:00
Stuart Breckenridge 1f6f5fa054 Adds Mac Preferences
This makes use of `@AppStorage` for preferences. Severeral more need to migrated from AppDefaults etc.
2020-06-29 21:04:50 +08:00
Maurice Parker 67c0e00957 Make multiplatform compile shared app resources 2020-06-28 03:05:01 -05:00
Maurice Parker 9a82d2e233
Merge pull request #2121 from rizwankce/fix/in-app-browser-shortcut
fix open in app browser for mac and iOS
2020-05-29 10:13:07 -05:00
Rizwan Mohamed Ibrahim d671029828
refactor open in app browser for mac and iOS 2020-05-29 19:26:20 +05:30
Rizwan Mohamed Ibrahim eb7ac0f076
fix open in app browser for mac and iOS 2020-05-29 15:44:32 +05:30
Nate Weaver 1b344be2c2 Add some documentation comments 2020-05-28 17:03:28 -05:00
Nate Weaver 36b4907e90 Put the default browser popup under "Web pages:" 2020-05-28 16:57:06 -05:00
Nate Weaver 0da3372b6d Fix Preferences xib and Browser.swift after rebase 2020-05-25 21:32:56 -05:00
Nate Weaver 41d96be8b4 Revert toolbar item updating 2020-05-25 21:25:52 -05:00
Nate Weaver 40b68f6ec6 Revert "Update "Open in Browser" menu item title as well"
This reverts commit 4b2fe7789895993a8bb0e034703bbb7c5a99f6d8.
2020-05-25 21:25:52 -05:00
Nate Weaver baf2dcf0c7 Update "Open in Browser" menu item title as well 2020-05-25 21:24:50 -05:00
Nate Weaver 1ab17b2574 Add a preference for the browser to use to open articles
- Selectable in General Preferences
- Toolbar item now updates to show the browser's icon
2020-05-25 21:24:49 -05:00
Nate Weaver 0c2d057860 Add defaultBrowserID user default and make the appropriate toolbar item use that browser's icon 2020-05-25 21:19:50 -05:00
Nate Weaver b8220d3a9c Show the current default browser in the "Open in Browser" toolbar item 2020-05-25 21:19:29 -05:00
Brent Simmons 64eec7ad6b
Merge pull request #2100 from Wevah/open-in-background-inversion
Make shift key invert the "open in background" preference
2020-05-23 16:06:47 -07:00
Martin Nash 3e48be050e Updated function name to openInBrowserUsingOppositeOfSettings 2020-05-21 22:28:30 -07:00
Martin Nash 834be9edff 2099 | Keyboard shortcut to open in browser in background/foreground contrary to user preference.
- Add openInBrowserAlternate() function
- Add shit-modified entries to to GlobalKeyboardShortcuts.plist to trigger new function
2020-05-20 22:15:00 -07:00
Nate Weaver 82d673851d Tweak constraints, add period 2020-05-20 20:23:13 -05:00
Nate Weaver a38ab12fb3 Add a note about holding the Shift key 2020-05-20 20:14:29 -05:00
Nate Weaver 5cd8dc9d5d Also let the Command key invert the background pref in web views 2020-05-20 20:08:13 -05:00
Nate Weaver 1e1fc06e7b Clean up shift-key checking and add it to more places 2020-05-20 19:59:21 -05:00
Nate Weaver 24338b135e Don't do shift-key detection in Browser 2020-05-20 19:54:25 -05:00
Nate Weaver e79cafc82e Make shift key invert the "open in background" preference
- Also add an appropriate menu item.
2020-05-20 19:41:23 -05:00
Nate Weaver 68da48071a Add "Open Application Support Folder" Debug menu item 2020-05-15 17:29:24 -05:00
Maurice Parker a6b58beac7 Hide the account field for Popular and All reddit types 2020-05-12 14:14:39 -05:00
Maurice Parker fdfd91e53e Change Popular Reddit description 2020-05-12 10:17:58 -05:00
Maurice Parker 8434e7fa1f Add sort option to Add Reddit Feed dialog 2020-05-10 16:19:38 -05:00
Maurice Parker 06e91aa8b7 Add the Add Reddit Feed dialog 2020-05-10 11:44:30 -05:00
Maurice Parker 7ab4ca4291 Delete dead code 2020-05-10 11:04:45 -05:00
Maurice Parker faab33ab2e Save and toggle full screen state. Issue #2053 2020-05-09 14:14:46 -05:00
Jonathan Bennett a37bfd5d74 Adds an account behavior to disable folders
Some sync services (Feed Wrangler) don't support folders. This behavior removes the account from the UI when adding new folders.
2020-05-07 10:03:04 -04:00
Maurice Parker be4691abd0 Use different assets for Snoo when in light vs dark mode 2020-05-06 15:32:05 -05:00
Maurice Parker 5f05e945a8 Added Reddit extension point enablement 2020-05-03 14:10:21 -05:00
Maurice Parker ccd600b880 Make authorize endpoint async 2020-05-03 13:23:36 -05:00
Maurice Parker e681fd6402 Stub out Reddit Feed Provider / Extension Point 2020-05-02 19:38:57 -05:00
Maurice Parker 41a17dfb06 Restrict build button on iOS so that it only appears if Twitter is enabled 2020-05-02 17:21:01 -05:00
Maurice Parker b6a0057439 Fix bug where Unread feed could get filtered even while selected. 2020-05-02 16:44:24 -05:00
Maurice Parker 6ba862244a Add placeholder text for Twitter search 2020-05-02 16:31:42 -05:00
Maurice Parker 7420b607ce Disable the Add Twitter menu item if there are no active accounts 2020-05-02 15:06:59 -05:00
Maurice Parker 3bc4b9e4b2 Hide filter button when searching 2020-05-02 13:25:48 -05:00
Nate Weaver 37f1ebc025 Remove the color parameter as it's no longer needed 2020-05-01 01:45:12 -05:00
Nate Weaver c555646fb2 Add attributed title support in the timeline 2020-05-01 01:42:43 -05:00
Maurice Parker 86fb98c17b
Revert "WIP: Title tags" 2020-04-24 20:24:24 -05:00
Nate Weaver b437ddab5c Move NSAttributedString+NetNewsWire into Shared/Extensions 2020-04-24 18:25:56 -05:00
Nate Weaver fde4f53f42 Documentation comments 2020-04-24 16:20:41 -05:00
Nate Weaver 154e78b0c0 Add a comment about why these constants differ between OSs 2020-04-24 16:20:41 -05:00
Nate Weaver 26415f0c62 Assign multiple attributes in one go rather than one at a time 2020-04-24 16:20:41 -05:00
Nate Weaver df4ea1479a Tweak comment 2020-04-24 16:20:41 -05:00