Changes of Revision 64
[-] [+] | Changed | _service:tar_git:harbour-twablet.spec |
[-] [+] | Changed | _service ^ |
@@ -6,7 +6,7 @@ <service name="tar_git"> <param name="url">https://github.com/SfietKonstantin/harbour-twablet.git</param> <param name="branch">master</param> - <param name="revision">378ed921f1a8ebd0b0bafd0b3e07380d9eb417de</param> + <param name="revision">31b3f7b365b899a8d92050d4cb8dcd2d5436310b</param> <param name="token"/> <param name="debian">N</param> <param name="dumb">N</param> | ||
[-] [+] | Changed | _service:tar_git:harbour-twablet-0.6.4.tar.bz2/src/bin/qml/pages/MainPage.qml ^ |
@@ -148,7 +148,7 @@ LH.handleLink(url, panel, model.layout.userId, Info.Clear) } onOpenTweet: { - panel.openTweet(tweetId, retweetId, model.layout.userId, Info.Clear) + panel.openTweet(tweetId, retweetId, model.layout.accountUserId, Info.Clear) } onUnreadChanged: { Repository.updateLayoutUnread(model.index, unread) | ||
[-] [+] | Changed | _service:tar_git:harbour-twablet-0.6.4.tar.bz2/src/bin/qml/pages/RightPanel.qml ^ |
@@ -135,6 +135,10 @@ } function _open(page, args, pushMode) { + for (var key in args) { + console.debug(key, args[key]) + } + if (typeof(pushMode) === 'undefined') { pushMode = Info.Push } | ||
[-] [+] | Changed | _service:tar_git:harbour-twablet-0.6.4.tar.bz2/src/lib/private/debughelper.cpp ^ |
@@ -51,3 +51,11 @@ debug.nospace() << "(" << query.path() << " " << query.parameters() << ")"; return debug; } + +QDebug &operator<<(QDebug &debug, const ContainerKey &containerKey) +{ + QDebugStateSaver saver(debug); + debug.nospace() << "(" << containerKey.account().userId() << " " + << containerKey.query() << ")"; + return debug; +} | ||
[-] [+] | Changed | _service:tar_git:harbour-twablet-0.6.4.tar.bz2/src/lib/private/debughelper.h ^ |
@@ -34,8 +34,10 @@ #include <QtCore/QDebug> #include "query.h" +#include "containerkey.h" QDebug & operator<<(QDebug &debug, const Query::Parameters ¶meters); QDebug & operator<<(QDebug &debug, const Query &query); +QDebug & operator<<(QDebug &debug, const ContainerKey &containerKey); #endif // DEBUGHELPER_H | ||
[-] [+] | Changed | _service:tar_git:harbour-twablet-0.6.4.tar.bz2/src/lib/tweetrepositorycontainer.cpp ^ |
@@ -112,6 +112,10 @@ auto it = m_mapping.find(ContainerKey{Account{account}, Query{query}}); if (it != std::end(m_mapping)) { load(it->first, it->second, IListQueryHandler<Tweet>::Refresh); + } else { + qCWarning(logger) << "refresh: cannot perform load"; + qCWarning(logger) << " Account:" << account.userId(); + qCWarning(logger) << " Query:" << query; } } @@ -120,6 +124,10 @@ auto it = m_mapping.find(ContainerKey{Account{account}, Query{query}}); if (it != std::end(m_mapping)) { load(it->first, it->second, IListQueryHandler<Tweet>::LoadMore); + } else { + qCWarning(logger) << "loadmore: cannot perform load"; + qCWarning(logger) << " Account:" << account.userId(); + qCWarning(logger) << " Query:" << query; } } @@ -154,13 +162,15 @@ IListQueryHandler<Tweet>::RequestType requestType) { if (mappingData.loading) { + qCDebug(logger) << "Already loading:" << key; return; } + qCDebug(logger) << "Load:" << key; qCDebug(logger) << "Refcount info:"; for (const auto &it : m_mapping) { qCDebug(logger) << " For query" << it.first.query() << "Refcount:" << it.second.refcount - << "Observers:" << it.second.repository.listeners().size(); + << "Observers:" << it.second.repository.listeners().size(); } mappingData.loading = true; |