2
0
mirror of https://github.com/koreader/koreader synced 2024-11-13 19:11:25 +00:00
Commit Graph

4421 Commits

Author SHA1 Message Date
Dobrica Pavlinusic
0d9de55944 modify_gamma now use cache correctly
This exposed small bug in checkcache which checked just page no
which didn't get invalidated when closing page, so we now check if page
is also not nil
2011-11-20 00:32:18 +01:00
HW
4f888ca267 Merge pull request #5 from dpavlin/gamma
Change gamma using keypresses, still needs cache invalidation
2011-11-17 10:08:21 -08:00
Dobrica Pavlinusic
1d7dc7ffee naive modify_gamma implementation 2011-11-17 18:37:08 +01:00
Dobrica Pavlinusic
0bff614525 device emu for emulated /tmp/input 2011-11-17 18:25:15 +01:00
HW
fad798bf28 Merge pull request #4 from dpavlin/master
make long-form --goto page work again
2011-11-17 04:31:30 -08:00
Dobrica Pavlinusic
f56c122e49 make long-form --goto page work 2011-11-17 11:58:49 +01:00
HW
c6e491ad11 accidently enabled PDF tracing output, revert that. 2011-11-17 00:52:07 +01:00
HW
4e037e44f5 more makefile love: compile everything in one go
now - after fetching third party sources - you can
compile everything via

make

or

EMULATE_READER=1 make

in one go.
2011-11-17 00:50:10 +01:00
HW
32b85d2035 reader.lua changes to reflect new emulator 2011-11-17 00:14:36 +01:00
Dobrica Pavlinusic
716d81a28b add missing d (device) option 2011-11-17 07:09:37 +08:00
Dobrica Pavlinusic
83cfaad621 added --goto page comamnd-line argument 2011-11-17 07:08:57 +08:00
HW
7fafc61bb8 debug output leftover removed 2011-11-17 00:04:15 +01:00
HW
f78776a4d5 changes on building (clean-up) and emulation code
cleaned up Makefile a bit and made emulation related
parts really conditional on a single flag (EMULATE_READER).
2011-11-16 23:52:26 +01:00
HW
8fa7bdb9e9 reflect recent changes in README 2011-11-16 23:51:55 +01:00
HW
2a789efefb changed/enabled reader device emulation
The sources can now conditionally compile emulation code
for the e-ink framebuffer and input events.
It uses SDL for doing that, so you need this installed
if you want to use emulation (you do not need it if you're
only compiling for the e-ink device).
This allows for rapid testing of new code.
2011-11-16 23:50:00 +01:00
HW
d10b73d81a fixed non-initialization bug for dc->gamma 2011-11-16 17:26:34 +01:00
HW
ade5c4892d better argument parsing and option for gamma correction
included MIT-licensed alt_getopt implementation:
http://files.luaforge.net/releases/alt-getopt/alt-getopt/alt-getopt-0.7.0

created example use of gamma correction.

reader.lua now has usage notes for its invocation syntax.
2011-11-16 17:13:08 +01:00
HW
c1476e94c9 included Linux kernel API header file for eink display 2011-11-16 15:59:37 +01:00
HW
447b9fe2b5 added gamma setting to drawcontext
usage in Lua:
dc:setGamma(1.5)
print(dc:getGamma())

set it to a negative value to disable gamma correction
(since gamma correction will always imply calculations
over the full buffer data).
2011-11-16 01:56:37 +01:00
HW
10a8d59882 oops, Makefile wasn't in initial import. 2011-11-14 19:17:14 +01:00
HW
0c24e3c7e0 initial project, basic reader working 2011-11-14 18:30:16 +01:00