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

3975 Commits

Author SHA1 Message Date
Frans de Jonge
8e9f2b27f7 Merge pull request #1368 from hwhw/master
read global default value for using embedded stylesheets
2014-12-19 16:23:50 +01:00
Hans-Werner Hilse
f789913702 read global default value for margin size
The global configuration wasn't evaluated before
2014-12-19 14:03:56 +00:00
Hans-Werner Hilse
a4571c297e read global default value for using embedded stylesheets
The global configuration wasn't evaluated before.
Fixes #1364.
2014-12-19 13:58:03 +00:00
HW
13183ab45e Merge pull request #1366 from houqp/fix_1354
fix: empty item_table crashes menu widget
2014-12-18 09:52:26 +01:00
Qingping Hou
f1d44ec809 test: add imagewidget_spec 2014-12-18 03:33:44 -05:00
Qingping Hou
6ed8f30f35 fix: empty item_table crashes menu widget 2014-12-18 03:16:11 -05:00
HW
199f864c66 Merge pull request #1351 from chrox/master
fix OTA server broken on checking stable release
2014-12-07 01:59:57 +01:00
chrox
b403a45228 fix OTA server broken on checking stable release 2014-12-06 20:14:10 +08:00
Huang Xin
69b1cf9f90 Merge pull request #1349 from hwhw/master
Fix refresh crash
2014-12-06 06:16:02 +08:00
Hans-Werner Hilse
1a6fdc7f2b pull latest base: fix zero-size refresh cases (Kobo framebuffer crash) 2014-12-05 21:25:55 +00:00
Hans-Werner Hilse
05503791b4 issue a full refresh when changing rotation 2014-12-05 21:25:32 +00:00
HW
1a6dc93b99 Merge pull request #1341 from chrox/master
fix #1336 by ignoring uncompatiable saved highlights
2014-12-04 10:22:50 +01:00
chrox
8555f24c45 make sure refresh_count is incremented by only once at most for each repaint 2014-12-04 15:46:47 +08:00
chrox
502466049a update koreader-base to get rid of 'cannot open' error message 2014-12-04 13:04:59 +08:00
chrox
b3d79b053a workaround to fix #1340 2014-12-04 10:09:09 +08:00
chrox
d9fa97df5a fix #1336 by ignoring uncompatiable saved highlights 2014-12-04 09:13:56 +08:00
Huang Xin
b3826cbff8 Merge pull request #1334 from hwhw/master
fix for rotated document to file manager transition: do a refresh
2014-12-04 08:36:17 +08:00
Hans-Werner Hilse
bb5254022d fix: save properly last open menu in reader
20fd6f902e missed the saving part when
renaming the configuration variable.

Fixes #1335.
2014-12-03 16:14:30 +00:00
Hans-Werner Hilse
7c1c072b21 fix for rotated document to file manager transition: do a refresh
fixes part 2 of #1333
2014-12-03 15:59:48 +00:00
Huang Xin
b3d0050619 Merge pull request #1331 from hwhw/master
pull latest base: fix libk2pdfopt
2014-12-03 21:18:21 +08:00
Hans-Werner Hilse
475f0302ee pull latest base: fix libk2pdfopt
fixes #1330
needs https://github.com/koreader/koreader-base/pull/290
2014-12-03 11:39:43 +00:00
HW
2e15c6cbc0 Merge pull request #1328 from chrox/master
various fixes for the upcoming stable release
2014-12-03 11:38:32 +01:00
chrox
b0e2ce2a8b update comment about reverting full refresh in onPanRelease 2014-12-03 18:37:00 +08:00
chrox
35545169a6 zoom mode is meaningless when reflowing, so disable zoom mode options in reflow mode 2014-12-03 16:33:21 +08:00
chrox
c43885b917 show debug info when JSON data cannot be decoded 2014-12-03 14:26:00 +08:00
chrox
846836dceb fix #1275
Full refresh when highlighting text is quite annoying, I fixed it by
using 'ui' refresh type.
And this patch also fixed a bug that after cleaning temporary highlights
the screen is not refreshed.
2014-12-03 14:06:46 +08:00
chrox
b767394fc2 fix #1150 by adding FOLLOW_LINK_TIMEOUT variable 2014-12-03 12:55:53 +08:00
chrox
ef6235e4ae fix #1305 2014-12-03 11:33:54 +08:00
chrox
6c9b7facbe fix crash when removing highlighted bookmarks in PDF 2014-12-03 11:12:15 +08:00
chrox
4f35834b2e wrap computation intensive functions in hook free env when makeing coverage test
so that Travis CI job won't fail because of timeout.
2014-12-03 11:01:12 +08:00
Huang Xin
0a94696213 Merge pull request #1324 from variousvirgil/patch-1
Fix #1299
2014-12-02 20:45:44 +08:00
variousvirgil
9c69c1f14e Fix #1299 2014-12-02 20:30:55 +08:00
Huang Xin
d9b661ffa7 Merge pull request #1323 from hwhw/master
only open frontlight device on Kobo devices that actually have light
2014-12-02 18:29:52 +08:00
Hans-Werner Hilse
3d73ff5ae7 only open frontlight device on Kobo devices that actually have light 2014-12-02 11:18:19 +01:00
HW
4fb6eae358 Merge pull request #1320 from chrox/master
fix filemanager cannot remember sorting order
2014-12-02 11:17:51 +01:00
chrox
eea6f97796 fix #1319 2014-12-02 10:35:55 +08:00
chrox
aa9566205b fix filemanager cannot remember sorting order 2014-12-02 09:52:05 +08:00
Huang Xin
a505ac2e54 Merge pull request #1316 from hwhw/master
killling/shrinking refreshes
2014-12-02 08:49:45 +08:00
Hans-Werner Hilse
ff0fbbdb4b fix widget closing 2014-12-01 16:21:42 +00:00
Hans-Werner Hilse
844c1babf7 UIManager:_refresh(): no more default refresh
If no refresh type is specified, don't do a refresh.
There should be now refresh types specified in all relevant places.
2014-12-01 16:03:41 +00:00
Hans-Werner Hilse
94ce08937a clean up refreshes
This is a larger clean-up of the refresh situation.
The general shift is that refreshes are now mainly triggered by
the (top-level) widgets when they get shown or closed via UIManager.

All refreshes for the widgets when they are in use were handled by
themselves before. This adds the case of showing/closing.

It is the desired result of not having UIManager:show()/:close()
do (full screen) refreshes on its own.
2014-12-01 16:03:40 +00:00
Hans-Werner Hilse
9c4088a3ac small change of UIManager:show(): No more automatic refresh
This eliminates the API difference between the extra parameters of
UIManager:show() and setDirty(). They work the same now.
Note that this also eliminates the automatic refresh that took place
before when using show() without refresh options. It always refreshed
the full screen, which led to too big refresh regions all over the
place. Thus, refresh has now explicitly to be asked for, hopefully
encouraging to implement it in the widget that gets shown (and is
aware about the screen region it covers).

Also add an event that is triggered when a widget is closed:
CloseWidget. So a widget can implement "onCloseWidget()" to trigger
actions upon closing - most commonly, this is a refresh for the area
previously taken by the widget. That way, the widget's user does not
have to take measures to ensure that the area is refreshed later.
2014-12-01 14:42:38 +00:00
Frans de Jonge
2c1eacdbf5 Merge pull request #1314 from chrox/master
make coverage in after_success stage
2014-12-01 14:50:31 +01:00
chrox
20fd6f902e fix #1175 2014-12-01 15:32:12 +08:00
chrox
d6c4465c47 fix coverage test fails on OPDS browser module
for some reason luxl.lua has problem when being set hook for luacov
2014-12-01 14:46:17 +08:00
chrox
6a0554f226 make coverage in after_success stage
So that if the coverage job is timeout it won't fail the
CI result.
2014-12-01 14:43:01 +08:00
Huang Xin
ddae003925 Merge pull request #1310 from hwhw/master
fixes for scrolling, fix for double-refresh, misc stuff
2014-12-01 09:56:04 +08:00
Hans-Werner Hilse
e8642fbad7 use API for refresh when closing widgets in message popups 2014-11-30 22:35:08 +00:00
Hans-Werner Hilse
1091a8a3b9 add refresh control to UIManager:close() 2014-11-30 22:35:07 +00:00
Hans-Werner Hilse
e7f7417cd3 refresh only dialog part of the screen for multi-word selection window 2014-11-30 22:33:38 +00:00