Commit graph

141 commits

Author SHA1 Message Date
Chocobo1
c907a2f857 Cleanup headers
Code formatting
2016-05-18 00:46:43 +08:00
Chocobo1
6ead0ae9ee Add lookup function to get PathType display names 2016-05-18 00:46:43 +08:00
sledgehammer999
4ca1a2d5aa Merge pull request #5251 from Chocobo1/text
Improve wordings
2016-05-16 11:50:44 -05:00
Chocobo1
6ea89bf621 Improve wordings in "Auto download torrent" section 2016-05-16 14:29:59 +08:00
Eugene Shalygin
47a3f1d93d Fix a typo in TorrentFileGuard 2016-05-13 00:12:33 +02:00
Eugene Shalygin
6e73fa80b8 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-05-09 11:52:36 +02:00
sledgehammer999
9c5a5fc83d Merge pull request #3908 from Chocobo1/rm_nsort
Replace `naturalSort()` with `naturalCompare()`.
2016-05-08 11:12:51 -05:00
Chocobo1
5906a4a2de Add case-sensitive & case-insensitive natural sort helper function
Fix helper function not being thread-safe
Use QBT_USES_QT5 define
2016-05-08 23:59:06 +08:00
Chocobo1
a81cf1ea16 Fix "IP Filtering - Apply to trackers" wasn't being applied. Closes #5217. 2016-05-08 20:46:58 +08:00
Chocobo1
d25430f377 Cleanup headers
Move `class NaturalCompare` to .cpp file
2016-05-04 16:35:26 +08:00
sledgehammer999
9f31b0ef4d Merge pull request #4959 from evsh/small-fix-for-settings-storage
refactor SettingsStorage class
2016-05-03 10:37:49 -05:00
sledgehammer999
f6ff680295 Merge pull request #5205 from evsh/cmake
cmake: fix powermanagement compilation
2016-05-03 08:28:04 -05:00
Eugene Shalygin
565847ceb3 cmake: add Qt::DBus library dependency for base module
This is needed for powermanagement and was mistakenly forgotten
2016-05-01 02:54:53 +02:00
sledgehammer999
0143799623 Don't show added torrent notification during startup. 2016-04-30 01:38:24 +03:00
sledgehammer999
ef6e848756 Display notifications when a torrent is added. Closes #334 and #915. 2016-04-25 20:07:26 +03:00
Vladimir Golovnev (Glassez)
56287173b1 Fix .!qB extension is added when disabled 2016-04-25 15:30:41 +03:00
Vladimir Golovnev (Glassez)
b8c703b8b0 Use truncated torrent hash in temp path 2016-04-25 08:39:36 +03:00
Vladimir Golovnev (Glassez)
850556fdfa Use unique temp directories
Save torrent in temp_path/<torrent_hash> directory.
Closes #5154.
2016-04-25 08:39:36 +03:00
sledgehammer999
4ebb12e06b Merge pull request #5141 from glassez/recheck
Fix torrent adding with existing data
2016-04-24 12:41:50 -05:00
Eugene Shalygin
3f53f17411 cmake: raise minimal cmake version to 3.5 and use its features 2016-04-23 02:02:13 +02:00
Vladimir Golovnev (Glassez)
2fb6bb00bf Fix rechecking after torrent is finished 2016-04-20 15:45:15 +03:00
Vladimir Golovnev (Glassez)
e0d9ae3116 Try to find incomplete files for new torrent 2016-04-20 15:45:03 +03:00
Eugene Shalygin
473e23f992 cmake: add imported target for Libtorrent 2016-04-18 21:23:03 +02:00
Chocobo1
626a224382 Minor code formatting 2016-04-18 14:27:44 +08:00
Chocobo1
d65ff87148 Replace naturalSort() with naturalCompare(). 2016-04-18 14:27:44 +08:00
Vladimir Golovnev (Glassez)
8e9b0d97ec Fix torrent adding with existing data 2016-04-18 08:30:49 +03:00
Chocobo1
fbc002f212 Enable access to shutdown functions when configured with --disable-gui option 2016-04-18 00:45:37 +08:00
sledgehammer999
2d0b9e6538 Merge pull request #5111 from Chocobo1/refactor_shutdowndlg
Cleanup shutdowndlg
2016-04-17 11:23:07 -05:00
Chocobo1
a12d82524a Fix class member initialize order 2016-04-16 12:31:41 +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
sledgehammer999
32490f1ef6 Merge pull request #4995 from Chocobo1/border
Search UI tweaks
2016-04-13 07:11:31 -05:00
Vladimir Golovnev (Glassez)
a9e63283cc Use nova2dl.py script instead of DownloadManager
Closes #5026
2016-04-13 08:06:06 +03:00
Chocobo1
a52f9d4ef9 [Search] Add seperator for categories & plugins
Sort categories & plugins entries
Rename & reorder entries
Use full name for plugins
2016-04-12 16:14:08 +08:00
Vladimir Golovnev (Glassez)
c982813acb Create basic cookies management dialog 2016-04-11 19:14:28 +03:00
Eugene Shalygin
cc09e7e834 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-04-05 18:43:00 +02:00
Eugene Shalygin
1336cb7a61 Implement search filters in the proxy model. Partially closes #972 2016-04-04 02:09:32 +02:00
Eugene Shalygin
1d6a1db491 cmake: make it compile on OS X 2016-03-28 19:59:11 +02: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
Chocobo1
851d97d95e Fix "caja" file manager opens the file instead of opens the directory. Closes #5003.
Now it opens the directory correctly.
2016-03-27 16:41:34 +08:00
sledgehammer999
d721939d5f Use SettingsStorage instead. 2016-03-26 01:50:13 +02:00
sledgehammer999
663791fac2 Raise the max log entries limit. 2016-03-26 01:39:13 +02:00
sledgehammer999
1058572c8a Implement file logger. 2016-03-26 01:39:13 +02:00
sledgehammer999
73832a5ed8 Add ability to filter log messages by type. 2016-03-26 01:39:13 +02:00
Chocobo1
09194f8e1b TravisCI: switch to Trusty image. Closes #4953.
Drop workaround for gcc-4.8
2016-03-21 00:24:30 +08:00
sledgehammer999
8c83fd5e24 Merge pull request #4916 from funkydude/master
Move some URLs overs to HTTPS
2016-03-14 12:15:46 -05:00
funkydude
268a5a95c8 Move some URLs overs to https 2016-03-14 17:01:51 +00:00
sledgehammer999
2efdddb9af Always delete partfile (libtorrent 1.1.x). 2016-03-14 14:53:14 +02:00
sledgehammer999
8c36f753f9 Merge pull request #4867 from evsh/peers-show-files
Show downloading files in peers list. Attempt #2
2016-03-13 19:14:48 -05:00
Chocobo1
e7ff5eb6b1 Minor refactor 2016-03-09 14:08:44 +08:00