Commit graph

228 commits

Author SHA1 Message Date
RKrom
9803c91122 Updated the about form to have an animation, which is not yet finished.
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2368 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-12-07 20:40:17 +00:00
RKrom
e148f2103c Added key handling for the effects and added a clear operation. Also some code cleanup.
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2360 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-12-06 17:06:26 +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
26fd909de0 Optimized for Remote Desktop / Terminal Server Sessions, also made it possible to enable/disable the zoomer.
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2356 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-12-05 20:02:21 +00:00
RKrom
03cba68f61 This change enables a transparent background for those parts in the screen capture which are not visible on the screen.
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2347 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-12-03 13:16:23 +00:00
JKlingen
7be6f7ab2b refactored: get rid of confusing variables and calculating offsets for screen coordinates vs. bitmap coordinates.
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2345 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-12-02 18:18:15 +00:00
RKrom
f6b944048b Forgot to commit files.
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2328 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-11-28 20:01:21 +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
ea4e2f6804 Added first try to implement the RSASHA1 signature, so we can use this for the Jira 5 Rest API
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2305 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-11-23 16:08:14 +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
75a841b31e Fixes for better performance in some experimental code, also fixed some formatting in the code.
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2287 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-11-15 14:11:00 +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
a075a81daf Fixed a case with Drag & Drop of images where the transparency is gone. Also fixed the editor "Center" patch, this was only working when width & height were smaller.
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2283 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-11-13 17:11:00 +00:00
RKrom
22c04fbb4a Changes for 1.1, added Photobucket as project to the solution. Fixed some language files (the ietf in the file IS important)
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2276 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-11-13 09:01:05 +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
ff141b29d9 Added Special-Folder support in the FilenameHelper for the following values: MyPictures, MyMusic, MyDocuments, Personal, Desktop, ApplicationData, LocalApplicationData. Meaning one can now set the output path to ${MyPictures}
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2261 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-11-09 15:00:55 +00:00
RKrom
ca73e3a673 Fixed LogManager access to use non strings, this prevents future refactoring problems.
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2257 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-11-08 17:03:46 +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
RKrom
f63d4ca06e Changed logic of the DWM capture which tries to keep the window to capture on it's location, so less movement is visible. Also added a BoxBlur which might be a faster replacement of the CreateBlur (which is Gaussian), but the quality needs to be checked. For the BoxBlur the BitmapBuffer is extended with a few new tricks.
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2245 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-11-06 15:59:19 +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
93d9a8cd0c Fixed DWM capture to work by cutting the corners only if Windows Vista / Windows 7. This change allowed to have the redmask capture to be removed, only need to freeze processes if a transparent capture is taken. This should speedup the capture and use less memory.
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2242 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-11-05 19:07:39 +00:00
RKrom
35b16e8fd9 Removed unneeded scroll code. Fixed a potential null-pointer bug in CaptureRectangle. Fixed a bug with GDI captures being black by counting the pixels and if there is a difference taking the screen shot instead.
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2238 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-11-05 16:05:07 +00:00
RKrom
fd46837c8d Fixed last change to also check for Maximised, corners don't need to be removed from maximised windows.
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2237 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-11-05 14:59:47 +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
0fd12ae5fc Trying a different way of cutting the edges
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2235 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-11-04 20:37:39 +00:00
RKrom
7710db665c Added "Headers" support to a OAuth request, thus enabling the Picasa-Web plug-in to upload with a filename.
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2232 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-11-03 20:10:30 +00:00
RKrom
3b39ac8e55 Changes needed to get the Photobucket plugin working
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2229 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-10-31 16:54:57 +00:00
RKrom
2127ce678b Fixed wrong reference to the GreenshotPlugin and changed a property name so it's forced to a default.
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2228 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-10-30 18:10:41 +00:00
RKrom
7bf586896d Fixed configuration issue, somehow the default value was not comma separated. Also added a fix for old values.
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2219 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-10-29 12:35:16 +00:00
RKrom
5c4698256e Release preparations
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2216 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-10-28 18:12:41 +00:00
RKrom
4a3161a281 Fixed some capture issues, when trying to capture or show thumbnails of Windows that are iconized the size calculations are wrong.
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2206 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-10-26 18:07:55 +00:00
RKrom
4d41fc0a43 Fix for bug #3579138, minimized windows can't be captured via the context menu.
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2205 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-10-26 15:27:48 +00:00
RKrom
8b331ee3a4 Fixes for Bug #3579467, context menu entries are updated when changing the language / hotkeys.
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2200 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-10-25 12:43:44 +00:00
RKrom
3e9b5b91c5 Tested the fixes for bug #3576125, this now should work... although there might be some cases where reading the clipboard doesn't work as supposed. I added a configuration setting, but didn't add it to the expert settings due to a lack of "space". (Did fix the spacing of the checkboxes though)
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2198 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-10-25 07:54:32 +00:00
JKlingen
cbf04192b6 removed usages of CultureInfo for our translations, to avoid warnings when using cultures that .NET does not know of
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2197 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-10-24 20:49:19 +00:00
RKrom
fbc0285c93 Added "special" DIB clipboard reader code, which is a test to fix bug #3576125. This is enabled over the ini property EnableSpecialDIBClipboardReader, disabled by default.
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2195 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-10-23 11:08:11 +00:00
RKrom
eb07468219 Changed "Image.Save" to ImageOutput.SaveToStream, this fixes problems with the transparency and also reduces the size if the colors are <256
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2189 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-10-22 15:43:40 +00:00
JKlingen
f22e7cff58 fixed missing oauth token
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2171 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-10-20 09:18:53 +00:00
JKlingen
c69017d827 fixed authentication dialog not opening during OAuth process [3578480]
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2169 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-10-20 08:27:51 +00:00
RKrom
1abbf03dba Changed InitializeLog4NET to return the first file appender from a list of appenders, instead of assuming that the first is the file appender.
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2163 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-10-20 07:38:15 +00:00
RKrom
552a4c8f94 Tested and fixed update check
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2154 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-10-18 08:51:09 +00:00
RKrom
b4bc530ee6 Added some logic for the update checks:
* release only sees RC & unstable if "check for unstable" is set
* Release candidates only sees unstable if "check for unstable" is set
Meaning even if check for unstable is not set:
* unstable versions always find newer unstable versions
* RC's always find newer RC's
* Releases only find releases

git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2151 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-10-17 15:40:55 +00:00
RKrom
4de75cdb69 Cleanup of using statements
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2149 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-10-17 12:21:12 +00:00
RKrom
69d29992a2 Changes for Box Plugin so it can re-use the OAuthLoginForm. Also fixed a startup issue with some plug-ins.
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2143 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-10-14 12:34:31 +00:00
RKrom
dc8a160c7f Finally fixed UrlEncode3986 to work with UTF-8, meaning that special characters are encoded for UTF-8. e.g. we can now upload files which have umlauts in their filename to Dropbox.
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2142 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-10-14 06:38:20 +00:00
RKrom
c0a83c0ee9 Small changes: added contentlength to upload and made the UrlEncode3986 public
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2141 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-10-13 20:35:44 +00:00