FooIbar
ce1dc55d3c
Add support for non-UTF-8 encoded archives ( #682 )
2024-02-04 22:24:32 +08:00
FooIbar
c632231813
Update xz to v5.4.6
2024-01-27 17:00:01 +08:00
FooIbar
6bc80d1afa
[Marshmallow] Archive support
2024-01-06 22:02:00 +08:00
FooIbar
c99d8e8275
[Marshmallow] Support crop image borders
2024-01-01 20:18:00 +08:00
1fe553d039
Initial crop Border using cpu ( #530 )
...
* Initial get crop rect for bitmap
* Adapt for RGBA8888
* Support crop with rect in SubsamplingScaleImageView
* Settings to control crop border
* BottomBar to control crop border
* Fix rgb detect
* Update border.c
* Update Image.kt
* Fix webtoon
* Don't copy if not isAtLeastQ
* Refine
* Avoid too large bitmap
* Fix grey calculation
* Revert "Avoid too large bitmap"
This reverts commit d58dbe12062586ffe4ce4b872aace48b23ad9fde.
* Use matrix to draw bitmap to bypass the size limit
---------
Co-authored-by: GG Bond <whatever@tagkong.com >
Co-authored-by: FooIbar <118464521+FooIbar@users.noreply.github.com >
2023-12-30 13:04:58 +00:00
FooIbar
d36c189430
Update xz to v5.4.5
2023-11-01 23:29:48 +08:00
FooIbar
f2d94f1ed6
Use product flavors to provide marshmallow support ( #57 )
...
* Use product flavors to provide marshmallow support
Fix crashing when opening archives
* Fix artifacts upload
* Change artifact names
* Fix app updater
2023-10-14 19:14:19 +00:00
FooIbar
1e719a8738
Use local variable instead
2023-10-15 00:05:43 +08:00
FooIbar
92926487b6
Check if the image is GIF before doing mmap
2023-10-14 21:30:10 +08:00
FooIbar
d99d9008dd
Do not modify the original file when rewriting GIF
...
Make it a decode-time thing.
2023-10-14 15:25:33 +08:00
FooIbar
d674672ce2
Update libarchive to v3.7.2
2023-09-26 00:28:54 +08:00
FooIbar
dab7968ce3
Update liblzma to v5.4.4
2023-09-26 00:28:54 +08:00
FooIbar
510719f890
Convert libnettle build to FetchContent
2023-09-26 00:27:48 +08:00
tarsin
887c46c87f
Hide LA symbols
2023-07-22 17:53:00 +08:00
tarsin
e4d3501f93
Use fat lto
2023-07-22 17:18:45 +08:00
tarsin
b26686823e
Do not build libarchive test
2023-07-22 10:27:50 +08:00
tarsin
64354ea511
Xz 5.4.3
2023-07-22 10:16:27 +08:00
tarsin
07cce5bbad
Libarchive 3.7.0
2023-07-22 09:59:33 +08:00
tarsin
a015e54569
Revert "Introduce KTLS based http downoader API stub"
...
This reverts commit a256864c84 .
2023-06-03 22:16:51 +08:00
tarsin
a256864c84
Introduce KTLS based http downoader API stub
2023-06-03 17:37:53 +08:00
tarsin
d70c5be15a
Refactor package structure
2023-05-14 14:08:59 +08:00
tarsin
8aa4c34794
Implement spinlock, don't use platform one
2023-04-29 19:26:47 +08:00
tarsin
797182fbf8
Fixup! Use spinlock for better performance
2023-04-29 17:18:30 +08:00
tarsin
711848f027
Use spinlock for better performance
2023-04-29 17:12:23 +08:00
tarsin
8924d36925
Tidy native function namespace
2023-03-22 17:48:10 +08:00
tarsin
c12bd32682
Allow decode avif
2023-03-19 00:32:10 +08:00
FooIbar
a800094b21
Use cd . instead of true for Windows compatibility
2023-03-02 03:53:43 +08:00
tarsin
f6458cd8ee
Cleanup some IO overhead
2023-02-28 17:58:45 +08:00
tarsin
5c18dad1d8
Bring back ktor CIO for image downloading
2023-02-28 17:52:16 +08:00
tarsin
c4a3f06b51
Cleanup unnecessary jni call
2023-02-27 17:05:54 +08:00
tarsin
90b6106fb4
Convert libarchive build to FetchContent
2023-02-26 17:31:59 +08:00
tarsin
6e15d1e480
Convert lzma build to FetchContent
2023-02-26 15:11:45 +08:00
tarsin
d35588b993
Don't add custom optimization in debug build, and remove some flags already passed
2023-02-26 14:04:20 +08:00
tarsin
1dd04740bb
Use MADV_DONTNEED as fallback
2023-02-24 19:22:10 +08:00
FooIbar
35201e6615
Use natsort for better archive file sorting
2023-02-24 18:43:08 +08:00
tarsin
86d416bccf
Don't populate archive
2023-02-24 18:33:44 +08:00
tarsin
704c2a261e
Use MAP_UNINITIALIZED to improve performance
2023-02-24 13:05:43 +08:00
tarsin
8fabdd1926
Suppress lint
2023-02-24 12:41:07 +08:00
tarsin
f9df373a16
Some infeasible optimization
2023-02-24 12:39:58 +08:00
tarsin
f959f98012
Minor cleanup
2023-02-24 12:02:42 +08:00
tarsin
e12a93f36b
Introduce new archive decompress mempool, Resolve #307
2023-02-24 11:37:30 +08:00
tarsin
1e7861ef15
Refactor exportDB!
2023-02-23 22:37:57 +08:00
tarsin
a9626475e6
Refactor Image Fetcher with coroutine locks
2023-02-08 21:58:50 +08:00
tarsin
6efe8922b3
Convert munmap operation to JNI
2023-02-02 20:15:05 +08:00
tarsin
1430bd9e88
Rewrite mmap operations with KNI
2023-02-02 19:37:49 +08:00
tarsin
48357d08f7
Add TODOs
2023-01-18 10:47:15 +08:00
tarsin
8e0bcf40db
Rewrite the GIF frame delay if it's below a threshold, reland, Resolve #641
2023-01-18 10:46:21 +08:00
tarsin
0c3e34bbf9
Fix type warning
2023-01-17 10:50:56 +08:00
tarsin
6dea7faac8
Introduce gif rewriter stub
2023-01-17 10:50:11 +08:00
tarsin
726f482c33
Introduce new file read path
2023-01-17 10:40:20 +08:00