Hans-Werner Hilse
2f9386cd69
move refresh menu table out of UIManager
...
no need to clutter a core file of the whole UI concept with definitions
of UI elements
2014-11-30 00:15:17 +00:00
HW
d793d73182
Merge pull request #1304 from Frenzie/master
...
Added some instruction about the translation of variables
2014-11-30 01:14:41 +01:00
Frans de Jonge
daccda42d8
Added some instruction about the translation of variables
...
Simplified building prerequisites
2014-11-29 21:46:33 +01:00
HW
abcb94d946
Merge pull request #1303 from Frenzie/language
...
Add missing util.template definition to readerfrontlight.lua
2014-11-29 16:34:53 +01:00
Frans de Jonge
7fd8f4d2f1
Add missing util.template definition to readerfrontlight.lua
...
Fixes #1302 .
2014-11-29 15:45:18 +01:00
Frans de Jonge
d182810292
Merge pull request #1300 from erosennin/opds-ignore-unknown-rels
...
OPDS: ignore links with unknown rel values, treat empty rel as rel="subsection"
2014-11-29 12:22:55 +01:00
Andrey Golovizin
296f63b22a
OPDS: ignore links with unknown rel values, treat empty rel as rel="subsection".
2014-11-29 11:15:41 +01:00
HW
cceac98180
Merge pull request #1298 from Frenzie/master
...
Language: prevent spaces from disappearing in localizations with util.template
2014-11-28 23:14:58 +01:00
Frans de Jonge
73a6f71a0b
Prevent spaces from being eaten by Transifex
...
Fixes #1276
2014-11-28 22:38:54 +01:00
HW
d44c014a7f
Merge pull request #1297 from Frenzie/language
...
OPDS catalog: auto-fill http:// if no protocol given and revert #1106
2014-11-28 22:05:10 +01:00
Frans de Jonge
7a87b66fa1
OPDS catalog: auto-fill http:// if no protocol given and revert #1106
...
This fixes #1259 .
2014-11-28 21:58:19 +01:00
Huang Xin
1b07698952
Merge pull request #1296 from hwhw/imagewidget_alpha
...
Imagewidget alpha
2014-11-29 00:00:29 +08:00
Huang Xin
eeded8df7a
Merge pull request #1295 from hwhw/master
...
fix handling of invalid UTF8 sequences
2014-11-28 23:59:27 +08:00
Hans-Werner Hilse
b2e38ca80d
honor alpha when painting the dog-ear bookmark icon
...
allows for different icons making use of that. For our current icon,
it actually doesn't.
Fixes #402
2014-11-28 15:37:12 +00:00
Hans-Werner Hilse
0c80537003
allow image widgets to do alpha-blitting
...
when the image (e.g. a PNG) does contain an alpha channel, that can
be honored by ImageWidget. It doesn't do so by default for compatibility
(arguably, we should change that in the future), it has to be enabled
by setting the "alpha" property to "true" (boolean, not string).
2014-11-28 15:37:11 +00:00
Hans-Werner Hilse
a82bafc63c
fix handling of invalid UTF8 sequences
...
external data (and in bad cases our own) can contain invalid byte
sequences in UTF8 strings. A prominent example are file names.
There was a 1-off bug in calculating the allowed length for multibyte
chars, and the iterator was a bit too greedy when stumbling upon
invalid sequences, returning a single "invalid" char for a sequence
up to the point where it became invalid in calculation. Now, we present
one invalid char for the first byte of that sequence and then check
for a valid char starting with the next byte.
2014-11-28 14:52:04 +00:00
Huang Xin
0c7e01fd87
Merge pull request #1294 from hwhw/fix_default_dict_set
...
show a popup upon making a dictionary the default dictionary
2014-11-28 22:03:25 +08:00
Hans-Werner Hilse
f828f6e7e4
show dictionary title in info popup when setting default dictionary
2014-11-28 13:53:42 +00:00
Hans-Werner Hilse
1156bcd057
show a popup upon making a dictionary the default dictionary
2014-11-28 13:33:04 +00:00
Huang Xin
52947cf6d1
Merge pull request #1291 from hwhw/fix_epub_code
...
pull base changes: fix for <code> elements in epubs
2014-11-28 21:32:08 +08:00
Huang Xin
a72bc33022
Merge pull request #1293 from Frenzie/language
...
Reworked several strings
2014-11-28 21:21:51 +08:00
Frans de Jonge
693fa0837e
Reworked several strings
...
This is the remaining gruntwork of #1276 . I believe that only leaves networkmgr.lua and filemanagersearch.lua, which will require a little more thought.
2014-11-28 14:10:37 +01:00
Hans-Werner Hilse
f49f078cba
pull base changes: fix for <code> elements in epubs
...
needs https://github.com/koreader/koreader-base/pull/284
fixes #1222
2014-11-28 13:03:32 +00:00
Huang Xin
e835c1e502
Merge pull request #1280 from hwhw/master
...
fix a case when "ip r" command fails
2014-11-28 20:19:06 +08:00
HW
19b0795474
Merge pull request #1284 from Frenzie/language
...
Various applications of util.template
2014-11-28 13:01:39 +01:00
Frans de Jonge
66f04af8fb
Various applications of util.template
...
This is the first bunch for #1276 . I'd like to resolve #1281 before doing more.
2014-11-28 12:48:15 +01:00
Hans-Werner Hilse
48610006d5
fix a case when "ip r" command fails
...
our network manager script isn't the beauty of the code base.
However, this fixes a case where it would crash the reader when an
external command fails.
fixes #1279 .
2014-11-28 10:58:54 +00:00
HW
af08bdcc68
Merge pull request #1278 from Frenzie/language
...
Change "Screen Mode" to "Orientation"
2014-11-28 11:39:47 +01:00
Frans de Jonge
cf93605d04
Change "Screen Mode" to "Orientation"
...
Screen mode isn't user-oriented. Orientation is.
"Page" in "Page Margin" is redundant
2014-11-28 11:32:45 +01:00
Frans de Jonge
d33b2ccebe
Merge pull request #1274 from hwhw/master
...
add hint for nasm requirement to README
2014-11-27 20:34:33 +01:00
Hans-Werner Hilse
0bb20a8ca0
add hint for nasm requirement to README
...
fixes #1260
2014-11-27 19:12:44 +00:00
Huang Xin
c16595d81c
Merge pull request #1272 from hwhw/master
...
Revert "smaller viewport for Kobo H2O (bezel overlaps bottom)"
2014-11-28 00:03:17 +08:00
Hans-Werner Hilse
173de615db
Revert "smaller viewport for Kobo H2O (bezel overlaps bottom)"
...
This reverts commit fc36d6db37
.
2014-11-27 16:01:00 +00:00
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