Commit Graph

402 Commits (78fd3c2672400fb958f2d25ddd40955c7deed4cd)

Author SHA1 Message Date
practicalswift 4de11a3682 Remove Python 2 import workarounds
6 years ago
Daniel Ingram 17b55202da Compare to None with is/is not
6 years ago
Daniel Ingram 1b89074ae2 Change '== None' to 'is None'
6 years ago
Daniel Ingram 16d2937723 Handle exception as ImportError
6 years ago
Craig Younkins af1ed206f8 Fix broken Gmane URLs
6 years ago
Cornelius Schumacher af9a9918b2 Fix detection of copyright holders
6 years ago
Chun Kuan Lee 5d62dcf9cf lint: Make sure we read the command line inputs using utf-8 decoding in python
6 years ago
Chun Kuan Lee c516c3a770 [contrib] Support ARM and RISC-V symbol check
6 years ago
Wladimir J. van der Laan 78dae8cacc
Merge #13780: 0.17: Pre-branch maintenance
6 years ago
DrahtBot eb7daf4d60 Update copyright headers to 2018
6 years ago
Chun Kuan Lee 1e60713a68 contrib: Fix test-security-check fail in Ubuntu 18.04
6 years ago
Conrado Gouvea 37d363dd4a
Tools: fix BIND_NOW check in security-check.py
6 years ago
Wladimir J. van der Laan dcb154e5aa
Merge #13177: GCC-7 and glibc-2.27 back compat code
6 years ago
DesWurstes 000000035b Obsolete #!/bin/bash shebang
7 years ago
Wladimir J. van der Laan 45c00f8416
Merge #13454: Make sure LC_ALL=C is set in all shell scripts
7 years ago
practicalswift 3352da8da1 Add "export LC_ALL=C" to all shell scripts
7 years ago
practicalswift 634bd97001 Explicitly specify encoding when opening text files in Python code
7 years ago
Max Kaplan 85f0135eae
utils: checking for bitcoin addresses in translations
7 years ago
Chun Kuan Lee 253f592909 Add stdin, stdout, stderr to ignored export list
7 years ago
fanquake 93843f6891
doc: remove leftover check-doc documentation
7 years ago
Wladimir J. van der Laan 2ac6315f44
Merge #13281: test: Move linters to test/lint, add readme
7 years ago
MarcoFalke fa3c910bfe
test: Move linters to test/lint, add readme
7 years ago
MarcoFalke d792e47421
Merge #13228: Add script to detect circular dependencies between source modules
7 years ago
Pieter Wuille a7b295e91e Add circular dependencies script
7 years ago
practicalswift 506c5785fb Enable Travis checking for two Python linting rules we are currently not violating
7 years ago
John Bampton 0d31ef4762 Enable W191 and W291 flake8 checks.
7 years ago
Andrew Chow 4d4185a4f0 Make gArgs aware of the arguments
7 years ago
Wladimir J. van der Laan bf9b03ddcc
Merge #13094: tests: Add test for 64-bit Windows PE, modify 32-bit test results
7 years ago
MarcoFalke 4b75dcf0ec devtools: Make linter check LogPrint calls
7 years ago
Chun Kuan Lee ab3f4dd27f tests: Add test for 64-bit PE, modify 32-bit test results
7 years ago
MarcoFalke 07825088f9
Merge #12972: Add python3 script shebang lint
7 years ago
practicalswift 643aad17fa Enable additional flake8 rules
7 years ago
practicalswift f020aca297 Minor Python cleanups to make flake8 pass with the new rules enabled
7 years ago
John Newbery 2bff472992 [contrib] convert test-security-check to python3
7 years ago
practicalswift 958bf40489 add lint tool to check python3 shebang
7 years ago
MarcoFalke 3cf76c23fb
Merge #12933: doc: Refine header include policy
7 years ago
practicalswift 1499fdc350 Add shell script linting: Check for shellcheck warnings in shell scripts
7 years ago
MarcoFalke fad0fc3c9a
Refine travis check for duplicate includes
7 years ago
Wladimir J. van der Laan ebd786b72a
Merge #12852: [doc] devtools: Setup ots git integration
7 years ago
MarcoFalke fa385c3a8b
[doc] devtools: Setup ots git integration
7 years ago
practicalswift c36b720d00 Add Travis check for duplicate includes
7 years ago
Wladimir J. van der Laan 3190785c11
Merge #12891: [logging] add lint-logs.sh to check for newline termination.
7 years ago
John Newbery d207207fd3 [logging] add lint-logs.sh to check for newline termination.
7 years ago
practicalswift d1b622b5a2 tests: Add check for test suite name uniqueness in lint-tests.sh
7 years ago
MarcoFalke 0c5f67b8e5
Merge #12757: Clarify include guard naming convention
7 years ago
MarcoFalke 9beded5860
Merge #12719: tests: Add note about test suite naming convention in developer-notes.md
7 years ago
MarcoFalke fa5825d610
Merge #12284: Remove assigned but never used local variables. Enable Travis checking for unused local variables.
7 years ago
MarcoFalke 5e53b80b02
Merge #12820: contrib: Fix check-doc script regexes
7 years ago
Wladimir J. van der Laan 252c1b0fae
Merge #12829: Python3 fixup
7 years ago
practicalswift ea04bf7862 Enable flake8 warning F841 ("local variable 'foo' is assigned to but never used")
7 years ago
practicalswift 169f3e8637 Remove assigned but never used local variables
7 years ago
John Newbery f50975b136 [contrib] fixup symbol-check.py Python3 support
7 years ago
John Newbery 5de2b18c67 [contrib] fixup security-check.py Python3 support
7 years ago
MarcoFalke 05120ee755 contrib: Remove unused import string
7 years ago
MarcoFalke 136084470c contrib: Fix check-doc script regexes
7 years ago
John Newbery bc6fdf2d15 Change all python files to use Python3
7 years ago
practicalswift 3bcc0059b8 Add lint-include-guards.sh which checks include guard consistency
7 years ago
practicalswift db983beba6 tests: Add lint-tests.sh which checks the test suite naming convention
7 years ago
MarcoFalke d8d9162f5b
Merge #12572: [script] lint-whitespace: find errors more easily
7 years ago
Wladimir J. van der Laan 17c44b208f
Merge #12098: [scripts] lint-whitespace: add param to check last N commits
7 years ago
Wladimir J. van der Laan 14475e2dcd
Merge #12097: [scripts] lint-whitespace: use perl instead of grep -P
7 years ago
Akio Nakamura 0fbed98e42 [script] lint-whitespace: improve print linenumber
7 years ago
MarcoFalke dcfe218626
Merge #12308: contrib: Add support for out-of-tree builds in gen-manpages.sh
7 years ago
MarcoFalke fafbf7f74e
devtools: Exclude patches from lint-whitespace
7 years ago
Wladimir J. van der Laan 526e28220a contrib: Add support for out-of-tree builds in gen-manpages.sh
7 years ago
practicalswift a9d0ebc262 Enable flake8 warnings for all currently non-violated rules
7 years ago
practicalswift 0b9207efbe Enable flake8 warning for "list comprehension redefines 'foo' from line N" (F812)
7 years ago
Sjors Provoost 8dbf740f80
[scripts] lint-whitespace: check last N commits or unstaged changes
7 years ago
Sjors Provoost 40b17f5f91
[scripts] lint-whitespace: use perl instead of grep -P
7 years ago
MarcoFalke c991b304de
Merge #12075: [scripts] Add missing univalue file to copyright_header.py
7 years ago
Akira Takizawa 595a7bab23 Increment MIT Licence copyright header year on files modified in 2017
7 years ago
fanquake 415f86c6ae
[scripts] Add missing univalue file to copyright_header.py
7 years ago
practicalswift d60b320740 Add Travis check for unused Python imports
7 years ago
Pieter Wuille c17f11f7b4
Merge #10773: Shell script cleanups
7 years ago
MarcoFalke 6e4e98ee8c
Merge #11394: Perform a weaker subtree check in Travis
7 years ago
MarcoFalke fa0025dc3c Revert "Remove unused variable in shell script"
7 years ago
Wladimir J. van der Laan 23e9074e0a
Merge #10771: Remove unused variables in shell scripts
7 years ago
practicalswift 193c2fb4c8 Use bash instead of POSIX sh. POSIX sh does not support arrays.
7 years ago
Pieter Wuille e1d0cc23a9 Improve git-subtree-check.sh
7 years ago
MarcoFalke fae2673d5d qa: check-rpc-mapping must not run on empty lists
7 years ago
Wladimir J. van der Laan 96d91b79bd
contrib: Ignore historical release notes for whitespace check
7 years ago
MeshCollider 1f379b1f06 Add tab char lint check and exclude imported dependencies
7 years ago
Evan Klitzke dd365612fd Add a lint check for trailing whitespace.
7 years ago
MarcoFalke 7fcd61b261
Merge #10753: test: Check RPC argument mapping
7 years ago
MeshCollider 7d03418aea Add -usehd to excluded args in check-doc.py
7 years ago
Wladimir J. van der Laan 77aa9e59ea test: Check RPC argument mapping
7 years ago
Wladimir J. van der Laan dabee00ef1 github-merge: Coalesce git fetches
7 years ago
practicalswift 51cb6b8221 Use print(...) instead of undefined printf(...)
7 years ago
practicalswift 25cd520fc4 Use sys.exit(...) instead of exit(...): exit(...) should not be used in programs
7 years ago
practicalswift ab8e8b97a3 Remove unused variables in shell scripts.
7 years ago
Pieter Wuille 8842d1a5d4 Add undocumented -forcecompactdb to force LevelDB compactions
7 years ago
Pieter Wuille 475c08cb44 Add PR description to merge commit in github-merge.py
7 years ago
Pieter Wuille eaca1b7b08 Random db flush crash simulator
7 years ago
MarcoFalke fab9b60fbd doc: Remove outdated minrelaytxfee comment
8 years ago
Wladimir J. van der Laan fbf5d3ba15
Merge #10480: Improve commit-check-script.sh
8 years ago
Wladimir J. van der Laan 1983c8772c devtools: Retry after signing fails in github-merge
8 years ago
Pieter Wuille 5432fc3d59 Fail on commit with VERIFY SCRIPT but no scripted-diff
8 years ago
Wladimir J. van der Laan eb8263bdc9
Merge #10317: Remove unused Python imports
8 years ago
Cory Fields e50c33ea27 devtools: add script to verify scriptable changes
8 years ago
practicalswift 0c60c63de0 Remove unused Python imports
8 years ago
Wladimir J. van der Laan b508424104 contrib: github-merge improvements
8 years ago
John Newbery c28ee91db0 Rename rpc-tests directory to functional
8 years ago
John Newbery 00902c48cd Rename qa directory to test
8 years ago
Wladimir J. van der Laan a327e8ea30 devtools: Make github-merge compute SHA512 from git, instead of worktree
8 years ago
Wladimir J. van der Laan 30ff3a2fc9
Merge #9602: Remove coin age priority and free transactions - implementation
8 years ago
Wladimir J. van der Laan 309bf16257
devtools: Fix a syntax error typo
8 years ago
Wladimir J. van der Laan 4df8213b98
Merge #9880: Verify Tree-SHA512s in merge commits, enforce sigs are not SHA1
8 years ago
MarcoFalke fa7da3fd96 [contrib] gh-merge: Move second sha512 check to before signing
8 years ago
Matt Corallo be908a69bf Fail merge if there are any symlinks
8 years ago
MarcoFalke ddf58c7573 wallet: Remove sendfree
8 years ago
Pieter Wuille fa89670d34 Add SHA512 tree hash to merge commits
8 years ago
Wladimir J. van der Laan afae75fd3d
Merge #9675: Fix typo and spelling inconsistency in CONTRIBUTING.md
8 years ago
Wladimir J. van der Laan 5e903a5ed9 devtools: Handle Qt formatting characters edge-case in update-translations.py
8 years ago
Koki Takahashi 36164faa33 Fix typo and spelling inconsistency in CONTRIBUTING.md
8 years ago
MarcoFalke fa5137c11d [doc] Remove unused clang format dev script
8 years ago
practicalswift 5cdf10611f Remove redundant semicolons in Python code
8 years ago
practicalswift 95bab821b3 Remove unused Python imports
8 years ago
isle2983 27765b6403 Increment MIT Licence copyright header year on files modified in 2016
8 years ago
isle2983 4b04e32c20 [copyright] copyright header style uniform
8 years ago
Wladimir J. van der Laan bae81b83d6
Merge #8674: tools for analyzing, updating and adding copyright headers in source files
8 years ago
Wladimir J. van der Laan 4e1567acff
Merge #8249: Enable (and check for) 64-bit ASLR on Windows
8 years ago
Wladimir J. van der Laan 9a75d29b6f devtools: Check for high-entropy ASLR in 64-bit PE executables
8 years ago
Wladimir J. van der Laan 82eacc786d
Merge #8700: [copyright] add MIT license headers to .sh scripts where missing
8 years ago
Wladimir J. van der Laan d8b4b631c5
Merge #8676: Add missing copyright headers
8 years ago
Wladimir J. van der Laan 894c0ad9a9
Merge #8702: [copyright] add MIT License copyright header to remaining Python files
8 years ago
Wladimir J. van der Laan 7e9ab9555c
Merge #8608: Install manpages via make install, also add some autogenerated manpages
8 years ago
isle2983 4677b197f7 [copyright] add MIT License copyright header to remaining Python files
8 years ago
isle2983 783e930e68 [copyright] Add missing copyright headers
8 years ago
isle2983 0766d1cac3 [copyright] add MIT license headers to .sh scripts where missing
8 years ago
isle2983 159597a2b8 [devtools] script support for managing source file copyright headers
8 years ago
nomnombtc d19583f478 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
8 years ago
Wladimir J. van der Laan e8ed6eb457
Merge #8621: [contrib] python: Don't use shell=True
8 years ago
MarcoFalke fa994a7b8e contrib: Don't use shell=True
8 years ago
Wladimir J. van der Laan a5bb6387f7
Merge #8607: [doc] Fix doxygen off-by-one comments, fix typos
8 years ago
nomnombtc 6edf2fdb85 add gen-manpages.sh description to README.md
8 years ago
nomnombtc d2cd9c033b add script to generate manpages with help2man
8 years ago
Pieter Wuille c072b8fd95
Merge #8545: [doc] Update git-subtree-check.sh README
8 years ago
MarcoFalke fafe7b3432 contrib: Make fix-copyright-headers.py more portable
8 years ago
MarcoFalke fa3d974009 [doc] Update git-subtree-check.sh README
8 years ago
MarcoFalke 6e5e5abba6
Merge #8270: Tests: Use portable #! in python scripts (/usr/bin/env)
8 years ago
Suhas Daftuar c1d61fbd08 Add warning if -blockminsize is used.
8 years ago
Matthew King 7b01ce254c Favour python over python2 as per PR #7723
9 years ago
Matthew King 873e81f89b Use portable #! in python scripts (/usr/bin/env)
9 years ago
Alex Morcos 4f7ff00497 [qa] Add rpc test for segwit
9 years ago
Cory Fields 9d25362087 build: add armhf/aarch64 gitian builds
9 years ago
MarcoFalke faf3d11ad7 [doc] Update bitcoin-core GitHub links
9 years ago
Wladimir J. van der Laan 10d3ae102a devtools: Auto-set branch to merge to in github-merge
9 years ago
Wladimir J. van der Laan 5131005e5b
Merge #7723: build: python 3 compatibility
9 years ago
Wladimir J. van der Laan 18f05c765c build: python 3 compatibility
9 years ago
Wladimir J. van der Laan f11c5a3cbd devtools: make github-merge.py use py3
9 years ago
Gregory Maxwell 89d113e02a Blacklist -whitelistalwaysrelay; replaced by -whitelistrelay.
9 years ago
Wladimir J. van der Laan c8a6c11d6d devtools: Fix utf-8 support in messages for github-merge
9 years ago
Cory Fields 475813ba5b release: add _IO_stdin_used to ignored exports
9 years ago
Cory Fields cd27bf51e0 release: fix parsing of BIND_NOW with older readelf
9 years ago
Wladimir J. van der Laan 6a5932bf2a
Merge #7402: [devtools] github-merge get toplevel dir without extra whitespace
9 years ago
Andrew C 5ed2f16480 [devtools] github-merge get toplevel dir without extra whitespace
9 years ago
Wladimir J. van der Laan 17b5d3896f devtools: show pull and commit information in github-merge
9 years ago
Wladimir J. van der Laan da6d18b6c7 devtools: replace github-merge with python version
9 years ago
Wladimir J. van der Laan 668906fcf2
Merge pull request #7280
9 years ago
MarcoFalke faeda0e677 [travis] Run contrib/devtools/check-doc.py early
9 years ago
Wladimir J. van der Laan b8f485c472
Merge pull request #7304
9 years ago
calebogden 0331aa350c Fixing typos on security-check.py and torcontrol.cpp
9 years ago
MarcoFalke fa074a6fd0 [contrib] Prepare clang-format-diff for usage
9 years ago
MarcoFalke fa4f4b6974 Add clang-format-diff.py from the LLVM svn
9 years ago
Wladimir J. van der Laan 605c17844e
Merge pull request #7205
9 years ago
MarcoFalke fada0c90b6 [travis] Fail when documentation is outdated
9 years ago
Wladimir J. van der Laan 45d13abf4e
Merge pull request #7253
9 years ago
MarcoFalke fa71669452 [devtools] Use git pretty-format for year parsing
9 years ago
Luke Dashjr 0d595894f0 Bugfix: update-translations: Allow numerus translations to omit %n specifier (usually when it only has one possible value)
9 years ago
MarcoFalke fa6ad855e9 [devtools] Rewrite fix-copyright-headers.py
9 years ago
MarcoFalke fad246037f Update contrib/devtools/README.md
9 years ago
Wladimir J. van der Laan 93236c0455
qt: Final translation update before 0.12 fork
9 years ago
Wladimir J. van der Laan 9f251b7a9d devtools: add libraries for bitcoin-qt to symbol check
9 years ago
MarcoFalke 0af8fe45ae devtools: Update README.md
9 years ago
Wladimir J. van der Laan fa1d252e82
Merge pull request #6790
9 years ago
Wladimir J. van der Laan 579b863cd7 devtools: Add security-check.py
9 years ago
MarcoFalke 8c15f33d15 [trivial] Update contrib/devtools/README.md
9 years ago
MarcoFalke 338f62f701 [devtools] add clang-format.py
9 years ago
MarcoFalke 3507992bcf [trivial] Make optimize-pngs.py also cover share/pixmaps
9 years ago
Wladimir J. van der Laan 3802ae7267 devtools: don't push if signing fails in github-merge
9 years ago
Marco 9142867572 [QT] cleanup icons
9 years ago
Pieter Wuille 5ff94c630e Add git-subtree-check.sh script
10 years ago
Wladimir J. van der Laan aaba10f275
Revert "Make nicer pull request merge messages"
10 years ago
Wladimir J. van der Laan f69941620b
Merge #5623: Make nicer pull request merge messages
10 years ago
Wladimir J. van der Laan 905711f0a1 contrib: improve optimize-pngs.py
10 years ago
Jonas Schnelli 42f6a0c2b9 [Qt] optimize PNG files
10 years ago
BtcDrak 1078fb0885
Make nicer pull request merge messages
10 years ago
Wladimir J. van der Laan 39c809942d contrib: make github-merge require signing
10 years ago
sandakersmann f914f1a746
Added "Core" to copyright headers
10 years ago
Michael Ford 78253fcbad Remove references to X11 licence
10 years ago
Wladimir J. van der Laan 6e6a36ce30 contrib: show pull # in prompt for github-merge script
10 years ago
Wladimir J. van der Laan cd3269e38e
contrib: revert changes to github-merge.sh in #5038
10 years ago
Luke Dashjr 0b17964131 Bugfix: Replace bashisms with standard sh in tests/tools
10 years ago
Wladimir J. van der Laan da59f28335 Add deeper XML checking to update-translation script
10 years ago
Gavin Andresen c53b1ece1b
Fix github-merge with git version 2.1.0
10 years ago
Wladimir J. van der Laan 27116e87cc
devtools: Exclude default exports from symbol-checker script
10 years ago
Wladimir J. van der Laan 583df73acd
Merge pull request #4110
11 years ago
Wladimir J. van der Laan 9dd5d79244 devtools: add a script to fetch and postprocess translations
11 years ago
Wladimir J. van der Laan 202c95c216 devtools: have symbol check script check for exported symbols
11 years ago
Wladimir J. van der Laan 74fc254c2b devtools: add script to check symbols from Linux gitian executables
11 years ago
gubatron 57702541a2 Copyright header updates s/2013/2014 on files whose last git commit was done in 2014.
11 years ago
Wladimir J. van der Laan e5adec35c6 contrib: add sipa's github-merge script
11 years ago