Huang Xin
9c8e4c8976
Merge pull request #1271 from hwhw/master
...
Fixes for Kobos, viewports
2014-11-27 23:58:16 +08:00
Hans-Werner Hilse
c4f0f6eab1
update base: pull fixes
2014-11-27 15:46:03 +00:00
Hans-Werner Hilse
fc36d6db37
smaller viewport for Kobo H2O (bezel overlaps bottom)
2014-11-27 15:46:03 +00:00
Hans-Werner Hilse
dacb59f6b2
move debug function handover, set viewport for Kobo Mini
...
in order to have debugging facilities in framebuffer:init(), we hand
over the debug function as soon as we can.
Also, set a viewport for Kobo Mini. Hopefully, it fits most people -
I can only test on my unit.
2014-11-27 15:46:03 +00:00
Hans-Werner Hilse
4a497cfcfb
fix initialization order on Kobos
...
notably, this will set up input offsets for viewport stuff after the
input rotation has been set up.
2014-11-27 15:46:02 +00:00
HW
0576b892fa
Merge pull request #1270 from chrox/fix_1209
...
refactoring reader bookmark to show both bookmarks and highlights
2014-11-27 15:47:51 +01:00
chrox
ca60ceacd0
make radius field respects popout flag
2014-11-27 22:01:57 +08:00
chrox
fe885be563
refactoring readerbookmark to show both bookmarks and highlights
...
in the bookmark menu
and use binary search of the sorted bookmarks table whenever is
possible.
2014-11-27 22:01:57 +08:00
chrox
ac6a34ee3d
fix crash on special offered Kindle
2014-11-27 22:01:57 +08:00
chrox
08dff3a158
turn off debug in unit test by default
...
Uncommnet the `DEBUG:turnOn()` line to turn it on.
2014-11-27 22:01:57 +08:00
Huang Xin
9b37c5b2ee
Merge pull request #1269 from hwhw/master
...
pull fixes in base, plus some emulator features
2014-11-27 20:33:21 +08:00
Hans-Werner Hilse
895b98d5be
add debugging output for device initialisation
2014-11-27 10:34:16 +00:00
Hans-Werner Hilse
416a90032b
update base, fetch framebuffer fixes
2014-11-27 10:20:20 +00:00
Hans-Werner Hilse
677871cbf7
allow emulator to specify a viewport
...
This allows for Viewport debugging. It is configured via an environment
variable, EMULATE_READER_VIEWPORT. It works with Lua table syntax, e.g.:
EMULATE_READER_VIEWPORT="{x=10,w=550,y=5,h=790}"
2014-11-27 10:15:44 +00:00
Hans-Werner Hilse
bf7ea7af6d
add device names as comments
...
we use mostly code names internally, but it is probably a good idea
to annotate the actual device names.
2014-11-27 10:14:24 +00:00
Huang Xin
701633c9f4
Merge pull request #1261 from Frenzie/filesearcher
...
Alterations to the menu
2014-11-27 07:47:31 +08:00
Frans de Jonge
141095b0c8
Alterations to the menu
...
References #1219 and #1258 .
2014-11-26 18:16:54 +01:00
Huang Xin
7a608c7933
Merge pull request #1253 from hwhw/master
...
close file descriptor of dictionary lookup pipe
2014-11-26 17:05:13 +08:00
Hans-Werner Hilse
48ea442e28
close file descriptor of dictionary lookup pipe
2014-11-26 09:02:18 +00:00
Huang Xin
1b5e3ce31e
Merge pull request #1251 from hwhw/master
...
fix usage of old refresh API
2014-11-26 16:34:41 +08:00
Hans-Werner Hilse
c6d342f305
fix usage of old refresh API
...
standby/screensaver/USB was affected.
2014-11-26 08:25:18 +00:00
Huang Xin
9b3ef8fe67
Merge pull request #1249 from hwhw/master
...
update base: bugfix for refresh waiting
2014-11-26 07:25:58 +08:00
Hans-Werner Hilse
6841b13c8c
update base: bugfix for refresh waiting
2014-11-25 19:00:26 +00:00
Huang Xin
b63f611feb
Merge pull request #1247 from hwhw/master
...
pull fixes for viewport-related code from base
2014-11-26 01:25:36 +08:00
Hans-Werner Hilse
f64810b9db
pull fixes for viewport-related code from base
2014-11-25 15:04:49 +00:00
HW
ea525d14d2
Merge pull request #1246 from chrox/ssl_soname
...
update koreader-base to use versioned ssl soname
2014-11-25 13:54:23 +01:00
chrox
34e8866a47
update koreader-base to use versioned ssl soname
2014-11-25 20:16:06 +08:00
Huang Xin
f7916f68d4
Merge pull request #1245 from hwhw/master
...
update base with fix/change to viewport code
2014-11-25 19:57:41 +08:00
Hans-Werner Hilse
c6e14f2409
update base with fix/change to viewport code
2014-11-25 11:43:12 +00:00
HW
47472d7038
Merge pull request #1243 from chrox/fix_1233
...
prompt users to long press directory to set inbox
2014-11-25 11:33:17 +01:00
chrox
e1af7f2ed3
prompt users to long press directory to set inbox
...
This should fix #1233 .
2014-11-25 18:19:33 +08:00
HW
9ff70da66e
Merge pull request #1242 from chrox/fix_1236
...
fix #1236 by opening the parent directory of last used document
2014-11-25 10:58:28 +01:00
chrox
1accddb8cd
fix #1236 by opening the parent directory of last used document
2014-11-25 17:49:46 +08:00
chrox
0a06041cd9
fix calculation of widget height of filechooser
...
the height of filechooser is provided when creating filechooser
widget since there may be no title as in filemanger which needs
a special title widget to contain filemanger menu.
2014-11-25 17:49:46 +08:00
HW
50f2edcdaa
Merge pull request #1241 from chrox/fix_android_ssl
...
Fix koreader crash on android when using network
2014-11-25 10:13:59 +01:00
chrox
8771ee44ac
update koreader-base
2014-11-25 16:31:03 +08:00
chrox
67693367b9
init width and height of filechooser widget during init
...
so that everytime a filechooser is inited right dimension
size is used.
2014-11-25 16:31:03 +08:00
HW
a6867ac319
Merge pull request #1240 from chrox/fix_crash
...
fix crash when highlighting text in EPUB documents
2014-11-25 07:05:03 +01:00
chrox
548e830fdc
fix crash when highlighting text in EPUB documents
...
Since the new Screen:getSize modthod returns a regular table
instead of a Geom which is set to the dimen field of readerview,
there is no copy method in the dimen field. And we don't need to
copy dimen any more since the result won't be modified. Even the
screen page area somehow needs to be modified, the caller of this
function should make a copy of that variable by itself.
2014-11-25 11:02:33 +08:00
Huang Xin
9ef2c91103
Merge pull request #1217 from hwhw/master
...
Refactor refresh
2014-11-25 09:14:15 +08:00
Hans-Werner Hilse
e07dce503f
update base with simplified Android input code
2014-11-24 21:16:27 +00:00
Hans-Werner Hilse
7da6dd28a5
handle Android app events in frontend/device code
...
Events have been passed to the frontend/device (or /input) code before.
Some of them have been handled in the FFI/input code, however. That
seems to be highly critical with regard to timing, though, so we just
let it enqueue the event for our code to process later. That way, a
mutex that locks the input event queue can be freed faster.
2014-11-24 21:09:28 +00:00
Hans-Werner Hilse
2775ade5d6
fix device:init() bug on Android platform
2014-11-24 08:52:01 +00:00
Hans-Werner Hilse
3629834c4d
update base
...
pulls changes to fix Android input/framebuffer API interaction
2014-11-23 12:15:19 +00:00
Hans-Werner Hilse
39d061fd3a
pass device object to input FFI module
...
this is needed (for now) on Android, since the FFI module triggers
screen updates.
2014-11-23 12:15:19 +00:00
Hans-Werner Hilse
57a27f8f24
provide debug function to framebuffer ffi implementation
2014-11-23 12:13:34 +00:00
Hans-Werner Hilse
75694b6c3b
update base
...
pull fix for rotated rotation (well...) on Kobos
2014-11-23 12:13:33 +00:00
Hans-Werner Hilse
21ded080dd
fix refactor bug: invalidate update_regions_func
2014-11-23 12:13:33 +00:00
Hans-Werner Hilse
44cac62861
update base
...
pull in Kobo-related fix
pull in refresh waiting fix
2014-11-23 12:13:33 +00:00
Hans-Werner Hilse
8696ca1fa1
fix old (pre-refactor) refresh call syntax
2014-11-23 12:13:33 +00:00