Commit Graph

471 Commits (859327dea58cfa2b3c634b5ae4ecc1008b8c6f23)

Author SHA1 Message Date
Robert 79517eb166 Truncate path in filemanager (#3565) 6 years ago
Robert 1d1b005b1a
copying file with .sdr (#3563) 6 years ago
Robert b855eff1b9
Remove not empty folder (#3562) 7 years ago
Robert efa0d06df9 Add new options to screensaver (#3535)
* Prevent open screensaver more than one in the same time

* Add option to enable/disable background in message screensaver

* fallback to random images if this book cover is excluded feature + fix Disabled (leave screen/page as it is)

* Autostretch disable by default, more fallback options, leave screen as it is
7 years ago
poire-z 17bbf68dac [Fix] actually use 'reverse_collate' saved setting (#3532) 7 years ago
poire-z ce910cf2e7 Disable Purge .sdr and Delete for currently opened book (#3500) 7 years ago
poire-z 568a28889b KeyValuePage: option to align value to the right when half-overflow (#3407)
Applied in FileManagerBookInfo.
7 years ago
poire-z 591dc2119c FileBrowser: optimize 'change page to show last file'
This feature, introduced some days ago, was actually
doing 2 updateItems calls: the initial one, and a second
to switch to focused_file page (cheap with classic display mode,
less cheap with CoverBrowser modes).
This change allows doing that in a single call.
7 years ago
poire-z ecaeb4b6d7 Added util.getFormattedSize() (#3383) 7 years ago
poire-z c15915a4ee Added util.getFriendlySize() (#3381)
* Added util.getFriendlySize()

* Allow for GB
7 years ago
poire-z 87a86e0dc1 Book Information: added file size (#3380) 7 years ago
poire-z 29707bd664 FileBrowser: change page to show last file or previous subdir (#3351)
When going from reader to filemanager, we are in the directory
containing the last_file. With this, we will also be on the page
showing this file.
When in filemanager and going up (".."), we will also be on the
page containing the directory we came from.
7 years ago
poire-z efd0d4f0de calibre 'series' metadata fixes (#3349)
Decode XML entities in series metadata and display decimal in series number
if any.
7 years ago
Frans de Jonge 0d7999e7a5 [fix] Add hold_callback to IconButton (#3271)
Also fix path display update.

Fixes #3270.
7 years ago
Robert af356a819b [fix] Avoid crash when set home (#3269) 7 years ago
Frans de Jonge 0fc5a378bc [UX] Add home button (#3263)
Tap to go HOME. Hold to set current folder as HOME. When no HOME is set yet tap also asks to set current folder as HOME.

See https://github.com/koreader/koreader/issues/2957#issuecomment-308513062

Closes #3200.
7 years ago
poire-z 2735c6d369 [fix, UX] Remove rounded corners from fullscreen History (#3256)
Prevent visibility of readers's footer edges.
7 years ago
Frans de Jonge 9eb073a524 [travis] Add protection against unscaled sizes
As pointed out by @poire-z

* [fix, UX] SkimToWidget scaling

* [fix] Button scaling

* [fix, UX] Scale ProgressWidget

* [fix, UX] Scale confirmbox

* [fix, UX] Scale just about everything
7 years ago
poire-z 4d18ac1100 Some History fixes and enhancements (#3247)
Made the onHold buttons table similar to the one of File browser.
Added "Purge .sdr" and "Delete" to these buttons.
Moved the purgeSettings and removeFileFromHistoryIfWanted
logic into filemanagerutil functions.
Stay on the same page when manipulating history (previously, we were
always put back on first page).
Really keep deleted files in history (unless setting says otherwise).
Show deleted files in grey or dimmed in classic History and all
CoverBrowser display modes.
7 years ago
poire-z d4fd0b9428 frontlight on kobo: a few fixes (#3163)
* frontlight on kobo: a few fixes

Rewritten to not update NickelConf on every change, and never
if KOBO_SYNC_BRIGHTNESS_WITH_NICKEL = false.
Reintroduce global settings frontlight_intensity and
is_frontlight_on to keep level and state across koreader
sessions.
Fix a few of the remaining issues on kobo light.
Ensure settings are saved when rebooting/powering off from
File browser.

* Ensure untoggle works when starting with light off
7 years ago
Frans de Jonge 177485f84f [UX] Add exit menu (#3167)
* fixes #2898 (prevents accidentally triggering reboot or poweroff)
  Add ConfirmBox before reboot/power off
* increases clarity by preventing second page
* add "sleep" menu entry
* Add exit menu hold callback
7 years ago
poire-z 9c08236b70 Update 'lastfile' if autoremove_deleted_items_from_history
For people who set autoremove_deleted_items_from_history to true,
file is removed from history when Deleted or 'Purge .sdr'. This also
update lastfile to the new top in history if needed.
7 years ago
poire-z 031df2ffee Added PicDocument:getCoverPageImage() and :getProps()
So an image file can have a cover in coverbrowser's display.
It also allows for an alternative viewer (ImageViewer widget)
when holding on file / View full size cover.
7 years ago
poire-z 3cf419defa Purge .sdr: also remove .old backup file
Otherwise, this .old backup is used when re-opening the document,
and we could never reset docsettings.
7 years ago
poire-z 3dd18d2a3b Fix "start with history" misalignment
due to a side effect with coverbrowser. CenterContainer is no
more needed as History is now full screen.
7 years ago
Frans de Jonge 6bdb96c0f8 [UX] FileManager: add ConfirmBox for purge .sdr
Notified of destructive action without confirmation in https://www.mobileread.com/forums/showthread.php?p=3566978#post3566978
7 years ago
Frans de Jonge 23cd585fae Support history as default view for filemanager (#3058)
Fixes #2774

* make history view borderless
* add new menu for what to start with

Should combine nicely with #2940
7 years ago
robert00s dfba135f10 Fix: Advanced settings crashes 7 years ago
robert00s 64529b5391 Option to choose gesture to open menu 7 years ago
poire-z dffa2f2563 Prevent creating empty sidecar directories 7 years ago
poire-z 17656778b1 Book information: refactored and additional features
- Factored out duplicate code from filemanager.lua and filemanagerhistory.lua
to new filemanagerbookinfo.lua (and other common code to filemanagerutil.lua).
- Uses sidecar files' new doc_props and doc_pages settings, or fallback to
old 'stats' settings, or to opening document.
- Shows filename, filetype and directory.
- Shows description (Hold to see whole truncated text), keywords, and
cover image (tap to extract image from document and display it if available).
- Book information now available from reader menu, to display info about
the currently opened book.
- Convert possibly HTML description to plain text via added
util.htmlToPlainTextIfHtml() (for simple HTML conversion).
7 years ago
chrox fef18ec73a [fix] revert removing tap gestures to show menus
as the tap gesture on the upper part (mostly) of the screen is
a conventional design to show menus in almost all ereaders as well as
some mobile phone apps. While users not farmilar with the Android world
have no experience with swipe down to show menus that's why we need a
quick start guide for this feature. And experienced Koreader users
probably will turn pages by mistake each time they want to popup the menus.

The solution here is adding back the tap gestures as they were and keep
the new swipe to show menu feature as a supplementary function when
link's tap area blocks menu's tap area.
7 years ago
Hzj_jie 30378eb2a8 Add restart koreader function and ensure FlushSettings event can be delivered to all widgets (#2772) 7 years ago
poire-z 9e346f5559 Allow wikipedia lookup from filemanager
Also allow taking screenshot when on dictionary window.
7 years ago
Qingping Hou 23c2955500 chore: style cleanup for infomessage 7 years ago
Frans de Jonge e1aa57f27e Font: unify font styling 7 years ago
Frans de Jonge 4616339ef8 KeyValuePage: improve looks
Fixes #2578.

* key bolded
* values normally left-aligned at 50%
* allows misalignment for the sake of fitting everything on one line
7 years ago
Qingping Hou 72ae80870c quickstart fix (#2804)
* translation text fix

* quickstart(fix): go back to home dir after document close

* quickstart(fix): purge old quick start files

* spec: fix quickstart tests
7 years ago
Qingping Hou f2671a3e20 plugin(fix): catch crash in addToMainMenu 7 years ago
Qingping Hou fd862f5e28 plugin(fix): catch plugin crash at init time 7 years ago
Frans de Jonge 89099e2c94 Swipe for menu and quickstart guide (#2761)
* Swipe for menu and quickstart guide

Because swiping for the menu is a big change from what we're used to, this commit includes a new quickstart guide.

Fixes #2608.

* add some dev docs
* add FileConverter spec
* add QuickStart spec
* add Version module
* add Version spec
7 years ago
Qingping Hou 1922b2526b fix: normalize require path to reuse import result 7 years ago
Robert 9a247e86ae Screensaver on Kindle without Special Offers (#2757) 7 years ago
Frans de Jonge 9b2128ecb8 FileConverter added with local Markdown to HTML conversion (#2737)
* FileConverter added with local Markdown to HTML conversion
7 years ago
Qingping Hou f51285e89b revert code that enables screensaver on kindle by default 7 years ago
Robert 59873ae293 Screensaver option on Kindle devices (#2734)
* Screensaver on Kindle devices
7 years ago
Frans de Jonge 1c25d0fd1b Language: improve confirmboxes
Generic "OK" buttons should be avoided. Thanks to @lightonflux for pointing this out https://github.com/koreader/koreader/issues/2555#issuecomment-291039945
7 years ago
Hzj_jie ea2de9638b LuaSettings:wrap() / LuaSettings:child() function to create an LuaSettings to represent a sub table of an existing one (#2685) 7 years ago
Frans de Jonge 791d540a5a FileSearcher: filter .sdr directories
Fixes #2665
7 years ago
Frans de Jonge 8b7e18a7d7 MenuSorter: resolve review comments
* simplify user config loop
* simplify unit test for Travis memory use
* remove unused util variable
7 years ago
Frans de Jonge ddf590eb6d MenuSorter: split out menu order configuration 7 years ago
Frans de Jonge a970a1f034 MenuSorter: fix outside testability (for potential unit tests) 7 years ago
Frans de Jonge 8f31a81601 MenuSorter: some documentation
MenuSorter: forgot to add plugin style change

MenuSorter: worked out the final quirks

* Menu always compressed into tables without missing indexes for ipairs compatibility
* Orphans attached
* Separators no longer count as items
7 years ago
Frans de Jonge b7b5950e98 MenuSorter: review comments and various bug fixes
* fixed wrongful retention of submenus variable and added return to MenuSorter:findById
* fixed readerfooter_spec.lua error
* fixed review comments
7 years ago
Frans de Jonge aa0bf60ccb MenuSorter: pass config prefix for proper user override 7 years ago
Frans de Jonge 5b20106db7 MenuSorter: initial implementation
* Menus are now sanely configurable
* Custom separator placement for clearer menus
7 years ago
robert00s e07db0e7a0 Grayed out Open last document 7 years ago
Frans de Jonge d1785e1863 Reorganize menus
* Replace "home" (exit) menu with hamburger
* Discard pokeball and put items in hamburger
* Introduce search menu in reader

Cf. #2562
7 years ago
Frans de Jonge 0566df5f28 FileSearcher: also show directory results
Fixes #2177
7 years ago
Frans de Jonge da3ff5e336 History: add 'autoremove_deleted_items_from_history' setting 7 years ago
Frans de Jonge 2c80ff7d7b FileManagerHistory: remove harmful deletion code and turn it into a feature
Fixes the problem introduced in 51327911f2 and turns it into a feature that should fix #2477
7 years ago
Frans de Jonge 6458c8e9eb File Manager: rename to "KOReader File Browser" and add up arrow to ".."
This should make it clearer to new users what's going on. Fixes #2529.
7 years ago
Frans de Jonge fed22b509d FileManager: rename hasSidecarDir to hasSidecarFile
Fixes #2550

Cf. b502047635
7 years ago
Zijie He 4f1cabcdbc Improve several outputs 7 years ago
Hzj_jie 726b15ad01 More sorting orders in file manager (#2535) 7 years ago
Zijie He faaca028e7 Remove empty sidecar folder 7 years ago
Zijie He b502047635 Removing metadata file instead of purging .sdr folder 7 years ago
Hzj_jie f91ad679d9 swithItemTable -> switchItemTable 7 years ago
Qingping Hou f95ad00b9e feat: add logger module & rewrite kobo suspend script in lua 7 years ago
Hzj_jie 5bda44473d Add dictionary to filemanager 7 years ago
Robert 957e8ce768 Add open last book menu item in file manager (#2450) 8 years ago
robert00s ae9261b685 Fix #2440 8 years ago
Robert 187598deb2 Cloud storage - dropbox and ftp integration (#2424) 8 years ago
Hzj_jie c662ca4cc8 Load plugins also in FileManager (#2426)
added is_doc_only plugin attribute
8 years ago
poire-z fe56ecd301 Clear readers' cache: invalidate in-memory references
This avoids crash on exit after clearing caches.
8 years ago
Robert 93e075feb6 Adding the buttondialogtitle widget and show long filename in filemanager (#2414) 8 years ago
Robert 7e1c0c15c6 Refresh filemanager after exit from OPDS browser (#2405) 8 years ago
poire-z ca59efc5b6 FileManager Menu: added "Developer options" (#2391)
and "Clear readers' caches" subitem.
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 8e76ed4f0b fix: flush reader setting on change from filemanagermenu 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 09f2db3729 Fix long filename text in history textbox (#2322)
Fix long filename text in history textbox
8 years ago
robert00s 886e2d6cb1 display document metadata (#2307)
display document metadata in file manager and history menu
8 years ago
Qingping Hou 67ae10742a defaults: try parse int from user input 8 years ago
Qingping Hou d6c48b06f9 chore: fix all luacheck issues 8 years ago
Qingping Hou 252100891f fix(defaults): override defaults with persistent defaults for advanced setting menu 8 years ago
Qingping Hou ca21ab4be5 fix(defaults): type casting for user input 8 years ago
Qingping Hou ec6da5318c screensaver(fix): add back menu toggle to support screensaver folder 8 years ago
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.
8 years ago
Qingping Hou 0d9fc17d7c chore: rename SetDefaults:SaveSettings 8 years ago
Huang Xin b8f23d162d filemanager(fix): refresh banner in filemanager insteand of TextWidget 8 years ago
Qingping Hou 304b0f218e chore: fix some of the luacheck errors 8 years ago
Hzj_jie 400e63a463 Resolve review comments 8 years ago
Hzj_jie 493ff00609 Add path in file manager 8 years ago
Frans de Jonge eb28513403 Fix 'screen server' typo (should be screensaver) 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 9586b36eb6 defaults(fix): purge entry from persistent file 8 years ago
Qingping Hou 476e35708d inputdialog(feat): add is_enter_default attribute to buttons 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 8 years ago
Zijie He 667e8834ad Migrate history folder, FileManagerHistory uses own history.lua file and ReadHistory component 8 years ago
Frans de Jonge 5638819f25 Removed a bunch of "successfully", replaced an ellipsis, and some deviant spellings of KOReader. 8 years ago
Allan Nordhøy bc16ed5035 Spelling of calibre and KOReader. Ellipsis. 8 years ago
Qingping Hou 467199285f minor: rename Koreader to KOReader 8 years ago
zijiehe 8861365264 Add rename function for filemanager 8 years ago
Qingping Hou 72e7cd5cf4 style: move functions around 8 years ago
Qingping Hou 6a6469fa09 more luacheck fixes 8 years ago
Qingping Hou 11ee8d6fcc refactor: use new KeyValuePage widget for displaying statistics 8 years ago
Qingping Hou fb0606aa9c style(FM): rename internal only method into function 8 years ago
Qingping Hou 34515484d1 fix: remove invalid setDirty in FileManager:restoreScreenMode 8 years ago
Qingping Hou d1ca8bc494 fix(filemanager): delete document with settings 8 years ago
Qingping Hou 7caeae8701 fix: make screenshoter always active for filemanager 8 years ago
Qingping Hou 6fe9f7870b chore: more luacheck fixes 9 years ago
Qingping Hou 3b92bdc084 feat: support screenshot in filemanager 9 years ago
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`.
9 years ago
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 9 years ago
chrox 98515a2210 Fix filemanager cp/mv/rm operations not work on Android 9 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.
9 years ago
chrox 17f1498156 fix successively set landscape rotate the screen 9 years ago
chrox 5d79158602 fix cannot save document if exit directly after highlighting in PDF 9 years ago
chrox f22a53affd screen orientation won't change when going into filemanager
and filemanager remembers screen orientation at exit
This should fix #1338.
9 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
chrox 69c162ac4f refactoring to generic multiinputdialog 10 years ago
chrox 21dcf787da add OPDS support
This PR implements a simple OPDS browser which can be launched
from filemanager menu.
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
WS64 6c4869f8a8 Only use registered file types in search 10 years ago
chrox 0bc3eadcae refactoring: use Document API getCoverPageImage to get cover image 10 years ago
chrox 40bddf0735 emulate Power button with F2 on emulator 10 years ago
Huang Xin 451092905e Merge pull request #842 from WS64/master
Add a new multi line input dialog and change some search behaviour
10 years ago
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
```
10 years ago
chrox 5890e4a0b1 use conventional util name and update koreader-base 10 years ago
WS64 4bad1a6f6f New editor for table fields used 10 years ago
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
10 years ago
WS64 6c603bf9ad remove global variable 10 years ago
WS64 6e86923659 remove global variable 10 years ago
chrox 4c68e091f9 refactoring: better logic and indentation 10 years ago
Michael Hall 8d9eb30886 Switch to local variables 10 years ago
Michael Hall 8e57adadb2 2nd change to make image dynamic in search 10 years ago
Michael Hall d84984521b Making image size in search info dynamic based on screen size 10 years ago
WS64 03c2782844 Don't show "0: text" in series view but just "text" 10 years ago
WS64 9661616edb Removed screensaver functions to new lua file 10 years ago
WS64 1a4bdd5895 Removed screensaver functions to new lua file 10 years ago
WS64 db7c97211c Add images to info screen 10 years ago
WS64 9b6d273c66 Bugfix. Latest version just allowed you to enter the editor once 10 years ago
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)
10 years ago
WS64 d5b35e8547 Default Settings finally also with the array fields 10 years ago
WS64 669d766a39 Code cosmetics 10 years ago
WS64 fdfd94507f Update filemanagermenu.lua 10 years ago
WS64 e19733edf4 Create a simplified database file out of the calibre file
Makes searches WAY 100 times faster.
From the second run on.
10 years ago
WS64 5201f59451 Go back to series/tags list after enter a series/tag
Todo: Go back to the actual page
10 years ago
WS64 05abbbdff9 Minor change for error "not found2 messages 10 years ago
WS64 24f3bdb7fa Add number of books to browse fundction 10 years ago
WS64 7fb545286b New function, browse series/tags, and sorting of all search results 10 years ago
WS64 0a6fbe28e3 Reaarange cancel buttons to the left 10 years ago
WS64 f39ffc623a Reuse previous search 10 years ago
WS64 298874c4ae Preparation for new function "browse" 10 years ago
WS64 c7240539d5 add second library 10 years ago
WS64 582c56a6dc add reminder to save unsaved settings 10 years ago
WS64 085b4fce6a Handle defaults by type (boolean/string/number) 10 years ago
Qingping Hou 3eab7e0917 Merge pull request #797 from chrox/master
rescale image if width or height is specified in ImageWidget
10 years ago
pazos 850eea418e translate filemanager (search & setdefaults) 10 years ago
chrox b7c7287bab remove more global variables 10 years ago
WS64 09334dd7a6 Changed size and added some "close"s 10 years ago
WS64 19c7c14809 Search Enhancements
- Paths now can have unicode characters
- Long tap on search result shows book infos
10 years ago
Huang Xin a7d1e720ef Merge pull request #789 from WS64/master
remember editor settings after changing/cancelling one entry
10 years ago
WS64 6c911bb453 remember editor settings after changing/cancelling one entry 10 years ago
Huang Xin aef8c14c42 Merge pull request #787 from WS64/master
Change behaviour when LIBRARY_PATH is nil
10 years ago
WS64 d81f6e7dd2 typo 10 years ago
WS64 a51f8e8050 Update filemanagersetdefaults.lua 10 years ago
WS64 5cb550d471 Change behaviour when LIBRARY_PATH is nil 10 years ago
chrox 19e6f603f0 move 'Set defaults' to tools tab
And save to persistent defaults dialog will popup when holding
on the 'Set defaults' menu.
10 years ago
WS64 bd596927dd Corrected the filename 10 years ago
WS64 a0818bb1ab Update filemanagersearch.lua 10 years ago
WS64 9830119405 Add defaults editor 10 years ago
WS64 0880924087 Add defaults and remove search options 10 years ago
WS64 cd763f00b4 Register search options 10 years ago
WS64 2490d8da53 Remove pattern searching.
That caused the error when searching for "("
10 years ago
WS64 bdf26d7859 Added dkjson as owner of the unichar function 10 years ago
WS64 3e4dc9c282 Added complete unichar support 10 years ago
WS64 e42117272f Search for metadata.calibre if not found by user input 10 years ago
WS64 874f2461af Search Calibre metadata to open a book 10 years ago
WS64 b76307ce4a Register search to the filemanager menu 10 years ago
chrox 1ddafbea14 reorder setting entries in reader menu 10 years ago
chrox 3cb03825e5 display OTA update menu only on Kindle and Kobo 10 years ago
chrox 3c8e6975fb move screen DPI and refresh rate entries into Screen menu 10 years ago
chrox b83c4c3d95 hide several koptoptions in advanced mode 10 years ago
chrox 55554acf39 refactoring: buildin hold on menu entry to input 10 years ago
chrox 403b9f7ce6 refactoring: use getXxMenuTable to remove redundant code in menus 10 years ago
chrox a7fc4cccde refactoring: generate check update menu entry table in OTAManager 10 years ago
chrox d9f5edf54a add 'Check update' menu and OTA update functionality 10 years ago
chrox 87e667748a add font size menu entry
It changes screen DPI and may needs to reboot the reader to take effect.
This should fix #746.
10 years ago
chrox e624695d54 the Back key on Android should close the popup window and menu 10 years ago
chrox b92860c22a add night mode option that inverts screen color 10 years ago
chrox a7b88b1f9d adjust option orders in readermenu 10 years ago
chrox d2eaeeaeed add option to load last opened file automatically 10 years ago
chrox 857bd6fcc8 strings not shown on GUI will not be translated
This may encourage users in transifex to join Koreader project.
10 years ago
chrox ef84aff1db make ffi/util module local 10 years ago
Qingping Hou 4b357c1466 move reader code into frontend/apps/reader
it makes more sense to completely separate the UI framework and
application code

also move frontend/ui/configurable.lua to frontend/configurable.lua
10 years ago
chrox 92219a1f1e cleanup: expand tab to 4 spaces 10 years ago