Commit Graph

515 Commits

Author SHA1 Message Date
Jeremy Borgman
c84b6df7d3 fixing clag format check 2021-01-05 17:01:12 -06:00
Jeremy Borgman
76ad9e5a6f first pass at adding logging framework 2021-01-05 17:01:12 -06:00
freddii
bc61bf1027 fixed typing mistakes 2020-12-28 19:12:40 -06:00
Ahmed Zetao Yang
65f28de250 fix: enforce utf-8 charset when building flameshot 2020-11-02 09:34:42 -06:00
Jeremy Borgman
8211b6aff0 updated qtsingleapplication to v3.1.5 2020-10-31 20:05:06 -05:00
tiller
a0156be7b6 fixed placement issue on windows when multi-monitor setup 2020-10-31 20:00:20 -05:00
David Mitchell
9ac549d086 capturewidget refactor (#1114)
* Renaming methods for better file outline

* Moving redundant code into helper functions

* Combine implementation of move and resize

* Remove checks from move
2020-10-29 14:45:55 -05:00
Jeremy Fleischman
f814e2d6b8 Look up the autostart directory using QT's helper methods.
This fixes https://github.com/flameshot-org/flameshot/issues/928.
2020-10-29 12:19:52 -05:00
James LaChance
841b40a412 Read shortcut from m_settings in shortcuts widget
Fixes #1111
2020-10-29 12:16:43 -05:00
Jeremy Fleischman
c5e9def59f Add a configurable keyboard shortcut to commit text.
This new shortcut defaults to `ctrl+enter`, and it commits the text
you're currently typing. It does *not* change the behavior of enter
(pressing enter still inserts a newline), nor does it actually exit
flameshot. This isn't exactly what was requested, but I'm going to
somewhat cavalierly say that this fixes
https://github.com/flameshot-org/flameshot/issues/812.

*Note: I added a new user-visible string here, but I didn't update any
ts files. Is that ok?
2020-10-28 07:55:46 -05:00
James LaChance
86fee7010c Hide the full utility panel instead of internal
Previously only the internal panel was getting hidden, rather than the
surrounding/containing QWidget. This created a bug that the Esc would
need to be pressed more than once to exit the text tool or flameshot.

Fixes #1108
2020-10-28 07:52:33 -05: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
8b51af2010 merging fixes from 0.8.x branch 2020-10-25 21:25:10 -05:00
Jeremy Borgman
826165c527 removed close after capture 2020-10-25 21:25:10 -05:00
borgmanJeremy
c901970091 Merge pull request #1092 from borgmanJeremy/upload_issue
fixed race condition between notifcation and clipboard
2020-10-22 17:58:45 -05:00
Jeremy Borgman
368421f198 fixed race condition between notifcation and clipboard 2020-10-22 17:56:25 -05:00
Jeremy Borgman
dec8c63f14 fixed formatting 2020-10-20 10:03:56 -05:00
Jeremy Borgman
823ba6fc8b Founding dangling singal to uploader 2020-10-20 07:03:30 -05:00
Jeremy Borgman
62466d6581 Preparing for upstream merge 2020-10-20 06:53:59 -05:00
Yuriy Puchkov
3e7b87ccfe Code refactoring - remove not required headers and definitions 2020-10-16 15:08:08 +03:00
Yuriy Puchkov
472d0dca29 Merge branch 'flameshot-org-master' into bugfix/RND-664-flameshot-update-history-widget-on-new-capture 2020-10-16 15:05:12 +03:00
Yuriy Puchkov
5ea80b2ca2 Fix - update history widget on new capture 2020-10-16 15:04:17 +03:00
Yuriy Puchkov
0919d26145 Fix - call the same HistoryWidget object on Shortcut and from the Menu 2020-10-16 14:01:02 +03:00
Jeremy Borgman
2d4cd76e85 Updated CMAKE for new translation 2020-10-16 05:47:58 -05:00
Yuriy Puchkov
f9497ee2ea Fix - HistoryWidget is not updated if called by Shortcut 2020-10-16 13:22:32 +03:00
Yuriy Puchkov
3c5ff1d29c Code refactoring - Cleanup code 2020-10-16 10:41:51 +03:00
Yuriy Puchkov
161ecc3c04 Fix - HistoryWidget is not deleted in Controller 2020-10-16 10:19:38 +03:00
Yuriy Puchkov
8e25f438f2 Code refactoring - HistoryWidget, add clearHistoryLayout and loadHistory methods 2020-10-16 10:08:13 +03:00
Yuriy Puchkov
2a138cf60f Update renames resouce for image flameshot.svg 2020-10-15 16:34:44 +03:00
Yuriy Puchkov
654455e9ac Merge branch 'flameshot-org-master' into merge-from-upstream
# Conflicts:
#	.github/workflows/Linux-pack.yml
#	CMakeLists.txt
#	appveyor.yml
#	data/graphics.qrc
#	src/tools/imgur/imguruploader.cpp
2020-10-15 15:44:49 +03:00
Yuriy Puchkov
9eb1a7cb18 Fix - memory leaks 2020-10-15 13:36:12 +03:00
Jeremy Borgman
ce331924a4 organizing files 2020-10-14 11:08:12 -05:00
borgmanJeremy
f11073bc00 fixing icon regression (#1051)
* fixing icon regression

* fixed symlink
2020-10-12 08:40:35 -05:00
Yuriy Puchkov
f273a06d98 Remove unrequired includes 2020-10-12 13:48:32 +03:00
Yuriy Puchkov
5d9f8f002a Fix resource path for images 2020-10-12 13:38:41 +03:00
Yuriy Puchkov
f894b44f25 Get cache path for linux according to XDG standard 2020-10-12 12:51:04 +03:00
Yuriy Puchkov
c92f8e3014 Merge branch 'flameshot-org-master' into bugfix/memory-leak
# Conflicts:
#	.github/workflows/Linux-pack.yml
#	CMakeLists.txt
#	data/graphics.qrc
#	src/config/configwindow.cpp
#	src/tools/imgur/imguruploader.cpp
2020-10-11 20:49:15 +03:00
Yuriy Puchkov
a472648263 Fix - memory leaks 2020-10-11 20:41:25 +03:00
Ahmed Zetao Yang
ac7142c4df fix: correcting images name 2020-10-11 07:18:16 -05:00
borgmanJeremy
8ff94a95a8 Cleaned up flatpak build for flathub submission (#1040)
* Cleaned up flatpak build for flathub submission. Fixed app-id and other assets to match dbus naming.

* fixed missing updates

* fixing build issues
2020-10-10 13:04:19 -05:00
Ash Holland
c8767e7a1b Fix pixelation of small areas 2020-10-10 12:08:22 -05:00
Ash Holland
a2f845415c Improve pixelation of small areas
Previously the level of pixelation would decrease if the selected area
was too thin to hold 10 pixelated blocks. Now the level of pixelation
only decreases when the selected area is too thin to hold even one
pixelated block.

This doesn't completely solve the issue of pixelation decreasing when
the area is thin, but it significantly improves the situation.
2020-10-09 20:53:38 -05:00
Boyuan Yang
40629915f7 Explicitly hide tray icon before exit on Windows
Currently flameshot tray icon will not disappear after program
terminates on Windows. This is a known issue and need to be
explicitly handled.

This commit connects the aboutToQuit signal to
QSystemTrayIcon::hide slot to ensure that the tray icon is
removed before program terminates.
2020-10-06 19:50:22 -05:00
Yurii Puchkov
309651e4ec Merge pull request #52 from namecheap/feature/RND-656-flameshot-ability-to-lock-switching-between-s3-and-imgur-and-use-s3-only
Ability to lock switching between s3 and imgur and use s3 only
2020-10-06 06:59:37 -07:00
Yuriy Puchkov
59d533d9d6 Fix ubuntu 18.04 build 2020-10-06 16:30:35 +03:00
Yuriy Puchkov
0a31d2d94d Merge branch 'flameshot-org-master' into feature/RND-656-flameshot-ability-to-lock-switching-between-s3-and-imgur-and-use-s3-only
# Conflicts:
#	data/translations/Internationalization_eu.ts
2020-10-06 16:13:45 +03:00
Yuriy Puchkov
7d0d51efb5 Ability to lock switching between s3 and imgur and use s3 only 2020-10-06 16:11:33 +03:00
Yuriy Puchkov
8848b25305 Join two similar options 'Save path' and 'Save default path for screenshots' 2020-10-06 14:10:32 +03:00
Yuriy Puchkov
e22a3eeb1e Set option 'Launch at startup' true by default 2020-10-06 08:36:45 +03:00
Yuriy Puchkov
0b372b6a71 Update package.json information and fix typo 2020-10-05 10:03:27 +03:00