Kovid Goyal
aabd29c571
Clean up DB code from previous PR
...
Note that string literals in SQLITE should be single quoted.
https://sqlite.org/quirks.html#dblquote
2023-03-30 08:37:17 +05:30
Kovid Goyal
d3949bdecf
More SQLITE double quote to single quote changes
2023-03-01 19:24:04 +05:30
Kovid Goyal
f08b238986
Edit book: Check book: Allow automatic fixing of various simple CSS errors
2023-01-05 13:52:25 +05:30
Kovid Goyal
c7a61b2942
Edit book: Switch to a new library (stylehint) for find problems in CSS as the old library was no longer maintained.
2023-01-05 12:15:58 +05:30
Kovid Goyal
04b5e9bfc2
Fix #1996119 [Opinion: Slight edit to folder_saved_search.png]( https://bugs.launchpad.net/calibre/+bug/1996119 )
2022-11-10 07:52:13 +05:30
Charles Haley
f20e426efb
Make tools on the search bar customizable.
...
Given that the saved searches action and the saved search button on the search bar now do the same thing, it seems reasonable to allow the user to choose whether the saved search button shows. I went from there to "Why not allow adding other buttons to the bar?" There is a lot of available real estate on that bar. This commit does that using a new toolbar in preferences / toolbars.
I didn't use a QToolBar, instead constructing a 'classic' toolbar in an QHBoxLayout. That gave me more control over the look and placement. And also, I had no end of trouble trying to work through how to use a QToolBar that isn't attached to a QMainWIndow.
In the process I removed the legacy Saved Search combo box, its associated buttons, and the tweak. I am sure there are some people still using the years-old interface and that they will complain. I can accept that, given that the button is better in almost every way.
2022-10-19 11:54:41 +01:00
Kovid Goyal
de4f69aaaa
fix a couple of typos in the QS guide
2022-10-07 07:10:28 +05:30
Kovid Goyal
7204a1a038
Merge branch 'master' of https://github.com/cbhaley/calibre
2022-10-04 07:28:31 +05:30
Kovid Goyal
a68dd3f2f4
Merge branch 'img_context_menu' of https://github.com/un-pogaz/calibre
2022-10-04 07:19:14 +05:30
Charles Haley
0f4a94b3f7
Use an icon drawn by un_pogaz.
2022-10-03 20:58:48 +01:00
un-pogaz
efa24a2667
resize context_menu.svg
2022-10-03 18:43:32 +02:00
Kovid Goyal
75a05aeec7
run optipng on the image resources
2022-10-02 09:24:00 +05:30
Kovid Goyal
e5f520547c
Use a better icon for the last PR
2022-10-02 09:21:18 +05:30
Charles Haley
2184200ef7
The alternate implementation of the accessibility enhancement: add an action to open the book list column context menu. Default: no shortcut
2022-10-01 16:55:15 +01:00
un-pogaz
211ac05af7
Incorrect value in title_sort_articles['fra']
...
per_language_title_sort_articles['fra'] contained an invalid value that caused L’ to be duplicated, but D’ is missing
2022-09-07 00:07:32 +02:00
Kovid Goyal
a3e3c425c5
E-book viewer: Lookup: Google dictionary: Add some padding at the left and right margins. Fixes #1986963 [No padding/margin within the dictionary frame within EPUB]( https://bugs.launchpad.net/calibre/+bug/1986963 )
2022-08-29 07:33:30 +05:30
Charles Haley
1b1461f782
Enhancement 1987235: Easier way to rearrange Tag Browser
2022-08-24 11:38:21 +01:00
ImgBotApp
25c4dfb671
[ImgBot] Optimize images
...
*Total -- 1,268.83kb -> 973.83kb (23.25%)
/recipes/icons/thenewcriterion.png -- 46.93kb -> 1.50kb (96.8%)
/imgsrc/hotmail.svg -- 3.21kb -> 0.61kb (80.91%)
/imgsrc/format-text-color.svg -- 3.57kb -> 0.94kb (73.65%)
/imgsrc/list_remove.svg -- 3.75kb -> 0.99kb (73.64%)
/imgsrc/window-close.svg -- 3.77kb -> 1.00kb (73.59%)
/imgsrc/swap.svg -- 3.64kb -> 0.97kb (73.5%)
/recipes/icons/le_monde_en.png -- 1.17kb -> 0.33kb (72.25%)
/imgsrc/h-ellipsis.svg -- 3.70kb -> 1.04kb (71.93%)
/imgsrc/v-ellipsis.svg -- 3.70kb -> 1.04kb (71.93%)
/imgsrc/sync-right.svg -- 3.79kb -> 1.08kb (71.52%)
/recipes/icons/russiafeed.png -- 1.30kb -> 0.37kb (71.36%)
/imgsrc/ok.svg -- 4.14kb -> 1.34kb (67.49%)
/imgsrc/next.svg -- 4.60kb -> 1.58kb (65.66%)
/imgsrc/previous.svg -- 4.63kb -> 1.60kb (65.52%)
/imgsrc/search.svg -- 4.17kb -> 1.46kb (65.09%)
/resources/pin-template.svg -- 5.44kb -> 1.92kb (64.66%)
/imgsrc/highlight.svg -- 1.99kb -> 0.71kb (64.57%)
/imgsrc/document_open.svg -- 4.01kb -> 1.42kb (64.47%)
/imgsrc/document-import.svg -- 4.21kb -> 1.55kb (63.21%)
/imgsrc/merge.svg -- 4.45kb -> 1.67kb (62.55%)
/imgsrc/highlight_only_off.svg -- 4.50kb -> 1.72kb (61.72%)
/imgsrc/restart.svg -- 4.47kb -> 1.73kb (61.44%)
/imgsrc/code.svg -- 4.10kb -> 1.58kb (61.38%)
/imgsrc/rotate-right.svg -- 4.60kb -> 1.83kb (60.25%)
/imgsrc/books_in_series.svg -- 5.76kb -> 2.37kb (58.75%)
/imgsrc/add_book.svg -- 5.38kb -> 2.24kb (58.37%)
/imgsrc/drm-unlocked.svg -- 5.06kb -> 2.11kb (58.3%)
/imgsrc/print.svg -- 4.34kb -> 1.81kb (58.24%)
/imgsrc/format-indent-more.svg -- 4.73kb -> 1.98kb (58.2%)
/imgsrc/help.svg -- 5.05kb -> 2.14kb (57.68%)
/imgsrc/reference.svg -- 2.18kb -> 0.93kb (57.39%)
/imgsrc/minusminus.svg -- 5.93kb -> 2.56kb (56.94%)
/imgsrc/edit_book.svg -- 5.63kb -> 2.49kb (55.8%)
/imgsrc/auto-reload.svg -- 5.14kb -> 2.33kb (54.68%)
/imgsrc/embed-fonts.svg -- 4.94kb -> 2.24kb (54.65%)
/imgsrc/tb_folder.svg -- 5.20kb -> 2.36kb (54.6%)
/imgsrc/edit-select-all.svg -- 5.10kb -> 2.32kb (54.6%)
/imgsrc/scroll.svg -- 5.48kb -> 2.53kb (53.79%)
/imgsrc/document-split.svg -- 5.36kb -> 2.51kb (53.24%)
/imgsrc/search_add_saved.svg -- 5.66kb -> 2.65kb (53.16%)
/imgsrc/quickview.svg -- 5.11kb -> 2.43kb (52.54%)
/imgsrc/subset-fonts.svg -- 6.28kb -> 3.00kb (52.3%)
/imgsrc/convert.svg -- 6.03kb -> 2.89kb (52.14%)
/imgsrc/dialog_question.svg -- 5.54kb -> 2.67kb (51.85%)
/imgsrc/config.svg -- 6.15kb -> 2.97kb (51.71%)
/imgsrc/close-for-dark-theme.svg -- 2.52kb -> 1.24kb (50.7%)
/imgsrc/mail.svg -- 5.40kb -> 2.74kb (49.28%)
/imgsrc/generic-library.svg -- 3.49kb -> 1.78kb (49.1%)
/imgsrc/format-text-bold.svg -- 5.88kb -> 3.12kb (46.94%)
/imgsrc/save.svg -- 6.38kb -> 3.39kb (46.85%)
/imgsrc/catalog.svg -- 5.54kb -> 2.98kb (46.21%)
/imgsrc/book.svg -- 5.45kb -> 2.94kb (45.96%)
/imgsrc/fts.svg -- 3.26kb -> 1.81kb (44.63%)
/imgsrc/mimetypes/zero.svg -- 7.25kb -> 4.03kb (44.41%)
/imgsrc/insert-link.svg -- 6.85kb -> 3.81kb (44.37%)
/imgsrc/exec.svg -- 6.46kb -> 3.61kb (44.22%)
/imgsrc/chapters.svg -- 6.56kb -> 3.67kb (44.04%)
/imgsrc/heuristics.svg -- 7.65kb -> 4.50kb (41.14%)
/imgsrc/mimetypes/epub.svg -- 11.06kb -> 6.64kb (39.94%)
/imgsrc/character-set.svg -- 7.12kb -> 4.39kb (38.3%)
/imgsrc/sd.svg -- 18.28kb -> 11.34kb (37.96%)
/recipes/icons/cedar.png -- 5.66kb -> 3.58kb (36.8%)
/imgsrc/mimetypes/tpz.svg -- 9.09kb -> 6.12kb (32.71%)
/imgsrc/trim.svg -- 15.58kb -> 10.75kb (31%)
/imgsrc/mimetypes/djvu.svg -- 17.21kb -> 11.99kb (30.37%)
/imgsrc/scheduler.svg -- 12.42kb -> 8.74kb (29.64%)
/imgsrc/compress-image.svg -- 5.32kb -> 3.78kb (28.97%)
/imgsrc/mimetypes/png.svg -- 85.21kb -> 61.93kb (27.32%)
/imgsrc/rating.svg -- 25.32kb -> 19.14kb (24.4%)
/recipes/icons/granma.png -- 1.07kb -> 0.82kb (23.22%)
/resources/catalog/DefaultCover.jpg -- 22.08kb -> 17.57kb (20.44%)
/imgsrc/debug.svg -- 15.32kb -> 12.29kb (19.74%)
/src/calibre/ebooks/lrf/html/demo/a.png -- 2.10kb -> 1.71kb (18.33%)
/resources/images/clear_left-for-light-theme.png -- 1.68kb -> 1.39kb (17.25%)
/recipes/icons/yazihane.png -- 1.49kb -> 1.24kb (16.63%)
/resources/images/clear_left-for-dark-theme.png -- 1.67kb -> 1.41kb (15.74%)
/imgsrc/srv/cloud-download.svg -- 1.54kb -> 1.31kb (15.08%)
/resources/images/close-for-light-theme.png -- 2.26kb -> 1.92kb (14.68%)
/resources/images/h-ellipsis.png -- 1.19kb -> 1.02kb (14.16%)
/imgsrc/srv/selection-handle-vertical.svg -- 0.56kb -> 0.49kb (12.81%)
/imgsrc/mimetypes/odt.svg -- 12.47kb -> 11.04kb (11.43%)
/manual/images/fts-button.png -- 7.80kb -> 6.97kb (10.62%)
/manual/resources/languages.svg -- 3.41kb -> 3.07kb (9.83%)
/recipes/icons/list_apart.png -- 1.48kb -> 1.35kb (9.22%)
/resources/images/close-for-dark-theme.png -- 2.29kb -> 2.11kb (7.72%)
/recipes/icons/tagespost.png -- 26.08kb -> 24.31kb (6.8%)
/recipes/icons/new_statesman.png -- 0.87kb -> 0.82kb (5.74%)
/recipes/icons/the_insider.png -- 0.43kb -> 0.41kb (5.45%)
/manual/plugin_examples/interface_demo/images/icon.png -- 4.15kb -> 3.94kb (5.01%)
/manual/plugin_examples/webengine_demo/images/icon.png -- 4.15kb -> 3.94kb (5.01%)
/manual/plugin_examples/editor_demo/images/icon.png -- 4.15kb -> 3.94kb (5.01%)
/recipes/icons/denikn.cz.png -- 1.08kb -> 1.03kb (4.34%)
/manual/images/sg_tree.jpg -- 29.13kb -> 27.90kb (4.24%)
/src/calibre/ebooks/lrf/html/demo/large.jpg -- 45.69kb -> 43.82kb (4.11%)
/recipes/icons/elmundo.png -- 0.48kb -> 0.46kb (3.89%)
/manual/images/sg_cc.jpg -- 26.71kb -> 25.72kb (3.72%)
/manual/images/sg_restrict.jpg -- 25.74kb -> 24.85kb (3.45%)
/manual/resources/epub_cover.jpg -- 144.23kb -> 139.93kb (2.98%)
/resources/images/textures/grey_wash_wall.png -- 44.41kb -> 43.10kb (2.94%)
/imgsrc/modified-for-dark-theme.svg -- 110.77kb -> 107.69kb (2.78%)
/imgsrc/modified-for-light-theme.svg -- 110.77kb -> 107.69kb (2.78%)
/manual/images/sg_tb.jpg -- 14.17kb -> 13.78kb (2.78%)
/manual/images/sg_restrict2.jpg -- 18.06kb -> 17.58kb (2.63%)
/manual/images/sg_genre.jpg -- 22.72kb -> 22.24kb (2.14%)
/recipes/icons/iht.png -- 0.77kb -> 0.75kb (2.03%)
/recipes/icons/brigitte_de.png -- 0.60kb -> 0.59kb (1.62%)
/manual/images/sg_search.jpg -- 11.29kb -> 11.11kb (1.56%)
/imgsrc/srv/justify-left.svg -- 1.20kb -> 1.19kb (1.14%)
/imgsrc/srv/justify-full.svg -- 1.20kb -> 1.19kb (1.14%)
/imgsrc/srv/star.svg -- 1.20kb -> 1.19kb (1.14%)
/recipes/icons/old_games.png -- 0.44kb -> 0.44kb (1.11%)
/recipes/icons/novaya_gazeta_europe.png -- 2.65kb -> 2.62kb (1.03%)
/imgsrc/srv/slower.svg -- 0.85kb -> 0.84kb (0.92%)
/imgsrc/srv/reference-mode.svg -- 0.80kb -> 0.80kb (0.85%)
/imgsrc/srv/faster.svg -- 1.09kb -> 1.08kb (0.72%)
/imgsrc/srv/convert.svg -- 1.64kb -> 1.63kb (0.42%)
/imgsrc/srv/global-search.svg -- 2.10kb -> 2.09kb (0.33%)
/recipes/icons/7x7.png -- 1.44kb -> 1.43kb (0.27%)
/recipes/icons/ukraiyns_tizhdien.png -- 0.56kb -> 0.56kb (0.17%)
Signed-off-by: ImgBotApp <ImgBotHelp@gmail.com>
2022-07-22 07:28:11 +00:00
Kovid Goyal
637b67b928
Increase the size of the image used as default cover
...
Better for modern high DPI monitors
2022-07-20 08:49:51 +05:30
Kovid Goyal
135f03c36c
specialise the clear line edit icon for the current color palette
2022-07-19 22:03:51 +05:30
luz paz
bd5cfa27e4
Fix source typos
...
Accumulated source typos
2022-07-19 06:59:42 -04:00
Kovid Goyal
a41c3b775c
string changes
2022-07-18 11:04:36 +05:30
413Michele
58d33506ee
Title case and 's
2022-07-17 11:34:30 +02:00
413Michele
7dfeacde2d
than -> then
2022-07-17 11:10:28 +02:00
Kovid Goyal
e1e490b66e
Add a dedicated icon for FTS
2022-07-06 19:19:51 +05:30
Kovid Goyal
34cf27727a
Add method to re-index FTS
2022-07-06 19:19:49 +05:30
Kovid Goyal
53ae7d76cf
Ensure inserting into dirtied formats does not fail in triggers
2022-07-06 19:19:49 +05:30
Kovid Goyal
4502569b90
Get FTS search API working
2022-07-06 19:19:47 +05:30
Kovid Goyal
f7b47a72fc
Implement storing of failure messages in books table
2022-07-06 19:19:47 +05:30
Kovid Goyal
60e80e5684
More work on fts indexing
2022-07-06 19:19:46 +05:30
Kovid Goyal
164dbe9cfb
More work on fts jobs
2022-07-06 19:19:46 +05:30
Kovid Goyal
b66c72cc15
Auto clear dirtied_formats with a trigger
2022-07-06 19:19:46 +05:30
Kovid Goyal
2ecdbfb194
Finish trigger tests
2022-07-06 19:19:46 +05:30
Kovid Goyal
e3d6c9f192
More work on FTS
2022-07-06 19:19:46 +05:30
Kovid Goyal
ba1707169a
Start work on fts
2022-07-06 19:19:46 +05:30
Kovid Goyal
32d4243e1d
Start work on loading icons from resource files
2022-07-06 19:19:42 +05:30
Kovid Goyal
7fa564da07
Use themes for modified.png
2022-07-06 19:19:42 +05:30
Kovid Goyal
b94ddad134
Use the themes for the dialog close button
2022-07-06 19:19:42 +05:30
Kovid Goyal
d377eedf52
Work on using icon themes
2022-07-06 19:19:41 +05:30
Kovid Goyal
3523abef08
Use native webengine dark mode support in the toc and preview tools
2022-07-06 19:19:36 +05:30
Pino Toscano
85977afe26
Assume shared-mime-info 1.8
...
Assume the system version of shared-mime-info is 1.8, which seems to
be a good low-enough baseline according to:
https://repology.org/metapackage/shared-mime-info/versions
(e.g. CentOS 7, Debian 9)
This makes it possible to drop the definition of application/epub+zip,
provided by newer versions of shared-mime-info (and with more details
than this removed definition).
2022-07-06 08:59:45 +02:00
Charles Haley
6acfebf8c1
The template database functions we discussed.
2022-07-03 19:03:55 +01:00
Kovid Goyal
c0a2656cb2
Use the IANA registered mimetypes for fonts in the pipeline
...
Also use the IANA types for EPUB versions > 3.1
Fixes #1659 (Update fonts MIME following IANA recommendation)
2022-06-16 11:08:57 +05:30
Kovid Goyal
58e91b4ba4
Fix #1617 (The calibre editor "Check" complains when rules are empty, saying …)
2022-04-18 17:55:58 +05:30
Kovid Goyal
d693cb46fe
Use randomnly colored pins for text marks
2022-04-15 10:30:14 +05:30
Charles Haley
84284c3fe1
This icon is obviously different from the other one because it points the other direction.
2022-04-14 13:48:44 +01:00
Charles Haley
a93e6b663f
Enhancement #1968810 : provide an interface ot mark books with arbitrary text.
2022-04-13 21:23:56 +01:00
Kovid Goyal
7a4a6d0d19
Report document URL in domready event as well
2022-04-02 13:23:32 +05:30
Kovid Goyal
a0c9005d69
Also ignore domready for about: urls
2022-04-02 13:09:11 +05:30
Kovid Goyal
b5e5f1a10b
Get the simple scraper basically working
2022-03-29 10:39:03 +05:30