Commit Graph

329 Commits

Author SHA1 Message Date
Charles Kerr 46dd20b050 use G_GNUC_UNUSED macro to fix unused variable warnings 2007-07-26 17:21:50 +00:00
Charles Kerr feb85f8957 gtk: fix minor "unused variable" warning. 2007-07-25 16:04:27 +00:00
Charles Kerr dd55805012 much faster rechecking of incomplete torrents. added tr_stat_t.recheckProgress field. 2007-07-24 01:33:59 +00:00
Charles Kerr 177eb99e94 use tr_loadTorrents() during startup. 2007-07-23 03:03:45 +00:00
Charles Kerr 637d06e37d when building the tooltip, ensure the string is zero-terminated 2007-07-20 17:09:15 +00:00
Charles Kerr bbac082af5 finish splitting the rate control from one state into two states as requested by BMW 2007-07-20 08:33:59 +00:00
Charles Kerr 4ef1592e6b more work on the speed limits as hammered out w/BentMyWookie 2007-07-20 03:24:04 +00:00
Josh Elsasser 373e6dd519 Include stdio.h a couple places where it could be needed. 2007-07-19 03:55:00 +00:00
Charles Kerr ad63c84b47 on second glance, there are even more issues that keep us from working w/2.4. still, 2.6 was released in 2004, so it's not like we're on the bleeding edge here. 2007-07-19 03:36:29 +00:00
Charles Kerr 93ea89eba3 Transmission won't be as pretty and shiny for gtk+ 2.4 users, but it will compile and work for them 2007-07-19 03:16:30 +00:00
Charles Kerr 0939d13a72 almost done reverting. 2007-07-19 00:09:09 +00:00
Charles Kerr bd3ce76fa5 part one of moving the build environment over to automake/autoconf. beware! 2007-07-18 23:04:26 +00:00
Josh Elsasser e542807018 I'm an idiot. 2007-07-18 17:58:16 +00:00
Josh Elsasser a3e790f403 Replace bzero() with memset().
Define AF_LOCAL and SUN_LEN for systems that lack them.
Don't mix function and non function pointers without casting.
Fix a potential type mismatch in assignment.
2007-07-18 17:28:25 +00:00
Charles Kerr ffeef6083a remove debugging statements that accidentally got checked in r2388 2007-07-18 05:33:20 +00:00
Charles Kerr dbe96a9e82 fold per-torrent ul/dl speed cap settings into libtransmission. synchronize gtk+ client with this change. breaks os x client. 2007-07-18 05:27:45 +00:00
Charles Kerr d640972ed2 update the gtk client's translatable strings 2007-07-17 00:02:56 +00:00
Charles Kerr daf44d5073 add "don't ask me this again" checkbox to "really quit Transmission?" dialog box 2007-07-16 18:45:51 +00:00
Charles Kerr 208ca81996 tyop fix 2007-07-16 02:23:30 +00:00
Charles Kerr 82fbfb4c47 disambiguate some of the tr_stat_t variables' names 2007-07-16 00:50:43 +00:00
Charles Kerr 7229f6c56b remove more functions made obsolete by tr_torrentFile(). 2007-07-15 20:29:57 +00:00
Charles Kerr 73ca83a455 split tr_stat_t's peersTotal into peersTotal and peersConnected 2007-07-15 17:19:07 +00:00
Charles Kerr 5455df4373 update versioning scheme as per consensus between TMT, John_Clay, Gimp_, and charles_ 2007-07-10 19:40:21 +00:00
Charles Kerr 0c39aa6565 minor cleanups of last checkin 2007-07-10 03:23:07 +00:00
Charles Kerr ed226a32ac splitting dnd and priorities apart, and moving the file storage for those fields into fastresume 2007-07-10 03:12:46 +00:00
Charles Kerr 26ca860e55 minor tweaks to make the gtk+ client resemble the os x one more closely 2007-07-08 05:51:55 +00:00
Charles Kerr 73af49bd08 don't crash when creating a single-file torrent of a zero-byte file. Reported by BentMyWookie. 2007-07-06 18:24:54 +00:00
Charles Kerr bdeefc99b1 fix typo in polish translation. Thaks to Fabreef for reporting this. 2007-07-06 16:29:10 +00:00
Charles Kerr 9932b80f73 build fixes for gcc 2.x. thanks to fizz for reporting and providing a patch. 2007-07-06 16:25:24 +00:00
Charles Kerr 00885779e5 (gtk) sort the files in the torrent inspector's file tab. 2007-07-01 13:39:37 +00:00
Charles Kerr e77a18c882 make the "Error while parsing bencoded data" more helpful by showing the bad bencoded data. (though the string might be very long...) 2007-07-01 02:54:37 +00:00
Charles Kerr d33bb5cde6 (gtk) make the columns in the main window sortable 2007-06-30 22:46:01 +00:00
Charles Kerr 3e0cac55fd (1) check a torrent's `fast resume' state as soon as it's added. (2) in gtk, show % done even when torrent is stopped 2007-06-30 13:53:10 +00:00
Charles Kerr 6c6732ed39 make tr_torrentInfo() a const function 2007-06-30 13:36:58 +00:00
Josh Elsasser a09a9c9157 Add client/server name to IPC version handshake. 2007-06-29 02:21:29 +00:00
Charles Kerr 73ee59a21f * (libT) stopped torrents shouldn't use CPU cycles.
* (gtk) if a torrent is stopped when you exit, keep it stopped when restarting.
2007-06-28 17:43:53 +00:00
Charles Kerr 008938b62f set a default window size for the debug window 2007-06-27 18:34:38 +00:00
Charles Kerr 47a5ff4120 add tr_torrentCanAdd() as per BentMyWookie's request... clear tracker error string when restarting... fix r2202 "completed" announce bug. 2007-06-27 05:14:38 +00:00
Charles Kerr 7e09d157cd Thread safety improvements. Also, stopping/starting/rechecking/etc. torrents no longer blocks the calling thread. Since this a big commit, it will probably create some short-term pain via new bugs. 2007-06-26 18:45:03 +00:00
Charles Kerr c2cd3a89be remove a debugging console message that shouldn't've been checked in 2007-06-26 17:36:40 +00:00
Charles Kerr 496cf6d63a fix minor oops 2007-06-23 00:00:19 +00:00
Charles Kerr ab85deaf51 add color-coded lines to the gtk debug window -- info is black, debug is grey, errors are red... 2007-06-22 20:59:23 +00:00
Charles Kerr b07c8df3cf Fix torrent-inspector bug reported in the forums by webaake 2007-06-20 15:55:27 +00:00
Charles Kerr 5a375d90e2 fix double-free memory error in gtk client when reading corrupt torrent files 2007-06-19 16:36:59 +00:00
Charles Kerr 06e761d950 * fix error checking large files reported by Gimp_
* portability changes to pathname/filename building
* small gratuitous changes
2007-06-18 19:39:52 +00:00
Charles Kerr f7cd20f58c (gtk) fix compile-time warnings on 32-bit machines 2007-06-18 13:51:41 +00:00
Charles Kerr 1388c51142 fix the bug Lacrocivious found in the gtk+ "create torrent" dialog 2007-06-18 04:52:03 +00:00
Mitchell Livingston 0256f4616d Merge file selection and torrent creation into the main branch.
The new code for these features is under a new license.
2007-06-18 03:40:41 +00:00
Charles Kerr 2006882927 (trunk - gtk) in prefs dialog, changes to the download directory weren't always honored. 2007-06-11 17:21:08 +00:00
Josh Elsasser 78a4e7d51e Send bad-format instead of not-supported where appropriate.
Implement supported message.
2007-06-10 23:56:35 +00:00
Charles Kerr b96a30d7c1 Work with gtk < 2.8 2007-06-09 17:08:25 +00:00
Charles Kerr 7b28aa2156 gtk: added "about" window; refreshed translation potfile; wrote a simple script so every release I don't have to re-learn how to make potfiles. 2007-06-09 15:20:32 +00:00
Charles Kerr 5d9fe27797 Ticket #217: Missing Progress in GTK+ Torrent Inspector (reported by CatharsisCarth) 2007-06-09 00:34:39 +00:00
Charles Kerr ecf19e2528 fix torrent-inspector memory leaks 2007-06-07 17:53:54 +00:00
Mitchell Livingston 4ada334f57 patches from Charles Kerr to update the Inspector in GTK and fix some memory leaks 2007-06-06 00:30:13 +00:00
Mitchell Livingston de37792d9a update files to recognize the new "waiting to check" state 2007-05-28 18:37:47 +00:00
Mitchell Livingston 0f9766145b patch from Charles Kerr: perform file checking one at a time (fixes #124) 2007-05-28 15:23:28 +00:00
Josh Elsasser 6d9472edc8 Massage types a bit to silence some warnings and add a couple missing headers. 2007-05-27 16:31:16 +00:00
Josh Elsasser 64b5583a10 Implement messages to change preference values. 2007-05-24 13:56:26 +00:00
Josh Elsasser a12da10722 Move preference saving from TrPrefs to TrCore.
Update the preference window when a preference is changed.
2007-05-24 13:55:57 +00:00
Josh Elsasser bdb6b77e38 Implement the various get messages to retrieve settings.
Hope these work, nothing uses them that I know of so no testing.
2007-05-24 11:16:53 +00:00
Josh Elsasser 04a175665b Implement addfiles-detailed message. 2007-05-24 10:37:07 +00:00
Josh Elsasser 02aa6305ac Implement removeall, startall and stopall messages. 2007-05-24 09:28:15 +00:00
Josh Elsasser 4657345141 Add torrent hash to model.
Implement lookup, remove, start, and stop messages.
2007-05-24 09:18:03 +00:00
Josh Elsasser 80c7f8c922 Add ipc id to TrCore model.
Implement info and stat ipc messages.
2007-05-24 07:51:37 +00:00
Josh Elsasser c7ff9bdcf1 Return response for tagged add message.
Support noop message.
2007-05-24 06:15:48 +00:00
Josh Elsasser eea5e1df5d Switch to ipc version 2. 2007-05-24 05:46:23 +00:00
Josh Elsasser 2e1773a974 Use a signal in TrCore instead of a callback to signal quit. 2007-05-24 03:29:23 +00:00
Josh Elsasser dfffdd17e4 Move torrent adding from callback in main.c to functions on TrCore. 2007-05-24 02:50:28 +00:00
Josh Elsasser eadedea754 Axe the stupid torrent flags. 2007-05-23 19:26:29 +00:00
Josh Elsasser cc1394b1d6 Add signal mechanism for reporting error from TrCore.
Use error signal for errors when adding torrents and saving state.
2007-05-23 17:59:35 +00:00
Josh Elsasser 787e17135a Untangle the gordian references between TrCore and TrTorrent. 2007-05-23 06:25:15 +00:00
Josh Elsasser 81a6d96d6e Remove tr_handle_t argument from tr_torrentClose(). 2007-05-23 04:45:20 +00:00
Josh Elsasser a19989c544 Merge TrBackend into TrCore. 2007-05-23 04:39:06 +00:00
Josh Elsasser 61263c844e Fix deleting a torrent which has a properties window open.
(this should be merged if there is ever a 0.73)
2007-05-23 04:38:35 +00:00
Josh Elsasser 51b8ea47c9 Move model appending, updating, and deleting to TrCore.
The TrTorrent refcounting clusterfuck should be isolated from main.c now.
2007-05-23 02:45:28 +00:00
Josh Elsasser c32c517d46 Preparation for eliminating TrBackend:
move the TrBackend instance into TrCore and add wrapper functions.
2007-05-23 01:47:42 +00:00
Josh Elsasser 89cc48f0e8 Move main model into a new TrCore wrapper class. 2007-05-23 00:49:31 +00:00
Josh Elsasser e850bd7df8 Close the main window on a dock icon click if it is already open. 2007-04-23 19:27:03 +00:00
Josh Elsasser efd1ac7d65 Update size units in finnish translations.
Add translations of Comment to .desktop file.
2007-04-19 21:14:45 +00:00
Josh Elsasser e9e80b16db Remove the old russian translation of the program name. 2007-04-19 19:09:29 +00:00
Josh Elsasser 132e4f5c8c Merge daemon branch to trunk. 2007-04-18 16:39:10 +00:00
Josh Elsasser a3836c8d9c Bump version to 0.7. 2007-04-18 14:06:52 +00:00
Josh Elsasser 5e61c847f0 Add finnish gtk translation. 2007-04-17 22:08:57 +00:00
Josh Elsasser ee01a4ac95 Fix memory leak. 2007-04-17 05:08:45 +00:00
Josh Elsasser 4e00714e62 Update spanish gtk translation. 2007-04-15 18:53:01 +00:00
Josh Elsasser c6250b07a5 Update bulgarian, polish, and italian translations. 2007-04-11 20:35:42 +00:00
Josh Elsasser a348b76d91 Update swedish translation. 2007-04-11 03:46:43 +00:00
Josh Elsasser 36a52fdb96 Update french translation. 2007-04-10 01:02:40 +00:00
Josh Elsasser 34e1bec19b Add Stalwart's email address at the top of this file or I'll probably
forget and mail the wrong person next time.
2007-04-08 18:21:12 +00:00
Josh Elsasser 7ccae5a7a1 Update russian translation. 2007-04-08 18:18:56 +00:00
Josh Elsasser ce085c64d3 Update romanian translation. 2007-04-08 16:17:35 +00:00
Josh Elsasser be7c7473f5 Update translations. 2007-04-07 21:19:11 +00:00
Josh Elsasser fbcc6c73dc Minor reformatting. 2007-04-07 20:52:57 +00:00
Josh Elsasser ba694f8f39 Ok, I think I finally got it right this time. 2007-04-07 20:38:34 +00:00
Josh Elsasser 3ea83734ff Fix mangled UTF-8. 2007-04-07 20:01:14 +00:00
Josh Elsasser 47cda1412c Minor gettext fixes.
Update po template.
2007-04-05 23:36:09 +00:00
Josh Elsasser b7c6284dce Add option to disable the annoying quit confirmation dialog. 2007-04-05 22:28:02 +00:00
Josh Elsasser 14386befea A couple manpage tweaks, courtesy of nzk. 2007-04-04 04:34:13 +00:00
Josh Elsasser 6b70c6c569 Improve manpages a bit. 2007-04-04 01:41:34 +00:00
Josh Elsasser fffd302c2c Update transmissioncli manpage, add transmission-gtk manpage skeleton. 2007-04-04 01:20:45 +00:00
Josh Elsasser b86b3e8a30 Add remaining file download to properties window. 2007-04-04 00:56:17 +00:00
Josh Elsasser 3d054d83ca Add files window to properties window as a tab.
Update properties dialog at regular intervals.
2007-04-04 00:32:58 +00:00
Josh Elsasser b29d8e4342 Make evil initial window sizing magic a bit less evil and a bit less magic. 2007-04-03 08:18:53 +00:00
Josh Elsasser 5b6ac5744c Fix initial directory in file chooser window. 2007-04-02 18:15:42 +00:00
Josh Elsasser 4d7b4b536f Add preference option to disable PEX. 2007-03-31 19:19:27 +00:00
Josh Elsasser b8530669e6 Remove unused function. 2007-03-29 19:53:40 +00:00
Josh Elsasser 7e450316f2 Set roles for non-dialog windows to help WMs out a bit. 2007-03-24 10:20:00 +00:00
Josh Elsasser c0e369d44a Don't pass an uninitialized variable to accept(). 2007-03-24 10:06:56 +00:00
Josh Elsasser 478b30c191 Don't rely on on printf field numbers. 2007-03-24 09:23:24 +00:00
Josh Elsasser 92637d591e Optionally return the info hash after attempting to load a duplicate torrent. 2007-03-22 18:07:22 +00:00
Josh Elsasser 494ca91fd6 Append a frontend-specific tag to saved torrents.
This prevents one frontend from deleting a saved torrent used by another.
2007-03-13 06:56:50 +00:00
Josh Elsasser 36c7c9d7d2 Use a new, more flexible version message in ipc.
Don't actually have the server send it yet, old clients can't handle it.
2007-03-12 05:42:39 +00:00
Josh Elsasser 5a62e83689 Don't use sprintf, strcpy, or strcat. 2007-03-12 00:04:11 +00:00
Josh Elsasser 930fa86d0e Fix unintentional change in the add dialog default directory. 2007-02-28 00:58:15 +00:00
Josh Elsasser 67826df085 Use a tr_tracker_info_t * directly in tr_info_t and tr_tracker_t. 2007-02-27 04:00:38 +00:00
Josh Elsasser 90423e818d Sort files in file window case insensitively. 2007-02-23 20:43:18 +00:00
Josh Elsasser 899f2ab27e Spruce up the menu a bit and add it to a menubar and the tray icon. 2007-02-23 19:50:48 +00:00
Josh Elsasser a0f7446a39 Have file window's progress bars notice theme changes. 2007-02-23 12:27:19 +00:00
Josh Elsasser 963a4fdc81 Clamp file progress to 0.0-1.0
Clear focus when opening files dialog.
2007-02-23 11:49:18 +00:00
Josh Elsasser b1d47df423 Display progress in file window as well as updating periodically. 2007-02-23 11:27:59 +00:00
Josh Elsasser 98ea79c579 Calculate and show directory sizes in file window. 2007-02-23 06:54:49 +00:00
Josh Elsasser bb3193f431 Add a window to view a torrent's files. 2007-02-23 06:18:45 +00:00
Josh Elsasser 4943058f72 Merge gtkmisc branch. 2007-02-19 22:09:05 +00:00
Josh Elsasser 7fbd08618b New swedish translation. 2007-02-15 20:38:01 +00:00
Josh Elsasser 14dfe61727 Fix typo in comment. 2007-02-15 20:25:44 +00:00
Josh Elsasser 60b7749385 Split off the window-related code into a new file.
Bump a couple copyright dates I forgot earlier.
2007-02-07 07:35:33 +00:00
Josh Elsasser ea23f0b7ce Add property which allows the text under the progress bar to be turned off. 2007-02-07 05:14:26 +00:00
Josh Elsasser 79a6540b46 Set a window icon. 2007-02-07 05:08:53 +00:00
Josh Elsasser 603a374a6b Add a .desktop file. Based on ticket #153. 2007-02-07 04:19:12 +00:00
Josh Elsasser 664f11d9e1 Add swedish translation from ticket #2 2007-02-07 03:23:45 +00:00
Josh Elsasser e15841cc93 Add an option to always prompt for a download directory. Fixes ticket #116.
Fix a minor memory leak with the 'Add a Torrent' dialog.
2007-02-07 02:59:25 +00:00
Josh Elsasser 3a4a6c4251 Fix the 'Automatically start torrent' checkbox,
which has apparently been broken since r320
2007-02-07 00:39:49 +00:00
Josh Elsasser f67ad8cf47 Add a new interface to make the public port available to the frontend. 2007-02-06 04:26:40 +00:00
Josh Elsasser 263bf6ff0c Check for private flag in main dict too. 2007-01-27 22:37:10 +00:00
Eric Petit 7a6401c7b4 Split transmission.c: everything related to the accept/upnp/choking
thread was moved to shared.c
2007-01-19 04:42:31 +00:00
Eric Petit e5e6a8b5df Merge io branch into trunk 2007-01-14 12:00:21 +00:00
Josh Elsasser c5dd752721 Less awkward wording of a couple of tooltips.
Thanks to Lacrocivious for suggestions.
2007-01-05 16:21:31 +00:00
Josh Elsasser 111fc849d0 Change nat traversal label to something that is hopefully clearer.
Add tooltips to preference dialog.
2006-12-31 16:07:51 +00:00
Josh Elsasser cedcbf701e Catch up with function renaming. 2006-12-27 00:33:22 +00:00
Mitchell Livingston 3374ce9a32 merge multitracker branch:
Adds announce list, support for code 301/302 redirect, improvements to mac inspector, better queueing with errors, random extra wait of up to a minute between announces, and other changes.
2006-12-17 16:36:27 +00:00
Josh Elsasser e0790f955a Avoid doing some potentially bogus things when stopping and deleting a torrent. 2006-12-11 23:12:09 +00:00
Josh Elsasser ff13d6e71b Show total completed downloads in properties window. 2006-12-02 04:31:39 +00:00
Josh Elsasser 7f370e9eaf Add Romanian translation. 2006-10-21 02:58:47 +00:00
Josh Elsasser 35f5f6f8e3 Add a partial Bulgarian translation. 2006-10-18 21:10:12 +00:00
Josh Elsasser 3f9a55b194 Fix a stupid mistake that could cause the fastresume data to not be saved on exit. 2006-10-18 21:09:34 +00:00
Josh Elsasser 0257761670 Merge nat-traversal branch to trunk. 2006-09-25 18:37:45 +00:00
Josh Elsasser bec163be16 Revert a change that was made on the wrong branch. 2006-09-25 07:17:43 +00:00
Josh Elsasser 1b8280df3e Fix logic error in exit check. 2006-09-23 06:29:32 +00:00
Josh Elsasser 2b6ba0df07 Improve debug window:
Limit the log to 5000 messages.
  Use a monospaced font.
  Add timestamps.
  Add button to clear the log.
  Add button to save the log to a file.
  Replace radio buttons with popup menu.
2006-09-18 01:26:49 +00:00