Commit Graph

522 Commits

Author SHA1 Message Date
Brent Simmons 4ddf886012 Log a debug message when importing default feeds. 2017-11-25 16:16:19 -08:00
Brent Simmons 17662ef337 Simplify functions for applying functions to cells. 2017-11-25 16:16:03 -08:00
Brent Simmons cf57e1be32 Log a message when favicon download fails. 2017-11-25 16:15:36 -08:00
Brent Simmons d373662484 Print logged messages to Console. 2017-11-25 16:15:17 -08:00
Brent Simmons ba638ecda1 Normalize homePageURL in FaviconDownloader — this avoids doing duplicate work for http://foo.com/ and http://foo.com — they’re both treated as http://foo.com/ 2017-11-25 16:11:24 -08:00
Brent Simmons 61c429d45c Log a debug message only when it’s first run. 2017-11-25 16:10:19 -08:00
Brent Simmons 7b964e05f9 Avoid looking for favicon when updating only a cell’s unread count. Micro-optimization. 2017-11-25 15:21:35 -08:00
Brent Simmons 5e41460849 Edit a couple feeds in the Feed Directory to use JSON Feed. 2017-11-25 15:08:53 -08:00
Brent Simmons 68c01491fc Note when feed settings change and update the sidebar cells. 2017-11-25 13:48:14 -08:00
Brent Simmons 16f1791b95 Put the Favicons cache folder inside a com.ranchero.evergreen folder. 2017-11-25 13:47:26 -08:00
Brent Simmons 8425e9033b Fix bug getting Dr. Drang’s favicon. 2017-11-25 13:46:48 -08:00
Brent Simmons 9865bd8e51 Fix a crash on startup — detect when there are no feeds and don’t hit database. 2017-11-25 13:11:19 -08:00
Brent Simmons 97079108be Add Atom parser test for getting the home page link. It passed, which means the bug I’m currently hunting (no favicon for Dr. Drang) is somewhere else. 2017-11-25 13:02:21 -08:00
Brent Simmons 0b5f470654 Check "icon" as well as "shortcut icon" when finding the favicon link in a web page. (See Macdrifter.com, for instance.) 2017-11-25 13:01:20 -08:00
Brent Simmons 55166e0979 Update a Feed with settings taken from the raw feed. (Some Feeds had no homePageURL set, which meant, in most cases, no favicons.) 2017-11-25 12:17:49 -08:00
Brent Simmons 09c5d09c4e Bump version number. Update appcast. 2017-11-25 11:56:47 -08:00
Brent Simmons 013e4dac0e Add some vertical spacing between rows in the source list. 2017-11-25 11:45:06 -08:00
Brent Simmons 605227c27d Return sidebar to source list translucency. We’ll try it, anyway. 2017-11-25 11:40:15 -08:00
Brent Simmons 8fe2810a90 Show favicons in the Feed Directory. Fix #109. 2017-11-25 11:33:07 -08:00
Brent Simmons 5ddf9ea284 Update sidebar when favicon becomes available. Fix #125. 2017-11-25 11:14:42 -08:00
Brent Simmons 22ec7d670a Use temp directory for favicons, so they’ll automatically get cleaned up by the system. 2017-11-25 11:14:06 -08:00
Brent Simmons bd8b7c6ed9 Implement debugDropConditionalGetInfo command. Fix #197. 2017-11-25 11:13:15 -08:00
Brent Simmons e4008b677f Fix two typos in JSONFeedParser which kept the parser from getting the feed’s favicon and icon URLs. Also added a test for this. 2017-11-25 10:34:48 -08:00
Brent Simmons 226a7d05b6 Use 97% white background for source list, since favicons look so very terrible on standard translucent sidebar background. 2017-11-24 22:05:10 -08:00
Brent Simmons f7e3a4e914 Make progress on showing favicons in the source list. 2017-11-24 21:57:28 -08:00
Brent Simmons 4cf3f8dfe7 Create and use SidebarCellAppearance and SidebarCellLayout with SidebarCell. 2017-11-24 21:39:59 -08:00
Brent Simmons f8a05badcb Make further progress on favicons. Should be close to a first cut now. 2017-11-24 13:12:18 -08:00
Brent Simmons 32973c4c85 Fix an ambiguous call to download in DownloadWithCacheManager. I’m honestly not sure what function would have been called. 2017-11-24 13:11:41 -08:00
Brent Simmons e4f65000b2 Replace Objective-C RSBinaryCache with Swift BinaryDiskCache in RSCore. 2017-11-24 13:10:22 -08:00
Brent Simmons d464fa0c38 Make progress on favicons. 2017-11-24 10:45:22 -08:00
Brent Simmons 9e3e093bcd Make progress on favicons. 2017-11-23 14:15:28 -08:00
Brent Simmons 3282f0ec09 Create NSImage on background queue. 2017-11-23 12:15:33 -08:00
Brent Simmons b4ff1785ab Switch from download to downloadUsingCache where appropriate. 2017-11-23 10:29:00 -08:00
Brent Simmons c9610f1f8e Create DownloadWithCacheManager, for when it’s a good idea to use a cache. 2017-11-23 10:24:36 -08:00
Brent Simmons ca4f4d408f Create downloadUsingCache method — so we don’t download a home page several times in succession, for instance. 2017-11-22 13:37:07 -08:00
Brent Simmons d6e436c47f Darken the splitview dividers. 2017-11-21 20:47:35 -08:00
Brent Simmons ba4ba74fef Set “floats group rows” to false in the source list. 2017-11-21 20:36:45 -08:00
Brent Simmons fcf9d645f9 Update appcast for 1.0d18. 2017-11-21 13:20:33 -08:00
Brent Simmons 1288309995 Make window have a title — this allows people to show labels for toolbar items. 2017-11-21 13:12:22 -08:00
Brent Simmons 6e48acc0ae Bump version number. 2017-11-21 13:12:03 -08:00
Brent Simmons 0ed0b483bc Make unread indicator circle in timeline match the same blue used in toolbar icons. 2017-11-21 13:06:23 -08:00
Brent Simmons 00f7b817a7 Make further progress on FaviconDownloader. 2017-11-20 13:29:20 -08:00
Brent Simmons 91895d4066 Create FaviconURLFinder, which pulls the favicon URL from the metadata of a web page. 2017-11-20 13:16:06 -08:00
Brent Simmons 6979b85fb5 Make progress on FaviconDownloader. 2017-11-19 23:59:04 -08:00
Brent Simmons 86907f6aab Create ThreadSafeCache, which FaviconDownloader uses. 2017-11-19 23:58:35 -08:00
Brent Simmons cb7f324922 Create Debug menu. Fix #139. 2017-11-19 22:39:13 -08:00
Brent Simmons 1864f60e0b Save iconURL and faviconURL in Feed when found in ParsedFeed. 2017-11-19 22:38:42 -08:00
Brent Simmons 0284117bc3 Save and restore iconURL in Feed. 2017-11-19 22:37:59 -08:00
Brent Simmons 26cc99db54 Start FaviconCache. 2017-11-19 21:26:01 -08:00
Brent Simmons f457694922 Save and restore faviconURL in Feed. 2017-11-19 21:24:19 -08:00