Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ autom4te.cache/
config.log
config.status
configure
src/darkcoin-config.h
src/darkcoin-config.h.in
src/bitcoin-config.h
src/bitcoin-config.h.in
src/build-aux/
src/stamp-h1
share/setup.nsi
Expand Down
14 changes: 7 additions & 7 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,17 @@ dnl require autoconf 2.60 (AS_ECHO/AS_ECHO_N)
AC_PREREQ([2.60])
define(_CLIENT_VERSION_MAJOR, 0)
define(_CLIENT_VERSION_MINOR, 11)
define(_CLIENT_VERSION_REVISION, 2)
define(_CLIENT_VERSION_BUILD, 0)
define(_CLIENT_VERSION_REVISION, 1)
define(_CLIENT_VERSION_BUILD, 25)
define(_CLIENT_VERSION_IS_RELEASE, true)
define(_COPYRIGHT_YEAR, 2015)
AC_INIT([Darkcoin Core],[_CLIENT_VERSION_MAJOR._CLIENT_VERSION_MINOR._CLIENT_VERSION_REVISION],[info@darkcoin.io],[darkcoin])
AC_CONFIG_AUX_DIR([src/build-aux])
AC_CONFIG_MACRO_DIR([src/m4])
AC_CANONICAL_HOST
AH_TOP([#ifndef DARKCOIN_CONFIG_H])
AH_TOP([#define DARKCOIN_CONFIG_H])
AH_BOTTOM([#endif //DARKCOIN_CONFIG_H])
AH_TOP([#ifndef BITCOIN_CONFIG_H])
AH_TOP([#define BITCOIN_CONFIG_H])
AH_BOTTOM([#endif //BITCOIN_CONFIG_H])

# This m4 will only be used if a system copy cannot be found. This is helpful
# on systems where autotools are installed but the pkg-config macros are not in
Expand Down Expand Up @@ -111,7 +111,7 @@ AC_ARG_WITH([protoc-bindir],[AS_HELP_STRING([--with-protoc-bindir=BIN_DIR],[spec


AC_CONFIG_SRCDIR([src])
AC_CONFIG_HEADERS([src/darkcoin-config.h])
AC_CONFIG_HEADERS([src/bitcoin-config.h])

dnl Checks for programs.
AC_PROG_CXX
Expand Down Expand Up @@ -312,7 +312,7 @@ dnl Check for pthread compile/link requirements
AX_PTHREAD
INCLUDES="$INCLUDES $PTHREAD_CFLAGS"

# The following macro will add the necessary defines to darkcoin-config.h, but
# The following macro will add the necessary defines to bitcoin-config.h, but
# they also need to be passed down to any subprojects. Pull the results out of
# the cache and add them to CPPFLAGS.
AC_SYS_LARGEFILE
Expand Down
8 changes: 4 additions & 4 deletions contrib/darkcoin-qt.pro
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ HEADERS += \
../src/allocators.h \
../src/base58.h \
../src/bignum.h \
../src/darkcoin-config.h \
../src/bitcoin-config.h \
../src/bloom.h \
../src/chainparams.h \
../src/checkpoints.h \
Expand Down Expand Up @@ -224,7 +224,7 @@ SOURCES += \
../src/qt/bitcoinaddressvalidator.cpp \
../src/qt/bitcoinamountfield.cpp \
../src/qt/bitcoingui.cpp \
../src/qt/darkcoinstrings.cpp \
../src/qt/bitcoinstrings.cpp \
../src/qt/bitcoinunits.cpp \
../src/qt/clientmodel.cpp \
../src/qt/coincontroldialog.cpp \
Expand Down Expand Up @@ -288,7 +288,7 @@ SOURCES += \
../src/qt/paymentrequest.pb.cc \
../src/qt/paymentrequestplus.cpp \
../src/qt/paymentserver.cpp \
../src/qt/qrc_darkcoin.cpp \
../src/qt/qrc_bitcoin.cpp \
../src/qt/qvalidatedlineedit.cpp \
../src/qt/qvaluecombobox.cpp \
../src/qt/receivecoinsdialog.cpp \
Expand Down Expand Up @@ -339,4 +339,4 @@ FORMS += \
../src/qt/forms/transactiondescdialog.ui

RESOURCES += \
../src/qt/darkcoin.qrc
../src/qt/bitcoin.qrc
2 changes: 1 addition & 1 deletion contrib/debian/rules
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ DEB_INSTALL_MANPAGES_bitcoind += debian/manpages/*

override_dh_auto_clean:
if [ -f Makefile ]; then $(MAKE) distclean; fi
rm -rf Makefile.in aclocal.m4 configure src/Makefile.in src/darkcoin-config.h.in src/build-aux src/qt/Makefile.in src/qt/test/Makefile.in src/test/Makefile.in
rm -rf Makefile.in aclocal.m4 configure src/Makefile.in src/bitcoin-config.h.in src/build-aux src/qt/Makefile.in src/qt/test/Makefile.in src/test/Makefile.in

# Yea, autogen should be run on the source archive, but I like doing git archive
override_dh_auto_configure:
Expand Down
6 changes: 3 additions & 3 deletions doc/translation_process.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Files and Folders
This file takes care of generating `.qm` files from `.ts` files. It is mostly
automated.

### src/qt/darkcoin.qrc
### src/qt/bitcoin.qrc

This file must be updated whenever a new translation is added. Please note that
files must end with `.qm`, not `.ts`.
Expand Down Expand Up @@ -60,7 +60,7 @@ in Transifex and can be translated.

To create the pull-request you have to do:

git add src/qt/darkcoinstrings.cpp src/qt/locale/darkcoin_en.ts
git add src/qt/bitcoinstrings.cpp src/qt/locale/darkcoin_en.ts
git commit

Syncing with Transifex
Expand All @@ -80,7 +80,7 @@ postprocessing steps before committing the translations.
### Fetching new translations

1. `python contrib/devtools/update-translations.py`
2. update `src/qt/darkcoin.qrc` manually or via
2. update `src/qt/bitcoin.qrc` manually or via
`ls src/qt/locale/*ts|xargs -n1 basename|sed 's/\(darkcoin_\(.*\)\).ts/ <file alias="\2">locale\/\1.qm<\/file>/'`
3. update `src/qt/Makefile.am` manually or via
`ls src/qt/locale/*ts|xargs -n1 basename|sed 's/\(darkcoin_\(.*\)\).ts/ locale\/\1.ts \\/'`
Expand Down
4 changes: 2 additions & 2 deletions share/qt/extract_strings_qt.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
import operator
import os

OUT_CPP="src/qt/darkcoinstrings.cpp"
OUT_CPP="src/qt/bitcoinstrings.cpp"
EMPTY=['""']

def parse_po(text):
Expand Down Expand Up @@ -72,7 +72,7 @@ def parse_po(text):
#define UNUSED
#endif
""")
f.write('static const char UNUSED *darkcoin_strings[] = {\n')
f.write('static const char UNUSED *bitcoin_strings[] = {\n')
messages.sort(key=operator.itemgetter(0))
for (msgid, msgstr) in messages:
if msgid != EMPTY:
Expand Down
6 changes: 3 additions & 3 deletions src/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ darkcoind_SOURCES = darkcoind.cpp
#

if TARGET_WINDOWS
darkcoind_SOURCES += darkcoind-res.rc
darkcoind_SOURCES += bitcoind-res.rc
endif

AM_CPPFLAGS += $(BDB_CPPFLAGS)
Expand All @@ -218,7 +218,7 @@ darkcoin_cli_SOURCES = darkcoin-cli.cpp
#

if TARGET_WINDOWS
darkcoin_cli_SOURCES += darkcoin-cli-res.rc
darkcoin_cli_SOURCES += bitcoin-cli-res.rc
endif

# NOTE: This dependency is not strictly necessary, but without it make may try to build both in parallel, which breaks the LevelDB build system in a race
Expand All @@ -229,7 +229,7 @@ leveldb/%.a:
CC="$(CC)" PLATFORM=$(TARGET_OS) AR="$(AR)" $(LEVELDB_TARGET_FLAGS) \
OPT="$(CXXFLAGS) $(CPPFLAGS)"

qt/darkcoinstrings.cpp: $(libdarkcoin_server_a_SOURCES) $(libdarkcoin_common_a_SOURCES) $(libdarkcoin_cli_a_SOURCES)
qt/bitcoinstrings.cpp: $(libdarkcoin_server_a_SOURCES) $(libdarkcoin_common_a_SOURCES) $(libdarkcoin_cli_a_SOURCES)
@test -n $(XGETTEXT) || echo "xgettext is required for updating translations"
@cd $(top_srcdir); XGETTEXT=$(XGETTEXT) share/qt/extract_strings_qt.py

Expand Down
12 changes: 6 additions & 6 deletions src/darkcoind-res.rc → src/bitcoin-cli-res.rc
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
#define VER_PRODUCTVERSION_STR STRINGIZE(CLIENT_VERSION_MAJOR) "." STRINGIZE(CLIENT_VERSION_MINOR) "." STRINGIZE(CLIENT_VERSION_REVISION) "." STRINGIZE(CLIENT_VERSION_BUILD)
#define VER_FILEVERSION VER_PRODUCTVERSION
#define VER_FILEVERSION_STR VER_PRODUCTVERSION_STR
#define COPYRIGHT_STR "2009-" STRINGIZE(COPYRIGHT_YEAR) " The Bitcoin and Darkcoin developers"
#define COPYRIGHT_STR "2009-" STRINGIZE(COPYRIGHT_YEAR) " The Bitcoin Core developers"

VS_VERSION_INFO VERSIONINFO
FILEVERSION VER_FILEVERSION
Expand All @@ -17,14 +17,14 @@ BEGIN
BEGIN
BLOCK "040904E4" // U.S. English - multilingual (hex)
BEGIN
VALUE "CompanyName", "Darkcoin"
VALUE "FileDescription", "Darkcoind (OSS daemon/client for Darkcoin)"
VALUE "CompanyName", "Bitcoin"
VALUE "FileDescription", "Bitcoin-cli (OSS RPC client for Bitcoin)"
VALUE "FileVersion", VER_FILEVERSION_STR
VALUE "InternalName", "darkcoind"
VALUE "InternalName", "bitcoin-cli"
VALUE "LegalCopyright", COPYRIGHT_STR
VALUE "LegalTrademarks1", "Distributed under the MIT/X11 software license, see the accompanying file COPYING or http://www.opensource.org/licenses/mit-license.php."
VALUE "OriginalFilename", "darkcoind.exe"
VALUE "ProductName", "Darkcoind"
VALUE "OriginalFilename", "bitcoin-cli.exe"
VALUE "ProductName", "Bitcoin-cli"
VALUE "ProductVersion", VER_PRODUCTVERSION_STR
END
END
Expand Down
12 changes: 6 additions & 6 deletions src/darkcoin-cli-res.rc → src/bitcoind-res.rc
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
#define VER_PRODUCTVERSION_STR STRINGIZE(CLIENT_VERSION_MAJOR) "." STRINGIZE(CLIENT_VERSION_MINOR) "." STRINGIZE(CLIENT_VERSION_REVISION) "." STRINGIZE(CLIENT_VERSION_BUILD)
#define VER_FILEVERSION VER_PRODUCTVERSION
#define VER_FILEVERSION_STR VER_PRODUCTVERSION_STR
#define COPYRIGHT_STR "2009-" STRINGIZE(COPYRIGHT_YEAR) " The Bitcoin and Darkcoin developers"
#define COPYRIGHT_STR "2009-" STRINGIZE(COPYRIGHT_YEAR) " The Bitcoin Core developers"

VS_VERSION_INFO VERSIONINFO
FILEVERSION VER_FILEVERSION
Expand All @@ -17,14 +17,14 @@ BEGIN
BEGIN
BLOCK "040904E4" // U.S. English - multilingual (hex)
BEGIN
VALUE "CompanyName", "Darkcoin"
VALUE "FileDescription", "Darkcoin-cli (OSS RPC client for Darkcoin)"
VALUE "CompanyName", "Bitcoin"
VALUE "FileDescription", "Bitcoind (OSS daemon/client for Bitcoin)"
VALUE "FileVersion", VER_FILEVERSION_STR
VALUE "InternalName", "darkcoin-cli"
VALUE "InternalName", "bitcoind"
VALUE "LegalCopyright", COPYRIGHT_STR
VALUE "LegalTrademarks1", "Distributed under the MIT/X11 software license, see the accompanying file COPYING or http://www.opensource.org/licenses/mit-license.php."
VALUE "OriginalFilename", "darkcoin-cli.exe"
VALUE "ProductName", "Darkcoin-cli"
VALUE "OriginalFilename", "bitcoind.exe"
VALUE "ProductName", "Bitcoind"
VALUE "ProductVersion", VER_PRODUCTVERSION_STR
END
END
Expand Down
2 changes: 1 addition & 1 deletion src/clientversion.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#define CLIENTVERSION_H

#if defined(HAVE_CONFIG_H)
#include "darkcoin-config.h"
#include "bitcoin-config.h"
#else
//
// client versioning and copyright year
Expand Down
2 changes: 1 addition & 1 deletion src/compat/glibc_compat.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#include "darkcoin-config.h"
#include "bitcoin-config.h"
#include <cstddef>
#include <sys/select.h>

Expand Down
2 changes: 1 addition & 1 deletion src/darksend.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// file COPYING or http://www.opensource.org/licenses/mit-license.php.

#if defined(HAVE_CONFIG_H)
#include "darkcoin-config.h"
#include "bitcoin-config.h"
#endif

#include "darksend.h"
Expand Down
2 changes: 1 addition & 1 deletion src/init.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
// file COPYING or http://www.opensource.org/licenses/mit-license.php.

#if defined(HAVE_CONFIG_H)
#include "darkcoin-config.h"
#include "bitcoin-config.h"
#endif

#include "init.h"
Expand Down
2 changes: 1 addition & 1 deletion src/main.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
#define BITCOIN_MAIN_H

#if defined(HAVE_CONFIG_H)
#include "darkcoin-config.h"
#include "bitcoin-config.h"
#endif

#include "bignum.h"
Expand Down
2 changes: 1 addition & 1 deletion src/net.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
// file COPYING or http://www.opensource.org/licenses/mit-license.php.

#if defined(HAVE_CONFIG_H)
#include "darkcoin-config.h"
#include "bitcoin-config.h"
#endif

#include "net.h"
Expand Down
2 changes: 1 addition & 1 deletion src/netbase.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
#define BITCOIN_NETBASE_H

#if defined(HAVE_CONFIG_H)
#include "darkcoin-config.h"
#include "bitcoin-config.h"
#endif

#include "compat.h"
Expand Down
14 changes: 7 additions & 7 deletions src/qt/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -117,8 +117,8 @@ QT_MOC = \
overviewpage.moc \
rpcconsole.moc

QT_QRC_CPP = qrc_darkcoin.cpp
QT_QRC = darkcoin.qrc
QT_QRC_CPP = qrc_bitcoin.cpp
QT_QRC = bitcoin.qrc

PROTOBUF_CC = paymentrequest.pb.cc
PROTOBUF_H = paymentrequest.pb.h
Expand Down Expand Up @@ -281,7 +281,7 @@ RES_IMAGES = \

RES_MOVIES = $(wildcard res/movies/spinner-*.png)

DARKCOIN_RC = res/darkcoin-qt-res.rc
BITCOIN_RC = res/bitcoin-qt-res.rc

libdarkcoinqt_a_CPPFLAGS = $(AM_CPPFLAGS) $(QT_INCLUDES) \
-I$(top_srcdir)/src/qt/forms $(QT_DBUS_INCLUDES)
Expand All @@ -306,7 +306,7 @@ if TARGET_DARWIN
darkcoin_qt_SOURCES += $(BITCOIN_MM)
endif
if TARGET_WINDOWS
darkcoin_qt_SOURCES += $(DARKCOIN_RC)
darkcoin_qt_SOURCES += $(BITCOIN_RC)
endif
darkcoin_qt_LDADD = libdarkcoinqt.a $(LIBBITCOIN_SERVER)
if ENABLE_WALLET
Expand All @@ -325,10 +325,10 @@ QT_QM=$(QT_TS:.ts=.qm)
.PHONY: FORCE
.SECONDARY: $(QT_QM)

darkcoinstrings.cpp: FORCE
$(MAKE) -C $(top_srcdir)/src qt/darkcoinstrings.cpp
bitcoinstrings.cpp: FORCE
$(MAKE) -C $(top_srcdir)/src qt/bitcoinstrings.cpp

translate: darkcoinstrings.cpp $(QT_FORMS_UI) $(QT_FORMS_UI) $(BITCOIN_QT_CPP) $(BITCOIN_QT_H) $(BITCOIN_MM)
translate: bitcoinstrings.cpp $(QT_FORMS_UI) $(QT_FORMS_UI) $(BITCOIN_QT_CPP) $(BITCOIN_QT_H) $(BITCOIN_MM)
@test -n $(LUPDATE) || echo "lupdate is required for updating translations"
@QT_SELECT=$(QT_SELECT) $(LUPDATE) $^ -locations relative -no-obsolete -ts locale/darkcoin_en.ts

Expand Down
2 changes: 1 addition & 1 deletion src/qt/addressbookpage.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
// file COPYING or http://www.opensource.org/licenses/mit-license.php.

#if defined(HAVE_CONFIG_H)
#include "darkcoin-config.h"
#include "bitcoin-config.h"
#endif

#include "addressbookpage.h"
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion src/qt/bitcoingui.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
#define BITCOINGUI_H

#if defined(HAVE_CONFIG_H)
#include "darkcoin-config.h"
#include "bitcoin-config.h"
#endif

#include <QMainWindow>
Expand Down
2 changes: 1 addition & 1 deletion src/qt/darkcoinstrings.cpp → src/qt/bitcoinstrings.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
#else
#define UNUSED
#endif
static const char UNUSED *darkcoin_strings[] = {
static const char UNUSED *bitcoin_strings[] = {
QT_TRANSLATE_NOOP("darkcoin-core", ""
"%s, you must set a rpcpassword in the configuration file:\n"
"%s\n"
Expand Down
6 changes: 3 additions & 3 deletions src/qt/darkcoin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
// file COPYING or http://www.opensource.org/licenses/mit-license.php.

#if defined(HAVE_CONFIG_H)
#include "darkcoin-config.h"
#include "bitcoin-config.h"
#endif

#include "bitcoingui.h"
Expand Down Expand Up @@ -115,11 +115,11 @@ static void initTranslations(QTranslator &qtTranslatorBase, QTranslator &qtTrans
if (qtTranslator.load("qt_" + lang_territory, QLibraryInfo::location(QLibraryInfo::TranslationsPath)))
QApplication::installTranslator(&qtTranslator);

// Load e.g. bitcoin_de.qm (shortcut "de" needs to be defined in darkcoin.qrc)
// Load e.g. bitcoin_de.qm (shortcut "de" needs to be defined in bitcoin.qrc)
if (translatorBase.load(lang, ":/translations/"))
QApplication::installTranslator(&translatorBase);

// Load e.g. bitcoin_de_DE.qm (shortcut "de_DE" needs to be defined in darkcoin.qrc)
// Load e.g. bitcoin_de_DE.qm (shortcut "de_DE" needs to be defined in bitcoin.qrc)
if (translator.load(lang_territory, ":/translations/"))
QApplication::installTranslator(&translator);
}
Expand Down
4 changes: 2 additions & 2 deletions src/qt/forms/aboutdialog.ui
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
</sizepolicy>
</property>
<property name="pixmap">
<pixmap resource="../darkcoin.qrc">:/images/about</pixmap>
<pixmap resource="../bitcoin.qrc">:/images/about</pixmap>
</property>
</widget>
</item>
Expand Down Expand Up @@ -151,7 +151,7 @@ This product includes software developed by the OpenSSL Project for use in the O
</layout>
</widget>
<resources>
<include location="../darkcoin.qrc"/>
<include location="../bitcoin.qrc"/>
</resources>
<connections>
<connection>
Expand Down
Loading