~ubuntu-branches/ubuntu/jaunty/transmission/jaunty-security

« back to all changes in this revision

Viewing changes to macosx/GroupsWindowController.m

  • Committer: Bazaar Package Importer
  • Author(s): Chris Coulson
  • Date: 2008-11-28 15:33:48 UTC
  • mfrom: (1.1.19 upstream)
  • Revision ID: james.westby@ubuntu.com-20081128153348-it70trfnxiroblmc
Tags: 1.40-0ubuntu1
* New upstream release (LP: #302672)
  - Tracker communication uses fewer resources
  - More accurate bandwidth limits
  - Reduce disk fragmentation by preallocating files (LP: #287726)
  - Stability, security and performance improvements to the RPC /
    Web UI server (closes LP: #290423)
  - Support compression when serving Web UI and RPC responses
  - Simplify the RPC whitelist
  - Fix bug that prevented handshakes with encrypted BitComet peers
  - Fix 1.3x bug that could re-download some data unnecessarily
    (LP: #295040)
  - Option to automatically update the blocklist weekly
  - Added off-hour bandwidth scheduling
  - Simplify file/priority selection in the details dialog
  - Fix a couple of crashes
  - New / updated translations
  - Don't inhibit hibernation by default (LP: #292929)
  - Use "close" animation when sending to notification area (LP: #130811)
  - Fix resize problems (LP: #269872)
  - Support "--version" option when launching from command line
    (LP: #292011)
  - Correctly parse announce URLs that have leading or trailing
    spaces (LP: #262411)
  - Display an error when "Open Torrent" fails (LP: #281463)
* Dropped 10_fix_crasher_from_upstream.dpatch: Fix is in this
  upstream release.
* debian/control: Don't just build-depend on libcurl-dev, which is
  a virtual package.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/******************************************************************************
2
 
 * $Id: GroupsWindowController.m 6009 2008-06-03 15:27:03Z livings124 $
 
2
 * $Id: GroupsWindowController.m 7030 2008-11-04 00:34:13Z livings124 $
3
3
 *
4
4
 * Copyright (c) 2007-2008 Transmission authors and contributors
5
5
 *
82
82
- (id) tableView: (NSTableView *) tableView objectValueForTableColumn: (NSTableColumn *) tableColumn row: (NSInteger) row
83
83
{
84
84
    GroupsController * groupsController = [GroupsController groups];
85
 
    int groupsIndex = [groupsController indexForRow: row];
 
85
    NSInteger groupsIndex = [groupsController indexForRow: row];
86
86
    
87
87
    NSString * identifier = [tableColumn identifier];
88
88
    if ([identifier isEqualToString: @"Color"])
126
126
}
127
127
 
128
128
- (NSDragOperation) tableView: (NSTableView *) tableView validateDrop: (id <NSDraggingInfo>) info
129
 
    proposedRow: (int) row proposedDropOperation: (NSTableViewDropOperation) operation
 
129
    proposedRow: (NSInteger) row proposedDropOperation: (NSTableViewDropOperation) operation
130
130
{
131
131
    NSPasteboard * pasteboard = [info draggingPasteboard];
132
132
    if ([[pasteboard types] containsObject: GROUP_TABLE_VIEW_DATA_TYPE])
138
138
    return NSDragOperationNone;
139
139
}
140
140
 
141
 
- (BOOL) tableView: (NSTableView *) tableView acceptDrop: (id <NSDraggingInfo>) info row: (int) newRow
 
141
- (BOOL) tableView: (NSTableView *) tableView acceptDrop: (id <NSDraggingInfo>) info row: (NSInteger) newRow
142
142
    dropOperation: (NSTableViewDropOperation) operation
143
143
{
144
144
    NSPasteboard * pasteboard = [info draggingPasteboard];