Commit Graph

1386 Commits

Author SHA1 Message Date
Chua Hou
fbfad24a65 Fix save file name with '.'s in it (#1773)
Using QFileInfo::baseName() discards everything after the first ., so
filenames like 1.2.3.4.png would be changed to 1.png. (See #1722).

Changing this to QFileInfo::completeBaseName() only discards the suffix,
so we have 1.2.3.4.jpg becoming 1.2.3.4.png, for example.
2021-07-29 08:10:35 -05:00
Vitaly Zaitsev
1031980ed1 Automatically set the correct path to the Flameshot executable (#1775)
* Automatically set the correct path to the Flameshot executable.

Signed-off-by: Vitaly Zaitsev <vitaly@easycoding.org>

* Export CMake project settings.

Signed-off-by: Vitaly Zaitsev <vitaly@easycoding.org>

* Fixed AppImage and Snap builds.
2021-07-29 08:09:31 -05:00
Boyuan Yang
920f2c92de desktop: Specify StartupWMClass (#1763)
Specifying correct StartupWMClass could prevent duplicated icons from
appearing on GNOME platform.
2021-07-29 08:08:27 -05:00
Vitaly Zaitsev
0b56f96573 Use Qt native version string comparansion. (#1776)
Signed-off-by: Vitaly Zaitsev <vitaly@easycoding.org>
2021-07-29 08:08:02 -05:00
Jeremy Borgman
4e406ec80f prepare for v0.10.1 release 2021-07-25 10:31:43 -05:00
borgmanJeremy
0cc91b20f1 Remove imgur hotkey (#1753) 2021-07-25 08:22:58 -05:00
borgmanJeremy
4c9a7c66a4 Changed upload hotkey from Enter to CTRL+U (#1747) 2021-07-24 07:58:43 -05:00
Ferenc Papp
cb19fce355 Update Internationalization_hu.ts (#1724) 2021-07-23 18:15:40 -05:00
Mehrad Mahmoudian
eff6757b37 Fix the FAQ URL in README (#1744) 2021-07-23 18:06:54 -05:00
Boyuan Yang
fbada715af Fix nullptr reference when trayicon is disabled (#1742) 2021-07-22 18:55:57 -05:00
Ahmed Zetao Yang
f0e4349288 fix(CI): build appimage in container (#1729) 2021-07-21 10:09:00 -05:00
Chua Hou
1f8573e913 Fix broken FAQ link in bug report template (#1731) 2021-07-21 07:16:25 -05:00
borgmanJeremy
1075c12828 Update README.md (#1717) 2021-07-20 09:56:04 -05:00
Creator54
78e7b6f5af README: Fix inconsistencies (#1713)
fixed some inconsistency and missing links in `README:Packages from Repository`
2021-07-19 10:30:25 -05:00
Jeremy Borgman
91919387a3 Adding translation files for release 2021-07-15 08:26:39 -05:00
Weblate (bot)
2fe281b8c4 Translations update from Weblate (#1684)
* Translated using Weblate (Dutch)

Currently translated at 100.0% (264 of 264 strings)

Translation: Flameshot/Flameshot
Translate-URL: https://hosted.weblate.org/projects/flameshot/flameshot/nl/

* Translated using Weblate (German)

Currently translated at 100.0% (264 of 264 strings)

Translation: Flameshot/Flameshot
Translate-URL: https://hosted.weblate.org/projects/flameshot/flameshot/de/

* Translated using Weblate (French)

Currently translated at 84.0% (222 of 264 strings)

Translation: Flameshot/Flameshot
Translate-URL: https://hosted.weblate.org/projects/flameshot/flameshot/fr/

* Translated using Weblate (Italian)

Currently translated at 100.0% (264 of 264 strings)

Translation: Flameshot/Flameshot
Translate-URL: https://hosted.weblate.org/projects/flameshot/flameshot/it/

* Translated using Weblate (Dutch)

Currently translated at 100.0% (264 of 264 strings)

Translation: Flameshot/Flameshot
Translate-URL: https://hosted.weblate.org/projects/flameshot/flameshot/nl/

* Translated using Weblate (Ukrainian)

Currently translated at 100.0% (264 of 264 strings)

Translation: Flameshot/Flameshot
Translate-URL: https://hosted.weblate.org/projects/flameshot/flameshot/uk/

* Translated using Weblate (Portuguese (Brazil))

Currently translated at 100.0% (264 of 264 strings)

Translation: Flameshot/Flameshot
Translate-URL: https://hosted.weblate.org/projects/flameshot/flameshot/pt_BR/

* Translated using Weblate (Ukrainian)

Currently translated at 100.0% (264 of 264 strings)

Translation: Flameshot/Flameshot
Translate-URL: https://hosted.weblate.org/projects/flameshot/flameshot/uk/

* Added translation using Weblate (Hebrew)

* Translated using Weblate (Hebrew)

Currently translated at 48.1% (127 of 264 strings)

Translation: Flameshot/Flameshot
Translate-URL: https://hosted.weblate.org/projects/flameshot/flameshot/he/

* Translated using Weblate (Hebrew)

Currently translated at 57.9% (153 of 264 strings)

Translation: Flameshot/Flameshot
Translate-URL: https://hosted.weblate.org/projects/flameshot/flameshot/he/

Co-authored-by: Heimen Stoffels <vistausss@fastmail.com>
Co-authored-by: J. Lavoie <j.lavoie@net-c.ca>
Co-authored-by: Freek Pol <ribesweg@gmail.com>
Co-authored-by: Ihor Hordiichuk <igor_ck@outlook.com>
Co-authored-by: Gustavo Costa <xfgusta@gmail.com>
Co-authored-by: Andrij Mizyk <andmizyk@gmail.com>
Co-authored-by: Avi Markovitz <avi.markovitz@gmail.com>
2021-07-14 08:03:01 -05:00
Creator54
06860bfb81 also available via nix :) (#1704)
* also available via nix :)

* typo
2021-07-14 08:02:00 -05:00
Jeremy Borgman
6a54285f85 Merge remote-tracking branch 'weblate/master' 2021-06-26 13:16:05 -05:00
jialeens
35a6d430c9 fix #1664 (#1668) 2021-06-16 09:43:48 -05:00
borgmanJeremy
8f6b6b08d5 Update README.md 2021-05-20 14:44:25 -05:00
Yurii Puchkov
efa233692d NC/fix - Text object selection (#1635)
* fix - It is possible to edit previously created text by clicking editing frame of another one & search optimization

(cherry picked from commit 749c968f0bfe1ea4b54c0f2e58c0766365f9fc01)

* fix - It is possible to edit previously created text by clicking editing frame of another one (final fix)

(cherry picked from commit f80de3137b2a364d39021440c812fc97c81423ea)

Co-authored-by: Yuriy Puchkov <yuriy.puchkov@namecheap.com>
2021-05-20 14:40:04 -05:00
Yurii Puchkov
401e6277eb NC/fix - App crashes (one more fix for the same issue) (#1632)
* fix - App crashes if during editing text add any object (one more fix for the same issue)

(cherry picked from commit 08a3b01929ac01de26a25883f3acded6a29c500b)

* fix - Upload doesn't called (active tool is not set on processTool)

(cherry picked from commit d914b2ba7ba4d1741f6e990587d13a5d08b0c591)

* fix - crash on draw (rollback optimisation)

(cherry picked from commit 2769c45eac69c6a36284a4d5a16ca2c49262d158)

Co-authored-by: Yuriy Puchkov <yuriy.puchkov@namecheap.com>
2021-05-20 14:39:39 -05:00
Yurii Puchkov
ed3491f366 NC/Fixes for 0.10.0 Beta (crash and some others) (#1631)
* fix - crash if during editing text add any object

(cherry picked from commit f5ae7c083965a4a65bd39ff554d667a1e68c4b37)

* fix - Phantom is displayed on a screen if the figure was moved after double click on it and the last changes were undo and redo

(cherry picked from commit 181979162fc7b2c398d7c84e95526ebb4fa4780f)

* fix - Undo tool undo the last created object instead undo changing if click undo during editing object

(cherry picked from commit 27bbb3a3b29718d476b9f8d98a0efa9fa12f16c2)

Co-authored-by: Yuriy Puchkov <yuriy.puchkov@namecheap.com>
2021-05-18 07:58:33 -05:00
Boyuan Yang
a9a1062995 Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (264 of 264 strings)

Translation: Flameshot/Flameshot
Translate-URL: https://hosted.weblate.org/projects/flameshot/flameshot/zh_Hans/
2021-05-18 04:33:30 +02:00
J. Lavoie
bae8e812b5 Translated using Weblate (Italian)
Currently translated at 100.0% (264 of 264 strings)

Translation: Flameshot/Flameshot
Translate-URL: https://hosted.weblate.org/projects/flameshot/flameshot/it/
2021-05-18 04:33:30 +02:00
J. Lavoie
8dcf58ce45 Translated using Weblate (French)
Currently translated at 84.0% (222 of 264 strings)

Translation: Flameshot/Flameshot
Translate-URL: https://hosted.weblate.org/projects/flameshot/flameshot/fr/
2021-05-18 04:33:29 +02:00
Jeandupeux Célien
7a0665601f Translated using Weblate (French)
Currently translated at 84.0% (222 of 264 strings)

Translation: Flameshot/Flameshot
Translate-URL: https://hosted.weblate.org/projects/flameshot/flameshot/fr/
2021-05-18 04:33:29 +02:00
vinz
5fadcb5541 Translated using Weblate (German)
Currently translated at 100.0% (264 of 264 strings)

Translation: Flameshot/Flameshot
Translate-URL: https://hosted.weblate.org/projects/flameshot/flameshot/de/
2021-05-18 04:33:28 +02:00
borgmanJeremy
9398b580f9 Beta release for version 0.10.0 (#1629) 2021-05-16 19:51:34 -05:00
Ahmed Zetao Yang
c7c1fc011b chore(CI): support packaging on fedora 34 (#1627) 2021-05-16 19:29:11 -05:00
Yurii Puchkov
5213aaf21c NC/Number of fixes, details in commits (#1620)
* fix - General Configuration widget has big spaces between last few options

(cherry picked from commit 48b9135a8d654a388fd4d0a266e9097456d00ab7)

* Set limit for Latest Uploads Max Size to 50

(cherry picked from commit ef1d83529c5e33ec3819820f3231e5c503aebf61)

* Completely reworked undo/redo stack with fixes (object that was created after deleted one disappears when undo last object creating and deleting the first one and try to undo deletion)

(cherry picked from commit 8d8c0b0d4a5ba8ecd7dc1c367c220642975c95d1)

* - Save font on new text object creation
- Remove unused variable context.circleCount

(cherry picked from commit 26f7bf620849c68062838d503f8731feea8d4987)

* Code refactoring - remove unused m_context.widgetDimensions

(cherry picked from commit 76abc09ce07a71ae42f1826a5a1e1e35902960d5)

* Make font size other tools thickness independent

(cherry picked from commit 5633799fb07acaa50cae5373953e40fa85f700bc)

* fix - Font parameters doesn't disappear in panel on click text item in it

(cherry picked from commit 8322cbb1acae75c77d4c24b74bc366ba93497d46)

* fix - Save thickness if no tool selected

(cherry picked from commit 862f2f4806a0c8d1309daae6a3371f6bd2fc5e5c)

* fix - Line thickness has not required padding after saving configuration, code refactoring remove number of unused '#define PADDING_VALUE'

(cherry picked from commit 294c89ad4fc9d1230942f8b7aa0a13deff7ab1eb)

Co-authored-by: Yuriy Puchkov <yuriy.puchkov@namecheap.com>
2021-05-14 12:47:36 -05:00
Weblate (bot)
b07028cb9b Translations update from Weblate (#1615)
* Translated using Weblate (Korean)

Currently translated at 50.7% (134 of 264 strings)

Translation: Flameshot/Flameshot
Translate-URL: https://hosted.weblate.org/projects/flameshot/flameshot/ko/

* Translated using Weblate (Indonesian)

Currently translated at 17.4% (46 of 264 strings)

Translation: Flameshot/Flameshot
Translate-URL: https://hosted.weblate.org/projects/flameshot/flameshot/id/

* Translated using Weblate (Indonesian)

Currently translated at 32.5% (86 of 264 strings)

Translation: Flameshot/Flameshot
Translate-URL: https://hosted.weblate.org/projects/flameshot/flameshot/id/

* Translated using Weblate (Indonesian)

Currently translated at 34.0% (90 of 264 strings)

Translation: Flameshot/Flameshot
Translate-URL: https://hosted.weblate.org/projects/flameshot/flameshot/id/

* Added translation using Weblate (Galician)

* Translated using Weblate (Chinese (Traditional))

Currently translated at 78.0% (206 of 264 strings)

Translation: Flameshot/Flameshot
Translate-URL: https://hosted.weblate.org/projects/flameshot/flameshot/zh_Hant/

* Translated using Weblate (Indonesian)

Currently translated at 52.6% (139 of 264 strings)

Translation: Flameshot/Flameshot
Translate-URL: https://hosted.weblate.org/projects/flameshot/flameshot/id/

* Translated using Weblate (Galician)

Currently translated at 13.6% (36 of 264 strings)

Translation: Flameshot/Flameshot
Translate-URL: https://hosted.weblate.org/projects/flameshot/flameshot/gl/

Co-authored-by: Aditya Rahman <adityarahman032@gmail.com>
Co-authored-by: Reza Almanda <rezaalmanda27@gmail.com>
Co-authored-by: Jacque Fresco <aidter@use.startmail.com>
Co-authored-by: Monkey D. Luffy <guilheiaw@gmail.com>
Co-authored-by: 曹恩逢 <nelson22768384@gmail.com>
2021-05-14 12:34:39 -05:00
Monkey D. Luffy
7442b516cf Translated using Weblate (Galician)
Currently translated at 13.6% (36 of 264 strings)

Translation: Flameshot/Flameshot
Translate-URL: https://hosted.weblate.org/projects/flameshot/flameshot/gl/
2021-05-14 14:33:14 +02:00
Aditya Rahman
8f3af211c5 Translated using Weblate (Indonesian)
Currently translated at 52.6% (139 of 264 strings)

Translation: Flameshot/Flameshot
Translate-URL: https://hosted.weblate.org/projects/flameshot/flameshot/id/
2021-05-14 14:33:14 +02:00
曹恩逢
7ec85ef640 Translated using Weblate (Chinese (Traditional))
Currently translated at 78.0% (206 of 264 strings)

Translation: Flameshot/Flameshot
Translate-URL: https://hosted.weblate.org/projects/flameshot/flameshot/zh_Hant/
2021-05-14 14:33:13 +02:00
Monkey D. Luffy
02e0c46e5a Added translation using Weblate (Galician) 2021-05-12 13:15:39 +02:00
Jacque Fresco
ebe507006f Translated using Weblate (Indonesian)
Currently translated at 34.0% (90 of 264 strings)

Translation: Flameshot/Flameshot
Translate-URL: https://hosted.weblate.org/projects/flameshot/flameshot/id/
2021-05-11 23:33:21 +02:00
Reza Almanda
7d0c4148fb Translated using Weblate (Indonesian)
Currently translated at 32.5% (86 of 264 strings)

Translation: Flameshot/Flameshot
Translate-URL: https://hosted.weblate.org/projects/flameshot/flameshot/id/
2021-05-11 16:28:09 +02:00
Aditya Rahman
4bc1c1211a Translated using Weblate (Indonesian)
Currently translated at 17.4% (46 of 264 strings)

Translation: Flameshot/Flameshot
Translate-URL: https://hosted.weblate.org/projects/flameshot/flameshot/id/
2021-05-08 05:32:51 +02:00
Aditya Rahman
5d6bfceaa3 Translated using Weblate (Korean)
Currently translated at 50.7% (134 of 264 strings)

Translation: Flameshot/Flameshot
Translate-URL: https://hosted.weblate.org/projects/flameshot/flameshot/ko/
2021-05-08 05:32:51 +02:00
Weblate (bot)
f48fbcbefd Translated using Weblate (Indonesian) (#1612)
Currently translated at 12.1% (32 of 264 strings)

Translation: Flameshot/Flameshot
Translate-URL: https://hosted.weblate.org/projects/flameshot/flameshot/id/

Co-authored-by: Aditya Rahman <adityarahman032@gmail.com>
2021-05-07 12:42:06 -05:00
Paul
20d795e4e1 Fixed Ubuntu link in readme (#1606) 2021-05-04 11:53:54 -05:00
nullobsi
115a3a8132 improve screenshot saver copy (#1604)
* small refactor to screenshotsaver clipboard

* clang-format
2021-05-03 17:37:12 -05:00
borgmanJeremy
57dac0d73d Change .desktop file to support Plasma Wayland (#1603) 2021-05-02 14:02:30 -05:00
Pavel Kalugin
6a2765f15e CMake: add option to use external singleapplication (#1598) 2021-05-02 13:24:06 -05:00
nullobsi
adcf2501f3 Use image/png on Wayland to improve copy support (#1601)
* wayland clipboard testing

* typo

* cleanup
2021-05-02 12:49:30 -05:00
Yurii Puchkov
df5760c15a NC/Optimisations and bug fixes for objects editing (#1600)
* Optimise undo/redo for thickness, do not save every change on mouse wheel, save just the result

(cherry picked from commit c0bd74790e086dcde1c242a31e27f992a04c07e2)

* fix - In some cases undo/redo stack has excess steps (root cause is in the start move object event on a small not noticeable mouse move)

(cherry picked from commit 912f39f38083e368979f34ef14821979c34482bb)

* fix - It is impossible to remove an object using the "Undo the latest modification" button on second attempt (full undo, draw something, full undo again)

(cherry picked from commit a7f77a130a497ac6fdecd59eb43c889dcc6cbe1a)

* fix - Picked font family in the text editing tool is applied to the autoincrement tool

(cherry picked from commit 11c5eb29b1078bd6aba91fe7a74c2682767ad47c)

* Add git hash to version in the about dialog

(cherry picked from commit b4dbf52b3217b51614100bd307046772a37dc484)

* Add configuration option to limit undo steps

(cherry picked from commit f13cbecabb172060b196a535348f145457ad2f0f)

* Object delete operation is not registered on the undo stack

(cherry picked from commit 5c966cb5d3702a4d735dd542ad03a80899250b4a)

* fix - Unable to draw an object from second attempt after ColorPicker was called

(cherry picked from commit 49a119886fec253376703e8aa2386e16bc23cbcf)

* fix - App freezes and then crashes when changing object line thickness via Active thickness slider in the tool settings

(cherry picked from commit 26fd64f1c333f70c67282630362cbc5fc8427a39)

* fix - set min and max values for thickness slider to 1-100

(cherry picked from commit 6d8661666e4e199a3c29f991d52bef73ec36129c)

* fix - Crash on Move Tool button with an active Text editor

(cherry picked from commit 461f95da3afda56c0e9693e768e86b18d056eecc)

* fix - Text is not modified when picking it as object in the list

(cherry picked from commit 366bb0928b430d442dc67299353f7dc5ceb743b4)

* fix - Text modification cannot be undone
fix - Object that was created after the text object disappears after undo editing text

(cherry picked from commit 79b2fb92aca65b177cffb386db141d30551a2b1c)

* fix - Text is not saved if picking any object in the objects list without clicking at the empty space

(cherry picked from commit 4679a744a3d2498fe27379f89d48b347a34ae0dc)

* Last available undo step reset everything to the beginning

(cherry picked from commit 4af7423d00cfaa9feabc905400aa3ac30fc4a3ea)

* Missed changes (cherry-pick) for switching ColorPicker behaviour (right mouse click and hold to right mouse click and left click)

Co-authored-by: Yuriy Puchkov <yuriy.puchkov@namecheap.com>
2021-05-02 12:48:22 -05:00
nullobsi
bd2feadc65 [docs] add wlroots/sway documentation (#1599)
this should help clear up some common issues with xdg desktop portal and wlroots compositors
2021-05-02 12:40:48 -05:00
Weblate (bot)
7cd92bc9dd Translated using Weblate (Indonesian) (#1602)
Currently translated at 6.4% (17 of 264 strings)

Translation: Flameshot/Flameshot
Translate-URL: https://hosted.weblate.org/projects/flameshot/flameshot/id/

Co-authored-by: Aditya Rahman <adityarahman032@gmail.com>
2021-05-02 12:40:23 -05:00
Weblate (bot)
7f61113eb2 Translations update from Weblate (#1595) 2021-05-01 11:54:08 -05:00