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

Compare commits

...

343 Commits

Author SHA1 Message Date
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
Christophe Dumez
eb10a80c3c Bump version to v3.0.8 2013-01-20 11:27:53 +02:00
Christophe Dumez
3679c79b5c Add plugin versions.txt file for python3 2013-01-20 00:01:48 +02:00
Christophe Dumez
a0816d1ec6 Update plugin versions 2013-01-20 00:01:48 +02:00
Christophe Dumez
175ac42b43 Fix duplicate results in piratebay results 2013-01-19 23:28:41 +02:00
Christophe Dumez
d39874551c Update Changelog 2013-01-19 19:50:01 +02:00
Christophe Dumez
16402f75cf Fix dead link in preferences 2013-01-19 19:49:12 +02:00
Christophe Dumez
aacea44d41 Use HTTPS for btdigg 2013-01-19 19:36:10 +02:00
Christophe Dumez
f2a90520d7 Really fix kat search engine with python3 2013-01-19 19:30:28 +02:00
Christophe Dumez
34d25006f4 Update Changelog 2013-01-19 18:56:12 +02:00
Christophe Dumez
e382fb1bec Fix kat.ph search with python3 2013-01-19 18:55:32 +02:00
Christophe Dumez
ba9e3558a2 Update Changelog 2013-01-19 18:17:52 +02:00
Christophe Dumez
f6514b4e7d Fix compilation error with libtorrent v0.15 2013-01-19 18:17:20 +02:00
Christophe Dumez
fe7ffdd413 Better fix for --no-splash argument 2013-01-19 16:39:11 +02:00
Christophe Dumez
8d1a4cb40a Update Changelog 2013-01-19 16:23:54 +02:00
Christophe Dumez
ad3f4842f8 Fix support for --no-splash command line argument 2013-01-19 16:22:47 +02:00
Christophe Dumez
944fc5cf38 Bump version to v3.0.7 2013-01-19 13:55:42 +02:00
Christophe Dumez
026c065ebc Remove "Force reannounce" action
Does not work as intended.
2013-01-16 20:04:45 +02:00
Christophe Dumez
00ac784a4d Stop listening on port 4433 since we do not support SSL torrents 2013-01-16 19:08:32 +02:00
sledgehammer999
7d99223547 Store language settings for the installer. Use them in the unistaller too. 2013-01-13 18:51:36 +02:00
sledgehammer999
65a338b5c2 Remove qBittorrent Start Menu folder when uninstalling. Partially fixes #291. 2013-01-13 18:51:36 +02:00
Christophe Dumez
b0fd6ac756 Safer check 2013-01-13 13:01:24 +02:00
Christophe Dumez
c268ca1278 Update Changelog 2013-01-13 12:57:24 +02:00
Christophe Dumez
13e3141dfb Fix possible crash in loadPeers() (closes #222) 2013-01-13 12:57:01 +02:00
Christophe Dumez
70fbd61758 Update Changelog 2013-01-12 19:20:44 +02:00
Christophe Dumez
db638319c7 Require password to exit qBittorrent from tray icon when locked (closes #311) 2013-01-12 19:20:21 +02:00
Christophe Dumez
8d36a03f68 Update Changelog 2013-01-12 18:56:24 +02:00
Christophe Dumez
2b8dc3df18 Bump mootools to 1.4.5 2013-01-12 18:55:50 +02:00
Christophe Dumez
11c5172588 Update Changelog 2013-01-09 19:21:22 +02:00
Christophe Dumez
43f55f5d3c Update language files 2013-01-09 19:18:27 +02:00
Christophe Dumez
153ebe2b77 Fix torrentreactor engine plugin 2013-01-09 19:17:38 +02:00
Christophe Dumez
70d11217de Remove torrentdownloads.ws search plugin (Pretty much dead...) 2013-01-08 22:26:42 +02:00
Christophe Dumez
82beff5527 Really use HTTPS link for isohunt engine 2013-01-08 22:26:42 +02:00
Christophe Dumez
2e4f0876b0 Use HTTPS link for thepiratebay.se 2013-01-08 22:26:42 +02:00
Christophe Dumez
072a72316f Use HTTPS link for isohunt 2013-01-08 22:26:42 +02:00
Christophe Dumez
d199482205 Use HTTPS link for kat.ph plugin 2013-01-08 22:26:42 +02:00
Christophe Dumez
eae7953061 Search plugins: Properly uncompress gzipped responses in retrieve_url() 2013-01-08 22:25:58 +02:00
Christophe Dumez
d88d4e9165 Remove outdated torrentz link 2013-01-08 20:09:18 +02:00
Christophe Dumez
cea36bc756 Remove btjunkie search plugin 2013-01-08 18:58:28 +02:00
Christophe Dumez
c517444258 Update Italian translation. 2013-01-02 18:24:38 +02:00
Nick Tiskov
a109274d1f Move QTPLUGIN qmake macro to src.pro. 2012-12-30 19:03:33 +02:00
Nick Tiskov
490cb9dfdb Use qico plugin in static build. Required for RSS favicon capabilities. 2012-12-30 19:03:33 +02:00
Nick Tiskov
ab748166d5 Anonymous mode link is not opened in default browser. 2012-12-30 12:23:46 +02:00
Christophe Dumez
a796df9019 Merge pull request #259 from sledgehammer999/revert_disk_cache
Partially revert commit aeb5fa. See issue #258.
2012-12-26 21:34:52 +02:00
Christophe Dumez
85abc98759 Update Changelog 2012-12-03 18:53:14 +02:00
Christophe Dumez
041540de6b Reenable OS cache on Windows 2012-12-03 18:52:42 +02:00
Christophe Dumez
72a06ad176 Update Changelog 2012-12-01 17:59:25 +02:00
Christophe Dumez
eea69630fb Merge pull request #254 from sledgehammer999/fix_default_path
Fix behaviour of the torrent addition dialog. The 'set as default path' ...
2012-12-01 17:57:07 +02:00
sledgehammer999
19846758d8 Minor optimization in qbtsession. 2012-12-01 15:06:01 +02:00
Christophe Dumez
7532fcfd3c Update Changelog 2012-12-01 10:09:17 +02:00
sledgehammer999
616575911f Improve the display of paths in the 'Add new torrent' dialog. 2012-12-01 10:08:22 +02:00
sledgehammer999
227a1f6532 Improve the handling of native directory separators. 2012-12-01 10:08:22 +02:00
Christophe Dumez
2c7186a381 Update Changelog 2012-11-24 10:48:21 +02:00
Christophe Dumez
b4775b9d29 Fix "Couldn't set environment variable..." message on start up (closes #245) 2012-11-24 10:48:04 +02:00
Christophe Dumez
ad8d7e3373 Update Changelog 2012-11-11 19:25:04 +02:00
Christophe Dumez
b5e7443ae3 Add m4v to the list of previewable file extensions (closes #216)
Also optimize the misc::isPreviewable() function.
2012-11-11 19:24:39 +02:00
Nick Tiskov
5a33c0d9ba Fix 'must not contain' regexp with '|' character
Checking if we are using regexp was done in setMustContain and
setMustNotContain before m_useRegex  was even read, corrupting the
value.
Only m_mustNotContain is affected because of how
RssDownloadRule::setMustNotContain handles read string when m_useRegex
is false.
2012-11-10 19:56:28 +02:00
Christophe Dumez
7064ac994b Merge pull request #215 from sledgehammer999/create_torrent
Open stream in binary mode. Fixes issue #161
2012-11-10 19:55:23 +02:00
Christophe Dumez
3c05e660b3 Fixes to Italian translation 2012-10-14 09:48:59 +03:00
Christophe Dumez
ed54c5f7ac Update language files 2012-10-07 19:17:00 +03:00
Christophe Dumez
63d6dd3735 Update Changelog 2012-10-07 19:16:14 +03:00
Christophe Dumez
02d56fd026 Update max write cache size to 2048MB and set it to automatic by default (closes #148) 2012-10-07 19:14:53 +03:00
Christophe Dumez
d4c9da6475 Bump version to v3.0.6 2012-10-07 17:40:52 +03:00
Christophe Dumez
99f126d0b6 Update language files 2012-10-07 17:29:53 +03:00
Christophe Dumez
8110d0eb01 Update Changelog 2012-10-07 17:29:14 +03:00
Christophe Dumez
90a2021948 Fix cookie support for RSS feeds (closes #119) 2012-10-07 17:28:22 +03:00
Christophe Dumez
7bfd0e058b Update Changelog 2012-10-07 17:08:44 +03:00
Christophe Dumez
6dcfe5b215 Fix timezone parsing in RSS (closes #136) 2012-10-07 17:08:27 +03:00
Christophe Dumez
7daeb0297d Update Changelog 2012-10-07 16:05:37 +03:00
Christophe Dumez
76597fa080 No longer fallback to ANY interface if the user-selected interface cannot be found (closes #143) 2012-10-07 16:05:14 +03:00
Christophe Dumez
14908f3fc8 Update Changelog 2012-10-07 15:43:48 +03:00
Christophe Dumez
3269cdfa70 Do not store created torrent in memory before writing it to a file (closes #133) 2012-10-07 15:43:25 +03:00
Christophe Dumez
5f0e3e3443 Update Changelog 2012-10-07 08:58:14 +03:00
sledgehammer999
fcd37dcbb4 Fix encoding problem. Fixes #139 2012-10-07 08:56:47 +03:00
Christophe Dumez
528759fdaa Bump version to v3.0.5 2012-09-30 10:58:35 +03:00
Christophe Dumez
cfe1235b57 Fix Changelog 2012-09-29 16:22:44 +03:00
Christophe Dumez
e5d5f84ae7 Properly recover from HTTP parsing errors (Web UI)
May be related to issue #68.
2012-09-29 16:18:51 +03:00
Christophe Dumez
bbda5c4f44 Fix handling of simultaneous connections in Web UI.
May be related to issue #68.
2012-09-29 16:18:40 +03:00
Christophe Dumez
9605192834 Update Changelog 2012-09-29 14:00:58 +03:00
Christophe Dumez
4c6e526e6c Fix "Skip hash check" feature in torrent import dialog (closes #128) 2012-09-29 14:00:30 +03:00
Christophe Dumez
e43fa17429 Fix version in Changelog 2012-09-28 17:56:51 +03:00
Christophe Dumez
c5dd14788a Update Changelog 2012-09-28 17:50:03 +03:00
Christophe Dumez
334ba32d69 Add Basque locale to Web UI 2012-09-28 17:49:25 +03:00
Christophe Dumez
8ba1941ab9 Fix homepage link in Web UI (closes #118) 2012-09-23 19:31:51 +03:00
Christophe Dumez
ea85532cc2 Update Changelog 2012-09-23 11:11:47 +03:00
Christophe Dumez
d3ee2e66af Import new trackers from magnet link in case of duplicate torrent (closes #111) 2012-09-23 11:11:09 +03:00
Christophe Dumez
4ac917ef66 Update Changelog 2012-09-22 14:03:30 +03:00
Christophe Dumez
41660385d7 Disabling systray icon no longer disables file association settings (closes #114) 2012-09-22 14:02:38 +03:00
Christophe Dumez
e5ae8e5ac9 Fixes to Italian translation 2012-09-22 13:19:23 +03:00
Christophe Dumez
7fb87660ac Update Italian author 2012-09-20 20:51:28 +03:00
Christophe Dumez
6ea7b5b1d0 OS/2 fixes by Silvan Scherrer 2012-09-20 20:46:35 +03:00
sledgehammer999
b624ad312b Updated installer script to ommit specific translations. 2012-09-18 23:03:15 +03:00
sledgehammer999
b64f4081cf Packaging script for Windows. 2012-09-18 23:03:05 +03:00
Christophe Dumez
bd9b153e9b Remove qt translations for locales that are not supported by qBittorrent 2012-09-18 22:53:23 +03:00
Christophe Dumez
32ca66f234 Merge pull request #103 from sledgehammer999/translations
Update Qt translations to v4.8.3
2012-09-18 22:53:14 +03:00
Christophe Dumez
753e9181fe Update Changelog and bump version to v3.0.4 2012-09-18 20:05:01 +03:00
Christophe Dumez
9546a73182 Fix torrent temporary path functionality 2012-09-18 20:01:59 +03:00
Christophe Dumez
c0ee99c553 Improve Mac packaging.
We now ship qt translations.
2012-09-16 10:36:24 +03:00
Christophe Dumez
50976b8dc2 Bump version to v3.0.3 2012-09-16 09:31:45 +03:00
Christophe Dumez
6a312461a1 Merge pull request #98 from sledgehammer999/windows_build2
Added version info for the binary.
2012-09-16 09:07:14 +03:00
Christophe Dumez
3fe09bde12 Merge pull request #97 from sledgehammer999/windows_build
Some typo fix and library names fix.
2012-09-16 09:07:05 +03:00
Christophe Dumez
f851b18b80 Add new Italian translator's name to about dialog 2012-09-15 18:21:11 +03:00
Christophe Dumez
ced29ced1b Small build fix 2012-09-15 17:46:36 +03:00
Christophe Dumez
5023b1ab74 Update Changelog 2012-09-15 16:55:35 +03:00
Christophe Dumez
c2ef78de8d Address encoding issues when using search engine on Windows (closes #29) 2012-09-15 16:55:14 +03:00
Christophe Dumez
6fbe452b55 Update Changelog 2012-09-15 15:55:18 +03:00
Christophe Dumez
51c4a0d8d0 Fix issue with temporary directory not being taken into consideration
Closes issue #94.
2012-09-15 15:54:37 +03:00
Christophe Dumez
b191a977af Merge pull request #95 from sledgehammer999/update_windows_build
Updated Windows build conf files.
2012-09-15 13:47:35 +03:00
Christophe Dumez
61858814ee Update Changelog 2012-09-15 10:10:11 +03:00
Christophe Dumez
365387f092 Update language files 2012-09-15 10:08:04 +03:00
Christophe Dumez
df295d96c2 Add Hebrew translation 2012-09-15 10:07:57 +03:00
Spencer Oliver
a069f806d9 session: always output anonymous status
Signed-off-by: Spencer Oliver <spen@spen-soft.co.uk>
2012-09-13 19:05:38 +03:00
Spencer Oliver
4638a9e6ee options: ensure ui matches options
If we set anonymous mode make sure the ui is disabled to match.

Signed-off-by: Spencer Oliver <spen@spen-soft.co.uk>
2012-09-13 19:05:38 +03:00
Christophe Dumez
af790e40f8 Update Changelog 2012-09-10 21:10:51 +03:00
Christophe Dumez
76fd5d3eb4 "Completed On" column is not updated until restart (closes #84) 2012-09-10 21:10:33 +03:00
Christophe Dumez
dc8a8fbc06 Disable search completion (closes #89) 2012-09-10 19:44:30 +03:00
Christophe Dumez
30e0cc20c8 OS/2 Fixes from Silvan Scherrer 2012-09-06 15:40:03 +03:00
Christophe Dumez
63dcb81384 Update Changelog 2012-09-02 21:44:25 +03:00
Christophe Dumez
ce391ad328 Bypass cache when uploading a torrent file in Web UI (closes #68) 2012-09-02 21:42:33 +03:00
Christophe Dumez
7b908c7adf Merge pull request #78 from SuperGnarf/release-3.0.2
Remove macro for not existing variable t
2012-09-02 06:11:01 -07:00
SuperGnarf
0d26d734b3 Update src/torrentcontentmodelitem.cpp
removed macro for not existing variable t
2012-09-02 15:53:43 +03:00
Christophe Dumez
f836c40fc4 Bump version to v3.0.2 2012-09-01 14:08:47 +03:00
Christophe Dumez
21fe7f2ca6 Update Changelog 2012-09-01 13:52:59 +03:00
Christophe Dumez
da85a57f83 Fix possible crash due to labels (closes #64) 2012-09-01 13:52:27 +03:00
Christophe Dumez
e35664b188 Correctly escape transfer list filter value typed by user 2012-08-28 18:37:02 +03:00
Christophe Dumez
2fc350b265 Update changelog 2012-08-28 18:29:11 +03:00
Christophe Dumez
83bcd6a2d7 Fix label-based filtering of torrents whose label contains special characters 2012-08-28 18:28:36 +03:00
Christophe Dumez
edcfa4df12 TorrentContentModel code clean up 2012-08-26 21:39:28 +03:00
Christophe Dumez
12a83e1aec Update Changelog 2012-08-26 21:02:26 +03:00
Christophe Dumez
7d50a8b28c Stop updating file priorities regularly in torrent content panel
Performance improvement to address issue #24.
2012-08-26 21:01:07 +03:00
Christophe Dumez
232e112d84 Optimizations to TorrentContentModel
First step to address issue #24.
2012-08-26 15:01:49 +03:00
Christophe Dumez
5b1ee883b4 Update Changelog 2012-08-26 10:14:12 +03:00
Christophe Dumez
b07fceec65 Add "clear" functionality to search field (closes #59) 2012-08-26 10:14:11 +03:00
Christophe Dumez
4c9cf6c773 Update Changelog 2012-08-25 16:54:58 +03:00
Christophe Dumez
164f37e961 Fix encoding problem for detected XDG Download folder (closes #53)
Only affects Linux.
2012-08-25 16:54:37 +03:00
Christophe Dumez
093fb303f3 Minor code clean up 2012-08-25 16:34:35 +03:00
Christophe Dumez
f3d5039e33 Update Changelog. 2012-08-24 19:21:32 +03:00
Christophe Dumez
007c307388 Fix crash when a fastresume file is empty (closes #52) 2012-08-24 19:20:47 +03:00
Christophe Dumez
4079689f32 Update Changelog 2012-08-23 21:21:39 +03:00
Christophe Dumez
2b3d6926c8 Attempt to use qBittorrent icon from theme if available (closes #49) 2012-08-23 21:19:50 +03:00
Christophe Dumez
14b3414e9d Bump version to v3.0.1 2012-08-21 20:22:20 +03:00
Christophe Dumez
73254962f1 Update Changelog 2012-08-21 17:50:47 +03:00
Christophe Dumez
74f042516b Make uTP rate limited by default 2012-08-21 17:50:07 +03:00
Christophe Dumez
8c0853248c Fix wiki link for "Anonymous Mode" feature (#25) 2012-08-14 20:58:36 +03:00
Christophe Dumez
80ea0a67b5 Update Changelog 2012-08-14 20:44:42 +03:00
Christophe Dumez
6d2b51203c Update URL for search plugins updater (closes #25) 2012-08-14 20:44:02 +03:00
Christophe Dumez
8ac82156b3 Update Changelog 2012-08-12 17:59:39 +03:00
Christophe Dumez
c1806b099a Fix crash when using unauthorized characters in label names (closes #19) 2012-08-12 17:59:09 +03:00
Christophe Dumez
1046c816bf Remove unused function 2012-08-12 10:14:05 +03:00
Christophe Dumez
cfbb5ecde5 Update Changelog 2012-08-12 09:58:54 +03:00
Christophe Dumez
afdec02674 Remember queue position for torrents without metadata (closes #17) 2012-08-12 09:58:05 +03:00
Christophe Dumez
927e6bc6cc Fixes to Italian translation 2012-08-10 21:28:40 +03:00
Christophe Dumez
e862d3332c Update language files 2012-08-10 14:23:36 +03:00
Simone
699144a83d Update src/lang/qbittorrent_it.ts 2012-08-10 14:22:40 +03:00
Christophe Dumez
1792f44bfa Update Changelog 2012-08-10 11:23:06 +03:00
Christophe Dumez
64e4095ef1 Fix possible crash when adding a tracker to a magnet torrent without metadata (Closes #1034254) 2012-08-10 11:18:37 +03:00
Christophe Dumez
1d1ffcec7c Handle exceptions in readAlerts() 2012-08-10 10:04:28 +03:00
306 changed files with 30373 additions and 18956 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

13
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
@@ -92,8 +100,9 @@ Translations authors:
- Georgian: Beqa Arabuli (arabulibeqa@yahoo.com)
- German: Niels Hoffmann (zentralmaschine@users.sourceforge.net)
- Greek: Tsvetan Bankov (emerge_life@users.sourceforge.net) and Stephanos Antaris (santaris@csd.auth.gr)
- Hebrew: David Deutsch (d.deffo@gmail.com)
- Hungarian: Majoros Péter (majoros.j.p@t-online.hu)
- Italian: Matteo Sechi (bu17714@gmail.com)
- Italian: bovirus (bovirus@live.it) and Matteo Sechi (bu17714@gmail.com)
- Japanese: Masato Hashimoto (cabezon.hashimoto@gmail.com)
- Korean: Jin Woo Sin (jin828sin@users.sourceforge.net)
- Lithuanian: Naglis Jonaitis (njonaitis@gmail.com)

112
Changelog
View File

@@ -1,3 +1,115 @@
* 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
- BUGFIX: Fix search issues with Python3
- BUGFIX: Fix dead link about certificates in program preferences
* Sat Jan 19 2013 - Christophe Dumez <chris@qbittorrent.org> - v3.0.7
- BUGFIX: Update max write cache size to 2048MB and set it to automatic by default (closes #148)
- BUGFIX: Add m4v to the list of previewable file extensions (closes #216)
- BUGFIX: Fix "Couldn't set environment variable..." message on start up (closes #245)
- BUGFIX: Use right path separator in torrent addition dialog on Windows
- BUGFIX: Fix "Set as default save path" setting (closes #254)
- BUGFIX: Reenable disk cache on Windows since the memory issue seems to be gone
- BUGFIX: Fixed several search engine plugins and removed the dead ones
- BUGFIX: Use https links in search plugins when possible
- BUGFIX: Bump Mootools to v1.4.5 (Web UI)
- BUGFIX: Require password to exit qBittorrent from tray icon when locked (closes #311)
- BUGFIX: Fix possible crash in loadPeers() (closes #222)
* Sun Oct 7 2012 - Christophe Dumez <chris@qbittorrent.org> - v3.0.6
- BUGFIX: Fix unicode support for command-line arguments on Windows (closes #139)
- BUGFIX: Do not store created torrent in memory before writing it to a file (closes #133)
- BUGFIX: No longer fallback to ANY interface if the user-selected interface cannot be found (closes #143)
- BUGFIX: Fix timezone parsing in RSS (closes #136)
- BUGFIX: Fix cookie support for RSS feeds (closes #119)
* Sun Sep 30 2012 - Christophe Dumez <chris@qbittorrent.org> - v3.0.5
- BUGFIX: Disabling systray icon no longer disables file association settings (closes #114)
- BUGFIX: Import new trackers from magnet link in case of duplicate torrent (closes #111)
- BUGFIX: Fix "Skip hash check" feature in torrent import dialog (closes #128)
- BUGFIX: Several Web UI connection fixes
- BUGFIX: Add Basque locale to Web UI
* Tue Sep 18 2012 - Christophe Dumez <chris@qbittorrent.org> - v3.0.4
- BUGFIX: Fix issue with downloads starting from scratch on startup if temporary
directory setting is enabled.
* Sun Sep 16 2012 - Christophe Dumez <chris@qbittorrent.org> - v3.0.3
- BUGFIX: Fix issue with temporary directory not being taken into consideration (closes #94)
- BUGFIX: Address encoding issues when using search engine on Windows (closes #29)
- BUGFIX: Bypass cache when uploading a torrent file in Web UI (closes #68)
- BUGFIX: "Completed On" column is not updated until restart (closes #84)
- BUGFIX: Fix possible build error on some systems
- I18N: Add hebrew translation
* Sat Sep 1 2012 - Christophe Dumez <chris@qbittorrent.org> - v3.0.2
- FEATURE: Add "clear" functionality to search field (closes #59)
- BUGFIX: Attempt to use qBittorrent icon from theme if available (closes #49)
- BUGFIX: Fix crash when a fastresume file is empty (closes #52)
- BUGFIX: Fix encoding problem for detected XDG Download folder (closes #53)
- BUGFIX: Improve performance when showing torrent content panel (Improves #24)
- BUGFIX: Fix label-based filtering of torrents whose label contains special characters
- BUGFIX: Fix possible crash due to labels (closes #64)
* Tue Aug 21 2012 - Christophe Dumez <chris@qbittorrent.org> - v3.0.1
- BUGFIX: Fix possible crash when adding a tracker to a magnet torrent without metadata (Closes #1034254)
- BUGFIX: Remember queue position for torrents without metadata (closes #17)
- BUGFIX: Fix crash when using unauthorized characters in label names (closes #19)
- BUGFIX: Fix search plugins updating (closes #25)
- BUGFIX: Make uTP connections rate limited by default
* Thu Aug 09 2012 - Christophe Dumez <chris@qbittorrent.org> - v3.0.0
- FEATURE: Brand new torrent addition dialog
- FEATURE: Add the ability to choose the save path when using magnet links (mutoso)

View File

@@ -42,7 +42,10 @@ LIBS += -Lx:/trees/libtorrent/trunk/src/.libs \
Of course all the above path references have to be adjusted to your build env.
It should now be easy to build qBittorrent:
Now you can either do a normal build or a shadow build. A shadow build has the
advantage that no created files are in the same dir as the sources are.
For a normal build do the following:
Simply type:
$ qmake
@@ -50,6 +53,16 @@ $ qmake
Followed by:
$ make
For a shadow build do the following:
given your sources are in x:\trees\qbittorrent\trunk create a
x:\trees\qbittorrent\build directory
Now switch to the created directory and type:
$ qmake ..\trunk
Followed by:
$ make
If all works fine you should get a working qbittorrent executable.
If you have any question regarding the eCS (OS/2) port of qBittorrent you can meet me (_diver) on IRC:

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

@@ -67,7 +67,7 @@ ZIP Installation:
klibc
-----
1. Download klibc 0.6.4 or better (see http://svn.netlabs.org/libc for more information)
1. Download klibc 0.6.5 or better (see http://svn.netlabs.org/libc for more information)
2. Install the files to your libpath eg x:\ecs\dll
openssl 1.0
@@ -146,6 +146,19 @@ development, you can do so in one of the following ways:
7. HISTORY
==========
2012-09-19
* updated to 3.0.4 code level of QBittorrent
* updated libtorrent to 0.16.3 level
2012-09-06
* updated to 3.0.2 code level of QBittorrent
2012-05-14
* updated to 2.9.8 code level of QBittorrent
2012-03-15
* updated to 2.9.5 code level of QBittorrent

View File

@@ -16,16 +16,52 @@ LIBS += -lssl -lcrypto
# Boost system lib
LIBS += -lboost_system-mt
# Boost filesystem lib (Not needed for libtorrent >= 0.16.0)
LIBS += -lboost_filesystem-mt
#LIBS += -lboost_filesystem-mt
# Carbon
LIBS += -framework Carbon -framework IOKit
# Zlib
LIBS += -lz
document_icon.path = Contents/Resources
document_icon.files = Icons/qBitTorrentDocument.icns
document_icon.files = mac/qBitTorrentDocument.icns
QMAKE_BUNDLE_DATA += document_icon
ICON = Icons/qbittorrent_mac.icns
QMAKE_INFO_PLIST = Info.plist
qt_conf.path = Contents/Resources
qt_conf.files = mac/qt.conf
QMAKE_BUNDLE_DATA += qt_conf
qt_translations.path = Contents/MacOS/translations
qt_translations.files = qt-translations/qt_ar.qm \
qt-translations/qt_bg.qm \
qt-translations/qt_ca.qm \
qt-translations/qt_cs.qm \
qt-translations/qt_da.qm \
qt-translations/qt_de.qm \
qt-translations/qt_es.qm \
qt-translations/qt_fi.qm \
qt-translations/qt_fr.qm \
qt-translations/qt_gl.qm \
qt-translations/qt_he.qm \
qt-translations/qt_hu.qm \
qt-translations/qt_it.qm \
qt-translations/qt_ja.qm \
qt-translations/qt_ko.qm \
qt-translations/qt_lt.qm \
qt-translations/qt_nl.qm \
qt-translations/qt_pl.qm \
qt-translations/qt_pt.qm \
qt-translations/qt_pt_BR.qm \
qt-translations/qt_ru.qm \
qt-translations/qt_sk.qm \
qt-translations/qt_sv.qm \
qt-translations/qt_tr.qm \
qt-translations/qt_uk.qm \
qt-translations/qt_zh_CN.qm \
qt-translations/qt_zh_TW.qm
QMAKE_BUNDLE_DATA += qt_translations
ICON = mac/qbittorrent_mac.icns
QMAKE_INFO_PLIST = mac/Info.plist
DEFINES += WITH_GEOIP_EMBEDDED
message("On Mac OS X, GeoIP database must be embedded.")

View File

@@ -7,12 +7,13 @@ LIBS += -ltorrent-rasterbar \
-lboost_thread \
-lboost_system \
-lboost_filesystem \
-lssl -lcrypto -lidn -lpthread
-lssl -lcrypto -lidn -lpthread -lz
RC_FILE = qbittorrent_os2.rc
# LIBTORRENT DEFINES
DEFINES += WITH_SHIPPED_GEOIP_H
DEFINES += BOOST_ASIO_DYN_LINK
DEFINES += WITH_GEOIP_EMBEDDED
message("On eCS(OS/2), GeoIP database must be embedded.")

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>");
@@ -80,8 +80,9 @@ class about : public QDialog, private Ui::AboutDlg{
<li><u>Georgian:</u> Beqa Arabuli (arabulibeqa@yahoo.com)</li>\
<li><u>German:</u> Niels Hoffmann (zentralmaschine@users.sourceforge.net)</li>\
<li><u>Greek:</u> Tsvetan Bankov (emerge_life@users.sourceforge.net)</li>\
<li><u>Hebrew:</u> David Deutsch (d.deffo@gmail.com)</li>\
<li><u>Hungarian:</u> Majoros Péter (majoros.peterj@gmail.com)</li>\
<li><u>Italian:</u> Matteo Sechi (bu17714@gmail.com)</li>\
<li><u>Italian:</u> bovirus (bovirus@live.it) and Matteo Sechi (bu17714@gmail.com)</li>\
<li><u>Japanese:</u> Masato Hashimoto (cabezon.hashimoto@gmail.com)</li>\
<li><u>Korean:</u> Jin Woo Sin (jin828sin@users.sourceforge.net)</li>\
<li><u>Lithuanian:</u> Naglis Jonaitis (njonaitis@gmail.com)</li>\
@@ -92,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

@@ -65,7 +65,7 @@ AddNewTorrentDialog::AddNewTorrentDialog(QWidget *parent) :
QIniSettings settings(QString::fromUtf8("qBittorrent"), QString::fromUtf8("qBittorrent"));
Preferences pref;
ui->start_torrent_cb->setChecked(!pref.addTorrentsInPause());
ui->save_path_combo->addItem(fsutils::toDisplayPath(pref.getSavePath()));
ui->save_path_combo->addItem(fsutils::toDisplayPath(pref.getSavePath()), pref.getSavePath());
loadSavePathHistory();
ui->save_path_combo->insertSeparator(ui->save_path_combo->count());
ui->save_path_combo->addItem(tr("Other...", "Other save path..."));
@@ -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()
@@ -225,7 +229,7 @@ bool AddNewTorrentDialog::loadTorrent(const QString& torrent_path, const QString
QString single_file_relpath = misc::toQStringU(m_torrentInfo->file_at(0).path.string());
#endif
for (int i=0; i<ui->save_path_combo->count()-1; ++i) {
ui->save_path_combo->setItemText(i, QDir(ui->save_path_combo->itemText(i)).absoluteFilePath(single_file_relpath));
ui->save_path_combo->setItemText(i, fsutils::toDisplayPath(QDir(ui->save_path_combo->itemText(i)).absoluteFilePath(single_file_relpath)));
}
}
@@ -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"),
@@ -594,6 +601,8 @@ void AddNewTorrentDialog::on_buttonBox_accepted()
saveSavePathHistory();
// Save settings
pref.useAdditionDialog(!ui->never_show_cb->isChecked());
if (ui->default_save_path_cb->isChecked())
if (ui->default_save_path_cb->isChecked()) {
pref.setSavePath(ui->save_path_combo->itemData(ui->save_path_combo->currentIndex()).toString());
QBtSession::instance()->setDefaultSavePath(pref.getSavePath());
}
}

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;
@@ -46,8 +47,8 @@ class DownloadThread : public QObject {
public:
DownloadThread(QObject* parent = 0);
QNetworkReply* downloadUrl(const QString &url, const QList<QNetworkCookie>& raw_cookies = QList<QNetworkCookie>());
void downloadTorrentUrl(const QString &url, const QList<QNetworkCookie>& raw_cookies = QList<QNetworkCookie>());
QNetworkReply* downloadUrl(const QString &url, const QList<QNetworkCookie>& cookies = QList<QNetworkCookie>());
void downloadTorrentUrl(const QString &url, const QList<QNetworkCookie>& cookies = QList<QNetworkCookie>());
//void setProxy(QString IP, int port, QString username, QString password);
signals:
@@ -62,6 +63,7 @@ private slots:
#endif
private:
static QByteArray gUncompress(Bytef *inData, size_t len);
QString errorCodeToString(QNetworkReply::NetworkError status);
void applyProxySettings();

View File

@@ -66,9 +66,6 @@
using namespace libtorrent;
// EXT2/3/4 file systems support a maximum of 255 bytes for filenames.
const int MAX_FILENAME_BYTES = 255;
/**
* Converts a path to a string suitable for display.
* This function makes sure the directory separator used is consistent
@@ -76,12 +73,7 @@ const int MAX_FILENAME_BYTES = 255;
*/
QString fsutils::toDisplayPath(const QString& path)
{
#if defined(Q_WS_WIN) || defined(Q_OS_OS2)
QString ret = path;
return ret.replace("/", "\\");
#else
return path;
#endif
return QDir::toNativeSeparators(path);
}
/**
@@ -204,54 +196,6 @@ qint64 fsutils::computePathSize(const QString& path)
return size;
}
/**
* Fixes the given file path by shortening the file names if too long.
*/
QString fsutils::fixFileNames(const QString& path)
{
QByteArray raw_path = path.toLocal8Bit();
raw_path.replace("\\", "/");
QList<QByteArray> parts = raw_path.split('/');
if (parts.isEmpty()) return path;
QByteArray last_part = parts.takeLast();
QList<QByteArray>::iterator it = parts.begin();
QList<QByteArray>::iterator itend = parts.end();
for ( ; it != itend; ++it) {
// Make sure the filename is not too long
if (it->size() > MAX_FILENAME_BYTES) {
qWarning() << "Folder" << *it << "was cut because it was too long";
it->resize(MAX_FILENAME_BYTES);
qWarning() << "New folder name is" << *it;
Q_ASSERT(it->length() == MAX_FILENAME_BYTES);
}
}
// Fix the last part (file name)
qDebug() << "Last part length:" << last_part.length();
if (last_part.length() > MAX_FILENAME_BYTES) {
qWarning() << "Filename" << last_part << "was cut because it was too long";
// Shorten the name, keep the file extension
const int point_index = last_part.lastIndexOf(".");
QByteArray extension = "";
if (point_index >= 0) {
extension = last_part.mid(point_index);
last_part = last_part.left(point_index);
}
last_part.resize(MAX_FILENAME_BYTES - extension.length());
last_part += extension;
Q_ASSERT(last_part.length() == MAX_FILENAME_BYTES);
qWarning() << "New file name is" << last_part;
}
QString ret;
foreach(const QByteArray& part, parts) {
ret += QString::fromLocal8Bit(part.constData()) + "/";
}
ret += QString::fromLocal8Bit(last_part.constData());
return ret;
}
/**
* Makes deep comparison of two files to make sure they are identical.
*/
@@ -452,7 +396,7 @@ QString fsutils::QDesktopServicesDataLocation() {
}
QString fsutils::QDesktopServicesCacheLocation() {
#ifdef Q_WS_WIN
#if defined(Q_WS_WIN) || defined(Q_OS_OS2)
return QDesktopServicesDataLocation() + QLatin1String("\\cache");
#else
#ifdef Q_WS_MAC
@@ -496,6 +440,9 @@ QString fsutils::QDesktopServicesDownloadLocation() {
QString user_dirs_file = config_path + "/user-dirs.dirs";
if (QFile::exists(user_dirs_file)) {
QSettings settings(user_dirs_file, QSettings::IniFormat);
// We need to force UTF-8 encoding here since this is not
// the default for Ini files.
settings.setIniCodec("UTF-8");
QString xdg_download_dir = settings.value("XDG_DOWNLOAD_DIR").toString();
if (!xdg_download_dir.isEmpty()) {
// Resolve $HOME environment variables

View File

@@ -46,7 +46,6 @@ static QString toDisplayPath(const QString& path);
static QString fileExtension(const QString& filename);
static QString fileName(const QString& file_path);
static qint64 computePathSize(const QString& path);
static QString fixFileNames(const QString& path);
static bool sameFiles(const QString& path1, const QString& path2);
static QString updateLabelInSavePath(QString defaultSavePath, QString save_path, const QString& old_label, const QString& new_label);
static QString toValidFileSystemName(QString filename);

File diff suppressed because it is too large Load Diff

View File

@@ -1,40 +1,41 @@
<!DOCTYPE RCC><RCC version="1.0">
<qresource>
<file>lang/qbittorrent_nl.qm</file>
<file>lang/qbittorrent_hu.qm</file>
<file>lang/qbittorrent_ru.qm</file>
<file>lang/qbittorrent_zh_TW.qm</file>
<file>lang/qbittorrent_tr.qm</file>
<file>lang/qbittorrent_fi.qm</file>
<file>lang/qbittorrent_sk.qm</file>
<file>lang/qbittorrent_ja.qm</file>
<file>lang/qbittorrent_el.qm</file>
<file>lang/qbittorrent_ar.qm</file>
<file>lang/qbittorrent_be.qm</file>
<file>lang/qbittorrent_bg.qm</file>
<file>lang/qbittorrent_ca.qm</file>
<file>lang/qbittorrent_pt.qm</file>
<file>lang/qbittorrent_it.qm</file>
<file>lang/qbittorrent_cs.qm</file>
<file>lang/qbittorrent_da.qm</file>
<file>lang/qbittorrent_de.qm</file>
<file>lang/qbittorrent_el.qm</file>
<file>lang/qbittorrent_en.qm</file>
<file>lang/qbittorrent_es.qm</file>
<file>lang/qbittorrent_eu.qm</file>
<file>lang/qbittorrent_fi.qm</file>
<file>lang/qbittorrent_fr.qm</file>
<file>lang/qbittorrent_gl.qm</file>
<file>lang/qbittorrent_he.qm</file>
<file>lang/qbittorrent_hr.qm</file>
<file>lang/qbittorrent_hu.qm</file>
<file>lang/qbittorrent_hy.qm</file>
<file>lang/qbittorrent_it.qm</file>
<file>lang/qbittorrent_ja.qm</file>
<file>lang/qbittorrent_ka.qm</file>
<file>lang/qbittorrent_ko.qm</file>
<file>lang/qbittorrent_lt.qm</file>
<file>lang/qbittorrent_nb.qm</file>
<file>lang/qbittorrent_nl.qm</file>
<file>lang/qbittorrent_pl.qm</file>
<file>lang/qbittorrent_pt.qm</file>
<file>lang/qbittorrent_pt_BR.qm</file>
<file>lang/qbittorrent_ro.qm</file>
<file>lang/qbittorrent_ru.qm</file>
<file>lang/qbittorrent_sk.qm</file>
<file>lang/qbittorrent_sr.qm</file>
<file>lang/qbittorrent_sv.qm</file>
<file>lang/qbittorrent_tr.qm</file>
<file>lang/qbittorrent_uk.qm</file>
<file>lang/qbittorrent_zh.qm</file>
<file>lang/qbittorrent_lt.qm</file>
<file>lang/qbittorrent_ko.qm</file>
<file>lang/qbittorrent_nb.qm</file>
<file>lang/qbittorrent_sv.qm</file>
<file>lang/qbittorrent_de.qm</file>
<file>lang/qbittorrent_gl.qm</file>
<file>lang/qbittorrent_sr.qm</file>
<file>lang/qbittorrent_pt_BR.qm</file>
<file>lang/qbittorrent_da.qm</file>
<file>lang/qbittorrent_cs.qm</file>
<file>lang/qbittorrent_hy.qm</file>
<file>lang/qbittorrent_pl.qm</file>
<file>lang/qbittorrent_bg.qm</file>
<file>lang/qbittorrent_ar.qm</file>
<file>lang/qbittorrent_es.qm</file>
<file>lang/qbittorrent_en.qm</file>
<file>lang/qbittorrent_hr.qm</file>
<file>lang/qbittorrent_ro.qm</file>
<file>lang/qbittorrent_ka.qm</file>
<file>lang/qbittorrent_be.qm</file>
<file>lang/qbittorrent_eu.qm</file>
<file>lang/qbittorrent_zh_TW.qm</file>
</qresource>
</RCC>
</RCC>

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

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