Commit graph

74 commits

Author SHA1 Message Date
Robin
798ca503a5 Code quality changes [skip ci] 2016-08-16 10:37:55 +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
45615275cf Made the re/undo code from the branch work in this, this is a manual copy as something went horribly wrong with the repository. Before building I first want to check if everything is there.[skip ci] 2016-05-24 12:48:11 +02:00
Robin
c02bd6ce62 Enhanced log statement [skip ci] 2016-05-22 13:16:28 +02:00
Robin
bd71f47e95 Fixed a stacktrace overflow due recursive loop when processing Metro-Apps (Windows 8, which also run on 10) 2016-05-22 13:13:07 +02:00
Robin
1469f1fa41 BUG-1965: Fixed a bug where a 1 pixel wide border around an active window is visible. Probably due to the "shadow" being captured too. 2016-05-22 00:16:06 +02:00
Robin
728f49944f BUG-1890: Fixed wrong cropping when window is maximized on Windows 10 2016-04-26 23:33:17 +02:00
Robin
98e6be5eb6 Small cleanups [skip ci] 2016-04-17 23:32:22 +02: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
fc0791bdb6 This commit allows us to experiment with different screen capture methods via plugins. e.g. a Desktop-Duplication API implementation could be supplied for Windows 8, which might capture DirectX better. 2014-12-03 22:40:32 +01:00
RKrom
61c2921b2a This change should make the UI Icon Size setting dynamic, clearing all cached icons when the size changes (in the settings UI) so if they have a dynamic size the best is selected. 2014-11-11 13:23:59 +01:00
RKrom
9df25bdd76 FEATURE-758: This commit enhances the already made changes to also fix the size of the icons in the destination picker and the context menu. On top of that, if a large icon size is selected we try to get a larger (more defined) icon from the application unfortunately that doesn't improve the build in icons. 2014-11-05 12:38:01 +01:00
RKrom
193eb7d6d9 Fix overflow exception [skip ci] 2014-11-04 21:58:40 +01:00
dbremner
53b17d4c4d spelling fixes 2014-08-05 11:52:52 -07: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
RKrom
2692c0ab43 Fix for DWM Capture where the window moves, this sometimes leaves a blur-effect on the capture. 2014-02-05 09:57:43 +01: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
5018f67ff7 Optimizing: Replaced BitmapBuffer with FastBitmap, also changed some filters to use more GDI "hardware" instead of home-made pixel processing. Only on Windows 8 the blur is "slow", when radius < 20.
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2531 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2013-03-11 16:44: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
RKrom
0dc3e6b960 Excluding some Windows 8 code for non Windows 8 systems.
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2458 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2013-02-04 17:05:37 +00:00
RKrom
8b0253bdf9 Fixed a visibility check on Apps and added the gutter! The "Snapped Desktop" is still missing and if this is visible it won't go away...
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2457 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2013-02-03 18:12:39 +00:00
RKrom
141da5e724 Windows 8: fix for capturing when a fullscreen app is visible, this didn't go away, when having multiple monitors.
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2456 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2013-02-03 16:26:04 +00:00
RKrom
5a1c8ffefb Removed Firefox preview window from the capture list
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2454 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2013-02-01 17:06:32 +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
a12b7e3a38 Cleanup
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2421 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2013-01-08 11:36:07 +00:00
RKrom
a99a5d1ffd Prefer small icons, so we don't have to resize them.
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2420 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2013-01-08 11:27:20 +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
5ce65ab191 Fixed a problem with loading the icon from a share, also preventing a NullPointerReference in the MainForm
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2418 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2013-01-08 10:20:31 +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
502fe44270 Don't instantiate the IAppVisibility if < Windows 8, so there is one exception less in the logs.
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2307 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-11-23 23:19:20 +00:00
RKrom
28a965db09 Fixed logic from previous fix, the Toolwindow detection was flawed.
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2301 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-11-21 10:29:41 +00:00
RKrom
57ebc0c675 Fixed Window corner cut to skip tool windows, and use a cut shape from the configuration.
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2300 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-11-21 10:00:55 +00:00
RKrom
831a3b4d5b Made zoom move to a different location if it goes outside the screen. Also changed the Metro-App visibility property, this might work (up to an acceptable level) but is untested.
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2284 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-11-13 21:13:09 +00:00
RKrom
e84b6c8dd4 No need to consider the working area, as the Window is topmost and is visible "over" the Taskbar
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2271 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-11-12 16:52:44 +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
3835b198f0 Fixed "does the window to capture" fit routine and changed the isMetroApp to check for the className.
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2251 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-11-08 11:44:47 +00:00
RKrom
180cc1c661 Fixed DWM capture for Metro (Modern UI) Apps by not placing it in the foreground.
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2248 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-11-08 07:03:53 +00:00
RKrom
ae8c007528 Added some very basic support for Metro (Modern UI) Apps, the ones running can be captured over the "Capture window from list" and the one visible will be selectable with the interactive capture. (PrintScreen and space). What doesn't work is using printscreen on the Metro Tiles screen, here the space will only work like the desktop is visible.
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2247 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-11-08 07:00:29 +00:00