trivial: revert dashification of source and header filenames

This commit is contained in:
Kittywhiskers Van Gogh 2022-07-08 14:10:53 +05:30
parent f02085e988
commit 887b4324d3
17 changed files with 22 additions and 22 deletions

View File

@ -738,7 +738,7 @@ nodist_libbitcoin_util_a_SOURCES = $(srcdir)/obj/build.h
# #
# dashd binary # # dashd binary #
dashd_SOURCES = dashd.cpp dashd_SOURCES = bitcoind.cpp
dashd_CPPFLAGS = $(AM_CPPFLAGS) $(BITCOIN_INCLUDES) dashd_CPPFLAGS = $(AM_CPPFLAGS) $(BITCOIN_INCLUDES)
dashd_CXXFLAGS = $(AM_CXXFLAGS) $(PIE_FLAGS) dashd_CXXFLAGS = $(AM_CXXFLAGS) $(PIE_FLAGS)
dashd_LDFLAGS = $(LDFLAGS_WRAP_EXCEPTIONS) $(RELDFLAGS) $(AM_LDFLAGS) $(LIBTOOL_APP_LDFLAGS) dashd_LDFLAGS = $(LDFLAGS_WRAP_EXCEPTIONS) $(RELDFLAGS) $(AM_LDFLAGS) $(LIBTOOL_APP_LDFLAGS)
@ -767,7 +767,7 @@ dashd_LDADD = \
dashd_LDADD += $(BACKTRACE_LIB) $(BOOST_LIBS) $(BDB_LIBS) $(MINIUPNPC_LIBS) $(NATPMP_LIBS) $(EVENT_PTHREADS_LIBS) $(EVENT_LIBS) $(ZMQ_LIBS) $(BLS_LIBS) $(GMP_LIBS) dashd_LDADD += $(BACKTRACE_LIB) $(BOOST_LIBS) $(BDB_LIBS) $(MINIUPNPC_LIBS) $(NATPMP_LIBS) $(EVENT_PTHREADS_LIBS) $(EVENT_LIBS) $(ZMQ_LIBS) $(BLS_LIBS) $(GMP_LIBS)
# dash-cli binary # # dash-cli binary #
dash_cli_SOURCES = dash-cli.cpp dash_cli_SOURCES = bitcoin-cli.cpp
dash_cli_CPPFLAGS = $(AM_CPPFLAGS) $(BITCOIN_INCLUDES) $(EVENT_CFLAGS) dash_cli_CPPFLAGS = $(AM_CPPFLAGS) $(BITCOIN_INCLUDES) $(EVENT_CFLAGS)
dash_cli_CXXFLAGS = $(AM_CXXFLAGS) $(PIE_FLAGS) dash_cli_CXXFLAGS = $(AM_CXXFLAGS) $(PIE_FLAGS)
dash_cli_LDFLAGS = $(LDFLAGS_WRAP_EXCEPTIONS) $(RELDFLAGS) $(AM_LDFLAGS) $(LIBTOOL_APP_LDFLAGS) dash_cli_LDFLAGS = $(LDFLAGS_WRAP_EXCEPTIONS) $(RELDFLAGS) $(AM_LDFLAGS) $(LIBTOOL_APP_LDFLAGS)
@ -785,7 +785,7 @@ dash_cli_LDADD += $(BACKTRACE_LIB) $(BOOST_LIBS) $(EVENT_LIBS) $(BLS_LIBS) $(GMP
# #
# dash-tx binary # # dash-tx binary #
dash_tx_SOURCES = dash-tx.cpp dash_tx_SOURCES = bitcoin-tx.cpp
dash_tx_CPPFLAGS = $(AM_CPPFLAGS) $(BITCOIN_INCLUDES) dash_tx_CPPFLAGS = $(AM_CPPFLAGS) $(BITCOIN_INCLUDES)
dash_tx_CXXFLAGS = $(AM_CXXFLAGS) $(PIE_FLAGS) dash_tx_CXXFLAGS = $(AM_CXXFLAGS) $(PIE_FLAGS)
dash_tx_LDFLAGS = $(LDFLAGS_WRAP_EXCEPTIONS) $(RELDFLAGS) $(AM_LDFLAGS) $(LIBTOOL_APP_LDFLAGS) dash_tx_LDFLAGS = $(LDFLAGS_WRAP_EXCEPTIONS) $(RELDFLAGS) $(AM_LDFLAGS) $(LIBTOOL_APP_LDFLAGS)
@ -806,7 +806,7 @@ dash_tx_LDADD += $(BACKTRACE_LIB) $(BOOST_LIBS) $(BLS_LIBS) $(GMP_LIBS)
# #
# dash-wallet binary # # dash-wallet binary #
dash_wallet_SOURCES = dash-wallet.cpp dash_wallet_SOURCES = bitcoin-wallet.cpp
dash_wallet_CPPFLAGS = $(AM_CPPFLAGS) $(BITCOIN_INCLUDES) dash_wallet_CPPFLAGS = $(AM_CPPFLAGS) $(BITCOIN_INCLUDES)
dash_wallet_CXXFLAGS = $(AM_CXXFLAGS) $(PIE_FLAGS) dash_wallet_CXXFLAGS = $(AM_CXXFLAGS) $(PIE_FLAGS)
dash_wallet_LDFLAGS = $(LDFLAGS_WRAP_EXCEPTIONS) $(RELDFLAGS) $(AM_LDFLAGS) $(LIBTOOL_APP_LDFLAGS) dash_wallet_LDFLAGS = $(LDFLAGS_WRAP_EXCEPTIONS) $(RELDFLAGS) $(AM_LDFLAGS) $(LIBTOOL_APP_LDFLAGS)

View File

@ -13,7 +13,7 @@ GENERATED_BENCH_FILES = $(RAW_BENCH_FILES:.raw=.raw.h)
bench_bench_dash_SOURCES = \ bench_bench_dash_SOURCES = \
$(RAW_BENCH_FILES) \ $(RAW_BENCH_FILES) \
bench/bench_dash.cpp \ bench/bench_bitcoin.cpp \
bench/bench.cpp \ bench/bench.cpp \
bench/bench.h \ bench/bench.h \
bench/block_assemble.cpp \ bench/block_assemble.cpp \

View File

@ -40,6 +40,7 @@ QT_MOC_CPP = \
qt/moc_askpassphrasedialog.cpp \ qt/moc_askpassphrasedialog.cpp \
qt/moc_createwalletdialog.cpp \ qt/moc_createwalletdialog.cpp \
qt/moc_bantablemodel.cpp \ qt/moc_bantablemodel.cpp \
qt/moc_bitcoin.cpp \
qt/moc_bitcoinaddressvalidator.cpp \ qt/moc_bitcoinaddressvalidator.cpp \
qt/moc_bitcoinamountfield.cpp \ qt/moc_bitcoinamountfield.cpp \
qt/moc_bitcoingui.cpp \ qt/moc_bitcoingui.cpp \
@ -48,7 +49,6 @@ QT_MOC_CPP = \
qt/moc_coincontroldialog.cpp \ qt/moc_coincontroldialog.cpp \
qt/moc_coincontroltreewidget.cpp \ qt/moc_coincontroltreewidget.cpp \
qt/moc_csvmodelwriter.cpp \ qt/moc_csvmodelwriter.cpp \
qt/moc_dash.cpp \
qt/moc_editaddressdialog.cpp \ qt/moc_editaddressdialog.cpp \
qt/moc_governancelist.cpp \ qt/moc_governancelist.cpp \
qt/moc_guiutil.cpp \ qt/moc_guiutil.cpp \
@ -99,7 +99,7 @@ QT_MOC = \
qt/overviewpage.moc \ qt/overviewpage.moc \
qt/rpcconsole.moc qt/rpcconsole.moc
QT_QRC_CPP = qt/qrc_dash.cpp QT_QRC_CPP = qt/qrc_bitcoin.cpp
QT_QRC = qt/dash.qrc QT_QRC = qt/dash.qrc
QT_QRC_LOCALE_CPP = qt/qrc_dash_locale.cpp QT_QRC_LOCALE_CPP = qt/qrc_dash_locale.cpp
QT_QRC_LOCALE = qt/dash_locale.qrc QT_QRC_LOCALE = qt/dash_locale.qrc
@ -110,6 +110,7 @@ BITCOIN_QT_H = \
qt/appearancewidget.h \ qt/appearancewidget.h \
qt/askpassphrasedialog.h \ qt/askpassphrasedialog.h \
qt/bantablemodel.h \ qt/bantablemodel.h \
qt/bitcoin.h \
qt/bitcoinaddressvalidator.h \ qt/bitcoinaddressvalidator.h \
qt/bitcoinamountfield.h \ qt/bitcoinamountfield.h \
qt/bitcoingui.h \ qt/bitcoingui.h \
@ -119,7 +120,6 @@ BITCOIN_QT_H = \
qt/coincontroltreewidget.h \ qt/coincontroltreewidget.h \
qt/createwalletdialog.h \ qt/createwalletdialog.h \
qt/csvmodelwriter.h \ qt/csvmodelwriter.h \
qt/dash.h \
qt/editaddressdialog.h \ qt/editaddressdialog.h \
qt/governancelist.h \ qt/governancelist.h \
qt/guiconstants.h \ qt/guiconstants.h \
@ -201,7 +201,7 @@ RES_ICONS = \
BITCOIN_QT_BASE_CPP = \ BITCOIN_QT_BASE_CPP = \
qt/appearancewidget.cpp \ qt/appearancewidget.cpp \
qt/bantablemodel.cpp \ qt/bantablemodel.cpp \
qt/dash.cpp \ qt/bitcoin.cpp \
qt/bitcoinaddressvalidator.cpp \ qt/bitcoinaddressvalidator.cpp \
qt/bitcoinamountfield.cpp \ qt/bitcoinamountfield.cpp \
qt/bitcoingui.cpp \ qt/bitcoingui.cpp \
@ -403,7 +403,7 @@ $(srcdir)/qt/dashstrings.cpp: FORCE
@test -n $(XGETTEXT) || echo "xgettext is required for updating translations" @test -n $(XGETTEXT) || echo "xgettext is required for updating translations"
$(AM_V_GEN) cd $(srcdir); XGETTEXT=$(XGETTEXT) COPYRIGHT_HOLDERS="$(COPYRIGHT_HOLDERS)" $(PYTHON) ../share/qt/extract_strings_qt.py $(libbitcoin_server_a_SOURCES) $(libbitcoin_wallet_a_SOURCES) $(libbitcoin_common_a_SOURCES) $(libbitcoin_zmq_a_SOURCES) $(libbitcoin_consensus_a_SOURCES) $(libbitcoin_util_a_SOURCES) $(AM_V_GEN) cd $(srcdir); XGETTEXT=$(XGETTEXT) COPYRIGHT_HOLDERS="$(COPYRIGHT_HOLDERS)" $(PYTHON) ../share/qt/extract_strings_qt.py $(libbitcoin_server_a_SOURCES) $(libbitcoin_wallet_a_SOURCES) $(libbitcoin_common_a_SOURCES) $(libbitcoin_zmq_a_SOURCES) $(libbitcoin_consensus_a_SOURCES) $(libbitcoin_util_a_SOURCES)
translate: $(srcdir)/qt/dashstrings.cpp $(QT_FORMS_UI) $(QT_FORMS_UI) $(BITCOIN_QT_BASE_CPP) qt/dash.cpp $(BITCOIN_QT_WINDOWS_CPP) $(BITCOIN_QT_WALLET_CPP) $(BITCOIN_QT_H) $(BITCOIN_MM) translate: $(srcdir)/qt/dashstrings.cpp $(QT_FORMS_UI) $(QT_FORMS_UI) $(BITCOIN_QT_BASE_CPP) qt/bitcoin.cpp $(BITCOIN_QT_WINDOWS_CPP) $(BITCOIN_QT_WALLET_CPP) $(BITCOIN_QT_H) $(BITCOIN_MM)
@test -n $(LUPDATE) || echo "lupdate is required for updating translations" @test -n $(LUPDATE) || echo "lupdate is required for updating translations"
$(AM_V_GEN) QT_SELECT=$(QT_SELECT) $(LUPDATE) $^ -I$(srcdir) -locations relative -no-obsolete -ts $(srcdir)/qt/locale/dash_en.ts $(AM_V_GEN) QT_SELECT=$(QT_SELECT) $(LUPDATE) $^ -I$(srcdir) -locations relative -no-obsolete -ts $(srcdir)/qt/locale/dash_en.ts
@test -n $(LCONVERT) || echo "lconvert is required for updating translations" @test -n $(LCONVERT) || echo "lconvert is required for updating translations"

View File

@ -50,7 +50,7 @@ static bool AppInit(int argc, char* argv[])
util::ThreadSetInternalName("init"); util::ThreadSetInternalName("init");
// If Qt is used, parameters/dash.conf are parsed in qt/dash.cpp's main() // If Qt is used, parameters/dash.conf are parsed in qt/bitcoin.cpp's main()
SetupServerArgs(node); SetupServerArgs(node);
ArgsManager& args = *Assert(node.args); ArgsManager& args = *Assert(node.args);
std::string error; std::string error;

View File

@ -7,7 +7,7 @@
#include <config/bitcoin-config.h> #include <config/bitcoin-config.h>
#endif #endif
#include <qt/dash.h> #include <qt/bitcoin.h>
#include <qt/bitcoingui.h> #include <qt/bitcoingui.h>
#include <chainparams.h> #include <chainparams.h>

View File

@ -418,7 +418,7 @@
<context> <context>
<name>BitcoinGUI</name> <name>BitcoinGUI</name>
<message> <message>
<location filename="../dash.cpp" line="+395"/> <location filename="../bitcoin.cpp" line="+395"/>
<source>A fatal error occurred. Dash Core can no longer continue safely and will quit.</source> <source>A fatal error occurred. Dash Core can no longer continue safely and will quit.</source>
<translation>A fatal error occurred. Dash Core can no longer continue safely and will quit.</translation> <translation>A fatal error occurred. Dash Core can no longer continue safely and will quit.</translation>
</message> </message>
@ -2719,7 +2719,7 @@ https://www.transifex.com/projects/p/dash/</translation>
<context> <context>
<name>QObject</name> <name>QObject</name>
<message> <message>
<location filename="../dash.cpp" line="+14"/> <location filename="../bitcoin.cpp" line="+14"/>
<source>Choose data directory on startup (default: %u)</source> <source>Choose data directory on startup (default: %u)</source>
<translation>Choose data directory on startup (default: %u)</translation> <translation>Choose data directory on startup (default: %u)</translation>
</message> </message>

View File

@ -428,7 +428,7 @@
</trans-unit> </trans-unit>
</group> </group>
</body></file> </body></file>
<file original="../dash.cpp" datatype="cpp" source-language="en" target-language="en"><body> <file original="../bitcoin.cpp" datatype="cpp" source-language="en" target-language="en"><body>
<group restype="x-trolltech-linguist-context" resname="BitcoinGUI"> <group restype="x-trolltech-linguist-context" resname="BitcoinGUI">
<trans-unit id="_msg77" approved="yes"> <trans-unit id="_msg77" approved="yes">
<source xml:space="preserve">A fatal error occurred. Dash Core can no longer continue safely and will quit.</source> <source xml:space="preserve">A fatal error occurred. Dash Core can no longer continue safely and will quit.</source>

View File

@ -2,7 +2,7 @@
// Distributed under the MIT software license, see the accompanying // Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php. // file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include <qt/dash.h> #include <qt/bitcoin.h>
#include <util/translation.h> #include <util/translation.h>

View File

@ -6,7 +6,7 @@
#include <chainparams.h> #include <chainparams.h>
#include <key.h> #include <key.h>
#include <qt/dash.h> #include <qt/bitcoin.h>
#include <qt/bitcoingui.h> #include <qt/bitcoingui.h>
#include <qt/networkstyle.h> #include <qt/networkstyle.h>
#include <qt/rpcconsole.h> #include <qt/rpcconsole.h>

View File

@ -8,7 +8,7 @@
#endif #endif
#include <interfaces/node.h> #include <interfaces/node.h>
#include <qt/dash.h> #include <qt/bitcoin.h>
#include <qt/test/apptests.h> #include <qt/test/apptests.h>
#include <qt/test/rpcnestedtests.h> #include <qt/test/rpcnestedtests.h>
#include <qt/test/uritests.h> #include <qt/test/uritests.h>

View File

@ -8,9 +8,9 @@ export LC_ALL=C
KNOWN_VIOLATIONS=( KNOWN_VIOLATIONS=(
"src/bench/string_cast.cpp.*atoi" "src/bench/string_cast.cpp.*atoi"
"src/bench/string_cast.cpp.*std::to_string" "src/bench/string_cast.cpp.*std::to_string"
"src/dash-tx.cpp.*stoul" "src/bitcoin-tx.cpp.*stoul"
"src/dash-tx.cpp.*std::to_string" "src/bitcoin-tx.cpp.*std::to_string"
"src/dash-tx.cpp.*trim_right" "src/bitcoin-tx.cpp.*trim_right"
"src/dbwrapper.cpp.*stoul" "src/dbwrapper.cpp.*stoul"
"src/dbwrapper.cpp:.*vsnprintf" "src/dbwrapper.cpp:.*vsnprintf"
"src/governance/vote.cpp.*std::to_string" "src/governance/vote.cpp.*std::to_string"

View File

@ -16,7 +16,7 @@ unsigned-integer-overflow:*/include/c++/*/bits/basic_string.tcc
unsigned-integer-overflow:arith_uint256.h unsigned-integer-overflow:arith_uint256.h
unsigned-integer-overflow:basic_string.h unsigned-integer-overflow:basic_string.h
unsigned-integer-overflow:bench/bench.h unsigned-integer-overflow:bench/bench.h
unsigned-integer-overflow:dash-tx.cpp unsigned-integer-overflow:bitcoin-tx.cpp
unsigned-integer-overflow:bloom.cpp unsigned-integer-overflow:bloom.cpp
unsigned-integer-overflow:chain.cpp unsigned-integer-overflow:chain.cpp
unsigned-integer-overflow:chain.h unsigned-integer-overflow:chain.h