2
0
mirror of https://github.com/koreader/koreader synced 2024-10-31 21:20:20 +00:00
Commit Graph

852 Commits

Author SHA1 Message Date
Qingping Hou
b03d589ae9 add preLoadSettings methods for cache_document_size setting
cache_document_size should be configurable for
every docuemnt and it must be loaded before
document open, so I added the preLoadSettings method
2012-04-19 14:39:50 +08:00
Qingping Hou
bc299784ca fix bug in partial screen refresh count in crereader 2012-04-19 14:14:08 +08:00
Qingping Hou
9144cabc76 fix bug in partial refresh count 2012-04-19 14:10:37 +08:00
Qingping Hou
ca55b39756 fix turn to previous page with KEY_LPGBCK 2012-04-19 13:57:30 +08:00
Qingping Hou
c4bd2a1046 add debug argument to reader.lua
Without -d argument, all the debug message will
be suppressed.
2012-04-19 11:05:48 +08:00
Qingping Hou
c46266fee8 fix comment in crereader 2012-04-19 10:31:38 +08:00
Qingping Hou
69cea4f2af fix in CREReader:getTocTitleOfCurrentPage
pass xpointer instead of percent
2012-04-19 10:24:14 +08:00
Qingping Hou
e282179793 fix bug in addJump and addBookmark
Pointed out by kljohann, thanks.
Now addJump and addBookmark get notes
from specified pageno/xpointer instead
of current page.

* also fixed bug in page number counting
  in cre.cpp
2012-04-19 09:58:34 +08:00
Qingping Hou
3306346dba use debug to print debug info 2012-04-19 00:16:49 +08:00
Qingping Hou
35e4ceaf57 fix page comparing in addJump 2012-04-19 00:04:41 +08:00
Qingping Hou
236e9fab3f bookmark and jump history patch for creareader 2012-04-18 23:54:17 +08:00
Dobrica Pavlinušić
632820c051 Merge pull request #124 from houqp/master
rewrite jump stack and add bookmark feature
2012-04-18 06:20:06 -07:00
Qingping Hou
b1e49446a0 fix typo in unireader 2012-04-18 20:05:12 +08:00
Qingping Hou
1b2d0b71b0 fallback to stop framework approach on screensaver fix 2012-04-18 19:43:55 +08:00
Qingping Hou
6e72569ce2 fix: check nil argument in blitFullFrom method 2012-04-18 19:30:29 +08:00
Qingping Hou
8cdcca148b fix: page number calculation in file{chooser,searcher} 2012-04-18 18:37:00 +08:00
Qingping Hou
fa414af1eb handle obselete jumpstack settings
* remove jumpstack settings if found
* add DocSettings:delSetting method
* rename DocSettings:savesetting to
  DocSettings:savesetting.
2012-04-18 17:29:27 +08:00
Qingping Hou
84fe9f49a4 rewrite jump stack and add bookmark feature
* jump stack is rewritten as jump history
* add bookmark feature
2012-04-18 17:01:22 +08:00
HW
066cffb7fe Merge pull request #123 from dpavlin/issue_121_debug
Issue 121 debug
2012-04-17 14:38:51 -07:00
Dobrica Pavlinusic
eeffcc4f21 unireader now users debug #121 2012-04-17 19:05:22 +02:00
Dobrica Pavlinusic
4c353205e6 separate arguments with spaces 2012-04-17 19:01:18 +02:00
Dobrica Pavlinusic
53e5196bd3 simple debug function which knows how to dump tables 2012-04-17 19:01:18 +02:00
Dobrica Pavlinusic
f8f8a58bd9 fixed my first use of showInfoMsgWithDelay 2012-04-17 18:58:49 +02:00
Dobrica Pavlinusic
38bbe0f227 showInfoMsgWithDelay for highlight 2012-04-17 18:10:03 +02:00
Qingping Hou
dc36e61422 put cursor on the left of first word 2012-04-17 18:05:12 +08:00
Qingping Hou
1bc250591e add left page turn key back to unireader commands 2012-04-17 17:47:19 +08:00
Dobrica Pavlinušić
4726908ed3 Merge pull request #122 from houqp/master
Add wait event timeout in EMU mode and some other fixes
2012-04-17 02:09:29 -07:00
Qingping Hou
00343a887c notify empty jump history in crereader with dialog 2012-04-17 14:39:17 +08:00
Qingping Hou
0075580b09 more notifications for manual crop shortcuts 2012-04-17 14:36:37 +08:00
Qingping Hou
14bc4ece53 add notification for manual crop settings 2012-04-17 14:29:38 +08:00
Qingping Hou
da870ca15c fix bug in showInfoMsgWithDelay()
The release key event will cause the dialog
disappear immediately after show up. Also
the timeout error is handled with pcall.
2012-04-17 14:26:42 +08:00
Qingping Hou
b9b772fe25 add SDL WaitEventTime patch to input.c
According to http://bugzilla.libsdl.org/show_bug.cgi?id=684,
this is included in SDL 1.3. But seems that 1.3 is not released
yet, so I added the patch here as workaround.
2012-04-17 14:24:42 +08:00
Qingping Hou
0c802f4eff update djvulibre and crengine to latest release 2012-04-17 11:01:40 +08:00
HW
ed0d1c40fe reworked parameter parsing a bit
this still allows to use last viewed document even when
we flag that the framework should be stopped
2012-04-17 00:12:19 +02:00
HW
30458c3662 fixed changed text extraction 2012-04-16 23:47:50 +02:00
HW
b3064efab6 re-introduced image handling
if it does not work, re-open #112
2012-04-16 23:02:28 +02:00
HW
56970bb197 Merge pull request #119 from dpavlin/master
Few more InfoMessages on operations which are slow on device
2012-04-16 13:54:56 -07:00
HW
ec905a5a13 fixed various bugs in pointer handling 2012-04-16 22:51:13 +02:00
Dobrica Pavlinusic
e106ad7507 added shortcut to start reader without Amazon framework
This was inspired by conversation on forum about memory usage on DXG
http://www.mobileread.com/forums/showthread.php?p=2044347#post2044347
2012-04-16 22:13:21 +02:00
Dobrica Pavlinusic
e387c87dcc Change font message to keep time passing by faster 2012-04-16 21:56:16 +02:00
Dobrica Pavlinusic
065d68c3a5 use refresh_mode 2012-04-16 21:55:18 +02:00
Dobrica Pavlinusic
43a776ddbb print debug line 2012-04-16 21:52:55 +02:00
Dobrica Pavlinusic
4604f75ac0 word "click" seems to me somehow wrong here 2012-04-16 21:37:56 +02:00
Dobrica Pavlinusic
0f487650b5 use new refresh_mode arg 2012-04-16 21:31:53 +02:00
Dobrica Pavlinusic
d672436c8e show line spacing in CREReader
This might be very slow operation on device because it seems to
invoke whole reflow of document
2012-04-16 21:30:52 +02:00
Dobrica Pavlinusic
c07090383f added (optional) refresh_mode to InfoMessage:show 2012-04-16 21:29:58 +02:00
Dobrica Pavlinusic
76c58d601f added InfoMessage "Reading filenames..." 2012-04-16 21:18:17 +02:00
Dobrica Pavlinusic
49283b8e00 comment out ImageWidget until it gets fixed #112 2012-04-16 21:13:06 +02:00
Dobrica Pavlinušić
db76421567 Merge pull request #117 from traycold/master
updated version of mupdf and some refactoring on help page
2012-04-16 11:43:11 -07:00
Dobrica Pavlinusic
e3b6385286 don't patch already patched crengine 2012-04-16 20:33:51 +02:00