Use the proper format type and size specifiers.

Found with Cppcheck.

git-svn-id: http://tortoisesvn.googlecode.com/svn/trunk/src/Utils@24808 4cfb86a4-2c7a-11df-bd14-c1e331e6ceac
Introduce a new client-side hook that enables a button in the commit dialog which when clicked runs the hook script.
The hook script receives all the checked files/folders from the commit dialog.
(Closes issue #475) : run pre-commit manually from commit dialog


git-svn-id: http://tortoisesvn.googlecode.com/svn/trunk/src/Utils@24821 4cfb86a4-2c7a-11df-bd14-c1e331e6ceac
Add a new hook "Check-Commit" which is run when the OK button in the commit dialog is pressed, but before the commit dialog is dismissed. The hook script can prevent the commit dialog from closing. This is unlike the pre-commit hook script that is run after the commit dialog has already closed.
(Closes issue #574) : check-commit hook


git-svn-id: http://tortoisesvn.googlecode.com/svn/trunk/src/Utils@24825 4cfb86a4-2c7a-11df-bd14-c1e331e6ceac
Run our checkyear.js script as a check-commit hook.

git-svn-id: http://tortoisesvn.googlecode.com/svn/trunk/src/Utils@24827 4cfb86a4-2c7a-11df-bd14-c1e331e6ceac
Use the proper size and type specifier in printf calls.

git-svn-id: http://tortoisesvn.googlecode.com/svn/trunk/src/Utils@24834 4cfb86a4-2c7a-11df-bd14-c1e331e6ceac
Check that the poinrts point to loaded memory.
(Fixes issue #580) : Crash in TortoiseIDiff loading corrupted icon file


git-svn-id: http://tortoisesvn.googlecode.com/svn/trunk/src/Utils@24860 4cfb86a4-2c7a-11df-bd14-c1e331e6ceac
Run tabspace.

git-svn-id: http://tortoisesvn.googlecode.com/svn/trunk/src/Utils@24895 4cfb86a4-2c7a-11df-bd14-c1e331e6ceac
Fix regression of r24860.
(Fixes issue #580 ) : Crash in TortoiseIDiff loading corrupted icon file

git-svn-id: http://tortoisesvn.googlecode.com/svn/trunk/src/Utils@24898 4cfb86a4-2c7a-11df-bd14-c1e331e6ceac
Add the CSimpleIni helper class.

git-svn-id: http://tortoisesvn.googlecode.com/svn/trunk/src/Utils@24931 4cfb86a4-2c7a-11df-bd14-c1e331e6ceac
Force updating the background when invalidating the update rect.
This extends r24450 to avoid artefacts shown on the control if other windows are dragged over and Aero is turned off.

git-svn-id: http://tortoisesvn.googlecode.com/svn/trunk/src/Utils@24945 4cfb86a4-2c7a-11df-bd14-c1e331e6ceac
Revert r24945: didn't help.

git-svn-id: http://tortoisesvn.googlecode.com/svn/trunk/src/Utils@24946 4cfb86a4-2c7a-11df-bd14-c1e331e6ceac
Don't validate the rect if it's empty.

git-svn-id: http://tortoisesvn.googlecode.com/svn/trunk/src/Utils@24949 4cfb86a4-2c7a-11df-bd14-c1e331e6ceac
Check the return value of the Default() call: if it does not return zero, the WM_PAINT message in the Default() call isn't processed, and only then validate the update region.

git-svn-id: http://tortoisesvn.googlecode.com/svn/trunk/src/Utils@24951 4cfb86a4-2c7a-11df-bd14-c1e331e6ceac
Extend the post-update hook script, passing an additional parameter containing a path to a file that contains all paths that were affected by the update.
(Closes issue #591) : Extend post-update hook with list of updated files


git-svn-id: http://tortoisesvn.googlecode.com/svn/trunk/src/Utils@24968 4cfb86a4-2c7a-11df-bd14-c1e331e6ceac
Return the value from the default call in OnEraseBkgnd() to avoid redrawing issues.

git-svn-id: http://tortoisesvn.googlecode.com/svn/trunk/src/Utils@24969 4cfb86a4-2c7a-11df-bd14-c1e331e6ceac
Free allocated memory.

git-svn-id: http://tortoisesvn.googlecode.com/svn/trunk/src/Utils@25004 4cfb86a4-2c7a-11df-bd14-c1e331e6ceac
Utils/DragDropImpl.cpp: include stdafx.h so that the file is compiled with precompiled headers.

git-svn-id: http://tortoisesvn.googlecode.com/svn/trunk/src/Utils@25014 4cfb86a4-2c7a-11df-bd14-c1e331e6ceac
Clean up #pragma warning directives.

git-svn-id: http://tortoisesvn.googlecode.com/svn/trunk/src/Utils@25017 4cfb86a4-2c7a-11df-bd14-c1e331e6ceac
Use %p to format a HWND since it is a pointer.

git-svn-id: http://tortoisesvn.googlecode.com/svn/trunk/src/Utils@25080 4cfb86a4-2c7a-11df-bd14-c1e331e6ceac
Initialize buffers to avoid /analysis warnings

git-svn-id: http://tortoisesvn.googlecode.com/svn/trunk/src/Utils@25081 4cfb86a4-2c7a-11df-bd14-c1e331e6ceac