El Thoro
f7e41f4d70
Cppcheck and clazy warning fixes ( #2821 )
...
* Cppcheck and clazy warning fixes
* Clang-format
* Revert QRect call by value
* Revert QPoint call by value
* Revert complained renamings
---------
Co-authored-by: Haris Gušić <harisgusic.dev@gmail.com >
2023-01-29 16:01:02 +01:00
borgmanJeremy
65e3a01360
Print info messages to stdout instead of stderr ( #2639 )
2022-06-02 08:38:31 -05:00
borgmanJeremy
424b7fba37
applied some clang modernize ( #2435 )
2022-02-16 21:15:25 -06:00
borgmanJeremy
0ac48f5c4b
Clang tidy ( #2372 )
...
* Added missing braces
* applied some clang modernize
* clarified auto pointer
* clang-tidy
2022-02-06 12:12:09 -06:00
Haris Gušić
36b3bd9639
Implement abstract logger ( #2174 )
...
* AbstractLogger base implementation
Signed-off-by: Haris Gušić <harisgusic.dev@gmail.com >
* Switch most system notifications to AbstractLogger
Signed-off-by: Haris Gušić <harisgusic.dev@gmail.com >
* Make CLI parser use AbstractLogger
Signed-off-by: Haris Gušić <harisgusic.dev@gmail.com >
* Fix annoying QPainter warning in QtColorWidgets
Signed-off-by: Haris Gušić <harisgusic.dev@gmail.com >
* Remove obsolete TODOs
Signed-off-by: Haris Gušić <harisgusic.dev@gmail.com >
* Fix failing windows build
Signed-off-by: Haris Gušić <harisgusic.dev@gmail.com >
* Add missing #include <cassert>
Signed-off-by: Haris Gušić <harisgusic.dev@gmail.com >
2021-12-21 11:59:08 -06:00
Haris Gušić
d54a515574
Make CLI and GUI version info match ( #1853 )
...
`flameshot --version` now includes the git commit hash, same as the
About window.
Signed-off-by: Haris Gušić <harisgusic.dev@gmail.com >
2021-08-30 08:39:59 -05:00
Boyuan Yang
a9c7cc7b04
Use SPDX-License-Identifier
...
closes : #1374 .
Use SPDX short-form identifiers instead of lengthy copyright
header to document per-file license and copyright.
This commit updates all files under src/ directory where applicable
as well as org.flameshot.Flameshot.metainfo.xml.
2021-02-20 19:22:53 -05:00
Boyuan Yang
a03c60107c
Fix help string printing ( #1289 )
2021-02-08 09:36:49 -06:00
Yuriy Puchkov
fc86f473cd
Update Ukrainian and Russian translations
2020-09-28 15:18:52 +03:00
Jeremy Borgman
0d5386edd4
Changed clang format to new agreement
2020-09-24 07:53:28 -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
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
Jeremy Borgman
c8d15205be
reformatted to Mozilla code style
2020-09-04 20:40:45 -05:00
Jeremy Borgman
f5013df306
First pass at converting from qmake to cmake.
2020-07-10 20:10:14 -05:00
lupoDharkael
42619158fa
Update copyright year
2019-03-04 16:38:45 +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
Alfredo Ramos
228c4f15e5
Use absolute locations in translation files ( #288 )
...
They provide context when using Qt Liguist, as it shows the source code where it is being used.
Also replaced QT (capital T) with Qt, as the latter is the correct name.
2018-07-28 00:03:02 +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
73b9609c54
Command parser: Improve flameshot full error message
2018-04-23 19:30:07 +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
e1bc6ba9c6
Start using #pragma once
2018-01-22 20:08:21 +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
11b101570f
Use QStringLiteral
2017-12-15 18:34:05 +01:00
lupoDharkael
4da6fd05a2
Fix parser segfault
...
Passing an argument with a double dashed prefix was causing a
crash.
'flameshot --gui' instead of 'flameshot gui'
now it's handled correctly.
2017-10-03 17:19:41 +02:00
lupoDharkael
f0b1aceaf6
Compatibility with Qt5.5
2017-08-19 14:49:29 +02:00
lupoDharkael
6cefead0fc
delete inlines, trust the compiler
2017-08-16 14:34:16 +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