33789 Commits

Author SHA1 Message Date
Kovid Goyal
52cf15fc23
Fix #1895472 [Private bug](https://bugs.launchpad.net/calibre/+bug/1895472) 2020-09-14 09:04:40 +05:30
Kovid Goyal
940342b1b1
Fix removal of multi-line highlights leaving handles in incorrect location 2020-09-14 08:35:44 +05:30
Kovid Goyal
a75933fd13
pep8 2020-09-14 07:38:51 +05:30
Charles Haley
fb9a388c08 Unreported bug: the V4 template language treated None values as zero. These changes make the new processor do the same thing. Also update the documentation, 2020-09-14 00:59:38 +01:00
Charles Haley
327e267177 Fix incorrect inlined raw_field function.
Sorry about this.
2020-09-13 14:43:27 +01:00
Kovid Goyal
633abaeb99
Bump beta version 2020-09-13 17:50:59 +05:30
Kovid Goyal
0fc090e2dc
pep8 2020-09-13 16:57:51 +05:30
Kovid Goyal
2525cfccee
Merge branch 'master' of https://github.com/cbhaley/calibre into master 2020-09-13 16:55:40 +05:30
Charles Haley
1642ac6af2 Improvements to template parser:
- performance improvement: build and save an interpretable tree instead of parsing and executing at the same time
- improve syntax error detection
- performance improvement: automatically convert "test" to "if then else", avoiding executing the unused branch
- inline raw_field (field was already inlined)
2020-09-13 12:19:18 +01:00
Kovid Goyal
f479fca692
Fix #1895425 [[Enhancement] Browse annotations action in the dropdown menu for View in the toolbar](https://bugs.launchpad.net/calibre/+bug/1895425) 2020-09-13 16:46:03 +05:30
Kovid Goyal
ceceff8cc3
Fix #1895368 [[Content server] Removed book show up when going through books](https://bugs.launchpad.net/calibre/+bug/1895368) 2020-09-13 16:34:53 +05:30
Kovid Goyal
1673d646d6
String changes 2020-09-13 16:07:26 +05:30
Kovid Goyal
c363d790ab
More accurate detection of current ToC section when highlighting 2020-09-13 16:02:41 +05:30
Kovid Goyal
06404ae119
Workaround for Firefox bug that broke searching backwards across file boundaries. Fixes #1895388 [Private bug](https://bugs.launchpad.net/calibre/+bug/1895388) 2020-09-13 10:25:35 +05:30
Kovid Goyal
eecac78739
Invisible text should not be a fatal error 2020-09-13 10:02:08 +05:30
Kovid Goyal
639c0e1ecc
Prevent default actions for all recognized shortcuts not just navigation ones 2020-09-13 09:57:40 +05:30
Kovid Goyal
40e91596fb
Fix #1895287 [[Enhancement] Covers that do not fill the area are displayed at the bottom of the content server's cover grid](https://bugs.launchpad.net/calibre/+bug/1895287) 2020-09-11 19:58:21 +05:30
Kovid Goyal
66b10927fb
py3 compat 2020-09-11 13:35:11 +05:30
Kovid Goyal
f87bd0f2c3
Fix momentum scrolling not working in the cover grid 2020-09-10 18:23:06 +05:30
Kovid Goyal
eac6acb82a
Group highlights in browser viewer highlights panel as well 2020-09-10 09:09:46 +05:30
Kovid Goyal
bef5dd9bed
Show swatches in browser highlights panel 2020-09-10 08:22:56 +05:30
Kovid Goyal
fd6ed6cacb
Tooltips for highlight styles 2020-09-10 07:53:13 +05:30
Kovid Goyal
94479386d9
calibre style: Reduce indentation in tree views 2020-09-10 07:41:43 +05:30
Kovid Goyal
a45c2fa5a3
Bump beta version 2020-09-09 19:52:19 +05:30
Kovid Goyal
0a16855ec5
... 2020-09-09 19:45:28 +05:30
Kovid Goyal
6fcd0e7407
Merge branch 'master' of https://github.com/cbhaley/calibre into master 2020-09-09 15:52:11 +05:30
Kovid Goyal
8fd6d2ee5d
pep8 2020-09-09 15:50:46 +05:30
Charles Haley
6715a9969d Fix tag browser partition by first letter not working for some categories such as Formats and Identifiers. 2020-09-09 10:21:42 +01:00
Kovid Goyal
13552bef07
isosx -> ismacos 2020-09-09 14:51:09 +05:30
Kovid Goyal
052af8c646
Remove no longer needed workaround 2020-09-09 14:30:24 +05:30
Kovid Goyal
7fad774a75
macOS: Fix completer widget mouse interactions not working with Qt 5.15.0 2020-09-09 14:26:04 +05:30
Kovid Goyal
1935d31d4e
macOS: Fix changing colors from dark->light not working correctly
As of Qt 5.15.0 if you set any colors in the application palette
they are not reset when the system colors are changed. So we cannot use
that to fix colors. Instead set a widget specific override palette.

Also, Qt appears to have fixed link and alternating row colors, so no
need for those override anymore.
2020-09-09 12:23:38 +05:30
Kovid Goyal
730fe50516
Fix #1894742 [[Enhancement] Show warning before closing Edit this recipe dialog](https://bugs.launchpad.net/calibre/+bug/1894742) 2020-09-08 09:41:27 +05:30
Kovid Goyal
07b7580fff
remove douban and ozon imports 2020-09-08 08:26:54 +05:30
Kovid Goyal
eff4d0b72e
Remove some metadata sources
These are in Languages I cannot read, therefore too much effort for me
to maintain. And no one else seems to be willing to maintain them to the
standard I expect for code calibre code, over the long term. If someone
does intend to maintain them, they should become third party plugins.

Fixes #1222 (Correct imports for OZON.ru plugin to be able run it using Python 3.x)
Fixes #1894751 [In Python 3.0, the HTMLParser module has been renamed to html.parser](https://bugs.launchpad.net/calibre/+bug/1894751)
2020-09-08 08:20:32 +05:30
Kovid Goyal
ce41a1f32c
Fix regression that broke searching in the highlights panel 2020-09-08 08:10:43 +05:30
Kovid Goyal
5b33fe6884
Fix double clicking on chapter heading in highlights panel causing an exception 2020-09-07 08:38:02 +05:30
Kovid Goyal
1f7be299fd
Bump beta version 2020-09-06 18:03:22 +05:30
Charles Haley
0a317f6ecc Improvements to program mode template language:
- added if .. then .. else ... fi expressions. The else part is optional. The 'if' has a value: a = if ... then fi works
- added infix string relational operators ==, !=, <, <=, >, >=
- added infix numeric relational operators ==#, !=#, <#, <=#, >#, >=#
- numerous performance improvements. In particular, the "field' function is now evaluated inline
2020-09-06 11:18:34 +01:00
Kovid Goyal
74a2957693
String changes 2020-09-06 11:23:36 +05:30
Kovid Goyal
138745a85a
Change button label for less conflict 2020-09-05 14:17:53 +05:30
Kovid Goyal
471deb052e
Show a full hierarchy for toc nodes in the highlights panel 2020-09-05 14:16:20 +05:30
Kovid Goyal
0c174074eb
Viewer highlights panel: Show highlight style next to highlight 2020-09-05 13:06:47 +05:30
Kovid Goyal
316497aeba
Highlight color definitions should be defined in only one place 2020-09-05 13:03:47 +05:30
Kovid Goyal
80de18c2b6
Use lowest level ToC section in highlights panel
Matches search panel
2020-09-05 06:33:51 +05:30
Kovid Goyal
7dbefdf117
Also dont print traceback if db is closed 2020-09-05 05:54:33 +05:30
Kovid Goyal
5d92cfadd1
Avoid printing traceback if checking for dirtied annotations fails during shutdown 2020-09-05 05:40:15 +05:30
Kovid Goyal
374edd1ff7
Clicking search in book in selection bar should actually trigger the search not just fill the search box 2020-09-04 22:23:34 +05:30
Kovid Goyal
ce0cdf11c0
New server test has become flaky on GitHub Actions 2020-09-04 08:00:13 +05:30
Kovid Goyal
382ac528e8
Viewer: Increase the threshold for detecting pinches 2020-09-04 07:25:38 +05:30