Eugene Shalygin
d6829b253b
Fix a typo in TorrentFileGuard
2016-06-20 02:02:45 +03:00
Eugene Shalygin
c1291539bf
uncrustify: add constructor initialization list options
2016-06-20 02:02:45 +03:00
Eugene Shalygin
3060c979f4
Add option to automatically remove .torrent files upon adding
...
Some browsers do not download files, intended for immediate opening,
into a temporary directory, and thus a regular download directories
accumulate those unneeded files.
The option allows qBittorrent to clean after itself and delete those
files whether they were succesfully added or not (user-selectable
policy).
2016-06-20 02:02:41 +03:00
sledgehammer999
d71a18b945
Update definition of QBT_USES_QT5 to be true for qt >= 5.2.0
2016-06-20 02:01:34 +03:00
Chocobo1
4078fc5e2d
Add case-sensitive & case-insensitive natural sort helper function
...
Fix helper function not being thread-safe
Use QBT_USES_QT5 define
2016-06-20 02:01:34 +03:00
Chocobo1
b7cb53a251
Cleanup headers
...
Move `class NaturalCompare` to .cpp file
2016-06-20 02:01:33 +03:00
Chocobo1
275a775769
Minor code formatting
2016-06-20 02:01:33 +03:00
Chocobo1
1c49ff1df6
Sort labels with naturalCompare()
. Closes #3919 .
2016-06-20 02:01:18 +03:00
Chocobo1
fc77fdbcb5
Replace naturalSort()
with naturalCompare()
.
2016-06-20 02:01:18 +03:00
Chocobo1
e0e757b610
Use qmake built-in test function files
to locate translation files
2016-06-20 02:01:18 +03:00
Chocobo1
33fe9b6d87
Use POSIX shell
2016-06-20 02:01:17 +03:00
Chocobo1
fca78d1a3f
Re-enable cache for linux builds
...
Enable cache for OSX builds
2016-06-20 02:01:17 +03:00
Chocobo1
92794a786f
Suppress warning on OSX builds
2016-06-20 02:01:17 +03:00
zywo
08d9ad7f80
Set about tab font-size to default
2016-06-20 02:01:16 +03:00
Chocobo1
6023093329
Fix "IP Filtering - Apply to trackers" wasn't being applied. Closes #5217 .
2016-06-20 02:01:16 +03:00
Eugene Shalygin
c070193c30
uncrustify: honour pointer and reference symbols alignment rules
...
Stick the '*' and '&' symbols to the variable name if there is one.
Also fix empty function bodies collapse option: replace it with the
eat_blanks_before_close_brace setting.
2016-06-20 02:01:16 +03:00
Eugene Shalygin
633fb7a7de
refactor SettingsStorage class
...
1. Extract "transaction" support for QSettings into separate class
TransactionalSettings.
2. Define macrto with explicit name for the case when this "transaction"
support is needed.
3. A bit optimize QHash <-> QSettings copying: replace assign with
insert() and remove repetitive key lookups.
4. In save() check dirty status before getting the lock too.
The changes from items 1 and 2 make text more structured and the logic
of the SettingsStorage class gets separated from the implementation level
task of guarding the settings serialization. The changes in 3 and 4 do not
make the app much faster, but neither make any harm to the code readability.
2016-06-20 02:01:15 +03:00
Eugene Shalygin
14a37e8d45
cmake: add Qt::DBus library dependency for base module
...
This is needed for powermanagement and was mistakenly forgotten
2016-06-20 02:01:15 +03:00
Eugene Shalygin
d03a71899e
cmake: mark libtorrent and qtsingleapplication include dirs as system
2016-06-20 02:01:15 +03:00
sledgehammer999
283338f5f3
Don't show added torrent notification during startup.
2016-06-20 02:01:15 +03:00
sledgehammer999
b600253313
Display notifications when a torrent is added. Closes #334 and #915 .
2016-06-20 02:01:14 +03:00
Vladimir Golovnev (Glassez)
c97b5ab617
Fix .!qB extension is added when disabled
2016-06-20 02:01:14 +03:00
Vladimir Golovnev (Glassez)
9016b698c9
Use truncated torrent hash in temp path
2016-06-20 02:01:14 +03:00
Vladimir Golovnev (Glassez)
eb7a7b9c04
Use unique temp directories
...
Save torrent in temp_path/<torrent_hash> directory.
Closes #5154 .
2016-06-20 02:01:13 +03:00
Eugene Shalygin
9e0a3ee692
cmake: reflect qmake project changes
2016-06-20 02:00:51 +03:00
ngosang
c899ed5b50
Fix duplicate network interfaces. Closes #5131
2016-06-20 02:00:50 +03:00
Vladimir Golovnev (Glassez)
a6c50aff95
Delete Import Torrent Dialog
2016-06-20 02:00:50 +03:00
Vladimir Golovnev (Glassez)
ab4a608342
Fix rechecking after torrent is finished
2016-06-20 02:00:50 +03:00
Vladimir Golovnev (Glassez)
e7cfd7a31d
Try to find incomplete files for new torrent
2016-06-20 02:00:49 +03:00
Vladimir Golovnev (Glassez)
c4ea13b284
Fix torrent adding with existing data
2016-06-20 02:00:49 +03:00
Chocobo1
5d09639109
Fix mutually exclusive radio buttons can be unselected.
2016-06-20 02:00:49 +03:00
Chocobo1
885f5b4bee
Enable word wrap for "Run external program" help text
2016-06-20 02:00:49 +03:00
Chocobo1
3cd06c457a
Fix toolbar resizing when m_searchFilter appears/disappears. Closes #5120 .
2016-06-20 01:53:08 +03:00
Chocobo1
373e22660d
Disable comboHideZero
when checkHideZero
is unchecked.
...
Disable `checkLimituTPConnections` when `checkuTP` is unchecked.
Minor code formatting
2016-06-20 01:53:08 +03:00
Chocobo1
92f58a40e7
Morph QToolButton to QPushButton
2016-06-20 01:53:07 +03:00
Chocobo1
dbf5a264bd
Fix path to resource
2016-06-20 01:52:54 +03:00
ngosang
145dcf9efe
[Search engine] Fix LegitTorrents plugin
2016-06-20 01:52:54 +03:00
ngosang
f05e25c750
[Search engine] Fix Mininova plugin
2016-06-20 01:52:54 +03:00
ngosang
fc02377171
[Search engine] Fix Torrentz plugin for Python2
2016-06-20 01:52:53 +03:00
Eugene Shalygin
3816052b0a
Add "slots" to WORDS keyword.
...
Uncrustify inserts line break between an access specifier and "slots".
However, it keeps these words combinations if "Q_SLOTS" is used.
Its built-in parser classifies "Q_SLOTS" as WORD token, thus let's add
"slots" to that class.
2016-06-20 01:52:53 +03:00
ngosang
fae583e0da
Fix Add tracker dialog URL download
2016-06-20 01:52:53 +03:00
ngosang
1114c198ca
Fix Add tracker dialog empty trackers
2016-06-20 01:52:52 +03:00
Eugene Shalygin
c5f9567c0b
cmake: raise minimal cmake version to 3.5 and use its features
2016-06-20 01:52:52 +03:00
Eugene Shalygin
e9a5768e4f
cmake: drop explicit Boost dependency
...
We get it implicitly from libtorrent
2016-06-20 01:52:52 +03:00
Eugene Shalygin
858e5f8db8
cmake: add imported target for Libtorrent
2016-06-20 01:52:51 +03:00
Vladimir Golovnev (Glassez)
0afa83dbfa
Add coding style rule for header inclusion order
2016-06-20 01:52:51 +03:00
ngosang
fc95ce310e
Fix Update all button height in RSS tab
2016-06-20 01:52:51 +03:00
ngosang
e2c9e7b877
Minor change in Stats dialog
2016-06-20 01:52:51 +03:00
sledgehammer999
b1e62ca006
Display the filepath when a torrent fails to load. Closes #100 and #805 .
2016-06-20 01:52:50 +03:00
Jerome Leclanche
a063ebd396
LICENSE: Fix mixed indenting
2016-06-20 01:52:50 +03:00