Chocobo1
7de8a4d6e0
Construct QString more efficiently
5 years ago
Chocobo1
48e7191ef7
Initialize boolean variables
5 years ago
Chocobo1
071ffd13de
Fix wrong field for translation comment
...
The `comment` field is used for disambiguation between identical
strings. Our case here should use the `extracomment` field which
meant as comment for translators.
5 years ago
Chocobo1
bf264b983a
Simplify null pointer check
5 years ago
Xegor
325f36fa4f
Add create subfolder option to RSS auto-download rules
5 years ago
Chocobo1
0d5b0b9542
Replace deprecated macro
...
Q_OS_MAC is deprecated and the replacement is Q_OS_MACOS.
5 years ago
thalieht
e26573d97f
Use FileSystemPathEdit in automated rss downloader
5 years ago
Chocobo1
7ab3479a34
Replace static_cast by qOverload
5 years ago
Chocobo1
4a90716843
Add override keyword to functions
5 years ago
Chocobo1
e74b984a0a
Rely on Qt ownership to delete class members
5 years ago
Prince Gupta
8267a4fef9
Incorporate GuiIconProvider inside UIThemeManager
5 years ago
Chocobo1
599bfc0735
Use Qt object ownership to handle QShortcut deletions
5 years ago
Chocobo1
3748b995ff
Avoid creating unnecessary event loops
...
The `exec()` method will create another event loop and transfer
control over there which might introduce unexpected bugs.
6 years ago
thalieht
70f8882f87
Group Qt forward declarations separately from the others
6 years ago
thalieht
9995967fbf
Remove some unused #include
6 years ago
thalieht
4370a7eb12
Forward declare in a few places
6 years ago
Chocobo1
49df1cd3c7
Use less operations when building strings
6 years ago
thalieht
70f1537d9f
Add const to almost all remaining vars and arguments that qualify
6 years ago
thalieht
8c944bd4e1
Avoid repeating the return type
6 years ago
thalieht
400792d18e
Use isEmpty() instead of size() for emptiness
6 years ago
thalieht
d8cbc9266a
Use 'auto' to avoid duplicating the type name
6 years ago
Chocobo1
f789df7edf
Add license header
6 years ago
Chocobo1
2b903fc3d1
Move Utils::Misc::isUrl() function
...
All usage of this function gets to call Net::DownloadManager eventually.
6 years ago
thalieht
1f36b8b89f
Combine qAsConst() with copyAsConst() to asConst()
6 years ago
thalieht
6b1d26d555
Convert all foreach() to range-based for()
6 years ago
Chocobo1
0217d5b4c0
Replace single-character string with character literal
...
Also remove unnecessary dynamic allocation.
6 years ago
thalieht
456270bbb1
Delete several unused #include
7 years ago
thalieht
6d4434ad66
Convert the names used in ui and c++ files from snake_case to camelCase
7 years ago
thalieht
d34ddb2e3c
Change file names and classes names to match them
7 years ago
Eugene Shalygin
fa770871e9
Refactor CMake build scripts
...
1. Use FeatureSummary module to show configuration results.
2. Invert option()/find_package() relationship: instead of
calling find_package(... REQUIRED) when option is set, rely on optional
find package call and PackageName_FOUND variable.
3. Refactor handling options that result in simple preprocessor defines
(actually copy the snippet from libtorrent) so that everything is done
in a single function call.
4. Populate target properties in order to get rid of
include_directories() calls.
7 years ago
thalieht
356d6a6589
Fix coding style
7 years ago
Chocobo1
09f759355f
Replace QRegExp with QRegularExpression
...
Revise `static` keyword usage, static is added to frequently used
instances.
7 years ago
Vladimir Golovnev (Glassez)
53b9bcaaac
Place "Use Smart Episode Filter" more correctly
7 years ago
Vladimir Golovnev (Glassez)
844f76c2ca
Make "Ignoring days" to behave like other filters
...
This prevents confusing in GUI when it shows matched RSS
articles which be really ignored by the rule.
7 years ago
thalieht
6b4455e13d
Use qt5 connect() syntax
7 years ago
thalieht
3e4099fe5b
Replace the zeroing of pointers with nullptr
7 years ago
Chocobo1
0457fd260e
Avoid temporary QString allocations
...
This fixes clazy warning: Use multi-arg instead [-Wclazy-qstring-arg]
7 years ago
Stephen Dawkins
48cbccff1e
Made smart episode filter regular expression configurable
7 years ago
Stephen Dawkins
2845a791d0
Initial implementation of Smart Filter feature
7 years ago
Chocobo1
27cf98a962
Resize dialog size on high DPI monitors
7 years ago
Vladimir Golovnev (Glassez)
e75f8603b0
Fix RSS rule updated when deleting
...
Closes #8094
7 years ago
Mike Tzou
eac8838dc2
[GUI] Implement stable sort ( #7703 )
...
* NaturalCompare now returns compare result instead of "less than" result
* Change to stable sort in GUI components
* Add Utils::String::naturalLessThan() helper function
* Use Qt::CaseSensitivity type
7 years ago
Vladimir Golovnev (Glassez)
916cfcdb03
Implement Import/Export RSS rules in JSON format
7 years ago
Vladimir Golovnev (Glassez)
b8fc415870
Implement Import/Export RSS rules in legacy format
7 years ago
thalieht
525fdd6c2b
Coding style, use nullptr and other minor things
7 years ago
Vladimir Golovnev (Glassez)
3ec992474d
Implement TorrentCategoryDialog class
7 years ago
Vladimir Golovnev
f2af308e6d
Fix RSS Downloader fails to rename rule
...
Closes #7333 .
7 years ago
vit9696
d25467d3e6
Various macOS UI improvements
7 years ago
Vladimir Golovnev (Glassez)
66aeafdc63
Fix crash in ArticleListWidget
...
ArticleListWidget::handleArticleList() can be called inside
ArticleListWidget::handleArticleAboutToBeRemoved() and list widget
item can be removed at this point. Now we checking for it existence.
Closes #6896 .
8 years ago
KingLucius
dedd31ada5
Fix crash when delete RSS feed
8 years ago