Commit Graph

98 Commits (f70dc5486485e101938e87664d7dcbb8b828787c)

Author SHA1 Message Date
Qingping Hou f641f50e2a add comment for build version reading in the future 12 years ago
Qingping Hou 6c0670740d revert wrong conflict merge for New InfoMessage Concept 12 years ago
NuPogodi 0eaf2671fd New InfoMessage Concept
Part I (still no unireader, crereader, filesearcher & fileinfo)

Conflicts:

	commands.lua
	dialog.lua
	filechooser.lua
	filehistory.lua
	font.lua
	inputbox.lua
	reader.lua
	resources/info-i.png
	screen.lua
	selectmenu.lua
12 years ago
Tigran Aivazian 7894b15511 Tidy up debug support.
1. Make "-d" switch passed to reader.lua enable all debugging
2. Enable debugging for now (development stage) to preserve the current
behaviour. But for the production release I advise to: a) disable it by
not passing "-d" and b) redirect standard output (not just standard
error) of reader.lua to crash.log in kpdf.sh
3. Comment out debug printf()s in pdf.c

Conflicts:

	reader.lua
12 years ago
Qingping Hou ac385783ed remove menu item shortcut for k4 12 years ago
Qingping Hou 4c71c628d3 release input devices on reader exit 12 years ago
Qingping Hou 84c435ebdc use getProvider and openDocument in reader.lua
we use getProvider for file extension filter
12 years ago
Qingping Hou 07d6f66565 fix screen rotation mode restore for native system 12 years ago
Qingping Hou 379d6216a0 read reader settings in reader.lua 12 years ago
Qingping Hou bb450c81d4 read arguemtns in reader.lua 12 years ago
HW 5025be971d separated dialog.lua into source files for each individual function 12 years ago
HW 1e9fdd818f a new base file for the reader in new_ui_code branch 12 years ago
HW 9e531fc2db file reorganisation
all lua frontend files are now in the frontend/ directory.
all old code is cleaned up.
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 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
12 years ago
Qingping Hou c4bd2a1046 add debug argument to reader.lua
Without -d argument, all the debug message will
be suppressed.
12 years ago
Qingping Hou 3306346dba use debug to print debug info 12 years ago
Qingping Hou 1b2d0b71b0 fallback to stop framework approach on screensaver fix 12 years ago
Qingping Hou fa414af1eb handle obselete jumpstack settings
* remove jumpstack settings if found
* add DocSettings:delSetting method
* rename DocSettings:savesetting to
  DocSettings:savesetting.
12 years ago
Qingping Hou 84fe9f49a4 rewrite jump stack and add bookmark feature
* jump stack is rewritten as jump history
* add bookmark feature
12 years ago
Dobrica Pavlinusic 065d68c3a5 use refresh_mode 12 years ago
Qingping Hou 5e867d38ef show infomessage on document open 12 years ago
HW 676e4268ff display document open error message 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
HW a824204039 fixed missed case for device/emu recognition 12 years ago
HW caefddb99c Merge branch 'master' of github.com:hwhw/kindlepdfviewer
Conflicts:
	crereader.lua
12 years ago
HW 877ecdfb71 switched slider handling to a fork()ed process 12 years ago
Qingping Hou ecd56a3745 mod: prefix global variables width and height with G_ 12 years ago
Qingping Hou 1f9efe0d9c Merge branch 'master' into epub
Conflicts:
	Makefile
	unireader.lua
12 years ago
Qingping Hou 9d11916bbd mod: resume framework in kpdf.sh 12 years ago
Qingping Hou c41e3e75a3 add: demo for fixing #85, #86 12 years ago
Qingping Hou 1593c56803 mod: add html support in crereader 12 years ago
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.
12 years ago
Qingping Hou 8a2b86e203 mod: factor last reading page saving and resotring 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 46f171df3b Merge branch 'master' of github.com:hwhw/kindlepdfviewer into djvu-highlight
Conflicts:
	unireader.lua
12 years ago
traycold bfcad367bb using font module for getting fonts (commit f95231d789)
renamed function names using camelCase (issue #62)
12 years ago
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
12 years ago
Qingping Hou f4ea1cdb62 Merge branch 'master' of github.com:hwhw/kindlepdfviewer into djvu-highlight
Conflicts:
	blitbuffer.c
	unireader.lua
12 years ago
HW 7e3e38be62 Password input, handling for broken documents 12 years ago
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
12 years ago
HW 48463d4739 add XPS and CBZ support (muPDF provides this) 12 years ago
Qingping Hou 7bbc5b5ed2 highlight with cursor demo 12 years ago
traycold 943b511b7c complete implementation of issue #55
created a help page
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 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.
12 years ago
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.
12 years ago