Commit graph

8523 commits

Author SHA1 Message Date
Vladimir Golovnev
3a0e5e51df
Merge pull request #8761 from thalieht/nullptr
Replace the zeroing of pointers with nullptr
2018-05-08 17:10:37 +03:00
Vladimir Golovnev
48bdd5fa86
Merge pull request #8855 from glassez/fix-prio-api
Fix wrong API method names. Closes #8828
2018-05-08 07:07:31 +03:00
Mike Tzou
7242d68c4b
Merge pull request #8854 from Chocobo1/gcc8
Fix compile warnings on gcc 8
2018-05-08 11:57:49 +08:00
Vladimir Golovnev (Glassez)
85dd446198
Fix wrong API method names
Closes #8828.
2018-05-07 17:46:01 +03:00
Chocobo1
58861c35b0
Fix compile warnings on gcc 8
The warning was:
warning: catching polymorphic type ‘class std::exception’ by value
[-Wcatch-value=]
2018-05-07 21:39:54 +08:00
Mike Tzou
7aa18dbb22
Merge pull request #8832 from Chocobo1/tr
Fix translations
2018-05-07 14:30:44 +08:00
Chocobo1
203bafc4c3
Revert commit
Apparently the translations were working in previous state, but affected by
lupdate issue:
https://github.com/qbittorrent/qBittorrent/issues/8220#issuecomment-385712673

The reverts commit fb698896c9.
Closes #8831.
2018-05-05 21:46:36 +08:00
Chocobo1
9f809114f0
Really fix translation in fspathedit
QT_TRANSLATE_NOOP3 is a macro, so we cannot use a runtime string for the context
argument.
Fix up 1d778676cd.
2018-05-05 21:09:47 +08:00
Chocobo1
d20f40184f
Fix translation strings not found
The translation context doesn't exist, so the translations were not found, fixed
now.
Closes #8829.
2018-05-05 21:08:47 +08:00
Mike Tzou
d8c14ffe97
Merge pull request #8814 from Chocobo1/tr_fix
Fix tr() related issues
2018-05-05 13:48:09 +08:00
sledgehammer999
c5472edc6f
Bump to v4.2.0alpha 2018-05-05 00:53:20 +03:00
sledgehammer999
400743fc64
Update Changelog 2018-05-05 00:51:24 +03:00
sledgehammer999
ea8c57be23
Sync translations from Transifex and run lupdate 2018-05-05 00:39:47 +03:00
sledgehammer999
591cde53cf
Merge pull request #8825 from sledgehammer999/fix_tabs
Add RSS/Log widgets to the QTabWidget on macOS
2018-05-04 23:59:07 +03:00
sledgehammer999
90bb67c654
Add RSS/Log widgets to the QTabWidget on macOS
Fixes commit a468c84b30
2018-05-04 19:56:42 +03:00
sledgehammer999
8f7fda492c
Sync translations from Transifex and run lupdate
Closes #8220 #8169
2018-05-01 18:50:24 +03:00
Chocobo1
e423314ac2
Work around false-positive warning from lupdate
In short, lupdate will get confused when seeing `template <class T>`,
see: QTBUG-55478
2018-05-01 23:28:34 +08:00
sledgehammer999
f92d85c536
Merge pull request #8813 from Chocobo1/tr
Fix untranslated string
2018-05-01 17:59:49 +03:00
Chocobo1
9fabe59b80
Fix usage of Q_DECLARE_TR_FUNCTIONS()
The context parameter shouldn't be enclosed in double quotes.
2018-05-01 22:42:55 +08:00
sledgehammer999
55c98d8706
Merge pull request #8811 from sledgehammer999/fix_RC_1_0
Fix compilation against libtorrent 1.0.x
2018-05-01 15:04:25 +03:00
sledgehammer999
6e94b03c13
Fix compilation against libtorrent 1.0.x
Closes #8798
2018-05-01 10:39:53 +03:00
Mike Tzou
e3a82d4614
Merge pull request #8347 from FranciscoPombal/new_contributing_guidelines
New CONTRIBUTING.md, based on the old one, Atom's and uBlock Origin's
2018-05-01 12:00:13 +08:00
Chocobo1
c61f641613
Fix untranslated string
Closes #8809.
2018-05-01 11:49:10 +08:00
sledgehammer999
b64a51337e
Update Changelog 2018-04-28 10:33:32 +03:00
sledgehammer999
19dcf7851b
Sync changelog entries from v4_0_x branch 2018-04-28 10:31:58 +03:00
sledgehammer999
fb346e15e8
Sync translations from Transifex and run lupdate 2018-04-27 02:04:37 +03:00
Mike Tzou
827d8c0dad
Merge pull request #8748 from Chocobo1/header
Clarify header inclusion order
2018-04-26 23:41:58 +08:00
Mike Tzou
beef041e71
Merge pull request #8773 from Chocobo1/log
Fix path separator in log messages
2018-04-25 12:58:32 +08:00
Chocobo1
8b575484e6
Fix path separator in log messages 2018-04-24 01:02:54 +08:00
FranciscoPombal
d4b77a6541
Revise CONTRIBUTING.md
New version is based on old one, Atom's and uBlock Origin's.
2018-04-24 00:56:46 +08:00
sledgehammer999
4ba6334506
Update libtorrent bottle for Travis macOS 2018-04-22 22:42:23 +03:00
sledgehammer999
b78899cb9a
Merge pull request #8724 from Chocobo1/rand
Use RNG provided by OS
2018-04-22 22:33:16 +03:00
Mike Tzou
0dec7b9f4f
Merge pull request #8742 from tostercx/master
Add "Preserve file order" option to torrent creator. Closes #5652
2018-04-22 23:33:25 +08:00
Chocobo1
81a4f3ced0
Use RNG provided by OS
The general consensus is to use random facility provided by OS instead
of using other software random generators.
2018-04-20 23:34:46 +08:00
Vladimir Golovnev
b155b8609f
Merge pull request #8767 from glassez/fix-legacy-api
Fix pauseAll/resumeAll legacy API methods. Closes #8766
2018-04-20 15:39:57 +03:00
Chocobo1
970ad7cf28 Sort filenames when creating torrent
First all dir paths are retrieved, then filenames in each path
are retrieved and sorted, then concatenate the sorted filenames together.
2018-04-20 14:35:48 +03:00
toster
c4625f50a8 Pass isAlignmentOptimized flag to piece size calculation 2018-04-20 14:31:20 +03:00
Vladimir Golovnev (Glassez)
001bd38557
Fix pauseAll/resumeAll legacy API methods
Closes #8766.
2018-04-20 14:30:25 +03:00
Mike Tzou
7aae915a68
Merge pull request #8754 from Chocobo1/fix
Fix memory leak
2018-04-19 11:42:01 +08:00
Chocobo1
5f1ac96f66
Clarify header inclusion order 2018-04-18 13:56:40 +08:00
Chocobo1
68c2d81072
Fix memory leak 2018-04-17 20:34:01 +08:00
Chocobo1
4dea03fc74
Remove unused constants 2018-04-17 20:29:43 +08:00
thalieht
3e4099fe5b Replace the zeroing of pointers with nullptr 2018-04-15 13:06:31 +03:00
Mike Tzou
a70942ed53
Merge pull request #8598 from Piccirello/limit-share-ratio
WebUI Add Limit Share Ratio context menu option
2018-04-15 00:39:27 +08:00
Mike Tzou
7e8c72f424
Merge pull request #8732 from Chocobo1/rename
Fix renaming completed files
2018-04-15 00:39:00 +08:00
toster
e538eae726 Make alignment optimization optional
Disabling alignment optimization allows preserving file order in torrent
files and closes #5652
2018-04-14 06:46:41 +03:00
Chocobo1
898239a42e
Fix renaming completed files
Check whether the file is already downloaded before appending QB_EXT to
filename.

Closes #8039.
2018-04-12 14:13:59 +08:00
Mike Tzou
1055cc0f45
Merge pull request #8691 from Chocobo1/js
Partially revert "Remove unused JavaScript library"
2018-04-12 00:07:37 +08:00
Thomas Piccirello
9f36b54b04
WebUI Add Limit Share Ratio context menu option
Closes #6815, #7602.
2018-04-11 23:45:54 +08:00
Thomas Piccirello
1f42ab8c4f
Remove unused/superfluous variables 2018-04-11 23:45:54 +08:00