Qingping Hou
f95ad00b9e
feat: add logger module & rewrite kobo suspend script in lua
2017-01-02 19:52:09 -08:00
Hzj_jie
5bda44473d
Add dictionary to filemanager
2017-01-02 10:12:34 -08:00
Robert
957e8ce768
Add open last book menu item in file manager ( #2450 )
2016-12-24 22:36:46 -08:00
robert00s
ae9261b685
Fix #2440
2016-12-20 22:10:02 -08:00
Robert
187598deb2
Cloud storage - dropbox and ftp integration ( #2424 )
2016-12-19 23:34:00 -08:00
Hzj_jie
c662ca4cc8
Load plugins also in FileManager ( #2426 )
...
added is_doc_only plugin attribute
2016-12-19 23:19:54 -08:00
poire-z
fe56ecd301
Clear readers' cache: invalidate in-memory references
...
This avoids crash on exit after clearing caches.
2016-12-14 11:39:46 -08:00
Robert
93e075feb6
Adding the buttondialogtitle widget and show long filename in filemanager ( #2414 )
2016-12-10 16:06:10 -08:00
Robert
7e1c0c15c6
Refresh filemanager after exit from OPDS browser ( #2405 )
2016-12-05 10:17:49 -08:00
poire-z
ca59efc5b6
FileManager Menu: added "Developer options" ( #2391 )
...
and "Clear readers' caches" subitem.
2016-12-04 15:51:12 -08:00
poire-z
949e5ba54d
FileManager: added button to purge sidecar directory ( #2391 )
...
Also move its sidecar directory when moving a file.
2016-12-04 15:51:12 -08:00
Qingping Hou
8e76ed4f0b
fix: flush reader setting on change from filemanagermenu
2016-11-24 02:03:48 -08:00
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
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
chrox
20fd6f902e
fix #1175
2014-12-01 15:32:12 +08:00
Frans de Jonge
73a6f71a0b
Prevent spaces from being eaten by Transifex
...
Fixes #1276
2014-11-28 22:38:54 +01: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
Frans de Jonge
141095b0c8
Alterations to the menu
...
References #1219 and #1258 .
2014-11-26 18:16:54 +01:00
Hans-Werner Hilse
22697adf20
switch from scaleByDPI() to scaleBySize()
2014-11-23 12:13:32 +00:00
Huang Xin
823147f8df
Merge pull request #1225 from Frenzie/language
...
Refactored menu
2014-11-22 10:03:01 +08:00
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.
2014-11-21 15:57:10 +01:00
Frans de Jonge
92f0092ad4
Filesearcher: added notification for no results
2014-11-20 22:42:51 +01:00
Huang Xin
e54d2fec30
Merge pull request #1186 from Frenzie/filesearcher
...
Initial file search implementation
2014-11-17 10:04:38 +08:00
Frans de Jonge
7a4b737ecd
Changed "delete" in history to "remove this item from history" for clarity
2014-11-16 15:54:47 +01:00
Frans de Jonge
518c46033e
Change "Search Books" to "Search books" for consistency with other search dialogs
2014-11-16 13:09:03 +01:00
Frans de Jonge
19029d1aab
Comment out wasteful DEBUG statements
2014-11-16 13:08:41 +01:00
Frans de Jonge
06239fb9ec
Initial file search implementation
...
See #1165 .
2014-11-16 12:57:56 +01:00
Frans de Jonge
fcb59bfd30
Improved SetDefaults dialog message.
2014-11-14 22:01:32 +01: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
cfa4f03c18
fix #1149 by adding 'Network setting' in filemanager
2014-11-13 12:54:42 +08:00
Frans de Jonge
ff4e2f3458
Minor English improvements.
2014-11-12 12:29:38 +01:00
chrox
7b5358c481
fix filemanager not aware screen dimen when change from landscape to portrait
2014-11-10 20:46:45 +08:00
HW
f3b132d85f
Merge pull request #1113 from chrox/fix_1096
...
fix #1096
2014-11-10 09:58:07 +01:00
chrox
03ee6630cf
fix #1096
2014-11-10 16:36:21 +08:00
Hans-Werner Hilse
d91dccae80
fix night mode setting
...
implement bezel cleaning with proper background color
2014-11-09 18:03:33 +01: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
Qingping Hou
394c847e2b
fix(app): initilize menu properly in reader and filemanager
2014-10-25 05:46:02 -04: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
WS64
f537125756
Bugfix
2014-10-13 15:40:48 +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
14e2bf3d69
refatoring: lazy loading of packages
2014-10-03 16:13:34 +08:00
WS64
d790f8aafe
fix the nil tags data bug
2014-09-30 18:28:36 +02:00
chrox
84abe620d2
refresh filemanager when closing opdscatalog
2014-09-10 13:27:15 +08:00
chrox
11a8a1dce6
show file size and directory items in filemanager
2014-09-10 13:27:15 +08:00
Qingping Hou
18d4c7550a
chore: cleanup FileManagerHistory:updateItemTable()
2014-09-08 02:33:26 -04:00
Qingping Hou
7c6790796a
fix: replace showReaderUI with ReaderUI:showReader
2014-09-07 18:43:32 -04:00
chrox
c91224f12c
add default directory for filemanager
2014-09-07 17:19:51 +08:00
chrox
69c162ac4f
refactoring to generic multiinputdialog
2014-09-05 21:07:43 +08:00
chrox
21dcf787da
add OPDS support
...
This PR implements a simple OPDS browser which can be launched
from filemanager menu.
2014-09-05 21:07:43 +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
WS64
6c4869f8a8
Only use registered file types in search
2014-08-27 09:17:54 +02:00
chrox
0bc3eadcae
refactoring: use Document API getCoverPageImage to get cover image
2014-08-27 11:07:25 +08:00
chrox
40bddf0735
emulate Power button with F2 on emulator
2014-08-26 18:10:26 +08:00
Huang Xin
451092905e
Merge pull request #842 from WS64/master
...
Add a new multi line input dialog and change some search behaviour
2014-08-26 15:20:37 +08:00
chrox
6a0cc0afc6
remove too verbose information that is utterly untranslatable
...
I would suggest when creating a translate string you'd better keep
as much words together as you can other than trying to call the
`_` function on each word which may cause the final
translation in some languages unreadable.
For example, no matter how we translate the single words, the Chinese
translation of
```
_("No ") .. some_thing .. _("found ") .. _("matching") .. other_thing
```
will be nonsense.
Better way would be:
```
some_thing .. " is not found matching" .. other_thing
```
2014-08-26 10:47:20 +08:00
chrox
5890e4a0b1
use conventional util name and update koreader-base
2014-08-26 08:59:24 +08:00
WS64
4bad1a6f6f
New editor for table fields used
2014-08-25 18:03:10 +02:00
WS64
3bb45f3a20
Changed the way to handle the own database file
...
This should make it easier to update the format of the file and also prevents errors when someone keeps this file but the deletes the original calibre file
2014-08-25 18:01:33 +02:00
WS64
6c603bf9ad
remove global variable
2014-08-24 10:09:15 +02:00
WS64
6e86923659
remove global variable
2014-08-24 10:08:45 +02:00
chrox
4c68e091f9
refactoring: better logic and indentation
2014-08-23 23:19:02 +08:00
Michael Hall
8d9eb30886
Switch to local variables
2014-08-23 16:01:47 +01:00
Michael Hall
8e57adadb2
2nd change to make image dynamic in search
2014-08-23 15:35:55 +01:00
Michael Hall
d84984521b
Making image size in search info dynamic based on screen size
2014-08-23 15:33:00 +01:00
WS64
03c2782844
Don't show "0: text" in series view but just "text"
2014-08-22 18:30:20 +02:00
WS64
9661616edb
Removed screensaver functions to new lua file
2014-08-22 09:07:56 +02:00
WS64
1a4bdd5895
Removed screensaver functions to new lua file
2014-08-22 09:05:59 +02:00
WS64
db7c97211c
Add images to info screen
2014-08-21 22:34:00 +02:00
WS64
9b6d273c66
Bugfix. Latest version just allowed you to enter the editor once
2014-08-20 10:47:08 +02:00
WS64
f99f18ee13
Just save settings that really were changed
...
And not also settings that are different from the ones loaded.
This prevents Koreader from overwriting your complete persistent.defaults.settings when you started Koreader with a malformated persistent.defaults.settings file and choose "save settings". In such a malformated case you just can edit the damaged setting and save it back (although you can't see which one is damaged since the defaults settings are taken)
2014-08-20 08:51:07 +02:00
WS64
d5b35e8547
Default Settings finally also with the array fields
2014-08-19 22:50:20 +02:00
WS64
669d766a39
Code cosmetics
2014-08-19 18:04:38 +02:00
WS64
fdfd94507f
Update filemanagermenu.lua
2014-08-19 17:50:46 +02:00
WS64
e19733edf4
Create a simplified database file out of the calibre file
...
Makes searches WAY 100 times faster.
From the second run on.
2014-08-19 17:50:02 +02:00
WS64
5201f59451
Go back to series/tags list after enter a series/tag
...
Todo: Go back to the actual page
2014-08-18 22:52:29 +02:00
WS64
05abbbdff9
Minor change for error "not found2 messages
2014-08-18 20:44:15 +02:00
WS64
24f3bdb7fa
Add number of books to browse fundction
2014-08-18 20:37:32 +02:00
WS64
7fb545286b
New function, browse series/tags, and sorting of all search results
2014-08-18 09:48:46 +02:00
WS64
0a6fbe28e3
Reaarange cancel buttons to the left
2014-08-17 12:02:24 +02:00
WS64
f39ffc623a
Reuse previous search
2014-08-17 12:01:59 +02:00
WS64
298874c4ae
Preparation for new function "browse"
2014-08-17 12:01:33 +02:00
WS64
c7240539d5
add second library
2014-08-16 22:33:11 +02:00
WS64
582c56a6dc
add reminder to save unsaved settings
2014-08-16 22:32:34 +02:00
WS64
085b4fce6a
Handle defaults by type (boolean/string/number)
2014-08-16 22:31:32 +02:00
Qingping Hou
3eab7e0917
Merge pull request #797 from chrox/master
...
rescale image if width or height is specified in ImageWidget
2014-08-14 15:25:39 -04:00
pazos
850eea418e
translate filemanager (search & setdefaults)
2014-08-14 14:03:15 +02:00
chrox
b7c7287bab
remove more global variables
2014-08-14 19:52:30 +08:00
WS64
09334dd7a6
Changed size and added some "close"s
2014-08-13 08:08:18 +02:00
WS64
19c7c14809
Search Enhancements
...
- Paths now can have unicode characters
- Long tap on search result shows book infos
2014-08-12 22:25:38 +02:00
Huang Xin
a7d1e720ef
Merge pull request #789 from WS64/master
...
remember editor settings after changing/cancelling one entry
2014-08-12 16:15:35 +08:00
WS64
6c911bb453
remember editor settings after changing/cancelling one entry
2014-08-12 09:35:03 +02:00
Huang Xin
aef8c14c42
Merge pull request #787 from WS64/master
...
Change behaviour when LIBRARY_PATH is nil
2014-08-12 08:28:03 +08:00