aboutsummaryrefslogtreecommitdiff
path: root/app/src/main (unfollow)
Commit message (Collapse)AuthorFilesLines
2021-12-12Treat streamable link posts as video posts.Alex Ning5-41/+80
2021-12-09Support Streamable.Alex Ning9-19/+197
2021-12-09Fix reduntant linescria10001-1/+0
2021-12-09Some more spoiler parsing optimizationsscria10004-15/+93
Don't bother trying to parse a text if it doesn't have spoiler opening.
2021-12-09Make Superscript parsing properscria100018-190/+268
Do this without relying converting to <sup> tags.
2021-12-08Correct typo in replaceAllscria10001-6/+6
oops
2021-12-07Fix observer being triggered twice on SubredditDetailscria10001-23/+31
Fix observer being triggered twice on ViewSubredditDetailActivity and SidebarFragment.
2021-12-05Correct newline behaviour, againscria10001-11/+12
2021-12-05Optimize spoiler parserscria10001-77/+36
Should take 3-4x less milliseconds, on average
2021-12-04Add null check for GALLERY_DATA_KEYscria10001-1/+1
Without this null check, viewing a deleted comment whose OP also had a deleted gallery will cause the Parsing to fail.
2021-12-04Statically compile frequently used Regex patternscria10001-15/+30
2021-12-03Fix gif not found for downsized Giphy gifsscria10001-2/+2
2021-12-03Fix refreshing in ViewPostDetailFragment too easily in two-pane layout.Alex Ning2-2/+4
2021-12-03Fix gallery post preview still shows in ViewPostDetailActivity when Disable ↵Alex Ning1-9/+5
Image Preview in Data Saving Mode is enabled.
2021-12-03Minor bugs fixed in ParsePost.Alex Ning15-25/+25
2021-12-01Recover from no result after switching sort modescria10001-1/+2
Resolves #563
2021-12-01Make switches and checkboxes more consistent on Dark Modescria10001-0/+22
2021-12-01Minor layout tweaks.Alex Ning7-53/+70
2021-11-30Download unprocessed gallery picturescria10003-6/+54
Resolves #558
2021-11-30Revert "Download unprocessed gallery picture"scria10003-53/+7
This reverts commit 886eb68341579634090e73fd3306ec5019eb9f9a.
2021-11-30Download unprocessed gallery picturescria10003-7/+53
Resolves #558
2021-11-29Version 5.1.3. Fix bottom navigation bar option count not applied to ↵Alex Ning4-30/+30
anonymous mode.
2021-11-28Adjust caption layoutscria10004-129/+151
Set caption max length Set link ellipsis
2021-11-28Process subreddit links inside Wiki extrascria10001-11/+15
2021-11-28Don't pass reduntant View arguments to linkifyscria10005-5/+5
When used as a plugin for Markwon; BetterLinkMovement iterates TextViews under the ViewGroup at the setMarkdown stage, so there is no need to for this argument. Don't give a whole Activity as an argument to this method, this causes bugs.
2021-11-27Fix conflictscria10001-1/+0
2021-11-27Make caption text copyable with long pressscria10006-49/+87
Use native way to theme ViewRedditGalleryActivity
2021-11-27Version 5.1.2.Alex Ning2-0/+2
2021-11-26Don't cancel all ImageLoader instancesscria10001-1/+1
2021-11-25Minor tweaksscria10001-2/+2
2021-11-25Return early if not spoilerscria10001-1/+9
2021-11-25Check if spoiler was found before setting markdownscria10001-4/+6
2021-11-25Fix typoscria10001-1/+1
2021-11-25Add a non-regex solution for parsing spoilersscria10008-39/+246
Add a non-regex solution for parsing spoilers that can also handle code blocks Add a custom BlockQuoteParser to prevent spoilers from being consumed as block quotes without the need for html escaping Make revealed spoiler backgrounds slightly darker
2021-11-22Version 5.1.1. Fix anonymous subreddits and multireddits do not show in ↵Alex Ning2-64/+43
MainActivity TabLayout. Fix changing tab names not working in anonymous mode.
2021-11-22Fix TrackSelectionDialog button color. Do not automatically show control ↵Alex Ning8-8/+26
view in autoplaying videos.
2021-11-21Implement SaveMemoryCenterInsideDownsampleStrategy to smartly downsample ↵Alex Ning6-134/+62
images in PostRecyclerViewAdapter and PostDetailRecyclerViewAdapter.
2021-11-21Fix dark theme issue when selecting playback speed. Minor bugs fixed.Alex Ning7-11/+68
2021-11-21Fix cannot open media in Gallery layout.Alex Ning1-11/+9
2021-11-16Make scroll button work on single comment modescria10001-10/+15
2021-11-16Refactor spoiler parsing into its own classscria100017-295/+161
Reuse spoiler pattern otherwise we match markdown like: `>!` lots of new lines and text <! And some other minor changes.
2021-11-15Don't start MaterialYouService if Material You is not enabled.Alex Ning2-3/+15
2021-11-15Don't leave out single characterscria10001-1/+1
oops >! match this!< >!match this!< >! match this!< >!don't match this<! >! match this !< >!match this !< >! match this!< >! O!< >! O !< >! X !< >! DON'TMATCH !< >!O!< >! O O!< >!!<
2021-11-14Revert changes made in refactorscria100011-13/+16
We need the original superscript markdown for when we edit posts!
2021-11-14Refactorscria100011-14/+13
2021-11-14Optimize spoiler regexscria10001-1/+1
Optimize spoiler regex to allow at least one new line. >! match this!< >!match this!< >! match this!< >!don't match this<! >! match this !< >!match this !<
2021-11-14Don't handle unescaped bracket links for nowscria10001-47/+1
Until there is a better solution that can also handle `[Title]: https://link.com` type links and others.
2021-11-13Version 5.1.0-beta3.Alex Ning2-14/+15
2021-11-13Disable BangInlineProcessorscria100013-82/+111
Don't process ! bangs before links since reddit markdown does not support it. Now links inside spoilers can be rendered correctly.
2021-11-12Try to handle unescaped space inside link blocksscria100014-157/+97
* Commonmark spec does not parse links with unescaped spaces in the link query * Maybe we can do the parsing ourselves by extending 'InlineProcessor', instead of using slow regex * Reuse `fixSuperScript`