commit kdebase4 for openSUSE:Factory
Hello community, here is the log from the commit of package kdebase4 for openSUSE:Factory checked in at Thu Apr 7 10:10:52 CEST 2011. -------- --- KDE/kdebase4/kdebase4.changes 2011-03-14 19:56:46.000000000 +0100 +++ /mounts/work_src_done/STABLE/kdebase4/kdebase4.changes 2011-04-01 14:11:18.000000000 +0200 @@ -1,0 +2,8 @@ +Fri Apr 1 14:11:09 CEST 2011 - dmueller@suse.de + +- update to 4.6.2 + * Bugfixes over KDE 4.6.1 + * see http://kde.org/announcements/changelogs/changelog4_6_1to4_6_2.php for details + + +------------------------------------------------------------------- calling whatdependson for head-i586 Old: ---- kdebase-4.6.1.tar.bz2 New: ---- kdebase-4.6.2.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ kdebase4.spec ++++++ --- /var/tmp/diff_new_pack.cvxl5s/_old 2011-04-07 10:10:28.000000000 +0200 +++ /var/tmp/diff_new_pack.cvxl5s/_new 2011-04-07 10:10:28.000000000 +0200 @@ -18,8 +18,8 @@ Name: kdebase4 -Version: 4.6.1 -Release: 2 +Version: 4.6.2 +Release: 1 License: GPLv2+ Summary: The Base KDE Apps Url: http://www.kde.org/ ++++++ kdebase-4.6.1.tar.bz2 -> kdebase-4.6.2.tar.bz2 ++++++ Files old/kdebase-4.6.1/doc/dolphin/index.cache.bz2 and new/kdebase-4.6.2/doc/dolphin/index.cache.bz2 differ Files old/kdebase-4.6.1/doc/kdepasswd/index.cache.bz2 and new/kdebase-4.6.2/doc/kdepasswd/index.cache.bz2 differ Files old/kdebase-4.6.1/doc/kfind/index.cache.bz2 and new/kdebase-4.6.2/doc/kfind/index.cache.bz2 differ Files old/kdebase-4.6.1/doc/konqueror/index.cache.bz2 and new/kdebase-4.6.2/doc/konqueror/index.cache.bz2 differ Files old/kdebase-4.6.1/doc/kwrite/index.cache.bz2 and new/kdebase-4.6.2/doc/kwrite/index.cache.bz2 differ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kdebase-4.6.1/dolphin/src/views/dolphinfileitemdelegate.cpp new/kdebase-4.6.2/dolphin/src/views/dolphinfileitemdelegate.cpp --- old/kdebase-4.6.1/dolphin/src/views/dolphinfileitemdelegate.cpp 2011-02-25 23:33:12.000000000 +0100 +++ new/kdebase-4.6.2/dolphin/src/views/dolphinfileitemdelegate.cpp 2011-03-04 10:42:02.000000000 +0100 @@ -130,9 +130,9 @@ // have been optimized for the base colors of the corresponding Oxygen emblems. switch (state) { case KVersionControlPlugin::UpdateRequiredVersion: tintColor = Qt::yellow; break; - case KVersionControlPlugin::LocallyModifiedUnstagedVersion: tintColor = Qt::darkRed; break; + case KVersionControlPlugin::LocallyModifiedUnstagedVersion: tintColor = Qt::darkGreen; break; case KVersionControlPlugin::LocallyModifiedVersion: tintColor = Qt::green; break; - case KVersionControlPlugin::AddedVersion: tintColor = Qt::darkGreen; break; + case KVersionControlPlugin::AddedVersion: tintColor = Qt::green; break; case KVersionControlPlugin::RemovedVersion: tintColor = Qt::darkRed; break; case KVersionControlPlugin::ConflictingVersion: tintColor = Qt::red; break; case KVersionControlPlugin::UnversionedVersion: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kdebase-4.6.1/dolphin/src/views/dolphinview.cpp new/kdebase-4.6.2/dolphin/src/views/dolphinview.cpp --- old/kdebase-4.6.1/dolphin/src/views/dolphinview.cpp 2011-02-25 23:33:12.000000000 +0100 +++ new/kdebase-4.6.2/dolphin/src/views/dolphinview.cpp 2011-03-04 10:42:02.000000000 +0100 @@ -430,12 +430,8 @@ m_active = true; createView(); - reload(); - - // For performance reasons applying the view properties should be done after updating - // the directory-lister URL with reload(). Otherwise in combination with enabled - // previews the creation of already obsolete directory items gets triggered. applyViewProperties(); + reload(); setActive(oldActivationState); updateZoomLevel(oldZoomLevel); @@ -539,6 +535,7 @@ m_viewModeController->setUrl(url); // emits urlChanged, which we forward m_viewAccessor.prepareUrlChange(url); + applyViewProperties(); // When changing the URL there is no need to keep the version // data of the previous URL. @@ -548,11 +545,6 @@ connectViewAccessor(); loadDirectory(url); - // For performance reasons applying the view properties should be done after updating - // the directory-lister URL with loadDirectory(). Otherwise in combination with enabled - // previews the creation of already obsolete directory items gets triggered. - applyViewProperties(); - if (hadSelection || hasSelection()) { emitSelectionChangedSignal(); } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kdebase-4.6.1/dolphin/src/views/viewextensionsfactory.cpp new/kdebase-4.6.2/dolphin/src/views/viewextensionsfactory.cpp --- old/kdebase-4.6.1/dolphin/src/views/viewextensionsfactory.cpp 2011-02-25 23:33:12.000000000 +0100 +++ new/kdebase-4.6.2/dolphin/src/views/viewextensionsfactory.cpp 2011-03-04 10:42:02.000000000 +0100 @@ -73,8 +73,14 @@ this, SLOT(slotZoomLevelChanged())); connect(viewModeController, SIGNAL(cancelPreviews()), this, SLOT(cancelPreviews())); + + // slotPreviewChanged() is connected as Qt::QueuedConnection to prevent performance + // issues when the directory lister changes its URL after the preview-changes have + // been applied. Usecase: Switch from directory A having no previews to + // directory B with previews (see sequence in DolphinView::setUrl()). connect(dolphinViewController->view(), SIGNAL(showPreviewChanged()), - this, SLOT(slotShowPreviewChanged())); + this, SLOT(slotShowPreviewChanged()), + Qt::QueuedConnection); // initialize selection manager m_selectionManager = new SelectionManager(view); Files old/kdebase-4.6.1/konsole/doc/manual/index.cache.bz2 and new/kdebase-4.6.2/konsole/doc/manual/index.cache.bz2 differ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kdebase-4.6.1/konsole/src/RenameTabsDialog.cpp new/kdebase-4.6.2/konsole/src/RenameTabsDialog.cpp --- old/kdebase-4.6.1/konsole/src/RenameTabsDialog.cpp 2011-02-28 13:51:30.000000000 +0100 +++ new/kdebase-4.6.2/konsole/src/RenameTabsDialog.cpp 2011-04-01 20:35:03.000000000 +0200 @@ -56,6 +56,15 @@ delete _ui; } +void RenameTabsDialog::focusTabTitleText() +{ + _ui->tabTitleEdit->setFocus(); +} + +void RenameTabsDialog::focusRemoteTabTitleText() +{ + _ui->remoteTabTitleEdit->setFocus(); +} void RenameTabsDialog::setTabTitleText(const QString& text) { diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kdebase-4.6.1/konsole/src/RenameTabsDialog.h new/kdebase-4.6.2/konsole/src/RenameTabsDialog.h --- old/kdebase-4.6.1/konsole/src/RenameTabsDialog.h 2011-02-28 13:51:30.000000000 +0100 +++ new/kdebase-4.6.2/konsole/src/RenameTabsDialog.h 2011-04-01 20:35:03.000000000 +0200 @@ -49,6 +49,9 @@ void setTabTitleText(const QString&); void setRemoteTabTitleText(const QString&); + void focusTabTitleText(); + void focusRemoteTabTitleText(); + public slots: void insertTabTitleText(const QString& text); void insertRemoteTabTitleText(const QString& text); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kdebase-4.6.1/konsole/src/Session.cpp new/kdebase-4.6.2/konsole/src/Session.cpp --- old/kdebase-4.6.1/konsole/src/Session.cpp 2011-02-28 13:51:30.000000000 +0100 +++ new/kdebase-4.6.2/konsole/src/Session.cpp 2011-04-01 20:35:03.000000000 +0200 @@ -897,6 +897,14 @@ return valid; } +bool Session::isRemote() +{ + ProcessInfo* process = getProcessInfo(); + + bool ok = false; + return ( process->name(&ok) == "ssh" && ok ); +} + QString Session::getDynamicTitle() { // update current directory from process diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kdebase-4.6.1/konsole/src/Session.h new/kdebase-4.6.2/konsole/src/Session.h --- old/kdebase-4.6.1/konsole/src/Session.h 2011-02-28 13:51:30.000000000 +0100 +++ new/kdebase-4.6.2/konsole/src/Session.h 2011-04-01 20:35:03.000000000 +0200 @@ -151,6 +151,13 @@ */ RemoteTabTitle }; + + /** + * Returns true if the session currently contains a connection to a + * remote computer. It currently supports ssh. + */ + bool isRemote(); + /** * Sets the format used by this session for tab titles. * diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kdebase-4.6.1/konsole/src/SessionController.cpp new/kdebase-4.6.2/konsole/src/SessionController.cpp --- old/kdebase-4.6.1/konsole/src/SessionController.cpp 2011-02-28 13:51:30.000000000 +0100 +++ new/kdebase-4.6.2/konsole/src/SessionController.cpp 2011-04-01 20:35:03.000000000 +0200 @@ -550,6 +550,12 @@ dialog->setTabTitleText(_session->tabTitleFormat(Session::LocalTabTitle)); dialog->setRemoteTabTitleText(_session->tabTitleFormat(Session::RemoteTabTitle)); + if (!_session->isRemote()) { + dialog->focusTabTitleText(); + } else { + dialog->focusRemoteTabTitleText(); + } + QPointer<Session> guard(_session); int result = dialog->exec(); if (!guard) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kdebase-4.6.1/konsole/src/ViewContainer.cpp new/kdebase-4.6.2/konsole/src/ViewContainer.cpp --- old/kdebase-4.6.1/konsole/src/ViewContainer.cpp 2011-02-28 13:51:30.000000000 +0100 +++ new/kdebase-4.6.2/konsole/src/ViewContainer.cpp 2011-04-01 20:35:03.000000000 +0200 @@ -788,8 +788,11 @@ const int index = _stackWidget->indexOf( iter.next() ); QString tabText = item->title(); - _tabBar->setTabText( index , tabText ); _tabBar->setTabToolTip( index , tabText ); + + // To avoid having & replaced with _ (shortcut indicator) + tabText.replace("&", "&&"); + _tabBar->setTabText( index , tabText ); } } void TabbedViewContainer::updateIcon(ViewProperties* item) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kdebase-4.6.1/konsole/src/main.cpp new/kdebase-4.6.2/konsole/src/main.cpp --- old/kdebase-4.6.1/konsole/src/main.cpp 2011-02-28 13:51:30.000000000 +0100 +++ new/kdebase-4.6.2/konsole/src/main.cpp 2011-04-01 20:35:03.000000000 +0200 @@ -30,7 +30,7 @@ #include <KCmdLineArgs> #include <KLocale> -#define KONSOLE_VERSION "2.6.1" +#define KONSOLE_VERSION "2.6.2" using namespace Konsole; ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org
participants (1)
-
root@hilbert.suse.de