Commit Graph

438 Commits

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