Commit Graph

42931 Commits

Author SHA1 Message Date
Charles Haley c2fa7ca19b Template formatter and tester changes:
Formatter:
- Clean up line number processing to make them more accurate
- Provide more detail in breakpoint labels
- Ensure all error strings are translatable
- Clean up error strings to distinguish between translated and untranslated parts

Tester:
- Remove context menu, replacing it with 2 small buttons for load and store
2021-03-30 12:34:07 +01:00
Kovid Goyal ba06b74522 Merge branch 'master' of https://github.com/cbhaley/calibre 2021-03-29 22:23:51 +05:30
Charles Haley ea40045e0a Template tester: add file save/load to the context menu 2021-03-29 17:42:35 +01:00
Kovid Goyal 5e022932ba pep8 2021-03-29 16:08:36 +05:30
Kovid Goyal c765da312c Merge branch 'master' of https://github.com/cbhaley/calibre
Fixes #1921674 [Template editor: Syntax highlighting of field references](https://bugs.launchpad.net/calibre/+bug/1921674)
2021-03-29 16:06:17 +05:30
Charles Haley c66a7e7332 Enhancement: add 'breakpoints' to the template tester. Includes adding line numbers.
Also improved syntax highlighting.
This will undoubtably change again, but I want to get it out for testing.
2021-03-29 11:32:59 +01:00
Kovid Goyal 97bf4c1773 Edit book: Fix detection of class names containing hyphens/underscores 2021-03-29 11:01:31 +05:30
Kovid Goyal 176ad16b04 Fix py3 compat issue in irish times 2021-03-28 22:28:42 +05:30
Kovid Goyal a80357301c ... 2021-03-28 16:10:05 +05:30
Kovid Goyal 3848fb45d0 String changes 2021-03-27 20:39:10 +05:30
Kovid Goyal b3ba942ce6 Dont rely on select_one() since it is not present in older calibre 2021-03-27 16:13:56 +05:30
Kovid Goyal bdfb061ac9 Merge branch 'cover' of https://github.com/xxyzz/calibre 2021-03-27 16:11:55 +05:30
Kovid Goyal 9673e288be Fix #1921572 [[Viewer] Ctrl+A doesn't work when some text is selected](https://bugs.launchpad.net/calibre/+bug/1921572) 2021-03-27 16:10:56 +05:30
xxyzz d360331af4 remove := syntax 2021-03-27 18:34:20 +08:00
xxyzz 84741b17df get the economist cover url from json 2021-03-27 18:10:22 +08:00
Kovid Goyal 57302df132 Fix #1921551 [Saving annotations using "Browse Annotations" saves as incorrect file type](https://bugs.launchpad.net/calibre/+bug/1921551) 2021-03-27 07:33:26 +05:30
Kovid Goyal 4eda7a69fd Fix #1921530 [Private bug](https://bugs.launchpad.net/calibre/+bug/1921530) 2021-03-26 22:40:29 +05:30
Kovid Goyal ad3aab9bdd Use alt+arrow rather than arrow on for next book on book details page 2021-03-26 16:44:25 +05:30
Kovid Goyal e895b4ebde Better errors when browsing spineless books 2021-03-26 16:42:13 +05:30
Kovid Goyal 39b894f1fe Fix #1921460 [Rename class in zackzack recipe](https://bugs.launchpad.net/calibre/+bug/1921460) 2021-03-26 12:30:42 +05:30
Kovid Goyal 070a35906f String changes 2021-03-26 12:21:41 +05:30
Kovid Goyal 61dfae3c1c Add a non-ascii css parse test 2021-03-26 10:26:19 +05:30
Kovid Goyal bc66e0bda5 version 5.14.0 v5.14.0 2021-03-26 08:54:02 +05:30
Kovid Goyal e6e1f54f8c Economist JSON format has changed 2021-03-26 08:42:21 +05:30
Kovid Goyal e96068d20f Merge branch 'master' of https://github.com/cbhaley/calibre 2021-03-26 08:34:50 +05:30
Charles Haley 1311c84d11 Template function format_date() improvement: add 'to_number' and 'from_number' as valid formats 2021-03-25 19:31:12 +00:00
Kovid Goyal ea9ad78429 Merge branch 'master' of https://github.com/cbhaley/calibre
Fixes #1921348 [English text in code block (manual)](https://bugs.launchpad.net/calibre/+bug/1921348)
2021-03-25 18:46:39 +05:30
Charles Haley 7e95562329 Fix Jellby's second example. 2021-03-25 13:13:07 +00:00
Kovid Goyal a758651340 Merge branch 'master' of https://github.com/cbhaley/calibre 2021-03-25 18:42:00 +05:30
Charles Haley c2a25a8bd1 Bug #1921348: English text in code block. Many other cleanup, spelling, and grammar changes. 2021-03-25 13:05:02 +00:00
Kovid Goyal 530ca249b5 ZackZack.at by Dirk Gomez
Fixes #1921346 [Add recipe for zackzack.at](https://bugs.launchpad.net/calibre/+bug/1921346)
2021-03-25 14:21:59 +05:30
Kovid Goyal d344114f1e string changes 2021-03-25 09:40:18 +05:30
Kovid Goyal 79e1fe3fce Merge branch 'master' of https://github.com/cbhaley/calibre 2021-03-24 18:38:20 +05:30
Charles Haley b173eb4636 Add field references to the language syntax. $authors is the same as field('authors'). $$pubdate is the same as raw_field('pubdate'). 2021-03-24 12:49:49 +00:00
Kovid Goyal 4ad268224f Edit book: When right clicking on a class in a HTML file, add an option to rename the class throughout the book 2021-03-24 16:12:02 +05:30
Kovid Goyal 1d6694b04f Content server: Allow pressing v to read the book from the book details page
Fixes #1920910 [[Enhancement - Content server] Add ability to View book from the Book details page by clicking Enter](https://bugs.launchpad.net/calibre/+bug/1920910)
2021-03-24 13:57:21 +05:30
Kovid Goyal d902ed2646 Fix #1917566 [[Enhancement] Choose library when the last used library is not available](https://bugs.launchpad.net/calibre/+bug/1917566) 2021-03-23 11:46:22 +05:30
Kovid Goyal 4bce133294 Merge branch 'master' of https://github.com/cbhaley/calibre
Fixes #1920733 [Quickview: Slight lag when viewing composite column in quickview](https://bugs.launchpad.net/calibre/+bug/1920733)
2021-03-22 21:52:02 +05:30
Charles Haley 3c781d1334 Bug #1920733: Slight lag when viewing composite column in quickview.
This problem is caused by Quickview filling in the entite table whenever the book changes. Unfortunately this is necessary because the table is sorted.

I improved performance using two methods:
- Compute the data for a column only when it is needed. This means that in general only the data in the sorted column is computed before displaying the table.
- Delay a bit before redisplaying the table. This lets the main gui remain responsive at the cost of a small delay in seeing the quickview data.
2021-03-22 14:22:54 +00:00
Kovid Goyal 33eac400fd Get books: Fix smashwords plugin not working because of website changes
Fixes #1918737 [smashwords search doesn't work](https://bugs.launchpad.net/calibre/+bug/1918737)
2021-03-22 15:47:16 +05:30
Kovid Goyal 4cd2abd3c1 Adding from ISBN: Add an option to check if there are existing books with the specified ISBNs already in the library. Fixes #1919103 [Enhancement Request: "Add from ISBN" duplicate check](https://bugs.launchpad.net/calibre/+bug/1919103) 2021-03-22 14:12:47 +05:30
Kovid Goyal 038163ac97 Add a reference to the spec used to develop the fast CSS tranformer 2021-03-22 11:39:57 +05:30
Kovid Goyal 69261e96f5 Browser viewer: Fix Go to Location not working for positions. Fixes #1920250 [[Content server viewer] Error when trying to go to position in book](https://bugs.launchpad.net/calibre/+bug/1920250) 2021-03-22 11:25:02 +05:30
Kovid Goyal 1387cfc39f MOBI Output: Fix latest kindle firmware not displaying select publisher font option for calibre produced azw3 files. Fixes #1920613 [Kindle Firmware 5.13.5 changed embedded font management](https://bugs.launchpad.net/calibre/+bug/1920613) 2021-03-22 11:00:10 +05:30
Kovid Goyal 90020202f0 More tests for CSS transformer 2021-03-22 10:36:27 +05:30
Kovid Goyal 16fe9090a5 Run the test suite with ASAN on Arch CI 2021-03-22 09:46:23 +05:30
Kovid Goyal 5ba9dbe940 Add a note about uploading large books when reverse proxying with nginx 2021-03-22 09:38:54 +05:30
Kovid Goyal 5ce36cc3e6 Option to run tests under sanitizer 2021-03-22 09:35:17 +05:30
Kovid Goyal ccc85bc358 Skip a couple of tests when running with sanitizer 2021-03-22 09:09:42 +05:30
Kovid Goyal 78b14e7ae2 ... 2021-03-22 08:24:33 +05:30