Wladimir J. van der Laan
61fd72695f
When datadir missing, show messagebox instead of printing error to stderr
2012-10-04 12:04:12 +02:00
Wladimir J. van der Laan
827d8c2e0c
Revert "Remove -Wformat* warnings from makefiles"
...
This reverts commit 14ac0adcc7 .
2012-10-01 19:45:42 +02:00
Wladimir J. van der Laan
bcc292b22d
Extend printf warnings to error()
2012-10-01 19:45:41 +02:00
Wladimir J. van der Laan
02247490f6
Merge pull request #1886 from Diapolo/fix_Win_URI_assoc
...
Windows: fix URI association setting in registry
2012-09-30 22:07:16 -07:00
Wladimir J. van der Laan
d6b13283d1
data-driven base58 CBitcoinAddress/CBitcoinSecret tests
...
Arbitrary numbers of test vectors can be generated using the script
`gen_base58_test_vectors.py`.
2012-10-01 04:57:26 +02:00
Wladimir J. van der Laan
2a739598b1
Merge pull request #1891 from Diapolo/printf_format_defs
...
harmonize printf format characters
2012-09-30 03:43:45 -07:00
Wladimir J. van der Laan
018ec85ff7
Merge pull request #1875 from hsoft/master
...
Fix compilation with clang under OS X
2012-09-29 02:23:46 -07:00
Wladimir J. van der Laan
f72fd0e792
Merge pull request #1881 from xanatos/Tests
...
Removed a duplicated identical if
2012-09-29 01:00:55 -07:00
Wladimir J. van der Laan
a5ba586669
Merge pull request #1864 from Diapolo/Qt_4.8.2
...
switch to Qt 4.8.2 for Windows builds
2012-09-29 00:58:29 -07:00
Wladimir J. van der Laan
552af52b45
Merge pull request #1851 from fanquake/OpenSSL-1.0.1c
...
Update to use OpenSSL 1.0.1c
2012-09-29 00:58:15 -07:00
Wladimir J. van der Laan
3b2eb49db9
Merge pull request #1883 from sipa/norandstack
...
Remove stack randomization
2012-09-29 00:56:25 -07:00
Wladimir J. van der Laan
035cb4781d
Merge pull request #1868 from maaku/and_or_xor_sign_extension
...
Documented bug in sign-extension behavior of opcodes OP_AND, OP_OR, and OP_XOR
2012-09-27 22:48:27 -07:00
Wladimir J. van der Laan
14ac0adcc7
Remove -Wformat* warnings from makefiles
...
commit 5a1a3622 effectively enabled these warnings, but they need
to be fixed before being enabled in the general build scripts.
2012-09-27 04:10:21 +02:00
Wladimir J. van der Laan
5a1a362215
Merge pull request #1807 from laanwj/2012_09_printf_warnings
...
Add printf-style warnings to strprintf() and OutputDebugStringF()
2012-09-25 22:56:29 -07:00
Wladimir J. van der Laan
4d369ec30c
Update comment, we're no longer using boost::interprocess::scoped_lock
2012-09-25 12:16:37 +02:00
Wladimir J. van der Laan
f5cb3488be
Merge pull request #1857 from Diapolo/pro-file
...
change last occurance of mac to macx in Qt project-file
2012-09-25 02:53:12 -07:00
Wladimir J. van der Laan
dc2a68dc43
Merge pull request #1847 from gavinandresen/osx_pthread
...
Compile/link Bitcoin-Qt.app with -pthread on OSX
2012-09-25 02:52:34 -07:00
Wladimir J. van der Laan
6a34def27e
Merge pull request #1856 from Diapolo/stack-protector_nonWindows
...
Bitcoin-Qt: expand GCC Stack-Smashing Protector usage (non Windows)
2012-09-25 01:41:38 -07:00
Wladimir J. van der Laan
1a52dd10a7
Merge pull request #1854 from Diapolo/fix_1843_V2
...
additional fix for #1843
2012-09-25 01:35:22 -07:00
Wladimir J. van der Laan
feec18e329
Merge pull request #1836 from kjj2/stopdetach
...
Adds a stopdetach <detach> RPC command. <detach> defaults to true. Wor...
2012-09-23 05:49:42 -07:00
Wladimir J. van der Laan
49b09ec04f
Merge pull request #1853 from fanquake/qt-include
...
Update include for Qt5
2012-09-23 05:35:24 -07:00
Wladimir J. van der Laan
2f91373a0a
Merge pull request #1852 from fanquake/bugreportlinks
...
Update links to Qt
2012-09-22 03:29:46 -07:00
Wladimir J. van der Laan
f394f21594
Merge pull request #1844 from Diapolo/Qt5_compat1
...
enhance Qt5 compatibility
2012-09-22 02:21:06 -07:00
Wladimir J. van der Laan
38682648c2
Remove unnecessary text from tooltip in AddressBookPage
2012-09-22 08:37:56 +02:00
Wladimir J. van der Laan
1da09ab062
Merge pull request #1845 from Diapolo/fix_1843
...
fix #1843 by changing 2 GUI shortcuts
2012-09-21 12:59:31 -07:00
Wladimir J. van der Laan
e96a8c7d86
Merge pull request #1793 from Diapolo/fix_signed_unsigned_strprintf
...
fix signed/unsigned in strprintf and CNetAddr::GetByte()
2012-09-21 06:04:27 -07:00
Wladimir J. van der Laan
3ccbaa56f4
comment update: it's -> its
2012-09-21 14:15:26 +02:00
Wladimir J. van der Laan
1ba4925755
Merge pull request #1705 from Diapolo/cleanup_bitcoingui
...
Qt: re-order GUI code and remove FIRST_CLASS_MESSAGING
2012-09-20 23:08:52 -07:00
Wladimir J. van der Laan
2dca98511f
Merge pull request #1810 from laanwj/2012_09_rpcconsole_eventfilter
...
Improve RPC console key event behaviour
2012-09-20 23:02:52 -07:00
Wladimir J. van der Laan
bfc24bd4ce
Merge pull request #1717 from Diapolo/Qt_change_TX_display
...
Qt: show mined transactions at depth 1
2012-09-20 00:42:31 -07:00
Wladimir J. van der Laan
7fddf1210e
update comment, secure_allocator is defined in allocators.h
2012-09-15 12:10:00 +02:00
Wladimir J. van der Laan
8b1eb5687d
Merge pull request #1755 from osmosis79/patch-1
...
Update doc/build-unix.txt
2012-09-11 11:55:29 -07:00
Wladimir J. van der Laan
3b3d999618
Add format characters for (s)size_t and ptrdiff_t
2012-09-10 04:25:26 +02:00
Wladimir J. van der Laan
ac4e7f6269
HexStr: don't build a vector<char> first
...
Also const correctness for lookup tables in hex functions throughout the code.
2012-09-10 04:24:57 +02:00
Wladimir J. van der Laan
62904b33f3
Improve RPC console key event behaviour
...
- Paging using PageUp / PageDown now works when entry widget has focus
- Typing or pasting while the messages widget has focus auto-selects entry widget
2012-09-09 20:44:59 +02:00
Wladimir J. van der Laan
0e08efc54a
Merge pull request #1808 from laanwj/2012_09_serialize_deadcode
...
Remove VC6 comment and pointless #ifdef'd benchmark code
2012-09-09 11:20:04 -07:00
Wladimir J. van der Laan
b019ea17ec
Remove VC6 comment and pointless #ifdef'd benchmark code
...
We're in a wholly different world now, C++-compiler-wise.
Current std::stringstream implementations don't have the stated problem anymore,
and are just as fast as CDataStream.
The #ifdef'd block does not even compile anymore; CDataStream constructor changed,
and missing some std::. Also timing in whole seconds is also way too granular
to say anything sensible in such microbenchmarks. Just remove it,
it can always be found again in git history.
2012-09-09 17:24:00 +02:00
Wladimir J. van der Laan
963af6449f
Cleanup some unused macros from util.h
...
Encapsulate _snprintf/sprintf difference in implementation not header
2012-09-09 15:47:29 +02:00
Wladimir J. van der Laan
b0a90fbb0c
Add printf-style warnings to strprintf() and OutputDebugStringF()
...
This finds about ~150 potential problems with format characters on a 64 bit build.
2012-09-09 14:47:31 +02:00
Wladimir J. van der Laan
eabc8f2c81
Merge pull request #1803 from luke-jr/md2k7_license
...
Apply MIT license to md2k7 art
2012-09-09 01:58:00 -07:00
Wladimir J. van der Laan
d8ecd21ff7
Merge pull request #1802 from luke-jr/bugfix_ts
...
Update translations from Transifex (100% coverage for Finnish and Chinese (China)
2012-09-09 00:04:03 -07:00
Wladimir J. van der Laan
31fac119dc
Merge pull request #1796 from luke-jr/bugfix_ts
...
Various translation fixups and restorations
2012-09-07 22:15:19 -07:00
Wladimir J. van der Laan
5cb01b5714
Merge pull request #1799 from Diapolo/release-notes
...
small update to release-notes.txt
2012-09-07 07:44:08 -07:00
Wladimir J. van der Laan
db1967957d
Merge pull request #1798 from xanatos/patch-19
...
Wrong address added to collection in test (address1 instead of address2)
2012-09-07 07:13:23 -07:00
Wladimir J. van der Laan
7b1504ccb8
Merge pull request #1683 from Diapolo/Qt_Win_exe_version
...
Bitcoin-Qt (Windows only): add version info to Resource File
2012-09-07 07:12:58 -07:00
Wladimir J. van der Laan
b9a4aaad1e
Merge pull request #1726 from laanwj/2012_08_gitian_qt_styles
...
Remove unused styles on Windows from gitian qt build
2012-09-06 23:34:43 -07:00
Wladimir J. van der Laan
f106491fa2
Merge pull request #1786 from jgarzik/select-fix
...
select()'s first argument should be zero, if no file descriptors are selected
2012-09-06 23:30:22 -07:00
Wladimir J. van der Laan
97e02a8d52
Merge pull request #1792 from Diapolo/rem_double_errfunc
...
replace 2x WSAGetLastError() with 1x WSAGetLastError() call
2012-09-05 22:15:38 -07:00
Wladimir J. van der Laan
9d7da11458
Merge pull request #1743 from xanatos/patch-14
...
Changed nprev->pprev
2012-09-03 08:11:36 -07:00
Wladimir J. van der Laan
acbe4a1f32
Merge pull request #1728 from xanatos/patch-11
...
Removed duplicated lock
2012-09-03 08:00:18 -07:00
Wladimir J. van der Laan
9c80909452
Remove last occurrence of potentially insecure function sprintf.
...
%d can return up to 11 characters. Move away from fixed buffer completely and
use our own safe function strprintf.
2012-09-03 16:18:16 +02:00
Wladimir J. van der Laan
4d0c2b6cf4
Merge pull request #1761 from Diapolo/timeout_desc
...
add default value in -timeout description
2012-09-02 06:19:10 -07:00
Wladimir J. van der Laan
90489ae977
Merge pull request #1770 from laanwj/2012_08_rpcconsoleparsing2
...
RPC console: escaping within ' and " now handled differently
2012-09-01 00:10:00 -07:00
Wladimir J. van der Laan
9c94bdac06
RPC console: escaping within ' and " now handled differently
...
Should now mimic bash quoting and escaping (see http://wiki.bash-hackers.org/syntax/quoting ) exactly,
leaving out argument expansion and obscure syntax like $''.
2012-09-01 09:08:38 +02:00
Wladimir J. van der Laan
b5c1467a7d
In RPC console, attempt to format errors
...
Try to display a nicer message instead of dumping raw JSON object when possible. If the error
somehow doesn't have the required 'code' and 'message' fields, fall back to printing raw JSON object.
2012-08-31 17:41:58 +02:00
Wladimir J. van der Laan
576b5efe93
Fix RPC console parser to handle escaped arguments more like bash
...
- Fix issue #1750
2012-08-31 17:23:48 +02:00
Wladimir J. van der Laan
f78fd6f397
Merge pull request #1752 from Diapolo/bitcoind_ASLR_DEP
...
enable ASLR and DEP for bitcoind.exe via linker flags
2012-08-30 11:07:11 -07:00
Wladimir J. van der Laan
a65b53bf06
Merge pull request #1756 from Diapolo/pro_add_netbase_h
...
add missing netbase.h to Qt project-file
2012-08-30 10:20:32 -07:00
Wladimir J. van der Laan
4d1d94c56c
Rename CreateThread to NewThread
...
Prevent clash with win32 API symbol
2012-08-29 20:25:37 +02:00
Wladimir J. van der Laan
61d8507140
implement CreateThread with boost::thread
...
I'm not sure why this wasn't done before.
- Removes typedef of pthread_t on Windows, which fixes a native compile issue on mingw.
2012-08-29 20:02:07 +02:00
Wladimir J. van der Laan
74d36d44f2
Merge pull request #1754 from laanwj/2012_08_stringsupdate2
...
Update strings for 0.7.0rc2
2012-08-29 10:58:11 -07:00
Wladimir J. van der Laan
6117afeeaa
Update strings for 0.7.0rc2
2012-08-29 19:55:40 +02:00
Wladimir J. van der Laan
c7df832d7a
Merge pull request #1617 from Diapolo/Show_Hide_string
...
Update string for Show/Hide in the tray
2012-08-29 10:52:01 -07:00
Wladimir J. van der Laan
1b4bd4c976
Merge pull request #1731 from luke-jr/opt_ipv6
...
Optional IPv6 spaces cleanup
2012-08-29 10:50:46 -07:00
Wladimir J. van der Laan
fc52af2736
Merge pull request #1720 from Diapolo/Qt_about
...
Qt: add copyrightLabel to aboutdialog.ui
2012-08-29 10:50:17 -07:00
Wladimir J. van der Laan
29316f7bd0
Merge pull request #1751 from laanwj/2012_08_qtjsonspirit
...
Remove json/*.cpp from Qt build system
2012-08-28 23:30:46 -07:00
Wladimir J. van der Laan
3f37f20ddc
Remove json/*.cpp from Qt build system
...
They are unneeded as jsonspirit is always used as template library,
the other makefiles don't include them either.
2012-08-29 08:02:55 +02:00
Wladimir J. van der Laan
e598b5b5c2
Remove unused styles on Windows from gitian qt build
...
Keeps the "windows", "windowsxp", "windowsvista" styles.
Reduces the size of a static bitcoin-qt.exe by ~400 kB.
2012-08-28 19:27:31 +02:00
Wladimir J. van der Laan
ba7ba84f07
Add boost chrono lib for windows builds (required for boost 1.50)
2012-08-27 22:16:24 +02:00
Wladimir J. van der Laan
8f3f554053
Merge pull request #1724 from laanwj/2012_08_updtrans_cs
...
Update Czech translation from Transifex
2012-08-25 01:21:41 -07:00
Wladimir J. van der Laan
12324c1693
Update Czech translation from Transifex
2012-08-25 10:19:35 +02:00
Wladimir J. van der Laan
382b75f528
Override progress bar on platforms with segmented progress bars
...
Windows & WindowsXP style have a problem with displaying the block progress.
Add a custom stylesheet as workaround, but only when one of those renderers is active,
otherwise leave the theme alone (issue #1071 ).
2012-08-24 15:01:07 +02:00
Wladimir J. van der Laan
579d011738
Merge pull request #1713 from laanwj/2012_08_aboutqticon
...
Add icon for "About Qt" in menu
2012-08-23 13:03:14 -07:00
Wladimir J. van der Laan
05fa0de6d8
Add icon for "About Qt" in menu
...
Use the built-in icon that is also used in the dialog box itself.
2012-08-23 21:57:20 +02:00
Wladimir J. van der Laan
0b886ad1bd
Make CCrypter use LockedPageManager to manage locked pages
...
Replace direct calls to mlock.
Also, change the class to lock the memory areas in the constructor and unlock them again in the destructor. This makes sure that locked pages won't leak.
2012-08-23 06:55:35 +02:00
Wladimir J. van der Laan
e95568b78d
Handle locked pages more robustly (Fixes issue #1462 )
...
Memory locks do not stack, that is, pages which have been locked several times by calls to mlock()
will be unlocked by a single call to munlock(). This can result in keying material ending up in swap when
those functions are used naively. In this commit a class "LockedPageManager" is added
that simulates stacking memory locks by keeping a counter per page.
2012-08-23 06:55:35 +02:00
Wladimir J. van der Laan
fedd060d81
Merge pull request #1700 from laanwj/2012_08_testsotherfiles
...
bitcoin-qt.pro: Add test sources to OTHER_FILES
2012-08-22 10:49:38 -07:00
Wladimir J. van der Laan
4942b21203
bitcoin-qt.pro: Add test sources to OTHER_FILES so that they can be edited easier in Qt creator
...
- Also add src/version.h
2012-08-22 14:18:27 +02:00
Wladimir J. van der Laan
ba1cdb6883
Merge pull request #1701 from laanwj/2012_08_pull_transifex
...
Update translations from transifex
2012-08-22 05:09:29 -07:00
Wladimir J. van der Laan
d9725378b0
Update translations from transifex
2012-08-22 14:05:01 +02:00
Wladimir J. van der Laan
221497c61b
Merge pull request #1673 from Diapolo/Qt_Win_ASLR_DEP_linker_flag
...
Bitcoin-Qt (Windows only): add ASLR and DEP linker flags
2012-08-18 02:05:07 -07:00
Wladimir J. van der Laan
8765d20b1e
Merge pull request #1680 from Diapolo/add_message_on_blockimport
...
add splashscreen message when importing blocks via -loadblock
2012-08-17 11:29:43 -07:00
Wladimir J. van der Laan
a108d3defb
Merge pull request #1607 from Diapolo/Qt_Win_exe_desc
...
Bitcoin-Qt (Windows only): extend Resource File
2012-08-17 08:55:54 -07:00
Wladimir J. van der Laan
0825aee8f4
Merge pull request #1649 from Diapolo/optionsdialog
...
small UX update for optionsdialog
2012-08-13 21:17:39 -07:00
Wladimir J. van der Laan
a55ed9d5bb
Merge pull request #1614 from Diapolo/Qt_Win_enable_DEP
...
Bitcoin-Qt (Windows only): enable DEP for bitcoin-qt.exe
2012-08-13 21:01:17 -07:00
Wladimir J. van der Laan
b2ce93fe16
Merge pull request #1623 from Diapolo/pro-file-set-target
...
set TARGET = bitcoin-qt in project file
2012-08-12 23:21:16 -07:00
Wladimir J. van der Laan
c23b6fd688
Revert "Make this error message similar to the others"
...
This reverts commit dc1e5ad191 .
The new error message was not correct, as it refers to the total balance, not an account.
2012-08-12 21:35:39 +02:00
Wladimir J. van der Laan
198947c19f
Merge pull request #1661 from laanwj/2012_08_stringsupdate
...
Update English translation strings
2012-08-09 08:32:18 -07:00
Wladimir J. van der Laan
3a50cd2193
Update English translation strings
...
This is the last time for 0.7.0. We should avoid message changes
until the release. Translators can use the remaining time to update their languages on
Transifex.
The other languages need to be merged from Transifex just before release.
2012-08-07 21:10:03 +02:00
Wladimir J. van der Laan
c995995eb8
Merge pull request #1660 from fanquake/master
...
Change this error message to be similar to the others
2012-08-07 11:57:38 -07:00
Wladimir J. van der Laan
88bd012003
Merge pull request #1644 from Diapolo/update_translations
...
Translations update 2012-08-01 (fetched from Transifex)
2012-08-02 12:27:11 -07:00
Wladimir J. van der Laan
381e87cbd2
Merge pull request #1646 from Diapolo/only_upd_changed_vals
...
only update cached values in ClientModel::updateTimer() when they are changed, and set cached values before signal is emitted
2012-08-02 00:15:25 -07:00
Wladimir J. van der Laan
3c83387c29
Merge pull request #1635 from Diapolo/update_helpMessage
...
update HelpMessage()
2012-07-28 01:05:43 -07:00
Wladimir J. van der Laan
c1aed4eff4
Merge pull request #1594 from Diapolo/GUI_testnet3_fix
...
small update for BitcoinGUI::setNumBlocks() function
2012-07-27 05:54:19 -07:00
Wladimir J. van der Laan
2e53709f17
Merge pull request #1571 from Diapolo/optionsdialog_cleanup
...
GUI: optionsdialog cleanup
2012-07-27 04:08:03 -07:00
Wladimir J. van der Laan
701e1f5254
Merge pull request #1631 from laanwj/2012_07_translationsupdate
...
Update translation messages
2012-07-25 19:23:13 -07:00
Wladimir J. van der Laan
ebeafe5b0b
Update translation messages
...
- No core strings changed since last time
- Re-add line numbers in .ts file as this is marginally easier for translators (see #1227 )
2012-07-26 04:20:21 +02:00
Wladimir J. van der Laan
c32ad4594e
Merge pull request #1624 from Diapolo/fix_typo_log_file
...
fix typo "logfile" -> "log file"
2012-07-25 19:15:01 -07:00
Wladimir J. van der Laan
6892cb056d
Merge pull request #1630 from fanquake/master
...
Fix Typo
2012-07-25 19:09:49 -07:00
Wladimir J. van der Laan
12e5881c09
Merge pull request #1622 from fanquake/master
...
Fix Typos
2012-07-22 22:31:15 -07:00