Commit graph

97 commits

Author SHA1 Message Date
Robin
5a1a4737ec Some fixed for not getting windows to focus/to front which were inspired by FEATURE-992. [skip ci] 2016-12-30 22:35:28 +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
c0d18c952c Some more changes for BUG-2017, this simplified some of the code and adds different logic for Windows 10 apps. 2016-09-04 22:23:42 +02:00
Robin
71aa131f78 Added some debug information for BUG-2017, this shows when D is pressed. 2016-09-04 20:10:33 +02:00
Robin
1294036a56 Fixed copyright for this year. 2016-08-17 14:38:41 +02:00
Robin
0323705513 Merge remote-tracking branch 'remotes/origin/master' into release/1.2.9 2016-05-24 13:15:16 +02:00
Robin
98e6be5eb6 Small cleanups [skip ci] 2016-04-17 23:32:22 +02:00
jklingen
e409392f32 Revert "Revert "Removed most references to SF"" 2016-03-24 23:04:47 +01:00
jklingen
2599ff5b7c Revert "Removed most references to SF" 2016-03-24 22:54:16 +01:00
Robin
fe176a2da4 Removed most references to Sourceforge, need to check with a file-searcher if something is left. P.S. The help files still have references... 2016-03-23 16:54:57 +01:00
Robin
1f80d56b10 Reused new OAuth 2 code for the Box plug-in, this was possible by adding the embedded browser. Also refactored code to be more readable, and have more reuse. Fixed problems with Picasa upload and pressing cancel on the PleaseWaitForm. [skip ci] 2015-04-17 15:44:27 +02:00
Robin
9d7299e5ea Improving the logic to make sure new windows are moved to the front, so the user can't miss them. 2015-04-17 11:20:30 +02:00
Robin
7938ab5dad This commit is made due to BUG-1775. Although it might not fix it, it ensures that every window has an icon and only than when it loaded. Also added improved error handling. 2015-04-17 11:06:57 +02:00
Robin
ec5930ed41 Updated Copyright notice 2015-03-13 10:31:52 +01:00
RKrom
089eec769e This fixes a bug in the resize logic, the colors of the edges were not calculated correctly by GDI. Also added some additional dispose calls. 2014-11-30 22:06:35 +01:00
RKrom
98cbe99f9a Fix for compile error 2014-11-04 11:32:43 +01:00
RKrom
7fd0ce5037 FEATURE-766: Region capture: When keeping the Ctrl key pressed, and using the cursor keys, the cursor is now moved 10 pixels. Also added the possibility to start / end the region selection with the enter key. 2014-10-22 16:18:01 +02:00
RKrom
be36a3f42b Fixed some errors, removed obsolete code, removed some anonymous delegates and added some additional disposing code in the CaptureHelper.cs 2014-06-16 11:25:04 +02:00
RKrom
ac08533727 Code quality fixes (NullReference checks, unused variables etc) 2014-04-26 00:34:06 +02:00
RKrom
829a35cd37 Added a new feature: Zoomer opacity, make the zoomer transparent, currently only available via the greenshot.ini 2014-02-07 17:24:50 +01:00
JKlingen
8c4eef8e2b Updated copyright notice for 2014 2014-01-08 21:30:56 +01: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
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
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
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
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
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
RKrom
c7c61773a5 Fixed problem when selecting something after changing modes.
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2353 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-12-04 13:41:55 +00:00
RKrom
4800bedde2 Made some changes which make the switch from region to window more interesting, for this I had to change some code so the "fade in/out" animations are running until finished.
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2352 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-12-04 13:12:08 +00:00
JKlingen
010e43704d changed zoom location finder to try to find a position which is neither out of screen bounds nor intersecting with selected rectangle
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2351 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-12-03 21:22:05 +00:00
RKrom
d63c3806aa Fix issue where uneven size are calculated, this way we always have a plural of 4.
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2350 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-12-03 21:11:35 +00:00
RKrom
aa8063ea88 Zoom size is now 20% of the smallest screen "range", usually the height, but if rotated CCW/CW this would be the width. This prevents the zoomer from being to large.
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2349 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-12-03 14:24:55 +00:00
RKrom
672590cd3b Changes for the animation after discussions with Thomas. Mainly that the animation of the interactive capture STARTS from the Mouse-Cursor outwards.
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2348 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-12-03 14:08:06 +00:00
JKlingen
3a5b3d63a9 fixed lower part of screen not being invalidated correctly in case of negative screen coordinates in multiscreen setup
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2346 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-12-02 18:47:22 +00:00
JKlingen
7be6f7ab2b refactored: get rid of confusing variables and calculating offsets for screen coordinates vs. bitmap coordinates.
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2345 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-12-02 18:18:15 +00:00
JKlingen
05d9783a24 fixed issues with zoom positioning on multiscreen setup with negative screen coordinates
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2344 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-12-02 16:21:27 +00:00
RKrom
7c8b0f5988 Animation queuing.
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2342 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-12-02 13:08:51 +00:00
RKrom
ce632b1496 Added changes for the zoom to animate relative to the cursor position. Also made the first changes to make sure the animation has a frame rate equal to the screen refresh.
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2341 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-12-02 12:49:44 +00:00
RKrom
3b9cc41832 Added easing to the animations
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2340 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-11-30 11:44:34 +00:00
RKrom
03efcf8d17 Restored Jens his Animation logic, this does cause problems with the drawing as the size is not exact.
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2339 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-11-30 06:54:26 +00:00
RKrom
ae38bd7ac2 code cleanup
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2338 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-11-29 17:20:16 +00:00
RKrom
c476d00b59 Fixed Cross-hair from Jens with pixel exact drawing.
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2337 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-11-29 17:10:35 +00:00
RKrom
bc6b7c36e4 Changed key handler to make it possible to specify pixel-exact locations.
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2336 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-11-29 16:51:41 +00:00
RKrom
3a9abafdc8 Recreated the changes from Jens
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2335 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-11-29 15:37:46 +00:00
RKrom
503a9daf63 Made changes to the animators, there now are different types but still all work linear.
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2334 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-11-29 15:17:44 +00:00