Commit Graph

70 Commits (6fba40cc772c55d2a2f0431852db7823082b369b)

Author SHA1 Message Date
chrox 6fba40cc77 use mupdf to handle zipped image files 10 years ago
chrox 3b1e05bb7f switch to setIntProperty api for setting page margins 10 years ago
chrox 6bf1a9d033 use setStringProperty method to set font face
This should fix #569.
10 years ago
chrox 30e6b3529b hide Nimbus fonts in font selecting dialog 10 years ago
chrox 775e5ea3b4 serialize the most recently used blitbuffer/koptcontext
to speedup koreader startup for PDF/DJVU documents
especially when reflowing
10 years ago
Qingping Hou 4b357c1466 move reader code into frontend/apps/reader
it makes more sense to completely separate the UI framework and
application code

also move frontend/ui/configurable.lua to frontend/configurable.lua
10 years ago
chrox 92219a1f1e cleanup: expand tab to 4 spaces 10 years ago
chrox 560444c168 add fallback_font option in G_reader_settings 10 years ago
chrox 9f507e6447 add 'full/mini' options for progress bar of crereader 10 years ago
chrox bfff863861 fix cannot highlight hyphenated words in crereader 10 years ago
chrox 9e3e070522 check link on the fly when tapping 11 years ago
chrox e947f83548 fix dogear not shown properly in crereader 11 years ago
chrox 637904a711 add text highlight for credocument
Three highlight drawers "lighten", "underscore" and "invert" are
available in reader menu.
This should implement #176.
11 years ago
chrox 3275413366 add missing registry for fb2 document 11 years ago
chrox 1329f10fa5 add goto link function for CreDocument 11 years ago
chrox a6e885e77d show battery icon in crereader page header 11 years ago
chrox 865815b42b set visible page count when loading document 11 years ago
chrox 23982b185e add debug information in credocument api 11 years ago
chrox 210293b561 add floating punctuation option for crereader
Luckily after disabling floating punctuation left/right margin
are able to be same now (with large enough margins, should be
more than 1em). So I also changed the default page margins for
crereader and removed the dirty hack.
11 years ago
chrox 14e94f39a4 explicitly call free method of Blitbuffer 11 years ago
chrox 62e12ddfba import document module on-demand 11 years ago
chrox 3b9eaafadd add dictionary lookup in crereader 11 years ago
HW 09cd5c4104 Make DEBUG a require()d local 11 years ago
HW 748a443cd5 Merge remote-tracking branch 'upstream/master'
resolved conflicts with refactored structure
11 years ago
HW 2154e7e852 Further refactoring
This should finish the work to make all globals to local variables.
That allows LuaJIT to properly compile things by interning the
references to the relevant parts (rather than looking up globals
all the time which stops a trace).
11 years ago
HW ef111b99c6 Refactored to use strictly locals 11 years ago
Qingping Hou 10bf048d77 move configurable to Document class
since every document type is depend on it now
11 years ago
chrox c86bb46ef7 add gotoLocation for credocument 11 years ago
chrox 506dbed865 save cre3.ini on closing each credocument
and page margin settings will be restored before rendering.
This patch should fix #299.
11 years ago
chrox 32ffacdf77 adjust font sizes in credocument according to screen dpi
and font sizes list is moved to defaults.lua
11 years ago
Qingping Hou a8a589c27b only set two pages mode for crengine in kindle dxg 11 years ago
chrox 94526fa26d add page margin options in CREOptions 11 years ago
Qingping Hou 1783b16d69 credoc fix: load metadata info after document is rendered 11 years ago
chrox 22b650d0c7 move kopt/cre options into ui/data directory & wrap strings in config options 11 years ago
Qingping Hou 09e1c0af06 add gettext to document modules 11 years ago
Qingping Hou c5ff50abdf remove trailing spaces 11 years ago
chrox 87eec1b539 save/restore view mode and embedded css mode 11 years ago
chrox df7f7714e4 remove default options in KoptOptions and CreOptions 11 years ago
Qingping Hou ae6c4bd03a Merge branch 'new_ui_code' of github.com:hwhw/kindlepdfviewer into rotate
Conflicts:
	frontend/ui/reader/readerconfig.lua
11 years ago
Qingping Hou f91c913530 set default_arg for screen_mode option on runtime 11 years ago
Qingping Hou 0dba667937 rename setScreenViewMode to setScreenMode 11 years ago
chrox a1aa41136c add manual page crop for pdf/djvu documents 11 years ago
Qingping Hou 2d9534e092 add screen rotate to readerconfig 11 years ago
Qingping Hou 6d8ebb4126 adapt credocument to new changes in cre.cpp 12 years ago
Qingping Hou 65910b2017 add default_css to credocument 12 years ago
Qingping Hou 6c4da43dbf add setStyleSheet method to credocument 12 years ago
Qingping Hou 93d3aea905 pass filename properly for zipped fb2 in CreDocument:init() 12 years ago
Qingping Hou 874890aaec save and restore gamma_index for crengine 12 years ago
Qingping Hou 02ea5f1fbf read header font from config 12 years ago
Qingping Hou 687aabc173 adapt ui to loadDocument before setFont 12 years ago