Charles Haley
594e152242
Changed python templates to use a context object. Updated the documentation and the tests.
2022-10-11 17:11:40 +01:00
Kovid Goyal
ffea14db35
cleanup previous PR
2022-10-11 20:13:02 +05:30
Kovid Goyal
10a51fb804
Merge branch 'master' of https://github.com/cbhaley/calibre
2022-10-11 19:42:47 +05:30
Charles Haley
1b7cbccdaf
Add a test calling a stored python template from a GPM template
2022-10-11 11:41:51 +01:00
Kovid Goyal
87bb69e17f
Start work on custom save/restore for window geometry
2022-10-11 14:50:35 +05:30
un-pogaz
985c189bd4
sligh improvement to syntax to word mode and regex
2022-10-11 09:46:33 +02:00
Charles Haley
3f856408d7
Add some tests for python templates
2022-10-10 21:25:06 +01:00
Charles Haley
294a28433c
Only detect the template type keyword on the first line.
...
Remove an extra space from the default formatter exception message.
2022-10-10 21:06:09 +01:00
Charles Haley
f1f8c32975
Some fixes and improvements from un_pogaz
2022-10-10 19:02:00 +01:00
un-pogaz
b0413ab3aa
improve Highlighter
2022-10-10 19:33:39 +02:00
Charles Haley
715f6d9b81
Fix failing test.
2022-10-10 17:14:03 +01:00
Charles Haley
42726c5e0f
Python templates, as discussed at length in https://www.mobileread.com/forums/showthread.php?t=349525 .
...
I think this is stable, usable, and very close to finished, but I will probably need to react fo feedback.
2022-10-10 16:54:21 +01:00
Kovid Goyal
f4d63adc07
Fix #1992273 [[Enhancement] Remove format from book by right-clicking on the format in the Tag browser]( https://bugs.launchpad.net/calibre/+bug/1992273 )
2022-10-10 10:55:24 +05:30
Kovid Goyal
69eb9ee126
http -> https
2022-10-09 20:38:37 +05:30
Kovid Goyal
25c0b827c4
E-book viewer: Fix a regression that broke adding of new lookup sources. Fixes #1992278 [Could not add extra lookup sources]( https://bugs.launchpad.net/calibre/+bug/1992278 )
2022-10-09 20:23:07 +05:30
Kovid Goyal
a1d2209fc7
E-book viewer: Fix copy to clipboard not ignoring text from elements that are marked as non user selectable. Fixes #1991504 [Copy text does not respect user-select: none]( https://bugs.launchpad.net/calibre/+bug/1991504 )
...
Apparently the bug in webengine where it does not copy HTML to the
clipbaord is no more, so we can go back to relying on the native copy
which does exclude such text automatically.
2022-10-09 15:25:42 +05:30
Kovid Goyal
eebdd57a90
E-book viewer: Ask for confirmation when creating a highlight that will overwrite existing highlights. Fixes #1991597 [Highlights in reader, when nested, overwrite one another]( https://bugs.launchpad.net/calibre/+bug/1991597 )
2022-10-09 14:38:16 +05:30
Kovid Goyal
fe310342d0
Content server: When adding books, run all file type plugins before reading metadata. Fixes #1992244 [Metadata wrong for books added through the web server]( https://bugs.launchpad.net/calibre/+bug/1992244 )
2022-10-09 12:12:44 +05:30
Kovid Goyal
c276617a0b
Fix #1991635 [crash invalid IPv6 URL due to a missing ]]( https://bugs.launchpad.net/calibre/+bug/1991635 )
2022-10-09 11:40:53 +05:30
Kovid Goyal
104a567adc
Fix #1991766 [Small blemishes in the book details.]( https://bugs.launchpad.net/calibre/+bug/1991766 )
2022-10-09 11:28:22 +05:30
Kovid Goyal
e708be5e61
Book list: When displaying yes/no custom columns, render the icon in the center of the column. Fixes #1992261 [Place checkmarks for custom columns in the center]( https://bugs.launchpad.net/calibre/+bug/1992261 )
2022-10-09 10:25:23 +05:30
Kovid Goyal
37fd854e33
Edit book: Preview panel: In dark mode when all of the background/foreground/link colors are set to "No change" do not render the book using dark colors
2022-10-07 23:28:19 +05:30
Kovid Goyal
66c7741822
...
2022-10-07 13:16:11 +05:30
Charles Haley
8863c7b9eb
Remove the new virtual field "in_tag_browser" from displayable_fields
2022-10-05 20:26:32 +01:00
Charles Haley
8521749f0a
Two bug fixes involving user categories:
...
1) Fix child categories not displaying if the parent category doesn't exist.
2) Ensure that only the top most user category in a hierarchy can be hidden.
2022-10-05 13:49:30 +01:00
Charles Haley
b3fd42a912
Bug #1991571 : 'Clear' button on short longtext columns. Changed look to be like the other widgets.
2022-10-04 09:13:57 +01:00
Charles Haley
0f4a94b3f7
Use an icon drawn by un_pogaz.
2022-10-03 20:58:48 +01:00
Charles Haley
ffb485add6
Changes to the column width dialog suggested in https://www.mobileread.com/forums/showthread.php?t=349471
...
- Put all the resize actions in the dialog.
- Moved menu lines around to make more sense (to me)
- Added some tooltips
BTW: your "addRow()" worked perfectly when given a button as its only argument. :)
2022-10-03 19:13:41 +01:00
Kovid Goyal
cdcc20228c
Use a grid layout instead
2022-10-03 19:02:26 +05:30
Kovid Goyal
a1a0c57e32
Clean up previous PR
2022-10-03 17:22:32 +05:30
Charles Haley
af763a7a0c
More accessibility changes related to the book list header context menu:
...
1) add a dialog to set the width without using the mouse.
2) Change the name from "Book list context menu" to "Book list header menu" to avoid confusion with the context menu on book list cells.
2022-10-03 11:31:50 +01:00
Charles Haley
2184200ef7
The alternate implementation of the accessibility enhancement: add an action to open the book list column context menu. Default: no shortcut
2022-10-01 16:55:15 +01:00
Kovid Goyal
e397d51a8a
I really dont want to keep answering questions about the edit metadata window so do a patch release
2022-09-30 17:47:24 +05:30
Kovid Goyal
0f46046c79
Ensure edit metadata dialog is not sized larger than screen size
2022-09-30 15:42:51 +05:30
Kovid Goyal
fdac9fcada
...
2022-09-30 13:21:03 +05:30
Kovid Goyal
95fdbe4381
version 6.6.0
2022-09-30 07:42:51 +05:30
Kovid Goyal
a2a608acd0
Handle trailing slash on CALIBRE_DEVELOP_FROM
2022-09-29 12:55:30 +05:30
Kovid Goyal
4f8c41049c
...
2022-09-28 20:30:29 +05:30
Kovid Goyal
f1cc7ddfd9
Subsetting: Handle child elements under ::first-line
2022-09-28 18:19:31 +05:30
Kovid Goyal
0d4674f1b2
Font subsetting: Fix :first-line and :first-letter pseudo classes not being handled correctly. Fixes #1990766 [Font subsetting problem with CSS pseudo classes]( https://bugs.launchpad.net/calibre/+bug/1990766 )
2022-09-27 12:40:33 +05:30
Kovid Goyal
497b8e4803
Content server: Fix jumping to locations such as bookmarks not working on iPhone/iPad running iOS >= 15. Fixes #1989722 [Calibre Content Server: Opening bookmarks on Safari iOS not working]( https://bugs.launchpad.net/calibre/+bug/1989722 )
2022-09-27 12:13:24 +05:30
Kovid Goyal
b8d6555b9e
Fix #1990878 [[Enhancement] Add more padding to Search text of all books window]( https://bugs.launchpad.net/calibre/+bug/1990878 )
2022-09-27 07:25:01 +05:30
Kovid Goyal
da9426aaab
DRYer
2022-09-26 22:30:49 +05:30
Kovid Goyal
45db1ac43c
Edit book: When right clicking on HTML files in EPUB 3 books, allow marking them as the Table of Contents (NAV document). Fixes #1990507 [[Editor][Request]: Context menu entry to "Mark as NAV"]( https://bugs.launchpad.net/calibre/+bug/1990507 )
2022-09-26 19:37:28 +05:30
Kovid Goyal
19cb5117f0
EPUB Output: Fix converting a document with obfuscated fonts to EPUB 3 not working. Fixes #1990185 [Private bug]( https://bugs.launchpad.net/calibre/+bug/1990185 )
2022-09-26 19:02:34 +05:30
Charles Haley
e2f34bc386
Fix composite column searching to make #x:false. Before, books with an empty column were not returned. With this change it returns None.
2022-09-25 13:24:06 +01:00
Kovid Goyal
40e2c383c8
Go back to using ascii-ized filenames for Amazon
...
Apparently, their email service has stopped reading metadata
from file contents. Hurray!
2022-09-24 07:43:49 +05:30
Kovid Goyal
8466f81072
Also discard duplicates from batched rename matching existing file names
2022-09-22 23:06:51 +05:30
Kovid Goyal
a8caf05566
Discard duplicate names when batching renames
2022-09-22 21:49:48 +05:30
Kovid Goyal
26b17f7efe
Fix OPF not being updated when batching renames
2022-09-22 21:45:39 +05:30