50460 Commits

Author SHA1 Message Date
Kovid Goyal
ade24f832a
Merge branch 'fix-build-with-gcc15' of https://github.com/keszybz/calibre 2025-01-19 07:41:26 +05:30
Zbigniew Jędrzejewski-Szmek
c04bd03a68 Fix build with -std=gnu23
Gcc 15 defaults to gnu23, which makes bool a native type, so
it cannot be redefined like this.
2025-01-18 13:49:36 +01:00
Kovid Goyal
fdff266a5d
Merge branch 'fix-tag-brower-attribute-error' of https://github.com/un-pogaz/calibre 2025-01-17 19:48:10 +05:30
un-pogaz
ab4438b6a5 fix also for content-server 2025-01-17 15:05:36 +01:00
un-pogaz
da52211180 fix: icon not loading when using a PTM 2025-01-17 14:54:14 +01:00
Kovid Goyal
c1b3340d37
Bump version for beta release
string changes
2025-01-17 08:19:36 +05:30
Kovid Goyal
e3dc567edd
Merge branch 'master' of https://github.com/cbhaley/calibre 2025-01-17 07:45:24 +05:30
Charles Haley
9e1faa1475 Fix regression setting the default category icon 2025-01-16 21:26:41 +00:00
Charles Haley
c7b54fccf2 Escape ampersands in tag browser icon value strings. 2025-01-16 20:42:32 +00:00
Kovid Goyal
645b2161a0
Merge branch 'master' of https://github.com/cbhaley/calibre 2025-01-16 21:18:30 +05:30
Charles Haley
2b5f4eeda0 TB Icons: Fix showing the "Use default" menu line when there is no item value. 2025-01-16 15:44:46 +00:00
Kovid Goyal
06186cd93d
string changes 2025-01-16 20:53:46 +05:30
Kovid Goyal
85f70dc95c
Merge branch 'master' of https://github.com/cbhaley/calibre 2025-01-16 20:50:19 +05:30
Charles Haley
f65b874d1a Stuff for value icons:
- Documentation
- bug fixes in icon template evaluation
- Better enabling/disabling of menu lines in the tag browser context menu
2025-01-16 15:09:17 +00:00
Kovid Goyal
3331d35a49
Cleanup Manage value icons sub-menu
Use the value name when available. It's true that the sub-menu contains
entries to manage overall icons as well, but the common use case is
changing the icon for the particular value, so use the value name in the
menu entry.
2025-01-16 19:20:03 +05:30
Kovid Goyal
39e17d55e3
Get tag browser value icons working in content server 2025-01-16 19:10:11 +05:30
Kovid Goyal
a0a7ef06c0
Merge branch 'master' of https://github.com/cbhaley/calibre 2025-01-16 18:56:25 +05:30
Charles Haley
508cfc563d Pass the tag browser icon names to the content server client.
The name is in the dict entry 'value_icon', which might not exist, be a file name, or be None. This is a path rooted at the 'tb_icons' directory. Icons that come from templates are in the 'template_icons' subdirectory, in which case a slash is used as the path separator.
2025-01-16 12:54:56 +00:00
Kovid Goyal
44a3066a10
Fix #2093803 [Private bug](https://bugs.launchpad.net/calibre/+bug/2093803) 2025-01-16 17:05:48 +05:30
Kovid Goyal
cf20d487f8
Fix #2093867 [Jobs shortcut/tooltip mismatch](https://bugs.launchpad.net/calibre/+bug/2093867) 2025-01-16 14:36:52 +05:30
Kovid Goyal
4fa56c9e9e
... 2025-01-16 14:27:25 +05:30
Kovid Goyal
5692af16a9
Content server: Fix icons for individual formats not being shown in the Tag browser 2025-01-16 14:02:52 +05:30
Kovid Goyal
d00a2fd645
pep8 2025-01-16 13:42:10 +05:30
Kovid Goyal
97efb777c8
Merge branch 'master' of https://github.com/cbhaley/calibre 2025-01-16 13:41:47 +05:30
Kovid Goyal
04a55c66df
MTP driver: Fix Internal storage and SD card being swapped on some devices that have buggy firmware that assigns the SD card a lower id than the internal storage 2025-01-16 12:34:13 +05:30
Kovid Goyal
543eb5fa10
Forgot to translate open_at to bookpos when translating calibre://view-book URLs 2025-01-16 11:43:20 +05:30
Charles Haley
2595645240 Add ability to tag browser specify icons for individual values, as is already done automatically for 'formats'.
This scheme could be used to replace the existing tag browser category icon selection. I didn't do that because the risk seemed high. The category icon dict is used in several places and in plugins. It also has meaning for search and user categories, where the new value icon stuff doesn't.

If the new facilities are not used then performance risk is near zero. Performance shouldn't be an issue if used because the icon dictionaries scale well. The exception might be templates. We have no control over the complexity or performance of user-written templates.

This PR fixes a few bugs I found while implementing the new feature.
2025-01-15 13:17:39 +00:00
Kovid Goyal
851c826bd8
Merge branch 'master' of https://github.com/unkn0w7n/calibre 2025-01-14 10:33:23 +05:30
unkn0w7n
22ade2ce40 Update foreignaffairs.recipe
fix cover
2025-01-14 10:30:49 +05:30
Kovid Goyal
55469a6ab6
... 2025-01-14 10:03:00 +05:30
Kovid Goyal
50068c9d06
Merge branch 'check-option-strict-pep8' of https://github.com/un-pogaz/calibre 2025-01-14 08:54:15 +05:30
un-pogaz
db0f74812b cherry pick: ruff-strict-pep8.toml 2025-01-13 19:41:23 +01:00
un-pogaz
74c535f624 setup check: common files walker 2025-01-13 19:39:25 +01:00
un-pogaz
c1f7c9dd95 add option --strict to 'setup.py check'
Perform the checking more strictely. See the file "ruff-strict-pep8.toml"
2025-01-13 19:38:41 +01:00
Kovid Goyal
fe7536dd2a
And now Ubuntu needs freetype-dev explicitly installed for some reason 2025-01-13 21:48:00 +05:30
Kovid Goyal
c7f2de3902
Ubuntu changed a package name. Sigh. 2025-01-13 21:32:30 +05:30
Kovid Goyal
0ca74e7dae
Content server: Also translate calibre://search URLs 2025-01-13 21:21:14 +05:30
Kovid Goyal
4cf2cd30a9
Merge branch 'master' of https://github.com/unkn0w7n/calibre 2025-01-13 20:39:31 +05:30
unkn0w7n
a6d6387e71 Update foreignaffairs.recipe 2025-01-13 20:32:23 +05:30
Kovid Goyal
7a7f93c61a
Merge branch 'master' of https://github.com/unkn0w7n/calibre 2025-01-13 14:29:44 +05:30
unkn0w7n
4b50470d02 ... 2025-01-13 13:21:08 +05:30
unkn0w7n
6d9f73cc45 Update foreignaffairs.recipe 2025-01-13 13:17:41 +05:30
Kovid Goyal
cf77e78911
... 2025-01-12 21:00:14 +05:30
Kovid Goyal
fd20bf9baa
Faz.net by Anonymous 2025-01-12 20:58:14 +05:30
Kovid Goyal
5e8faec6eb
Moview Web and Football League World by SpicyPoison 2025-01-12 14:25:35 +05:30
Kovid Goyal
a0d9d0d869
Merge branch 'master' of https://github.com/unkn0w7n/calibre 2025-01-11 13:26:49 +05:30
unkn0w7n
a9fb79fa88 Update demorgen_be.recipe 2025-01-11 13:06:17 +05:30
unkn0w7n
04f09be252 Update economist_news.recipe 2025-01-11 12:22:37 +05:30
Kovid Goyal
7919f5e9f9
Add various other naturally RTL languages for automatic page progression setting 2025-01-11 10:00:14 +05:30
Kovid Goyal
4a2869e2b1
string changes 2025-01-10 22:14:26 +05:30