Skip to content

Commit

Permalink
Remove Ubuntu One support.
Browse files Browse the repository at this point in the history
  • Loading branch information
hatstand committed Apr 2, 2014
1 parent a471789 commit 30d1c2f
Show file tree
Hide file tree
Showing 16 changed files with 0 additions and 724 deletions.
5 changes: 0 additions & 5 deletions CMakeLists.txt
Expand Up @@ -187,11 +187,6 @@ optional_component(GOOGLE_DRIVE ON "Google Drive support"
DEPENDS "Taglib 1.8" "TAGLIB_VERSION VERSION_GREATER 1.7.999" DEPENDS "Taglib 1.8" "TAGLIB_VERSION VERSION_GREATER 1.7.999"
) )


optional_component(UBUNTU_ONE ON "Ubuntu One file support"
DEPENDS "Google sparsehash" SPARSEHASH_INCLUDE_DIRS
DEPENDS "Taglib 1.8" "TAGLIB_VERSION VERSION_GREATER 1.7.999"
)

optional_component(DROPBOX ON "Dropbox support" optional_component(DROPBOX ON "Dropbox support"
DEPENDS "Google sparsehash" SPARSEHASH_INCLUDE_DIRS DEPENDS "Google sparsehash" SPARSEHASH_INCLUDE_DIRS
DEPENDS "Taglib 1.8" "TAGLIB_VERSION VERSION_GREATER 1.7.999" DEPENDS "Taglib 1.8" "TAGLIB_VERSION VERSION_GREATER 1.7.999"
Expand Down
5 changes: 0 additions & 5 deletions ext/libclementine-tagreader/cloudstream.cpp
Expand Up @@ -114,11 +114,6 @@ TagLib::ByteVector CloudStream::readBlock(ulong length) {
QString("bytes=%1-%2").arg(start).arg(end).toUtf8()); QString("bytes=%1-%2").arg(start).arg(end).toUtf8());
request.setAttribute(QNetworkRequest::CacheLoadControlAttribute, request.setAttribute(QNetworkRequest::CacheLoadControlAttribute,
QNetworkRequest::AlwaysNetwork); QNetworkRequest::AlwaysNetwork);
// The Ubuntu One server applies the byte range to the gzipped data, rather
// than the raw data so we must disable compression.
if (url_.host() == "files.one.ubuntu.com") {
request.setRawHeader("Accept-Encoding", "identity");
}


QNetworkReply* reply = network_->get(request); QNetworkReply* reply = network_->get(request);
connect(reply, SIGNAL(sslErrors(QList<QSslError>)), connect(reply, SIGNAL(sslErrors(QList<QSslError>)),
Expand Down
16 changes: 0 additions & 16 deletions src/CMakeLists.txt
Expand Up @@ -1085,22 +1085,6 @@ optional_source(HAVE_GOOGLE_DRIVE
internet/googledrivesettingspage.ui internet/googledrivesettingspage.ui
) )


# Ubuntu One file support
optional_source(HAVE_UBUNTU_ONE
SOURCES
internet/ubuntuoneauthenticator.cpp
internet/ubuntuoneservice.cpp
internet/ubuntuonesettingspage.cpp
internet/ubuntuoneurlhandler.cpp
HEADERS
internet/ubuntuoneauthenticator.h
internet/ubuntuoneservice.h
internet/ubuntuonesettingspage.h
internet/ubuntuoneurlhandler.h
UI
internet/ubuntuonesettingspage.ui
)

# Dropbox support # Dropbox support
optional_source(HAVE_DROPBOX optional_source(HAVE_DROPBOX
SOURCES SOURCES
Expand Down
1 change: 0 additions & 1 deletion src/config.h.in
Expand Up @@ -41,7 +41,6 @@
#cmakedefine HAVE_SKYDRIVE #cmakedefine HAVE_SKYDRIVE
#cmakedefine HAVE_SPARKLE #cmakedefine HAVE_SPARKLE
#cmakedefine HAVE_SPOTIFY_DOWNLOADER #cmakedefine HAVE_SPOTIFY_DOWNLOADER
#cmakedefine HAVE_UBUNTU_ONE
#cmakedefine HAVE_VK #cmakedefine HAVE_VK
#cmakedefine HAVE_WIIMOTEDEV #cmakedefine HAVE_WIIMOTEDEV
#cmakedefine IMOBILEDEVICE_USES_UDIDS #cmakedefine IMOBILEDEVICE_USES_UDIDS
Expand Down
6 changes: 0 additions & 6 deletions src/internet/internetmodel.cpp
Expand Up @@ -41,9 +41,6 @@
#ifdef HAVE_GOOGLE_DRIVE #ifdef HAVE_GOOGLE_DRIVE
#include "googledriveservice.h" #include "googledriveservice.h"
#endif #endif
#ifdef HAVE_UBUNTU_ONE
#include "ubuntuoneservice.h"
#endif
#ifdef HAVE_DROPBOX #ifdef HAVE_DROPBOX
#include "dropboxservice.h" #include "dropboxservice.h"
#endif #endif
Expand Down Expand Up @@ -101,9 +98,6 @@ InternetModel::InternetModel(Application* app, QObject* parent)
#ifdef HAVE_SKYDRIVE #ifdef HAVE_SKYDRIVE
AddService(new SkydriveService(app, this)); AddService(new SkydriveService(app, this));
#endif #endif
#ifdef HAVE_UBUNTU_ONE
AddService(new UbuntuOneService(app, this));
#endif
#ifdef HAVE_VK #ifdef HAVE_VK
AddService(new VkService(app, this)); AddService(new VkService(app, this));
#endif #endif
Expand Down
135 changes: 0 additions & 135 deletions src/internet/ubuntuoneauthenticator.cpp

This file was deleted.

49 changes: 0 additions & 49 deletions src/internet/ubuntuoneauthenticator.h

This file was deleted.

0 comments on commit 30d1c2f

Please sign in to comment.