sledgehammer999
b71ee80ecd
Optimize P2P filter parsing too.
8 years ago
sledgehammer999
fd7e69e1e0
Add helper function for logging messages.
8 years ago
sledgehammer999
51cf6bd2a5
Optimize DAT filter parsing. Parse in memory and in place instead of copying strings around.
8 years ago
Brian Kendall
59e6a4298d
Fixed macOS-specific bug in AddNewTorrentDialog
...
Because AddNewTorrentDialog is a sheet in macOS, repositioning it causes bad things to happen, particularly if the main dialog is on a secondary monitor.
8 years ago
Vladimir Golovnev (Glassez)
6764de8ef0
Fix ArticleListWidget adds new articles in wrong order
8 years ago
Vladimir Golovnev (Glassez)
71814885aa
Fix ArticleListWidget doesn't clear properly
8 years ago
Vladimir Golovnev (Glassez)
abfcfb5af0
Fix possible null pointer dereference
8 years ago
sledgehammer999
8f6e04d779
Using new IP parser provided by @evsh . It is faster and uses less memory.
...
Class `DATIPv4Parser` was written by Eugene Shalygin <eugene.shalygin@gmail.com> (evsh on github).
8 years ago
sledgehammer999
f53dab8ad4
Output log messages for ip filter parsing errors.
8 years ago
sledgehammer999
05ab9fc355
Optimize ip filter parsing.
8 years ago
Vladimir Golovnev (Glassez)
3a3125ea2b
Fix remove oldest article
8 years ago
Vladimir Golovnev (Glassez)
c799923d7d
Allow strip root folder using default settings
8 years ago
Vladimir Golovnev (Glassez)
711be50e9c
Fix AddTorrentData field types
8 years ago
sledgehammer999
032eb12585
Remove whitespace.
8 years ago
sledgehammer999
3cdc6fb978
Fix compiler warnings.
8 years ago
Vladimir Golovnev (qlassez)
f259bde275
Fix "Create subfolder" in AddNewTorrentDialog
8 years ago
zywo
51104a9fb4
Fix CMake build
8 years ago
Vladimir Golovnev (Glassez)
989a70fe60
Redesign RSS subsystem
8 years ago
ngosang
fa64f33c2a
[Search engine] Add btdb plugin
8 years ago
Eugene Shalygin
14e168039c
Use explicit class for search plugin versions
8 years ago
ngosang
5d0cfc7475
[Search engine] Update legittorrents plugin
8 years ago
ngosang
339b35c369
[Search engine] Remove mininova plugin
8 years ago
ngosang
91e7e94820
[Search engine] Update demonoid plugin
8 years ago
Chocobo1
0b5de9ff54
Temporary revert to the old behavior.
8 years ago
Chocobo1
a35c6426ab
Specify lib requirement: zlib >= 1.2.5.2
8 years ago
Chocobo1
617f19e599
Revise Utils::Gzip::decompress
...
Rename from uncompress to decompress
Change signature
Use proper casting
Use larger buffer for the output of inflate()
Reserve 1 MBytes for output buffer
Change function signature
8 years ago
Chocobo1
302c8ba850
Revise Utils::Gzip::compress code
...
Change signature
Add ZLIB_CONST define to make z_stream.next_in const
Cast to zlib defined type Bytef*
Set memLevel to 9 in deflateInit2() for maximum performance
Revise compression loop
On returning false, free memory correctly by calling deflateEnd()
Reserve space by the estimation of deflateBound()
8 years ago
Chocobo1
94b496354b
Rewrite rules for gzipping http response content
8 years ago
Chocobo1
4600e679d1
Implement robust acceptsGzipEncoding()
...
Adhere more to http/1.1 standard
8 years ago
Chocobo1
129172453b
Fix "Content-Encoding" header is always created.
...
Was side effect of operator[]
8 years ago
Chocobo1
7d36c81949
Cleanup Http::responseGenerator()
...
Add CRLF definition
Rewrite loop using iterator, slightly more efficient
Rename variables
8 years ago
Chocobo1
6cb2f05a6c
Demote to helper function
...
Rename function
8 years ago
Chocobo1
829e1399ca
Convert Qstring to char arrays
...
Cleanup header
Sort constants
8 years ago
Chocobo1
4b2266a8e2
Send Date http header
...
It's not strict required but often expected.
change class to namespace
cleanup header
8 years ago
Chocobo1
9496b2a159
Always send Content-Length header.
...
Because without it, HTTP/1.1 (with persistence connection) clients will
keep waiting for more data.
8 years ago
Chocobo1
0b28fb6c6b
Implement http persistence connection
...
Max simultaneous connection limit set to 500
This also release allocated memory of Connection instances at runtime instead of at program shutdown.
8 years ago
Eugene Shalygin
f99ba03177
cmake: fix typo in the manifest file name
8 years ago
Eugene Shalygin
b06080e2e7
Replace platform-specific code in Private::DefaultProfile with QStandardPaths.
...
This should also fix Profile::location(SpecialFolder::Config) on
Windows.
8 years ago
Eugene Shalygin
4e1b7c3b87
Remove generated include from headers
...
Not only fixes compilation with CMake 3.8 (without messing with include
paths) but makes sources cleaner.
8 years ago
Eugene Shalygin
34798399da
cmake: fixes for cmake 3.8
...
AUTOUIC seems to became stricter.
8 years ago
sledgehammer999
ae0ec716cb
Fix inverted check when applying the IP filter.
8 years ago
Vladimir Golovnev (Glassez)
22178f9997
Fix strip torrent root folder
8 years ago
Vladimir Golovnev (Glassez)
6d7d566cdf
Fix TorrentHandle rootPath() and contentPath() methods
8 years ago
Vladimir Golovnev (Glassez)
d413bc65ef
Improve strip torrent root folder
...
Fix issue when you rename the "root item" in the "Add New Torrent" dialog
and uncheck "Create subfolder", it will create the subfolder with the
renamed name.
Fix PropertiesWidget first folder is expanded after app restart.
Strip root folder if torrent was added via magnet link.
Fix crash when you get name of torrent without metadata.
8 years ago
sledgehammer999
4b2d8a7941
Setting for creating subfolder on multifile torrents. Closes #588 .
8 years ago
Eugene Shalygin
21a72c651f
Start up torrents after UI was created. Fixes #6454 .
...
Commit dd0537d changed torrents startup code adding alerts processing
into it. Therefore alerts were processed before UI code subscribed to
signals and therefore part of alerts was not reflected in the UI.
Thus here we do not start torrents in Session constructor, but do that
from Application::exec() after UI was constructed and is ready to process
signals.
8 years ago
Eugene Shalygin
ecd67b9d75
Rename .desktop and appdata files to match executable name. Fixes #6625 .
8 years ago
Eugene Shalygin
a8d95dd8bd
Save relative paths in fastresume files
...
Conditionally change absolute paths to relative in the fastresume data files.
The condition is specified by user via a command line parameter and
paths are relative to the profile dir.
On Windows the convertion to relative path is performed if the path and
the profile are on the same drive only.
8 years ago
Eugene Shalygin
0710a59bf5
Refactor parameters parsing
...
Introduce classes that encapsulate parameter names and parsing schemes
from command line and from environment variables.
8 years ago
Eugene Shalygin
0bf7fa15c1
Replace wrappers in base/utils/fs.h with Profile::SpecialFolders::location()
8 years ago