50 Commits

Author SHA1 Message Date
Boyuan Yang 8d782c2c47 appdata: Minor tweak on project_license line (Fix AppStream warning) (#310)
From https://appstream.debian.org/sid/main/issues/flameshot.html :

* metainfo-validation-issue
Validation of the metainfo file found a problem:
SPDX license ID 'GPLv3+' is unknown.

According to https://spdx.org/licenses/ , the correct identifier
for GPLv3+ is "GPL-3.0-or-later" now. This commit would make
that replacement.

Signed-off-by: Boyuan Yang <073plan@gmail.com>
2018-08-12 11:39:18 +02:00
orschiro 27be72f81a Added French translation (#301) 2018-08-07 17:34:42 +02:00
Alfredo Ramos d09580b873 Optimize and use SVG images where possible (#281)
SVG images have been optimized with svgo, this will slightly reduce package size though the main reason for this was to remove unneeded markup.

Image paths have been changed and merged, now the directory tree looks like this:

img
├── app
├── material
│   ├── black
│   └── white
└── preview

The reason to merge the paths is to avoid duplicate files for buttons and configuration.

SVG icons are used by default now, PNG images have not been deleted from the images directory, but they were deleted from the graphics.qrc resource file.

All image paths were updated accordingly, except in the tray icon, I could not make it work using the SVG image.
2018-07-24 00:43:01 +02:00
Boyuan Yang ecdd3b2e45 Fix typo; Refresh translation; Update zh-CN translation (#267)
* Fix typos found by codespell

* redotool: Mark description string as translatable

* Refresh translation; Update zh_CN translation again
2018-07-07 14:23:24 +02:00
Daniel Napora 2ef3ea8f0d Polish translation update (#248) 2018-06-15 00:11:05 +02:00
Dharkael 6ab7321dc2 Update release.md 2018-05-23 12:50:34 +02:00
lupoDharkael c766b3e048 Add capture individual screens option 2018-05-08 21:23:09 +02:00
lupoDharkael 213cd5d48c Prevent compilation with empty version
Compiling the project without git installed uses a hardcoded
version with a *-dev ending in the dev versions instead of
the specific commit information after the version.
2018-04-23 20:17:34 +02:00
Boyuan Yang e26f9d2849 desktop: Add zh_CN translation; Add 500ms delay for Capture (#171)
closes: #166.
2018-03-20 14:01:59 +01:00
Alfredo Ramos 1bf2829217 Use single desktop file with actions (#149)
* Merge desktop files

Use Desktop Actions instead of installing three different files, this would prevent confusion (see #140) and will make easier to maintain a single desktop entry.

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=887466
https://specifications.freedesktop.org/desktop-entry-spec/desktop-entry-spec-latest.html#extra-actions

* Desktop entry cleanup

Translations were removed to start clean and because they need to be updated to match the new Name.
2018-03-04 12:23:51 +01:00
lupoDharkael 9abdb0e7f2 Prepare for v0.5.1 2018-02-24 12:19:04 +01:00
MEBis c1377d9610 Update flameshot-init.desktop (#98) 2018-01-20 17:00:43 +01:00
MEBis ac831b737b Update flameshot.desktop (#97) 2018-01-20 17:00:22 +01:00
Giorgi Gzirishvili a0260982b9 Add instructions for global keyboard shortcuts in Plasma (#84) 2018-01-19 22:54:41 +01:00
Boyuan Yang df52761594 desktop: Add Keywords: entry for desktop files (#88) 2018-01-16 17:59:46 +01:00
Boyuan Yang f36ab43e70 Fix typos found by codespell (#70) 2018-01-09 13:58:11 +01:00
Vitaly Zaitsev b6f7a59c23 Fixed errors in desktop files: (#69)
* removed shebang;
 * removed encoding tag as it no longer required;
 * changed chmod from 755 to 644 as required by standard.

Signed-off-by: Vitaly Zaitsev <vitaly@easycoding.org>
2018-01-08 21:33:32 +01:00
Vitaly Zaitsev 2d2ce8c84d Added AppData manifest file for Gnome Software. (#68)
Signed-off-by: Vitaly Zaitsev <vitaly@easycoding.org>
2018-01-08 21:31:46 +01:00
lupoDharkael 4770dd195e Remove qsettings docs as ConfigHandler documents the same 2017-12-30 18:47:04 +01:00
lupoDharkael f1e92ef3ad Don't check builds with QT5.3 as it's travis's work 2017-12-30 18:44:17 +01:00
lupoDharkael dc96f99281 Fix desktopfile 2017-12-24 13:58:59 +01:00
lupoDharkael c248c1c406 Fix desktop file format 2017-12-23 17:07:15 +01:00
lupoDharkael c7147f9131 Use single desktop files 2017-12-23 15:39:29 +01:00
lupoDharkael 91a595644f Take program version from git tag 2017-12-19 21:15:17 +01:00
lupoDharkael 297b60031e Add --raw flags to bash-completion 2017-12-14 21:28:04 +01:00
lupoDharkael 5ba50ebf1d Add bash-completion in the install 2017-12-14 21:10:13 +01:00
lupoDharkael 0357edaed8 App Launcher: add KeepOpen option 2017-12-02 11:13:11 +01:00
lupoDharkael b3d37dc2b0 Add release process info 2017-11-13 18:08:03 +01:00
lupoDharkael 689c58ef2c Add .deb build info 2017-11-13 16:35:35 +01:00
lupoDharkael a28104d60c Add config desktop entry 2017-08-16 18:23:56 +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 3199059ede The controller is globally accesible
The controller class has some important methods which may be
required in multiple parts of the code. Now that class is a
singleton (that may change in the future).
The core parts have been moved to src/core.
Now the tray Icon can be disabled by the controller.
I need to reimplement a new notification system due to its
dependency with the tray icon, they are disabled in this actual
commit.
2017-07-28 11:34:39 +02:00
lupoDharkael d4e7c63cb4 Big code refactor
The design was defective and I didn't expect the popularity of the project. After these changes the code will be more mantainable and understandable.

Among the changes we can see:
- A better code structure
- Decoupled button widget from its logic
- More code reuse
- Easier way to add buttons
- Specialized classes
2017-07-19 09:49:24 +02:00
lupoDharkael 83e6a5d53d Update qsettings info 2017-07-12 11:20:36 +02:00
lupoDharkael ba90513fe7 Add base code for custom filenames 2017-07-11 17:46:22 +02:00
lupoDharkael a609e40e33 Add packaging flags for qmake 2017-07-08 17:39:18 +02:00
lupoDharkael d6c99a559e Add desktop entry 2017-06-19 01:40:55 +02:00
lupoDharkael 4a7f24eedc add make install instructions 2017-06-16 11:44:41 +02:00
lupoDharkael 5b3da2125a Update docs for the new commands available 2017-06-15 20:31:51 +02:00
lupoDharkael b1c86b9ba8 Add option to disable notifications in desktop 2017-06-14 19:52:29 +02:00
lupoDharkael e2eb5aee77 Improve docs 2017-06-11 18:02:27 +02:00
lupoDharkael 5bfc086541 Remove references to user manuals, they will be managed independently 2017-06-08 16:11:57 +02:00
lupoDharkael 111c1efa5d Add translations path 2017-06-07 21:46:58 +02:00
lupoDharkael b0cc6d355d Update docs 2017-06-06 12:56:24 +02:00
lupoDharkael 1802d05fde Add option to disable help message 2017-06-02 01:27:31 +02:00
lupoDharkael 8cbe8e0c88 Add comments and minor changes 2017-05-27 13:08:09 +02:00
lupoDharkael 4bf24a4598 Huge change in color configuration 2017-05-26 02:08:55 +02:00
lupoDharkael b39177567f Add some documentation 2017-05-25 12:37:44 +02:00
lupoDharkael ad7e60662b Add description of settings parameters in the docs 2017-05-15 02:53:49 +02:00
lupoDharkael 2f11c742b3 Add initial docs 2017-05-13 02:10:34 +02:00