Luke Dashjr
8ddc257a4b
Merge branch '0.4.x' into 0.5.x
2012-08-12 17:33:03 +00:00
Luke Dashjr
448f6b3d9b
Bugfix: Correct English grammar regarding "'s"
2012-08-12 17:30:36 +00:00
Luke Dashjr
4f620dd0f0
Merge branch '0.4.x' into 0.5.x
2012-07-22 23:15:22 +00:00
Philip Kaufmann
ec9a3c04ed
fix OpenSSL not written as proper noun in some comments
2012-07-22 22:09:49 +00:00
fanquake
46761b339c
Fix a few typos
2012-07-05 23:54:41 +00:00
fanquake
26199789ed
Fix a few typos
2012-07-05 23:54:32 +00:00
Gavin Andresen
0ce74bfaa5
Use std::numeric_limits<> for typesafe INT_MAX/etc
...
(this fixes a Mac OS X gitian build error for 0.5.x)
2012-06-14 20:38:25 +00:00
Gavin Andresen
5cd2a640a5
Use std::numeric_limits<> for typesafe INT_MAX/etc
...
(this fixes a Mac OS X gitian build error for 0.5.x)
2012-06-14 19:52:31 +00:00
Luke Dashjr
3703150d56
Merge branch '0.4.x' into 0.5.x
...
Conflicts:
doc/release-process.txt
src/serialize.h
2012-06-14 18:07:11 +00:00
Michael Hendricks
a0ea95d3ce
Serialize access to debug.log stream
...
Acquire an exclusive, advisory lock before sending output to debug.log
and release it when we're done. This should avoid output from multiple
threads being interspersed in the log file.
We can't use CRITICAL_SECTION machinery for this because the debug log
is written during startup and shutdown when that machinery is not
available.
(Thanks to Gavin for pointing out the CRITICAL_SECTION problems based
on his earlier work in this area)
2012-06-06 19:29:28 +00:00
Fordy
58ac600b2c
Update License in File Headers
...
I originally created a pull to replace the "COPYING" in crypter.cpp and
crypter.h, but it turned out that COPYING was actually the correct
file.
2012-05-20 20:15:41 +00:00
Fordy
b2de28c740
Update License in File Headers
...
I originally created a pull to replace the "COPYING" in crypter.cpp and
crypter.h, but it turned out that COPYING was actually the correct
file.
2012-05-20 20:10:24 +00:00
Luke Dashjr
b2e5f797b5
Merge branch '0.4.x' into 0.5.x
2012-05-04 18:55:15 +00:00
Philip Kaufmann
4898482915
fix compiler warning "suggest parentheses around assignment used as truth
...
value [-Wparentheses]" in util.cpp
2012-05-01 23:11:56 -04:00
Luke Dashjr
a93ab87787
Merge branch '0.4.x' into 0.5.x
...
Conflicts:
src/main.cpp
2012-04-22 10:05:43 -04:00
Dwayne C. Litzenberger
e5b980d72f
Fix bugs on 'unsigned char' platforms.
...
In ISO C++, the signedness of 'char' is undefined. On some platforms (e.g.
ARM), 'char' is an unsigned type, but some of the code relies on 'char' being
signed (as it is on x86). This is indicated by compiler warnings like this:
bignum.h: In constructor 'CBigNum::CBigNum(char)':
bignum.h:81:59: warning: comparison is always true due to limited range of data type [-Wtype-limits]
util.cpp: In function 'bool IsHex(const string&)':
util.cpp:427:28: warning: comparison is always false due to limited range of data type [-Wtype-limits]
In particular, IsHex erroneously returned true regardless of the input
characters, as long as the length of the string was a positive multiple of 2.
Note: For testing, it's possible using GCC to force char to be unsigned by
adding the -funsigned-char parameter to xCXXFLAGS.
2012-04-22 09:38:27 -04:00
Dwayne C. Litzenberger
bd043f19c8
Fix phexdigits[255] is undefined.
2012-04-22 09:26:11 -04:00
Luke Dashjr
79fc752b61
Merge branch '0.4.x' into 0.5.0.x
...
Conflicts:
src/keystore.h
2012-04-15 21:05:54 -04:00
Wladimir J. van der Laan
85e975f379
fix warnings: array subscript is of type 'char' [-Wchar-subscripts]
2012-04-15 19:28:09 -04:00
Wladimir J. van der Laan
401db6d96b
work around issue in boost::program_options that prevents from compiling in clang
2012-04-15 19:23:01 -04:00
Luke Dashjr
7013cc3d97
Merge branch '0.4.x' into 0.5.0.x
2012-03-03 13:59:19 -05:00
Luke Dashjr
88aa771536
Bugfix: Fix possible buffer overflow ( #901 )
...
Upstream commit: 21ae37d (partial)
2012-03-03 13:51:10 -05:00
Luke Dashjr
4fc8c042a2
Bugfix: Check return value of SHGetSpecialFolderPath in MyGetSpecialFolderPath
...
Upstream commit: 21ae37d (partial)
2012-03-03 13:45:44 -05:00
Luke Dashjr
b5d9c7d9fb
Merge branch '0.4.x' into 0.5.0.x
...
Conflicts:
src/bitcoinrpc.cpp
2012-02-07 22:46:07 -05:00
Luke Dashjr
4664aae3fe
Update copyrights to 2012 for files modified this year
2012-02-07 22:30:50 -05:00
Luke Dashjr
eb2a10afd6
Merge branch '0.4.x' into 0.5.0.x
...
Conflicts:
src/util.cpp
2012-01-03 12:19:48 -05:00
Gavin Andresen
84393f15b6
Fix issue #659 , and cleanup wallet/command-line argument handling a bit
...
Conflicts:
src/init.cpp
src/util.cpp
2012-01-03 11:48:44 -05:00
Gavin Andresen
6853e627f1
Fix build on windows and mac
...
Replaced all occurrences of #if* __WXMSW__ with WIN32,
and all occurrences of __WXMAC_OSX__ with MAC_OSX, and made
sure those are defined appropriately in the makefile and bitcoin-qt.pro.
2011-10-07 11:02:21 -04:00
Wladimir J. van der Laan
20cff2ade4
remove possibility of 63 bit overflow in ParseMoney
2011-10-01 19:04:24 -04:00
Wladimir J. van der Laan
2f7f2a5fca
remove possibility of 63 bit overflow in ParseMoney
...
- also, add unit tests for various functions in util.cpp/util.h
2011-10-01 17:29:46 +02:00
Pieter Wuille
4b603f1cd6
Inline base64 encoder/decoder
...
This replaces the openssl-based base64 encoder and decoder with a more
efficient internal one. Tested against the rfc4648 test vectors.
Decoder is based on JoelKatz' version.
2011-09-27 19:47:35 +02:00
JoelKatz
4e67a6216b
Faster Base64 decoder.
2011-09-27 19:47:34 +02:00
Gavin Andresen
565c4771b6
Remove wxWidgets
...
Makefiles now build bitcoind only.
qmake/make in top-level directory is used to build Bitcoin QT
Deleted almost all #ifdef GUI from the code (left one possibly controversial one)
Deleted xpm/ files.
2011-09-26 10:04:04 -04:00
Gavin Andresen
17e2c24645
Merge pull request #517 from gavinandresen/DoSprevention
...
Denial-of-service prevention
2011-09-26 06:06:16 -07:00
Gavin Andresen
54d02f158d
SetMockTime() for cleaner unit testing
2011-09-21 12:01:56 -04:00
Wladimir J. van der Laan
0a70a3f4d8
Merge branch 'master' of https://github.com/bitcoin/bitcoin
2011-09-03 09:09:34 +02:00
Gavin Andresen
c591cc50eb
If compiled -DDEBUG_LOCKORDER and run with -debug, print out every mutex lock/unlock (helpful for debugging something-is-holding-a-mutex-too-long problems)
2011-09-02 12:01:42 -04:00
Wladimir J. van der Laan
7a15d4ff67
Merge branch 'master' of https://github.com/bitcoin/bitcoin
...
Conflicts:
src/main.cpp
2011-09-02 17:35:30 +02:00
Gavin Andresen
b0243da77c
Highlight mis-matching locks
2011-08-31 12:53:57 -04:00
Wladimir J. van der Laan
adce862c27
Merge branch 'master' of https://github.com/bitcoin/bitcoin
2011-08-22 14:43:37 +02:00
Gavin Andresen
865ed8a1e5
Compile with DEBUG_LOCKORDER to detect inconsistent lock orderings that can cause deadlocks
2011-08-17 10:22:28 -04:00
Wladimir J. van der Laan
b90c9ecb13
Merge branch 'master' of https://github.com/bitcoin/bitcoin
2011-08-16 10:28:24 +02:00
Matt Corallo
b2120e223a
Unify copyright notices.
...
To a variation on:
// Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2011 The Bitcoin developers
2011-08-09 13:32:52 +02:00
Wladimir J. van der Laan
d421117620
Merge branch 'master' of https://github.com/bitcoin/bitcoin
2011-07-15 16:42:44 +02:00
Giel van Schijndel
f85c097449
fix warnings: using the result of an assignment as a condition without parentheses [-Wparentheses]
...
Don't unnecessarily assign to variables within the *boolean* expression
of a conditional.
Signed-off-by: Giel van Schijndel <me@mortis.eu>
2011-07-13 05:07:44 +02:00
Wladimir J. van der Laan
ae3d0aba15
Sync to bitcoin git e94010b2395694d56dd6
2011-07-07 15:22:54 +02:00
Gavin Andresen
59f9c8e8c9
Do not use comma as thousands separator
...
Using the comma as thousands separator causes problems for parts of the world
where comma == decimal point. Germans sending 0,001 bitcoins are unpleasantly
surprised when that results in 1 BTC getting sent.
2011-07-04 09:41:58 -04:00
Wladimir J. van der Laan
e8ef3da713
update core to d0d80170a2ca73004e08fb85007fe055cbf4e411 (CWallet class)
2011-06-26 19:23:24 +02:00
mark
3c7ebaedcd
fixes for mac build
2011-06-20 07:30:54 -04:00
Shane Wegner
926e14b362
Fix missing includes needed for Boost 1.46.
2011-06-19 15:12:31 -07:00