Forum Home
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Popular

    [Dev] Documenting Feathercoin Specific Software settings - Part 4

    Technical Development
    1
    24
    5697
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • wrapper
      wrapper Moderators last edited by

      Feathercoin specific changes made to convert Bitcoin to FTC 0.9.6.*

      fix coinname in QT-UI - commit

      https://github.com/FeatherCoin/Feathercoin/commit/5084b46f8af4911cec46d6a3d20aba81a15f2c22

      src/qt/forms/optionsdialog.ui

      Name interface changes to Feathercoin

       +          <string>Automatically start Feathercoin after logging in to the system.</string>
      
       +          <string>&amp;Start Feathercoin on system login</string>
      
       +          <string>Automatically open the Feathercoin client port on the router. This only works when your router supports UPnP and it is enabled.</string>
      
      +          <string>Connect to the Feathercoin network through a SOCKS proxy.</string>
      
       +            <string>The user interface language can be set here. This setting will take effect after restarting Feathercoin.</string>
      
       +          <string>Whether to show Feathercoin addresses in the transaction list or not.</string>
      

      Bitcoin code replaced name interface change

       +         <layout class="QHBoxLayout" name="horizontalLayout_3_Display">
       +          <item>
       +           <widget class="QLabel" name="thirdPartyTxUrlsLabel">
       +            <property name="toolTip">
       +             <string>Third party URLs (e.g. a block explorer) that appear in the transactions tab as context menu items. %s in the URL is replaced by transaction hash. Multiple URLs are separated by vertical bar |.</string>
       +            </property>
       +            <property name="text">
       +             <string>Third party transaction URLs</string>
       +            </property>
       +            <property name="buddy">
       +             <cstring>thirdPartyTxUrls</cstring>
       +            </property>
       +           </widget>
       +          </item>
       +          <item>
       +           <widget class="QLineEdit" name="thirdPartyTxUrls">
       +            <property name="toolTip">
       +             <string>Third party URLs (e.g. a block explorer) that appear in the transactions tab as context menu items. %s in the URL is replaced by transaction hash. Multiple URLs are separated by vertical bar |.</string>
       +            </property>
       +           </widget>
       +          </item>
       +         </layout>
       +        </item>
       +        <item>
      

      Additional code

      1 Reply Last reply Reply Quote 1
      • wrapper
        wrapper Moderators last edited by

        Feathercoin specific changes made to convert Bitcoin to FTC 0.9.6.*

        fix coinname in QT-UI - commit

        https://github.com/FeatherCoin/Feathercoin/commit/5084b46f8af4911cec46d6a3d20aba81a15f2c22

        src/qt/forms/overviewpage.ui

        Name interface changes to Feathercoin

         +               <string>The displayed information may be out of date. Your wallet automatically synchronizes with the Feathercoin network after a connection is established, but this process has not completed yet.</string>
        
         +               <string>The displayed information may be out of date. Your wallet automatically synchronizes with the Feathercoin network after a connection is established, but this process has not completed yet.</string>
        

        Code replaced

        1 Reply Last reply Reply Quote 0
        • wrapper
          wrapper Moderators last edited by

          Feathercoin specific changes made to convert Bitcoin to FTC 0.9.6.*

          fix coinname in QT-UI - commit

          https://github.com/FeatherCoin/Feathercoin/commit/5084b46f8af4911cec46d6a3d20aba81a15f2c22

          src/qt/forms/receivecoinsdialog.ui

          Name interface changes to Feathercoin. Should this be done through translations?

           +        <string>An optional message to attach to the payment request, which will be displayed when the request is opened. Note: The message will not be sent with the payment over the Feathercoin network.</string>
          
           +        <string>An optional message to attach to the payment request, which will be displayed when the request is opened. Note: The message will not be sent with the payment over the Feathercoin network.</string>
          
          1 Reply Last reply Reply Quote 0
          • wrapper
            wrapper Moderators last edited by wrapper

            Feathercoin specific changes made to convert Bitcoin to FTC 0.9.6.*

            fix coinname in QT-UI - commit

            https://github.com/FeatherCoin/Feathercoin/commit/5084b46f8af4911cec46d6a3d20aba81a15f2c22

            src/qt/forms/rpcconsole.ui

             -        <widget class="QLabel" name="label_4">
             -         <property name="text">
             -          <string>Estimated total blocks</string>
             -         </property>
             -        </widget>
             -       </item>
             -       <item row="11" column="1">
             -        <widget class="QLabel" name="totalBlocks">
             -         <property name="cursor">
             -          <cursorShape>IBeamCursor</cursorShape>
             -         </property>
             -         <property name="text">
             -          <string>N/A</string>
             -         </property>
             -         <property name="textFormat">
             -          <enum>Qt::PlainText</enum>
             -         </property>
             -         <property name="textInteractionFlags">
             -          <set>Qt::LinksAccessibleByMouse|Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse</set>
             -         </property>
             -        </widget>
             -       </item>
             -       <item row="12" column="0">
            

            Code removed

            +       <item row="11" column="1">
            

            A number of size changes. Updated since.

             +          <string>Open the Feathercoin debug log file from the current data directory. This can take a few seconds for large log files.</string>
            

            Bitcoin name change

             +       <item row="15" column="0">
            

            Additional (Frame) size change

            1 Reply Last reply Reply Quote 0
            • wrapper
              wrapper Moderators last edited by

              Feathercoin specific changes made to convert Bitcoin to FTC 0.9.6.*

              fix coinname in QT-UI - commit

              https://github.com/FeatherCoin/Feathercoin/commit/5084b46f8af4911cec46d6a3d20aba81a15f2c22

              src/qt/forms/sendcoinsentry.ui

               +       <string>A message that was attached to the feathercoin: URI which will be stored with the transaction for your reference. Note: This message will not be sent over the Feathercoin network.</string>
              

              Name change ? should be Feathercoin? done with translations?

              1 Reply Last reply Reply Quote 0
              • wrapper
                wrapper Moderators last edited by

                Feathercoin specific changes made to convert Bitcoin to FTC 0.9.6.*

                fix coinname in QT-UI - commit

                https://github.com/FeatherCoin/Feathercoin/commit/5084b46f8af4911cec46d6a3d20aba81a15f2c22

                src/qt/forms/signverifymessagedialog.ui

                Name changes. Use translations?

                 +        <string>Sign the message to prove you own this Feathercoin address</string>
                
                 +        <string>Verify the message to ensure it was signed with the specified Feathercoin address</string>
                

                Code replaced

                1 Reply Last reply Reply Quote 0
                • wrapper
                  wrapper Moderators last edited by wrapper

                  Feathercoin specific changes made to convert Bitcoin to FTC 0.9.6.*

                  Add the Shapeshift API interface : - commit

                  https://github.com/FeatherCoin/Feathercoin/commit/e20615c45c07f8a4a433d3baf907934c5a8f3039

                  src/qt/Makefile.am

                   +  forms/shiftdialog.ui \
                  
                   +  moc_shiftdialog.cpp \
                  
                   +  shiftdialog.h \
                  
                   +  shiftdialog.cpp \
                  

                  Makefile updates. extra Shapeshift files

                  1 Reply Last reply Reply Quote 0
                  • wrapper
                    wrapper Moderators last edited by wrapper

                    Feathercoin specific changes made to convert Bitcoin to FTC 0.9.6.*

                    Add the Shapeshift API interface : - commit

                    https://github.com/FeatherCoin/Feathercoin/commit/e20615c45c07f8a4a433d3baf907934c5a8f3039

                    src/qt/bitcoingui.cpp

                     +    bitmessageAction = new QAction(QIcon(":/icons/bitmessage"), tr("B&itmessage..."), this);
                    
                     +    bitmessageAction->setStatusTip(tr("Start Bitmessage from feathercoin wallet"));
                    

                    Replaced messages

                     +     	
                     +     shapeshiftAction = new QAction(QIcon(":/icons/shapeshift"), tr("Shapeshift..."), this);
                     +     shapeshiftAction->setStatusTip(tr("Exchange other coins whit your feathercoin on Shapeshift"));
                     +     shapeshiftAction->setShortcut(QKeySequence(Qt::ALT      +  Qt::Key_8));
                    
                     +        connect(shapeshiftAction, SIGNAL(triggered()), this, SLOT(openShapeshiftClicked()));        
                    

                    Additional code

                     -        advanced->addAction(merchantListAction);
                               advanced->addSeparator();
                     -        advanced->addAction(bitmessageAction);
                    

                    Code removed

                     +         advanced->addAction(merchantListAction);
                     +     }
                     +     
                     +     QMenu *plugins = appMenuBar->addMenu(tr("&Plugins"));
                     +     if(walletFrame)
                     +     { 
                     +         plugins->addAction(bitmessageAction);
                     +         plugins->addSeparator();
                     +         plugins->addAction(shapeshiftAction);
                    

                    Code added

                     +    shapeshiftAction->setEnabled(enabled);
                    

                    Code added

                     + void BitcoinGUI::openShapeshiftClicked()
                     + {
                     +     if(!clientModel || !clientModel->getOptionsModel())
                     +         return;
                     + 
                     +     ShiftDialog dlg(this);
                     +     dlg.setModel(clientModel->getOptionsModel());
                     +     dlg.exec();
                     + }
                     + 
                    

                    Code added

                    1 Reply Last reply Reply Quote 0
                    • wrapper
                      wrapper Moderators last edited by wrapper

                      Feathercoin specific changes made to convert Bitcoin to FTC 0.9.6.*

                      Add the Shapeshift API interface : - commit

                      https://github.com/FeatherCoin/Feathercoin/commit/e20615c45c07f8a4a433d3baf907934c5a8f3039

                      src/qt/bitcoingui.h

                       +    QAction *shapeshiftAction;
                      
                       +    /** Visit Shapeshift' API */
                       +    void openShapeshiftClicked();
                      

                      Additional code

                      1 Reply Last reply Reply Quote 0
                      • wrapper
                        wrapper Moderators last edited by wrapper

                        Feathercoin specific changes made to convert Bitcoin to FTC 0.9.6.*

                        Add the Shapeshift API interface : - commit

                        https://github.com/FeatherCoin/Feathercoin/commit/e20615c45c07f8a4a433d3baf907934c5a8f3039

                        src/qt/feathercoin.qrc

                         +        <file alias="shapeshift">res/icons/shapeshift.png</file>
                        
                         +        <file alias="merchant_shapeshift">res/images/shapeshift.png</file>
                         +        <file alias="merchant_bitbooks">res/images/bitbooks.png</file>
                         +        <file alias="merchant_coinverted">res/images/coinverted.png</file>
                        

                        Additional code shapeshift

                        1 Reply Last reply Reply Quote 0
                        • wrapper
                          wrapper Moderators last edited by wrapper

                          Feathercoin specific changes made to convert Bitcoin to FTC 0.9.6.*

                          Add the Shapeshift API interface : - commit

                          https://github.com/FeatherCoin/Feathercoin/commit/e20615c45c07f8a4a433d3baf907934c5a8f3039

                          src/qt/forms/merchantlist.ui

                           +    <height>461</height>
                          

                          Code change size

                           +         <layout class="QHBoxLayout" name="horizontalLayout_5">
                           +          <item>
                           +           <widget class="QLabel" name="label_left_3">
                           +            <property name="cursor">
                           +             <cursorShape>PointingHandCursor</cursorShape>
                           +            </property>
                           +            <property name="text">
                           +             <string/>
                           +            </property>
                           +            <property name="pixmap">
                           +             <pixmap resource="../feathercoin.qrc">:/images/merchant_bitbooks</pixmap>
                           +            </property>
                           +           </widget>
                           +          </item>
                           +          <item>
                           +           <widget class="QLabel" name="label_left_4">
                           +            <property name="cursor">
                           +             <cursorShape>PointingHandCursor</cursorShape>
                           +            </property>
                           +            <property name="text">
                           +             <string/>
                           +            </property>
                           +            <property name="pixmap">
                           +             <pixmap resource="../feathercoin.qrc">:/images/merchant_coinverted</pixmap>
                           +            </property>
                           +           </widget>
                           +          </item>
                           +          <item>
                           +           <spacer name="horizontalSpacer_2">
                           +            <property name="orientation">
                           +             <enum>Qt::Horizontal</enum>
                           +            </property>
                           +            <property name="sizeHint" stdset="0">
                           +             <size>
                           +              <width>40</width>
                           +              <height>20</height>
                           +             </size>
                           +            </property>
                           +           </spacer>
                           +          </item>
                           +         </layout>
                           +        </item>
                           +        <item>
                           +         <layout class="QHBoxLayout" name="horizontalLayout_6">
                           +          <item>
                           +           <widget class="QLabel" name="label_left_5">
                           +            <property name="text">
                           +             <string/>
                           +            </property>
                           +           </widget>
                           +          </item>
                           +          <item>
                           +           <widget class="QLabel" name="label_left_6">
                           +            <property name="text">
                           +             <string/>
                           +            </property>
                           +           </widget>
                           +          </item>
                           +         </layout>
                           +        </item>
                           +        <item>
                          

                          New code layout

                           +         <layout class="QHBoxLayout" name="horizontalLayout_4">
                           +          <item>
                           +           <widget class="QLabel" name="label_right_7">
                           +            <property name="cursor">
                           +             <cursorShape>PointingHandCursor</cursorShape>
                           +            </property>
                           +            <property name="text">
                           +             <string/>
                           +            </property>
                           +            <property name="pixmap">
                           +             <pixmap resource="../feathercoin.qrc">:/images/merchant_shapeshift</pixmap>
                           +            </property>
                           +           </widget>
                           +          </item>
                           +         </layout>
                           +        </item>
                           +        <item>
                          

                          New code layout

                          1 Reply Last reply Reply Quote 0
                          • wrapper
                            wrapper Moderators last edited by wrapper

                            Feathercoin specific changes made to convert Bitcoin to FTC 0.9.6.*

                            Add the Shapeshift API interface : - commit

                            https://github.com/FeatherCoin/Feathercoin/commit/e20615c45c07f8a4a433d3baf907934c5a8f3039

                            src/qt/forms/shiftdialog.ui

                            New file for shapeshift interface

                            <?xml version="1.0" encoding="UTF-8"?>
                            <ui version="4.0">
                             <class>ShiftDialog</class>
                             <widget class="QDialog" name="ShiftDialog">
                              <property name="geometry">
                               <rect>
                                <x>0</x>
                                <y>0</y>
                                <width>560</width>
                                <height>425</height>
                               </rect>
                              </property>
                              <property name="windowTitle">
                               <string>ShapeShift</string>
                              </property>
                              <property name="modal">
                            <bool>true</bool>
                            

                            Start of code 1192 lines

                            1 Reply Last reply Reply Quote 0
                            • wrapper
                              wrapper Moderators last edited by wrapper

                              Feathercoin specific changes made to convert Bitcoin to FTC 0.9.6.*

                              Add the Shapeshift API interface : - commit

                              https://github.com/FeatherCoin/Feathercoin/commit/e20615c45c07f8a4a433d3baf907934c5a8f3039

                              src/qt/merchantlist.cpp

                               +    ui->label_left_3->installEventFilter(this);
                               +    ui->label_left_4->installEventFilter(this);
                              
                               +    ui->label_right_7->installEventFilter(this);
                              

                              Code addition

                               + 	 	 	if (obj == ui->label_left_3) { 
                               + 	 	 	  QDesktopServices::openUrl(QUrl("http://bitbooks.co"));
                               + 	 			return true; 
                               + 	 		}
                               + 	 	 	if (obj == ui->label_left_4) { 
                               + 	 	 	  QDesktopServices::openUrl(QUrl("http://coinverted.com"));
                               + 	 			return true; 
                               + 	 		}
                              

                              Code addition

                               + 	 		if (obj == ui->label_right_7) { 
                               + 	 	 	  QDesktopServices::openUrl(QUrl("http://shapeshift.io"));
                               + 	 			return true; 
                               + 	 		}
                              

                              Code addition

                               + #if QT_VERSION >= 0x040700
                               +     ui->thirdPartyTxUrls->setPlaceholderText("http://explorer.feathercoin.com/tx/%s");
                               + #endif
                              

                              Code addition ifdef Qt version

                               +     /* Wallet */
                               +     connect(ui->spendZeroConfChange, SIGNAL(clicked(bool)), this, SLOT(showRestartWarning()));
                              
                                +    connect(ui->thirdPartyTxUrls, SIGNAL(textChanged(const QString &)), this, SLOT(showRestartWarning()));
                              
                                +    mapper->addMapping(ui->thirdPartyTxUrls, OptionsModel::ThirdPartyTxUrls);
                              

                              Added code shapeshift

                              1 Reply Last reply Reply Quote 0
                              • wrapper
                                wrapper Moderators last edited by

                                Feathercoin specific changes made to convert Bitcoin to FTC 0.9.6.*

                                Add the Shapeshift API interface : - commit

                                https://github.com/FeatherCoin/Feathercoin/commit/e20615c45c07f8a4a433d3baf907934c5a8f3039

                                src/qt/res/images/*

                                 src/qt/res/icons/shapeshift.png
                                
                                 src/qt/res/images/bitbooks.png
                                 src/qt/res/images/bitbooks.png
                                 src/qt/res/images/coinverted.png
                                 
                                 src/qt/res/images/shapeshift.png
                                 src/qt/res/images/splash.png
                                

                                New images and icons added

                                1 Reply Last reply Reply Quote 0
                                • wrapper
                                  wrapper Moderators last edited by

                                  Feathercoin specific changes made to convert Bitcoin to FTC 0.9.6.*

                                  Add the Shapeshift API interface : - commit

                                  https://github.com/FeatherCoin/Feathercoin/commit/e20615c45c07f8a4a433d3baf907934c5a8f3039

                                  src/qt/shiftdialog.cpp

                                  New file for shapeshift

                                   + // Copyright (c) 2011-2013 The Bitcoin developers
                                   + // Distributed under the MIT/X11 software license, see the accompanying
                                   + // file COPYING or http://www.opensource.org/licenses/mit-license.php.
                                   + 
                                   + #if defined(HAVE_CONFIG_H)
                                   + #include "bitcoin-config.h"
                                   + #endif
                                   + 
                                   + #include "shiftdialog.h"
                                   + #include "ui_shiftdialog.h"
                                   + 
                                   + #include "bitcoinunits.h"
                                   + #include "guiutil.h"
                                   + #include "monitoreddatamapper.h"
                                   + #include "optionsmodel.h"
                                   + 
                                   + #include "main.h" // for CTransaction::nMinTxFee and MAX_SCRIPTCHECK_THREADS
                                   + #include "netbase.h"
                                   + #include "txdb.h" // for -dbcache defaults
                                  

                                  Start of code for new file 454 lines of code

                                  1 Reply Last reply Reply Quote 0
                                  • wrapper
                                    wrapper Moderators last edited by

                                    Feathercoin specific changes made to convert Bitcoin to FTC 0.9.6.*

                                    Add the Shapeshift API interface : - commit

                                    https://github.com/FeatherCoin/Feathercoin/commit/e20615c45c07f8a4a433d3baf907934c5a8f3039

                                    src/qt/shiftdialog.h

                                    New file for shapeshift

                                     + // Copyright (c) 2011-2013 The Bitcoin developers
                                     + // Distributed under the MIT/X11 software license, see the accompanying
                                     + // file COPYING or http://www.opensource.org/licenses/mit-license.php.
                                     + 
                                     + #ifndef SHIFTDIALOG_H
                                     + #define SHIFTDIALOG_H
                                     + 
                                     + #include <QDialog>
                                     + #include <QtNetwork>
                                     + 
                                     + class MonitoredDataMapper;
                                     + class OptionsModel;
                                     + class QValidatedLineEdit;
                                     + 
                                     + namespace Ui {
                                     + class ShiftDialog;
                                     + }
                                     + 
                                     + /** Preferences dialog. */
                                     + class ShiftDialog : public QDialog
                                    

                                    New file for shapeshift start of code …

                                    1 Reply Last reply Reply Quote 0
                                    • wrapper
                                      wrapper Moderators last edited by wrapper

                                      Feathercoin specific changes made to convert Bitcoin to FTC 0.9.6.*

                                      Add lock/unlock menu : - commit

                                      https://github.com/FeatherCoin/Feathercoin/commit/6f0ff3bb8b59d5955d1fcb9614ed9259061ca882

                                      src/qt/bitcoingui.cpp

                                      Update for shapeshift

                                       +     lockWalletAction = new QAction(QIcon(":/icons/lock_closed"), tr("&Lock wallet"), this);
                                       +     lockWalletAction->setToolTip(tr("Lock wallet"));
                                       +     lockWalletAction->setCheckable(true);
                                       + 
                                       +     unlockWalletAction = new QAction(QIcon(":/icons/lock_open"), tr("Unlo&ck wallet"), this);
                                       +     unlockWalletAction->setToolTip(tr("Unlock wallet"));
                                       +     unlockWalletAction->setCheckable(true);
                                      

                                      Additional code

                                        +    connect(lockWalletAction, SIGNAL(triggered(bool)), walletFrame, SLOT(lockWallet()));
                                        +     connect(unlockWalletAction, SIGNAL(triggered(bool)), walletFrame, SLOT(unlockWallet()));
                                        +  
                                      

                                      Additional code

                                       +     file->addAction(lockWalletAction);
                                       +     file->addAction(unlockWalletAction);
                                       +     file->addSeparator();
                                      

                                      Additional code

                                       +         lockWalletAction->setEnabled(false);
                                       +         unlockWalletAction->setEnabled(false);
                                      

                                      Additional code

                                       +         lockWalletAction->setEnabled(true);
                                       +         lockWalletAction->setChecked(false);
                                       +         unlockWalletAction->setEnabled(false);
                                       +         unlockWalletAction->setChecked(true);
                                      

                                      Additional code

                                       +         lockWalletAction->setChecked(true);
                                       +         lockWalletAction->setEnabled(false);
                                       +         unlockWalletAction->setChecked(false);
                                       +         unlockWalletAction->setEnabled(true); 
                                      

                                      Additional code

                                      1 Reply Last reply Reply Quote 0
                                      • wrapper
                                        wrapper Moderators last edited by wrapper

                                        Feathercoin specific changes made to convert Bitcoin to FTC 0.9.6.*

                                        Add lock/unlock menu : - commit

                                        https://github.com/FeatherCoin/Feathercoin/commit/6f0ff3bb8b59d5955d1fcb9614ed9259061ca882

                                        src/qt/bitcoingui.h

                                        Update for shapeshift

                                         -    WalletFrame *walletFrame;
                                        

                                        Code replaced

                                         +    WalletModel *walletModel;
                                         +    WalletFrame *walletFrame;    
                                        

                                        Additional code

                                         +    QAction *lockWalletAction;
                                         +    QAction *unlockWalletAction;
                                        

                                        Additional code

                                        1 Reply Last reply Reply Quote 0
                                        • wrapper
                                          wrapper Moderators last edited by wrapper

                                          Feathercoin specific changes made to convert Bitcoin to FTC 0.9.6.*

                                          Add lock/unlock menu : - commit

                                          https://github.com/FeatherCoin/Feathercoin/commit/6f0ff3bb8b59d5955d1fcb9614ed9259061ca882

                                          src/qt/walletframe.cpp

                                          Update for shapeshift

                                           + void WalletFrame::lockWallet()
                                           + {
                                           +     WalletView *walletView = currentWalletView();
                                           +     if (walletView)
                                           +         walletView->lockWallet();
                                           + }
                                           + 
                                          

                                          Code added

                                          1 Reply Last reply Reply Quote 1
                                          • wrapper
                                            wrapper Moderators last edited by

                                            Feathercoin specific changes made to convert Bitcoin to FTC 0.9.6.*

                                            Add lock/unlock menu : - commit

                                            https://github.com/FeatherCoin/Feathercoin/commit/6f0ff3bb8b59d5955d1fcb9614ed9259061ca882

                                            src/qt/walletframe.h

                                            Update for shapeshift

                                            +    /** Lock the wallet */
                                            +    void lockWallet();
                                            
                                            1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post