Commit Graph
648 Commits
Author SHA1 Message Date
Brent Simmons b368392c5f Add markdown column to the articles table. Save and fetch markdown as part of articles. 2025-10-29 17:04:34 -07:00
Brent Simmons afd4c2f938 Merge branch 'main' of https://github.com/Ranchero-Software/NetNewsWire 2025-10-08 17:51:17 -07:00
Brent Simmons 5d0236f7e4 Show the web view after navigation did commit rather than after didFinish, which can prevent a surprisingly long delay in some cases. Fix #4030. 2025-10-07 09:20:24 -07:00
Brent Simmons 375914f906 Fix crashing bug when adding a folder. 2025-10-05 11:43:41 -07:00
Brent Simmons d7a23a69da Set sidebar collapse state synchronously so there’s no visible collapsing on launch. 2025-10-03 20:42:19 -07:00
Brent Simmons 7a455d7c6e Check the unread count — instead of doing a database fetch of articles, which is costly — to decide to include the mark-all-read menu item. Do the fetch when actually marking-all-read. Fix #4630. 2025-10-03 14:20:23 -07:00
Brent Simmons 3513b3d373 Fix build warning. 2025-10-02 21:31:36 -07:00
Brent Simmons 69813ac7e2 Remove unused os_log. 2025-10-02 21:18:36 -07:00
Brent Simmons 1aad7ec98a Fix warnings in copyArticleURL and copyExternalURL. 2025-10-01 16:24:12 -07:00
Brent Simmons 374b005a83 Handle multiple selection when validating and performing the copy-article-url and copy-article-external-url commands. Fix #3681. 2025-10-01 09:41:38 -07:00
Brent Simmons 070ab886d5 Make Sidebar the first toolbar item by default, as per https://marioaguzman.github.io/design/toolbarguidelines/ 2025-09-29 22:02:13 -07:00
Brent Simmons 55cb86f258 Use new shared WebViewConfiguration. 2025-09-22 22:20:28 -07:00
Brent Simmons 718204e4d8 Make sure window is non-nil before using it — don’t force-unwrap it. Fix #3827. 2025-09-16 11:02:41 -07:00
Brent Simmons 4b7ea6d920 Mark classes as final when they can be, to communicate intent (don’t subclass these). Fix #4751. 2025-09-16 10:21:29 -07:00
Stuart Breckenridge fd915fee9e Fixes #3892 - Formatter used for unread counts 2025-09-11 21:19:16 +08:00
Brent Simmons ad463becea Migrate state restoration with legacy (pre-secure-state-restoration) data. 2025-08-15 17:24:24 -07:00
Brent Simmons 03d27d12c1 Be explicit about legacy and secure window state, in order to make it possible to migrate from legacy to secure. 2025-08-15 11:42:54 -07:00
Brent Simmons 8daa9de75b Remove unneeded type check. 2025-08-14 21:33:04 -07:00
Brent Simmons 91f66835f9 Mark classes as final. Create private Key structs instead of duplicating string literals. Make supportsSecureCoding let instead of var. 2025-08-14 16:24:54 -07:00
Brent Simmons 74890781c5 Remove unneeded return. 2025-08-14 16:23:03 -07:00
Brent Simmons 15132bcbd9 Remove unneeded return. 2025-08-14 16:22:52 -07:00
Maurice Parker 17860b72f5 Change Mac state preservation to be NSSecureCoding compliant 2025-08-13 14:24:29 -05:00
Brent Simmons 4d930dd5e4 Restore changes reverted in previous beta. 2025-05-09 20:30:04 -07:00
Brent Simmons 9aa93166b7 Revert more changes since 6193 in hopes of fixing the scrolling bug. 2025-05-09 09:22:34 -07:00
Brent Simmons 86f6d51428 Fix typos. 2025-04-28 21:45:23 -07:00
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