Changeset 2357

Show
Ignore:
Timestamp:
12/01/07 06:45:43 (13 months ago)
Author:
markybob
Message:

tweak full hd warning - disable it in libtorrent

Files:
6 modified

Legend:

Unmodified
Added
Removed
  • tags/deluge-0.5.7.1/ChangeLog

    r2356 r2357  
    11Deluge 0.5.7.1 (31 November 2007) 
    2   * Increase tracker timeout 
     2  * Tweak full hd warning so that it only displays itself once per torrent that 
     3  it has to pause. 
    34  * Fixed crash and corruption of persistent.state while adding a duplicate  
    45  torrent.  Also caused yet another invalid handle error. 
     6  * Increase tracker timeout 
    57 
    68Deluge 0.5.7 (26 November 2007) 
  • tags/deluge-0.5.7.1/libtorrent/src/peer_connection.cpp

    r2111 r2357  
    14001400                        if (t->alerts().should_post(alert::fatal)) 
    14011401                        { 
    1402                                 std::string err = "torrent paused: disk write error, " + j.str; 
    1403                                 t->alerts().post_alert(file_error_alert(t->get_handle(), err)); 
     1402                if (j.str != "write failed: No space left on device"){ 
     1403                                std::string err = "torrent paused: disk write error, " + j.str; 
     1404                                t->alerts().post_alert(file_error_alert(t->get_handle(), err)); 
     1405                } 
    14041406                        } 
    14051407                        t->pause(); 
  • tags/deluge-0.5.7.1/src/core.py

    r2332 r2357  
    545545                        self.resume(unique_ID) 
    546546                    else: 
     547                        self.pause(unique_ID) 
     548                        self.unique_IDs[unique_ID].user_paused = True 
    547549                        nice_need = common.fsize(total_needed) 
    548550                        nice_free = common.fsize(avail) 
     
    551553                        gtk.gdk.threads_enter() 
    552554                        dialogs.show_popup_warning(None, _("There is not enough \ 
    553 free disk space to complete your download.") + "\n" + _("Space Needed:") + " " \ 
    554 + nice_need + "\n" + _("Available Space:") + " " + nice_free) 
     555free disk space to complete your download.") + "\n" + "This torrents will be \ 
     556paused" + "\n" + _("Space Needed:") + " " + nice_need + "\n" + _("Available \ 
     557Space:") + " " + nice_free) 
    555558                        gtk.gdk.threads_leave() 
    556559                        print "Not enough free space to resume this torrent!" 
  • trunk/ChangeLog

    r2356 r2357  
    11Deluge 0.5.7.1 (31 November 2007) 
    2   * Increase tracker timeout 
     2  * Tweak full hd warning so that it only displays itself once per torrent that 
     3  it has to pause. 
    34  * Fixed crash and corruption of persistent.state while adding a duplicate  
    45  torrent.  Also caused yet another invalid handle error. 
     6  * Increase tracker timeout 
    57 
    68Deluge 0.5.7 (26 November 2007) 
  • trunk/libtorrent/src/peer_connection.cpp

    r2111 r2357  
    14001400                        if (t->alerts().should_post(alert::fatal)) 
    14011401                        { 
    1402                                 std::string err = "torrent paused: disk write error, " + j.str; 
    1403                                 t->alerts().post_alert(file_error_alert(t->get_handle(), err)); 
     1402                if (j.str != "write failed: No space left on device"){ 
     1403                                std::string err = "torrent paused: disk write error, " + j.str; 
     1404                                t->alerts().post_alert(file_error_alert(t->get_handle(), err)); 
     1405                } 
    14041406                        } 
    14051407                        t->pause(); 
  • trunk/src/core.py

    r2332 r2357  
    545545                        self.resume(unique_ID) 
    546546                    else: 
     547                        self.pause(unique_ID) 
     548                        self.unique_IDs[unique_ID].user_paused = True 
    547549                        nice_need = common.fsize(total_needed) 
    548550                        nice_free = common.fsize(avail) 
     
    551553                        gtk.gdk.threads_enter() 
    552554                        dialogs.show_popup_warning(None, _("There is not enough \ 
    553 free disk space to complete your download.") + "\n" + _("Space Needed:") + " " \ 
    554 + nice_need + "\n" + _("Available Space:") + " " + nice_free) 
     555free disk space to complete your download.") + "\n" + "This torrents will be \ 
     556paused" + "\n" + _("Space Needed:") + " " + nice_need + "\n" + _("Available \ 
     557Space:") + " " + nice_free) 
    555558                        gtk.gdk.threads_leave() 
    556559                        print "Not enough free space to resume this torrent!"