Commit graph

946 commits

Author SHA1 Message Date
JKlingen
7d67a46c25 chinese translation update provided by uralhan
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2403 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2013-01-02 21:44:47 +00:00
RKrom
9de30e41d5 Changed naming to make the code more understandable.
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2402 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-12-30 13:05:05 +00:00
RKrom
09400ccdbe Refactoring to prevent that the image for the clipboard is created multiple times. Code could most likely be cleaner and simpler but for now it should be okay.
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2401 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-12-29 15:20:26 +00:00
RKrom
efda1e3025 Fixed WindowLong issue, the MSDN documentation doesn't work for .NET
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2400 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-12-20 14:17:27 +00:00
RKrom
19f9e0afa7 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@2399 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-12-20 12:34:13 +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
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
ce77d05bc7 Updated readme
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2395 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-12-20 07:10:45 +00:00
RKrom
16a8122751 Added comment
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2394 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-12-19 08:10:24 +00:00
RKrom
178a3d732f Fixed look of error message when registration of hotkeys failed.
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2393 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-12-18 15:16:50 +00:00
RKrom
8aeb07e1e9 Added a check, preventing additional disposing.
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2392 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-12-18 14:41:59 +00:00
RKrom
4be6799f4a Fixed some drawing defaults for Bug #3588716
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2391 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-12-17 16:20:45 +00:00
RKrom
263bfbf158 Updated the readme.txt
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2390 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-12-17 15:01:19 +00:00
RKrom
94b6f9d115 Fixed error handling in the ClipboardHelper.GetImage
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2389 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-12-17 13:04:10 +00:00
RKrom
cd3c8aeb0b Fixed bug #3594681, do not use 256-color reducing when using inline dataurl for HTML.
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2388 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-12-17 11:22:29 +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
86dc1fa60d Fixed some calculations
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2386 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-12-17 10:50:26 +00:00
JKlingen
f65fed6d62 new capture icons from fugue set + 16px icon for dropbox plugin
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2385 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-12-15 15:23:54 +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
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
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
6579d49d49 Removed unneeded using.
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2379 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-12-12 10:18:36 +00:00
RKrom
bd58845c68 Added forgotten files... and optimized the ImageOutput to skip some checks when using the .greenshot format.
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2378 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-12-12 09:57:40 +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
5541e2e1c7 Refactoring which replaces the Image in the ImageOutput for an ISurface, this makes it possible to save the Surface to any possible file format and even make it possible to pass some additional information in the OutputSettings. (Except reducing the colors, there are no other settings yet)
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2376 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-12-11 14:36:20 +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
JKlingen
3115c927b7 improved icons
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2374 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-12-10 20:46:44 +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
745a17c3b1 Fixed shifting of animation.
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2372 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-12-10 13:58:36 +00:00
RKrom
d8d52e0293 Removed large image
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2371 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-12-10 11:57:42 +00:00
RKrom
88b869499a Changed the animation to something less... irritating and made it skip when OptimizeForRemoteDesktop is true.
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2370 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-12-10 11:53:57 +00:00
RKrom
bf8fd174ce Finished color flow (shine), the animation might still need some changes...
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2369 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-12-08 00:02:53 +00:00
RKrom
9803c91122 Updated the about form to have an animation, which is not yet finished.
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2368 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-12-07 20:40:17 +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
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
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
69754804a0 Small changes in unused code, for cleanup.
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2363 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-12-07 13:37:55 +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
JKlingen
c514695637 added some icons for context menu
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2361 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-12-06 21:01:55 +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
82eddefe4e Code cleanup, already made some changes (which are not active) for the next release so I can work on them without having multiple changed files which might cause check in conflicts.
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2359 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-12-06 13:47:17 +00:00
RKrom
70d6b0356b Made sure the zoomer can't be toggled outside the region mode.
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2358 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-12-06 06:03:12 +00:00
JKlingen
e5d996d0d1 fix: keep printer destination (with dialog) intact after selecting a printer for the first time
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2357 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-12-05 21:50:56 +00:00
RKrom
26fd909de0 Optimized for Remote Desktop / Terminal Server Sessions, also made it possible to enable/disable the zoomer.
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2356 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-12-05 20:02:21 +00:00
RKrom
ddae26df89 Fixed leftovers
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2355 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-12-05 19:27:53 +00:00
RKrom
1ba5015305 Changes which calculate the amount of frames according to the time the animation should take, this makes the animation run equally long on all systems (independent of the refresh rate)
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2354 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-12-05 08:39:27 +00:00