Commit Graph

43 Commits

Author SHA1 Message Date
Mike Gelfand 0862099d0b #5921: Use libsystemd instead of libsystemd-daemon (original patches by Sandro Tosi and Mike Gilbert)
In systemd v209, released over two years ago, the various libsystemd-*
libraries (libsystemd-journal.so, libsystemd-login.so, libsystem-daemon.so,
libsystemd-id128.so) were merged into a single libsystemd.so library to
reduce code duplication and avoid cyclic dependencies.
2016-04-23 16:13:25 +00:00
Mike Gelfand ea48360212 #5663: Rework directory watching in daemon
Implement BSD/Darwin (kqueue) and Windows (ReadDirectoryChanges) mechanisms
for receiving directory change notifications. Use events instead of polling
for changes. Retry file parsing up to 3 times before giving up.

Huge thanks to missionsix for preparing first two versions of the patch.
2016-01-02 14:28:59 +00:00
Mike Gelfand a8231b42f8 #5910: Fix autotools build (#2) and workaround MSVC bug 2015-04-04 18:28:13 +00:00
Mike Gelfand 5b1b22321c #5910: Fix autotools and Xcode build 2015-04-04 18:21:34 +00:00
Mike Gelfand c7d2a7f959 #4400: Add CyaSSL support 2015-01-07 02:04:08 +00:00
Mike Gelfand b928ae1ba8 Use libb64 instead of OpenSSL to encode/decode BASE64
Some crypto libraries (like CyaSSL, MatrixSSL and CommonCrypto) either
don't have or expose this functionality at all, expose only part of it,
or (like OpenSSL) have heavyweight API for it. Also, for the task as
easy as BASE64 encoding and decoding it's much better to use small and
simple specialized library.
2015-01-01 21:16:36 +00:00
Jordan Lee b325bc0a16 (trunk) #5759 compilation error, undefined reference to sqrt 2014-08-20 17:14:17 +00:00
Jordan Lee ab24ef9fcb use pkg-config to get the zlib cflags/libs; remove obsolete zlib.m4 macro 2014-07-13 21:54:56 +00:00
Jordan Lee 5ecb8352de add transmission-daemon.service to EXTRA_DIST 2013-06-09 18:25:03 +00:00
Jordan Lee 4ac417b331 (daemon) systemd support, part 1: add sd_notify() calls to transmission-daemon if libsystemd-daemon is detected at compile time 2013-06-07 23:31:26 +00:00
Jordan Lee 6d4858d8dd (trunk) #4732 "allow switching between internal and system libnatpmp" -- fixed with patch scarabeus and applied by me, so any patch breakage is probably mine... ;) 2012-02-04 01:28:15 +00:00
Jordan Lee 01f68ca846 (trunk libT) #4323 "Allow usage of system miniupnpc" -- fixed. 2011-10-09 02:05:52 +00:00
Jordan Lee 7df7d34f6d automake/autoconf; #includes in libtransmission 2011-02-18 00:32:19 +00:00
Charles Kerr 2ff810d18f (trunk) use AC_ARG_VAR for some autoconf variables s.t. their values will persist between reconfs 2009-12-18 05:02:48 +00:00
Eric Petit ff50449d33 Only use libm if it's there and needed 2009-07-09 17:57:31 +00:00
Charles Kerr c859f06742 (trunk) autoconf/automake: move libdht.a into a DHT_LIBS variable 2009-06-19 23:50:09 +00:00
Charles Kerr 73f3c3ad8c (trunk) replace LIBEVENT_CPPFLAGS with LIBEVENT_CFLAGS 2009-06-14 16:51:22 +00:00
Charles Kerr 8e6eee683f (trunk) on non-mac platforms, try not building our own copy of libevent 1.4.x 2009-06-03 15:47:08 +00:00
Charles Kerr 3d7cc36424 (trunk) #7: DHT support. This is a work in progress... no gui/rpc support yet 2009-05-19 18:38:26 +00:00
Charles Kerr 6bcce280dc (trunk) back out the avahi patch 2009-04-05 17:34:34 +00:00
Charles Kerr 3ef8240b80 (trunk) If avahi's zeroconf implementation is available, use it to advertise our web ui 2009-04-05 15:49:03 +00:00
Charles Kerr 05bc8472dc (trunk daemon) #1882: take KyleK's suggestion of using inotify when possible. As he writes, "the opendir() approach will basically prevent my NAS drives to go to standby." 2009-03-01 15:38:58 +00:00
Charles Kerr 8b722071fd (trunk daemon) another experiment: implement the watchdir with opendir() and readdir(), since those are available on every system we're on, even embedded ones... 2009-02-28 15:27:39 +00:00
Charles Kerr 5876ad8acc (trunk daemon) experimental commit for part of #1483: adding a WatchDir to transmission-daemon. I don't know if this will work out because of (1) any possible C/C++ issues, and (2) maybe some embedded systems don't have inotify and/or kqueue? 2009-02-27 21:49:31 +00:00
Charles Kerr a4472fc529 #1443: check for zlib fails when providing a specific path 2008-11-09 15:43:31 +00:00
Charles Kerr 1de84ac936 #1426: static linking error: move ssl to after libcurl, since libcurl links against ssl 2008-11-06 13:51:28 +00:00
Charles Kerr bd5a2ae6b8 (libT) experimental code to serve clutch/rpc via evhttpd 2008-09-25 05:03:39 +00:00
Charles Kerr 33c817cc1f fold the rewritten getopt code into libT 2008-07-08 14:29:05 +00:00
Charles Kerr 415214f15b (daemon) allow wildcards to be used when adding torrents again, such as "transmission-remote -a ~/Desktop/*torrent" 2008-07-07 21:23:34 +00:00
Charles Kerr 0ab37e45d5 (rpc)
1. fix #968: 'transmission-remote -r' deletes all
2. fix error in escaping control characters when serializing tr_benc to JSON
3. fix small memory leak in rpc command parsing
2008-05-24 18:22:16 +00:00
Charles Kerr 2c79888a93 RPC/IPC redesign 2008-05-18 16:44:30 +00:00
Charles Kerr 3eaac2e16b (gtk,daemon,cli) we don't need to statically link in all of libevnt, just libevent_core. 2008-05-01 14:05:17 +00:00
Charles Kerr 7ef2511ca8 #377: preliminary https support. this commit probably breaks mac and cli and is not for the faint of heart. 2008-04-24 01:42:53 +00:00
Charles Kerr e61af54481 #837: portability patch submitted by naddy 2008-04-04 01:21:36 +00:00
Charles Kerr e037324a7a add "bsdtree.h" to the NOINST_HEADERS list. 2008-03-19 20:57:59 +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 9df263326d use Thomas Bernard's miniupnp library instead of rolling our own. 2007-11-06 16:02:50 +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 9fa2fa2c8f ensure that "make install" installs the man pages. 2007-10-24 22:53:44 +00:00
Charles Kerr e3352ac714 add bsdqueue.h to daemon dir 2007-09-25 23:59:50 +00:00
Charles Kerr 44a61eced1 Add $(LIBEVENT_CPPFLAGS) to daemon's Makefile.am 2007-08-16 16:03:01 +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 bd3ce76fa5 part one of moving the build environment over to automake/autoconf. beware! 2007-07-18 23:04:26 +00:00