]>
Git Repo - VerusCoin.git/log
Jeff Garzik [Sun, 15 Apr 2012 21:00:20 +0000 (17:00 -0400)]
Fix misc. minor sign-comparison warnings
Jeff Garzik [Sun, 15 Apr 2012 20:59:48 +0000 (16:59 -0400)]
CNode's nHeaderStart may be negative, so change its type
Jeff Garzik [Sun, 15 Apr 2012 20:59:09 +0000 (16:59 -0400)]
serialize.h: CAutoFile's read and write may take size_t nSize
Jeff Garzik [Sun, 15 Apr 2012 20:58:32 +0000 (16:58 -0400)]
Fix sign-compare warnings: netbase's Lookup* max-solutions may be unsigned
Jeff Garzik [Sun, 15 Apr 2012 20:52:09 +0000 (16:52 -0400)]
Fix loop index var types, fixing many minor sign comparison warnings
foo.size() typically returns an unsigned integral type; make loop variables
match those types' signedness.
Jeff Garzik [Sun, 15 Apr 2012 20:47:24 +0000 (16:47 -0400)]
The string class returns string::npos, when find() fails.
Noticed when sign-comparison warnings were enabled.
Jeff Garzik [Sun, 15 Apr 2012 18:39:15 +0000 (11:39 -0700)]
Merge pull request #1104 from laanwj/2012_04_clang
Enable and fix most compilation warnings
Jeff Garzik [Sun, 15 Apr 2012 16:25:29 +0000 (09:25 -0700)]
Merge pull request #1084 from dooglus/validate_secret
importprivkey doesn't check that it is given a private key
Wladimir J. van der Laan [Sun, 15 Apr 2012 16:22:26 +0000 (09:22 -0700)]
Merge pull request #1097 from laanwj/2012_04_runawayexception
Show a message box when runaway exception happens
Jeff Garzik [Sun, 15 Apr 2012 15:31:22 +0000 (08:31 -0700)]
Merge pull request #1100 from luke-jr/qrcode_errchk
Bugfix: Check that QRcode_encodeString didn't return NULL (error)
Wladimir J. van der Laan [Sun, 15 Apr 2012 11:27:00 +0000 (13:27 +0200)]
fix warnings: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses]
Wladimir J. van der Laan [Sun, 15 Apr 2012 11:03:28 +0000 (13:03 +0200)]
fix warnings: '&&' within '||' [-Wlogical-op-parentheses]
Wladimir J. van der Laan [Sun, 15 Apr 2012 10:59:20 +0000 (12:59 +0200)]
fix warnings: delete called on 'XX' that has virtual functions but non-virtual destructor [-Wdelete-non-virtual-dtor]
Wladimir J. van der Laan [Sun, 15 Apr 2012 10:53:14 +0000 (12:53 +0200)]
fix warnings: unused variable 'XX' [-Wunused-variable]
Wladimir J. van der Laan [Sun, 15 Apr 2012 10:42:52 +0000 (12:42 +0200)]
fix warnings: enumeration values 'XX' not handled in switch [-Wswitch-enum]
Wladimir J. van der Laan [Sun, 15 Apr 2012 10:31:56 +0000 (12:31 +0200)]
fix warnings: 'XX' defined as a struct here but previously declared as a class [-Wmismatched-tags]
Wladimir J. van der Laan [Sun, 15 Apr 2012 10:22:30 +0000 (12:22 +0200)]
fix warnings: array subscript is of type 'char' [-Wchar-subscripts]
Wladimir J. van der Laan [Sun, 15 Apr 2012 09:42:40 +0000 (11:42 +0200)]
work around issue in boost::program_options that prevents from compiling in clang
Wladimir J. van der Laan [Sun, 15 Apr 2012 10:24:03 +0000 (12:24 +0200)]
enable all warnings except invalid-offsetof, sign-compare, unused-parameter
Luke Dashjr [Sun, 15 Apr 2012 01:00:27 +0000 (21:00 -0400)]
Bugfix: Check that QRcode_encodeString didn't return NULL (error)
Without this, any error will segfault Bitcoin-Qt
Wladimir J. van der Laan [Sat, 14 Apr 2012 07:41:05 +0000 (09:41 +0200)]
Show a message box when runaway exception happens
This is more clear to users than when the program simply disappears (usually during initialization). It still logs the message to the console and debug log as well.
Wladimir J. van der Laan [Sat, 14 Apr 2012 16:32:30 +0000 (18:32 +0200)]
Rename make_windows_icon.py to .sh as it is a shell script (fixes #1099)
Jeff Garzik [Sat, 14 Apr 2012 15:50:43 +0000 (08:50 -0700)]
Merge pull request #1093 from jgarzik/tx-opt
Database micro-optimization for "tx" network message
Wladimir J. van der Laan [Sat, 14 Apr 2012 06:47:50 +0000 (23:47 -0700)]
Merge pull request #1089 from laanwj/2012_04_translationupdate
Update translations for bitcoin core
Wladimir J. van der Laan [Fri, 13 Apr 2012 06:45:26 +0000 (08:45 +0200)]
Update translations for bitcoin core
- Move scripts/qt to share/qt, to clean up toplevel directories
- Update english ts file which is used to source messages for Transifex
- In extract_strings_qt.py use a glob *.h *.cpp, this is safe now that the Wx UI files are removed
Wladimir J. van der Laan [Sat, 14 Apr 2012 06:27:23 +0000 (23:27 -0700)]
Merge pull request #1096 from laanwj/2012_04_tick
Do not show green tick unless all known blocks are downloaded (fixes #921)
Wladimir J. van der Laan [Sat, 14 Apr 2012 06:21:22 +0000 (08:21 +0200)]
Do not show green tick unless all known blocks are downloaded (fixes #921)
Jeff Garzik [Fri, 13 Apr 2012 21:48:15 +0000 (17:48 -0400)]
Database micro-optimization for "tx" network message
Open database once per "tx" message, rather than multiple times,
in the case of orphan transaction presence.
As a side effect, a now-unused CTransaction::AcceptToMemoryPool()
variant is removed.
Wladimir J. van der Laan [Fri, 13 Apr 2012 07:16:46 +0000 (09:16 +0200)]
Add missing tooltip and key shortcut in settings dialog (#1088 without line break part)
Gavin Andresen [Fri, 13 Apr 2012 01:22:15 +0000 (18:22 -0700)]
Merge pull request #1087 from sipa/fix_1086
Fix #1086: add /testnet to passed datadir
Pieter Wuille [Fri, 13 Apr 2012 01:11:14 +0000 (03:11 +0200)]
Fix #1086: add /testnet to passed datadir
Chris Moore [Thu, 12 Apr 2012 20:13:08 +0000 (13:13 -0700)]
CBitcoinSecret::SetString() now calls IsValid() to make sure it was passed something with the correct version.
Gavin Andresen [Thu, 12 Apr 2012 19:20:51 +0000 (12:20 -0700)]
Merge pull request #1041 from gavinandresen/listtransactionsfix
Bug fix listtransactions from/count handling.
Wladimir J. van der Laan [Thu, 12 Apr 2012 18:50:18 +0000 (20:50 +0200)]
make text in about box selectable (fixes #1055)
Wladimir J. van der Laan [Thu, 12 Apr 2012 18:38:36 +0000 (11:38 -0700)]
Merge pull request #1078 from Diapolo/QR-Code
QR-Code code update
Fixes problems reported on forum: https://bitcointalk.org/index.php?topic=73695.msg839804#msg839804
Philip Kaufmann [Thu, 12 Apr 2012 18:21:02 +0000 (20:21 +0200)]
enable wordWrap on lblQRCode / small code comment change
Philip Kaufmann [Thu, 12 Apr 2012 16:39:22 +0000 (18:39 +0200)]
limit length of generated URI to 255 chars to prevent a DoS against the QR-Code dialog
Philip Kaufmann [Wed, 11 Apr 2012 21:05:22 +0000 (23:05 +0200)]
updated to reflect pull-request suggestions / renamed some GUI elements
Philip Kaufmann [Wed, 11 Apr 2012 12:21:15 +0000 (14:21 +0200)]
fixed amount part of URI in QR-Codes / removed (no label) string if we have NO label / coding style updates / removed an unused variable
Jeff Garzik [Thu, 12 Apr 2012 17:24:00 +0000 (13:24 -0400)]
Remove obsolete Win32 AffinityBugWorkaround()
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.
Gavin Andresen [Thu, 12 Apr 2012 15:14:46 +0000 (11:14 -0400)]
Fix OSX build errors.
Wladimir J. van der Laan [Thu, 12 Apr 2012 06:02:18 +0000 (23:02 -0700)]
Merge pull request #855 from sje397/ToggleHide
Toggle UI hide
Pieter Wuille [Wed, 11 Apr 2012 22:02:24 +0000 (15:02 -0700)]
Merge pull request #1072 from sipa/boostpaths
Use filesystem::path instead of manual string tinkering
Pieter Wuille [Mon, 9 Apr 2012 21:50:56 +0000 (23:50 +0200)]
Use filesystem::path instead of manual string tinkering
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.
Wladimir J. van der Laan [Wed, 11 Apr 2012 18:06:26 +0000 (11:06 -0700)]
Merge pull request #1083 from laanwj/2012_04_connectionicon
Make 4th bar of connection icon green
Gavin Andresen [Wed, 11 Apr 2012 18:00:48 +0000 (14:00 -0400)]
Remove path.make_preferred() calls, and fix compiler error in bitcoinrpc RE: boost::system
Wladimir J. van der Laan [Wed, 11 Apr 2012 17:59:15 +0000 (19:59 +0200)]
by popular request, make 4th bar of connection icon green
Gavin Andresen [Wed, 11 Apr 2012 17:35:44 +0000 (10:35 -0700)]
Merge pull request #1077 from sipa/buildinfo
Fix build.h dependencies
Pieter Wuille [Wed, 11 Apr 2012 01:51:08 +0000 (03:51 +0200)]
Fix build.h dependencies
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.
Pieter Wuille [Wed, 11 Apr 2012 00:21:29 +0000 (02:21 +0200)]
Force regeneration of build.h in qmake builds
Pieter Wuille [Tue, 10 Apr 2012 20:31:12 +0000 (13:31 -0700)]
Merge pull request #1054 from sipa/buildinfo
Build identification strings
Wladimir J. van der Laan [Tue, 10 Apr 2012 20:14:47 +0000 (13:14 -0700)]
Merge pull request #1046 from laanwj/2012_04_rpcporterror
Show error message instead of exception crash when unable to bind RPC port
Pieter Wuille [Sat, 7 Apr 2012 00:06:53 +0000 (02:06 +0200)]
Build identification strings
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.
sje397 [Fri, 17 Feb 2012 14:34:53 +0000 (01:34 +1100)]
Toggle main window hide on tray icon click
- 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
Pieter Wuille [Tue, 10 Apr 2012 10:41:09 +0000 (03:41 -0700)]
Merge pull request #1070 from cardpuncher/patch-1
Trivial: added comment lines in French & Turkish
Pieter Wuille [Mon, 9 Apr 2012 20:25:17 +0000 (13:25 -0700)]
Merge pull request #1052 from sipa/scopedlocks
Use scoped locks instead of CRITICAL_BLOCK
cardpuncher [Mon, 9 Apr 2012 19:22:38 +0000 (22:22 +0300)]
Added comment lines in French & Turkish which basically mean "Bitcoin, virtual P2P cryptocurrency".
Gavin Andresen [Mon, 9 Apr 2012 14:41:59 +0000 (10:41 -0400)]
Merge branch 'filesystem' of https://github.com/Diapolo/bitcoin
Pieter Wuille [Sat, 7 Apr 2012 16:55:29 +0000 (18:55 +0200)]
Do not report spurious deadlocks caused by TRY_LOCK
Pieter Wuille [Sat, 7 Apr 2012 16:29:31 +0000 (18:29 +0200)]
Support for parametrized locks in deadlock detector
Pieter Wuille [Fri, 6 Apr 2012 16:39:12 +0000 (18:39 +0200)]
Use scoped locks instead of CRITICAL_BLOCK
Gregory Maxwell [Fri, 6 Apr 2012 18:22:24 +0000 (11:22 -0700)]
Merge pull request #987 from luke-jr/ipc_name_fix
Cleanup: Replace "URL" with "URI" where we aren't actually working with URLs
Luke Dashjr [Sun, 25 Mar 2012 21:25:10 +0000 (17:25 -0400)]
Bugfix: Replace "URL" with "URI" where we aren't actually working with URLs
Wladimir J. van der Laan [Thu, 5 Apr 2012 18:36:27 +0000 (20:36 +0200)]
Show error message instead of exception crash when unable to bind RPC port
Fixes issue #875
Philip Kaufmann [Fri, 6 Apr 2012 13:31:28 +0000 (15:31 +0200)]
fixed small error in bitcoinrpc.cpp
Philip Kaufmann [Sat, 31 Mar 2012 13:22:45 +0000 (15:22 +0200)]
updated util.cpp to use make_preferred()
Philip Kaufmann [Sat, 31 Mar 2012 13:05:55 +0000 (15:05 +0200)]
updated bitcoinrpc.cpp to use make_preferred() and removed double inclusion of boost/filesystem.hpp
Philip Kaufmann [Wed, 21 Mar 2012 21:15:28 +0000 (22:15 +0100)]
updated db.cpp to use make_preferred()
Pieter Wuille [Fri, 6 Apr 2012 11:11:14 +0000 (04:11 -0700)]
Merge pull request #1033 from sipa/wait
Condition variables instead of polling
Gregory Maxwell [Fri, 6 Apr 2012 02:21:03 +0000 (19:21 -0700)]
Merge pull request #1051 from graingert/patch-1
Change sign message bitcoin address tooltip to "The address to sign the ...
graingert [Fri, 6 Apr 2012 02:08:16 +0000 (04:08 +0200)]
Change sign message bitcoin address tooltip to "The address to sign the message with" Closes #1050
Gavin Andresen [Thu, 5 Apr 2012 23:41:20 +0000 (16:41 -0700)]
Merge pull request #1047 from luke-jr/strlcpy_attribute
Document strlcpy.h in assets-attribution.txt since it isn't MIT-licensed
Luke Dashjr [Thu, 5 Apr 2012 22:58:20 +0000 (18:58 -0400)]
Document strlcpy.h in assets-attribution.txt since it isn't MIT-licensed
Pieter Wuille [Thu, 5 Apr 2012 20:02:16 +0000 (13:02 -0700)]
Merge pull request #1045 from sipa/fastblocks2
Flush on log size instead of transaction count
Pieter Wuille [Thu, 5 Apr 2012 15:54:30 +0000 (17:54 +0200)]
Flush on log size instead of transaction count
Gavin Andresen [Thu, 5 Apr 2012 14:36:23 +0000 (07:36 -0700)]
Merge pull request #1043 from Diapolo/misc
removed obsolete boost workaround (boost ticket #4258)
Gavin Andresen [Thu, 5 Apr 2012 14:34:45 +0000 (07:34 -0700)]
Merge pull request #1042 from gavinandresen/use_ssl_cleanup
Remove USE_SSL #define
Gavin Andresen [Thu, 5 Apr 2012 14:34:19 +0000 (07:34 -0700)]
Merge pull request #1037 from gavinandresen/addmultisigenable
Enable addmultisigaddress RPC call for main network
Gavin Andresen [Thu, 5 Apr 2012 14:33:54 +0000 (07:33 -0700)]
Merge pull request #1036 from gavinandresen/pubsubcleanup
Remove half-implemented publish/subscribe system
Gavin Andresen [Thu, 5 Apr 2012 14:33:00 +0000 (07:33 -0700)]
Merge pull request #1035 from gavinandresen/osxbuild
Add ifdef RELEASE to makefile.osx as the compile-for-older-macs flags
Gregory Maxwell [Thu, 5 Apr 2012 13:17:05 +0000 (06:17 -0700)]
Merge pull request #1039 from sipa/fix_955
Fix #955: Verify status of encrypt/decrypt calls to detect failed padding
Philip Kaufmann [Thu, 5 Apr 2012 06:34:31 +0000 (08:34 +0200)]
removed obsolete boost workaround (boost ticket #4258)
Wladimir J. van der Laan [Thu, 5 Apr 2012 05:52:34 +0000 (22:52 -0700)]
Merge pull request #1038 from Diapolo/misc
small misc syntactic fixes
Gavin Andresen [Thu, 5 Apr 2012 01:19:27 +0000 (21:19 -0400)]
Remove USE_SSL #define
Gavin Andresen [Thu, 5 Apr 2012 00:56:13 +0000 (20:56 -0400)]
Bug fix listtransactions from/count handling.
Pieter Wuille [Wed, 4 Apr 2012 23:02:49 +0000 (01:02 +0200)]
Verify status of encrypt/decrypt calls to detect failed padding
Philip Kaufmann [Mon, 2 Apr 2012 20:25:04 +0000 (22:25 +0200)]
removed an unneeded space in bitcoin-qt.pro
Philip Kaufmann [Mon, 2 Apr 2012 20:22:26 +0000 (22:22 +0200)]
removed an unused / obsolete tag from bitcoin.qrc
Gavin Andresen [Wed, 4 Apr 2012 20:01:27 +0000 (16:01 -0400)]
Enable addmultisigaddress RPC call for main network
Gavin Andresen [Wed, 4 Apr 2012 19:56:00 +0000 (15:56 -0400)]
Remove half-implemented publish/subscribe system
Gavin Andresen [Wed, 4 Apr 2012 19:45:31 +0000 (15:45 -0400)]
Add ifdef RELEASE to makefile.osx as the compile-for-older-macs flags
Pieter Wuille [Wed, 4 Apr 2012 14:01:57 +0000 (16:01 +0200)]
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.
Pieter Wuille [Mon, 2 Apr 2012 00:40:41 +0000 (02:40 +0200)]
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.
Pieter Wuille [Wed, 4 Apr 2012 12:03:07 +0000 (05:03 -0700)]
Merge pull request #1019 from laanwj/2012_03_uirefactor
Streamline UI ↔ Core interface
Wladimir J. van der Laan [Wed, 4 Apr 2012 11:36:09 +0000 (04:36 -0700)]
Merge pull request #1025 from Diapolo/GUI-BlockDL
modified block DL progressbar to be more informative and precise
Wladimir J. van der Laan [Wed, 4 Apr 2012 11:19:30 +0000 (13:19 +0200)]
Move from noui.h / ui.h to one ui_interface.h with dummy implementation for the daemon.
Wladimir J. van der Laan [Sat, 31 Mar 2012 13:08:25 +0000 (15:08 +0200)]
Use a messagebox to display the error when -server is provided without providing a rpc password
Wladimir J. van der Laan [Sun, 25 Mar 2012 18:47:33 +0000 (20:47 +0200)]
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
Wladimir J. van der Laan [Sun, 25 Mar 2012 18:17:59 +0000 (20:17 +0200)]
support RPC stop and encryptwallet with UI
Wladimir J. van der Laan [Sat, 24 Mar 2012 20:13:48 +0000 (21:13 +0100)]
move translation function _ to qtui.h/noui.h instead of util.h
This page took 0.065078 seconds and 4 git commands to generate.