Commit Graph

32938 Commits

Author SHA1 Message Date
Kovid Goyal a71f2de211 String changes 2020-12-18 08:13:04 +05:30
Kovid Goyal 08cafd1de0 String changes 2020-12-17 22:35:04 +05:30
Kovid Goyal 966faf7dce Fix loading of metadata cache from device broken in calibre 5 2020-12-16 19:45:02 +05:30
Kovid Goyal ff87e15bbb Fix Esc key not working on a couple of panels
See #1849958 ([Enhancement] Go back by clicking Esc on server)
2020-12-16 10:11:08 +05:30
Kovid Goyal 762f1b659a E-book viewer: Dont enter fullscreen mode automatically when reading on desktop like devices (this can be controlled via a setting in in the viewer preferences under Page layout) 2020-12-16 10:03:50 +05:30
Kovid Goyal e617f65470 Make page layout prefs a bit more compact 2020-12-16 08:51:12 +05:30
Kovid Goyal 99ddd5457d Handle more than 36 hints on screen 2020-12-15 22:26:26 +05:30
Kovid Goyal 4470b0aaaf ... 2020-12-15 21:50:32 +05:30
Kovid Goyal e7cb72029c Also hint external links 2020-12-15 21:46:19 +05:30
Kovid Goyal be884acaf4 Show an error when no hints are found 2020-12-15 21:31:37 +05:30
Kovid Goyal 7f202f513d Animate hint activation 2020-12-15 21:17:02 +05:30
Kovid Goyal 96ba30f754 Hints should not cause reflow 2020-12-15 20:40:01 +05:30
Kovid Goyal d88e7788c3 Get basic hint activation working 2020-12-15 20:14:40 +05:30
Kovid Goyal 168c75d5d1 More hints work 2020-12-15 16:14:52 +05:30
Charles Haley 1e9473dffd Bug #1907998: Tag Browser: Rename and Delete appear on composite columns 2020-12-15 09:51:28 +00:00
Kovid Goyal b4731c552c Wire up the hints overlay 2020-12-15 14:12:37 +05:30
Kovid Goyal 99dedc4ac3 Start work on hints mode 2020-12-15 13:43:31 +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 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
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 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
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 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 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 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
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