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
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
sledgehammer999
56605cd0c3
Merge pull request #4865 from Chocobo1/os_name
...
Shorten crash report on windows
2016-03-04 17:27:48 -06:00
Vladimir Golovnev (Glassez)
dd34663224
Implement Advanced Saving Management subsystem
...
Closes #4696
2016-03-04 19:59:53 +03:00
Vladimir Golovnev (Glassez)
d05d5a85a5
Move Preferences backend code into SettingsStorage class
...
Closes #4764
2016-03-04 08:39:00 +03:00
Eugene Shalygin
64daecb266
add basic cmake support
2016-02-29 12:53:43 +01:00
Chocobo1
d0e31adaf7
Create helper function to get libtorrent version
2016-02-28 17:47:43 +08:00
Chocobo1
12627bbc10
Create helper function to get boost version
2016-02-28 17:47:42 +08:00
Chocobo1
498f5e3877
Create helper function to get OS name
2016-02-28 13:23:06 +08:00
Chocobo1
7b2fab411c
Comment out "List of linked Modules" section in windows crash report.
...
It is bloating the crash report with unhelpful messages.
2016-02-27 05:42:48 +08:00
sledgehammer999
cd85d00b3b
Merge pull request #4251 from Chocobo1/200_scaling
...
Fix incorrectly displayed UI elements on Windows
2016-02-16 15:12:54 -06:00
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 .
2016-02-16 11:39:25 +08:00
Chocobo1
e35a7ef9d3
Move statusbar styelsheet to where it belongs
2016-02-16 11:39:23 +08:00
sledgehammer999
f37aed868e
Merge pull request #4744 from Chocobo1/splash_scrn
...
Fix potential race condition in showSplashScreen()
2016-02-09 09:50:22 -06:00
sledgehammer999
958b70e4ac
Merge pull request #4403 from glassez/fastresume
...
Improve .fastresume saving and torrents starting up. Closes #4315 .
2016-02-05 12:06:58 -06:00
Chocobo1
48d2beece5
Fix potential race condition. Closes #4742 .
2016-02-04 00:39:10 +08:00
Vladimir Golovnev (Glassez)
057cbed204
Fix upgrade corrupted fastresume file
2016-02-01 09:20:28 +03:00
sledgehammer999
193913129f
Merge pull request #4360 from Chocobo1/signal_fix
...
Simplify signal handler
2016-01-28 16:08:49 -06:00
sledgehammer999
0d32b9a692
Fix splash screen staying on top of all windows. Closes #1391 .
2016-01-25 15:59:20 +02:00
Chocobo1
4a3d9029d1
Add #include guard
2016-01-22 01:36:11 +08:00
Chocobo1
ef75ae4aee
Try to concat most of the string at compile time
...
The lesser unsafe code in signal handler the better
Add license
2016-01-22 01:36:11 +08:00
Chocobo1
5c8a4b3912
Simplify signal handler
...
Try to use signal-safe functions as much as possible
Closes #3995
Define sys_signame[] ourselves on linux
2016-01-22 01:36:11 +08:00
Vladimir Golovnev (qlassez)
a5780dd66c
Switch to using previous fastresume file names
2016-01-16 14:36:56 +03:00
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.
2016-01-05 23:29:26 +03:00
sledgehammer999
52d08f7112
Merge pull request #4413 from glassez/dlmgr
...
Improve Download Manager. Closes #4305
2016-01-05 10:10:08 -06:00