19 Commits

Author SHA1 Message Date
un-pogaz
8d28380515 add/remove blank-line (extra-edit)
ruff 'E302,E303,E304,E305,W391'
2025-01-24 11:14:21 +01:00
un-pogaz
37771022ce uniform string quote (auto-fix)
ruff 'Q'
2025-01-24 11:14:14 +01:00
un-pogaz
8c9d880f41 pep8
improvement of Ruff settings
2024-12-15 13:17:49 +01:00
Kovid Goyal
53b74283a4
sort imports in all python files 2024-03-30 13:02:22 +05:30
un-pogaz
59bd2bc260 optimize images 2023-06-24 21:40:11 +02:00
un-pogaz
dda3c97a66 optimize images 2023-06-23 19:07:26 +02: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
45fe6a409d
Change interface demo plugin to pass plugin name to get_icons() 2022-07-06 19:19:56 +05:30
Kovid Goyal
3b79e215e8
Port most remaining references to PyQt5 2021-03-01 16:22:00 +05:30
Kovid Goyal
9ff27782de
Remove useless __future__ imports
Not needed on python3
2020-08-22 18:47:55 +05:30
Kovid Goyal
29cd8d64ea
Change shebangs to python from python2
Also remove a few other miscellaneous references to python2
2020-08-22 18:47:51 +05:30
Eli Schwartz
45ca4c7934
py3: merge multiline __future__ imports to not confuse 2to3 2019-05-27 00:41:14 -04:00
Kovid Goyal
0fcad5f21f
Fix various uses of iteritems missed by dict_fixes 2019-03-25 15:29:08 +05:30
Kovid Goyal
2d21a8efa2
Some more fixes for the unicode type
Now replaced in all dynamically loaded code. Recipes/metadata
sources/etc. In the case of recipes, since they get compiled by calibre
we simply make the unicode/unichr names available, no need for any
changes to the actual recipes themselves.
2019-03-13 12:04:47 +05:30
Kovid Goyal
1711ea048e Update Interface Demo plugin to use new DB API 2015-09-01 17:31:51 +05:30
Kovid Goyal
ef09e886b3 Change all shebangs to use python2 2015-01-23 19:08:21 +05:30
Kovid Goyal
5068f62f0f Get rid of the PyQt4 string from everywhere 2014-08-08 18:31:07 +05:30
Kovid Goyal
66fac74834 Remove incorrect sRGB profiles 2013-11-08 10:00:31 +05:30
Kovid Goyal
8f8e0018aa Move the User Manual out of the src/ directory 2012-05-30 11:32:00 +05:30