Eli Schwartz
7993757099
py3: fix bytes handling by using bytes as needed
2019-06-21 17:29:12 -04:00
Eli Schwartz
2da800aa6e
use context managers for open()
2019-06-21 17:29:12 -04:00
Eli Schwartz
67f8b23baa
use more raw strings to prevent escaping
2019-06-21 17:29:12 -04:00
Eli Schwartz
1f794c4cd2
py3: more work on universal __future__s
2019-06-21 17:29:12 -04:00
Eli Schwartz
824f909627
do not shadow builtins as variable names
2019-06-21 15:27:29 -04:00
Eli Schwartz
c18eb0cb8c
standardize on one is_py3 representation
2019-06-21 15:27:29 -04:00
Kovid Goyal
abd9e6bcf7
py3: Fix None comparison when sorting the device books list
2019-06-21 17:52:35 +05:30
Kovid Goyal
2b639d6ea0
Use QTextBrowser instead of WebKit to display downloaded metadata
...
We are getting rid of WebKit
2019-06-20 15:10:47 +05:30
Eli Schwartz
0a5dc07da1
fix qt 5.13 compatibility
...
In 01e1df90a7 ,
screenAdded was deprecated, and as of qt 5.13 it is fully removed. Adapt
to this change by using the new API in QWindowSystemInterface.
2019-06-19 11:04:06 -04:00
Kovid Goyal
2635e23ed5
calibre now builds fully on windows
...
The duktape tests are crashing have to figure out why at some point
2019-06-19 17:48:41 +05:30
Kovid Goyal
46bc83be18
Remove webkit from build test since we are transitioning off it
2019-06-19 17:03:57 +05:30
Kovid Goyal
424de7f8fe
Advanced search dialog: Remember the last focused field in the search by ttiel/authors tab
2019-06-18 11:38:49 +05:30
Kovid Goyal
01326d69cf
py3: Use os.cpu_count()
2019-06-16 18:47:36 +05:30
Kovid Goyal
d782fa0ae4
py3: More unicode porting
2019-06-14 18:39:58 +05:30
Kovid Goyal
89284513a7
EPUB Output: When generating EPUB 3 preserve the old style meta tag to identify the cover as Google Play Books does not recognize EPUB 3 cover markup. See #1832660 (add cover to epub)
2019-06-14 11:03:21 +05:30
Kovid Goyal
ca4fd1f381
Conversion: Performance improvement for books that have many HTML files that all include the same CSS stylesheets
...
Now the conversion engine will flatten the same sequence of sheets
only once.
Merge branch 'master' of https://github.com/princesse-framboise/calibre
2019-06-14 10:10:05 +05:30
Kovid Goyal
b2f299de88
Create catalog: Fix handling of the tilde character in BiBTeX catalogs
...
Fixes #1832726 [Wrong ASCII conversion when writing bibtex file](https://bugs.launchpad.net/calibre/+bug/1832726 )
2019-06-14 09:47:10 +05:30
Kovid Goyal
5a4ca12432
Fix #1832780 [Error when changing libraries]( https://bugs.launchpad.net/calibre/+bug/1832780 )
2019-06-14 08:40:20 +05:30
Kovid Goyal
4d9c050e03
py3: more unicode porting
2019-06-13 11:11:52 +05:30
Kovid Goyal
a38758ca68
Even better error message when loading .mo file fails
2019-06-13 10:38:52 +05:30
Kovid Goyal
a3bf706825
Fix msgfmt.py broken during unicode porting
...
Also merge in changes from upstream version
2019-06-13 10:36:53 +05:30
Kovid Goyal
adbd85bf33
News downloads: Fix incorrect font sizes for some text in the index pages. Fixes #1832628 [Calibre viewer freezes when opening news download converted to LRF]( https://bugs.launchpad.net/calibre/+bug/1832628 )
...
Conversion now uses a dedicated attribute data-calibre-rescale for
dynamic font sizing rather than relying on class names which can get
mangled by CSS flattening
2019-06-13 09:06:43 +05:30
Kovid Goyal
7394a508e0
Fix an infinite loop in the LRF renderer
2019-06-13 06:03:06 +05:30
Kovid Goyal
57a3121f6c
pep8
2019-06-12 23:18:24 +05:30
Kovid Goyal
7192861301
Merge branch 'master' of https://github.com/davidfor/calibre
2019-06-12 19:42:22 +05:30
David
af5af3d029
Better layout of new cover options in KoboTouch driver.
2019-06-12 22:21:21 +10:00
Kovid Goyal
ea74df97ec
Get rid of the last use of win32com
2019-06-12 07:07:28 +05:30
Kovid Goyal
9844394258
Windows: Dont use a deprecated API for moving to trash
2019-06-12 05:42:03 +05:30
Kovid Goyal
f66a709dfe
Cleanup
2019-06-11 19:52:25 +05:30
Kovid Goyal
59264be1f0
Use RAII in winutil
2019-06-11 18:49:36 +05:30
Kovid Goyal
48e26a754d
Couple more places to get rid of win32com
2019-06-11 18:20:56 +05:30
Kovid Goyal
49f2082ad3
...
2019-06-11 17:11:02 +05:30
Kovid Goyal
1a1db4d1f8
Ensure no trailing NULLs in result of file_association()
2019-06-11 16:35:29 +05:30
Kovid Goyal
000bb4c89e
Better error message when failing to load translations
2019-06-11 16:32:35 +05:30
Kovid Goyal
21fbec2820
Dont use win32com for notifying the OS of file association changes
2019-06-11 16:17:34 +05:30
Kovid Goyal
529033ff78
Dont use win32com for expanduser
2019-06-11 16:04:47 +05:30
Kovid Goyal
57572d977a
Dont use win32com to get file associations
2019-06-11 15:57:12 +05:30
Kovid Goyal
152e823c41
Kobo driver: Add options to more precisely control the generation of cover images, to reduce size and enhance quality
...
Merge branch 'master' of https://github.com/NiLuJe/calibre
2019-06-11 15:14:26 +05:30
Kovid Goyal
0f3b2e2329
Dont use win32com for adding to recent docs
2019-06-11 14:50:05 +05:30
NiLuJe
09ffb629a1
Tweak checkbox layout to be more logical
2019-06-10 18:35:19 +02:00
Kovid Goyal
c243fa2358
Cleanup getenv
2019-06-10 19:06:36 +05:30
Kovid Goyal
057b873933
Dont depend on win32api in polyglot
2019-06-10 18:21:38 +05:30
Kovid Goyal
f1199035f6
py3: Port winreg imports
2019-06-10 15:41:30 +05:30
Kovid Goyal
549b822f9c
py3: More unicode fixes
2019-06-10 15:39:55 +05:30
Kovid Goyal
ef42213ceb
py3: More unicode porting
2019-06-09 11:22:02 +05:30
Kovid Goyal
9316d8d673
Comic Input: Fix incorrect processing of comics with pages that have the same file names in different folders when using the "No process" option. Fixes #1831487 [Private bug]( https://bugs.launchpad.net/calibre/+bug/1831487 )
2019-06-09 11:21:04 +05:30
Kovid Goyal
4abffead71
macOS: Fix loading of CoreText font database on newer Qt in the headless plugin
2019-06-08 10:31:18 +05:30
Kovid Goyal
d39087a356
py3: more unicode porting
2019-06-07 16:49:14 +05:30
NiLuJe
474d76e645
Fix that comment ;).
2019-06-07 04:12:34 +02:00
Kovid Goyal
35169e2743
String changes
2019-06-06 09:13:18 +05:30