Chocobo1
5905c085c6
Use systematic approach to generate hash
...
The basic idea is to hash each class member and then mix them with xor
operation.
However the `seed` must be handled with care, it should only be
introduced once when mixing the hashes of each class member, otherwise
under some circumstances the `seed` might xor with itself and thus break
the intended effect.
5 years ago
Chocobo1
1740f968df
Revise qHash function
...
Instead of xor and narrowing the integers ourselves, now we let qHash()
from Qt do the job properly.
5 years ago
Chocobo1
2b4490d8a7
Use faster hash function
...
qHash(QString) will need to hash/loop through all the data while the new
code will only need one memcpy() and a few bit manipulations.
5 years ago
Vladimir Golovnev
07c22f8c87
Merge pull request #11914 from glassez/fix-hide-zeroes
...
Fix hide zero values
5 years ago
Vladimir Golovnev (Glassez)
666e733a4a
Track settings changed event in TransferListModel
5 years ago
Vladimir Golovnev (Glassez)
099943ea3c
Fix hide zero values
5 years ago
Mike Tzou
c3ce1aaa3d
Merge pull request #11903 from Sakib-Abrar/gui-improvement
...
Show "∞" instead of " -1" in Preferences
5 years ago
Vladimir Golovnev
89e72b38ea
Merge pull request #11881 from glassez/extension
...
Simplify torrent startup handling
5 years ago
Sakib-Abrar
1768570bf9
Show "∞" instead of " -1" in Preferences
5 years ago
Vladimir Golovnev (Glassez)
f2285e1b63
Redesign torrent startup handling
5 years ago
Mike Tzou
01ad8a443c
Merge pull request #11892 from NotTsunami/cmake
...
CMake: Further CMake improvements and fixes
5 years ago
Vladimir Golovnev
75ebd54ea3
Merge pull request #11088 from jagannatharjun/organize-style
...
Reorganize UI theme selection
5 years ago
NotTsunami
b21ed0063b
CMake: Fix WebUI checks
...
When the CMake system was last revamped, the configure variable was
changed from WEBUI to DISABLE_WEBUI, but we are still checking
against WEBUI. This behavior was changed in fa770871e9
5 years ago
NotTsunami
f066d8d786
CMake: Remove glibc version detection
...
If we were conditionally enabling _BSD_SOURCE or _SVID_SOURCE, I can
understand trying to play nice with the compiler and only pass as
needed, however this is not the case and glibc <= 2.19 will not care
that we are passing _DEFAULT_SOURCE. This removes an unnecessary
build step and gives us less to maintain from a build system
perspective.
Small cosmetic changes to MacroQbtCompilerSettings are included.
5 years ago
Prince Gupta
c9e162cf8a
Reorganize UI theme selection
5 years ago
NotTsunami
b7f2122c06
CMake: Remove duplicate MSVC check
...
As of this commit, L98 of winconf.cmake already checks for MSVC
before winconf-msvc calls this macro, so we are guaranteed to be
satisfy the check.
5 years ago
Mike Tzou
9f9868bd79
Merge pull request #11886 from Chocobo1/deprecate
...
Migrate away from deprecated settings
5 years ago
Chocobo1
3fce1db2eb
Migrate away from deprecated settings
...
Libtorrent has deprecated `upnp_ignore_nonrouters` in
https://github.com/arvidn/libtorrent/pull/4251
5 years ago
Mike Tzou
b0844800b8
Merge pull request #11870 from NotTsunami/master
...
CMake: Remove additional debugging compiler flags
5 years ago
NotTsunami
451585b5de
CMake: Remove additional debugging compiler flags
...
Our previous setup lead to two unintended consequences:
* Debug flags were included in both release and debug builds instead
of just debug builds
* Clang doesn't support -gX (where X is the level of debugging
optimization), but we checked for -Og support instead
This commit avoids both of these scenarios by removing the additional
flags altogether. Partial resolution to #11856 .
5 years ago
Mike Tzou
e27c9bd020
Merge pull request #11871 from NotTsunami/bitwise
...
WebUI: Use correct operators in logical expressions
5 years ago
Mike Tzou
146e8213a5
Merge pull request #11781 from FranciscoPombal/piece_extent_affinity
...
Add piece_extent_affinity to AdvancedSettings
5 years ago
Vladimir Golovnev
990e451765
Merge pull request #11865 from shemanaev/fix/webui-files-rename
...
WebUI: Fix first row renaming in files tab
5 years ago
FranciscoPombal
df2fbb1edc
Bump Web API version
5 years ago
FranciscoPombal
f4742a98c5
Add stalled filters to GUI and Web API/UI
...
`/api/v2/torrents/info` can now take the following new values for the`filter` parameter: `stalled`, `stalled_uploading` and `stalled_downloading`.
Requires Web API version bump.
Closes #11787
5 years ago
NotTsunami
82047104fc
WebUI: Use correct operators in logical expressions
...
As suggested in https://github.com/qbittorrent/qBittorrent/pull/11825#discussion_r365557626
5 years ago
FranciscoPombal
ed96a07a75
Add piece_extent_affinity to AdvancedSettings
...
Expose option in WebUI settings and WebAPI.
Requires WebAPI version bump.
Closes #11436 .
5 years ago
Denis
a7eb792372
WebUI: Fix first row renaming in files tab
...
Ids started from zero and first row converts to false.
Closes #11826 .
5 years ago
Vladimir Golovnev
101ab3cf6c
Merge pull request #11864 from glassez/fix-sorting
...
Fix Transfer list sorting
5 years ago
Mike Tzou
1592eb7be7
Merge pull request #11862 from Chocobo1/year
...
Bump copyright year and other fixes
5 years ago
Vladimir Golovnev (Glassez)
118debd6bf
Fix Transfer list sorting
5 years ago
Chocobo1
396660b031
Fix missing string
5 years ago
Chocobo1
2e4584578b
Bump python version for new installation
5 years ago
Chocobo1
029795bc19
Bump copyright year
5 years ago
Mike Tzou
a124decdc5
Merge pull request #11848 from an0n666/stop_tracker_timeout_placement
...
Change stop tracker timeout settings placement
5 years ago
An0n
bf32e90c40
Change placement of stop tracker timeout
5 years ago
Mike Tzou
057860584c
Merge pull request #11834 from an0n666/an0n666-expose-stop-tracker-timeout
...
Expose stop tracker timeout in Advanced Settings (GUI + WebUI)
5 years ago
Mike Tzou
e2ac97a9e7
Merge pull request #11838 from Chocobo1/webui
...
Minor WebUI code cleanups
5 years ago
an0n666
3f223c3a45
Expose stop_tracker_timeout in advanced settings
5 years ago
sledgehammer999
45ed31fddc
Merge pull request #11733 from sledgehammer999/tracker_error_count
...
Tracker is errored only if all local endpoints fail
5 years ago
Vladimir Golovnev
dc8f4b776c
Merge pull request #11829 from thalieht/doubleclick
...
Allow double-click in preview dialog
5 years ago
Chocobo1
c556b20018
Remove unused variable
5 years ago
Chocobo1
c34883f9af
Add explicit semicolon
5 years ago
Chocobo1
0577cf588c
Remove duplicate line
5 years ago
sledgehammer999
02a027144b
Tracker is errored only if all local endpoints fail
...
Closes #11691
5 years ago
thalieht
c5177eae9f
Allow double-click in preview dialog
5 years ago
Vladimir Golovnev
7ceeea880e
Merge pull request #11798 from glassez/fix-recheck-loop
...
Save resume data after recheck. Closes #11774
5 years ago
Vladimir Golovnev (Glassez)
f56f817c77
Save resume data after recheck
...
Closes #11774 .
5 years ago
Mike Tzou
e906478a16
Merge pull request #11756 from FranciscoPombal/fix_webui_stats_race
...
WebUI: fix populating statistics window
5 years ago
Vladimir Golovnev
37d7323ac0
Merge pull request #11708 from glassez/transfer-list
...
Improve Transfer list architecture
5 years ago