practicalswift
|
a720b928c8
|
Remove includes in .cpp files for things the corresponding .h file already included
|
7 years ago |
MeshCollider
|
1a445343f6
|
scripted-diff: Replace #include "" with #include <> (ryanofsky)
-BEGIN VERIFY SCRIPT-
for f in \
src/*.cpp \
src/*.h \
src/bench/*.cpp \
src/bench/*.h \
src/compat/*.cpp \
src/compat/*.h \
src/consensus/*.cpp \
src/consensus/*.h \
src/crypto/*.cpp \
src/crypto/*.h \
src/crypto/ctaes/*.h \
src/policy/*.cpp \
src/policy/*.h \
src/primitives/*.cpp \
src/primitives/*.h \
src/qt/*.cpp \
src/qt/*.h \
src/qt/test/*.cpp \
src/qt/test/*.h \
src/rpc/*.cpp \
src/rpc/*.h \
src/script/*.cpp \
src/script/*.h \
src/support/*.cpp \
src/support/*.h \
src/support/allocators/*.h \
src/test/*.cpp \
src/test/*.h \
src/wallet/*.cpp \
src/wallet/*.h \
src/wallet/test/*.cpp \
src/wallet/test/*.h \
src/zmq/*.cpp \
src/zmq/*.h
do
base=${f%/*}/ relbase=${base#src/} sed -i "s:#include \"\(.*\)\"\(.*\):if test -e \$base'\\1'; then echo \"#include <\"\$relbase\"\\1>\\2\"; else echo \"#include <\\1>\\2\"; fi:e" $f
done
-END VERIFY SCRIPT-
|
7 years ago |
Pieter Wuille
|
cf68a488a4
|
Deduplicate addrdb.cpp and use CHashWriter/Verifier
|
8 years ago |
Wladimir J. van der Laan
|
2a5f574762
|
Use fsbridge for fopen and freopen
Abstracts away how a path is opened to a `FILE*`.
Reduces the number of places where path is converted to a string
for anything else but printing.
|
8 years ago |
Wladimir J. van der Laan
|
bac5c9cf64
|
Replace uses of boost::filesystem with fs
Step two in abstracting away boost::filesystem.
To repeat this, simply run:
```
git ls-files \*.cpp \*.h | xargs sed -i 's/boost::filesystem/fs/g'
```
|
8 years ago |
Wladimir J. van der Laan
|
7d5172d354
|
Replace includes of boost/filesystem.h with fs.h
This is step one in abstracting the use of boost::filesystem.
|
8 years ago |
isle2983
|
27765b6403
|
Increment MIT Licence copyright header year on files modified in 2016
Edited via:
$ contrib/devtools/copyright_header.py update .
|
8 years ago |
Pavel Janík
|
f26da35142
|
Fix copypasted comment.
|
8 years ago |
Cory Fields
|
d93b14dc5d
|
net: move CBanDB and CAddrDB out of net.h/cpp
This will eventually solve a circular dependency
|
8 years ago |