Skip to content

Commit 16faccb

Browse files
committed
Merge pull request #6791
d0321a4 [doc] trivial: fix markdown syntax in qa/rpc-tests/README.md (MarcoFalke) 60a8b70 [doc] trivial: developer-notes.md covers more than just coding standards (MarcoFalke) 3507992 [trivial] Make optimize-pngs.py also cover share/pixmaps (MarcoFalke) 8a320c7 [trivial] Remove obsolete share/qt/make_windows_icon.sh (MarcoFalke)
2 parents 01f7499 + d0321a4 commit 16faccb

File tree

4 files changed

+7
-16
lines changed

4 files changed

+7
-16
lines changed

contrib/devtools/optimize-pngs.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/usr/bin/env python
22
'''
3-
Run this scrip every time you change one of the png files. Using pngcrush, it will optimize the png files, remove various color profiles, remove ancillary chunks (alla) and text chunks (text).
3+
Run this script every time you change one of the png files. Using pngcrush, it will optimize the png files, remove various color profiles, remove ancillary chunks (alla) and text chunks (text).
44
#pngcrush -brute -ow -rem gAMA -rem cHRM -rem iCCP -rem sRGB -rem alla -rem text
55
'''
66
import os
@@ -18,12 +18,12 @@ def content_hash(filename):
1818
'''Return hash of RGBA contents of image'''
1919
i = Image.open(filename)
2020
i = i.convert('RGBA')
21-
data = i.tostring()
21+
data = i.tobytes()
2222
return hashlib.sha256(data).hexdigest()
2323

2424
pngcrush = 'pngcrush'
2525
git = 'git'
26-
folders = ["src/qt/res/movies", "src/qt/res/icons"]
26+
folders = ["src/qt/res/movies", "src/qt/res/icons", "share/pixmaps"]
2727
basePath = subprocess.check_output([git, 'rev-parse', '--show-toplevel']).rstrip('\n')
2828
totalSaveBytes = 0
2929
noHashChange = True

doc/developer-notes.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
Coding Standards
2-
================
1+
Developer Notes
2+
===============
33

44
Various coding styles have been used during the history of the codebase,
55
and the result is not very consistent. However, we're now trying to converge to

qa/rpc-tests/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,11 +37,11 @@ Helper functions for creating blocks and transactions.
3737
Notes
3838
=====
3939

40-
You can run any single test by calling qa/pull-tester/rpc-tests.py <testname>
40+
You can run any single test by calling `qa/pull-tester/rpc-tests.py <testname>`.
4141

4242
Or you can run any combination of tests by calling `qa/pull-tester/rpc-tests.py <testname1> <testname2> <testname3> ...`
4343

44-
Run the regression test suite with `qa/pull-tester/rpc-tests.py'
44+
Run the regression test suite with `qa/pull-tester/rpc-tests.py`
4545

4646
Run all possible tests with `qa/pull-tester/rpc-tests.py -extended`
4747

share/qt/make_windows_icon.sh

Lines changed: 0 additions & 9 deletions
This file was deleted.

0 commit comments

Comments
 (0)