dece
732a2db166
WIP
2022-01-16 14:25:28 +01:00
dece
ad5d146a9b
gradle: update dependencies
2022-01-16 14:25:28 +01:00
dece
ef8c78177e
gradle: fix Room schema warning
2022-01-16 14:25:28 +01:00
dece
51d1844ba0
PageViewFragment: handle home page
2022-01-10 17:54:14 +01:00
dece
656b699ce9
clean and make a bunch of static variables private
2022-01-10 16:35:15 +01:00
dece
d47d67be1a
Request: use timeout values from settings
2022-01-10 16:34:53 +01:00
dece
70beae84e7
add basic settings screen (+ navigation!)
2022-01-10 15:54:25 +01:00
dece
37832f1d8b
add basic navigation drawer
2022-01-10 12:53:11 +01:00
dece
4aaa0fbcdb
PageViewFragment: restore back button function
2022-01-10 09:42:20 +01:00
dece
09e19a1a76
move page viewer logic into a fragment
2022-01-10 08:41:33 +01:00
dece
6eb9c142cc
handle input responses
2022-01-10 00:36:15 +01:00
dece
da3a9f4c75
UriUtils: fix issue with encoded colon in netloc
2022-01-09 23:08:52 +01:00
dece
809db8f324
Gemtext: fix link line parsing
...
Yes you can use tabs as separators…
2022-01-09 23:02:48 +01:00
dece
afd0b42c83
PageViewModel: clearer message if no connection
2022-01-09 22:47:34 +01:00
dece
bf28d30e4c
MainActivity: use / as empty path in URLs
...
As per the spec, clients should rewrite empty paths of absolute URLs to
"/" instead. Indeed, why the server would return something other than a
redirection for "" to "/"?
2022-01-09 22:18:36 +01:00
dece
f6fc5c2f69
PageViewModel: fix activity state on error
2022-01-09 22:06:09 +01:00
dece
ee83d1c8fd
MainActivity: fix toolbar stuck hidden
2022-01-09 22:02:12 +01:00
dece
2debc6d9f6
gradle: update stuff
2022-01-09 21:41:11 +01:00
dece
4f41d6fecd
ContentAdapter: use intermediate rendering blocks
...
Rendering one view per line is looking for trouble when considering
preformatted blocks and possibly list/blockquotes: you want to group
actions and styles together. Specifically, make preformatted blocks
horizontally scrollable.
This commit adds an intermediate level for rendering which produces such
blocks.
2022-01-09 21:39:33 +01:00
dece
685d60a09b
res: factorize text styles
2022-01-05 15:58:56 +01:00
dece
781a4a66b0
MainActivity: proper alerts for each error type
...
Also moved the PageViewModel into its own file? What's the norm?
2021-12-13 23:41:56 +01:00
dece
a2dd6f4876
improve the network channels for streaming
2021-12-13 23:36:52 +01:00
dece
f8b929b00d
MainActivity: show user-friendly error messages
2021-12-13 23:36:52 +01:00
dece
a6e910c3fa
MainActivity: handle redirections
2021-12-13 23:36:52 +01:00
dece
f8cfe2ad09
Gemtext: just trim most whitespaces for simplicity
2021-12-13 23:36:52 +01:00
dece
44629dd3ad
ContentAdapter: renamed for consistency
2021-12-13 23:36:52 +01:00
dece
a44c36bdca
res: reduce a bit the vertical paddings
2021-12-13 23:36:52 +01:00
dece
9743fea7d5
MainActivity: fix issue with going back
2021-12-13 23:36:52 +01:00
dece
6a65df0f4e
Gemtext: fix issue with link parsing
2021-12-13 23:36:52 +01:00
dece
51f822eb9d
History: add Room database for history
...
Also add going back support.
2021-12-13 23:36:52 +01:00
dece
5cb3af8d12
improve the default rendering for all elements
2021-12-13 23:36:52 +01:00
dece
3cba46ad5d
MainActivity: rework layout to avoid lag
...
ScrollView + RecyclerView lead to very slow loading times for the
recycler, like a few seconds on the biggest Medusae pages. Turns out it
binds every ViewHolder instantly, losing all the recycling behavior!
Following some guidelines on StackOverflow fixed this, because official
docs could not.
2021-12-13 23:36:52 +01:00
dece
57854e56dc
UriUtils: add a bunch of URI utilities
...
So we can now click on relative links, wow! Fast progress!
2021-12-13 23:36:52 +01:00
dece
e540cf7628
ContentRecycler: add awful recycler for content
...
Currently exploding the amount of views to use because recyclers are NOT
fun to use.
2021-12-13 23:36:52 +01:00
dece
f2eae54234
Gemtext: add a sweet streaming parser
2021-12-13 23:36:48 +01:00
dece
8e161dbb31
parse response headers
2021-12-05 21:49:24 +01:00
dece
cbcd0dca73
init
...
URL field, show raw response (with streaming wooow!!)
2021-12-05 01:50:37 +01:00