Commit Graph

1191 Commits

Author SHA1 Message Date
Eric Petit 9545453d48 Optimized stringFittingInWidth 2006-02-09 13:44:14 +00:00
Eric Petit 544cc37263 Cache icons in NameCell (fixes #1) 2006-02-09 12:58:10 +00:00
Eric Petit 95019c0246 Reverted the bottom of the window to the way it was before.
Minor change to stringForSpeedAbbrev so it never shows more than four
 digits (-> no overlapping possible in the window or the badge).
2006-02-09 06:38:09 +00:00
Josh Elsasser 17a053d881 Recognize openbsd as a valid system.
When using GTK, try to make sure we can also find libintl.h for gettext.

Tested by deanna@sdf.lonestar.org
2006-02-09 05:55:41 +00:00
Eric Petit 6197b6665c Added optimistic choking 2006-02-08 22:21:58 +00:00
Eric Petit c2fc72b477 Randomly choke and unchoke peers who upload less than 0.1KB/s to us,
instead of trying to compare their upload rates
2006-02-08 21:26:27 +00:00
Eric Petit da6b5deb96 Update the torrent history as the app runs, so it won't be lost if it
doesn't exit properly
2006-02-08 19:05:42 +00:00
Eric Petit 604f0b2b35 Removed 'BadgeCompleted' option - who'd want to disable it anyway? 2006-02-08 18:10:42 +00:00
Josh Elsasser a72881fdda Save resume information when a torrent finishes downloading. 2006-02-08 17:48:18 +00:00
Eric Petit 65316f1b72 Updated badging 2006-02-08 17:44:07 +00:00
Eric Petit d8bdcea349 Fixed fastResumeLoadOld 2006-02-08 16:49:00 +00:00
Josh Elsasser 9911026409 Merge the version 1 extensible resume file format,
as well as compatability code to read the existing version 0 files.
Note that older versions of transmission won't understand the version 1 format
and a hash check will be done on all the files.

Save uploaded and downloaded totals in the resume file.
2006-02-08 16:31:49 +00:00
Josh Elsasser c5181f72e2 Whoops, use download and upload *totals* instead of *rate* to calculate ratio. 2006-02-08 14:15:59 +00:00
Eric Petit 66f77fa311 Use the infinite symbol rather than "Inf." 2006-02-08 09:49:06 +00:00
Josh Elsasser 7230f1113c Minor change to improve drag-and-drop compatibility. 2006-02-08 04:45:46 +00:00
Josh Elsasser 187bbf909e Show seeders and leechers in properties window.
Show ratio instead of download rate when torrent is finished.
2006-02-07 17:15:16 +00:00
Eric Petit 9b2e8566dd BeOS fixes 2006-02-07 09:34:30 +00:00
Eric Petit 3ba5313752 Show ratio instead of the download rate once the download is complete.
Fixed windowWillUseStandardFrame.
 Cleaning
2006-02-07 05:02:45 +00:00
Eric Petit f1b113ec5b Cleaning and minor optims 2006-02-07 03:10:42 +00:00
Eric Petit fcd1c9a1a8 Force rates to 0 when paused, and download rate to 0 when seeding.
Increased OS X UI update interval to 1 second.
2006-02-07 02:32:50 +00:00
Josh Elsasser fa3e10b2c0 Implement drag-and-drop to allow files to be dropped into the main window.
Use locale-independent functions when parsing state file.
2006-02-06 05:48:26 +00:00
Eric Petit 355fe1273f Comments 2006-02-05 21:10:20 +00:00
Josh Elsasser a2914be847 Rewrite error messages to be less unnecessarily verbose.
Only allow one instance of the preference window at a time.
Beat the dialogs with the GNOME HiG stick.
Handle missing .torrent files on startup better.
2006-02-05 17:33:57 +00:00
Josh Elsasser 38050332f5 Fix a couple of warnings on netbsd 3. 2006-02-05 16:00:30 +00:00
Eric Petit 74b6e3f3ab Fixed no-limit upload 2006-02-05 09:42:38 +00:00
Josh Elsasser 7a53122e1c Add internationalization support for the GTK GUI. 2006-02-04 18:03:05 +00:00
Eric Petit 89ebc1f37f Hide toolbar button in a Panther-compatible way 2006-02-04 15:21:28 +00:00
Josh Elsasser f92117be84 Fix a couple of positioning bugs with right-to-left languages. 2006-02-04 06:14:43 +00:00
Eric Petit 77dc2be62a Fixed memleak
Don't count small messages in the download rate
2006-02-02 01:59:02 +00:00
Eric Petit 1d7f99b164 Workarounded a race condition 2006-02-01 14:05:48 +00:00
Eric Petit bb7711ed2c Display the number of active torrents when quitting, not downloading torrents 2006-02-01 00:14:26 +00:00
Eric Petit 00ef8642bf Fixes a crash (quite amazing that it didn't crash more often, actually...) 2006-01-31 07:11:28 +00:00
Eric Petit aa6c52ef46 Fixed a lame typo so the algorithm may actually work 2006-01-31 04:58:28 +00:00
Eric Petit 8c8b2dbc19 Fixes crash when the user is always asked for the download location 2006-01-31 04:19:31 +00:00
Josh Elsasser 60f10df45e Validate that data read from prefs and state files is valid UTF-8. 2006-01-30 20:01:08 +00:00
Josh Elsasser 8d401347b6 Rename a few files now that we're using subversion and it's easy. 2006-01-30 16:05:18 +00:00
Josh Elsasser 93678d9601 FreeBSD (and presumably NetBSD) also need -lm 2006-01-30 14:28:56 +00:00
Eric Petit ae8ef0dc83 Fixes a little memleak 2006-01-30 07:01:35 +00:00
Eric Petit ff1fe9fd1e Now needs -lm on Linux 2006-01-30 06:59:16 +00:00
Eric Petit cf392ea2c6 New choking algorithm (still needs work, it's inefficient, untested and
misses optimistic choking)
2006-01-30 06:54:31 +00:00
Eric Petit 76079f50e3 Fixed the build 2006-01-30 06:07:06 +00:00
Eric Petit b0bd6984ee s/2005/2006/ 2006-01-30 04:43:14 +00:00
Eric Petit 8c733df6a6 Added a rate calculator for each peer
Set up files for the choking algorithm (does nothing yet)
2006-01-30 04:42:43 +00:00
Eric Petit 28d43da1d1 Removed now unused tables and some now unused code 2006-01-30 02:13:40 +00:00
Eric Petit 58ec7a7e97 Rewrote rate control, background work for the download limit, the dl/ul
limits per torrent and for the choking algorithm
2006-01-30 01:58:27 +00:00
Eric Petit f7622a6ebf Moved the quit code to applicationWillTerminate: 2006-01-29 22:16:16 +00:00
Eric Petit 0f1499a22b Added check for update 2006-01-29 22:01:08 +00:00
Eric Petit ab3abc5af6 Added preferences to configure badging 2006-01-29 19:47:54 +00:00
Eric Petit f6a70e2a8f Show the file icon in the "Name" cell
Changed 0.5-cvs to 0.5-svn
2006-01-29 19:18:03 +00:00
Eric Petit 0ed06f109d The quit dialog now displays the number of active torrents
Disables idle sleep if at least one torrent is active
 Cosmetic changes
2006-01-29 01:20:22 +00:00