Changeset 9171
- Timestamp:
- Sep 25, 2009, 10:18:54 PM (13 years ago)
- Location:
- trunk
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Transmission.xcodeproj/project.pbxproj
r9157 r9171 126 126 A259317E0A73B2CC002F4FE7 /* TransmissionHelp in Resources */ = {isa = PBXBuildFile; fileRef = A259316A0A73B2CC002F4FE7 /* TransmissionHelp */; }; 127 127 A25963E11068376200453B31 /* FavIcon.png in Resources */ = {isa = PBXBuildFile; fileRef = A25963E01068376200453B31 /* FavIcon.png */; }; 128 A25964A6106D73A800453B31 /* announcer.c in Sources */ = {isa = PBXBuildFile; fileRef = A25964A4106D73A800453B31 /* announcer.c */; }; 129 A25964A7106D73A800453B31 /* announcer.h in Headers */ = {isa = PBXBuildFile; fileRef = A25964A5106D73A800453B31 /* announcer.h */; }; 128 130 A25D2CBD0CF4C73E0096A262 /* stats.c in Sources */ = {isa = PBXBuildFile; fileRef = A25D2CBB0CF4C7190096A262 /* stats.c */; }; 129 131 A25D2CBE0CF4C73E0096A262 /* stats.h in Headers */ = {isa = PBXBuildFile; fileRef = A25D2CBA0CF4C7190096A262 /* stats.h */; }; … … 277 279 BEFC1E2E0C07861A00B0BB3C /* transmission.h in Headers */ = {isa = PBXBuildFile; fileRef = BEFC1DF50C07861A00B0BB3C /* transmission.h */; }; 278 280 BEFC1E2F0C07861A00B0BB3C /* session.c in Sources */ = {isa = PBXBuildFile; fileRef = BEFC1DF60C07861A00B0BB3C /* session.c */; }; 279 BEFC1E300C07861A00B0BB3C /* tracker.h in Headers */ = {isa = PBXBuildFile; fileRef = BEFC1DF70C07861A00B0BB3C /* tracker.h */; };280 BEFC1E310C07861A00B0BB3C /* tracker.c in Sources */ = {isa = PBXBuildFile; fileRef = BEFC1DF80C07861A00B0BB3C /* tracker.c */; };281 281 BEFC1E320C07861A00B0BB3C /* torrent.c in Sources */ = {isa = PBXBuildFile; fileRef = BEFC1DF90C07861A00B0BB3C /* torrent.c */; }; 282 282 BEFC1E350C07861A00B0BB3C /* port-forwarding.h in Headers */ = {isa = PBXBuildFile; fileRef = BEFC1DFC0C07861A00B0BB3C /* port-forwarding.h */; }; … … 554 554 A259316A0A73B2CC002F4FE7 /* TransmissionHelp */ = {isa = PBXFileReference; lastKnownFileType = folder; name = TransmissionHelp; path = macosx/TransmissionHelp; sourceTree = "<group>"; }; 555 555 A25963E01068376200453B31 /* FavIcon.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = FavIcon.png; path = macosx/Images/FavIcon.png; sourceTree = "<group>"; }; 556 A25964A4106D73A800453B31 /* announcer.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = announcer.c; path = libtransmission/announcer.c; sourceTree = "<group>"; }; 557 A25964A5106D73A800453B31 /* announcer.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = announcer.h; path = libtransmission/announcer.h; sourceTree = "<group>"; }; 556 558 A25D2CBA0CF4C7190096A262 /* stats.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = stats.h; path = libtransmission/stats.h; sourceTree = "<group>"; }; 557 559 A25D2CBB0CF4C7190096A262 /* stats.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = stats.c; path = libtransmission/stats.c; sourceTree = "<group>"; }; … … 772 774 BEFC1DF50C07861A00B0BB3C /* transmission.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; name = transmission.h; path = libtransmission/transmission.h; sourceTree = "<group>"; }; 773 775 BEFC1DF60C07861A00B0BB3C /* session.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; name = session.c; path = libtransmission/session.c; sourceTree = "<group>"; }; 774 BEFC1DF70C07861A00B0BB3C /* tracker.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; name = tracker.h; path = libtransmission/tracker.h; sourceTree = "<group>"; };775 BEFC1DF80C07861A00B0BB3C /* tracker.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; name = tracker.c; path = libtransmission/tracker.c; sourceTree = "<group>"; };776 776 BEFC1DF90C07861A00B0BB3C /* torrent.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; name = torrent.c; path = libtransmission/torrent.c; sourceTree = "<group>"; }; 777 777 BEFC1DFC0C07861A00B0BB3C /* port-forwarding.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; name = "port-forwarding.h"; path = "libtransmission/port-forwarding.h"; sourceTree = "<group>"; }; … … 1176 1176 BEFC1E140C07861A00B0BB3C /* session.h */, 1177 1177 A20152790D1C26EB0081714F /* torrent-ctor.c */, 1178 BEFC1DF70C07861A00B0BB3C /* tracker.h*/,1179 BEFC1DF80C07861A00B0BB3C /* tracker.c*/,1178 A25964A4106D73A800453B31 /* announcer.c */, 1179 A25964A5106D73A800453B31 /* announcer.h */, 1180 1180 BEFC1DF90C07861A00B0BB3C /* torrent.c */, 1181 1181 BEFC1DFC0C07861A00B0BB3C /* port-forwarding.h */, … … 1429 1429 A2AAB65E0DE0CF6200E04DDA /* rpc-server.h in Headers */, 1430 1430 BEFC1E2E0C07861A00B0BB3C /* transmission.h in Headers */, 1431 BEFC1E300C07861A00B0BB3C /* tracker.h in Headers */,1432 1431 BEFC1E350C07861A00B0BB3C /* port-forwarding.h in Headers */, 1433 1432 BEFC1E390C07861A00B0BB3C /* ratecontrol.h in Headers */, … … 1468 1467 A22CFCA90FC24ED80009BD3E /* tr-dht.h in Headers */, 1469 1468 0A6169A80FE5C9A200C66CE6 /* bitfield.h in Headers */, 1469 A25964A7106D73A800453B31 /* announcer.h in Headers */, 1470 1470 ); 1471 1471 runOnlyForDeploymentPostprocessing = 0; … … 1884 1884 A2AAB65C0DE0CF6200E04DDA /* rpc-server.c in Sources */, 1885 1885 BEFC1E2F0C07861A00B0BB3C /* session.c in Sources */, 1886 BEFC1E310C07861A00B0BB3C /* tracker.c in Sources */,1887 1886 BEFC1E320C07861A00B0BB3C /* torrent.c in Sources */, 1888 1887 BEFC1E360C07861A00B0BB3C /* port-forwarding.c in Sources */, … … 1925 1924 A22CFCA80FC24ED80009BD3E /* tr-dht.c in Sources */, 1926 1925 0A6169A70FE5C9A200C66CE6 /* bitfield.c in Sources */, 1926 A25964A6106D73A800453B31 /* announcer.c in Sources */, 1927 1927 ); 1928 1928 runOnlyForDeploymentPostprocessing = 0; -
trunk/macosx/Controller.m
r9163 r9171 2024 2024 if (filterTracker) 2025 2025 { 2026 BOOL removeTextField = YES; 2026 #warning fix! 2027 /*BOOL removeTextField = YES; 2027 2028 for (NSString * tracker in [torrent allTrackers: NO]) 2028 2029 { … … 2035 2036 2036 2037 if (removeTextField) 2037 continue; 2038 continue;*/ 2038 2039 } 2039 2040 else -
trunk/macosx/InfoWindowController.m
r9168 r9171 490 490 //get trackers for table 491 491 [fTrackers release]; 492 #warning fix! 492 493 fTrackers = [[torrent allTrackers: YES] retain]; 493 494 [fTrackerTable deselectAll: self]; … … 1132 1133 } 1133 1134 1135 #warning fix! 1134 1136 - (void) tableView: (NSTableView *) tableView setObjectValue: (id) object forTableColumn: (NSTableColumn *) tableColumn 1135 1137 row: (NSInteger) row … … 1417 1419 Torrent * torrent = [fTorrents objectAtIndex: 0]; 1418 1420 1419 [fTrackerField setStringValue: [torrent trackerAddressAnnounce]]; 1421 #warning fix! 1422 //[fTrackerField setStringValue: [torrent trackerAddressAnnounce]]; 1420 1423 1421 1424 NSString * location = [torrent dataLocation]; … … 1497 1500 1498 1501 #warning reload table when necessary? 1502 #warning fix! 1499 1503 - (void) updateInfoTracker 1500 1504 { 1501 if ([fTorrents count] != 1)1505 /*if ([fTorrents count] != 1) 1502 1506 return; 1503 1507 Torrent * torrent = [fTorrents objectAtIndex: 0]; … … 1563 1567 scrapeNextString = [NSString timeString: scrapeNext showSeconds: YES]; 1564 1568 } 1565 [fScrapeNextField setStringValue: scrapeNextString]; 1569 [fScrapeNextField setStringValue: scrapeNextString];*/ 1566 1570 } 1567 1571 … … 1886 1890 [fTrackers removeObjectsAtIndexes: indexes]; 1887 1891 1892 #warning fix! 1888 1893 Torrent * torrent = [fTorrents objectAtIndex: 0]; 1889 1894 [torrent updateAllTrackersForRemove: fTrackers]; -
trunk/macosx/Torrent.h
r9125 r9171 132 132 - (uint64_t) sizeLeft; 133 133 134 - (NSString *) trackerAddressAnnounce;134 /*- (NSString *) trackerAddressAnnounce; 135 135 - (NSDate *) lastAnnounceTime; 136 136 - (NSInteger) nextAnnounceTime; … … 140 140 - (NSDate *) lastScrapeTime; 141 141 - (NSInteger) nextScrapeTime; 142 - (NSString *) scrapeResponse; 142 - (NSString *) scrapeResponse;*/ 143 143 144 144 - (NSMutableArray *) allTrackers: (BOOL) separators; -
trunk/macosx/Torrent.m
r9127 r9171 672 672 } 673 673 674 - (NSString *) trackerAddressAnnounce 675 { 676 return fStat->announceURL ? [NSString stringWithUTF8String: fStat->announceURL] : nil; 674 /*- (NSString *) trackerAddressAnnounce 675 { 676 #warning fix 677 return @"fix me!"; 678 //return fStat->announceURL ? [NSString stringWithUTF8String: fStat->announceURL] : nil; 677 679 } 678 680 … … 706 708 - (NSString *) trackerAddressScrape 707 709 { 708 return fStat->scrapeURL ? [NSString stringWithUTF8String: fStat->scrapeURL] : nil; 710 #warning fix 711 return @"fix me!"; 712 //return fStat->scrapeURL ? [NSString stringWithUTF8String: fStat->scrapeURL] : nil; 709 713 } 710 714 … … 734 738 { 735 739 return [NSString stringWithUTF8String: fStat->scrapeResponse]; 736 } 740 }*/ 737 741 738 742 - (NSMutableArray *) allTrackers: (BOOL) separators
Note: See TracChangeset
for help on using the changeset viewer.