chrox
34ea9ac574
add datastorage module to handle data directory on various platform
...
On kindle, kobo and pocketbook the data directory is the current
running directory but on Android the app is installed in system
defined location and users may have no access to that location.
The same circumstances should be true for the upcoming Koreader for
Ubuntu touch, so the data directory (in which tessdata, dictionaries,
global settings, persistant defaults and probably history data are
stored) could be stored in another place.
9 years ago
Qingping Hou
186673587e
chore: fix some of the luacheck errors
10 years ago
chrox
98515a2210
Fix filemanager cp/mv/rm operations not work on Android
10 years ago
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 .
10 years ago
chrox
17f1498156
fix successively set landscape rotate the screen
10 years ago
chrox
5d79158602
fix cannot save document if exit directly after highlighting in PDF
10 years ago
chrox
f22a53affd
screen orientation won't change when going into filemanager
...
and filemanager remembers screen orientation at exit
This should fix #1338 .
10 years ago
chrox
b3d79b053a
workaround to fix #1340
10 years ago
Hans-Werner Hilse
7c1c072b21
fix for rotated document to file manager transition: do a refresh
...
fixes part 2 of #1333
10 years ago
chrox
aa9566205b
fix filemanager cannot remember sorting order
10 years ago
chrox
20fd6f902e
fix #1175
10 years ago
Frans de Jonge
73a6f71a0b
Prevent spaces from being eaten by Transifex
...
Fixes #1276
10 years ago
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.
10 years ago
Frans de Jonge
141095b0c8
Alterations to the menu
...
References #1219 and #1258 .
10 years ago
Hans-Werner Hilse
22697adf20
switch from scaleByDPI() to scaleBySize()
10 years ago
Huang Xin
823147f8df
Merge pull request #1225 from Frenzie/language
...
Refactored menu
10 years ago
Frans de Jonge
da00b4b8a9
Refactored menu
...
While looking into #1219 I accidentally ended up refactoring some stuff.
Tested in emulator and on H2O, but be wary because I might have overlooked something.
10 years ago
Frans de Jonge
92f0092ad4
Filesearcher: added notification for no results
10 years ago
Huang Xin
e54d2fec30
Merge pull request #1186 from Frenzie/filesearcher
...
Initial file search implementation
10 years ago
Frans de Jonge
7a4b737ecd
Changed "delete" in history to "remove this item from history" for clarity
10 years ago
Frans de Jonge
518c46033e
Change "Search Books" to "Search books" for consistency with other search dialogs
10 years ago
Frans de Jonge
19029d1aab
Comment out wasteful DEBUG statements
10 years ago
Frans de Jonge
06239fb9ec
Initial file search implementation
...
See #1165 .
10 years ago
Frans de Jonge
fcb59bfd30
Improved SetDefaults dialog message.
10 years ago
Frans de Jonge
26baa5e007
Added timeout to successful delete message.
10 years ago
Frans de Jonge
324d67a7a8
Various language-related fixes.
10 years ago
Frans de Jonge
81cb358775
Change rm invocation from rm -r to rm -rf
...
Fixes #941 .
10 years ago
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.
10 years ago
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 .
10 years ago
chrox
cfa4f03c18
fix #1149 by adding 'Network setting' in filemanager
10 years ago
Frans de Jonge
ff4e2f3458
Minor English improvements.
10 years ago
chrox
7b5358c481
fix filemanager not aware screen dimen when change from landscape to portrait
10 years ago
HW
f3b132d85f
Merge pull request #1113 from chrox/fix_1096
...
fix #1096
10 years ago
chrox
03ee6630cf
fix #1096
10 years ago
Hans-Werner Hilse
d91dccae80
fix night mode setting
...
implement bezel cleaning with proper background color
10 years ago
chrox
461afa25a8
add 'Home' key event to close filemanager
10 years ago
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.
10 years ago
chrox
a32991d898
add new sorting methods for file list in filemanager
...
Now files can be sorted by filename or last accessed time
10 years ago
Qingping Hou
394c847e2b
fix(app): initilize menu properly in reader and filemanager
10 years ago
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.
10 years ago
WS64
f537125756
Bugfix
10 years ago
chrox
e714caed8d
refactoring restoreScreenMode from readerview to filemanager
...
This should fix #983 .
10 years ago
chrox
2b26e599d9
return to previous filemanager view instead of opening a new one
10 years ago
chrox
14e2bf3d69
refatoring: lazy loading of packages
10 years ago
WS64
d790f8aafe
fix the nil tags data bug
10 years ago
chrox
84abe620d2
refresh filemanager when closing opdscatalog
10 years ago
chrox
11a8a1dce6
show file size and directory items in filemanager
10 years ago
Qingping Hou
18d4c7550a
chore: cleanup FileManagerHistory:updateItemTable()
10 years ago
Qingping Hou
7c6790796a
fix: replace showReaderUI with ReaderUI:showReader
10 years ago
chrox
c91224f12c
add default directory for filemanager
10 years ago