Commit Graph

608 Commits

Author SHA1 Message Date
Charles Kerr ffa9d6b125 (gtk) add the up/down/yin-yang icons and session stats to toolbar. add toggling of toolbar and/or statusbar. 2007-12-20 02:56:47 +00:00
Charles Kerr 21d3614f7c make the short status string a little shorter. 2007-12-20 02:02:51 +00:00
Charles Kerr 69e1e025b2 misc cleanup. fix vertical alignment of the short status string in minimal view. 2007-12-20 01:33:51 +00:00
Charles Kerr 495143bdad (gtk) let the user narrow the window even if there's a really large torrent name being displayed. 2007-12-19 20:30:53 +00:00
Charles Kerr 9098cfbcf7 (gtk) minimal mode now works, mostly 2007-12-19 20:04:38 +00:00
Charles Kerr 6b6a73a1b4 more progress on prefs + event integration 2007-12-19 19:16:36 +00:00
Charles Kerr b0e1a8b8cd cleaner actions/prefs integration. 2007-12-19 18:42:33 +00:00
Charles Kerr a2e7d74898 partial work on gtk+ 'minimal mode' 2007-12-19 18:11:10 +00:00
Charles Kerr 4744c7f8a4 (gtk) quick fix for the memory corruption bug reported by werehamster 2007-12-19 12:38:36 +00:00
Charles Kerr ae682b59be that last commit was kind of silly... "sort by ratio" can be merged into "sort by progress" 2007-12-19 07:10:47 +00:00
Charles Kerr 9ed991657e (gtk) add sort-by-ratio 2007-12-19 07:03:28 +00:00
Charles Kerr b306919f0b (gtk) for clarity, use "downloading from X of Y connected peers" instead of "downloading from X of Y peers" 2007-12-19 04:20:57 +00:00
Charles Kerr 1a1eb1fa67 first cut at adopting some of the OS X client's main list UI into the gtk+ client 2007-12-19 02:46:30 +00:00
Charles Kerr 669b7e3158 add a port tester to the gtk+ client, similar to the one in the mac client, but using m0k.org/PortCheck.php 2007-12-15 22:24:16 +00:00
Charles Kerr 0fa3fb0d67 use a modified version of werehamster's improvements to the gtk gui at shutdown 2007-12-14 18:36:19 +00:00
Charles Kerr bff88f6c4c more prefs dialog cleanup from wereHamster 2007-12-13 20:46:19 +00:00
Charles Kerr 449186969f wereHamster's patch to remove some clutter from the prefs dialog 2007-12-13 19:54:24 +00:00
Charles Kerr 73ee11f233 Use libnatpmp for port mapping. rewrite the upnp/natpmp manager.
NOTE: this will break the xpjets build until SoftwareElves or a volunteer patches the xcode project file to make a libnatpmp library just like was done for libminiupnp.
2007-12-08 19:34:15 +00:00
Charles Kerr 698b8b71b3 tweak the r4035 fix to play nice with really old versions of gtk 2007-12-03 19:43:21 +00:00
Charles Kerr e843d4869c fix gtk+ crash. reported, tracked, and patched by serge in ticket #512 2007-12-01 20:07:53 +00:00
Charles Kerr f4b1d3d8b7 glib < 2.8 portability fix 2007-12-01 02:52:13 +00:00
Charles Kerr 57e36bffeb added backwards compatability for 0.8x configuration files. modified from a patch originally written by poolshark. 2007-12-01 01:41:10 +00:00
Charles Kerr 7092744391 when showing progress percentages in the gtk+ gui, don't round to the nearest whole number -- it's confusing to show 99.5% as 100% 2007-11-29 17:14:28 +00:00
Charles Kerr 4ae2350a97 r4012 didn't work for gtk+ versions < 2.10.0 2007-11-29 15:49:58 +00:00
Charles Kerr 5e4304f207 use the `network' stock icon in the "closing connections" dialog 2007-11-29 04:48:27 +00:00
Charles Kerr 4f1837c891 put a shutdown message in the gtk+ client - http://img208.imageshack.us/img208/7118/closinggy4.png 2007-11-29 02:32:10 +00:00
Charles Kerr 1e4b3a0577 make the peer stats a little easier to understand 2007-11-27 21:39:41 +00:00
Charles Kerr 24c2d30a7c remove dead code to roll the odometer to 4000!!1! 2007-11-27 04:33:59 +00:00
Charles Kerr dbc9a4aabe add stats dialog to the gtk+ client 2007-11-27 03:29:51 +00:00
Charles Kerr ebc8f34f48 fix bug in gtk client that caused torrent changes to show up too slowly in the GUI 2007-11-23 15:36:31 +00:00
Charles Kerr 49ea2dd4d8 gtk+: disable the "status" column by default 2007-11-20 01:54:11 +00:00
Charles Kerr 2c92788469 gtk: sync our "activity" tab with the mac's "purple crystal ball" tab 2007-11-18 17:28:36 +00:00
Charles Kerr 8d70ac49c0 the peers tab used to refresh too quickly to read! 2007-11-18 04:28:28 +00:00
Charles Kerr f3c153234f gtk: rename "Verify Local Files" to "Verify Local Data" 2007-11-18 02:55:08 +00:00
Charles Kerr 355f96e660 Rename "Debug Window" as "Message Log", which is the terminology the OS X client uses too 2007-11-18 02:32:46 +00:00
Charles Kerr 9a81cd7637 reintroduce the "SWIFT" algorithm 2007-11-18 01:00:49 +00:00
Charles Kerr 37969406b2 Add "Status" column to tr_peer_stat. 2007-11-17 23:43:33 +00:00
Charles Kerr b4644c02b9 undo previous commit 2007-11-17 07:29:44 +00:00
Charles Kerr 564e4e2eb6 fix gtk+ memory leak. 2007-11-17 07:27:11 +00:00
Charles Kerr 8653817e5d cruft removal: use tr_stat's ratio field instead of calculating it ourself. 2007-11-15 04:19:53 +00:00
Charles Kerr 96629d16db clear the gtk+ gui before calling tr_close() 2007-11-11 20:38:59 +00:00
Charles Kerr 14bd1d7408 sync our shutdown code to BentMyWookie's latest tr_close() changes. 2007-11-09 16:11:10 +00:00
Charles Kerr 9df263326d use Thomas Bernard's miniupnp library instead of rolling our own. 2007-11-06 16:02:50 +00:00
Charles Kerr 1b85349b3f ensure dates in the torrent inspector are readable by converting them from the system's locale to UTF-8. (bug found and patched by goyko, ticket #435) 2007-10-29 23:49:00 +00:00
Charles Kerr e0965c3a63 better openssl detection & support: use openssl's pkg-config file. 2007-10-28 19:55:03 +00:00
Charles Kerr 92ac49d9c4 compatability with older C copmilers (ticket #422, patch by fizz) 2007-10-27 21:29:41 +00:00
Charles Kerr 747cd0b396 (gtk) if two torrents are selected -- one running, one paused -- both "pause" and "resume" buttons should be enabled. reported by glyphobet. 2007-10-26 23:29:19 +00:00
Charles Kerr e6fbcaeae6 Quick & dirty fix to crasher ticket #415. 2007-10-26 03:02:23 +00:00
Charles Kerr 2422012145 set the lowest "maximum upload" and "maximum download" speed to 0 2007-10-24 22:59:54 +00:00
Charles Kerr 9fa2fa2c8f ensure that "make install" installs the man pages. 2007-10-24 22:53:44 +00:00
Charles Kerr f71319b90f get "make distcheck" working again 2007-10-24 17:20:50 +00:00
Charles Kerr f15acdceb9 trying to get "make distcheck" to work right 2007-10-24 15:25:43 +00:00
Charles Kerr e1fbd16941 fix some memory leaks reported by valgrind. 2007-10-22 14:15:16 +00:00
Charles Kerr c50cadbcaa remove dead code (TR_STATUS_ACTIVE, TR_STATUS_INACTIVE) 2007-10-20 22:07:21 +00:00
Charles Kerr 264f7ab8b3 Dead code removal (TR_STATUS_STOPPING) 2007-10-20 21:17:37 +00:00
Charles Kerr 4acfe5e1b5 have gtk+ use the batch form of setFilePriorities(). remove saveFastResumeSoon(). 2007-10-19 23:44:01 +00:00
Charles Kerr 25fa56d294 * don't fire the "status changed" event if the status changes while a torrent's being started for the first time.
* cleaner setting of the DND flags in the gtk+ client.
* cpStatus cleanup.
2007-10-19 23:23:21 +00:00
Charles Kerr 76da8c6c00 fix crash in the gtk client if the user hit `create' in the `create torrent' dialog without specifying a file. 2007-10-19 21:49:18 +00:00
Charles Kerr 781c3e2efd (gtk) better sort-by-progress in the main window's torrent list 2007-10-18 21:32:37 +00:00
Charles Kerr c53f69ef25 (gtk) Fix ticket #292 reported by mtolman 2007-10-18 21:28:19 +00:00
Charles Kerr 31646bcfb9 (gtk) remember between sessions which column is used for sorting in the main window's torrent list 2007-10-17 18:31:12 +00:00
Charles Kerr 574edab4e3 add "Ask Tracker for More Peers" to the torrent list's right-click context menu 2007-10-16 14:42:17 +00:00
Charles Kerr 825e1d9334 make tr_stat.everUploaded a tertiary sort key when sorting by progress. 2007-10-16 14:32:16 +00:00
Charles Kerr 99ddcb8f36 make upload speed a secondary sort key when sorting by progress. 2007-10-16 14:16:01 +00:00
Charles Kerr e698756c98 remove unused flags 2007-10-15 20:58:39 +00:00
Charles Kerr d96ed80aa2 (1) fix a bug in torrent creation. (2) fix a bug in torrent paths on startup in gtk 2007-10-14 03:26:13 +00:00
Charles Kerr ac98f63060 minor display tweak in gtk 2007-10-13 23:22:46 +00:00
Charles Kerr bb84cb9f09 janitorial work for the freeze: (1) finish replacing "transmission-gtk" with "transmission". (2) add Charles to authors lists in man pages. (3) standardize the summary as "A fast and easy BitTorrent client" in the rpm spec, gtk about dialog, and man pages. (4) fold together similar translation strings in the gtk client. (5) use g_strerror instead of strerror in the gtk client. 2007-10-13 17:33:53 +00:00
Charles Kerr 3e878aeba9 tweak the debugging messages a bit. 2007-10-13 14:02:10 +00:00
Charles Kerr 4b466a8d24 use the same lock icon that the mac client is using. 2007-10-13 13:51:38 +00:00
Charles Kerr 39c8a02497 various gtk cleanups. 2007-10-13 03:15:02 +00:00
Charles Kerr ddcd160449 config file and dead code cleanup. 2007-10-12 20:50:03 +00:00
Charles Kerr 2e6ebae16e code cleanup: let glib do more of the heavy lifting w.r.t. parsing command-line arguments, drag-and-drop strings 2007-10-12 19:53:30 +00:00
Charles Kerr f371e9340f (1) fix Makefile breakage from my last commit. (2) follow Gnome HIG for what shortcut to use for 'close' 2007-10-11 20:55:14 +00:00
Charles Kerr f995bdb85c experimentally try out the tango icon and see how it looks 2007-10-11 20:13:57 +00:00
Charles Kerr aa758b4652 gtk hotkeys and typo fix 2007-10-11 15:25:54 +00:00
Charles Kerr 0a4b3bd57b more piddly tweaks: more consistency between text in the buttons and tooltips 2007-10-10 19:47:55 +00:00
Charles Kerr 9cb4b68d1c experimental code to use tango color scheme in gtk+ torrent inspector 2007-10-10 19:41:48 +00:00
Charles Kerr 0daff33814 minor tweaks: (1) list `None' instead of `0 b' for zero bytes, such as in UL speed or the "corrupted" field. (2) the properties icon is too horrible to keep -- use `torrent details' instead. (3) list active maintainers first in credits. (4) tweak the "about" dialog's client description a bit to better match the style of other gtk+ apps. 2007-10-10 18:52:08 +00:00
Charles Kerr 7280551e2f more HIG correctness 2007-10-10 18:20:52 +00:00
Charles Kerr 8e840f871c Better GNOME Integration (#338): (1) follow HIG recommendation that dialog titles be the name of the command that opened the dialog (2) rename stop-torrent as pause-torrent in the underlying gtk code 2007-10-10 17:25:56 +00:00
Charles Kerr 15b6c3c88c more hig-compliant desktop file 2007-10-09 18:50:10 +00:00
Charles Kerr 20b0006ef3 fix the `transmission.desktop' errors reported by jinzo and Lacrocivious 2007-10-09 18:28:14 +00:00
Charles Kerr da283ecc11 define DESKTOP_FILES in Makefile.am. (jas8522) 2007-10-09 14:12:38 +00:00
Charles Kerr 0f1d9429b6 i18n cleanup: (1) take strings that were very similar and make them identical, so there are fewer strings to translate. (2) unmark things that shouldn't've been marked for translation, such as the UTF-8 infinity symbol. 2007-10-08 19:40:34 +00:00
Charles Kerr add634ead9 make the gtk translation files play nicely with autoconf 2007-10-08 15:37:33 +00:00
Charles Kerr 985b34a32f s/Stop/Pause/ 2007-10-06 07:06:37 +00:00
Charles Kerr ea40c4ac45 accept suggestion from infernux to use the standard gtk media_pause and media_start icons for the gtk+ client's toolbar. 2007-10-05 16:53:16 +00:00
Charles Kerr 863c026ce0 minor little futzing 2007-10-03 21:02:30 +00:00
Charles Kerr b99084e638 more experimenting with how to get good peers 2007-10-01 03:24:52 +00:00
Charles Kerr f6e552793e (gtk) fix system tray icon 2007-09-28 15:22:29 +00:00
Charles Kerr 7e5dbd38b5 now that the gtk+ prefs are unfucked, add an "ignore unencrypted peers" preference. 2007-09-28 00:46:22 +00:00
Charles Kerr 713ded5ff4 preferences code refresh in the gtk+ client 2007-09-27 20:57:58 +00:00
Charles Kerr ee6a0b8945 modify the tr_stat struct as hashed out by charles_ and BentMyWookie. sync gtk, ipc, and wx clients. 2007-09-26 01:55:04 +00:00
Charles Kerr 3e61f44cdd s/transmission-gtk/transmission/ 2007-09-24 19:03:25 +00:00
Charles Kerr b402687c93 * add sanity checks to incoming piece data requests. This may solve the inout.c:99 assertion failure.
* rename the gtk client from `transmission-gtk' to `transmission' for parity with the mac client.
2007-09-23 23:38:39 +00:00
Charles Kerr b3c184d380 Try out using the stock gtk+ connect/disconnect icons in the torrent inspector's peers tab to denote connected peers. This commit is to get feedback -- I'm not 100% sure about this change. 2007-09-23 22:32:22 +00:00
Charles Kerr 1801f59f49 accept some of the ideas in ticket #343 -- add logo and description in `about' dialog, and unbundle our lock icon because gtk+ has a stock authentication icon. 2007-09-23 22:20:01 +00:00
Charles Kerr 89da2294b1 * when a torrent's done downloading, have it switch to seeding mode.
* tweak the gtk+ client's torrent inspector's display of transfer rates
2007-09-23 13:53:44 +00:00
Charles Kerr 7f91ca4bfc accept patch from Infernux to add toggles to the tray menu. (#339) 2007-09-21 16:29:09 +00:00
Charles Kerr fb70a9cca0 remove the backwards compatability typedefs at BentMyWookie's suggestion. update libT, gtk, daemon, and cli accordingly... 2007-09-20 20:14:13 +00:00
Mitchell Livingston 76da1185ca merge encryption branch to trunk (xcode project is still out of date) 2007-09-20 16:32:01 +00:00
Charles Kerr 764f2983d3 modify name in GTK desktop file to follow Linux usability guidelines. 2007-08-21 15:29:43 +00:00
Charles Kerr f6973227ac highlight error torrents in red in the main window 2007-08-18 19:22:31 +00:00
Charles Kerr 633ade8004 added mirek's slovakian translation. added mirek, Niels Provos, and TooMuchTime to the `thanks' sectio of AUTHORS 2007-08-18 18:33:47 +00:00
Charles Kerr ea49180f94 $Id$ 2007-08-18 17:19:49 +00:00
Charles Kerr fd55e5e503 more autoconf hacking 2007-08-16 00:28:00 +00:00
Charles Kerr db7a354958 more work on getting our autoconf setup to play nice with libevent 2007-08-15 02:48:32 +00:00
Charles Kerr 6cf6dc9142 more hacking on making libevent build, and on making T pick it up in includes & library 2007-08-14 19:53:36 +00:00
Charles Kerr 4676cea866 get libevent building and playing nice with all the other apps 2007-08-14 19:26:49 +00:00
Charles Kerr fc7b2f233f (trunk) updated gtk+ fr translation 2007-08-10 04:14:10 +00:00
Charles Kerr fff13a2997 (trunk) utf8ize the Dutch translation 2007-08-09 04:57:19 +00:00
Charles Kerr 947ef70601 (trunk) updated Dutch translation by Jan Geboers 2007-08-08 23:59:13 +00:00
Charles Kerr 6b84fb358d (trunk) adding Portuguese translation by Filipe Gomes 2007-08-08 23:57:50 +00:00
Charles Kerr 6229411b65 (trunk) added Portugese translation by Raphael Higino 2007-08-08 23:52:36 +00:00
Charles Kerr dd1626bbe2 (trunk) * updated French translation by Jean-François Fortin Tam. * updated potfile to get the handful of new strings. 2007-08-08 23:28:42 +00:00
Charles Kerr c23ec109bb (trunk) get gtk+ client building properly on older compilers. (reported by fixx in ticket #288) 2007-08-08 06:19:13 +00:00
Charles Kerr 1ca0634856 quick fix for the 0.80 gtk+ showstopper. I'll make it prettier post-release 2007-08-04 01:38:50 +00:00
Charles Kerr b79d325cd5 use inttypes.h instead of stdint.h 2007-08-04 01:34:00 +00:00
Charles Kerr e677cb8017 (gtk) don't #include private libtransmission headers. use g_snprintf() instead of snprintf(). 2007-07-30 20:48:43 +00:00
Charles Kerr cd3d2e1035 fix r2553 gtk hiccup: use the `select all' stock icon iff gtk+ >= 2.10 2007-07-30 18:11:34 +00:00
Charles Kerr 1be185aacd (libT) get "update tracker" working again.
(gtk) add "update tracker" button.
2007-07-30 17:11:00 +00:00
Charles Kerr d7cf675c38 (gtk) add select-all, deselect-all 2007-07-30 15:51:37 +00:00
Charles Kerr bb0d853764 utf8ize nl.po to make hussam and Lacrocivious happy 2007-07-28 23:00:22 +00:00
Charles Kerr cd9f44652b (gtk) add Dutch translation by Jan Geboers 2007-07-28 19:28:40 +00:00
Charles Kerr 9542f7fe9e * better `info' icon for torrent inspector.
* fix internal.h ifdefs s.t. we can use openssl for SHA1 when using configure.ac
2007-07-28 02:17:15 +00:00
Charles Kerr 0ccbf1f8f8 gtk: updated swedish translation by Daniel Nylander 2007-07-27 23:18:58 +00:00
Charles Kerr c91e92856f 0.80 translation strings 2007-07-27 23:13:51 +00:00
Charles Kerr 815c6bfe1f Tighte up the "are you sure you want to exit?" dialog a bit for HIG 2007-07-27 01:40:46 +00:00
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
Josh Elsasser c926d96e32 Restore Id keyword which was dropped. 2006-08-30 18:10:38 +00:00
Josh Elsasser 93d0f63641 Some fixes for the french translation. 2006-08-27 00:36:23 +00:00
Josh Elsasser 43e6dd56aa Rework the message stuff again to be easier on the frontend. 2006-08-22 02:12:58 +00:00
Josh Elsasser e332a8313d Add a debug output window. 2006-08-20 22:45:29 +00:00
Josh Elsasser bc85836809 Change all my 2-clause BSD licenses to the same MIT/X11 license as libtransmission. 2006-08-13 00:26:52 +00:00
Josh Elsasser e128a854ea Replace the old progress cell renderer with a new one for silly license reasons. 2006-08-13 00:22:05 +00:00
Josh Elsasser d015042770 Add russian translation. 2006-08-07 23:12:17 +00:00
Josh Elsasser 913355fde8 Add polish translation.
My apologies to Tomasz for forgetting this after he send it to me last month.
2006-08-07 08:51:42 +00:00
Eric Petit f199e0a9d9 Revert [619] 2006-07-16 19:39:23 +00:00
Mitchell Livingston 5d36721a15 Remove old Sparkle... 2006-07-16 19:28:19 +00:00
Josh Elsasser 6db1a57d14 When quitting, check more frequently if torrents are closed. 2006-07-14 21:46:32 +00:00
Josh Elsasser 02e5485c0f Move the ETA cap of 99:59:59 from libtransmission to the MacOS X GUI.
Display the ETA better in the GTK GUI.
2006-07-04 22:31:14 +00:00
Josh Elsasser 07249c3697 Fix the 'failed to load torrent file' message in the french translation. 2006-07-04 21:28:10 +00:00
Josh Elsasser c0d68e3f3e Add spanish translation. 2006-06-27 01:19:15 +00:00
Josh Elsasser 8456dd144f Add keywords. 2006-06-25 20:32:52 +00:00
Josh Elsasser 7e0d2527cb Add french translation. 2006-06-25 20:00:24 +00:00
Josh Elsasser eba089b5ed Fix drag-and-drop.
It's better to use memory before you free it, not after.
2006-06-25 19:03:54 +00:00
Josh Elsasser a808ec1ac5 Update italian translation. 2006-06-22 16:14:34 +00:00
Josh Elsasser 5c7ccd478b Update PO template. 2006-06-22 02:11:45 +00:00
Josh Elsasser 8194ed1208 Increase the exit timeout from 5 seconds to 10.
Increase the update and exit check interval from .5 seconds to 1.
2006-06-20 06:13:06 +00:00
Josh Elsasser 1f4856ed6a Quickly work around a weird bug where the progress bar could blink in and out of
existence by forcing it to always be visible.
2006-06-19 04:19:13 +00:00