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
|
3361873fe7
|
Cleanup of ColorMatrix & ImageAttribute code usage
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2514 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
|
2013-03-05 12:07:48 +00:00 |
|
RKrom
|
8b5578ea2c
|
Fixed compilation issues on new code which isn't checked in by refactoring the ApplyBlur method. This was needed anyway, as it doesn't return a new bitmap!
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2513 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
|
2013-03-01 09:19:01 +00:00 |
|
RKrom
|
d039af3640
|
Did a compare on the shadow code, with and without GDI. Wasn't happy with the difference, so I made sure they are equal (as far as I can see).
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2512 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
|
2013-03-01 08:49:30 +00:00 |
|
RKrom
|
2d6b58f722
|
Small fix for compositing mode and a log statement.
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2511 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
|
2013-02-27 17:22:43 +00:00 |
|
RKrom
|
565bf262db
|
Added alpha-blending to the Quantizer, otherwise the colors would be counted wrong and look like sh*t.
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2509 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
|
2013-02-27 17:17:31 +00:00 |
|
RKrom
|
c3966923e4
|
Fixed shadow and fixed a problem that alpha-channel bitmaps should NOT be reduced to 8-bit if not forced! (Still need to fix alpha-channel color reduction!) Removed a pre-build "rmdir", this removed the plugins but forces to do a complete rebuild every single time!
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2507 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
|
2013-02-27 16:44:21 +00:00 |
|
RKrom
|
ec5840550a
|
Cleanup, and fixed a bug in the CloneArea method of the ImageHelper.cs
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2506 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
|
2013-02-22 16:27:55 +00:00 |
|
RKrom
|
652ca64e9f
|
Preventing that the Photobucket login is shown while using the Dynamic-Destination picker "mouse-over".
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2505 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
|
2013-02-20 12:02:37 +00:00 |
|
RKrom
|
9850096c3b
|
Fixed an issue where the destination picker is displayed while we are already in the destination. This is done by storing the value of the clicked item in the ContextMenuStrip.Tag property, if this is null the user didn't click on the menu but somewhere else and we cancel the close... if the value is set, the user clicked on the menu and the close is allowed.
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2504 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
|
2013-02-20 09:45:34 +00:00 |
|
JKlingen
|
2e529d7d32
|
changed default print options (rotate and enlarge are no longer selected by default)
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2500 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
|
2013-02-17 14:05:22 +00:00 |
|
RKrom
|
0989012a37
|
Did some performance improvements for the CreateShadow, without using our Gaussian (is still available) this saves a temporarily additional bitmap copy. On Vista/Windows 7 GDI+ is used, on other systems a fall-back with BoxBlur is used.
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2496 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
|
2013-02-17 10:00:40 +00:00 |
|
JKlingen
|
b537ae7e14
|
added monochrome print option
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2491 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
|
2013-02-17 07:58:58 +00:00 |
|
RKrom
|
c188ad10e8
|
Added Mail To, CC and BCC for MAPI
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2485 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
|
2013-02-13 21:23:38 +00:00 |
|
RKrom
|
d77d4d9ddf
|
Added the area (Rectangle) to the FastBitmap, this made it possible to convert the current filters (all but the BlurFilter, this I want to review). Still want to see if I can change the way the filters work, maybe I can prevent some extra bitmap actions by changing the flow & signatures... Need to start in DrawableContainer.DrawContent.
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2484 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
|
2013-02-13 16:28:12 +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
|
3f4d93f2b6
|
Fixed an issue with the FastBitmap, renamed methods in the BitmapBuffer to be equal to the FastBitmap implementation. In general it's now very easy to switch from the BitmapBuffer to the FastBitmap implementation, but one should consider that the BitmapBuffer checks the x,y if they are inside... and supports a "apply rectangle". Had to "refactor" the CreateBlur for this. Changed the CreateShadow to work with the BoxBlur, this changes the time to create a shadow of a 1280x1024 from ~2.6 to ~1.2 seconds on my PC... which is still slow. The resulting effect seems to be extremely similar... good enough for me.
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2480 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
|
2013-02-12 16:36:09 +00:00 |
|
RKrom
|
4a1655eff2
|
Removed an unneeded clone, which I found while fixing a problem with copying images FROM an Outlook mail. The problem is that PNG is on the clipboard, but this image is cropped! Taking the Dib format solved the issue...
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2476 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
|
2013-02-11 16:33:52 +00:00 |
|
RKrom
|
e2be04a552
|
Code cleanup: 1) AbstractFilter: why did we serialize the bitmapbuffer? 2) Bitmapbuffer: removed serialization code, this object should NEVER be serialized as it's just a view which makes access faster. 3) QuantizerHelper.cs: Refactored to use the FastBitmap
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2474 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
|
2013-02-10 14:40:01 +00:00 |
|
RKrom
|
f34923e0d7
|
Added the FastBitmap.cs, this should replace the BitmapBuffer sometime. The advantage of using this, it has fast implementations for accessing certain PixelFormats directly and doesn't need to generalize the code which would make it slower.
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2473 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
|
2013-02-10 14:16:57 +00:00 |
|
RKrom
|
764cba9af7
|
Added better 8 bit support, although the caller needs to call the right method... Maybe I can use indirect functions to speed this up? Changed the Quantizer to reflect the changes.
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2472 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
|
2013-02-10 07:58:22 +00:00 |
|
RKrom
|
f0b1f1f84d
|
Added ReduceColorEffect (using the WuQuantizer in the effect). Changed the way the ApplyEffect works, an effect might decide to do nothing and return null.
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2471 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
|
2013-02-08 16:01:19 +00:00 |
|
RKrom
|
8f36064131
|
Forgot gamma...
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2470 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
|
2013-02-07 13:23:32 +00:00 |
|
RKrom
|
a2fb7bf322
|
Added "Adjust" to the ImageHelper, this can change the brightness, contrast and gamma.
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2469 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
|
2013-02-07 13:19:01 +00:00 |
|
RKrom
|
360c4d45c7
|
Added monochrome effect and placeholders in the PrinterDestination, so Jens can fill in the blanks... :)
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2467 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
|
2013-02-07 09:10:20 +00:00 |
|
JKlingen
|
b692674f38
|
added CreateMonochrome(Image), which creates a black/white version of the image (not accessible via UI yet, needs some more testing)
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2466 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
|
2013-02-06 22:11:21 +00:00 |
|
RKrom
|
351e4f96d4
|
Hopefully this should fix bug [#1440], as we don't have real data and we can't reproduce this it's a bit of a shot in the dark. But I am sure that how it was before is not correct...
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2464 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
|
2013-02-06 12:48:54 +00:00 |
|
RKrom
|
f605be6dc3
|
Fixed overflow exception (noticed this while using it)
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2460 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
|
2013-02-05 08:24:41 +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
|
7ba6a57b4a
|
Fixed issue where a bitmap was not disposed, causing a memory leak if there were more than 256 colors on the image and it was not forcefully quantized.
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2455 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
|
2013-02-01 20:35:05 +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 |
|
RKrom
|
cdcd051153
|
Just a small change to make sure the palette doesn't have "garbage" at the unused entries.
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2452 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
|
2013-02-01 16:21:51 +00:00 |
|
RKrom
|
2730ac5540
|
Fix for bug 1444, the WuQuantizer doesn't work if the colors are already less than 256 so we just create a 8bpp image from the source.
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2451 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
|
2013-02-01 16:18:48 +00:00 |
|
RKrom
|
d3b792bb3e
|
Fixed log file not being created.
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2448 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
|
2013-01-25 13:10:35 +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
|
771fc93d6b
|
Checked ClickActions, added the Settings as possible value. Also made sure we log more information if the INI has wrong values.
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2434 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
|
2013-01-18 11:05:11 +00:00 |
|
RKrom
|
f20ced15a7
|
Added the possibility to configure the single & double-click action of the NotifyIcon.
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2433 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
|
2013-01-18 10:41:54 +00:00 |
|
RKrom
|
f7c73932f2
|
Fixed Context-Menu issues with the sub-menu arriving on the second screen, this is only a work-around (cutting the string to max 25 characters). Also added an icon for the "capture IE from list", as this might have different applications available.
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2430 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
|
2013-01-15 15:56:16 +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
|
b17c3871a5
|
Fixed a possible DPI info loss
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2425 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
|
2013-01-13 14:49:58 +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
|
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
|
12c9e943b2
|
Fixed open last capture location, the configuration wasn't updated when saving an image.
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2413 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
|
2013-01-07 17:07:22 +00:00 |
|