Commit Graph

3892 Commits (a82bafc63cdb41ca7266aef210fb8fddad87c31b)
 

Author SHA1 Message Date
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.
10 years ago
Huang Xin 0c7e01fd87 Merge pull request #1294 from hwhw/fix_default_dict_set
show a popup upon making a dictionary the default dictionary
10 years ago
Hans-Werner Hilse f828f6e7e4 show dictionary title in info popup when setting default dictionary 10 years ago
Hans-Werner Hilse 1156bcd057 show a popup upon making a dictionary the default dictionary 10 years ago
Huang Xin 52947cf6d1 Merge pull request #1291 from hwhw/fix_epub_code
pull base changes: fix for <code> elements in epubs
10 years ago
Huang Xin a72bc33022 Merge pull request #1293 from Frenzie/language
Reworked several strings
10 years ago
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.
10 years ago
Hans-Werner Hilse f49f078cba pull base changes: fix for <code> elements in epubs
needs https://github.com/koreader/koreader-base/pull/284
fixes #1222
10 years ago
Huang Xin e835c1e502 Merge pull request #1280 from hwhw/master
fix a case when "ip r" command fails
10 years ago
HW 19b0795474 Merge pull request #1284 from Frenzie/language
Various applications of util.template
10 years ago
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.
10 years ago
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.
10 years ago
HW af08bdcc68 Merge pull request #1278 from Frenzie/language
Change "Screen Mode" to "Orientation"
10 years ago
Frans de Jonge cf93605d04 Change "Screen Mode" to "Orientation"
Screen mode isn't user-oriented. Orientation is.

"Page" in "Page Margin" is redundant
10 years ago
Frans de Jonge d33b2ccebe Merge pull request #1274 from hwhw/master
add hint for nasm requirement to README
10 years ago
Hans-Werner Hilse 0bb20a8ca0 add hint for nasm requirement to README
fixes #1260
10 years ago
Huang Xin c16595d81c Merge pull request #1272 from hwhw/master
Revert "smaller viewport for Kobo H2O (bezel overlaps bottom)"
10 years ago
Hans-Werner Hilse 173de615db Revert "smaller viewport for Kobo H2O (bezel overlaps bottom)"
This reverts commit fc36d6db37.
10 years ago
Huang Xin 9c8e4c8976 Merge pull request #1271 from hwhw/master
Fixes for Kobos, viewports
10 years ago
Hans-Werner Hilse c4f0f6eab1 update base: pull fixes 10 years ago
Hans-Werner Hilse fc36d6db37 smaller viewport for Kobo H2O (bezel overlaps bottom) 10 years ago
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.
10 years ago
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.
10 years ago
HW 0576b892fa Merge pull request #1270 from chrox/fix_1209
refactoring reader bookmark to show both bookmarks and highlights
10 years ago
chrox ca60ceacd0 make radius field respects popout flag 10 years ago
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.
10 years ago
chrox ac6a34ee3d fix crash on special offered Kindle 10 years ago
chrox 08dff3a158 turn off debug in unit test by default
Uncommnet the `DEBUG:turnOn()` line to turn it on.
10 years ago
Huang Xin 9b37c5b2ee Merge pull request #1269 from hwhw/master
pull fixes in base, plus some emulator features
10 years ago
Hans-Werner Hilse 895b98d5be add debugging output for device initialisation 10 years ago
Hans-Werner Hilse 416a90032b update base, fetch framebuffer fixes 10 years ago
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}"
10 years ago
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.
10 years ago
Huang Xin 701633c9f4 Merge pull request #1261 from Frenzie/filesearcher
Alterations to the menu
10 years ago
Frans de Jonge 141095b0c8 Alterations to the menu
References #1219 and #1258.
10 years ago
Huang Xin 7a608c7933 Merge pull request #1253 from hwhw/master
close file descriptor of dictionary lookup pipe
10 years ago
Hans-Werner Hilse 48ea442e28 close file descriptor of dictionary lookup pipe 10 years ago
Huang Xin 1b5e3ce31e Merge pull request #1251 from hwhw/master
fix usage of old refresh API
10 years ago
Hans-Werner Hilse c6d342f305 fix usage of old refresh API
standby/screensaver/USB was affected.
10 years ago
Huang Xin 9b3ef8fe67 Merge pull request #1249 from hwhw/master
update base: bugfix for refresh waiting
10 years ago
Hans-Werner Hilse 6841b13c8c update base: bugfix for refresh waiting 10 years ago
Huang Xin b63f611feb Merge pull request #1247 from hwhw/master
pull fixes for viewport-related code from base
10 years ago
Hans-Werner Hilse f64810b9db pull fixes for viewport-related code from base 10 years ago
HW ea525d14d2 Merge pull request #1246 from chrox/ssl_soname
update koreader-base to use versioned ssl soname
10 years ago
chrox 34e8866a47 update koreader-base to use versioned ssl soname 10 years ago
Huang Xin f7916f68d4 Merge pull request #1245 from hwhw/master
update base with fix/change to viewport code
10 years ago
Hans-Werner Hilse c6e14f2409 update base with fix/change to viewport code 10 years ago
HW 47472d7038 Merge pull request #1243 from chrox/fix_1233
prompt users to long press directory to set inbox
10 years ago
chrox e1af7f2ed3 prompt users to long press directory to set inbox
This should fix #1233.
10 years ago
HW 9ff70da66e Merge pull request #1242 from chrox/fix_1236
fix #1236 by opening the parent directory of last used document
10 years ago