Changeset 1813


Ignore:
Timestamp:
Apr 30, 2007, 2:56:17 PM (15 years ago)
Author:
livings124
Message:

update branch with most non-gui related changes from the trunk

Location:
branches/0.7x
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • branches/0.7x/NEWS

    r1794 r1813  
    11NEWS file for Transmission <http://transmission.m0k.org/>
     2
     30.72 ()
     4 - Reset download/upload rates when sending "started"
     5 - Fix rare XML parsing bug
    26
    370.71 (2007/04/23)
  • branches/0.7x/appcast.xml

    r1746 r1813  
    66    <description>Most recent version available.</description>
    77    <language>en</language>
    8     <pubDate>Wed, 18 Apr 2007 10:09:00 -0400</pubDate>
    9     <lastBuildDate>Wed, 18 Apr 2007 10:09:00 -0400</lastBuildDate>
     8    <pubDate>Mon, 23 Apr 2007 19:30:00 -0400</pubDate>
     9    <lastBuildDate>Mon, 23 Apr 2007 19:30:00 -0400</lastBuildDate>
    1010   
    1111    <item>
    12       <title>Transmission 0.7 Released</title>
     12      <title>Transmission 0.71 Released</title>
    1313      <description><![CDATA[
    14 <h3>TRANSMISSION 0.7 REQUIRES MAC OS X 10.4 OR GREATER. DO NOT UPDATE ON EARLIER SYSTEMS!</h3>
     14<h3>TRANSMISSION NOW REQUIRES MAC OS X 10.4. DO NOT UPDATE ON EARLIER SYSTEMS!</h3>
     15
     16<h4>Transmission Changes:</h4>
     17<ul>
     18 <li>Send port info when sending requests</li>
     19 <li>Calculate ratio differently when seeding without ever downloading</li>
     20 <li>Add additional error messages and debug info</li>
     21</ul>
     22<h4>Mac-Specific Changes:</h4>
     23<ul>
     24 <li>Fix error when using default incomplete folder</li>
     25 <li>Disable the stop ratio once it is reached (while seeding)</li>
     26 <li>Small interface adjustments</li>
     27</ul>]]></description>
     28      <pubDate>Mon, 23 Apr 2007 19:30:00 -0400</pubDate>
     29      <enclosure sparkle:version="1787" sparkle:shortVersionString="0.71" url="http://mirrors.m0k.org/transmission/files/Transmission-0.71.dmg" length="1435119" type="application/octet-stream"/>
     30    </item>
     31   
     32    <item>
     33      <title>Transmission 0.70 Released</title>
     34      <description><![CDATA[
     35<h3>TRANSMISSION 0.70 REQUIRES MAC OS X 10.4 OR GREATER. DO NOT UPDATE ON EARLIER SYSTEMS!</h3>
    1536
    1637<h4>Transmission Changes:</h4>
     
    4869</ul>]]></description>
    4970      <pubDate>Wed, 18 Apr 2007 10:09:00 -0400</pubDate>
    50       <enclosure sparkle:version="1747" sparkle:shortVersionString="0.70" url="http://download.m0k.org/transmission/files/Transmission-0.7.dmg" length="" type="application/octet-stream"/>
     71      <enclosure sparkle:version="1739" sparkle:shortVersionString="0.70" url="http://download.m0k.org/transmission/files/Transmission-0.7.dmg" length="1434737" type="application/octet-stream"/>
    5172    </item>
    5273   
  • branches/0.7x/libtransmission/clients.c

    r1786 r1813  
    200200                      charToInt( id[5] ) );
    201201        }
     202        else if( !memcmp( &id[1], "BF", 2 ) )
     203        {
     204            asprintf( &ret, "Bitflu (%d/%d/%02d)",
     205                      charToInt( id[6] ),
     206                      charToInt( id[4] ) * 10 + charToInt( id[5] ),
     207                      charToInt( id[3] ) );
     208        }
     209        else if( !memcmp( &id[1], "FT", 2 ) )
     210        {
     211            asprintf( &ret, "FoxTorrent (%c%c%c%c)",
     212                      id[3], id[4], id[5], id[6] );
     213        }
    202214       
    203215        if( ret )
     
    354366    return ret;
    355367}
     368s
  • branches/0.7x/libtransmission/tracker.c

    r1685 r1813  
    516516    char         * event, * trackerid, * idparam;
    517517    uint64_t       left;
    518     uint64_t       down;
    519     uint64_t       up;
    520518    char           start;
    521519    int            numwant = 50;
    522520
    523     down = tor->downloadedCur;
    524     up   = tor->uploadedCur;
    525521    if( tc->started )
    526522    {
    527523        event = "&event=started";
    528         down  = 0;
    529         up    = 0;
     524       
     525        tor->downloadedPrev += tor->downloadedCur;
     526        tor->downloadedCur   = 0;
     527        tor->uploadedPrev   += tor->uploadedCur;
     528        tor->uploadedCur     = 0;
    530529
    531530        if( shouldChangePort( tc ) )
     
    576575                          "%s",
    577576                          tcInf->announce, start, tor->escapedHashString,
    578                           tc->id, tc->publicPort, up, down, left, numwant,
    579                           tor->key, idparam, trackerid, event );
     577                          tc->id, tc->publicPort, tor->uploadedCur, tor->downloadedCur,
     578                          left, numwant, tor->key, idparam, trackerid, event );
    580579}
    581580
  • branches/0.7x/libtransmission/xml.c

    r920 r1813  
    162162            else
    163163            {
     164                CHECKNULL( begin, end, NULL );
    164165                overtag( begin, end, &begin );
    165166                return begin;
     
    259260nexttag( const char * begin, const char * end, const char ** tagpos )
    260261{
     262    *tagpos = NULL;
    261263    CHECKNULL( begin, end, 0 );
    262264
     
    272274            *tagpos = begin;
    273275            begin++;
    274             if( end > begin )
    275             {
    276                 return ( TAGCLOSE != *begin );
    277             }
    278             break;
    279         }
    280     }
    281 
    282     *tagpos = NULL;
     276            return ( end > begin && TAGCLOSE != *begin );
     277        }
     278    }
     279
    283280    return 0;
    284281}
  • branches/0.7x/macosx/Controller.m

    r1786 r1813  
    17201720    //only toggle if within first few seconds of minutes
    17211721    NSCalendarDate * nowDate = [NSCalendarDate calendarDate];
    1722     if ([nowDate secondOfMinute] < AUTO_SPEED_LIMIT_SECONDS)
     1722    if ([nowDate secondOfMinute] > AUTO_SPEED_LIMIT_SECONDS)
    17231723        return;
    17241724   
Note: See TracChangeset for help on using the changeset viewer.