Qingping Hou
88ab21c62c
minor: change setting names for home_dir_name
2016-11-19 12:15:27 -08:00
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`.
2016-11-15 23:50:58 -08:00
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`).
2016-11-14 13:22:20 -08:00
Bastien Dejean
283a113aaa
Handle corner case in tildify
2016-11-13 15:09:59 -08:00
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.
2016-11-12 15:26:14 -08:00
Bastien Dejean
83f18d6d77
Properly spell the title of the file manager
...
Us humans can handle spaces in titles.
2016-11-12 15:25:11 -08:00
robert00s
09f2db3729
Fix long filename text in history textbox ( #2322 )
...
Fix long filename text in history textbox
2016-11-08 10:05:34 -08:00
robert00s
886e2d6cb1
display document metadata ( #2307 )
...
display document metadata in file manager and history menu
2016-10-30 15:24:50 -07:00
Qingping Hou
67ae10742a
defaults: try parse int from user input
2016-10-14 19:50:49 -07:00
Qingping Hou
d6c48b06f9
chore: fix all luacheck issues
2016-09-22 00:38:10 -07:00
Qingping Hou
252100891f
fix(defaults): override defaults with persistent defaults for advanced setting menu
2016-09-22 00:38:03 -07:00
Qingping Hou
ca21ab4be5
fix(defaults): type casting for user input
2016-09-21 23:57:45 -07:00
Qingping Hou
ec6da5318c
screensaver(fix): add back menu toggle to support screensaver folder
2016-07-31 18:26:26 -07:00
Hzj_jie
7493fc89f6
Add removed item name in "Remove this item from history" and fix wrong items deleted issue. ( #2164 )
...
* Add removed item name in "Remove this item from history".
* Fix #2162 , wrong history items deleted.
2016-07-18 22:37:57 -07:00
Qingping Hou
0d9fc17d7c
chore: rename SetDefaults:SaveSettings
2016-07-16 22:47:19 -07:00
Huang Xin
b8f23d162d
filemanager(fix): refresh banner in filemanager insteand of TextWidget
2016-07-12 21:34:17 -07:00
Qingping Hou
304b0f218e
chore: fix some of the luacheck errors
2016-07-12 20:49:09 -07:00
Hzj_jie
400e63a463
Resolve review comments
2016-07-04 23:14:53 -07:00
Hzj_jie
493ff00609
Add path in file manager
2016-07-04 17:38:04 -07:00
Frans de Jonge
eb28513403
Fix 'screen server' typo (should be screensaver)
2016-06-07 14:08:20 +02:00
Qingping Hou
2e417cfbd8
filemanager(refactor): use purge method from docsettings
2016-06-03 22:06:02 -07:00
Huang Xin
f718b0669f
Merge pull request #2045 from koreader/defaults
...
defaults(refactor): remove global hack in filemanagersetdefaults
2016-06-01 08:31:36 -05:00
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.
2016-05-29 19:36:54 -07:00
Qingping Hou
9586b36eb6
defaults(fix): purge entry from persistent file
2016-05-26 00:44:42 -07:00
Qingping Hou
476e35708d
inputdialog(feat): add is_enter_default attribute to buttons
2016-05-25 23:09:49 -07:00
Qingping Hou
60587e08c6
defaults(refactor): remove global hack in filemanagersetdefaults
...
also added screensaver folder setting dialog for kobo
2016-05-25 22:07:20 -07:00
chrox
92184f0199
fix #1985 by always return to the parent dir of current doc in the FileManager
2016-04-23 22:57:19 +08:00
Zijie He
667e8834ad
Migrate history folder, FileManagerHistory uses own history.lua file and ReadHistory component
2016-04-20 22:44:44 -07:00
Frans de Jonge
5638819f25
Removed a bunch of "successfully", replaced an ellipsis, and some deviant spellings of KOReader.
2016-04-16 12:37:08 +02:00
Allan Nordhøy
bc16ed5035
Spelling of calibre and KOReader. Ellipsis.
2016-04-15 15:04:41 +02:00
Qingping Hou
467199285f
minor: rename Koreader to KOReader
2016-03-27 18:50:23 -07:00
zijiehe
8861365264
Add rename function for filemanager
2016-02-20 23:53:05 +08:00
Qingping Hou
72e7cd5cf4
style: move functions around
2016-02-16 23:26:08 -08:00
Qingping Hou
6a6469fa09
more luacheck fixes
2016-02-15 22:34:28 -08:00
Qingping Hou
11ee8d6fcc
refactor: use new KeyValuePage widget for displaying statistics
2016-02-14 21:54:17 -08:00
Qingping Hou
fb0606aa9c
style(FM): rename internal only method into function
2016-02-01 18:25:33 -08:00
Qingping Hou
34515484d1
fix: remove invalid setDirty in FileManager:restoreScreenMode
2016-02-01 18:25:33 -08:00
Qingping Hou
d1ca8bc494
fix(filemanager): delete document with settings
2016-01-09 12:12:10 -08:00
Qingping Hou
7caeae8701
fix: make screenshoter always active for filemanager
2016-01-08 23:30:02 -08:00
Qingping Hou
6fe9f7870b
chore: more luacheck fixes
2016-01-03 01:18:54 -08:00
Qingping Hou
3b92bdc084
feat: support screenshot in filemanager
2016-01-03 00:47:44 -08:00
chrox
a60544b1ad
Koreader Ubuntu-touch port
...
Currently only tested on Ubuntu-touch emulator with framework
ubuntu-sdk-14.10 for armhf.
The ubuntu-touch port is binary compatible with the Kobo port
major changes in this PR are:
1. rename the emulator device to sdl device since both the emulator
and the ubuntu-touch target use libsdl to handle input/output.
2. ubuntu-touch app has no write access to the installation dir so
all write-outs should be in a seperate dir definded in `datastorage`.
2015-10-03 14:48:51 +08:00
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.
2015-06-15 16:56:27 +08:00
Qingping Hou
186673587e
chore: fix some of the luacheck errors
2015-04-26 20:57:45 -04:00
chrox
98515a2210
Fix filemanager cp/mv/rm operations not work on Android
2015-04-22 14:27:33 +08:00
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
chrox
b3d79b053a
workaround to fix #1340
2014-12-04 10:09:09 +08:00