Commit graph

862 commits

Author SHA1 Message Date
RKrom
4efd779d86 Added an animation for the zoom area, this is just to show what we could do... might not be the final effect.
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2319 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-11-27 08:07:01 +00:00
JKlingen
4cb72219a5 fixed invalidation area and small code improvements
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2318 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-11-25 21:21:23 +00:00
JKlingen
23f429d277 finally fixed last problems with position and invalidation of zoomer
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2317 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-11-25 20:18:57 +00:00
JKlingen
53c361424c fixed zoom position for multiscreen setup (however, some fixing has to be done for proper invalidation)
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2316 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-11-25 20:04:58 +00:00
RKrom
92053efdfc Fixed screenbounds checking for the zoom
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2315 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-11-25 19:37:41 +00:00
JKlingen
f6e214e12a fixed zoomarea offset in case of negative coordinates in screen layout (multiscreen)
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2314 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-11-25 17:07:05 +00:00
RKrom
69a88eeb25 Added checkerboard for Zooming where nothing is visible.... might need some logic to prevent drawing if it's not needed.
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2313 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-11-25 13:41:06 +00:00
RKrom
675cdb1aae Changed the zooming to be in the Capture form itself, as it was really hard to change the shape. Now it's round...
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2312 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-11-25 12:57:57 +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
3d62f9c279 This fixes a bug where the AutoCrop can't be undone, there is still a bug where a redo of a crop (auto or normal) doesn't update the bindings.
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2310 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-11-24 10:29:39 +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
502fe44270 Don't instantiate the IAppVisibility if < Windows 8, so there is one exception less in the logs.
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2307 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-11-23 23:19:20 +00:00
RKrom
67db97b13f Refactored the zoomForm to a zoomControl, with this we can prevent mouse events to happen. Also the current state seems to work very well, even with a larger size.
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2306 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-11-23 22:17:47 +00:00
RKrom
ea4e2f6804 Added first try to implement the RSASHA1 signature, so we can use this for the Jira 5 Rest API
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2305 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-11-23 16:08:14 +00:00
RKrom
009d5d11df Fixed PixelOffset issue for the RectangleContainer, need to check what to do with the other containers.
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2304 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-11-23 16:07:21 +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
d58e419503 Still don't understand why, but this using is unwanted in SharpDevelop but doesn't bother Visual Studio..
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2302 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-11-22 20:33:45 +00:00
RKrom
28a965db09 Fixed logic from previous fix, the Toolwindow detection was flawed.
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2301 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-11-21 10:29:41 +00:00
RKrom
57ebc0c675 Fixed Window corner cut to skip tool windows, and use a cut shape from the configuration.
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2300 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-11-21 10:00:55 +00:00
RKrom
2d767f735c Refactoring to allow Lists to be inside other values.
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2299 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-11-21 09:26:20 +00:00
RKrom
84e5e86751 Fixed issue when the WSDL isn't in the URL
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2298 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-11-20 15:54:39 +00:00
RKrom
1e6a5de79b Fixed issue when the WSDL isn't in the URL
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2297 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-11-20 15:33:03 +00:00
RKrom
151d250d28 Fixed issue when the WSDL isn't in the URL
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2296 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-11-20 15:30:33 +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
5a1c5fd0eb Fixed the zoom, it was drawn incorrectly. Also changed the drawing to work with a timer, so the updates are made even if the mouse moves to quick. Added a bitblt method in the GDI32 class.
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2294 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-11-18 11:18:20 +00:00
JKlingen
16ad103450 refactored: bitmapPos -> cursorPosOnBitmap
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2293 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-11-18 08:16:38 +00:00
JKlingen
c06e3e0288 fixed bad positioning of rulers, introduced with changes in revision 2290
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2292 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-11-17 23:32:58 +00:00
JKlingen
bfb8a1a7e6 clear ZoomForm before painting so that areas out of screen bounds are displayed in solid black
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2291 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-11-17 23:02:38 +00:00
JKlingen
0b45a56b96 fixed position of zoom form in case of negative screen bounds
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2290 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-11-17 22:48:10 +00:00
RKrom
42c705330f Changed format and compression
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2289 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-11-15 20:51:41 +00:00
RKrom
485a814251 Added the possibility for a command after capturing.
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2288 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-11-15 16:38:19 +00:00
RKrom
75a841b31e Fixes for better performance in some experimental code, also fixed some formatting in the code.
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2287 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-11-15 14:11:00 +00:00
RKrom
fa02394047 Added DwmEnableComposition for testing
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2286 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-11-15 12:22:42 +00:00
RKrom
9ca5f0d3bd Small fixes for the Zoom and its performance improvements
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2285 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-11-14 09:34:33 +00:00
RKrom
831a3b4d5b Made zoom move to a different location if it goes outside the screen. Also changed the Metro-App visibility property, this might work (up to an acceptable level) but is untested.
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2284 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-11-13 21:13:09 +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
41a63f5847 Removed template from .zip
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2282 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-11-13 09:46:44 +00:00
RKrom
dc3c756a1a Changed the Readme.txt to use a template.
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2281 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-11-13 09:42:36 +00:00
RKrom
15a7a4b53f Changed the Readme.txt to use a template.
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2280 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-11-13 09:42:21 +00:00
RKrom
be6c4b0587 Added photobucket and changed version
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2279 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-11-13 09:18:26 +00:00
RKrom
8f042ac163 Changed zoom to be enabled by default.
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2278 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-11-13 09:15:34 +00:00
RKrom
bd8efca35b Fixed version number
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2277 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-11-13 09:03:23 +00:00
RKrom
22c04fbb4a Changes for 1.1, added Photobucket as project to the solution. Fixed some language files (the ietf in the file IS important)
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2276 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-11-13 09:01:05 +00:00
RKrom
5e6b13e509 Fixed Control locations on Form and log4net reference
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2275 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-11-13 08:45:35 +00:00
RKrom
fc86a47220 Added Photobucket for Greenshot 1.1
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2274 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-11-13 08:38:32 +00:00
RKrom
96b8b3524e Project was missing a file...
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2273 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-11-13 08:27:48 +00:00
RKrom
94efe04377 Applied zoom patch, currently needs to be activated by pressing "Z" in the capture form. This will change later.
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2272 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-11-13 08:19:41 +00:00
RKrom
e84b6c8dd4 No need to consider the working area, as the Window is topmost and is visible "over" the Taskbar
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2271 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-11-12 16:52:44 +00:00
RKrom
1663bf7b0f Updated the readme.txt and a small readability change in the StartupHelper
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2270 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-11-12 15:34:15 +00:00