Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(1)

Issue 19160044: Clementine+vk

Can't Edit
Can't Publish+Mail
Start Review
Created:
10 years, 6 months ago by shedwardx
Modified:
10 years, 3 months ago
Reviewers:
arnaud.bienner
Visibility:
Public.

Description

Clementine+vk

Patch Set 1 #

Total comments: 6

Patch Set 2 : Some fixes #

Patch Set 3 : More fixes #

Patch Set 4 : Pull request state. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+-1 lines, -14788 lines) Patch
M .gitignore View 1 2 3 1 chunk +0 lines, -3 lines 0 comments Download
D 3rdparty/vreen/CMakeLists.txt View 1 2 3 1 chunk +0 lines, -31 lines 0 comments Download
D 3rdparty/vreen/vreen/CMakeLists.txt View 1 2 3 1 chunk +0 lines, -44 lines 0 comments Download
D 3rdparty/vreen/vreen/cmake/CommonUtils.cmake View 1 2 3 1 chunk +0 lines, -633 lines 0 comments Download
D 3rdparty/vreen/vreen/cmake/CompilerUtils.cmake View 1 2 3 1 chunk +0 lines, -9 lines 0 comments Download
D 3rdparty/vreen/vreen/cmake/FindLibraryWithDebug.cmake View 1 2 3 1 chunk +0 lines, -113 lines 0 comments Download
D 3rdparty/vreen/vreen/cmake/FindQCA2.cmake View 1 2 3 1 chunk +0 lines, -8 lines 0 comments Download
D 3rdparty/vreen/vreen/cmake/FindQOAuth.cmake View 1 2 3 1 chunk +0 lines, -42 lines 0 comments Download
D 3rdparty/vreen/vreen/cmake/FindQt3D.cmake View 1 2 3 1 chunk +0 lines, -6 lines 0 comments Download
D 3rdparty/vreen/vreen/cmake/FindQt3DQuick.cmake View 1 2 3 1 chunk +0 lines, -5 lines 0 comments Download
D 3rdparty/vreen/vreen/cmake/MocUtils.cmake View 1 2 3 1 chunk +0 lines, -50 lines 0 comments Download
D 3rdparty/vreen/vreen/cmake/QtBundleUtils.cmake View 1 2 3 1 chunk +0 lines, -106 lines 0 comments Download
A + 3rdparty/vreen/vreen/cmake/README View 1 2 3 0 chunks +-1 lines, --1 lines 0 comments Download
D 3rdparty/vreen/vreen/cmake_uninstall.cmake.in View 1 2 3 1 chunk +0 lines, -21 lines 0 comments Download
D 3rdparty/vreen/vreen/src/3rdparty/CMakeLists.txt View 1 2 3 1 chunk +0 lines, -17 lines 0 comments Download
D 3rdparty/vreen/vreen/src/3rdparty/k8json/CMakeLists.txt View 1 2 3 1 chunk +0 lines, -59 lines 0 comments Download
D 3rdparty/vreen/vreen/src/3rdparty/k8json/k8json.h View 1 2 3 1 chunk +0 lines, -130 lines 0 comments Download
D 3rdparty/vreen/vreen/src/3rdparty/k8json/k8json.cpp View 1 2 3 1 chunk +0 lines, -894 lines 0 comments Download
D 3rdparty/vreen/vreen/src/3rdparty/k8json/k8json.pc.cmake View 1 2 3 1 chunk +0 lines, -12 lines 0 comments Download
D 3rdparty/vreen/vreen/src/CMakeLists.txt View 1 2 3 1 chunk +0 lines, -18 lines 0 comments Download
D 3rdparty/vreen/vreen/src/api/CMakeLists.txt View 1 2 3 1 chunk +0 lines, -14 lines 0 comments Download
D 3rdparty/vreen/vreen/src/api/abstractlistmodel.h View 1 2 3 1 chunk +0 lines, -45 lines 0 comments Download
D 3rdparty/vreen/vreen/src/api/abstractlistmodel.cpp View 1 2 3 1 chunk +0 lines, -54 lines 0 comments Download
D 3rdparty/vreen/vreen/src/api/attachment.h View 1 2 3 1 chunk +0 lines, -109 lines 0 comments Download
D 3rdparty/vreen/vreen/src/api/attachment.cpp View 1 2 3 1 chunk +0 lines, -234 lines 0 comments Download
D 3rdparty/vreen/vreen/src/api/audio.h View 1 2 3 1 chunk +0 lines, -115 lines 0 comments Download
D 3rdparty/vreen/vreen/src/api/audio.cpp View 1 2 3 1 chunk +0 lines, -405 lines 0 comments Download
D 3rdparty/vreen/vreen/src/api/audioitem.h View 1 2 3 1 chunk +0 lines, -99 lines 0 comments Download
D 3rdparty/vreen/vreen/src/api/audioitem.cpp View 1 2 3 1 chunk +0 lines, -238 lines 0 comments Download
D 3rdparty/vreen/vreen/src/api/chatsession.h View 1 2 3 1 chunk +0 lines, -59 lines 0 comments Download
D 3rdparty/vreen/vreen/src/api/chatsession.cpp View 1 2 3 1 chunk +0 lines, -138 lines 0 comments Download
D 3rdparty/vreen/vreen/src/api/client.h View 1 2 3 1 chunk +0 lines, -174 lines 0 comments Download
D 3rdparty/vreen/vreen/src/api/client.cpp View 1 2 3 1 chunk +0 lines, -440 lines 0 comments Download
D 3rdparty/vreen/vreen/src/api/client_p.h View 1 2 3 1 chunk +0 lines, -82 lines 0 comments Download
D 3rdparty/vreen/vreen/src/api/commentssession.h View 1 2 3 1 chunk +0 lines, -63 lines 0 comments Download
D 3rdparty/vreen/vreen/src/api/commentssession.cpp View 1 2 3 1 chunk +0 lines, -107 lines 0 comments Download
D 3rdparty/vreen/vreen/src/api/connection.h View 1 2 3 1 chunk +0 lines, -81 lines 0 comments Download
D 3rdparty/vreen/vreen/src/api/connection.cpp View 1 2 3 1 chunk +0 lines, -89 lines 0 comments Download
D 3rdparty/vreen/vreen/src/api/connection_p.h View 1 2 3 1 chunk +0 lines, -44 lines 0 comments Download
D 3rdparty/vreen/vreen/src/api/contact.h View 1 2 3 1 chunk +0 lines, -243 lines 0 comments Download
D 3rdparty/vreen/vreen/src/api/contact.cpp View 1 2 3 1 chunk +0 lines, -317 lines 0 comments Download
D 3rdparty/vreen/vreen/src/api/contact_p.h View 1 2 3 1 chunk +0 lines, -141 lines 0 comments Download
D 3rdparty/vreen/vreen/src/api/contentdownloader.h View 1 2 3 1 chunk +0 lines, -50 lines 0 comments Download
D 3rdparty/vreen/vreen/src/api/contentdownloader.cpp View 1 2 3 1 chunk +0 lines, -98 lines 0 comments Download
D 3rdparty/vreen/vreen/src/api/contentdownloader_p.h View 1 2 3 1 chunk +0 lines, -60 lines 0 comments Download
D 3rdparty/vreen/vreen/src/api/dynamicpropertydata.cpp View 1 2 3 1 chunk +0 lines, -73 lines 0 comments Download
D 3rdparty/vreen/vreen/src/api/dynamicpropertydata_p.h View 1 2 3 1 chunk +0 lines, -63 lines 0 comments Download
D 3rdparty/vreen/vreen/src/api/friendrequest.h View 1 2 3 1 chunk +0 lines, -59 lines 0 comments Download
D 3rdparty/vreen/vreen/src/api/friendrequest.cpp View 1 2 3 1 chunk +0 lines, -95 lines 0 comments Download
D 3rdparty/vreen/vreen/src/api/groupchatsession.h View 1 2 3 1 chunk +0 lines, -81 lines 0 comments Download
D 3rdparty/vreen/vreen/src/api/groupchatsession.cpp View 1 2 3 1 chunk +0 lines, -336 lines 0 comments Download
D 3rdparty/vreen/vreen/src/api/groupmanager.h View 1 2 3 1 chunk +0 lines, -66 lines 0 comments Download
D 3rdparty/vreen/vreen/src/api/groupmanager.cpp View 1 2 3 1 chunk +0 lines, -112 lines 0 comments Download
D 3rdparty/vreen/vreen/src/api/groupmanager_p.h View 1 2 3 1 chunk +0 lines, -63 lines 0 comments Download
D 3rdparty/vreen/vreen/src/api/json.h View 1 2 3 1 chunk +0 lines, -40 lines 0 comments Download
D 3rdparty/vreen/vreen/src/api/json.cpp View 1 2 3 1 chunk +0 lines, -61 lines 0 comments Download
D 3rdparty/vreen/vreen/src/api/localstorage.h View 1 2 3 1 chunk +0 lines, -48 lines 0 comments Download
D 3rdparty/vreen/vreen/src/api/localstorage.cpp View 1 2 3 1 chunk +0 lines, -33 lines 0 comments Download
D 3rdparty/vreen/vreen/src/api/longpoll.h View 1 2 3 1 chunk +0 lines, -102 lines 0 comments Download
D 3rdparty/vreen/vreen/src/api/longpoll.cpp View 1 2 3 1 chunk +0 lines, -279 lines 0 comments Download
D 3rdparty/vreen/vreen/src/api/longpoll_p.h View 1 2 3 1 chunk +0 lines, -70 lines 0 comments Download
D 3rdparty/vreen/vreen/src/api/message.h View 1 2 3 1 chunk +0 lines, -117 lines 0 comments Download
D 3rdparty/vreen/vreen/src/api/message.cpp View 1 2 3 1 chunk +0 lines, -327 lines 0 comments Download
D 3rdparty/vreen/vreen/src/api/messagemodel.h View 1 2 3 1 chunk +0 lines, -91 lines 0 comments Download
D 3rdparty/vreen/vreen/src/api/messagemodel.cpp View 1 2 3 1 chunk +0 lines, -286 lines 0 comments Download
D 3rdparty/vreen/vreen/src/api/messagesession.h View 1 2 3 1 chunk +0 lines, -74 lines 0 comments Download
D 3rdparty/vreen/vreen/src/api/messagesession.cpp View 1 2 3 1 chunk +0 lines, -110 lines 0 comments Download
D 3rdparty/vreen/vreen/src/api/messagesession_p.h View 1 2 3 1 chunk +0 lines, -50 lines 0 comments Download
D 3rdparty/vreen/vreen/src/api/newsfeed.h View 1 2 3 1 chunk +0 lines, -71 lines 0 comments Download
D 3rdparty/vreen/vreen/src/api/newsfeed.cpp View 1 2 3 1 chunk +0 lines, -148 lines 0 comments Download
D 3rdparty/vreen/vreen/src/api/newsitem.h View 1 2 3 1 chunk +0 lines, -98 lines 0 comments Download
D 3rdparty/vreen/vreen/src/api/newsitem.cpp View 1 2 3 1 chunk +0 lines, -234 lines 0 comments Download
D 3rdparty/vreen/vreen/src/api/pollitem.h View 1 2 3 1 chunk +0 lines, -77 lines 0 comments Download
D 3rdparty/vreen/vreen/src/api/pollitem.cpp View 1 2 3 1 chunk +0 lines, -149 lines 0 comments Download
D 3rdparty/vreen/vreen/src/api/pollprovider.h View 1 2 3 1 chunk +0 lines, -54 lines 0 comments Download
D 3rdparty/vreen/vreen/src/api/pollprovider.cpp View 1 2 3 1 chunk +0 lines, -116 lines 0 comments Download
D 3rdparty/vreen/vreen/src/api/reply.h View 1 2 3 1 chunk +0 lines, -118 lines 0 comments Download
D 3rdparty/vreen/vreen/src/api/reply.cpp View 1 2 3 1 chunk +0 lines, -140 lines 0 comments Download
D 3rdparty/vreen/vreen/src/api/reply_p.h View 1 2 3 1 chunk +0 lines, -67 lines 0 comments Download
D 3rdparty/vreen/vreen/src/api/roster.h View 1 2 3 1 chunk +0 lines, -114 lines 0 comments Download
D 3rdparty/vreen/vreen/src/api/roster.cpp View 1 2 3 1 chunk +0 lines, -346 lines 0 comments Download
D 3rdparty/vreen/vreen/src/api/roster_p.h View 1 2 3 1 chunk +0 lines, -111 lines 0 comments Download
D 3rdparty/vreen/vreen/src/api/utils.h View 1 2 3 1 chunk +0 lines, -151 lines 0 comments Download
D 3rdparty/vreen/vreen/src/api/utils.cpp View 1 2 3 1 chunk +0 lines, -73 lines 0 comments Download
D 3rdparty/vreen/vreen/src/api/utils_p.h View 1 2 3 1 chunk +0 lines, -37 lines 0 comments Download
D 3rdparty/vreen/vreen/src/api/vk_global.h View 1 2 3 1 chunk +0 lines, -39 lines 0 comments Download
D 3rdparty/vreen/vreen/src/api/vreen.pc.cmake View 1 2 3 1 chunk +0 lines, -12 lines 0 comments Download
D 3rdparty/vreen/vreen/src/api/wallpost.h View 1 2 3 1 chunk +0 lines, -90 lines 0 comments Download
D 3rdparty/vreen/vreen/src/api/wallpost.cpp View 1 2 3 1 chunk +0 lines, -247 lines 0 comments Download
D 3rdparty/vreen/vreen/src/api/wallsession.h View 1 2 3 1 chunk +0 lines, -71 lines 0 comments Download
D 3rdparty/vreen/vreen/src/api/wallsession.cpp View 1 2 3 1 chunk +0 lines, -163 lines 0 comments Download
D 3rdparty/vreen/vreen/src/oauth/CMakeLists.txt View 1 2 3 1 chunk +0 lines, -15 lines 0 comments Download
D 3rdparty/vreen/vreen/src/oauth/oauthconnection.h View 1 2 3 1 chunk +0 lines, -113 lines 0 comments Download
D 3rdparty/vreen/vreen/src/oauth/oauthconnection.cpp View 1 2 3 1 chunk +0 lines, -384 lines 0 comments Download
D 3rdparty/vreen/vreen/src/oauth/vreenoauth.pc.cmake View 1 2 3 1 chunk +0 lines, -12 lines 0 comments Download
M CMakeLists.txt View 1 2 3 2 chunks +0 lines, -8 lines 0 comments Download
M data/data.qrc View 1 2 3 1 chunk +0 lines, -18 lines 0 comments Download
D data/providers/vk.png View 1 2 3 Binary file 0 comments Download
D data/vk/add.png View 1 2 3 Binary file 0 comments Download
D data/vk/bookmarks.png View 1 2 3 Binary file 0 comments Download
D data/vk/deactivated.gif View 1 2 3 Binary file 0 comments Download
D data/vk/delete.png View 1 2 3 Binary file 0 comments Download
D data/vk/discography.png View 1 2 3 Binary file 0 comments Download
D data/vk/download.png View 1 2 3 Binary file 0 comments Download
D data/vk/edit.png View 1 2 3 Binary file 0 comments Download
D data/vk/find.png View 1 2 3 Binary file 0 comments Download
D data/vk/group.png View 1 2 3 Binary file 0 comments Download
D data/vk/link.png View 1 2 3 Binary file 0 comments Download
D data/vk/my_music.png View 1 2 3 Binary file 0 comments Download
D data/vk/play_alt.png View 1 2 3 Binary file 0 comments Download
D data/vk/playlist.png View 1 2 3 Binary file 0 comments Download
D data/vk/recommends.png View 1 2 3 Binary file 0 comments Download
D data/vk/remove.png View 1 2 3 Binary file 0 comments Download
D data/vk/upload.png View 1 2 3 Binary file 0 comments Download
D data/vk/user.png View 1 2 3 Binary file 0 comments Download
M src/CMakeLists.txt View 1 2 3 2 chunks +0 lines, -28 lines 0 comments Download
M src/config.h.in View 1 2 3 1 chunk +0 lines, -1 line 0 comments Download
M src/core/metatypes.cpp View 1 2 3 2 chunks +0 lines, -9 lines 0 comments Download
D src/globalsearch/vksearchprovider.h View 1 2 3 1 chunk +0 lines, -49 lines 0 comments Download
D src/globalsearch/vksearchprovider.cpp View 1 2 3 1 chunk +0 lines, -126 lines 0 comments Download
M src/internet/internetmodel.cpp View 1 2 3 2 chunks +0 lines, -6 lines 0 comments Download
M src/internet/searchboxwidget.h View 1 2 3 1 chunk +0 lines, -1 line 0 comments Download
M src/internet/searchboxwidget.cpp View 1 2 3 1 chunk +0 lines, -5 lines 0 comments Download
D src/internet/vkmusiccache.h View 1 2 3 1 chunk +0 lines, -75 lines 0 comments Download
D src/internet/vkmusiccache.cpp View 1 2 3 1 chunk +0 lines, -218 lines 0 comments Download
D src/internet/vksearchdialog.h View 1 2 3 1 chunk +0 lines, -49 lines 0 comments Download
D src/internet/vksearchdialog.cpp View 1 2 3 1 chunk +0 lines, -192 lines 0 comments Download
D src/internet/vksearchdialog.ui View 1 2 3 1 chunk +0 lines, -67 lines 0 comments Download
D src/internet/vkservice.h View 1 2 3 1 chunk +0 lines, -325 lines 0 comments Download
D src/internet/vkservice.cpp View 1 2 3 1 chunk +0 lines, -1371 lines 0 comments Download
D src/internet/vksettingspage.h View 1 2 3 1 chunk +0 lines, -55 lines 0 comments Download
D src/internet/vksettingspage.cpp View 1 2 3 1 chunk +0 lines, -131 lines 0 comments Download
D src/internet/vksettingspage.ui View 1 2 3 1 chunk +0 lines, -215 lines 0 comments Download
D src/internet/vkurlhandler.h View 1 2 3 1 chunk +0 lines, -49 lines 0 comments Download
D src/internet/vkurlhandler.cpp View 1 2 3 1 chunk +0 lines, -68 lines 0 comments Download
M src/translations/ru.po View 1 2 3 1 chunk +0 lines, -119 lines 0 comments Download
M src/ui/mainwindow.cpp View 1 2 3 2 chunks +0 lines, -8 lines 0 comments Download
M src/ui/settingsdialog.h View 1 2 3 1 chunk +0 lines, -1 line 0 comments Download
M src/ui/settingsdialog.cpp View 1 2 3 2 chunks +0 lines, -9 lines 0 comments Download

Messages

Total messages: 6
arnaud.bienner
Quick review: I just had a look to few files and notice few things. https://codereview.appspot.com/19160044/diff/1/src/internet/vkmusiccache.cpp ...
10 years, 6 months ago (2013-10-29 16:30:29 UTC) #1
shedwardx
> https://codereview.appspot.com/19160044/diff/1/src/internet/vkmusiccache.cpp#newcode128 > src/internet/vkmusiccache.cpp:128: connect(reply_, SIGNAL(finished()), > SLOT(Downloaded())); > Would have been nice to use ...
10 years, 6 months ago (2013-10-29 17:31:43 UTC) #2
arnaud.bienner
Hi I haven't used it a lot, so I cannot help about the updating only ...
10 years, 6 months ago (2013-10-29 17:48:00 UTC) #3
shedwardx
On 2013/10/29 17:48:00, arnaud.bienner wrote: > Hi > > I haven't used it a lot, ...
10 years, 6 months ago (2013-10-29 19:37:32 UTC) #4
arnaud.bienner
I found it, you just need provide issue id (19160044) using option -i > with ...
10 years, 6 months ago (2013-10-29 19:49:53 UTC) #5
shedwardx
10 years, 6 months ago (2013-10-29 19:53:55 UTC) #6
It seems the proper way to answer to comments. Sorry for spam attack to your
email :)

https://codereview.appspot.com/19160044/diff/1/src/internet/vkmusiccache.cpp
File src/internet/vkmusiccache.cpp (right):

https://codereview.appspot.com/19160044/diff/1/src/internet/vkmusiccache.cpp#...
src/internet/vkmusiccache.cpp:112: delete file_;
On 2013/10/29 16:30:30, arnaud.bienner wrote:
> You should probably reset it to NULL, otherwise the "if (file_)" will succeed
> next time, but file_ will contain a dangling pointer.
> btw, delete NULL is harmless, so the if sounds superfluous here (except for
the
> logging message, which might be the reason why you're doing so :)

Done.

https://codereview.appspot.com/19160044/diff/1/src/internet/vkmusiccache.cpp#...
src/internet/vkmusiccache.cpp:128: connect(reply_, SIGNAL(finished()),
SLOT(Downloaded()));
On 2013/10/29 16:30:30, arnaud.bienner wrote:
> Would have been nice to use Closure instead (but maybe this didn't exist when
> you started to work on this?)

Both hidable variables used in other places on the fly. file_ used in
DownloadReadyToRead for flushing downloaded data, reply_ used in
BreakCurrentCaching.

https://codereview.appspot.com/19160044/diff/1/src/internet/vkmusiccache.cpp#...
src/internet/vkmusiccache.cpp:196: QString VkMusicCache::CachedFilename(QUrl
url) {
On 2013/10/29 16:30:30, arnaud.bienner wrote:
> should be "const QUrl&" to avoid unnecessary copy probably

Done.
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b