sledgehammer999
b2827702e5
Correctly migrate settings/rss/usage stats in macOS. Closes #6041 .
8 years ago
sledgehammer999
d88ec48468
Polish previous commit.
8 years ago
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.
8 years ago
sledgehammer999
146d4e049a
Some more compiler warnings fixed.
8 years ago
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.
8 years ago
Chocobo1
f448587271
Add function `windowsSystemPath()`
8 years ago
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
8 years ago
Chocobo1
3846a5b875
Invoke system's cmd.exe directly.
8 years ago
Chocobo1
705d7730dc
Fix upper-bound limit of command line for "Run External Program" in Windows. Closes #5399 .
8 years ago
Vladimir Golovnev (Glassez)
b5fe749f0b
Use new libtorrent-1.1 settings API
9 years ago
Vladimir Golovnev (Glassez)
b2cb473b63
Don't use Preferences in BitTorrent::Session
9 years ago
Chocobo1
df95efe33e
Improve usability of "Run External Program"
...
Users can write (platform dependent) shell scripts now.
9 years ago
Chocobo1
def27bce4d
Add log messages
9 years ago
SeigneurSerpent
7398e7f0ad
Improve stack trace for windows by including source filenames and line numbers
9 years ago
sledgehammer999
ef6e848756
Display notifications when a torrent is added. Closes #334 and #915 .
9 years ago
Chocobo1
34db2f5dd9
Fix qBittorrent doesn't exit immediately when "all donwloads are done -> exit" option enabled.
...
This fix is provided by glassez.
9 years ago
Chocobo1
fbc002f212
Enable access to shutdown functions when configured with `--disable-gui` option
9 years ago
Chocobo1
a1e0fa5509
Fix Coverity Scan 143909.
...
Also, the setting "Confirmation on auto-exit when downloads finish" wasn't working before.
9 years ago
Chocobo1
e2a090f03f
Use QAtomicInt to guarantee cleanup() is only executed once
9 years ago
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.
9 years ago
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.
9 years ago
Chocobo1
f12e21560a
Rename files:
...
confirmshutdowndlg.ui => shutdownconfirmdlg.ui
shutdownconfirm.cpp => shutdownconfirmdlg.cpp
9 years ago
Chocobo1
6a11056b60
Rename enum
...
Change identifier from ShutdownAction to ShutdownDialogAction
Change enum value from None to Exit
9 years ago
Eugene Shalygin
1d6a1db491
cmake: make it compile on OS X
9 years ago
Eugene Shalygin
1e9bbce249
cmake: fix compilation
9 years ago
sledgehammer999
c2b6e1ce1a
Fix periodic latency spikes on Windows with WiFi connections. Closes #4209 .
9 years ago
sledgehammer999
18ee87f586
Fix previous commit.
9 years ago
sledgehammer999
d721939d5f
Use SettingsStorage instead.
9 years ago
sledgehammer999
1058572c8a
Implement file logger.
9 years ago
Vladimir Golovnev (Glassez)
dd34663224
Implement Advanced Saving Management subsystem
...
Closes #4696
9 years ago
Vladimir Golovnev (Glassez)
d05d5a85a5
Move Preferences backend code into SettingsStorage class
...
Closes #4764
9 years ago
Eugene Shalygin
64daecb266
add basic cmake support
9 years ago
Chocobo1
d0e31adaf7
Create helper function to get libtorrent version
9 years ago
Chocobo1
12627bbc10
Create helper function to get boost version
9 years ago
Chocobo1
498f5e3877
Create helper function to get OS name
9 years ago
Chocobo1
7b2fab411c
Comment out "List of linked Modules" section in windows crash report.
...
It is bloating the crash report with unhelpful messages.
9 years ago
Chocobo1
aa246f0ca8
Let OS handle DPI scaling for now. Should let Qt do the work when it's more mature.
...
Opt-in to the high DPI pixmap support
Closes #2963 .
9 years ago
Chocobo1
e35a7ef9d3
Move statusbar styelsheet to where it belongs
9 years ago
Chocobo1
48d2beece5
Fix potential race condition. Closes #4742 .
9 years ago
Vladimir Golovnev (Glassez)
057cbed204
Fix upgrade corrupted fastresume file
9 years ago
sledgehammer999
0d32b9a692
Fix splash screen staying on top of all windows. Closes #1391 .
9 years ago
Chocobo1
4a3d9029d1
Add #include guard
9 years ago
Chocobo1
ef75ae4aee
Try to concat most of the string at compile time
...
The lesser unsafe code in signal handler the better
Add license
9 years ago
Chocobo1
5c8a4b3912
Simplify signal handler
...
Try to use signal-safe functions as much as possible
Closes #3995
Define sys_signame[] ourselves on linux
9 years ago
Vladimir Golovnev (qlassez)
a5780dd66c
Switch to using previous fastresume file names
9 years ago
Boris Nagaev
4706733846
convert includes like <Windows.h> to lowercase
...
There is header file windows.h, not Windows.h.
MinGW on Linux build machine is filename case-sensitive.
9 years ago
Vladimir Golovnev (qlassez)
12c151eb69
Save RSS cookies to common cookie storage
...
Closes #4305
9 years ago
sledgehammer999
c700b8c5c5
Move the 'qBittorrent-resume' file even when no magnets were recovered. Also make sure to rename it with a unique name. Closes #4334 .
9 years ago
Vladimir Golovnev (qlassez)
0bffa066db
Make DownloadManager to save/load cookies
9 years ago
d3fault
07599b5923
Add 'never show again' checkbox/pref to auto-exit confirm dialog
9 years ago