aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2012-04-12Remove obsolete Win32 AffinityBugWorkaround()Jeff Garzik
Reference miner exists for testnet-in-a-box type situations, and as a reference. We don't care enough about highly optimized internal mining to keep workarounds like this.
2012-04-12Fix OSX build errors.Gavin Andresen
2012-04-11Merge pull request #855 from sje397/ToggleHideWladimir J. van der Laan
Toggle UI hide
2012-04-11Use filesystem::path instead of manual string tinkeringPieter Wuille
Where possible, use boost::filesystem::path instead of std::string or char* for filenames. This avoids a lot of manual string tinkering, in favor of path::operator/. GetDataDir is also reworked significantly, it now only keeps two cached directory names (the network-specific data dir, and the root data dir), which are decided through a parameter instead of pre-initialized global variables. Finally, remove the "upgrade from 0.1.5" case where a debug.log in the current directory has to be removed.
2012-04-11Merge pull request #1083 from laanwj/2012_04_connectioniconWladimir J. van der Laan
Make 4th bar of connection icon green
2012-04-11Remove path.make_preferred() calls, and fix compiler error in bitcoinrpc RE: ↵Gavin Andresen
boost::system
2012-04-11by popular request, make 4th bar of connection icon greenWladimir J. van der Laan
2012-04-11Fix build.h dependenciesPieter Wuille
For Qt builds, the build.h file is moved to build/build.h. For regular builds, it is moved to obj/build.h. This allows the Qt build to be done in a different directory than the source, and without interfering with other builds.
2012-04-10Merge pull request #1054 from sipa/buildinfoPieter Wuille
Build identification strings
2012-04-10Merge pull request #1046 from laanwj/2012_04_rpcporterrorWladimir J. van der Laan
Show error message instead of exception crash when unable to bind RPC port
2012-04-10Build identification stringsPieter Wuille
All client version information is moved to version.cpp, which optionally (-DHAVE_BUILD_INFO) includes build.h. build.h is automatically generated on supporting platforms via contrib/genbuild.sh, using git describe. The git export-subst attribute is used to put the commit id statically in version.cpp inside generated archives, and this value is used if no build.h is present. The gitian descriptors are modified to use git archive instead of a copy, to create the src/ directory in the output. This way, src/src/version.cpp will contain the static commit id. To prevent gitian builds from getting the "-dirty" marker in their git-describe generated identifiers, no touching of files or running sed on the makefile is performed anymore. This does not seem to influence determinism.
2012-04-11Toggle main window hide on tray icon clicksje397
- converted openBictoinAction to toggleHideAction - put GUIUtil functions into a namespace instead of a class - put window-related functions together in optionsdialog Reasoning: - toggle is more typical behaviour - it's more functional - better UX The typical issue with toggling visibility is that when a window is obscured by other windows but in the 'shown' state, hiding it isn't what you want. I've added an 'isObscured' function to GUIUtil that checks several pixels in the window to see if they are visible on the desktop so that an obscured but shown window can be raised. Conflicts: src/qt/guiutil.cpp src/qt/guiutil.h
2012-04-09Merge pull request #1052 from sipa/scopedlocksPieter Wuille
Use scoped locks instead of CRITICAL_BLOCK
2012-04-09Merge branch 'filesystem' of https://github.com/Diapolo/bitcoinGavin Andresen
2012-04-09Do not report spurious deadlocks caused by TRY_LOCKPieter Wuille
2012-04-09Support for parametrized locks in deadlock detectorPieter Wuille
2012-04-09Use scoped locks instead of CRITICAL_BLOCKPieter Wuille
2012-04-06Bugfix: Replace "URL" with "URI" where we aren't actually working with URLsLuke Dashjr
2012-04-06Show error message instead of exception crash when unable to bind RPC portWladimir J. van der Laan
Fixes issue #875
2012-04-06fixed small error in bitcoinrpc.cppPhilip Kaufmann
2012-04-06updated util.cpp to use make_preferred()Philip Kaufmann
2012-04-06updated bitcoinrpc.cpp to use make_preferred() and removed double inclusion ↵Philip Kaufmann
of boost/filesystem.hpp
2012-04-06updated db.cpp to use make_preferred()Philip Kaufmann
2012-04-06Merge pull request #1033 from sipa/waitPieter Wuille
Condition variables instead of polling
2012-04-06Change sign message bitcoin address tooltip to "The address to sign the ↵graingert
message with" Closes #1050
2012-04-05Flush on log size instead of transaction countPieter Wuille
2012-04-05Merge pull request #1043 from Diapolo/miscGavin Andresen
removed obsolete boost workaround (boost ticket #4258)
2012-04-05Merge pull request #1042 from gavinandresen/use_ssl_cleanupGavin Andresen
Remove USE_SSL #define
2012-04-05Merge pull request #1037 from gavinandresen/addmultisigenableGavin Andresen
Enable addmultisigaddress RPC call for main network
2012-04-05Merge pull request #1036 from gavinandresen/pubsubcleanupGavin Andresen
Remove half-implemented publish/subscribe system
2012-04-05Merge pull request #1035 from gavinandresen/osxbuildGavin Andresen
Add ifdef RELEASE to makefile.osx as the compile-for-older-macs flags
2012-04-05Merge pull request #1039 from sipa/fix_955Gregory Maxwell
Fix #955: Verify status of encrypt/decrypt calls to detect failed padding
2012-04-05removed obsolete boost workaround (boost ticket #4258)Philip Kaufmann
2012-04-04Remove USE_SSL #defineGavin Andresen
2012-04-05Verify status of encrypt/decrypt calls to detect failed paddingPieter Wuille
2012-04-05removed an unused / obsolete tag from bitcoin.qrcPhilip Kaufmann
2012-04-04Enable addmultisigaddress RPC call for main networkGavin Andresen
2012-04-04Remove half-implemented publish/subscribe systemGavin Andresen
2012-04-04Add ifdef RELEASE to makefile.osx as the compile-for-older-macs flagsGavin Andresen
2012-04-04Condition variable for outbound connection slotsPieter Wuille
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.
2012-04-04Locking system overhaul, add condition variablesPieter Wuille
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.
2012-04-04Merge pull request #1019 from laanwj/2012_03_uirefactorPieter Wuille
Streamline UI ↔ Core interface
2012-04-04Merge pull request #1025 from Diapolo/GUI-BlockDLWladimir J. van der Laan
modified block DL progressbar to be more informative and precise
2012-04-04Move from noui.h / ui.h to one ui_interface.h with dummy implementation for ↵Wladimir J. van der Laan
the daemon.
2012-04-04Use a messagebox to display the error when -server is provided without ↵Wladimir J. van der Laan
providing a rpc password
2012-04-04qtui.h/noui.h interface cleanupWladimir J. van der Laan
- 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
2012-04-04support RPC stop and encryptwallet with UIWladimir J. van der Laan
2012-04-04move translation function _ to qtui.h/noui.h instead of util.hWladimir J. van der Laan
2012-04-04remove dependency on serialize.h and util.h for SecureStringWladimir J. van der Laan
2012-04-04remove unused CalledSetStatusBar and UIThreadCall notificationsWladimir J. van der Laan