Commit Graph

956 Commits

Author SHA1 Message Date
Brent Simmons 668f614aad
Merge pull request #339 from olofhellman/master
Support for  ‘permalink’ and ‘external url’ properties of 'article'
2018-02-11 10:49:22 -08:00
Olof Hellman f563c2f78e Merge remote-tracking branch 'brentsimmons/master' 2018-02-11 01:20:38 -08:00
Olof Hellman 43cfb54437 support for permalink and external url
Consolidate GetURL AppleEvent handling into AppDelegate+Scriptability
file
Add scripting access groups to sdef
Add exists command
Add ‘permalink’ and ‘external url’ properties to the article scripting
object
Add a unit test to verify the behavior of ‘current article’
2018-02-11 01:20:30 -08:00
Brent Simmons 5aeb914ab6 Fetch articles for the Today smart feed. 2018-02-10 17:37:47 -08:00
Brent Simmons d6d2b8d26c Remove Action item from the toolbar. Fix #337. 2018-02-10 15:49:58 -08:00
Brent Simmons 3e60f929a2 Add stubs for fetching articles for starred and today feeds. 2018-02-10 13:22:02 -08:00
Brent Simmons 863de80281 Add convenience method to Set<Article> for just getting unread articles. 2018-02-10 13:21:43 -08:00
Brent Simmons f5bfadfb33 Make the UnreadFeed conform to ArticleFetcher. It now displays articles in the timeline when selected. 2018-02-10 13:00:53 -08:00
Brent Simmons 00cf3934e5 Add fetchUnreadArticles method to Account, which will be used by the All Unread smart feed. 2018-02-10 13:00:16 -08:00
Brent Simmons 9ac2d7d033 Create a WKWebView subclass (ugh) in order to hide items in its contextual menu. Fix #120. 2018-02-10 11:16:09 -08:00
Brent Simmons d46ae4df33 Add contextual menu to timeline. 2018-02-09 23:16:12 -08:00
Brent Simmons 46cae22987 Use the menu.takeItems method. 2018-02-09 22:10:52 -08:00
Brent Simmons c77866c4d7 Add takeItems: method to a new NSMenu extension. 2018-02-09 22:10:36 -08:00
Brent Simmons 68d81b7581 Rearrange toolbar to put search closer to timeline. 2018-02-09 21:58:42 -08:00
Brent Simmons dcf758acc5 Pass menuForEvent: to the enclosing tableview. This gets contextual menus to appear in e timeline. 2018-02-09 21:40:09 -08:00
Brent Simmons 839780303f Add needed cast to return value in rs_enclosingTableView. 2018-02-09 21:39:33 -08:00
Brent Simmons 5fdb50b255 Merge branch 'master' of https://github.com/brentsimmons/Evergreen 2018-02-09 21:33:38 -08:00
Brent Simmons 1b09d35c77 Add rs_enclosingTableView method as NSView category. 2018-02-09 21:33:13 -08:00
Brent Simmons 582fd62080 Start work on timeline contextual menus. 2018-02-08 13:24:43 -08:00
Brent Simmons dc27ca24e6
Merge pull request #331 from olofhellman/master
Implement 'current article' as scriptable property of the top level object
2018-02-08 08:28:14 -08:00
Olof Hellman dcd2ee94f9 Merge remote-tracking branch 'brentsimmons/master' 2018-02-08 00:12:33 -08:00
Olof Hellman 395af1420e implement 'current article' property of the application
Also, fix the unique-id based accessors (the four byte code  for id was
wrong in the sdef)
Add valueIn<Key>WithUniqueID accessors
Add a few protocols and protocol implementations for the AppDelegate
and MainWindowControllor so as to expose needed functionality for
scriptability
2018-02-08 00:11:52 -08:00
Brent Simmons 765a91dd34 Restore selection in timeline after reload due to font size change. 2018-02-07 21:48:51 -08:00
Brent Simmons 2797c607c3 Update row height in timeline when font setting changes. 2018-02-07 21:46:54 -08:00
Brent Simmons 78530dbb96 Change the name of the Show/Hide Sidebar command as needed. Fix #98. 2018-02-07 21:42:33 -08:00
Brent Simmons a3a9d467dc Show the contextual menu for all selected items in the sidebar when the clicked row is part of the selection. 2018-02-07 21:23:18 -08:00
Brent Simmons 4491c5f443 Make the sidebar contextual menu refer to the clicked row rather than the selected row. 2018-02-07 13:25:17 -08:00
Brent Simmons d59058c014 Show a contextual menu in the sidebar. Create and wire-up SidebarContextualMenuDelegate. 2018-02-07 13:17:28 -08:00
Brent Simmons 1f0123db36 Remove code setting the sidebarViewController on SidebarOutlineView, since it doesn’t use it. 2018-02-07 13:11:40 -08:00
Olof Hellman 2e4217236b Merge remote-tracking branch 'brentsimmons/master' 2018-02-06 18:08:57 -08:00
Olof Hellman 29284122f5 Merge remote-tracking branch 'brentsimmons/master' 2018-02-06 18:08:31 -08:00
Brent Simmons fc138990ff Create the iOS app as a separate target rather than as a separate project. 2018-02-05 13:29:46 -08:00
Brent Simmons 26fd71e5d1 Remove iOS project. Going to make an iOS target instead. 2018-02-05 13:20:26 -08:00
Brent Simmons 03b1440045 Reorder UTI types in FeedPasteboardWriter to be like the order in ArticlePasteboardWriter. 2018-02-04 13:45:26 -08:00
Brent Simmons 9cbd5a6217 Update appcast for 1.0d35. 2018-02-04 12:32:56 -08:00
Brent Simmons d6eb6e2f1d Bump version number. 2018-02-04 12:18:28 -08:00
Brent Simmons 6b14d6e8d3 Remove temporarily the Delete menu item from the sidebar gear menu. 2018-02-04 12:15:59 -08:00
Brent Simmons c26c705de0 Make Mark All as Read command in sidebar gear menu work. 2018-02-04 11:45:51 -08:00
Brent Simmons 2999641572 Move MainWindowController+ContextualMenus to SidebarViewController+ContextualMenus, where it always should have been. 2018-02-04 11:19:24 -08:00
Brent Simmons a6db249ab6 Add ArticleFetcher protocol. Add Feed and Folder extensions for it. 2018-02-04 10:57:41 -08:00
Brent Simmons 27c5ffa5eb Add new-feed and new-folder commands to the sidebar gear menu when there’s no selection. 2018-02-03 21:30:30 -08:00
Brent Simmons 68d0885b0d Get rename sheet working, finally. 2018-02-03 21:04:28 -08:00
Brent Simmons ae840b31bc Continue progress on rename sheet. 2018-02-03 20:30:23 -08:00
Brent Simmons 7dee959988 Remove a duplicate reference to the iOS project. 2018-02-03 19:06:40 -08:00
Brent Simmons 01729378f3 Make further progress on rename sheet. 2018-02-03 18:49:29 -08:00
Brent Simmons fbaacbc47f Remake the iOS project. 2018-02-03 16:25:58 -08:00
Brent Simmons 737a44727c Delete the iOS project. 2018-02-03 16:07:21 -08:00
Brent Simmons a03562eee8 Make further progress on the rename sheet. 2018-02-03 16:05:59 -08:00
Brent Simmons e7ce12869c Disable commands to add a feed or add a folder if the window is already displaying a sheet. Fix #319. 2018-02-03 10:56:12 -08:00
Brent Simmons 9fce370967 Try again to check in the added outlets. 2018-02-02 23:01:12 -08:00