Commit Graph

658 Commits (00fb7773c7af447ce1d7b2f13d99abd0dff5d6b0)
 

Author SHA1 Message Date
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
13 years ago
Dobrica Pavlinusic c07090383f added (optional) refresh_mode to InfoMessage:show 13 years ago
Dobrica Pavlinusic 76c58d601f added InfoMessage "Reading filenames..." 13 years ago
Dobrica Pavlinusic 49283b8e00 comment out ImageWidget until it gets fixed #112 13 years ago
Dobrica Pavlinušić db76421567 Merge pull request #117 from traycold/master
updated version of mupdf and some refactoring on help page
13 years ago
Dobrica Pavlinusic e3b6385286 don't patch already patched crengine 13 years ago
traycold 6031d2066b some fixes about coding style (#62) and removed debug code 13 years ago
Dobrica Pavlinusic 21a153cbc3 replace usleep with waitForEvent 13 years ago
Dobrica Pavlinusic f456b735c3 Merge branch 'traycold/master' of github.com:dpavlin/kindlepdfviewer into traycold/master 13 years ago
Dobrica Pavlinusic 53fcb2490b exit with just home (no modifier) 13 years ago
Dobrica Pavlinusic b06927dcfe fix modifier for zoom in 13 years ago
Dobrica Pavlinusic 77f2c3b386 don't patch already patched crengine 13 years ago
Dobrica Pavlinusic 819afa3ff3 don't patch already patched crengine 13 years ago
traycold 429f572827 modification to take into account new version of mupdf 13 years ago
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
13 years ago
HW 09a319d61d Merge branch 'master' of github.com:hwhw/kindlepdfviewer 13 years ago
HW db3655fc15 bugfix/typo 13 years ago
traycold 6c9ec8c896 refactoring for display help page 13 years ago
traycold 0350822ade remove some trailing white spaces 13 years ago
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
13 years ago
Dobrica Pavlinušić 29da5e9789 Merge pull request #116 from houqp/master
Use InfoMessage for better user experience
13 years ago
Qingping Hou 5e867d38ef show infomessage on document open 13 years ago
Qingping Hou f24f2a01f6 use InfoMessage for empty TOC, jump history and highlights 13 years ago
Qingping Hou 552246ba13 copy resources dir on customupdate 13 years ago
HW 31c33a87c9 add resource: info icon 13 years ago
HW 676e4268ff display document open error message 13 years ago
HW 4714057f5b added infomessage dialog implementation 13 years ago
HW 4cd63b71df bugfix, removed old test constant 13 years ago
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
13 years ago
HW 38afb59b3f added interface to get blitbuffers from JPEG/PNG files
this is supposed to help us in the UI code.
13 years ago
HW e52b4808b1 fix typo 13 years ago
{Qingping,Dave} Hou 3bd8a8a2cf Merge pull request #111 from dpavlin/master
added reading of pan_margin settings
13 years ago
Dobrica Pavlinusic eeae5982dd added reading of pan_margin settings 13 years ago
Qingping Hou cde796f6b5 fix full screen refresh command, close #99 13 years ago
Qingping Hou c71f5c6f6a add: sleep and usleep in util module
Now using it in commands.lua
13 years ago
Qingping Hou db1b2cd01a fix: add back KEY_FW{LEFT,RIGHT} commands to NumInputBox 13 years ago
HW f905158b6a reverted removal of last-doc shortcut, introduced framework restart 13 years ago
HW 3022889088 kill our own child process. not quite finished.
we can now kill and wait for the slider watcher subprocess that we spawned.
However, it will have a subprocess itself, the lipc-wait-event process.
That one currently stays alive until it finally sends something.
13 years ago
HW c198f554e4 Merge pull request #110 from dpavlin/master
few more cleanups before release
13 years ago
HW e4841e88c4 added line spacing setting for crereader
this patch also introduces an interface for setFontSize and setStyleSheet.
Hopefully, we can use the latter to send customized CSS to CREngine
as Lua strings. This functionality is however untested for now.
13 years ago
Dobrica Pavlinusic a46dae3341 Merge branch 'master' of github.com:dpavlin/kindlepdfviewer 13 years ago
Dobrica Pavlinusic b6d167f8ca remove page:getPageText debug dump to improve performance on device
And leave it in unireader if we can't find text on page
13 years ago
Dobrica Pavlinusic 56ddad6a38 remove page:getPageText debug dump to improve performance on device 13 years ago
Dobrica Pavlinusic a65090025c display crash.log on error 13 years ago
Dobrica Pavlinusic ffa663d37d added few more keys to inputbox 13 years ago
Dobrica Pavlinusic 81c6dc5997 commands.map is very large, impacts startup performance on device 13 years ago
Dobrica Pavlinusic 96958c62ca added UniReader:screenOffset and use it 13 years ago
Dobrica Pavlinusic 4d49e9f28b correct two-column margin calculation respecting globalzoom 13 years ago
Dobrica Pavlinusic 0a8ca94218 make highlight working in all zoom modes #103
This change introduce object's dest_x and dest_y coordinates which
are needed in zoomedRectCoordTransform to make highlight scale and
move according to current pan position.
13 years ago
Dobrica Pavlinušić ef6ab7d0db Merge pull request #107 from houqp/master
show_overlap calculation bug in two column mode
13 years ago