Qingping Hou
3623ad9afb
Merge branch 'master' of github.com:hwhw/kindlepdfviewer
2012-10-02 21:39:27 -04:00
{Qingping,Dave} Hou
e5a2ac4344
Merge pull request #354 from NiLuJe/master
...
Misc kpdf.sh fixes after #348 & #352
2012-10-02 18:39:00 -07:00
Qingping Hou
44a4e32c93
add HOSTAR for emu mode complie
2012-10-02 21:37:55 -04:00
Qingping Hou
9127d1c9a1
add popennslib to cleanthirdparty
2012-10-02 21:37:48 -04:00
NiLuJe
a3be10bb96
Reimplement kpdf.sh changes from PR#348 after the PR#352 merge, and fix
...
customupdate to actually bundle kpdf.sh in the new location
2012-10-03 03:02:41 +02:00
Qingping Hou
f37d6a647f
Merge branch 'master' of github.com:hwhw/kindlepdfviewer
2012-10-02 20:43:08 -04:00
{Qingping,Dave} Hou
c628100958
Merge pull request #348 from NiLuJe/input-close-fix
...
Fix input.closeAll & don't leave zombie lipc-wait-event processes
2012-10-02 17:42:35 -07:00
{Qingping,Dave} Hou
e846f2089b
Merge pull request #352 from hwhw/NuPogodi-InfoMessages
...
New InfoMessage Concept
2012-10-02 17:42:07 -07:00
{Qingping,Dave} Hou
ab93d91056
Merge pull request #350 from dpavlin/debug_only_page_indicator
...
show reneding page_indicator only in debug mode
2012-10-02 17:37:02 -07:00
Qingping Hou
d2a1033baf
set full screen refresh on every page turn
2012-10-02 20:17:36 -04:00
NiLuJe
c7fa11e7e9
Slight syntax tweak
2012-10-03 01:46:56 +02:00
NiLuJe
9acdedcaeb
Forgot to revert that too, useless now :).
2012-10-03 01:41:32 +02:00
NiLuJe
a2ce5dd101
Hello, tiny stupid typo!
2012-10-03 01:37:20 +02:00
NiLuJe
3c181ead77
Actually, no that's wrong, it's not the parent process, it's a fork.
2012-10-03 01:23:34 +02:00
NiLuJe
8b45833e2d
Kill a bit of cruft, explain the reasonning behind the kill/traps, and
...
fix a potential buffering issue eating the first slider event
2012-10-03 01:17:21 +02:00
NuPogodi
00c1f2ec9c
New InfoMessage Concept
...
Part I (still no unireader, crereader, filesearcher & fileinfo)
2012-10-03 00:45:45 +02:00
NiLuJe
7bc80277e4
Don't checkout popen_noshell twice (it reverts parts of our patch)
2012-10-03 00:36:50 +02:00
NiLuJe
4356622186
Don't patch popen-noshell twice
2012-10-03 00:34:42 +02:00
NiLuJe
9cc106995d
Properly fix the luajit *FLAGS mess
2012-10-03 00:29:10 +02:00
Dobrica Pavlinusic
ccff5c899d
show reneding page_indicator only in debug mode
...
This addresses performance degradation because of two e-ink refreshes
introduced by this feature #349
2012-10-03 00:16:45 +02:00
NiLuJe
ffe7be7085
Merge remote-tracking branch 'upstream/master'
2012-10-02 23:51:03 +02:00
NiLuJe
76714c453a
Restore Makefiles tweaks
2012-10-02 23:50:34 +02:00
NiLuJe
4522b062cc
Merge branch 'input-close-fix'
2012-10-02 23:45:44 +02:00
NiLuJe
d0573049c9
Ignore untracked popen_noshell stuff
2012-10-02 23:33:59 +02:00
NiLuJe
5c76ef0f78
Fetch popen_noshell during fetchthirdparty, don't bundle it in our repo
2012-10-02 23:30:12 +02:00
Dobrica Pavlinusic
53a60495b5
use git describe to generate version
...
Last release had git annotate tag (added with git -a) so this is
now much better alternative to just git sha1
2012-10-02 23:24:13 +02:00
Dobrica Pavlinusic
6325183dc3
Revert "don't preCache in two column mode"
...
This reverts commit 4d187aad4e
.
2012-10-02 23:22:06 +02:00
NiLuJe
4e861715e3
Fix a stupid typo
2012-10-02 23:21:14 +02:00
NiLuJe
3f5fe1e991
Use popen_noshell as a static lib instead of an object file. Use CHOST
...
instead of HOST (and allow it to be set from the env), use $(MAKE)
instead of make to allow using the jobserver properly, and remove the
dash from commands where we do care about the return code (or inhibit
errors the usual way: rm -f instead of -rm)
2012-10-02 23:18:28 +02:00
NiLuJe
8e7f4ba989
Add a small makefile to build popen_noshell as a static lib
2012-10-02 23:10:55 +02:00
NiLuJe
44f69b55cd
Revert Makefile changes potentially unsuitable for upstream
2012-10-02 03:29:31 +02:00
NiLuJe
6b245b9c80
Update the standalone testcase, too.
2012-10-02 03:11:16 +02:00
NiLuJe
9fab02e33f
Kill debug printf
2012-10-02 02:25:08 +02:00
NiLuJe
d27f20d696
Fix input device closing, and fix lipc-wait-event handling (using
...
popen-noshell from http://code.google.com/p/popen-noshell/ )
2012-10-02 02:16:22 +02:00
NiLuJe
1a746d6e8f
Makefile tweaks for my TC
2012-10-02 02:09:43 +02:00
{Qingping,Dave} Hou
3bd8c5c9f4
Merge pull request #345 from tigran123/master
...
Build optimizations.
2012-10-01 14:09:39 -07:00
Tigran Aivazian
0c1eb1109e
Be minimalistic wrt LDFLAGS
...
Passing CFLAGS and LDFLAGS to kpdfview link stage has no effect in our
particular case, so I ripped it out, leaving it only for the crengine.
2012-10-01 21:05:23 +01:00
Tigran Aivazian
b6936f9dc5
Merge remote-tracking branch 'upstream/master'
2012-10-01 16:49:16 +01:00
Tigran Aivazian
13d686f438
Merge pull request #347 from dpavlin/last_globalzoom_mode_invalidation
...
reset last_globalzoom_mode on setglobalzoom_mode #346
2012-10-01 08:48:06 -07:00
Dobrica Pavlinusic
2fc0cb2ddd
reset last_globalzoom_mode on setglobalzoom_mode #346
2012-10-01 15:50:15 +02:00
Tigran Aivazian
2fefc96b79
Enable LTO for kpdfview and crengine
...
Enaling link time optimizations for kpdfview binary and crengine library
causes another slight performance increase --- almost negligible (1-2ms
per page) but still noticeable by precise measurements.
2012-10-01 12:35:16 +01:00
Tigran Aivazian
d2e3558add
ARM-specific optimizations
...
Thanks to NiLuJe who pointed out that our generic -march=armv6 can be
replaced (for K2/K3/DX/DXG) with a more specific optimization:
-march=armv6j -mtune=arm1136jf-s -mfpu=vfp. This I have now done and
also passed ARM_CFLAGS value to CXXFLAGS which is then passed to
crengine build. Tested, works fine. The performance improvement is
negligible (a few ms per page, but seems to be consistently better, i.e.
not just plus/minus fluctuations).
2012-10-01 12:09:13 +01:00
Tigran Aivazian
5459cb18ae
Build mupdf in release mode, not debug.
...
Thanks to NiLuJe who pointed out that we are building mupdf in debug
mode. Switching to "release" build reduced the size of the kpdfview
binary and did not cause any performance degradation (but no noticeable
improvement either --- the page handling times seem to be exactly the
same, i.e. fluctuating a couple of ms in both directions).
2012-10-01 10:49:31 +01:00
{Qingping,Dave} Hou
69e43d1c4d
Merge pull request #343 from dpavlin/preCache
...
don't preCache in two column mode
2012-09-30 13:26:42 -07:00
{Qingping,Dave} Hou
fcecd1425a
Merge pull request #344 from tigran123/master
...
Restrict the values of rcountmax to the range 0 to 10.
2012-09-30 13:26:03 -07:00
Tigran Aivazian
72f669ff3c
Don't allow floating point values for rcountmax
...
This is a better version of the previous commit, which:
a) makes the code more readable
b) disallows rcountmax values like "6.05", i.e. restricts to integers
only.
2012-09-30 18:28:10 +01:00
Tigran Aivazian
79c1dd44ca
Restrict the values of rcountmax to the range 0-10
...
Currently the user can enter any value like -10 and it is accepted and
saved in the settings file(s).
2012-09-30 16:06:55 +01:00
Dobrica Pavlinusic
4d187aad4e
don't preCache in two column mode
...
This also cleanups code to make it easier to follow chaning logic
a bit to generate useful Debug messages
2012-09-30 16:18:16 +02:00
Tigran Aivazian
72b064fa9a
Merge remote-tracking branch 'upstream/master'
2012-09-30 10:23:39 +01:00
{Qingping,Dave} Hou
a8197950d0
Merge pull request #342 from dpavlin/ZOOM_FIT_TO_CONTENT_WIDTH_PAN
...
ZOOM_FIT_TO_CONTENT_WIDTH_PAN pan centers page
2012-09-29 15:51:22 -07:00