Wladimir J. van der Laan
485d667748
Revert "Merge pull request #1931 from laanwj/2012_10_newicons"
...
This reverts commit 199d88cf90 , reversing
changes made to 65bc1573e7 .
License is worse instead of better. Will only accept public domain and
MIT-licensed icons from now on.
2012-10-14 20:49:06 +02:00
Wladimir J. van der Laan
199d88cf90
Merge pull request #1931 from laanwj/2012_10_newicons
...
Non-GPL Icons, v2
2012-10-14 07:52:21 -07:00
Wladimir J. van der Laan
65bc1573e7
Merge pull request #1922 from Diapolo/trans_en_master
...
Translation update for Bitcoin-Qt 0.7.1
2012-10-12 15:09:47 -07:00
Wladimir J. van der Laan
4bb25e48d7
Merge pull request #1921 from laanwj/2012_10_init_useafterfree
...
Fix a use-after-free problem in initialization (#1920 )
2012-10-11 18:28:47 -07:00
Wladimir J. van der Laan
22bb049011
Fix a use-after-free problem in initialization ( #1920 )
...
Don't store the result of c_str().
Luckily, this only affects logging, though it could crash or leak
sensitive data to the log in rare cases.
2012-10-12 03:09:05 +02:00
Wladimir J. van der Laan
16f3618c13
Merge pull request #1879 from sipa/fdatasync
...
Use fdatasync instead of fsync on supported platforms
2012-10-11 00:42:47 -07:00
Wladimir J. van der Laan
24694e24ed
Merge pull request #1913 from sipa/noi2p
...
Remove I2P support from netbase
2012-10-11 00:41:33 -07:00
Wladimir J. van der Laan
fae3989ffc
Merge pull request #1900 from Diapolo/optionsmodel_getters
...
move most explicit getters in optionsmodel to header
2012-10-11 00:40:20 -07:00
Wladimir J. van der Laan
089b10a28a
Merge pull request #1911 from Diapolo/fix_signed_unsigned
...
fix wrong (signed/unsigned) printf format specifier in bitcoinrpc.cpp
2012-10-11 00:40:08 -07:00
Wladimir J. van der Laan
ac0ad5dc63
Merge pull request #1901 from laanwj/2012_10_remove_strlcpy
...
get rid of strlcpy.h
2012-10-11 00:39:51 -07:00
Wladimir J. van der Laan
0a5ce30bc1
Merge pull request #1915 from Diapolo/Qt5_compat_leftover
...
change Q_WS_MAC -> Q_OS_MAC (Qt5 compatibility)
2012-10-08 22:28:24 -07:00
Wladimir J. van der Laan
6032e4f4e7
get rid of strlcpy.h
...
Don't use hand-rolled string manipulation routine with a fixed
buffer in the bitcoin core, instead make use of c++ strings and boost.
2012-10-07 14:38:37 +02:00
Wladimir J. van der Laan
ee0b648536
Merge pull request #1906 from laanwj/2012_10_help_stdout
...
Send --help message to stdout i.s.o stderr
2012-10-05 11:24:09 -07:00
Wladimir J. van der Laan
a6be58d536
Merge pull request #1905 from laanwj/2012_10_startup_gui_error
...
When datadir missing, show messagebox instead of printing error to stderr
2012-10-04 22:28:44 -07:00
Wladimir J. van der Laan
285746d3db
Add constants for HTTP status codes
2012-10-04 15:49:15 +02:00
Wladimir J. van der Laan
738835d7b8
Document RPC error codes
...
Replace all "magic values" in RPCError(...) by constants.
2012-10-04 15:49:15 +02:00
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
c0b130b79b
Merge pull request #1907 from laanwj/2012_10_translations
...
Translation update for 0.7.1
2012-10-04 01:49:25 -07:00
Wladimir J. van der Laan
366944431b
Pull changed translations from transifex
...
There was also a new translation available, "ja" (Japanese), however
almost nothing was filled in yet, so I'm not including it for this release.
2012-10-04 08:18:12 +02:00
Wladimir J. van der Laan
f1e262c8e1
Translation update for 0.7.1
...
Also clarify translation process that the package `gettext` is needed to run string extractor.
2012-10-04 08:13:37 +02:00
Wladimir J. van der Laan
bb353618f1
Send --help message to stdout i.s.o stderr
...
This allows fun stuff such as `bitcoin --help | less`, and more
easy piping to files.
Looking at other tools such as bash, gcc, they all send their help
text to stdout.
2012-10-04 07:56:57 +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