2
0
mirror of https://github.com/koreader/koreader synced 2024-11-18 03:25:46 +00:00
Commit Graph

4125 Commits

Author SHA1 Message Date
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
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
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
chrox
f52872b081 default autoscale for IconButton 2014-11-20 18:02:50 +08:00
chrox
8384eba810 consider also the screen size when scaling by DPI 2014-11-20 18:02:50 +08:00
chrox
e66801039b refactoring: reuse IconButton for config menu bar 2014-11-20 18:02:50 +08:00
Huang Xin
49d5a1b71e Merge pull request #1215 from Frenzie/gettext
gettext: unescape \n
2014-11-20 08:46:05 +08:00
Huang Xin
810d5dbc38 Merge pull request #1214 from Frenzie/master
Some English improvements in evernote.koplugin
2014-11-20 08:43:49 +08:00
Frans de Jonge
ab442c2434 gettext: unescape \n
Fixes the problem that any msgid with \n in it wouldn't show up translated.
2014-11-19 21:46:45 +01:00
Frans de Jonge
6a7e6ed6ca Some English improvements in evernote.koplugin 2014-11-19 17:33:45 +01:00
Frans de Jonge
fad702b6d5 Merge pull request #1212 from hwhw/master
fix item number distinction (plural forms)
2014-11-19 14:01:57 +01:00
Hans-Werner Hilse
ab44d1f7e3 fix item number distinction (plural forms) 2014-11-19 13:25:32 +01:00
HW
f6f03999c5 Merge pull request #1211 from Frenzie/master
Fix typo in #1176
2014-11-19 12:59:25 +01:00
Frans de Jonge
8b9bbf918c Fix typo in #1176 2014-11-19 12:53:03 +01:00
HW
8b5a4ddea6 Merge pull request #1176 from Frenzie/master
First util.template encapsulated strings
2014-11-19 12:47:08 +01:00
Frans de Jonge
d701d9b198 First util.template encapsulated strings 2014-11-19 12:23:37 +01:00
Frans de Jonge
4efe036c2f Update to latest base (added util.template) 2014-11-19 12:23:10 +01:00
HW
c9d6c02d04 Merge pull request #1203 from chrox/fix_1202
find the finest toc ticks by sorting out the largest one
2014-11-18 10:54:47 +01:00
Huang Xin
4e58ed6070 Merge pull request #1204 from hwhw/nilujes-fixes
Nilujes fixes
2014-11-18 17:51:50 +08:00
NiLuJe
e9573ebe58 Try to avoid more update_regions_func mismatches
scheduling tricks
2014-11-18 10:32:47 +01:00
NiLuJe
f6753085ef Detect another KT2 model 2014-11-18 10:32:47 +01:00
NiLuJe
9bd089812b Tweaks and fixes for refresh logic
Don't increase counter for regional updates
Also some workarounds for Kobos

Try to avoid update_regions_func poisoning

Reset it at the end of repaint() even if nothing was found dirty

Ensure regional updates are always PARTIAL, in
case we get a region attached to an automatically triggered refresh, not
marked force_partial [which, hey, shouldn't happen, but apparently does
sometimes ^^]
2014-11-18 10:31:32 +01:00
HW
aea764f842 Merge pull request #1201 from chrox/fix_903
fix #903 by reverting arbitary margin at the end line of italic text
2014-11-18 10:19:08 +01:00
chrox
a65dcb4c0d find the finest toc ticks by sorting out the largest one 2014-11-18 16:50:37 +08:00
chrox
033ffb1d0f update readersearch and readertoc specs as crengine is updated 2014-11-18 16:08:39 +08:00
chrox
cae6bf273b fix #903 by reverting arbitary margin at the end line of italic text 2014-11-18 15:05:13 +08:00
HW
2d04b5755a Merge pull request #1197 from chrox/fix_864
add an option to show an arrow to indicate page overlap
2014-11-17 15:19:22 +01:00
chrox
897358e09a add missing translation of 'Screensaver' options 2014-11-17 21:45:14 +08:00
chrox
ee3c5525f9 add an option to show an arrow to indicate page overlap 2014-11-17 21:45:14 +08:00
HW
c651816f4b Merge pull request #1195 from chrox/fix_1121
fix #1121
2014-11-17 11:39:44 +01:00
HW
36d98bb5f7 Merge pull request #1194 from chrox/pdf_search
add fulltext search for PDF documents
2014-11-17 11:39:19 +01:00
chrox
3e7ca5706e fix #1121 2014-11-17 18:21:47 +08:00