43434 Commits

Author SHA1 Message Date
Kovid Goyal
ebffa0a506
Dont store the Liberation Fonts in source control
They were kept there originally because newer versions of them were
reported to cause BSODs in Windows Vista/7. Since we no longer support
those, and newer windows has moved font parsing out fo kernel, this
should no longer be an issue.
2020-12-15 11:42:19 +05:30
Kovid Goyal
5b2e06fa0c
String changes 2020-12-15 08:47:24 +05:30
Kovid Goyal
a73fd36476
Only open external URLs in response to clicks. Fixes #1908041 [ebook-viewer and ebook-edit: iFrame in ePub opens browser](https://bugs.launchpad.net/calibre/+bug/1908041) 2020-12-15 08:10:54 +05:30
Kovid Goyal
8aa354729d
Apply changes to tts settings on creation 2020-12-15 07:58:22 +05:30
Kovid Goyal
b9972032e5
Windows: Ignore failures to set SAPI parameters 2020-12-15 07:51:01 +05:30
Kovid Goyal
74f7adb510
Windows: Automatically resolve shortcuts (.lnk files) when adding books to calibre. Fixes #1907410 [Enhancement request: Dragging a shortcut file into Calibre should add target file](https://bugs.launchpad.net/calibre/+bug/1907410) 2020-12-14 16:39:10 +05:30
Kovid Goyal
8b4dae7c9e
Update New York Times Book Review 2020-12-14 13:35:03 +05:30
Kovid Goyal
786f2aec6e
Fix #1908001 [[Enhancement] Add a colon after each field name in the Edit custom column dialog](https://bugs.launchpad.net/calibre/+bug/1908001) 2020-12-14 08:46:54 +05:30
Kovid Goyal
0e3f080842
Merge branch 'master' of https://github.com/cbhaley/calibre 2020-12-13 21:53:28 +05:30
Charles Haley
04b13a0c62 Apologies: I broke positioning of converted & duplicated rules in the last commit. 2020-12-13 16:19:14 +00:00
Kovid Goyal
a8359d83c0
Fix translations build on CI missing docstrings 2020-12-13 20:58:30 +05:30
Kovid Goyal
1388fc0a74
Merge branch 'master' of https://github.com/cbhaley/calibre
Fixes #1907919 [Enhancement Request:  Rules editor: Convert/duplicate rule to advanced rule](https://bugs.launchpad.net/calibre/+bug/1907919)
Fixes #1907918 [Enhancement Request: Rules editor:  Match any condition](https://bugs.launchpad.net/calibre/+bug/1907918)
2020-12-13 20:02:59 +05:30
Charles Haley
52e93d5cae Enhancement #1907919: Rules editor: Convert/duplicate rule to advanced rule.
Enhancement #1907918: Add "Duplicate rule" button
Also fixed moving multiple selected items up and down
2020-12-13 13:17:52 +00:00
Kovid Goyal
8ccb974a61
Dont import unittest when not running tests 2020-12-13 17:26:18 +05:30
Kovid Goyal
8160a8d9c8
E-book viewer: Fix clock in header/footer not using system time format. Fixes #1907907 [Feature request: 24h clock format in reader](https://bugs.launchpad.net/calibre/+bug/1907907) 2020-12-13 14:19:37 +05:30
Kovid Goyal
59aa3c8541
Disable timezone formatting test as its local dependent 2020-12-13 14:17:33 +05:30
Kovid Goyal
7a162f113d
Make parsing of Qt time format strings more robust 2020-12-13 14:01:00 +05:30
Kovid Goyal
21f7031906
Viewer toolbar: Add a select all action 2020-12-13 13:18:01 +05:30
Kovid Goyal
913892d4f8
Windows: Fix Read aloud not working with books that have a single large internal text file, such as MOBI or DOCX books
Apparently, there is an undocumented limit to how much text can be
passed to SAPI in a single Speak() call.
So maintain our own internal queue and pass 128KB chunks.
2020-12-13 09:24:58 +05:30
Kovid Goyal
c7c627f285
Merge branch 'master' of https://github.com/cbhaley/calibre
Fixes #1907856 [Edit Metadata: Typing in number fails to replace undefined integers](https://bugs.launchpad.net/calibre/+bug/1907856)
2020-12-13 06:28:05 +05:30
Charles Haley
99a647068c Remove print statement 2020-12-12 23:39:57 +00:00
Charles Haley
0a02aa4827 Throw away empty icon specifications in icon rule evaluation 2020-12-12 23:35:01 +00:00
Charles Haley
87eb1fb164 Bug #1907856: Typing in number fails to replace undefined integers 2020-12-12 22:16:04 +00:00
Kovid Goyal
e9b6e53ef1
Ignore subset failure when generating PDF 2020-12-12 17:19:38 +05:30
Kovid Goyal
0348bf9ad5
Handle failure to select match more gracefully 2020-12-12 17:03:17 +05:30
Kovid Goyal
205d5d432c
version 5.7.2 v5.7.2 2020-12-12 14:26:45 +05:30
Kovid Goyal
da81df5ef0
remove fonts before merging since merging can cause a font file to be used by multiple font dictionaries 2020-12-12 14:19:35 +05:30
Kovid Goyal
5ca83285fb
Remove more unused code 2020-12-12 13:46:20 +05:30
Kovid Goyal
e430bf3312
PDF Output: Yet another attempt at working around chromium's broken TTF embedding. Fixes #1907849 [conversion to pdf results in bizarre kerning](https://bugs.launchpad.net/calibre/+bug/1907849)
This has the advantage of making the merging code a lot simpler as well.
2020-12-12 13:41:48 +05:30
Kovid Goyal
22f200fd10
When listing fonts also get the CIDToGIDMap 2020-12-12 12:09:58 +05:30
Kovid Goyal
c683535752
... 2020-12-12 10:02:16 +05:30
Kovid Goyal
c8015e824c
E-book viewer: Add a toolbar icon for Read aloud 2020-12-12 09:04:22 +05:30
Kovid Goyal
66abe58c33
Fix #1907842 [Move Read aloud button above the Exit full screen button in the Content server viewer controls](https://bugs.launchpad.net/calibre/+bug/1907842) 2020-12-12 08:10:38 +05:30
Kovid Goyal
3356597218
Windows: Fix tts config dialog not showing initial voice selection correctly if not the system default voice 2020-12-11 20:54:46 +05:30
Kovid Goyal
621eeab6d1
Dont fail on missing age/gender in windows voices 2020-12-11 20:44:21 +05:30
Kovid Goyal
96adf1912d
version 5.7.1 v5.7.1 2020-12-11 17:18:41 +05:30
Kovid Goyal
cc970aa694
Ensure original_path does not end in a trailing slash which is probably what was causing the failures in the first place 2020-12-11 17:16:46 +05:30
Kovid Goyal
24ac765178
PDF Output: yet another glyph width fix for change in Chromium output
Apparently, the HarfBuzz subsetter does not produce mergeable hhea tables,
so we directly merge the W arrays instead, picking the widest width for
each glyph id. Lord knows if the glyph ids are stable across fonts, if
they aren't then we will need to do major surgery.

Fixes #1907675 [MacOS 10.15.7 EPUB to PDF conversion](https://bugs.launchpad.net/calibre/+bug/1907675)
2020-12-11 17:08:43 +05:30
Kovid Goyal
44f2d0e073
Merge branch 'fix-build-with-icu68' of https://github.com/heirecka/calibre 2020-12-11 15:42:57 +05:30
Heiko Becker
ca0aa5f696 Fix build with ICU >= 68
ICU stopped defining the macros FALSE and TRUE in its headers with 68:
https://github.com/unicode-org/icu/commit/c3fe7e09d844
2020-12-11 10:53:17 +01:00
Kovid Goyal
c6d738ef6d
Fix regression causing failure to start if one of the previously used libraries no longer exists. Fixes #1907773 [After Update 5.7 - Defect by Start](https://bugs.launchpad.net/calibre/+bug/1907773) 2020-12-11 13:40:52 +05:30
Kovid Goyal
9e09d44aca
String changes 2020-12-11 12:15:24 +05:30
Kovid Goyal
01e69e2631
Fix #1907758 ["What's New" page of website has incorrect date for version 5.7](https://bugs.launchpad.net/calibre/+bug/1907758) 2020-12-11 12:08:03 +05:30
Kovid Goyal
9120d3116a
compat with newer lxml v5.7.0 2020-12-11 09:05:09 +05:30
Kovid Goyal
12e4912865
version 5.7.0 2020-12-11 08:23:41 +05:30
Kovid Goyal
8babb23858
Remember voice table column state 2020-12-11 08:22:56 +05:30
Kovid Goyal
9f2bf5482b
Fix scrollbars appearing when mousing over button box 2020-12-11 08:09:12 +05:30
Kovid Goyal
88b3ef9b5f
Add a note about limitations of browsers 2020-12-11 08:07:05 +05:30
Kovid Goyal
10f922f0e1
Windows tts backend: dont turn pages if read aloud is trigerred while already speaking 2020-12-11 08:03:18 +05:30
Kovid Goyal
f444e0d56f
TTS: Also include punctuation in words. This is needed for contractions such as don't 2020-12-11 07:37:43 +05:30