]> granicus.if.org Git - transmission/commitdiff
formatting and release notes update
authorMitchell Livingston <livings124@transmissionbt.com>
Sat, 8 Nov 2008 04:33:14 +0000 (04:33 +0000)
committerMitchell Livingston <livings124@transmissionbt.com>
Sat, 8 Nov 2008 04:33:14 +0000 (04:33 +0000)
macosx/Badger.m
macosx/Controller.m
macosx/appcast/releasenotes.html

index 6c38fbd1bb3816adef9a291ffd619515845e1af0..732b29bc70e7b9d4c518ca0408ef4a91c6df0898 100644 (file)
 {
     if ([NSApp isOnLeopardOrBetter])
     {
-        BOOL badgeDownload = [[NSUserDefaults standardUserDefaults] boolForKey: @"BadgeDownloadRate"],
-            badgeUpload = [[NSUserDefaults standardUserDefaults] boolForKey: @"BadgeUploadRate"];
-        float downloadRate = badgeDownload ? tr_sessionGetPieceSpeed( fLib, TR_DOWN ) : 0.0f;
-        float uploadRate   = badgeUpload   ? tr_sessionGetPieceSpeed( fLib, TR_UP   ) : 0.0f;
+        float downloadRate = [[NSUserDefaults standardUserDefaults] boolForKey: @"BadgeDownloadRate"]
+                                ? tr_sessionGetPieceSpeed(fLib, TR_DOWN) : 0.0f;
+        float uploadRate = [[NSUserDefaults standardUserDefaults] boolForKey: @"BadgeDownloadRate"]
+                            ? tr_sessionGetPieceSpeed(fLib, TR_UP) : 0.0f;
         
         //only update if the badged values change
         if ([(BadgeView *)[[NSApp dockTile] contentView] setRatesWithDownload: downloadRate upload: uploadRate])
         //set upload and download rate badges
         NSString * downloadRateString = nil, * uploadRateString = nil;
         
-        float downloadRate = tr_sessionGetPieceSpeed( fLib, TR_DOWN );
-        float uploadRate   = tr_sessionGetPieceSpeed( fLib, TR_UP );
+        float downloadRate = tr_sessionGetPieceSpeed(fLib, TR_DOWN),
+                uploadRate = tr_sessionGetPieceSpeed(fLib, TR_UP);
         
         if (checkDownload && downloadRate >= 0.1)
             downloadRateString = [NSString stringForSpeedAbbrev: downloadRate];
index 71ebc9bb7d1a3d6f462502f9502b629d993f6a4d..71e310caa426e4ab9aabfb3ac8a4cdb7fe7f7101 100644 (file)
@@ -1507,11 +1507,8 @@ static void sleepCallback(void * controller, io_service_t y, natural_t messageTy
             if (![fStatusBar isHidden])
             {
                 //set rates
-                float downloadRate = tr_sessionGetPieceSpeed( fLib, TR_DOWN );
-                float uploadRate = tr_sessionGetPieceSpeed( fLib, TR_UP );
-                
-                [fTotalDLField setStringValue: [NSString stringForSpeed: downloadRate]];
-                [fTotalULField setStringValue: [NSString stringForSpeed: uploadRate]];
+                [fTotalDLField setStringValue: [NSString stringForSpeed: tr_sessionGetPieceSpeed(fLib, TR_DOWN)]];
+                [fTotalULField setStringValue: [NSString stringForSpeed: tr_sessionGetPieceSpeed(fLib, TR_UP)]];
                 
                 //set status button text
                 NSString * statusLabel = [fDefaults stringForKey: @"StatusLabel"], * statusString;
index 340b0935eb0d9e94ac7be6e15b3d0126e0a5ab9e..5acb5b9e2034b1490de00d855f932711932bd6dc 100644 (file)
                                        <td>
                                                <ul>
                                                <li>Tracker communication uses fewer resources</li>
-                                               <li>More accurate bandwidth management</li>
-                                               <li>Bandwidth limits now include BitTorrent protocol overhead</li>
-                                               <li>Files are preallocated as soon as any data is received for that file</li>
+                                               <li>More accurate bandwidth limits</li>
+                                               <li>Reduce disk fragmentation by preallocating files</li>
                                                <li>Stability, security, and performance improvements to the RPC/Web UI server</li>
                                                <li>Support compression when serving Web UI and RPC responses</li>
                                                <li>Simplify the RPC whitelist</li>
                                                <li>Fix bug that prevented handshakes with encrypted BitComet peers</li>
                                                <li>Fix 1.3x bug that could re-download some data unnecessarily</li>
-                                               <li>Lazy bitfields (always on)</li>
+                                               <li>Lazy bitfields</li>
                                                </ul>
                                        </td>
                                </tr>
                                        </td>
                                </tr>
                        </table>
+                       <br>
+                       <table class="dots" width="100%" border="0" cellspacing="0" cellpadding="0" summary="Two column table with heading">
+                               <tr>
+                                       <td class="blue">
+                                               <h3>Web Client Changes</h3>
+                                       </td>
+                               </tr>
+                               <tr>
+                                       <td>
+                                               <ul>
+                                               <li>The Web Client is now out of beta</li>
+                                               <li>Minor display fixes</li>
+                                               <li>On iPhone/iPod touch, launching from the home screen hides the address bar</li>
+                                               </ul>
+                                       </td>
+                               </tr>
+                       </table>
                        <p>For a full list of changes, <a href="http://trac.transmissionbt.com/query?milestone=1.40&group=component&groupdesc=1&order=severity">click here</a>.</p>
                        <table class="dots" width="100%" border="0" cellspacing="0" cellpadding="0" summary="Two column table with heading">
                                <tr>