Chocobo1
5819b6dd39
Use Unicode version of InitiateSystemShutdown
7 years ago
Chocobo1
644e7d0450
Use dynamic linking for SetSuspendState function
7 years ago
Chocobo1
b0e3d77975
Add helper for loading Windows system functions
7 years ago
Chocobo1
643a209812
Sort include headers
...
Also add anonymous namespace.
7 years ago
Mike Tzou
c3311e83a0
Merge pull request #8687 from Chocobo1/folder
...
Stop creating Download folder on start
7 years ago
Mike Tzou
3301e9cb69
Merge pull request #8690 from Chocobo1/options
...
Avoid showing an empty row in AdvancedSettings
7 years ago
Chocobo1
cf2c0bd47e
Apply formatting to Web UI files
7 years ago
Mike Tzou
df0c5c41c5
Merge pull request #8681 from dzmat/uncrutify_tinkering
...
Make uncrustify.cfg available to QtCreator IDE
7 years ago
Chocobo1
59e6757242
Avoid showing an empty row in AdvancedSettings
...
Fixup 543cbc6d1c
.
7 years ago
Chocobo1
6bbcf9b3d6
Stop creating Download folder on start
...
The existence of this folder isn't required to run qbt and it can be
created when adding torrent.
Closes #8290 .
7 years ago
Chocobo1
208d21ff73
Add js-beautify config
...
Try to standardize coding style for HTML & JavaScript via this tool
7 years ago
Chocobo1
2df71dbde5
Partially revert "Remove unused JavaScript library"
...
This reverts commit 470e993c2d
.
7 years ago
Mike Tzou
9e4f246c89
Merge pull request #8672 from Chocobo1/js
...
Move JavaScript libraries to its own folder
7 years ago
Mike Tzou
e4fc8e4156
Merge pull request #8669 from Chocobo1/runext
...
Split args manually in runExternalProgram()
7 years ago
dzmat
883d4d81d5
Make uncrustify.cfg available to Qt Creator IDE
7 years ago
Mike Tzou
041b86981f
Merge pull request #8665 from Chocobo1/iostream
...
Use lightweight printf instead of iostream
7 years ago
Chocobo1
470e993c2d
Remove unused JavaScript library
7 years ago
Chocobo1
cbf10ebb7f
Update clipboard.js to v2.0.0
7 years ago
Chocobo1
89f06274bb
Move JavaScript libraries to its own folder
7 years ago
Chocobo1
c07cd440cd
Split args manually in runExternalProgram()
...
Need to split arguments manually because QProcess::startDetached(QString)
will strip off empty parameters.
E.g. `python.exe "1" "" "3"` will become `python.exe "1" "3"`.
Closes #8454 .
7 years ago
Mike Tzou
e90be67fec
Merge pull request #8640 from Chocobo1/guide2
...
Clarify braces usages in CODING_GUIDELINES
7 years ago
Chocobo1
37ea01bd44
Use lightweight printf instead of iostream
...
Using iostream usually adds a lot of other operators (<<, endl), whereas
*printf takes only 1 function call.
Also use qUtf8Printable whenever possible.
7 years ago
Mike Tzou
ccc91e2e52
Merge pull request #8629 from Chocobo1/guide
...
Extend Coding Guidelines to cover other languages
7 years ago
Chocobo1
d31954761f
Clarify braces usages in CODING_GUIDELINES
...
Merge "Curly braces" & "If blocks" sections into "New lines & curly braces" section.
Add note about the list is not exhaustive and style can be determine on code review.
7 years ago
Mike Tzou
aa122b062e
Merge pull request #8615 from Chocobo1/watcher
...
Improve FS watcher
7 years ago
Chocobo1
65921eaf7b
Remove QPointer wrapper
7 years ago
Chocobo1
bfbd978d3f
Move helper function to Utils::Fs
7 years ago
Chocobo1
1876dbd523
Fix typo
7 years ago
Chocobo1
ea7eb7c0ec
Add delay before processing FS changes
...
This prevents file renaming errors in monitored folder on linux, for
example: ABC.torrent.part -> ABC.torrent
7 years ago
Chocobo1
19c733ce95
Use specific name for rejected files
7 years ago
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
Mike Tzou
f564e8a1c4
Merge pull request #8621 from Chocobo1/html5
...
Update WebUI to be more compliant with HTML5 standard
7 years ago
Chocobo1
315d9835b2
Extend Coding Guidelines to cover other languages
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
Mike Tzou
e1a14007f8
Merge pull request #8618 from Piccirello/remove-css
...
Remove unused CSS from WebUI login page
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
a5294e1e08
Merge pull request #8558 from luis-pereira/containter-anti-pattern
...
Don't create temporary containers just to iterate over them
7 years ago
Vladimir Golovnev
a8dbff06a3
Merge pull request #8607 from glassez/rss
...
Process loaded RSS articles in case of parsing error
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
Mike Tzou
68ca95faf0
Merge pull request #8603 from Chocobo1/typo
...
Fix typo
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
Mike Tzou
1f28122428
Merge pull request #8595 from Chocobo1/runExt
...
Add Tags parameter to "Run External Program"
7 years ago
Mike Tzou
6ec179e0f7
Merge pull request #8594 from Chocobo1/ui
...
Properly align text label
7 years ago
Chocobo1
423511765a
Fix typo
7 years ago