1
0
mirror of https://github.com/greenshot/greenshot.git synced 2025-03-12 05:25:25 -07:00

438 Commits

Author SHA1 Message Date
Robin Krom
aff8ba2109 Fixed copyright, fixed some spelling and updated some of the code to a newer syntax. 2021-03-08 22:26:10 +01:00
Robin Krom
c8ade4258b
Fixed formatting 2021-02-19 23:12:15 +01:00
k41c
d9a6922310
Update ImageEditorForm.cs 2021-02-19 13:57:38 +01:00
Robin Krom
24c9b8fb36 This reduces the native code in favor of another library so there is less to maintain. 2021-01-10 10:33:53 +01:00
Robin Krom
94c778d82c
Improve DPI support ()
* Improving the DPI handling for most forms, there are still issues with:
* the AboutForm.Designer.cs where the title with the version scales differently.
* the destination picker doesn't seem to scale the font correctly.
Some parts are not tested yet...

* Solved the issue with the destination picker font, and some other small issues.
There still is an issue when using Powertoys (the feature which is experimental), that the capture is somehow skipping.
2020-10-23 00:28:50 +02:00
jklingen
f159a871ca
Propagate DPI Changes down to Drawable Containers and Adorners and Resize Grippers Accordingly ()
* Propagate DPI Changes down to Drawable Containers and Adorners and Resize Grippers Accordingly
* Make Grippers Slightly Larger
* Add White Border to Grippers for Better Contrast on Dark Backgrounds
2020-08-06 21:29:55 +02:00
Killy
79ea558dbb Fix: zoom-in when selection is out of sight 2020-05-02 01:52:05 +03:00
Killy
ef5b5deb7a Smarter zoom - keep selected elements in sight 2020-05-01 18:16:33 +03:00
Killy
f494385ef7 Naming consistency - not a percentage value anymore 2020-04-30 19:16:05 +03:00
Killy
dcf75fd081 Use Fractions to represent zoom factor
The goal is to be able to get as close as possible to perfect 66.(6)% (2/3) zoom factor, and also remove types mismatch between the editor form and the surface.
2020-04-30 17:57:36 +03:00
Killy
464e5e872f Fix weird scroll position when going from no scroll zoom value
Also prefer top left corner in that situation - it is less disorienting when working with screenshots.
2020-04-30 17:39:03 +03:00
Killy
99742ad05a Fix for Best Fit on images bigger than 4 times the available space 2020-04-29 23:23:29 +03:00
Killy
e6e2ed523a Keep center of visible area static on zoom when possible 2020-04-28 21:43:01 +03:00
MXI
5fe700bc84
Fix GetAvailableScreenSpace on secondary screens
Co-Authored-By: jklingen <jklingen@users.noreply.github.com>
2020-04-27 21:00:59 +03:00
Killy
ec2c46daa8 GetOptimalWindowSize - bound by available screen space
Limiting by working area size was not good enough - having whole chrome on screen is important.
2020-04-27 01:23:23 +03:00
Killy
95c759e3fd Changed shortcuts - Ctrl+0, Ctrl+9 2020-04-27 01:19:38 +03:00
Killy
8b45489b11 Zoom feature for the editor 2020-04-26 16:50:17 +03:00
Robin Krom
700fb07e40 Changed the update check, this should be more stable and flexible. 2020-04-16 21:19:58 +02:00
Robin Krom
6e7a911477 This should fix showing the notification on the first start. 2020-04-15 22:49:43 +02:00
Robin
3055d42689 Fixed Windows 10 incompatibility with 1809
Removed experimental QR code
Updated dependencies.
2020-04-12 23:23:02 +02:00
Robin Krom
7e96c99b3d Updates for the notification service, now an icon is shown and it now follows the configuration settings. [skip ci] 2020-03-10 22:06:47 +01:00
Robin Krom
1ba0bf9b10 Working on making multiple notification systems possible, removing the old "notifyicon" balloon for Windows 10. 2020-03-10 13:17:13 +01:00
Robin Krom
d0846b0f09 First step in moving towards replaceable notification messages, extracted the logic to do so into it's own module. [skip ci] 2020-03-09 21:50:37 +01:00
Robin
3263ce0aa9 Fix for the G animation not being drawn correctly when using different DPI settings, it doesn't get prettier though [skip ci] 2020-03-04 09:48:12 +01:00
Robin
152eb86ae4 Small code cleanup 2020-03-03 12:38:48 +01:00
Robin
0202c2fa8b BUG-2553, BUG-2535: This should fix the issues we are having with selection / presenting the wrong windows. (Previous commit had a bug) 2020-03-03 09:10:33 +01:00
Robin
9ebd4491af This contains a fix for SUPPORT-288 which was suggested by Raymond Chen here: https://devblogs.microsoft.com/oldnewthing/20200302-00/?p=103507 2020-03-03 08:14:16 +01:00
Krom, Robertus
cfdc7a7ec2 Fixed some issues with the version being shown in the about. 2020-02-26 15:20:21 +01:00
Krom, Robertus
5c6a3f2f78 Experimenting with some OCR and QR use cases. 2020-02-26 14:59:57 +01:00
Krom, Robertus
3c7a93a8a7 Some more fixes for the version information.
Small fix to a language file.
Small fix for the log4net configuration, as we changed to net472 it was ending in the wrong directory.
2020-02-25 15:20:37 +01:00
Krom, Robertus
d8f5259fe0 Fixed OS output, as it didn't display Windows 10.
Fixed version string.
Improved OCR and QR code a bit.
2020-02-25 14:30:03 +01:00
Robin Krom
684a7615d7 This commit breaks compiling for a short (!) period, need to sync my work to a different system 2020-02-25 07:56:45 +01:00
Robin Krom
bc2e991a2d Updated the Dapplo.Jira dependency, as this finally was usable without getting a huge list of dependencies with it. 2020-02-23 20:11:28 +01:00
Robin Krom
ea0174c9c3 Added a QR-Code demo: press q, when your screenshot has a QR Code, when selecting a region and see some additional information. 2020-02-21 22:38:25 +01:00
Robin Krom
5222d3e562 Just an experimental feature, doing an OCR in the capture form. 2020-02-20 23:00:08 +01:00
Robin Krom
b49b01c9be Worked on the OCR to improve the usage, it would now be possible to add a processor which scans all captures. 2020-02-20 22:59:09 +01:00
Krom, Robertus
d81d0ad4f1 More DPI fixes, now supporting windows with different DPI settings. 2020-02-19 13:51:36 +01:00
Krom, Robertus
efb4c997d4 Changed the Office Plugin to use existing libraries and PIA. This reduces the amount of code to maintain. 2020-02-18 23:20:08 +01:00
Krom, Robertus
42cd533862 A bit of refactoring to be able to find some issue... 2020-02-18 16:32:51 +01:00
Krom, Robertus
bef29df3db Fixed plugin loading
Moved all office interop types in their own file.
2020-02-18 15:10:37 +01:00
Krom, Robertus
80d8f51fc5 Introduced a very simple "singleton" service-locator, which allowed for a removal of specific implementations which were very limited. With this it's easier to access dependencies. 2020-02-18 13:48:40 +01:00
Robin Krom
4a958be8b5 This should fix most icon scaling issues
Improved the IniReader a bit and replaced some old code.
2020-02-11 22:41:55 +01:00
Robin Krom
2293c70610 Fixed the build order, so we can build the installer.
Moved UnobservedTaskException handling from the Jira plugin to the MainForm.
Introduced an interface for doing the OCR, to enable building some functionality into the editor.
2020-02-08 23:23:19 +01:00
Krom, Robertus
57e2044839 Making the initial stuff working, getting an installer, when running from VS. 2020-02-04 15:29:10 +01:00
Robin
e620cb93ec BUG-2114 / BUG-2095 / FEATURE-998 : Some more consolidation of the code. 2017-01-27 20:46:26 +01:00
Robin
98415aaa81 BUG-2102: Fixing an issue when a second ColorDialog is opened. 2017-01-25 17:33:21 +01:00
Robin
5bdfcd5306 BUG-2114 / FEATURE-998 consolidated the logic to make the behavior equal for all entry points. 2017-01-20 12:13:37 +01:00
Robin
c77e77578d BUG-2095: Improved the validity check of the OutputFileAsFullpath setting, this should prevent a reset if only the file is not available. 2017-01-14 20:18:04 +01:00
Robin
b01eae3794 BUG-2081: Fixed that only the + and - of the numpad worked for the canvas resizing. 2017-01-13 22:09:03 +01:00
Robin
0b2cbe1c0b BUG-2114 & BUG-1992: Hopefully implemented this more stable as it used to be. 2017-01-13 19:46:54 +01:00