Commit Graph

44425 Commits

Author SHA1 Message Date
Kovid Goyal 65923491f1 py310: More int->float goodness 2022-01-09 12:33:53 +05:30
Kovid Goyal 67ad530492 py310: more float->int goodness 2022-01-09 05:28:21 +05:30
Kovid Goyal 71246f3c2e Merge branch 'master' of https://github.com/cbhaley/calibre 2022-01-09 04:15:55 +05:30
Charles Haley 3c97500e1a Enum problem that prevents creating custom columns on calibre 6 beta 2022-01-08 18:38:04 +00:00
Kovid Goyal 24c460faec also upgrade code in setup folder 2022-01-08 12:15:18 +05:30
Kovid Goyal f47f50d359 ... 2022-01-08 11:51:15 +05:30
Kovid Goyal eb78a761a9 Automated upgrade of code to python 3.7+
Done by https://github.com/asottile/pyupgrade
Consists mainly of moving string formatting to f-strings and removing
encoding declarations
2022-01-08 11:47:40 +05:30
Kovid Goyal 224db2bb02 command to upgrade source code 2022-01-08 11:26:18 +05:30
Kovid Goyal 2e56a2de31 Fix #1956779 [Cant read epub file written using ebooklib](https://bugs.launchpad.net/calibre/+bug/1956779) 2022-01-08 08:54:33 +05:30
Kovid Goyal a0c55c9026 Merge branch 'patch-1' of https://github.com/timotheeandres/calibre 2022-01-08 08:38:10 +05:30
Kovid Goyal 831a67d127 Add link to chromium bug for hyphenate char on macos 2022-01-08 08:36:58 +05:30
Timothée Andres 36011dc3a3 Reduce image compression in equestria_daily recipe
The website https://www.equestriadaily.com/ often uses images in its articles, and from what I have seen the images get compressed so much that text is basically unreadable on them.
This fix mitigates this issue by reducing the compression factor from 16 to 4, which slightly increases the size of the newspaper but makes it more enjoyable and readable.
2022-01-07 20:08:07 +01:00
Kovid Goyal f9fb012322 Auto trigger matching book search for not too large libraries 2022-01-07 20:36:34 +05:30
Kovid Goyal b42b694c56 Merge branch 'master' of https://github.com/cbhaley/calibre 2022-01-07 17:28:35 +05:30
Charles Haley c44af8e71a Create custom column dialog: Fix exception if the library has no custom columns 2022-01-07 11:54:24 +00:00
Kovid Goyal cc96900aee E-book viewer: Fix auto hyphenation on macOS not rendering the hyphens correctly. Fixes #1954714 [Ebook viewer: Breaking long words at the ends of lines causing boxes to be rendered instead of hyphens on macOS](https://bugs.launchpad.net/calibre/+bug/1954714) 2022-01-07 11:08:59 +05:30
Kovid Goyal 141ff585c9 ... 2022-01-07 08:11:12 +05:30
Kovid Goyal 37334d19cc Merge branch 'master' of https://github.com/cbhaley/calibre 2022-01-07 07:50:26 +05:30
Charles Haley 28257cad31 Another enum cleanup.
While testing that I found several problems related to adding and editing columns when the table was sorted differently.

Also prevented moving rows when the table is sorted by anything but row number ascending. This isn't the nicest fix but making it work with new columns while the sort is descending is harder than I want to deal with tonight.
2022-01-06 18:42:48 +00:00
Kovid Goyal d16195472c Cleanup previous PR 2022-01-06 20:51:57 +05:30
Kovid Goyal e03a52e445 Merge branch 'master' of https://github.com/cbhaley/calibre 2022-01-06 20:51:45 +05:30
Charles Haley 843dc628c7 Enhancement: allow sorting the columns in the create custom column dialog. 2022-01-06 13:25:30 +00:00
Kovid Goyal 6b10f5cc81 pep8 2022-01-05 22:05:56 +05:30
Kovid Goyal 7eff3249ae Merge branch 'master' of https://github.com/cbhaley/calibre
Fix #1956377 [lookup name duplicity is not checked when editing user-defined column](https://bugs.launchpad.net/calibre/+bug/1956377)
2022-01-05 22:04:34 +05:30
Charles Haley ef75f82fc0 Bug 1956377: lookup name duplicity is not checked when editing user-defined column
Fixing this required substantial cleanup of the dialog.

While there I added a column to the dialog showing the status of the column: edited, new, deleted.
2022-01-05 16:23:57 +00:00
Kovid Goyal 85c25916a3 Merge branch 'patch-4' of https://github.com/reportxx/calibre 2022-01-05 14:38:30 +05:30
reportxx 8e240e37d4 Update copyright year 2022-01-05 08:28:07 +00:00
Kovid Goyal 5c3376f778 py310: More float->int goodness 2022-01-05 09:26:50 +05:30
Kovid Goyal ec72e4f39d Check for deletion in worker thread before emitting signal 2022-01-03 21:23:13 +05:30
Kovid Goyal 68e16a0d12 Merge branch 'master' of https://github.com/cbhaley/calibre 2022-01-03 17:36:04 +05:30
Kovid Goyal 9aa548bd3b Update MIT Technology Review 2022-01-03 17:27:48 +05:30
Charles Haley f30a190b36 Change db.cache.virtual_libraries_for_books() to raise an exception when recursion is detected instead of returning an empty list. Using an exception gives a better chance of telling the user that the VL expression is wrong. 2022-01-03 11:47:38 +00:00
Kovid Goyal 6a3309175a E-book viewer: Remove books that dont exist from the recently opened book list. Fixes #1956192 [Feature request: possibility to remove book from recently opened books in Viewer](https://bugs.launchpad.net/calibre/+bug/1956192) 2022-01-03 12:11:17 +05:30
Kovid Goyal f0d5251692 Fix #1956198 [[Enhancement] View book from Book details window by pressing 'V'](https://bugs.launchpad.net/calibre/+bug/1956198) 2022-01-03 11:18:09 +05:30
Kovid Goyal cfb011c3ff pyqt6: More keyboard modifiers nonsense and another py310 float->int 2022-01-03 09:02:26 +05:30
Kovid Goyal 749d0351e8 Merge branch 'master' of https://github.com/cbhaley/calibre 2022-01-02 18:49:02 +05:30
Charles Haley 9a95d8b0c2 More CreateNewCustomColumn stuff.
- Improved documentation
- Check column headings for duplicates
- Method to return the current column headings as a dict
- Improved exception handling
2022-01-02 12:59:30 +00:00
Kovid Goyal fbb5208aac Completion popup: Fix display of items containing line breaks 2022-01-02 08:46:18 +05:30
Kovid Goyal eb2360f6aa Merge branch 'master' of https://github.com/cbhaley/calibre 2022-01-01 19:43:39 +05:30
Charles Haley 7b9bb6e624 Yet another version of CreateNewCustomColumn.
My apologies for the multiple commits. I have been working with @davidfor and we cycled a few times. I hope this is the last, barring bugs.
2022-01-01 13:20:38 +00:00
Kovid Goyal f3183880e7 Merge branch 'master' of https://github.com/cbhaley/calibre
Fixes #1956129 [[Enhancement] render line breaks in custom column *description* on hover column title](https://bugs.launchpad.net/calibre/+bug/1956129)
2022-01-01 18:42:19 +05:30
Charles Haley 6fcd0eb8a5 Enhancement #1956129: render line breaks in custom column *description* on hover column title. 2022-01-01 11:39:32 +00:00
Kovid Goyal 3f16b5ac61 Update Reuters 2022-01-01 14:34:27 +05:30
Kovid Goyal fdbffe60fe MOBI output: Dont fail if input document contains invalid % based lengths. Fixes #1956097 [news download crashes with TypeError: '<' not supported between instances of 'float' and 'str'](https://bugs.launchpad.net/calibre/+bug/1956097) 2021-12-31 20:48:14 +05:30
Kovid Goyal ce138b1744 Update Clarin 2021-12-31 20:46:51 +05:30
Kovid Goyal f0d82724f9 pep8 2021-12-31 19:45:26 +05:30
Kovid Goyal ac5c8858d6 Merge branch 'master' of https://github.com/cbhaley/calibre 2021-12-31 19:45:00 +05:30
Charles Haley 40cae7cc81 More improvements to the new CreateNewCustomColumn class.
-- Added the ability to auto-generate a lookup name
-- Now checks the calibre "can't configure" before adding a new column
-- Fixed parameter names
2021-12-31 13:49:53 +00:00
Kovid Goyal 422258bcce Update General Knowledge Today 2021-12-31 17:23:19 +05:30
Kovid Goyal 21ee73763a Fix Preferences->Searching->Clear search histories not taking effect till a restart for some search boxes. Fixes #1956088 [Clear Search Histories not clearing search histories.](https://bugs.launchpad.net/calibre/+bug/1956088) 2021-12-31 13:38:49 +05:30