aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2012-11-27split of createTrayIconMenu() from createTrayIcon() in BitcoinGUIPhilip Kaufmann
- this allows to setup the trayicon before we have and want a trayicon menu - should be of great use, when we remove that splash screen - fixes a small bug with the toggleHideAction icon, which is not only used with trayicon but also with the Mac dock
2012-11-27Merge pull request #2006 from robbak/make-leveldb-macroPieter Wuille
Change 'make' to $(MAKE) in leveldb make command line
2012-11-26update CClientUIInterface and remove orphan Wx stuffPhilip Kaufmann
- fix ThreadSafeMessageBox always displays error icon - allow to specify MSG_ERROR / MSG_WARNING or MSG_INFORMATION without a custom caption / title - allow to specify CClientUIInterface::ICON_ERROR / ICON_WARNING and ICON_INFORMATION (which is default) as message box icon - remove CClientUIInterface::OK from ThreadSafeMessageBox-calls, as the OK button will be set as default, if none is specified - prepend "Bitcoin - " to used captions - rename BitcoinGUI::error() -> BitcoinGUI::message() and add function documentation - change all style parameters and enum flags to unsigned - update code to use that new API - update Client- and WalletModel to use new BitcoinGUI::message() and rename the classes error() method into message() - include the possibility to supply the wanted icon for messages from Client- and WalletModel via "style" parameter
2012-11-24Merge pull request #2004 from alexanderkjeldaas/simplify-cmutexlockPieter Wuille
Simplify CMutexLock
2012-11-24Merge pull request #2013 from sipa/blockheaderPieter Wuille
Split off CBlockHeader from CBlock
2012-11-22Merge pull request #1980 from sipa/noreorgsamePieter Wuille
Do not reorganize if new branch has same amount of work
2012-11-22Merge pull request #2024 from Diapolo/fix_qt_crashWladimir J. van der Laan
Bitcoin-Qt: fix crash on Windows caused by CDBEnv::EnvShutdown()
2012-11-21Add assert and comment for subtle pay-to-script-hash logicGavin Andresen
2012-11-18Bitcoin-Qt: fix crash on Windows caused by CDBEnv::EnvShutdown()Philip Kaufmann
- can be triggerd by just adding -proxy=crashme with 0.7.1 - crash occured, when AppInit2() was left with return false; after the first call to bitdb.open() (Step 6 in init) - this is caused by GetDataDir() or .string() in CDBEnv::EnvShutdown() called via the bitdb global destructor - init fDbEnvInit and fMockDb to false in CDBEnv::CDBEnv()
2012-11-17Merge pull request #2022 from Diapolo/fix_#2018Wladimir J. van der Laan
fix pull #2018
2012-11-17ConnectBlock(): fix error() format to be unsignedPhilip Kaufmann
- I introduced the wrong format macro with my former patch (#2018), this needs to be signed not unsigned (thanks Luke-Jr)
2012-11-16Merge pull request #2019 from Diapolo/bitcoinstrings_updWladimir J. van der Laan
update bitcoinstrings.cpp and bitcoin_en.ts
2012-11-16update bitcoinstrings.cpp and bitcoin_en.tsPhilip Kaufmann
2012-11-16Merge pull request #2009 from sipa/fixmoveGavin Andresen
Prevent RPC 'move' from deadlocking
2012-11-16ensure we use our format macros to avoid compilation warningsPhilip Kaufmann
- fixes 2 warnings I observed while compiling on Windows with MinGW
2012-11-15Merge pull request #1767 from Diapolo/RPCCon_clear_historyWladimir J. van der Laan
clear history when using clear button in RPC console
2012-11-15Merge pull request #1670 from luke-jr/blksubstrJeff Garzik
Use full block hash as unique identifier in debug.log
2012-11-15Merge pull request #1945 from centromere/leveldb_fixJeff Garzik
Fixed compile error on FreeBSD 9.
2012-11-15Merge pull request #1987 from jgarzik/no-pw-matchJeff Garzik
RPC: Forbid RPC username == RPC password
2012-11-15Merge pull request #2005 from Diapolo/fixes_mainJeff Garzik
some small fixes for main.cpp/.h
2012-11-15Merge pull request #2012 from luke-jr/invblk_errsJeff Garzik
Print error for coinbase-pays-too-much case of ConnectBlock failing
2012-11-15RPC: Forbid RPC username == RPC passwordJeff Garzik
Added security measure.
2012-11-15Merge pull request #2010 from Diapolo/bind_unsignedPieter Wuille
make enum and parameter used in Bind() unsigned
2012-11-16Split off CBlockHeader from CBlockPieter Wuille
Cleaner and removes the need for the application-specific flags in serialize.h.
2012-11-15Introduce script verification flagsPieter Wuille
These flags select features to be enabled/disabled during script evaluation/checking, instead of several booleans passed along. Currently these flags are defined: * SCRIPT_VERIFY_P2SH: enable BIP16-style subscript evaluation * SCRIPT_VERIFY_STRICTENC: enforce strict adherence to pubkey/sig encoding standards.
2012-11-14Print error for coinbase-pays-too-much case of ConnectBlock failingLuke Dashjr
2012-11-14make enum and parameter used in Bind() unsignedPhilip Kaufmann
- it's good practise to use unsigned int for enum flags, so change this one, as I introduced this for Bind()
2012-11-14Simplify CMutexLockAlexander Kjeldaas
o Remove unused Leave and GetLock functions o Make Enter and TryEnter private. o Simplify Enter and TryEnter. boost::unique_lock doesn't really know whether the mutex it wraps is locked or not when the defer_lock option is used. The boost::recursive_mutex does not expose this information, so unique_lock only infers this knowledge. When taking the lock is defered, it (randomly) assumes that the lock is not taken. boost::unique_lock has the following definition: unique_lock(Mutex& m_,defer_lock_t): m(&m_),is_locked(false) {} bool owns_lock() const { return is_locked; } Thus it is a mistake to check owns_lock() in Enter and TryEnter - they will always return false.
2012-11-14Prevent RPC 'move' from deadlockingPieter Wuille
It seemed to create two CWalletDB objects that both grab the database lock.
2012-11-13Change block references in debug.log to full hash instead of just 0..20Luke Dashjr
2012-11-13Abstract block hash substr extraction (for debug.log) into BlockHashStr inlineLuke Dashjr
2012-11-13add CWalletTx::GetImmatureCredit() and use it in CWallet::GetImmatureBalance()Philip Kaufmann
2012-11-12Merge pull request #2002 from alexanderkjeldaas/clang-warningsWladimir J. van der Laan
o Removed verbose clang warning
2012-11-13Change 'make' to $(MAKE) in leveldb make command lineRobert Backhaus
2012-11-11some small fixes for main.cpp/.hPhilip Kaufmann
- remove an unwanted ";" at the end of the ~CCoinsView() destructor - in FindBlockPos() and FindUndoPos() only call fclose(), is file is open - fix an error string in the CBlockUndo class
2012-11-11Merge pull request #1970 from Arnavion/fix-make-leveldbPieter Wuille
leveldb cannot compile with custom CFLAGS / CXXFLAGS / LDFLAGS
2012-11-11Merge pull request #1997 from Diapolo/bdb_openPieter Wuille
simplify CDBEnv::Open() / fix small glitches
2012-11-11Merge pull request #2000 from Diapolo/fix_indentationPieter Wuille
fix some missing indentations in main.cpp for better readability
2012-11-11o Removed verbose clang warningAlexander Kjeldaas
2012-11-10Merge pull request #1979 from sipa/corefndocPieter Wuille
One-line comments for public main functions
2012-11-10One-line comments for public main functionsPieter Wuille
2012-11-10Fix status text after reindexPieter Wuille
2012-11-10Merge pull request #1992 from Diapolo/no_memsetGregory Maxwell
don't use memset() in privacy/security relevant code parts
2012-11-10fix some missing indentations in main.cpp for better readabilityPhilip Kaufmann
2012-11-10Merge pull request #1977 from Diapolo/rem_printf_redef_rpcWladimir J. van der Laan
remove printf redefinition from bitcoinrpc.cpp
2012-11-10Merge pull request #1993 from Diapolo/qt_header_cleanupWladimir J. van der Laan
Qt: small header changes / fixes
2012-11-10simplify CDBEnv::Open() / fix small glitchesPhilip Kaufmann
- remove pathEnv from CDBEnv, as this attribute is not needed - change path parameter in ::Open() to a reference - make nDbCache variable an unsigned integer - remove a missplaced ";" behin ::IsMock()
2012-11-10allow listening on -bind=address for blocked networksPhilip Kaufmann
- this allows the client to listen on via -bind specified addresses (e.g. 127.0.0.1), even when a network (IPv4 in that case) was blocked via e.g -onlynet="Tor" - introduce enum BindFlags to avoid passing multiple bools to Bind() - make -bind help text clear we ALWAYS listen on the specified address - remove an unused variable - remove 2 unneeded IsLimited() checks before calling Bind(), which does these checks anyway - usage case: specify -bind=127.0.0.1 -onlynet="Tor" to allow incoming connections to a Tor hidden service, but still don't allow other IPv4 nodes to connect / get connected
2012-11-10Fix tests after cache tweaksPieter Wuille
2012-11-09Merge pull request #1943 from sipa/reindex2Pieter Wuille
Add -reindex, to perform in-place reindexing of block chain files