50725 Commits

Author SHA1 Message Date
Kovid Goyal
ee0606e044
Dont use {template} as translatable string as {word} is python string formatting syntax adn translators dont know whether it shouldbe translated or not and automatic checking tools get confused 2025-01-23 19:15:30 +05:30
Kovid Goyal
d8168dd59c
Merge branch 'lazy-operations-look_feel' of https://github.com/un-pogaz/calibre 2025-01-23 19:05:41 +05:30
un-pogaz
f3e5d970d3 perfom lazy operations for first selected section 2025-01-23 14:22:06 +01:00
un-pogaz
6f84e54bd3 implement lazy operations for "Look & feel" 2025-01-23 13:20:59 +01:00
Kovid Goyal
e85d9a2a8e
string changes 2025-01-22 22:18:22 +05:30
Kovid Goyal
e6bfbbff71
Merge branch 'master' of https://github.com/cbhaley/calibre 2025-01-22 21:25:52 +05:30
Charles Haley
cf4034c2ff Visual improvements to the icon rules browser. 2025-01-22 14:07:02 +00:00
Kovid Goyal
a6fda5e749
String changes 2025-01-22 18:57:14 +05:30
Kovid Goyal
f7f649188f
Merge branch 'master' of https://github.com/cbhaley/calibre 2025-01-22 18:55:40 +05:30
Charles Haley
92078b53c8 Updates to the manual. NB: I used references like :ref:ff_func gui.rst. but don't know if they work. 2025-01-22 11:40:51 +00:00
Kovid Goyal
586be46ff2
... 2025-01-22 09:45:37 +05:30
Kovid Goyal
3e58252176
automated upgrade of python code using ruff and ./setup.py upgrade_source_code 2025-01-22 09:44:19 +05:30
Kovid Goyal
dd71135591
Bump minimum Python version to 3.10
3.8 is EOLed and 3.9 will be EOLed in a few months. 3.10 thus makes a
good base and matches the minimum Python version on my other big Python
project, kitty, so I dont have to keep multiple feature sets in mind
when developing.
2025-01-22 09:37:33 +05:30
Kovid Goyal
ac76cbff0f
Cleanup previous PR 2025-01-22 09:16:58 +05:30
Kovid Goyal
9041c240f9
Merge branch 'master' of https://github.com/cbhaley/calibre 2025-01-22 09:11:49 +05:30
Charles Haley
6866ce84a2 Fix composites that use database methods not working in the content server. Also fix template searches using the database API not working in the content server. Update the manual. 2025-01-21 21:42:54 +00:00
Kovid Goyal
a56d277b52
... 2025-01-21 19:29:13 +05:30
Kovid Goyal
4a77d39053
Dont store reference to db on tag tree nodes
This has the potential of preventing db garbage collection because of
reference cycles and there is no need since the current db is available
globally in the GUI. And we dont unnecessarily carry around an extra
reference on every node.
2025-01-21 18:53:44 +05:30
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