Commit Graph

2615 Commits

Author SHA1 Message Date
chrox
e950d46f1f add .editorconfig file 2014-03-25 22:25:26 +08:00
Qingping Hou
37e63c2dea Merge pull request #537 from chrox/master
switch license to AGPLv3
v2014.03.24-nightly
2014-03-23 12:57:10 -04:00
chrox
2f1256515c update README.md 2014-03-23 16:55:15 +08:00
chrox
b3c2a7e3fd switch license to AGPLv3 2014-03-23 16:53:05 +08:00
Markismus
7e26047af4 The last code changes resulted in crashes. Now they don't and it the fine tuning is improved.
It changes `steps` in line 13 for better finetuning,
`rate` in line 22 so that it has a nil value for `Kobo_phoenix'
and delta_int in line 48 to the last know working syntax.

Could someone check whether line 22 does result in 3.0 for non-phoenix devices?
v2014.03.18-nightly
2014-03-17 19:36:18 +01:00
Qingping Hou
3e7d518207 Merge pull request #531 from chrox/retab
cleanup: expand tab to 4 spaces
2014-03-14 21:30:56 -04:00
chrox
92219a1f1e cleanup: expand tab to 4 spaces 2014-03-13 21:52:43 +08:00
chrox
bd0ba69d08 reset configurable before loading new options 2014-03-13 21:25:45 +08:00
Markismus
b17b780ee1 Merge pull request #528 from chrox/master
code refactoring
v2014.03.13-nightly
2014-03-12 22:55:23 +01:00
chrox
5157a67ce2 code refactoring 2014-03-12 17:06:57 +08:00
chrox
9f50393f35 replace paging and zoomming order in readerui 2014-03-12 17:06:51 +08:00
Huang Xin
6ae771a7f4 Merge pull request #527 from koreader/Frontlight
UPDATE readerfrontlight.lua
2014-03-11 23:53:59 +08:00
chrox
0385374c07 code refactoring 2014-03-11 23:40:00 +08:00
Markismus
175721a185 UPDATE readerfrontlight.lua
Code is added to switch between Kobo Aura (Phoenix) and others.

`ReaderFrontLight`, `self.ges_events` and the `function ReaderFrontLight:onAdjust` are now different for Kobo Aura. This enables me to do a two-fingered-pan over approx 1/4 Screenheight to change from full on to full off.

The difference to the default implementation is that both the `rate` and the `msg` are omitted and the `steps` are different.

FURTHER ROOM FOR IMPROVEMENT: It would be an improvement to get a final message after the two-fingered-pan is done stating the achieved setting.

Signed-off-by: Markismus <zulde.zuldemans@gmail.com>
2014-03-11 15:04:01 +01:00
Markismus
624bfff340 Merge pull request #526 from chrox/master
fix kobo frozen when exiting koreader.

It doesn't work sensibly anyway. It should have taken a screenshot of the homepage of nickel. Instead it gives the last screen before koreader, which is the png-file of koreader. 
Just quitting the png-file and returning to Nickel home screen would be sufficient. No idea how to do that, though.
v2014.03.11-nightly
2014-03-10 22:47:04 +01:00
chrox
fb6a739247 fix kobo frozen when exiting koreader
This should fix #509.
2014-03-10 23:01:29 +08:00
Qingping Hou
a5d76d416a Merge pull request #525 from chrox/master
fix input timer queue
2014-03-10 10:25:15 -04:00
chrox
560444c168 add fallback_font option in G_reader_settings 2014-03-10 22:06:17 +08:00
chrox
21b0b24b14 fix input timer queue
if new timer has a timeout later than a timer in queue, the
new timer will be discarded and never be pushed into timer queue.
This is fixed by pushing new timer without timeout checking
and then sorting the queue according to timer timeouts.

This should fix #520 and #495.
2014-03-10 17:42:40 +08:00
Huang Xin
54c59437f9 Merge pull request #524 from danan72/patch-1
Update language.lua - Polish language translation
2014-03-09 22:58:01 +08:00
danan72
e03c103364 Update language.lua 2014-03-09 15:47:09 +01:00
Qingping Hou
ff98fdbf50 Merge pull request #523 from chrox/master
hinting one page by default
2014-03-09 08:42:10 -04:00
chrox
2c3ebfc438 update pot file 2014-03-09 20:13:16 +08:00
chrox
315abd92d3 strip unnecessary parts in update packages 2014-03-09 20:09:54 +08:00
chrox
19e50a1098 hinting one page by default
since reflowed page has a minimum height of screen height.
There are no more than two pages displayed on screen
simultaneously even in scroll mode.
2014-03-09 16:48:13 +08:00
Qingping Hou
7de54b63ee Merge pull request #521 from chrox/master
dirty hack to prevent infinite loop on up skip puncutuation
2014-03-04 10:00:54 -05:00
chrox
1d816aa5f2 dirty hack to prevent infinite loop on up skip puncutuation
This should fix #517.
2014-03-04 21:20:09 +08:00
Qingping Hou
c54a8a3018 Merge pull request #514 from chrox/master
fix font-family property ignored if no generic-family is provided
2014-02-18 00:15:54 -05:00
chrox
87131525db fix font-family property ignored if no generic-family is provided 2014-02-18 12:40:44 +08:00
Qingping Hou
52ac2dc041 Merge pull request #513 from chrox/master
fix semi-auto cropping for djvu files
2014-02-16 11:47:07 -05:00
chrox
c9784a84b3 fix semi-auto cropping for djvu files 2014-02-16 21:32:48 +08:00
chrox
1b55339186 cleanup readerui init for pdf 2014-02-16 20:57:36 +08:00
chrox
0eee130f5a clipping page bbox 2014-02-16 19:49:18 +08:00
chrox
b1acbb2446 make overlap pixels configurable 2014-02-16 19:42:50 +08:00
Qingping Hou
476375acfe Merge pull request #512 from chrox/master
fix missing page margin settings
2014-02-16 00:44:24 -05:00
chrox
cb757a9ddf fix missing page margin settings 2014-02-16 12:32:08 +08:00
Qingping Hou
4fb0e25c52 Merge pull request #511 from chrox/master
get rid of several dirty hacks
2014-02-15 11:32:17 -05:00
chrox
bae842540a get rid of several dirty hacks 2014-02-15 22:29:36 +08:00
Qingping Hou
21172924fc Merge pull request #510 from chrox/master
fix conflicts of two finger swipe gesture for flipping mode and showing ...
2014-02-14 15:30:37 -05:00
chrox
68757794a2 fix conflicts of two finger swipe gesture for flipping mode and showing TOC/Bookmark 2014-02-14 23:56:35 +08:00
Qingping Hou
08bee8aa08 Merge pull request #508 from chrox/master
switch to arm-linux-gnueabi toolchain for Kindle devices
2014-02-13 15:26:41 -05:00
chrox
186e78eb79 fix broken support of mobi format 2014-02-14 00:39:10 +08:00
chrox
45ca50458b fix broken toggle frontlight on kpw2 2014-02-13 23:59:59 +08:00
chrox
828f90d7a9 switch to arm-linux-gnueabi toolchain for Kindle devices 2014-02-13 22:49:45 +08:00
Qingping Hou
a741bdb6ff Merge pull request #507 from chrox/master
dirty hack to fix wrong zoom level
2014-02-12 10:39:33 -05:00
chrox
11ec22c33b dirty hack to fix wrong zoom level
This hack is to rescue wrong zoom level after removing unnecessary
`self:handleEvent(Event:new("SetDimensions", self.dimen))` at the
end of ReaderUI initialization which otherwise would confuse crengine
with two different dimens and would cause inconsistent reading progress.
2014-02-12 23:21:43 +08:00
Qingping Hou
517b5432ae Merge pull request #506 from chrox/master
add 'full/mini' options for progress bar of crereader
2014-02-12 10:10:12 -05:00
chrox
8e11a5bf6d fix page states not updated in scroll mode 2014-02-12 22:34:44 +08:00
chrox
b26f040403 fix hinting beyond page range 2014-02-12 22:33:27 +08:00
chrox
0b2cc17b69 hold progress bar to show goto dialog 2014-02-12 20:41:16 +08:00