Commit graph

56 commits

Author SHA1 Message Date
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
RKrom
1e436b69ee Fixed some problems exporting to word & powerpoint
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@1751 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-04-04 15:00: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
TBraun
aa7e901680 cleanup
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@1742 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-04-02 16:56:52 +00:00
RKrom
c559fc3447 Fixed (hopefully) resource issues when changing something in the Designer
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@1734 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-04-01 10:56:25 +00:00
RKrom
55f3f3b342 Changed destinations to have the picker as a separate check box.
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@1729 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-03-31 20:39:16 +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
9733aa79a8 Added reduce colors to the quality form
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@1708 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-03-19 18:29:19 +00:00
RKrom
5f9deb2f06 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@1690 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-03-06 17:45:50 +00:00
RKrom
cd190b1c07 Fixed bug when using the editor button "export to outlook", closures & foreach variables don't mix!
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@1662 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-02-17 10:00:44 +00:00
RKrom
5038d7d237 Translations for the effects
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@1660 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-02-14 14:48:24 +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
594f8f9a0a Small change to allow window capture and automatically add a shadow, only inside the editor.
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@1652 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-02-10 16:57:25 +00:00
RKrom
8374aa5fb6 Small fixes in GraphicsPath usage, making sure they are disposed. Also making sure Anti-Aliasing is used when drawing the shadow.
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@1644 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-02-09 08:52:58 +00:00
RKrom
5aa6249231 Secured feature Effects.
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@1643 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-02-08 15:20:40 +00:00
RKrom
0e522f6afc Fixed focus problems with the EditorForm: Problems when clicking on a ToolStrip/MenuStrip when the form didn't have focus by adding two new controls for this. Also fixed the PrintDialog issue by using a BeginInvoke.
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@1623 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-02-02 12:02:07 +00:00
RKrom
8d458998a1 Moving back to trunk!
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@1602 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-01-24 19:24:36 +00:00