Commit Graph

52494 Commits

Author SHA1 Message Date
Kovid Goyal 4c867ea08f Add an action to the book details context menu to recount pages 2025-12-30 11:51:06 +05:30
Kovid Goyal 57ca878ce2 Dont show remove context menu item for pages in BD panel 2025-12-30 11:35:55 +05:30
Kovid Goyal 7906ed2d57 ... 2025-12-30 11:34:57 +05:30
Kovid Goyal 03646bac52 Queues page count scan if pages is configured to be shown in book details 2025-12-30 11:33:20 +05:30
Kovid Goyal a81946674c Pages should not be displayed in book details by default 2025-12-30 11:16:12 +05:30
Kovid Goyal 893d250dae Allow stdout to work in develop mode 2025-12-30 11:00:58 +05:30
Kovid Goyal 7223282925 ... 2025-12-30 10:32:57 +05:30
Kovid Goyal ea4982f795 Redo shelf layout when a large number of pending to be counted books are recounted 2025-12-30 10:02:55 +05:30
Kovid Goyal 46eb353b14 ... 2025-12-30 09:38:46 +05:30
Kovid Goyal aeda521151 Print crash report when CI test process crashes 2025-12-30 09:24:21 +05:30
Kovid Goyal c6b44d5ef7 Do not import webengine when running viewer annotations test 2025-12-30 09:14:24 +05:30
Kovid Goyal 1f63730ca4 Run webengine test in a worker process
Otherwise we get sporadic crashes on macOS.
2025-12-30 08:53:00 +05:30
Kovid Goyal 2cc7a0c516 Removed unused code 2025-12-30 08:03:00 +05:30
Kovid Goyal d7c3e23c62 ... 2025-12-30 08:03:00 +05:30
Kovid Goyal 704b539302 Add a button to trigger a pages recount 2025-12-30 08:03:00 +05:30
Kovid Goyal e8aea1194b Show DRM in the Pages column if calculating pages failed because book is DRMed 2025-12-30 08:02:59 +05:30
Kovid Goyal a19691fd4a Allow the Pages column to be added to the book list view 2025-12-30 08:02:59 +05:30
Kovid Goyal 2f2ec54e2c Some more test closures 2025-12-30 08:02:59 +05:30
Kovid Goyal 94b30d3927 ... 2025-12-30 08:02:59 +05:30
Kovid Goyal 4859204809 Some more test closures 2025-12-30 08:02:59 +05:30
Kovid Goyal 669e408cc6 Ensure various Cache objects used in tests are properly closed rather than relying on their __del__ method 2025-12-30 08:02:59 +05:30
Kovid Goyal 0435f0a0c0 Ignore connection closed in maintain page counts thread
Exit thread cleanly in such cases
2025-12-30 08:02:59 +05:30
Kovid Goyal 479692c324 Implement page based spine widths
Change the number of pages for a max width book to 2000 from 150
2025-12-30 08:02:59 +05:30
Kovid Goyal bb35553a58 Make tear down more robust on Unix 2025-12-30 08:02:59 +05:30
Kovid Goyal d06a89bc15 Use the more efficient shutil.copyfile for copying formats out of the library 2025-12-30 08:02:59 +05:30
Kovid Goyal bd43e9204e ... 2025-12-30 08:02:59 +05:30
Kovid Goyal 12c9444ce2 Add tests for page count semantics in the db 2025-12-30 08:02:59 +05:30
Kovid Goyal 078285845c ... 2025-12-30 08:02:59 +05:30
Kovid Goyal d1cd49d8a9 Specialize page counting for text files 2025-12-30 08:02:58 +05:30
Kovid Goyal d992305e8e Start work on maintaining page counts for spine width calculations in the shelf view 2025-12-30 08:02:58 +05:30
Kovid Goyal e81fa6ac0e Allow user to override lookup.js 2025-12-30 07:59:20 +05:30
Kovid Goyal 0f5a7d9e40 pep8 2025-12-29 09:38:42 +05:30
Kovid Goyal 77487080d9 Merge branch 'new-yorker-web-version-recipe' of https://github.com/thekabistro/calibre 2025-12-29 09:38:18 +05:30
thekabistro 3a323e6095 Add New Yorker web version recipe to include all articles
Results in two recipes:
- new_yorker.recipe: Magazine mode (weekly issues, less articles)
- new_yorker_com.recipe: Web mode (RSS feed, articles from daily content)

This follows a similar pattern established for the Atlantic recipes. Both use conditional if statements with web_version flag to control behavior.
2025-12-28 22:55:32 -05:00
Kovid Goyal c68cf2e130 Normalize file permissions on the installers 2025-12-29 09:13:56 +05:30
Kovid Goyal 001d851047 string changes 2025-12-29 08:55:39 +05:30
Kovid Goyal 761eb67d0f string changes 2025-12-29 08:54:38 +05:30
Kovid Goyal 317c181516 Bump version for preview build
The build is needed for people running from source because of the python
3.13 requirement.
2025-12-28 23:55:30 +05:30
Kovid Goyal f956acce08 Edit book: Fix crash on copy in Wayland with PyQt 6.10.1
Also has the advantage of fixing the PARAGRAPH_SEPARATOR issue for all
copied text mimetypes.
2025-12-28 08:59:37 +05:30
Kovid Goyal 5164212034 Add a test for page counting 2025-12-27 14:56:22 +05:30
Kovid Goyal 0ad066c8dd ... 2025-12-27 13:10:16 +05:30
Kovid Goyal 259fd08715 Start work on centralised page counting service 2025-12-27 12:49:10 +05:30
Kovid Goyal 8769ccd9f3 Couple of utility functions 2025-12-27 10:46:39 +05:30
Kovid Goyal 76d0fc898d ... 2025-12-27 09:05:34 +05:30
Kovid Goyal 242920721c Use shutdown on the queues used in the bookshelf 2025-12-26 23:11:30 +05:30
Kovid Goyal 2f0952ecd9 Bump minimum required python to 3.13
Needed for Queue.shutdown() which is much more elegant than putting a
sentinel value in the queue and in the case of FIFO queues much faster
as well. Python 3.13 is over two years old at this point.
2025-12-26 23:07:09 +05:30
Kovid Goyal 34b4d1ab32 Use a LifoQueue for thumbnail render requests
This means that when scrolling through a view the thumbnails for where
the scrolling stops are rendered first rather than thumbnails for the
scrolled off screen entries.
2025-12-26 23:03:46 +05:30
Kovid Goyal e8371223ec shelves_per_screen must be an integer 2025-12-26 22:43:21 +05:30
Kovid Goyal cb02f265ac ... 2025-12-26 22:38:08 +05:30
Kovid Goyal 19051088d7 Avoid constructing a proxy metadata object when the template is the default value 2025-12-26 22:37:04 +05:30