John Maguire
341dc7326f
Reformat all C++
2020-09-22 14:56:06 +01:00
Jim Broadus
52fd6ffadc
Add a logging category to log all network requests.
...
New logging class NetworkRequests disabled by default, but can be enabled with
the command line option.
2020-02-13 11:09:51 +00:00
Jim Broadus
77d5d8bdea
Add a timeout option to NetworkAccessManager.
...
In most cases, timeouts can be applied to a reply after a request has been made.
But some APIs, such as libmygpo-qt, don't always provide access to the reply or
provide abort methods. For these cases, add an optional timeout to
NetworkAccessManager. If set, create a NetworkTimeouts instance in createRequest
and add the reply. Use the reply as the parent so that it is destroyed when the
reply is destroyed.
2019-12-25 23:53:45 -08:00
Mattias Andersson
bbe7a48c27
Add missing calls to base class constructor.
2015-11-24 13:46:17 +01:00
Krzysztof Sobiecki
d775d72345
More copyright info fixes
2014-11-05 17:48:04 +01:00
Krzysztof Sobiecki
39a3b46ead
More copyright info fixes
2014-11-05 17:48:04 +01:00
John Maguire
bebd781fdf
Reformat all non-3rd-party C/C++/Objective-C++.
...
Command line:
find src ext -regex '.*\.\(h\|cpp\|mm\)' -exec clang-format -i
-style='{BasedOnStyle: Google, DerivePointerBinding: false}' {} \;
2014-02-07 16:34:20 +01:00
John Maguire
71893e4847
Use nullptr instead of NULL everywhere.
2014-02-06 17:29:59 +01:00
David Sansome
bb0f7412be
Include any user-agent supplied by client libraries. Fixes issue 3612
2013-04-15 21:41:54 +10:00
John Maguire
a56947e356
Add support for new musicbrainz cover art archive.
...
See: http://blog.musicbrainz.org/?p=1616
2012-10-10 14:45:13 +02:00
David Sansome
404deff537
In RedirectFollower, don't emit readyRead() from replies that contain a redirect header. Fixes issue 3000
2012-06-14 13:50:49 +01:00
David Sansome
b0dd1bd284
Add a podcast downloader
2012-03-10 15:32:36 +00:00
John Maguire
85ab8e260a
Restore Qt 4.7 behaviour by adding a content type to POST requests that don't have one.
2011-11-10 23:42:34 +01:00
David Sansome
db8359838a
Set a timeout of 5 seconds on musicbrainz network requests. Fixes issue #1390
2011-03-13 13:17:35 +00:00
John Maguire
81f43ac4f5
Unbreak the build.
2010-12-09 14:19:09 +00:00
John Maguire
3a19bb9d46
Fix config file location on Mac and automatically migrate.
2010-12-09 12:34:08 +00:00
David Sansome
b85ddbb380
Put the Jamendo songs in a separate database that gets attached to the main database. "Reload" it by deleting the file, which is much faster than DELETEing all the songs inside. Make reloading the Jamendo, Icecast and Magnatune databases always bypass the network cache. Store the Jamendo track IDs in a separate table - for some reason this makes inserts faster. Fix the Jamendo model after the inital database load. Make the Jamendo dymanic playlist use the entries that are already in the local database rather than fetching the song metadata again.
2010-11-27 16:14:09 +00:00
David Sansome
ed1a25693c
Add missing licenses to debian/copyright, and add copyright information to each source file
2010-11-20 13:27:10 +00:00
David Sansome
b5f366c40a
Add a thread safe network disk cache, and remove the need to pass a NetworkAccessManager around everywhere. Fixes issue #852
2010-10-16 17:20:54 +00:00