Hello community,
here is the log from the commit of package yast2-ncurses
checked in at Thu Apr 26 15:40:23 CEST 2007.
--------
--- yast2-ncurses/yast2-ncurses.changes 2007-04-19 14:40:10.000000000 +0200
+++ /mounts/work_src_done/STABLE/yast2-ncurses/yast2-ncurses.changes 2007-04-26 13:38:15.036402000 +0200
@@ -1,0 +2,13 @@
+Thu Apr 26 13:21:37 CEST 2007 - kmachalkova@suse.cz
+
+- For containter (Box) and alignment (Left, Right,...) widgets
+ enable/disable all the children recursively (#256707)
+- 2.15.15
+
+-------------------------------------------------------------------
+Mon Apr 23 16:24:39 CEST 2007 - kmachalkova@suse.cz
+
+- Really correct setting of current item in ComboBox widget :-)
+ consider also `opt(`editable) combos (#233593)
+
+-------------------------------------------------------------------
Old:
----
yast2-ncurses-2.15.14.tar.bz2
New:
----
yast2-ncurses-2.15.15.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ yast2-ncurses.spec ++++++
--- /var/tmp/diff_new_pack.Q28724/_old 2007-04-26 15:40:10.000000000 +0200
+++ /var/tmp/diff_new_pack.Q28724/_new 2007-04-26 15:40:10.000000000 +0200
@@ -1,5 +1,5 @@
#
-# spec file for package yast2-ncurses (Version 2.15.14)
+# spec file for package yast2-ncurses (Version 2.15.15)
#
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
@@ -11,12 +11,12 @@
# norootforbuild
Name: yast2-ncurses
-Version: 2.15.14
+Version: 2.15.15
Release: 1
License: GNU General Public License (GPL)
Group: System/YaST
BuildRoot: %{_tmppath}/%{name}-%{version}-build
-Source0: yast2-ncurses-2.15.14.tar.bz2
+Source0: yast2-ncurses-2.15.15.tar.bz2
prefix: /usr
BuildRequires: doxygen gcc-c++ libzypp-devel yast2-core-devel yast2-devtools
BuildRequires: blocxx-devel libxcrypt-devel ncurses-devel
@@ -44,7 +44,7 @@
%prep
-%setup -n yast2-ncurses-2.15.14
+%setup -n yast2-ncurses-2.15.15
%build
%{prefix}/bin/y2tool y2autoconf
@@ -77,6 +77,13 @@
%doc %{prefix}/share/doc/packages/yast2-ncurses
%changelog
+* Thu Apr 26 2007 - kmachalkova@suse.cz
+- For containter (Box) and alignment (Left, Right,...) widgets
+ enable/disable all the children recursively (#256707)
+- 2.15.15
+* Mon Apr 23 2007 - kmachalkova@suse.cz
+- Really correct setting of current item in ComboBox widget :-)
+ consider also `opt(`editable) combos (#233593)
* Thu Apr 19 2007 - gs@suse.de
- Enable/disable the RadioButtons in a RadioButtonGroup correctly
(bug #168770)
++++++ yast2-ncurses-2.15.14.tar.bz2 -> yast2-ncurses-2.15.15.tar.bz2 ++++++
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-ncurses-2.15.14/configure new/yast2-ncurses-2.15.15/configure
--- old/yast2-ncurses-2.15.14/configure 2007-04-19 15:00:13.000000000 +0200
+++ new/yast2-ncurses-2.15.15/configure 2007-04-23 14:39:15.000000000 +0200
@@ -1,6 +1,6 @@
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.61 for yast2-ncurses 2.15.14.
+# Generated by GNU Autoconf 2.61 for yast2-ncurses 2.15.13.
#
# Report bugs to http://bugs.opensuse.org/.
#
@@ -728,8 +728,8 @@
# Identity of this package.
PACKAGE_NAME='yast2-ncurses'
PACKAGE_TARNAME='yast2-ncurses'
-PACKAGE_VERSION='2.15.14'
-PACKAGE_STRING='yast2-ncurses 2.15.14'
+PACKAGE_VERSION='2.15.13'
+PACKAGE_STRING='yast2-ncurses 2.15.13'
PACKAGE_BUGREPORT='http://bugs.opensuse.org/'
ac_unique_file="RPMNAME"
@@ -1438,7 +1438,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-ncurses 2.15.14 to adapt to many kinds of systems.
+\`configure' configures yast2-ncurses 2.15.13 to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]...
@@ -1509,7 +1509,7 @@
if test -n "$ac_init_help"; then
case $ac_init_help in
- short | recursive ) echo "Configuration of yast2-ncurses 2.15.14:";;
+ short | recursive ) echo "Configuration of yast2-ncurses 2.15.13:";;
esac
cat <<\_ACEOF
@@ -1618,7 +1618,7 @@
test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then
cat <<\_ACEOF
-yast2-ncurses configure 2.15.14
+yast2-ncurses configure 2.15.13
generated by GNU Autoconf 2.61
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
@@ -1632,7 +1632,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-ncurses $as_me 2.15.14, which was
+It was created by yast2-ncurses $as_me 2.15.13, which was
generated by GNU Autoconf 2.61. Invocation command line was
$ $0 $@
@@ -2453,7 +2453,7 @@
# Define the identity of the package.
PACKAGE='yast2-ncurses'
- VERSION='2.15.14'
+ VERSION='2.15.13'
cat >>confdefs.h <<_ACEOF
@@ -2680,7 +2680,7 @@
-VERSION="2.15.14"
+VERSION="2.15.13"
RPMNAME="yast2-ncurses"
MAINTAINER="Katarina Machalkova "
@@ -4845,8 +4845,8 @@
ac_compiler_gnu=$ac_cv_c_compiler_gnu
-CFLAGS="${CFLAGS} -Wall -Wformat -Wmissing-prototypes"
-CXXFLAGS="${CXXFLAGS} -Wall -Wformat"
+CFLAGS="${CFLAGS} -Wall -Wformat=2 -Wmissing-prototypes"
+CXXFLAGS="${CXXFLAGS} -Wall -Wformat=2"
: ${AGENT_LIBADD:='-L$(libdir) -lscr'}
@@ -21048,7 +21048,7 @@
# report actual input values of CONFIG_FILES etc. instead of their
# values after options handling.
ac_log="
-This file was extended by yast2-ncurses $as_me 2.15.14, which was
+This file was extended by yast2-ncurses $as_me 2.15.13, which was
generated by GNU Autoconf 2.61. Invocation command line was
CONFIG_FILES = $CONFIG_FILES
@@ -21101,7 +21101,7 @@
_ACEOF
cat >>$CONFIG_STATUS <<_ACEOF
ac_cs_version="\\
-yast2-ncurses config.status 2.15.14
+yast2-ncurses config.status 2.15.13
configured by $0, generated by GNU Autoconf 2.61,
with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-ncurses-2.15.14/configure.in new/yast2-ncurses-2.15.15/configure.in
--- old/yast2-ncurses-2.15.14/configure.in 2007-04-19 14:59:50.000000000 +0200
+++ new/yast2-ncurses-2.15.15/configure.in 2007-04-23 14:39:03.000000000 +0200
@@ -1,9 +1,9 @@
dnl configure.in for yast2-ncurses
dnl
-dnl -- This file is generated by y2autoconf 2.14.0 - DO NOT EDIT! --
+dnl -- This file is generated by y2autoconf 2.15.0 - DO NOT EDIT! --
dnl (edit configure.in.in instead)
-AC_INIT(yast2-ncurses, 2.15.14, http://bugs.opensuse.org/, yast2-ncurses)
+AC_INIT(yast2-ncurses, 2.15.13, http://bugs.opensuse.org/, yast2-ncurses)
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.15.14"
+VERSION="2.15.13"
RPMNAME="yast2-ncurses"
MAINTAINER="Katarina Machalkova "
@@ -143,8 +143,8 @@
AC_PROG_CC
AC_PROG_CPP
-CFLAGS="${CFLAGS} -Wall -Wformat -Wmissing-prototypes"
-CXXFLAGS="${CXXFLAGS} -Wall -Wformat"
+CFLAGS="${CFLAGS} -Wall -Wformat=2 -Wmissing-prototypes"
+CXXFLAGS="${CXXFLAGS} -Wall -Wformat=2"
: ${AGENT_LIBADD:='-L$(libdir) -lscr'}
AC_SUBST(AGENT_LIBADD)
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-ncurses-2.15.14/src/NCComboBox.cc new/yast2-ncurses-2.15.15/src/NCComboBox.cc
--- old/yast2-ncurses-2.15.14/src/NCComboBox.cc 2007-03-07 15:02:48.000000000 +0100
+++ new/yast2-ncurses-2.15.15/src/NCComboBox.cc 2007-04-23 16:21:25.000000000 +0200
@@ -253,6 +253,7 @@
index = -1;
setDefsze();
tUpdate();
+ Redraw();
}
///////////////////////////////////////////////////////////////////
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-ncurses-2.15.14/src/NCFrame.cc new/yast2-ncurses-2.15.15/src/NCFrame.cc
--- old/yast2-ncurses-2.15.14/src/NCFrame.cc 2007-03-07 15:02:48.000000000 +0100
+++ new/yast2-ncurses-2.15.15/src/NCFrame.cc 2007-04-26 12:49:35.000000000 +0200
@@ -113,16 +113,16 @@
//
// DESCRIPTION :
//
-void NCFrame::setEnabling( bool do_bv )
-{
- enabled = do_bv; // in YWidget
- for ( tnode * c = this->Next();
- c && c->IsDescendantOf( this );
- c = c->Next() ) {
- if ( c->Value()->GetState() != NC::WSdumb )
- c->Value()->setEnabling( enabled );
- }
-}
+//void NCFrame::setEnabling( bool do_bv )
+//{
+// enabled = do_bv; // in YWidget
+// for ( tnode * c = this->Next();
+// c && c->IsDescendantOf( this );
+// c = c->Next() ) {
+// if ( c->Value()->GetState() != NC::WSdumb )
+// c->Value()->setEnabling( enabled );
+// }
+//}
///////////////////////////////////////////////////////////////////
//
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-ncurses-2.15.14/src/NCFrame.h new/yast2-ncurses-2.15.15/src/NCFrame.h
--- old/yast2-ncurses-2.15.14/src/NCFrame.h 2007-03-07 15:02:48.000000000 +0100
+++ new/yast2-ncurses-2.15.15/src/NCFrame.h 2007-04-26 12:53:22.000000000 +0200
@@ -62,7 +62,9 @@
virtual void setLabel( const YCPString & nlabel );
- virtual void setEnabling( bool do_bv );
+ //virtual void setEnabling( bool do_bv );
+ //Use setEnabling() from the parent, it should work out (#256707) :-)
+ virtual void setEnabling( bool do_bv ) { NCWidget::setEnabling( enabled=do_bv ); }
};
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-ncurses-2.15.14/src/NCWidget.cc new/yast2-ncurses-2.15.15/src/NCWidget.cc
--- old/yast2-ncurses-2.15.14/src/NCWidget.cc 2007-03-07 15:02:48.000000000 +0100
+++ new/yast2-ncurses-2.15.15/src/NCWidget.cc 2007-04-26 13:04:43.000000000 +0200
@@ -19,6 +19,7 @@
#include <climits>
#include "Y2Log.h"
+#include "tnode.h"
#include "NCWidget.h"
#include "YWidget.h"
#include "YContainerWidget.h"
@@ -428,16 +429,32 @@
{
WIDDBG << DLOC << this << ' ' << do_bv << ' ' << wstate << endl;
- if ( wstate == NC::WSdumb )
- return;
+ tnode *c = this;
- if ( do_bv && wstate == NC::WSdisabeled ) {
- SetState( NC::WSnormal );
+ //If widget has kids ([HV]Boxes, alignments,...), disable all of
+ //them recursively (#256707)
+ if (c->HasChildren()) {
+ WIDMIL << this << "setEnabling children recursively" << endl;
+ for ( c = this->Next();
+ c && c->IsDescendantOf( this );
+ c = c->Next() ) {
+ if ( c->Value()->GetState() != NC::WSdumb )
+ c->Value()->setEnabling( do_bv );
+ }
}
- else if ( !do_bv && wstate != NC::WSdisabeled ) {
- if ( wstate == NC::WSactive )
- grabRelease( 0 );
- SetState( NC::WSdisabeled );
+
+ else {
+ if ( wstate == NC::WSdumb )
+ return;
+
+ if ( do_bv && wstate == NC::WSdisabeled ) {
+ SetState( NC::WSnormal );
+ }
+ else if ( !do_bv && wstate != NC::WSdisabeled ) {
+ if ( wstate == NC::WSactive )
+ grabRelease( 0 );
+ SetState( NC::WSdisabeled );
+ }
}
}
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-ncurses-2.15.14/VERSION new/yast2-ncurses-2.15.15/VERSION
--- old/yast2-ncurses-2.15.14/VERSION 2007-04-19 14:40:23.000000000 +0200
+++ new/yast2-ncurses-2.15.15/VERSION 2007-04-26 13:33:53.000000000 +0200
@@ -1 +1 @@
-2.15.14
+2.15.15
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org
For additional commands, e-mail: opensuse-commit+help@opensuse.org