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

79 Commits

Author SHA1 Message Date
Qingping Hou
1b2d0b71b0 fallback to stop framework approach on screensaver fix 2012-04-18 19:43:55 +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
Dobrica Pavlinusic
065d68c3a5 use refresh_mode 2012-04-16 21:55:18 +02:00
Qingping Hou
5e867d38ef show infomessage on document open 2012-04-15 14:20:26 +08:00
HW
676e4268ff display document open error message 2012-04-15 02:34:09 +02:00
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.
2012-04-09 19:04:26 +02:00
HW
a824204039 fixed missed case for device/emu recognition 2012-04-09 16:32:19 +02:00
HW
caefddb99c Merge branch 'master' of github.com:hwhw/kindlepdfviewer
Conflicts:
	crereader.lua
2012-04-09 12:36:28 +02:00
HW
877ecdfb71 switched slider handling to a fork()ed process 2012-04-09 12:29:13 +02:00
Qingping Hou
ecd56a3745 mod: prefix global variables width and height with G_ 2012-04-09 15:42:19 +08:00
Qingping Hou
1f9efe0d9c Merge branch 'master' into epub
Conflicts:
	Makefile
	unireader.lua
2012-04-07 23:09:57 +08:00
Qingping Hou
9d11916bbd mod: resume framework in kpdf.sh 2012-04-07 10:05:27 +08:00
Qingping Hou
c41e3e75a3 add: demo for fixing #85, #86 2012-04-06 13:51:37 +08:00
Qingping Hou
1593c56803 mod: add html support in crereader 2012-04-05 10:31:31 +08:00
Qingping Hou
37dfc84d5a fix: move commands initilization from global init to local
If we call addAllCommands in initGlobalSettings, all
the readers will share the same commands and we cannot
adjust commands for a specific reader. I thus moved this
method call to Unireader:init() method.
2012-03-30 14:10:04 +08:00
Qingping Hou
8a2b86e203 mod: factor last reading page saving and resotring 2012-03-30 13:07:48 +08:00
Qingping Hou
b09110a38d Merge branch 'djvu-highlight' into epub 2012-03-29 17:54:48 +08:00
Qingping Hou
4821f10dda half done demo for crengine 2012-03-29 00:09:26 +08:00
Qingping Hou
46f171df3b Merge branch 'master' of github.com:hwhw/kindlepdfviewer into djvu-highlight
Conflicts:
	unireader.lua
2012-03-21 10:52:51 +08:00
traycold
bfcad367bb using font module for getting fonts (commit f95231d789)
renamed function names using camelCase (issue #62)
2012-03-20 20:15:24 +01:00
traycold
fd6c6dbe60 Merge remote branch 'hwhw/master'
* hwhw/master:
  Password input, handling for broken documents
  factored pages count out, better error and password handling
  factored pages counter out of document struct
2012-03-20 18:40:43 +01:00
Qingping Hou
f4ea1cdb62 Merge branch 'master' of github.com:hwhw/kindlepdfviewer into djvu-highlight
Conflicts:
	blitbuffer.c
	unireader.lua
2012-03-20 10:36:35 +08:00
HW
7e3e38be62 Password input, handling for broken documents 2012-03-20 00:10:19 +01:00
traycold
c2fe6f9bee Merge remote branch 'hwhw/master'
* hwhw/master:
  make muPDF cache size configurable from Lua
  add XPS and CBZ support (muPDF provides this)
  fixed bug for odd rendering widths
  refactored muPDF integration to use strictly the fitz.h API
  forgot Makefile change when factoring out drawcontext
2012-03-19 23:21:23 +01:00
HW
48463d4739 add XPS and CBZ support (muPDF provides this) 2012-03-19 22:35:16 +01:00
Qingping Hou
7bbc5b5ed2 highlight with cursor demo 2012-03-19 21:22:45 +08:00
traycold
943b511b7c complete implementation of issue #55
created a help page
2012-03-13 22:51:25 +01:00
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. :)
2012-03-10 16:41:23 +08:00
Qingping Hou
319826c385 mod: screen rotation implemented by ioctl
Now you get a instance rotate :) With only one bug.
I have to restore to previous rotation state of the
native system after exists. Because the native system
does poll the new rotation state that changed by ioctl.

Currently, I don't know how to force the native system
to detect the changes.
2012-03-09 18:34:56 +08:00
Qingping Hou
d2aaf15dce add: screen.lua
* move rotation mode to global variable, now check rotation
with Screen.cur_rotation_mode

* move screenRotate to screen module so other UIs can use it.
2012-03-09 09:40:46 +08:00
Qingping Hou
3dbf9877bc add: 90 degree rotation support
demo for issue #51
2012-03-08 23:28:16 +08:00
Qingping Hou
f79ae48de8 add: UniReader:initGlobalSettings()
Use this method to read settings that may shared
among all readers. For instance, pan_overlap_vertical
2012-03-07 18:16:46 +08:00
Dobrica Pavlinusic
0e48785e0e fix #36: enable file path back 2012-03-06 22:11:00 +01:00
traycold
eba1c2d5ef Merge remote-tracking branch 'hwhw/master' into djvu 2012-03-05 23:36:58 +01:00
HW
917dc33985 put some missing bits into place to fix #34 2012-03-05 19:11:18 +01:00
Qingping Hou
ab2cd3ec8c mod: save jump_stack after exit 2012-03-05 10:48:03 +08:00
Qingping Hou
b318ca08e3 mod: merge djvu branch with master 2012-03-05 09:46:16 +08:00
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
2012-03-04 23:03:04 +01:00
HW
4f46f9fa7a proper exit when pressing HOME, store settings etc 2012-03-04 21:39:34 +01:00
Qingping Hou
e4e0eb45ee mod: adapt pdfreader and djvureader to unireader 2012-03-04 19:34:19 +08:00
Qingping Hou
2f9a44bfc6 code clean up for first demo 2012-03-03 22:56:54 +08:00
Qingping Hou
516e32bc46 mod: call different reader in reader.lua
call PDFReader or DJVUReader according to filetype
2012-03-03 19:51:49 +08:00
Qingping Hou
e258371134 mod: add closePage and demo for filechooser 2012-03-03 17:17:35 +08:00
Qingping Hou
4a1a5233c0 Merge branch 'master' into djvu
Conflicts:
	reader.lua
2012-03-03 17:08:06 +08:00
Qingping Hou
1713e2ab0b fix: refresh screen more elegantly after reader exit 2012-03-02 14:22:27 +08:00
Qingping Hou
c4d0cd26ae half done djvu support 2012-03-01 21:04:46 +08:00
Qingping Hou
dc3ea10fd9 initial commit for djvu 2012-02-29 22:49:52 +08:00
HW
e1a916d48c Merge pull request #16 from dpavlin/master
Open Kindle 3 volume via /dev/input/event2 so gamma change works
2012-02-27 12:33:19 -08:00
Qingping Hou
0366e8b8c2 mod: use settings module to save font configuration 2012-02-24 00:30:02 +08:00