Commit Graph

623 Commits

Author SHA1 Message Date
Ethan Wong bb1fb146ea Do not make the sidebar first responder when it’s collapsed. 2025-04-28 21:10:27 -07:00
Henrik Hørlück Berg 389c8529cc Disable audio autoplay on macOS
- To be in-line with how this is threated on iOS
2025-04-28 21:07:47 -07:00
Ethan Wong d4f9c25df4 Allow 'Open Link' item to show on the contextual menu of web links. (fixes #3666) 2025-04-28 08:40:28 -07:00
haikusw 29d46d3cb4 rename to shorter version since we no longer need to distinguish between this and other dragOperation type. 2025-04-27 22:02:15 -07:00
Tyler aabb149307 Address 3580 by using only the items in the DraggingInfo to handle the drag and no view properties associated with a single window.
Remove cached `draggedNodes` optimization and just always use the data on the dragging pasteboard because it works both within the same window and across two windows.

Add support for WebFeedPasteboardWriter to include a parent containerName in the pasteboard dictionary written for a WebFeed object (which doesn't know about it's parent) because we need this for drag and drop to be able to perform a move operation.

Fix issue with dragged feeds not knowing their parent folder and delete deleting the wrong item by telling WebFeedPasteboardWriter what the container of items is.  Remove code that is now unused now that draggedNodes is removed and consolidate code that was expanded to handle both node and pasteboard items since we are just using pasteboard items now.
2025-04-27 22:01:58 -07:00
Nate Weaver c028880e58 Return [Article] from articlesForIndexes() instead of Set<Article> 2025-04-27 21:53:43 -07:00
J-rg d5f02d8529 Fix blurry sidebar symbols (#3268) 2025-04-27 19:01:11 -07:00
Sean Santry 3b3b228d5d Save Sidebar open/collapsed state between launches. Fixes #2707 2025-04-27 16:36:14 -07:00
Ethan Wong a82a1e16f9 Fix: bottom inset of TimelineTableView disappeared on macOS Monterey 2025-04-27 16:26:50 -07:00
Brent Simmons 2826913235 Add and use ArticleRenderingSpecialCases — the one special case is The Verge’s feed. This works around their bug. 2025-04-25 21:14:35 -07:00
Brent Simmons 6ad239fb39 Add sharingServicesForItems_noDeprecationWarning to silence deprecation that we’re accepting. 2025-04-25 09:30:49 -07:00
Brent Simmons c43776ae36 Fix several warnings. 2025-04-25 08:55:50 -07:00
Brent Simmons 93e76f617b Fix several warnings. 2025-04-25 08:46:34 -07:00
Brent Simmons 91b3110cd5 Delete no-longer-needed Unicode support for URLs. 2025-04-24 16:21:16 -07:00
Brent Simmons 5f4533cc6b Fixed layout recursion warning by getting rid of bigSurOffsetFix hack, which no longer appears to be needed. Fix #4590. 2025-04-20 21:36:50 -07:00
Brent Simmons aa75efaa2e Fix test-time crashes by making sure some main thread code runs on main thread. 2025-04-20 21:21:38 -07:00
Brent Simmons 7dc965aba6 Fix crash. 2025-04-20 20:53:26 -07:00
Brent Simmons d83e099d2c Remove remainder of featured image code (which is unused). 2024-12-15 10:59:43 -08:00
Brent Simmons 0e93021f91 Use .shared for most of the image downloaders. 2024-12-14 15:17:32 -08:00
Brent Simmons 2056adf5d6 Rename WebFeedIconDownloader to FeedIconDownloader. 2024-12-14 10:28:28 -08:00
Brent Simmons 86631b20eb Fix a couple bugs with combined refresh/sync progress that gets reported in status bar. 2024-12-08 18:38:34 -08:00
Brent Simmons 5577afbbb4 Restore toggle sidebar toolbar button. 2024-11-22 20:08:26 -08:00
Brent Simmons 6860637912 Restore showing link in status bar on hover. 2023-12-01 17:10:01 -08:00
Brent Simmons ee26aadb82 Create new web view controllers when the JavaScript setting changes, so that the effect of the change is immediate and apparent. 2023-11-28 21:37:38 -08:00
Brent Simmons faaf1baba9 Remove code that watches for JavaScript setting change — that change needs to be handled elsewhere. 2023-11-27 21:46:02 -08:00
Brent Simmons 2bdd60cdf5 Reload article when JavaScript setting changes. 2023-11-25 21:58:39 -08:00
Brent Simmons 1b236c425e Create Mac UI for JavaScript setting. 2023-11-25 20:50:45 -08:00
Brent Simmons dfd778d038 Add isJavascriptEnabled setting, defaulting to false, and respect it in the web view. 2023-11-25 11:53:19 -08:00
Brent Simmons 279a99259e Use WKUserScript to inject scripts into the page. Use permalink as base URL. 2023-11-25 11:29:56 -08:00
Brent Simmons 7078e6fd55 Remove OAuthSwift and its dependencies. 2023-06-26 09:57:22 -07:00
Brent Simmons 1bef45e1af Remove ExtensionPoint code. 2023-06-25 16:48:37 -07:00
Brent Simmons fb51185c05 Remove references to isFeedProvider. 2023-06-25 16:15:21 -07:00
Brent Simmons d24c66d7eb Remove references to AddFeedWindowControllerType.redditFeed. 2023-06-25 15:31:20 -07:00
Brent Simmons 49549484af Rename New Web Feed to New Feed. 2023-06-25 15:30:57 -07:00
Brent Simmons d232cf43c7 Remove showAddRedditFeedWindow function and all references to it. 2023-06-25 15:26:37 -07:00
Brent Simmons b6e7c16c13 Remove add-Reddit-feed sheet and window controller. 2023-06-25 14:43:55 -07:00
Maurice Parker 6c1e1ea1c6 Remove Twitter integration. Fixes #3842 2023-02-03 19:00:13 -08:00
Brent Simmons 06910b1e58 Avoid force-unwrapping, which was causing a crash. Add an assertionFailure so we can catch this issue in the act — we need to know why an item would not be a Node. Fix https://github.com/Ranchero-Software/NetNewsWire/issues/3824 2023-01-22 14:57:56 -08:00
Dimitris Apostolou 94ae4d348c Fix typos 2022-01-05 00:25:20 +02:00
Maurice Parker 09652bff81 Remove Mark Read on Scroll code 2021-12-29 14:44:40 -08:00
Maurice Parker 06eae25797 Merge pull request #3329 from everhardt/feat-1844-scroll-mark-as-read
Add mark as read on scroll
2021-11-04 12:04:53 -05:00
Maurice Parker c26f09ad1c Fix bug that prevented us from returning to the original text size 2021-11-01 21:24:56 -05:00
everhardt 96ffa3aa22 Do not mark as read without user interaction 2021-10-30 18:57:04 +02:00
everhardt 5364b4f384 Mark bottom items in feed as read after 2 seconds on Mac
In case markArticlesAsReadOnScroll is set
2021-10-30 10:58:12 +02:00
everhardt 3b6a3cf4e7 Do not mark articles as read on scroll when they were manually toggled 2021-10-30 10:37:10 +02:00
everhardt 8bce42df56 Change scrollPositionQueue in Mac TimelineViewController to private 2021-10-27 22:21:42 +02:00
everhardt 3db1b60b65 Add Mac setting for mark as read on scroll 2021-10-27 22:03:38 +02:00
everhardt 7b8bed9ac2 Add mark as read on scroll functionality
Does not yet include a setting
2021-10-27 20:52:26 +02:00
Maurice Parker 6e54598547 Fix type that caused a compile error 2021-09-30 09:43:32 -05:00
Duncan Babbage f6552e110d Replace raw with repaired links. Fixes #3103 2021-09-30 16:52:00 +13:00