27992 Commits

Author SHA1 Message Date
Kovid Goyal
bdb2d0a5d9 MOBI Input: Fix empty <a> tags not being handled correctly in rare cases when the markup is bad enough to be parsed only using the HTML 5 algorithm. Fixes #1288430 [Private bug](https://bugs.launchpad.net/calibre/+bug/1288430) 2014-03-06 21:47:43 +05:30
Kovid Goyal
20dd82d501 PEP8 2014-03-06 21:35:51 +05:30
Kovid Goyal
05ef329823 test for character_name() 2014-03-06 19:29:30 +05:30
Kovid Goyal
efafb69fcd Fix icu_character_name not working for non-BMP chars on windows 2014-03-06 19:05:57 +05:30
Kovid Goyal
4b954101b7 Use macro instead of sizeof as that is recommended by the python developers 2014-03-06 17:47:48 +05:30
Kovid Goyal
68a37c565d Use new roundtrip code for ICU get_character_name 2014-03-06 17:35:18 +05:30
Kovid Goyal
a8d8f92e9f Edit book: Fix column number of cursor one less than it should be.
Also fix non-BMP characters before cursor not being reported correctly.
2014-03-06 17:30:35 +05:30
Kovid Goyal
4c9e1733ec Return NULL when decoding from UTF-32 fails 2014-03-06 17:22:41 +05:30
Kovid Goyal
82b6335a3c Use the faster py->icu string conversion in the matcher 2014-03-06 16:58:46 +05:30
Kovid Goyal
df6a06c8b7 Faster roundtripping of strings between ICU and python 2014-03-06 16:41:27 +05:30
Kovid Goyal
e05c4e669b Tiny performance improvement 2014-03-06 14:36:17 +05:30
Kovid Goyal
0930fef90a API for normalization using ICU 2014-03-06 14:27:15 +05:30
Kovid Goyal
63cba4c884 Insert special char: Allow searching for non BMP characters, by using the ICU database of names rather than python's outdated one. 2014-03-06 13:10:48 +05:30
Kovid Goyal
b36c6211b0 Merge branch 'master' of https://github.com/cbhaley/calibre 2014-03-06 12:45:29 +05:30
Kovid Goyal
fe1b7fe739 ... 2014-03-06 12:44:22 +05:30
Kovid Goyal
717eba06b9 ... 2014-03-06 12:42:49 +05:30
Charles Haley
c048add7cf Update CC version number in preparation for general release next week. 2014-03-06 08:11:42 +01:00
Kovid Goyal
935af249a4 Fix warnings when building matcher in Visual Studio 2014-03-06 11:54:45 +05:30
Kovid Goyal
22ca2bcac4 Edit Book: Add support for showing the names of non-BMP characters on narrow python builds (windows and OS X) 2014-03-06 11:45:11 +05:30
Kovid Goyal
3901051e2e Refactor subsequence matcher to not use recursion and support multithreading. Also add a python implementation for easy experimentation with the algorithm. 2014-03-06 10:11:27 +05:30
Kovid Goyal
c634b7c946 ... 2014-03-06 09:31:25 +05:30
Kovid Goyal
fea4b9cbac Update American Thinker
Fixes #1288371 [American Thinker news](https://bugs.launchpad.net/calibre/+bug/1288371)
2014-03-05 23:54:31 +05:30
Kovid Goyal
f19f998b25 Change docs for in process servers to discourage their use 2014-03-05 22:57:20 +05:30
Kovid Goyal
fc7874a993 Update HNA and Heise 2014-03-05 22:15:05 +05:30
Kovid Goyal
4398dda15f Use a 2D array for memoization, gives clearer code 2014-03-05 08:44:02 +05:30
Kovid Goyal
ed45f1a6aa ... 2014-03-05 08:13:18 +05:30
Kovid Goyal
58c084e68b Do not show system tray notification popups while analyzing books on device, as they can be slow on systems that display multiple messages serially instead of replacing the last message 2014-03-05 08:07:18 +05:30
Kovid Goyal
8c67730759 Use ICU to add full unicode support to the subsequence matcher 2014-03-04 22:34:40 +05:30
Kovid Goyal
27f43a7506 Merge branch 'master' of https://github.com/cbhaley/calibre 2014-03-04 16:09:48 +05:30
Charles Haley
98d0e98acb Eliminate possible problems when using UNDEFINED_DATE 2014-03-04 10:17:27 +01:00
Charles Haley
1b0ee1d655 Fix some wireless device sync bugs. 2014-03-04 09:55:55 +01:00
Kovid Goyal
9e325e819f Initial implementation of subsequence sorter 2014-03-04 14:20:50 +05:30
Kovid Goyal
9a3e3ad146 ... 2014-03-04 07:41:45 +05:30
Kovid Goyal
10dfa877d2 linux installer script: Do not use the filesystem to pass the downloaded tarball to tar as it is possible for malicuous code running on the users computer to alter the download file between signature verification and calling tar to extract the files. 2014-03-04 07:35:48 +05:30
Kovid Goyal
893799249b ... 2014-03-04 07:27:26 +05:30
Kovid Goyal
cf5387baa2 ... 2014-03-03 20:25:26 +05:30
Kovid Goyal
9f747c4aca cdiff : handle original_* files 2014-03-03 20:17:26 +05:30
Kovid Goyal
d203e9cd3a cdiff: Fix no msg being displayed for identical files 2014-03-03 20:15:32 +05:30
Kovid Goyal
576c9b3476 Fix compilation of bzzdec with Visual Studio 2014-03-03 20:01:44 +05:30
Kovid Goyal
6df7412bbc ... 2014-03-03 19:45:00 +05:30
Kovid Goyal
54b4d5b329 DJVU Input: A fast C based decompressor for DJVU files 2014-03-03 19:41:10 +05:30
Kovid Goyal
139ba8fd5b Some performance improvements for BZZDecoder 2014-03-03 11:46:52 +05:30
Kovid Goyal
90aa34a473 DJVU Input: When extracting embedded txt from TXTz sections in DJVU files, fix incorrect extraction of txt when the djvutxt external program is not present. Fixes #1286771 [converting DJVU file containing text fails](https://bugs.launchpad.net/calibre/+bug/1286771) 2014-03-03 11:02:32 +05:30
Kovid Goyal
cc26b6e27f Update Arguments and Facts
Fixes #1286806 [Updated recipe for arguments and facts](https://bugs.launchpad.net/calibre/+bug/1286806)
2014-03-03 08:46:23 +05:30
Kovid Goyal
2d406eb2a1 Merge branch 'master' of https://github.com/cbhaley/calibre 2014-03-03 08:43:25 +05:30
Charles Haley
011a71efe9 Add ability for device to do a version check for syncing. 2014-03-02 17:41:39 +01:00
Charles Haley
91adef995f 1) Put the embedded import statements back
2) Fix syncing not to attempt to sync if either column is bad
3) Make independent syncing of the date read work
2014-03-02 09:33:54 +01:00
Kovid Goyal
d0bb89c740 Linux installer: Allow using ~ when specifying the installation directory 2014-03-02 11:52:08 +05:30
Kovid Goyal
9d9d618c88 Fix #1286703 [minor aesthetic error](https://bugs.launchpad.net/calibre/+bug/1286703) 2014-03-02 11:32:54 +05:30
Kovid Goyal
cc303e8ea8 Do not try to re-open the db on IOError if the connection is in a transaction, as that will fail anyway and mask the underlying error 2014-03-02 10:37:07 +05:30