Commit graph

63 commits

Author SHA1 Message Date
RKrom
2ce20fee08 Cleanup of some animation code
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2438 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2013-01-24 08:22:37 +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
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
97a853d450 Fix for bug #3600171, using a default VRefresh if the returned value is 0 or 1.
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2422 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2013-01-10 07:25:44 +00:00
JKlingen
40956b195c fixed IsInDesignMode to work with sharpdevelop, too
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2384 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-12-15 13:50:13 +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
e11450f56f Fixed problems in the designer with the last changes, also added some future code which is disabled. And uncommented the "Greenshot-filetype" registration in the installer.
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2375 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-12-11 11:51:41 +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
b7cfe23605 Extracted the refresh/animation logic to its own class, so it could be reused elsewhere. It would be even possible to extract more, but for now this is a good basis.
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2366 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-12-07 15:53:45 +00:00
RKrom
59d91bb501 Make sure all exceptions in the thread are logged!
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2295 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-11-19 10:41:56 +00:00
RKrom
0b1a0c3d55 Small fixes which make it easier to check if an IniValue is fixed, also changed the Component.Enabled in the settingsForm for some more properties. In normal English, if I have defined a property in the "greenshot-fixed.ini" the matching setting can not be changed!
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2260 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-11-09 13:46:20 +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
4713847d2e Added a small change for the confluence plugin build, debug-info was included in the release. Also added a ExtendedWebBrowser, which suppresses Script-error messages when using the WebBrowser. (For this a the IOleCommandTarget was introduced). Had to update the readme.txt to make the version consistent.
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2176 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-10-20 12:56:55 +00:00
RKrom
552a4c8f94 Tested and fixed update check
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2154 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-10-18 08:51:09 +00:00
RKrom
69d29992a2 Changes for Box Plugin so it can re-use the OAuthLoginForm. Also fixed a startup issue with some plug-ins.
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2143 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-10-14 12:34:31 +00:00
RKrom
756c8d9403 Refactoring to make Picasa work, added Upload to the IBinaryContainer.
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2135 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-10-10 18:21:09 +00:00
RKrom
6bf7d1d272 Removed "ex"
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2133 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-10-10 14:31:54 +00:00
RKrom
eb06df0f6b Removed designmode messages, this was just bothering the development.
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2132 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-10-10 14:26:18 +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
a5f900f92e Some small fixes for different parts of code.
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2087 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-09-24 14:57:02 +00:00
RKrom
f4f3a77e55 Cleanup of unneeded code: Removed a unused property from the OAuthLoginForm and removed the using "imageforexport" as we only want the "background" image of the surface for our OCR.
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2085 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-09-23 13:59:05 +00:00
RKrom
8b8024e20c OAuth refactoring, making Photobucket work.
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2073 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-09-20 11:37:47 +00:00
RKrom
ade8e365b6 Made the OAuth implementation work as specified, Imgur is working but the others need to be checked.
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2050 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-09-18 15:07:17 +00:00
RKrom
66427c3932 OAuth Code cleanup and Dropbox CallbackUrl fix.
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2029 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-09-14 06:36:06 +00:00
RKrom
f447fb8b72 Some oAuth fixes for Imgur & Photobucket. Still having problems with Photobucket...
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2026 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-09-12 12:43:02 +00:00
RKrom
b2ea24fd9a Added OAuth code, making it possible for Plugins to use a "Greenshot" generic way of authorizing with OAuth services.
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2013 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-09-09 13:28:28 +00:00
RKrom
3a19ff89e8 Added some missing license texts and added a few helper methods which can prevent using System.Web as a reference (System.Web is not available with .NET Client Profiles)
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2012 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-09-09 13:27:19 +00:00
RKrom
18bb437da0 Fixed design-time message displaying when not designing.
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2010 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-09-09 10:17:42 +00:00
RKrom
431b31cc5e More changes for the PleaseWaitForm, rewrote the jira plug-in to use it. Added some more comments to the code. Fixed the context menu, added a separator for the plug-in entries. Fixed an issue with the PickerDestination, when an export is canceled the menu was shown visible in the task-bar.
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@1986 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-08-13 14:17:12 +00:00
RKrom
a8025ac8cf Added a PleaseWait form which allows the user to cancel the operation. This already is implemented for the Imgur plug-in but should be used for all the others with long operations. Also fixed a bug in the Imgur plug-in: while retrieving the history a "no longer available" answer was not processed.
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@1984 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-08-12 16:19:46 +00:00
RKrom
48159a99b0 This changes enables the settings (most of them) which are supplied in the greenshot-fixed.ini to be unchangeable in the settings.
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@1969 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-07-30 18:09:19 +00:00
RKrom
077e12b7cc Fixing hotkey issues
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@1926 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-06-20 16:22:32 +00:00
RKrom
7e27765314 Fixed issue with hotkey, still having some issues with the translations...
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@1925 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-06-20 06:13:05 +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
e4a87aa4e4 Performance fixes
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@1918 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-06-11 20:18:02 +00:00
RKrom
5d742ce21d Added license and comments
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@1910 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-06-08 10:54:05 +00:00
RKrom
e274a08a1e Refactored the "thumbnail" preview code to ThumbnailForm.cs, this removes some complexity from the MainForm. Also fixed an Imgur issue, which I noticed as they currently have maintenance. And I added a missing key to the language-en-US.xml
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@1909 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-06-08 10:36:07 +00:00
RKrom
5a4fdbc4aa Added checkbox to turn notifications on/off
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@1906 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-05-31 06:35:59 +00:00
RKrom
85bcd49851 For now keeping "check for unstable updates" and fixing exception if a wrong mapping is used.
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@1884 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-05-18 18:11:36 +00:00
RKrom
6fc15cddd3 Added the possibility to use the Windows-key as a hotkey, this only works when defined in the ini!! It's currently not possible to define it in the settings GUI.
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@1880 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-05-18 11:47:27 +00:00
RKrom
00819deecd Added some new Controls, were needed for the editor.
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@1833 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-05-04 12:56:16 +00:00
RKrom
3d70c065c3 Small fixes
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@1812 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-04-21 14:30:21 +00:00
RKrom
9b7c7a9b7e Small stability fixes
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@1811 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-04-21 14:12:03 +00:00
RKrom
761b02df4d General changes to the expert tab.
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@1809 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-04-20 11:34:26 +00:00
RKrom
83a033ebd0 Added language binding support to ToolStripItem, also changed the behavior to use the name of the component if no language key is set.
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@1807 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-04-19 12:17:16 +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
a0c09b7d6a Fixed auto-storing hot key settings, during the display the wrong method was used ("Text = " instead of SetHotkey)
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@1789 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-04-18 08:15:22 +00:00
RKrom
88e99d78cb Fixed some language refactoring issues
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@1788 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-04-18 07:18:12 +00:00
RKrom
2a07d84033 Fixed path locating in DesignMode
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@1786 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-04-17 16:13:07 +00:00