Commit Graph

3854 Commits

Author SHA1 Message Date
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
v2014.11.26-nightly
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
v2014.11.25-nightly
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
Hans-Werner Hilse
64e775bbed update base
pulls the needed changes in base for the refresh refactoring
2014-11-23 12:13:33 +00:00
Hans-Werner Hilse
22697adf20 switch from scaleByDPI() to scaleBySize() 2014-11-23 12:13:32 +00:00
Hans-Werner Hilse
63af71188a refactor refresh
Lots of the device-related distinction wandered into
base/ffi/framebuffer_<driver>. This eases the refresh logic in
UI manager, which basically only decides what kind of refresh
to trigger. The device specific configuration in the framebuffer
driver decides how to realize that whish.

screen.lua is gone, in its place is now the framebuffer driver.
The device abstraction decides what framebuffer driver to load.
2014-11-23 12:13:32 +00:00
HW
7b91935df0 Merge pull request #1230 from chrox/fix_1170
fix #1169 and #1170
v2014.11.24-nightly
2014-11-23 13:13:07 +01:00
HW
9fcf9f5a88 Merge pull request #1229 from chrox/fix_1166
fix #1166 by auto alignment of option name
2014-11-23 13:12:35 +01:00
chrox
d11dba0558 fix #1169 and #1170 2014-11-23 18:06:20 +08:00
chrox
3574865dcb fix #1166 by auto alignment of option name 2014-11-23 16:52:08 +08:00
Huang Xin
65938c9f9a Merge pull request #1228 from hwhw/fix_koptcontext_free
wait for background thread before free()ing koptcontext
2014-11-22 22:53:36 +08:00
Hans-Werner Hilse
f9f97163e8 wait for background thread before free()ing koptcontext
This should prevent freeing resources that are actually in use in
a background thread.
2014-11-22 14:44:24 +00:00
HW
9b5ff4ca41 Merge pull request #1224 from chrox/cover_60
add unit tests for readerdictionary and readerhighlight
2014-11-22 15:30:57 +01:00
Huang Xin
823147f8df Merge pull request #1225 from Frenzie/language
Refactored menu
2014-11-22 10:03:01 +08:00
Huang Xin
b6f37debeb Merge pull request #1226 from Frenzie/filesearcher
Filesearcher: added notification for no results
2014-11-22 10:02:41 +08:00
Huang Xin
01510fdd8e Merge pull request #1227 from Frenzie/master
Fixed spaces stripped out by Transifex in readerui.lua by using util.template
2014-11-22 09:50:25 +08:00
Frans de Jonge
7c01a3f2a9 Fixed spaces stripped out by Transifex in readerui.lua by using util.template 2014-11-21 17:08:55 +01: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
chrox
08f0f14ba3 fix dictionary spec 2014-11-21 18:45:07 +08:00
chrox
566586619a add unit tests for readerdictionary and readerhighlight 2014-11-21 18:32:43 +08:00
Frans de Jonge
92f0092ad4 Filesearcher: added notification for no results 2014-11-20 22:42:51 +01:00
HW
d649ce269b Merge pull request #1216 from chrox/auto_scale
auto scale icon button especially for screen with high DPI
v2014.11.21-nightly
2014-11-20 11:47:34 +01:00
chrox
dbf8faa9b1 remove hardcoded footer height of reader menu 2014-11-20 18:02:50 +08:00