Frans de Jonge
fed22b509d
FileManager: rename hasSidecarDir to hasSidecarFile
...
Fixes #2550
Cf. b502047635
8 years ago
Zijie He
4f1cabcdbc
Improve several outputs
8 years ago
Hzj_jie
726b15ad01
More sorting orders in file manager ( #2535 )
8 years ago
Zijie He
faaca028e7
Remove empty sidecar folder
8 years ago
Zijie He
b502047635
Removing metadata file instead of purging .sdr folder
8 years ago
Hzj_jie
f91ad679d9
swithItemTable -> switchItemTable
8 years ago
Qingping Hou
f95ad00b9e
feat: add logger module & rewrite kobo suspend script in lua
8 years ago
Hzj_jie
5bda44473d
Add dictionary to filemanager
8 years ago
robert00s
ae9261b685
Fix #2440
8 years ago
Hzj_jie
c662ca4cc8
Load plugins also in FileManager ( #2426 )
...
added is_doc_only plugin attribute
8 years ago
Robert
93e075feb6
Adding the buttondialogtitle widget and show long filename in filemanager ( #2414 )
8 years ago
poire-z
949e5ba54d
FileManager: added button to purge sidecar directory ( #2391 )
...
Also move its sidecar directory when moving a file.
8 years ago
Qingping Hou
88ab21c62c
minor: change setting names for home_dir_name
8 years ago
Bastien Dejean
b3d58fba00
Don't try to set the value of fm_screen_mode
...
I'm not sure what the original intention was, but in practice, the user
experience regarding the way this setting is saved is horrible: it seems
to change randomly and once the orientation is changed from portrait to
landscape, the only way to fix it is to edit `settings.reader.lua`.
8 years ago
Bastien Dejean
58b6c94a8d
Generalize and consolidate tildify
...
- Don't do any substitution unless `home_dir_name` exists.
- Don't rely on `gsub` because it might interpret some characters in
`home_dir` as magical (and might also replace a match not starting at
the beginning of `path`).
8 years ago
Bastien Dejean
283a113aaa
Handle corner case in tildify
8 years ago
Bastien Dejean
2f5935411a
Replace the home dir by ~ in the FM's current path
...
This mirrors the well known shell convention and release the user from
a needlessly verbose description of the current path.
8 years ago
Bastien Dejean
83f18d6d77
Properly spell the title of the file manager
...
Us humans can handle spaces in titles.
8 years ago
robert00s
886e2d6cb1
display document metadata ( #2307 )
...
display document metadata in file manager and history menu
8 years ago
Huang Xin
b8f23d162d
filemanager(fix): refresh banner in filemanager insteand of TextWidget
8 years ago
Hzj_jie
400e63a463
Resolve review comments
8 years ago
Hzj_jie
493ff00609
Add path in file manager
8 years ago
Qingping Hou
2e417cfbd8
filemanager(refactor): use purge method from docsettings
8 years ago
Huang Xin
f718b0669f
Merge pull request #2045 from koreader/defaults
...
defaults(refactor): remove global hack in filemanagersetdefaults
8 years ago
Qingping Hou
ac03cd241f
fm(fix): close filemanager before showReader
...
This removes filemanager from UI widget stack so it does not listen
to events sent to the reader. Before this patch, screenshot event will
be sent to filemanager.
8 years ago
Qingping Hou
60587e08c6
defaults(refactor): remove global hack in filemanagersetdefaults
...
also added screensaver folder setting dialog for kobo
8 years ago
chrox
92184f0199
fix #1985 by always return to the parent dir of current doc in the FileManager
9 years ago
Frans de Jonge
5638819f25
Removed a bunch of "successfully", replaced an ellipsis, and some deviant spellings of KOReader.
9 years ago
zijiehe
8861365264
Add rename function for filemanager
9 years ago
Qingping Hou
6a6469fa09
more luacheck fixes
9 years ago
Qingping Hou
fb0606aa9c
style(FM): rename internal only method into function
9 years ago
Qingping Hou
34515484d1
fix: remove invalid setDirty in FileManager:restoreScreenMode
9 years ago
Qingping Hou
d1ca8bc494
fix(filemanager): delete document with settings
9 years ago
Qingping Hou
7caeae8701
fix: make screenshoter always active for filemanager
9 years ago
Qingping Hou
6fe9f7870b
chore: more luacheck fixes
9 years ago
Qingping Hou
3b92bdc084
feat: support screenshot in filemanager
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
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
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
Hans-Werner Hilse
22697adf20
switch from scaleByDPI() to scaleBySize()
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
7b5358c481
fix filemanager not aware screen dimen when change from landscape to portrait
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
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
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
11a8a1dce6
show file size and directory items in filemanager
10 years ago
chrox
c91224f12c
add default directory for filemanager
10 years ago
chrox
2bec0017a0
refactor out global functions showHomePage and showReaderUI
10 years ago
chrox
c74c258fc7
add filemanager icon in reader menu
...
now we can access the filemanager in all launcher configurations
10 years ago
chrox
b7c7287bab
remove more global variables
10 years ago
chrox
e624695d54
the Back key on Android should close the popup window and menu
10 years ago
chrox
ef84aff1db
make ffi/util module local
10 years ago
chrox
92219a1f1e
cleanup: expand tab to 4 spaces
11 years ago
Paulo Matias
1982e1154f
Refresh current path in filemanager after file operation
...
This behavior is more consistent when e.g. a file is moved to ".."
11 years ago
Paulo Matias
6c68041824
If selected file is a directory, paste inside it
11 years ago
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.
11 years ago
Paulo Matias
271b827860
Fix dealing with filenames containing spaces
...
and missing GestureRange require
11 years ago
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 .
11 years ago
chrox
3eeba5389d
fix show hidden flag not persistent between restart
...
This should fix bug reported in comments of #278 .
11 years ago
chrox
2f9e65871a
invert item when tapping on filemanager
11 years ago
chrox
648b4f33ec
add vertical span between title and content in filemanager
11 years ago
HW
ef111b99c6
Refactored to use strictly locals
11 years ago