Chocobo1
2ba5dd1344
Reduce debug messages
7 years ago
Chocobo1
61eddfce90
Refactor functions in FileSystemWatcher
...
Use c++11 range-loop
Add const
Better ifdef placement
Inline functions
7 years ago
Chocobo1
0840556f77
Do cleanups in FileSystemWatcher
...
Use Qt5 connect syntax
Sort headers
Add license
Add anonymous namespace
Replace macro defines with const variables
7 years ago
Chocobo1
ed03456999
Update WebUI to be more compliant with HTML5 standard
...
Use modern and shorter "charset" attribute.
Remove "type", "charset" attributes in script/style tags, these are redundant in HTML5.
7 years ago
Thomas Piccirello
a15cfae03a
Fix spacing
7 years ago
Thomas Piccirello
c2a195360a
Resolve JavaScript errors
7 years ago
Thomas Piccirello
a4f99995bb
Consolidate CSS into style.css
7 years ago
Thomas Piccirello
16616f4e0e
Remove unused CSS from WebUI login page
7 years ago
Vladimir Golovnev (Glassez)
d9cd5d4680
Resolve (X)HTML entities in RSS content
...
Many sites include various HTML entities in the content of RSS feeds.
The most of these entities are not declared in the underlying XML,
so the documents are considered by parser to be malformed.
This patch allows you to successfully parse such soft-malformed
RSS feeds.
Closes #8527 .
Closes #8569 .
7 years ago
Luís Pereira
ac42ccb5e4
Don't create temporary containers just to iterate over them
...
Stops temporary containers being created needlessly due to API misuse.
For example, it’s common for developers to assume QHash::values() and
QHash::keys() are free and abuse them, failing to realize their
implementation internally actually iterates the whole container, allocates
memory, and fills a new QList.
Added a removeIf generic algorithm, similar to std ones. We can't use std
algorithms with Qt dictionaries because Qt iterators have different
behavior from the std ones.
Found using clazy.
7 years ago
Vladimir Golovnev (Glassez)
8d285c66aa
Process loaded RSS articles in case of error
...
For some reason, the RSS feed may contain malformed XML data and it may not be
successfully parsed by the XML parser. We are still trying to load as many articles
as possible until we encounter corrupted data. So we can have some articles even in
case of parsing error.
Closes #8527 .
Closes #8569 .
7 years ago
Chocobo1
423511765a
Fix typo
7 years ago
Thomas Piccirello
4863078744
Use correct API method URL in WebUI
...
Fix up 27d8dbf
.
Closes #8596 .
7 years ago
Chocobo1
88881de8c6
Add Tags parameter to "Run External Program"
...
Closes #8586 .
Also sort headers.
7 years ago
Chocobo1
690c439ae6
Properly align text label
7 years ago
Chocobo1
a468c84b30
Fix warnings from unused variables
7 years ago
Thomas Piccirello
7278625f53
Calculate supported categories based on selected plugin
7 years ago
Thomas Piccirello
7b3e692f68
Fix missing initializer warning
...
This issue occurs when using gcc versions < 5.
7 years ago
Chocobo1
fdb0d97b28
Remove unused function
7 years ago
Chocobo1
08a2439f46
Check directly if container is empty or not
7 years ago
Chocobo1
6767487e40
Remove unused variable
7 years ago
Chocobo1
141a2d2856
Prevent detach from containers
7 years ago
thalieht
2eea57e609
Use spinbox suffix to display time unit
7 years ago
thalieht
0b185e347b
Use spinbox suffix to display rate unit
7 years ago
thalieht
1e1db31ab5
Use unique layout names
7 years ago
paolo-sz
d4e2b21534
Fix Content widget misbehavior
...
Starting from QT 5.10.1 Content widget is messed up and its settings are
lost while restarting.
Setting StretchLastSection property to false seems to solve the issue.
(Closes #8439 ).
7 years ago
Vladimir Golovnev (Glassez)
dfddda57b9
Properly reply to announce request
7 years ago
Chocobo1
fdf3ebbb6c
Remove usage of deprecated functions
...
Also use proper type for storing date/time data
7 years ago
Chocobo1
a3d9e457a0
Add context parameter in connect()
7 years ago
Chocobo1
ffb5c0635e
Remove unused slot declaration for function
7 years ago
Chocobo1
b4f23d8154
Use faster code path
...
From Qt doc: Using this function is faster than using QFileInfo(file).exists() for
file system access.
7 years ago
Chocobo1
ed310c2dac
Avoid temporary QString allocations
...
Fix up 0457fd260e
7 years ago
Chocobo1
50167d40d7
Allow ADL lookup for helper function
7 years ago
Thomas Piccirello
0b56cd5fa0
Make WebUI iframe windows scrollable on iOS
...
Closes #8401 , #7932 .
7 years ago
Chocobo1
0457fd260e
Avoid temporary QString allocations
...
This fixes clazy warning: Use multi-arg instead [-Wclazy-qstring-arg]
7 years ago
Chocobo1
c60b7b213e
Add missing 'override' specifier
...
This fixes clang warning:
'notify' overrides a member function but is not marked 'override'
[-Winconsistent-missing-override]
7 years ago
Chocobo1
307736e263
Fix broken WebUI
...
Fix up c47e4efade
.
Closes #8545 .
7 years ago
Thomas Piccirello
c47e4efade
Save WebUI Statistics window size
7 years ago
Vladimir Golovnev (Glassez)
1aca3b0adc
Parse URL query string at application level
7 years ago
Chocobo1
20c4b0ee0c
Use original scheme when downloading favicons
...
Previously was always using http, now we only drop back to http when
scheme is absent
7 years ago
Chocobo1
3df4a7ac2e
Use https for documentation links
7 years ago
Vladimir Golovnev (Glassez)
34295a78f2
Move ByteArray utils into Utils::ByteArray namespace
7 years ago
Tom Piccirello
1a9b009951
Enable Statistics window to be scrolled and resized
...
Text may go offscreen due to translations.
7 years ago
Vladimir Golovnev (Glassez)
34456a7459
Fix Legacy Web API to be fully available
7 years ago
Andrei Stepanov
817aadd52d
Fix typo in filelogger.cpp message
7 years ago
Luís Pereira
0e421ae415
Don't create temporary substrings
...
Avoid temporary string allocations. They are only used to convert to
something else.
QString::xxxRef() returns a QStringRef. QStringRef avoids the memory
allocation and reference counting overhead of a standard QString by simply
referencing a part of the original string.
7 years ago
Thomas Piccirello
2227c3afc1
Reselect torrents in WebUI after full update
...
Temp fix for #8209 .
7 years ago
Thomas Piccirello
4110bb874f
Right align stat values
7 years ago
Thomas Piccirello
5c74f374af
Re-order and rename stats
7 years ago
Thomas Piccirello
a8420a43f9
Format Read cache hits as percentage
7 years ago