Commit graph

72 commits

Author SHA1 Message Date
RKrom
a03bc31aef Creating a branch 1.1 where I will try to make the 1.1.7 build available, this means I need to merge some changes from 2.0 to here. 2013-12-04 17:46:02 +01:00
RKrom
25c7e56c31 Fixed a bug when cropping a large image which was scrolled, we didn't consider the scrolling offset.
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2527 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2013-03-08 11:18:49 +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
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
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
JKlingen
c0fbac4c53 Editor: Added horizontal and vertical alignment for text boxes.
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2435 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2013-01-20 20:07:13 +00:00
RKrom
c352c4061b Fixed bug #3597535 by making sure the IniChanged event isn't hooked before the editor is loaded. Also added a log statement in the ini loading code, and added a better try catch.
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2409 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2013-01-05 23:14:54 +00:00
RKrom
5a93c10c79 Fixed some clipboard issues, with these fixes more formats are supported and this makes Greenshot better usable.
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2407 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2013-01-05 22:45:47 +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
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
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
6f633dbeb2 Fixed resize bug in Editor and ResizeSettingsForm
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2382 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-12-12 16:24:09 +00:00
RKrom
8be44214ce Added ResizeSettingsForm, language entries and removed unneeded usages.
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2381 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-12-12 16:02:37 +00:00
RKrom
38de4875e0 Added settings forms for DropShadowEffect & TornEdgeEffect
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2380 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-12-12 12:13:33 +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
57e4a8dd73 Cleanup of the AboutForm, changed the Style to a "FixedToolWindow", I find this more professional. Changed the AnimatingForm to have a flag, EnableAnimation, which is false by default and makes it possible to make the Form the base form of all GreenshotForm forms. Renamed the conf -> coreConfiguration, as this is already in the base class. Also added some comments.
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2367 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-12-07 16:31:20 +00:00
RKrom
1a471ec77f Added thread name, used for debugging. Added hotkey descriptions for rotate ccw/cw in language-en-US.xml
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2364 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-12-07 13:40:53 +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
RKrom
2cce7d070c Fixed a very nasty bug with the menu's ShortCutKeys which weren't handled correctly in some cases, only for some keys... Move the check to a different location, where it's done manually.
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2320 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-11-28 13:56:07 +00:00
RKrom
46e9ea0e59 Mainly code cleanup, added a lot of comments. Also making sure the element which was selected while being removed is re-selected again when undo is used. Not really happy with the solution as the the container should handle this somehow itself without work-around, for now it should be enough.
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2311 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-11-25 08:48:10 +00:00
RKrom
5c594a27b5 Cleaner version of the previous code...
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2309 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-11-24 09:57:07 +00:00
RKrom
291bfadbea Fixed that the title in the editor is not representing the saved filename.
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2308 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-11-24 09:50:09 +00:00
RKrom
2ea920dc7a Fixed potential error.
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2303 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-11-23 15:47:37 +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
599bb594ad Applied patch #3584491, this centers the image in the editor.
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2243 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-11-06 06:08:26 +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
f6be666aab Fixed bug #3578325, editor size doesn't to capture.
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2160 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-10-19 11:50:45 +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
448f82f6c3 Code reuse and cleanup.
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2126 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-10-08 15:32:14 +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
f9abcac063 Fixed some interface usage, also cleanup of the surface & editor code. This should theoretically allow usage of home made IDrawableContainer objects, which plug-ins supply.
Also made it possible to reuse the editor, currently only available editors which have a non modified surface can be reused. And only than if the configuration is set to do so.

git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2100 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-09-26 16:57:16 +00:00
RKrom
7bb187ce71 Removed the PictureBox from the Surface, meaning that the Surface is now just a Control, this should simplify the event stack and other logic and give us more control.
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2099 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-09-26 12:51:01 +00:00
RKrom
d8cb00e70c Fixed shadow with transparency issue.
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2095 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-09-25 12:19:22 +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
e654c38eb8 Some fixes which should reduce memory usage a bit, also preventing possible memory leaks.
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2005 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-09-06 09:22:57 +00:00
RKrom
7060c2d7f5 Fixed bug with not having the capture title in the title bar.
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@1967 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-07-27 14:41:08 +00:00
RKrom
f4ddfb2e79 Fix for designer issue and Bug #3538953
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@1938 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-06-29 12:38:40 +00:00
RKrom
4f64dfe676 Improving the responsiveness of the editor and optimizing some general code.
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@1922 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-06-13 22:17:53 +00:00
RKrom
59665da813 More performance improvements
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@1919 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-06-11 21:05:48 +00:00
RKrom
fdbd829a04 Fixed problem with undo and missing language key
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@1896 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-05-23 04:57:19 +00:00
RKrom
02dd9ba8b9 Fixed Bugs #3526974 & #3527020, as the File menu wasn't generated at startup the hotkeys were missing.
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@1854 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-05-16 05:17:00 +00:00
RKrom
71f44023c2 Changed EditorForm to use language binding... long live search & replace...
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@1834 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-05-04 13:01:04 +00:00
RKrom
cf2ef1235b Added feature #3521446: Now there are two additional settings for: 1) Trayicon visible 2) Settings visible
Also fixed a missing translation.

git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@1823 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-05-02 10:45:07 +00:00
RKrom
e5fd88ebd3 Refactoring: created a OutputSettings class to contain all the output settings for writing files. Default the settings are loaded from the configuration, in a later version it will be possible to have separate settings for every destination and these can be configured at one place... the settings form.
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@1815 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-04-24 16:44:34 +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
JKlingen
fc0d32a82f try to load the latest help file in preferred language from getgreenshot.org, using local help files as fallback
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@1764 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-04-09 21:43:20 +00:00