Commit Graph

12 Commits

Author SHA1 Message Date
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