Commit Graph

87 Commits

Author SHA1 Message Date
Duncan Babbage cc855f3832 link and URL vars for Article. Storage as rawLink
link and externalLink fall back to providing the raw stored value if URLs cannot be created even with repair.
2021-09-30 16:51:59 +13:00
Maurice Parker f9af3c786b Merge branch 'ios-candidate' 2021-05-25 20:12:50 -05:00
Brent Simmons 9d2c8f000f Create and use IconImageCache. It centralizes and de-dupes logic for getting feed/article images, and it caches the results, which helps performance. 2021-05-08 12:42:44 -07:00
Duncan Babbage 9092d075a0 Handle links with unencoded spaces. Fixes #3069 2021-04-28 22:49:32 +12:00
Maurice Parker 991297165b Add completion callbacks so that we can ensure that unreads have been marked before determining the next unread. Fixes #2993 2021-04-12 19:42:05 -05:00
Maurice Parker c95daa208f Add completion callbacks so that we can ensure that unreads have been marked before determining the next unread. Fixes #2993 2021-04-12 19:41:01 -05:00
Maurice Parker cc6449ed2a Merge branch 'ios-candidate' into main 2021-04-03 11:10:04 -05:00
Maurice Parker 1874e0c7d2 Change the luminance algorithm so that we don't miss images in unexpected formats. Fixes #2967 2021-04-03 10:40:46 -05:00
Stuart Breckenridge 8dc6e4e332
Contraint Changes
Fixes #2850
• #2634: resizing vertically downards (expanding) is smooth
2021-03-07 14:21:30 +08:00
Maurice Parker 051309d98b Fix pathing problem with icon image urls 2021-02-04 21:50:03 -06:00
Stuart Breckenridge f85c1234a5
Adds to the URL-Extensions file 2021-01-09 06:09:50 +08:00
Stuart Breckenridge fe194ec2e5
adds iconImageUrl to article utils 2020-12-24 07:31:44 +08:00
Maurice Parker ef18600acc Separate background suppression from symbol processing. Fixes #2646 & Fixes #2635 2020-12-06 14:25:22 -06:00
Maurice Parker ec66c08f9a Make status marking asynchronous. 2020-10-24 17:17:46 -05:00
Nate Weaver 643b9f4659 Make sure range.location isn't out-of-bounds
Fix for #2512.
2020-10-20 12:05:52 -05:00
Maurice Parker 8b3bd2f388 Move Reachability to RSWeb 2020-10-06 19:25:42 -05:00
Maurice Parker b0e7ae0324 Merge branch 'mac-candidate' into main 2020-08-19 21:03:55 -05:00
Maurice Parker 1cda2ac3be Discard the email address in the byline if it is a no reply. Issue #2351 2020-08-18 17:44:28 -05:00
Maurice Parker a500166af0 Merge branch 'ios-release' into main 2020-08-15 11:03:29 -05:00
Stuart Breckenridge ddbf0fffb6
Fixes #2335
The `ReleaseNotes` struct has been replaced with an extension on URL. Release Notes can now be opened on all versions of NNW.
2020-08-15 15:01:00 +08:00
Maurice Parker 73b120a91c Change any glyphs in the sidebar to white when selected to make them visible regardless of use control color selection 2020-08-10 13:53:21 -05:00
Maurice Parker 1de3c75d4f Add update timeline articles statuses back in 2020-07-25 13:53:46 -05:00
Maurice Parker e88e4f65a5 Switch TimelineItems to use an OrderedDictionary 2020-07-25 10:31:22 -05:00
Maurice Parker e315687cc9 Supply a background for the icon if it is too short or hard to see. Issue #2220 2020-07-20 21:01:25 -05:00
Stuart Breckenridge 7183b853bd
#2256
Fixes #2256
2020-07-13 14:24:57 +08:00
Maurice Parker 6b45a72707 Change unread indicator font and weight to match existing iOS parameters 2020-07-03 20:03:36 -05:00
Maurice Parker 4393e54a5c Fix unread indicator color 2020-07-03 19:41:38 -05:00
Stuart Breckenridge c2149579c9 Converts AppDefaults to singleton 2020-07-02 09:58:25 +08:00
Maurice Parker 7d8e49a2ee Merge branch 'ios-release' 2020-05-18 03:05:59 -05:00
Stuart Breckenridge f58ac4d160
Wraps Alert strings in `NSLocalizedString`
Also removes `tel` scheme handling.
2020-05-04 13:25:02 +08:00
Stuart Breckenridge e825a5d516
Adds handling of `tel` url schemes 2020-05-03 22:37:01 +08:00
Stuart Breckenridge f901436211
mailto links now open on iOS
fixes #2036

Extends `URL` with an email address `var` for `mailto` schemes and adds a decisionHandler for `mailto` schemes on `WebViewController`. If the device cannot send mail, an alert is displayed.
2020-05-03 21:33:57 +08:00
Nate Weaver 688b24f18e Swap baseDescriptor and currentDescriptor to allow semibold to come through 2020-05-01 01:56:19 -05:00
Nate Weaver 37f1ebc025 Remove the color parameter as it's no longer needed 2020-05-01 01:45:12 -05:00
Nate Weaver cc0bfd95b2 Add a comment 2020-05-01 01:42:44 -05:00
Nate Weaver ae40172b7c Make superscript/subscript work again 2020-05-01 01:42:44 -05:00
Nate Weaver 5d8604714c Revert setting bold to heavy if the base font is semibold
- It was causing conflicts with nested bold + other styles.
- We don't want bold in titles anyway.
2020-05-01 01:42:44 -05:00
Nate Weaver 406a8e0cc0 Set weight for bold fonts 2020-05-01 01:42:44 -05:00
Nate Weaver d47767d8b4 Remove tagStack 2020-05-01 01:42:44 -05:00
Nate Weaver 951ffeb899 Move declaration/initialization of attributes dictionary closer to use 2020-05-01 01:42:44 -05:00
Nate Weaver cce4b56ee5 Fix building for iOS 2020-05-01 01:42:44 -05:00
Nate Weaver f38406e3ac Make the return type of CountedSet's subscript non-optional 2020-05-01 01:42:44 -05:00
Nate Weaver 62737bd94f Add <var> and <dfn> to italicized tags 2020-05-01 01:42:44 -05:00
Nate Weaver 7297bf837d Re-add use of custom initializer 2020-05-01 01:42:43 -05:00
Nate Weaver c555646fb2 Add attributed title support in the timeline 2020-05-01 01:42:43 -05:00
Nate Weaver ec49030081 Consolidate some repeated code 2020-05-01 01:42:43 -05:00
Nate Weaver 2672dbb8f1 Remove old comment 2020-05-01 01:42:43 -05:00
Nate Weaver 8006d816a9 Style(tag:) -> Style(forTag:) 2020-05-01 01:42:43 -05:00
Nate Weaver fcbfce4ace Move duplicated code outside of the if 2020-05-01 01:42:43 -05:00
Nate Weaver b7916f7d31 Convert to an if-let since currentStyles are being stored instead of a single style 2020-05-01 01:42:43 -05:00