Commit Graph

45778 Commits

Author SHA1 Message Date
Kovid Goyal 4dbdea4122 close stdout/err handles before opening debug log
There is an unconfirmed report about file in use errors, most likely
the handles are inherited by some other process or an antivirus or
whatever, but lets at least close them in the under our control.

Windows is such a pain.
2022-08-29 04:58:24 +05:30
Kovid Goyal 4a6165bc42 Merge branch 'master' of https://github.com/cbhaley/calibre 2022-08-28 19:24:54 +05:30
Kovid Goyal 2f2afffd04 Fix #1987713 [Enhancement Request: Full-text search: Mark & show marked books](https://bugs.launchpad.net/calibre/+bug/1987713) 2022-08-28 19:09:09 +05:30
Charles Haley 921a74278b Changes to improve robustness:
1) Ensure that the server displays columns added using the command line.
2) Make "official" the fact that get_categories returns an ordered dict.

While in the process, move the general methods category_display_order and is_standard_category from the gui to db.get_categories().

Finally, improve the tooltip for L&F / Tag browser / hierarchical items
2022-08-28 14:33:56 +01:00
Kovid Goyal 50e5481f17 Brhat by Vishwas Vasuki
Fixes #1987969 [bRhat recipe](https://bugs.launchpad.net/calibre/+bug/1987969)
2022-08-28 15:15:52 +05:30
Kovid Goyal af2bf74b47 Check library: Make vacuuming the full text database optional as it is very slow and memory intensive. Fixes #1986500 [Vacuuming of FTS database slows down Check Library](https://bugs.launchpad.net/calibre/+bug/1986500) 2022-08-28 13:32:42 +05:30
Kovid Goyal 902e80ec17 Update Financial Times and MIT Technology Review 2022-08-28 09:10:43 +05:30
Kovid Goyal 6714efa4d6 Merge branch 'master' of https://github.com/cbhaley/calibre 2022-08-28 08:35:22 +05:30
Charles Haley fbe989c0d6 Look & feel / Tag browser with 2 sub-tabs 2022-08-27 17:56:37 +01:00
Kovid Goyal 0686f41dd7 Cachys Blog by Volker Heggemann 2022-08-26 19:34:15 +05:30
Kovid Goyal 2a90da87ec Update Financial Times Print Edition 2022-08-26 19:31:21 +05:30
Kovid Goyal 5978c9fab7 remove not working recipe 2022-08-26 19:28:24 +05:30
Kovid Goyal 64c0350651 more russian and ukranian news sources by bugmen00t 2022-08-26 19:27:03 +05:30
Kovid Goyal 5422e0a7f9 Merge branch 'master' of https://github.com/cbhaley/calibre 2022-08-26 16:19:05 +05:30
Charles Haley 80e4b7dde9 Three things related to tag_browser_category_order:
1) do a proper migration of the tweak
2) Fix the server's usage of the migrated value.
3) Fix an exception in the server related to hierarchical user categories
2022-08-26 11:44:17 +01:00
Kovid Goyal 5b94406fcc Content server: Migrate usage of tag_browser_category_order to use the new db based preference
Am not bothering with migration since th eGUI takes care of that. THis
will affect peopl who run standalone servers, but the intersection of
such people with those who have set the tweak is too small to bother.
2022-08-26 15:01:18 +05:30
Kovid Goyal a87ef2d8a9 Cleanup previous PR 2022-08-26 14:47:42 +05:30
Kovid Goyal d2d267a576 Merge branch 'master' of https://github.com/cbhaley/calibre 2022-08-26 14:41:12 +05:30
Kovid Goyal c36624e78d recipe icons 2022-08-26 14:38:02 +05:30
Charles Haley 9cdfd67724 Minor typo: make "super-quote" always hyphenated 2022-08-25 19:38:38 +01:00
Charles Haley a03dd04e22 Prefs / Look & feel / Tag browser partition and hierarchy: change lists of keys to list widget with check boxes.
NB: the partition list was a gpref, which was wrong. It is now a db pref. I added migration code to the tag browser. It is possible that the server code must be changed to get the db pref. I don't know how to do that, if it is needed.
2022-08-25 13:00:08 +01:00
Kovid Goyal 2bf8c1965d Do not VACUUM FTS db when exporting library as it can be very slow. Fixes #1987557 [Export Library Hangs if there is a full-text-search.db file in library](https://bugs.launchpad.net/calibre/+bug/1987557) 2022-08-25 06:27:42 +05:30
Kovid Goyal 0225cd4acc Merge branch 'master' of https://github.com/cbhaley/calibre 2022-08-24 22:22:53 +05:30
Charles Haley 1b4c623bf7 Improvement to Look and feel/Tag browser. Make the expandable fields grow to full width. As it was they didn't on Windows. Don't know about other platforms. 2022-08-24 17:46:34 +01:00
Kovid Goyal dc28b56b70 Make the tag browser preferences a little nicer
Give the categories list a min height and layout the checkbox
preferences horizontally as well as vertically
2022-08-24 20:28:16 +05:30
Kovid Goyal fae1682ed8 Tag browser: Move the preferences for controlling the order and display of categories in the Tag browser from Preferences->Tweaks to Preferences->Look & feel->Tag browser. Fixes #1987235 [Enhancement Request: Easier way to rearrange Tag Browser](https://bugs.launchpad.net/calibre/+bug/1987235)
Merge branch 'master' of https://github.com/cbhaley/calibre
2022-08-24 20:17:17 +05:30
Charles Haley 1b1461f782 Enhancement 1987235: Easier way to rearrange Tag Browser 2022-08-24 11:38:21 +01:00
Kovid Goyal a8129ad1ea Fix #1987335 [sr@latin in languages](https://bugs.launchpad.net/calibre/+bug/1987335) 2022-08-23 08:04:07 +05:30
Kovid Goyal 3262f50962 Fix #1987361 [Exception in Bulk Metadata dialog](https://bugs.launchpad.net/calibre/+bug/1987361) 2022-08-23 07:48:30 +05:30
Kovid Goyal 4991254b7c Fix #1987337 [The colors of the library access persmission window make the text illegible in dark mode](https://bugs.launchpad.net/calibre/+bug/1987337) 2022-08-23 07:44:48 +05:30
Kovid Goyal a450731c6a Merge branch 'master' of https://github.com/cbhaley/calibre
Fixes #1984121 [Enhancement Request: User category editor: Hide  items not shown in tag browser](https://bugs.launchpad.net/calibre/+bug/1984121)
2022-08-22 11:29:23 +05:30
Charles Haley 9a44efc431 Enhancement 1984121: User category editor: Hide items not shown in tag browser
I cleaned up the code a lot, making it (I hope) easier to understand and more reliable.
2022-08-21 16:01:50 +01:00
Kovid Goyal 3bae760705 Micro-optimization 2022-08-21 08:28:07 +05:30
Kovid Goyal fd8fa7420e Merge branch 'master' of https://github.com/cbhaley/calibre 2022-08-20 22:11:20 +05:30
Charles Haley e98daa2fcd Another try at Manage categories, supporting shortcuts. When a shortcut is triggered, If no visible tool button is found then show the menu in the upper left corner of the library view. 2022-08-20 13:02:49 +01:00
Kovid Goyal 295315aa10 Cleanup previous PR
Allow adding a button to show the Manage categories window to the toolbars/context menu

Fixes #1984017 [[Enhancement] - Add Apply button to Manage Tags](https://bugs.launchpad.net/calibre/+bug/1984017)
2022-08-20 12:36:55 +05:30
Kovid Goyal 36ed9217bd Merge branch 'master' of https://github.com/cbhaley/calibre 2022-08-20 12:31:31 +05:30
Kovid Goyal e25fc241d5 update Business Standard Print Edition 2022-08-20 09:23:53 +05:30
Charles Haley 48c12ca2b9 Enhancement 1984017 - Add Apply button to Manage Tags
There are two requests here.
1) Add apply button. Because the work is done after the dialog has closed,  Changing this is more work than I am willing to do.

2) Add toolbar / shortcut / context menu support for Manage categories. Done.
2022-08-19 15:53:57 +01:00
Kovid Goyal 5880ff34b1 Windows: Nicer error message when attempting to run viewer/editor on machine without MediaPack installed 2022-08-19 00:02:17 +05:30
Kovid Goyal 81639f749a Update Live Mint 2022-08-18 17:50:25 +05:30
Kovid Goyal 7fdf70f733 Update Indian Express 2022-08-18 17:47:51 +05:30
Kovid Goyal 8d091a26c1 Update Nautilus 2022-08-18 17:46:21 +05:30
Kovid Goyal 673650170b More cache URL encoding weirdness from google. Fixes #1986837 [Unable to download Metadata from Amazon](https://bugs.launchpad.net/calibre/+bug/1986837) 2022-08-18 16:07:59 +05:30
Kovid Goyal c43412fb16 Merge branch 'imgbot' of https://github.com/kovidgoyal/calibre 2022-08-18 07:32:44 +05:30
ImgBotApp bc78ff5d32 [ImgBot] Optimize images
/imgsrc/mimetypes/rar.svg -- 131.38kb -> 96.20kb (26.78%)

Signed-off-by: ImgBotApp <ImgBotHelp@gmail.com>
2022-08-17 20:08:07 +00:00
Kovid Goyal dc48832d9b Merge branch 'imgbot' of https://github.com/kovidgoyal/calibre 2022-08-17 21:01:09 +05:30
ImgBotApp 2e869d972c [ImgBot] Optimize images
*Total -- 1,736.06kb -> 1,248.98kb (28.06%)

/imgsrc/blank.svg -- 2.68kb -> 0.18kb (93.38%)
/imgsrc/eject.svg -- 3.75kb -> 0.98kb (73.93%)
/imgsrc/arrow-down.svg -- 3.74kb -> 1.04kb (72.25%)
/imgsrc/back.svg -- 3.89kb -> 1.17kb (70.01%)
/imgsrc/highlight_only_on.svg -- 4.00kb -> 1.30kb (67.59%)
/imgsrc/plus.svg -- 4.14kb -> 1.44kb (65.26%)
/imgsrc/view-refresh.svg -- 4.32kb -> 1.60kb (63.08%)
/imgsrc/identifiers.svg -- 7.27kb -> 2.68kb (63.07%)
/imgsrc/copy-to-library.svg -- 4.43kb -> 1.65kb (62.72%)
/imgsrc/cover_flow.svg -- 5.01kb -> 1.90kb (61.97%)
/imgsrc/reader.svg -- 5.38kb -> 2.13kb (60.49%)
/imgsrc/document-new.svg -- 4.41kb -> 1.76kb (60.15%)
/imgsrc/plugboard.svg -- 4.24kb -> 1.71kb (59.74%)
/imgsrc/edit-clear.svg -- 5.22kb -> 2.10kb (59.7%)
/imgsrc/store.svg -- 5.42kb -> 2.19kb (59.53%)
/imgsrc/drm-locked.svg -- 4.64kb -> 1.91kb (58.82%)
/imgsrc/icon_choose.svg -- 4.75kb -> 1.98kb (58.28%)
/imgsrc/format-indent-less.svg -- 4.78kb -> 2.02kb (57.8%)
/imgsrc/format-text-italic.svg -- 4.80kb -> 2.05kb (57.36%)
/imgsrc/search_delete_saved.svg -- 5.41kb -> 2.31kb (57.34%)
/imgsrc/gear.svg -- 4.74kb -> 2.03kb (57.2%)
/imgsrc/sort.svg -- 4.85kb -> 2.13kb (56.17%)
/imgsrc/trash.svg -- 5.39kb -> 2.38kb (55.92%)
/imgsrc/format-text-strikethrough.svg -- 4.79kb -> 2.12kb (55.69%)
/imgsrc/font.svg -- 6.46kb -> 2.94kb (54.58%)
/imgsrc/plusplus.svg -- 5.49kb -> 2.53kb (53.89%)
/imgsrc/jobs.svg -- 5.47kb -> 2.53kb (53.65%)
/imgsrc/format-text-underline.svg -- 4.85kb -> 2.26kb (53.39%)
/imgsrc/document-encrypt.svg -- 5.42kb -> 2.55kb (52.96%)
/imgsrc/format-fill-color.svg -- 5.58kb -> 2.63kb (52.77%)
/imgsrc/view.svg -- 6.24kb -> 3.10kb (50.29%)
/imgsrc/html-fix.svg -- 7.67kb -> 3.91kb (49.11%)
/imgsrc/dialog_information.svg -- 7.16kb -> 3.68kb (48.64%)
/imgsrc/format-list-unordered.svg -- 6.74kb -> 3.47kb (48.45%)
/imgsrc/grid.svg -- 5.85kb -> 3.13kb (46.61%)
/imgsrc/merge_books.svg -- 7.51kb -> 4.05kb (46.01%)
/imgsrc/font_size_smaller.svg -- 9.00kb -> 4.99kb (44.57%)
/imgsrc/search_copy_saved.svg -- 7.14kb -> 3.97kb (44.42%)
/imgsrc/format-text-heading.svg -- 6.28kb -> 3.54kb (43.66%)
/imgsrc/spell-check.svg -- 8.21kb -> 4.66kb (43.24%)
/imgsrc/beautify.svg -- 8.45kb -> 4.81kb (43.07%)
/imgsrc/user_profile.svg -- 9.51kb -> 5.81kb (38.91%)
/imgsrc/connect_share.svg -- 7.26kb -> 4.46kb (38.55%)
/imgsrc/connect_share_on.svg -- 7.25kb -> 4.46kb (38.43%)
/imgsrc/polish.svg -- 14.25kb -> 9.00kb (36.82%)
/imgsrc/wizard.svg -- 20.72kb -> 13.48kb (34.94%)
/imgsrc/viewer.svg -- 137.45kb -> 91.57kb (33.38%)
/imgsrc/filter.svg -- 28.87kb -> 19.76kb (31.55%)
/imgsrc/mimetypes/zip.svg -- 126.64kb -> 88.78kb (29.9%)
/imgsrc/tweak.svg -- 259.48kb -> 183.72kb (29.2%)
/imgsrc/mimetypes/gif.svg -- 79.96kb -> 58.29kb (27.1%)
/imgsrc/mimetypes/jpeg.svg -- 79.96kb -> 58.29kb (27.1%)
/imgsrc/calibre.svg -- 45.25kb -> 33.20kb (26.64%)
/imgsrc/edit-cut.svg -- 10.59kb -> 7.78kb (26.56%)
/imgsrc/mimetypes/computer.svg -- 157.94kb -> 116.51kb (26.23%)
/imgsrc/mimetypes/lit.svg -- 483.44kb -> 414.91kb (14.17%)
/imgsrc/srv/selection-handle.svg -- 0.54kb -> 0.46kb (13.61%)
/imgsrc/default_cover.svg -- 36.86kb -> 32.72kb (11.23%)
/imgsrc/srv/ul.svg -- 2.01kb -> 1.92kb (4.85%)
/imgsrc/srv/bg.svg -- 1.91kb -> 1.82kb (4.7%)
/recipes/icons/newtab.png -- 0.58kb -> 0.56kb (3.19%)

Signed-off-by: ImgBotApp <ImgBotHelp@gmail.com>
2022-08-17 15:18:29 +00:00
Kovid Goyal 63b0f79b46 more russian and ukranian news sources by bugmen00t 2022-08-17 19:00:41 +05:30
Kovid Goyal 51d8e95557 workaround decode failure 2022-08-17 18:36:36 +05:30