Commit Graph

13051 Commits

Author SHA1 Message Date
Jan Weiß 18ea26319d Set default for indentation to space for entire Xcode project.
This allows correct indentation handling out-of-the-box.
2016-05-15 18:44:31 +02:00
Jan Weiß 4a9a48853b Paths converted from NSString objects to C strings should be acquired using “-fileSystemRepresentation”.
The file system APIs on OS X have specific requirements concerning the Unicode normalization form.
2016-05-15 18:42:37 +02:00
Mike Gelfand e60e75fadc Reduce torrents model memory requirements (Qt client)
Keep torrents sorted by ID. This allows to remove ID to row/torrent mappings
(using binary search instead) and thus also reduce complexity a bit.
2016-04-24 07:56:41 +00:00
Mike Gelfand 682b11aac4 Bump minimum Qt version to 4.8
Earlier versions may continue to work, but we don't guarantee they will.
2016-04-24 07:41:06 +00:00
Mike Gelfand 076fd29098 #6071: Fix typo in comment 2016-04-23 16:21:39 +00:00
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 2b917de65b Refactor RPC requests code for proper queueing (patch by intelfx @ GH-10)
This refactoring is driven by the need to be able to do true queued RPC calls
(where each successive call uses the result of the previous).

Currently, such queueing of requests is done by assigning them special "magic"
tag numbers, which are then intercepted in one big switch() statement and acted
upon. This (aside from making code greatly unclear) effectively makes each such
queue a singleton, because state passing is restricted to global variables.

We refactor RpcClient to assign an unique tag to each remote call, and then
abstract all the call<->response matching with Qt's future/promise mechanism.

Finally, we introduce a "RPC request queue" class (RpcQueue) which is built on
top of QFutureWatcher and C++11's <functional> library. This class maintains
a queue of functions, where each function receives an RPC response, does
necessary processing, performs another call and finally returns its future.
2016-04-19 20:41:59 +00:00
Mike Gelfand 66285a525b Web UI: main() refactoring (patch by skybon @ GH-9)
Less jQuery, more Web API. Moved main() away from common.
2016-04-12 19:03:01 +00:00
Mike Gelfand e04add39ad Fork 3rd-party libraries on GitHub 2016-04-09 08:52:41 +00:00
Mike Gelfand 1cb17447dc Try getting SVN revision from Jenkins environment when using CMake (copy logic from update-version-h.sh) 2016-04-03 05:53:32 +00:00
Mike Gelfand caaca040bd Only include .msi-related CMake stuff when it makes sense 2016-04-02 20:01:59 +00:00
Mike Gelfand db1553b113 Add files necessary for .msi packages creation on Windows 2016-04-02 18:01:01 +00:00
Jordan Lee 7cd2d10d00 crypto.h and crypto-utils.h can't use #pragma once, it breaks our name munging in crypto-test-ref.h 2016-03-29 19:02:26 +00:00
Jordan Lee c1abfe87c8 maybe fix double-include of crypto.h / crypto-utils.h in crypto-test 2016-03-29 17:18:50 +00:00
Jordan Lee 1af60ad6ad use '#pragma once' instead of #ifndef..#define..#endif guards 2016-03-29 16:37:21 +00:00
Jordan Lee 77b5105ea0 fix bad TR_DEPRECATED macro on clang :P 2016-03-29 16:01:41 +00:00
Jordan Lee 8d38442cc1 give a useful definition of TR_DEPRECATED on msvc as well 2016-03-29 15:47:29 +00:00
Jordan Lee 5fbd24fda5 fix a handful of minor compiler warnings, mostly in the unit tests, eg field width shortening or implicit signed/unsigned conversions 2016-03-29 03:04:54 +00:00
Mike Gelfand 7fb8708efd Only grow filter input up to 250px width, then stick to the right 2016-03-15 21:25:46 +00:00
Mike Gelfand cc1f6f3a5c Fix dropping .torrent files into main window on Windows
Previously used `QUrl::fromPercentEncoding()` leads to paths like
"/C:/test/a.torrent" which obviously aren't valid filesystem paths.
2016-03-15 06:04:49 +00:00
Mike Gelfand c955c04d8f Explicitly compare result of str(n)cmp/memcmp to signify that it's not boolean 2016-03-13 22:11:01 +00:00
Mike Gelfand 91f8ceb20d Handle potential dirname/basename errors where needed 2016-03-13 10:41:52 +00:00
Mike Gelfand 5569efc3d4 #6089: Beautified JavaScript (patch by skybon) 2016-03-10 19:05:13 +00:00
Mike Gelfand 0fd932eaa5 Bump to 2.92+ 2016-03-10 00:31:03 +00:00
Mike Gelfand 67ef7b888c Update NEWS, bump to 2.92 2016-03-06 19:51:54 +00:00
Mike Gelfand dc60d25608 Attempt to remove OSX.KeRanger.A for unlucky users... 2016-03-06 19:45:41 +00:00
Mike Gelfand 4371c6e765 Bump to 2.91 2016-03-06 06:17:44 +00:00
Mike Gelfand afac08b47e Update NEWS 2016-03-06 06:12:26 +00:00
Mike Gelfand ac81c85a08 Update NEWS 2016-03-05 18:01:56 +00:00
Mike Gelfand e7a16ead26 #5743: Use `-rad` as short form of `--remove-and-delete` 2016-03-05 17:27:40 +00:00
Mike Gelfand 87373cdafd Fix constraints issues on Yosemite when hiding web seed view (OS X) 2016-03-03 22:27:45 +00:00
Mike Gelfand 375571c9b4 #6078: Show main window and scroll to torrent on notification click 2016-03-03 17:57:08 +00:00
Mike Gelfand e4f929fba9 #6077: Add `--blocklist-update` to transmission-remote man page 2016-03-03 15:03:48 +00:00
Mike Gelfand 8cde6de555 #6083: Remove what looks like unintended changes (added in r14343)
Surprisingly, this change made notification center preserve seeding complete
notifications upon recent notifications removal by clicking the (x) button.
2016-03-03 13:38:12 +00:00
Mike Gelfand 8d2ef3ad27 Fix copyright year in Win32 resources 2016-03-03 09:47:40 +00:00
Mike Gelfand 61f82cb6b5 #6079: Fix miniupnpc script to handle spaces and other special chars in paths 2016-03-02 16:31:16 +00:00
Mike Gelfand 49228ecb14 Fix building for Win32/x86 (wrong callback calling convention) 2016-03-02 16:15:06 +00:00
Mike Gelfand 109b9ae329 Prevent crash during group rules removal in some cases (OS X)
The crash seems to be caused by animation performed by the rules list and
the window in parallel. This commit disables window resize animation until
a better solution is devised.

Rules list height is now also limited and scrollbar is shown if needed.
2016-03-02 07:55:37 +00:00
Mike Gelfand 67a03bcabb Fix existing Qt client instance detection and torrents delegation 2016-02-29 14:16:55 +00:00
Mike Gelfand 166397455a Include Windows patches into source archive, otherwise CMake build fails 2016-02-28 06:16:04 +00:00
Mike Gelfand 212093992d Bump to 2.90+ 2016-02-28 04:51:08 +00:00
Mike Gelfand 3f455d0a01 Update NEWS 2016-02-28 04:47:23 +00:00
Mike Gelfand 96a46c0f57 Bump version to 2.90 2016-02-27 23:41:26 +00:00
Mike Gelfand 0c4ace2313 Sync translations with Transifex 2016-02-27 23:27:26 +00:00
Mike Gelfand 197fc132b3 Update user-facing copyright years 2016-02-27 23:18:02 +00:00
Mike Gelfand 824f1b0c21 Update NEWS 2016-02-27 23:09:41 +00:00
Mike Gelfand f8a7469ba5 #6061: Change Sparkle Update URL to use HTTPS instead of HTTP 2016-02-27 22:54:04 +00:00
Mike Gelfand cabdd44381 Use autolayout for about and license windows (OS X) 2016-02-27 21:37:09 +00:00
Mike Gelfand 626f58e720 Use autolayout for torrent info window (OS X) 2016-02-27 20:29:57 +00:00
Mike Gelfand 9a94490265 Use autolayout for group rules window, take two (OS X) 2016-02-24 22:59:25 +00:00