Commit Graph

272 Commits

Author SHA1 Message Date
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