Commit Graph

247 Commits

Author SHA1 Message Date
Brent Simmons 00ff9016bc Draw using proper background color when selected but not emphasized. Fix #152. 2017-11-12 12:16:27 -08:00
Brent Simmons b077dfafd1 Show Dinosaurs window via Window menu command. 2017-11-12 11:57:51 -08:00
Brent Simmons 503c043e02 Start DinosaursWindow.xib. 2017-11-12 11:42:34 -08:00
Brent Simmons 7207598cdc Close the finding-feed progress window once the feed has been found. Fix #145. 2017-11-12 11:01:17 -08:00
Brent Simmons 861afa06c7 Draw a background color for the timeline cell, and make it opaque, so it looks not-weird when dragging. 2017-11-11 21:53:43 -08:00
Brent Simmons 51825f8f05 Write dragged feeds with various UTI types, including a custom feed type. 2017-11-07 21:14:58 -08:00
Brent Simmons 06de21776a Allow article drag from timeline view to other apps. Write URL on dragging. 2017-11-06 22:06:42 -08:00
Brent Simmons b79ded1eb9 Write the string plist for the article. 2017-11-06 13:29:53 -08:00
Brent Simmons f452021bd2 Create an ArticlePasteboardWriter, and return it from the timeline’s data source delegate method pasteboardWriterForRow. 2017-11-06 13:20:29 -08:00
Brent Simmons 03aae6adc5 Add more to the feed directory. 2017-11-05 23:15:15 -08:00
Brent Simmons e8860ce3a4 Add Indie Stack to feed directory. 2017-11-05 22:25:32 -08:00
Brent Simmons a7118d6710 Add Seattle category to feed directory. 2017-11-05 22:16:58 -08:00
Brent Simmons f25d7ceb64 Add more to the feed directory. 2017-11-05 22:12:51 -08:00
Brent Simmons a7464daf15 Mark Read command now works. 2017-11-05 21:27:34 -08:00
Brent Simmons 11aa68fd6f When timeline reloads due to a change in sidebar selection, post the selection-did-change notification so that status bar view and detail view can go blank (instead of continuing to show the previous selection). 2017-11-05 20:59:30 -08:00
Brent Simmons 8401d0f2f9 Display the mouseover link in the status bar, and remove it on mouseexit. 2017-11-05 20:42:27 -08:00
Brent Simmons 3fcede7fb4 Add JavaScript and native message handler for getting mouseover urls from the detail view’s WKWebView. 2017-11-05 20:31:50 -08:00
Brent Simmons 9818278c9b Make undo deleting feeds/folders work. 2017-11-05 12:14:36 -08:00
Brent Simmons 57296279e4 Switch back to AnyObject from AnyHashable, because of http://openradar.appspot.com/34824398 2017-11-04 23:05:20 -07:00
Brent Simmons e16911b363 Make deleting work. Can’t undo yet. But now everything is messed-up because of an AnyHashable casting bug. Don’t run this build. 2017-11-04 22:51:14 -07:00
Brent Simmons 2396a3bfca Make main window source list have same cell size as feed directory — small size. 2017-11-04 15:39:55 -07:00
Brent Simmons 8014b56846 Make FeedListFeed and FeedListFolder structs. 2017-11-04 15:36:33 -07:00
Brent Simmons c08bbaa970 Use AnyHashable instead of AnyObject as representedObject for tree nodes. 2017-11-04 15:27:32 -07:00
Brent Simmons 1adaebf2bf Use small size for source list cell in feed directory. 2017-11-04 14:56:06 -07:00
Brent Simmons ef1d95341b Show feeds in Feed Directory sidebar. 2017-11-04 14:53:21 -07:00
Brent Simmons 44461af07a Read feed directory data from disk. 2017-11-04 12:19:34 -07:00
Brent Simmons 0960477be6 Move undoable commands into TimelineViewController private extension. 2017-11-04 10:39:47 -07:00
Brent Simmons b2ad739caf Move table view data source and delegate back to TimelineViewController — it’s simpler that way. 2017-11-04 10:35:34 -07:00
Brent Simmons 5b34ed5432 Start FeedList.plist, which will be displayed in the Feed Directory. 2017-11-02 13:20:09 -07:00
Brent Simmons 911e6b0879 Do some refactoring. 2017-11-01 22:40:28 -07:00
Brent Simmons af3f41fbda Start ArticleArray.swift. 2017-11-01 20:45:38 -07:00
Brent Simmons 129f7a5da9 Create FeedListViewController and FeedListTimelineViewController. 2017-11-01 20:45:04 -07:00
Brent Simmons f509745266 Fix build error. 2017-11-01 13:28:30 -07:00
Brent Simmons 3a48901c57 Craete FeedListControlsView. Wire up actions for buttons to first responder, which ends up at FeedListWindowController. 2017-11-01 13:27:45 -07:00
Brent Simmons 4575934f22 Flesh out FeedList UI. 2017-11-01 13:17:25 -07:00
Brent Simmons 6250e23b3e Put search back in the toolbar for the feed directory. 2017-10-31 22:42:33 -07:00
Brent Simmons da7ecc3b22 Edit FeedList.storyboard to place search field at bottom of window. 2017-10-31 20:53:30 -07:00
Brent Simmons 69718e2dde Fix some build errors. 2017-10-31 20:33:41 -07:00
Brent Simmons b048e3fd58 Move the timeline table’s data source a separate file/class. 2017-10-30 08:23:01 -07:00
Brent Simmons 17b84ec57c Rename MarkAllReadCommand to MarkReadOrUnreadCommand and make it handle both cases. 2017-10-29 12:09:56 -07:00
Brent Simmons 9fbce42959 Clear undoableCommands when the articles array changes. 2017-10-29 11:44:35 -07:00
Brent Simmons 5f848f568a Begin support for clearing undo commands on sidebar selection change. 2017-10-29 11:28:45 -07:00
Brent Simmons f9b3eeb4d7 Switch macOS deployment target to 10.13. Get MarkAllReadCommand working as an undoable command. 2017-10-29 11:14:10 -07:00
Brent Simmons 8d5e568cde Make folder.account weak and optional. 2017-10-21 16:37:40 -07:00
Brent Simmons 39c74249af Rewrite assertionFailure using “Expected…” form. 2017-10-21 16:32:03 -07:00
Brent Simmons 71e8a9131d Make progress on fixing adding feeds. 2017-10-21 15:56:01 -07:00
Brent Simmons 4118e4a2d5 Make progress on fixing adding feeds. 2017-10-21 15:04:59 -07:00
Brent Simmons b74d2e1a3c Change AddFeedWIndowControllerDelegate to use Container instead of Folder. 2017-10-21 13:33:08 -07:00
Brent Simmons ebf1e36f38 Removed an extraneous line of code. 2017-10-21 13:32:36 -07:00
Brent Simmons 595af2561d Use TreeController.normalizedSelectedNodes in the delete action. 2017-10-21 12:14:45 -07:00
Brent Simmons e0f872a8c7 Differentiate between navigation keys and other keys-that-are-handled in keyDown. 2017-10-21 12:13:20 -07:00
Brent Simmons 2442d02ba1 Make the sidebar translucent. At least for now. May need to change it back when we add favicon. 2017-10-21 10:56:13 -07:00
Brent Simmons f6f4680e10 Handle the Delete key in the sidebar. 2017-10-21 10:55:20 -07:00
Brent Simmons 4c017dab10 Update unread counts after fetching articles on changing selection in the sidebar. 2017-10-19 21:56:30 -07:00
Brent Simmons 5289a68433 Create and use childNodesForContainerNode, which replaces two functions doing the same thing. 2017-10-19 21:52:45 -07:00
Brent Simmons 1481d72ed1 Fix node duplication bug on rebuilding tree. 2017-10-19 21:38:50 -07:00
Brent Simmons 913a5f46a0 Make New Folder a default toolbar item. (I learned this exact lesson many years ago: if New Folder isn’t in the toolbar, people will request that the app support folders.) 2017-10-19 13:30:49 -07:00
Brent Simmons aca8acea7c Update sidebar when adding a folder. 2017-10-19 13:27:59 -07:00
Brent Simmons 3812c216b2 Show unread count in window title. 2017-10-18 21:53:45 -07:00
Brent Simmons 2383ecd480 Implement ensureFolder — it actually creates and adds a folder and makes sure account is saved to disk. 2017-10-18 19:46:35 -07:00
Brent Simmons fe29ccd2ed Show unread count in dock badge. Force-update unread counts at startup. 2017-10-18 18:37:45 -07:00
Brent Simmons f5a5bf91b2 Update unread counts for feeds when statuses change. 2017-10-09 21:54:08 -07:00
Brent Simmons 106cedb638 Fix sort order in timeline. 2017-10-09 08:32:26 -07:00
Brent Simmons 6572631866 Update the timeline cell when an article’s status changes. 2017-10-08 21:06:25 -07:00
Brent Simmons 8aa3746cb8 Add code for fetching articles for the timeline. Doesn’t actually work yet, though, for some reason. 2017-10-08 18:58:15 -07:00
Brent Simmons ca611623aa Simplify Container and its function implementations. 2017-10-07 21:41:21 -07:00
Brent Simmons c6f683c34c Make Account, rather than its delegate, watch for refresh progress changes. This way the delegate doesn’t have to be inited with its Account. 2017-10-07 17:43:10 -07:00
Brent Simmons b77569f38b Create and use CombinedRefreshProgress, which reports refresh progress across all accounts. Used by the status view. 2017-10-07 17:20:19 -07:00
Brent Simmons 5d8aa94dc3 Keep track of refresh beginning and finishing. Validate the refreshAll command (menu, toolbar). 2017-10-07 14:40:14 -07:00
Brent Simmons fa0d355ab0 Require High Sierra. 2017-10-07 12:00:47 -07:00
Brent Simmons 6a1c39d8a3 Remove Notifications.swift from Data.framework. Clean up UnreadCountProvider. 2017-10-07 11:56:22 -07:00
Brent Simmons 0f19fda54d Use BatchUpdate.shared. 2017-10-05 20:38:54 -07:00
Brent Simmons c258a9da5c Rewrite and move BatchUpdate.swift. 2017-10-05 20:34:29 -07:00
Brent Simmons b53626fc84 Make super minor edits. 2017-10-05 20:03:35 -07:00
Brent Simmons 119a03e891 Create windowAutosaveName just once. 2017-10-05 18:17:07 -07:00
Brent Simmons 4d77dbfd36 Make a Browser struct with two static methods to replace two top-level functions. 2017-10-05 18:12:58 -07:00
Brent Simmons 77b01eb72c Remove emailSupport action, since there is no email-based support. 2017-10-05 18:02:01 -07:00
Brent Simmons 1bbaa3bfa2 Move dock badge updating code to new DockBadge.swift. 2017-10-05 18:01:18 -07:00
Brent Simmons 22275edf53 Create OPMLImporter with code cut from AppDelegate. 2017-10-05 13:28:39 -07:00
Brent Simmons 33e6e72d21 Fix crashing bug. Now the app window appears! Without any data in it, sure, but hey. 2017-10-05 13:15:32 -07:00
Brent Simmons b8f69779ed Fix build error. The app builds and runs now — and then crashes. But still, it’s progress! 2017-10-05 13:09:09 -07:00
Brent Simmons 83231ed373 Fix some build errors. 2017-10-02 13:15:07 -07:00
Brent Simmons 0630a89df3 Fix more build errors. 2017-10-02 00:53:58 -07:00
Brent Simmons cb4027a951 Fix some build errors. 2017-10-01 11:28:44 -07:00
Brent Simmons 04612049f5 Make progress on adding feeds. 2017-10-01 10:59:35 -07:00
Brent Simmons a910841c65 Add createFeed method. 2017-09-30 16:56:48 -07:00
Brent Simmons 55967f8731 Fix some build errors. 2017-09-26 21:43:40 -07:00
Brent Simmons 2978d4420b Start work on adding feeds and folders. 2017-09-25 13:31:36 -07:00
Brent Simmons 21080a97fc Start work on feed importing. 2017-09-24 22:35:57 -07:00
Brent Simmons 4d677b2055 Fix a bunch of build errors. 2017-09-24 12:24:44 -07:00
Brent Simmons 8c0c8db824 Make minor cleanups. 2017-09-23 13:59:19 -07:00
Brent Simmons d3593683df Move code from Defaults to AppDefaults. 2017-09-23 13:41:15 -07:00
Brent Simmons 1ab282c23a Do some cleanups on app code. 2017-09-23 12:17:14 -07:00
Brent Simmons 96bc93612e Rename AppConstants to AppNotifications. 2017-09-23 12:00:07 -07:00
Brent Simmons 6c7c8c7110 Start work on AppDefaults.swift. 2017-09-22 18:37:25 -07:00
Brent Simmons 0843c10bc5 Remove accountInfo references. This was speculative anyway. I’ll figure out later what we actually need. (Which might be accountInfo after all, and might not be.) 2017-09-22 08:06:06 -07:00
Brent Simmons b28a849af6 Continue march toward non-optional article.status. 2017-09-18 22:00:35 -07:00
Brent Simmons 54ca352a70 Continue fixing build errors. 2017-09-17 17:56:04 -07:00
Brent Simmons c74201d163 Continue fixing build errors. 2017-09-17 17:12:42 -07:00
Brent Simmons 92a60d8f06 Continue fixing build errors. 2017-09-17 17:03:58 -07:00
Brent Simmons 0336e30b0d Continue to fix build errors. 2017-09-17 16:30:45 -07:00
Brent Simmons 6631a9c2f8 Continue fixing build errors. 2017-09-17 13:07:55 -07:00
Brent Simmons c0ce68e64b Fix some build errors. 2017-09-17 12:54:08 -07:00
Brent Simmons 1b391c262e Continue working on build errors. 2017-09-17 12:34:10 -07:00
Brent Simmons 0ce18fe11a Replace references to DataModel with Data. 2017-09-17 12:22:15 -07:00
Brent Simmons 121fbf3c27 Move AccountManager to Account.framework. 2017-09-17 12:20:32 -07:00
Brent Simmons 944f05c71e Commit major surgery but leave it unfinished. Everything is broken. 2017-07-01 17:22:19 -07:00
Brent Simmons cf77f19276 Use https URLs for all ranchero.com/evergreen/. 2017-06-01 16:28:27 -07:00
Brent Simmons 7b81bde429 Use https URL for Evergreen news in default feeds. 2017-06-01 16:27:09 -07:00
brentsimmons 8b0e8c65de Merge pull request #85 from Wolfr/bugfix/responsivevideo
Provide responsive HTML5 video next to images
2017-06-01 14:54:27 -07:00
brentsimmons 933a66e639 Merge pull request #89 from Wolfr/enhancements/fiximageaspects
If the blog post author left width tags in his/her HTML, still make s…
2017-06-01 14:15:58 -07:00
Brent Simmons adeccd9cbf Fix Evergreen feed URL. 2017-06-01 14:10:04 -07:00
Wolfr f77ff68807 If the blog post author left width tags in his/her HTML, still make sure the image shows its original aspect 2017-06-01 21:36:06 +02:00
Wolfr 6208b072b4 Provide responsive HTML5 video next to images 2017-06-01 20:27:26 +02:00
Daniel Jalkut a8adf60165 Generate a placeholder app icon by rendering the Emoji Evergreen glyph. 2017-05-31 15:19:05 -04:00
Brent Simmons f27f410a0d Add buildEvergreen script. 2017-05-29 16:26:03 -07:00
Brent Simmons 5c4d51dcd6 Add Sparkle. Update SUFeedURL to use https, since I just added https to ranchero.com. (Thanks to Let’s Encrypt!). 2017-05-29 15:44:33 -07:00
Brent Simmons 3773f7b1bf Replace Ranchero Software with Ranchero Software, LLC. 2017-05-29 13:17:58 -07:00
Brent Simmons 5ed5e8825b Avoid URL fragment in base URL, since the webview won’t accept that as a base URL. Fix #32. 2017-05-29 12:49:32 -07:00
Brent Simmons e4da1b4716 Wire up Feed Directory menu item. Fix #18. 2017-05-29 12:31:38 -07:00
Brent Simmons f87edca067 Make the window title visible, so that toolbar items can have labels. Fix #25. 2017-05-29 12:14:07 -07:00
Brent Simmons d03dcf6dcd Update version in Info.plist. Add UserAgent. Add SUFeedURL. Fix #5. 2017-05-29 12:08:22 -07:00
Brent Simmons f3c97506d5 Make app delegate conform to NSUserInterfaceValidations protocol. Fix #1. 2017-05-29 12:04:22 -07:00
Brent Simmons d29727269c Put feed/byline at top of detail view. Fix #8. 2017-05-29 11:53:07 -07:00
Brent Simmons dab0efe356 Allow http downloads. Fix #27. 2017-05-29 11:48:09 -07:00
Brent Simmons 0eab757a06 Comment out code that isn’t needed yet and that triggers a crash. 2017-05-29 11:39:00 -07:00
Brent Simmons 039c99be5e Add to View menu. 2017-05-29 11:05:34 -07:00
Brent Simmons d114b1acdb Add Go menu. 2017-05-29 11:01:28 -07:00
Brent Simmons 7f242deb06 Add Article menu. 2017-05-27 14:01:45 -07:00
Brent Simmons 4a894e0e98 Add Window menu items. 2017-05-27 13:57:06 -07:00
Brent Simmons 7531a6b833 Add HelpMenu notes. 2017-05-27 13:55:01 -07:00
Brent Simmons e79dbaef68 Add Help menu items. 2017-05-27 13:37:50 -07:00
Brent Simmons b502d297e6 Drop unused Format menu. 2017-05-27 11:36:10 -07:00
Brent Simmons f58f9244f5 Add File menu commands. 2017-05-27 11:33:31 -07:00
Brent Simmons 53f98e366a Delete unused ViewController.swift. 2017-05-27 11:22:55 -07:00
Brent Simmons 1495e92d55 Add toolbar placeholder image. 2017-05-27 11:21:48 -07:00
Brent Simmons d335b1c4ad Add main window storyboard. 2017-05-27 11:20:05 -07:00
Brent Simmons f30cd3ee98 Add feed list storyboard. 2017-05-27 11:17:39 -07:00
Brent Simmons 4c5656f47e Add storyboards for add-feed and add-folder. 2017-05-27 11:15:51 -07:00
Brent Simmons 7610abbb43 Add preferences storyboard. 2017-05-27 11:14:32 -07:00
Brent Simmons 19ce82329b Add a whole ton more code. 2017-05-27 10:43:27 -07:00
Brent Simmons 4969c44c40 Add DB5.plist. 2017-05-26 13:28:18 -07:00
Brent Simmons 5f565cc42e Add MainWindowSplitView. 2017-05-26 13:25:42 -07:00
Brent Simmons ef9d4edbd1 Add KeyboardDelegate. 2017-05-26 13:25:02 -07:00
Brent Simmons 21801b8b6a Add Browser and Defaults. 2017-05-26 13:22:31 -07:00
Brent Simmons 85ff386f4b Add AppConstants. 2017-05-26 13:10:30 -07:00
Brent Simmons 6a68db21e2 Add project and workspace. 2017-05-22 13:00:45 -07:00