Mike Gelfand
2e6d5c8bc9
Add more booleans to the picture
2015-05-31 22:13:31 +00:00
Mike Gelfand
6c04259c39
Remove useless ws2tcpip.h include in net.h
...
It's already included above, and QT_DLL condition is meaningless
since net.h is only being used inside libtransmission which doesn't
use Qt.
2015-05-30 15:44:17 +00:00
Mike Gelfand
8dd65cdfba
Use CreateProcess instead of _spawnvpe to execute scripts on Windows
2015-05-30 11:15:57 +00:00
Mike Gelfand
7abe7c28a3
#4882 : \u-encode all non-printable (as opposed to non-ascii) characters
2015-05-16 17:33:01 +00:00
Mike Gelfand
e0dc1d6735
Fix some issues revealed by coverity
2015-05-09 14:10:55 +00:00
Mike Gelfand
4a23c94252
Fix some issues revealed by coverity
2015-05-09 14:09:05 +00:00
Mike Gelfand
cdf3cf62f9
Fix some issues revealed by coverity
2015-05-09 11:56:35 +00:00
Mike Gelfand
2321bc3fad
Fix some issues revealed by coverity
2015-05-09 08:37:55 +00:00
Mike Gelfand
df98031294
#5946 : Save "prefetch-enabled" setting as boolean (spotted by cfpp2p)
2015-05-07 06:45:35 +00:00
Mike Gelfand
7177d43ba1
#5944 : Unify indentation style and strip trailing whitespaces across JS code, no functional changes (patch by xzcvczx + a lot more)
2015-05-05 19:12:48 +00:00
Mike Gelfand
5de8bbe6d8
Cut internal macro names to have equal number of underscores on each side (take two)
2015-05-04 20:06:05 +00:00
Mike Gelfand
7879100c01
Cut internal macro names to have equal number of underscores on each side
2015-05-04 19:58:34 +00:00
Mike Gelfand
1bcebc2da9
Remove `-Wdeclaration-after-statement` flag (we use C99)
2015-05-03 11:44:18 +00:00
Mike Gelfand
363069ff97
#5930 : Fix style of Gtk+3.16 overshoot and undershoot (patch by nagisa)
2015-05-03 10:30:35 +00:00
Mike Gelfand
50364a7883
#4866 : Replace existing menus with jQueryUI menu
2015-04-30 05:20:48 +00:00
Mike Gelfand
0c01e6e19d
#5937 : Don't send TR_RPC_TORRENT_ADDED notification if torrent wasn't actually added (patch by xzcvczx)
2015-04-29 19:42:05 +00:00
Mike Gelfand
9674df5c4d
Use jQuery UI's `ui-helper-hidden` CSS class instead of our own
2015-04-26 03:35:44 +00:00
Mike Gelfand
a1393e7b35
#5934 : Generate REVISION file and use it in case of missing reliable source
2015-04-24 19:14:56 +00:00
Mike Gelfand
b5eee9b0fc
Bump natpmp revision to include latest Win32 fixes
2015-04-23 22:03:29 +00:00
Mike Gelfand
123a8decc2
Define WIN32_LEAN_AND_MEAN and NOMINMAX for our own code only
2015-04-23 21:32:00 +00:00
Mike Gelfand
742c89b3b7
Emit warning from uTP config in a more friendly way
2015-04-23 20:20:21 +00:00
Mike Gelfand
cd8ed4ff10
#5894 : Get rid of eval() in JS code (patch by Ancient; 2nd part)
2015-04-23 19:30:40 +00:00
Mike Gelfand
fd8e1e25a4
#5894 : Get rid of inline styles in HTML (patch by Ancient; 1st part, slightly modified per IRC discussion)
2015-04-23 19:02:38 +00:00
Mike Gelfand
06d73853b9
Even better (and unified) torrent origin logic for GTK+, Qt and web clients
2015-04-22 21:04:49 +00:00
Mike Gelfand
ea368388ed
Fix JS error on undefined creator during inspector update
...
Since torrents' info is fetched asynchronously, it may not yet be
available when inspector updates. Account for possibly undefined
creator.
Refine logic used to construct torrent origin phrase to prevent
results such as "Created by on <date>" or "Created by <creator>
on ".
2015-04-22 20:36:28 +00:00
Mike Gelfand
dc1eb80dca
#5894 : Fix autotools build ("trailing backslash on last line")
2015-04-21 21:23:15 +00:00
Mike Gelfand
ff7638d901
#5894 : Update jQuery to 1.11.2 (with Migrate plugin 1.2.1), jQuery UI to 1.11.4
2015-04-21 21:17:45 +00:00
Mike Gelfand
68339d6933
Bump miniupnpc revision to fix `MINIUPNP_STATICLIB` macro definition
2015-04-21 13:56:17 +00:00
Mike Gelfand
b89b90ee15
Avoid GCC `'static' is not at beginning of declaration` warning
2015-04-21 11:40:15 +00:00
Mike Gelfand
c1b10abe0f
Use UTF-8 for console I/O on Windows
2015-04-21 10:07:57 +00:00
Mike Gelfand
7ce0ebfee7
Ifdef the code which does manual relayout on compact view toggle to Qt < 5.4 (QTBUG-33537)
2015-04-20 09:28:26 +00:00
Mike Gelfand
f1010159a6
Send dummy events each second to prevent excessive memory use (inspired by xnyhps)
...
I'm not that good in Mac programming it seems as I can't figure out why
doesn't the memory being allocated by frequent NSNewBitmapBackingStore
(system internal) calls being freed even if I wrap the code into
@autoreleasepool explicitly. Disabling animations does slow it down but
not stop. This commit is certainly a dirty fix but it seems to work in
my case and I hope it helps a few other people while we wait for a
proper solution.
2015-04-18 21:45:37 +00:00
Mike Gelfand
adde87a99e
Fix Qt 4 build: `QGridLayout::getItemPosition ()` is not constant :(
2015-04-18 14:48:23 +00:00
Mike Gelfand
9f8402697b
Use C++11 range-based `for` loops (Qt client)
2015-04-18 14:41:06 +00:00
Mike Gelfand
ce200fa775
#5927 : Add Chinese (zh_CN) translation to Qt client (provided by liaodahao)
2015-04-15 20:26:38 +00:00
Mike Gelfand
5ada708756
Use native separators for path button and free space label tooltips. Improve path button dialog initial directory/file selection.
2015-04-15 00:08:24 +00:00
Mike Gelfand
829cbffaf7
Add version info to executables (on Windows). Group projects into folders (CMake).
2015-04-14 22:46:40 +00:00
Mike Gelfand
53a0fc2a19
Allow files (and their parent directories) to be renamed even when in use (on Windows).
2015-04-13 18:31:32 +00:00
Eric Petit
0bad03e6c1
#5925 no CFBundleVersion in Jenkins builds
...
Work around version mismatch between java's and command-line's svns
2015-04-12 05:08:46 +00:00
Mike Gelfand
7bf402bb7d
Forward-declare `tr_error` structure in headers
2015-04-11 14:54:01 +00:00
Mike Gelfand
b58621c683
Add ERROR_DIRECTORY_NOT_SUPPORTED define missing in MinGW
2015-04-11 10:58:08 +00:00
Mike Gelfand
3b129a72d8
#5908 : Check for `tr_loadFile` return value instead of `errno` in `tr_variantFromFile`
...
Seems like there could be a defect in uClibc making errno not
thread-local. Don't rely on errno value but check function return value
instead which is a better failure indicator.
Return errors from `tr_loadFile` and `tr_variantFromFile` via tr_error.
Fix `tr_sessionLoadSettings` to not fail on Windows if settings.json
does not exist.
2015-04-11 10:51:59 +00:00
Mike Gelfand
99e0f5bd63
Tune directory paths on Windows
...
Use %USERPROFILE% instead of %USERPROFILE%\Documents as home directory.
Don't roam configuration directory (I don't think we want that).
Use known Downloads folder (instead of %HOME%\Downloads) if set.
When searching for web interface files, let local user application data
directory override roaming one, and roaming one override common one.
Use Vista+ API (SHGetKnownFolderPath) to get known folder paths.
2015-04-10 22:15:41 +00:00
Mike Gelfand
f1f2a8f0b7
#5878 : Fix typo in transmission-remote -P argument desription (reported by jolan)
2015-04-05 16:29:09 +00:00
Mike Gelfand
7bfcbe55e1
#5920 : Fix memory leak and access to freed memory in tr_getDefaultConfigDir (patch by jyelloz)
2015-04-05 06:39:06 +00:00
Mike Gelfand
a8231b42f8
#5910 : Fix autotools build ( #2 ) and workaround MSVC bug
2015-04-04 18:28:13 +00:00
Mike Gelfand
5b1b22321c
#5910 : Fix autotools and Xcode build
2015-04-04 18:21:34 +00:00
Mike Gelfand
a079af9ed5
#5910 : Run daemon as a service on Windows
...
Factor out demonization implementation to platform-specific files.
Implement daemonization on Windows using service API. Improve *NIX
implementation by handling signals asynchronously to prevent potential
issues of running complex code inside the handler.
2015-04-04 17:43:56 +00:00
Mike Gelfand
5578d616a8
Add patch from #5002 (r13646) to fix crash in libutp for CMake-based builds
2015-03-29 20:48:06 +00:00
Mike Gelfand
c768af3865
#5407 : Fix crash on Mac when pausing torrents (patch by x190)
2015-03-26 18:32:33 +00:00