2
0
mirror of https://github.com/koreader/koreader synced 2024-11-16 06:12:56 +00:00
Commit Graph

2426 Commits

Author SHA1 Message Date
{Qingping, Dave} Hou
8017c7e42e Merge pull request #255 from chrox/dict_unicode
split string with delimiters captured
2013-09-01 07:56:01 -07:00
chrox
094a98b819 split string with delimiters captured 2013-09-01 22:13:20 +08:00
chrox
1c728d6945 fix widget out-of-bound in bookmark and toc menus
The original menu layout needs manual dimension calculations
such as  white padding for displaying page information in
footer as the title, all item contents and footer are stacked
in one VerticalGroup. Out-of-bound error(koreader/koreader-base#43)
will occur in some corner cases if we missed something in
the calculation. The patch sent in this PR invented a new
layout for menu widget in which no manual calculation is needed
for displaying the footer. And the footer will be placed well
inside the menu frame.

   +--------------+
   | +----------+ |
   | |+--------+| |
   | || Header || |
   | |+--------+| |
   | |+--------+| |
   | ||  Item  || |
   | ||  Item  || |
   | |+--------+| |
   | |(Vertical | |
   | |  Group)  | |
   | +----------+ |
   |    Footer    |
   |(OverlapGroup)|
   +--------------+
2013-09-01 16:36:45 +08:00
{Qingping, Dave} Hou
846fb887de Merge pull request #250 from thotypous/master
Update documentation
2013-08-28 14:46:40 -07:00
Paulo Matias
b16bad974e Update documentation
Since the build system has changed after modularization. Also,
point out that the project now supports Kobo devices too.
2013-08-28 18:36:19 -03:00
Huang Xin
25a2920716 Merge pull request #240 from houqp/houqp-master
add hidden file toggle for file manager
2013-08-24 21:52:50 -07:00
Qingping Hou
4c40fece74 add hidden file toggle 2013-08-25 00:00:06 -04:00
Huang Xin
a1e0ae90ce Merge pull request #238 from thotypous/realpath
Realpath
2013-08-23 07:00:13 -07:00
Paulo Matias
92e12d6466 Use ReaderFrontLight:addToMainMenu in FM
Check if frontlight is present using the same method as ReaderFrontLight:init,
just for consistency.
2013-08-23 08:39:35 -03:00
Paulo Matias
3d04925109 Remove FileChooser:compressPath, use util.realpath 2013-08-23 08:39:09 -03:00
{Qingping, Dave} Hou
87655ffdec Merge pull request #237 from thotypous/fix-crash-root
Fix crash when trying to go to / on FM
2013-08-22 08:36:31 -07:00
Paulo Matias
e668379f6d Fix crash when trying to go to / on FM
Deals with more cases in FileChooser:compressPath, including `/mnt/..`.
2013-08-22 11:42:21 -03:00
{Qingping, Dave} Hou
b2910ef5ca Merge pull request #236 from thotypous/frontlight-fixes
Change util.isEmulated to boolean and fix frontlight
2013-08-22 07:42:16 -07:00
Paulo Matias
d7b747d6dd Change util.isEmulated to boolean and fix frontlight
Device:hasFrontlight always returned a true-like value because util.isEmulated was an integer.
Fixed this, also, used a polymorphic object design to reduce FrontLight code, and
adapted BaseFrontLight for the emulator.
2013-08-22 10:10:29 -03:00
Huang Xin
945c4b3470 Merge pull request #235 from houqp/houqp-master
reset current page on item_table switch for menu widget
2013-08-22 01:08:13 -07:00
Qingping Hou
c951eacc35 fix: reset current page on item_table switch for menu widget 2013-08-22 12:01:00 +08:00
Qingping Hou
cad8ddec92 disable path compress on relative path 2013-08-22 11:39:35 +08:00
Huang Xin
9253406ab6 Merge pull request #234 from thotypous/master
Update koreader-base
2013-08-21 19:12:33 -07:00
Paulo Matias
a646f6e26c Update koreader-base 2013-08-21 13:44:30 -03:00
Huang Xin
8eb195a42e Merge pull request #233 from thotypous/fl-toggle-clear
Add InputText:setText and avoid non-intuitive UI behavior after light toggle
2013-08-21 05:06:51 -07:00
Paulo Matias
54636e9407 Add InputText:setText and avoid non-intuitive UI behavior after light toggle 2013-08-21 08:54:46 -03:00
{Qingping, Dave} Hou
93f5e53ebb Merge pull request #232 from chrox/master
patch crengine to register external fonts
2013-08-20 22:13:12 -07:00
chrox
19bae7852d patch crengine to register external fonts 2013-08-21 11:30:14 +08:00
HW
843d6972d0 Merge pull request #231 from thotypous/lulip-move-base
No need for lulip to be global
2013-08-19 07:31:56 -07:00
Paulo Matias
130786dd9f Merge branch 'master' into lulip-move-base 2013-08-19 11:22:09 -03:00
Paulo Matias
af6d47fb6c Update koreader-base 2013-08-19 11:20:52 -03:00
Paulo Matias
8f53571e06 No need for lulip to be global 2013-08-19 11:07:19 -03:00
HW
cbb919d2a3 Merge pull request #230 from thotypous/lulip-move-base
Move lulip to koreader-base
2013-08-19 07:05:46 -07:00
Paulo Matias
2492ca247a Use ffi/lulip.lua from koreader-base; change package.path 2013-08-19 10:58:42 -03:00
Paulo Matias
ed7d4070c0 Update koreader-base 2013-08-19 10:56:22 -03:00
{Qingping,Dave} Hou
7537f3acc0 Merge pull request #229 from thotypous/lulip-ffi-util
Remove ffi.cdef to avoid conflict with ffi/util.lua from koreader-base
2013-08-18 21:03:09 -07:00
Paulo Matias
9ce281873c Remove ffi.cdef to avoid conflict with ffi/util.lua from koreader-base 2013-08-18 15:47:46 -03:00
Paulo Matias
d9bc98a7ce Merge pull request #228 from chrox/master
update k2pdfopt to version 1.66
2013-08-18 10:29:10 -07:00
chrox
4f85030099 update k2pdfopt to version 1.66 2013-08-18 15:59:47 +08:00
{Qingping,Dave} Hou
380c626b25 Merge pull request #227 from chrox/jpeg_fix
fix bug #179 and #224
2013-08-17 23:21:52 -07:00
chrox
0c17b6a163 update koreader-base to fix bug #224 2013-08-18 12:34:38 +08:00
Huang Xin
b8dc272d68 Merge pull request #225 from giorgio130/master
Don't kill nickel software on kobo
2013-08-17 04:22:47 -07:00
Giorgio Micotti
12f920b0ec Don't kill nickel software, it's not really needed and might prevent issues with database corruption. 2013-08-17 13:18:23 +02:00
chrox
6f89fec891 fix calling setFontSize in pdfreader 2013-08-17 16:11:46 +08:00
chrox
44c31afe62 fix bug #179
It seems that the setPageMargins method will mess up XPointer of current view.
This bugfix simply disables page margin restoring in readercopt.lua so that
reading position is restorable.
2013-08-17 15:34:42 +08:00
{Qingping,Dave} Hou
4f30037953 Merge pull request #222 from chrox/master
bugfix: fix screen ghosting after swiping north/south in scroll mode
2013-08-16 21:12:15 -07:00
chrox
75eb0e6f23 bugfix: fix screen ghosting after swiping north/south in scroll mode
As swiping north/south will generate several pan gestures which will
set refresh mode to WAVEFORM_MODE_A2, we should explicitly do a full
refresh in order to switch refresh waveform from WAVEFORM_MODE_A2
to WAVEFORM_MODE_GC16 as in OnPanRelease.
2013-08-17 11:01:57 +08:00
Huang Xin
777273c4cb Merge pull request #221 from thotypous/master
update koreader-base
2013-08-16 18:47:01 -07:00
Paulo Matias
40aef0ad88 update koreader-base 2013-08-16 22:43:24 -03:00
{Qingping,Dave} Hou
8db9179f04 Merge pull request #219 from thotypous/master
Initialize FileChooser with root_path, otherwise the command line argument (directory) is ignored
2013-08-15 17:56:08 -07:00
Paulo Matias
04ebaf0964 Use lfs.currentdir() to get default root_dir as an absolute path 2013-08-15 19:50:33 -03:00
Paulo Matias
48d6020930 Initialize FileChooser with root_path, otherwise the command line argument (directory) is ignored 2013-08-15 18:53:22 -03:00
{Qingping,Dave} Hou
89decc25d5 Merge pull request #218 from chrox/master
transfer libk2pdfopt to koreader
2013-08-15 09:42:39 -07:00
chrox
d09c399d5f transfer libk2pdfopt to koreader 2013-08-15 23:13:40 +08:00
Huang Xin
d4568ee0eb Merge pull request #205 from hwhw/master
Adaptions for dynamic library aware koreader-base and some streamlining
2013-08-15 07:17:59 -07:00