23390 Commits

Author SHA1 Message Date
Kovid Goyal
4bba2cbf92 Initial implementation of add_format() 2013-07-05 08:01:15 +05:30
Kovid Goyal
f1ce0eb75c Fix test failures due to file locking on windows 2013-07-04 13:16:09 +05:30
Kovid Goyal
7e4a124d52 Ensure we dont leak a file handle 2013-07-04 13:00:08 +05:30
Kovid Goyal
c950518da2 Avoid unnecessary string formatting 2013-07-04 12:18:24 +05:30
Kovid Goyal
ef4efd5768 Refactor creation of hardlinks on windows
After creating the hardlink, open and close the file, to ensure that
the directory entry for the file contains the correct file size, see
http://blogs.msdn.com/b/oldnewthing/archive/2011/12/26/10251026.aspx
2013-07-04 11:11:22 +05:30
Kovid Goyal
852bd49453 MOBI Input: Fix regression parsing '
MOBI Input: Fix a regression that broke parsing of MOBI files with
malformed markup that also used entities for apostrophes. Fixes #1197585 [Private bug](https://bugs.launchpad.net/calibre/+bug/1197585)
2013-07-04 09:54:53 +05:30
Kovid Goyal
af26c0055c Merge branch 'stores' of https://github.com/t3d/calibre
Get Books: Update Woblink store plugin
2013-07-04 09:24:57 +05:30
Kovid Goyal
2aa8f23d6c When parsing fields, handle escapes 2013-07-04 09:13:37 +05:30
Tomasz Długosz
32fa93d584 update Woblink plugin for website changes 2013-07-04 00:02:19 +02:00
Kovid Goyal
a3adb69d94 Metadata download dialog: Prevent the buttons from being re-ordered when
the Next button is clicked.
2013-07-03 21:18:32 +05:30
Kovid Goyal
a149790b93 ... 2013-07-03 15:17:46 +05:30
Kovid Goyal
36386d06cc PDF Output: Fix mangling of links
PDF Output: Fix links that point to URLs with query parameters being
mangled by the conversion process. Fixes #1197006 [Broken links in PDF in Adobe reader.](https://bugs.launchpad.net/calibre/+bug/1197006)
2013-07-03 14:42:08 +05:30
Kovid Goyal
c8c3741d34 DOCX: Handle redundant bookmarks
DOCX Input: Fix links pointing to locations in the same document that
contain multiple, redundant bookmarks not working.
2013-07-03 13:36:30 +05:30
Kovid Goyal
bbaf2ff574 DOCX: Hyperlinked images
DOCX Input: Add support for clickable (hyperlinked) images
2013-07-03 13:05:47 +05:30
Kovid Goyal
26e23ac7a6 Splitting: Handle the tail of the split point correctly
EPUB/AZW3 Output: Fix splitting on page-break-after with plain text
immediately following the split point causing the text to be added
before rather than after the split point.
2013-07-03 12:15:55 +05:30
Kovid Goyal
584beceee3 DOCX: handle bookmarks defined at the paragraph level
See https://bugs.launchpad.net/calibre/+bug/1196728 for an example.
2013-07-03 11:24:12 +05:30
Kovid Goyal
80f3e7f867 DOCX: Insert page breaks at the start of every new section
See https://bugs.launchpad.net/calibre/+bug/1196728 for an example
2013-07-03 11:23:26 +05:30
Kovid Goyal
3b4094a890 DOCX: Handle hyperlinks created as fields
See https://bugs.launchpad.net/calibre/+bug/1196728 for an example.
2013-07-03 11:19:33 +05:30
Kovid Goyal
744f05b688 Merge branch 'master' of https://github.com/GRiker/calibre 2013-07-02 21:06:01 +05:30
Kovid Goyal
f5db5d9c00 Driver for Trekstor Pyrus Maxi
Fixes #1196931 [Device not recogized](https://bugs.launchpad.net/calibre/+bug/1196931)
2013-07-02 18:37:21 +05:30
Kovid Goyal
9394f87c14 ... 2013-07-02 11:23:59 +05:30
Kovid Goyal
19016a109d Add warning about font licensing to embed options 2013-07-02 11:22:53 +05:30
Kovid Goyal
acbd785af9 Fix docstring of is_image_collection 2013-07-02 09:24:09 +05:30
Kovid Goyal
e83738653c Fix #25 (bugfix: pass book_id to FileType plugins on postimport instead of __builtins__.id()) 2013-07-02 09:14:21 +05:30
Kovid Goyal
6af87c05e3 Driver for PocketBook Surfpad 2
Fixes #1182850 [Private bug](https://bugs.launchpad.net/calibre/+bug/1182850)
2013-07-01 15:33:20 +05:30
GRiker
c3cc6a2278 Revert "Fixed typo(?) in set_metadata() for touched files."
This reverts commit 8f30c17486701bf2cc29a84c98af5336de75fc56.
2013-07-01 03:46:32 -06:00
Kovid Goyal
9952abad4a Polish: Add option to embed referenced fonts
Book polishing: Add option to embed all referenced fonts when polishing
books using the "Polish Books" tool. Fixes #1196038 [[enhancement] embed font without conversion](https://bugs.launchpad.net/calibre/+bug/1196038)
2013-07-01 15:08:54 +05:30
GRiker
144f66c13b Added mkdir() to libiMobileDevice 2013-07-01 03:04:32 -06:00
Kovid Goyal
59346348c5 ... 2013-07-01 13:46:43 +05:30
Kovid Goyal
10c4c8f69f ... 2013-07-01 12:05:28 +05:30
Kovid Goyal
0223f60c9d ... 2013-06-30 20:03:57 +05:30
Kovid Goyal
3db0f1895a ... 2013-06-30 10:45:57 +05:30
Kovid Goyal
fa2f92e96c ... 2013-06-29 10:42:18 +05:30
Kovid Goyal
9e857d1ed7 DOCX Input: Support horizontal rules
DOCX Input: Add support for horizontal rules created by typing three
hyphens and pressing enter.
2013-06-29 09:39:36 +05:30
GRiker
ee556b867c Merge branch 'master' of https://github.com/kovidgoyal/calibre 2013-06-28 03:46:13 -07:00
Kovid Goyal
54a9a7c98e pep8 and small perf improvement for human_readable() 2013-06-28 12:44:44 +05:30
Kovid Goyal
837adb4eab version 0.9.37 2013-06-28 08:50:14 +05:30
Kovid Goyal
986ab2a078 ebook-convert: Add option to read metadata from OPF 2013-06-28 08:14:25 +05:30
Kovid Goyal
32fccdb901 pep8 2013-06-27 13:29:09 +05:30
Kovid Goyal
86691f22a2 ... 2013-06-27 13:28:06 +05:30
Kovid Goyal
f8509fe826 Log the wait before sending email
When waiting before sending email, log the wait. Fixes #1195173 [Feature Request - Multiple books emailed to device](https://bugs.launchpad.net/calibre/+bug/1195173)
2013-06-27 13:27:31 +05:30
Kovid Goyal
c3009256c4 ToC Editor: Use filenames when generating from files
ToC Editor: When generating a ToC from files, if the file has no text,
do not skip it. Instead create an entry using the filename of the file.
2013-06-27 13:01:52 +05:30
Kovid Goyal
f63f142618 PDF Output: Fix add ToC option not being used
PDF Output: Fix Table of Contents being added tot he end of the PDF even
without the Add Table of Contents option being enabled. Fixes #1194836 [When convert to PDF, it always create TOC at the end](https://bugs.launchpad.net/calibre/+bug/1194836)
2013-06-26 16:55:12 +05:30
Kovid Goyal
63d133ea5c AZW3 Input: Add support for page-progression-direction
AZW3 Input: Add support for the page-progression-direction that is used
to indicate page turns should happen from right to left. The attribute
is passed into EPUB when converting. Fixes #1194766 [Incorrect conversion japanese MOBI](https://bugs.launchpad.net/calibre/+bug/1194766)
2013-06-26 15:46:41 +05:30
Kovid Goyal
03452d2a03 Conversion: Add option to embed all referenced fonts
Conversion: Add an option to embed all fonts that are referenced in the
input document but are not already embedded. This will search your
system for the referenced font, and if found, the font will be embedded.
Only works if the output format supports font embedding (for example:
EPUB or AZW3).
2013-06-26 14:59:46 +05:30
Kovid Goyal
30cea5df3a ... 2013-06-26 10:40:00 +05:30
Kovid Goyal
7b6a742f25 ... 2013-06-26 00:07:00 +05:30
Kovid Goyal
bb6b81e06a Merge branch 'merge-identifiers' of https://github.com/hakan42/calibre
When auto-merging books on add, also merge identifiers.
2013-06-26 00:03:58 +05:30
Hakan Tandogan
e4876b579e On book merge, merge identifiers as well. In case of conflict, the target wins. 2013-06-25 19:47:48 +02:00
Charles Haley
9f12bd5699 Merge branch 'kovidgoyal/master' 2013-06-25 08:25:30 +02:00