Commit Graph

42882 Commits

Author SHA1 Message Date
Kovid Goyal 78b14e7ae2 ... 2021-03-22 08:24:33 +05:30
Kovid Goyal c4ce025f41 Remove unused code. Fixes #1387 (Remove Unused Variable) 2021-03-22 08:23:35 +05:30
Kovid Goyal 47fc91689c Merge branch 'patch-1' of https://github.com/0verk1ll/calibre 2021-03-22 08:21:36 +05:30
overkill 61cacccbc5 Make collections import one line. 2021-03-21 17:21:29 -04:00
overkill c381a5c31b Make Indentation Consistent
I added two more spaces to make my indentation consistent.
2021-03-21 14:28:46 -04:00
overkill a8bec3448e I removed the duplicate import of collections.
I made this change to address a suggestion from LGTM (https://lgtm.com/projects/g/kovidgoyal/calibre?mode=tree&severity=recommendation&ruleFocus=1818040193).
2021-03-21 13:52:10 -04:00
Kovid Goyal bdceb78923 Merge branch 'master' of https://github.com/cbhaley/calibre
Fixes #1920574 [Enhancement Request: Setting a different font for template editor](https://bugs.launchpad.net/calibre/+bug/1920574)
2021-03-21 22:33:32 +05:30
Charles Haley 180b55d4e5 Changes to font selection 2021-03-21 16:16:39 +00:00
Charles Haley 7fe23d9e58 Enhancement #1920574: allow changing fonts in the templat tester 2021-03-21 15:29:32 +00:00
Kovid Goyal 320c525cfe Fix a regression in calibre 5 that broke --explode-book and --implode-book in calibre-debug.exe 2021-03-21 20:00:00 +05:30
Kovid Goyal 9407f7b08f Fix urls not being transformed if property is followed by '}' 2021-03-21 19:55:52 +05:30
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