transmission/libtransmission
Charles Kerr 41f225df7b
Remove posix memalign (#1520)
* refactor: remove unnecessary func tr_valloc()

We're only using it in a handful of places, and none of them need the
kind of alignment that posix_memalign() provide. So we can drop a few
dozen lines by removing the portability wrapper.
2020-11-15 15:53:42 -06:00
..
CMakeLists.txt feat: add torrent-get 'primary-mime-type' to RPC. (#1464) 2020-10-13 10:33:56 -05:00
ConvertUTF.c #6064: Merge ConvertUTF.c fixes from LLVM (?) 2016-02-06 22:05:22 +00:00
ConvertUTF.h Ensure include guard is the first non-comment line 2017-11-14 23:21:28 +03:00
announcer-common.h refactor: use GTest for running tests (#1383) 2020-08-11 13:11:55 -05:00
announcer-http.c chore: sonarcloud warnings 2 (#1496) 2020-11-01 15:47:57 -06:00
announcer-udp.c refactor: fix more sonarcloud warnings (#1508) 2020-11-05 16:46:21 -06:00
announcer.c sonarcloud warnings 9 (#1511) 2020-11-08 21:31:02 -06:00
announcer.h chore: remove unused methods (#1207) 2020-05-11 17:20:46 -05:00
bandwidth.c refactor: fix more sonarcloud warnings (#1508) 2020-11-05 16:46:21 -06:00
bandwidth.h Uppercase the literal suffixes 2019-03-17 07:07:48 +03:00
bitfield.c fix: Coverity warnings (#1443) 2020-09-10 18:50:46 -05:00
bitfield.h refactor: use GTest for running tests (#1383) 2020-08-11 13:11:55 -05:00
blocklist.c sonarcloud warnings 9 (#1511) 2020-11-08 21:31:02 -06:00
blocklist.h refactor: use GTest for running tests (#1383) 2020-08-11 13:11:55 -05:00
cache.c sonarcloud warnings 9 (#1511) 2020-11-08 21:31:02 -06:00
cache.h refactor: use GTest for running tests (#1383) 2020-08-11 13:11:55 -05:00
clients.c refactor: fix more sonarcloud warnings (#1508) 2020-11-05 16:46:21 -06:00
clients.h refactor: use GTest for running tests (#1383) 2020-08-11 13:11:55 -05:00
completion.c Use explicit boolean conversions 2019-07-14 16:25:07 +03:00
completion.h Ensure include guard is the first non-comment line 2017-11-14 23:21:28 +03:00
crypto-utils-cyassl.c Switch from UNUSED macro to TR_UNUSED macro 2020-08-18 14:19:55 +03:00
crypto-utils-fallback.c Make use of TR_UNUSED macro where cast-to-void was used before 2020-08-18 14:34:49 +03:00
crypto-utils-openssl.c refactor: fix more sonarcloud warnings (#1508) 2020-11-05 16:46:21 -06:00
crypto-utils-polarssl.c Switch from UNUSED macro to TR_UNUSED macro 2020-08-18 14:19:55 +03:00
crypto-utils.c crypto-utils: do tr_rand_int without abs (#1198) 2020-05-11 20:34:03 -05:00
crypto-utils.h refactor: use GTest for running tests (#1383) 2020-08-11 13:11:55 -05:00
crypto.c refactor: fix more sonarcloud warnings (#1508) 2020-11-05 16:46:21 -06:00
crypto.h refactor: use GTest for running tests (#1383) 2020-08-11 13:11:55 -05:00
error-types.h Adjust uncrustify config, reformat all but Mac client 2017-04-20 10:01:22 +03:00
error.c chore: remove unused methods (#1207) 2020-05-11 17:20:46 -05:00
error.h refactor: use GTest for running tests (#1383) 2020-08-11 13:11:55 -05:00
fdlimit.c refactor: fix more sonarcloud warnings (#1508) 2020-11-05 16:46:21 -06:00
fdlimit.h Ensure include guard is the first non-comment line 2017-11-14 23:21:28 +03:00
file-posix.c sonarcloud warnings 9 (#1511) 2020-11-08 21:31:02 -06:00
file-win32.c Make use of TR_UNUSED macro where cast-to-void was used before 2020-08-18 14:34:49 +03:00
file.c refactor: fix more sonarcloud warnings (#1509) 2020-11-08 13:54:40 -06:00
file.h refactor: use GTest for running tests (#1383) 2020-08-11 13:11:55 -05:00
handshake.c sonarcloud warnings 9 (#1511) 2020-11-08 21:31:02 -06:00
handshake.h chore: remove unused methods (#1207) 2020-05-11 17:20:46 -05:00
history.c Introduce our own assertion macros with finer control 2017-06-08 10:24:12 +03:00
history.h refactor: use GTest for running tests (#1383) 2020-08-11 13:11:55 -05:00
inout.c Remove posix memalign (#1520) 2020-11-15 15:53:42 -06:00
inout.h Ensure include guard is the first non-comment line 2017-11-14 23:21:28 +03:00
jsonsl.c chore: update jsonsl parser snapshot (#1050) 2019-11-09 18:06:36 -06:00
jsonsl.h chore: update jsonsl parser snapshot (#1050) 2019-11-09 18:06:36 -06:00
libt.dox
list.c Use explicit boolean conversions 2019-07-14 16:25:07 +03:00
list.h Update to Uncrustify 0.68.1 2019-02-15 09:21:48 +03:00
log.c refactor: fix more sonarcloud warnings (#1508) 2020-11-05 16:46:21 -06:00
log.h Sonarcloud warnings 4 (#1499) 2020-11-02 09:16:12 -06:00
magnet.c refactor: sonarcloud warnings about overly-complex looping logic (#1503) 2020-11-03 18:59:19 -06:00
magnet.h refactor: use GTest for running tests (#1383) 2020-08-11 13:11:55 -05:00
makemeta.c Remove posix memalign (#1520) 2020-11-15 15:53:42 -06:00
makemeta.h refactor: use GTest for running tests (#1383) 2020-08-11 13:11:55 -05:00
metainfo.c refactor: sonarcloud warnings about overly-complex looping logic (#1503) 2020-11-03 18:59:19 -06:00
metainfo.h refactor: use GTest for running tests (#1383) 2020-08-11 13:11:55 -05:00
mime-types.c feat: add torrent-get 'primary-mime-type' to RPC. (#1464) 2020-10-13 10:33:56 -05:00
mime-types.h feat: add torrent-get 'primary-mime-type' to RPC. (#1464) 2020-10-13 10:33:56 -05:00
mime-types.js feat: add torrent-get 'primary-mime-type' to RPC. (#1464) 2020-10-13 10:33:56 -05:00
natpmp.c refactor: fix more sonarcloud warnings (#1508) 2020-11-05 16:46:21 -06:00
natpmp_local.h Ensure include guard is the first non-comment line 2017-11-14 23:21:28 +03:00
net.c sonarcloud warnings 9 (#1511) 2020-11-08 21:31:02 -06:00
net.h chore: fix some fixmes (#1449) 2020-09-13 16:43:29 -05:00
peer-common.h Ensure include guard is the first non-comment line 2017-11-14 23:21:28 +03:00
peer-io.c sonarcloud warnings 9 (#1511) 2020-11-08 21:31:02 -06:00
peer-io.h chore: fix some fixmes (#1449) 2020-09-13 16:43:29 -05:00
peer-mgr.c sonarcloud warnings 9 (#1511) 2020-11-08 21:31:02 -06:00
peer-mgr.h refactor: fix more sonarcloud warnings (#1508) 2020-11-05 16:46:21 -06:00
peer-msgs.c sonarcloud warnings 9 (#1511) 2020-11-08 21:31:02 -06:00
peer-msgs.h Use explicit boolean conversions 2019-07-14 16:25:07 +03:00
peer-socket.h refactor: use GTest for running tests (#1383) 2020-08-11 13:11:55 -05:00
platform-quota.c sonarcloud warnings 9 (#1511) 2020-11-08 21:31:02 -06:00
platform-quota.h Ensure include guard is the first non-comment line 2017-11-14 23:21:28 +03:00
platform.c sonarcloud warnings 9 (#1511) 2020-11-08 21:31:02 -06:00
platform.h Ensure include guard is the first non-comment line 2017-11-14 23:21:28 +03:00
port-forwarding.c chore: fix compiler warnings (#1412) 2020-08-27 18:41:26 -05:00
port-forwarding.h Ensure include guard is the first non-comment line 2017-11-14 23:21:28 +03:00
ptrarray.c sonarcloud warnings 9 (#1511) 2020-11-08 21:31:02 -06:00
ptrarray.h Update to Uncrustify 0.68.1 2019-02-15 09:21:48 +03:00
quark.c configure anti brute force (#1447) 2020-11-14 12:43:42 -06:00
quark.h configure anti brute force (#1447) 2020-11-14 12:43:42 -06:00
resume.c sonarcloud warnings 9 (#1511) 2020-11-08 21:31:02 -06:00
resume.h refactor: use GTest for running tests (#1383) 2020-08-11 13:11:55 -05:00
rpc-server.c configure anti brute force (#1447) 2020-11-14 12:43:42 -06:00
rpc-server.h configure anti brute force (#1447) 2020-11-14 12:43:42 -06:00
rpcimpl.c Remove posix memalign (#1520) 2020-11-15 15:53:42 -06:00
rpcimpl.h refactor: use GTest for running tests (#1383) 2020-08-11 13:11:55 -05:00
session-id.c chore: sonarcloud warnings 2 (#1496) 2020-11-01 15:47:57 -06:00
session-id.h refactor: use GTest for running tests (#1383) 2020-08-11 13:11:55 -05:00
session.c configure anti brute force (#1447) 2020-11-14 12:43:42 -06:00
session.h refactor: use GTest for running tests (#1383) 2020-08-11 13:11:55 -05:00
stats.c Check if log deep is enabled before tr_logAddDeep (#1329) 2020-07-28 12:31:36 -05:00
stats.h Ensure include guard is the first non-comment line 2017-11-14 23:21:28 +03:00
subprocess-posix.c refactor: fix more sonarcloud warnings (#1508) 2020-11-05 16:46:21 -06:00
subprocess-win32.c Introduce `tr_str_is_empty` to relay intent better 2019-07-13 12:00:06 +03:00
subprocess.h refactor: use GTest for running tests (#1383) 2020-08-11 13:11:55 -05:00
torrent-ctor.c chore: sonarcloud warnings 2 (#1496) 2020-11-01 15:47:57 -06:00
torrent-magnet.c refactor: sonarcloud warnings about overly-complex looping logic (#1503) 2020-11-03 18:59:19 -06:00
torrent-magnet.h Ensure include guard is the first non-comment line 2017-11-14 23:21:28 +03:00
torrent.c sonarcloud warnings 9 (#1511) 2020-11-08 21:31:02 -06:00
torrent.h Sonarcloud warnings 4 (#1499) 2020-11-02 09:16:12 -06:00
tr-assert.c Introduce our own assertion macros with finer control 2017-06-08 10:24:12 +03:00
tr-assert.h Move generic macros to a separate tr-macros.h file 2017-06-18 17:11:20 +03:00
tr-dht.c refactor: sonarcloud warnings about overly-complex looping logic (#1503) 2020-11-03 18:59:19 -06:00
tr-dht.h Ensure include guard is the first non-comment line 2017-11-14 23:21:28 +03:00
tr-getopt.c Use explicit boolean conversions 2019-07-14 16:25:07 +03:00
tr-getopt.h refactor: use GTest for running tests (#1383) 2020-08-11 13:11:55 -05:00
tr-lpd.c refactor: fix more sonarcloud warnings (#1508) 2020-11-05 16:46:21 -06:00
tr-lpd.h chore: fix compiler warnings (#1412) 2020-08-27 18:41:26 -05:00
tr-macros.h chore: fix some fixmes (#1449) 2020-09-13 16:43:29 -05:00
tr-udp.c refactor: fix more sonarcloud warnings (#1508) 2020-11-05 16:46:21 -06:00
tr-udp.h Align type qualifiers to the right (code style) 2017-04-20 19:53:20 +03:00
tr-utp.c sonarcloud warnings 9 (#1511) 2020-11-08 21:31:02 -06:00
tr-utp.h Ensure include guard is the first non-comment line 2017-11-14 23:21:28 +03:00
transmission.h configure anti brute force (#1447) 2020-11-14 12:43:42 -06:00
trevent.c Check if log deep is enabled before tr_logAddDeep (#1329) 2020-07-28 12:31:36 -05:00
trevent.h refactor: use GTest for running tests (#1383) 2020-08-11 13:11:55 -05:00
upnp.c Sonarcloud warnings 4 (#1499) 2020-11-02 09:16:12 -06:00
upnp.h chore: sonarcloud warnings 2 (#1496) 2020-11-01 15:47:57 -06:00
utils.c Remove posix memalign (#1520) 2020-11-15 15:53:42 -06:00
utils.h Remove posix memalign (#1520) 2020-11-15 15:53:42 -06:00
variant-benc.c refactor: fix more sonarcloud warnings (#1508) 2020-11-05 16:46:21 -06:00
variant-common.h refactor: use GTest for running tests (#1383) 2020-08-11 13:11:55 -05:00
variant-json.c sonarcloud warnings 9 (#1511) 2020-11-08 21:31:02 -06:00
variant.c sonarcloud warnings 9 (#1511) 2020-11-08 21:31:02 -06:00
variant.h refactor: use GTest for running tests (#1383) 2020-08-11 13:11:55 -05:00
verify.c Remove posix memalign (#1520) 2020-11-15 15:53:42 -06:00
verify.h Ensure include guard is the first non-comment line 2017-11-14 23:21:28 +03:00
version.h.in Adjust CFBundleVersion format to fix Sparkle update check 2018-04-17 13:25:49 +03:00
watchdir-common.h refactor: use GTest for running tests (#1383) 2020-08-11 13:11:55 -05:00
watchdir-generic.c refactor: fix more sonarcloud warnings (#1508) 2020-11-05 16:46:21 -06:00
watchdir-inotify.c sonarcloud warnings 9 (#1511) 2020-11-08 21:31:02 -06:00
watchdir-kqueue.c Switch from UNUSED macro to TR_UNUSED macro 2020-08-18 14:19:55 +03:00
watchdir-win32.c Switch from UNUSED macro to TR_UNUSED macro 2020-08-18 14:19:55 +03:00
watchdir.c refactor: fix more sonarcloud warnings (#1508) 2020-11-05 16:46:21 -06:00
watchdir.h refactor: use GTest for running tests (#1383) 2020-08-11 13:11:55 -05:00
web.c sonarcloud warnings 9 (#1511) 2020-11-08 21:31:02 -06:00
web.h chore: fix compiler warnings (#1412) 2020-08-27 18:41:26 -05:00
webseed.c sonarcloud warnings 9 (#1511) 2020-11-08 21:31:02 -06:00
webseed.h Ensure include guard is the first non-comment line 2017-11-14 23:21:28 +03:00
wildmat.c