Commit graph

5863 commits

Author SHA1 Message Date
buinsky
18b036545c Fix 'Resume all' & 'Pause all' actions 2015-02-10 14:09:10 +03:00
buinsky
1d5e52fc55 Fix friendlyDuration function 2015-02-10 14:09:07 +03:00
buinsky
ba86d16e78 Use compact style of JSON data 2015-02-10 14:09:05 +03:00
buinsky
bed0784a2d Follow project coding style. Issue #2192. 2015-02-10 14:09:02 +03:00
buinsky
d17f21af45 Queueing flag relocation in sync/maindata response 2015-02-10 14:09:00 +03:00
sledgehammer999
7bea5abb8d Merge pull request #2525 from ngosang/remove_empty_labels
Change "remove empty labels" to "remove unused labels".
2015-02-10 08:56:40 +02:00
sledgehammer999
503cca5a7e Merge pull request #2501 from ngosang/sort_state
Changes sort order of the status column
2015-02-10 08:55:17 +02:00
ngosang
d046b7a532 Change "remove empty labels" to "remove unused labels". 2015-02-10 01:46:27 +01:00
sledgehammer999
99cc29c18e Merge pull request #2504 from ngosang/remove_empty_labels
New feature: Remove empty labels
2015-02-10 02:18:28 +02:00
ngosang
ea111c664f New feature: Remove empty labels 2015-02-10 01:12:16 +01:00
sledgehammer999
eff45b9e14 Merge pull request #2488 from DoumanAsh/piratebay_fix
[searchengine] Fix piratebay. Closes #2270
2015-02-09 22:45:41 +02:00
DoumanAsh
503626bde8 [searchengine] Fix piratebay. Closes #2270 2015-02-09 21:13:57 +03:00
ngosang
57ab7fcf64 Changes sort order of the status column 2015-02-09 18:13:51 +01:00
sledgehammer999
b7898cccd0 Merge pull request #2508 from ngosang/mininova_search
Fix: error in mininova search engine
2015-02-09 19:09:54 +02:00
sledgehammer999
f84a22f403 Merge pull request #2506 from ngosang/white_bar
Removes white bar in the labels list. Closes #1151.
2015-02-09 19:09:16 +02:00
sledgehammer999
8bd0470fbb Merge pull request #2523 from ngosang/percent
Small change in progress bar percentage
2015-02-09 19:02:58 +02:00
ngosang
2da3ad3234 Removes white bar in the labels list. Closes #1151. 2015-02-09 17:38:54 +01:00
ngosang
0e89ec3737 Small change in progress bar percentage 2015-02-09 17:32:00 +01:00
ADTC
d0c523ed00 Changed "caption" to "name" in code for consistency
To maintain consistency with the actual English menu item, the variable
names and method name have been changed to reflect the menu item text.

Per comments in PR qbittorrent#2493

Signed-off-by: ADTC <send2adtc@gmail.com>
2015-02-09 11:19:33 +08:00
ngosang
5d3f68e422 Add icon to "Copy name" option and change item ordering
The Copy icon is added to the menu item. This is in tandem with other
uses of the same icon, such as "Copy" (in log), "Copy selected" (in peer
list), "Copy tracker url", etc.

Also changed the ordering to have the new option appear before the
existing "Copy magnet link" icon.

This is as per comments in PR qbittorrent#2493

Signed-off-by: ADTC <send2adtc@gmail.com>
2015-02-09 11:19:31 +08:00
Chris Hirst
91aad83cad Add "Copy name" option in right-click menu of torrent list
Implementation of feature request #2452
https://github.com/qbittorrent/qBittorrent/issues/2452

Adds a new option in the right-click menu of the torrent list to copy
the name(s) of selected torrent(s) to the clipboard. This is similar to
the existing option to copy the magnet links to the clipboard.

This patch was originally authored by Chris Hirst (ciaobaby). I changed
the item name from "Copy caption" to "Copy name" (the torrent list
column header says "Name"), and I added the missing line in the header
file.

Note: Translations are not updated for the English menu item "Copy
name".

Signed-off-by: ADTC <send2adtc@gmail.com>
2015-02-09 11:19:29 +08:00
ngosang
1bd9b6ae1a Fix: error in mininova search engine 2015-02-09 01:46:00 +01:00
sledgehammer999
2859856034 Merge pull request #2518 from pmzqla/date-logs
Use system format to display dates in logs
2015-02-09 00:17:36 +02:00
Gabriele
8890d244e2 WebUI: Update browser title even with no transfer going on 2015-02-08 23:10:41 +01:00
Gabriele
09c8d17c94 WebUI: Fix negative offsets when requesting torrent list
If the offset is negative, it must be added to the current list size.
2015-02-08 23:09:45 +01:00
Gabriele
2a351ea9a4 WebUI: Fix checkboxes of the watched folder list in the preferences
The 'checked' attribute does not require any value, so for unckecked
checkboxes nothing should be added.

Fix f16b7614a1.
2015-02-08 23:07:07 +01:00
Gabriele
8fa3a714c2 Use system format to display dates in logs 2015-02-08 23:05:47 +01:00
sledgehammer999
8eaaa41573 Merge pull request #2484 from ngosang/create_torrent
Fix: default settings in "Create Torrent" dialog
2015-02-09 00:02:09 +02:00
ngosang
85610b3b7d Fix Create Torrent dialog 2015-02-08 22:45:27 +01:00
sledgehammer999
c6248fb162 Merge pull request #2449 from glassez/redesign
First preparations for Redesign (#2433)
2015-02-08 22:50:22 +02:00
Vladimir Golovnev (Glassez)
898d454b78 Follow project coding style (Issue #2192). 2015-02-08 20:38:04 +03:00
Vladimir Golovnev (Glassez)
2707f5205f Fix prefjson::setPreferences() doesn't actually save. 2015-02-08 19:44:56 +03:00
Vladimir Golovnev (Glassez)
8e1698d563 Implement Preferences::changed() signal. 2015-02-08 19:37:04 +03:00
Vladimir Golovnev (Glassez)
458b216b74 MainWindow cleanups.
All MainWindow child widgets use constructors with 'parent' parameter
that allows parent widget to delete them at its destruction.
Some other MainWindow cleanup code replaced to destructor.
Application manages MainWindow instance and remove it when aboutToQuit()
signal emitted.
2015-02-08 19:36:52 +03:00
Vladimir Golovnev (Glassez)
0c50a8b98b Put all application logic into Application class.
Application process message and split it into params list itself (this
prevents code duplication).
Application store params unless other components ready to process them.
Application incapsulate all QMacApplication and SessionApplication logic
(this is too small to have separate classes).
2015-02-08 19:33:18 +03:00
Vladimir Golovnev (Glassez)
8b95bb233d Fix main(). 2015-02-08 19:28:03 +03:00
Vladimir Golovnev (Glassez)
2dd473eb28 Use unmodified QtSingleApplication on Windows.
Get running application instance PID without QtSingleApplication
modification.
2015-02-08 19:27:45 +03:00
Vladimir Golovnev (Glassez)
e52a8fb0b0 Fix misc::getUserIDString() on Windows.
Return current user name now (and not constant "0").
Also use Unicode version of GetUserName().
2015-02-05 19:10:46 +03:00
Vladimir Golovnev (Glassez)
ff9a281b72 Change project directory structure.
Change project directory structure according to application structure.
Change 'nox' configuration option to something more meaningful 'nogui'.
Rename 'Icons' folder to 'icons' (similar to other folders).
Partially add 'nowebui' option support.
Remove QConf project file.
2015-02-05 19:10:26 +03:00
sledgehammer999
e4c7f52bb3 Merge pull request #2463 from Noctem/QFont
Include QFont headers for OS X
2015-02-02 23:34:15 +02:00
David Christenson
2b480f60f9 Include QFont headers for OS X
Fix compilation on OS X >10.8 by including headers for QFont.
2015-02-01 17:06:59 -07:00
sledgehammer999
d0b476a4be Merge pull request #2464 from Noctem/stdlib-flags
Fix OS X compilation and packaging
2015-02-02 00:21:02 +02:00
David Christenson
bdb722893f Fix C++11 compliance
Fix compiler error when compiling with -std=c++11
 "invalid suffix on literal; C++11 requires a space between literal and
 identifier [-Wreserved-user-defined-literal]"
2015-02-01 13:32:00 -07:00
David Christenson
3f22bf1186 Use c++11 config instead of hard coding flags
Tell qtmake to use c++11 and let it handle the configuration changes.
2015-02-01 13:31:47 -07:00
sledgehammer999
6209d8838a Show info hash in the torrent details in 'Add New Torrent' dialog.
Initial work by chrishirst.
Closes #2385.
2015-02-01 18:29:00 +02:00
sledgehammer999
cb9a5c5018 Merge pull request #2480 from ngosang/copy_peers
Copy selected peers (IP:Port)
2015-02-01 15:51:52 +02:00
ngosang
17eb2dd3cc Copy selected peers (IP:Port) 2015-02-01 12:04:24 +01:00
sledgehammer999
71b6c6ffd7 Merge pull request #2470 from Noctem/minor
Update build-aux, configure, and .gitignore
2015-02-01 01:59:42 +02:00
sledgehammer999
2b24fe09c5 Save the new save path first in the history. Closes #2382. 2015-02-01 01:38:24 +02:00
sledgehammer999
38455af791 Follow project coding style. Issue #2192. 2015-02-01 01:27:51 +02:00