2
0
mirror of https://github.com/koreader/koreader synced 2024-10-31 21:20:20 +00:00
Commit Graph

134 Commits

Author SHA1 Message Date
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