Brent Simmons
7ae95dbe57
Merge branch 'main' of https://github.com/Ranchero-Software/NetNewsWire
2025-10-14 09:44:45 -07:00
Brent Simmons
b23148ab60
Give Claude permission for some Git and GitHub things.
2025-10-14 09:44:43 -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
71b4472e53
Add RSMarkdown module which imports swift-markdown and cmark-gfm external modules. Create function to generate HTML from Markdown.
2025-10-07 11:53:07 -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
207fe6649f
Skip refreshing in local and Feedly accounts if running unit tests.
2025-10-06 10:59:25 -07:00
Brent Simmons
22ef2f849f
Add logging to isRunningUnitTests (one log per run, not per call).
2025-10-06 10:59:07 -07:00
Brent Simmons
5d6c9ebb4f
Skip checking for crash reports when running unit tests.
2025-10-06 10:58:37 -07:00
Brent Simmons
cba14bdb0b
Delete testFeedOPML tests — flaky for some reason. We’ll add more scripting tests in a future release.
2025-10-06 10:34:05 -07:00
Brent Simmons
4e9f29d54b
Add check to see if running unit tests. This will allow us to skip certain work (like syncing) when running unit tests. Also useful later for self-mocking.
2025-10-06 10:25:17 -07:00
Brent Simmons
b5e3041489
Delete scripts that require keystroke-sending. Difficult to get working across machines (including CI, I figure). Also: run test scripts on main thread.
2025-10-06 10:24:50 -07:00
Brent Simmons
cfaf1e855e
Make sure all the scripting tests that should work are working and not skipped.
2025-10-06 10:06:57 -07:00
Brent Simmons
35c573e8f8
Add scripting support for getting articles from folders.
...
Make this script work:
tell application "NetNewsWire"
set onMyMacAccount to first account whose accountType is onmymac
every article of folder "Commits" of onMyMacAccount whose read is false
end tell
2025-10-05 12:01:30 -07:00
Brent Simmons
3ae3d8eb6a
Allow Claude to use xcodebuild.
2025-10-05 12:00:41 -07:00
Brent Simmons
375914f906
Fix crashing bug when adding a folder.
2025-10-05 11:43:41 -07:00
Brent Simmons
0d460d3545
Add additional needed KVO accessors.
2025-10-05 11:29:37 -07:00
Brent Simmons
2d8b47075a
Update scripting support for selected articles to make get title of selected articles work.
2025-10-05 11:20:42 -07:00
Brent Simmons
c04daf289f
Update sdef and add needed KVO accessors to make get item 1 of (allWebFeeds of account 1) work.
2025-10-05 11:13:59 -07:00
Brent Simmons
b495def859
Fix container hierarchy for AppleScript selectedArticles() command. Fix #4218 .
2025-10-04 17:07:15 -07:00
Brent Simmons
e0a3ba69e1
Use correct container hierarchy to fix AppleScript access to articles in feeds in folders. Fix #4412 .
2025-10-04 16:56:59 -07:00
Brent Simmons
dbf522b551
Allow Claude to use more GitHub stuff.
2025-10-04 16:28:27 -07:00
Brent Simmons
b784abbec1
Create and use pngData() method for Mac to get data from image as PNG instead of TIFF — use less memory.
2025-10-04 08:27:30 -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
abeb3f2ab8
Let Claude read pages from GitHub.
2025-10-03 20:41:30 -07:00
Brent Simmons
8916c3024f
Find suitable images in one pass instead of three. Add debug logging.
2025-10-03 20:01:45 -07:00
Brent Simmons
f52cbc7c1a
Add more instructions for Claude.
2025-10-03 20:01:22 -07:00
Brent Simmons
6e6177d087
Avoid a runtime console warning about invalid parameter by guarding that maxPixelSize > 0 and count of images > 0.
2025-10-03 14:35:53 -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
6351ebe343
Add debug logging to ArticlesDatabase.
2025-10-03 14:18:06 -07:00
Brent Simmons
c04161efff
Merge branch 'task/switch-to-logger'
2025-10-02 22:03:01 -07:00
Brent Simmons
6e12b70a93
Replace os_log with Logger.
2025-10-02 22:02:51 -07:00
Brent Simmons
ec1a971fba
Use the shared cloudKitLogger.
2025-10-02 22:02:41 -07:00
Brent Simmons
21eab80e0f
Replace os_log with Logger.
2025-10-02 21:46:16 -07:00
Brent Simmons
1a635bfe02
Replace os_log with Logger.
2025-10-02 21:42:25 -07:00
Brent Simmons
ad5c78c71f
Replace os_log with Logger.
2025-10-02 21:40:09 -07:00
Brent Simmons
9d485bc3f9
Use static logger. Refactor and improve code for handling status notifications.
2025-10-02 21:32:09 -07:00
Brent Simmons
3513b3d373
Fix build warning.
2025-10-02 21:31:36 -07:00
Brent Simmons
c3fffa9536
Let Claude search.
2025-10-02 21:31:30 -07:00
Brent Simmons
69813ac7e2
Remove unused os_log.
2025-10-02 21:18:36 -07:00
Brent Simmons
d121f9e305
Fix build error.
2025-10-02 21:18:28 -07:00
Brent Simmons
6779c18892
Replace OSLog with Logger.
2025-10-02 21:13:00 -07:00
Brent Simmons
8e295ec4cb
Replace OSLog with Logger.
2025-10-02 21:03:20 -07:00
Brent Simmons
e41e076569
Replace OSLog with Logger.
2025-10-02 21:00:44 -07:00
Brent Simmons
a38c07a4d2
Fix build errors.
2025-10-02 20:56:23 -07:00
Brent Simmons
68f3e231a4
Replace OSLog with Logger.
2025-10-02 20:54:23 -07:00
Brent Simmons
72a8b3627e
Replace OSLog with Logger.
2025-10-02 20:49:58 -07:00
Brent Simmons
df6d4f059e
Replace OSLog with Logger.
2025-10-02 20:34:01 -07:00
Brent Simmons
ed05d34938
Tell Claude to stop using ... in Logger messages.
2025-10-02 20:33:53 -07:00
Brent Simmons
b6c6e987ef
Replace OSLog with Logger.
2025-10-02 20:27:15 -07:00
Brent Simmons
66bc751501
Make DatabaseError a LocalizedError.
2025-10-02 20:26:03 -07:00