Commit graph

89 commits

Author SHA1 Message Date
Robin
fbba70fce4 FEATURE-995: Fine tuning of the paste logic. 2016-12-29 20:38:51 +01:00
Robin
4de8d0f8aa FEATURE-995: Added a check for the current mouse cursor location, to paste the image on that location. 2016-12-28 21:02:56 +01:00
Robin
e654a60629 FEATURE-863: Fixed storing of the start value.
Updated SVG dependency, which fixes a few small issues with the Jira plug-in.
2016-11-22 10:23:46 +01:00
Robin
dc29ef0a27 FEATURE-863: Fixed counter to work with a flag, still the starting value is not serialized / deserialized? 2016-11-22 07:31:11 +01:00
Robin
f2f37700b3 FEATURE-863: Trying to get it working in 1.2.9 2016-11-21 23:47:10 +01:00
Robin
610f45d082 Code quality changes 2016-09-22 20:40:13 +02:00
Robin
6efc7796b8 BUG-1908: Made Greenshot recheck & add the external commands like Ms-Paint and Paint.NET if they are not deleted manually and not yet available. Also cleaned up some code. 2016-09-16 21:48:57 +02:00
Robin
35ed3b8d60 BUG-2021 & BUG-2022: Fixes for exceptions. 2016-09-14 10:50:40 +02:00
Robin
fc192827f1 Made the supported image formats extendable, and supplied a SVG implementation right away with the jira addon. 2016-09-05 22:48:23 +02:00
Robin
1294036a56 Fixed copyright for this year. 2016-08-17 14:38:41 +02:00
Robin
798ca503a5 Code quality changes [skip ci] 2016-08-16 10:37:55 +02:00
Robin
aa3df02e3f NPR Exception fixes. 2016-06-16 21:56:54 +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
7872f2f7e4 Merge remote-tracking branch 'remotes/origin/feature/BUG-1887_removed_grippers'
# Conflicts:
#	Greenshot/Drawing/DrawableContainer.cs
#	Greenshot/Drawing/SpeechbubbleContainer.cs
2016-05-23 22:03:01 +02:00
Robin
9ab6bff116 Fixed serialization issues, and made sure the arrow / line have the right adorners. 2016-05-23 16:43:10 +02:00
Robin
5b2d5b1397 Fixed most adorner related drawing issues, need to test a few more (freehand) 2016-05-23 15:39:21 +02:00
Robin
31db071394 Trying to replace the Gripper (which is a Label/Control) with adorners (custom code). This should prevent the slow cleanup, reduce resources and speedup the editor. Also we should have better "UI" feedback. This is still very experimental. 2016-05-23 13:32:52 +02:00
Robin
98e6be5eb6 Small cleanups [skip ci] 2016-04-17 23:32:22 +02:00
Robin
ec5930ed41 Updated Copyright notice 2015-03-13 10:31:52 +01:00
RKrom
82705b6165 BUG-1686: Fix for weird shadow effect, this was actually a bug in the background drawing routine. 2014-11-17 22:23:37 +01:00
RKrom
fb993c2238 Fixed serialization issues with the StepLabelContainer and the SpeechbubbleContainer, they should now be in the correct shape/location when loading from the .greenshot file. 2014-06-12 13:43:20 +02:00
RKrom
87406d90da Fixed issues with the enum label losing it's number, fixed this... almost. Do not change the z-Order of the label. 2014-06-11 23:27:13 +02:00
RKrom
e75925018b Modified the enumeration to resize the font, depending on the size. Also made sure the suspend/resume layout is called when transforming containers. 2014-06-02 15:25:50 +02:00
RKrom
85d73cd8e0 Fix for #1619, AutoCrop now takes the final image (all elements included) into the calculation. 2014-06-02 12:52:34 +02:00
RKrom
4b8ec88aaf Disposing matrix in the new code, otherwise it would cause memory leaks 2014-06-02 10:25:47 +02:00
RKrom
aced477cef Made resize work, cleaned up code so it should be easier to port the changes to 2.x 2014-06-01 20:25:52 +02:00
RKrom
2f20c0820c Trying to solve the problem that effects don't change the elements, except for the offset, by using a Matrix and than later transforming the elements. This is just the start of an idea, if this leads to nothing we can "git revert" the commit(s)... 2014-05-30 16:44:27 +02:00
RKrom
b37ed3562d Added icons for the new tools, also changed some of the logic so it is possible to show the number of the next "label" in the tool button. 2014-05-28 09:35:08 +02:00
RKrom
ff3f898f54 As 2.x takes longer as planned, I added the SpeechbubbleContainer and StepLabelContainer (Enumerable label) to the 1.2 branch. This code was stored somewhere on my hard-drive, is still experimental. 2014-05-23 15:49:14 +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
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
8a13a0d5a6 Correction for the previous correction...
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2539 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2013-03-28 10:13:44 +00:00
RKrom
f7c0dd744b Fix for #1481, checking paste location
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2538 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2013-03-28 09:56:55 +00:00
RKrom
733adc99e4 Fixed #1474, CropContainer wasn't cleaned up correctly.
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2528 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2013-03-08 20:45:40 +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
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
fa091c0480 Added a fix for the cursor, it won't be on the surface if it's outside the captured range. This fixes the "issue" where the undo & delete buttons are active but nothing is visible.
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2442 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2013-01-24 09:54:33 +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
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
b7a604d93b Code consolidation, trying to get all IDataObject relevant code into the ClipboardHelper. This might solve some Drag & Drop or Copy/Paste issues.
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2397 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-12-20 10:11:53 +00:00
RKrom
e7ab5f5677 Moved unused effect from Surface internal to IEffect implementation
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2383 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-12-12 16:43:16 +00:00
RKrom
0c7e16a771 Applied my "patch" which refactors the complete codebase to have IEffect support, this is an interface which can be used to supply effects to a bitmap. These effects can now be passed to the OutputSettings (which now is called SurfaceOutputSettings) to control how the output is modified. This is very useful for e.g. OCR which needs a grayscale & resized image.
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2377 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-12-12 09:51:41 +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
83d244c3bf Counting the amount of surface objects, so we can see if there are multiple in memory when we have bugs.
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2365 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-12-07 15:12:04 +00:00
RKrom
d7af595d0d Added info to track bugs like #3592758 better, we should use this more often.
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2362 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-12-07 10:57:48 +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
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