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

3702 Commits

Author SHA1 Message Date
Hans-Werner Hilse
50cdbf133f fix refresh with rotation and viewport 2014-11-12 09:32:09 +01:00
Qingping Hou
8171fcc52d Merge pull request #1135 from chrox/fix_touchmenu
schedule in menu option callback
2014-11-12 03:01:11 -05:00
chrox
efbd7f7b5d schedule in menu option callback
so that new reginal update on menu entry don't
affect screen update from callback results
2014-11-12 15:40:37 +08:00
Huang Xin
78eef1360a Merge pull request #1134 from hwhw/master
Slight refactoring of input, fix picdocument, FFI-API for pic_jpeg
2014-11-12 08:25:53 +08:00
Hans-Werner Hilse
641ec12412 update base
depends on pic_jpeg FFI conversion
2014-11-11 22:44:27 +01:00
Hans-Werner Hilse
5a36e5427f fixes for picdocument
picdocument didn't use the document API correctly
2014-11-11 22:32:57 +01:00
Hans-Werner Hilse
c5afa17399 make fake_events device a private feature of the Kindle device initialization
This is highly Kindle-specific, so we keep it there for now
2014-11-11 20:17:46 +01:00
NiLuJe
27eb59a735 Merge pull request #1131 from hwhw/master
Fix refresh in rotated (landscape) mode when using viewport
2014-11-11 18:37:54 +01:00
Hans-Werner Hilse
6e40d5a9ad Fix refresh in rotated (landscape) mode when using viewport
Rotation wasn't applied to the underlying framebuffer's blitbuffer,
so refresh coordinates were cut off the wrong way.
2014-11-11 17:43:58 +01:00
HW
9d2f93201f Merge pull request #1130 from NiLuJe/master
Simplify the H2O special-casing
2014-11-11 17:28:52 +01:00
NiLuJe
859031222e Simplify the H2O special-casing
re #1119

AUTO appears to be doing the right thing...
(even if that baffles me, given the state of the Kernel sources,
unless they flip some switches at compile time
[NTX_WFM_MODE_OPTIMIZED_REAGL / NO_AUTO_REAGL_MODE] ...)

Anyway, that's what nickel does, so follow its lead ;).
2014-11-11 17:08:41 +01:00
NiLuJe
a5aae87f71 Merge pull request #1129 from hwhw/master
Fixes for Refresh+Viewport, cleanup of MD5 functions
2014-11-11 16:52:52 +01:00
Hans-Werner Hilse
841e8bd9fa add test for md5 implementation 2014-11-11 16:24:26 +01:00
Hans-Werner Hilse
5e5b2bd18d calculate proper refresh coordinates when using viewport
The viewport offset used by refresh() was not properly adapted when
the screen was rotated.
2014-11-11 15:53:26 +01:00
Hans-Werner Hilse
78b098e47d make functions in MD5 implementation local
also get rid of mostly unused helper libraries and some stylistic
oddities in the MD5 code
2014-11-11 15:53:26 +01:00
Qingping Hou
c8edd020f1 Merge pull request #1127 from chrox/fix_1120
fix missing fake events for Kindle devices
2014-11-11 03:10:43 -05:00
Qingping Hou
123d0a1230 Merge pull request #1126 from chrox/wifi_toggler
add network settings in reader menu
2014-11-11 03:05:12 -05:00
Qingping Hou
e0f18ebf5a Merge pull request #1125 from chrox/fix_1105
fix #1105
2014-11-11 03:02:54 -05:00
Qingping Hou
fac2e121d2 Merge pull request #1124 from chrox/remember_menutab
remember menu tab index when showing reader menu
2014-11-11 03:01:35 -05:00
chrox
c289fbba56 update koreader base 2014-11-11 13:30:21 +08:00
chrox
b6432c0305 fix missing fake events for Kindle devices
This should fix #1120.
2014-11-11 13:17:13 +08:00
Huang Xin
e06bff8450 Merge pull request #1123 from NiLuJe/master
Cleanup the REAGL stuff
2014-11-11 12:18:27 +08:00
chrox
590073e4a8 add network settings in reader menu
and remove the wifi toggler on the footer of each menu page,
so that network status is only checked (currently with the stdout of ip cmd)
when navigating to the "Network settings" submenu instead of checking
on each menu popup.
2014-11-11 12:12:39 +08:00
NiLuJe
d018a31b0a Me speak english good. ya! 2014-11-11 03:58:57 +01:00
chrox
ea4a37fe29 fix #1105 2014-11-11 10:44:54 +08:00
NiLuJe
dbe816062b Be consistent in how we refer to stuff 2014-11-11 03:39:47 +01:00
NiLuJe
c3274a9d5e Unbreak FM by reverting 7a812f
:D
2014-11-11 03:24:56 +01:00
NiLuJe
b88e304845 Make TouchMenu updates regional 2014-11-11 03:17:15 +01:00
NiLuJe
88c26b4112 Make ConfigDialog updates regional 2014-11-11 03:10:03 +01:00
chrox
95ac27df5c remember menu tab index when showing reader menu 2014-11-11 10:06:17 +08:00
NiLuJe
7a812ff86d Make Button update regional 2014-11-11 03:03:25 +01:00
NiLuJe
39244aa0cb Make ToggleSwitch updates regional 2014-11-11 02:52:47 +01:00
NiLuJe
041f11cba0 Tweak some comments 2014-11-11 02:42:07 +01:00
NiLuJe
a4a50b3d0d Fix the REAGL logic.
Never use REAGL to handle UI elements. It makes for a much smoother
experience.
2014-11-11 02:28:41 +01:00
NiLuJe
656a2c7cb6 Actually do what the comment says.
Don't hijack forced partial updates (i.e., from UI elements) on always
FULL REAGL devices. It doesn't implode if we don't, and it makes for a
snappier UI.
2014-11-11 02:15:08 +01:00
NiLuJe
3ce10b697a Moar comments! 2014-11-11 01:27:44 +01:00
NiLuJe
8cfbcca7c5 More comments on the H2O weirdness... 2014-11-11 01:25:44 +01:00
NiLuJe
a44c5e99d1 Use the proper constants for Kobo's waveform modes 2014-11-11 00:48:19 +01:00
NiLuJe
e2e99e5d99 make RedaerFooter updates regional 2014-11-10 21:08:34 +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
a2f107075d Shot in the dark at matching the H2O's behavior... 2014-11-10 20:04:34 +01:00
NiLuJe
6b21057c35 Do FULL updates when going in/out of ScreenSaver.
Sounds a good idea in general, and helps in particular on REAGL-aware
devices.
2014-11-10 16:51:31 +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
HW
6ae62f15fe Merge pull request #1117 from WS64/master
Center screen for Kobo Aura
2014-11-10 13:58:40 +01:00
HW
2b62280456 Merge pull request #1116 from chrox/master
fix filemanager not aware of screen dimen changed from landscape to portrait
2014-11-10 13:53:10 +01:00
WS64
67c4bb365d Center screen for Kobo Aura
Why was it 
viewport = Geom:new{x=6, y=12, w=752, h=1012},?
viewport = Geom:new{x=0, y=0, w=752, h=1012}, looks way better!
2014-11-10 13:48:46 +01:00
chrox
7b5358c481 fix filemanager not aware screen dimen when change from landscape to portrait 2014-11-10 20:46:45 +08:00
HW
3740a48be9 Merge pull request #1115 from chrox/master
normalize version when checking packages in OTA manager
2014-11-10 13:28:36 +01:00
chrox
befa3aa63c normalize version when checking packages in OTA manager
This fixes a bug that version 987 was treated newer than version 1010.
2014-11-10 20:21:28 +08:00
chrox
26467d557f timestamp of screenshot filename is now of second precision 2014-11-10 20:20:09 +08:00