Commit graph

235 commits

Author SHA1 Message Date
tibbi
376089984c convert viewpagerfragment to kotlin 2016-11-13 22:06:39 +01:00
tibbi
aa36c42f13 convert PhotoFragment to kotlin 2016-11-13 22:00:33 +01:00
tibbi
8cc9c27416 convert ChangeSortingDialog to kotlin 2016-11-13 21:43:56 +01:00
tibbi
ed2f9117bb be incasesensitive when comparing directory paths 2016-11-13 11:55:24 +01:00
tibbi
04e3ea1fb2 use the extension function for checking root folders 2016-11-13 11:45:43 +01:00
tibbi
e013cc02a4 do not allow renaming the root folder of a storage 2016-11-13 11:40:12 +01:00
tibbi
9b8420e9d1 check for already existing folder at renaming 2016-11-13 11:28:34 +01:00
tibbi
09231c516c display proper directory names at storage root folders 2016-11-13 11:17:01 +01:00
tibbi
4d324e491e convert myviewpager and myimageview to kotlin 2016-11-13 11:01:21 +01:00
tibbi
856913520a convert Config to Kotlin + move Utils 2016-11-13 10:58:10 +01:00
tibbi
c6779c8047 convert AboutActivity to kotlin 2016-11-13 10:50:36 +01:00
tibbi
57836b229d add filepicker and fileproperties licenses 2016-11-13 10:33:33 +01:00
tibbi
eb218f6fa6 rename intent data to resultdata 2016-11-12 23:45:40 +01:00
tibbi
8ccb0385ca move system UI toggling into extensions 2016-11-12 23:27:10 +01:00
tibbi
493ba31c5f convert PhotoVideoActivity to kotlin 2016-11-12 23:11:52 +01:00
tibbi
719c510f59 convert ViewPagerActivity to kotlin 2016-11-12 23:01:57 +01:00
tibbi
afb722ab24 let the user know if not all files have been copied/moved 2016-11-12 21:33:46 +01:00
tibbi
34d015734e add some checks to avoid displaying nonexistant files 2016-11-12 20:29:47 +01:00
tibbi
f548ed833a change copymovetask interface to inline 2016-11-12 20:11:41 +01:00
tibbi
7c3ad32dee allow copying and moving only photo and video files with the gallery 2016-11-12 19:57:18 +01:00
tibbi
84613885ef convert Medium to kotlin + Directory updates 2016-11-12 19:26:01 +01:00
tibbi
a5deb81e58 update the copy task related things 2016-11-12 19:10:05 +01:00
tibbi
36aaf03541 update the copy task 2016-11-12 17:52:35 +01:00
tibbi
d4855573c9 readd the Move button 2016-11-12 16:50:05 +01:00
tibbi
93b8281cfb some mediascan adjustments 2016-11-12 15:24:40 +01:00
tibbi
75beef4da6 using a few more extension functions 2016-11-12 12:16:50 +01:00
tibbi
c4edf3c28e replace a couple more extension functions 2016-11-12 12:12:05 +01:00
tibbi
9e5936b8a0 make use of some of the new extension functions 2016-11-12 12:04:38 +01:00
tibbi
e3cc1b91cc rely on some extension functions from the filepicker library 2016-11-11 23:40:33 +01:00
tibbi
4b12949a73 humanize the paths at rename dialogs 2016-11-11 00:01:08 +01:00
tibbi
0959403628 convert a couple simple activity to kotlin, no functionality change 2016-11-10 23:19:04 +01:00
tibbi
d4c75c2107 add the actual filename visibility toggle functionality 2016-11-10 22:57:17 +01:00
tibbi
af3d247b7f use the inherited mConfig variable 2016-11-10 22:44:05 +01:00
tibbi
c609072eaf display a file name at the media activity 2016-11-10 20:46:11 +01:00
tibbi
96b25a43b8 make "Save as" the only saving option in the editor 2016-11-09 23:37:39 +01:00
tibbi
267317c7c2 use date_modified instead of date_taken everywhere 2016-11-09 23:20:18 +01:00
tibbi
fa14b43e3e comment out Move function for now 2016-11-09 23:02:13 +01:00
tibbi
beba22b764 refresh the directories view after copying 2016-11-09 22:58:13 +01:00
tibbi
8487ef44c4 add a copy/move menu item to media activity 2016-11-09 22:27:13 +01:00
tibbi
d7ffc35dd0 store the real destination path in a variable 2016-11-09 21:19:46 +01:00
tibbi
d6fd4ad378 humanize the selected copy destination link too 2016-11-09 21:15:11 +01:00
tibbi
2c7d62c863 add a dialog for picking the copy destination 2016-11-09 21:10:08 +01:00
tibbi
9b809790f9 create the copy dialog at viewpageractivity 2016-11-08 23:00:09 +01:00
tibbi
c6598528fd add a couple things related to file copying 2016-11-08 21:49:54 +01:00
tibbi
fbe1409862 add a pickAlbumActivity for picking copy destination 2016-11-08 20:08:39 +01:00
tibbi
5cb0bb904f close #44, add "Save as" to the editor 2016-11-06 23:52:57 +01:00
tibbi
90d704cff4 add a Save as button to the editor 2016-11-06 21:52:43 +01:00
tibbi
c7408fb9fe move directory rename dialog in a separate file 2016-11-06 21:16:41 +01:00
tibbi
fc8f8c3fa7 rename RenameItemDialog to RenameFileDialog 2016-11-06 20:53:34 +01:00
tibbi
6c9c072dc9 create a helper function for displaying stupid kitkat permissions dialog 2016-11-06 20:36:55 +01:00
tibbi
c71f94d9ec handle open_documet_tree activityresult in shared simpleactivity 2016-11-06 19:53:02 +01:00
tibbi
fb59224405 convert simpleactivity to kotlin 2016-11-06 19:44:26 +01:00
tibbi
dd983c9753 handle kitkat permissions at saving edited photos 2016-11-06 19:40:03 +01:00
tibbi
a70e99da34 move RenameItemDialog in a separate file 2016-11-06 18:45:33 +01:00
tibbi
4f74709774 add some things related to kitkat sdcard write permissions 2016-11-06 16:26:25 +01:00
tibbi
165cff24e6 move mypageradapter to the proper folder 2016-11-06 16:09:50 +01:00
tibbi
def05ffbe2 convert mediaadapter to kotlin 2016-11-06 16:01:13 +01:00
tibbi
d60521411e convert directoryadapter to kotlin 2016-11-06 15:54:53 +01:00
tibbi
657b14fdb4 add a null check at obtaining files to fix some crashes 2016-11-06 15:29:54 +01:00
tibbi
001bf403d1 move interface declaration to the bottom 2016-11-06 15:18:17 +01:00
tibbi
2f9c63e43b fix up directory sorting 2016-10-25 22:48:30 +02:00
tibbi
9081d1a579 load the directories asynchronously 2016-10-25 22:28:25 +02:00
tibbi
647a487fd5 convert content:// uri to real path when needed 2016-10-09 18:54:36 +02:00
tibbi
4bb8650b57 save edited images at 90% quality 2016-10-08 23:05:41 +02:00
tibbi
aebfa078e1 check for unknown file path at editing remote images 2016-10-08 22:42:11 +02:00
tibbi
e20a9294df close the app if the user goes Back from picking an image without pick 2016-10-08 20:05:01 +02:00
tibbi
8e4866c2f7 allow using Set as wallpaper with long pressing the desktop 2016-10-08 19:55:38 +02:00
tibbi
c64a158a49 move the wallpaper handling in a background thread 2016-10-08 19:39:50 +02:00
tibbi
d907e3cef5 allow croping and rotating the wallpaper before setting 2016-10-08 19:03:50 +02:00
tibbi
1a7c0861c3 create an activity for setting a wallpaper 2016-10-08 17:03:52 +02:00
tibbi
f765bf7dc9 handle content:// uri scheme properly too, close #28 2016-10-08 16:08:10 +02:00
tibbi
ca65ead9a7 take the file uri scheme into account when editing and saving files 2016-10-08 12:44:04 +02:00
tibbi
58ec3276bb lowercase the file extension before checking its type 2016-10-06 22:32:35 +02:00
tibbi
f635173b1f cache thumbnails by timestamp signature 2016-10-06 22:25:07 +02:00
tibbi
0005fb7e0c do not display an error toast if the user leaves the editor with Back 2016-10-06 20:55:09 +02:00
tibbi
a7f3bda7bd set the initial crop window padding to 0 2016-10-06 20:09:24 +02:00
tibbi
f4655761bd update the given medium after editing it 2016-10-06 20:05:44 +02:00
tibbi
a5def53373 save the edited bitmap when done 2016-10-06 19:54:09 +02:00
tibbi
c433c897b5 finish the Edit activity if the image uri is invalid 2016-10-05 23:36:53 +02:00
tibbi
5a7d5ac2e7 crop the image on pressing Save 2016-10-05 22:07:32 +02:00
tibbi
1e4c1206cc rotate the image by 90 degrees at pressing Rotate 2016-10-05 21:47:12 +02:00
tibbi
d3ce91beb5 add a menu item for rotating 2016-10-05 21:08:24 +02:00
tibbi
ed1a971564 add a Save menu item 2016-10-05 20:55:01 +02:00
tibbi
734557d7cd add theartofdev.edmodo:android-image-cropper for image editing 2016-10-05 20:47:58 +02:00
tibbi
d638f6350e create an activity for editing photos 2016-10-05 18:37:28 +02:00