Chocobo1
46ee193cd8
Restrict QLocalServer access
...
The default is world access which means even even unprivileged local
accounts can connect to it too.
6 years ago
Chocobo1
6119cb370f
Drop suspiciously large data
...
This is to avoid exhausting system memory.
6 years ago
Chocobo1
d0bfe9a661
Adjust open file descriptor limit on startup
...
This raises qbt's open file descriptor limit to the available maximum
(within user privileges) and thus users don't need to adjust it
manually anymore.
6 years ago
silverqx
4f4f435e76
Add zlib version to GUI & stackdump
6 years ago
Chocobo1
6738cdd715
Constify exception references
6 years ago
sledgehammer999
f403fdb2e8
Remove wrong ifdef
6 years ago
Chocobo1
b7d739ab3f
Fix build error
...
Apparently the function is not available on Windows platforms.
6 years ago
Chocobo1
874bc84efc
Remove excessive usage of pointer
6 years ago
Chocobo1
a3019f56b0
Clean up code
6 years ago
knackebrot
c7b451b18f
Allow headless builds on Windows
...
Daemonizing is disabled because no direct equivalent exists in win32.
6 years ago
Chocobo1
adbd34c795
Move helper functions to Utils::Gui namespace
6 years ago
sledgehammer999
5c63ad3b95
Raise minimum Qt version to 5.9.0
6 years ago
Peter Eszlari
9f250713d2
Linux/Wayland: make window title bar icon work
6 years ago
thalieht
89dce36e98
Use uniform initialization on some default arguments
6 years ago
Chocobo1
e5dca50025
Convert to use private pointer for ui object
6 years ago
Chocobo1
5e3fddf456
Replace QScopedPointer with std::unqiue_ptr
...
These 2 types are very similar and we should prefer the one from C++
standard library, this reduces the number of types in our code base.
Also see:
https://stackoverflow.com/questions/40346393/should-i-use-qscopedpointer-or-stdunique-ptr#comment67966940_40346991
6 years ago
thalieht
9959a901fe
Replace deprecated header 'signal.h' with 'csignal'
6 years ago
thalieht
d8cbc9266a
Use 'auto' to avoid duplicating the type name
6 years ago
thalieht
8a3f942385
Don't use 'else' after return/break
6 years ago
thalieht
ca3ce87e06
Add const to many vars and arguments
...
Also remove const in declarations' arguments that are passed by value
6 years ago
Chocobo1
52de31ac79
Add migration code for WebUI https related change
6 years ago
Chocobo1
48d358872f
Cleanup header inclusion
6 years ago
Chocobo1
04227f5a41
Add QBT_APP_64BIT define
...
Now we use QT_POINTER_SIZE to detect CPU bitness, it has the advantage of applicable to all CPU
architectures not limiting to x86 arch.
6 years ago
Chocobo1
6d7e5f82ae
Include the correct header
...
And remove the unused ones
6 years ago
Chocobo1
cf4db1b418
Remove useless exception handling
6 years ago
sledgehammer999
1fff760722
Drop upgrade code
6 years ago
Chocobo1
2a84345835
Mark constructors as explicit
6 years ago
Vladimir Golovnev (Glassez)
7b3eed323b
QMake: Compile translations at build time
6 years ago
Chocobo1
f13bcbd772
Add OpenSSL version to GUI & stackdump
6 years ago
Vladimir Golovnev (Glassez)
89deccd9b5
Show error message when Session failed to start
6 years ago
Chocobo1
593052dd93
Revise startup message in nox version
...
Only print the WebUI username when password is still the default.
6 years ago
Chocobo1
05d6a29416
Apply PBKDF2 when storing passwords
6 years ago
thalieht
1f36b8b89f
Combine qAsConst() with copyAsConst() to asConst()
6 years ago
thalieht
6b1d26d555
Convert all foreach() to range-based for()
6 years ago
thalieht
d668a4fe6d
Fix coding style for various things
6 years ago
Thomas Piccirello
4885fe6b4c
Only instantiate SearchPluginManager as needed
6 years ago
Eugene Shalygin
e590fff2fe
cmake: restore out-of-source build
...
Qt translations have to be compiled in a shared library or executable,
and since we use static libraries for the components, webui translation
files have to be compiled into the main executable.
6 years ago
Chocobo1
79dae55a61
Fix GUI scaling issue on Linux
...
It seems `QT_AUTO_SCREEN_SCALE_FACTOR` doesn't work as expected.
Closes #6935 .
6 years ago
Chocobo1
0217d5b4c0
Replace single-character string with character literal
...
Also remove unnecessary dynamic allocation.
6 years ago
Thomas Piccirello
b2ffd6e03b
Instantiate SearchPluginManager with other application components
6 years ago
sledgehammer999
de8050701d
Revert email address changes in copyright notices
6 years ago
thalieht
456270bbb1
Delete several unused #include
7 years ago
thalieht
d34ddb2e3c
Change file names and classes names to match them
7 years ago
thalieht
4022799881
Fix coding style
7 years ago
Chocobo1
5b7c089dd2
Move qm_gen.pri
7 years ago
Chocobo1
26a4703398
Move .qrc files into its own directory
7 years ago
Eugene Shalygin
fa770871e9
Refactor CMake build scripts
...
1. Use FeatureSummary module to show configuration results.
2. Invert option()/find_package() relationship: instead of
calling find_package(... REQUIRED) when option is set, rely on optional
find package call and PackageName_FOUND variable.
3. Refactor handling options that result in simple preprocessor defines
(actually copy the snippet from libtorrent) so that everything is done
in a single function call.
4. Populate target properties in order to get rid of
include_directories() calls.
7 years ago
thalieht
356d6a6589
Fix coding style
7 years ago
Chocobo1
09f759355f
Replace QRegExp with QRegularExpression
...
Revise `static` keyword usage, static is added to frequently used
instances.
7 years ago
Chocobo1
c22e6b4502
Cleanup header include order
...
Add missing header.
Cleanup license.
7 years ago