Commit graph

599 commits

Author SHA1 Message Date
tibbi
9d88f7bf7d remove Subsampling scale image view, its not worth it 2017-03-16 19:11:51 +01:00
tibbi
597ffd5a57 check if the destination file exists at move 2017-03-15 22:12:28 +01:00
tibbi
9f91e14a32 add the Glide load stopper to the directories view too 2017-03-15 21:16:27 +01:00
tibbi
ee6e221de0 use the previous way of creating foreground selectors of adapters 2017-03-15 21:14:55 +01:00
tibbi
8c207938aa refresh the thumbnails view after editing a file 2017-03-15 21:07:43 +01:00
tibbi
abedcba838 couple performance improvements to thumbnails loading 2017-03-15 20:57:20 +01:00
tibbi
63a4ee8e73 remove the beVisibleIf extension 2017-03-15 20:08:59 +01:00
tibbi
3fabc6a93f use the shared rename dialog for renaming files and folders 2017-03-14 23:25:22 +01:00
tibbi
5b26bbb410 reuse 2 strings from commons 2017-03-14 21:08:57 +01:00
tibbi
4bcdf68ff3 use the rename folder dialog from the Commons lib 2017-03-14 20:47:01 +01:00
tibbi
a5bac9311e tweaking some file related operations 2017-03-12 21:27:45 +01:00
tibbi
8ebdc91649 update commons to 2.9.9 2017-03-11 22:56:57 +01:00
tibbi
95cc4d1121 use an itemView.apply to shorten some adapters 2017-03-11 12:03:04 +01:00
tibbi
95ff1b1b95 using an Apply at sorting dialog 2017-03-11 11:14:54 +01:00
tibbi
ee32c1ab3a use the new radio group dialog for Show Media picking 2017-03-10 22:21:52 +01:00
tibbi
739e1c01a8 couple code style changes 2017-03-10 22:15:10 +01:00
Andrew Rabert
19fd54b25a Option for max brightness when viewing media 2017-03-10 00:58:06 -05:00
Tibor Kaputa
c80200c351 update release notes 2017-03-09 09:40:10 +01:00
Tibor Kaputa
f2ecf5325f get file uri the old way 2017-03-09 09:33:08 +01:00
tibbi
23696bff32 do not show the Edit button at long pressing video 2017-03-08 21:38:26 +01:00
tibbi
70a2d82aa4 do not zoom in that much at double tapping an image 2017-03-07 21:01:23 +01:00
tibbi
4c659df49d update commons to 2.9.0 2017-03-07 21:00:26 +01:00
tibbi
77ab6178d0 fix some file uri issues on android versions below 7 2017-03-07 18:55:42 +01:00
tibbi
d80a0db3cb check if the activity is still alive after cropping for wallpaper 2017-03-06 23:18:47 +01:00
tibbi
74af90eaa6 make sure theres no double slash at the beginning of exclude path, fix #183 2017-03-06 23:05:02 +01:00
tibbi
a6e62ddc1b add the nougat check back at thumbnail activity 2017-03-06 22:57:23 +01:00
Tibor Kaputa
94da492db0 add a helper function for the uris 2017-03-06 11:54:50 +01:00
Tibor Kaputa
eac2a37bad one more uri change 2017-03-06 11:52:41 +01:00
Tibor Kaputa
1c200cd2f5 fix some Android 7 file uri crashes 2017-03-06 11:51:13 +01:00
tibbi
80bfc9183f update the code style at some activity extensions 2017-03-05 23:34:23 +01:00
tibbi
f1d5baa8a8 try sticking the damn read_uri_permission to every intent 2017-03-05 23:09:29 +01:00
tibbi
ef538491e8 open Android Nougat videos in simple gallery 2017-03-05 00:33:47 +01:00
tibbi
ce5dc20a79 fix #172, show selected items count as "x / y" 2017-03-04 23:11:56 +01:00
tibbi
c494209523 declare some functions private 2017-03-04 23:00:02 +01:00
tibbi
a36ffb297a allow setting a default third party video player 2017-03-04 22:53:05 +01:00
tibbi
3619a32a9c allow setting the editor app as default, fix #164 2017-03-04 21:53:12 +01:00
tibbi
5a0b031d3f set the fastscrollbars color to primary color 2017-03-04 21:29:52 +01:00
tibbi
956ffafe9e add the fast scroll to directory view too 2017-03-04 20:26:43 +01:00
tibbi
2bc78212b9 add an initial fast scrollbar to thumbnail view 2017-03-04 19:29:24 +01:00
tibbi
99eb87ec8b do not animate gifs by default 2017-03-04 10:35:47 +01:00
tibbi
b94b803a40 fix a crash when excluding folder without parents 2017-03-04 10:34:46 +01:00
tibbi
c6de3a9e85 hide the Manage excluded folders in Settings, if nothing is excluded 2017-03-04 10:32:54 +01:00
tibbi
cf546e3c60 really exclude the selected folder 2017-03-04 10:28:02 +01:00
tibbi
f480ae6e14 get a list of parents at exclude folder dialog 2017-03-03 23:33:06 +01:00
tibbi
77d203214a create a new confirmation dialog for excluding folders 2017-03-03 22:29:08 +01:00
tibbi
7844bf5f9b added the new exclusion rules in release notes 2017-03-03 21:54:29 +01:00
tibbi
99376a3bb0 hide the subfolders of excluded folders too 2017-03-03 21:46:48 +01:00
tibbi
5064ca612f lets always show the exclude confirmation dialog 2017-03-03 21:29:51 +01:00
tibbi
05b6d71035 simplify a check at deleting from fullscreen 2017-03-01 23:32:05 +01:00
tibbi
f67ce86cf2 fix #168, do not autoplay gifs at thumbnails if chosen so 2017-03-01 23:21:20 +01:00
tibbi
ec11041cda add the gif toggling in release notes 2017-03-01 23:07:40 +01:00
tibbi
75816a1b77 added an option to toggle animating gifs at thumbnails 2017-03-01 23:05:14 +01:00
tibbi
97554c36ed add an extra check to avoid displaying hidden folders if shouldnt 2017-03-01 22:33:49 +01:00
tibbi
4164f6c980 change the way of displaying fullscreen images 2017-03-01 22:04:13 +01:00
tibbi
1af04a3e5d remove the thumbnail from photo fragment 2017-02-28 23:21:28 +01:00
tibbi
ad39c4d644 do not show the "Use only in this folder" sorting checkbox if showing all media 2017-02-28 23:20:23 +01:00
tibbi
787b7af996 use the copy/move source path as the initial path at Other Folder option 2017-02-28 22:13:33 +01:00
tibbi
4b104fc8d6 do not allow picking the source folder as the destination at copy/move 2017-02-28 22:07:43 +01:00
tibbi
9cae71b7ab show the destination picker at showing copy dialog right away 2017-02-28 21:17:35 +01:00
tibbi
e0454fcf06 add the custom folder sorting in release notes 2017-02-28 21:11:04 +01:00
tibbi
940ed8a43b implement custom sorting per folder 2017-02-28 21:06:17 +01:00
tibbi
8c236aaf5b remove the switch for same sorting of files and folders, never apply it 2017-02-28 20:46:12 +01:00
tibbi
a8eeac2f8b add a checkbox to sorting dialog for applying the selection to a folder only 2017-02-28 20:40:55 +01:00
tibbi
4ca455c761 group the media files at querying the content resolver 2017-02-27 23:29:19 +01:00
tibbi
638f4b4d45 stop loading images on pause 2017-02-27 22:14:24 +01:00
tibbi
9fdcea056d zoom in more on double tap 2017-02-27 20:31:17 +01:00
tibbi
46582a3d01 fix the icon color at manage folders screen 2017-02-27 20:20:38 +01:00
tibbi
f82b09470b simplify the hidden folder check 2017-02-27 20:04:27 +01:00
tibbi
f372d46b51 simplify the SD card permission check at some activities 2017-02-27 19:20:19 +01:00
tibbi
609e341b81 feed the Glide bitmap to subsamplingScaleImageview 2017-02-27 18:57:17 +01:00
tibbi
a94d027388 fix #167, actionbar back button not working 2017-02-27 18:41:20 +01:00
tibbi
e38ec1c5e3 hide .nomedia subfolders too 2017-02-26 23:17:56 +01:00
tibbi
d60ee0b387 show a Hide folder tooltip dialog at the first usage 2017-02-26 22:01:28 +01:00
tibbi
a198008c8e stop media fetching asynctasks on pause 2017-02-26 21:52:53 +01:00
tibbi
6c11d71a9d add a menu item for removing all excluded folders 2017-02-26 21:31:52 +01:00
tibbi
b4975a2bbd add a cross for removing excluded folders 2017-02-26 21:10:52 +01:00
tibbi
a3bf684aea list the excluded paths at excludedFolders activity 2017-02-26 20:38:18 +01:00
tibbi
6da347a55e add a new activity for managing excluded folders 2017-02-26 19:44:25 +01:00
tibbi
46f99fd1c0 add a settings button for managing excluded folders 2017-02-26 19:37:54 +01:00
tibbi
4572295698 add the exclusion functionality 2017-02-26 19:31:20 +01:00
tibbi
f354818b66 show an explanation dialog at first attempt to exclude a folder 2017-02-26 19:15:51 +01:00
tibbi
0a649df9c3 store if hide/exclude folder tooltip was shown in prefs 2017-02-26 18:32:47 +01:00
tibbi
1e37c47bd0 add menu items for excluding folders 2017-02-26 18:12:23 +01:00
tibbi
445f7a612a load a smaller preview at fullscreen photos first 2017-02-26 17:31:39 +01:00
tibbi
4311529664 small getMediaAsyncTask update 2017-02-26 17:28:21 +01:00
tibbi
169b9f45ca increase the load priority of the current fullscreen image 2017-02-26 17:21:49 +01:00
tibbi
7ad804f5f9 move directory grouping into a separate function 2017-02-26 12:30:42 +01:00
tibbi
ad8cd557ce filter wrong directories sooner 2017-02-26 12:26:32 +01:00
tibbi
e243de95d1 hide folders starting with a dot if hidden should be shown 2017-02-26 12:10:15 +01:00
tibbi
959b0862f5 update commons to 2.7.4 2017-02-25 18:59:39 +01:00
tibbi
b6b408e1f8 optimize the directory sorting related function 2017-02-25 17:30:06 +01:00
tibbi
7c4769701c store the sd card path at launching the app 2017-02-25 16:38:45 +01:00
tibbi
aab55cef62 tweaking the getdirectories asynctask 2017-02-25 11:35:34 +01:00
tibbi
b778e60781 tweak getdirectories to use the string extensions 2017-02-25 11:15:47 +01:00
tibbi
795fad2240 do not check immediately if .nomedia folders contain media, we will check later 2017-02-25 11:10:02 +01:00
tibbi
2cf58c2e1e update getmedia asynctask 2017-02-25 11:01:40 +01:00
tibbi
19093b989f more attempt to optimize the media fetching process 2017-02-24 23:41:27 +01:00
tibbi
513694c117 add a helper function for fast getting folders with media 2017-02-24 22:02:09 +01:00
tibbi
30c7b9b055 change the way we obtain images 2017-02-23 23:57:49 +01:00
tibbi
a8c5cc1fdd show folders with .nomedia if appropriate 2017-02-23 21:29:02 +01:00
tibbi
d03bdfc91a add folder un/hiding from thumbnail view 2017-02-23 20:14:00 +01:00
tibbi
f27afeb674 add nomedia adding/removing at directory view 2017-02-23 20:11:33 +01:00
tibbi
3c821961b3 add folder hiding in release notes 2017-02-22 19:18:01 +01:00
tibbi
667dc4bf2e replace fake folder hiding with .nomedia check 2017-02-22 19:13:18 +01:00
tibbi
2544c91859 update commons to 2.6.8 2017-02-22 18:32:03 +01:00
tibbi
814b0cc3b6 check if we are trying to rotate a photo fragment 2017-02-20 23:19:03 +01:00
tibbi
c0fcb48d9c use the fast documentfile getting at Renaming too 2017-02-20 23:11:32 +01:00
tibbi
b46da2f58a try speeding up the process of obtaining all images and videos 2017-02-20 21:59:55 +01:00
tibbi
07b2371b9c try a faster way of deleting SD card files 2017-02-20 21:57:41 +01:00
tibbi
5d04e1967f if a file is an image, do not check if its a video 2017-02-19 19:25:22 +01:00
tibbi
3d77834487 do not show the keyboard at Save as dialog 2017-02-18 21:38:38 +01:00
tibbi
bf952f71cf tweak the way files are deleted 2017-02-17 19:28:37 +01:00
tibbi
8dfa688f7d add an activity check at reloading viewpager 2017-02-15 21:33:25 +01:00
tibbi
a17e0f7a39 declare viewpager as nullable 2017-02-15 02:26:31 +01:00
tibbi
60cc462c6e handle saving on SD card after rotating 2017-02-13 23:57:14 +01:00
tibbi
d4bd291461 use proper error strings at out of memory toasts 2017-02-13 23:34:00 +01:00
tibbi
a4ca22f419 catch out of memory error at editor activity too 2017-02-13 23:31:24 +01:00
tibbi
00dc0c16d3 add simple file saving to viewpager activity 2017-02-13 23:30:47 +01:00
tibbi
9a9ce890ca add a Save as button for saving rotated images 2017-02-13 22:44:03 +01:00
tibbi
90a87615d9 show the rotate actionbar button only if the current item is an image 2017-02-13 21:06:47 +01:00
tibbi
964ffe360a add the image rotating functions 2017-02-13 20:57:47 +01:00
tibbi
83a47e9b8c prepare for rotating images in viewpager activity 2017-02-13 20:51:28 +01:00
tibbi
592c80d951 use the proper filepath at deleting from viewpager activity 2017-02-13 20:49:01 +01:00
tibbi
eb1ef6852e rename some photo fragment views 2017-02-13 20:16:33 +01:00
tibbi
5dac9d2e3c added image rotating and flipping in release notes 2017-02-12 23:43:05 +01:00
tibbi
e951b85570 add fullscreen actionbar menu items for rotating images 2017-02-12 23:38:22 +01:00
tibbi
b3342a8091 add in icon for rotating left 2017-02-12 21:09:04 +01:00
tibbi
82bd634830 add a null check 2017-02-12 20:00:58 +01:00
tibbi
0c2598d37b show error messages if deleting failed 2017-02-10 23:59:28 +01:00
tibbi
67a459ced7 added the column changing option to whats new 2017-02-10 23:50:36 +01:00
tibbi
07335fba67 add the column changing methods to media screen too 2017-02-10 23:47:48 +01:00
tibbi
7f3b02a765 added menu options for changing the column counts 2017-02-10 23:44:10 +01:00
tibbi
cbcd3cfa6a tweak the way files are deleted 2017-02-10 23:27:14 +01:00
tibbi
0e541f091c delete images on a background thread from viewpager too 2017-02-09 21:57:21 +01:00
tibbi
58ace8e59f url decode the document file uri before deleting, should fix SD delete issues 2017-02-09 21:46:43 +01:00
tibbi
099e13ea0c check lollipop sd permissions at deleting asap 2017-02-09 21:38:07 +01:00
tibbi
5a625a3388 add a null check to viewpager menu items 2017-02-09 21:03:47 +01:00
tibbi
f728ca2650 add an activity null check at toggling fullscreen 2017-02-09 20:51:42 +01:00
tibbi
77e32c2790 speed up checking if directories or images changed 2017-02-07 00:14:51 +01:00
tibbi
9a7361795f check if a Camera app is available before trying to launch it 2017-02-07 00:08:32 +01:00
tibbi
0f0b3cfc30 avoid VideoFragment implementing so many interfaces 2017-02-07 00:04:30 +01:00
tibbi
f2bcac6298 add the showmediapicker dialog 2017-02-06 23:55:42 +01:00
tibbi
762662a976 replace the media selection spinner in settings with text 2017-02-06 23:34:53 +01:00
tibbi
d6f77febfe update commons to 2.5.4 2017-01-25 22:02:20 +01:00
tibbi
2c4bbfb0e2 make sure there is an application with maps before sending the intent 2017-01-23 23:05:25 +01:00
tibbi
06ac24eca5 add hex code picking in Whats new 2017-01-23 20:02:35 +01:00
tibbi
b6ee141c9c remove a writeexif line when opening weird images, like K9 attachments 2017-01-23 19:33:44 +01:00
tibbi
90f7b0fb4c update version to 2.3.4 with Whats new update 2017-01-22 20:04:40 +01:00
tibbi
10670a8f0d wrap the whole exif part of photofragment in try catch 2017-01-22 18:58:04 +01:00
tibbi
9773a481c8 add some null checks to obtaining directories 2017-01-22 18:53:32 +01:00