Commit Graph

59 Commits

Author SHA1 Message Date
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 

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
Nate Weaver
7f3b77b760 Quote nested <q> tags with alternating quote marks 2020-05-01 01:42:43 -05:00
Nate Weaver
e6cbdb5d23 Remove font parameter 2020-05-01 01:42:43 -05:00
Nate Weaver
ee4830022e Mark some stuff private 2020-05-01 01:42:43 -05:00
Nate Weaver
d06e7447f0 Call out to RSParser for entity decoding 2020-05-01 01:42:43 -05:00
Nate Weaver
e8d39ded0d tagBuf -> tag 2020-05-01 01:42:43 -05:00
Nate Weaver
bdd5796a10 Use a custom CountedSet for styles so nested tags work 2020-05-01 01:42:43 -05:00
Nate Weaver
b722e75d9e Use a nested function for superscript/subscript features 2020-05-01 01:42:43 -05:00
Nate Weaver
fd672c5ce6 Add a custom HTML -> NSAttributedString initializer 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
d84ed6068f Add a convenience initializer for attributed strings from an html string 2020-04-24 16:20:41 -05:00
Nate Weaver
06b3d2f8e1 Declare UTF-8 to avoid mojibake 2020-04-24 16:20:40 -05:00
Nate Weaver
3d509a94d4 Add attributed title support in the timeline 2020-04-24 16:20:40 -05:00
Maurice Parker
d168658e05 Add Extension Point maintenance to the iOS app. 2020-04-16 08:25:40 -05:00
Maurice Parker
49cff8eb8e Add basic ExtensionPoint support. 2020-04-07 15:25:33 -05:00
Maurice Parker
d0852d8954 Fix scenario where incorrect platform specific icon image could be returned. 2020-03-30 10:56:52 -05:00
Brent Simmons
910e14b441 Use a serial queue for RSImage.scaledForIcon, so we don’t end up having a ton of threads and doing too much at once, which hurts performance. Fix . 2020-03-19 22:22:58 -07:00
Maurice Parker
4d18c34759 Update to the latest RSCore 2020-03-18 16:08:17 -05:00
Maurice Parker
73e7fb40ed Fixed macOS compile error for new brightness code detection. 2020-03-13 10:51:49 -05:00
Maurice Parker
e0f8f7c5eb Increase brightness threshold to reduce false positives. Issue 2020-03-13 10:45:02 -05:00
Flowinho
d282181269 Add isBright function to Shared Logic 2020-03-13 11:43:17 +01:00
Nate Weaver
b35215d03b Update for pending RSCore String updates 2020-01-17 13:45:38 -06:00
Nate Weaver
58c90feccf Update to latest RSCore 2020-01-13 15:32:13 -06:00
Maurice Parker
911d4ed248 Change dark image detection to only consider non-clear pixels and not fail on images with no luminescence. Issue 2020-01-11 12:25:31 -07:00
Brent Simmons
a1675f0640 Fix a build warning in the Mac version. 2019-12-07 22:23:55 -08:00
Nate Weaver
bf4dd59d90 Use the app icon for the NNW feed 2019-12-07 15:45:33 -06:00
Maurice Parker
397d8e8ffa Update picker for Share Extension to be hierarchical and use icons. Issue 2019-11-16 19:44:01 -06:00
Maurice Parker
560f36621f Add IconImage to encapsulate our icon processing logic 2019-11-05 18:05:57 -06:00