sledgehammer999
b69b6d1f55
Revert "Set default locale". Closes #6436 and #6459 .
...
This reverts commit 75ef6356d3
.
2017-03-07 15:35:42 +02:00
Eugene Shalygin
e64bb1de8c
Drop Qt 4 support
2017-03-05 22:24:59 +01:00
Chocobo1
7da29f7654
Embed manifest when compiling with MSVC
...
Update manifest
2017-03-04 13:09:32 +08:00
Chocobo1
511796f74e
Replace rand() by a true uniform distribution generator
2017-02-16 12:21:26 +08:00
Tim Delaney
cecff159a0
Move old RSS items to separate config file. Closes #6167 .
...
--HG--
branch : magao-dev
2016-11-06 12:00:09 +11:00
sledgehammer999
1376d8fa7b
Merge pull request #6084 from Chocobo1/set_locale
...
Set default locale
2017-01-20 20:14:20 +02:00
sledgehammer999
f1942bc0e0
Merge pull request #6104 from okeatime/mac_nox
...
Build qbittorrent-nox for macOS
2017-01-19 15:49:47 +02:00
Chocobo1
75ef6356d3
Set default locale
2017-01-19 13:33:34 +08:00
Chocobo1
e37a696e7d
Refactor
...
Move default value to preference class
Rename variable
Reorder headers
Remove extra parentheses
2017-01-19 13:33:34 +08:00
sledgehammer999
ba03fb30f3
Merge pull request #5987 from Chocobo1/temp_dir
...
Put temp files in .qBittorrent directory
2017-01-19 01:33:57 +02:00
Oke Atime
5f767b96f6
Build qbittorrent-nox for macOS
2016-12-22 23:23:21 +09:00
Eugene Shalygin
05dbea390b
Print warning to the user if stacktrace contains no function names
...
Count matched function names, and if there are no, point out to the user
that the stacktrace is useless. If not all stactrace elements contain
function names, suggest user that installing debug packages may improve
the stacktrace usefulness.
2016-12-17 17:46:05 +01:00
Eugene Shalygin
514de7edc4
Follow project coding style. Issue #2192 .
2016-12-17 17:29:43 +01:00
sledgehammer999
b2827702e5
Correctly migrate settings/rss/usage stats in macOS. Closes #6041 .
2016-12-14 17:51:49 +02:00
sledgehammer999
d88ec48468
Polish previous commit.
2016-12-11 23:24:55 +02:00
sledgehammer999
5a006d5980
Merge pull request #5810 from ghost/macOSpref
...
Change QSettings to IniFormat on macOS. Closes #5770 #5808
2016-12-11 23:23:22 +02:00
Chocobo1
cffa729ac5
Put temp files in .qBittorrent directory. Closes #4462 .
2016-12-01 01:39:27 +08:00
Yez Ezey
55916df97d
Set /usr/local/bin before default PATH on macOS. closes #5639 #5571
...
Since Apple made difficult for users to set PATH and /usr/bin/python
is almost unusable, I simply add /usr/local/bin before default PATH
to pick up Homebrew Python.
2016-11-07 13:29:55 +09:00
sledgehammer999
146d4e049a
Some more compiler warnings fixed.
2016-11-02 17:49:50 +02:00
sledgehammer999
124eddc68c
Merge pull request #5342 from glassez/session
...
Optimize BitTorrent::Session settings applying
2016-11-01 03:02:29 +02:00
Yez Ezey
26052802ca
Change QSettings to IniFormat on macOS. Closes #5770 #5808
...
On macOS 10.12 Sierra, Apple changed the behaviour of CFPreferencesSetValue()
truncating data after a null character. https://bugreports.qt.io/browse/QTBUG-56344
Due to this, we have to move from native plist to IniFormat.
2016-10-08 14:05:30 +09:00
Chocobo1
f448587271
Add function windowsSystemPath()
2016-07-23 13:39:13 +08:00
Chocobo1
1e1471c7c6
Workaround space issues in file path
...
References:
https://github.com/qbittorrent/qBittorrent/issues/5439#issuecomment-228616817
https://github.com/qbittorrent/qBittorrent/issues/5439#issuecomment-232214712
2016-07-16 11:27:51 +08:00
Chocobo1
3846a5b875
Invoke system's cmd.exe directly.
2016-07-16 11:19:33 +08:00
Chocobo1
705d7730dc
Fix upper-bound limit of command line for "Run External Program" in Windows. Closes #5399 .
2016-07-16 10:25:22 +08:00
Vladimir Golovnev (Glassez)
b5fe749f0b
Use new libtorrent-1.1 settings API
2016-06-20 08:30:02 +03:00
Vladimir Golovnev (Glassez)
b2cb473b63
Don't use Preferences in BitTorrent::Session
2016-06-20 08:30:02 +03:00
Chocobo1
df95efe33e
Improve usability of "Run External Program"
...
Users can write (platform dependent) shell scripts now.
2016-06-07 00:39:27 +08:00
Chocobo1
def27bce4d
Add log messages
2016-06-04 11:28:44 +08:00
sledgehammer999
8e64ffba01
Merge pull request #4937 from Chocobo1/option_crash
...
Fix crash when qbt exits with options dialog opened
2016-05-30 19:36:16 -05:00
sledgehammer999
fed2609cb2
Merge pull request #4888 from SeigneurSerpent/source_line
...
Stack trace for windows now contains source filenames and line numbers
2016-05-23 16:49:17 -05:00
SeigneurSerpent
7398e7f0ad
Improve stack trace for windows by including source filenames and line numbers
2016-05-23 22:37:24 +03:00
sledgehammer999
ef6e848756
Display notifications when a torrent is added. Closes #334 and #915 .
2016-04-25 20:07:26 +03:00
Chocobo1
34db2f5dd9
Fix qBittorrent doesn't exit immediately when "all donwloads are done -> exit" option enabled.
...
This fix is provided by glassez.
2016-04-18 00:46:47 +08:00
Chocobo1
fbc002f212
Enable access to shutdown functions when configured with --disable-gui
option
2016-04-18 00:45:37 +08:00
Chocobo1
a1e0fa5509
Fix Coverity Scan 143909.
...
Also, the setting "Confirmation on auto-exit when downloads finish" wasn't working before.
2016-04-18 00:35:08 +08:00
sledgehammer999
2d0b9e6538
Merge pull request #5111 from Chocobo1/refactor_shutdowndlg
...
Cleanup shutdowndlg
2016-04-17 11:23:07 -05:00
Chocobo1
e2a090f03f
Use QAtomicInt to guarantee cleanup() is only executed once
2016-04-17 18:48:22 +08:00
Eugene Shalygin
7c0b5818b1
cmake: add imported target for QtSingleApplication
...
This simplifies cmake code a bit: we remove if's and just generate
different target (imported or alias) with the same name and use it
unconditionally.
2016-04-17 01:07:15 +02:00
Eugene Shalygin
f050f15a0c
cmake: fix Qt resources linkage. Closes #5080
...
Qt resource is innitialized by a static object constructor (see
https://wiki.qt.io/QtResources ). When we put resources into a static
library, the linker removes that static objects and thus the resources
themselves. To correct that we append resources to the main executable
sources list. This is done via custom function qbt_target_sources which
knows where to read the executable' name.
2016-04-17 01:06:24 +02:00
Chocobo1
f12e21560a
Rename files:
...
confirmshutdowndlg.ui => shutdownconfirmdlg.ui
shutdownconfirm.cpp => shutdownconfirmdlg.cpp
2016-04-14 14:50:59 +08:00
Chocobo1
6a11056b60
Rename enum
...
Change identifier from ShutdownAction to ShutdownDialogAction
Change enum value from None to Exit
2016-04-14 14:50:59 +08:00
Eugene Shalygin
1d6a1db491
cmake: make it compile on OS X
2016-03-28 19:59:11 +02:00
Eugene Shalygin
1e9bbce249
cmake: fix compilation
2016-03-28 19:44:59 +02:00
sledgehammer999
c2b6e1ce1a
Fix periodic latency spikes on Windows with WiFi connections. Closes #4209 .
2016-03-27 22:53:40 +03:00
sledgehammer999
18ee87f586
Fix previous commit.
2016-03-27 22:26:00 +03:00
sledgehammer999
2b8327c807
Merge pull request #4218 from d3faultdotxbe/master
...
Add 'never show again' checkbox/pref to auto-exit confirm dialog
2016-03-27 14:24:50 -05:00
sledgehammer999
d721939d5f
Use SettingsStorage instead.
2016-03-26 01:50:13 +02:00
sledgehammer999
1058572c8a
Implement file logger.
2016-03-26 01:39:13 +02:00
sledgehammer999
15ec515872
Merge pull request #4877 from evsh/cmake
...
add basic cmake support
2016-03-04 17:30:08 -06:00