Commit graph

22541 commits

Author SHA1 Message Date
Kovid Goyal
7a27819715 Edit Book: Check Book: Do not run the rest of the checks if parsing errors are found, to avoid the checkers from raising unhandled errors 2014-08-02 12:52:21 +05:30
Kovid Goyal
b58cd915f6 Live CSS: Show the Matched CSS header even if no rules match 2014-08-02 09:48:58 +05:30
Kovid Goyal
aa2728e71d ... 2014-08-01 18:31:47 +05:30
Kovid Goyal
456c61b8fa Yet another mime type for xpgt files 2014-08-01 18:28:33 +05:30
Kovid Goyal
ac847b55a5 Fix update notification popping up even if current version is newer than released version (can happen when running from source) 2014-08-01 10:08:28 +05:30
Kovid Goyal
d899203173 ... 2014-08-01 09:34:45 +05:30
Kovid Goyal
0ea49badbe version 1.47.0 2014-08-01 08:14:22 +05:30
Kovid Goyal
33ec496462 Edit Book: Fix Live CSS not working for self-closing tags/closing tags 2014-08-01 08:12:32 +05:30
Kovid Goyal
4e902d18d0 ... 2014-07-31 18:37:16 +05:30
Kovid Goyal
bc5ab8eb13 Edit Book: Allow customizing the templates used when creating new, blank HTML/CSS files via Preferences->Editor settings. Fixes #1348986 [Footnote pop-up - new issue](https://bugs.launchpad.net/calibre/+bug/1348986) 2014-07-31 18:35:19 +05:30
Kovid Goyal
979eb5c86c Options to control the size and placement of the emblems 2014-07-31 17:06:16 +05:30
Kovid Goyal
4f8f624d07 Add a preference to turn emblems on/off 2014-07-31 14:17:27 +05:30
Kovid Goyal
9b50160b4d Implement rendering of cover grid emblems 2014-07-31 13:17:13 +05:30
Kovid Goyal
b6a82bf657 Edit Book: Live CSS: Improve detection of which tag the cursor is inside when there are multiple tags on the same line. See #1350495 (Private bug) 2014-07-31 11:06:51 +05:30
Kovid Goyal
609609e688 Edit Book: Clear the Check Book panel when opening a new book 2014-07-31 08:49:11 +05:30
Kovid Goyal
cf7887dd61 Edit Book: Allow the import files into book action to be added to the toolbar 2014-07-31 08:37:57 +05:30
Kovid Goyal
da0b393562 DRYer 2014-07-30 17:11:06 +05:30
Kovid Goyal
6df650b1e9 E-book Viewer: Use wiktionary.org and wordnik.com as dictionary providers instead of dict.org (which no longer exists).
When looking up words, the word definition is now opened in a separate
browser window.  The language of the dictionary to lookup is
automatically selected based on the language of the current book. Fixes #1349548 [dict.org not available](https://bugs.launchpad.net/calibre/+bug/1349548)
2014-07-30 12:14:27 +05:30
Kovid Goyal
c89d454838 Fix #1349536 [convert do not preserve spaces in <pre>](https://bugs.launchpad.net/calibre/+bug/1349536) 2014-07-30 10:23:16 +05:30
Kovid Goyal
a799191771 Edit Book: Fix subsetting of fonts not working if the text contains non-BMP unicode characters. Fixes #1349856 [Error using "Subset all Fonts"](https://bugs.launchpad.net/calibre/+bug/1349856) 2014-07-30 09:35:40 +05:30
Kovid Goyal
5c249d279b ... 2014-07-29 18:51:24 +05:30
Kovid Goyal
25bd9d6fc8 A button to remove images used as column icons/grid view emblems 2014-07-29 18:50:55 +05:30
Kovid Goyal
ba07a4c5f9 Preferences UI for configuring emblems to be displayed in the cover grid, next to covers 2014-07-29 14:30:32 +05:30
Kovid Goyal
957bfeb841 Add a parameter to control marking book as modified when calling apply_container_update_to_gui() 2014-07-29 09:39:55 +05:30
Kovid Goyal
e294e6a679 Conversion: Do not strip underscores from classnames. Fixes #1349442 [All converting epub styles with class"_number_name" are corrupt.](https://bugs.launchpad.net/calibre/+bug/1349442) 2014-07-28 22:50:58 +05:30
Kovid Goyal
5881287671 Edit Book: Fix incorrect results when running replace all on marked text and more than one replacement is made. Fixes #1348941 [When applying the command Replace all with marked text, error happens](https://bugs.launchpad.net/calibre/+bug/1348941) 2014-07-27 07:13:46 +05:30
Kovid Goyal
3eb87c29f9 Edit Book: Fix cursor positioning not working when creating a new file from a template 2014-07-27 06:53:45 +05:30
Kovid Goyal
124310d536 Fix one remaining unsafe use of read_lock. Fixes #1348937 [Downgrade Lock Error: cant downgrade Lock Object](https://bugs.launchpad.net/calibre/+bug/1348937) 2014-07-26 23:50:42 +05:30
Kovid Goyal
caa0623ae1 ... 2014-07-26 23:37:58 +05:30
Kovid Goyal
a04c363b70 ... 2014-07-26 15:23:26 +05:30
Kovid Goyal
1ec7397544 Add API to get the name of the file bing currently edited 2014-07-26 09:04:23 +05:30
Kovid Goyal
db3b08247e Comic Input: When sorting the pages inside a comic, recognize numbers, so that page2 sorts before page10 2014-07-26 08:58:33 +05:30
Kovid Goyal
ef3e10d033 When displaying series numbers do not assume the document is a book 2014-07-25 19:28:38 +05:30
Kovid Goyal
302d131ec2 Conversion: When inserting a metadata jacket, format the series number
using roman numerals. This behavior can be disabled by using a custom
jacket template, as described here: http://manual.calibre-ebook.com/customize.html#overriding-icons-templates-et-cetera
See #1342916 (Roman Numerals not show on book jacket)
2014-07-25 19:17:45 +05:30
Kovid Goyal
f4f77827e7 Merge branch 'master' of https://github.com/cbhaley/calibre 2014-07-25 18:16:17 +05:30
Charles Haley
54cd94e05e Add the separator argument to 2014-07-25 12:32:37 +02:00
Kovid Goyal
5c9768c30c E-book viewer: Handle quoted URLs inside @font-face rules 2014-07-25 15:58:13 +05:30
Charles Haley
46581c93c6 New formatter function: author_links. 2014-07-25 11:54:52 +02:00
Kovid Goyal
4174efda6c DRYer 2014-07-25 13:29:46 +05:30
Kovid Goyal
7c061e3f5f Edit Book: Add another mimetype for xpgt files 2014-07-25 12:45:14 +05:30
Kovid Goyal
5a5b5fb6f2 Fix regression that broke the book details panel when displaying books whose authors have a manually specified link 2014-07-25 11:36:46 +05:30
Kovid Goyal
9772a753e0 version 1.46.0 2014-07-25 09:34:29 +05:30
Kovid Goyal
cdd267637b calibre-customize: When building plugins from a directory, exclude known version control subdirectories 2014-07-25 09:24:26 +05:30
Kovid Goyal
e70fd3a759 Conversion: Fix a bug processing the CSS font shorthand property when the line-height is specified in em or percentage units. Fixes #1348173 [ebook-convert doesn't handle composite font-sizes](https://bugs.launchpad.net/calibre/+bug/1348173) 2014-07-24 22:11:34 +05:30
Kovid Goyal
5dabfbd549 Add documentation and an example editor plugin 2014-07-24 18:48:45 +05:30
Kovid Goyal
cde4bbb670 ... 2014-07-24 14:13:42 +05:30
Kovid Goyal
4584ffe8f3 Fix #1348054 [Private bug](https://bugs.launchpad.net/calibre/+bug/1348054) 2014-07-24 13:04:44 +05:30
Kovid Goyal
3017d3bdc8 typo that prevented an optimization to PDF metadata update when nothing changed 2014-07-23 17:28:55 +05:30
Kovid Goyal
5d9f1c89c7 Fix published date not being merged when merging book records 2014-07-23 14:09:07 +05:30
Kovid Goyal
b4092fc05c calibredb list: Add a --for-machine option that causes the output to be made in a form more easily parsed programmatically (it uses ASCII field and record separators) 2014-07-23 12:52:42 +05:30
Kovid Goyal
cd24714637 calibredb list: Do not output extra whitespace+separator after the last field 2014-07-23 12:18:58 +05:30
Kovid Goyal
69fcac5b9d Book details panel: Automatically convert ISSN identifiers into links to the periodicals page on worldcat.org. 2014-07-23 11:58:26 +05:30
Kovid Goyal
6320eab8e8 calibredb: When listing formats of a book if there are multiple formats, separate the individual formats with the colon instead of the comma as commas can occur in filenames 2014-07-23 11:30:44 +05:30
Kovid Goyal
a6c1e806c2 Edit Book: Make the warning dialog that pops up when you try to quit while the editor is saving changes in the background a little more clear. Fixes #1347171 [Background save dialog confusion with "save changes"](https://bugs.launchpad.net/calibre/+bug/1347171) 2014-07-23 11:09:57 +05:30
Kovid Goyal
8a40261757 Edit Book: Fix close event geenrated by window system not saving state 2014-07-23 10:12:23 +05:30
Kovid Goyal
7573a62754 Edit Book: When re-arranging the toolbars inside an individual file editor, save the new toolbar layout so that it is re-used in the future. Also apply the changed layout to all open editors of the same type. See #1346913 (Edit Books - Toolbars) 2014-07-22 22:48:59 +05:30
Kovid Goyal
d05e88293f Edit Book: Make the undo/redo/cut/copy/paste buttons on the editor toolbar also configurable, so they can be removed via Preferences->Toolbars, if needed.
See #1346913 (Edit Books - Toolbars)
2014-07-22 21:55:03 +05:30
Eli Schwartz
fa47a695ea Edit Book: Allow editing xpgt (Adobe Page Template) files as XML.
Fixes #1346543 [Edit Book: Allow editing xpgt files](https://bugs.launchpad.net/calibre/+bug/1346543)
2014-07-22 08:37:16 +05:30
Kovid Goyal
e6964c4eee Edit Book: Allow the action to launch the saved searches dialog to be added to the global toolbars 2014-07-20 09:59:38 +05:30
Kovid Goyal
b1fbfcf2a4 Book details panel: Add an option to make clicking on the author name search the calibre library for the author instead of opening the wikipedia page for the author. To use it got to Preferences->Look & Feel->Book Details. Fixes #1344799 [[Enhancement] make author (in book details) a link/clickable for search in calibre](https://bugs.launchpad.net/calibre/+bug/1344799) 2014-07-19 17:09:57 +05:30
Kovid Goyal
ea37193b68 Fix #1344061 [erroneus regex in preprocess.py](https://bugs.launchpad.net/calibre/+bug/1344061) 2014-07-19 00:56:47 +05:30
Kovid Goyal
49b0726efa pep8 2014-07-19 00:55:15 +05:30
Kovid Goyal
c052186b18 When generating covers, do not render soft-hyphens in the text as hyphens. Fixes #1344259 [title contains softhyphens that only appear when generating title pages](https://bugs.launchpad.net/calibre/+bug/1344259) 2014-07-19 00:53:11 +05:30
Kovid Goyal
b6540810bf pep8 2014-07-19 00:30:14 +05:30
Kovid Goyal
11153b1c77 Add imghdr test for webp 2014-07-19 00:29:57 +05:30
Kovid Goyal
aa4a24f2f0 Add webp to the list of image formats being scanned in comic archives
Actual support for the webp format will require a new build of
ImageMagick, probably post Qt 5.
2014-07-18 08:07:49 +05:30
Kovid Goyal
7d21c2d844 version 1.45.0 2014-07-18 08:02:40 +05:30
Kovid Goyal
ba75506ee3 Add usb ids for Motorola Milestone X2. Fixes #1343704 [Failure to detect Motorola Milestone X2](https://bugs.launchpad.net/calibre/+bug/1343704) 2014-07-18 07:48:50 +05:30
Kovid Goyal
c7ffb86488 Finish the framework for the edit book plugins 2014-07-17 17:59:20 +05:30
Kovid Goyal
2befb1e2e9 AZW3: When converting from AZW3 files, use the high quality version of the image if the source AZW3 file contains both low and high quality images 2014-07-17 10:41:37 +05:30
Kovid Goyal
df065a134e ... 2014-07-16 21:29:08 +05:30
Kovid Goyal
63f9cbda0b When dumping MOBI files for debugging also dump container records and HD images 2014-07-16 17:41:55 +05:30
Kovid Goyal
f0a890e8c1 When dumping joint MOBI files, properly extract all image/font resources and only put resources upto the KF8 boundary in the mobi6 part 2014-07-16 12:48:06 +05:30
Kovid Goyal
843624f6c2 ... 2014-07-16 10:02:53 +05:30
Kovid Goyal
944310a7e2 AZW3: Preserve the page-progression-direction property when converting/editing/polishing AZW3 files 2014-07-16 10:00:51 +05:30
Kovid Goyal
9de2a1f781 Add a few more EXTH header fields when dumping MOBI 2014-07-16 09:57:58 +05:30
Kovid Goyal
c83a51377d AZW3 Input: Workaround broken AZW3 files produced by kindlegen that use uppercase attribute names. Fixes #1341306 [Some links fail to convert from kf8 to epub](https://bugs.launchpad.net/calibre/+bug/1341306) 2014-07-15 23:41:19 +05:30
Kovid Goyal
e1a1eb41f2 PDF metadata: When updating the XMP metadata in PDF files, compress the metadata written to the PDF. This is particularly useful when the PDF file has an existing XMP metadata block with very large amounts of data in it. Fixes #1341549 [Embed Metadata for PDF consistently adds 0.5MB to book size](https://bugs.launchpad.net/calibre/+bug/1341549) 2014-07-15 23:01:27 +05:30
Kovid Goyal
245050d593 Merge branch 'master' of https://github.com/cbhaley/calibre 2014-07-15 13:43:30 +05:30
Charles Haley
3e4b4024b2 Something related to Google Chromecast is broadcasting invalid MDNS packets (sigh). Make calibre's MDNS stuff tolerate them without flooding the log with exceptions. 2014-07-15 09:43:01 +02:00
Kovid Goyal
f6b2e9aba8 Fix #1341692 [Edit Book: Ctrl+F over selected text raises an error](https://bugs.launchpad.net/calibre/+bug/1341692) 2014-07-15 07:31:58 +05:30
Kovid Goyal
c2576d2d29 Fix searches on Yes/No columns using the terms ('blank', 'checked', 'unchecked') not working on non-English calibre installs 2014-07-14 20:28:13 +05:30
Kovid Goyal
689d9f6e60 Book details panel: Make series and tags clickable. Clicking on them will search the calibre library for all books in the same series/ having the same tag
Fixes #1341297 [[Enhancement] make series name (in book details) a link/clickable](https://bugs.launchpad.net/calibre/+bug/1341297)
2014-07-14 13:41:05 +05:30
Kovid Goyal
d60337d4ab Edit metadata dialog: If the title's case is changed auto-update the title sort 2014-07-14 12:26:30 +05:30
Kovid Goyal
ba57d22fe2 Edit metadata dialog: Improve performance by only writing changed fields to the databse when clicking OK or Next
Edit metadata dialog: Do not auto change the title sort field when
clicking OK if the title was changed. Instead the title sort field must
be changed explicitly.
2014-07-14 12:21:16 +05:30
Kovid Goyal
c5e05cdb2e Edit Book: Add in-context help for HTML and CSS
Now, you can right click on any HTML/OPF/NCX tag name or CSS property
and the editor will open some help for that item in your browser.
2014-07-13 15:56:14 +05:30
Kovid Goyal
d78c2b1b57 Fix #1341240 [zsh-completion silently fails to install](https://bugs.launchpad.net/calibre/+bug/1341240) 2014-07-13 11:08:51 +05:30
Kovid Goyal
c70e0bef26 Edit Book: When right clicking on a link add a menu entry to open the link 2014-07-13 08:42:03 +05:30
Kovid Goyal
6c1a552ef4 Nicer layout for Tag Browser panel in Preferences 2014-07-13 08:26:52 +05:30
Kovid Goyal
f4bb217017 ... 2014-07-13 07:58:36 +05:30
Kovid Goyal
c75d9b55ee complete2: Prevent mouse moving in from the bottom of the list changing the scroll position of the list 2014-07-12 21:29:07 +05:30
Kovid Goyal
4166178747 Edit Book: Search and replace panel: Add arrows to open the list of recently used search and replace expressions 2014-07-12 21:00:21 +05:30
Kovid Goyal
97b192eb7b Edit Book: Spell check: When suggesting alternative for a hyphenated word, ensure the first suggestion is the word formed by removing the hyphen, if that is a valid word 2014-07-12 18:46:52 +05:30
Kovid Goyal
a4919c2a59 Merge branch 'master' of https://github.com/t3d/calibre 2014-07-12 16:13:19 +05:30
Tomasz Długosz
f630518cff update Woblink plugin 2014-07-12 12:02:21 +02:00
Kovid Goyal
adbda39a3c Fix spurious detection of words starting at hyphen boundaries 2014-07-12 11:34:31 +05:30
Kovid Goyal
9f1a5129de More type conversion fixes 2014-07-12 11:11:41 +05:30
Kovid Goyal
6fb388e662 Fix integer type conversions 2014-07-12 11:08:30 +05:30
Kovid Goyal
446e7a9b0b Edit Book: Fix replacement of hyphenated words in the spell checker not working 2014-07-12 11:01:37 +05:30
Kovid Goyal
56cfff0f9e ... 2014-07-12 08:40:19 +05:30