Colin
318fc0c975
crop_borders: don't crash on empty image
...
PIL's `Image.getbbox` documentation shows:
```
:returns: The bounding box is returned as a 4-tuple defining the
left, upper, right, and lower pixel coordinate. See
:ref:`coordinate-system`. If the image is completely empty, this
method returns None.
```
when this returns `None`, komikku would error with a trace like so:
```
Traceback (most recent call last):
File "komikku/reader/pager/image.py", line 426, in do_snapshot
self.texture_crop = Gdk.Texture.new_for_pixbuf(crop_borders())
File "komikku/reader/pager/image.py", line 419, in crop_borders
if bbox[2] - bbox[0] < self.pixbuf.get_width() or bbox[3] - bbox[1] < self.pixbuf.get_height():
TypeError: 'NoneType' object is not subscriptable
```
2023-07-12 08:55:29 +00:00
Valéry Febvre
7dcf2b3d0b
[Servers] Adds PhenixScans [FR]
2023-06-24 00:45:42 +02:00
Valéry Febvre
5946ba5193
[Servers] MangaKawaii: Update
2023-06-24 00:31:09 +02:00
YXH
d29a7090cd
[L10n] Translated using Weblate (Romanian)
...
Currently translated at 4.1% (34 of 828 strings)
Translation: Komikku/Main
Translate-URL: https://hosted.weblate.org/projects/komikku/main/ro/
2023-06-23 21:24:03 +00:00
Roger VC
b4263bb73e
[L10n] Translated using Weblate (Catalan)
...
Currently translated at 100.0% (828 of 828 strings)
Translation: Komikku/Main
Translate-URL: https://hosted.weblate.org/projects/komikku/main/ca/
2023-06-23 21:24:03 +00:00
abidin toumi
0e379d9860
[L10n] Translated using Weblate (Arabic)
...
Currently translated at 15.0% (125 of 828 strings)
Translation: Komikku/Main
Translate-URL: https://hosted.weblate.org/projects/komikku/main/ar/
2023-06-23 21:24:03 +00:00
YXH
b0e1502e2d
[L10n] Translated using Weblate (Romanian)
...
Currently translated at 4.1% (34 of 828 strings)
Translation: Komikku/Main
Translate-URL: https://hosted.weblate.org/projects/komikku/main/ro/
2023-06-23 21:24:03 +00:00
Óscar Fernández Díaz
21c7153905
[L10n] Translated using Weblate (Spanish)
...
Currently translated at 100.0% (828 of 828 strings)
Translation: Komikku/Main
Translate-URL: https://hosted.weblate.org/projects/komikku/main/es/
2023-06-23 21:24:03 +00:00
Óscar Fernández Díaz
c02ff8e51f
[L10n] Translated using Weblate (Spanish)
...
Currently translated at 100.0% (828 of 828 strings)
Translation: Komikku/Main
Translate-URL: https://hosted.weblate.org/projects/komikku/main/es/
2023-06-23 21:24:03 +00:00
YXH
5025c264fd
[L10n] Added translation using Weblate (Romanian)
2023-06-23 21:24:03 +00:00
0xMRTT
d9c8214e1e
[UI]: Make primary menu HIG compliant
...
https://developer.gnome.org/hig/patterns/controls/menus.html#primary-menus
Part of the Better Toolbar Initiative https://gitlab.gnome.org/GNOME/Initiatives/-/issues/40
2023-06-21 11:44:00 -04:00
Valéry Febvre
e99528d06a
[Webview] bypass_cf: Exit from webview if end of chalenge has not been detected in on_load_changed
2023-06-15 16:44:56 +02:00
Valéry Febvre
b9076db450
[Servers] Grisebouille: Small fix
2023-06-15 16:10:30 +02:00
Valéry Febvre
b1dd611caf
New release 1.22.0
2023-06-15 01:03:56 +02:00
Valéry Febvre
536a76ca6f
[L10n] Translated using Weblate (French)
...
Currently translated at 100.0% (828 of 828 strings)
Translation: Komikku/Main
Translate-URL: https://hosted.weblate.org/projects/komikku/main/fr/
2023-06-15 00:59:26 +02:00
Valéry Febvre
69740064f6
[L10n] Sync all .po files
2023-06-15 00:03:19 +02:00
abidin toumi
95856612f7
[L10n] Translated using Weblate (Arabic)
...
Currently translated at 12.8% (102 of 796 strings)
Translation: Komikku/Main
Translate-URL: https://hosted.weblate.org/projects/komikku/main/ar/
2023-06-14 20:50:24 +02:00
Sabri Ünal
ed31e9006e
[L10n] Translated using Weblate (Turkish)
...
Currently translated at 42.2% (336 of 796 strings)
Translation: Komikku/Main
Translate-URL: https://hosted.weblate.org/projects/komikku/main/tr/
2023-06-14 20:50:24 +02:00
Valéry Febvre
832cb4b77c
[Reader] Refines 483b5447
...
Just before zomm gestures (KImage widget), touchscreen swipe or touchpad
scrolling events can be accidentally produced.
As page is being changed, zooming should not occur.
This commit improves previous workaround.
Instead of reset zoom to defined scaling, zooming is prevented.
2023-06-14 19:03:51 +02:00
Valéry Febvre
b329535aa5
[Servers] MangaFreak: Update
2023-06-14 14:28:00 +02:00
Valéry Febvre
624e685f35
[Reader] Refines 483b5447
2023-06-13 18:08:59 +02:00
Valéry Febvre
1df2a5306b
[L10n] Fixes plural strings that were not detected
...
Closes issue #336
2023-06-13 17:06:44 +02:00
Valéry Febvre
6245c64dff
[Servers] JapScan: Small fix
...
Handles case where an image's HTML page is not correctly retrieved.
2023-06-13 16:56:14 +02:00
Valéry Febvre
4d95070d39
[Servers] Refines c79056ed
2023-06-13 15:31:13 +02:00
Valéry Febvre
55529071c2
[Reader] Refines 483b5447
2023-06-13 15:19:07 +02:00
Valéry Febvre
c79056ed78
[Servers] Xoxocomics: Update
...
Updates domain
2023-06-13 15:06:14 +02:00
gondolyr
a0b2999d24
[Servers] Create the manga directory on update if it's missing
...
If the manga directory is missing locally when Komikku is updating the
manga, Komikku will now re-create the directory rather than sending a
failed update notification. Komikku will automatically re-download the
cover and etag afterwards.
Fixes : #334
2023-06-12 23:17:35 +00:00
Valéry Febvre
066c3ee702
[Servers] MangaKawaii: Update
...
Adds CF bypass
2023-06-13 00:11:07 +02:00
Valéry Febvre
483b544746
[Reader] LTR/RTL/Vertical pager: Add a new widget (KImage) to display page images
...
Supports 3 different zoom types: double click/tap, Crtl + mousewheel, 2
fingers gesture (touchpad/touchscreen)
2023-06-13 00:11:07 +02:00
Ryan Fox
a2af29ab84
[Servers] Mangapill: Add Referer header
...
Mangapill's CDN blocks requests without the Referer header and
consequently prevents Komikku from downloading images. Adding the
missing header corrects this issue.
2023-06-09 23:41:47 +00:00
Valentin Chernetsov
7a36d3f692
[L10n] Translated using Weblate (Russian)
...
Currently translated at 79.1% (630 of 796 strings)
Translation: Komikku/Main
Translate-URL: https://hosted.weblate.org/projects/komikku/main/ru/
2023-05-30 10:50:35 +02:00
abidin toumi
168688fe52
[L10n] Translated using Weblate (Arabic)
...
Currently translated at 11.0% (88 of 796 strings)
Translation: Komikku/Main
Translate-URL: https://hosted.weblate.org/projects/komikku/main/ar/
2023-05-28 13:49:59 +02:00
Valentin Chernetsov
9f40541120
[L10n] Translated using Weblate (Russian)
...
Currently translated at 68.2% (543 of 796 strings)
Translation: Komikku/Main
Translate-URL: https://hosted.weblate.org/projects/komikku/main/ru/
2023-05-18 15:51:08 +02:00
Valéry Febvre
2b64db61b9
New release 1.21.1
2023-05-18 00:23:56 +02:00
Valéry Febvre
40dc989233
[Flatpak] Manifest: Updates GNUStep
2023-05-18 00:23:56 +02:00
Valentin Chernetsov
c470a73cad
[L10n] Translated using Weblate (Russian)
...
Currently translated at 55.6% (443 of 796 strings)
Translation: Komikku/Main
Translate-URL: https://hosted.weblate.org/projects/komikku/main/ru/
2023-05-17 20:56:54 +00:00
Valéry Febvre
108fcd314e
[Reader] Fixes issue #333
2023-05-17 22:55:15 +02:00
Valéry Febvre
d342642b21
[Servers] Mangaowl: Update
2023-05-17 02:10:20 +02:00
Valéry Febvre
8bb578ae5b
[Tests] 3asq: Fix
2023-05-17 01:56:34 +02:00
Valéry Febvre
dae3d040e9
[Servers] Jpmangas: Update
2023-05-17 01:50:29 +02:00
Valéry Febvre
455e4b9b33
[Tests] Removes tests for servers using CF
2023-05-17 01:49:57 +02:00
Valéry Febvre
c9f26db906
[UI] Partially fixes #330
...
There is still a problem when docks is on left/right (auto-hide
disabled).
2023-05-17 00:37:28 +02:00
Valéry Febvre
aa9333f415
New release 1.21.0
2023-05-16 12:45:49 +02:00
Roger VC
6bf4ac8523
[L10n] Translated using Weblate (Catalan)
...
Currently translated at 100.0% (796 of 796 strings)
Translation: Komikku/Main
Translate-URL: https://hosted.weblate.org/projects/komikku/main/ca/
2023-05-16 02:14:39 +02:00
abidin toumi
ab2d2ed919
[L10n] Translated using Weblate (Arabic)
...
Currently translated at 9.6% (77 of 796 strings)
Translation: Komikku/Main
Translate-URL: https://hosted.weblate.org/projects/komikku/main/ar/
2023-05-16 02:14:14 +02:00
Valentin Chernetsov
2e2c93899b
[L10n] Translated using Weblate (Russian)
...
Currently translated at 55.2% (440 of 796 strings)
Translation: Komikku/Main
Translate-URL: https://hosted.weblate.org/projects/komikku/main/ru/
2023-05-16 02:14:14 +02:00
Koen Benne
9604c7e19e
[L10n] Translated using Weblate (Dutch)
...
Currently translated at 45.7% (364 of 796 strings)
Translation: Komikku/Main
Translate-URL: https://hosted.weblate.org/projects/komikku/main/nl/
2023-05-16 02:14:13 +02:00
Philip Goto
277bdd2230
[L10n] Translated using Weblate (Dutch)
...
Currently translated at 45.7% (364 of 796 strings)
Translation: Komikku/Main
Translate-URL: https://hosted.weblate.org/projects/komikku/main/nl/
2023-05-16 02:14:13 +02:00
Valéry Febvre
d84d22075a
[Database] Chapters: Uses `today` if not date is provided
2023-05-16 02:09:50 +02:00
Valéry Febvre
ce98365a85
[Reader] LTR/RTL/Vertical pager: Fixes zoom bugs
...
- Fixes zoom exiting via double click/tap: original image size was not
restored correctly
- Delays zoom if a page transition is in progress or if zoom is not
initialized
2023-05-16 01:43:22 +02:00