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
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
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
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
42cd533862
A bit of refactoring to be able to find some issue...
2020-02-18 16:32:51 +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
Krom, Robertus
57e2044839
Making the initial stuff working, getting an installer, when running from VS.
2020-02-04 15:29:10 +01:00
Robin
eabe6a18be
FEATURE-992: Fixing a problem with the editor not becoming the foreground window. [skip ci]
2016-12-26 21:00:15 +01:00
Robin
610f45d082
Code quality changes
2016-09-22 20:40:13 +02:00
Robin
1294036a56
Fixed copyright for this year.
2016-08-17 14:38:41 +02:00
Robin
0323705513
Merge remote-tracking branch 'remotes/origin/master' into release/1.2.9
2016-05-24 13:15:16 +02:00
Robin
5c04af1684
Undo of some cleanup which causes issues,
2016-04-26 23:13:37 +02:00
Robin
98e6be5eb6
Small cleanups [skip ci]
2016-04-17 23:32:22 +02:00
David Bremner
d780d337e4
marshal return types, add CharSet.Unicode to functions that lack it, marshal BOOL parameters
2016-04-16 18:45:02 -07:00
jklingen
e409392f32
Revert "Revert "Removed most references to SF""
2016-03-24 23:04:47 +01:00
jklingen
2599ff5b7c
Revert "Removed most references to SF"
2016-03-24 22:54:16 +01:00
Robin
fe176a2da4
Removed most references to Sourceforge, need to check with a file-searcher if something is left. P.S. The help files still have references...
2016-03-23 16:54:57 +01:00
Robin
4f9d6eb865
Updated csproj files, so we don't have to migrate every time. Added a fix for BUG-1863: Cannot get access to deleted object, and added some small code quality chances. [skip ci]
2015-11-06 09:31:22 +01:00
Robin
ec5930ed41
Updated Copyright notice
2015-03-13 10:31:52 +01:00
RKrom
95df5a7565
Added some code to make a desktop switch possible.
2014-12-16 07:28:32 +01:00
RKrom
eefdf2b2eb
Tried to use Greenshot from Wine, and found that the user32.dll GetPhysicalCursorPos entry point is not supported, although I don't know if this is just the tip of the iceberg I though I would see what happens if we just ignore that call if an exception occurs. [skip ci]
2014-11-04 11:28:19 +01:00
RKrom
aad04bc9d7
Fixes for CharSet marshaling, this caused problems with the IE Capturing.
2014-06-20 17:30:55 +02:00
RKrom
15253ef295
Code cleanup, removed a lot of FxCop messages and added some more disposing.
2014-06-15 11:53:38 +02:00
RKrom
08216b09c0
Code quality changes for stability and reduced memory usage.
2014-06-13 12:18:59 +02:00
RKrom
77a92d98c3
Code quality changes, and added the possibility to set the amount of colors for the Quantizer.
2014-05-11 16:31:04 +02:00
JKlingen
8c4eef8e2b
Updated copyright notice for 2014
2014-01-08 21:30:56 +01:00
RKrom
c8b1481a18
Fixed a interop call signature error, which might cause issues on 64 bit. (these have not be seen!)
...
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2552 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2013-04-04 12:49:34 +00:00
RKrom
5ffe3dfb42
Cleanup for code-analyses 2nd phase
...
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2483 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2013-02-13 11:45:51 +00:00
RKrom
a394904aa3
First code analysis changes, this "should" make Greenshot more stable and implement things as is supposed.
...
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2481 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2013-02-12 18:43:56 +00:00
JKlingen
c777878bd7
updated copyright notice for 2013
...
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2436 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2013-01-20 20:18:49 +00:00
RKrom
201ee7082e
Refactored code to use SafeHandle where possible, this should fix potential resource leaks and make the code more clear.
...
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2429 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2013-01-14 13:45:41 +00:00
RKrom
502abed36a
Added SafeHandles, see here: http://blogs.msdn.com/b/bclteam/archive/2005/03/15/396335.aspx to some of the Greenshot code. Not all possible handles have been converted, this should be done to prevent more possible memory/resource leaks.
...
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2427 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2013-01-13 15:53:35 +00:00
RKrom
8a3fd911bf
Fixed a NullReference and changed the way we read the icon for the windows in the List.
...
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2419 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2013-01-08 11:13:18 +00:00
RKrom
efda1e3025
Fixed WindowLong issue, the MSDN documentation doesn't work for .NET
...
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2400 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-12-20 14:17:27 +00:00
RKrom
635ee507f8
Cleanup of User32 Code, added setter for the ExtendedWindowStyle and changed the WindowPlacement to use get/set
...
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2396 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-12-20 08:48:01 +00:00
RKrom
82eddefe4e
Code cleanup, already made some changes (which are not active) for the next release so I can work on them without having multiple changed files which might cause check in conflicts.
...
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2359 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-12-06 13:47:17 +00:00
RKrom
67db97b13f
Refactored the zoomForm to a zoomControl, with this we can prevent mouse events to happen. Also the current state seems to work very well, even with a larger size.
...
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2306 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-11-23 22:17:47 +00:00
RKrom
f006718d2a
Some fixes for capturing those nasty Apps, code is not finished yet!
...
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2267 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-11-11 19:57:55 +00:00
RKrom
15d5bb58e4
Fixes: Catching an outlook exception that can be ignored. Making sure that the window to be captured is active, so the colors are right. Also a little cleanup, and added FindWindow to the User32.cs so we can use this to find Metro (Modern UI) applications, this still needs to be added to the WindowsHelper.cs
...
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2244 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-11-06 06:11:37 +00:00
RKrom
197d46c9b9
Fixed a potential issue with GetWindowLong, using a wrapper which decides upon the IntPtr size which call needs to be made.
...
Fixed the corner cut to work with a CreateRoundRectRgn, but made if it cuts configurable so people can turn it off.
Added a CountColor method to ImageHelper.cs, which should be used to check if PrintWindow functions properly.
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2236 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-11-05 14:18:13 +00:00
RKrom
e5cf074386
Extended the running instance MessageBox with the paths of the instances. Made to get a better fix for #3526579
...
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@1847 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-05-14 15:44:08 +00:00
RKrom
63f71138cf
Added a color picker, a modified Patch #3487158 . Still needs some additional checks, if all resources are correctly freed etc.
...
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@1654 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-02-13 11:29:10 +00:00
RKrom
0f65452e6c
Fixed Copyright to 2012
...
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@1653 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-02-13 09:06:09 +00:00
RKrom
8d458998a1
Moving back to trunk!
...
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@1602 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-01-24 19:24:36 +00:00