Commit graph

438 commits

Author SHA1 Message Date
Robin Krom
19fb98ae55
Get rid of embedded browser (#255)
This change makes it possible to use Box, DropBox and Imgur with the default browser, instead of the embedded which causes many issues. Other plugins need to follow.
2021-03-27 00:11:06 +01:00
Robin Krom
b22d982f36
Revert of the change to the DWMWINDOWATTRIBUTE, as the enum values were not fixed we lost some functionality. Also fixed some potential issues with the ThumbnailForm, and aligned a bit of code with Dapplo.Window [skip ci] 2021-03-26 22:30:28 +01:00
Robin Krom
2bbaa4a9a7
Removed more dead code 2021-03-21 23:44:25 +01:00
Robin Krom
26fe579d31
Improved the support for dragging and dropping images from a website, now also parsing HTML img src information, to be able to download that image. For this we need the HtmlAgilityPack.dll (#294)
Removed a lot of dead code, and remove the old OCR code as we don't even know if it still works.
2021-03-21 22:34:17 +01:00
Robin Krom
20e59ddd1c
FEATURE-1110: A first step in enabling a hotkey for opening the clipboard contents in the editor. This is not visible nor configurable in the UI, but needs to be configured in the greenshot.ini, by specifying ClipboardHotkey=<hotkey> 2021-03-18 21:53:25 +01:00
Robin Krom
3adf9e9a51
BUG-2743: Cleanup of MAPI & Outlook logic, removed the check on "HKEY_LOCAL_MACHINE\SOFTWARE(\WOW6432Node)\Microsoft\Windows Messaging Subsystem" with the MAPI value in favor of the HKEY_LOCAL_MACHINE\SOFTWARE(\WOW6432Node)\Clients\Mail where the default value contains the name, this should hopefully solve some issues. 2021-03-18 19:25:54 +01:00
Robin Krom
eadd1a7cac BUG-2743: Made sure for the registry access that the default value not requested in the registry access itself, but returned if there is no value, as it will break the logic. Also there was a bug for 32 bit Windows versions. 2021-03-16 15:56:03 +01:00
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
2733c6cf26 Fixed an issue with the build, where MSBuild.Community.Tasks.Targets wasn't found. Also improved the registry reading for the MAPI control. 2021-01-27 23:50:22 +01:00
Robin Krom
328e7e569d BUG-2693: This should fix an issue where Greenshot doesn't detect a MAPI client, we weren't looking at the 32 bit location. 2021-01-23 23:41:22 +01:00
Robin Krom
633b31ec29 THis fixes an exception when Greenshot is used via wine. 2021-01-02 22:00:02 +01:00
Robin Krom
94c778d82c
Improve DPI support (#254)
* 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
Robin Krom
63a9df5844 Fixed two issues with the adorner resize, sometime the initial value wasn't set and also there were some drawing artifacts. Still needs testing though. 2020-08-06 22:00:59 +02:00
Peter F
926855cd70
Add placeholder for random alphanumerics in filename (#216) 2020-08-06 21:27:39 +02:00
Robin Krom
d602433c53 Added additional guards and a configuration for the Win10 plugin, which disables the OCR by default. 2020-07-21 12:56:02 +02:00
Robin
6a09345649 Fixed a typo
Fixed #218
Added JPEG (vs JPG) as a format which can be handled
Updated dependencies
2020-07-20 00:00:42 +02:00
Robin Krom
5db1f5564b
Fixed the issue that someone could have a windows 10 version which is older than what we can support. (#207)
Also upgrade Inno Setup and SVG
2020-05-10 23:04:31 +02: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
Robin Krom
700fb07e40 Changed the update check, this should be more stable and flexible. 2020-04-16 21:19:58 +02:00
Robin
87f3b6a871 Improving stability for the notification issue reported in #182 2020-04-14 12:31:52 +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
a29f6faa27 Working on improving the toast notifications [skip ci] 2020-03-11 15:22:17 +01: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
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 Krom
043b6048ae Fix for generating the list of windows which can be selected.
Fix for including the credentials of the web services in azure-pipelines.yml
2020-03-07 17:19:45 +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
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
Krom, Robertus
bb11899d71 Fixed compile error from previous commit 2020-02-25 08:26:27 +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
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
Robin Krom
7e99478b86 Removed ngen from the installer
Moved the SvgImage to GreenshotPlugin, so it's available everywhere
Upgraded Dapplo.Jira to a more modern version, but still far from current.
2020-02-19 22:01:56 +01:00
Krom, Robertus
2cf0606bde Small regression fix 2020-02-19 16:18:37 +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
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
Krom, Robertus
3ebdf3d2fe Fixed an issue with finding the GreenshotOCRCommand when running inside Visual Studio.
Fixed an issue with running on Windows 7, as it was trying to access a Windows 10 API
2020-02-18 13:38:52 +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
dcc6407416 Moved OCR functionality to a single method.
Removed the weird window behind the sharing window.
Removed the ExtensionAttribute, this was for .NET 2.0 / 3.5
Removed a deprecated usage of the ContextMenu in favor of the ContextMenuStrip
2020-02-07 20:34:34 +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
839b51b9d2 Some small language fixes [skip ci] 2017-08-06 12:58:54 +02:00
Krom, Robertus
b8009fe256 BUG-2141: Fix for old browser version when embedding IE. And some other small imgur stability changes. 2017-07-31 09:13:08 +02:00
Krom, Robertus
2f824069e0 Trying to fix all Imgur related tickets for the 1.2.10 version: BUG-2241, BUG-2239, BUG-2236, BUG-2235, BUG-2231
[skip ci]
2017-07-31 08:20:07 +02:00
Robin
e620cb93ec BUG-2114 / BUG-2095 / FEATURE-998 : Some more consolidation of the code. 2017-01-27 20:46:26 +01:00
Robin
e78ecf3987 FEATURE-992: Also processing the minimized state, and removed the check if it's already in the front to make sure it really happens. Tested side effects for BUG-2108 2017-01-26 12:32:10 +01:00
Robin
f8f98c554e Added kab-DZ as translation 2017-01-26 10:30:08 +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
9e9d058fdc BUG-2114: Fixed totaly f***ed up fix, this should be better. 2017-01-18 19:45:27 +01:00
Robin
89ae9489d2 BUG-2056: A better fix for the issue, there was already something build in. [skip ci] 2017-01-16 17:06:50 +01:00