Commit graph

61 commits

Author SHA1 Message Date
Chocobo1
0eaf991d6f Use QLineEdit built-in ClearButton (Qt5 only) 2015-11-09 20:30:50 +08:00
Gabriele
4d66a0929c Add "Copy description page URL" button in search tab
Closes #2371.
2015-08-04 11:18:46 +02:00
Gabriele
7c00e80f7a searchengine: use kill() instead of terminate() on Windows 2015-08-02 14:04:11 +02:00
Gabriele
3a9cf70228 searchengine: use a single string for the search results number label 2015-08-02 14:04:11 +02:00
Gabriele
0f35bac605 searchengine: don't use strings to determine the status of search processes
'&' symbols are dynamically added to strings, making comparisons
unreliable.
2015-08-02 14:04:07 +02:00
Gabriele
1b24feb4f4 searchengine: drop unused flag and related code 2015-08-02 13:53:12 +02:00
Gabriele
ee8a492954 searchengine: fix crash when closing tab with running search
If a tab is closed, the search process gets terminated. This can take
a while and by the time searchFinished() is executed, activeSearchTab
is null, leading to a crash. Fix this by waiting for the process to
terminate and make sure activeSearchTab is not null when used.
2015-08-02 13:49:42 +02:00
Gabriele
885eb64df3 Follow project coding style. Issue #2192. 2015-07-29 19:58:22 +02:00
sledgehammer999
d6af4683bb Merge pull request #2624 from pmzqla/python
Prefer python3 over python2
2015-07-21 01:55:14 +03:00
DoumanAsh
e2aa8056af Search status uses tab's status 2015-07-14 09:03:27 +03:00
ngosang
b23608ec35 Fix column sort in search engine. Closes #2621 2015-06-28 23:51:09 +02:00
ngosang
326a74425f Cosmetics changes in search engine 2015-06-28 14:38:17 +02:00
Gabriele
0c23d22472 Show notification if Python is not found and a search is started
Also, don't bother starting a search if it's known that Python is
not available.
2015-06-17 21:30:12 +02:00
Gabriele
e34cc79dad Use python3 and python2 instead of python on Linux
Prefer python3 over python2 when both are available.

Both python2 and python3 should always exists.
More info at: http://legacy.python.org/dev/peps/pep-0394/
2015-06-17 21:29:20 +02:00
dartraiden
8ac83cfd42 Fixed typos, spelling correction 2015-06-14 10:55:46 +03:00
DoumanAsh
1222dab6f8 [search engine] Remove python3 cache during updateNova() 2015-06-12 01:30:35 +03:00
Vladimir Golovnev (Glassez)
191cdc2849 Move utilities to core/utils folder.
Also move the names to Utils namespace.
2015-06-09 21:30:56 +03:00
Vladimir Golovnev (Glassez)
d16d1fdb3a Redesign main core classes. 2015-06-09 21:30:42 +03:00
Vladimir Golovnev (Glassez)
d32bb52390 Don't add core to INCLUDEPATH. 2015-06-03 22:11:43 +03:00
sledgehammer999
2ad10ea47e Merge pull request #3006 from ngosang/translate_search
Make strings translatable in search engine
2015-06-01 17:08:37 +03:00
ngosang
b18138bad0 Change width of columns in search tab. Closes #764 2015-05-15 14:25:51 +02:00
ngosang
bd6afc2d86 Make strings translatable in seach engine 2015-05-14 14:39:30 +02:00
sledgehammer999
1bf7e3cafa Move the searchengine code back into its original place. 2015-02-23 03:44:29 +02: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
DoumanAsh
e357cf6231 Add combo box for fast search engine switch 2014-12-16 01:19:31 +03:00
sledgehammer999
0799dc293c WINDOWS: Check for python before creating the search engine tab. Prevents the creation of python specific files in the user's PC if no python is found. Closes #1370. 2014-09-14 22:20:36 +03:00
sledgehammer999
d8d95d2195 Migrate everything to use the new Preferences class and not access directly the qbittorrent.ini file. 2014-08-05 02:34:21 +03:00
Vladimir Golovnev (Glassez)
ce3aac5f9d Fix functions and macros using to support both Qt4 and Qt5. 2014-05-02 00:00:03 +03:00
Nick Tiskov
6346716df6 Update SearchEngine classes
Guaranteed to work with qt-style separators internally; guaranteed to call native OS environment using native separators
2014-01-22 19:37:29 +04:00
sledgehammer999
423d60cced Delete temporary after they aren't needed. Closes #1188. 2014-01-02 22:43:17 +02:00
sledgehammer999
0b0e137175 Mark strings as translatable. Closes #893. 2013-09-01 17:47:06 +03:00
sledgehammer999
f6e4ff1ab9 Use naturalSort in search. 2013-07-09 20:37:14 +03:00
Christophe Dumez
da3406b811 Simplify the code a bit now that QIniSettings uses qBittorrent / qBittorrent by default 2013-02-16 20:04:48 +02:00
Deniz Dogan
bd3dd337c1 Replace 'occured' with 'occurred' everywhere, except compiled lang files. 2012-11-07 02:38:22 +01:00
Christophe Dumez
d12c5cdf55 Address encoding issues when using search engine on Windows (closes #29) 2012-09-15 16:54:09 +03:00
Christophe Dumez
c79e801929 Disable search completion (closes #89) 2012-09-10 19:43:30 +03:00
Christophe Dumez
e9d075049b Add "clear" functionality to search field (closes #59) 2012-08-26 10:12:30 +03:00
Christophe Dumez
90373897d6 Fix permission problems on Windows (closes #1020227) 2012-07-05 19:10:13 +03:00
Christophe Dumez
755dc40ee4 Update Python version for Windows 2012-07-01 16:06:23 +03:00
Christophe Dumez
1398a39768 Fix KickAssTorrents plugin 2012-05-20 17:27:16 +03:00
Christophe Dumez
0f291629cc Move FileSystem utility functions out of misc.h
Use new fs_utils.h instead.
2012-05-16 21:19:05 +03:00
Christophe Dumez
0c279e0567 Remove QT_VERSION checks for 4.5.0 2012-02-25 20:20:11 +02:00
Christophe Dumez
f3448125c3 Coding style clean up 2012-02-20 19:56:07 +02:00
Christophe Dumez
a8a7b61ea9 Coding style clean up 2012-02-20 19:30:53 +02:00
Christophe Dumez
ed468083c5 Remove misc::chmod644() function 2012-02-18 15:31:08 +02:00
Christophe Dumez
c25586b500 Remove misc::safeRemove(): shouldn't be needed 2012-02-18 12:49:05 +02:00
Christophe Dumez
2f7b20c704 Use qputenv/qgetenv from Qt for better cross compatibility 2011-10-02 17:04:16 +03:00
Christophe Dumez
f4c2fdd2fd Search: Initial support for Python 3.x 2011-09-11 20:22:54 +03:00
Christophe Dumez
851a677a48 Fix URL decoding in search engine 2011-04-11 16:21:07 +00:00
Christophe Dumez
eaac9180e5 Make sure python is not required on startup (Windows) 2011-04-04 19:13:59 +00:00