Commit Graph

58 Commits

Author SHA1 Message Date
Brent Simmons
e275367664 Provide hash(into:) functions where the default implementation might be doing too much work. 2024-05-26 11:53:36 -07:00
Brent Simmons
1368f3dace Move images-related code into Images module. 2024-04-15 22:21:17 -07:00
Brent Simmons
6db1d40597 Replace forEach for for-in. 2024-04-07 17:06:39 -07:00
Brent Simmons
2461e937bf Replace RSCore with several local modules. Update code as needed. 2024-03-20 20:49:15 -07:00
Brent Simmons
d0760f3d12 Continue fixing concurrency warnings. 2024-03-19 23:05:30 -07:00
Brent Simmons
9129cd382c Remove some no-longer-needed #available checks. 2024-02-27 20:02:31 -08:00
Maurice Parker
8fd3cd2cde Rework cell background selection and separators to remove separator drawing artifacts and use the inset table style. Fixes #2579, #2580 and #2584 2020-11-18 22:02:54 -06:00
Maurice Parker
65510b1901 Merge branch 'mac-release' into main 2020-11-13 07:15:26 -06:00
Brent Simmons
e297a53eb2 Fix out-of-index crash by guarding against a 0-length string. 2020-11-06 17:03:20 -08:00
Maurice Parker
0a01a9f501 Display "(No Text)" if there isn't a title or summary for the timeline. Fixes #2391 2020-10-23 19:18:35 -05:00
Brent Simmons
8350586dc3 Use regular font weight for body text in the timeline. 2020-08-23 21:24:52 -07:00
Brent Simmons
cb5142cba2 Make the feed name bold in timeline cells. 2020-08-23 19:18:02 -07:00
Maurice Parker
d3cebfaccb Turn the star color to white if the article is selected. Issue #2364 2020-08-19 20:00:34 -05:00
Maurice Parker
1f047cdb10 Make the timeline date bold. Issue #2365 2020-08-19 11:56:14 -05:00
Maurice Parker
ef99496002 Make summary text a lighter shade of gray. Issue #2366 2020-08-19 11:51:44 -05:00
Stuart Breckenridge
a57f98e4e7 NetNewsWire-Mac AppDefaults is now a singleton 2020-07-02 11:17:38 +08:00
Nate Weaver
37f1ebc025 Remove the color parameter as it's no longer needed 2020-05-01 01:45:12 -05:00
Nate Weaver
c555646fb2 Add attributed title support in the timeline 2020-05-01 01:42:43 -05:00
Maurice Parker
86fb98c17b
Revert "WIP: Title tags" 2020-04-24 20:24:24 -05:00
Nate Weaver
b437ddab5c Move NSAttributedString+NetNewsWire into Shared/Extensions 2020-04-24 18:25:56 -05:00
Nate Weaver
fde4f53f42 Documentation comments 2020-04-24 16:20:41 -05:00
Nate Weaver
154e78b0c0 Add a comment about why these constants differ between OSs 2020-04-24 16:20:41 -05:00
Nate Weaver
26415f0c62 Assign multiple attributes in one go rather than one at a time 2020-04-24 16:20:41 -05:00
Nate Weaver
df4ea1479a Tweak comment 2020-04-24 16:20:41 -05:00
Nate Weaver
d3e6606cf5 Use a constant for clarity 2020-04-24 16:20:41 -05:00
Nate Weaver
6aff83481f Make attributed titles work on iOS 2020-04-24 16:20:41 -05:00
Nate Weaver
dc787620c5 Use API that works on both macOS and iOS 2020-04-24 16:20:41 -05:00
Nate Weaver
ba73e3289a Remove redundant call to updateTextFieldText() 2020-04-24 16:20:41 -05:00
Nate Weaver
d84ed6068f Add a convenience initializer for attributed strings from an html string 2020-04-24 16:20:41 -05:00
Nate Weaver
2a00b4a4a9 Keep monospace fonts monospaced; use a variable for the current symbolic traits 2020-04-24 16:20:41 -05:00
Nate Weaver
39255a8422 Initialize baseWeight outside the enumeration 2020-04-24 16:20:41 -05:00
Nate Weaver
a6411c7afa Check for semibold base font before changing bold text to heavy 2020-04-24 16:20:41 -05:00
Nate Weaver
57a6561733 Use superscript/subscript font feature 2020-04-24 16:20:41 -05:00
Nate Weaver
3d509a94d4 Add attributed title support in the timeline 2020-04-24 16:20:40 -05:00
Maurice Parker
1778a270d6 Show byline in timeline for single feed timelines when available. 2020-04-18 07:53:56 -05:00
zgjie
bcfd75ff68 Replace the firstElementPassingTest function come from RSCore with the native function first(where:). 2020-04-06 02:06:24 +08:00
Maurice Parker
203f5cf7e7 Lighten timeline fonts 2020-03-23 21:58:35 -05:00
Maurice Parker
5afc3c55f8 Change timeline layout to increase information density. Issue #1938 2020-03-23 21:43:54 -05:00
Nate Weaver
6dc442c264 Update to latest RSCore 2020-01-08 23:40:55 -06:00
Maurice Parker
701070f2dd Make Article icons/avatars match Timeline icons/avatars. Issue #1273 2019-11-12 09:22:23 -06:00
Maurice Parker
560f36621f Add IconImage to encapsulate our icon processing logic 2019-11-05 18:05:57 -06:00
Maurice Parker
00f100e3a3 Renamed TimelineStringFormatter to ArticleStringFormatter now that it is used for much more than the timelines 2019-10-20 02:28:00 -05:00
Maurice Parker
d961a73f28 Removed inadvertent code change 2019-09-26 15:30:38 -05:00
Maurice Parker
0a2cbfde22 Knock the corner off the inner image when it is visible 2019-09-26 14:31:43 -05:00
Brent Simmons
a225d52ba3 Use the new TimelineAvatarView instead of an NSImageView in TimelineTableCellView. 2019-09-16 20:01:30 -07:00
Brent Simmons
506b621e5d Draw the avatar background in TimelineAvatarView only if the icon is too short vertically. 2019-09-16 20:00:32 -07:00
Brent Simmons
8a2d1f5f6a Create TimelineAvatarView, which draws the background for images that need it. 2019-09-15 23:02:13 -07:00
Jim Correia
c8920ca5a6 Added optional separators in the timeline view.
The timeline now optionally includes "Mail style" separators (behind a
hidden default — "CorreiaSeparators" — which defaults to NO).
2019-09-02 09:13:21 -07:00
Brent Simmons
4a4fa6ed0e Fix crashing bug by not using an NSFont as a key in a Swift dictionary. Fix #734. 2019-06-09 16:03:08 -07:00
Maurice Parker
46cd477ee0 Make unread indicator white for selected and emphasized rows in timeline. Issue #655 2019-05-21 16:08:16 -05:00