Hello community,
here is the log from the commit of package yast2-ncurses
checked in at Fri Feb 1 00:03:04 CET 2008.
--------
--- yast2-ncurses/yast2-ncurses.changes 2008-01-29 20:10:23.000000000 +0100
+++ yast2-ncurses/yast2-ncurses.changes 2008-01-31 15:40:45.533460000 +0100
@@ -1,0 +2,12 @@
+Thu Jan 31 15:27:49 CET 2008 - sh@suse.de
+
+- Simplified dialog handling
+- V 2.16.13
+
+-------------------------------------------------------------------
+Thu Jan 31 14:22:36 CET 2008 - kmachalkova@suse.cz
+
+- Align numbers in IntFields to the right margin of the label, not
+ to the right margin of the entire screen (bnc#309118)
+
+-------------------------------------------------------------------
Old:
----
yast2-ncurses-2.16.12.tar.bz2
New:
----
yast2-ncurses-2.16.13.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ yast2-ncurses.spec ++++++
--- /var/tmp/diff_new_pack.Wn1803/_old 2008-02-01 00:01:24.000000000 +0100
+++ /var/tmp/diff_new_pack.Wn1803/_new 2008-02-01 00:01:24.000000000 +0100
@@ -1,5 +1,5 @@
#
-# spec file for package yast2-ncurses (Version 2.16.12)
+# spec file for package yast2-ncurses (Version 2.16.13)
#
# Copyright (c) 2008 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.16.12
+Version: 2.16.13
Release: 1
License: GPL v2 or later
Group: System/YaST
BuildRoot: %{_tmppath}/%{name}-%{version}-build
-Source0: yast2-ncurses-2.16.12.tar.bz2
+Source0: yast2-ncurses-2.16.13.tar.bz2
Prefix: /usr
BuildRequires: dejagnu doxygen gcc-c++ libzypp-devel yast2-core-devel yast2-devtools
BuildRequires: blocxx-devel libxcrypt-devel ncurses-devel
@@ -46,7 +46,7 @@
%prep
-%setup -n yast2-ncurses-2.16.12
+%setup -n yast2-ncurses-2.16.13
%build
%{prefix}/bin/y2tool y2autoconf
@@ -81,6 +81,12 @@
/usr/share/YaST2/data/you_layout.ycp
%doc %{prefix}/share/doc/packages/yast2-ncurses
%changelog
+* Thu Jan 31 2008 sh@suse.de
+- Simplified dialog handling
+- V 2.16.13
+* Thu Jan 31 2008 kmachalkova@suse.cz
+- Align numbers in IntFields to the right margin of the label, not
+ to the right margin of the entire screen (bnc#309118)
* Tue Jan 29 2008 sh@suse.de
- YCP-less event handling
- V 2.16.12
++++++ yast2-ncurses-2.16.12.tar.bz2 -> yast2-ncurses-2.16.13.tar.bz2 ++++++
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-ncurses-2.16.12/configure new/yast2-ncurses-2.16.13/configure
--- old/yast2-ncurses-2.16.12/configure 2008-01-29 20:08:38.000000000 +0100
+++ new/yast2-ncurses-2.16.13/configure 2008-01-31 15:31:49.000000000 +0100
@@ -1,6 +1,6 @@
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.60 for yast2-ncurses 2.16.12.
+# Generated by GNU Autoconf 2.60 for yast2-ncurses 2.16.13.
#
# Report bugs to http://bugs.opensuse.org/.
#
@@ -713,8 +713,8 @@
# Identity of this package.
PACKAGE_NAME='yast2-ncurses'
PACKAGE_TARNAME='yast2-ncurses'
-PACKAGE_VERSION='2.16.12'
-PACKAGE_STRING='yast2-ncurses 2.16.12'
+PACKAGE_VERSION='2.16.13'
+PACKAGE_STRING='yast2-ncurses 2.16.13'
PACKAGE_BUGREPORT='http://bugs.opensuse.org/'
ac_unique_file="RPMNAME"
@@ -1421,7 +1421,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.16.12 to adapt to many kinds of systems.
+\`configure' configures yast2-ncurses 2.16.13 to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]...
@@ -1492,7 +1492,7 @@
if test -n "$ac_init_help"; then
case $ac_init_help in
- short | recursive ) echo "Configuration of yast2-ncurses 2.16.12:";;
+ short | recursive ) echo "Configuration of yast2-ncurses 2.16.13:";;
esac
cat <<\_ACEOF
@@ -1600,7 +1600,7 @@
test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then
cat <<\_ACEOF
-yast2-ncurses configure 2.16.12
+yast2-ncurses configure 2.16.13
generated by GNU Autoconf 2.60
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
@@ -1614,7 +1614,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.16.12, which was
+It was created by yast2-ncurses $as_me 2.16.13, which was
generated by GNU Autoconf 2.60. Invocation command line was
$ $0 $@
@@ -2415,7 +2415,7 @@
# Define the identity of the package.
PACKAGE='yast2-ncurses'
- VERSION='2.16.12'
+ VERSION='2.16.13'
cat >>confdefs.h <<_ACEOF
@@ -2643,7 +2643,7 @@
-VERSION="2.16.12"
+VERSION="2.16.13"
RPMNAME="yast2-ncurses"
MAINTAINER="Katarina Machalkova "
@@ -21649,7 +21649,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.16.12, which was
+This file was extended by yast2-ncurses $as_me 2.16.13, which was
generated by GNU Autoconf 2.60. Invocation command line was
CONFIG_FILES = $CONFIG_FILES
@@ -21702,7 +21702,7 @@
_ACEOF
cat >>$CONFIG_STATUS <<_ACEOF
ac_cs_version="\\
-yast2-ncurses config.status 2.16.12
+yast2-ncurses config.status 2.16.13
configured by $0, generated by GNU Autoconf 2.60,
with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-ncurses-2.16.12/configure.in new/yast2-ncurses-2.16.13/configure.in
--- old/yast2-ncurses-2.16.12/configure.in 2008-01-29 20:08:23.000000000 +0100
+++ new/yast2-ncurses-2.16.13/configure.in 2008-01-31 15:31:28.000000000 +0100
@@ -3,7 +3,7 @@
dnl -- This file is generated by y2autoconf 2.16.3 - DO NOT EDIT! --
dnl (edit configure.in.in instead)
-AC_INIT(yast2-ncurses, 2.16.12, http://bugs.opensuse.org/, yast2-ncurses)
+AC_INIT(yast2-ncurses, 2.16.13, http://bugs.opensuse.org/, yast2-ncurses)
dnl Check for presence of file 'RPMNAME'
AC_CONFIG_SRCDIR([RPMNAME])
@@ -18,7 +18,7 @@
AM_INIT_AUTOMAKE(tar-ustar -Wno-portability)
dnl Important YaST2 variables
-VERSION="2.16.12"
+VERSION="2.16.13"
RPMNAME="yast2-ncurses"
MAINTAINER="Katarina Machalkova "
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-ncurses-2.16.12/src/NCDialog.cc new/yast2-ncurses-2.16.13/src/NCDialog.cc
--- old/yast2-ncurses-2.16.12/src/NCDialog.cc 2008-01-29 11:57:10.000000000 +0100
+++ new/yast2-ncurses-2.16.13/src/NCDialog.cc 2008-01-31 15:22:14.000000000 +0100
@@ -247,6 +247,13 @@
}
}
+
+void NCDialog::openInternal()
+{
+ showDialog();
+}
+
+
///////////////////////////////////////////////////////////////////
//
//
@@ -324,6 +331,20 @@
}
}
+
+/**
+ * Implementation of YDialog::activate().
+ *
+ * This is called e.g. for the next-lower dialog in the dialog stack when the
+ * topmost dialog is destroyed: That next-lower dialog is now the active
+ * dialog.
+ **/
+void NCDialog::activate()
+{
+ activate( true ); // Forward to NCurses-specific activate()
+}
+
+
///////////////////////////////////////////////////////////////////
//
//
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-ncurses-2.16.12/src/NCDialog.h new/yast2-ncurses-2.16.13/src/NCDialog.h
--- old/yast2-ncurses-2.16.12/src/NCDialog.h 2008-01-16 15:03:50.000000000 +0100
+++ new/yast2-ncurses-2.16.13/src/NCDialog.h 2008-01-31 15:11:32.000000000 +0100
@@ -119,6 +119,20 @@
virtual void startMultipleChanges();
virtual void doneMultipleChanges();
+
+ /**
+ * Internal open() method: Initialize what is left over to initialize after
+ * all dialog children have been created.
+ * YDialog::setInitialSize() is already called before this in
+ * YDailog::open(), so don't call it here again (very expensive!).
+ *
+ * This function is called (exactly once during the life time of the
+ * dialog) in YDialog::open().
+ *
+ * Implemented from YDialog.
+ **/
+ virtual void openInternal();
+
public:
@@ -148,6 +162,14 @@
**/
virtual void setSize( int newWidth, int newHeight );
+ /**
+ * Activate this dialog: Make sure that it is shown as the topmost dialog
+ * of this application and that it can receive input.
+ *
+ * Implemented from YDialog.
+ **/
+ virtual void activate();
+
protected:
enum NCDopts {
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-ncurses-2.16.12/src/NCIntField.cc new/yast2-ncurses-2.16.13/src/NCIntField.cc
--- old/yast2-ncurses-2.16.12/src/NCIntField.cc 2007-11-21 16:06:15.000000000 +0100
+++ new/yast2-ncurses-2.16.13/src/NCIntField.cc 2008-01-31 14:51:15.000000000 +0100
@@ -175,7 +175,7 @@
trect.Sze.H, trect.Sze.W,
trect.Pos.L, trect.Pos.C,
'r' );
- vstart = ( vlen + 2 < (unsigned)trect.Sze.W ) ? trect.Sze.W - vlen - 2 : 0;
+ vstart = ( vlen + 2 < (unsigned)trect.Sze.W ) ? label.width() - vlen - 2 : 0;
}
///////////////////////////////////////////////////////////////////
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-ncurses-2.16.12/src/YNCursesUI.cc new/yast2-ncurses-2.16.13/src/YNCursesUI.cc
--- old/yast2-ncurses-2.16.12/src/YNCursesUI.cc 2008-01-29 20:01:09.000000000 +0100
+++ new/yast2-ncurses-2.16.13/src/YNCursesUI.cc 2008-01-31 15:16:41.000000000 +0100
@@ -307,28 +307,6 @@
return yevent;
}
-///////////////////////////////////////////////////////////////////
-//
-// Dialog and widgets
-//
-///////////////////////////////////////////////////////////////////
-
-void YNCursesUI::showDialog( YDialog * dialog ) {
- NCDialog * dlg = dynamic_cast( dialog );
- UIDBG << dlg << endl;
- if ( dlg )
- {
- dlg->showDialog();
- //dlg->dumpWidgetTree();
- }
-}
-
-void YNCursesUI::closeDialog( YDialog * dialog ) {
- NCDialog * dlg = dynamic_cast( dialog );
- UIDBG << dlg << endl;
- if ( dlg )
- dlg->closeDialog();
-}
#define ONCREATE WIDDBG << endl
//#define ONCREATE
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-ncurses-2.16.12/src/YNCursesUI.h new/yast2-ncurses-2.16.13/src/YNCursesUI.h
--- old/yast2-ncurses-2.16.12/src/YNCursesUI.h 2008-01-29 20:01:09.000000000 +0100
+++ new/yast2-ncurses-2.16.13/src/YNCursesUI.h 2008-01-31 15:15:38.000000000 +0100
@@ -122,16 +122,6 @@
virtual YEvent * pollInput();
/**
- * Inherited from YUIInterpreter. Shows and activates a dialog
- */
- virtual void showDialog( YDialog * dialog );
-
- /**
- * Inherited from YUIInterpreter. Decativates and closes a dialog
- */
- virtual void closeDialog( YDialog * dialog );
-
- /**
* Fills the PackageSelector widget and runs package selection.
*/
virtual YEvent * runPkgSelection( YWidget * packageSelector );
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-ncurses-2.16.12/VERSION new/yast2-ncurses-2.16.13/VERSION
--- old/yast2-ncurses-2.16.12/VERSION 2008-01-29 20:04:44.000000000 +0100
+++ new/yast2-ncurses-2.16.13/VERSION 2008-01-31 15:27:43.000000000 +0100
@@ -1 +1 @@
-2.16.12
+2.16.13
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org
For additional commands, e-mail: opensuse-commit+help@opensuse.org