chrox
69e6b6b9cb
hold on directory in filemanager can set the it as HOME directory
...
and this "HOME" directory will override the command line option passed to
koreader.
This patch implements #1434 .
2015-03-12 16:29:15 +08:00
chrox
17f1498156
fix successively set landscape rotate the screen
2015-02-02 02:33:12 +08:00
chrox
5d79158602
fix cannot save document if exit directly after highlighting in PDF
2015-02-02 02:22:58 +08:00
chrox
f22a53affd
screen orientation won't change when going into filemanager
...
and filemanager remembers screen orientation at exit
This should fix #1338 .
2015-02-02 01:36:52 +08:00
Hans-Werner Hilse
7c1c072b21
fix for rotated document to file manager transition: do a refresh
...
fixes part 2 of #1333
2014-12-03 15:59:48 +00:00
chrox
aa9566205b
fix filemanager cannot remember sorting order
2014-12-02 09:52:05 +08:00
Frans de Jonge
66f04af8fb
Various applications of util.template
...
This is the first bunch for #1276 . I'd like to resolve #1281 before doing more.
2014-11-28 12:48:15 +01:00
Hans-Werner Hilse
22697adf20
switch from scaleByDPI() to scaleBySize()
2014-11-23 12:13:32 +00:00
Frans de Jonge
26baa5e007
Added timeout to successful delete message.
2014-11-14 21:57:06 +01:00
Frans de Jonge
324d67a7a8
Various language-related fixes.
2014-11-14 20:34:55 +01:00
Frans de Jonge
81cb358775
Change rm invocation from rm -r to rm -rf
...
Fixes #941 .
2014-11-13 22:40:02 +01:00
Frans de Jonge
5faff6331f
"File to remove" DEBUG message was empty
...
You can't get the full file path of a file that no longer exists, obviously.
2014-11-13 12:54:58 +01:00
Frans de Jonge
886a9d8f8f
File manager improvements: added delete confirmation dialog and success/failure message
...
This makes deleting files from within KOReader less scary and also provides the initial framework for handling different exit codes for #941 .
2014-11-13 12:28:57 +01:00
chrox
7b5358c481
fix filemanager not aware screen dimen when change from landscape to portrait
2014-11-10 20:46:45 +08:00
chrox
461afa25a8
add 'Home' key event to close filemanager
2014-11-06 13:39:38 +08:00
Hans-Werner Hilse
3066c86e38
Refactoring hardware abstraction
...
This is a major overhaul of the hardware abstraction layer.
A few notes:
General platform distinction happens in
frontend/device.lua
which will delegate everything else to
frontend/device/<platform_name>/device.lua
which should extend
frontend/device/generic/device.lua
Screen handling is implemented in
frontend/device/screen.lua
which includes the *functionality* to support device specifics.
Actually setting up the device specific functionality, however,
is done in the device specific setup code in the relevant
device.lua file.
The same goes for input handling.
2014-11-02 21:19:04 +01:00
chrox
a32991d898
add new sorting methods for file list in filemanager
...
Now files can be sorted by filename or last accessed time
2014-10-30 22:41:52 +08:00
Hans-Werner Hilse
5982e24d57
unify color specification
...
colors were a mixture of 4bpp integers (0=white, 15=black) and
fractional blackness levels (0=white, 1.0=black) before. This is
now unified to use the color specification of the Blitbuffer API.
2014-10-24 13:48:42 +02:00
chrox
e714caed8d
refactoring restoreScreenMode from readerview to filemanager
...
This should fix #983 .
2014-10-12 17:26:36 +08:00
chrox
2b26e599d9
return to previous filemanager view instead of opening a new one
2014-10-10 18:14:33 +08:00
chrox
11a8a1dce6
show file size and directory items in filemanager
2014-09-10 13:27:15 +08:00
chrox
c91224f12c
add default directory for filemanager
2014-09-07 17:19:51 +08:00
chrox
2bec0017a0
refactor out global functions showHomePage and showReaderUI
2014-09-05 21:07:42 +08:00
chrox
c74c258fc7
add filemanager icon in reader menu
...
now we can access the filemanager in all launcher configurations
2014-09-05 21:07:42 +08:00
chrox
b7c7287bab
remove more global variables
2014-08-14 19:52:30 +08:00
chrox
e624695d54
the Back key on Android should close the popup window and menu
2014-06-10 21:33:31 +08:00
chrox
ef84aff1db
make ffi/util module local
2014-06-04 17:36:18 +08:00
chrox
92219a1f1e
cleanup: expand tab to 4 spaces
2014-03-13 21:52:43 +08:00
Paulo Matias
1982e1154f
Refresh current path in filemanager after file operation
...
This behavior is more consistent when e.g. a file is moved to ".."
2014-01-22 16:23:23 -02:00
Paulo Matias
6c68041824
If selected file is a directory, paste inside it
2014-01-22 16:08:24 -02:00
Paulo Matias
e9421d0aa5
Add option for deleting history entries and refactor dialogs
...
- Refactor FileDialog and HightlightDialog into ButtonDialog
- Create a new ButtonDialog when a file in the History dialog is hold,
offering an option to delete the history entry.
2014-01-22 16:03:44 -02:00
Paulo Matias
271b827860
Fix dealing with filenames containing spaces
...
and missing GestureRange require
2014-01-18 17:54:23 -02:00
chrox
b3b0844f34
basic functionality on file copy/paste/cut/delete in filemanager
...
There file operations will popup when holding on file entries
in filemanager.
This should implement #244 .
2014-01-18 23:17:13 +08:00
chrox
3eeba5389d
fix show hidden flag not persistent between restart
...
This should fix bug reported in comments of #278 .
2013-12-28 17:49:43 +08:00
chrox
2f9e65871a
invert item when tapping on filemanager
2013-12-26 06:18:38 +08:00
chrox
648b4f33ec
add vertical span between title and content in filemanager
2013-12-19 23:21:41 +08:00
HW
ef111b99c6
Refactored to use strictly locals
2013-10-18 22:38:07 +02:00