Yuriy Puchkov
ebdb3743dd
Code refactoring - remove Q_OS_MAC64 (is not required, is covered by Q_OS_DARWIN)
...
(cherry picked from commit e511b521cec6edd9f77916c6ee753329326a5f91)
2021-02-17 18:46:12 +02:00
Yuriy Puchkov
dd54d028a1
Code refactoring - remove Q_OS_MACX (is not required, is covered by Q_OS_DARWIN)
...
(cherry picked from commit 00b9aae5266aaffb9a01a6f689e1829ae8218bdc)
2021-02-17 18:46:12 +02:00
Yuriy Puchkov
a893fdfc75
Code refactoring - remove Q_OS_MAC (deprecated synonym for Q_OS_DARWIN)
...
(cherry picked from commit aff1649670aa5ba64f2927933a29c62b06fee21f)
2021-02-17 18:46:12 +02:00
Jeremy Borgman
ddd4eb5b0c
added wayland XCB hack for clipboard
2021-02-05 19:43:58 -06:00
Jeremy Borgman
73fe772b70
resolving merge conflicts
2021-01-08 10:19:53 -06:00
Jeremy Borgman
76ad9e5a6f
first pass at adding logging framework
2021-01-05 17:01:12 -06:00
Yuriy Puchkov
6300672828
fix - MacOS - no notification in tray on image upload, save to clipboard and other notifications
2020-12-17 15:02:22 +02:00
Jeremy Fleischman
05c2bc6ae7
Added a gui --selection option to print out the geometry of the selection.
...
Fixes #425 .
2020-10-26 11:46:39 -05:00
Jeremy Borgman
5292b894f2
Moved style override to after app creation
2020-09-30 10:58:33 -05:00
Jeremy Borgman
8aa137b35c
lowered hover delay to 0.5 s
2020-09-26 20:16:04 -05:00
Jeremy Borgman
0d5386edd4
Changed clang format to new agreement
2020-09-24 07:53:28 -05:00
borgmanJeremy
a4f7423967
Fixed dbus name ( #859 )
...
* Fixed dbus name
* Fixed formatting
2020-09-07 16:11:32 -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
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
Jeremy Borgman
c8d15205be
reformatted to Mozilla code style
2020-09-04 20:40:45 -05:00
luzpaz
97b02a80b4
Fix misc. whitespace ( #621 )
2019-10-01 19:53:29 +02:00
lupoDharkael
d4715750df
Add basic launcher panel
2019-04-21 20:34:57 +02: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
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
Alfredo Ramos
ee2f583acd
Fix some issues detected by Clazy ( #384 )
...
* Fix old style connect
* Fix unneeded QString memory allocations
2018-10-24 01:04:42 +02:00
Jiachen Yang
59d88dd2de
fix auto locale detection ( #308 )
...
Current implementation QLocale::system.language() will not correctly
differs Simplified Chinese with Traditional Chinese, which is causing
problems to load translations for zh_TW. This fix the problem by
following the documentation here:
https://doc.qt.io/qt-5/qtranslator.html#load-1
2018-08-12 11:39:42 +02:00
Danilo Egêa Gondolfo
df3958e43a
Use defined(Q_OS_LINUX) || defined(Q_OS_UNIX) where applicable to support BSD OSs. ( #264 )
2018-07-01 13:45:49 +02:00
lupoDharkael
49227fac43
Solve cppcheck warnings
2018-05-26 18:38:06 +02:00
lupoDharkael
c766b3e048
Add capture individual screens option
2018-05-08 21:23:09 +02:00
lupoDharkael
48c058782a
Implement single method capture request
...
The core now has a method requestCapture, which receives a
CaptureRequest object with all the needed information.
This reduces code duplication in future features.
2018-04-29 11:27:55 +02:00
lupoDharkael
2cd6647d4b
Fix flameshot --raw wait time with delay
2018-04-23 20:21:36 +02:00
lupoDharkael
73b9609c54
Command parser: Improve flameshot full error message
2018-04-23 19:30:07 +02:00
lupoDharkael
344d327528
Add autostart to config flags
2018-04-16 19:34:17 +02:00
lupoDharkael
5746a58582
Code refactor
...
More flexible tool API
Minor code format fixes
Clipboard freeze fixed(?)
Arrow correcly growing close to the start point
Improve maintainability
Add undo/redo stack
2018-04-10 15:33:08 +02:00
lupoDharkael
db8a483b7f
Dont use applicationFilePath() before QApplication instantiation
2018-02-05 15:25:40 +01:00
lupoDharkael
85da4a3045
Translation paths based on OS
2018-02-02 20:57:27 +01:00
lupoDharkael
71b63dcd6a
Maintain config compatibility until 1.0
2018-01-24 01:27:25 +01:00
lupoDharkael
ae9b8c062c
Fast draw colors are now loaded from config
2018-01-23 18:58:19 +01:00
lupoDharkael
d721dcd560
Prefer prefer QVector over QList
2018-01-23 18:14:17 +01:00
lupoDharkael
89ac281033
Fix whitespace consistency
2018-01-19 00:58:40 +01:00
lupoDharkael
02865322bf
Update copyright
2018-01-12 17:58:30 +01:00
Boyuan Yang
f36ab43e70
Fix typos found by codespell ( #70 )
2018-01-09 13:58:11 +01:00
lupoDharkael
16c959c826
Add timeout using tray notification
2017-12-26 02:06:57 +01:00
lupoDharkael
77aa604127
Remove dbus from Windows build
2017-12-26 02:00:07 +01:00
lupoDharkael
11b101570f
Use QStringLiteral
2017-12-15 18:34:05 +01:00
lupoDharkael
de2580e946
Redefinition of fullscreen commands
2017-11-13 16:21:46 +01:00
lupoDharkael
485bc58b9d
Add desktop notification about failed captures
2017-11-10 19:56:59 +01:00
lupoDharkael
bb6ac04d60
Add --raw flag
...
Updated dbus API. Now it sends a signal with every capture, it may
be captureFailed or a captureTaken which contains the raw image
bytes in png format. You have to add an id to the screenshot calls
so it will be returned as a way to know the origin of the signal.
2017-11-09 18:14:04 +01:00
lupoDharkael
e418e50259
Add desktop notification when -p is invalid
2017-10-27 21:29:15 +02:00
lupoDharkael
f0b1aceaf6
Compatibility with Qt5.5
2017-08-19 14:49:29 +02:00
lupoDharkael
924d467c53
general cleanup
...
-use of the override keyword
-delete unused code
-const correctness
-more uniform code style
-for each with const references when possible
-getters no longer use the word 'get'
-others
2017-08-09 13:20:07 +02:00
lupoDharkael
8addcbfb16
New command line parser
...
A new, more flexible and restrictive parser to improve the
usage and experience of Flameshot in the command line.
This parser is based on a parent-child node model and is very easy
to define relationships between arguments and options with
informative error checking. You can define lambdas to check the
received values for every option and custom error messages
2017-08-08 17:06:34 +02:00
lupoDharkael
ebd5272dd9
Add error check parsing cli color settings
2017-08-01 00:14:56 +02:00