1
mirror of https://github.com/qbittorrent/qBittorrent synced 2025-10-09 18:32:15 +02:00

Compare commits

...

192 Commits

Author SHA1 Message Date
sledgehammer999
89e21867f0 Merge pull request #832 from meequz/v3_0_x
Updated belarusian translation (v3_0_x)
2013-08-01 14:05:16 -07:00
Mikhail Varantsou
6eed5b8650 Updated belarusian translation (v3_0_x) 2013-08-01 11:34:59 +03:00
sledgehammer999
f13581b86e Merge pull request #827 from kraleksandr/v3_0_x
Translation of the new rows
2013-07-31 16:31:11 -07:00
sledgehammer999
32553f5361 Update Basque translation by aramendi. 2013-08-01 00:12:45 +03:00
kraleksandr
59591e8f02 Translation of the new rows 2013-07-30 10:35:08 +04:00
sledgehammer999
8cb3439422 Bump to v3.0.11 2013-07-29 21:01:36 +03:00
sledgehammer999
6eb2315f9a Updated translations. 2013-07-29 20:54:04 +03:00
sledgehammer999
6f5bc824e3 Updated changelog. 2013-07-29 20:34:57 +03:00
sledgehammer999
f56def1508 Updated NSIS script. 2013-07-29 20:32:06 +03:00
Nick Tiskov
e3ea8b0213 Don't force stacktrace with mingw 2013-07-29 20:15:26 +03:00
Nick Tiskov
a7056f5a66 Use Unicode for libtorrent alert messages.
Conflicts:
	src/qtlibtorrent/qbtsession.cpp
2013-07-29 20:15:05 +03:00
Nick Tiskov
601cb8bcfe Show delete action when multiple feeds are selected 2013-07-29 20:14:28 +03:00
Nick Tiskov
a7bf28b78f Enable edit/rename via F2 or double click in various places 2013-07-29 20:13:13 +03:00
constantined
afd7867151 Make possible to move file to .unwanted directory after downloading 2013-07-29 20:07:48 +03:00
sledgehammer999
f490ea9583 Remove unnecessary code from qbtsession. 2013-07-27 18:09:13 +03:00
sledgehammer999
eb4a61ac02 Updated spanish translation by alfrix. 2013-07-27 18:09:12 +03:00
sledgehammer999
d0aabafb72 Merge pull request #814 from meequz/v3_0_x
Update Belarusian translation on v3_0_x
2013-07-27 07:58:10 -07:00
sledgehammer999
cf301b865c Merge pull request #817 from kraleksandr/v3_0_x
Sync with master branch
2013-07-27 07:57:13 -07:00
kraleksandr
af0384b4ab Small fix for RU translation 2013-07-27 18:51:11 +04:00
kraleksandr
bd52ae74e6 Sync with master branch 2013-07-27 18:09:03 +04:00
meequz
f59bad7aba Update Belarusian translation on v3_0_x 2013-07-27 15:22:44 +03:00
Nick Tiskov
2c088df20b Rework travis script 2013-07-27 13:04:52 +03:00
sledgehammer999
d1347417db Updated translations. 2013-07-27 03:41:40 +03:00
sledgehammer999
7aab902a55 Convert misc class to a namespace instead.
Conflicts:
	src/misc.h
2013-07-27 03:41:39 +03:00
sledgehammer999
7f66b0c80e Add Travis CI script. 2013-07-27 03:41:38 +03:00
sledgehammer999
572098bab6 Updated Changelog. 2013-07-26 02:15:07 +03:00
sledgehammer999
f71c0f0a7e Use system language as default language. Closes #780. 2013-07-26 02:12:32 +03:00
Nick Tiskov
a069394d8c Fix kickass torrents search plugin 2013-07-26 02:12:22 +03:00
sledgehammer999
74a852e8a6 Update changelog. 2013-07-22 01:54:14 +03:00
sledgehammer999
8da508d107 Respect UI lock when clicking on tray notification. Closes #784. 2013-07-22 01:50:10 +03:00
sledgehammer999
94cf8ca5aa Allow more fine tuning of uploads. Closes #684.
Conflicts:
	src/preferences/options.ui
2013-07-22 01:50:09 +03:00
sledgehammer999
a85b16bf14 Fix text size problem on Windows with custom DPI. (closes #758)
On Windows FontMetrics seem to be broken when custom DPI is set by the user.
2013-07-21 23:01:39 +03:00
sledgehammer999
9120afa123 Sort invalid dates regardless of sorting order. 2013-07-21 22:12:42 +03:00
sledgehammer999
dabb47efb1 Optimize binary size under MSVC linker. 2013-07-21 21:58:26 +03:00
sledgehammer999
c9e71c3e19 Update NSIS croatian translation by delakroa. 2013-07-15 02:46:31 +03:00
sledgehammer999
9df25098b3 Updated NSIS spanish translation by alfrix. 2013-07-14 14:59:36 +03:00
sledgehammer999
af29f6a42b Sort invalid dates always at the bottom. Closes #106 and #735. 2013-07-14 14:59:01 +03:00
sledgehammer999
3afd01d617 Updated NSIS portuguesBR translation by marinho. 2013-07-14 14:58:53 +03:00
Nick Tiskov
ace4989763 Forbid newlines in rename torrent dialog. 2013-07-13 00:21:32 +03:00
sledgehammer999
a09b10e3ec Updated portuguese-BR translation by marinho. 2013-07-13 00:17:30 +03:00
sledgehammer999
9b16be2bf4 Updated Czech translation by vilim. 2013-07-12 00:05:56 +03:00
sledgehammer999
c20dfe22a5 Updated NSIS Czech translation by vilim. 2013-07-12 00:05:06 +03:00
sledgehammer999
7675c85839 Fix NSIS for included qt translations. Closes #762. 2013-07-12 00:04:48 +03:00
Nick Tiskov
95cce1d678 Wrap stacktrace output in GitHub MarkDown code tags. 2013-07-12 00:04:38 +03:00
sledgehammer999
b0ed148c4c Bump to v3.0.10 2013-07-09 23:35:32 +03:00
sledgehammer999
67416c595a Update .qm files. 2013-07-09 21:16:59 +03:00
sledgehammer999
037598a68a Update changelog. 2013-07-09 21:10:53 +03:00
sledgehammer999
cb59cd21d6 Update NSIS scripts. 2013-07-09 21:01:29 +03:00
sledgehammer999
874ab523e1 Updated Qt translations. 2013-07-09 21:01:17 +03:00
sledgehammer999
7b0a13750e Use naturalSort in search. 2013-07-09 20:39:24 +03:00
sledgehammer999
1eed7cde3c Use naturalSort in TorrentContentFilterModel. 2013-07-09 20:18:12 +03:00
sledgehammer999
512516225b Minor change in lessThan signature. 2013-07-09 20:17:56 +03:00
sledgehammer999
1ef35da8eb Updated NSIS japanese translation by hasimoto. 2013-07-09 14:08:37 +03:00
Nick Tiskov
f334286a39 Move number-aware comparison logic into misc class. 2013-07-08 18:12:27 +03:00
Nick Tiskov
a7daedb9b7 Use number-aware sort in transfer list 2013-07-08 18:12:11 +03:00
sledgehammer999
47564a6774 Fix compilation under gcc. 2013-07-08 18:05:53 +03:00
devastatorius
672e2e4a43 Update lithuanian.nsi 2013-07-08 14:32:14 +03:00
Nick Tiskov
1857960775 Add Russian NSIS translation 2013-07-08 14:32:03 +03:00
sledgehammer999
4db41da967 Updated croatian translation by delakroa. 2013-07-08 01:09:14 +03:00
sledgehammer999
3977583329 Updated NSIS basque translation by aramendi. 2013-07-08 00:35:55 +03:00
sledgehammer999
abcdada850 Updated NSIS portuguese translation by marques. 2013-07-08 00:35:46 +03:00
sledgehammer999
ae5618c070 Updated NSIS galician translation by marcos. 2013-07-07 15:26:56 +03:00
sledgehammer999
55572d34b6 Updated NSIS norwegian translation by tomaso. 2013-07-07 15:15:20 +03:00
sledgehammer999
3d71b071a6 Updated NSIS norwegian translation by tomaso. 2013-07-07 14:54:57 +03:00
sledgehammer999
2f2b0afa12 Updated NSIS arabic translation by SDERAWI. 2013-07-07 13:54:22 +03:00
sledgehammer999
96c7fc8e48 Add ommitted string in the NSIS translations.
Conflicts:
	src/windows/installer-translations/spanish.nsi
	src/windows/installer-translations/spanishinternational.nsi
2013-07-07 12:55:29 +03:00
sledgehammer999
6935b8a7b6 Updated NSIS japanese translation by hashimoto. 2013-07-07 12:54:33 +03:00
sledgehammer999
f4fd2b196f Update changelog. 2013-07-07 00:43:50 +03:00
Nick Tiskov
2797964947 Fix failing asserts (rss settings are not saved).
See Pull #675
2013-07-07 00:38:10 +03:00
Nick Tiskov
9e7a958421 Do not autoDL items based on rules still being edited. 2013-07-07 00:37:50 +03:00
sledgehammer999
12d51b86db Updated NSIS galician translation by marcos. 2013-07-06 20:22:33 +03:00
sledgehammer999
16d8073367 Updated NSIS basque translation by aramendi. 2013-07-06 20:18:26 +03:00
sledgehammer999
0725a97586 Updated arabic translation by SDERAWI. 2013-07-06 20:13:30 +03:00
Christophe Dumez
83e738ab46 Update configure script to stop requiring libboost-thread 2013-07-06 20:02:19 +03:00
sledgehammer999
e5b14995c3 Updated NSIS norwegian translation by tomaso. 2013-07-06 19:57:09 +03:00
sledgehammer999
0e15ffb2a4 Updated NSIS arabic translation by SDERAWI. 2013-07-06 19:50:17 +03:00
sledgehammer999
5022cce568 Write BOM to NSIS scripts. 2013-07-06 15:05:00 +03:00
sledgehammer999
0c0c81bc52 Update galician translation by marcos. 2013-07-06 12:27:31 +03:00
sledgehammer999
c0394ce5a9 Updated japanese translation by hashimoto. 2013-07-05 15:11:19 +03:00
sledgehammer999
b2b7bdb2bb Merge pull request #746 from Gelmir/ru_ts_new
Russian translation remaster
2013-07-04 13:29:07 -07:00
sledgehammer999
723f909f3b Update norwegian translation by Tomaso. 2013-07-04 23:22:33 +03:00
sledgehammer999
eb38058c99 Update italian translation by bovirus. 2013-07-04 23:22:14 +03:00
Nick Tiskov
f43565f0f2 Russian translation remaster (3.0 branch version) 2013-07-05 00:05:48 +04:00
sledgehammer999
98d5cca3d6 Merge pull request #742 from alfrix/v3_0_x
Update Spanish translation.
2013-07-04 12:30:02 -07:00
Alfre
d1012a1b15 Translations: Spanish translate missed sentences 2013-07-04 12:33:31 -03:00
Alfre
573edb9bce Translations: Update Spanish 2013-07-04 02:46:02 -03:00
sledgehammer999
a04af57301 Updated translations. 2013-07-04 02:48:43 +03:00
sledgehammer999
1ec2f8278a Preserve original style on about dialog. 2013-07-04 02:41:04 +03:00
Nick Tiskov
c137e2eb0b Translations fixes
Do not translate strings, which should not be translated
Remove unnecessary/unused strings.

Conflicts:
	src/rss/rss_imp.cpp
2013-07-04 02:21:35 +03:00
Nick Tiskov
0e59642d99 Use UCS-2 LE encoding for windows resource file 2013-07-04 02:11:59 +03:00
sledgehammer999
8d033ac0e7 Updated translations. 2013-07-03 18:13:15 +03:00
sledgehammer999
578a43f445 Call updateDiskSpaceLabel() manually in onSavePathChanged(). Closes #715. 2013-07-03 16:58:55 +03:00
sledgehammer999
d8367a15fa Update NSIS script. 2013-07-02 21:35:21 +03:00
sledgehammer999
5b6d873fec Update changelog 2013-07-02 02:05:30 +03:00
sledgehammer999
76b6d4ee2f Actually show the tray notification when a torrent finishes downloading. 2013-07-02 02:00:02 +03:00
sledgehammer999
0996bd1165 Update windows binary metadata. 2013-07-01 23:18:39 +03:00
sledgehammer999
67a7f00e5e Update changelog 2013-07-01 23:14:14 +03:00
Hyperz
60c6a8c279 Changed LineEdit border style to system default 2013-07-01 23:12:40 +03:00
sledgehammer999
0c71d3f46d Update changelog. 2013-07-01 00:16:13 +03:00
Nick Tiskov
082dce0a66 Properly rename torrents, when index is moved out of current filter model or changes position inside filter model while rename window stays open 2013-07-01 00:14:37 +03:00
sledgehammer999
29603d1902 Update changelog. 2013-06-30 23:10:44 +03:00
Nick Tiskov
8f12cfc817 Drag'n'Drop fixups.
1. Proper event handling
2. Allow folder moving
3. Allow moving into folders
2013-06-30 23:07:22 +03:00
Nick Tiskov
933b2817ce Add missing QTreeWidget::dropEvent to d'n'd atempt occuring in same location.
Remove 'Overwrite attempt' dialog as obsolete. Now moving item, e.g. from folder to same folder, will just make it the last child of the folder.

Conflicts:
	src/rss/rss_imp.cpp
2013-06-30 23:06:37 +03:00
sledgehammer999
df86fbb1d7 Write BOM in NSIS translations' files. 2013-06-30 16:04:38 +03:00
sledgehammer999
b1aa89fa21 Update NSIS scripts to use unicode version of installer. 2013-06-30 16:04:24 +03:00
sledgehammer999
be739bb22d Impove drawing speed of peers list when there are many peers.
Conflicts:
	Changelog
2013-06-29 18:39:50 +03:00
sledgehammer999
d095d7fc17 Improve drawing speed of transferlist with many torrents.
Conflicts:
	Changelog
2013-06-29 18:38:55 +03:00
sledgehammer999
ae3eda2c7e Update Changelog 2013-06-29 16:01:27 +03:00
sledgehammer999
876216972d Update maintainer info in About dialog.
Conflicts:
	src/about.ui
2013-06-29 15:40:56 +03:00
sledgehammer999
fea51f6b60 Update AUTHORS file. 2013-06-29 15:03:25 +03:00
Christophe Dumez
30db37605a Update Changelog 2013-06-08 15:55:33 +03:00
ccerrillo
2e2a5c1fb6 mootools change break context menu
Fx.Tween in mootols 1.4.5  no longer sets visibility to hidden, so when the context menu dissapear, if you put the mouse in the space where the menu were showed is still there but with opacity to 0 and cannot click to nothing below that area

So i emulated the old behaviour with OnComplete event.

Additionally i changed the use of deprecated $empty
2013-06-08 15:54:52 +03:00
Christophe Dumez
5056faed92 Add missing break statement in proxy code 2013-05-22 20:42:37 +03:00
sledgehammer999
a27c5efbb5 Updated italian translation of NSIS installer by bovirus. 2013-04-20 12:09:31 +03:00
sledgehammer999
b7d7bb3687 Update disk space label in add new torrent dialog. Fixes issue #282. 2013-04-14 14:13:21 +03:00
Christophe Dumez
6550c4f31e Update Italian translation binary 2013-04-14 13:08:54 +03:00
Nick Tiskov
4a05e100b7 Fix unhandled exception when trying to create torrents from files/folder in disk root. 2013-04-14 13:08:15 +03:00
Christophe Dumez
5dc3f3bf3e Merge pull request #585 from sledgehammer999/it_translationv3
Update italian translation by bovirus.
2013-04-14 03:03:42 -07:00
sledgehammer999
bd2de9b0dc Updated italian language of nsis installer by bovirus. 2013-04-14 04:06:07 +03:00
sledgehammer999
c01a9d5a80 Update italian translation by bovirus. 2013-04-14 03:51:44 +03:00
sledgehammer999
52b1cdce6f Really fix issue #405 and #536.
Conflicts:
	src/mainwindow.cpp
2013-04-01 23:04:59 +03:00
Christophe Dumez
731963ef31 Updated Changelog 2013-03-28 21:54:57 +02:00
Christophe Dumez
43f5f81410 Improve peer host name resolution (closes #360)
- Take a QString in argument to avoid converting it twice. The caller already
  has the IP as a QString.
- Fix bug where hostnames coming from the cache would not the displayed.
- Fix bug where the resolved hostnames would not be displayed if the IP we know
  does not match the first one in the QHostInfo::addresses() list. It may come
  later in the list or may be formatted differently (possible with IPv6).
- Avoid requesting again host names for IPs that were already requested recently
  but whose resolution did not return a useful hostname.
2013-03-28 21:54:22 +02:00
Christophe Dumez
04ff48fa0b Update Changelog 2013-03-20 21:18:04 +02:00
Christophe Dumez
f051228666 Fix legittorrents search plugin (closes #515) 2013-03-20 21:17:14 +02:00
Christophe Dumez
84500fdd0c Update italian translation 2013-03-16 22:24:28 +02:00
Christophe Dumez
55259ff3ba Bump to v3.0.9 2013-03-16 20:59:23 +02:00
Christophe Dumez
da5b49fe5a Update Changelog 2013-03-12 19:40:12 +02:00
Driim
89bc0fb3e3 delete not needed space 2013-03-12 19:38:37 +02:00
Driim
c86bfe53d0 Fix add torrent icon version 3 2013-03-12 19:38:37 +02:00
Driim
dd177c03e6 Fix add torrent icon version 2 2013-03-12 19:38:37 +02:00
Driim
6615d4987b Fix missing "Add torrent file" icon 2013-03-12 19:38:37 +02:00
Nick Tiskov
c6e0facc0b Use <OS_name>conf.pri file to control libz linkage 2013-03-10 22:25:12 +02:00
Christophe Dumez
c6845781c7 Link against lz 2013-03-10 20:29:08 +02:00
Christophe Dumez
5decf71772 Update Changelog 2013-03-10 20:26:31 +02:00
Dmitry Maslennikov
b7f313a35c add cookies for redirect, cookies for auto download torrent from rss, add support gzip 2013-03-10 20:25:09 +02:00
Christophe Dumez
8c14c7926f Update Changelog 2013-03-10 20:06:01 +02:00
Nick Tiskov
ca6ec01f1f Minor refactoring for json parser 2013-03-10 20:05:19 +02:00
Nick Tiskov
2c42ab7544 Allow bool lists in json values 2013-03-10 20:05:19 +02:00
Nick Tiskov
2dbbfc1031 Allow semicolon in json values (Windows paths support) 2013-03-10 20:05:19 +02:00
sledgehammer999
3762401cd9 Pass the correct flag in torrent_handle::status for libtorrent > 0.15 2013-03-10 17:15:14 +02:00
sledgehammer999
65c0f3f041 Enable backtrace support by default on Windows. 2013-03-10 13:27:05 +02:00
sledgehammer999
7ab877c95e Fix compilation without backtrace support on Windows. 2013-03-10 13:27:05 +02:00
sledgehammer999
7b658a52dd Move Windows backtrace functionality to the windows specific *.pri files. 2013-03-10 13:27:04 +02:00
Nick Tiskov
3705cb8067 Allow/Fix special characters in json replies in WebUI 2013-03-10 10:49:30 +02:00
Christophe Dumez
8b4be9bef6 Update Changelog 2013-03-10 09:59:33 +02:00
sledgehammer999
38bef752dc Enable 'copy magnet uri' for torrents without metadata too. Fixes issue #458. 2013-03-10 09:59:32 +02:00
sledgehammer999
a61a84d419 Fix case where the default save wasn't getting updated in the addition dialog. 2013-02-16 20:04:00 +02:00
sledgehammer999
553abb6442 Fix 'dont show' dialog when downloading torrent. Closes issue #405. 2013-02-16 20:04:00 +02:00
Nick Tiskov
14419c190e Changing regexp/wildcard mode should update article list matches 2013-02-16 15:38:56 +02:00
sledgehammer999
4e6ab18446 Update README.txt. 2013-02-09 21:17:00 +02:00
sledgehammer999
fdeec686bf Update instructions in README.txt. 2013-02-09 21:17:00 +02:00
sledgehammer999
25e4f562e7 Include third party plugins used by the scripts. 2013-02-09 21:16:59 +02:00
sledgehammer999
d86baf1ed8 Move the check for already running instance just before the actual installation. 2013-02-09 21:16:59 +02:00
sledgehammer999
8112405498 Remove unused label. 2013-02-09 21:16:59 +02:00
sledgehammer999
7f73eca01d Updated language tables with all the strings. 2013-02-09 21:16:58 +02:00
sledgehammer999
9951017f8b Remove file associations only if qbt is associated. Fixes issue #307. 2013-02-09 21:16:58 +02:00
sledgehammer999
57bbaeab06 Reserve dll for faster execution. 2013-02-09 21:16:57 +02:00
sledgehammer999
52fefd3dd6 Added some logging for a few actions. 2013-02-09 21:16:57 +02:00
sledgehammer999
c1cddd2f7a Run unistaller silently before proceeding with the install. 2013-02-09 21:16:57 +02:00
sledgehammer999
caabe526ca The installer now checks if qbt is running before proceeding. 2013-02-09 21:16:56 +02:00
sledgehammer999
19475f5abb Offer to launch qbt after installation. 2013-02-09 21:16:56 +02:00
sledgehammer999
dca36a4817 Add more info to the system about the unistaller. 2013-02-09 21:16:56 +02:00
sledgehammer999
e38ef96c94 Add version info to the installer executable. 2013-02-09 21:16:55 +02:00
sledgehammer999
43aff3885d Split removal of configuration files to 2 options. 2013-02-09 21:16:55 +02:00
sledgehammer999
4b4d52d8d3 Change title of installer to show the qbt's version. 2013-02-09 21:16:55 +02:00
sledgehammer999
735247f41f Support adding of windows firewall rule. 2013-02-09 21:16:54 +02:00
sledgehammer999
422d0c9210 Updated translations.nsi 2013-02-09 21:16:54 +02:00
sledgehammer999
6ea90c9741 Create language tables for all the available languages. 2013-02-09 21:16:54 +02:00
sledgehammer999
c2bbb5b71a Refactor windows installer script to accomodate further translation. Also split it up so it is easier to maintain and extend. 2013-02-09 21:16:53 +02:00
Nick Tiskov
a2656670f7 Fixes: 1) Building fails w/o "CONFIG += strace_win" 2) mingw build
Commenting Mingw release flags section for now. Strace is not reliable with mingw (only calls to other libraries are resolved, internal calls show up as addresses).
2013-02-09 21:16:53 +02:00
Nick Tiskov
ae2781b4c8 Support stacktrace on Windows
adds 'strace_win' CONFIG option
2013-02-09 21:16:52 +02:00
Andrea Villa
65a81f4fca Reverting fs_utils.cpp and fixing callers instead 2013-02-09 20:35:52 +02:00
Andrea
e025b2aa10 FIX: Redeclared Variable 2013-02-09 20:35:52 +02:00
Andrea
9399f06db9 Fix Preview for .!qB extended files 2013-02-09 20:35:52 +02:00
sledgehammer999
2e6370084a Remove leading and trailing whitespace when choosing filenames. Fixes issue #401. 2013-02-09 17:36:07 +02:00
Christophe Dumez
adc478a8dc Update Changelog 2013-01-26 22:38:11 +02:00
sledgehammer999
247c9a85e2 Fix null termination of wsave_path. 2013-01-26 22:37:11 +02:00
sledgehammer999
40fc98d354 Null terminate the wide string in torrent creator. 2013-01-26 22:36:59 +02:00
sledgehammer999
5797d86c05 Fix torrent creator when saving to a non-latin path in Windows. 2013-01-26 22:36:46 +02:00
Christophe Dumez
62de16c56e Update Changelog 2013-01-26 22:34:38 +02:00
Nick Tiskov
d89f2b0783 fixup! Show human readable interface names (mostly affects Windows) 2013-01-26 22:33:50 +02:00
Nick Tiskov
d6b2131a91 Show human readable interface names (mostly affects Windows) 2013-01-26 22:33:14 +02:00
Christophe Dumez
b085fc12d0 Update Changelog 2013-01-26 22:01:38 +02:00
Nick Tiskov
0da431b7a3 fixup! Raise main window when starting another instance w/o params 2013-01-26 22:01:04 +02:00
Nick Tiskov
3e18308301 Support raising window when UI is locked 2013-01-26 22:00:44 +02:00
Nick Tiskov
47c7ffba99 Raise main window when starting another instance w/o params 2013-01-26 22:00:32 +02:00
Christophe Dumez
42b1dffbb9 Update Changelog 2013-01-26 16:10:12 +02:00
Christophe Dumez
73ebe7e1fb Add Legit Torrents search plugin 2013-01-26 16:09:26 +02:00
Christophe Dumez
c9c3589946 Update Finnish translation 2013-01-23 22:08:47 +02:00
sledgehammer999
62596ab533 Update Qt translations from qt 4.8.4 2013-01-23 07:54:11 +02:00
Christophe Dumez
0be1c661aa Fixes to Italian translation 2013-01-20 12:23:28 +02:00
236 changed files with 20735 additions and 15365 deletions

53
.travis.yml Normal file
View File

@@ -0,0 +1,53 @@
language:
- cpp
env:
# use libtorrent 0.15.10
- lt_source=from_dist gui=true
- lt_source=from_dist gui=false
# use libtorrent 0.16.X from RC_0_16 svn branch
- lt_source=from_svn gui=true
- lt_source=from_svn gui=false
branches:
except:
- search_encoding_windows
- v2_9_x
notifications:
email:
on_success: change
on_failure: change
before_install:
- shopt -s expand_aliases
- alias sudo="sudo "
# Using nprocs/2 sometimes may fail (gcc is killed by system), just use two threads
- alias make="colormake -j2 "
# Also setup a virtual display for after_success target when gui == true
- if ! $gui; then qbtconf="$qbtconf --disable-gui"; else export "DISPLAY=:99.0" && /sbin/start-stop-daemon --start --quiet --pidfile /tmp/custom_xvfb_99.pid --make-pidfile --background --exec /usr/bin/Xvfb -- :99 -ac -screen 0 1280x1024x16 ; fi
- ltconf=" --with-libgeoip=system"
- echo settings
- echo $lt_source
- echo $ltconf
- echo $gui
- echo $qbtconf
- sudo apt-get -qq update
# Travis can stall during heavy load if these packages are installed in one step - split the command
- sudo apt-get -qq install debhelper qconf colormake libssl-dev libgeoip-dev
- sudo apt-get -qq install libboost-dev libboost-filesystem-dev libboost-system-dev
- sudo apt-get -qq install libqt4-dev
install:
- if [[ "$lt_source" == "from_dist" ]]; then sudo apt-get -qq install libtorrent-rasterbar-dev; fi
- if [[ "$lt_source" == "from_svn" ]]; then cd .. && svn co svn://svn.code.sf.net/p/libtorrent/code/branches/RC_0_16 ./libtorrent && (cd libtorrent && ./autotool.sh && ./configure $ltconf && sudo make install) && sudo ldconfig /usr/local/lib && cd $TRAVIS_BUILD_DIR ; fi
script:
- qt-qconf
- ./configure $qbtconf && sudo make install
after_success:
- if $gui ; then qbittorrent --version ; else qbittorrent-nox --version ; fi

10
AUTHORS
View File

@@ -1,4 +1,7 @@
Author:
Current maintainer:
* Sledgehammer999 <sledgehammer999@qbittorrent.org>
Original author:
* Christophe Dumez <chris@qbittorrent.org>
Contributors:
@@ -11,6 +14,7 @@ Contributors:
* Grigis Gaëtan <cipher16@gmail.com>
* Christian Kandeler <zambesi@users.sourceforge.net>
* Silvan Scherrer <silvan.scherrer@aroa.ch>
* Nick Tiskov <daymansmail@gmail.com>
Code from other projects:
* files src/qtsingleapp/* src/lineedit/*
@@ -25,6 +29,10 @@ Code from other projects:
copyright: Dan Haim <negativeiq@users.sourceforge.net>
license: BSD
* file src/stacktrace_win.h
copyright: Quassel Project
license: GPLv2/3
Images Authors:
* files: src/Icons/*.png
copyright: Gnome Icon Theme

View File

@@ -1,3 +1,54 @@
* Mon Jul 29 2013 - sledgehammer999 <sledgehammer999@qbittorrent.org> - v3.0.11
- FEATURE: Allow more fine tuning of upload slots. It should improve speed (sledgehammer999)
- FEATURE: Enable edit/rename via F2 or double click in various places (Gelmir)
- BUGFIX: Fix Spanish and Basque translations being messed up on Windows (sledgehammer999)
- BUGFIX: Don't allow newlines in rename dialog (Gelmir)
- BUGFIX: Treat unfinished dates as the newest ones when sorting (sledgehammer999)
- BUGFIX: Fix text size problem on Windows with custom DPI (sledgehammer999)
- BUGFIX: Respect UI lock when clicking on tray notification (sledgehammer999)
- BUGFIX: Fix kickass torrents search plugin (Gelmir)
- BUGFIX: Use system language as default language. Closes #780 (sledgehammer999)
- BUGFIX: Move completed files to .unwanted folder when they are unselected by the user (constantined)
- BUGFIX: Show delete action when multiple feeds are selected (Gelmir)
- BUGFIX: Use Unicode for libtorrent alert messages (Gelmir)
- OTHER: Update translations
- WINDOWS: Shave off ~4MB from the binary size (sledgehammer999)
- WINDOWS: Remove wrong dependency on msvc2008 runtime (sledgehammer999)
- WINDOWS: Disable stacktrace when building with mingw (Gelmir)
- WINDOWS: Updated NSIS script to include/delete .pdb file. (sledgehammer999)
* Tue Jul 9 2013 - Christophe Dumez <chris@qbittorrent.org> and sledgehammer999 <sledgehammer999@qbittorrent.org> - v3.0.10
- BUGFIX: Fix LegitTorrents search plugin
- BUGFIX: Improve peer host name resolution (closes #360)
- BUGFIX: Context menu fix in the Web UI
- BUGFIX: Respect 'don't show' torrent dialog in Search (sledgehammer999)
- BUGFIX: Torrent creator can now use files/folders from disk root (Gelmir)
- BUGFIX: Update free disk space when changing drives in the add new torrent dialog (sledgehammer999)
- BUGFIX: Various fixes relating to RSS drag and drop (Gelmir)
- BUGFIX: Properly rename torrent which changes position in filter model (Gelmir)
- BUGFIX: Actually show tray notifications when a torrent finishes downloading (sledgehammer999)
- BUGFIX: Don't download RSS items based on rules still being edited (Gelmir)
- COSMETIC: Native look for the search boxes (Hyperz)
- IMPROVEMENT: Use natural sorting where possible (Gelmir and sledgehammer999)
- LINUX: Drop Boost.Thread dependency from configure script
- OTHER: Update translations.
- OTHER: Drop obsolete Boost.Thread dependency from configure script on linux (Dumez)
- LIBTORRENT: SOCKS5 fixes (0.16.10)
- LIBTORRENT: Fix hanging issue on Windows when closing files (0.16.10)
- LIBTORRENT: Cache can now be returned to the OS (0.16.10)
- PERFORMANCE: Impove drawing speed of tranferlist when there are many torrents(>100) (sledgehammer999)
- PERFORMANCE: Impove drawing speed of peers list when there are many peers (sledgehammer999)
* Sat Mar 16 2013 - Christophe Dumez <chris@qbittorrent.org> - v3.0.9
- BUGFIX: Raise qBittorrent windows when another instance is launched
- BUGFIX: Show human readable names for network interfaces in preferences (Windows)
- BUGFIX: Fix torrent creator bug when saving non-latin path (Windows)
- BUGFIX: Enable 'copy magnet uri' for torrents without metadata too
- BUGFIX: Fix a few JSON parser issues (Gelmir)
- BUGFIX: Add support for gzipped encoded HTTP responses (daimor)
- BUGFIX: Fix possibly missing "Add torrent" icon (Driim)
- OTHER: Add search plugin for Legit Torrents
* Sun Jan 20 2013 - Christophe Dumez <chris@qbittorrent.org> - v3.0.8
- BUGFIX: Fix support for --no-splash command line argument
- BUGFIX: Fix compilation error with libtorrent v0.15

2
configure vendored
View File

@@ -507,7 +507,7 @@ public:
#if LIBTORRENT_VERSION_MAJOR == 0 && LIBTORRENT_VERSION_MINOR < 16
required_libs << "filesystem" ;
#endif
required_libs << "thread";
//required_libs << "thread";
QStringList libDirs;
if (!s.isEmpty())
libDirs << s;

View File

@@ -19,6 +19,8 @@ LIBS += -lboost_system-mt
#LIBS += -lboost_filesystem-mt
# Carbon
LIBS += -framework Carbon -framework IOKit
# Zlib
LIBS += -lz
document_icon.path = Contents/Resources
document_icon.files = mac/qBitTorrentDocument.icns

View File

@@ -7,7 +7,7 @@ LIBS += -ltorrent-rasterbar \
-lboost_thread \
-lboost_system \
-lboost_filesystem \
-lssl -lcrypto -lidn -lpthread
-lssl -lcrypto -lidn -lpthread -lz
RC_FILE = qbittorrent_os2.rc

View File

@@ -71,7 +71,7 @@ public:
#if LIBTORRENT_VERSION_MAJOR == 0 && LIBTORRENT_VERSION_MINOR < 16
required_libs << "filesystem" ;
#endif
required_libs << "thread";
//required_libs << "thread";
QStringList libDirs;
if (!s.isEmpty())
libDirs << s;

File diff suppressed because one or more lines are too long

View File

@@ -51,7 +51,7 @@ class about : public QDialog, private Ui::AboutDlg{
// Set icons
logo->setPixmap(QPixmap(QString::fromUtf8(":/Icons/skin/qbittorrent22.png")));
//Title
lb_name->setText(QString::fromUtf8("<b><h1>")+tr("qBittorrent")+QString::fromUtf8(" "VERSION"</h1></b>"));
lb_name->setText(QString::fromUtf8("<b><h1>qBittorrent")+QString::fromUtf8(" "VERSION"</h1></b>"));
// Thanks
QString thanks_txt;
thanks_txt += QString::fromUtf8("<p>I would first like to thank sourceforge.net for hosting qBittorrent project and for their support.</p>");
@@ -93,7 +93,7 @@ class about : public QDialog, private Ui::AboutDlg{
<li><u>Russian:</u> Nick Khazov (m2k3d0n@users.sourceforge.net) and Alexey Morsov (samurai@ricom.ru)</li>\
<li><u>Serbian:</u> Anaximandar Milet (anaximandar@operamail.com)</li>\
<li><u>Slovak:</u> helix84</li>\
<li><u>Spanish:</u> Francisco Luque Contreras (frannoe@ya.com)</li>\
<li><u>Spanish:</u> Alfredo Monclús (alfrix), Francisco Luque Contreras (frannoe@ya.com)</li>\
<li><u>Swedish:</u> Daniel Nylander (po@danielnylander.se)</li>\
<li><u>Turkish:</u> Hasan YILMAZ (iletisim@hedefturkce.com) and Erdem Bingöl (erdem84@gmail.com)</li>\
<li><u>Ukrainian:</u> Oleh Prypin (blaxpirit@gmail.com)</li></ul>");

View File

@@ -81,6 +81,9 @@ AddNewTorrentDialog::AddNewTorrentDialog(QWidget *parent) :
loadState();
// Signal / slots
connect(ui->adv_button, SIGNAL(clicked(bool)), SLOT(showAdvancedSettings(bool)));
editHotkey = new QShortcut(QKeySequence("F2"), ui->content_tree, 0, 0, Qt::WidgetShortcut);
connect(editHotkey, SIGNAL(activated()), SLOT(renameSelectedFile()));
connect(ui->content_tree, SIGNAL(doubleClicked(QModelIndex)), SLOT(renameSelectedFile()));
}
AddNewTorrentDialog::~AddNewTorrentDialog()
@@ -89,6 +92,7 @@ AddNewTorrentDialog::~AddNewTorrentDialog()
delete ui;
if (m_contentModel)
delete m_contentModel;
delete editHotkey;
}
void AddNewTorrentDialog::loadState()
@@ -323,7 +327,7 @@ void AddNewTorrentDialog::updateDiskSpaceLabel()
void AddNewTorrentDialog::onSavePathChanged(int index)
{
static int old_index = 0;
static QDir defaultSaveDir(ui->save_path_combo->itemData(0).toString());
Preferences pref;
if (index == (ui->save_path_combo->count() - 1)) {
disconnect(ui->save_path_combo, SIGNAL(currentIndexChanged(int)), this, SLOT(onSavePathChanged(int)));
@@ -370,10 +374,12 @@ void AddNewTorrentDialog::onSavePathChanged(int index)
}
// Toggle default save path setting checkbox visibility
ui->default_save_path_cb->setChecked(false);
ui->default_save_path_cb->setVisible(QDir(ui->save_path_combo->itemData(ui->save_path_combo->currentIndex()).toString()) != defaultSaveDir);
ui->default_save_path_cb->setVisible(QDir(ui->save_path_combo->itemData(ui->save_path_combo->currentIndex()).toString()) != pref.getSavePath());
relayout();
// Remember index
old_index = ui->save_path_combo->currentIndex();
if (!m_isMagnet)
updateDiskSpaceLabel();
}
void AddNewTorrentDialog::relayout()
@@ -388,13 +394,14 @@ void AddNewTorrentDialog::relayout()
void AddNewTorrentDialog::renameSelectedFile()
{
const QModelIndexList selectedIndexes = ui->content_tree->selectionModel()->selectedRows(0);
Q_ASSERT(selectedIndexes.size() == 1);
if (selectedIndexes.size() != 1)
return;
const QModelIndex &index = selectedIndexes.first();
// Ask for new name
bool ok;
const QString new_name_last = QInputDialog::getText(this, tr("Rename the file"),
tr("New name:"), QLineEdit::Normal,
index.data().toString(), &ok);
index.data().toString(), &ok).trimmed();
if (ok && !new_name_last.isEmpty()) {
if (!fsutils::isValidFileSystemName(new_name_last)) {
QMessageBox::warning(this, tr("The file could not be renamed"),

View File

@@ -31,6 +31,7 @@
#ifndef ADDNEWTORRENTDIALOG_H
#define ADDNEWTORRENTDIALOG_H
#include <QShortcut>
#include <QDialog>
#include <QUrl>
#include <libtorrent/torrent_info.hpp>
@@ -86,6 +87,7 @@ private:
boost::intrusive_ptr<libtorrent::torrent_info> m_torrentInfo;
QStringList m_filesPath;
bool m_hasRenamedFile;
QShortcut *editHotkey;
};
#endif // ADDNEWTORRENTDIALOG_H

View File

@@ -22,9 +22,6 @@
<height>16777215</height>
</size>
</property>
<property name="windowTitle">
<string>Dialog</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout_3">
<item>
<widget class="QGroupBox" name="groupBox">

View File

@@ -50,6 +50,56 @@ DownloadThread::DownloadThread(QObject* parent) : QObject(parent) {
#endif
}
QByteArray DownloadThread::gUncompress(Bytef *inData, size_t len) {
if (len <= 4) {
qWarning("gUncompress: Input data is truncated");
return QByteArray();
}
QByteArray result;
z_stream strm;
static const int CHUNK_SIZE = 1024;
char out[CHUNK_SIZE];
/* allocate inflate state */
strm.zalloc = Z_NULL;
strm.zfree = Z_NULL;
strm.opaque = Z_NULL;
strm.avail_in = len;
strm.next_in = inData;
const int windowBits = 15;
const int ENABLE_ZLIB_GZIP = 32;
int ret = inflateInit2(&strm, windowBits|ENABLE_ZLIB_GZIP); // gzip decoding
if (ret != Z_OK)
return QByteArray();
// run inflate()
do {
strm.avail_out = CHUNK_SIZE;
strm.next_out = reinterpret_cast<unsigned char*>(out);
ret = inflate(&strm, Z_NO_FLUSH);
Q_ASSERT(ret != Z_STREAM_ERROR); // state not clobbered
switch (ret) {
case Z_NEED_DICT:
case Z_DATA_ERROR:
case Z_MEM_ERROR:
(void) inflateEnd(&strm);
return QByteArray();
}
result.append(out, CHUNK_SIZE - strm.avail_out);
} while (!strm.avail_out);
// clean up and return
inflateEnd(&strm);
return result;
}
void DownloadThread::processDlFinished(QNetworkReply* reply) {
QString url = reply->url().toString();
qDebug("Download finished: %s", qPrintable(url));
@@ -72,7 +122,8 @@ void DownloadThread::processDlFinished(QNetworkReply* reply) {
const QString newUrlString = newUrl.toString();
qDebug("Redirecting from %s to %s", qPrintable(url), qPrintable(newUrlString));
m_redirectMapping.insert(newUrlString, url);
downloadUrl(newUrlString);
// redirecting with first cookies
downloadUrl(newUrlString, m_networkManager.cookieJar()->cookiesForUrl(url));
reply->deleteLater();
return;
}
@@ -87,8 +138,12 @@ void DownloadThread::processDlFinished(QNetworkReply* reply) {
QString filePath = tmpfile->fileName();
qDebug("Temporary filename is: %s", qPrintable(filePath));
if (reply->isOpen() || reply->open(QIODevice::ReadOnly)) {
// TODO: Support GZIP compression
tmpfile->write(reply->readAll());
QByteArray replyData = reply->readAll();
if (reply->rawHeader("Content-Encoding") == "gzip") {
// uncompress gzip reply
replyData = gUncompress(reinterpret_cast<unsigned char*>(replyData.data()), replyData.length());
}
tmpfile->write(replyData);
tmpfile->close();
// XXX: tmpfile needs to be deleted on Windows before using the file
// or it will complain that the file is used by another process.
@@ -136,6 +191,8 @@ QNetworkReply* DownloadThread::downloadUrl(const QString &url, const QList<QNetw
qDebug("%s=%s", m_networkManager.cookieJar()->cookiesForUrl(url).at(i).name().data(), m_networkManager.cookieJar()->cookiesForUrl(url).at(i).value().data());
qDebug("Domain: %s, Path: %s", qPrintable(m_networkManager.cookieJar()->cookiesForUrl(url).at(i).domain()), qPrintable(m_networkManager.cookieJar()->cookiesForUrl(url).at(i).path()));
}
// accept gzip
request.setRawHeader("Accept-Encoding", "gzip");
return m_networkManager.get(request);
}

View File

@@ -36,6 +36,7 @@
#include <QObject>
#include <QHash>
#include <QSslError>
#include <zlib.h>
QT_BEGIN_NAMESPACE
class QNetworkAccessManager;
@@ -62,6 +63,7 @@ private slots:
#endif
private:
static QByteArray gUncompress(Bytef *inData, size_t len);
QString errorCodeToString(QNetworkReply::NetworkError status);
void applyProxySettings();

Binary file not shown.

File diff suppressed because one or more lines are too long

Binary file not shown.

File diff suppressed because one or more lines are too long

Binary file not shown.

File diff suppressed because one or more lines are too long

Binary file not shown.

File diff suppressed because one or more lines are too long

Binary file not shown.

File diff suppressed because one or more lines are too long

Binary file not shown.

File diff suppressed because one or more lines are too long

Binary file not shown.

File diff suppressed because one or more lines are too long

Binary file not shown.

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

Binary file not shown.

Some files were not shown because too many files have changed in this diff Show More