Commit Graph

13033 Commits

Author SHA1 Message Date
Mike Gelfand 3375b22b23 Simplify `tr_ssha1_matches` logic
Gets rid of needless heap memory allocations and copying. Convert SHA1 hash
to hex in-place.

Fixes: #141
2017-01-09 14:15:07 +03:00
Mike Gelfand 15625de3c7 Extend SSHA1 test to check for predefined matches
Reduce number of test iterations to 4K along the way to shorten execution
time.
2017-01-09 14:12:17 +03:00
Mike Gelfand 35fea28d1a Merge pull request #134 from Eitot/assets
Use asset catalog and add flat status icons
2017-01-08 11:04:25 +03:00
Eitot 290fed53eb Add flat variants of status icons for message log 2017-01-08 01:54:19 +01:00
Eitot a035c79da4 Migrate Mac images to asset catalog 2017-01-08 01:54:19 +01:00
Mike Gelfand 505b4f8c4f Merge pull request #11 from JanX2/macosx-misc-1
OS X misc improvements 1
2017-01-07 23:23:07 +03:00
Mike Gelfand 25feee2e5b Merge pull request #135 from Eitot/project
Remove Info.plist from copy phase and align minimum version
2017-01-07 23:16:09 +03:00
Eitot 701258671a Align minimum system version in Info.plist to target 2017-01-04 23:33:38 +01:00
Eitot 4d5531a05d Remove Info.plist from copy phase 2017-01-04 23:30:09 +01:00
Mike Gelfand 093f1c5798 Merge pull request #133 from floppym/ignore-dot-git
cmake: ignore .git when creating source tarball
2017-01-03 06:58:03 +03:00
Mike Gilbert b7a850b073 cmake: ignore .git when creating source tarball 2017-01-02 21:07:44 -05:00
Mike Gelfand 683b417a33 Bump miniupnpc revision to include previously made fixes 2017-01-02 23:30:16 +03:00
Mike Gelfand cb6ce62d0e Adjust Xcode project to use submodules 2017-01-02 23:02:12 +03:00
Mike Gelfand 3093df8755 Adjust autotools files to use submodules 2017-01-02 02:26:02 +03:00
Mike Gelfand e83a062417 Adjust CMake files to use submodules instead of downloading archives 2017-01-02 02:26:02 +03:00
Mike Gelfand eb437c16f5 Add third-party libraries back as submodules 2017-01-02 02:25:59 +03:00
Mike Gelfand 2de12f50c5 Remove third-party code stored in the repo directly 2017-01-01 16:01:00 +03:00
Mike Gelfand 4179a623d5 Interrupt verification ASAP if torrent is being removed 2016-12-31 14:23:06 +03:00
Mike Gelfand 2a31b0db8c Update README
Fixes: #124
Fixes: #48
2016-12-26 22:46:07 +03:00
Mike Gelfand 0ac657c5f1 Fix up rename test to avoid random use-after-free failures 2016-12-25 19:44:38 +03:00
Mike Gelfand 3cda09ea81 Fix up rename test to avoid random duplicate torrent failures 2016-12-24 21:24:50 +03:00
Mike Gelfand b33eb816ba Merge branch 'solaris-support' 2016-12-24 20:37:46 +03:00
Mike Gelfand 88505c345f Allow for different-cased "nan" value returned by tr_truncd 2016-12-24 20:20:55 +03:00
Mike Gelfand 448d8f39f6 CMake support for Solaris 2016-12-24 20:16:54 +03:00
Mike Gelfand f48c0cc130 Merge pull request #118 from floppym/systemd
cmake: add FindSYSTEMD module
2016-12-19 09:54:57 +03:00
Mike Gilbert d8cb7b3e0c cmake: add FindSYSTEMD module
Fixes: https://github.com/transmission/transmission/issues/117
2016-12-18 22:06:37 -05:00
Mike Gelfand 9252f495af Remove CDash-related stuff from the project, not used now anyway 2016-12-18 23:41:40 +03:00
Mike Gelfand 6de89199da Merge pull request #116 from floppym/mbedcrypto
cmake: link against libmbedcrypto if available
2016-12-18 23:26:42 +03:00
Mike Gilbert 530eca541b cmake: link against libmbedcrypto if available
In recent versions of mbed TLS, several symbols are moved to
libmbedcrypto.

Fixes: https://github.com/transmission/transmission/issues/115
2016-12-18 14:35:19 -05:00
Mike Gelfand 9d562ab25a Merge branch 'seiyap70-patch-1' 2016-12-09 22:02:24 +03:00
Mike Gelfand 193d68cc5c Move tr_metainfoFree call higher per review comment 2016-12-09 22:01:58 +03:00
Mike Gelfand b3b1feb744 Merge branch 'patch-1' of https://github.com/seiyap70/transmission into seiyap70-patch-1 2016-12-09 22:01:23 +03:00
Mike Gelfand 9eb7901399 Merge pull request #96 from floppym/libappindicator
cmake: Allow libappindicator to be toggled
2016-12-09 21:34:56 +03:00
Mike Gilbert 147e31a32d cmake: Allow libappindicator to be toggled
This will allow libappindicator to become an optional dependency on
Gentoo Linux.

https://wiki.gentoo.org/wiki/Project:Quality_Assurance/Automagic_dependencies
2016-11-27 14:18:59 -05:00
seiyap70 8541d74793 free the info resource if failed
free the info resource if failed
2016-11-07 14:07:56 +08:00
Mike Gelfand d8dd6f9c75 Merge pull request #60 from milloni/strncmp-instead-of-memcmp
Use strncmp instead of memcmp to avoid out-of-bounds reads
2016-11-02 23:13:25 +03:00
Mike Gelfand 02e6f1cd33 Merge pull request #74 from alimony/update-links
Update all website links to canonical HTTPS version
2016-11-02 23:05:43 +03:00
Markus Amalthea Magnuson 5b9ba3be0d HTTPS links for trac, forum, portcheck, and build subdomains. 2016-11-02 20:50:22 +01:00
Markus Amalthea Magnuson 727b9671f7 Update all website links to canonical HTTPS version. 2016-10-31 10:00:11 +01:00
Mike Gelfand e9ebd99754 Merge pull request #72 from ssssam/sam/cmake-ninja-fix
Fix CMake build system with the Ninja backend
2016-10-31 11:12:46 +03:00
Sam Thursfield e24d826611 Fix CMake build system with the Ninja backend
Previously building with `cmake -G Ninja` would fail with this error:

    ninja: error: 'third-party/event-c51b159cff/lib/libevent.a', needed by
      'libtransmission/transmission-test-watchdir_generic', missing and no
      known rule to make it

This was due to missing BUILD_BYPRODUCTS in the calls to
ExternalProject_Add(), as discussed here:
<https://cmake.org/pipermail/cmake/2015-April/060234.html>
2016-10-30 22:22:05 +00:00
Mike Gelfand 3f8660557a Merge branch 'crypto-utils-update' 2016-10-26 22:49:28 +03:00
Mike Gelfand 71af7be04f Improve support for wolfssl (formely cyassl) 2016-10-26 22:27:20 +03:00
Mike Gelfand 7f94c8df6c Add support for mbedtls (formely polarssl) 2016-10-26 22:27:20 +03:00
Maciej Wolny 69c33d0e18 Fix signedness related warnings 2016-10-20 20:27:55 +02:00
Maciej Wolny c6ad5bd36c Go back to using memcmp in libtransmission/net.c 2016-10-20 17:35:46 +02:00
Mike Gelfand 0390684bc4 Merge pull request #42 from wbx-github/master
uClibc-ng since 1.0.18 has sys/quota.h synced with GNU libc
2016-10-19 21:01:06 +03:00
Waldemar Brodkorb bae138ca22 uClibc-ng since 1.0.18 has sys/quota.h synced with GNU libc 2016-10-19 19:33:35 +02:00
Mike Gelfand eda26f7590 Make sure `tr_sha1` calls pass lengths as int
This fixes inability to authenticate with password-protected session, and
a few more issues it seems.
2016-10-18 00:05:03 +03:00
Maciej Wolny 3a1730495d Use strncmp instead of memcmp to avoid out-of-bounds reads 2016-10-05 16:19:31 +02:00