Commit Graph

  • 4310b68b3b Don't checkout popen_noshell twice (it reverts parts of our patch) NiLuJe 2012-10-03 00:36:50 +0200
  • 84e107313c Don't patch popen-noshell twice NiLuJe 2012-10-03 00:34:42 +0200
  • 8250d77390 Properly fix the luajit *FLAGS mess NiLuJe 2012-10-03 00:29:10 +0200
  • 3672d79fef Restore Makefiles tweaks NiLuJe 2012-10-02 23:50:34 +0200
  • 0a14cf7eac Ignore untracked popen_noshell stuff NiLuJe 2012-10-02 23:33:59 +0200
  • 10c9b3a58c Fetch popen_noshell during fetchthirdparty, don't bundle it in our repo NiLuJe 2012-10-02 23:30:12 +0200
  • 18ed67ba2c Fix a stupid typo NiLuJe 2012-10-02 23:21:14 +0200
  • ead342926c 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) NiLuJe 2012-10-02 23:18:28 +0200
  • cb03b33052 Add a small makefile to build popen_noshell as a static lib NiLuJe 2012-10-02 23:10:55 +0200
  • ee7122d6c4 Revert Makefile changes potentially unsuitable for upstream NiLuJe 2012-10-02 03:29:31 +0200
  • 7ce8ff58f8 Update the standalone testcase, too. NiLuJe 2012-10-02 03:11:16 +0200
  • 1d29b53b84 Kill debug printf NiLuJe 2012-10-02 02:25:08 +0200
  • 26e10c6069 Fix input device closing, and fix lipc-wait-event handling (using popen-noshell from http://code.google.com/p/popen-noshell/) NiLuJe 2012-10-02 02:16:22 +0200
  • acae9e618b Makefile tweaks for my TC NiLuJe 2012-10-02 02:09:43 +0200
  • f37d6a647f Merge branch 'master' of github.com:hwhw/kindlepdfviewer Qingping Hou 2012-10-02 20:43:08 -0400
  • c628100958 Merge pull request #348 from NiLuJe/input-close-fix {Qingping,Dave} Hou 2012-10-02 17:42:35 -0700
  • e846f2089b Merge pull request #352 from hwhw/NuPogodi-InfoMessages {Qingping,Dave} Hou 2012-10-02 17:42:07 -0700
  • ab93d91056 Merge pull request #350 from dpavlin/debug_only_page_indicator {Qingping,Dave} Hou 2012-10-02 17:37:02 -0700
  • c6ead8690e use git describe to generate version Dobrica Pavlinusic 2012-10-02 23:24:09 +0200
  • 47e5065d6a 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. Tigran Aivazian 2012-10-01 21:05:23 +0100
  • d5fb6c846f 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. Tigran Aivazian 2012-10-01 12:35:16 +0100
  • 15baa52889 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). Tigran Aivazian 2012-10-01 12:09:13 +0100
  • 5dc488e8c8 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). Tigran Aivazian 2012-10-01 10:49:31 +0100
  • d2a1033baf set full screen refresh on every page turn Qingping Hou 2012-10-02 20:17:36 -0400
  • c7fa11e7e9 Slight syntax tweak NiLuJe 2012-10-03 01:46:56 +0200
  • 9acdedcaeb Forgot to revert that too, useless now :). NiLuJe 2012-10-03 01:41:32 +0200
  • a2ce5dd101 Hello, tiny stupid typo! NiLuJe 2012-10-03 01:37:20 +0200
  • 3c181ead77 Actually, no that's wrong, it's not the parent process, it's a fork. NiLuJe 2012-10-03 01:23:34 +0200
  • 8b45833e2d Kill a bit of cruft, explain the reasonning behind the kill/traps, and fix a potential buffering issue eating the first slider event NiLuJe 2012-10-03 01:17:21 +0200
  • 00c1f2ec9c New InfoMessage Concept NuPogodi 2012-10-03 00:45:45 +0200
  • 7bc80277e4 Don't checkout popen_noshell twice (it reverts parts of our patch) NiLuJe 2012-10-03 00:36:50 +0200
  • 4356622186 Don't patch popen-noshell twice NiLuJe 2012-10-03 00:34:42 +0200
  • 9cc106995d Properly fix the luajit *FLAGS mess NiLuJe 2012-10-03 00:29:10 +0200
  • ccff5c899d show reneding page_indicator only in debug mode Dobrica Pavlinusic 2012-10-03 00:16:45 +0200
  • ffe7be7085 Merge remote-tracking branch 'upstream/master' NiLuJe 2012-10-02 23:51:03 +0200
  • 76714c453a Restore Makefiles tweaks NiLuJe 2012-10-02 23:50:34 +0200
  • 4522b062cc Merge branch 'input-close-fix' NiLuJe 2012-10-02 23:45:44 +0200
  • d0573049c9 Ignore untracked popen_noshell stuff NiLuJe 2012-10-02 23:33:59 +0200
  • 5c76ef0f78 Fetch popen_noshell during fetchthirdparty, don't bundle it in our repo NiLuJe 2012-10-02 23:30:12 +0200
  • 53a60495b5 use git describe to generate version Dobrica Pavlinusic 2012-10-02 23:24:09 +0200
  • 6325183dc3 Revert "don't preCache in two column mode" Dobrica Pavlinusic 2012-10-02 23:22:06 +0200
  • 4e861715e3 Fix a stupid typo NiLuJe 2012-10-02 23:21:14 +0200
  • 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) NiLuJe 2012-10-02 23:18:28 +0200
  • 8e7f4ba989 Add a small makefile to build popen_noshell as a static lib NiLuJe 2012-10-02 23:10:55 +0200
  • 44f69b55cd Revert Makefile changes potentially unsuitable for upstream NiLuJe 2012-10-02 03:29:31 +0200
  • 6b245b9c80 Update the standalone testcase, too. NiLuJe 2012-10-02 03:11:16 +0200
  • 9fab02e33f Kill debug printf NiLuJe 2012-10-02 02:25:08 +0200
  • d27f20d696 Fix input device closing, and fix lipc-wait-event handling (using popen-noshell from http://code.google.com/p/popen-noshell/) NiLuJe 2012-10-02 02:16:22 +0200
  • 1a746d6e8f Makefile tweaks for my TC NiLuJe 2012-10-02 02:09:43 +0200
  • 3bd8c5c9f4 Merge pull request #345 from tigran123/master v2012.09 {Qingping,Dave} Hou 2012-10-01 14:09:39 -0700
  • 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. Tigran Aivazian 2012-10-01 21:05:23 +0100
  • b6936f9dc5 Merge remote-tracking branch 'upstream/master' Tigran Aivazian 2012-10-01 16:49:16 +0100
  • 13d686f438 Merge pull request #347 from dpavlin/last_globalzoom_mode_invalidation Tigran Aivazian 2012-10-01 08:48:06 -0700
  • 2fc0cb2ddd reset last_globalzoom_mode on setglobalzoom_mode #346 Dobrica Pavlinusic 2012-10-01 15:50:12 +0200
  • 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. Tigran Aivazian 2012-10-01 12:35:16 +0100
  • 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). Tigran Aivazian 2012-10-01 12:09:13 +0100
  • 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). Tigran Aivazian 2012-10-01 10:49:31 +0100
  • 69e43d1c4d Merge pull request #343 from dpavlin/preCache {Qingping,Dave} Hou 2012-09-30 13:26:42 -0700
  • fcecd1425a Merge pull request #344 from tigran123/master {Qingping,Dave} Hou 2012-09-30 13:26:03 -0700
  • 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. Tigran Aivazian 2012-09-30 18:28:10 +0100
  • 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). Tigran Aivazian 2012-09-30 16:06:55 +0100
  • 4d187aad4e don't preCache in two column mode Dobrica Pavlinusic 2012-09-30 16:15:33 +0200
  • 72b064fa9a Merge remote-tracking branch 'upstream/master' Tigran Aivazian 2012-09-30 10:23:39 +0100
  • a8197950d0 Merge pull request #342 from dpavlin/ZOOM_FIT_TO_CONTENT_WIDTH_PAN {Qingping,Dave} Hou 2012-09-29 15:51:22 -0700
  • 12e9930975 ZOOM_FIT_TO_CONTENT_WIDTH_PAN pan centers page Dobrica Pavlinusic 2012-09-30 00:46:16 +0200
  • 051926637b Merge remote-tracking branch 'upstream/master' Tigran Aivazian 2012-09-29 20:49:28 +0100
  • b4c0162a40 Merge remote-tracking branch 'upstream/master' Tigran Aivazian 2012-09-29 20:49:20 +0100
  • c3b0c343c9 Merge pull request #340 from tigran123/master {Qingping,Dave} Hou 2012-09-29 12:42:41 -0700
  • b7a763cefe Comment out debug printf() in pdf.c The printf() about the number of links on a page is very useful, but only for debugging. As other instances of debugging printf() in djvu.c and pdf.c are commented out, it seemed consistent to do the same with this one. Tigran Aivazian 2012-09-29 10:07:04 +0100
  • 69d293a6cc Get rid of the compilation warning. Tigran Aivazian 2012-09-25 14:46:47 +0100
  • 0230ccfb59 add LF to end of debug message Dobrica Pavlinusic 2012-09-24 16:35:27 +0200
  • 05e0647b9c getPageLinks implementation for mupdf #72 Dobrica Pavlinusic 2012-09-21 13:28:13 +0200
  • db7e3770ad fix indenting to tabs Dobrica Pavlinusic 2012-09-21 12:01:16 +0200
  • 2ac7c7d4cf Optimize compilation of cre.cpp 1. Remove unused "-lsdtc++" from the compilation stage as no linking is done then. 2. Add our standard CFLAGS to the compilation of cre.cpp which brings in -O3 -march=armv6 which enables optimizations. It seemed strange that we compile a cpp file with gcc (as opposed to g++), but I left it as is for now. Tigran Aivazian 2012-09-29 10:02:55 +0100
  • c5565146f9 Typo: --disable-largefiles -> --disable-largefile As a result of a simple typo we were continuing to include LFS support unnecessarily... Tigran Aivazian 2012-09-28 23:23:49 +0100
  • 1a3371c5bf Two fixes from NuPogodi 1. ATM, the footers in selectmenu.lua & helppage.lua are left-adjusted, these also contain the prompt for users how to call help (selectmenu.lua) and how to go back (helppage.lua). By minor correction to function DrawFooter() in filechooser.lua, one may readily make the rest footers to look in a similar way. 2. When writing the code of inputbox.lua, I (NuPogodi) left the wrong command to delete the 1st entry in the math function list (called in calculator mode by pressing Alt-M). Tigran Aivazian 2012-09-29 19:03:29 +0100
  • 00bdcd7f14 Merge pull request #339 from tigran123/master Dobrica Pavlinušić 2012-09-29 10:17:22 -0700
  • 5959c56937 Remove "-d" switch from reader.lua invocation. Tigran Aivazian 2012-09-29 12:12:52 +0100
  • 24e9d77a37 Comment out debug printf() in pdf.c The printf() about the number of links on a page is very useful, but only for debugging. As other instances of debugging printf() in djvu.c and pdf.c are commented out, it seemed consistent to do the same with this one. Tigran Aivazian 2012-09-29 10:07:04 +0100
  • db077b2f34 Optimize compilation of cre.cpp 1. Remove unused "-lsdtc++" from the compilation stage as no linking is done then. 2. Add our standard CFLAGS to the compilation of cre.cpp which brings in -O3 -march=armv6 which enables optimizations. It seemed strange that we compile a cpp file with gcc (as opposed to g++), but I left it as is for now. Tigran Aivazian 2012-09-29 10:02:55 +0100
  • f77a201e0b Typo: --disable-largefiles -> --disable-largefile As a result of a simple typo we were continuing to include LFS support unnecessarily... Tigran Aivazian 2012-09-28 23:23:49 +0100
  • a416e35555 Merge pull request #337 from tigran123/master {Qingping,Dave} Hou 2012-09-28 13:55:06 -0700
  • 8014773804 update gitignore Qingping Hou 2012-09-29 01:10:19 +0800
  • 93e946b0a4 Undoing previous commit to crereader.lua by NuPogodi The subject says it all (undoing accidental commit by a fellow collaborator). Tigran Aivazian 2012-09-28 17:52:05 +0100
  • a6a4380d41 Merge pull request #335 from tigran123/master Dobrica Pavlinušić 2012-09-28 05:06:41 -0700
  • f872473604 Replace outdated messages by InfoMessage:inform() NuPogodi 2012-09-28 15:00:40 +0300
  • f3b52f269c Tidy up "git status" output a bit. Added settings.reader.lua, cr3cache, history, crash.log, .vimrc, data, fonts to .gitignore. Tigran Aivazian 2012-09-28 12:49:36 +0100
  • 90971a7bf7 Fix from NuPogodi --- initialize scfont face properly. This fixes the bug of non-persistency of user's setting of scfont. Tigran Aivazian 2012-09-28 12:09:02 +0100
  • 33bb760576 Merge pull request #332 from tigran123/master {Qingping,Dave} Hou 2012-09-27 13:35:03 -0700
  • 496fcc089f Merge remote-tracking branch 'upstream/master' Tigran Aivazian 2012-09-27 21:20:32 +0100
  • 58d19ea7fd Merge pull request #327 from dpavlin/two-column-recalculate-pan Tigran Aivazian 2012-09-27 13:15:45 -0700
  • 7b983ee7e6 fix fiveway pan to right-bottom of previous page Dobrica Pavlinusic 2012-09-27 20:56:20 +0200
  • 01a57b2fb9 recalculate pan offsets on page change Dobrica Pavlinusic 2012-09-26 19:53:26 +0200
  • 850a777760 On pressing Back crereader loses last position This fix makes the behaviour of Back command handler in crereader identical with that in unireader, i.e. the last position is saved in Jump History when pressing Back, so you can return to it by pressing Shift-Back enough times. Also, with this change we would need to handle the need for redrawing the current page because the :addJump() method can force the call to fillToc() (if TOC is not already present) and this will display "Retrieving TOC..." message which will need clearing away. Tigran Aivazian 2012-09-27 13:10:28 +0100
  • 68c95e4bb2 Merge remote-tracking branch 'dpavlin/two-column-recalculate-pan' into dpavlin-twocolumn Tigran Aivazian 2012-09-27 11:41:21 +0100
  • fe7292f55c Merge pull request #330 from houqp/new_ui_code Dobrica Pavlinušić 2012-09-27 00:42:29 -0700
  • 66efe66f61 invertRect should handle negative x or y values Dobrica Pavlinusic 2012-09-26 18:54:49 +0200
  • cc1ab45b1c Merge pull request #329 from dpavlin/fit-content-pan {Qingping,Dave} Hou 2012-09-26 21:40:23 -0700
  • 8588b08761 Merge pull request #326 from dpavlin/invertRect-negative {Qingping,Dave} Hou 2012-09-26 21:32:38 -0700
  • d4ee7f2c53 Merge pull request #328 from tigran123/master Dobrica Pavlinušić 2012-09-26 15:44:34 -0700