Commit Graph

22757 Commits

Author SHA1 Message Date
Kovid Goyal e9080a686b Workaround for Qt 5 bug that prevents using the return key to edit table cells in the main book list
https://bugreports.qt-project.org/browse/QTBUG-40938
2014-08-23 18:57:48 +05:30
Kovid Goyal 6866597563 Fix the unified title and toolbar on Mac tweak causing calibre to fail to work because of a bug in PyQt5 2014-08-23 16:22:21 +05:30
Kovid Goyal 702f255cf5 Fix #1360547 ["Legacy" window title](https://bugs.launchpad.net/calibre/+bug/1360547) 2014-08-23 16:06:56 +05:30
Kovid Goyal f349cc358b E-book viewer: Fix a regression in 2.0 that changed the speed of scrolling with the mouse wheel in flow mode 2014-08-23 09:22:41 +05:30
Kovid Goyal 0e2f317dcb E-book viewer: Fix Table of Contents open state not being remembered when the remember window size setting is disabled 2014-08-23 09:17:49 +05:30
Kovid Goyal 715f541888 Edit book: Workaround for regression in Qt 5 that causes typing the Cmd+some letter to generate text in the editor instead of being ignored.
https://bugreports.qt-project.org/browse/QTBUG-40933
2014-08-23 08:37:28 +05:30
Kovid Goyal 683106fd89 Book polishing: Fix EPUB files with corrupted ZIP central directories not working and leaving behind detritus in the current working directory. Fixes #1360385 [Debris left when polish books fails](https://bugs.launchpad.net/calibre/+bug/1360385) 2014-08-23 08:04:04 +05:30
Kovid Goyal 14bcb87ae8 Edit Book: Workaround for Qt 5 regression that caused the "See what changed" tool to freeze the editor when closing the window showing the changes. 2014-08-22 23:45:21 +05:30
Kovid Goyal fc3626aca2 Fix regression in 2.0 that broke viewing of LRF format ebooks. Fixes #1360332 [Impossible to read a lrf document](https://bugs.launchpad.net/calibre/+bug/1360332) 2014-08-22 21:29:24 +05:30
Charles Haley 33baa4c83a Bug #1359356 2014-08-22 10:40:04 +02:00
Kovid Goyal 4debe239b1 Fix for a Qt 5 regression that caused the Copy to Library right click menu to be empty on OS X. Fixes #1360069 [Missing "Copy to Library" submenu](https://bugs.launchpad.net/calibre/+bug/1360069) 2014-08-22 11:02:18 +05:30
Kovid Goyal 766e91dfd0 version 2.0 2014-08-22 08:35:29 +05:30
Kovid Goyal 0c7d94d342 ... 2014-08-22 08:35:18 +05:30
Kovid Goyal 15fb2a14f0 ... 2014-08-21 21:21:27 +05:30
Kovid Goyal ab50892a60 E-book viewer: Reloading the book now re-opens it at the current position even if the option to remember position when quitting is turned off 2014-08-20 20:28:10 +05:30
Kovid Goyal 8d1e5731d1 ... 2014-08-20 15:04:15 +05:30
Kovid Goyal d00eeecd98 Edit Book: Make the edit saved search/add saved search popup window non-modal. Fixes #1354785 [The "Edit Search" window blocks interaction with the ebook-editor main window](https://bugs.launchpad.net/calibre/+bug/1354785) 2014-08-20 11:08:57 +05:30
Kovid Goyal e3aa9e0c0d ... 2014-08-20 10:24:40 +05:30
Kovid Goyal 631c5a414c E-book viewer: Remove extra spacing between document and scrollbars. This is particularly noticeable when using a dark theme for the viewer. 2014-08-19 18:44:46 +05:30
Kovid Goyal b03e0c6eb0 PDF Output: Fix balanced parentheses in the text of items in the Table of Contents not being rendered properly by some PDF viewers. Fixes #1358443 [PDF ToC omitting entries in parentheses](https://bugs.launchpad.net/calibre/+bug/1358443) 2014-08-19 15:22:56 +05:30
Kovid Goyal aa31b724b9 ... 2014-08-19 11:56:33 +05:30
Kovid Goyal ae0adc82fb Abort terminal save on error instead of quitting editor 2014-08-19 11:49:37 +05:30
Kovid Goyal 796cba4b69 Workaround for bug in Qt 5 that causes crashes if QDesktopServices is used before constructing a QApplication 2014-08-19 11:06:18 +05:30
Kovid Goyal 17f7b8a14f Simplify code to show GUI debug log
Fixes regression caused by Qt 5 behavior change that prevented the
debug log from being displayed in linux.
2014-08-19 09:51:23 +05:30
Kovid Goyal 736a16d335 ... 2014-08-19 08:52:54 +05:30
Kovid Goyal b0f52e2a4d Refactor various ebook download functions
The functions are now easily testable individually. An extra HTTP connection
when downloading a file from a URL directly is avoided. A workaround for
Project Gutenberg refusing to serve ebook files to browsers is added.
See #1354735 (When using "Get Books," all downloaded Project Gutenberg ePub books (and only Pr. Gut. books) are .2 MB, that is, they show up in my Calibre library, but they are empty. This wasn't so before as I have downloaded many Pr. Gut. ePub books in the past using “Get Books.” I have updated Calibre versions twice since this problem began. ePub downloads through other providers (eg., Feedbooks, Legimi, MobileRead) using “Get Books” functions correctly. Mac OS 10.7.5, Calibre 1.48.0.) [When using "Get Books," all downloaded Project Gutenberg ePub books (and only Pr. Gut. books) are .2 MB, that is, they show up in my Calibre library, but they are empty. This wasn't so before as I have downloaded many Pr. Gut. ePub books in the past using “Get Books.” I have updated Calibre versions twice since this problem began. ePub downloads through other providers (eg., Feedbooks, Legimi, MobileRead) using “Get Books” functions correctly. Mac OS 10.7.5, Calibre 1.48.0.](https://bugs.launchpad.net/calibre/+bug/1354735)
2014-08-18 11:43:50 +05:30
Kovid Goyal 5b9e305d5d oops 2014-08-18 09:45:24 +05:30
Kovid Goyal 2639cc26ba Fix allow_user_override not working for I() and also fix allow_user_override not working with different values for the same path. 2014-08-18 09:45:03 +05:30
Kovid Goyal 64d37eae40 Allow users to add extra mimetype icons by placing appropriately named image files in the resources/mimetypes override directory 2014-08-18 09:00:03 +05:30
Kovid Goyal cac8476f0e ... 2014-08-17 21:56:52 +05:30
Kovid Goyal 8b6a6802b7 Mark various CLI strings for translation 2014-08-17 21:53:18 +05:30
Kovid Goyal 33878116ff Tag Browser: Show format specific icons for the format entries in the Tag Browser 2014-08-17 21:17:36 +05:30
Charles Haley 8e580b926a Add the port to the mDNS description string. Permits clients to disambiguate multiple instances. 2014-08-17 15:32:51 +02:00
Kovid Goyal 60cd4ab85a ... 2014-08-17 15:44:49 +05:30
Kovid Goyal c5ee7f9080 Plugin loading: When multiple plugin classes are present in the __init__.py namespace, use the one with the qualified name that has the least components 2014-08-17 11:29:23 +05:30
Kovid Goyal 63b512054c pep8 2014-08-17 10:43:54 +05:30
Kovid Goyal 4f4b64e33b ICU: Small perf improvements by specializing the method signatures in the python icu module to avoid unnecessary creation/unwrapping of tuples when calling the methods 2014-08-17 10:20:18 +05:30
Kovid Goyal cf73771c87 Improved logging for news downloads, log performance numbers 2014-08-17 09:43:39 +05:30
Kovid Goyal af642adeb9 pep8 2014-08-17 09:01:31 +05:30
Kovid Goyal 110dfad9d1 Fix a bug in the calibre style that prevented popup arrow from showing on buttons that have a popup delay, such as the authors to author sort button in the edit metadata dialog 2014-08-16 21:03:57 +05:30
Kovid Goyal 4dbc1b5c43 Beta version bump 2014-08-16 15:32:18 +05:30
Kovid Goyal c190748d1e Various improvements to the splash screen
On windows and linux draw the splash screen in a worker process so that
the splash screen is updated properly despite the UI thread being
blocked while calibre is starting up. Fixes #1357553 [Splash screen is messed up in calibre 2.05 beta](https://bugs.launchpad.net/calibre/+bug/1357553)

Also, draw the messages in the splash screen on an opaque beackground so
that  they can always be read.

Drawing the splash screen in a separate process does not work on OS X so
we continue to use the old technique there.
2014-08-16 15:30:50 +05:30
Kovid Goyal dbf1f184b3 Fix error when changing libraries with a device connected 2014-08-16 15:09:10 +05:30
Kovid Goyal b829afe225 Refactor 2014-08-16 08:15:55 +05:30
Kovid Goyal 8a758b9c82 Only take the performance hit of banning PyQt4 imports on non frozen calibre installs 2014-08-15 17:19:05 +05:30
Kovid Goyal dd6bbb1bf1 Merge branch 'master' of https://github.com/cbhaley/calibre 2014-08-15 16:56:06 +05:30
Charles Haley d22c409669 Use the template from the device driver specified by the client, if any. 2014-08-15 13:12:48 +02:00
Kovid Goyal c12eece047 Add strings from the Qt color dialog for translation 2014-08-15 16:08:14 +05:30
Charles Haley 30fa640e24 Remove debugging pring 2014-08-15 11:25:45 +02:00
Charles Haley 9f9fc233be Add a tweak telling the content server to give the client a path computed from a template (the value of the tweak). This can happen only if the client sets the device_compatible flag. 2014-08-15 10:45:55 +02:00