aboutsummaryrefslogtreecommitdiff
path: root/contrib/devtools
Commit message (Collapse)AuthorAgeFilesLines
* really s/doge/dis/g this timeTomo Ueda2021-09-021-6/+6
|
* Rename and update man pages (#1451)Ross Nicoll2019-03-251-6/+6
|
* Merge #9675: Fix typo and spelling inconsistency in CONTRIBUTING.mdWladimir J. van der Laan2017-02-161-1/+1
|\ | | | | | | 36164fa Fix typo and spelling inconsistency in CONTRIBUTING.md (Koki Takahashi)
| * Fix typo and spelling inconsistency in CONTRIBUTING.mdKoki Takahashi2017-02-091-1/+1
| | | | | | | | | | | | | | | | Fix spellings of GitHub Remove unnecessary changes Fix GitHub spelling on doc/translation_process.md
* | devtools: Handle Qt formatting characters edge-case in update-translations.pyWladimir J. van der Laan2017-02-101-0/+8
|/ | | | | | | | | | If both numeric format specifiers and "others" are used, assume we're dealing with a Qt-formatted message. In the case of Qt formatting (see https://doc.qt.io/qt-5/qstring.html#arg) only numeric formats are replaced at all. This means "(percentage: %1%)" is valid (which was introduced in #9461), without needing any kind of escaping that would be necessary for strprintf. Without this, this function would wrongly detect '%)' as a printf format specifier.
* [doc] Remove unused clang format dev scriptMarcoFalke2017-01-282-67/+1
| | | | | Also, update the clang format file to reflect the current coding style mentioned in the developer notes.
* Remove redundant semicolons in Python codepracticalswift2017-01-202-3/+3
|
* Remove unused Python importspracticalswift2017-01-132-2/+1
|
* Increment MIT Licence copyright header year on files modified in 2016isle29832016-12-312-2/+2
| | | | | | Edited via: $ contrib/devtools/copyright_header.py update .
* [copyright] copyright header style uniformisle29832016-11-061-1/+1
| | | | | | | | | | | | | | | | | | | | | | | Three categories of modifications: 1) 1 instance of 'The Bitcoin Core developers \n', 1 instance of 'the Bitcoin Core developers\n', 3 instances of 'Bitcoin Core Developers\n', and 12 instances of 'The Bitcoin developers\n' are made uniform with the 443 instances of 'The Bitcoin Core developers\n' 2) 3 instances of 'BitPay, Inc\.\n' are made uniform with the other 6 instances of 'BitPay Inc\.\n' 3) 4 instances where there was no '(c)' between the 'Copyright' and the year where it deviates from the style of the local directory.
* Merge #8674: tools for analyzing, updating and adding copyright headers in ↵Wladimir J. van der Laan2016-11-023-76/+662
|\ | | | | | | | | | | source files 159597a [devtools] script support for managing source file copyright headers (isle2983)
| * [devtools] script support for managing source file copyright headersisle29832016-09-103-76/+662
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Three subcommands to this script: 1) ./copyright_header.py report Examines git-tracked files with extensions that match: INCLUDE = ['*.h', '*.cpp', '*.cc', '*.c', '*.py'] Helps to: -> Identify source files without copyright -> Identify source files added with something other than "The Bitcoin Core developers" holder so we can be sure it is appropriate -> Identify unintentional typos in the copyright line 2) ./copyright_header.py update Replaces fix-copyright-headers.py. It does file editing in native python rather than subprocessing out to perl as was the case with fix-copyright-headers.py. It also shares code with the 'report' functions. 3) ./copyright_header.py insert Inserts a copyright header into a source file with the proper format and dates.
* | Merge #8249: Enable (and check for) 64-bit ASLR on WindowsWladimir J. van der Laan2016-09-261-8/+40
|\ \ | | | | | | | | | | | | 62c2915 build: supply `-Wl,--high-entropy-va` (Wladimir J. van der Laan) 9a75d29 devtools: Check for high-entropy ASLR in 64-bit PE executables (Wladimir J. van der Laan)
| * | devtools: Check for high-entropy ASLR in 64-bit PE executablesWladimir J. van der Laan2016-09-261-8/+40
| | | | | | | | | | | | | | | check_PE_PIE only checked for DYNAMIC_BASE, this is not enough for (secure) ASLR on 64-bit.
* | | Merge #8700: [copyright] add MIT license headers to .sh scripts where missingWladimir J. van der Laan2016-09-201-0/+3
|\ \ \ | | | | | | | | | | | | 0766d1c [copyright] add MIT license headers to .sh scripts where missing (isle2983)
| * | | [copyright] add MIT license headers to .sh scripts where missingisle29832016-09-111-0/+3
| | |/ | |/| | | | | | | Years are set according to 'git log' history
* | | Merge #8676: Add missing copyright headersWladimir J. van der Laan2016-09-191-0/+3
|\ \ \ | | | | | | | | | | | | 783e930 [copyright] Add missing copyright headers (isle2983)
| * | | [copyright] Add missing copyright headersisle29832016-09-111-0/+3
| |/ /
* | | Merge #8702: [copyright] add MIT License copyright header to remaining ↵Wladimir J. van der Laan2016-09-192-0/+6
|\ \ \ | | | | | | | | | | | | | | | | | | | | Python files 4677b19 [copyright] add MIT License copyright header to remaining Python files (isle2983)
| * | | [copyright] add MIT License copyright header to remaining Python filesisle29832016-09-112-0/+6
| |/ /
* | | Merge #8608: Install manpages via make install, also add some autogenerated ↵Wladimir J. van der Laan2016-09-132-0/+35
|\ \ \ | |/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | manpages d19583f improved gen-manpages.sh, includes bitcoin-tx and strips commit tag, now also runs binaries from build dir by default, added variables for more control (nomnombtc) 09546ca regenerated all manpages with commit tag stripped, also add bitcoin-tx (nomnombtc) ae6e754 change help string --enable-man to --disable-man (nomnombtc) a32c102 add conditional for --enable-man, default is yes (nomnombtc) dc84b6f add doc/man to subdir if configure flag --enable-man is set (nomnombtc) 00dba72 add doc/man/Makefile.am to include manpages (nomnombtc) eb5643b add autogenerated manpages by help2man (nomnombtc) 6edf2fd add gen-manpages.sh description to README.md (nomnombtc) d2cd9c0 add script to generate manpages with help2man (nomnombtc)
| * | improved gen-manpages.sh, includes bitcoin-tx and strips commit tag, now ↵nomnombtc2016-09-011-9/+20
| | | | | | | | | | | | also runs binaries from build dir by default, added variables for more control
| * | add gen-manpages.sh description to README.mdnomnombtc2016-08-271-0/+6
| | |
| * | add script to generate manpages with help2mannomnombtc2016-08-271-0/+18
| | |
* | | Merge #8621: [contrib] python: Don't use shell=TrueWladimir J. van der Laan2016-08-311-28/+49
|\ \ \ | | | | | | | | | | | | fa994a7 contrib: Don't use shell=True (MarcoFalke)
| * | | contrib: Don't use shell=TrueMarcoFalke2016-08-281-28/+49
| | | |
* | | | Merge #8607: [doc] Fix doxygen off-by-one comments, fix typosWladimir J. van der Laan2016-08-281-1/+1
|\| | | | |/ / |/| | | | | | | | | | | | | | fafe7b3 contrib: Make fix-copyright-headers.py more portable (MarcoFalke) fa27c0a [doc] Fix typos in comments, doxygen: Fix comment syntax (MarcoFalke) fabfd5d [qa] pull-tester: Don't mute zmq ImportError (MarcoFalke) 67a5502 init: Fix typo in help message for -whitelistforcerelay (Wladimir J. van der Laan)
| * | contrib: Make fix-copyright-headers.py more portableMarcoFalke2016-08-221-1/+1
| | |
* | | Merge #8545: [doc] Update git-subtree-check.sh READMEPieter Wuille2016-08-261-1/+2
|\| | | | | | | | | | | fa3d974 [doc] Update git-subtree-check.sh README (MarcoFalke)
| * | [doc] Update git-subtree-check.sh READMEMarcoFalke2016-08-191-1/+2
| | |
* | | Merge #8270: Tests: Use portable #! in python scripts (/usr/bin/env)MarcoFalke2016-08-154-4/+4
|\ \ \ | | | | | | | | | | | | | | | | 7b01ce2 Favour python over python2 as per PR #7723 (Matthew King) 873e81f Use portable #! in python scripts (/usr/bin/env) (Matthew King)
| * | | Favour python over python2 as per PR #7723Matthew King2016-06-282-2/+2
| | | |
| * | | Use portable #! in python scripts (/usr/bin/env)Matthew King2016-06-264-4/+4
| |/ /
* / / Add warning if -blockminsize is used.Suhas Daftuar2016-07-051-1/+1
|/ /
* / [qa] Add rpc test for segwitAlex Morcos2016-06-221-1/+1
|/ | | | | | | Amended by Pieter Wuille to use multisig 1-of-1 for P2WSH tests, and BIP9 based switchover logic. Fixes and py3 conversion by Marco Falke.
* build: add armhf/aarch64 gitian buildsCory Fields2016-06-101-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | - create a script to handle split debug. This will also eventually need to check targets, and use dsymutil for osx. - update config.guess/config.sub for bdb for aarch64. - temporarily disable symbol checks for arm/aarch64 - quit renaming to linux32/linux64 and use the host directly This also adds a hack to work around an Ubuntu bug in the gcc-multilib package: https://bugs.launchpad.net/ubuntu/+source/gcc-defaults-armhf-cross/+bug/1347820 The problem is that gcc-multilib conflicts with the aarch toolchain. gcc-multilib installs a symlink that points /usr/include/asm -> /usr/include/x86_64-linux-gnu/asm. Without this link, gcc -m32 can't find asm/errno.h (and others), since /usr/include/x86_64-linux-gnu isn't in its default include path. But /usr/include/i386-linux-gnu is (though it doesn't exist on disk). So work around the problem by linking /usr/include/i386-linux-gnu/asm -> /usr/include/x86_64-linux-gnu/asm. The symlink fix is actually quite reasonable, but echoing the password into sudo is nasty, and should probably be addressed in gitian itself. It makes more sense to enable passwordless sudo for the build user by default.
* [doc] Update bitcoin-core GitHub linksMarcoFalke2016-04-291-3/+3
|
* devtools: Auto-set branch to merge to in github-mergeWladimir J. van der Laan2016-04-021-12/+22
| | | | | | | | | | | | As we are already using the API to retrieve the pull request title, also retrieve the base branch. This makes sure that pull requests for 0.12 automatically end up in 0.12, and pull requests for master automatically end up in master, and so on. It is still possible to override the branch from the command line or using the `githubmerge.branch` git option.
* Merge #7723: build: python 3 compatibilityWladimir J. van der Laan2016-03-292-48/+49
|\ | | | | | | 18f05c7 build: python 3 compatibility (Wladimir J. van der Laan)
| * build: python 3 compatibilityWladimir J. van der Laan2016-03-292-48/+49
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Ubuntu 16.04 "xenial xerus" does not come with Python 2.x by default. It is possible to install a python-2.7 package, but this has its own problem: no `python` or `python2` symlink (see #7717). This fixes the following scripts to work with python 3: - `make check` (bctest,py, bitcoin-util-test.py) - `make translate` (extract_strings_qt.py) - `make symbols-check` (symbol-check.py) - `make security-check` (security-check.py) Explicitly call the python commands using $(PYTHON) instead of relying on the interpreter line at the top of the scripts.
* | devtools: make github-merge.py use py3Wladimir J. van der Laan2016-03-231-7/+13
|/ | | | | | | | | | | | | | This makes github-merge.py the first developer tool to go all Python 3 (for context see #7717). The changes are straightforward as the script already was `from __future__ import division,print_function,unicode_literals`. However urllib2 changed name, and json will only accept unicode data not bytes. This retains py2 compatibility for now: not strictly necessary as it's not used by the build system - but it was easy.
* Blacklist -whitelistalwaysrelay; replaced by -whitelistrelay.Gregory Maxwell2016-02-011-1/+1
|
* devtools: Fix utf-8 support in messages for github-mergeWladimir J. van der Laan2016-01-271-3/+3
| | | | | | | | Use 'utf-8' instead of the Python 2 default of 'ascii' to encode/decode commit messages. This can be removed when switching to Python 3, as 'utf-8' is the default there. Necessary for merging #7422 due to the ฿ in ฿tcDrak.
* release: add _IO_stdin_used to ignored exportsCory Fields2016-01-261-1/+4
| | | | For details see: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=634261#109
* release: fix parsing of BIND_NOW with older readelfCory Fields2016-01-261-1/+1
|
* Merge #7402: [devtools] github-merge get toplevel dir without extra whitespaceWladimir J. van der Laan2016-01-251-1/+1
|\ | | | | | | 5ed2f16 [devtools] github-merge get toplevel dir without extra whitespace (Andrew C)
| * [devtools] github-merge get toplevel dir without extra whitespaceAndrew C2016-01-251-1/+1
| | | | | | | | Fixes a bug in github merge when it runs the tests where the toplevel directory has an extra '\n' appended to the path string. Now it doesn't.
* | devtools: show pull and commit information in github-mergeWladimir J. van der Laan2016-01-221-0/+12
|/ | | | | Print the number and title of the pull, as well as the commits to be merged.
* devtools: replace github-merge with python versionWladimir J. van der Laan2016-01-203-187/+225
| | | | | | | | This is meant to be a direct translation of the bash script, with the difference that it retrieves the PR title from github, thus creating pull messages like: Merge #12345: Expose transaction temperature over RPC
* Merge pull request #7280Wladimir J. van der Laan2016-01-192-0/+51
|\ | | | | | | | | faeda0e [travis] Run contrib/devtools/check-doc.py early (MarcoFalke) fada0c9 [travis] Fail when documentation is outdated (MarcoFalke)