Commit Graph

1598 Commits

Author SHA1 Message Date
Brent Simmons 9b05c7185e Remove unneeded self. 2019-03-03 12:05:34 -08:00
Brent Simmons a9751d5a51 Get searchRowID by column index 0, since it’s a single-column query. This should make searching imperceptibly faster. 2019-03-03 12:02:26 -08:00
Brent Simmons 96ab26f82e Remove unused argument to TimelineCellData.init. 2019-03-03 11:46:23 -08:00
Brent Simmons e04250f1b3 Use DatabaseDictionary instead of NSDictionary. Work around a Swift memory leak with NSDictionary. 2019-03-02 16:17:06 -08:00
Brent Simmons 797c7cb0fb Bump version to 5.0d16 and update the appcast. 2019-02-25 22:25:47 -08:00
Brent Simmons 752b697505 Revert the state restoration changes, because it needs more study. We’ll revisit this when we add multiple window support, some time after 5.0 ships. 2019-02-25 22:25:29 -08:00
Brent Simmons 1950b0ab47 Remove extra resultSet.close(). 2019-02-25 21:01:20 -08:00
Brent Simmons 92254d86a0 Update ToDo. 2019-02-24 23:12:33 -08:00
Brent Simmons e0c7f8737b Add menu command and keyboard shortcut to move focus to the search field. 2019-02-24 23:03:32 -08:00
Brent Simmons 315af1ef7f Show search results in timeline. Show selected item in detail view. 2019-02-24 22:39:57 -08:00
Brent Simmons 0a45dda375 Create SearchFeedDelegate. Make searching synchronous, since it’s fast enough. 2019-02-24 19:22:16 -08:00
Brent Simmons b957753f5c Revise fetchArticlesMatching function to use FTS. 2019-02-24 18:37:13 -08:00
Brent Simmons af2d66d467 Update RSDatabase. 2019-02-24 15:37:03 -08:00
Brent Simmons e9c76e8ac0 Index articles using SQLite FTS. 2019-02-24 15:34:10 -08:00
Brent Simmons 44edbc7b09 Add search index to database. Move create-table statements into ArticlesDatabase since we can do big strings. 2019-02-22 22:17:05 -08:00
Brent Simmons d509477f2f Make whitespace formatting tweaks. 2019-02-21 20:36:11 -08:00
Brent Simmons efe8a4ab15 Implement search — fetch articles matching a search string from the database. 2019-02-18 22:29:43 -08:00
Brent Simmons 0e98cd56a1 Update RSDatabase. 2019-02-18 19:11:11 -08:00
Brent Simmons ff373ba72a Update ToDo. 2019-02-18 19:11:02 -08:00
Brent Simmons 0ed06cde47 Make MainWindowController an NSToolbarDelegate and don’t use a separate object. 2019-02-18 19:02:40 -08:00
Brent Simmons a70f610523 Update ToDo. 2019-02-18 19:01:50 -08:00
Brent Simmons 2b1a5300eb Make minor whitespace formatting tweak. 2019-02-18 14:56:37 -08:00
Brent Simmons cb579e73a4 Remove reference to unused unstar image. 2019-02-18 14:55:56 -08:00
Brent Simmons 74b3ecdab8 Remove references to the no-longer-used TimelineSelectionDidChange notification. 2019-02-18 14:54:38 -08:00
Brent Simmons f2d98c9581 Make whitespace formatting tweaks. 2019-02-18 14:51:27 -08:00
Brent Simmons c3b4e67e15 Update ToDo. 2019-02-18 14:51:13 -08:00
Brent Simmons e0514cb665 Merge. 2019-02-18 13:33:01 -08:00
Brent Simmons fd5726b56d Fix keyboard shortcuts in the timeline. 2019-02-18 13:10:16 -08:00
Brent Simmons 19023f9168 Rewire contextual menu in timeline view. 2019-02-18 12:38:14 -08:00
Brent Simmons 076df956f9 Continue rewiring progress. 2019-02-17 22:00:04 -08:00
Brent Simmons 80761b4a83 Make progress on wiring views back together to handle selection changes. 2019-02-17 21:43:51 -08:00
Brent Simmons 175552d113 Make the timeline show articles. 2019-02-17 19:38:17 -08:00
Brent Simmons 2574e1bbd7 Remove references to the SidebarSelectionDidChange notification. 2019-02-17 18:52:34 -08:00
Brent Simmons 9a15068fdd Continue work on swapping timeline views. 2019-02-17 18:46:28 -08:00
Brent Simmons f7dd3e6540 Start notes for the Help book. 2019-02-17 15:20:34 -08:00
Brent Simmons 0f5383b2f9 Continue progress on swapping timeline views. 2019-02-16 22:22:26 -08:00
Brent Simmons 3408a4c725 Make progress on swapping timeline views. 2019-02-16 22:14:06 -08:00
Brent Simmons 835267629b
Merge pull request #551 from danielpunkass/fix-state-restoration
Work around case #550 by imposing the NSQuitAlwaysKeepsWindows defaul…
2019-02-15 14:45:46 -08:00
Daniel Jalkut aea529ae56 Work around case #550 by imposing the NSQuitAlwaysKeepsWindows default as true in NetNewsWire, despite what the user may have selected in the system-wide "Close windows when quitting" setting in General tab of System Preferences. 2019-02-15 17:40:05 -05:00
Brent Simmons a8924bf337
Merge pull request #549 from danielpunkass/state-restoration-improvements
Switch to standard state restoration mechanism
2019-02-15 10:40:41 -08:00
Daniel Jalkut c54d2f94cc Fix #547 by implementing state restoration in the sidebar and timeline view controllers. 2019-02-15 13:38:07 -05:00
Daniel Jalkut cd695848f0 Change split view state restoration from user defaults to standard window restoration mechanism. I don't think you need to include the manual window frame autosave name stuff either because I think it's automatically handled by AppKit's default state restoration. 2019-02-15 11:16:38 -05:00
Brent Simmons 193c34b9c2
Merge pull request #548 from danielpunkass/dark-mode-code-styles
Differentiate the color for code and pre blocks.
2019-02-15 07:50:49 -08:00
Daniel Jalkut 80cfc9c0fe Differentiate the color for code and pre blocks. 2019-02-15 09:34:12 -05:00
Brent Simmons 8d79827346 Start TimelineContainerViewController. 2019-02-14 21:58:45 -08:00
Brent Simmons aa9cfcaef4 Start TimelineTableViewController. Create TimelineTableView.xib. 2019-02-14 21:47:08 -08:00
Brent Simmons fb1fdc10ad Add TimelineContainerView. 2019-02-13 22:05:31 -08:00
Brent Simmons 9220cee0bb Create TimelineTableRowView and TimelineTableCellView in code. 2019-02-13 21:33:50 -08:00
Brent Simmons 8df96613c4 Move a bunch of code from DetailViewController to DetailWebViewController, where it belongs. 2019-02-12 22:57:19 -08:00
Brent Simmons 2f8bee998e Place the comment in the right place in DetailWebView. 2019-02-12 22:56:44 -08:00