Hello community, here is the log from the commit of package yast2-qt checked in at Tue Apr 25 17:40:37 CEST 2006. -------- --- yast2-qt/yast2-qt.changes 2006-04-20 18:19:15.000000000 +0200 +++ STABLE/yast2-qt/yast2-qt.changes 2006-04-25 14:36:37.000000000 +0200 @@ -1,0 +2,20 @@ +Tue Apr 25 14:33:53 CEST 2006 - sh@suse.de + +- Fixed bug #168904: Changing "all in this list" status in pkg lists + takes too long +- V 2.13.52 + +------------------------------------------------------------------- +Tue Apr 25 13:44:39 CEST 2006 - schubi@suse.de + +- Bug 167565 - UI: deselecting one preselected pattern deselects everything + Added transactResKind( zypp::ResTraitszypp::Product::kind ) in solveResolvableCollections + +------------------------------------------------------------------- +Mon Apr 24 13:22:50 CEST 2006 - sh@suse.de + +- V 2.13.51 +- Add installed pkg to SelMapper to fix "update problems" list + (required for pkgs that are not available and marked auto-delete) + +------------------------------------------------------------------- Old: ---- yast2-qt-2.13.50.tar.bz2 New: ---- yast2-qt-2.13.52.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ yast2-qt.spec ++++++ --- /var/tmp/diff_new_pack.5CPZUx/_old 2006-04-25 17:39:37.000000000 +0200 +++ /var/tmp/diff_new_pack.5CPZUx/_new 2006-04-25 17:39:37.000000000 +0200 @@ -1,5 +1,5 @@ # -# spec file for package yast2-qt (Version 2.13.50) +# spec file for package yast2-qt (Version 2.13.52) # # Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany. # This file and all modifications and additions to the pristine @@ -11,12 +11,12 @@ # norootforbuild Name: yast2-qt -Version: 2.13.50 +Version: 2.13.52 Release: 1 License: GPL Group: System/YaST BuildRoot: %{_tmppath}/%{name}-%{version}-build -Source0: yast2-qt-2.13.50.tar.bz2 +Source0: yast2-qt-2.13.52.tar.bz2 prefix: /usr BuildRequires: boost-devel curl-devel dbus-1-devel docbook-xsl-stylesheets doxygen hal-devel libdrm-devel libjpeg-devel libxcrypt-devel libxslt libzypp-devel perl-XML-Writer qt3-devel rpm-devel sgml-skel update-desktop-files yast2-core-devel yast2-devtools Summary: YaST2 - Graphical User Interface @@ -42,7 +42,7 @@ Stefan Hundhammer <sh@suse.de> %prep -%setup -n yast2-qt-2.13.50 +%setup -n yast2-qt-2.13.52 %build %{prefix}/bin/y2tool y2autoconf @@ -80,6 +80,17 @@ %doc %{prefix}/share/doc/packages/yast2-qt %changelog -n yast2-qt +* Tue Apr 25 2006 - sh@suse.de +- Fixed bug #168904: Changing "all in this list" status in pkg lists + takes too long +- V 2.13.52 +* Tue Apr 25 2006 - schubi@suse.de +- Bug 167565 - UI: deselecting one preselected pattern deselects everything + Added transactResKind( zypp::ResTraitszypp::Product::kind ) in solveResolvableCollections +* Mon Apr 24 2006 - sh@suse.de +- V 2.13.51 +- Add installed pkg to SelMapper to fix "update problems" list + (required for pkgs that are not available and marked auto-delete) * Thu Apr 20 2006 - sh@suse.de - V 2.13.50 - Re-implemented list of problematic packages during update ++++++ yast2-qt-2.13.50.tar.bz2 -> yast2-qt-2.13.52.tar.bz2 ++++++ diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-qt-2.13.50/VERSION new/yast2-qt-2.13.52/VERSION --- old/yast2-qt-2.13.50/VERSION 2006-04-20 18:18:04.000000000 +0200 +++ new/yast2-qt-2.13.52/VERSION 2006-04-25 14:34:35.000000000 +0200 @@ -1 +1 @@ -2.13.50 +2.13.52 diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-qt-2.13.50/configure new/yast2-qt-2.13.52/configure --- old/yast2-qt-2.13.50/configure 2006-04-19 14:32:10.000000000 +0200 +++ new/yast2-qt-2.13.52/configure 2006-04-25 14:35:33.000000000 +0200 @@ -1,8 +1,8 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.59 for yast2-qt 2.13.48. +# Generated by GNU Autoconf 2.59 for yast2-qt 2.13.52. # -# Report bugs to http://www.suse.de/feedback. +# Report bugs to http://bugs.opensuse.org/. # # Copyright (C) 2003 Free Software Foundation, Inc. # This configure script is free software; the Free Software Foundation @@ -423,9 +423,9 @@ # Identity of this package. PACKAGE_NAME='yast2-qt' PACKAGE_TARNAME='yast2-qt' -PACKAGE_VERSION='2.13.48' -PACKAGE_STRING='yast2-qt 2.13.48' -PACKAGE_BUGREPORT='http://www.suse.de/feedback' +PACKAGE_VERSION='2.13.52' +PACKAGE_STRING='yast2-qt 2.13.52' +PACKAGE_BUGREPORT='http://bugs.opensuse.org/' ac_unique_file="RPMNAME" ac_default_prefix=/usr @@ -959,7 +959,7 @@ # Omit some internal or obsolete options to make the list less imposing. # This message is too long to be a string in the A/UX 3.1 sh. cat <<_ACEOF -`configure' configures yast2-qt 2.13.48 to adapt to many kinds of systems. +`configure' configures yast2-qt 2.13.52 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -1030,7 +1030,7 @@ if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of yast2-qt 2.13.48:";; + short | recursive ) echo "Configuration of yast2-qt 2.13.52:";; esac cat <<_ACEOF @@ -1080,7 +1080,7 @@ Use these variables to override the choices made by `configure' or to help it to find libraries and programs with nonstandard names/locations. -Report bugs to http://www.suse.de/feedback. +Report bugs to http://bugs.opensuse.org/. _ACEOF fi @@ -1176,7 +1176,7 @@ test -n "$ac_init_help" && exit 0 if $ac_init_version; then cat <<_ACEOF -yast2-qt configure 2.13.48 +yast2-qt configure 2.13.52 generated by GNU Autoconf 2.59 Copyright (C) 2003 Free Software Foundation, Inc. @@ -1190,7 +1190,7 @@ This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. -It was created by yast2-qt $as_me 2.13.48, which was +It was created by yast2-qt $as_me 2.13.52, which was generated by GNU Autoconf 2.59. Invocation command line was $ $0 $@ @@ -1920,7 +1920,7 @@ # Define the identity of the package. PACKAGE='yast2-qt' - VERSION='2.13.48' + VERSION='2.13.52' cat >>confdefs.h <<_ACEOF @@ -2131,7 +2131,7 @@ -VERSION="2.13.48" +VERSION="2.13.52" RPMNAME="yast2-qt" MAINTAINER="Stefan Hundhammer <sh@suse.de>" @@ -5374,9 +5374,9 @@ echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} ( cat <<_ASBOX -## ------------------------------------------ ## -## Report this to http://www.suse.de/feedback ## -## ------------------------------------------ ## +## ---------------------------------------- ## +## Report this to http://bugs.opensuse.org/ ## +## ---------------------------------------- ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 @@ -21309,7 +21309,7 @@ } >&5 cat >&5 <<_CSEOF -This file was extended by yast2-qt $as_me 2.13.48, which was +This file was extended by yast2-qt $as_me 2.13.52, which was generated by GNU Autoconf 2.59. Invocation command line was CONFIG_FILES = $CONFIG_FILES @@ -21372,7 +21372,7 @@ cat >>$CONFIG_STATUS <<_ACEOF ac_cs_version="\ -yast2-qt config.status 2.13.48 +yast2-qt config.status 2.13.52 configured by $0, generated by GNU Autoconf 2.59, with options \"`echo "$ac_configure_args" | sed 's/[\""`$]/\\&/g'`\" diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-qt-2.13.50/configure.in new/yast2-qt-2.13.52/configure.in --- old/yast2-qt-2.13.50/configure.in 2006-04-19 14:31:54.000000000 +0200 +++ new/yast2-qt-2.13.52/configure.in 2006-04-25 14:35:16.000000000 +0200 @@ -3,7 +3,7 @@ dnl -- This file is generated by y2autoconf 2.13.17 - DO NOT EDIT! -- dnl (edit configure.in.in instead) -AC_INIT(yast2-qt, 2.13.48, http://www.suse.de/feedback, yast2-qt) +AC_INIT(yast2-qt, 2.13.52, http://bugs.opensuse.org/, yast2-qt) dnl Check for presence of file 'RPMNAME' AC_CONFIG_SRCDIR([RPMNAME]) @@ -17,7 +17,7 @@ AM_INIT_AUTOMAKE(tar-ustar) dnl searches for some needed programs dnl Important YaST2 variables -VERSION="2.13.48" +VERSION="2.13.52" RPMNAME="yast2-qt" MAINTAINER="Stefan Hundhammer <sh@suse.de>" diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-qt-2.13.50/configure.in.in new/yast2-qt-2.13.52/configure.in.in --- old/yast2-qt-2.13.50/configure.in.in 2006-04-20 17:19:27.000000000 +0200 +++ new/yast2-qt-2.13.52/configure.in.in 2006-04-21 11:51:02.000000000 +0200 @@ -12,7 +12,5 @@ ## special stuff AC_MIN_QT_VERSION(301,3.01) -PKG_CHECK_MODULES([ZYPP], [libzypp]) - ## and generate the output @YAST2-OUTPUT@ diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-qt-2.13.50/src/YQPackageSelectorBase.cc new/yast2-qt-2.13.52/src/YQPackageSelectorBase.cc --- old/yast2-qt-2.13.50/src/YQPackageSelectorBase.cc 2006-04-20 17:14:56.000000000 +0200 +++ new/yast2-qt-2.13.52/src/YQPackageSelectorBase.cc 2006-04-21 11:32:16.000000000 +0200 @@ -200,7 +200,7 @@ y2milestone( "diffState() reports changed selections" ); if ( zyppPool().diffStatezypp::Language() ) - y2milestone( "diffState() reports changed languates" ); + y2milestone( "diffState() reports changed languages" ); if ( zyppPool().diffStatezypp::Patch() ) y2milestone( "diffState() reports changed patches" ); diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-qt-2.13.50/src/YQPkgObjList.cc new/yast2-qt-2.13.52/src/YQPkgObjList.cc --- old/yast2-qt-2.13.50/src/YQPkgObjList.cc 2006-04-18 14:24:38.000000000 +0200 +++ new/yast2-qt-2.13.52/src/YQPkgObjList.cc 2006-04-25 14:20:23.000000000 +0200 @@ -302,17 +302,22 @@ if ( newStatus == S_Update ) { if ( item->candidateIsNewer() || force ) - item->setStatus( newStatus ); + item->setStatus( newStatus, + false ); // sendSignals } else { - item->setStatus( newStatus ); + item->setStatus( newStatus, + false ); // sendSignals } } ++it; } + emit updateItemStates(); + emit updatePackages(); + YQUI::ui()->normalCursor(); emit statusChanged(); } @@ -783,7 +788,7 @@ void -YQPkgObjListItem::setStatus( ZyppStatus newStatus ) +YQPkgObjListItem::setStatus( ZyppStatus newStatus, bool sendSignals ) { ZyppStatus oldStatus = selectable()->status(); selectable()->set_status( newStatus ); @@ -792,8 +797,11 @@ { applyChanges(); - _pkgObjList->updateItemStates(); - _pkgObjList->sendUpdatePackages(); + if ( sendSignals ) + { + _pkgObjList->updateItemStates(); + _pkgObjList->sendUpdatePackages(); + } } setStatusIcon(); @@ -806,7 +814,8 @@ zypp::Resolver_Ptr resolver = zypp::getZYpp()->resolver(); resolver->transactReset( zypp::ResStatus::APPL_LOW ); - + + resolver->transactResKind( zypp::ResTraits<zypp::Product >::kind ); resolver->transactResKind( zypp::ResTraitszypp::Selection::kind ); resolver->transactResKind( zypp::ResTraits<zypp::Pattern >::kind ); resolver->transactResKind( zypp::ResTraits<zypp::Language >::kind ); diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-qt-2.13.50/src/YQPkgSelMapper.cc new/yast2-qt-2.13.52/src/YQPkgSelMapper.cc --- old/yast2-qt-2.13.50/src/YQPkgSelMapper.cc 2006-03-14 18:26:53.000000000 +0100 +++ new/yast2-qt-2.13.52/src/YQPkgSelMapper.cc 2006-04-24 13:20:51.000000000 +0200 @@ -55,6 +55,18 @@ ++sel_it ) { ZyppSel sel = *sel_it; + + if ( sel->installedObj() ) + { + // The installed package (if there is any) may or may not be in the list + // of available packages. Better make sure to insert it. + + ZyppPkg installedPkg = tryCastToZyppPkg( sel->installedObj() ); + + if ( installedPkg ) + _cache.insert( CachePair( installedPkg, sel ) ); + } + zypp::ui::Selectable::available_iterator it = sel->availableBegin(); while ( it != sel->availableEnd() ) diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-qt-2.13.50/src/include/YQPkgObjList.h new/yast2-qt-2.13.52/src/include/YQPkgObjList.h --- old/yast2-qt-2.13.50/src/include/YQPkgObjList.h 2006-04-07 16:38:58.000000000 +0200 +++ new/yast2-qt-2.13.52/src/include/YQPkgObjList.h 2006-04-25 14:19:18.000000000 +0200 @@ -399,9 +399,13 @@ bool bySelection() const; /** - * Set the (binary RPM) package status + * Set the (binary RPM) package status. + * + * If 'sendSignals' is 'true' (default), the parent list will be requested + * to send update signals. List operations might want to use this for + * optimizations to send the signals only once after all changes are done. **/ - virtual void setStatus( ZyppStatus newStatus ); + virtual void setStatus( ZyppStatus newStatus, bool sendSignals = true ); /** * Set a status icon according to the package's status. ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun...