Commit Graph

2062 Commits

Author SHA1 Message Date
El Thoro
cb3547e545 Center dialogs on current screen (#4024)
* Center dialogs on current sreen

* Center QuitPrompt
2025-06-22 12:22:01 -05:00
Weblate (bot)
172d561fb8 Translated using Weblate (Turkish) (#4031)
Currently translated at 88.5% (401 of 453 strings)

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

Co-authored-by: Onat Girit <onatgirit@gmail.com>
2025-06-22 18:51:09 +03:00
El Thoro
d420a53a4a Separate sizes for text, circle counter, pixelate, rectange, marker (as discussed in #3812) (#4011) 2025-06-16 15:55:44 -05:00
Weblate (bot)
6b8ba90bc9 Translations update from Hosted Weblate (#4010)
* Translated using Weblate (Italian)

Currently translated at 100.0% (453 of 453 strings)

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

* 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/

---------

Co-authored-by: albanobattistella <albano_battistella@hotmail.com>
Co-authored-by: Andrei Stepanov <adem4ik@gmail.com>
2025-06-16 21:15:06 +03:00
El Thoro
1ee67d2e9b Fix Qt caching (#4008) 2025-06-16 06:31:37 -05:00
borgmanJeremy
58afdce741 make pin moving compatible with Wayland on Qt6 (#4000)
* make pin moving compatible with Wayland on Qt6

* found more to clean up
2025-06-12 19:55:35 -05:00
Mehrad Mahmoudian
5d91ce31fd Make CIs to ignore .ts translation files in PullRequests (#4005) 2025-06-12 16:05:42 -05:00
borgmanJeremy
100bfc1300 fixing windows CMAKE CI (#4004) 2025-06-11 20:39:36 -05:00
borgmanJeremy
7e7cbfa4ea Update Linux-pack.yml (#4001) 2025-06-11 16:43:38 -05:00
El Thoro
075a69f466 Fix for wrong set savePath on Windows (#3990) (#3997) 2025-06-10 20:30:30 -05:00
borgmanJeremy
98f03957f4 Merge pull request #3993 from flameshot-org/qt6_2025
Porting Flameshot to Qt6
2025-06-10 19:51:10 -05:00
borgmanJeremy
a354a9152d disable broken qt6 builds (#3992) 2025-06-09 16:58:21 -05:00
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