51007 Commits

Author SHA1 Message Date
Kovid Goyal
2a3fdcc3d5
Cleanup previous PR 2025-01-21 18:49:25 +05:30
Kovid Goyal
abaf03984d
Merge branch 'master' of https://github.com/cbhaley/calibre 2025-01-21 18:39:35 +05:30
Charles Haley
df10de2a0b 1)Don't try to convert the database to a LibraryDatabase instance in metadata.py
2) Change formatter functions to use the new_api where possible. Also fix a bug where the wrong exception was raised attempting to get a database object from the weak reference.

These were tested using the command line content server.
2025-01-21 13:03:17 +00:00
Kovid Goyal
296b0d341d
Dump info about device as well 2025-01-21 08:32:36 +05:30
Kovid Goyal
5ed0eda722
... 2025-01-21 07:55:15 +05:30
Kovid Goyal
fe4e0aa6b7
Add mtime to ListEntry 2025-01-21 07:51:06 +05:30
Kovid Goyal
9ab99b34c2
Use FileNotFoundError instead of DeviceError when file/folder is not found 2025-01-21 07:45:49 +05:30
Kovid Goyal
77936feb22
... 2025-01-21 07:38:40 +05:30
Kovid Goyal
0c685e27d0
Add some method API docs 2025-01-21 07:28:31 +05:30
Kovid Goyal
be027ad93a
Create platform independent wrappers for listing and reading by name 2025-01-21 07:25:29 +05:30
Charles Haley
3bc202ba7e Update the tag browser icon documentation 2025-01-20 22:20:30 +00:00
Charles Haley
4fa7f55516 Improvements to value icons:
1) Make average rating and count usable in templates
2) Pass the database to safe_format so it can be used in non-GUI contexts.
2025-01-20 18:02:12 +00:00
Kovid Goyal
d1d2e18aaa
Emit changed signal when deleting rule via button 2025-01-20 22:51:28 +05:30
Kovid Goyal
37ad5d3eb9
Fix traceback when clicking in empty part of rules list 2025-01-20 22:50:18 +05:30
Kovid Goyal
07c75c21c2
Merge branch 'master' of https://github.com/cbhaley/calibre 2025-01-20 22:49:30 +05:30
Charles Haley
caf76215cd As requested, add buttons and the delete key to the icon rules browser. 2025-01-20 16:17:12 +00:00
Kovid Goyal
e1072478cb
pep8 2025-01-20 20:50:29 +05:30
Kovid Goyal
a26eba374d
Merge branch 'master' of https://github.com/cbhaley/calibre 2025-01-20 20:43:51 +05:30
Kovid Goyal
613049d4f1
Implement get_file_by_name for windows MTP driver 2025-01-20 19:11:58 +05:30
Charles Haley
9c662216eb Move DisplayedFields to look_feel_tabs.__init__ 2025-01-20 11:29:19 +00:00
Kovid Goyal
2a36fd3fce
Implement function to get metadata by name 2025-01-20 16:53:41 +05:30
Charles Haley
a750fb4d91 Automatically register the child tab class instances in preferences 2025-01-20 10:09:51 +00:00
Kovid Goyal
b8c92ac9ce
Use bulk fetch for list_folder by name 2025-01-20 14:45:47 +05:30
Kovid Goyal
f19ca06b86
Start work on names based interface for windows mtp driver 2025-01-20 14:16:20 +05:30
Kovid Goyal
6865c5eea3
Merge branch 'master' of https://github.com/unkn0w7n/calibre 2025-01-20 08:08:14 +05:30
Charles Haley
b8a3e09955 Two changes:
1) add a new tab to Pref / L&F / TB to show the rules viewer
2) change the architecture of preferences to support subclasses as tabs.
2025-01-19 18:02:10 +00:00
unkn0w7n
519791f780 update economist 2025-01-19 17:35:52 +05:30
Kovid Goyal
030a05e7f8
Add libmtp wrapper methods to get files and metadata by name 2025-01-19 09:47:21 +05:30
Kovid Goyal
51d94af28d
Fix name collision in groupbox leading to missing title 2025-01-19 09:23:15 +05:30
Kovid Goyal
d001a4e786
Alternatives Economiques by Kabonix 2025-01-19 09:05:56 +05:30
Kovid Goyal
ebcfa3dd17
Update Arret sur images 2025-01-19 09:03:58 +05:30
Kovid Goyal
b9394ff3af
Zerodeux by Kabonix 2025-01-19 09:02:21 +05:30
Kovid Goyal
337a0c352c
Afrique XXI by Kabonix 2025-01-19 09:01:31 +05:30
Kovid Goyal
e71f77ea4b
Orient XXI by Kabonix 2025-01-19 08:58:36 +05:30
Kovid Goyal
74258c0dcb
Contretemps by Kabonix 2025-01-19 08:50:07 +05:30
Kovid Goyal
6dfc2f24cd
Update Le Canard Enchaine 2025-01-19 08:43:24 +05:30
Kovid Goyal
d0e5b3a29e
Merge branch 'master' of https://github.com/cbhaley/calibre 2025-01-19 07:46:27 +05:30
Kovid Goyal
9f0505333f
Merge branch 'improve-reset-icon-tag-browser' of https://github.com/un-pogaz/calibre 2025-01-19 07:43:20 +05:30
Kovid Goyal
ade24f832a
Merge branch 'fix-build-with-gcc15' of https://github.com/keszybz/calibre 2025-01-19 07:41:26 +05:30
un-pogaz
cb09c9058f move 'reset all value icons' into the values section 2025-01-18 20:00:54 +01:00
Charles Haley
2a1380b1c8 Update for the tag browser section
- Describe the icon selection decision hierarchy
- Add the new menu action added ny @un_pogaz
2025-01-18 16:46:39 +00:00
un-pogaz
9ec00f0ca5 add confirm dialog for all deleting icon action 2025-01-18 15:53:03 +01:00
un-pogaz
b4cef06f61 reset only value icons and not template 2025-01-18 14:57:28 +01:00
un-pogaz
a1aba91928 add action to reset all value icons 2025-01-18 14:21:58 +01:00
un-pogaz
6ecf4e8858 ... 2025-01-18 14:14:43 +01:00
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
un-pogaz
e9dd0c5c4f improve reset to default icons 2025-01-17 20:14:33 +01:00
un-pogaz
a503f07bfd DRY 2025-01-17 20:09:33 +01:00
un-pogaz
ee21e84110 ... 2025-01-17 19:12:22 +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