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

63 Commits

Author SHA1 Message Date
Qingping Hou
b0682b0470 chore: code clean up 2014-10-26 03:05:17 -04:00
Qingping Hou
c1c3bcb3fe fix: various fixes for kindle dxg 2014-10-20 02:17:57 -04:00
Frans de Jonge
629c32f6ba Changes for Kobo Aura H2O. 2014-10-15 18:28:13 +02:00
Qingping Hou
16b393ff47 chore(device.lua): remove frontlight hack for kobo 2014-10-07 01:32:04 -04:00
chrox
14e2bf3d69 refatoring: lazy loading of packages 2014-10-03 16:13:34 +08:00
chrox
3bd2c0756a always suspend in portrait mode so that screensaver image won't be stretched
This patch should fix #886.
2014-09-10 15:52:18 +08:00
WS64
a3fad804e3 Bring back the two KOBO variables for the light
This should close #856.
Although still closed I will check this one back with someone from the German forum, I hope this also closes #822, but there might be still some problems with the light-bug introduced in Kobo's firmware 3.5. But since 822 is already in the state closed we can leave things as they are for now and I will reopen 822 if necessary.
2014-08-27 12:40:56 +02:00
chrox
40bddf0735 emulate Power button with F2 on emulator 2014-08-26 18:10:26 +08:00
WS64
24af13e1c3 Full refresh after suspend 2014-08-15 22:07:01 +02:00
chrox
b7c7287bab remove more global variables 2014-08-14 19:52:30 +08:00
NiLuJe
5354fead70 Handle the new 4GB PW2 models 2014-08-01 19:32:24 +02:00
chrox
bb9426038f add API to query battery status on Android 2014-07-15 16:23:57 +08:00
NiLuJe
a2cf015545 Detect the EU 4GB WiFi PW2 2014-07-08 00:15:41 +02:00
NiLuJe
834ff9a1fb Don't fake the swipe to unlock if not needed.
Re: #695
2014-07-04 05:16:28 +02:00
NiLuJe
9132f520c7 Add the last missing PW2 model. 2014-07-04 03:53:26 +02:00
pazos
ccfc6e0bc5 clean crash.log for kobos 2014-07-03 20:55:45 +02:00
Qingping Hou
f7766d9606 feature(device): add isKindle method 2014-06-26 13:48:59 -04:00
chrox
613c66aa73 key event map for Android 2014-06-10 21:33:31 +08:00
pazos
b690d6aa95 standarize script names for kobos 2014-06-09 20:51:25 +02:00
chrox
f9215a3a04 use android config interface to detect device keyboard and screen dpi 2014-06-02 23:50:19 +08:00
Hans-Werner Hilse
0244ba7053 Claim that Android devices do not have a keyboard
For now, we can probably live better with the assumption that
Android devices do not have keyboards. That should be replaced
by an actual check, though.
2014-06-02 17:25:11 +02:00
chrox
9f9acbbffb android fix of screenshot 2014-05-28 23:22:03 +08:00
chrox
3520e0c47e partially working android build
Now the Android build should read PDF and EPUB documents
with limited gestures recognized such as "tap" and "swipe"
2014-05-28 12:57:59 +08:00
chrox
0a4a092d12 initial commit for android port of koreader
This PR just shows how far we have went to
the android port. There is still a few steps before a running
android port.
2014-05-26 23:39:10 +08:00
chrox
71eda7a0ca busted test for frontend 2014-05-15 16:11:26 +08:00
chrox
92219a1f1e cleanup: expand tab to 4 spaces 2014-03-13 21:52:43 +08:00
chrox
92b62c907a refactoring frontlight device to more generic power device 2014-01-04 21:38:07 +08:00
chrox
3ee2c758ec fix lost of frontlight intensity after exiting kobo
This should fix #243.
2013-12-28 14:30:44 +08:00
chrox
998193aa7b add detection of more 3G Paperwhite 2 models 2013-12-01 21:06:33 +08:00
chrox
88c2307c14 fix kindle paperwhite2 support
reported at http://www.mobileread.com/forums/showpost.php?p=2696481&postcount=316
tested at http://www.hi-pda.com/forum/redirect.php?goto=findpost&ptid=1078988&pid=23393929
2013-11-25 23:30:54 +08:00
NiLuJe
3754ca1ec3 Crappy rework of the model detection on Kindle.
In case it wasn't obvious, I badly suck at lua :D.
2013-11-23 00:09:37 +01:00
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).
2013-10-22 17:11:31 +02:00
HW
ef111b99c6 Refactored to use strictly locals 2013-10-18 22:38:07 +02:00
chrox
3934176b6c emulator has keyboard now 2013-10-13 15:28:40 +08:00
Giorgio Micotti
a6f28c4aab Add clarifying comments 2013-09-30 22:17:22 +02:00
Giorgio Micotti
a2ff9b9a9b Final fixes for kobo suspend 2013-09-30 21:48:46 +02:00
Giorgio Micotti
cea40ec902 Fixes for light. 2013-09-09 21:30:29 +02:00
Giorgio Micotti
ec3d23ef10 Split suspend-resume logic 2013-09-09 12:30:27 +02:00
Giorgio Micotti
be1a637c3b DO NOT MERGE initial suspend support for Kobo 2013-09-09 09:04:09 +02:00
Paulo Matias
d7b747d6dd Change util.isEmulated to boolean and fix frontlight
Device:hasFrontlight always returned a true-like value because util.isEmulated was an integer.
Fixed this, also, used a polymorphic object design to reduce FrontLight code, and
adapted BaseFrontLight for the emulator.
2013-08-22 10:10:29 -03:00
Paulo Matias
e45442c1f6 Refactor Kobo frontlight_intensity restoration: move to reader.lua 2013-08-13 13:56:46 -03:00
Paulo Matias
81facc2ce9 Refactor min/max handling in BaseFrontLight; use getFrontlight() in ReaderFrontLight for consistency 2013-08-12 09:37:41 -03:00
Paulo Matias
3f3fba2fdf Big refactoring: Device handles frontlight device, ReaderFrontLight now only GUI 2013-08-12 02:13:28 -03:00
Giorgio Micotti
a145ee19aa Add firmware detection for kobo, adjust input accordingly. 2013-08-08 12:09:43 +02:00
Giorgio Micotti
cea353323e Initial light control widget; final fixes for kobo light 2013-08-05 23:06:26 +02:00
Giorgio Micotti
c91e3834bb Added detection of single kobo models. Also a script to launch koreader is included and the related Makefile changes. 2013-07-10 09:10:38 +02:00
Giorgio Micotti
eed989b349 Add support for Kobo runtime detection, and its single touch protocol. 2013-06-11 21:54:36 +02:00
chrox
5b3aedbea5 save model information for later retrieval 2013-04-30 13:47:30 +08:00
Qingping Hou
1fe2e5c377 use DroidSansFallback for all major fonts
we need DroidSansFallback for internalization :)
2013-04-07 16:34:06 +08:00
chrox
819467df0b bugfix: hack swipe to unlock after going out of screensaver
by feeding a fake tap at the bottom of the screen
2013-03-17 19:33:59 +08:00