Commit Graph

28294 Commits

Author SHA1 Message Date
Kovid Goyal 589214ce67 Browser viewer: Fix got next/previos section actions not working when the sections are in different individual HTML files. Fixes #1740333 [[Browser Viewer] problem with swipe](https://bugs.launchpad.net/calibre/+bug/1740333) 2018-01-02 09:51:29 +05:30
Kovid Goyal 80fd071521 Add support for MTP devices on FreeBSD
Merge branch 'master' of https://github.com/cemeyer/calibre
2017-12-31 08:46:13 +05:30
Kovid Goyal 799034adf9 Content server: Redirect pre 2.x book URLs to new 3.x URLs via a javascript redirect
Merge branch 'master' of https://github.com/Geremia/calibre
2017-12-31 08:42:59 +05:30
Conrad Meyer 4fc1d04896 Just use libusb to scan USB devices on FreeBSD
The HAL scanner adds a needless dependency on a runtime service and the
libusb scanner is perfectly fine.

This fixes detection of MTP devices on FreeBSD.

The logical patch was written by Guido Falsi; additionally, I removed
the legacy FreeBSDScanner class.
2017-12-30 13:21:57 -08:00
Geremia 7499637ce6 implemented https://bugs.launchpad.net/calibre/+bug/1698411 feature 2017-12-29 22:31:48 -07:00
Kovid Goyal dea2b28f6c ... 2017-12-30 08:32:25 +05:30
Kovid Goyal 083212f63f Merge branch 'Remove_double_space' of https://github.com/madpilot78/calibre 2017-12-30 07:27:07 +05:30
Guido Falsi 9ecff5e756 Collapse double space. 2017-12-29 17:01:30 +01:00
Alberts Muktupāvels 10a02db64b dbus_export: fix WindowId property signature
It should be unsigned int.
2017-12-29 12:26:30 +02:00
Alberts Muktupāvels f625ecc861 dbus_export: fix get_layout_children array signature
GetLayout method should return layout as `(ia{sv}av)` not
`(ia{sv}a(ia{sv}av))`.
2017-12-29 12:09:47 +02:00
Kovid Goyal ca24b8a55c Content server: Allow opening entries in the book list in a new tab via middle click/right click 2017-12-29 11:33:32 +05:30
Kovid Goyal 0c01357f8b Edit Book: Use the cache directory rather than the temp directory to store working files. Hopefully prevents temp file cleaners from destroying books. See #1740460 (Edit Book feature results in error after previously editing successfully) 2017-12-29 11:25:20 +05:30
Kovid Goyal 2ea7fd0c52 Edit Book: Refuse to save EPUB files that have missing container.xml files. See #1740460 (Edit Book feature results in error after previously editing successfully) 2017-12-29 11:09:24 +05:30
Kovid Goyal 9453d87b38 EPUB input: Handle books that erroneously set the mimetype for font files to text/plain 2017-12-28 09:19:59 +05:30
Kovid Goyal e9d7975609 AZW3 Input: Do not fail to process files with invalid internal flow references.
Fixes #1740140 [calibre, version 3.14.0 ERRO: Could not open e-book: Falha ao ler o livro, C:\Users\Admin\Google Drive\Work\Calibre\Livros\Allan Kardec\O Evangelho Segundo o Espiritismo (3146)\O Evangelho Segundo o Espiritis - Allan Kardec.azw3 clique em "Mostrar detalhes" para mais informações.  Traceback (most recent call last):   File "site-packages\calibre\utils\ipc\simple_worker.py", line 284, in main   File "site-packages\calibre\ebooks\oeb\iterator\book.py", line 64, in extract_book   File "site-packages\calibre\customize\conversion.py", line 245, in __call__   File "site-packages\calibre\ebooks\conversion\plugins\mobi_input.py", line 44, in convert   File "site-packages\calibre\ebooks\mobi\reader\mobi8.py", line 114, in __call__   File "site-packages\calibre\ebooks\mobi\reader\mobi8.py", line 465, in expand_text   File "site-packages\calibre\ebooks\mobi\reader\markup.py", line 356, in expand_mobi8_markup   File "site-packages\calibre\ebooks\mobi\reader\markup.py", line 204, in update_flow_links IndexError: cannot fit 'long' into an index-sized integer](https://bugs.launchpad.net/calibre/+bug/1740140)
2017-12-27 08:41:17 +05:30
Conrad Meyer 712edec636 Compatibility improvements for FreeBSD systems
Don't exclude libmtp on FreeBSD systems.

Don't exclude libusb on FreeBSD systems.  Our libusb has a different include
path structure and libname than Linux, but compiles fine once those are
corrected.

Correct path to py-sip on FreeBSD.  We install it to a different directory
than build_environment.py was looking in.
2017-12-26 13:01:13 -08:00
Mohammadreza Abdollahzadeh 24243b58f6 Update ui.py
fix systary icon name to calibre-tray
2017-12-22 13:02:14 +03:30
Kovid Goyal 3e68ad2c43 Fix #1739668 [Lost in translation ;)](https://bugs.launchpad.net/calibre/+bug/1739668) 2017-12-22 07:16:07 +05:30
Kovid Goyal e6299cd561 When updating plugins, do not show the dialog asking which toolbar to put the plugin, even if the user has removed the plugin for all toolbars. 2017-12-20 23:33:55 +05:30
Kovid Goyal 6cd33e110e Add a tweak in Preferences->Tweaks to exclude some fields when using the Edit metadata->Copy metadata/paste actions 2017-12-18 08:00:18 +05:30
Kovid Goyal 8f0d9cc028 Linux: Allow using calibre-tray.png in the calibre resources folder to override the system tray icon. Fixes #1738518 [Feature request - custom systray icon](https://bugs.launchpad.net/calibre/+bug/1738518) 2017-12-16 12:18:59 +05:30
Kovid Goyal df177fe455 ... 2017-12-16 08:29:26 +05:30
Kovid Goyal 38b2510ecb Content server: Fix using the Clear logs button preventing the server from restarting until calibre itself is restarted. Fixes #1738433 [Can't start Content Server after Clear Logs](https://bugs.launchpad.net/calibre/+bug/1738433) 2017-12-16 08:27:36 +05:30
Kovid Goyal 8bb6c46314 Edit Book: Fix backspace key un-indenting instead of deleting even when text is selected if the cursor is at the start of the line 2017-12-16 07:59:10 +05:30
Kovid Goyal cfba208bc3 pep8 2017-12-15 19:42:12 +05:30
Kovid Goyal d09a998c36 version 3.14.0 2017-12-15 08:20:37 +05:30
Kovid Goyal e53f68eb88 String changes 2017-12-14 06:56:50 +05:30
Kovid Goyal 37966b0916 Content server: Allow viewing the book metadata while reading a book. In the viewer controls, tap Goto and then Metadata to see the metadata. Fixes #1736312 [Feature request: A way to view book details while reading in Browser Viewer](https://bugs.launchpad.net/calibre/+bug/1736312) 2017-12-13 19:57:05 +05:30
Kovid Goyal a9589b8983 Fix test for uber-slow travis 2017-12-13 18:23:29 +05:30
Kovid Goyal ea131a2090 Kobo driver: Add support for new firmware
Merge branch 'master' of https://github.com/davidfor/calibre
2017-12-13 17:35:44 +05:30
David df60cba727 Bump supported firmware version for Kobo 4.7.x firmware
Kobo is about to release new firmware is about release new firmware. No
changes are needed except to bump the support firmware version.
2017-12-13 21:22:30 +11:00
Kovid Goyal 08f0d6e6ab Get Books: Update Mills & book and beam-ebooks.de plugins for website changes
Merge branch 'master' of https://github.com/cbhaley/calibre
2017-12-12 14:53:05 +05:30
Charles Haley a07cf434c2 Update 2 store plugins: Mills & Boon and Beam Ebooks 2017-12-12 10:12:01 +01:00
Kovid Goyal 90101bd663 Book polishing: Do not scan book for font usage when subsetting if no embedded fonts are available. Fixes #1737400 [Ebook edit: Subset embedded fonts does something even if there are no fonts](https://bugs.launchpad.net/calibre/+bug/1737400) 2017-12-12 10:09:41 +05:30
Kovid Goyal 8301cdd8ed Bulk metadata edit: Allow choosing the algorithm used for changing the case fo titles in bulk 2017-12-12 09:24:44 +05:30
Kovid Goyal 721d491d54 Content server: Open links in the comments section from the book details page in new windows. Fixes #1737644 [links in comments served by calibre-server should have target="_blank"](https://bugs.launchpad.net/calibre/+bug/1737644) 2017-12-12 06:56:50 +05:30
Charles Haley cd0ab5e61d Make the string for 'Świat Ebooków' unicode to prevent exceptions in preferences / plugins 2017-12-11 18:12:48 +01:00
Kovid Goyal a961778087 Get Books: Update empik and publio store plugin for website changes
Merge branch 'master' of https://github.com/t3d/calibre
2017-12-10 20:44:56 +05:30
Tomasz Długosz 7c624068bf publio plugin: add format detection 2017-12-10 16:09:54 +01:00
Tomasz Długosz 39dc0af554 fix empik plugin 2017-12-10 15:56:49 +01:00
Charles Haley 78b52b2616 Fix the delete GST button not working correctly. I don't know how long it has been broken ... 2017-12-10 15:48:44 +01:00
Charles Haley 205cd8503a Bug (enhancement) #1735815: I added some space and some placeholder text, and moved things around a bit. 2017-12-10 09:26:38 +01:00
Tomasz Długosz 9395b621ee legimi plugin: update links 2017-12-09 23:06:23 +01:00
Tomasz Długosz c2e42df414 woblink_plugin: fix cover fetching 2017-12-09 22:16:05 +01:00
Kovid Goyal 46d7dcdde9 Choose English as the User interface language when a locale related environment variable is set to the C locale
Merge branch 'lc-messages-c' of https://github.com/vmiklos/calibre
2017-12-09 11:06:01 +05:30
Miklos Vajna f333b208a4 localization: differentiate between C and not set Linux env. variables
In case of e.g. LANG=hu_HU.UTF-8 and LC_MESSAGES=C, the expected
behavior is that the UI is English, not Hungarian.

The problem was that we did not differentiate between a not set
LC_MESSAGES and one that is set to C, as locale.getdefaultlocale()
returns None in both cases.
2017-12-08 23:43:56 +01:00
Kovid Goyal 04d2af56f7 Also clear seach/replace history int he edit metadata dialog when using the Clear search histories button in Preferences->Searching 2017-12-07 16:04:02 +05:30
Tomasz Długosz 1c6a40d4b4 change affiliate links for publio 2017-12-07 00:47:06 +01:00
Tomasz Długosz 2db0287724 replace koobe.pl with their new store, swiatebookow.pl 2017-12-07 00:45:50 +01:00
Kovid Goyal 8cc31fa4d4 Nook driver: Fix books sent via calibre not appearing under My Files on the Glowlight 3 Plus 2017-12-06 08:28:16 +05:30