Commit Graph

106 Commits

Author SHA1 Message Date
Yuriy Puchkov
efa7cb7983 Add default path configration for screenshots 2020-07-13 10:56:08 +03:00
Yuriy Puchkov
6d9292e877 Fix installation for windows 2020-07-09 20:50:22 +03:00
Yuriy Puchkov
3fbd4698b2 Update version to 0.7.3 2020-07-09 20:01:09 +03:00
Yuriy Puchkov
a9a4193f21 Release management is integrated into update_release_version.sh - appveyor fix 2020-07-09 18:08:46 +03:00
Yuriy Puchkov
bcf56a2368 Release management is integrated into update_release_version.sh 2020-07-09 14:18:57 +03:00
Yuriy Puchkov
b4fa375e69 Add helps or/and update documentation 2020-07-07 15:16:17 +03:00
Yuriy Puchkov
896aab8584 ScreenShot - Rename all strings "FlameShot" to "Flameshot" 2020-07-07 11:50:06 +03:00
Yuriy Puchkov
b21f1b32ed Set 'Copy URL after upload' turned on by default 2020-07-06 14:49:24 +03:00
Yuriy Puchkov
8aedf56511 Update version to 0.7.2 2020-07-03 17:13:01 +03:00
Yuriy Puchkov
4c009a7572 Update version everywehere with a single command 'update_version_everywhere.sh' 2020-07-03 17:00:12 +03:00
Yuriy Puchkov
d7a309e4b1 Update version to 0.7.1 2020-07-03 13:05:37 +03:00
Yuriy Puchkov
46a42b4526 Make S3 bucket configurable 2020-06-30 15:37:05 +03:00
Yuriy Puchkov
54812db981 Add S3 cloud storage support 2020-06-23 15:14:56 +03:00
Jose Riha
b0de17e647 Add Slovak translation (#525) 2019-05-22 17:12:34 +02:00
lupoDharkael
d4715750df Add basic launcher panel 2019-04-21 20:34:57 +02:00
DaVukovic
abe356a4d8 Add german translation (#467) 2019-03-20 22:42:29 +01:00
Volodymyr Bodenchuk
2adf869282 Added Ukrainian translation. (#464) 2019-02-18 19:54:11 +01:00
Никола Радовановић (Nikola Radovanović)
36d7bf82c7 Add Serbian translation (#376) 2018-10-11 23:59:40 +02:00
Alfredo Ramos
da49ed556f [WIP] Add line thickness to side panel (#374)
* Add thickness slider

* Fix enums compatibility

* Rename ColorPickerWidget to SidePanelWidget
2018-10-10 23:34:42 +02:00
Streppel
24a1c76f53 Adds Brazilian Portuguese translations (#364) 2018-10-04 18:15:29 +02:00
sicklylife.jp
d945267203 Add japanese translation (#361) 2018-10-04 15:10:29 +02:00
lupoDharkael
106488b00a Update to v0.6 2018-08-17 14:17:40 +02:00
Boyuan Yang
0f2ae9fab6 flameshot.pro: Install icons into $prefix/share/icons/hicolor/ instead of $prefix/share/pixmaps (#309)
* flameshot.pro: Install SVG icon into $prefix/share/icons/hicolor/scalable/apps instead of $prefix/share/pixmaps

While #293 somehow solves the icon problem, it is not the best solution.
According to Freedesktop.org Icon Theme Specification
(https://specifications.freedesktop.org/icon-theme-spec/icon-theme-spec-latest.html):

    Directory Layout

    [...]
    By default, apps should look in $HOME/.icons (for backwards compatibility),
    in $XDG_DATA_DIRS/icons and in /usr/share/pixmaps (in that order).
    [...]
    In order to have a place for third party applications to install their icons
    there should always exist a theme called "hicolor".

While using /pixmaps/ directory ensures the least priority in search
icons, the directory name itself "pixmaps" does not suite our actual
situation (provided that "flameshot.svg" is a scalable icon, not a *pixmap*).
I suggest that we place this icon into the "hicolor" theme (aka fallback theme)
in /icons/ directory under "scalable/apps/" subdirectory.

Proposed changes:

  1. Install flameshot.svg under
     $prefix/share/icons/hicolor/scalable/apps/
     instad of
     $prefix/share/pixmaps/ .

  2. Rename qmake "icon" target into "appsvgicon" target so that the
     name "icon" may still be used in the future for other tasks.

  3. The embedded rpm spec file is updated accordingly.

Signed-off-by: Boyuan Yang <073plan@gmail.com>

* img/app/flameshot.png: Use 128x128 size instead of 100x100

Converted using inkscape:

inkscape -z -e flameshot.png -w 128 -h 128 flameshot.svg

* img: Add hicolor subdir for installation under /usr/share/icons/hicolor/*

* flameshot.pro: Use wildcard to install hicolor icon dir

The embedded rpm spec file is updated too.
2018-08-12 12:05:36 +02:00
Alfredo Ramos
104e51d294 Change icon path (#293)
It now installs the image in any of the following paths, depending if CONFIG+=packaging was set in the qmake command.

/usr/local/share/pixmaps/
/usr/share/pixmaps

* Fix path for RPM packages
2018-07-31 10:54:36 +02:00
Alfredo Ramos
25790dbda8 Remove unneeded BASEDIR variable (#292)
qmake already generates a INSTALL_ROOT variable that can be used to
install in a custom directory.
2018-07-30 21:46:48 +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
Alfredo Ramos
2efc082599 Remove hard-coded Imgur client_id (#253)
This will allow users to set their own Imgur client_id passing the IMGUR_CLIENT_ID variable to qmake.

If the users does not set this variable, it will fallback to the default value.
2018-06-15 00:14:26 +02:00
lupoDharkael
6adcfef413 Add color tools inside the capture editor 2018-05-16 23:02:30 +02:00
lupoDharkael
5432614651 Add Text tool
closes #11
Add an initial version of the text tool.
This commit adds:
- Basic text tool.
- On demand thickness and color update.
- Generalized logic for future widget based tools.
2018-05-06 13:56:45 +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
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
lupoDharkael
205cd7c87b Add basic code for the Pin tool 2018-04-17 00:06:57 +02:00
lupoDharkael
f1ec6f885e Selection refactor
New improved selection code:
- Selection decopuled into a new class
- When you drag the selection against the limits it won't become
permanently smaller, it will "bounce" trying to recover its size.
If you drop it again it will adapt its size to the borders of the
screen.
- Fixed bugs in the button position algorithm.
- Implemented selection animations for future implementations.
2018-04-15 21:29:16 +02:00
lupoDharkael
522c9b1ed1 Add panel
The side panel opens with the Space key, this panel can contain
    widgets to assist the capture with more features.
    This commit fixes the preview of the tool hiding it when the
    mouse hovers a widget. This is more needed now having a new widget
    inside the CaptureWidget.
2018-04-13 20:26:24 +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
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
1fa3c8f81a Add custom packaging prefix to the translation paths 2018-02-12 20:59:26 +01:00
Rafael Arellano
56957caa5c Add prefix to translations in .pro (#112) 2018-02-12 20:50:17 +01:00
lupoDharkael
85da4a3045 Translation paths based on OS 2018-02-02 20:57:27 +01:00
lupoDharkael
cc8f697163 Improve folder organization 2018-01-30 15:23:44 +01:00
Daniel Napora
e0d70070bd Polish translation (#104) 2018-01-26 23:52:21 +01:00
lupoDharkael
5003ec26fb Update translations in .pro 2018-01-19 23:08:59 +01:00
lupoDharkael
05da137670 Minor code fixes 2018-01-18 17:16:34 +01:00
lupoDharkael
c8d4f613ff .pro cleanup 2018-01-17 23:30:38 +01:00
lupoDharkael
37a16a9e41 Change ./translation/* to ./translations/* 2018-01-16 20:01:49 +01:00
Peter Dave Hello
338a04921e Add Traditional Chinese translation (#89) 2018-01-16 18:19:47 +01:00
lupoDharkael
af937ddd25 Update .pro 2018-01-16 17:58:04 +01:00
lupoDharkael
bf9892d05e Use Native File Dialog 2018-01-14 16:21:33 +01:00
lupoDharkael
0c7bd9ca0c Open With tool: show native dialong on Windows 2018-01-13 17:21:40 +01:00
lupoDharkael
46b6485db7 Update translations 2018-01-13 15:07:19 +01:00