Commit graph

58 commits

Author SHA1 Message Date
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
ac08533727 Code quality fixes (NullReference checks, unused variables etc) 2014-04-26 00:34:06 +02:00
JKlingen
8c4eef8e2b Updated copyright notice for 2014 2014-01-08 21:30:56 +01:00
RKrom
9ad9f97e1f Fix for #1589 System.NullReferenceExceptio 2013-12-11 21:22:45 +01:00
RKrom
f9c486f78d Fixed compiling for .NET 2.0
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2572 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2013-04-21 18:19:32 +00:00
RKrom
7275ad6222 Additional fix for #1499
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2568 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2013-04-18 15:15:05 +00:00
RKrom
b9ca9a06e7 Fix for bug #1499, prevented to show the Bug-Form! Now showing a MessageBox with the error.
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2566 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2013-04-16 09:45:45 +00:00
RKrom
b7b89ade04 cleanup & small fixes. Added some more IBinaryContainer implementations which are used by plugins which aren't rolled out yet. (but I didn't want to loose the code)
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2524 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2013-03-07 10:08:57 +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
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
e07278bc04 Fixed a possible DPI info loss
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2426 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2013-01-13 14:50:47 +00:00
RKrom
6ec8ecfaa1 Changes to clipboard code: log statement changes and consolidated some code.
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2414 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2013-01-07 19:57:53 +00:00
RKrom
f627ce5dd0 Changed code for the Clipboard and changed a lot of "Bitmap" code to work on images, this might give problems but if these are solved we have better support for MetaFiles. This made it possible to remove the MetafileContainer, which is replaced by the ImageContainer (which is the BitmapContainer modified). The clipboard code now knows more ways to load images from the clipboard!
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2398 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-12-20 12:33:17 +00:00
RKrom
a57fa7086f Disabled compiling of unused code for the 1.1 release
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2387 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-12-17 11:03:23 +00:00
RKrom
f5e9618cd2 Turned on the code for the Greenshot file format, hat to refactor the ImageOutput to accept an ISurface so we could wait to export it to an image until the last moment or save the surace-image & serialize the elements.
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2373 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-12-10 17:50:26 +00:00
RKrom
2a26be0a37 Fixed file handling, fixed wrong order in the title of the editor, changed left-click handling of the context menu. Added a boolean in the ProcessCmdKey of the surface.
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2327 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-11-28 18:59:01 +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
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
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
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
216f3b82db Fixed last checking, found bug in tests.
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2207 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-10-26 18:11:58 +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
4d399a60ac Refactored the Office Destinations, including the Interop & configuration, to the new Office plug-in. Also refactored some code to be more consistent.
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2131 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-10-10 14:18:05 +00:00
RKrom
f7782299cd Removed some unused code, and fixed a Editor-reuse issue. (No focus, and resize issues)
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2106 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-09-28 12:17:31 +00:00
RKrom
336518f5f9 Finishing performance improvement changes.
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2105 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-09-28 11:21:05 +00:00
RKrom
be3df25804 Performance improvements, disabled a not used feature.
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2102 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-09-28 10:25:10 +00:00
RKrom
9488200886 Refactoring some more classes, making easier code in plug-ins possible. Needed this for better testing some problems with the CreateShadow function.
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2094 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-09-25 11:36:52 +00:00
RKrom
0d40ebe346 Fixes for Bug #3569703
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2077 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-09-21 11:52:35 +00:00
RKrom
45e018d197 Tweaking the IE capturing to only consider IE windows and special configured windows. This should speed up the process of getting the available IE's and cause less confusion.
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2049 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-09-18 07:16:39 +00:00
RKrom
be797ecf8a Extended the ExportCapture with ExportInformation as a result object, this allows us to better and more consistently return & handle information from the export. Also it should be easier to extend the functionality. TODO: Still need to cleanup some messages, some are no longer needed
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2034 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-09-14 15:04:37 +00:00
RKrom
89ab88e95d Added some Greenshot 1.1 code, is currently unused.
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2001 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-08-21 12:19:18 +00:00
RKrom
7fa34e04e9 Improved new IE logic a bit, fine-tuning...
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@1976 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-08-07 15:02:09 +00:00
RKrom
0b94cc4940 Added better IE checking, this allows us to capture windows which display a IE in them. Need to check if we really need this in the auto-capture, but at least the context menu function is really cool! Also fixed a small issue with the destination picker showing in the task-bar (without icon).
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@1975 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-08-07 14:38:42 +00:00
RKrom
a50022c20d Fixing Bug #3531460, forgot to convert the selected rectangle to screen coordinates.
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@1923 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-06-15 07:04:51 +00:00
RKrom
d44ae4f713 Fixing the balloon & capture problem. By hiding and showing the tray-icon the Greenshot balloon disappears! A cleaner way would be to check if a balloon is still shown (close event didn't occur) but for now this should do.
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@1907 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-06-01 05:57:57 +00:00
RKrom
2ae58d5c6c Fixed Bug #3528948, not capturing the right screen(s) when using the context menu.
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@1898 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-05-23 06:49:42 +00:00
RKrom
f01731ef16 Disabled some unused code.
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@1878 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-05-18 09:02:38 +00:00
RKrom
cac99fbaf3 Refactored code location of the isGDIAllowed/isDWMAllowed, also changed the timeout for getting the HTML object from a window to 5 Seconds (instead of 1).
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@1877 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-05-18 07:36:18 +00:00
RKrom
e687450dfc Added multi-screen capture support! As a default the current screen under the cursor is captured. (ScreenCaptureMode.Auto)
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@1806 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-04-19 11:10:57 +00:00
RKrom
9bf5e44c94 Added some support for opening the url when an upload is made from a Destination (currently Jira & Picasa) and the tooltip is clicked.
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@1797 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-04-18 13:42:42 +00:00
RKrom
53af559d22 Preparations for the language changes
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@1783 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-04-17 14:16:10 +00:00
RKrom
eb616472c4 Changed IDestination, added a manuallyInitiated so the destination can change its behavior depending on the flag. An example use-case would be the word exporter: if the flag is false, which it would be if the word destination is set as THE destination, it would add to the current document if one is available otherwise create a new. This makes it possible to have a kind of session behavior.
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@1749 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-04-04 13:46:14 +00:00
RKrom
8d26d1538f Fixed "access denied" exception.
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@1747 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-04-04 12:32:50 +00:00
RKrom
9a6bc91c00 Cleanup of plugin names and made sure the plugin writer gets credit for his work.
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@1728 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-03-31 20:18:17 +00:00
RKrom
7666127106 Refactoring the interop code to a separate project. Still need to add the interop DLL to the final exe... or maybe I want to use references inside the projects...
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@1688 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-03-06 17:41:19 +00:00
RKrom
f442d5e7ee Fixed issue that opening an image from the clipboard or file system still makes the editor ask for a save.
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@1663 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-02-17 16:32:02 +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
034daa3957 Fixed thread error
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@1637 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-02-07 16:22:57 +00:00