Hello community,
here is the log from the commit of package yast2-core for openSUSE:Factory checked in at 2013-07-04 18:07:30
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/yast2-core (Old)
and /work/SRC/openSUSE:Factory/.yast2-core.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "yast2-core"
Changes:
--------
--- /work/SRC/openSUSE:Factory/yast2-core/yast2-core.changes 2013-07-01 16:01:24.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.yast2-core.new/yast2-core.changes 2013-07-04 18:07:32.000000000 +0200
@@ -1,0 +2,18 @@
+Thu Jul 4 08:46:47 UTC 2013 - jreidinger@suse.com
+
+- Prevent invalid XML by filtering out vertical tab and form-feed in
+ xml output gh#yast/yast-core#25
+- Fixed "Non constant value in case statement" parse error for
+ `case -1:` with enabled comments parsing
+- 2.24.6
+
+-------------------------------------------------------------------
+Fri Jun 28 13:16:23 UTC 2013 - mvidner@suse.com
+
+- enabled ignoring language bindings (yast2-ruby-bindings,
+ yast2-perl-bindings, yast2-python-bindings) by setting the
+ environment variable Y2DISABLELANGUAGEPLUGINS
+ (gh#yast/yast-core#20)
+- 2.24.5
+
+-------------------------------------------------------------------
Old:
----
yast2-core-2.24.4.tar.bz2
New:
----
yast2-core-2.24.6.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ yast2-core.spec ++++++
--- /var/tmp/diff_new_pack.doZ8Ez/_old 2013-07-04 18:07:33.000000000 +0200
+++ /var/tmp/diff_new_pack.doZ8Ez/_new 2013-07-04 18:07:33.000000000 +0200
@@ -17,7 +17,7 @@
Name: yast2-core
-Version: 2.24.4
+Version: 2.24.6
Release: 0
BuildRoot: %{_tmppath}/%{name}-%{version}-build
++++++ yast2-core-2.24.4.tar.bz2 -> yast2-core-2.24.6.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-core-2.24.4/VERSION new/yast2-core-2.24.6/VERSION
--- old/yast2-core-2.24.4/VERSION 2013-06-27 17:51:26.000000000 +0200
+++ new/yast2-core-2.24.6/VERSION 2013-07-04 11:38:53.000000000 +0200
@@ -1 +1 @@
-2.24.4
+2.24.6
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-core-2.24.4/configure new/yast2-core-2.24.6/configure
--- old/yast2-core-2.24.4/configure 2013-06-27 20:04:24.000000000 +0200
+++ new/yast2-core-2.24.6/configure 2013-07-04 11:39:18.000000000 +0200
@@ -1,6 +1,6 @@
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.69 for yast2-core 2.24.4.
+# Generated by GNU Autoconf 2.69 for yast2-core 2.24.6.
#
# Report bugs to http://bugs.opensuse.org/.
#
@@ -590,8 +590,8 @@
# Identity of this package.
PACKAGE_NAME='yast2-core'
PACKAGE_TARNAME='yast2-core'
-PACKAGE_VERSION='2.24.4'
-PACKAGE_STRING='yast2-core 2.24.4'
+PACKAGE_VERSION='2.24.6'
+PACKAGE_STRING='yast2-core 2.24.6'
PACKAGE_BUGREPORT='http://bugs.opensuse.org/'
PACKAGE_URL=''
@@ -1392,7 +1392,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-core 2.24.4 to adapt to many kinds of systems.
+\`configure' configures yast2-core 2.24.6 to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]...
@@ -1463,7 +1463,7 @@
if test -n "$ac_init_help"; then
case $ac_init_help in
- short | recursive ) echo "Configuration of yast2-core 2.24.4:";;
+ short | recursive ) echo "Configuration of yast2-core 2.24.6:";;
esac
cat <<\_ACEOF
@@ -1582,7 +1582,7 @@
test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then
cat <<\_ACEOF
-yast2-core configure 2.24.4
+yast2-core configure 2.24.6
generated by GNU Autoconf 2.69
Copyright (C) 2012 Free Software Foundation, Inc.
@@ -2035,7 +2035,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-core $as_me 2.24.4, which was
+It was created by yast2-core $as_me 2.24.6, which was
generated by GNU Autoconf 2.69. Invocation command line was
$ $0 $@
@@ -2974,7 +2974,7 @@
# Define the identity of the package.
PACKAGE='yast2-core'
- VERSION='2.24.4'
+ VERSION='2.24.6'
cat >>confdefs.h <<_ACEOF
@@ -3097,7 +3097,7 @@
-VERSION="2.24.4"
+VERSION="2.24.6"
RPMNAME="yast2-core"
MAINTAINER="Martin Vidner "
@@ -18290,7 +18290,7 @@
# report actual input values of CONFIG_FILES etc. instead of their
# values after options handling.
ac_log="
-This file was extended by yast2-core $as_me 2.24.4, which was
+This file was extended by yast2-core $as_me 2.24.6, which was
generated by GNU Autoconf 2.69. Invocation command line was
CONFIG_FILES = $CONFIG_FILES
@@ -18356,7 +18356,7 @@
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
ac_cs_version="\\
-yast2-core config.status 2.24.4
+yast2-core config.status 2.24.6
configured by $0, generated by GNU Autoconf 2.69,
with options \\"\$ac_cs_config\\"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-core-2.24.4/configure.in new/yast2-core-2.24.6/configure.in
--- old/yast2-core-2.24.4/configure.in 2013-06-27 20:04:14.000000000 +0200
+++ new/yast2-core-2.24.6/configure.in 2013-07-04 11:39:06.000000000 +0200
@@ -3,7 +3,7 @@
dnl -- This file is generated by y2autoconf 2.24.1 - DO NOT EDIT! --
dnl (edit configure.in.in instead)
-AC_INIT(yast2-core, 2.24.4, http://bugs.opensuse.org/, yast2-core)
+AC_INIT(yast2-core, 2.24.6, http://bugs.opensuse.org/, yast2-core)
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.24.4"
+VERSION="2.24.6"
RPMNAME="yast2-core"
MAINTAINER="Martin Vidner "
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-core-2.24.4/liby2/src/Y2LanguageLoader.cc new/yast2-core-2.24.6/liby2/src/Y2LanguageLoader.cc
--- old/yast2-core-2.24.4/liby2/src/Y2LanguageLoader.cc 2013-01-22 11:10:33.000000000 +0100
+++ new/yast2-core-2.24.6/liby2/src/Y2LanguageLoader.cc 2013-07-01 20:05:54.000000000 +0200
@@ -57,6 +57,12 @@
Y2LanguageLoader::Y2LanguageLoader ()
{
+ if (getenv ("Y2DISABLELANGUAGEPLUGINS"))
+ {
+ // https://github.com/yast/yast-core/issues/20
+ return;
+ }
+
glob_t glob_buf;
int glob_flags = 0;
if (YCPPathSearch::numberOfComponentLevels() == 0)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-core-2.24.4/libycp/src/Xmlcode.cc new/yast2-core-2.24.6/libycp/src/Xmlcode.cc
--- old/yast2-core-2.24.4/libycp/src/Xmlcode.cc 2013-06-18 13:45:51.000000000 +0200
+++ new/yast2-core-2.24.6/libycp/src/Xmlcode.cc 2013-07-02 10:35:51.000000000 +0200
@@ -868,7 +868,7 @@
const char *cptr = s.c_str();
const char *next;
- while( (next = strpbrk( cptr, "&<>'\"\n\t" )) ) {
+ while( (next = strpbrk( cptr, "&<>'\"\n\t\f\v" )) ) {
result += string( cptr, next - cptr );
switch (*next) {
case '&': result += "&"; break;
@@ -878,6 +878,9 @@
case '\'': result += "'"; break;
case '\n': result += "
"; break;
case '\t': result += " "; break;
+ case '\f':
+ case '\v':
+ break; //skip form-feed and vertical tab, lets ignore other non-xml chars for now and fix it when needed
}
cptr = next + 1;
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-core-2.24.4/libycp/src/parser.yy new/yast2-core-2.24.6/libycp/src/parser.yy
--- old/yast2-core-2.24.4/libycp/src/parser.yy 2013-06-27 18:40:53.000000000 +0200
+++ new/yast2-core-2.24.6/libycp/src/parser.yy 2013-07-02 10:35:51.000000000 +0200
@@ -1088,7 +1088,12 @@
break;
}
- if ($2.c->isConstant() && !parsing_comments())
+ // If comments are parsed, constant subexpression elimination is disabled.
+ // But his breaks `case` labets with negative numbers, producing a
+ // "Non constant value in case statement" parse error. This is because YCP lexer
+ // known only positive literals and negative numbers are done in the parser.
+ // Re-enabled CSE for unary minus.
+ if ($2.c->isConstant())
{
YConstPtr c = (YConstPtr)$2.c;
if (c->kind() == YCode::ycInteger)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-core-2.24.4/libycp/testsuite/Makefile.am new/yast2-core-2.24.6/libycp/testsuite/Makefile.am
--- old/yast2-core-2.24.4/libycp/testsuite/Makefile.am 2013-01-22 11:10:33.000000000 +0100
+++ new/yast2-core-2.24.6/libycp/testsuite/Makefile.am 2013-07-01 20:05:54.000000000 +0200
@@ -25,6 +25,7 @@
PACKAGE=libycp
AUTOMAKE_OPTIONS = dejagnu
+RUNTEST = Y2DISABLELANGUAGEPLUGINS=1 runtest
clean-local:
rm -f tmp.err.* tmp.out.* ycp.log ycp.sum site.exp libycp.log libycp.sum site.bak log.tmp
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-core-2.24.4/libycp/testsuite/Makefile.in new/yast2-core-2.24.6/libycp/testsuite/Makefile.in
--- old/yast2-core-2.24.4/libycp/testsuite/Makefile.in 2013-06-27 20:04:33.000000000 +0200
+++ new/yast2-core-2.24.6/libycp/testsuite/Makefile.in 2013-07-04 11:39:26.000000000 +0200
@@ -141,7 +141,6 @@
DEJATOOL = $(PACKAGE)
RUNTESTDEFAULTFLAGS = --tool $$tool --srcdir $$srcdir
EXPECT = expect
-RUNTEST = runtest
DIST_SUBDIRS = $(SUBDIRS)
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
am__relativize = \
@@ -355,6 +354,7 @@
testSignature_SOURCES = testSignature.cc
testSignature_LDADD = ../src/libycp.la ../src/libycpvalues.la ../../liby2/src/liby2.la ../../debugger/liby2debug.la ${Y2UTIL_LIBS}
AUTOMAKE_OPTIONS = dejagnu
+RUNTEST = Y2DISABLELANGUAGEPLUGINS=1 runtest
EXTRA_DIST = README runtest.sh xfail
all: all-recursive
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org
For additional commands, e-mail: opensuse-commit+help@opensuse.org