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
traycold
6031d2066b
some fixes about coding style ( #62 ) and removed debug code
2012-04-16 20:16:31 +02:00
Dobrica Pavlinusic
21a153cbc3
replace usleep with waitForEvent
2012-04-16 18:28:01 +02:00
Dobrica Pavlinusic
f456b735c3
Merge branch 'traycold/master' of github.com:dpavlin/kindlepdfviewer into traycold/master
2012-04-16 16:49:34 +02:00
Dobrica Pavlinusic
53fcb2490b
exit with just home (no modifier)
2012-04-16 14:28:46 +02:00
Dobrica Pavlinusic
b06927dcfe
fix modifier for zoom in
2012-04-16 14:24:03 +02:00
Dobrica Pavlinusic
77f2c3b386
don't patch already patched crengine
2012-04-16 10:53:44 +02:00
Dobrica Pavlinusic
819afa3ff3
don't patch already patched crengine
2012-04-16 10:53:13 +02:00
traycold
429f572827
modification to take into account new version of mupdf
2012-04-16 00:10:41 +02:00
traycold
02dd9b023f
Merge remote branch 'hwhw/master'
...
* hwhw/master: (183 commits)
show infomessage on document open
use InfoMessage for empty TOC, jump history and highlights
copy resources dir on customupdate
add resource: info icon
display document open error message
added infomessage dialog implementation
bugfix, removed old test constant
Added widget abstraction framework
added interface to get blitbuffers from JPEG/PNG files
fix typo
added reading of pan_margin settings
fix full screen refresh command, close #99
add: sleep and usleep in util module
fix: add back KEY_FW{LEFT,RIGHT} commands to NumInputBox
reverted removal of last-doc shortcut, introduced framework restart
kill our own child process. not quite finished.
added line spacing setting for crereader
remove page:getPageText debug dump to improve performance on device
remove page:getPageText debug dump to improve performance on device
display crash.log on error
...
Conflicts:
ft.c
helppage.lua
inputbox.lua
rendertext.lua
rendertext_example.lua
unireader.lua
2012-04-16 00:08:19 +02:00
HW
09a319d61d
Merge branch 'master' of github.com:hwhw/kindlepdfviewer
2012-04-15 23:40:45 +02:00
HW
db3655fc15
bugfix/typo
2012-04-15 23:39:53 +02:00
traycold
6c9ec8c896
refactoring for display help page
2012-04-15 16:07:39 +02:00
traycold
0350822ade
remove some trailing white spaces
2012-04-15 16:05:44 +02:00
traycold
1ff6ee44ba
Merge branch 'txt'
...
* txt:
use font metric to better display help page (to exted to other pages in future)
draft commit, test implementation
2012-04-15 16:02:21 +02:00
Dobrica Pavlinušić
29da5e9789
Merge pull request #116 from houqp/master
...
Use InfoMessage for better user experience
2012-04-15 03:37:27 -07:00
Qingping Hou
5e867d38ef
show infomessage on document open
2012-04-15 14:20:26 +08:00
Qingping Hou
f24f2a01f6
use InfoMessage for empty TOC, jump history and highlights
2012-04-15 11:02:42 +08:00
Qingping Hou
552246ba13
copy resources dir on customupdate
2012-04-15 11:01:14 +08:00
HW
31c33a87c9
add resource: info icon
2012-04-15 02:34:49 +02:00
HW
676e4268ff
display document open error message
2012-04-15 02:34:09 +02:00
HW
4714057f5b
added infomessage dialog implementation
2012-04-15 02:28:48 +02:00
HW
4cd63b71df
bugfix, removed old test constant
2012-04-15 02:26:24 +02:00
HW
b6d75b84ec
Added widget abstraction framework
...
An example for using it:
--snip
require "widget"
require "font"
fb = einkfb.open("/dev/fb0")
G_width, G_height = fb:getSize()
dialog = CenterContainer:new({
dimen = { w = G_width, h = G_height },
VerticalGroup:new({
align = "center",
FrameContainer:new({
CenterContainer:new({
dimen = { w = 400, h = 200 },
TextWidget:new({
text = "Hi there! jgVJV",
face = Font:getFace("cfont", 30)
})
})
}),
ImageWidget:new({
file = "test.png"
}),
FrameContainer:new({
CenterContainer:new({
dimen = { w = 300, h = 200 },
TextWidget:new({
text = "another box",
face = Font:getFace("cfont", 30)
})
})
})
})
})
dialog:paintTo(fb.bb, 0, 0)
fb:refresh(0)
input.waitForEvent()
--snip
2012-04-15 01:59:49 +02:00
HW
38afb59b3f
added interface to get blitbuffers from JPEG/PNG files
...
this is supposed to help us in the UI code.
2012-04-14 22:32:05 +02:00
HW
e52b4808b1
fix typo
2012-04-14 19:28:59 +02:00
{Qingping,Dave} Hou
3bd8a8a2cf
Merge pull request #111 from dpavlin/master
...
added reading of pan_margin settings
2012-04-14 07:37:24 -07:00
Dobrica Pavlinusic
eeae5982dd
added reading of pan_margin settings
2012-04-14 16:23:41 +02:00
Qingping Hou
cde796f6b5
fix full screen refresh command, close #99
2012-04-14 14:27:17 +08:00
Qingping Hou
c71f5c6f6a
add: sleep and usleep in util module
...
Now using it in commands.lua
2012-04-14 13:41:44 +08:00