NiLuJe
041f11cba0
Tweak some comments
2014-11-11 02:42:07 +01:00
NiLuJe
8f3598bec3
Make IconButton updates regional
...
Beginning of the quest to make menu refreshes slightly smoother ;).
2014-11-10 20:27:35 +01:00
NiLuJe
a12015c0d1
Force the dictionary popup to do a partial update.
...
It was done the other way around on purpose, so I probably broke some
very specific use-case ;). Feel free to shout at me ^^.
2014-11-10 16:48:16 +01:00
Andrey Golovizin
8bce54a6a0
Ignore OPDS links with unknown rel values.
2014-11-08 09:19:29 +01:00
Andrey Golovizin
5888773c95
Try to fetch next page if loading a new catalog resulted in a single page
2014-11-07 22:10:12 +01:00
Andrey Golovizin
500ad9ba4c
Fetch enough items to fill at lest one new page
2014-11-07 22:10:06 +01:00
chrox
bd0975896d
add fulltext search for EPUB documents
2014-11-05 12:28:28 +08:00
chrox
8ddca4bf49
close reader config panel when touching reader menu
2014-11-05 12:28:28 +08:00
chrox
a766ec51ae
only update neccessary screen regions when typing with virtual keyboard
2014-11-05 12:28:28 +08:00
chrox
3a1fe689e2
update multiple screen regions
...
This is useful when updating keyboard and inputbox.
2014-11-05 12:28:28 +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
chrox
84029e9694
add modal widget type that will stay on the top of window stack
...
ConfirmBox and InfoMessage are default to be modal.
Now returning to filamanager after highlighting a PDF page
the confirmbox asking users to save the document will not be hidden by
the filamanager window.
And it's tested on Kindle that #791 is already been solved probably by
out refacorting of MuPDF backend.
2014-10-30 16:01:04 +08:00
chrox
dfcd67c5bf
move screenshot settings to submenu of Screenshot entry in readermenu
...
And also fix a touchmenu bug that prevent some menu entries
(always at the bottom of the menu) from showing submenus. The reason is
that the onTapSelect method of TouchMenuItem doesn't return true, so that
the tap gesture will propagate to the parent widget and be captured by
touchmenu itself. But at this time the dimen of touchmenu is changed to
the submenu of the tapped menuitem. If the submenu is short enough the
tap will be outside of touchmenu which will cause a TapCloseAllMenus
event and the submenu will never be shown.
2014-10-30 15:51:35 +08:00
chrox
68265336f4
fix #1034 by refactoring path chooser to a download manager
...
Now directories visible in the filemanager should also
be visible in the path chooser
2014-10-28 17:14:06 +08:00
Michael Hall
dd80d61155
Leave both readerconfig and readermenu open on wifi toggle
2014-10-26 09:41:28 +00:00
Qingping Hou
394c847e2b
fix(app): initilize menu properly in reader and filemanager
2014-10-25 05:46:02 -04:00
Qingping Hou
d1627337e0
fix(ui): fix dynamic menu height calculation
2014-10-25 04:03:37 -04:00
Hans-Werner Hilse
ba40cc56e9
fill background of intermediary blitbuffers
...
we need to explicitly fill those buffers, now that white is not "0"
anymore.
2014-10-24 13:48:42 +02: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
chrox
c994e30cff
fix #1024
...
if toc item has expand/collapse state and tap select on the left side
the state switch action is triggered, otherwise goto the
linked page.
2014-10-21 22:18:07 +08:00
Hans-Werner Hilse
e0868826ad
use new FFI based mupdf API
...
This will use the new API where the Lua/C interface was used before
and also drop usage of mupdfimg wrapper which is now implemented
within the mupdf interface
2014-10-20 16:49:10 +02:00
chrox
2ad63fc1a3
expand/collapse TOC only by tap on the icon
2014-10-20 22:19:31 +08:00
chrox
f3417c5488
fix #987
2014-10-15 18:17:16 +08:00
chrox
96960cd554
don't dim icon button by default
2014-10-14 21:34:56 +08:00
chrox
7c9130744c
add collapsable TOC menu
2014-10-14 21:34:56 +08:00
chrox
b09bb87d4e
refactoring readertoc and readerfooter
...
so that they don't repeat themselves.
2014-10-07 17:10:48 +08:00
Qingping Hou
55cb0271cb
Merge pull request #954 from chrox/fix_950
...
get rid of query filed of baseurl when building href
2014-10-05 01:08:02 -07:00
chrox
549f54ab07
get rid of query filed of baseurl when building href
...
otherwise there will be "?offset=90" query in downloading href
for calibre opds server which doesn't accept the url
This should fix #950 .
2014-10-05 15:47:36 +08:00
chrox
7b78d70c74
fix fgcolor of inputbox is always 0.0
2014-10-05 14:00:38 +08:00
chrox
6152198e88
still needs button bgcolor
...
This bgcolor is for framecontainer background color.
2014-10-04 22:01:09 +08:00
Hans-Werner Hilse
7b1777e095
adapt widgets and text rendering to new font rendering
...
no background for text rendering anymore
2014-10-04 15:54:03 +02:00
evgsh
aae2c4de27
Added acquisition relation types , fixes issue #940
2014-10-03 17:22:37 +03:00
Hans-Werner Hilse
e47b43e8b5
add implementation of a container widget with alpha-blitting
...
This is a container that will honor a given alpha value (0..1)
when painting, so it will be translucent for values < 1.
2014-09-28 21:48:06 +02:00
chrox
97e7a90865
encode lfs.dir iterated file path to UTF-8
2014-09-25 22:33:43 +08:00
evgsh
aabee1f3bc
Update opdsbrowser.lua
2014-09-19 13:43:58 +03:00
Michael Hall
96aa795618
Adding Touch Menu Wifi Status icon/Toggler for Kobo and Kindle. Change to
...
NetworkMgr:getWifiStatus() to ping default gateway instead of 8.8.8.8.
2014-09-14 15:05:28 +01:00
Qingping Hou
5e035c2517
fix(ui): hide button framecontainer background in hide() method
2014-09-13 23:43:39 -04:00
chrox
cf882a078a
fix page number of sub-menu is not updated
2014-09-13 14:00:57 +08:00
Qingping Hou
eb46aa7d66
Merge pull request #887 from chrox/fix_875
...
refactoring: hide the charlist implementation of InputText
2014-09-10 00:49:06 -07:00
chrox
5b940cecaf
refactoring: hide the charlist implementation of InputText
...
This patch also fix #875 .
2014-09-10 15:31:11 +08:00
chrox
88d9cdf533
add shortcut to add local calibre OPDS catalog
2014-09-10 13:27:15 +08:00
chrox
b05ece345a
add set download directory option when downloading files from OPDSCatalog
...
Manually added opds servers are editable and deletable by long press on
the menu entries.
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
chrox
98da30f689
fix href with two slash
2014-09-07 17:21:58 +08:00
chrox
69bb4a3df3
add return button in menu
2014-09-05 21:07:43 +08:00
chrox
c12cb0367b
title truncation in input dialog
2014-09-05 21:07:43 +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