Hello community, here is the log from the commit of package kcachegrind for openSUSE:Factory checked in at 2013-12-02 12:36:25 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/kcachegrind (Old) and /work/SRC/openSUSE:Factory/.kcachegrind.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "kcachegrind" Changes: -------- --- /work/SRC/openSUSE:Factory/kcachegrind/kcachegrind.changes 2013-10-03 15:51:28.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.kcachegrind.new/kcachegrind.changes 2013-12-02 12:36:26.000000000 +0100 @@ -1,0 +2,21 @@ +Sat Nov 16 18:34:48 UTC 2013 - [email protected] + +- Update to 4.11.90 + * KDE 4.12 Beta 2 release + * See http://www.kde.org/announcements/announce-4.12-beta2.php + +------------------------------------------------------------------- +Sun Nov 10 08:06:22 UTC 2013 - [email protected] + +- Update to 4.11.80 + * KDE 4.12 Beta 1 release + * See http://www.kde.org/announcements/announce-4.12-beta1.php + +------------------------------------------------------------------- +Sat Nov 2 15:53:19 UTC 2013 - [email protected] + +- Update to 4.11.3 + * KDE 4.11.3 bugfix release + * See http://www.kde.org/announcements/announce-4.11.3.php + +------------------------------------------------------------------- Old: ---- kcachegrind-4.11.2.tar.xz New: ---- kcachegrind-4.11.90.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ kcachegrind.spec ++++++ --- /var/tmp/diff_new_pack.I1Cdvu/_old 2013-12-02 12:36:26.000000000 +0100 +++ /var/tmp/diff_new_pack.I1Cdvu/_new 2013-12-02 12:36:26.000000000 +0100 @@ -22,7 +22,7 @@ License: GPL-2.0 and BSD-4-Clause and GFDL-1.2 Group: Development/Tools/Other Url: http://www.kde.org/ -Version: 4.11.2 +Version: 4.11.90 Release: 0 Source0: %{name}-%{version}.tar.xz BuildRoot: %{_tmppath}/%{name}-%{version}-build ++++++ kcachegrind-4.11.2.tar.xz -> kcachegrind-4.11.90.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kcachegrind-4.11.2/kcachegrind/kcachegrind.desktop new/kcachegrind-4.11.90/kcachegrind/kcachegrind.desktop --- old/kcachegrind-4.11.2/kcachegrind/kcachegrind.desktop 2013-08-28 19:13:50.000000000 +0200 +++ new/kcachegrind-4.11.90/kcachegrind/kcachegrind.desktop 2013-10-29 16:54:37.000000000 +0100 @@ -168,6 +168,7 @@ Comment[ta]= விவர தகவலை செயல்பாட்டு காட்சியாளிப்பு Comment[tg]=Утилита барои гузориши профили визуалӣ Comment[tr]=Performans Profilleme Verisinin Görünür Hali +Comment[ug]=سانلىق-مەلۇماتلارنىڭ سەپلىنىشىنى سۈرەتلەشتۈرۈش Comment[uk]=Візуалізація даних профілювання швидкодії Comment[x-test]=xxVisualization of Performance Profiling Dataxx Comment[zh_CN]=性能测试数据的可视化表现 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kcachegrind-4.11.2/libcore/costitem.cpp new/kcachegrind-4.11.90/libcore/costitem.cpp --- old/kcachegrind-4.11.2/libcore/costitem.cpp 2013-08-28 19:13:50.000000000 +0200 +++ new/kcachegrind-4.11.90/libcore/costitem.cpp 2013-10-29 16:54:37.000000000 +0100 @@ -603,3 +603,8 @@ return subCost(t).pretty(); } +QString ProfileCostArray::prettySubCostPerCall(EventType* t, int calls) +{ + return SubCost(subCost(t) / calls).pretty(); +} + diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kcachegrind-4.11.2/libcore/costitem.h new/kcachegrind-4.11.90/libcore/costitem.h --- old/kcachegrind-4.11.2/libcore/costitem.h 2013-06-28 20:03:04.000000000 +0200 +++ new/kcachegrind-4.11.90/libcore/costitem.h 2013-10-29 16:54:37.000000000 +0100 @@ -190,6 +190,8 @@ */ QString prettySubCost(EventType*); + QString prettySubCostPerCall(EventType* t, int calls); + protected: virtual void update(); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kcachegrind-4.11.2/libcore/tracedata.h new/kcachegrind-4.11.90/libcore/tracedata.h --- old/kcachegrind-4.11.2/libcore/tracedata.h 2013-06-28 20:03:04.000000000 +0200 +++ new/kcachegrind-4.11.90/libcore/tracedata.h 2013-10-29 16:54:37.000000000 +0100 @@ -1084,7 +1084,7 @@ bool isAssoziated(); /** - * reset function to assoziate this object to. + * reset function to associate this object to. * returns true if assoziation could be established */ bool setFunction(TraceFunction*); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kcachegrind-4.11.2/libviews/callitem.cpp new/kcachegrind-4.11.90/libviews/callitem.cpp --- old/kcachegrind-4.11.2/libviews/callitem.cpp 2013-06-28 20:03:04.000000000 +0200 +++ new/kcachegrind-4.11.90/libviews/callitem.cpp 2013-10-29 16:54:37.000000000 +0100 @@ -35,9 +35,8 @@ CallItem::CallItem(CallView* view, QTreeWidget* parent, TraceCall* c) : QTreeWidgetItem(parent) { - setTextAlignment(0, Qt::AlignRight); - setTextAlignment(1, Qt::AlignRight); - setTextAlignment(2, Qt::AlignRight); + for (int i = 0 ; i < 5; ++i) + setTextAlignment(i, Qt::AlignRight); _call = c; _view = view; @@ -57,7 +56,7 @@ _shown->addPrettyLocation(fName); - setText(3, fName); + setText(5, fName); updateGroup(); updateCost(); } @@ -65,7 +64,7 @@ void CallItem::updateGroup() { QColor c = GlobalGUIConfig::functionColor(_view->groupType(), _shown); - setIcon(3, colorPixmap(10, 10, c)); + setIcon(5, colorPixmap(10, 10, c)); } void CallItem::updateCost() @@ -85,7 +84,7 @@ else cStr = _call->prettyCallCount(); } - setText(2, cStr); + setText(4, cStr); ProfileCostArray* totalCost; if (GlobalConfig::showExpanded()) { @@ -113,10 +112,11 @@ if (GlobalConfig::showPercentage()) setText(0, QString("%1") .arg(sum, 0, 'f', GlobalConfig::percentPrecision())); - else + else { setText(0, _call->prettySubCost(ct)); - + } setIcon(0, costPixmap(ct, _call, total, false)); + setText(1, _call->prettySubCostPerCall(ct, _cc)); } // Cost Type 2 @@ -128,19 +128,20 @@ if (total == 0.0) { QString str = "-"; - setText(1, str); - setIcon(1, QPixmap()); + setText(2, str); + setIcon(2, QPixmap()); } else { double sum = 100.0 * _sum2 / total; if (GlobalConfig::showPercentage()) - setText(1, QString("%1") + setText(2, QString("%1") .arg(sum, 0, 'f', GlobalConfig::percentPrecision())); - else - setText(1, _call->prettySubCost(ct2)); - - setIcon(1, costPixmap(ct2, _call, total, false)); + else { + setText(2, _call->prettySubCost(ct2)); + } + setIcon(2, costPixmap(ct2, _call, total, false)); + setText(3, _call->prettySubCostPerCall(ct, _cc)); } } @@ -154,7 +155,7 @@ KIconLoader::DefaultState, QStringList(), 0, true); #endif } - setIcon(2, p); + setIcon(4, p); } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kcachegrind-4.11.2/libviews/callview.cpp new/kcachegrind-4.11.90/libviews/callview.cpp --- old/kcachegrind-4.11.2/libviews/callview.cpp 2013-06-28 20:03:04.000000000 +0200 +++ new/kcachegrind-4.11.90/libviews/callview.cpp 2013-10-29 16:54:37.000000000 +0100 @@ -45,7 +45,9 @@ QStringList headerLabels; headerLabels << tr( "Cost" ) + << tr( "Cost per call" ) << tr( "Cost 2" ) + << tr( "Cost 2 per call" ) << tr( "Count" ) << ((_showCallers) ? tr( "Caller" ) : tr( "Callee" )); setHeaderLabels(headerLabels); @@ -258,10 +260,14 @@ clear(); setColumnWidth(1, _eventType2 ? 50:0); - if (_eventType) + if (_eventType) { headerItem()->setText(0, _eventType->name()); - if (_eventType2) - headerItem()->setText(1, _eventType2->name()); + headerItem()->setText(1, tr("%1 per call").arg(_eventType->name())); + } + if (_eventType2) { + headerItem()->setText(2, _eventType2->name()); + headerItem()->setText(3, tr("%1 per call").arg(_eventType2->name())); + } if (!_data || !_activeItem) return; @@ -285,8 +291,10 @@ // resize to content now (section size still can be interactively changed) header()->resizeSections(QHeaderView::ResizeToContents); - if (!_eventType2) - setColumnWidth(1, 0); + if (!_eventType2) { + setColumnWidth(2, 0); + setColumnWidth(3, 0); + } } #include "callview.moc" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kcachegrind-4.11.2/libviews/instrview.cpp new/kcachegrind-4.11.90/libviews/instrview.cpp --- old/kcachegrind-4.11.2/libviews/instrview.cpp 2013-06-28 20:03:04.000000000 +0200 +++ new/kcachegrind-4.11.90/libviews/instrview.cpp 2013-10-29 16:54:37.000000000 +0100 @@ -787,7 +787,7 @@ } function->object()->setDirectory(dir); - // call objdump synchroneously + // call objdump synchronously QString objfile = dir + '/' + function->object()->shortName(); QStringList objdumpArgs = QStringList() << "-C" << "-d" @@ -1006,15 +1006,17 @@ } } - // Resize column 1/2 to contents + // Resize columns with address/counts/opcode to contents #if QT_VERSION >= 0x050000 header()->setSectionResizeMode(0, QHeaderView::ResizeToContents); header()->setSectionResizeMode(1, QHeaderView::ResizeToContents); header()->setSectionResizeMode(2, QHeaderView::ResizeToContents); + header()->setSectionResizeMode(5, QHeaderView::ResizeToContents); #else header()->setResizeMode(0, QHeaderView::ResizeToContents); header()->setResizeMode(1, QHeaderView::ResizeToContents); header()->setResizeMode(2, QHeaderView::ResizeToContents); + header()->setResizeMode(5, QHeaderView::ResizeToContents); #endif setSortingEnabled(false); @@ -1030,10 +1032,12 @@ header()->setSectionResizeMode(0, QHeaderView::Interactive); header()->setSectionResizeMode(1, QHeaderView::Interactive); header()->setSectionResizeMode(2, QHeaderView::Interactive); + header()->setSectionResizeMode(5, QHeaderView::Interactive); #else header()->setResizeMode(0, QHeaderView::Interactive); header()->setResizeMode(1, QHeaderView::Interactive); header()->setResizeMode(2, QHeaderView::Interactive); + header()->setResizeMode(5, QHeaderView::Interactive); #endif if (selected) item = selected; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kcachegrind-4.11.2/libviews/sourceview.cpp new/kcachegrind-4.11.90/libviews/sourceview.cpp --- old/kcachegrind-4.11.2/libviews/sourceview.cpp 2013-06-28 20:03:04.000000000 +0200 +++ new/kcachegrind-4.11.90/libviews/sourceview.cpp 2013-10-29 16:54:37.000000000 +0100 @@ -640,7 +640,7 @@ new SourceItem(this, this, fileno, 2, false, tr("with any source line of this function in file")); new SourceItem(this, this, fileno, 3, false, - QString(" '%1'").arg(sf->function()->prettyName())); + QString(" '%1'").arg(sf->file()->prettyName())); new SourceItem(this, this, fileno, 4, false, tr("Thus, no annotated source can be shown.")); return; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kcachegrind-4.11.2/libviews/traceitemview.cpp new/kcachegrind-4.11.90/libviews/traceitemview.cpp --- old/kcachegrind-4.11.2/libviews/traceitemview.cpp 2013-06-28 20:03:04.000000000 +0200 +++ new/kcachegrind-4.11.90/libviews/traceitemview.cpp 2013-10-29 16:54:37.000000000 +0100 @@ -181,7 +181,7 @@ updateView(); } -// force: update immediatly even if invisible and no change was detected +// force: update immediately even if invisible and no change was detected void TraceItemView::updateView(bool force) { if (!_mergeUpdates || force) { diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kcachegrind-4.11.2/libviews/traceitemview.h new/kcachegrind-4.11.90/libviews/traceitemview.h --- old/kcachegrind-4.11.2/libviews/traceitemview.h 2013-06-28 20:03:04.000000000 +0200 +++ new/kcachegrind-4.11.90/libviews/traceitemview.h 2013-10-29 16:54:37.000000000 +0100 @@ -128,7 +128,7 @@ void setMergeUpdates(bool b) { _mergeUpdates = b; } // general update request, call if view is/gets visible - // force: update immediatly even if invisible and no change was detected + // force: update immediately even if invisible and no change was detected void updateView(bool force = false); /** diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kcachegrind-4.11.2/libviews/treemap.cpp new/kcachegrind-4.11.90/libviews/treemap.cpp --- old/kcachegrind-4.11.2/libviews/treemap.cpp 2013-06-28 20:03:04.000000000 +0200 +++ new/kcachegrind-4.11.90/libviews/treemap.cpp 2013-10-29 16:54:37.000000000 +0100 @@ -2360,7 +2360,7 @@ foreach(TreeMapItem* i, *list) i->clearItemRect(); } - // tooltip apears on whole item rect + // tooltip appears on whole item rect item->addFreeRect(item->itemRect()); // if we have space for text... diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kcachegrind-4.11.2/qcachegrind/qcachegrind.desktop new/kcachegrind-4.11.90/qcachegrind/qcachegrind.desktop --- old/kcachegrind-4.11.2/qcachegrind/qcachegrind.desktop 2013-08-28 19:13:50.000000000 +0200 +++ new/kcachegrind-4.11.90/qcachegrind/qcachegrind.desktop 2013-10-29 16:54:37.000000000 +0100 @@ -146,6 +146,7 @@ Comment[ta]= விவர தகவலை செயல்பாட்டு காட்சியாளிப்பு Comment[tg]=Утилита барои гузориши профили визуалӣ Comment[tr]=Performans Profilleme Verisinin Görünür Hali +Comment[ug]=سانلىق-مەلۇماتلارنىڭ سەپلىنىشىنى سۈرەتلەشتۈرۈش Comment[uk]=Візуалізація даних профілювання швидкодії Comment[x-test]=xxVisualization of Performance Profiling Dataxx Comment[zh_CN]=性能测试数据的可视化表现 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kcachegrind-4.11.2/qcachegrind/qcgtoplevel.cpp new/kcachegrind-4.11.90/qcachegrind/qcgtoplevel.cpp --- old/kcachegrind-4.11.2/qcachegrind/qcgtoplevel.cpp 2013-08-28 19:13:50.000000000 +0200 +++ new/kcachegrind-4.11.90/qcachegrind/qcgtoplevel.cpp 2013-10-29 16:54:37.000000000 +0100 @@ -631,7 +631,7 @@ { static QString lastPage = QString::null; - // if no specific config item should be focussed, use last page + // if no specific config item should be focused, use last page if (s.isEmpty()) s = lastPage; ConfigDialog d(_data, this, s); -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
