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
Philip Kaufmann
853a4a81b3
clarified comment why we use an own progressbar style / included "~" in the tr() call
13 years ago
Philip Kaufmann
ec9a4904f3
changed percentage done in tooltip to float to be more precise / allowed plurals in translation for "x block(s) remaining"
13 years ago
Gregory Maxwell
3263a245bb
Merge pull request #1026 from laanwj/2012_04_increase_up_to_date_time
...
Increase time ago of last block for "up to date" status from 30 to 90 minutes
13 years ago
Philip Kaufmann
a7a69cd07a
polished code and fixed progress display (was very jerky at the end of a sync)
13 years ago
Philip Kaufmann
e9de46c436
color update for progress bar
13 years ago
Philip Kaufmann
c7c0c93172
implemented OS independent progress bar style / moved one-time functions used on the bar to a better code location
13 years ago
Philip Kaufmann
5519660a0d
changed progressbar text to "~n blocks remaining"
13 years ago
Philip Kaufmann
068ed1e838
removed relative progressbar display and moved re-worked network detection code to setNumBlocks()
13 years ago
Philip Kaufmann
9ceae8acea
modified block DL progressbar to be dynamic and more precise
13 years ago
Wladimir J. van der Laan
2675fe6218
Increase time ago of last block for "up to date" status from 30 to 90 minutes
...
It was too hyperactive.
gmaxwell: I mean that right now when the block gap goes over an hour it starts showing synchronizing. Increasing that to 90 minutes or so would make it only happen about 6.4 times per year
13 years ago