Hello community,
here is the log from the commit of package yast2-core
checked in at Thu Sep 6 20:54:51 CEST 2007.
--------
--- yast2-core/yast2-core.changes 2007-09-03 14:17:36.000000000 +0200
+++ /mounts/work_src_done/STABLE/yast2-core/yast2-core.changes 2007-09-06 16:49:00.000000000 +0200
@@ -1,0 +2,13 @@
+Thu Sep 6 16:43:06 CEST 2007 - mvidner@suse.cz
+
+- Enabled iterating over all functions of a Y2Namespace, for
+ a more natural call syntax in yast2-python-bindings (#308213).
+- Do not log return value from clients (#248300).
+- 2.15.11
+
+-------------------------------------------------------------------
+Wed Sep 5 13:18:55 CEST 2007 - mvidner@suse.cz
+
+- Fixed missing return value in YSymbolEntry::toXml
+
+-------------------------------------------------------------------
Old:
----
yast2-core-2.15.10.tar.bz2
New:
----
yast2-core-2.15.11.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ yast2-core.spec ++++++
--- /var/tmp/diff_new_pack.V26911/_old 2007-09-06 20:54:08.000000000 +0200
+++ /var/tmp/diff_new_pack.V26911/_new 2007-09-06 20:54:08.000000000 +0200
@@ -1,5 +1,5 @@
#
-# spec file for package yast2-core (Version 2.15.10)
+# spec file for package yast2-core (Version 2.15.11)
#
# 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-core
-Version: 2.15.10
+Version: 2.15.11
Release: 1
License: GPL v2 or later
Group: System/YaST
BuildRoot: %{_tmppath}/%{name}-%{version}-build
-Source0: yast2-core-2.15.10.tar.bz2
+Source0: yast2-core-2.15.11.tar.bz2
prefix: /usr
# obviously
BuildRequires: gcc-c++
@@ -122,7 +122,7 @@
Stanislav Visnovsky
%prep
-%setup -n yast2-core-2.15.10
+%setup -n yast2-core-2.15.11
%build
%{prefix}/bin/y2tool y2autoconf
@@ -200,6 +200,13 @@
/usr/share/YaST2/data/devtools/bin/generateYCPWrappers
%changelog
+* Thu Sep 06 2007 - mvidner@suse.cz
+- Enabled iterating over all functions of a Y2Namespace, for
+ a more natural call syntax in yast2-python-bindings (#308213).
+- Do not log return value from clients (#248300).
+- 2.15.11
+* Wed Sep 05 2007 - mvidner@suse.cz
+- Fixed missing return value in YSymbolEntry::toXml
* Mon Sep 03 2007 - juhliarik@suse.cz
- Added new function getenv(), #305163
- 2.15.10
++++++ yast2-core-2.15.10.tar.bz2 -> yast2-core-2.15.11.tar.bz2 ++++++
++++ 13113 lines of diff (skipped)
++++ retrying with extended exclude list
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/yast2-core-2.15.10/agents-perl/ag_background new/yast2-core-2.15.11/agents-perl/ag_background
--- old/yast2-core-2.15.10/agents-perl/ag_background 2007-07-13 14:19:05.000000000 +0200
+++ new/yast2-core-2.15.11/agents-perl/ag_background 2007-08-06 13:44:25.000000000 +0200
@@ -10,7 +10,7 @@
# Description:
# Background process agent
#
-# $Id: ag_background 39345 2007-07-12 10:00:18Z locilka $
+# $Id: ag_background 39985 2007-08-06 11:44:24Z mvidner $
#
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/yast2-core-2.15.10/configure.in new/yast2-core-2.15.11/configure.in
--- old/yast2-core-2.15.10/configure.in 2007-09-03 14:17:15.000000000 +0200
+++ new/yast2-core-2.15.11/configure.in 2007-09-06 16:50:32.000000000 +0200
@@ -1,9 +1,9 @@
dnl configure.in for yast2-core
dnl
-dnl -- This file is generated by y2autoconf 2.15.7 - DO NOT EDIT! --
+dnl -- This file is generated by y2autoconf 2.15.8 - DO NOT EDIT! --
dnl (edit configure.in.in instead)
-AC_INIT(yast2-core, 2.15.10, http://bugs.opensuse.org/, yast2-core)
+AC_INIT(yast2-core, 2.15.11, http://bugs.opensuse.org/, yast2-core)
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.10"
+VERSION="2.15.11"
RPMNAME="yast2-core"
MAINTAINER="Martin Vidner "
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/yast2-core-2.15.10/libycp/src/include/ycp/SymbolTable.h new/yast2-core-2.15.11/libycp/src/include/ycp/SymbolTable.h
--- old/yast2-core-2.15.10/libycp/src/include/ycp/SymbolTable.h 2007-07-13 14:19:05.000000000 +0200
+++ new/yast2-core-2.15.11/libycp/src/include/ycp/SymbolTable.h 2007-09-05 13:50:26.000000000 +0200
@@ -149,6 +149,23 @@
// return size of hash table
int size() const;
+ // consumer returns true to continue iterating
+ typedef bool (* EntryConsumer) (const SymbolEntry&);
+ /**
+ * call the consumer for each entry (or until it requests a break)
+ *
+ * Example:
+ * static bool MyClass::DoIt (const SymbolEntry & se) {
+ * cout << se.name() << endl;
+ * return true;
+ * }
+ *
+ * void MyClass::Foo () {
+ * my_y2namespace->table()->forEach (&DoIt);
+ * }
+ */
+ void forEach (EntryConsumer consumer) const;
+
//---------------------------------------------------------------
// enter/find/remove
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/yast2-core-2.15.10/libycp/src/SymbolTable.cc new/yast2-core-2.15.11/libycp/src/SymbolTable.cc
--- old/yast2-core-2.15.10/libycp/src/SymbolTable.cc 2007-07-13 14:19:05.000000000 +0200
+++ new/yast2-core-2.15.11/libycp/src/SymbolTable.cc 2007-09-06 15:42:01.000000000 +0200
@@ -1019,4 +1019,27 @@
}
}
}
+
+// for #308213
+void
+SymbolTable::forEach(SymbolTable::EntryConsumer consumer) const
+{
+ for (int i=0; i < m_prime; i++)
+ {
+ if (m_table[i] != 0)
+ {
+ SymbolEntryPtr s = m_table[i]->sentry ();
+ if (! consumer (*s))
+ return;
+
+ // walk the chain of colliding entries
+ for (TableEntry* t_next = m_table[i]->m_next; t_next; t_next = t_next->m_next)
+ {
+ SymbolEntryPtr s = t_next->sentry ();
+ if (! consumer (*s))
+ return;
+ }
+ }
+ }
+}
// EOF
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/yast2-core-2.15.10/libycp/src/YSymbolEntry.cc new/yast2-core-2.15.11/libycp/src/YSymbolEntry.cc
--- old/yast2-core-2.15.10/libycp/src/YSymbolEntry.cc 2007-07-13 14:19:05.000000000 +0200
+++ new/yast2-core-2.15.11/libycp/src/YSymbolEntry.cc 2007-09-05 13:08:03.000000000 +0200
@@ -270,6 +270,7 @@
str << " category=\"" << catString(); str << "\"";
str << " type=\""; str << m_type->toXmlString(); str << "\"";
str << " name=\""; str << m_name.asString(); str << "\"/>";
+ return str;
// value is never written
}
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/yast2-core-2.15.10/libyui/doc/examples/Image-animated.ycp new/yast2-core-2.15.11/libyui/doc/examples/Image-animated.ycp
--- old/yast2-core-2.15.10/libyui/doc/examples/Image-animated.ycp 2007-09-03 13:40:03.000000000 +0200
+++ new/yast2-core-2.15.11/libyui/doc/examples/Image-animated.ycp 2007-09-06 16:32:19.000000000 +0200
@@ -2,7 +2,7 @@
* Example for an animated image
**/
{
- string movie = "/usr/share/doc/packages/libqt4/examples/widgets/movie/movies/fire.mng";
+ string movie = "/usr/share/YaST2/theme/current/animations/ticks-endless.mng";
UI::OpenDialog(
`VBox(
`MinSize( 10, 4,
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/yast2-core-2.15.10/Makefile.am new/yast2-core-2.15.11/Makefile.am
--- old/yast2-core-2.15.10/Makefile.am 2007-09-03 14:17:15.000000000 +0200
+++ new/yast2-core-2.15.11/Makefile.am 2007-09-06 16:50:32.000000000 +0200
@@ -30,7 +30,7 @@
extra_COPYRIGHT_files = $(if $(HAS_YAST_LICENSE), $(COPYRIGHT_files_yast), $(COPYRIGHT_files_gpl))
-AUTOMAKE_OPTIONS = foreign dist-bzip2
+AUTOMAKE_OPTIONS = foreign dist-bzip2 no-dist-gzip
# where devtools instal m4 snippets
# argh, executed literally
#ACLOCAL_AMFLAGS = -I $(Y2DEVTOOLS_PREFIX)/share/aclocal
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/yast2-core-2.15.10/VERSION new/yast2-core-2.15.11/VERSION
--- old/yast2-core-2.15.10/VERSION 2007-09-03 13:44:05.000000000 +0200
+++ new/yast2-core-2.15.11/VERSION 2007-09-06 16:48:26.000000000 +0200
@@ -1 +1 @@
-2.15.10
+2.15.11
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/yast2-core-2.15.10/wfm/src/Y2WFMComponent.cc new/yast2-core-2.15.11/wfm/src/Y2WFMComponent.cc
--- old/yast2-core-2.15.10/wfm/src/Y2WFMComponent.cc 2007-08-15 12:56:43.000000000 +0200
+++ new/yast2-core-2.15.11/wfm/src/Y2WFMComponent.cc 2007-09-06 16:48:08.000000000 +0200
@@ -651,7 +651,9 @@
YCPValue result = client_comp->doActualWork (args, NULL);
ee.setFilename (filename);
ee.setLinenumber (linenumber);
- ycp2milestone (filename.c_str(), linenumber,
+ ycp2milestone (filename.c_str(), linenumber, "Called YaST client returned.");
+ // some clients return plaintext secrets #248300
+ ycp2debug (filename.c_str(), linenumber,
"Called YaST client returned: %s", result.isNull () ? "nil" : result->toString ().c_str ());
return result;
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org
For additional commands, e-mail: opensuse-commit+help@opensuse.org