tarsin
73b3cd4625
Add annotations
2023-06-20 17:36:44 +08:00
tarsin
d895a07583
Cleanup code
2023-06-20 17:33:48 +08:00
tarsin
0ef4bccb7c
Intercept okhttp request to cronet
2023-06-20 17:15:48 +08:00
tarsin
2d20da70b8
Drop domain fronting and other network hacks since #1147
2023-06-17 16:37:51 +08:00
tarsin
82c92203b6
Initial refactor HomeParser with rust
2023-06-12 15:36:58 +08:00
tarsin
cec86576c1
Singletonize ReaderPreferences
2023-06-10 13:56:18 +08:00
tarsin
9eb8e984b6
Add chunker http inspector for debug usage
2023-06-09 19:00:03 +08:00
tarsin
55b3753e66
Migrate cookies store to CookieManager backend
2023-06-08 16:11:48 +08:00
tarsin
53bbabab75
[DO NOT USE] Drop in-app proxy support
2023-06-05 15:32:51 +08:00
tarsin
59959bb9ee
[DO NOT USE] Migrate to datastore backend
2023-06-05 12:24:08 +08:00
tarsin
8c6d28d6e2
Make AndroidPreferenceStore use Settings backend
2023-06-05 12:09:36 +08:00
tarsin
d74b5bff7b
Konvert AppConfig
2023-06-03 15:40:01 +08:00
tarsin
6725ef992a
Drop Settings.initialize
2023-06-02 18:14:00 +08:00
tarsin
b5baecf8d0
Singletonize EhProxySelector
2023-06-02 17:58:35 +08:00
tarsin
58d1ace612
Singletonize FavouriteStatusRouter
2023-06-02 17:55:40 +08:00
tarsin
19295e1d30
Refactor out lockObserver
2023-06-02 13:46:15 +08:00
tarsin
184edf9d4c
Use splitties roomDb builder
2023-06-02 12:19:04 +08:00
tarsin
2c30deb298
Use Splitties appCtx
2023-06-01 15:48:45 +08:00
tarsin
a7187d62d3
Konvert ImageLoader.Builder
2023-05-30 21:24:36 +08:00
tarsin
e5788b9ec5
Cleanup EhApplication
2023-05-30 21:20:36 +08:00
tarsin
be96491091
Introduce idiomatic OkHttp builders
2023-05-30 21:17:36 +08:00
tarsin
c112322daf
Drop custom hosts
2023-05-27 23:46:00 +08:00
tarsin
a942a487a0
Drop buildMainDB
2023-05-27 22:53:24 +08:00
tarsin
306ce9ed21
Always use ImageDecoderDecoder for better performance
2023-05-22 12:33:12 +08:00
tarsin
3734d0c585
Refactor package structure
2023-05-14 14:20:50 +08:00
tarsin
25931f9068
Drop Ktor
2023-05-07 23:00:54 +08:00
tarsin
3f9c57ad2d
Don't keep all activity reference
2023-05-01 12:17:12 +08:00
tarsin
bac07abf1f
Kill global map
2023-04-30 12:56:14 +08:00
tarsin
b310e98c5a
Cleanup code
2023-04-22 11:25:50 +08:00
tarsin
9efb8cf450
Cleanup unused res
2023-04-10 19:00:47 +08:00
FooIbar
0089f232c4
Convert GetText to kotlin
2023-04-03 00:06:40 +08:00
小白-白
661bf3ecc2
Ktlint: do code format
2023-03-31 22:37:36 +08:00
tarsin
929766b177
Fix to use suspend mutex
2023-03-29 18:23:55 +08:00
tarsin
2db6f7a9ae
Modify .nomedia status in background thread
2023-03-29 13:18:55 +08:00
tarsin
47c9e07857
Allow larger read cache
2023-03-18 21:30:47 +08:00
tarsin
abceb71dcb
Cleanup legacy code
2023-03-17 20:39:06 +08:00
tarsin
8621de6d09
Cleanup JvmStatic usage
2023-03-16 16:56:24 +08:00
tarsin
f5e9bf2459
Revert "Workaround for massive thumb requests delay post request for (adding favourite, get torrent list etc.)"
...
This reverts commit 0a9d7c5560 .
2023-03-10 23:11:02 +08:00
FooIbar
b2c4cd721c
Use async version of call.execute()
2023-03-10 01:58:38 +08:00
tarsin
0a9d7c5560
Workaround for massive thumb requests delay post request for (adding favourite, get torrent list etc.)
...
Currently okhttp does not support request priority(See https://github.com/square/okhttp/issues/404 ), and our GalleryDetailScene will launch at most 200 image requests once, which stuffed okhttp async request queue.
We need another http client to ensure these plain-text request executed in time
2023-03-09 22:30:22 +08:00
tarsin
69da2f14c7
Revert to ktor okhttp engine
2023-03-08 10:38:16 +08:00
tarsin
f46d72a9eb
Fix df
2023-03-07 22:05:56 +08:00
tarsin
9b58d1161b
Let's try Apache5 http engine
2023-03-07 21:34:11 +08:00
tarsin
c3c5e2b5b0
Change image cache dir
...
Since we haven't release, we can do that
2023-03-07 11:51:04 +08:00
tarsin
6a184462c6
Bring back httpcache, but for non-Image only
2023-03-07 11:49:02 +08:00
tarsin
10def6e48a
Cleanup dependencies
2023-03-07 10:58:56 +08:00
tarsin
29c97b9d79
Move some temporary code to separated package
2023-03-07 10:53:25 +08:00
tarsin
34337d18fa
Revert to use ktor as okhttp delegate
...
Ktor CIO is still not a jvm-heapless http client, actually it does the same thing okhttp does, decrypt TLS packet to JVM heap, and copy it to direct buffer, then write it to fd... , just the same thing we do use transferFrom with Okio Buffer.. let's implement a native zero-copy ktor client now!
2023-03-07 10:16:04 +08:00
FooIbar
795e42f609
Clean obsolete cache on start
2023-03-07 09:18:09 +08:00
tarsin
562a6d6ab8
Merge image cache
2023-03-05 01:32:51 +08:00