547 Commits

Author SHA1 Message Date
5f5ef8fcea Fix potential crash when large image loading fails 2021-04-04 14:05:00 -04:00
a3b59c990b Fix compile issue on Xcode 12.4 2021-04-04 14:04:44 -04:00
6e92633793 Fix crash when adding pinned statuses section during refresh 2021-02-08 18:24:44 -05:00
e4ff632dcb Fix conversation main status being selectable 2021-02-07 20:16:08 -05:00
b0ebef2cfd Only show Trending Hashtags and Profile Directory on Mastodon 2021-02-07 19:52:59 -05:00
bbb8707cb7 Add Profile Directory 2021-02-07 19:39:22 -05:00
6a927e4092 Enable drag & drop on account list screen 2021-02-07 11:34:04 -05:00
13cdb5d8c7 Add Trending Hashtags to sidebar 2021-02-07 10:45:36 -05:00
9f0883d0cb Fix sidebar item getting deselected on add list/instance/hashtag 2021-02-07 10:43:54 -05:00
5d1c95621b Fix VisualEffectImageButton retain cycle
Button had a menu which had an action which had a closure which strongly
referenced the sourceView which was the button itself.
2021-02-06 15:31:13 -05:00
02ba45fa34 Fix crash when opening & closing Preferences after changing account
The old ProfileHeaderView was being leaked, and it was still listening
to the preferencesDidChange notification, but crashing because its
delegate (and therefore MastodonController) had been dealloc'd.
2021-02-06 15:29:35 -05:00
9d5c004ec4 Add Trending Hashtags screen 2021-02-06 14:54:35 -05:00
37e90229c2 Fix crash when editing list 2021-02-06 14:35:34 -05:00
73aceda97f Convert Explore screen to use list-style collection view 2021-02-06 13:48:31 -05:00
669d55500a Remove unused pre-iOS 14 code 2021-02-06 13:47:45 -05:00
bcc023a127 Show threads on Conversation screen 2021-01-31 17:42:29 -05:00
4ed862120c Add trending hashtags to add saved hashtag controller 2021-01-28 23:20:25 -05:00
cdffda5593 Fix crash when profile screen disappears 2021-01-20 18:41:24 -05:00
d1c45a87e6 Fix low resolution avatars being shown on profile 2021-01-20 18:31:30 -05:00
e7800249af Avoid loading cached data into memory when prefetching 2021-01-18 14:50:56 -05:00
2e88b266d9 Prefetch on a background queue to avoid blocking main queue with
CoreData lookups
2021-01-18 14:29:32 -05:00
6dee0957ea Remove in-memory caches of most original image data 2021-01-17 11:45:04 -05:00
c12d2db258 Cache UIImage objects to avoid re-decoding images unnecessarily 2021-01-17 11:28:50 -05:00
27b39b79e6 Fix refreshes after no-result refresh not working
Fixes #117
2021-01-13 00:16:33 -05:00
69c2faf0e1 Fix crash when user refreshes profile before initial pinned statuses request completes 2021-01-12 22:17:01 -05:00
678ed4959b Fix crash upon split view expansion before sidebar VC is loaded 2021-01-12 22:16:20 -05:00
f0e2bb8db6 Fix crash while cancelling prefetching of rows 2020-12-31 23:20:53 -05:00
e67f6b2ad8 Avoid redundant database lookups 2020-12-25 12:01:35 -05:00
4ac3292183 Allow dragging attachments between Compose windows 2020-12-14 22:46:56 -05:00
1b44117891 Don't unnecessarily load views when transferring navigation stacks 2020-12-14 22:24:48 -05:00
c7b708e62b Fix crash when sidebar collapses 2020-12-14 22:23:22 -05:00
56b51f944d Add drag and drop spring loading to tab bar & sidebar 2020-12-14 22:16:16 -05:00
30297c2390 Add multi-window drag and drop to all the things 2020-12-14 18:44:48 -05:00
522c9b2b03 Add multi-window support and auxiliary windows 2020-12-13 22:37:37 -05:00
67a029180e
Don't construct unnecessary view controllers in MainSplitViewController 2020-11-15 19:04:46 -05:00
dfad8740eb
Extract common functionality into TimelineLikeTableViewController 2020-11-15 15:48:49 -05:00
80c0d08ec6
Tweak MenuController 2020-11-14 22:28:52 -05:00
2b5ab90cd8
Add key commands for prev/next sub tab 2020-11-14 22:26:02 -05:00
0303c9af9d
Use correct sidebar style on Catalyst 2020-11-14 12:23:13 -05:00
1e59f663e5
Add sidebar item key commands 2020-11-14 12:15:49 -05:00
72217cde51
Add compose key command 2020-11-14 11:55:19 -05:00
4bccbe254b
Add text formatting key commands 2020-11-14 11:47:20 -05:00
9e15a84006
Add refresh key command 2020-11-14 11:22:47 -05:00
59c00b01dc
Fix not being able to compile for Catalyst 2020-11-14 10:45:27 -05:00
75d26e613b
Add account switching animation 2020-11-11 15:28:17 -05:00
366378f267
Scroll attachment description views to ensure caret is always visible 2020-11-11 12:44:39 -05:00
80cca7673a
Tweak compose text view scrolling behavior 2020-11-11 12:14:36 -05:00
fc888b168c
Add fast account switching on iPhone 2020-11-09 19:39:42 -05:00
4ac76ab672
Add opposite collapse keywords preference 2020-11-03 15:39:02 -05:00
eb4e6e32f7
Add Grayscale Images preference 2020-11-01 13:59:58 -05:00
89b35fab6d
Move pruning of offscreen rows to when the VC disappears, instead of
during scrolling

Prevents race when removing and adding cells in the willDisplay table
view delegate method.
2020-10-26 22:55:58 -04:00
d638ff513b
Fix crash when using show timeline Siri Shortcut 2020-10-26 22:13:48 -04:00
80b3585b71
Fix stautses on My Profile not appearing until scroll 2020-10-25 11:19:37 -04:00
16b02edf87
Ensure the cursor remains visible when composing posts 2020-10-24 15:46:24 -04:00
b8f169d0cd
Fix broken layout on Compose screen when replying to certain posts
Closes #115
2020-10-24 11:34:49 -04:00
62a9535394
Fix crash when ending dictation in Compose CW field
Closes #116
2020-10-24 11:26:29 -04:00
8c4ef3caa6
Fix system autocomplete not working in Compose post body and CW 2020-10-24 11:20:43 -04:00
f841854c5f
Fix crash logging into instances whose domain does not match the Instance uri field 2020-10-21 21:47:01 -04:00
8a528936b8
Fix crash when tapping My Profile tab too quickly after app launch 2020-10-19 18:41:38 -04:00
45ac40b125
Fix broken Compose layout when replying to long statuses 2020-10-18 16:31:41 -04:00
9b949af390
Add complete emoji list to Compose emoji autocomplete 2020-10-18 11:17:58 -04:00
a805da9faa
Enable picture-in-picture playback for video attachments 2020-10-17 12:56:13 -04:00
e0acb0f04a
Don't search for unnecessary data 2020-10-16 19:14:29 -04:00
5414f2329c
Fix race condition causing My Profile tab bar image to not be set 2020-10-14 19:34:30 -04:00
08045dd1e9
Prioritize followed/following accounts in mention suggestions 2020-10-14 19:28:32 -04:00
288f855e2f
Support positing large image VC controls in iPhone 12/Pro/Mini ears 2020-10-13 21:12:21 -04:00
7883b04618
Fix autocomplete bar cutting off scroll view contents 2020-10-12 22:12:35 -04:00
0687c040a0
Prevent inserting extra whitespace when autocompleting 2020-10-12 22:03:50 -04:00
58c6d508ec
Prevent caret from changing position on auto complete 2020-10-12 19:39:50 -04:00
ae272582ac
Autocomplete custom emojis in CW field 2020-10-12 19:17:57 -04:00
1a4517c43a
Cache account relationships in CoreData 2020-10-12 18:20:57 -04:00
2cfc0cf28a
Add Compose screen mention, hashtag, emoji completion
Closes #10
2020-10-11 22:14:45 -04:00
cf63384dce
Why use many DispatchQueue.main.async when few do trick? 2020-09-25 11:31:53 -04:00
733d50b642
Strip U+FFFC from status bodies when posting
Fixes #112
2020-09-23 17:20:45 -04:00
0e60e74a8a
Fix being able to rotate into landscape on iOS 14 2020-09-21 18:45:52 -04:00
fd0054addf
Correctly round corners of My Profile tab icon 2020-09-21 18:42:06 -04:00
576e4aa90d
Add conversation screen title 2020-09-21 18:24:02 -04:00
ea3de4cdda
Fix wrong icon in context menu action 2020-09-21 18:18:55 -04:00
83c7609df5
Fix crash when using app icon shortcuts 2020-09-21 18:11:28 -04:00
809584cc54
Fix crash when opening Compose screen before account/instance is loaded
Prevents when opening the Compose screen with poor network connectivity
2020-09-21 18:04:08 -04:00
6965a4c374
Remove no longer necessary iOS 13.4 availability checks 2020-09-20 11:34:46 -04:00
b6c0c02028
Remove no longer necessary conditional compilation directives 2020-09-20 11:34:09 -04:00
5906c374ba
Fix not being able to tap text view placeholders on Compose screen
Fixes #111
2020-09-17 18:40:02 -04:00
ee90b20f7f
Add swipe to remove accounts in Preferences 2020-09-16 22:21:12 -04:00
9d9ea565f1
Fix crash opening Preferences with deleted accounts 2020-09-16 17:52:00 -04:00
6df5f7fb08
Add preferences for auto-expanding CW'd posts and disabling long post
collapsing

See #105
2020-09-15 21:37:08 -04:00
02135aa0de
Use inset list style for preferences on iOS 14 2020-09-15 20:48:53 -04:00
be5a4c03a6
Fix attachments not being posted in the correct order. 2020-09-14 23:29:31 -04:00
911e66a159
Allow more browsing of instance public timelines
Closes #74
2020-09-13 15:51:08 -04:00
ab4bcfa50f
Fix profile screen title not being set 2020-09-13 15:34:45 -04:00
1c6e464a4c
Start Compose screen tests 2020-09-13 13:19:56 -04:00
8ac3deb55a
Remove old file 2020-09-12 22:04:41 -04:00
5e9cc430c6
Use cross fade transitions for displaying gallery and asset picker if
Reduce Motion/Prefer Cross Fade is enabled

Closes #108
2020-09-12 13:25:59 -04:00
0b6ef6517b
Fix gallery action buttons not being centered in device "ears" on iPhone
XR and 11
2020-09-12 12:01:16 -04:00
34a01094f7
Fix gallery expand animation description not starting at correct
position

Safe are insets weren't being taken into account when hiding the
controls, because the toVC had not yet been added to the container view
and thus didn't have anything to receive insets from.
2020-09-12 12:01:16 -04:00
95b215c6b5
Add Clear Image Cache option to Advanced prefs 2020-09-12 12:01:16 -04:00
e21dceb3b3
Tweak gallery spring animation parameters 2020-09-12 12:01:16 -04:00
9534f19262
Show BlurHash previews of attachments 2020-09-12 12:01:08 -04:00
7c4bbfd730
Improve compose posting error messages 2020-09-09 18:33:59 -04:00
e19a6528ad
Improve gallery expand animation
Use spring timing, slide in top/bottom controls
2020-09-08 23:41:15 -04:00
fe1db72f19
Fix save draft sheet showing even when draft had no content 2020-09-07 17:15:18 -04:00
b4ddb8f533
Fix safe area on Compose screen not including keyboard on iOS 13 2020-09-07 17:05:50 -04:00
9a4ddfea3f
Fix Compose reply scroll effect not working on iOS 13 2020-09-07 16:56:06 -04:00
dd8a196630
Show custom emoji in display names on Compose screen 2020-09-07 15:22:06 -04:00
3da7aacb35
Fix visiblity context menu in main text view accessory not updating 2020-09-07 14:46:17 -04:00
39c8162931
Prevent attempting to add an attachment when the possibility would be
invalid
2020-09-07 14:44:56 -04:00
fe95cb9e1a
Replace Draw Something context menu item with dedicated button
Fixes add attachment button not working on iOS 13. Adding a context menu
to a Button inside a List on iOS 13 prevents the button from ever
recognizing taps.
2020-09-07 14:41:31 -04:00
ec2d510be2
Fix crash when opening Compose screen on iOS 13 2020-09-06 23:27:43 -04:00
262aadf807
Fix very bad performance when laying out Compose reply view
Using a non-scrolling UITextView wrapped in SwiftUI combined with the
old hack of fixing its layout by passing the view controller's width
down to the wrapped view caused very slow layouts, resulting in
significant lag when typing into the main text view of the compose
screen.
2020-09-06 22:47:02 -04:00
d008b882cb
Use context menu for visibility on iOS 14 2020-08-31 23:07:41 -04:00
f0582739cc
Re-add Compose button to Profile screen
Add menu with Direct Message option
2020-08-31 21:39:36 -04:00
4c82b1a341
Rewrite Compose screen in SwiftUI 2020-08-31 19:28:50 -04:00
b55a96d649
Fix crash when resizing split view on iPad if Explore search controller
hadn't been created yet
2020-08-30 19:57:32 -04:00
3937dde2bf
Fix crash when selecting attachments on iOS 13 2020-08-17 18:52:54 -04:00
95ebca04d2
Disable automatic GIF playback in low-power mode 2020-08-16 19:14:32 -04:00
722b81dad9
Group appearance prefs into sections 2020-08-16 14:58:10 -04:00
059f7307b3
Let system uppercase section headers 2020-08-16 14:58:02 -04:00
9b04b75949
Prevent potential race condition when loading additional statuses 2020-08-16 10:29:31 -04:00
eef9b96a1a
Fix crash when showing profile for uncached account 2020-08-15 18:00:18 -04:00
090746f292
Disallow opening universal links from Open in Safari context menu action 2020-08-15 17:48:58 -04:00
79eb23ef5d
Remove unused preference 2020-08-15 17:43:31 -04:00
392e51eb3e
Remove unnecessary prefernces change notification 2020-08-15 17:31:24 -04:00
86d5a73c85
Change menu item order
Open in Safari should be the closest to the user's finger when tapping a
menu button
2020-08-15 17:20:09 -04:00
eaefa366b7
Fix displaying images on iOS 14 2020-08-15 17:03:02 -04:00
79b23127e9
Fix crash on refreshing 2020-08-15 14:15:38 -04:00
f9b85c87b4
Fix crash on launch due to unloaded sidebar VC 2020-08-15 13:55:47 -04:00
260bedcf10
Fix retain cycle between status cells and menu actions 2020-07-07 23:23:39 -04:00
fe09c5e522
Switch asset picker to use diffable data sources 2020-07-06 18:16:18 -04:00
985d30a401 Add background to image descriptions so they're visible against light backgrounds
Closes #102
2020-07-06 17:48:19 -04:00
794594805c Prevent needlessly prefetching non-image attachments 2020-07-06 00:00:55 -04:00
1c708732f2 Exclude iOS 14-specific code from compilation on Xcode 11 to allow building for TestFlight 2020-07-06 00:00:51 -04:00
db30471011 Fix not being able to refresh timelines 2020-07-05 16:30:16 -04:00
2825345c7e Add switching between Posts, Posts and Replies, and Media pages of user profiles
Closes #103
2020-07-05 16:17:56 -04:00
f3d01c47c3 Merge branch 'develop-xcode-12' into ios-14 2020-07-04 11:21:00 -04:00
2916d7a72d Add tapping the active tab bar item to scroll to top
Closes #106
2020-07-03 19:36:52 -04:00
d190636fbd Fix Preferences button not appearing (again) 2020-07-03 19:36:08 -04:00
19fa12391d Fix Preferences button not appearing 2020-07-03 18:53:19 -04:00
641ab765a7 Fix crash when displaying search results 2020-07-03 18:50:05 -04:00
986fc5b833 Prevent crash when displaying accounts with no pinned statuses 2020-07-03 18:49:55 -04:00
cf5b97d9c8 Fix crash showing custom instance on iOS 14 2020-07-03 18:49:28 -04:00
b2c7735256 Fix Preferences button not appearing 2020-07-03 18:44:38 -04:00
864fd77ecc Sync active tab and navigation stack between split view/tab bar controllers 2020-06-29 22:21:03 -04:00
2a8e970738 Use context menus as primary actions for 'More Actions' buttons on >= iOS 14 2020-06-27 00:22:14 -04:00
6cf6db6a8d Add sidebar on iPadOS 14 2020-06-24 16:40:45 -04:00
fb11e36467 Fix crash when displaying search results 2020-06-24 15:42:56 -04:00
0fa87e9177 Prevent crash when displaying accounts with no pinned statuses 2020-06-23 22:21:50 -04:00
5cb84e271a Prefer ephemeral sessions in ASWebAuthneticationSession 2020-06-23 21:35:14 -04:00
50f1a9a7de Change ComposeDrawingViewController to use drawingPolicy on iOS 14 2020-06-23 19:33:14 -04:00
154fc7cd02 Fix ASWebAuthenticationSession usage in Catalyst 2020-06-23 19:32:30 -04:00
43779e42df Fix crash showing custom instance on iOS 14 2020-06-23 19:27:34 -04:00