Pieter Wuille
1a275bac2b
Merge pull request #1052 from sipa/scopedlocks
...
Use scoped locks instead of CRITICAL_BLOCK
13 years ago
Gavin Andresen
1044391135
Merge branch 'filesystem' of https://github.com/Diapolo/bitcoin
13 years ago
Pieter Wuille
f342dac1cb
Do not report spurious deadlocks caused by TRY_LOCK
13 years ago
Pieter Wuille
908037fe16
Support for parametrized locks in deadlock detector
13 years ago
Pieter Wuille
f8dcd5ca6f
Use scoped locks instead of CRITICAL_BLOCK
13 years ago
Gregory Maxwell
138d08c531
Merge pull request #987 from luke-jr/ipc_name_fix
...
Cleanup: Replace "URL" with "URI" where we aren't actually working with URLs
13 years ago
Luke Dashjr
fa2544e79f
Bugfix: Replace "URL" with "URI" where we aren't actually working with URLs
13 years ago
Philip Kaufmann
42c63d3ad2
fixed small error in bitcoinrpc.cpp
13 years ago
Philip Kaufmann
36949554ab
updated util.cpp to use make_preferred()
13 years ago
Philip Kaufmann
93fb7489a7
updated bitcoinrpc.cpp to use make_preferred() and removed double inclusion of boost/filesystem.hpp
13 years ago
Philip Kaufmann
9c24588e73
updated db.cpp to use make_preferred()
13 years ago
Pieter Wuille
9362da78b0
Merge pull request #1033 from sipa/wait
...
Condition variables instead of polling
13 years ago
Gregory Maxwell
9682087b65
Merge pull request #1051 from graingert/patch-1
...
Change sign message bitcoin address tooltip to "The address to sign the ...
13 years ago
graingert
f9781fc62e
Change sign message bitcoin address tooltip to "The address to sign the message with" Closes #1050
13 years ago
Gavin Andresen
3acee27b14
Merge pull request #1047 from luke-jr/strlcpy_attribute
...
Document strlcpy.h in assets-attribution.txt since it isn't MIT-licensed
13 years ago
Luke Dashjr
7993454a92
Document strlcpy.h in assets-attribution.txt since it isn't MIT-licensed
13 years ago
Pieter Wuille
0167938c26
Merge pull request #1045 from sipa/fastblocks2
...
Flush on log size instead of transaction count
13 years ago
Pieter Wuille
e88ed65a39
Flush on log size instead of transaction count
13 years ago
Gavin Andresen
399ff1fe05
Merge pull request #1043 from Diapolo/misc
...
removed obsolete boost workaround (boost ticket #4258 )
13 years ago
Gavin Andresen
895c12943b
Merge pull request #1042 from gavinandresen/use_ssl_cleanup
...
Remove USE_SSL #define
13 years ago
Gavin Andresen
ea2cc8fc4a
Merge pull request #1037 from gavinandresen/addmultisigenable
...
Enable addmultisigaddress RPC call for main network
13 years ago
Gavin Andresen
c7fa55bb87
Merge pull request #1036 from gavinandresen/pubsubcleanup
...
Remove half-implemented publish/subscribe system
13 years ago
Gavin Andresen
78494ffecc
Merge pull request #1035 from gavinandresen/osxbuild
...
Add ifdef RELEASE to makefile.osx as the compile-for-older-macs flags
13 years ago
Gregory Maxwell
4a8d0f3b10
Merge pull request #1039 from sipa/fix_955
...
Fix #955 : Verify status of encrypt/decrypt calls to detect failed padding
13 years ago
Philip Kaufmann
7f10522c43
removed obsolete boost workaround (boost ticket #4258 )
13 years ago
Wladimir J. van der Laan
60d5ab3a16
Merge pull request #1038 from Diapolo/misc
...
small misc syntactic fixes
13 years ago
Gavin Andresen
5ce4c2a23a
Remove USE_SSL #define
13 years ago
Pieter Wuille
e5c027b49b
Verify status of encrypt/decrypt calls to detect failed padding
13 years ago
Philip Kaufmann
cf8525a571
removed an unneeded space in bitcoin-qt.pro
13 years ago
Philip Kaufmann
fc42e9fae2
removed an unused / obsolete tag from bitcoin.qrc
13 years ago
Gavin Andresen
ea8c55cfd7
Enable addmultisigaddress RPC call for main network
13 years ago
Gavin Andresen
f487746ded
Remove half-implemented publish/subscribe system
13 years ago
Gavin Andresen
3a8ca61bd0
Add ifdef RELEASE to makefile.osx as the compile-for-older-macs flags
13 years ago
Pieter Wuille
092631f0ba
Condition variable for outbound connection slots
...
Keep a global counter for nOutbound, protected with its own waitable
critical section, and wait when all outbound slots are filled, rather
than polling.
This removes the (on average) 1 second delay between a lost connection
and a new connection attempt, and may speed up shutdowns.
13 years ago
Pieter Wuille
712fd182b7
Locking system overhaul, add condition variables
...
This commit simplifies the locking system: CCriticalSection becomes a
simple typedef for boost::interprocess::interprocess_recursive_mutex,
and CCriticalBlock and CTryCriticalBlock are replaced by a templated
CMutexLock, which wraps boost::interprocess::scoped_lock.
By making the lock type a template parameter, some critical sections
can now be changed to non-recursive locks, which support waiting via
condition variables. These are implemented in CWaitableCriticalSection
and WAITABLE_CRITICAL_BLOCK.
CWaitableCriticalSection is a wrapper for a different Boost mutex,
which supports waiting/notification via condition variables. This
should enable us to remove much of the used polling code. Important
is that this mutex is not recursive, so functions that perform the
locking must not call eachother.
Because boost::interprocess::scoped_lock does not support assigning
and copying, I had to revert to the older CRITICAL_BLOCK macros that
use a nested for loop instead of a simple if.
13 years ago
Pieter Wuille
b0a7e05a45
Merge pull request #1019 from laanwj/2012_03_uirefactor
...
Streamline UI ↔ Core interface
13 years ago
Wladimir J. van der Laan
cadae3588c
Merge pull request #1025 from Diapolo/GUI-BlockDL
...
modified block DL progressbar to be more informative and precise
13 years ago
Wladimir J. van der Laan
5cccb13dad
Move from noui.h / ui.h to one ui_interface.h with dummy implementation for the daemon.
13 years ago
Wladimir J. van der Laan
5a60b66a9d
Use a messagebox to display the error when -server is provided without providing a rpc password
13 years ago
Wladimir J. van der Laan
7cfbe1fee4
qtui.h/noui.h interface cleanup
...
- rename wxMessageBox, remove redundant arguments to noui/qtui calls
- also, add flag to force blocking, modal dialog box for disk space warning etc
- clarify function naming
- no more special MessageBox needed from AppInit2, as window object is created before calling AppInit2
13 years ago
Wladimir J. van der Laan
1a3f0da922
support RPC stop and encryptwallet with UI
13 years ago
Wladimir J. van der Laan
5d7cebdadc
move translation function _ to qtui.h/noui.h instead of util.h
13 years ago
Wladimir J. van der Laan
6cb6d62347
remove dependency on serialize.h and util.h for SecureString
13 years ago
Wladimir J. van der Laan
f0b5e9e116
remove unused CalledSetStatusBar and UIThreadCall notifications
13 years ago
Wladimir J. van der Laan
98e6175874
Update UI through async calls MainFrameRepaint and AddressBookRepaint instead of a timer.
...
- Overall, this is better design
- This fixes problems with the address book UI not updating when the address book is changed through RPC
- Move Statusbar change detection responsibility to ClientModel
13 years ago
Wladimir J. van der Laan
7e7bcce2d9
Code deduplication: make function in GUIUtil to get connection type to call object slot in GUI thread
...
with invokeMethod.
13 years ago
Wladimir J. van der Laan
55f69a4700
move QT_PLUGINS stuff to qt main file, where it belongs
13 years ago
Wladimir J. van der Laan
fc8c44e3d5
Merge pull request #949 from laanwj/2012_03_vc2010compilefixes
...
VC2010 compile fixes
13 years ago
Wladimir J. van der Laan
52d3a48128
VC2010 compile fixes
13 years ago
Gregory Maxwell
703d64469e
Merge pull request #934 from luke-jr/gitian_luke
...
Add Luke-Jr's PGP key to gitian-downloader
13 years ago