Commit Graph

12947 Commits

Author SHA1 Message Date
Mike Gelfand cd4b0dc69d Pass CMAKE_USER_MAKE_RULES_OVERRIDE on to third-party dependencies 2017-01-22 14:16:51 +03:00
Mike Gelfand c199eef8ae When building with Xcode, link against 'libcrypto.dylib' instead of 'libcrypto.0.9.8.dylib'
Fix up 'miniupnpc' directory name along the way, using missing 'miniupnp'
was failing the build.

Fixes: #71
2017-01-18 21:56:02 +03:00
Mike Gelfand c1f08edf79 Fix memory leaks found by GCC's -address=sanitize (reported by milloni)
Fixes: #56
2017-01-17 23:55:34 +03:00
Mike Gelfand 67bda2dcb8 Handle two more cases where dirname/basename may have returned NULL (adds to 91f8ceb20d) 2017-01-17 02:22:31 +03:00
Mike Gelfand a3654c65a5 Replace setInterval() with setTimeout() for web UI refresh (patch by WGH)
Fixes: TRAC-6031
2017-01-15 11:17:31 +03:00
Mike Gelfand 5f3abbd6d8 Add myself to the list of Transmission authors 2017-01-15 01:38:45 +03:00
Mike Gelfand 8f51cf7e21 Fix "./update-version-h.sh: Bad substitution" 2017-01-15 01:02:45 +03:00
Mike Gelfand fd93316466 Improve version.h file generation
Store full revision hash in REVISION file. Write fixes 10 chars of revision
hash to version.h. Use `#pragma once` in version.h. Support getting revision
from TeamCity environment variable (similar to Jenkins).
2017-01-15 00:54:56 +03:00
Mike Gelfand a23cd29f07 Recode text files in UTF-8, remove trailing whitespace chars 2017-01-13 00:58:50 +03:00
Mike Gelfand bed1d10d6b Merge branch 'mac-client-cmake' 2017-01-12 00:50:59 +03:00
Mike Gelfand ee0f7686b5 Fix some warnings revealed by CMake configuration compiler flags 2017-01-11 23:43:56 +03:00
Mike Gelfand b6d2649ddc Initial Mac support in CMake configuration 2017-01-11 23:43:53 +03:00
Mike Gelfand 87885bdca7 Change Growl and Sparkle frameworks install names to be @rpath-based
Rebuild Growl framework to strip code signature (we resign it anyway, and
changing its install name invalidated the signature); used the same v1.3.1
release so hopefully didn't break anything.
2017-01-11 00:46:23 +03:00
Mike Gelfand 732d115c38 Rename glossy dot images to match the containing imageset name 2017-01-11 00:25:32 +03:00
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