un-pogaz
28db54436b
ensure that the Python template returns a string
2022-10-13 16:21:10 +02:00
Kovid Goyal
8d42c86479
pep8
2022-10-13 18:11:20 +05:30
Charles Haley
31bd89a717
Permit using a custom python template context class. Add a test for it.
2022-10-13 13:20:14 +01:00
Charles Haley
b3cb7ae6d1
More improvements in syntax highlighting for comments and strings
2022-10-13 13:18:30 +01:00
Kovid Goyal
2da0fe7bf9
string changes
2022-10-13 10:38:37 +05:30
Kovid Goyal
0561f520a8
More work on custom widget geometry restore
2022-10-12 20:58:21 +05:30
Kovid Goyal
623b1d69f2
Merge branch 'master' of https://github.com/cbhaley/calibre
2022-10-12 16:06:08 +05:30
Kovid Goyal
2d6fe7a8b5
string changes
2022-10-12 15:58:02 +05:30
Charles Haley
9b68f5c89a
Three changes to template processing:
...
1) If the user presses ESC, ask "are you sure" if the template has changed.
2) Fix syntax highlighting of comments
3) Improve the python template example in the template docs, better using the new_api.
2022-10-12 11:24:49 +01:00
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