33789 Commits

Author SHA1 Message Date
Kovid Goyal
8755197b73
Avoid an if in the hot loop 2021-03-20 21:23:41 +05:30
Kovid Goyal
c8b5289a34
Handle empty parser state stack 2021-03-20 21:14:14 +05:30
Kovid Goyal
7fdd6bb3e4
pep8 2021-03-20 20:50:52 +05:30
Charles Haley
9be7516cfc Fix exception when invoking the template editor from a QLineEdit 2021-03-20 15:10:24 +00:00
Charles Haley
cf815b6a03 Get rid of elision in the template tester results table 2021-03-20 15:02:54 +00:00
Charles Haley
f92ca6190a Enhancement #1920576: Template tester: Next/last book.
Instead of next/last, the template tester now shows the template values for selected books. Also now remembers geometry.
2021-03-20 13:54:54 +00:00
Charles Haley
222cbf5e0d Bug #1920592: Category editor: Searching in library shouldn't automatically opens Quickview 2021-03-20 13:54:26 +00:00
Kovid Goyal
d8d5e8edcb
More work on fast CSS transforms 2021-03-20 15:22:28 +05:30
Kovid Goyal
7eac81456d
Serialization of Token to ostream 2021-03-20 14:45:12 +05:30
Kovid Goyal
f1e4095225
Implement serialization of tokens 2021-03-19 15:19:16 +05:30
Kovid Goyal
94756715ef
Transform font sizes 2021-03-19 13:29:59 +05:30
Kovid Goyal
360a081c43
Handle block types 2021-03-19 12:02:32 +05:30
Kovid Goyal
c701781014
Wrap the transform_properties function for python 2021-03-19 08:49:53 +05:30
Kovid Goyal
26c0108beb
Merge branch 'master' of https://github.com/cbhaley/calibre 2021-03-18 21:25:08 +05:30
Charles Haley
90a08e9e4a Ooops. Fixed doc string 2021-03-18 15:51:00 +00:00
Charles Haley
c757fdcd40 tag browser visibility: changed name and added operations 2021-03-18 15:49:02 +00:00
Charles Haley
467b6cb70b Add API to show/hide categories in the tag browser. 2021-03-18 15:15:51 +00:00
Kovid Goyal
3735585739
another windows compiler warning 2021-03-18 20:28:45 +05:30
Kovid Goyal
a53ea9342e
Mark the constexprs as static 2021-03-18 20:27:46 +05:30
Kovid Goyal
6c972df3ba
Fix various compiler warnings on windows 2021-03-18 20:24:20 +05:30
Kovid Goyal
3f16d63392
Add explicit const to constexpr to silence warning from vsc 2021-03-18 20:14:20 +05:30
Kovid Goyal
f0c46c6c90
Allow limiting string parse for numbers 2021-03-18 20:11:13 +05:30
Kovid Goyal
eb1ad62632
More work on fast CSS transforms 2021-03-18 19:57:53 +05:30
Kovid Goyal
dcb37dd46f
remove unused private var 2021-03-18 08:11:48 +05:30
Kovid Goyal
56c0bca8f9
Sort identifiers when displaying in book details panel 2021-03-18 08:07:23 +05:30
Kovid Goyal
23be5b369e
Remove unused code 2021-03-18 07:58:19 +05:30
Kovid Goyal
dd00e45799
string changes 2021-03-18 07:39:58 +05:30
Kovid Goyal
5b30af2216
More work on fast css transforms 2021-03-17 22:51:11 +05:30
Kovid Goyal
d0b9a0d153
More work on fast css transforms 2021-03-17 12:21:28 +05:30
Kovid Goyal
4955d632f3
Make HTML filename sanitization more robust 2021-03-17 09:23:39 +05:30
Kovid Goyal
73a8699e0a
Fix #1919388 [Private bug](https://bugs.launchpad.net/calibre/+bug/1919388) 2021-03-17 09:10:42 +05:30
Kovid Goyal
8b4d27a75b
... 2021-03-16 18:17:27 +05:30
Kovid Goyal
8ef1ef8ede
string changes 2021-03-16 17:16:12 +05:30
Kovid Goyal
f2d92d2060
E-book viewer: Fix errors when viewing books with mathematics that are split over multiple internal files. Fixes #1919033 [Unhandled mathjax loading related error in Viewer](https://bugs.launchpad.net/calibre/+bug/1919033) 2021-03-16 12:18:27 +05:30
Kovid Goyal
7c97efd19c
Only show loading finished time on initial load 2021-03-16 11:56:58 +05:30
Kovid Goyal
a8619a5967
Conversion: Fix a hang caused by long sequences of non-word characters when heuristics are enabled, either explicitly or for some input formats such as TXT. Fixes #1919260 [Some magic text takes forever to convert](https://bugs.launchpad.net/calibre/+bug/1919260) 2021-03-16 08:38:59 +05:30
Charles Haley
2de31650e3 More Bug #1919128: Template: Sometimes returns device name after eject.
The previous fix didn't work for programmatically ejected unmanaged and standard devices
2021-03-15 15:10:57 +00:00
Kovid Goyal
33862320fd
Merge branch 'master' of https://github.com/cbhaley/calibre
Fixes #1919128 [Template: Sometimes returns device name after eject](https://bugs.launchpad.net/calibre/+bug/1919128)
2021-03-15 18:23:08 +05:30
Charles Haley
cb15c57844 Bug #1919128: Template: Sometimes returns device name after eject.
The bug seems limited to fetching device information during processing of device.DeviceSignals.device_connection_changed(False)
2021-03-15 12:41:01 +00:00
Kovid Goyal
1913e39321
Sanitize replacement strings 2021-03-15 16:38:11 +05:30
Kovid Goyal
b7c61728ac
Fix a regression in calibre 5 that broke setting metadata in RTF files
py3 compat
2021-03-15 16:24:50 +05:30
Kovid Goyal
773eb3ee9f
Also add shortcuts to extend selection by para
And rationalize the selection shortcuts
2021-03-15 14:24:24 +05:30
Kovid Goyal
84810e6777
Make the destructive shortcuts mode sensitive 2021-03-15 12:02:54 +05:30
Kovid Goyal
0e4dfc25a2
Micro optimization 2021-03-15 11:45:41 +05:30
Kovid Goyal
95ef1423d4
start_cfi startswith / so dont create a double slash
Also fix tests for highlight sorting
2021-03-15 11:44:00 +05:30
Kovid Goyal
6595e00a19
... 2021-03-15 11:31:02 +05:30
Kovid Goyal
f0ac7c0653
DRYer 2021-03-15 11:29:52 +05:30
Kovid Goyal
bc84d139af
Content server viewer: Fix highlights not sorted correctly in the highlights panel. Fixes #1918436 [Highlights in viewer are not sorted correctly](https://bugs.launchpad.net/calibre/+bug/1918436) 2021-03-15 11:26:37 +05:30
Kovid Goyal
c44bd3f94c
Content server: Allow swiping left and right to show next/previous book on the book details page. Fixes #1918047 [[Enhancement - Content server] Make it possible to go to previous/next book by swiping in the Book details page](https://bugs.launchpad.net/calibre/+bug/1918047) 2021-03-15 10:53:26 +05:30
Kovid Goyal
3eb5877ba5
DRYer 2021-03-15 10:25:38 +05:30