2100 Commits

Author SHA1 Message Date
borgmanJeremy
9a886de2a3 Snap is compiling but has permission issue on gnome (#3991) 2025-06-09 16:23:16 -05:00
El Thoro
639b1ee73d Fix poor performance with Qt 6: Replace QFileSystemModel with QFileIconProvider (#3989) 2025-06-08 19:51:12 -05:00
El Thoro
128b58328d Fix app filter using wildcards (#3985) 2025-06-08 19:50:07 -05:00
El Thoro
a56beb34d3 Support dark mode in Windows (#3984) 2025-06-08 19:49:14 -05:00
El Thoro
669dfaadea Qt 6 - Fix http status response (#3983)
* Fix http status response

* Use QStringLiteral
2025-06-08 19:48:28 -05:00
Weblate (bot)
4edfb2ac1d Translations update from Hosted Weblate (#3986)
* Translated using Weblate (German)

Currently translated at 91.3% (414 of 453 strings)

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

* Translated using Weblate (Russian)

Currently translated at 100.0% (453 of 453 strings)

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

* Translated using Weblate (German)

Currently translated at 91.3% (414 of 453 strings)

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

---------

Co-authored-by: El Thoro <elthoro@gmx.de>
Co-authored-by: Andrei Stepanov <adem4ik@gmail.com>
Co-authored-by: Florian Rohrer <dev@florianrohrer.ch>
2025-06-08 03:29:25 +03:00
Weblate (bot)
80001d5c1b Translations update from Hosted Weblate (#3981)
* Translated using Weblate (Russian)

Currently translated at 100.0% (453 of 453 strings)

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

* Translated using Weblate (Finnish)

Currently translated at 88.0% (399 of 453 strings)

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

* Translated using Weblate (Thai)

Currently translated at 100.0% (416 of 416 strings)

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

---------

Co-authored-by: Andrei Stepanov <adem4ik@gmail.com>
Co-authored-by: Mehrad Mahmoudian <m.mahmoudian@gmail.com>
Co-authored-by: Anucha Lhaononkor <achn.syps@gmail.com>
2025-06-07 08:59:17 +03:00
borgmanJeremy
aa11f4363c fix windows pack (#3982) 2025-06-06 16:11:01 -05:00
Jeremy Borgman
2c99e97ed7 Fix more c++ 20 deprecations 2025-06-06 14:35:04 -05:00
Weblate (bot)
88eaf96f24 Translated using Weblate (Chinese (Traditional Han script)) (#3980)
Currently translated at 89.1% (404 of 453 strings)

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

Co-authored-by: Peter Dave Hello <hsu@peterdavehello.org>
2025-06-05 18:48:42 -05:00
borgmanJeremy
b504b9eda1 Qt6 ci (#3978)
* fixing CI

* manual trigger

* Qt6 Windows build (#3976)

* Windows CI

* Windows CI

* Windows CI

* CI for Macos

* Fixing windows and mac CI

---------

Co-authored-by: El Thoro <ElTh0r0@users.noreply.github.com>
2025-06-04 20:19:53 -05:00
borgmanJeremy
2732eb375c Port to QT6 on MacOs (#3977) 2025-06-04 18:41:55 -05:00
Jeremy Borgman
533c811016 fix missing header on ubuntu 22.04, apply clang-format, working on CI 2025-06-03 20:05:54 -05:00
borgmanJeremy
50d9309e52 Fixes flatpak for Qt6 (#3974) 2025-06-03 19:27:11 -05:00
Jeremy Borgman
21abb11850 Merge branch 'master' into qt6_2025 2025-06-03 16:00:03 -05:00
Jeremy Borgman
a23034bec7 Merge branch 'master' into qt6_2025 2025-06-03 15:56:49 -05:00
borgmanJeremy
9419958231 allow networking during build phase so cmake can clone dependencies (#3973) 2025-06-03 15:56:30 -05:00
El Thoro
13f08f9ba0 Forgot another deprecated QApplication::desktop (macOS) / fix Qt 6 Windows build (#3967)
* Forgot another deprecated QApplication::desktop (macOS)

* Fix Qt 6 Windows build
2025-06-02 06:32:34 -05:00
Weblate (bot)
88c738ff93 Translations update from Hosted Weblate (#3968)
* Translated using Weblate (Italian)

Currently translated at 99.7% (452 of 453 strings)

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

* Translated using Weblate (Thai)

Currently translated at 25.9% (108 of 416 strings)

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

---------

Co-authored-by: albanobattistella <albano_battistella@hotmail.com>
Co-authored-by: Anucha Lhaononkor <achn.syps@gmail.com>
2025-06-02 07:32:25 +03:00
El Thoro
88d6e14246 Replace QTextCodec with QStringDecoder/Encoder (#3965) 2025-06-01 12:10:08 -05:00
Weblate (bot)
4574ddd959 Translated using Weblate (Italian) (#3964)
Currently translated at 89.8% (407 of 453 strings)

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

Co-authored-by: albanobattistella <albano_battistella@hotmail.com>
2025-06-01 20:01:17 +03:00
Jeremy Borgman
3fa9ce789f Apease clange format 2025-06-01 12:00:46 -05:00
Jeremy Borgman
afff3d6b2e build with c++ 20 2025-06-01 11:58:17 -05:00
El Thoro
49ff3de496 Fix further Qt 6 deprecations (#3966)
* Replace qAsConst

* Wayland hack on Gnome not needed anymore with Qt 6

* Fix QLibraryInfo and QFontDatabase deprecations

* Fix QKeySequence
2025-06-01 11:53:36 -05:00
Jeremy Borgman
a41137707c fixed segfault 2025-06-01 11:52:53 -05:00
Jeremy Borgman
b4b00ec3fa temporarily disable QtSingleApplication 2025-06-01 09:25:04 -05:00
Jeremy Borgman
728c586da2 fix arch package build and fix some build issues related to KFGuiAddons 2025-05-31 13:14:08 -05:00
El Thoro
277eb2f437 Fixing deprecation for future Qt 6 support (#3962)
* Replace foreach

* Replace QRegExp with QRegularExpression

* Replace QApplication::fontMetrics

* Replace QColor::isValidColor

* Replace canConvert(QVariant)

* Replace QString::midRef and QCharRef

* Add TODO for replacing QDesktopWidget for Qt 6

* Add TODO for replacing QTextCodec for Qt 6

* Fix QWidget::enterEvent for Qt 6

* qRegisterMetaTypeStreamOperators done automatically in Qt 6

* Fix QWidget::mapToGlobal for Qt 6

* Migrate QDesktopWidget replacement from old qt6 branch

* Drop Qt 5 support
2025-05-31 12:42:40 -05:00
Nicholas Morris
eefefe187a Adds Support for Command-Line on Windows (#3699)
* + cli support on windows

- removes the preprocessor macro that prevented arg
  parsing on Windows
- adds windows-cli.cpp as src for a wrapper exe
- adds flameshot-cli target into cmake when building
  on Windows
- updates README

* updates PR

+ support for unicode characters in cli args
+ additional clarification in README re: flameshot-cli
+ new workaround for spaces in _popen path; works with relative output paths

* fix EOL

* updated flameshot.exe path construction

avoids using the hard-coded length of flameshot-cli.exe

* fix whitespace (clang)
2025-05-31 12:39:02 -05:00
El Thoro
134238b8eb Fixing several Clazy warnings (#3960)
* Use multi-arg

* Unused vaiables

* Missing emit

* Range loop reference

* Don't use connect by name
2025-05-30 20:11:12 -05:00
Weblate (bot)
0b0172ed9f Translated using Weblate (Swedish) (#3961)
Currently translated at 80.7% (366 of 453 strings)

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

Co-authored-by: Åke Engelbrektson <eson@svenskasprakfiler.se>
2025-05-30 20:56:36 +03:00
borgmanJeremy
0e0ab8b73d regenerated translation files (#3959) 2025-05-29 06:41:11 -05:00
Weblate (bot)
297062bdea Translated using Weblate (Irish) (#3958)
Currently translated at 100.0% (416 of 416 strings)

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

Co-authored-by: Aindriú Mac Giolla Eoin <aindriu80@gmail.com>
2025-05-29 06:39:40 -05:00
Weblate (bot)
87f6da3811 Added translation using Weblate (Irish) (#3957)
Co-authored-by: Aindriú Mac Giolla Eoin <aindriu80@gmail.com>
2025-05-29 06:34:03 -05:00
Weblate (bot)
0299a6776b Translations update from Hosted Weblate (#3956)
* Translated using Weblate (Spanish)

Currently translated at 100.0% (416 of 416 strings)

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

* Translated using Weblate (Spanish)

Currently translated at 100.0% (416 of 416 strings)

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

* Translated using Weblate (Polish)

Currently translated at 100.0% (416 of 416 strings)

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

* Translated using Weblate (Polish)

Currently translated at 100.0% (416 of 416 strings)

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

---------

Co-authored-by: gallegonovato <fran-carro@hotmail.es>
Co-authored-by: Eryk Michalak <gnu.ewm@protonmail.com>
Co-authored-by: Michał Sapa <michalsapa@protonmail.com>
2025-05-28 20:08:15 -05:00
Nicolas Pieuchot
ba3a5f5949 Fix french translation (#3609) 2025-05-28 20:05:09 -05:00
Weblate (bot)
16c51c6036 Translations update from Hosted Weblate (#3955)
* Translated using Weblate (Spanish)

Currently translated at 100.0% (416 of 416 strings)

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

* Translated using Weblate (Spanish)

Currently translated at 100.0% (416 of 416 strings)

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

* Translated using Weblate (Polish)

Currently translated at 100.0% (416 of 416 strings)

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

* Translated using Weblate (Polish)

Currently translated at 100.0% (416 of 416 strings)

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

---------

Co-authored-by: gallegonovato <fran-carro@hotmail.es>
Co-authored-by: Eryk Michalak <gnu.ewm@protonmail.com>
Co-authored-by: Michał Sapa <michalsapa@protonmail.com>
2025-05-28 20:04:34 -05:00
borgmanJeremy
7ecdcca55e Merge pull request #3946 from flameshot-org/external_deps
External deps to Cmake FetchContent
2025-05-27 22:33:05 +01:00
Jeremy Borgman
4ef7e3a3ed Fix windows WIX package
This commit was authored with the help of Claude.ai and should be
viewed with some skepticism. Ultimately the windows packaging
needs to be rewritten because it's relying on an unmaintained
version of WIX.
2025-05-27 06:38:34 -05:00
Mehrad Mahmoudian
09f2d959be removes Ubuntu 18.04 and 20.04 from documentation (#3952) 2025-05-26 15:58:16 -05:00
Mehrad Mahmoudian
849fce5855 Move ARM CI to a new CI (#3950)
* move the ARM CI out of the linux CI into a dedicated CI file

* fix file name typo

* rename the CI name

* add this branch name temporarily to make the CI run

* temporarily add pull requests to the ARM CI

* revert the temporary modification to ARM CI
2025-05-25 10:07:08 -05:00
Jeremy Borgman
663a056f78 Fix deb and rpm packaing issues 2025-05-24 09:52:43 -05:00
borgmanJeremy
c2acf30ef2 Add config cli option to enable or disable notifications (#3942) 2025-05-24 08:21:55 -05:00
Jeremy Borgman
70bb5098ee Move Qhotkey to FetchContent 2025-05-22 20:19:06 -05:00
Jeremy Borgman
b1a7f9c3a0 Update SingleApplication to latest release 2025-05-21 18:38:51 -05:00
Jeremy Borgman
0088727a96 Move Single Application to FetchContent 2025-05-21 18:37:38 -05:00
Jeremy Borgman
4c1bb7226d Move Qt Color Widget to latest 2025-05-21 18:32:19 -05:00
Jeremy Borgman
43cb2bac38 Moved Qt Color Widgets to FetchContent 2025-05-21 18:27:27 -05:00
Harsh Narayan Jha
76f8067b2d Add useGrimAdapter option to the config window (#3943) 2025-05-21 14:01:26 -05:00
Alaskra
f7a049ee78 fix missing invert button on configure windows and remove old size (#3118) 2025-05-17 09:02:01 -05:00