Commit Graph

202 Commits

Author SHA1 Message Date
Jordan Lee 23200b5bde (trunk, libT) #3833 'freespace argument for session-get' -- 0001-Port-quota-handling-to-BSD-and-Mac-OS-X.patch from taem 2012-12-29 01:47:44 +00:00
Mitchell Livingston e6a730ba50 fixed implementation of r13701 2012-12-28 05:53:20 +00:00
Jordan Lee 53ce198ee1 (trunk, libT) #3833 'freespace' argument for 'session-get' RPC method -- include stdint.h as possible fix for Mac build 2012-12-27 20:30:24 +00:00
Jordan Lee 0c1db5f67b (trunk, libT) #3833 'freespace' argument for 'session-get' RPC method -- copyediting for previous three patches: tab damage, indentation, spaces, etc 2012-12-27 20:19:41 +00:00
Jordan Lee 4cbe6a64e1 (trunk, libT) #3833 'freespace' argument for 'session-get' RPC method -- apply taem's 0003-Cache-download-dir-s-block-device-and-FS-type.patch​ to cache the download dir's block device and FS type 2012-12-27 19:45:01 +00:00
Jordan Lee 843d79d284 (trunk, libT) #3833 'freespace' argument for 'session-get' RPC method -- apply taem's 0002-Add-XFS-quota-support.patch​ to add XFS quota support 2012-12-27 19:41:34 +00:00
Jordan Lee 5024dbfd22 (trunk, libT) #3833 'freespace' argument for 'session-get' RPC method -- apply taem's 0001-Check-for-available-quota-when-getting-free-disk-spa.patch​ to check for available quota when getting free disk space 2012-12-27 19:39:44 +00:00
Jordan Lee ac17884741 (trunk, libT) #5184 'Transmission 2.73 keeps creating a directory called /home/charles' -- fixed. 2012-12-26 23:44:33 +00:00
Jordan Lee a2d2a10226 (trunk, libT) #5165: fix r13625 oops 2012-12-07 01:53:31 +00:00
Jordan Lee 3d38723ad9 Follow more common whitespace style conventions in the C code (libtransmission, daemon, utils, cli, gtk). 2012-12-05 17:29:46 +00:00
Mitchell Livingston fbfae34837 #4422 On Mac, tr_getWebClientDir() uses incorrect encoding for creating the web content dir path 2011-08-15 00:10:06 +00:00
Jordan Lee 0aa163dfe9 (trunk libT) #4295 "'download-dir-free-space' contains garbage" -- fixed by bugmenot patch 2011-05-30 18:17:16 +00:00
Jordan Lee b4d36aeb54 (trunk) #4138 "use stdbool.h instead of tr_bool" -- done. 2011-03-22 15:19:54 +00:00
Jordan Lee 69d99f252f (trunk libT) #2363 "daemon on mac moves config files on first launch" -- fixed.
Don't run platform.c's migrateFiles() except on *nix platforms. Add comment explaining when the function is used and why.
2011-01-30 01:33:53 +00:00
Jordan Lee 879a2afcbd Update the copyright year in the source code comments.
The Berne Convention says that the copyright year is moot, so instead of adding another year to each file as in previous years, I've removed the year altogether from the source code comments in libtransmission, gtk, qt, utils, daemon, and cli.

Juliusz's copyright notice in tr-dht and Johannes' copyright notice in tr-lpd have been left alone; it didn't seem appropriate to modify them.
2011-01-19 13:48:47 +00:00
Jordan Lee 69a3b8bbab (trunk, daemon) #3833 "'freespace' argument for 'session-get' RPC method" -- committing patch from taem, reardon, and rb07 2011-01-05 04:41:19 +00:00
Charles Kerr e5bb3205a1 (trunk) Join the 21st century and use only 1 space at the end sentences. This commit is nearly as important as the semi-annual ones that remove trailing spaces from the ends of lines of code... :) 2010-12-27 19:18:17 +00:00
Charles Kerr bf3dec4299 (trunk libT) #3567 "Minor memory leak in pthread_create()" -- fixed 2010-09-18 22:13:46 +00:00
Charles Kerr 4ad26f7910 (trunk libT) a couple more minor -Wconversion warnings 2010-07-01 05:39:54 +00:00
Charles Kerr 08628333d1 (trunk libT) part of rb07's win32 portability patches from ticket #3311 2010-06-21 16:44:35 +00:00
Charles Kerr 0ad06c50e8 (trunk) #3262 "problems with '.' as the first character in a .torrent's filename" -- fixed in trunk for 2.00 2010-06-07 14:25:31 +00:00
Charles Kerr 0051b8a110 re-tweak the previous commit based on feedback from kklimonda 2010-05-06 17:02:31 +00:00
Charles Kerr 2ea9f78eff (trunk libT) tweak MAX_PATH_LENGTH a little for better portability -- defer to limits.h's definition when present 2010-05-06 15:07:18 +00:00
Mitchell Livingston d1229a263c #3072 Make Transmission look for the web ui folder in the Application Support folder first 2010-03-24 23:41:08 +00:00
Charles Kerr 1357a75d40 (trunk libT) #2911 "requirement of javascript/transmission.js for webinterface unnecessary" -- implemented in trunk for 2.00 2010-03-19 18:48:37 +00:00
Charles Kerr 0faaaeaa9a (trunk libT) #2756 "32 byte leak in tr_threadNew()" -- fixed for 1.81 2010-01-21 03:14:46 +00:00
Charles Kerr 9eb07e9b16 (trunk) No code changes here... filling in some of the blanks in the "peers" and "utils" doxygen groups' documentation. 2010-01-19 19:37:00 +00:00
Charles Kerr 5c26afdb52 happy new year! 2010-01-04 21:00:47 +00:00
Charles Kerr 78ead8c3dd (trunk) update the copyright notices 2009-12-05 02:19:24 +00:00
Charles Kerr 61e95595b8 (trunk) move tr_lockfile from libtransmission/ to gtk/, since the gtk client is the only one who uses it anymore 2009-08-14 12:53:08 +00:00
Charles Kerr cb79214854 (trunk) remove trailing spaces 2009-08-10 20:04:08 +00:00
Eric Petit bc3ffac45b Set some sensible default folders for Haiku 2009-07-09 18:18:14 +00:00
Charles Kerr 76f7e59a8c (trunk libT) tr_getDefaultDownloadDir(): always honor $XDG_CONFIG_HOME/user-dirs.dirs if it exists. 2009-04-06 16:10:37 +00:00
Charles Kerr 822a192758 (trunk libT) fix Solaris build error reported by wereHamster 2009-04-05 13:56:41 +00:00
Charles Kerr 836330d834 (trunk libT) fix xdg oops 2009-04-05 13:41:38 +00:00
Charles Kerr fa7f320f5b (trunk libT) #1957: tr_getDownloadDir() should honor XDG 2009-04-05 13:33:32 +00:00
Mitchell Livingston 7400adb70d make the ratio that is checked for stop ratio match the displayed ratio 2009-03-01 14:01:49 +00:00
Mitchell Livingston fb02e9d437 #1710 the daemon will use the Application Support folder on Mac 2009-02-28 21:45:16 +00:00
Charles Kerr 2f6b56671f (trunk libT) win32 portability patch from Alexey 2009-01-11 17:02:04 +00:00
Charles Kerr fe816d8135 (trunk) update the GPL code's copyright dates 2009-01-10 23:09:07 +00:00
Charles Kerr dfcc9173e5 (trunk libT) #include "session.h" cleanup from wereHamster 2008-12-23 17:27:15 +00:00
Charles Kerr 07f0efe8e1 maybe make hudson-t's trunk linux builds happy 2008-12-16 01:11:54 +00:00
Charles Kerr 48c7c65f1b (trunk libT) fix build error reported by KyleK and hudson-t 2008-12-16 00:57:24 +00:00
Charles Kerr 9594112d27 updated email address 2008-12-16 00:20:44 +00:00
Charles Kerr 4e33fd5467 try to make hudson-t happy 2008-12-15 20:26:26 +00:00
Charles Kerr 788b397ecc (trunk libT) more semantic cleanup: tr_handle->tr_session, int->tr_bool, int->tr_port 2008-12-14 11:21:11 +00:00
Charles Kerr d52631cb67 (trunk libT) #1595: Always search in PACKAGE_DATA_DIR when serving Web files 2008-12-14 01:19:50 +00:00
Charles Kerr 6b0d98a695 (trunk) #1559: Simplify tr_sessionInitFull 2008-12-13 23:17:36 +00:00
Mitchell Livingston 31482813b9 BeOS and Amiga support is, at least for now, a lost cause and hasn't worked for long over a year - removing from the source (if you for whatever unknown reason still need this, get it through SVN) 2008-12-02 03:57:01 +00:00
Charles Kerr f8a7c4b347 #1406: need tr_getDefaultDownloadDir() for consistency between apps 2008-11-15 17:39:54 +00:00
Charles Kerr dc761dbc81 (libT) fix bug in getting win32 home directory 2008-11-02 15:58:30 +00:00
Charles Kerr e04ea4062d (rpc) fix r6861 regression: if libt can't find the Clutch files, give a helpful 404 message for end-users and binary packagers about how to use CLUTCH_HOME and PACKAGE_DATA_DIR. 2008-10-30 14:01:52 +00:00
Charles Kerr 7ec84486ee (libT) more win32 portability fixes from Spry 2008-10-20 19:34:19 +00:00
Charles Kerr 67282cb794 further win32 portability fixes from Spry 2008-10-19 17:43:04 +00:00
Charles Kerr e4b1d5d726 mmap portability changes by Spry 2008-10-14 17:30:07 +00:00
Charles Kerr e8b4465a00 fix another oops from yesterday's tr_buildPath() reworking 2008-10-14 17:27:59 +00:00
Charles Kerr e3a5524189 have tr_buildPath() allocate memory from the heap rather than using an input buffer 2008-10-14 03:03:29 +00:00
Charles Kerr b824c704b7 first batch of portability changes based on spry's winport:
(1) added tr_getcwd(), a simple portability wrapper for getcwd()
(2) cli: show the help page if no command-line arguments are provided
(3) daemon: use tr_wait() intead of sleep()
(4) daemon: SIGQUIT, SIGPIPE, SIGHUP aren't defined on windows
(5) libtransmission: a couple of small cleanups to bencode.c, list.c, web.c
(6) libtransmission: win32 portability fixes to platform.c
2008-10-13 22:26:02 +00:00
Charles Kerr 8ced51a9e4 (rpc) if libt can't find the Clutch files, give a helpful 404 message for end-users and binary packagers about how to use CLUTCH_HOME and PACKAGE_DATA_DIR. 2008-10-07 01:25:29 +00:00
Charles Kerr cc89872dd4 run libT, cli, daemon, gtk through the source-code formatter "uncrustify" as promised/threatened 2008-09-23 19:11:04 +00:00
Mukund Sivaraman 72b8c7397c (win32) Replace missing symbols with values 2008-09-05 14:32:35 +00:00
Mukund Sivaraman c149fc1d27 (win32) Add getpagesize() and getregionsize() implementations 2008-09-05 14:32:32 +00:00
Mukund Sivaraman 07101de87e (win32) Fix types and alignment in interlocked exchange 2008-09-05 14:32:28 +00:00
Mukund Sivaraman 68a6c95d1c (win32) Add mmap implementation 2008-09-05 14:31:52 +00:00
Mitchell Livingston fa8ffca078 #1210 on Mac, the web ui should now work when Transmission's path contains a space 2008-08-22 23:55:33 +00:00
Mukund Sivaraman 317281f87c Don't show an error when transmission is run twice
Instead, present the main window. This commit also auto-generates
the dbus bindings.
2008-08-17 12:39:26 +00:00
Mukund Sivaraman b6791332cd Respect non-standard install paths for web interface files 2008-08-14 10:35:11 +00:00
Charles Kerr fb6db8d5ef readability tweak: remove thread names. (muks) 2008-08-12 14:03:03 +00:00
Charles Kerr 647dc88f21 (libT) safer environmental variable handling (muks) 2008-08-11 18:33:59 +00:00
Charles Kerr d6ede8d09e (libT) make the licensing consistent across all the files which only contain my code 2008-07-22 23:28:28 +00:00
Mitchell Livingston dc1a870e7f eliminate 2 tiny memory leaks from the last commit 2008-07-18 04:57:38 +00:00
Mitchell Livingston f49b471454 the mac app now includes and works with the web ui 2008-07-18 04:54:11 +00:00
Charles Kerr 70a405f1a0 (gtk) add "Launch Clutch" button to the web tab in the preferences dialog. that way users won't have to dig through documentation to find the "http://localhost:port/transmission/clutch" URL. 2008-07-16 02:31:08 +00:00
Charles Kerr 2f239319b0 add a portability wrapper ``tr_snprintf()'' around snprintf() 2008-07-15 17:16:57 +00:00
Charles Kerr 4813647346 #1084: Make `web' and `clutch' synonymous in the backend 2008-07-14 16:00:20 +00:00
Charles Kerr d5335b710b Update NEWS file to say the Clutch rewrite's been folded into Transmission. 2008-07-11 17:09:53 +00:00
Charles Kerr 87ff06144a don't break the mac build 2008-07-11 04:19:23 +00:00
Charles Kerr a18f55d217 forgot an #include <sys/stat.h> 2008-07-11 04:11:22 +00:00
Charles Kerr b37a2cfa23 (1) add clutch to the tarball.
(2) on autoconf-based installs, install the clutch files in $(datadir)/transmission/web
(3) new function tr_getClutchDir().  Default implementation follows the XDG spec.
2008-07-11 04:07:14 +00:00
Charles Kerr 2c79888a93 RPC/IPC redesign 2008-05-18 16:44:30 +00:00
Mitchell Livingston 3a609ecc87 eliminate warning about unused variable 2008-04-23 13:26:30 +00:00
Charles Kerr b483b30889 minor code cleanup: remove dead code, const-correctness, etc 2008-04-18 23:17:40 +00:00
Charles Kerr ab2b3a957d #886: libtransmission fails to compile on win32 2008-04-18 15:33:24 +00:00
Charles Kerr 101307ddff fix a couple more minor leaks 2008-04-17 19:54:22 +00:00
Charles Kerr 1f95e1d450 tweak an info message based on BMW's suggestion 2008-04-10 02:53:03 +00:00
Mitchell Livingston fad4e528fe store mac support files in the right location 2008-04-05 20:27:13 +00:00
Charles Kerr b71a2985b3 #684: Use XDG basedir spec for configuration and cache files in $HOME 2008-04-05 20:12:11 +00:00
Charles Kerr eb3ca08961 fix r5164 thread timing issue reported by pea_ 2008-02-29 01:58:46 +00:00
Charles Kerr d870c12f40 add win32/posix wrapper function tr_lockfile() to libT and use it in daemon/gtk. 2008-02-28 19:06:23 +00:00
Charles Kerr 5f3efe434b better win32 thread support 2008-02-28 16:40:31 +00:00
Charles Kerr cfe068876e remove unnecessary #includes 2008-02-19 18:39:49 +00:00
Charles Kerr deaeb24cb5 cleanup #includes for errno & strerror 2008-02-19 04:16:04 +00:00
Charles Kerr ce6c33b7bf set copyright info to 2008 2008-01-01 17:20:20 +00:00
Mitchell Livingston 911a6ce32e remove unused variables 2007-12-20 01:15:13 +00:00
Charles Kerr 371287136a fix build error reported by berkut in the forums 2007-12-17 02:21:06 +00:00
Charles Kerr 36391e02c1 add support for TRANSMISSION_HOME environment variable so I can have multiple copies of Transmission running concurrently in different directories. 2007-12-15 22:22:30 +00:00
Charles Kerr 33f284ead1 let the other config directories that we create also respect umask 2007-12-09 15:22:01 +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 d3d1263a84 use fizz' suggestion on from ticket #534 on how to make platform.c more portable wrt header include order 2007-12-07 19:25:54 +00:00
Charles Kerr c68af92039 fix very annoying recursive mutex + pthread cond bug reported by setatg, Waldorf, and many others 2007-12-03 04:06:45 +00:00