Merge commit '3f94dfa' into stable
remove possibility of 63 bit overflow in ParseMoney
Merge commit '65ba3e2f5024e1e38e119a0c25d5fc30c896cd65' into 0.4.x
Fix for 64bit build
Bump version to 0.4.1
bitcoind does not need to link with gthread-2.0
Added a workaround for an Ubuntu bug which causes -fstack-protector-all to be disregarded.
Only define __STDC_LIMIT_MACROS if not already defined.
Add returns to avoid annoying compile-time warnings.
Init source code repository
Merge commit 'v0.3.24' into develop
PPCoin: Tool generating genesis block
PPCoin: Rescale coin definition to use 4 fractional digits
Resilvering
Obsolete keypool and make sure database removes log files on shutdown.
Fix boost filesystem incompatibility problem
Update gitian descriptors to point at stable git repo
add message about restarting bitcoin after encrypting wallet succesfully
Fix crash-on-osx-on-shutdown bug. And cleanup CDB handling in Rewrite.
Tweak handling of boost filesystem versions

(partial cherry pick)