Changeset 283


Ignore:
Timestamp:
09/06/07 16:57:57 (13 years ago)
Author:
Eoin
Message:

Hopefully snapshot 283.

Files:
2 added
19 edited

Legend:

Unmodified
Added
Removed
  • Halite.iss

    r273 r283  
    22 
    33#define MyAppName "Halite" 
    4 #define MyAppVerName "Halite 0.2.9 dev 270" 
     4#define MyAppVerName "Halite 0.2.9 dev 283" 
    55#define MyAppPublisher "BinaryNotions.com" 
    66#define MyAppURL "http://www.binarynotions.com/halite.php" 
     
    1919AllowNoIcons=yes 
    2020LicenseFile=LICENSE_1_0.txt 
    21 OutputBaseFilename=Halite.0_2_9_dev270.setup 
     21OutputBaseFilename=Halite.0_2_9_dev283.setup 
    2222Compression=lzma 
    2323SolidCompression=true 
  • Halite.pnproj

    r277 r283  
    1 <Project name="Halite"><MagicFolder excludeFolders="CVS;.svn" filter="*.*" name="res" path="res\"><File path="About.rtf"></File><File path="afxres.h"></File><File path="Halite.aps"></File><File path="Halite.ico"></File><File path="Halite.rc"></File><File path="Manifest.xml"></File><File path="resource.h"></File><File path="toolbar.bmp"></File></MagicFolder><MagicFolder excludeFolders="CVS;.svn" filter="*.*" name="src" path="src\"><MagicFolder excludeFolders="CVS;.svn" filter="*.*" name="advtabs" path="advtabs\"><File path="Debug.cpp"></File><File path="Debug.hpp"></File><File path="Files.cpp"></File><File path="Files.hpp"></File><File path="Peers.cpp"></File><File path="Peers.hpp"></File><File path="ThemeTestDialog.hpp"></File><File path="Torrent.cpp"></File><File path="Torrent.hpp"></File><File path="Tracker.cpp"></File><File path="Tracker.hpp"></File><File path="TrackerAddDialog.hpp"></File><File path="TrackerListView.cpp"></File><File path="TrackerListView.hpp"></File></MagicFolder><MagicFolder excludeFolders="CVS;.svn" filter="*.*" name="global" path="global\"><File path="InheritEnum.hpp"></File><File path="ini.cpp"></File><File path="ini.hpp"></File><File path="ini_adapter.cpp"></File><File path="ini_adapter.hpp"></File><File path="logger.cpp"></File><File path="logger.hpp"></File><File path="string_conv.cpp"></File><File path="string_conv.hpp"></File><File path="tinyxml.cpp"></File><File path="tinyxml.hpp"></File><File path="tinyxmlerror.cpp"></File><File path="tinyxmlparser.cpp"></File><File path="unicode.hpp"></File><File path="utf8.hpp"></File><File path="wtl_app.cpp"></File><File path="wtl_app.hpp"></File></MagicFolder><File path="AdvHaliteDialog.cpp"></File><File path="AdvHaliteDialog.hpp"></File><File path="ConfigOptions.cpp"></File><File path="ConfigOptions.hpp"></File><File path="CSSFileDialog.hpp"></File><File path="DdxEx.hpp"></File><File path="DebugDialog.hpp"></File><File path="DropFileTarget.h"></File><File path="halConfig.cpp"></File><File path="halConfig.hpp"></File><File path="halEvent.cpp"></File><File path="halEvent.hpp"></File><File path="Halite.cpp"></File><File path="Halite.hpp"></File><File path="HaliteDialog.cpp"></File><File path="HaliteDialog.hpp"></File><File path="HaliteDialogBase.hpp"></File><File path="HaliteEditCtrl.hpp"></File><File path="HaliteIni.hpp"></File><File path="HaliteListManager.hpp"></File><File path="HaliteListView.cpp"></File><File path="HaliteListView.hpp"></File><File path="HaliteListViewCtrl.hpp"></File><File path="HaliteSortListViewCtrl.hpp"></File><File path="HaliteTabCtrl.hpp"></File><File path="HaliteTabPage.hpp"></File><File path="HaliteUpdateLock.hpp"></File><File path="HaliteWindow.cpp"></File><File path="HaliteWindow.hpp"></File><File path="halTorrent.cpp"></File><File path="halTorrent.hpp"></File><File path="halTorrentInternal.hpp"></File><File path="halXmlRpc.cpp"></File><File path="halXmlRpc.hpp"></File><File path="NTray.cpp"></File><File path="NTray.hpp"></File><File path="ProgressDialog.hpp"></File><File path="SimpleHtml.h"></File><File path="SplashDialog.hpp"></File><File path="SSFileDialog.hpp"></File><File path="stdAfx.cpp"></File><File path="stdAfx.hpp"></File><File path="UxthemeWrapper.cpp"></File><File path="UxthemeWrapper.hpp"></File><File path="WinAPIMutex.hpp"></File><File path="WinAPIWaitableTimer.hpp"></File></MagicFolder><File path="Jamfile.v2"></File></Project> 
     1<Project name="Halite"><MagicFolder excludeFolders="CVS;.svn" filter="*.*" name="res" path="res\"><MagicFolder excludeFolders="CVS;.svn" filter="*.*" name="res24" path="res24\"><File path="ad.ico"></File><File path="ae.ico"></File><File path="af.ico"></File><File path="ag.ico"></File><File path="ai.ico"></File><File path="al.ico"></File><File path="am.ico"></File><File path="an.ico"></File><File path="ao.ico"></File><File path="ar.ico"></File><File path="as.ico"></File><File path="at.ico"></File><File path="au.ico"></File><File path="aw.ico"></File><File path="ax.ico"></File><File path="az.ico"></File><File path="ba.ico"></File><File path="bb.ico"></File><File path="bd.ico"></File><File path="be.ico"></File><File path="bf.ico"></File><File path="bg.ico"></File><File path="bh.ico"></File><File path="bi.ico"></File><File path="bj.ico"></File><File path="bm.ico"></File><File path="bn.ico"></File><File path="bo.ico"></File><File path="br.ico"></File><File path="bs.ico"></File><File path="bt.ico"></File><File path="bw.ico"></File><File path="by.ico"></File><File path="bz.ico"></File><File path="ca.ico"></File><File path="cc.ico"></File><File path="cd.ico"></File><File path="cf.ico"></File><File path="cg.ico"></File><File path="ch.ico"></File><File path="ci.ico"></File><File path="ck.ico"></File><File path="cl.ico"></File><File path="cm.ico"></File><File path="cn.ico"></File><File path="co.ico"></File><File path="cr.ico"></File><File path="cu.ico"></File><File path="cv.ico"></File><File path="cx.ico"></File><File path="cy.ico"></File><File path="cz.ico"></File><File path="de.ico"></File><File path="dj.ico"></File><File path="dk.ico"></File><File path="dm.ico"></File><File path="do.ico"></File><File path="dz.ico"></File><File path="ec.ico"></File><File path="ee.ico"></File><File path="eg.ico"></File><File path="eh.ico"></File><File path="er.ico"></File><File path="es.ico"></File><File path="et.ico"></File><File path="fi.ico"></File><File path="fj.ico"></File><File path="fk.ico"></File><File path="fm.ico"></File><File path="fo.ico"></File><File path="fr.ico"></File><File path="ga.ico"></File><File path="gb.ico"></File><File path="gd.ico"></File><File path="ge.ico"></File><File path="gg.ico"></File><File path="gh.ico"></File><File path="gi.ico"></File><File path="gk.ico"></File><File path="gl.ico"></File><File path="gm.ico"></File><File path="gn.ico"></File><File path="gp.ico"></File><File path="gq.ico"></File><File path="gr.ico"></File><File path="gs.ico"></File><File path="gt.ico"></File><File path="gu.ico"></File><File path="gw.ico"></File><File path="gy.ico"></File><File path="hk.ico"></File><File path="hn.ico"></File><File path="hr.ico"></File><File path="ht.ico"></File><File path="hu.ico"></File><File path="Icons.h"></File><File path="Icons.rc"></File><File path="id.ico"></File><File path="ie.ico"></File><File path="il.ico"></File><File path="im.ico"></File><File path="in.ico"></File><File path="io.ico"></File><File path="iq.ico"></File><File path="ir.ico"></File><File path="is.ico"></File><File path="it.ico"></File><File path="je.ico"></File><File path="jm.ico"></File><File path="jo.ico"></File><File path="jp.ico"></File><File path="ke.ico"></File><File path="kg.ico"></File><File path="kh.ico"></File><File path="ki.ico"></File><File path="km.ico"></File><File path="kn.ico"></File><File path="kp.ico"></File><File path="kr.ico"></File><File path="kw.ico"></File><File path="ky.ico"></File><File path="kz.ico"></File><File path="la.ico"></File><File path="lb.ico"></File><File path="lc.ico"></File><File path="li.ico"></File><File path="lk.ico"></File><File path="lr.ico"></File><File path="ls.ico"></File><File path="lt.ico"></File><File path="lu.ico"></File><File path="lv.ico"></File><File path="ly.ico"></File><File path="ma.ico"></File><File path="mc.ico"></File><File path="md.ico"></File><File path="me.ico"></File><File path="mg.ico"></File><File path="mh.ico"></File><File path="mk.ico"></File><File path="ml.ico"></File><File path="mm.ico"></File><File path="mn.ico"></File><File path="mo.ico"></File><File path="mp.ico"></File><File path="mq.ico"></File><File path="mr.ico"></File><File path="ms.ico"></File><File path="mt.ico"></File><File path="mu.ico"></File><File path="mv.ico"></File><File path="mw.ico"></File><File path="mx.ico"></File><File path="my.ico"></File><File path="mz.ico"></File><File path="na.ico"></File><File path="nc.ico"></File><File path="ne.ico"></File><File path="nf.ico"></File><File path="ng.ico"></File><File path="ni.ico"></File><File path="nl.ico"></File><File path="no.ico"></File><File path="not.ico"></File><File path="np.ico"></File><File path="nr.ico"></File><File path="nu.ico"></File><File path="nz.ico"></File><File path="om.ico"></File><File path="pa.ico"></File><File path="pe.ico"></File><File path="pf.ico"></File><File path="pg.ico"></File><File path="ph.ico"></File><File path="pk.ico"></File><File path="pl.ico"></File><File path="pm.ico"></File><File path="pn.ico"></File><File path="pr.ico"></File><File path="ps.ico"></File><File path="pt.ico"></File><File path="pw.ico"></File><File path="py.ico"></File><File path="qa.ico"></File><File path="ro.ico"></File><File path="rs.ico"></File><File path="ru.ico"></File><File path="rw.ico"></File><File path="sa.ico"></File><File path="sb.ico"></File><File path="sc.ico"></File><File path="sd.ico"></File><File path="se.ico"></File><File path="sg.ico"></File><File path="sh.ico"></File><File path="si.ico"></File><File path="sk.ico"></File><File path="sl.ico"></File><File path="sm.ico"></File><File path="sn.ico"></File><File path="so.ico"></File><File path="sr.ico"></File><File path="st.ico"></File><File path="sv.ico"></File><File path="sy.ico"></File><File path="sz.ico"></File><File path="tc.ico"></File><File path="td.ico"></File><File path="Template.rc"></File><File path="tf.ico"></File><File path="tg.ico"></File><File path="th.ico"></File><File path="tj.ico"></File><File path="tk.ico"></File><File path="tl.ico"></File><File path="tm.ico"></File><File path="tn.ico"></File><File path="to.ico"></File><File path="tr.ico"></File><File path="tt.ico"></File><File path="tv.ico"></File><File path="tw.ico"></File><File path="tz.ico"></File><File path="ua.ico"></File><File path="ug.ico"></File><File path="us.ico"></File><File path="uy.ico"></File><File path="uz.ico"></File><File path="va.ico"></File><File path="vc.ico"></File><File path="ve.ico"></File><File path="vg.ico"></File><File path="vi.ico"></File><File path="vn.ico"></File><File path="vu.ico"></File><File path="wf.ico"></File><File path="ws.ico"></File><File path="ye.ico"></File><File path="yu.ico"></File><File path="za.ico"></File><File path="zm.ico"></File><File path="zw.ico"></File></MagicFolder><File path="afxres.h"></File><File path="English.rtf"></File><File path="Halite.aps"></File><File path="Halite.ico"></File><File path="Halite.rc"></File><File path="Manifest.xml"></File><File path="resource.h"></File><File path="toolbar.bmp"></File></MagicFolder><MagicFolder excludeFolders="CVS;.svn" filter="*.*" name="src" path="src\"><MagicFolder excludeFolders="CVS;.svn" filter="*.*" name="advtabs" path="advtabs\"><File path="Debug.cpp"></File><File path="Debug.hpp"></File><File path="Files.cpp"></File><File path="Files.hpp"></File><File path="Peers.cpp"></File><File path="Peers.hpp"></File><File path="ThemeTestDialog.hpp"></File><File path="Torrent.cpp"></File><File path="Torrent.hpp"></File><File path="Tracker.cpp"></File><File path="Tracker.hpp"></File><File path="TrackerAddDialog.hpp"></File><File path="TrackerListView.cpp"></File><File path="TrackerListView.hpp"></File></MagicFolder><MagicFolder excludeFolders="CVS;.svn" filter="*.*" name="global" path="global\"><File path="InheritEnum.hpp"></File><File path="ini.cpp"></File><File path="ini.hpp"></File><File path="ini_adapter.cpp"></File><File path="ini_adapter.hpp"></File><File path="logger.cpp"></File><File path="logger.hpp"></File><File path="string_conv.cpp"></File><File path="string_conv.hpp"></File><File path="tinyxml.cpp"></File><File path="tinyxml.hpp"></File><File path="tinyxmlerror.cpp"></File><File path="tinyxmlparser.cpp"></File><File path="unicode.hpp"></File><File path="utf8.hpp"></File><File path="wtl_app.cpp"></File><File path="wtl_app.hpp"></File></MagicFolder><File path="AdvHaliteDialog.cpp"></File><File path="AdvHaliteDialog.hpp"></File><File path="ConfigOptions.cpp"></File><File path="ConfigOptions.hpp"></File><File path="CSSFileDialog.hpp"></File><File path="DdxEx.hpp"></File><File path="DebugDialog.hpp"></File><File path="DropFileTarget.h"></File><File path="halConfig.cpp"></File><File path="halConfig.hpp"></File><File path="halEvent.cpp"></File><File path="halEvent.hpp"></File><File path="Halite.cpp"></File><File path="Halite.hpp"></File><File path="HaliteDialog.cpp"></File><File path="HaliteDialog.hpp"></File><File path="HaliteDialogBase.hpp"></File><File path="HaliteEditCtrl.hpp"></File><File path="HaliteIni.hpp"></File><File path="HaliteListManager.hpp"></File><File path="HaliteListView.cpp"></File><File path="HaliteListView.hpp"></File><File path="HaliteListViewCtrl.hpp"></File><File path="HaliteSortListViewCtrl.hpp"></File><File path="HaliteTabCtrl.hpp"></File><File path="HaliteTabPage.hpp"></File><File path="HaliteUpdateLock.hpp"></File><File path="HaliteWindow.cpp"></File><File path="HaliteWindow.hpp"></File><File path="halTorrent.cpp"></File><File path="halTorrent.hpp"></File><File path="halTorrentInternal.hpp"></File><File path="halXmlRpc.cpp"></File><File path="halXmlRpc.hpp"></File><File path="NTray.cpp"></File><File path="NTray.hpp"></File><File path="ProgressDialog.hpp"></File><File path="SimpleHtml.h"></File><File path="SplashDialog.hpp"></File><File path="SSFileDialog.hpp"></File><File path="stdAfx.cpp"></File><File path="stdAfx.hpp"></File><File path="UxthemeWrapper.cpp"></File><File path="UxthemeWrapper.hpp"></File><File path="WinAPIMutex.hpp"></File><File path="WinAPIWaitableTimer.hpp"></File></MagicFolder><File path="Jamfile.v2"></File></Project> 
  • Halite.pnps

    r215 r283  
    1 <pd><ViewState><e p="Halite\src\advtabs" x="true"></e><e p="Halite" x="true"></e><e p="Halite\res" x="true"></e><e p="Halite\src" x="true"></e><e p="Halite\src\global" x="true"></e></ViewState></pd> 
     1<pd><ViewState><e p="Halite\src\advtabs" x="true"></e><e p="Halite" x="true"></e><e p="Halite\res" x="true"></e><e p="Halite\res\res24" x="false"></e><e p="Halite\src" x="true"></e><e p="Halite\src\global" x="true"></e></ViewState></pd> 
  • Jamfile.v2

    r279 r283  
    3939RESOURCES = 
    4040        Halite.rc 
     41#       Icons.rc 
    4142        ; 
    4243 
  • lang/Italian.txt

    r280 r283  
    1 "Halite.ico" --->  ???  
    2 "toolbar.bmp" --->  ???  
    3 "About.rtf" --->  ???  
    41"English" ---> "Italiano" 
     2"English.rtf" --->  ???  
    53"MS Shell Dlg" --->  ???  
    64"Torrent" --->  ???  
     
    97"msctls_progress32" --->  ???  
    108"Torrent connection limits:" ---> "Limiti connessioni torrent:" 
    11 "Torrent transfer rates (KB/s):" ---> "Velocità trasferimento torrent (KB/s):" 
     9"Torrent transfer rates (KB/s):" ---> "Velocità trasferimento torrent (KB/s):" 
    1210"Total" ---> "Totale" 
    1311"Up" --->  ???  
     
    1816"Torrent:" --->  ???  
    1917"Peers:" --->  ???  
    20 "Transfered:" --->  "Trasferiti"  
    21 "Remaining:" --->  "Rimanenti"  
    22 "Rates:" --->  "Valutazione"  
     18"Transferred:" --->  ???  
     19"Remaining:" ---> "Rimanenti" 
     20"Rates:" ---> "Valutazione" 
    2321"Seeds:" --->  ???  
    2422"Overhead:" --->  ???  
     
    2725"BitTorrent" --->  ???  
    2826"Open a (single) port between : " ---> "Apri una (singola) porta tra :" 
    29 "Enable DHT" --->  "Abilita DHT"  
     27"Enable DHT" ---> "Abilita DHT" 
    3028"Button" --->  ???  
    3129"to" ---> "a" 
    32 "Select the (TCP) port (or range) on which to listen for incomming connections." --->  "Seleziona la porta (TCP), o l'intervallo di porte da monitorare per connessioni entranti" 
     30"Select the (TCP) port (or range) on which to listen for incomming connections." ---> "Seleziona la porta (TCP), o l'intervallo di porte da monitorare per connessioni entranti" 
    3331"Distributed Hash Tables" --->  ???  
    3432"Port (UDP) : " ---> "Porta (UDP) :" 
    35 "(DHT will not apply to pirvate torrents)" --->  "(il DHT non funzionerà per torrent privati)"  
     33"(DHT will not apply to private torrents)" --->  ???  
    3634"General Settings" ---> "Opzioni Generali" 
    37 "Limit the no. of half-open connections" --->  "Limita il n. di connessioni simultanee"  
     35"Limit the no. of half-open connections" ---> "Limita il n. di connessioni simultanee" 
    3836"Proxies" --->  ???  
    3937"Proxy Host/IP : " --->  ???  
     
    4139"Port : " ---> "Porta :" 
    4240"Username : " ---> "Nome Utente :" 
    43 "Password : " ---> ??? 
     41"Password : " --->  ???  
    4442"Peer" --->  ???  
    4543"Web Seed" --->  ???  
    4644"DHT" --->  ???  
    47 "Proxy Settings" --->  "Settaggi Proxy" 
    48 "IP Filtering" --->  "Filtraggio IP"  
     45"Proxy Settings" ---> "Settaggi Proxy" 
     46"Security" --->  ???  
     47"IP Filtering" ---> "Filtraggio IP" 
    4948"Enable IP filtering." ---> "Abilita filtro IP." 
    5049"Import ipfilter.dat" ---> "Importa ipfilter.dat" 
    5150"Clear IP database" ---> "Cancella database IP" 
    52 "Protocol Encryption" --->  "Criptazione Protocollare"  
    53 "Enable Protocol Encryption." --->  "Abilita Criptazione" 
    54 "Connection Policies" --->  "Comportamenti di Connessione"  
    55 "Incoming" --->  "Entrante"  
    56 "Outcoming" --->  "Uscente"  
    57 "Forced" --->  "Forzata"  
    58 "Enabled" --->  "Abilitata"  
    59 "Disablied" --->  "Disabilitata"  
    60 "Encoding Level" --->  "Livello di codifica"  
     51"Protocol Encryption" ---> "Criptazione Protocollare" 
     52"Enable Protocol Encryption." ---> "Abilita Criptazione" 
     53"Connection Policies" ---> "Comportamenti di Connessione" 
     54"Incoming" ---> "Entrante" 
     55"Outgoing" --->  ???  
     56"Forced" ---> "Forzata" 
     57"Enabled" ---> "Abilitata" 
     58"Disabled" --->  ???  
     59"Encoding Level" ---> "Livello di codifica" 
    6160"Plaintext" --->  ???  
    6261"RC4" --->  ???  
    63 "Both" --->  "Entrambi"  
    64 "Prefer RC4" --->  "Preferisci RC4"  
     62"Both" ---> "Entrambi" 
     63"Prefer RC4" ---> "Preferisci RC4" 
    6564"Remote Control" ---> "Controllo Remoto" 
    6665"Remote Control Options" ---> "Opzioni Controllo Remoto" 
     
    8079"Total max connections :" ---> "Numero massimo di connessioni" 
    8180"Total upload slots :" ---> "Slot di upload totali" 
    82 "Download Rate (KB/s) :" ---> "Velocità Download (KB/s) :" 
    83 "Upload Rate (KB/s) :" ---> "Velocità Upload (KB/s) :" 
     81"Download Rate (KB/s) :" ---> "Velocità Download (KB/s) :" 
     82"Upload Rate (KB/s) :" ---> "Velocità Upload (KB/s) :" 
    8483"Torrent Defaults" ---> "Limiti per file Torrent" 
    8584"These options set global maximums which will always be honoured." ---> "Queste opzioni definiscono i limiti massimi che saranno sempre rispettati." 
    8685"These options specify the default limits applied to new torrents." ---> "Queste opzioni definiscono i limiti applicati ai singoli nuovi torrent." 
    87 "Default save folder :" --->  "Cartella predefinita di salvataggio"  
     86"Default save folder :" ---> "Cartella predefinita di salvataggio" 
    8887"..." --->  ???  
    8988"Prompt for alternate save folder." ---> "Consenti di scegliere una cartella alternativa." 
    9089"Halite shutting down..." ---> "Halite in chiusura...." 
    91 "It will take the BitTorrent session a moment to shutdown cleanly after which this message will disappear and the program will close." ---> "Ci vorrà qualche momento per la chiusura corretta della sessione BitTorrent, al termine della quale questo messaggio sparirà." 
     90"It will take the BitTorrent session a moment to shutdown cleanly after which this message will disappear and the program will close." ---> "Ci vorrà qualche momento per la chiusura corretta della sessione BitTorrent, al termine della quale questo messaggio sparirà." 
    9291"Show this message in future" ---> "Mostra messaggio in futuro" 
    9392"Create new torrent" ---> "Crea nuovo torrent" 
     
    108107"About" ---> "A proposito di" 
    109108"Program Information" ---> "Informazioni Programma" 
    110 "v 0.2.9 dev 270" --->  ???  
    111109"RichEdit20A" --->  ???  
    112110"SysTabControl32" --->  ???  
     
    115113"Advanced GUI" ---> "Interfaccia Avanzata" 
    116114"Minimize to tray." ---> "Riduci nella Tray" 
    117 "Language (requires restart)" --->  "Lingua (necessita riavvio)"  
     115"Language (requires restart)" ---> "Lingua (necessita riavvio)" 
    118116"List of Trackers." ---> "Lista dei Trackers ." 
    119117"Send login info to trackers." ---> "Manda informazioni di login ai trackers." 
     
    126124"OK" --->  ???  
    127125"Tracker URL" --->  ???  
    128 "Tier" ---> "Priorità" 
     126"Tier" ---> "Priorità" 
    129127"_POPUP_" --->  ???  
    130128"Open &Halite" ---> "Apri &Halite" 
     
    162160"0000 DHT node(s)" --->  ???  
    163161"Filtering 0000000 ranges." ---> "Filtrando 0000000 intervalli." 
    164 "The BitTorrent session could not start. Try selecting another port in the settings." ---> "La sessione BitTorrent non si è avviata. Prova a selezionare un'altra porta nelle Opzioni." 
    165 "DHT session could not start. Try selecting another port in the settings." ---> "La sessione DHT non si è avviata. Prova a selezionare un'altra porta nelle Opzioni." 
     162"The BitTorrent session could not start. Try selecting another port in the settings." ---> "La sessione BitTorrent non si Ú avviata. Prova a selezionare un'altra porta nelle Opzioni." 
     163"DHT session could not start. Try selecting another port in the settings." ---> "La sessione DHT non si Ú avviata. Prova a selezionare un'altra porta nelle Opzioni." 
    166164"Select a directory to save the files to or cancel to not download torrent at all." ---> "Seleziona una directory in cui salvare i files, o annulla per non scaricare il torrent." 
    167165"None" --->  ???  
     
    177175"Downloaded %1$.2fMB, Uploaded %2$.2fMB, Ratio %3$.2f." ---> "Scaricati %1$.2fMB, Inviati %2$.2fMB, Ratio %3$.2f" 
    178176"Total transfer including protocol overhead; %1$.2fMB down and %2$.2fMB up." --->  ???  
    179 "Name: %1%, %2%." --->  ???  
     177"%1%, %2%." --->  ???  
    180178"%1$.2fMB down - %2$.2fMB up" --->  ???  
    181179"%1$.2fKB/s down - %2$.2fKB/s up" --->  ???  
     
    195193"Tracker Event: %1%." --->  ???  
    196194"Debug Event: %1%." --->  ???  
    197 "Select a directory to save the downloads to. Select cancel to accept default 'incomming' location." --->  "Seleziona una cartella in cui salvare i downloads. Premi cancella per accettare la destinazione di default." 
     195"Select a directory to save the downloads to. Select cancel to accept default 'incoming' location." --->  ???  
    198196"Peers" --->  ???  
     197"Files" --->  ???  
    199198"Logging" --->  ???  
    200 "An invalid encoding level, %1%, was passed as an encryption setting." --->  ??? 
     199"An invalid encoding level, %1%, was passed as an encryption setting." --->  ???  
    201200"An invalid connection policy, %1%, was passed as an encryption setting." --->  ???  
    202201"Auto Sort" --->  ???  
     202"Torrent Root" --->  ???  
    203203"Interesting" --->  ???  
    204204"Choked" --->  ???  
     
    222222"Paused" ---> "In Pausa" 
    223223"Downloading Metadata" ---> "Scaricando Metadata" 
    224 "Name;Status;Completed;Download;Upload;Peers;Seeds;ETA;Copies;Tracker;Reannounce;Ratio" --->  "Nome;Stato;Completato;Download;Upload;Peers;Seeds;ETA;Copie;Tracker;Riannuncia;Ratio"  
    225 "100;110;60;60;60;42;45;61;45" --->  ???  
    226 "Time;Message;Severity" ---> "Orario;Messaggio;Gravità" 
    227 "67;419;69" --->  ???  
    228 "Tracker;Tier" ---> "Tracker;Priorità" 
    229 "287;50" --->  ???  
    230 "Peer;Country;Download;Upload;Type;Client" --->  "Peer;Nazione;Download;Upload;Tipo;Client"  
    231 "100;70;70;70;100" --->  ???  
    232 "Peer;Country;Download;Upload;Type;Client;Status" --->  "Peer;Nazione;Download;Upload;Tipo;Client;Stato"  
    233 "95;64;64;50;100;500" --->  ???  
     224"Name;Status;Progress;Download;Upload;Peers;Seeds;ETA;Copies;Tracker;Reannounce;Ratio;Total;Completed;Remaining;Downloaded;Uploaded;Active;Seeding;Start Time" --->  ???  
     225"Time;Message;Severity" ---> "Orario;Messaggio;Gravità" 
     226"Tracker;Tier" ---> "Tracker;Priorità" 
     227"Peer;Country;Download;Upload;Type;Client" ---> "Peer;Nazione;Download;Upload;Tipo;Client" 
     228"Peer;Country;Download;Upload;Type;Client;Status" ---> "Peer;Nazione;Download;Upload;Tipo;Client;Stato" 
     229"Filename;Path;Size;Progress;Priority" --->  ???  
     230"Don't download" --->  ???  
     231"Normal" --->  ???  
     232"Above Normal" --->  ???  
     233"3" --->  ???  
     234"4" --->  ???  
     235"5" --->  ???  
     236"6" --->  ???  
     237"Maximum" --->  ???  
     238"Set Priority" --->  ???  
     239"Halite.ico" --->  ???  
     240"toolbar.bmp" --->  ???  
  • lang/Norwegian.txt

    r272 r283  
    1 "Halite.ico" --->  ???  
    2 "toolbar.bmp" --->  ???  
    3 "About.rtf" --->  ???  
    41"English" ---> "Norwegian" 
     2"English.rtf" --->  ???  
    53"MS Shell Dlg" --->  ???  
    64"Torrent" --->  ???  
     
    1816"Torrent:" --->  ???  
    1917"Peers:" --->  ???  
    20 "Transfered:" --->  ???  
     18"Transferred:" --->  ???  
    2119"Remaining:" --->  ???  
    2220"Rates:" --->  ???  
     
    3432"Distributed Hash Tables" --->  ???  
    3533"Port (UDP) : " --->  ???  
    36 "(DHT will not apply to pirvate torrents)" --->  ???  
     34"(DHT will not apply to private torrents)" --->  ???  
    3735"General Settings" ---> "Generelle instillinger" 
    3836"Limit the no. of half-open connections" --->  ???  
     
    5654"Connection Policies" --->  ???  
    5755"Incoming" --->  ???  
    58 "Outcoming" --->  ???  
     56"Outgoing" --->  ???  
    5957"Forced" --->  ???  
    6058"Enabled" --->  ???  
    61 "Disablied" --->  ???  
     59"Disabled" --->  ???  
    6260"Encoding Level" --->  ???  
    6361"Plaintext" --->  ???  
     
    110108"About" ---> "Om" 
    111109"Program Information" ---> "Program Informasjon" 
    112 "v 0.2.9 dev 270" --->  ???  
    113110"RichEdit20A" --->  ???  
    114111"SysTabControl32" --->  ???  
     
    180177"Downloaded %1$.2fMB, Uploaded %2$.2fMB, Ratio %3$.2f." ---> "Lastet ned %1$.2fMB, Lastet opp %2$.2fMB, Ratio %3$.2f." 
    181178"Total transfer including protocol overhead; %1$.2fMB down and %2$.2fMB up." --->  ???  
    182 "Name: %1%, %2%." --->  ???  
     179"%1%, %2%." --->  ???  
    183180"%1$.2fMB down - %2$.2fMB up" --->  ???  
    184181"%1$.2fKB/s down - %2$.2fKB/s up" --->  ???  
     
    198195"Tracker Event: %1%." ---> "Tracker Hendelse: %1%." 
    199196"Debug Event: %1%." ---> "Debug Hendelse: %1%." 
    200 "Select a directory to save the downloads to. Select cancel to accept default 'incomming' location." --->  ???  
     197"Select a directory to save the downloads to. Select cancel to accept default 'incoming' location." --->  ???  
    201198"Peers" --->  ???  
     199"Files" --->  ???  
    202200"Logging" --->  ???  
    203201"An invalid encoding level, %1%, was passed as an encryption setting." --->  ???  
    204202"An invalid connection policy, %1%, was passed as an encryption setting." --->  ???  
    205203"Auto Sort" --->  ???  
     204"Torrent Root" --->  ???  
    206205"Interesting" ---> "Interessant" 
    207206"Choked" ---> "Strypt" 
     
    225224"Paused" ---> "Pauset" 
    226225"Downloading Metadata" ---> "Laster ned metadata" 
    227 "Name;Status;Completed;Download;Upload;Peers;Seeds;ETA;Copies;Tracker;Reannounce;Ratio" --->  ???  
    228 "100;110;60;60;60;42;45;61;45" --->  ???  
     226"Name;Status;Progress;Download;Upload;Peers;Seeds;ETA;Copies;Tracker;Reannounce;Ratio;Total;Completed;Remaining;Downloaded;Uploaded;Active;Seeding;Start Time" --->  ???  
    229227"Time;Message;Severity" ---> "Tid;Melding;Alvorlighetsgrad" 
    230 "67;419;69" --->  ???  
    231228"Tracker;Tier" --->  ???  
    232 "287;50" --->  ???  
    233229"Peer;Country;Download;Upload;Type;Client" --->  ???  
    234 "100;70;70;70;100" --->  ???  
    235230"Peer;Country;Download;Upload;Type;Client;Status" --->  ???  
    236 "95;64;64;50;100;500" --->  ???  
     231"Filename;Path;Size;Progress;Priority" --->  ???  
     232"Don't download" --->  ???  
     233"Normal" --->  ???  
     234"Above Normal" --->  ???  
     235"3" --->  ???  
     236"4" --->  ???  
     237"5" --->  ???  
     238"6" --->  ???  
     239"Maximum" --->  ???  
     240"Set Priority" --->  ???  
     241"Halite.ico" --->  ???  
     242"toolbar.bmp" --->  ???  
  • lang/Turkish.txt

    r272 r283  
    1 "Halite.ico" --->  ???  
    2 "toolbar.bmp" --->  ???  
    3 "About.rtf" --->  ???  
    41"English" ---> "TÃŒrkçe" 
     2"English.rtf" --->  ???  
    53"MS Shell Dlg" ---> "MS Shell Dlg" 
    64"Torrent" ---> "Torrent" 
     
    1816"Torrent:" --->  ???  
    1917"Peers:" --->  ???  
    20 "Transfered:" --->  ???  
     18"Transferred:" --->  ???  
    2119"Remaining:" --->  ???  
    2220"Rates:" --->  ???  
     
    3331"Distributed Hash Tables" --->  ???  
    3432"Port (UDP) : " ---> "Port (UDP) : " 
    35 "(DHT will not apply to pirvate torrents)" --->  ???  
     33"(DHT will not apply to private torrents)" --->  ???  
    3634"General Settings" ---> "Genel Ayarlar" 
    3735"Limit the no. of half-open connections" --->  ???  
     
    5553"Connection Policies" --->  ???  
    5654"Incoming" --->  ???  
    57 "Outcoming" --->  ???  
     55"Outgoing" --->  ???  
    5856"Forced" --->  ???  
    5957"Enabled" --->  ???  
    60 "Disablied" --->  ???  
     58"Disabled" --->  ???  
    6159"Encoding Level" --->  ???  
    6260"Plaintext" --->  ???  
     
    109107"About" ---> "Hakkında" 
    110108"Program Information" ---> "Program Bilgisi" 
    111 "v 0.2.9 dev 270" --->  ???  
    112109"RichEdit20A" --->  ???  
    113110"SysTabControl32" ---> "SysTabControl32" 
     
    178175"Downloaded %1$.2fMB, Uploaded %2$.2fMB, Ratio %3$.2f." ---> "Ä°ndirilen %1$.2fMB, Gönderilen %2$.2fMB, Oran %3$.2f." 
    179176"Total transfer including protocol overhead; %1$.2fMB down and %2$.2fMB up." --->  ???  
    180 "Name: %1%, %2%." --->  ???  
     177"%1%, %2%." --->  ???  
    181178"%1$.2fMB down - %2$.2fMB up" --->  ???  
    182179"%1$.2fKB/s down - %2$.2fKB/s up" --->  ???  
     
    196193"Tracker Event: %1%." ---> "Ä°zleyici ile Ä°lgili Durum: %1%." 
    197194"Debug Event: %1%." ---> "Hata Ayıklama ile Ä°lgili Durum: %1%." 
    198 "Select a directory to save the downloads to. Select cancel to accept default 'incomming' location." --->  ???  
     195"Select a directory to save the downloads to. Select cancel to accept default 'incoming' location." --->  ???  
    199196"Peers" --->  ???  
     197"Files" --->  ???  
    200198"Logging" --->  ???  
    201199"An invalid encoding level, %1%, was passed as an encryption setting." --->  ???  
    202200"An invalid connection policy, %1%, was passed as an encryption setting." --->  ???  
    203201"Auto Sort" --->  ???  
     202"Torrent Root" --->  ???  
    204203"Interesting" ---> "Ä°lgileniyor" 
    205204"Choked" ---> "Tıkandı" 
     
    223222"Paused" ---> "Duraklatıldı" 
    224223"Downloading Metadata" ---> "Metadata Ä°ndiriliyor" 
    225 "Name;Status;Completed;Download;Upload;Peers;Seeds;ETA;Copies;Tracker;Reannounce;Ratio" --->  ???  
    226 "100;110;60;60;60;42;45;61;45" --->  ???  
     224"Name;Status;Progress;Download;Upload;Peers;Seeds;ETA;Copies;Tracker;Reannounce;Ratio;Total;Completed;Remaining;Downloaded;Uploaded;Active;Seeding;Start Time" --->  ???  
    227225"Time;Message;Severity" ---> "SÃŒre;Mesaj;Öncelik" 
    228 "67;419;69" --->  ???  
    229226"Tracker;Tier" ---> "Ä°zleyici;Sıra" 
    230 "287;50" --->  ???  
    231227"Peer;Country;Download;Upload;Type;Client" --->  ???  
    232 "100;70;70;70;100" --->  ???  
    233228"Peer;Country;Download;Upload;Type;Client;Status" --->  ???  
    234 "95;64;64;50;100;500" --->  ???  
     229"Filename;Path;Size;Progress;Priority" --->  ???  
     230"Don't download" --->  ???  
     231"Normal" --->  ???  
     232"Above Normal" --->  ???  
     233"3" --->  ???  
     234"4" --->  ???  
     235"5" --->  ???  
     236"6" --->  ???  
     237"Maximum" --->  ???  
     238"Set Priority" --->  ???  
     239"Halite.ico" --->  ???  
     240"toolbar.bmp" --->  ???  
  • res/Halite.rc

    r282 r283  
    88#include "afxres.h" 
    99 
    10 IDR_APP_ICON        ICON          "Halite.ico" 
    11 IDR_MAINFRAME       BITMAP        "toolbar.bmp" 
    12 IDR_ABOUT_TEXT      HALITE_RTF_RES_TYPE                     "About.rtf" 
    13  
    1410STRINGTABLE  
    1511BEGIN 
    1612    HALITE_LANGUAGE    "English" 
    1713END 
     14 
     15IDR_ABOUT_TEXT      HALITE_RTF_RES_TYPE                     "English.rtf" 
    1816 
    1917IDD_ADVOVERVIEW DIALOGEX 0, 0, 313, 121 
     
    4745         
    4846    RTEXT           "Peers:",IDC_PEERS_LABEL,9,28,39,8,SS_WORDELLIPSIS 
    49     RTEXT           "Transfered:",IDC_TRANSFERED_LABEL,9,40,39,8,SS_WORDELLIPSIS 
     47    RTEXT           "Transferred:",IDC_TRANSFERED_LABEL,9,40,39,8,SS_WORDELLIPSIS 
    5048    RTEXT           "Remaining:",IDC_REMAINING_LABEL,9,52,39,8,SS_WORDELLIPSIS 
    5149    RTEXT           "Rates:",IDC_RATE_LABEL,9,64,39,8,SS_WORDELLIPSIS 
     
    8179    EDITTEXT        IDC_BC_DHTPORT,180,119,80,12,ES_AUTOHSCROLL 
    8280    RTEXT           "Port (UDP) : ",IDC_BC_DHTPORT_S,110,121,70,8 
    83     CTEXT           "(DHT will not apply to pirvate torrents)",IDC_STATIC,11,134,250,8 
     81    CTEXT           "(DHT will not apply to private torrents)",IDC_STATIC,11,134,250,8 
    8482    GROUPBOX        "General Settings",IDC_STATIC,5,6,315,54 
    8583    EDITTEXT        IDC_BC_HALFCONN_NUM,205,44,65,12,ES_AUTOHSCROLL 
     
    124122    GROUPBOX        "Connection Policies",IDC_STATIC,194,49,120,58 
    125123    LTEXT           "Incoming",IDC_STATIC,200,61,50,9 
    126     RTEXT           "Outcoming",IDC_STATIC,255,61,50,9 
     124    RTEXT           "Outgoing",IDC_STATIC,255,61,50,9 
    127125    CONTROL         "",IDC_SC_PE_CP_IN_FORCED,"Button",BS_AUTORADIOBUTTON | WS_GROUP,205,73,16,10 
    128126    CONTROL         "",IDC_SC_PE_CP_IN_ENABLED,"Button",BS_AUTORADIOBUTTON,205,83,16,10 
     
    130128    CTEXT           "Forced",IDC_STATIC,225,73,55,8 
    131129    CTEXT           "Enabled",IDC_STATIC,225,83,55,8 
    132     CTEXT           "Disablied",IDC_STATIC,225,93,55,8 
     130    CTEXT           "Disabled",IDC_STATIC,225,93,55,8 
    133131    CONTROL         "",IDC_SC_PE_CP_OUT_FORCED,"Button",BS_AUTORADIOBUTTON | WS_GROUP,284,73,16,10,WS_EX_RIGHT 
    134132    CONTROL         "",IDC_SC_PE_CP_OUT_ENABLED,"Button",BS_AUTORADIOBUTTON,284,83,16,10,WS_EX_RIGHT 
     
    287285BEGIN 
    288286    GROUPBOX        "Program Information",IDC_STATIC,5,6,315,136 
    289     RTEXT           "v 0.2.9 dev 270",IDC_STATIC,190,145,130,9,WS_TABSTOP 
     287    RTEXT           HALITE_VERSION_STRING,IDC_STATIC,190,145,130,9,WS_TABSTOP 
    290288    LTEXT           "",IDC_EDITABOUT,8,15,265,125,WS_TABSTOP 
    291289    CONTROL         "",IDC_RICHEDITABOUT,"RichEdit20A",ES_MULTILINE | ES_READONLY | WS_VSCROLL | WS_TABSTOP,12,17,301,117,WS_EX_TRANSPARENT 
     
    476474        HAL_EVENT_TRACKER                         "Tracker Event: %1%." 
    477475        HAL_EVENT_DEBUG                           "Debug Event: %1%." 
    478         HAL_FOLDER_SELECT                         "Select a directory to save the downloads to. Select cancel to accept default 'incomming' location." 
     476        HAL_FOLDER_SELECT                         "Select a directory to save the downloads to. Select cancel to accept default 'incoming' location." 
    479477        HAL_TORRENT_TAB                           "Torrent" 
    480478        HAL_PEERS_TAB                             "Peers" 
     
    527525BEGIN 
    528526        HAL_LISTVIEW_COLUMNS              "Name;Status;Progress;Download;Upload;Peers;Seeds;ETA;Copies;Tracker;Reannounce;Ratio;Total;Completed;Remaining;Downloaded;Uploaded;Active;Seeding;Start Time" 
    529         HAL_LISTVIEW_DEFAULTS             "100;110;60;60;60;42;45;61;45" 
    530527        HAL_DEBUG_LISTVIEW_COLUMNS        "Time;Message;Severity" 
    531         HAL_DEBUG_LISTVIEW_DEFAULTS       "67;419;69" 
    532528        HAL_TRACKER_LISTVIEW_COLUMNS  "Tracker;Tier" 
    533         HAL_TRACKER_LISTVIEW_DEFAULTS "287;50" 
    534529        HAL_DIALOGPEER_LISTVIEW_COS       "Peer;Country;Download;Upload;Type;Client" 
    535         HAL_DIALOGPEER_LISTVIEW_COS_DEFAULTS      "100;70;70;70;100" 
    536530        HAL_DIALOGPEER_LISTVIEW_ADV       "Peer;Country;Download;Upload;Type;Client;Status" 
    537         HAL_DIALOGPEER_LISTVIEW_ADV_DEFAULTS      "95;64;64;50;100;500" 
    538531        HAL_DIALOGFILE_LISTVIEW_ADV     "Filename;Path;Size;Progress;Priority" 
    539532         
    540533        HAL_FILE_PRIORITY_0     "Don't download" 
    541534        HAL_FILE_PRIORITY_1     "Normal" 
    542         HAL_FILE_PRIORITY_2     "2" 
     535        HAL_FILE_PRIORITY_2     "Above Normal" 
    543536        HAL_FILE_PRIORITY_3     "3" 
    544537        HAL_FILE_PRIORITY_4     "4" 
     
    556549            MENUITEM "Don't download",ID_HAL_FILE_PRIORITY_0 
    557550            MENUITEM "Normal",ID_HAL_FILE_PRIORITY_1 
    558             MENUITEM "2",ID_HAL_FILE_PRIORITY_2 
     551            MENUITEM "Above Normal",ID_HAL_FILE_PRIORITY_2 
    559552            MENUITEM "3",ID_HAL_FILE_PRIORITY_3 
    560553            MENUITEM "4",ID_HAL_FILE_PRIORITY_4 
     
    579572    BUTTON      ID_HELP 
    580573END 
     574 
     575IDR_APP_ICON        ICON          "Halite.ico" 
     576IDR_MAINFRAME       BITMAP        "toolbar.bmp" 
  • res/resource.h

    r282 r283  
    99#endif 
    1010 
    11 #define HALITE_VERSION                                  0,2,9,282 
    12 #define HALITE_VERSION_STRING                   "v 0.2.9 dev 282" 
     11#define HALITE_VERSION                                  0,2,9,283 
     12#define HALITE_VERSION_STRING                   "v 0.2.9 dev 283" 
    1313 
    1414#define HALITE_LANGUAGE                                 10 
  • src/HaliteWindow.cpp

    r268 r283  
    458458LRESULT HaliteWindow::OnHelp(WORD wNotifyCode, WORD wID, HWND hWndCtl, BOOL& bHandled) 
    459459{ 
    460         ConfigOptionsProp sheet(this, L"Settings", 5);   
     460        ConfigOptionsProp sheet(this, L"Settings", 4);   
    461461    sheet.DoModal(); 
    462462         
  • src/advtabs/Files.cpp

    r278 r283  
    44//    (See accompanying file LICENSE_1_0.txt or copy at 
    55//          http://www.boost.org/LICENSE_1_0.txt) 
     6 
     7#include <algorithm> 
    68 
    79#include "../stdAfx.hpp" 
     
    4143         
    4244        SetExtendedListViewStyle(WS_EX_CLIENTEDGE|LVS_EX_HEADERDRAGDROP|LVS_EX_DOUBLEBUFFER); 
    43                  
     45         
    4446        SetColumnSortType(2, LVCOLSORT_CUSTOM, new ColumnAdapters::Size()); 
    4547        SetColumnSortType(3, LVCOLSORT_CUSTOM, new ColumnAdapters::Progress()); 
     
    5961                if (flags & LVIS_SELECTED) 
    6062                        indices.push_back(GetItemData(i)); 
     63        } 
     64         
     65        int priority = nCtrlID-ID_HAL_FILE_PRIORITY_0; 
     66         
     67        std::string torrent = hal::to_utf8(hal::bittorrent().torrentDetails().selectedTorrent()->filename()); 
     68        hal::bittorrent().setTorrentFilePriorities(torrent, indices, priority); 
     69} 
     70 
     71HWND FileTreeView::Create(HWND hWndParent, ATL::_U_RECT rect, LPCTSTR szWindowName, DWORD dwStyle, DWORD dwExStyle, 
     72        ATL::_U_MENUorID MenuOrID, LPVOID lpCreateParam) 
     73{ 
     74        HWND hwnd = treeClass::Create(hWndParent, rect.m_lpRect, szWindowName, dwStyle, dwExStyle, MenuOrID.m_hMenu, lpCreateParam); 
     75        assert(hwnd); 
     76         
     77        CMenuHandle menu; 
     78        BOOL menu_created = menu.LoadMenu(IDR_FILESLISTVIEW_MENU); 
     79        assert(menu_created);    
     80         
     81        menu_.Attach(menu.GetSubMenu(0)); 
     82         
     83        return hwnd; 
     84} 
     85 
     86LRESULT FileTreeView::OnRClick(int i, LPNMHDR pnmh, BOOL&) 
     87{ 
     88        LPNMITEMACTIVATE pia = (LPNMITEMACTIVATE)pnmh; 
     89         
     90        if (menu_) 
     91        { 
     92                assert (menu_.IsMenu()); 
     93 
     94                POINT ptPoint; 
     95                GetCursorPos(&ptPoint); 
     96                menu_.TrackPopupMenu(0, ptPoint.x, ptPoint.y, m_hWnd); 
     97        } 
     98 
     99        return 0; 
     100} 
     101 
     102void FileTreeView::OnMenuPriority(UINT uCode, int nCtrlID, HWND hwndCtrl) 
     103{        
     104        hal::FileDetails fileDetails; 
     105         
     106//      foreach (const hal::TorrentDetail_ptr torrent, tD.selectedTorrents()) 
     107        if (hal::TorrentDetail_ptr torrent = hal::bittorrent().torrentDetails().focusedTorrent()) 
     108        { 
     109                std::copy(torrent->fileDetails().begin(), torrent->fileDetails().end(),  
     110                        std::back_inserter(fileDetails)); 
     111        } 
     112 
     113        wpath branch; 
     114         
     115        if (CTreeItem ti = GetSelectedItem()) 
     116        {                        
     117                do 
     118                { 
     119                        if (!ti.GetParent()) break; 
     120                         
     121                        boost::array<wchar_t, MAX_PATH> buffer; 
     122                        ti.GetText(buffer.elems, MAX_PATH); 
     123                         
     124                        branch = wstring(buffer.elems)/branch; 
     125                }  
     126                while (ti = ti.GetParent()); 
     127        } 
     128 
     129        std::vector<int> indices; 
     130         
     131        for (hal::FileDetails::iterator i=fileDetails.begin(), e=fileDetails.end(); 
     132                i != e; ++i) 
     133        {                        
     134                if (std::equal(branch.begin(), branch.end(), (*i).branch.begin())) 
     135                { 
     136                        indices.push_back((*i).order()); 
     137                } 
    61138        } 
    62139         
  • src/advtabs/Files.hpp

    r278 r283  
    170170                MSG_WM_DESTROY(OnDestroy) 
    171171 
     172                REFLECTED_NOTIFY_CODE_HANDLER(NM_RCLICK, OnRClick) 
    172173                REFLECTED_NOTIFY_CODE_HANDLER(TVN_SELCHANGED, OnSelChanged) 
     174                 
     175                COMMAND_RANGE_HANDLER_EX(ID_HAL_FILE_PRIORITY_0, ID_HAL_FILE_PRIORITY_7, OnMenuPriority) 
    173176//              CHAIN_MSG_MAP(treeClass) 
    174177                DEFAULT_REFLECTION_HANDLER() 
    175178        END_MSG_MAP() 
    176179         
     180        HWND Create(HWND hWndParent, ATL::_U_RECT rect = NULL, LPCTSTR szWindowName = NULL, 
     181                DWORD dwStyle = 0, DWORD dwExStyle = 0, 
     182                ATL::_U_MENUorID MenuOrID = 0U, LPVOID lpCreateParam = NULL); 
     183         
     184        LRESULT OnRClick(int i, LPNMHDR pnmh, BOOL&); 
     185        void OnMenuPriority(UINT, int, HWND); 
     186         
    177187        wpath focused() { return focused_; } 
    178188         
     
    195205        mutable boost::signal<void ()> selection_; 
    196206        wpath focused_; 
     207 
     208private: 
     209        WTL::CMenu menu_; 
    197210}; 
    198211 
     
    247260                                        (*j).second.valid = true; 
    248261                                        ti = (*j).second.treeItem; 
    249                                 } 
    250                                  
     262                                }                                
    251263                        } 
    252264                } 
     
    321333                treeManager_(tree_), 
    322334                iniClass("AdvFiles", "AdvFiles"), 
    323                 splitterPos(50) 
     335                splitterPos(150) 
    324336        { 
    325337                Load(); 
Note: See TracChangeset for help on using the changeset viewer.