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
8f53571e06
No need for lulip to be global
2013-08-19 11:07:19 -03:00
Paulo Matias
2492ca247a
Use ffi/lulip.lua from koreader-base; change package.path
2013-08-19 10:58:42 -03:00
Huang Xin
2e8b5cb39c
Merge pull request #215 from houqp/houqp-master
...
check frontlight before setting intensity
2013-08-14 03:54:43 -07:00
Huang Xin
4e83288040
Merge pull request #214 from houqp/filemanager
...
bug fix in class system & rewrite filemanager
2013-08-14 03:39:36 -07:00
Qingping Hou
f65ae9a2b5
check frontlight before setting intensity
2013-08-14 06:34:12 -04:00
Qingping Hou
caf7ebb9ae
bug fix & rewrite filemanager
2013-08-14 05:29:05 -04:00
Paulo Matias
e45442c1f6
Refactor Kobo frontlight_intensity restoration: move to reader.lua
2013-08-13 13:56:46 -03:00
Paulo Matias
aaa646aa56
Only assign DEBUG to a no-op function if Dbg.is_on==false
2013-08-10 11:16:02 -03:00
Paulo Matias
cc9f9cce4d
Added LuaJIT profiling support (lulip), better cmdline option handling.
2013-08-06 11:53:44 -03:00
Qingping Hou
561c7902ca
move defaults.lua to root directory
2013-07-01 02:55:28 -04:00
chrox
313525e961
add cpath in reader.lua
2013-04-21 16:49:00 +08:00
Qingping Hou
fb16790958
add gettext to inputevent.lua
2013-04-08 14:45:04 +08:00
Huang Xin
e42c8f7956
Merge pull request #36 from houqp/houqp-master
...
add gettext support
2013-04-07 21:41:14 -07:00
Qingping Hou
15a409245a
use gettext in reader.lua
2013-04-07 16:13:08 +08:00
th0mass
e1684cae77
file manager close button is activated
...
since home menu doesn't work properly we need a solid close button on file manager to exit from the app on Touch.
https://github.com/koreader/koreader/issues/15
2013-04-07 10:22:01 +03:00
HW
0c4264b065
updated project URLs
2013-03-24 20:08:24 +01:00
HW
fb317810fa
Some adaptions needed after refactoring
2013-03-24 15:08:42 +01:00
chrox
f85fd7a9b2
bugfix: terminate the program when exiting reader
2013-03-23 17:22:49 +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
Qingping Hou
595392e841
remove debug information
2013-03-16 14:37:56 -04:00
Qingping Hou
d3e362a551
use show_parent in reader.lua
2013-03-16 14:17:42 -04:00
Qingping Hou
b2f0fe1c5d
when kpdf.sh start with no argument, it will actuall pass in ""
2013-03-15 22:12:19 -04:00
Qingping Hou
8dd9e1ec5e
forgot to add exitReader at the end
2013-03-15 22:02:08 -04:00
Qingping Hou
1f9adcbb91
add exitReader so we can save G_reader_settings properly
2013-03-15 21:54:49 -04:00
Qingping Hou
10d980ed87
rearranged source tree
2013-03-13 01:18:53 +08:00
Qingping Hou
9fa6ec2a0c
listen home key press in filechooser
2013-03-12 23:28:55 +08:00
Qingping Hou
f22b2301fa
add last documents menu entry
2013-03-12 12:51:00 +08:00
Qingping Hou
186712d401
add ev log in debug mode
2013-02-24 15:10:11 +08:00
chrox
905b315c81
hide certain directories in FileManager
...
The exclude pattern should be editable by users in the future.
2013-02-19 21:30:35 +08:00
Qingping Hou
ae6c4bd03a
Merge branch 'new_ui_code' of github.com:hwhw/kindlepdfviewer into rotate
...
Conflicts:
frontend/ui/reader/readerconfig.lua
2013-02-04 15:00:17 +08:00
Qingping Hou
2090dabf22
add menu to FileManager
2013-02-03 03:41:35 +08:00
Qingping Hou
dd7e26a986
fix crash in goint into screen saver
2013-02-02 16:37:48 +08:00
Qingping Hou
f568ee4139
remove unnecessary framecontainer in reader.lua
2012-12-15 09:31:03 +08:00
Qingping Hou
27ec17b405
only echo to /proc/keypad for K3 and DXG
2012-12-12 10:02:32 +08:00
Qingping Hou
1b7357fc0f
add Device:hasKeyboard to help initialize UI components
...
So that kindle4 won't have all the gesture event registered.
2012-12-10 19:01:32 -05:00
Qingping Hou
d4e5b4cb06
add readerpaging and readermenu touch support
2012-11-11 15:25:49 +08:00
Qingping Hou
c90e2ae797
delete dulplicate code
2012-11-04 11:20:28 +08:00
Qingping Hou
75f2c2774f
fix getopt module clearance in reader.lua
2012-10-31 22:15:02 -04:00
Qingping Hou
2b185961e8
remove getopt lua module in reader.lua
2012-10-31 22:02:53 -04:00
Qingping Hou
f641f50e2a
add comment for build version reading in the future
2012-10-09 16:14:09 -04:00
Qingping Hou
6c0670740d
revert wrong conflict merge for New InfoMessage Concept
2012-10-02 21:21:59 -04:00
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
2012-10-02 21:03:56 -04:00
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
2012-09-25 11:01:10 -04:00
Qingping Hou
ac385783ed
remove menu item shortcut for k4
2012-06-27 16:26:06 +08:00
Qingping Hou
4c71c628d3
release input devices on reader exit
2012-06-12 22:48:57 +08:00
Qingping Hou
84c435ebdc
use getProvider and openDocument in reader.lua
...
we use getProvider for file extension filter
2012-06-12 14:38:52 +08:00
Qingping Hou
07d6f66565
fix screen rotation mode restore for native system
2012-06-12 12:13:51 +08:00
Qingping Hou
379d6216a0
read reader settings in reader.lua
2012-06-12 12:10:44 +08:00
Qingping Hou
bb450c81d4
read arguemtns in reader.lua
2012-06-12 00:37:58 +08:00