Commit graph

2913 commits

Author SHA1 Message Date
tibbi
657021b67e fixing a glitch with folder thumbnails at using search 2021-11-29 22:53:11 +01:00
tibbi
243f0ae988 adding some SearchActivity related fixes 2021-11-29 22:48:40 +01:00
tibbi
8887a57a6e correcting some placeholder and list visibility 2021-11-29 22:46:28 +01:00
tibbi
fba4b6fc3e we finally dont have to calculate content height and width 2021-11-29 22:11:02 +01:00
tibbi
a67e5ff86f properly handle margins between thumbnails, if selected so 2021-11-29 21:51:17 +01:00
tibbi
c17e6833e2 setup listLayoutManager too 2021-11-29 21:15:58 +01:00
tibbi
559469e7b8 add toggling between horizontal and vertical scrolling 2021-11-29 21:10:29 +01:00
tibbi
daf9834d39 implementing the media bubble text fetcher 2021-11-29 20:10:13 +01:00
tibbi
45fe153d54 adding bubble at folders fastscroller 2021-11-29 19:59:38 +01:00
tibbi
53eafb30c6 updating commons, lets just make it compilable for now 2021-11-29 19:17:48 +01:00
Agnieszka C
af3b44d470 Added stars to mark favorite items (#2102) 2021-11-07 19:44:02 +01:00
Agnieszka C
57020626db Fixed missing permission for rotate on external memory (#2236) 2021-11-06 10:41:14 +01:00
tibbi
e849c6f7c0 use MediaStore for fetching files on Android 11 2021-11-02 23:30:43 +01:00
tibbi
e1c5631c58 fixed a glitch with files not being sorted properly in some cases 2021-10-24 19:19:38 +02:00
tibbi
352dbe40bf catch all exceptions at toggling favorites 2021-10-24 18:35:31 +02:00
tibbi
c6640eaa9a adding a comment related to removing irrelevant cached files 2021-10-23 22:04:54 +02:00
tibbi
a6057f7fe4 be more agressive at deleting corrupt cached files 2021-10-23 21:54:42 +02:00
tibbi
ff6de731c9 fix #2080, make sure Favorites and Recycle bin has priority at refreshing 2021-10-21 14:23:57 +02:00
tibbi
811d5e88c5 fixed some glitches with favorites un/marking 2021-10-21 13:59:54 +02:00
tibbi
50e6b98d09 adding some recycle bin refreshing related improvements 2021-10-21 13:32:41 +02:00
tibbi
3e729ba6fe rescan favorites and recycle bin with higher priority on main screen 2021-10-21 12:02:35 +02:00
tibbi
eb909442e8 avoid scanning the recycle bin folder twice 2021-10-21 11:16:03 +02:00
tibbi
e69fed1981 simplifying a check in the sorting dialog 2021-10-12 23:18:26 +02:00
tibbi
ff6726b476 lets rescan files after some file operations, reverting #4d00682ec6 2021-10-09 17:38:38 +02:00
tibbi
f6a1ba1c74 moving file deletion handling into Commons 2021-10-08 22:16:30 +02:00
tibbi
841d770167 formatting some code style and imports in activities, no real change 2021-10-08 21:51:12 +02:00
tibbi
3781ee1f04 adding a helper function for fetching media store IDs from file paths 2021-10-08 21:48:34 +02:00
tibbi
e268927756 rescan files after editing 2021-10-08 20:30:54 +02:00
tibbi
48bf301e55 do not close the Upgraded From Free dialog on clicking outside of it 2021-10-03 19:32:32 +02:00
tibbi
21305a6d6d catch exceptions thrown at fixing date taken values 2021-09-09 15:37:26 +02:00
tibbi
4d00682ec6 avoid rescanning paths in some cases
This can make files not be recognized as media files in some other apps,
but rescanning can also too easily delete files. Let's try playing it
safe.
2021-08-30 22:38:29 +02:00
tibbi
d9194176ee catch errors thrown at updating a files favorite state 2021-08-29 23:25:42 +02:00
tibbi
2f15893cda fix #1673, make sure the proper file opens at third party intents 2021-08-29 23:00:30 +02:00
tibbi
03a3f5d187 moving a function a bit up 2021-08-29 22:55:19 +02:00
tibbi
1bbfd7484e make sure the bottom action Rotate button is visible only when appropriate 2021-08-20 14:01:49 +02:00
tibbi
8a88a69eea fix #2202, fix crashing at zooming heic files on some devices 2021-08-18 09:55:49 +02:00
tibbi
47f73e9f37 adding support for .apng files 2021-08-17 16:43:20 +02:00
tibbi
a39b4ee459 fix #2192, disable fullscreen bottom actions if invisible 2021-08-17 12:29:31 +02:00
tibbi
d40294a822 optimize settings cache calculation 2021-07-04 22:03:33 +02:00
tibbi
a233600d28 allow disabling fullscreen volume and brightness video gestures 2021-07-04 22:03:17 +02:00
tibbi
cf4f4b3627 fix #2167, show tooltips on long pressing the fullscreens bottom action buttons 2021-06-28 20:26:38 +02:00
tibbi
2bd6614b9b catch exceptions thrown at deleting media from db 2021-06-28 19:00:24 +02:00
tibbi
5c0f7d493e fix a glitch with loading huge png thumbnails on Android 11+ 2021-06-18 13:42:38 +02:00
tibbi
516f20856d adding a widget null check 2021-06-18 13:40:33 +02:00
Tibor Kaputa
e603663f0b
Update GalleryDatabase.kt 2021-06-18 10:00:46 +02:00
DaPa
dc72fc0de7 Avoid SQLite connection object leaking
- W/SQLiteConnectionPool: A SQLiteConnection object for database '/data/user/0/com.simplemobiletools.gallery.pro/databases/gallery.db' was leaked!  Please fix your application to end transactions in progress properly and to close the database when it is no longer needed.

Happens to me on Android 11 (Moto g 5G plus, with Google Photos disabled):
 - open Camera, then click on the small picture thumbnail from bottom-right corner which should open the Gallery app
 - in this scenario sometimes, the Simple Gallery was crashing and the above warning was seen in the logs...
 - no more crash after this patch: please review/test properly before incorporating!
2021-06-17 22:18:55 +03:00
tibbi
e7c63a8b52 fixing some compile errors 2021-06-16 23:12:48 +02:00
tibbi
b34d94b5ed updating commons 2021-05-17 10:43:20 +02:00
tibbi
53f3cfe02e initiate touchhelper at folders only when going to drag & drop 2021-05-14 20:01:47 +02:00
tibbi
7cbb533270 ignore the newApi at a fullscreen mode function 2021-05-14 10:26:32 +02:00
tibbi
b274f9ad57 fix a glitch at toggling fullscreen mode in split screen 2021-05-14 10:09:11 +02:00
tibbi
8d508bd883 don't always reenable swipeRefreshLayout after drag & drop 2021-05-13 22:53:33 +02:00
tibbi
a50be5ae6a removing a log statement 2021-05-13 21:54:37 +02:00
tibbi
da47c199d9 add some menu buttons for quickly moving a folder to the top or bottom 2021-05-13 21:53:29 +02:00
tibbi
3450c2e41d apply the custom sorting when appropriate 2021-05-13 19:29:55 +02:00
tibbi
552c98c270 add Custom sorting at the sorting dialog 2021-05-13 19:10:31 +02:00
tibbi
5dcad025bb store custom folder order in shared prefs 2021-05-13 18:56:09 +02:00
tibbi
fc2d42490a adding some widget related null checks 2021-05-13 14:50:54 +02:00
tibbi
4841666e18 stop pull-to-refresh while drag & dropping 2021-05-13 11:32:34 +02:00
tibbi
ec5fd3d088 add the reordering animation at drag and drop 2021-05-12 23:32:03 +02:00
tibbi
c73300ccd2 show the reordering drag handles when appropriate 2021-05-12 23:02:57 +02:00
tibbi
c84a2bfafe fix #2128, properly show recycle bin item size at the app settings 2021-05-11 15:01:36 +02:00
tibbi
762220533c removing a debug statement 2021-04-18 21:21:46 +02:00
tibbi
4a20695d77 use a better confirmation dialog text at clearing the recycle bin 2021-04-18 20:04:21 +02:00
tibbi
851fddc67a use the new way of querying contentresolver on api 30+ 2021-04-17 23:29:40 +02:00
tibbi
5202b77e8c updating commons 2021-04-17 22:51:15 +02:00
tibbi
0e36f653e5 handle max brightness at panoramas too 2021-03-31 11:50:48 +02:00
tibbi
bfda618d7f try setting speed as the file loading priority by default 2021-03-30 22:57:52 +02:00
tibbi
d068135a39 shortening some Picasso initialization code 2021-03-30 15:16:41 +02:00
Tibor Kaputa
ffa4c02f63
Merge pull request #2105 from connyduck/remove_okhttp
remove okhttp dependency from runtime classpath to save appsize
2021-03-29 23:15:32 +02:00
tibbi
80def97201 adding a threading crashfix 2021-03-29 23:09:12 +02:00
Konrad Pozniak
ab1d7e2ab1 remove okhttp dependency from runtime classpath to save appsize 2021-03-16 21:16:34 +01:00
tibbi
350bf0a7f6 reverting the coroutines thing, it is too unstable 2021-03-09 09:11:55 +01:00
tibbi
f4c788fa94 try setting higher thread priority at fetching cached folders 2021-03-08 22:59:08 +01:00
tibbi
ddbc78226e make sure the FixDateTaken callback gets called 2021-03-08 21:21:49 +01:00
Tibor Kaputa
3c10ef19bd
Merge branch 'master' into Use_suspend_functions_in_DateTakensDao 2021-03-08 20:58:52 +01:00
tibbi
463c0ed719 add animations to listviews 2021-03-07 22:59:57 +01:00
tibbi
fa41371209 use Down animation at closing fullscreen view with a gesture 2021-03-07 22:49:41 +01:00
tibbi
8b735f36d7 adding some GIF and SVG improvements 2021-03-07 22:43:06 +01:00
tibbi
b0c664842f splitting photo and video thumbnails to remove redundant views 2021-02-19 18:51:43 +01:00
tibbi
2cf4735767 moving some functions into background thread 2021-02-19 18:47:38 +01:00
tibbi
698448b847 properly update the colors onResume 2021-02-19 17:05:36 +01:00
tibbi
4f79d196d6 moving folder deletion and image orientation fetching to background threads 2021-02-19 16:29:47 +01:00
tibbi
46d298596a renaming the rounded corners transformer for picasso 2021-02-19 16:04:39 +01:00
tibbi
e940b6813b reordering the FAQ items, move the more asked questions at the top 2021-02-19 15:21:08 +01:00
tibbi
063d09c8fa moving the picasso loading function down, no real change 2021-02-18 21:03:25 +01:00
tibbi
2561c96c92 crop picasso thumbnails only if set so in the app settings 2021-02-18 21:02:59 +01:00
tibbi
15e7c72104 apply the rounded corners to images loaded by Picasso too 2021-02-18 20:59:38 +01:00
tibbi
6d46619cca properly handle Android 11 inability to load PNGs bigger than 10 MB 2021-02-18 20:42:08 +01:00
tibbi
0d5ac9906c adding some coloring related improvements 2021-02-18 19:46:24 +01:00
baron
02da4e4e32 Several fixes to make code work with platform 30 2021-02-18 18:18:02 +01:00
tibbi
cf3e27a25d adding a crashfix with zero division 2021-02-18 18:16:12 +01:00
tibbi
bb48612293 reordering some search related things, do not trigger search at opening 2021-02-15 22:29:04 +01:00
tibbi
d4110f182e fix #2053, add back the setting for toggling photo brightness, disable by default 2021-01-26 11:47:27 +01:00
tibbi
fde725e98e lets use the new GridDecoration only when needed, not by default 2021-01-21 11:03:40 +01:00
tibbi
bd60592188 simplify thumbnail spacing calculations 2021-01-21 10:52:15 +01:00
tibbi
c68f8522b8 adding some search related grid improvements 2021-01-20 23:37:28 +01:00
tibbi
7f2db07892 properly handle grid updating if a thumbnail gets deleted 2021-01-20 23:12:39 +01:00
tibbi
58a9150db0 update currently displayed media hashcode if something gets deleted 2021-01-20 22:49:45 +01:00
tibbi
ff4bca1251 allow interpreting grid decoration as string 2021-01-20 22:49:29 +01:00