Commit Graph

  • f5f5040f20 Change "Updating HighLight data..." message to Debug() as this operation cannot possibly hang and it conveys no useful info to the end user. Tigran Aivazian 2012-09-19 12:29:45 +0100
  • d2b2d8b18f Make the info messages about highlight short enough to be visible. Also, shorten the delay from 2s to 1s. Tigran Aivazian 2012-09-19 12:26:32 +0100
  • c57c319656 When user presses BACK in the filemanager it should NOT exit the program, only HOME should do so. Otherwise too many times one accidentally exits from KPV. Tigran Aivazian 2012-09-19 12:25:15 +0100
  • 35695e2fe0 Merge pull request #293 from tigran123/master {Qingping,Dave} Hou 2012-09-18 20:02:52 -0700
  • 4b9cf4eaf5 Use os.remove() instead of os.execute("rm...") because it is less expensive as it uses remove(3) C library function rather than fork/exec-ing a new process. Tigran Aivazian 2012-09-18 23:52:11 +0100
  • 456136ef71 Fix the calculation of the total unpacked size of the content of a zip file when it contains multiple entries. Also, don't write to temporary files in the physical filesystem --- use pipes instead. Tigran Aivazian 2012-09-18 23:40:18 +0100
  • c43fb549d3 Avoid writing to files when obtaining the battery level --- use pipes instead. Tigran Aivazian 2012-09-18 23:36:01 +0100
  • a2cb1745d6 Merge remote branch 'upstream/master' Tigran Aivazian 2012-09-18 10:10:08 +0100
  • c9c89ef56d Use the proper way to detect emulation. Tigran Aivazian 2012-09-18 10:07:30 +0100
  • 781bab1e40 Merge pull request #291 from houqp/master Dobrica Pavlinušić 2012-09-18 00:25:10 -0700
  • 4582e471be Merge pull request #292 from houqp/new_ui_code Dobrica Pavlinušić 2012-09-18 00:24:42 -0700
  • 61bc799de4 update README.md Qingping Hou 2012-09-17 20:44:09 -0400
  • 5e6a0c82c9 fix typo in Makefile Qingping Hou 2012-09-17 20:38:24 -0400
  • eb79e1c95c handle file with no extension in filechooser Qingping Hou 2012-09-17 20:36:39 -0400
  • 83d910b7d3 use README.md in distribution zip Dobrica Pavlinusic 2012-09-17 22:38:05 +0200
  • 68eeeaa0d2 delete README.TXT Qingping Hou 2012-09-17 06:04:40 +0800
  • 825de1ea4f remove leading tab in command in README Qingping Hou 2012-09-17 01:59:19 +0800
  • 6ad8afebbb rename README.TXT to README.md Qingping Hou 2012-09-17 01:56:58 +0800
  • cc78a43b92 update readme Qingping Hou 2012-09-17 00:27:54 +0800
  • e6a8f5558c move -l argument to the end of GCC call Qingping Hou 2012-09-16 12:17:47 -0400
  • 97f59ed07c 1. It is customary to call DjVu context by the name of the program. 2. When changing DjVu page rendering mode there is no need to clear DjVu cache, only our own tile cache. Tigran Aivazian 2012-09-14 23:22:19 +0100
  • dfff1906fd return only one value in ReaderToc:cleanUpTocTitle(title) Qingping Hou 2012-09-17 20:21:03 -0400
  • 25af917170 call cre.initCache() in CreDocument:engineInit() Qingping Hou 2012-09-17 20:12:33 -0400
  • 619f5a0f34 set crengine cache size in lua code Qingping Hou 2012-09-10 21:45:05 +0800
  • e23cc2a1de use 64Mb for on disk DOM cache for crengine Dobrica Pavlinusic 2012-09-10 13:41:44 +0200
  • 04e6df1fd0 use ldomDocCache::init to cache crengine DOM Dobrica Pavlinusic 2012-09-09 12:58:04 +0200
  • 3278ef5a29 Correct the comment (the existing text was referring to a different file). Tigran Aivazian 2012-09-08 22:21:26 +0100
  • bbbd64d96e Comment out the setting of dithering bits because djvulibre ignores anything less than 8 bits anyway. Tigran Aivazian 2012-09-02 18:57:37 +0100
  • b761418236 Small optimization in djvu.c:drawPage() --- there is no need to create and destroy djvu pixel format on each redraw of the page as this can be done once on open and close of the document. Also, set dither bits to 4 to help djvulibre choose the most optimal dithering algorithm for the Kindle. Also, make coding style of "if(" -> "if (" consistent (both instances were used, but "if (" was more frequent). Tigran Aivazian 2012-09-02 18:22:15 +0100
  • 7f6d3097a2 Remove the local variable render_mode from drawPage() (although it would be optimized away by gcc anyway). Tigran Aivazian 2012-08-29 10:02:31 +0100
  • 55bd3f1bd3 Merge pull request #290 from dpavlin/master Dobrica Pavlinušić 2012-09-17 13:39:16 -0700
  • 263ab789c8 use README.md in distribution zip Dobrica Pavlinusic 2012-09-17 22:38:05 +0200
  • 3a8707a645 Merge pull request #288 from tigran123/master Dobrica Pavlinušić 2012-09-17 13:35:36 -0700
  • 75bd54657b Cleanup of the TOC support code: remove unnecessary initializations. Tigran Aivazian 2012-09-17 19:56:19 +0100
  • 0d23340738 Move render_mode support out of unireader.lua into djvureader.lua as it is djvu-specific. Also added support for all other rendering modes handled by djvulibre. Also made the message print a human-readable description of the mode rather than just the number. Tigran Aivazian 2012-08-28 23:48:56 +0100
  • 3d291f52ac disable DEBUG_CRENGINE Dobrica Pavlinusic 2012-08-28 23:15:34 +0200
  • 3cd19db601 showInfoMsgWithDelay with number of results Dobrica Pavlinusic 2012-08-28 22:14:57 +0200
  • 09440f600c correctly return first search position and refresh screen Dobrica Pavlinusic 2012-08-28 21:56:46 +0200
  • dadbf000c9 coolreader search highlight Dobrica Pavlinusic 2012-08-28 20:49:11 +0200
  • cc52ee0a09 Revert "Set up to compile with arm-kindle-linux-x-tools-glibc2.5-gcc4.2.4.tar.gz toolchain." Dobrica Pavlinusic 2012-08-27 20:53:14 +0200
  • 144f5c637a DjVu enhancements: Tigran Aivazian 2012-08-27 15:33:32 +0100
  • bcb85d7c07 Fix the Makefile to use freetype-2.4.10 and kpvcrlib/CMakeLists.txt to do the same and also zlib 1.2.5->1.2.7 and libjpeg 8d->9. Tigran Aivazian 2012-08-27 14:39:42 +0100
  • a52aee2f9a Set up to compile with arm-kindle-linux-x-tools-glibc2.5-gcc4.2.4.tar.gz toolchain. Tigran Aivazian 2012-08-27 12:57:26 +0100
  • 1d703f9fb6 delete README.TXT Qingping Hou 2012-09-17 06:04:40 +0800
  • 16a8b2099b Merge pull request #286 from tigran123/master {Qingping,Dave} Hou 2012-09-16 14:55:10 -0700
  • 1694fc5b0a Stop filling up crash.log with INFO messages about battery charge every couple of seconds. Every write to a flash device shortens its life. Tigran Aivazian 2012-09-16 23:04:03 +0100
  • a4260c6fc0 Merge pull request #285 from houqp/master Dobrica Pavlinušić 2012-09-16 12:06:02 -0700
  • 8c994ee0bc remove leading tab in command in README Qingping Hou 2012-09-17 01:59:19 +0800
  • 686a823629 rename README.TXT to README.md Qingping Hou 2012-09-17 01:56:58 +0800
  • 1b3e1db0d2 update readme Qingping Hou 2012-09-17 00:27:54 +0800
  • ea325146d3 move -l argument to the end of GCC call Qingping Hou 2012-09-16 12:17:47 -0400
  • a34696d96c Merge pull request #283 from tigran123/master {Qingping,Dave} Hou 2012-09-15 17:09:37 -0700
  • 51ccc20845 Save a few table indexing operations since we already have the page number. Tigran Aivazian 2012-09-15 23:32:56 +0100
  • 56f4ac42bd Better fix for the external links in TOC problem: instead of returning to the current page display a message "External links unsupported" and remain in the TOC menu. The reason for this decision is that if the user chose invalid TOC entry she is more likely to wish to stay in the TOC menu and choose another entry rather than return to reading immediately. Tigran Aivazian 2012-09-15 23:26:30 +0100
  • 680866d4ad Merge remote branch 'upstream/master' Tigran Aivazian 2012-09-15 22:59:52 +0100
  • cc5abd3b87 Use the value of self.doc:getPages() stored in a local variable instead of calling it for each TOC entry. Tigran Aivazian 2012-09-15 22:22:07 +0100
  • 853f34b488 Fix for calculating the current position in the case of TOC containing links to external files: when walking the TOC we should check if the destination page is within the range of the current document. Tigran Aivazian 2012-09-15 22:19:12 +0100
  • 31fd466425 Merge pull request #281 from tigran123/master {Qingping,Dave} Hou 2012-09-15 13:07:01 -0700
  • dac88587bf Fix for the case when TOC contains a link to external file: we should redraw the current page and not just quietly return from UniReader:goto(). Tigran Aivazian 2012-09-15 22:00:59 +0100
  • 42d9583319 In the Search Results show the actual pattern entered, not the uppercased version thereof. Tigran Aivazian 2012-09-15 21:32:00 +0100
  • 527421eb86 Make file search function completely case-insensitive. Tigran Aivazian 2012-09-15 21:31:00 +0100
  • 3048311dd5 Show the number of hits in Search Results. Tigran Aivazian 2012-09-15 21:28:47 +0100
  • 284ab49db4 Shorten the message to make it visible. Tigran Aivazian 2012-09-15 21:01:29 +0100
  • 28ba1c7e37 1. It is customary to call DjVu context by the name of the program. 2. When changing DjVu page rendering mode there is no need to clear DjVu cache, only our own tile cache. Tigran Aivazian 2012-09-14 23:22:19 +0100
  • a99f429afc Merge pull request #280 from tigran123/master Dobrica Pavlinušić 2012-09-14 13:26:05 -0700
  • 29b1ef5dde Cleanup of expandAllTOCSubItems(). Tigran Aivazian 2012-09-14 21:43:23 +0100
  • 922b53ac60 Cleanup of cleanUpTocTitle() function: (f(x)) is a more elegant way of forcing the return of a single value than the use of a dummy variable. Tigran Aivazian 2012-09-14 21:27:06 +0100
  • 657bcee7d0 Merge pull request #276 from houqp/master Dobrica Pavlinušić 2012-09-14 13:25:01 -0700
  • b96edf3693 Merge pull request #279 from tigran123/master {Qingping,Dave} Hou 2012-09-14 10:23:10 -0700
  • 4f2be7a7e8 Calculator: make it more robust. Previously it was very easy to crash the application by entering invalid input into calculator, for example things like these: ")(", "inf/0", "f()", etc. By using Lua pcall() function to execute not only the construction of the expression, but also the calculation of the final result, the calculator is made more robust and safe-guarded from such crashes. Tigran Aivazian 2012-09-14 18:36:55 +0100
  • 98b8399692 Merge pull request #278 from tigran123/master {Qingping,Dave} Hou 2012-09-14 09:20:18 -0700
  • da296e2e95 Slight cleanup of the previous commit: save one arithmetical operation. Tigran Aivazian 2012-09-14 18:10:21 +0100
  • b6a429a1d4 Calculator: calculate the cursor position correctly when the output contains more characters than input. Tigran Aivazian 2012-09-14 18:03:43 +0100
  • dc473e85a9 Calculator: on exit from help page refresh the screen properly (i.e. fully) Tigran Aivazian 2012-09-14 17:38:02 +0100
  • b0febe2d9b Calculator: don't crash when pressing Enter or FW-select buttons. Tigran Aivazian 2012-09-14 17:24:38 +0100
  • 3984355c1c Part of the previous commit, i.e. "expand all subitems" in TOC. Tigran Aivazian 2012-09-14 14:25:15 +0100
  • 8312ad83c5 Add "expand all" command attached to Shift-Right key in the menu which recursively expands all subitems of a given item. Tigran Aivazian 2012-09-14 13:54:33 +0100
  • e35a828fb0 Generate expandable TOC only if there really is something to expand in the TOC. Tigran Aivazian 2012-09-14 09:08:47 +0100
  • 2f847e6a5e use DroidSansFallback as cfont Qingping Hou 2012-09-14 09:46:44 +0800
  • f9b8ee0513 Merge pull request #272 from tigran123/master {Qingping,Dave} Hou 2012-09-10 20:24:56 -0700
  • 49a76330ac Bugfix for the issue #269 and also fixed findTOCpos() function to correctly calculate the position in TOC for the case when the current page is before the first page with a TOC entry. Tigran Aivazian 2012-09-10 23:36:58 +0100
  • 44d9daf07a Merge pull request #271 from tigran123/master Dobrica Pavlinušić 2012-09-10 14:31:32 -0700
  • 1c32a24450 1. Shorten the "No TOC" message to be displayable. 2. Get rid of the calls to self:fillToc() from the places in the code which cannot affect TOC. I assume the reason for these calls is that they are needed in the original CoolReader application (because there the TOC displays the virtual "page numbers") and were brought over to our crengine.lua during the port. Tigran Aivazian 2012-09-10 23:12:09 +0100
  • 75d286257f Merge pull request #270 from tigran123/master {Qingping,Dave} Hou 2012-09-10 09:49:41 -0700
  • 253a0829ff No need to initialize oldname = self:FullFileName() twice when renaming a file --- one initialization is enough. (and, while at it, replaced references to a non-existent word "extention" with the proper English "extension") Tigran Aivazian 2012-09-10 18:17:50 +0100
  • bfc369062e Merge pull request #268 from houqp/master Dobrica Pavlinušić 2012-09-10 08:16:28 -0700
  • 1eb7162796 set crengine cache size in lua code Qingping Hou 2012-09-10 21:45:05 +0800
  • 275e94c7a3 Merge pull request #267 from dpavlin/crengine_64Mb_cache {Qingping,Dave} Hou 2012-09-10 06:26:38 -0700
  • 880374f5db use 64Mb for on disk DOM cache for crengine Dobrica Pavlinusic 2012-09-10 13:41:44 +0200
  • 4cdbcac458 Merge pull request #266 from tigran123/master {Qingping,Dave} Hou 2012-09-09 16:05:54 -0700
  • 47556b5562 Shorten the message about opening the document, otherwise it is not displayed at all. Tigran Aivazian 2012-09-10 00:16:06 +0100
  • 397d3aa037 Merge branch 'gamma_speedup' Dobrica Pavlinusic 2012-09-09 21:44:09 +0200
  • 2332691bb0 replaced showInfoMsgWithDelay with InfoMessage:show in crereader Dobrica Pavlinusic 2012-09-09 21:41:35 +0200
  • 0100f33128 Merge pull request #264 from dpavlin/gamma_speedup {Qingping,Dave} Hou 2012-09-09 12:39:39 -0700
  • 79a304bb5d Merge pull request #262 from dpavlin/render_indicator {Qingping,Dave} Hou 2012-09-09 12:38:13 -0700
  • b27b665a97 showInfoMsgWithDelay would delay gamma change for 1s #165 Dobrica Pavlinusic 2012-09-09 21:04:55 +0200
  • b75470365b Merge pull request #263 from tigran123/master Dobrica Pavlinušić 2012-09-09 11:56:01 -0700
  • 4242cc9686 Allow deleting bookmarks. Tigran Aivazian 2012-09-09 19:46:24 +0100
  • 4e1586fc81 added page_indicator to show document position and rendering Dobrica Pavlinusic 2012-09-09 19:04:06 +0200
  • af53a78291 Merge pull request #260 from tigran123/master {Qingping,Dave} Hou 2012-09-09 06:35:18 -0700