Commit Graph

338 Commits

Author SHA1 Message Date
Jeremy Borgman
3bd7aa79b8 Fix count when the redo tool is called with circle counter 2020-09-08 20:26:52 -05:00
Jeremy Borgman
6afa3ca26a Made undo tool aware of circle count to decrement. Refactored tool ID's to be enum 2020-09-08 11:36:30 -05:00
Jeremy Borgman
ed4ea1377b Changed menu item to match window title 2020-09-08 11:30:44 -05:00
Ahmed Zetao Yang
961ce5f732 fix: add opensuse support & correct appstream metainfo xml
- support opensuse leap >= 15.0
- correct appstream metainfo xml name & its content, see https://www.freedesktop.org/software/appstream/docs/chap-Quickstart.html#sect-Quickstart-DesktopApps
2020-09-08 11:13:27 -05:00
borgmanJeremy
a4f7423967 Fixed dbus name (#859)
* Fixed dbus name

* Fixed formatting
2020-09-07 16:11:32 -05:00
borgmanJeremy
ff6d4587e8 Cmake needs to install flameshot.appdata.xml (#857)
* Cmake needs to install flameshot.appdata.xml

* fixing rpm
2020-09-07 16:03:21 -05:00
borgmanJeremy
60ef3f3e6f changed dbus naming to match github organization (#856)
* changed dbus naming to match github organization

* Fixed formatting
2020-09-07 15:09:57 -05:00
Boyuan Yang
18f18ce7ef Fix D-Bus activation name
Originally the App uses org.dharkael.Flameshot in D-Bus.
Since we have moved the project under organization, the
name we are using now should be org.flameshot.Flameshot.
This need to be kept unified across the whole project.

This fixes D-Bus invocation problem and should fixes: #850 .
2020-09-07 11:16:03 -05:00
borgmanJeremy
4ec100dade Merge pull request #846 from sheepjin99/master
Enable Korean translation
2020-09-07 07:30:13 -05:00
Ahmed Zetao Yang
793cdce37e fix: set win32 api minimum system level as Win7 2020-09-07 07:29:31 -05:00
Martin Eckleben
9f530fdfae added translation for CLI --help output (#839)
* added translation for CLI --help output

* improved formatting with clang-format
2020-09-07 07:28:43 -05:00
Yangjin Cho
6f6c9219e9 Update CMakeLists.txt 2020-09-07 13:58:42 +09:00
RieL
a5ec75180c Merge branch 'master' of https://github.com/sheepjin99/flameshot 2020-09-07 13:02:16 +09:00
RieL
c5de313624 Enable Korean translation
1. Changed Qt Linguist language code from kr to ko
2. Enabled Korean translation by editing src/CMakeList.txt

It worked well on manjaro linux 18.0 with Korean translated.
2020-09-07 12:52:38 +09:00
Jeremy Borgman
7b0888a0b0 allowed counter bubble size to be adjustable, font to autofill, and fixed issue with low DPI undo 2020-09-06 21:10:41 -05:00
Jeremy Borgman
889b688ee2 Moved TS generation behind flag, fixed more references to blur, fixed missing pixelate icon. 2020-09-06 20:21:51 -05:00
Boyuan Yang
ecacd96608 Enable WIN32 property on Windows build
When building on Windows platform, this patch will set the
WIN32_EXECUTABLE property for the build target. This helps
to suppress the terminal window when running on Windows.
This solves some problems discussed in issue #824.
2020-09-06 15:25:39 -05:00
Jeremy Borgman
f34def6794 changed blur class name to pixelate to match implementation 2020-09-05 11:27:00 -05:00
Martin Eckleben
feda43a0f6 Update commandlineparser.cpp
Adjusted for proper string line break code formatting.
2020-09-05 10:01:38 -05:00
Martin-Eckleben
944469cd39 Improved documentation regarding default behavior without CLI arguments. 2020-09-05 10:01:38 -05:00
Boyuan Yang
4541c79cdc Avoid hardcoded app version
Use ${PROJECT_VERSION} from CMake to provide the project version
information instead of hardcoding.
2020-09-04 21:04:51 -05:00
Boyuan Yang
a8fb73b668 Use ${CMAKE_INSTALL_PREFIX} to provide APP_PREFIX
Currently the value of $prefix is hardcoded in the source code.
This is not a good choice given we have switched to CMake and
that CMake provides the builtin variable ${CMAKE_INSTALL_PREFIX}
to provide this information.

This patch uses the value of ${CMAKE_INSTALL_PREFIX} to populate
flameshot's internal variable APP_PREFIX as well as using it
in generating the org.flameshot.Flameshot.service file with
a proper $prefix value (via CMAKE_INSTALL_FULL_BINDIR as provided
by GNUInstallDirs).
2020-09-04 20:43:35 -05:00
Jeremy Borgman
5dba3de778 Added ubuntu CI and fixed issue uncovered during CI. Also added clang-format 2020-09-04 20:40:45 -05:00
Jeremy Borgman
c8d15205be reformatted to Mozilla code style 2020-09-04 20:40:45 -05:00
borgmanJeremy
c0e2e48db4 Fix CMake Package and DBUS Names (#819)
* Fix CMake Packaging to properly package assets.
2020-09-04 19:29:37 -05:00
Jeremy Borgman
286db9ff69 Fixed translations and added feedback from PR 2020-09-03 11:51:18 -05:00
Jeremy Borgman
3e226651db Added cmake install directions 2020-09-02 12:20:21 -05:00
Jeremy Borgman
dc77029cde Fixed most depratated warnings. 2020-07-13 15:02:18 -05:00
Jeremy Borgman
f5013df306 First pass at converting from qmake to cmake. 2020-07-10 20:10:14 -05:00
Jeremy Borgman
f99ca6c78c Changed blur tool to pixelate instead 2020-06-24 10:23:36 -05:00
Jeremy Borgman
9bb556acff added circle counter and fixed issue with latest qt 2020-06-11 15:26:34 -05:00
teryanik
62dbabc341 Add option to auto copy URL after upload (#553) 2019-10-01 19:58:29 +02:00
gm10
f648e88cca Add missing window icon to ImgurUploader (#618) 2019-10-01 19:54:40 +02:00
luzpaz
97b02a80b4 Fix misc. whitespace (#621) 2019-10-01 19:53:29 +02:00
Daniel Chabrowski
807e240d6c Fix pragma once in globalvalues.h (#537) 2019-05-22 17:04:44 +02:00
lupoDharkael
d4715750df Add basic launcher panel 2019-04-21 20:34:57 +02:00
lupoDharkael
cbb4727786 Add option to close flameshot after every capture 2019-04-21 20:03:40 +02:00
greno4ka
7ee9a3f173 Fix problem with disabled tray icon (#495) 2019-04-18 13:41:08 +02:00
greno4ka
b75ee75f90 Fixup working with startupLaunch value (#477)
* Fixup working with startupLaunch value

This commit fixes problem, when you want to import or export
information about startup.

* Verify if autostart directory exists
2019-03-31 12:43:47 +02:00
Nikolai Oplachko
b42f1cf01d Add 45-multiple degree adjustment for line, arrow and marker tools (#439)
* Add 45-multiple degree adjustment for line, arrow and marker tools

* Adjustment: Ctrl press is checked + widened functionality for two-point tools
2019-03-31 12:38:31 +02:00
DaVukovic
abe356a4d8 Add german translation (#467) 2019-03-20 22:42:29 +01:00
Magnus Groß
5174f8dc1b Allow notification to be dragged and dropped (#473)
* Set x-kde-urls for notifications

The x-kde-urls field in the hints map allows us to provide a direct URL
to the saved screenshot. The notification server may then use this hint
to provide extra functionality, such as drag and drop support and
thumbnails.

For more information see https://community.kde.org/Plasma/Notifications#File_Path

Fixes #256

Note that other notification servers may ignore this hint.

* Avoid branching twice for ok
2019-03-20 22:41:55 +01:00
Magnus Groß
a653d5a6d2 Highlight with composition mode set to Multiply (#490)
This improves readability of marked text.

Fixes #485
2019-03-13 22:18:14 +01:00
lupoDharkael
42619158fa Update copyright year 2019-03-04 16:38:45 +01:00
greno4ka
fcc14aa23d Add translation of system buttons in dialogs (#474) 2019-03-04 16:34:01 +01:00
Jiachen Yang
b612bdbbae fixing #459 by update m_context with m_selection (#470) 2019-02-22 16:29:40 +01:00
Pavel Makarenko
8887b4e7ce Add support for more images formats (#436)
* Add support for more images formats

* Resolves extension verifying  in case of empty save path string

* Code formatting
2019-01-30 15:37:56 +01:00
Boyuan Yang
25246a79f0 utils/confighandler.cpp: Enable Pin and Text tool by default (#443)
This commit enables all the available tools by default so that
users may use them out-of-box without bothering with modifying
configuration.
2019-01-09 19:08:54 +01:00
James LaChance
472a275bb9 Exit non-zero when aborting with --raw. (#424)
This fixes #302. Note that I also added a non-zero exit status when DBus
fails to connect.
2018-12-28 16:39:04 +01:00
luzpaz
665f309018 Misc. source comment typos (#423)
Found via `codespell -i 3 -w -S ./translations -L uint,exten -C 3`
2018-12-28 16:13:29 +01:00