42921 Commits

Author SHA1 Message Date
Kovid Goyal
d21ef82385
Fix handling of comments
Comments are no longer tokenized. This means they are dropped from
transformed token runs, but preserved elsewhere.
2021-03-21 13:52:18 +05:30
Kovid Goyal
dd2450e092
Fix transform of font keywords 2021-03-21 13:24:28 +05:30
Kovid Goyal
29e2561d61
Fix handling of idents 2021-03-21 12:26:56 +05:30
Kovid Goyal
31c7698acb
Get url transforms working 2021-03-21 12:07:26 +05:30
Kovid Goyal
66343bc85e
Fix string token serialization
Add more tests
2021-03-21 11:02:40 +05:30
Kovid Goyal
43616dd0d6
More work on fast css transforms 2021-03-21 10:17:47 +05:30
Kovid Goyal
3cd166993f
Fix conversion of font sizes 2021-03-21 08:03:38 +05:30
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
Kovid Goyal
8135c83537
Merge branch 'master' of https://github.com/cbhaley/calibre 2021-03-20 20:47:02 +05:30
Kovid Goyal
d9c69a4ccc
Merge branch 'master' of https://github.com/cbhaley/calibre
Fixes #1920592 [[Enhancement - Category editor] Searching in library automatically opens the Quickview](https://bugs.launchpad.net/calibre/+bug/1920592)
Fixes #1920576 [Enhancement Request: Template tester: Next/last book](https://bugs.launchpad.net/calibre/+bug/1920576)
2021-03-20 20:41:54 +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
Kovid Goyal
02aeec9234
Merge branch 'patch-1' of https://github.com/0verk1ll/calibre 2021-03-20 20:16:09 +05:30
Kovid Goyal
370ece64b0
Add sanitize build option 2021-03-20 20:15:34 +05:30
overkill
1aca333f16
Added Explicit Semicolon
This is to address a recommendation from LGTM (https://lgtm.com/projects/g/kovidgoyal/calibre/?mode=tree&severity=recommendation&ruleFocus=4860080).
2021-03-20 10:33:02 -04: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
dee2b114c0
... 2021-03-20 19:20:57 +05:30
Kovid Goyal
9765f4a81f
Add a build flag to build in debug mode 2021-03-20 16:53:15 +05:30
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
b08794a6c2
Make the full vcvars env available for the benefit of qmake 2021-03-18 22:03:29 +05:30
Kovid Goyal
0f2aff9a4a
Cleanup path handling when building on windows 2021-03-18 21:41:15 +05:30
Kovid Goyal
26c0108beb
Merge branch 'master' of https://github.com/cbhaley/calibre 2021-03-18 21:25:08 +05:30
Kovid Goyal
75586d8eb0
Always build on Windows with Visual Studio 2019 2021-03-18 21:22:31 +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
b1c34ab520
Add support for building with c++14 2021-03-18 07:40:07 +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