Commit Graph

51 Commits (2a2a0828c8be75c51ad12f2f070704d9902fc879)

Author SHA1 Message Date
Dobrica Pavlinusic c688e6e20c few more places in which repeat key is useful 12 years ago
Qingping Hou a89c88f40f add zip format support 12 years ago
Qingping Hou dbb49505f1 add doc format support
Though I don't like doc at all.
12 years ago
Dobrica Pavlinusic 18f0cf8043 added mobi to CREReader #131 12 years ago
Qingping Hou b8da531d8d add "searching file" message
missed in previous commit
12 years ago
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
12 years ago
Qingping Hou 3306346dba use debug to print debug info 12 years ago
Qingping Hou 8cdcca148b fix: page number calculation in file{chooser,searcher} 12 years ago
HW 57d769e0ae added wrapper function for input.waitForEvent that retries on EINTR 12 years ago
HW ec2eda0c05 switched font handling to only work with external fonts
now you can use a environment variable, FONTDIR, to point
to a font dir. Otherwise, "./fonts" is used by default.
Subdirectories are indexed.
12 years ago
Qingping Hou 7fdec8a980 fix: handle screen resolution correctly in filesearcher 12 years ago
Qingping Hou 1593c56803 mod: add html support in crereader 12 years ago
Qingping Hou b09110a38d Merge branch 'djvu-highlight' into epub 12 years ago
Qingping Hou 4821f10dda half done demo for crengine 12 years ago
Qingping Hou eac9893958 fix: add KEY_LPGFWD and KEY_LPGBCK to filechooser 12 years ago
traycold bfcad367bb using font module for getting fonts (commit f95231d789)
renamed function names using camelCase (issue #62)
12 years ago
HW 48463d4739 add XPS and CBZ support (muPDF provides this) 12 years ago
Qingping Hou f95231d789 add: status bar in reading menu & font.lua
* Since fontchooser is replaced by selectmenu, it
is no longer needed. So I rewrite it into font.lua
module which can cache faces that shared among all
UIs.

* add progressBar method in graphics.lua to draw
reading progress.

* add reading progress information in reading menu.
It is just a demo. Should be clean up in next release
when the real reading menu is out. :)
12 years ago
Qingping Hou 3dbf9877bc add: 90 degree rotation support
demo for issue #51
12 years ago
Dobrica Pavlinusic 3a38e81d58 exit from filechooser on BACK and HOME
This makes it easy to exit completly from document with HOME+HOME
which is much easier and intuitive than HOME+BACK
12 years ago
traycold eba1c2d5ef Merge remote-tracking branch 'hwhw/master' into djvu 12 years ago
Qingping Hou 1b1fc2b3ae integrate djvu support 12 years ago
traycold 04184a5950 improved filechooser; enable "single file" mode of kindlepdfviewer
with this mode it's possible to start kindlepdfviewer opening last
viewed file, bypassing filechooser
12 years ago
Qingping Hou 516e32bc46 mod: call different reader in reader.lua
call PDFReader or DJVUReader according to filetype
12 years ago
Qingping Hou e258371134 mod: add closePage and demo for filechooser 12 years ago
Qingping Hou 6614bbe33d mod: handle shift and alt key events in adjustKeyEvents() 12 years ago
Qingping Hou aa5806accd Merge branch 'master' of https://github.com/hwhw/kindlepdfviewer
Conflicts:
	pdfreader.lua
12 years ago
Qingping Hou 53d4016c64 fix: move shiftmode and altmode to global
now shiftmode and altmode is recoreded in Keys module.  So all the UIs
are sharing these two mode instead of remembering their own. These fix
the bug in UI switchings.

For instance, you use combo 'Alt'+'b' to fire up some menu in pdfreader,
the altmode is set, but the alt key was released after the menu show
up. Then the key release event will only be captured by the menu. So
after you exit from the menu, the altmode is still set in pdfreader,
which is not what we want.
12 years ago
HW 6698cf157c Merge pull request #21 from dpavlin/master
implement new two-column zoom mode (F)
12 years ago
Dobrica Pavlinusic 03be0680c5 correctly pass path to FileSearcher 12 years ago
Qingping Hou d81b9aa74e mod: reset search root 12 years ago
Qingping Hou ec33e51d87 fix: bug in font menu 12 years ago
Qingping Hou 15b8f4d574 mod: fontchooser and pdfreader code clean up 12 years ago
Qingping Hou 35340f27ce fix: typo 12 years ago
Qingping Hou 85cb570e88 fix: unify font changes to all menus 12 years ago
Qingping Hou 417ef640a7 Merge branch 'rotate'
Conflicts:
	filechooser.lua

* merge rotate branch with search branch
* fix font display bug in font menu

not fully tested the new rotation implemention yet.
12 years ago
Qingping Hou 060ad5cb01 finished search feature! 12 years ago
Qingping Hou f9804a1c92 searcher demo finished!
waiting for refractory.
12 years ago
Qingping Hou 32d1bede8c start working on filesearcher 12 years ago
Qingping Hou 29a9996fb2 mod: inputbox finished 12 years ago
Qingping Hou 8fdb0a4c3e add: demo for inputbox 12 years ago
Qingping Hou 262b8113f7 add: adjustFWKey(code)
adjustFWKey() will change code event for five way keys
according to current rotation mode. Add this to the
input.waitForEvent loop and your UI can navigate properly
in different rotation mode.
12 years ago
Qingping Hou 019695255d add: a demo for text input 12 years ago
Qingping Hou 9cf646b2a6 add: fontchooser 12 years ago
Qingping Hou 72f9c5690f fix: detect emu mode in rotationMode
if in emu mode, simply return 0
12 years ago
Qingping Hou a9c915dc30 Make sure rotation mode is correctly read with assert 12 years ago
Qingping Hou b69c1318a2 add: support for fle navigation after rotation
now filechooser can properly navigate through files
in rotated screen.
12 years ago
HW 0c2e6c4102 fixed bug in key naming 13 years ago
HW 7e04b9a797 fixed more bugs 13 years ago
HW c47512a01d slight refactoring of filechooser so it remembers state 13 years ago