Mike Gelfand
52a9d774e4
Fix compilation on Windows
...
This should not affect non-Win32 platforms in any way.
As for Win32 (both MinGW and MSVC), this should hopefully allow for
unpatched compilation. Correct functioning is not yet guaranteed though.
2014-12-13 15:22:39 +00:00
Mike Gelfand
5c43b5c23c
#4400 , #5462 : Move BASE64 helpers to crypto-utils
...
On a way to factoring out OpenSSL support to a standalone file to ease
addition of other crypto libraries support in the future, move helpers
providing BASE64 encoding and decoding to crypto-utils.{c,h}. OpenSSL-
related functionality is moved to crypto-utils-openssl.c.
Add new functions to be implemented by crypto backends:
* tr_base64_encode_impl - encode from binary to BASE64,
* tr_base64_decode_impl - decode from BASE64 to binary.
Change `tr_base64_encode` and `tr_base64_decode` functions to expect
non-negative input data length which is considered real and never adjusted.
To process null-terminated strings (which was achieved before by passing 0
or -1 as input data length), add new `tr_base64_encode_str` and
`tr_base64_decode_str` functions which do not accept input data length as
an argument but calculate it on their own.
2014-12-04 19:58:34 +00:00
Mike Gelfand
ecfa96bf38
Do not use target_include_directories which requires CMake 2.8.11
2014-12-02 20:42:33 +00:00
Mike Gelfand
83c4edb008
#5828 : Initial CMake build system support
2014-12-01 19:55:22 +00:00
Jordan Lee
870041d92d
(trunk) #4160 : mike.dld patch: 4160-08-args.patch
2014-09-21 18:06:28 +00:00
Jordan Lee
be290162c2
(trunk) #4160 : mike.dld patch: 4160-07-env.patch
2014-09-21 18:05:14 +00:00
Jordan Lee
3e4ceecf03
#4160 : mike.dld patch: 4160-06-misc.patch
2014-09-21 18:03:13 +00:00
Jordan Lee
d9d66e3e42
(trunk, libt) #4160 - the slow slog to catch trunk up to mike.dld's 4160 diff continues. This step applies 4160-04b-dir.patch, which replaces native file operations with the tr_sys_dir_*() portability wrappers added in the previous commit.
2014-09-21 17:55:39 +00:00
Jordan Lee
b325bc0a16
(trunk) #5759 compilation error, undefined reference to sqrt
2014-08-20 17:14:17 +00:00
Jordan Lee
2c0276fc23
(trunk, daemon) #5743 'unknown option: -R': revert previous commit, sync manpage
2014-07-19 23:35:10 +00:00
Jordan Lee
b02e4222c3
(trunk, daemon) #5743 'unknown option: -R', fix suggested by silverhammermba
2014-07-19 23:32:20 +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
0323639e57
(trunk, libT) #4160 'foreign character support' -- merge mike.dld's 4160-02b-path.patch, which updates the codebase to use the new tr_sys_path_*() portability wrappers introduced in 4160-02a
2014-07-08 00:08:43 +00:00
Mitchell Livingston
0e01879974
Use built-in _WIN32 macro instead of WIN32
2014-07-04 00:00:07 +00:00
Jordan Lee
3d1a6df0d7
remove extraneous 'include event.h' that confused the mac build.
2014-05-05 21:08:30 +00:00
Jordan Lee
d87e091fff
(trunk, daemon) #5660 'Daemon should use event loop' -- fixed with patch by missionsix
2014-04-27 22:01:51 +00:00
Jordan Lee
4097f6333a
(trunk, daemon) #5621 'ratio vs ratio limit in transmission-remote' -- fixed.
2014-04-27 19:57:38 +00:00
Jordan Lee
02cff80c2d
Copyedit the license's revised text: (1) remove unnecessary repitition use of the word 'license' from the top of the header and source files (2) add the standard 'we hope it's useful, but no warranty' clause to COPYING (3) make explicit that linking OpenSSL is allowed (see https://people.gnome.org/~markmc/openssl-and-the-gpl.html for background) (4) sync the Qt and GTK+ clients' license popups with COPYING's revised text
2014-01-21 03:10:30 +00:00
Jordan Lee
72f9cb7112
(trunk, daemon) #5503 : add an ExecReload rule to the systemd service file.
2014-01-21 02:19:48 +00:00
Jordan Lee
621b27fe4d
(trunk, daemon) #5562 : 'Discrepancy in curl SSL setup between tr-daemon and tr-remote' -- fix by mike.dld
2014-01-19 01:53:07 +00:00
Jordan Lee
4b9626bb83
Licensing changes:
...
1. add the option the code to be used under GPLv2 or GPLv3; previously only GPLv2 was allowed
2. add the "proxy option" as described in GPLv3 so we can add future licenses without having to bulk-edit everything again :)
3. remove the awkward "exception for MIT code in Mac client" clause; it was unnecessary and confusing.
2014-01-19 01:09:44 +00:00
Jordan Lee
4904b923fb
(trunk) restore copyright year as suggested in email by rms
2014-01-18 20:56:57 +00:00
Jordan Lee
106c9af8b2
(trunk, daemon) #5506 : manpage fix for transmission-remote by taem
2013-10-20 19:39:56 +00:00
Jordan Lee
2db09dad54
add After=network.target as suggested by upstream arch bug #31478
2013-07-15 23:49:04 +00:00
Jordan Lee
ea19848067
don't hardcode the config dir, as discussed in ticket #4503 comments 17, 19
2013-06-09 22:52:33 +00:00
Jordan Lee
d1db86eba9
in transmission-daemon.service, remove unnecessary comments and change Type from simple to notify since transmission-daemon uses sd_notify()
2013-06-09 19:54:58 +00:00
Jordan Lee
5ecb8352de
add transmission-daemon.service to EXTRA_DIST
2013-06-09 18:25:03 +00:00
Jordan Lee
a7d9f17b22
(trunk daemon) add a systemd service file for transmission-daemon.
...
Suggestions / improvements welcomed at https://trac.transmissionbt.com/ticket/4503
2013-06-09 18:18:09 +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
9e244e0b7e
add transmission-daemon's --dump option to the manpage.
2013-05-25 23:20:20 +00:00
Jordan Lee
027e3f3066
(trunk, libT) #4682 'Add return id from duplicate torrent torrent-add rpc' -- added.
2013-05-22 20:35:38 +00:00
Jordan Lee
cd09204a6e
(trunk) first draft of changing the FreeSpace API to behave as https://trac.transmissionbt.com/ticket/4076#comment:25 -- libT, rpc, qt, and gtk implementations.
2013-02-09 04:05:03 +00:00
Jordan Lee
407c0b53c7
(trunk) add portability wrappers tr_rename(), tr_remove() for the rename() and remove() funcs s.t. utf16 can be handled
2013-02-04 21:45:20 +00:00
Jordan Lee
52fcd9d4e7
(daemon) #5260 'conflicting documentation for -w argument': fixed.
2013-01-27 18:19:52 +00:00
Jordan Lee
f75027d5e9
make all the log functions/structs/enums use a single 'tr_log' namespace, such as tr_logGetQueue, tr_logAddInfo, tr_logIsLevelActive
2013-01-25 23:34:20 +00:00
Jordan Lee
fdf95908c8
(remote) fix global search-and-replace damage wreaked upon the --help text, reported by Elbandi
2013-01-22 18:57:01 +00:00
Jordan Lee
7c44d6db2d
(remote) fix global search-and-replace damage wreaked upon the --help text, reported by Elbandi
2013-01-22 18:56:15 +00:00
Jordan Lee
d5e45a0c7b
(daemon) #5225 nightly regression: remote option '-l' displays warning -- fixed.
2013-01-15 18:10:16 +00:00
Jordan Lee
55551666b0
(daemon) add support for listing recently-active torrents
2013-01-03 05:10:47 +00:00
Jordan Lee
3414faefd6
(trunk, daemon) #4523 'files copied via kde sftp into watchdir not loaded' --fixed, patch by reardon
2012-12-30 23:23:00 +00:00
Jordan Lee
fb0ada6582
(trunk, daemon) #5188 'error in transmission-remote manpage: options -i, -if, -ip, -ic, -it don't take arguments anymore' -- fixed.
2012-12-26 23:50:27 +00:00
Jordan Lee
c1559f3cc4
(trunk, libT) first drop of the tr_quark patch.
2012-12-22 20:35:19 +00:00
Jordan Lee
df5b6365bd
(trunk, libT) faster JSON parsing for tr_variant. This mostly helps the Qt client, which makes heavy use of the JSON-based RPC calls.
2012-12-15 00:01:59 +00:00
Jordan Lee
e96ed247fe
refactor libtransmission's tr_benc class as tr_variant.
2012-12-14 04:34:42 +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
Jordan Lee
357b160cde
remove trailing spaces
2012-09-07 04:25:04 +00:00
Jordan Lee
c949f93308
(trunk daemon) Small tweak to r13443 to fix a pluralization issue
2012-08-18 21:53:09 +00:00
Jordan Lee
a845c3fc8a
(trunk, daemon) #4657 "transmission-remote: display times (e.g. Seeding Time) (optionally) in seconds" -- added.
2012-08-18 16:33:28 +00:00
Jordan Lee
e63ae0c50c
(trunk daemon) #4947 "Expanded info not in transmission-remote manpage, only in --help" -- fixed.
2012-07-01 04:21:22 +00:00
Jordan Lee
6e6f20da91
(trunmk libT) #4162 "daemon should reopen logfile on SIGHUP" -- patch from gvdl to reopen the logfile on SIGHUP s.t. log rotation can be used by outside tools
2012-05-30 17:59:52 +00:00