Commit Graph

5333 Commits

Author SHA1 Message Date
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 070981553d Make attributed titles work on iOS 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 074cad019b Re-add NSAttributedString+NetNewsWire 2020-05-01 01:42:43 -05:00
Nate Weaver f36b9a2a84 Disable ruby tags for now 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 74513d2661 Only allow certain inline tags to remain in the title; HTML-encode the rest 2020-05-01 01:42:43 -05:00
Nate Weaver 2b0cb11eb9 Compile frameworks for 10.15+ 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 83e7975080 Changed to show article send status on progress bar when part of the sync process. 2020-04-30 17:42:56 -05:00
Maurice Parker eedcfd88d4 Don't send new articles that aren't really new to the account to the cloud. 2020-04-30 16:58:41 -05:00
Maurice Parker 1a828e6809 Revert debugging code 2020-04-30 16:26:26 -05:00
Maurice Parker efda39dda3 Log the end of sending the statuses if we don't send any. 2020-04-30 15:55:02 -05:00
Maurice Parker 898681dfe6 Take device resolution into consideration when drawing image. Issue #2032 2020-04-30 15:34:17 -05:00
Maurice Parker 14e1dbe58e Merge branch 'ios-release' 2020-04-30 14:29:01 -05:00
Brent Simmons 704bffc7d2 Use explicit == func for Article. 2020-04-30 11:42:52 -07:00
Maurice Parker 91a4c46003 Pull status single run code 2020-04-30 01:18:52 -05:00
Maurice Parker e01b34f9c9 Handle database getting suspended while processing articles 2020-04-30 00:54:41 -05:00
Maurice Parker 32a334bb1c Record article deletes that can happen when receiving article statuses from the cloud 2020-04-30 00:05:37 -05:00
Maurice Parker c9ad5fe4c0 Remove initial send status since we do it at the end now 2020-04-29 23:56:50 -05:00
Maurice Parker d27b0cb2a0 Don't try to insert if there are no articles. 2020-04-29 20:06:14 -05:00
Maurice Parker e83694ceb0 Prevent deletes if there are no records to delete 2020-04-29 19:17:02 -05:00
Maurice Parker 095c8575f3 Add CloudKit deletes 2020-04-29 19:13:50 -05:00
Maurice Parker 0b49acfabc Made sync status sequential so that we stop losing statuses when we automatically send them on exceeding 100 statuses 2020-04-29 16:14:18 -05:00
Maurice Parker d30987ca0a Use main thread operation to only allow one remote notification at a time to run. 2020-04-29 15:46:29 -05:00
Maurice Parker f193b6da1a Prevent deadlocks by notifying group completion on background thread 2020-04-29 15:36:28 -05:00
Maurice Parker d1c3d43018 Don't animate progress bar when initially added to the superview 2020-04-29 14:29:21 -05:00
Maurice Parker 83e3ad3645 Update to latest RSWeb 2020-04-29 14:24:58 -05:00
Maurice Parker fbdbc19d0b Remove extra fetch zone changes call 2020-04-29 11:07:24 -05:00
Maurice Parker bedce4946f Allow for multiple sync status records in sync database. 2020-04-29 05:24:35 -05:00
Maurice Parker a48cbfe1ca Add code to show the Feed Inspector when the feed icon in the article view is pressed. Issue #1931 2020-04-28 21:26:57 -05:00
Maurice Parker 5e4ebb7298 Disallow the feed icon from the image zooming. 2020-04-28 21:03:21 -05:00