Changeset 642


Ignore:
Timestamp:
11/30/08 11:29:23 (11 years ago)
Author:
Eoin
Message:
 
Location:
trunk
Files:
10 edited

Legend:

Unmodified
Added
Removed
  • trunk/Readme.txt

    r467 r642  
    1 Halite: A Free Open-Source BitTorrent client 
     1Halite: A Free Open-Source BitTorrent client 
    22 
    3 Version: 0.3.0.7 dev 465 released 30th May 2008 
     3Version: 0.3.1.6 dev 638 released 29th November 2008 
    44 
    55WWW:   http://www.binarynotions.com/halite-bittorrent-client  
     
    2121 
    2222  + File selection and/or file priority specifications. 
     23  + 'Managed torrent' queue system. 
     24  + Disk cache support. 
    2325  + Trackerless torrents (using the Mainline kademlia DHT protocol). 
    2426  + IP filtering with eMule style ipfilter.dat import. 
     
    2628  + Translations of the UI into a number of languages through the help  
    2729    of volunteers. (if you wish to help with a translation then please do) 
    28   + Minimize to tray with transfer rate summary. 
    29   + Full Unicode support through UTF-8 and native Windows wide-char strings. 
     30  + Minimise to tray with transfer rate summary. 
     31  + Full Unicode support through UTF-8 and native Windows wide-char  
     32    strings. 
    3033  + Login support where tracker requires it. 
    3134  + Ability to edit trackers specified in the torrent. 
    3235  + Transfer rate and connection limits both global and per-torrent. 
    3336  + Torrent file creation. 
     37  + Port randomisation and forwarding (UnPlug and Play or NAT-PMP) 
     38  + Compatible with UAC. 
    3439 
    35 Requirements: Windows 2000, XP, Server 2003 and Vista (Note currently 
    36 Vista users need to install the application to a directory where they 
    37 will have full read and write access to. The recommended solution is 
    38 to use the standalone exe distribution and not the installer. 
     40Requirements: Windows 2000, XP, Server 2003, Vista or Server 2008. 
    3941 
    40 Known Issues/Problems:  
     42Important note for people upgrading! 
    4143 
    42 Halite does not always gracefully accept configuration information 
    43 from previous versions. Should you experience crashes upon running 
    44 Halite you should delete any old Halite.ini.xml or Halite.xml.  
     44When installing through the MSI file download, Halite will make a 
     45registry entry pointing it to use the local Application Data directory 
     46for all configuration files. User should manually copy any existing 
     47files from an older Halite version to that directory. The recommended 
     48files and folder to copy are: 
    4549 
    46 You will not lose any downloads in progress and those which do not 
    47 restart automatically can be done so manually by loading the 
    48 associated torrent file from the 'torrents' subdirectory. 
     50Halite.xml 
     51BitTorrent.xml 
     52IPFilter.bin 
     53DHTState.bin 
     54resume/* 
     55torrents/* 
     56 
     57These changes were necessary to make Halite fully compatible with User 
     58Account Control. To revert to 'portable mode' whereby all config 
     59information will be saved alongside the executable simply delete that 
     60registry key (HKEY_CURRENT_USER\Software\Halite\path). If you only 
     61ever used the standalone download release this will not be necessary. 
     62 
     63Big Known Issues 
     64 
     65  + 'Queue View' mode is not supported on Windows 2000. 
     66  + Sorting in 'Queue View' mode is currently not functional under XP. 
     67  + CPU usage spikes if the file tab is left open for a torrent with a  
     68    large number of separate files. 
    4969 
    5070Changes: 
    5171 
    52  - from v 0.3.0.5 to 0.3.0.7:  
     72 + from v 0.3.1 to 0.3.1.6: 
     73   1) Based on libtorrent 0.14 which brings with it: 
     74      - Disk cache support 
     75      - 'Managed torrent' queue system 
     76      - Improved seeding and choking behavior 
     77      - Resource usage optimizations 
     78      - Many more fixes and improvements  
     79   (code.rasterbar.com/libtorrent/browser/tags/libtorrent-0_14/ChangeLog) 
     80 
     81   2) Optional port randomizations (both main and DHT). 
     82   3) Numerous internal settings are now exposed by the GUI. 
     83   4) Plays nice by Vista/Server 2008 UAC rules. See note above.  
     84   2) Rewritten XML fileformat (again) with greatly improved robustness. 
     85 
     86 + from v 0.3.0.7 to 0.3.1:  
     87   1) Bug fixes. 
     88 
     89 + from v 0.3.0.5 to 0.3.0.7:  
    5390   1) Adds ability to create torrent files. 
    5491   2) A lot of small improvements and bug fixes. 
     
    6097   4) Fixed a bug with tracker logins. 
    6198 
    62  - from v 0.3 to 0.3.0.2:  
     99 + from v 0.3 to 0.3.0.2:  
    63100   Mainly a bugfix release. 
    64    1) Fixed a bug with Tray Icon rmeaining after window was restored. 
    65    2) Torrent Connection and Transfer setting mapped to incorrect editbox. 
     101   1) Fixed a bug with Tray Icon remaining after window was restored. 
     102   2) Torrent Connection and Transfer setting mapped to incorrect  
     103      editbox. 
    66104   3) Subtle bug where some settings didn't register straight away. 
    67105 
    68  - from v 0.2.9 to 0.3:  
     106 + from v 0.2.9 to 0.3:  
    69107   1) File selection and/or priority settings. 
    70108   2) Protocol Encryption. 
     
    73111   5) Numerous bug fixes. 
    74112    
    75  - from v 0.2.8 to 0.2.9:  
     113 + from v 0.2.8 to 0.2.9:  
    76114   1) Full Unicode support! 
    77115   2) Rewitten XML fileformat with greatly improved robustness. 
     
    83121      though at the cost of slightly bigger executables. 
    84122    
    85 - from v 0.2.7 to 0.2.8:  
     123+ from v 0.2.7 to 0.2.8:  
    86124   1) IP filtering support eMule style ipfilter.dat files. 
    87125   2) DHT support, thought it is turned off by default. 
     
    89127   4) New icon! 
    90128 
    91  - from v 0.2.6 to 0.2.7: 
     129 + from v 0.2.6 to 0.2.7: 
    92130   1) By default Halite will only allow one instance to be launched  
    93131   2) Halite can be set as the default program for '.torrent' files.  
    94132   3) ETA indicator for torrents. 4) Minor GUI tweaks. 
    95133 
    96  - from v 0.2.5 to 0.2.6:  
     134 + from v 0.2.5 to 0.2.6:  
    97135   1) Fixed a silly bug (i.e. I should have caught it sooner) whereby 
    98136      exiting Halite from the tray would screw up the window layout 
     
    100138   2) Added auto-selection to Torrents list to make it more intuitive. 
    101139 
    102  - from v 0.2 to 0.2.5:  
     140 + from v 0.2 to 0.2.5:  
    103141   1) The GUI is slightly altered so that it looks consistent and neat 
    104142      for a number of visual styles which I was able to test it on.  
    105143   2) The ability to drag and drop torrent files into the app has been 
    106144      added. 
    107    3) It will minimize to the tray instead of task bar and hovering 
     145   3) It will minimise to the tray instead of task bar and hovering 
    108146      mouse for the tray icon displays the current up and down rate.  
    109147   4) Where previously the various limits boxes didn't validate 
     
    137175  + nudone (Nick Pearson)- The excellent artist who designed the icon 
    138176    for Halite.  
    139         wtfcody.com / nudsville.com 
     177        wtfcody.com / nudsville.com 
    140178 
    141   + Austin- Very kindly made the Iss install script for Halite. 
     179  + Tw@in 28 for all the help moderating the forum. 
     180 
     181  + Austin; very kindly made the Iss install script for Halite. 
    142182 
    143183  + Everyone who has been in touch with me through email or the forum 
     
    145185    They have given the project direction and purpose. 
    146186 
    147   + And of course all the translators: 
    148     - devGod – Nederlandse vertaling. 
     187  + And of course all the translators:                     
     188 
     189    - devGod – Nederlandse vertaling. 
    149190    - MaikelChan - maikelchan88@gmail.com - Traducción en Español de España. 
    150     - Prome – prome.lwaku.info – Avtor slovenskega prevoda. 
    151     - Tw@in 28 (Giulio Pascali) – twain_28@hotmail.com - Traduttore Italiano. 
     191    - Prome – prome.lwaku.info – Avtor slovenskega prevoda.                   
     192    - Tw@in 28 twain_28@hotmail.com - Traduttore Italiano. 
    152193    - u!^DEV  - germanpg.hacker.to - deutsche Übersetzung. 
    153194    - webdr - www.langturk.com - Türkçe çeviri. 
    154  
     195    - Čagalj - cagalj@mail.ru - Preveo sve na srpski (latinicu i ćirilicu). 
     196    - AlexKrycek - alexkrycek0@gmail.com - μετάφραση στα ελληνικά. 
  • trunk/res/Halite.rc

    r641 r642  
    150150FONT 8, "MS Shell Dlg", 400, 0, 0x1 
    151151BEGIN 
    152     GROUPBOX        "Enable Extension",HAL_BC_EXT_GROUP,5,6,315,54 
    153     CONTROL         "Metadata Extension",HAL_BC_METADATADHT_EXT,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,12,120,90,11 
    154     CONTROL         "uTorrent Metadata",HAL_BC_uT_METADATA_EXT,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,12,120,90,11 
    155     CONTROL         "uTorrent Peer Exchange",HAL_BC_uT_PEEER_EX_EXT,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,12,120,90,11 
     152    GROUPBOX        "Enable Options or libtorrent Plugins",HAL_BC_EXT_GROUP,5,6,315,54 
     153    CONTROL         "Metadata Plugin",HAL_BC_METADATADHT_EXT,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,12,120,90,11 
     154    CONTROL         "uTorrent Metadata Plugin",HAL_BC_uT_METADATA_EXT,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,12,120,90,11 
     155    CONTROL         "uTorrent Peer Exchange Plugin",HAL_BC_uT_PEEER_EX_EXT,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,12,120,90,11 
    156156    CONTROL         "Smart Ban Plugin",HAL_BC_SMART_BAN_PLUGIN_EXT,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,12,120,90,11 
    157157    CONTROL         "Resolve Countries from IP",HAL_BC_RESOLVE_COUNTRIES,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,12,120,90,11 
     
    213213//    CONTROL         "None (Managed Externally)",HAL_BITT_GPORTFORWARD_NONE,"Button",BS_AUTORADIOBUTTON|WS_GROUP,284,73,16,11 
    214214    CONTROL         "UnPlug and Play",HAL_BITT_GPORTFORWARD_UPNG,"Button",BS_AUTOCHECKBOX,284,83,16,11 
    215     CONTROL         "NAT-PMG",HAL_BIT_GPORTFORWARD_NATPMP,"Button",BS_AUTOCHECKBOX,284,93,16,11 
     215    CONTROL         "NAT-PMP",HAL_BIT_GPORTFORWARD_NATPMP,"Button",BS_AUTOCHECKBOX,284,93,16,11 
    216216    LTEXT           "UPnP router model (if recognised).",HAL_BIT_GPORTFORWARD_MODEL,12,17,300,11,SS_WORDELLIPSIS | SS_CENTERIMAGE        
    217217    EDITTEXT        HAL_BIT_GPORTFORWARD_MODELTEXT,135,29,65,12,ES_AUTOHSCROLL 
  • trunk/sln/HaliteWix/Product.wxs

    r632 r642  
    117117    </Feature> 
    118118 
    119     <Icon Id="HaliteIcon.exe" SourceFile="..\..\$(var.ReleaseFolder)Halite.exe" /> 
     119    <Icon Id="HaliteIcon.exe" SourceFile="WiXIcon.exe" /> 
    120120 
    121121    <UIRef Id="WixUI_FeatureTree" /> 
  • trunk/src/AdvHaliteDialog.cpp

    r495 r642  
    44//    (See accompanying file LICENSE_1_0.txt or copy at 
    55//          http://www.boost.org/LICENSE_1_0.txt) 
    6  
    7 #include <algorithm> 
    8 #include <boost/format.hpp> 
    9 #include <boost/array.hpp> 
    106 
    117#include "stdAfx.hpp" 
  • trunk/src/halSession.cpp

    r590 r642  
    3636        bittorrentIni(L"BitTorrent.xml"), 
    3737        the_torrents_(bittorrentIni), 
    38         defTorrentMaxConn_(-1), 
    39         defTorrentMaxUpload_(-1), 
    40         defTorrentDownload_(-1), 
    41         defTorrentUpload_(-1), 
     38        default_torrent_max_connections_(-1), 
     39        default_torrent_max_uploads_(-1), 
     40        default_torrent_download_(-1), 
     41        default_torrent_upload_(-1), 
     42        resolve_countries_(true), 
    4243        ip_filter_on_(false), 
    4344        ip_filter_loaded_(false), 
  • trunk/src/halSession.hpp

    r641 r642  
    725725        void set_resolve_countries(bool b) 
    726726        {                
     727                resolve_countries_ = b; 
     728 
    727729                for (TorrentManager::torrentByName::iterator i=the_torrents_.begin(), e=the_torrents_.end();  
    728730                        i != e; ++i) 
    729731                { 
    730                         (*i).torrent->set_resolve_countries(b); 
     732                        (*i).torrent->set_resolve_countries(resolve_countries_); 
    731733                } 
    732734 
     
    837839 
    838840                        TIp->set_managed(managed); 
    839                         TIp->setTransferSpeed(bittorrent().defTorrentDownload(), bittorrent().defTorrentUpload()); 
    840                         TIp->set_connection_limit(bittorrent().defTorrentMaxConn(), bittorrent().defTorrentMaxUpload()); 
     841                        TIp->set_transfer_speed(bittorrent().default_torrent_download(), bittorrent().default_torrent_upload()); 
     842                        TIp->set_connection_limit(bittorrent().default_torrent_max_connections(), bittorrent().default_torrent_max_uploads()); 
     843                        TIp->set_resolve_countries(resolve_countries_); 
    841844                } 
    842845                 
     
    11121115        } 
    11131116         
    1114         int defTorrentMaxConn() { return defTorrentMaxConn_; } 
    1115         int defTorrentMaxUpload() { return defTorrentMaxUpload_; } 
    1116         float defTorrentDownload() { return defTorrentDownload_; } 
    1117         float defTorrentUpload() { return defTorrentUpload_; } 
     1117        int default_torrent_max_connections() { return default_torrent_max_connections_; } 
     1118        int default_torrent_max_uploads() { return default_torrent_max_uploads_; } 
     1119        float default_torrent_download() { return default_torrent_download_; } 
     1120        float default_torrent_upload() { return default_torrent_upload_; } 
    11181121         
    11191122private: 
     
    11291132        TorrentManager the_torrents_;    
    11301133         
    1131         int defTorrentMaxConn_; 
    1132         int defTorrentMaxUpload_; 
    1133         float defTorrentDownload_; 
    1134         float defTorrentUpload_; 
    1135          
     1134        int default_torrent_max_connections_; 
     1135        int default_torrent_max_uploads_; 
     1136        float default_torrent_download_; 
     1137        float default_torrent_upload_; 
     1138         
     1139        bool resolve_countries_; 
    11361140        bool ip_filter_on_; 
    11371141        bool ip_filter_loaded_; 
  • trunk/src/halTorrent.cpp

    r641 r642  
    283283void bit::set_torrent_defaults(const connections& defaults) 
    284284{ 
    285         pimpl->defTorrentMaxConn_ = defaults.total; 
    286         pimpl->defTorrentMaxUpload_ = defaults.uploads; 
     285        pimpl->default_torrent_max_connections_ = defaults.total; 
     286        pimpl->default_torrent_max_uploads_ = defaults.uploads; 
    287287 
    288288        event_log.post(shared_ptr<EventDetail>(new EventMsg( 
     
    290290                        % defaults.total % defaults.uploads))); 
    291291 
    292         pimpl->defTorrentDownload_ = defaults.download_rate; 
    293         pimpl->defTorrentUpload_ = defaults.upload_rate; 
     292        pimpl->default_torrent_download_ = defaults.download_rate; 
     293        pimpl->default_torrent_upload_ = defaults.upload_rate; 
    294294 
    295295        event_log.post(shared_ptr<EventDetail>(new EventMsg( 
     
    674674        try { 
    675675         
    676         ptr->setTransferSpeed(l.first, l.second); 
     676        ptr->set_transfer_speed(l.first, l.second); 
    677677         
    678678        } HAL_GENERIC_TORRENT_PROP_EXCEPTION_CATCH("torrent::set_rate_limits") 
     
    842842} 
    843843 
    844 int bit::defTorrentMaxConn() { return pimpl->defTorrentMaxConn_; } 
    845 int bit::defTorrentMaxUpload() { return pimpl->defTorrentMaxUpload_; } 
    846 float bit::defTorrentDownload() { return pimpl->defTorrentDownload_; } 
    847 float bit::defTorrentUpload() { return pimpl->defTorrentUpload_; } 
     844int bit::default_torrent_max_connections() { return pimpl->default_torrent_max_connections_; } 
     845int bit::default_torrent_max_uploads() { return pimpl->default_torrent_max_uploads_; } 
     846float bit::default_torrent_download() { return pimpl->default_torrent_download_; } 
     847float bit::default_torrent_upload() { return pimpl->default_torrent_upload_; } 
    848848         
    849849}; 
  • trunk/src/halTorrent.hpp

    r641 r642  
    958958        friend bit& bittorrent(); 
    959959         
    960         int defTorrentMaxConn(); 
    961         int defTorrentMaxUpload(); 
    962         float defTorrentDownload(); 
    963         float defTorrentUpload();        
     960        int default_torrent_max_connections(); 
     961        int default_torrent_max_uploads(); 
     962        float default_torrent_download(); 
     963        float default_torrent_upload();  
    964964 
    965965        const torrent_details_manager& torrentDetails(); 
  • trunk/src/halTorrentDefines.hpp

    r637 r642  
    77#pragma once 
    88 
    9 #define HALITE_VERSION                                  0, 3, 1, 634 
    10 #define HALITE_VERSION_STRING                   "v 0.3.1.6 dev 634" 
     9#define HALITE_VERSION                                  0, 3, 1, 638 
     10#define HALITE_VERSION_STRING                   "v 0.3.1.6 dev 638" 
    1111#define HALITE_FINGERPRINT                              "HL", 0, 3, 1, 6 
    1212 
  • trunk/src/halTorrentInternal.hpp

    r641 r642  
    526526        } 
    527527 
    528         void setTransferSpeed(float down, float up) 
     528        void set_transfer_speed(float down, float up) 
    529529        {        
    530530                mutex_t::scoped_lock l(mutex_); 
Note: See TracChangeset for help on using the changeset viewer.