Stuart Breckenridge
abcc836c07
[macOS] Updates Import/Export of OPML
...
- Created OPML UTType
- Added OPML as an importable UTI type
- `allowedFileTypes` replaced with `allowed ContentTypes`
- Moved UTType extension to single shared file
- Build flags updated
2023-05-31 16:57:57 +08:00
Stuart Breckenridge
31e783a5f7
Localizes Theme headings for future use
2023-05-27 17:09:25 +08:00
Stuart Breckenridge
ed6ff090be
Merge branch 'ios-ui-settings-localised' into localize_strings
...
# Conflicts:
# Mac/AppDelegate.swift
# Mac/Base.lproj/Preferences.storyboard
# NetNewsWire.xcodeproj/project.pbxproj
# Shared/Localizations/LocalizedNetNewsWireError.swift
# iOS/MasterFeed/MasterFeedViewController.swift
# iOS/Settings/Appearance/ArticleThemeManagerView.swift
# iOS/Settings/Appearance/DisplayAndBehaviorsView.swift
# iOS/Settings/General/SettingsView.swift
2023-05-27 17:00:42 +08:00
Stuart Breckenridge
a2b6fa2a1e
Reinstates themesByDeveloper to ArticleThemesManager
2023-05-27 16:13:32 +08:00
Stuart Breckenridge
5aaae58272
Merge branch 'main' into ios-ui-settings-localised
...
# Conflicts:
# Shared/ArticleStyles/ArticleThemesManager.swift
2023-05-27 15:26:03 +08:00
Maurice Parker
3a2b05ca96
Merge branch 'theme_reloading_fix' of https://github.com/vincode-io/NetNewsWire into theme_reloading_fix
2023-04-19 18:57:44 -05:00
Stuart Breckenridge
bb48e60068
Merge branch 'main' into ios-ui-settings-localised
2023-04-06 17:45:18 +04:00
Brent Simmons
402c5e7bbb
Continue adopting @MainActor.
2023-04-05 09:24:43 -07:00
Maurice Parker
5bde27c9eb
Fix framework imports
2023-04-01 21:43:46 -05:00
Maurice Parker
e43e770f4a
Fix automatic theme reloading
2023-04-01 19:55:32 -05:00
Stuart Breckenridge
6efed337db
Merge branch 'main' into localize_strings
...
# Conflicts:
# Mac/MainWindow/AddFeed/AddTwitterFeedWindowController.swift
# Mac/MainWindow/MainWindowController.swift
# NetNewsWire.xcodeproj/project.pbxproj
# Shared/ArticleStyles/ArticleTheme.swift
# iOS/Add/AddFeedViewController.swift
# iOS/Add/Twitter/TwitterEnterDetailTableViewController.swift
# iOS/Article/ArticleViewController.swift
# iOS/MasterFeed/MasterFeedViewController.swift
2023-02-10 09:26:05 +08:00
Stuart Breckenridge
e91a20333a
Named the theme tuple for clarity
2023-02-09 17:41:39 +08:00
Stuart Breckenridge
7fd85f5ead
Moves theme separation code to ArticleThemeManager
...
This cherry picks a change that is in ArticleThemeManager for macOS so that the theme pickers are using the same code to separate themes.
2023-02-09 17:29:48 +08:00
Stuart Breckenridge
3e9bc42df9
Merge branch 'main' into ios-ui-settings-localised
...
# Conflicts:
# NetNewsWire.xcodeproj/project.pbxproj
# Shared/Timer/AccountRefreshTimer.swift
# iOS/Account/ReaderAPIAccountViewController.swift
2023-02-09 10:05:18 +08:00
Maurice Parker
6973583472
Merge pull request #3822 from stuartbreckenridge/fix-3821
...
Renames Default theme to NetNewsWire
2023-02-08 16:53:57 -08:00
Maurice Parker
2bab9f3d49
Merge pull request #3808 from stuartbreckenridge/fix-3789
...
Fixes 3789 by checking lastPathComponent
2023-02-08 16:52:49 -08:00
Stuart Breckenridge
c45fd40eb5
Merge branch 'main' into localize_strings
2023-02-06 20:02:32 +08:00
Stuart Breckenridge
fd6ba67aee
Renames Default theme to NetNewsWire
...
Where ‘NetNewsWire’ is used `NSLocalizedString` has been removed. This is done so that NetNewsWire is not picked via Export Localizations.
2023-01-21 19:43:26 +08:00
Stuart Breckenridge
2f6584ffb1
changes to checking for the prefix
2023-01-19 12:04:43 +08:00
Stuart Breckenridge
c725be2874
Ignores files in __MACOSX folder
2023-01-19 11:34:25 +08:00
Stuart Breckenridge
a2be4cd349
Fixes 3789 by checking lastPathComponent
2023-01-05 07:43:30 +08:00
Stuart Breckenridge
e670d610e3
Localized mac app
2023-01-04 12:33:38 +08:00
Stuart Breckenridge
199b9e4093
Removes logging call
2022-12-20 23:13:38 +08:00
Stuart Breckenridge
fe5a7d185b
Tidy up on the themes view
2022-12-20 22:04:04 +08:00
Stuart Breckenridge
53e49aa699
Article themes moved to SwiftUI
2022-12-20 20:35:18 +08:00
Stuart Breckenridge
c8306c8660
Revised settings views
...
Notes:
- A lot of representable shims over UIKit view controllers. These misbehave a little. They should be re-written in SwiftUI.
- Settings no longer uses VibrantTableViewCell
- Changes to AppDefaults trigger objectWillSend
2022-11-12 19:50:13 +08:00
Maurice Parker
b7b9344e3d
Change how we handle errors when working with Themes
2022-11-08 01:36:28 -06:00
Maurice Parker
ad164d59c9
Switching to case-sensitive compare since that is how we sort everything else.
2022-11-07 01:39:22 -06:00
Ethan Wong
3ba14f8596
Always use localized compare when sorting list items presented to the user
2022-11-06 00:29:33 +08:00
Maurice Parker
be75bd28d0
Refactor the ArticleThemeManager code to simplify it and try to avoid any issues with app warm up on the iPhone
2022-10-03 13:23:11 -05:00
Stuart Breckenridge
0dd4689bf0
Logging changes
...
- Adds `Logging` protocol
- Moves to Swift-style `OSLog` usage
os_log to Logger
os_log audit
Replacment of os.log with Logging
2022-09-04 21:31:03 +08:00
Maurice Parker
fd151951b9
Merge branch 'ios-candidate'
2022-02-08 10:35:25 -08:00
Maurice Parker
8ad5969452
Prevent app themes from attempting to be deleted
2022-02-07 16:41:00 -08:00
Maurice Parker
7d2ec79986
Make sure that the theme names are always up to date before setting the current theme
2022-02-07 16:28:35 -08:00
Maurice Parker
063da4ac02
Change to no longer copy app distributed themes to the Themes folder. Fixes #3447
2022-02-07 16:28:20 -08:00
Stuart Breckenridge
ca690859f7
Article Theme / UniformTypeIdentifiers
2022-01-21 13:07:38 +08:00
Dimitris Apostolou
94ae4d348c
Fix typos
2022-01-05 00:25:20 +02:00
Maurice Parker
37cb93ed1a
Merge pull request #3301 from stuartbreckenridge/theme-tweaks
...
Theme tweaks
2021-09-23 20:33:54 -05:00
Maurice Parker
71b0a8d476
Rename the InstalledStyleSheets file to InstalledThemes
2021-09-23 10:00:53 -05:00
Stuart Breckenridge
e9b84d9219
Theme Import/Opening Changes
...
Mac:
- Better error messages
- The alert displayed contains an additional button to open the theme's folder (when clicked it will not dismiss the alert).
2021-09-23 20:12:35 +08:00
Stuart Breckenridge
94ed186b8c
Perfoms search of directory for theme file.
2021-09-22 09:17:48 +08:00
Stuart Breckenridge
82a62712ce
Better error messages for decoding issues
2021-09-21 10:43:12 +08:00
Stuart Breckenridge
c29afd2677
try? changed to try with error handling
2021-09-21 09:22:45 +08:00
Stuart Breckenridge
78e0595708
Various ThemeDownloader Updates
...
- `try` added where applicable to ArticleTheme inits
- `ArticleThemePlist` has fixed spelling of theme identifier and conforms to Equatable
- `ArticleTheme` now uses `ArticleThemePlist`
- `ArticleThemeDownloader` is now a class
- `ArticleThemeDownloader` will now download themes to Application Support/NetNewsWire/Downloads on macOS and iOS.
- `ArticleThemeDownloader` will remove downloaded themes from the Download folder when the application is closed.
- macOS app delegate now observes for theme download fails
- Error display code moved from SceneDelegate to SceneCoordinator so that it can use existing presentError on rootVC.
2021-09-21 09:10:56 +08:00
Stuart Breckenridge
7986e1caee
Adds optional theme description
2021-09-21 06:18:15 +08:00
Stuart Breckenridge
1e5fd6499e
Corrects identifier spelling
2021-09-21 06:16:38 +08:00
Stuart Breckenridge
a1b01384d3
refactors downloader code for macOS & iOS
...
More consistent code across platforms.
2021-09-20 19:34:25 +08:00
Stuart Breckenridge
afd952fbc2
refactors iOS theme downloads
2021-09-20 09:36:09 +08:00
Stuart Breckenridge
4fab4ffa7c
download themes using url scheme
...
this build enables iOS functionality only.
2021-09-19 20:31:45 +08:00
Maurice Parker
35b913f4a0
Add the ability to delete a theme on iOS
2021-09-12 16:40:59 -05:00