Hello community, here is the log from the commit of package xcalc for openSUSE:Factory checked in at 2019-02-19 12:02:27 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/xcalc (Old) and /work/SRC/openSUSE:Factory/.xcalc.new.28833 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "xcalc" Tue Feb 19 12:02:27 2019 rev:8 rq:677159 version:1.0.7 Changes: -------- --- /work/SRC/openSUSE:Factory/xcalc/xcalc.changes 2015-02-03 11:40:31.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.xcalc.new.28833/xcalc.changes 2019-02-19 12:02:51.941061684 +0100 @@ -1,0 +2,8 @@ +Mon Feb 18 15:33:38 UTC 2019 - [email protected] + +- Update to version 1.0.7 + * This release fixes things that cause warnings from gcc or + cppcheck, as well as assorted build system maintenance and + tuneups. + +------------------------------------------------------------------- Old: ---- xcalc-1.0.6.tar.bz2 New: ---- xcalc-1.0.7.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ xcalc.spec ++++++ --- /var/tmp/diff_new_pack.uQJ68S/_old 2019-02-19 12:02:53.417060928 +0100 +++ /var/tmp/diff_new_pack.uQJ68S/_new 2019-02-19 12:02:53.421060926 +0100 @@ -1,7 +1,7 @@ # # spec file for package xcalc # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,7 +17,7 @@ Name: xcalc -Version: 1.0.6 +Version: 1.0.7 Release: 0 Summary: Scientific calculator for X License: MIT @@ -55,7 +55,7 @@ %files %defattr(-,root,root) -%doc ChangeLog COPYING README +%doc ChangeLog COPYING README.md %{_bindir}/xcalc %{_datadir}/applications/xcalc.desktop %{_datadir}/pixmaps/xcalc.png ++++++ xcalc-1.0.6.tar.bz2 -> xcalc-1.0.7.tar.bz2 ++++++ ++++ 5656 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/xcalc-1.0.6/ChangeLog new/xcalc-1.0.7/ChangeLog --- old/xcalc-1.0.6/ChangeLog 2015-01-20 06:26:46.000000000 +0100 +++ new/xcalc-1.0.7/ChangeLog 2019-02-17 22:53:01.000000000 +0100 @@ -1,3 +1,125 @@ +commit be5114cebfdc29788cf038d349c0ed6cce4bb536 +Author: Alan Coopersmith <[email protected]> +Date: Sun Feb 17 13:50:58 2019 -0800 + + xcalc 1.0.7 + + Signed-off-by: Alan Coopersmith <[email protected]> + +commit 85c9feb6e10cea1ef017d702151b14717c40b9d5 +Author: Stéphane Aulery <[email protected]> +Date: Sun Jul 7 22:50:30 2013 +0200 + + Reduce scope of i (cppcheck --verbose --enable=all) + + Signed-off-by: Stéphane Aulery <[email protected]> + Reviewed-by: Alan Coopersmith <[email protected]> + Signed-off-by: Alan Coopersmith <[email protected]> + +commit aa3d39389bfc752486a83933574d0365c74d4e29 +Author: Stéphane Aulery <[email protected]> +Date: Sun Jul 7 22:50:29 2013 +0200 + + Reduce scope of cell (cppcheck --verbose --enable=all) + + Signed-off-by: Stéphane Aulery <[email protected]> + Reviewed-by: Alan Coopersmith <[email protected]> + Signed-off-by: Alan Coopersmith <[email protected]> + +commit 8d156f428912aecdd493e075b75e735bfbae7dda +Author: Alan Coopersmith <[email protected]> +Date: Wed Nov 21 16:59:17 2018 -0800 + + Update configure.ac bug URL for gitlab migration + + Signed-off-by: Alan Coopersmith <[email protected]> + +commit b8f4da1126dd44b4adc5f83ba5c7e06a2de75996 +Author: Alan Coopersmith <[email protected]> +Date: Fri Nov 16 21:11:40 2018 -0800 + + Update README for gitlab migration + + Signed-off-by: Alan Coopersmith <[email protected]> + +commit 8df4b463f69fc3e7e08ce5de284ed7f318935c1e +Author: Alan Coopersmith <[email protected]> +Date: Sat May 5 12:20:12 2018 -0700 + + Reword fall through comments to appease gcc -Wimplicit-fallthrough + + Gets rid of these warnings: + math.c:707:24: warning: this statement may fall through [-Wimplicit-fallthrough=] + case kSQR: flagINV = !flagINV; /* fall through to */ + ~~~~~~~~^~~~~~~~~~ + math.c:708:3: note: here + case kSQRT: if (flagINV) dnum=dnum*dnum; + ^~~~ + math.c:711:24: warning: this statement may fall through [-Wimplicit-fallthrough=] + case k10X: flagINV = !flagINV; /* fall through to */ + ~~~~~~~~^~~~~~~~~~ + math.c:712:3: note: here + case kLOG: if (flagINV) dnum=pow(10.0,dnum); + ^~~~ + math.c:715:24: warning: this statement may fall through [-Wimplicit-fallthrough=] + case kEXP: flagINV = !flagINV; /* fall through to */ + ~~~~~~~~^~~~~~~~~~ + math.c:716:3: note: here + case kLN: if (flagINV) dnum=exp(dnum); + ^~~~ + + Signed-off-by: Alan Coopersmith <[email protected]> + +commit 7a90211e35841758ff11e79a1633494e2055df88 +Author: Alan Coopersmith <[email protected]> +Date: Sat May 5 12:15:19 2018 -0700 + + Fix misleading indentation in math.c + + math.c: In function ‘numeric’: + math.c:267:3: warning: this ‘if’ clause does not guard... [-Wmisleading-indentat + ion] + if ((int) strlen(dispstr) >= MAXDISP) + ^~ + math.c:270:5: note: ...this statement, but the latter is misleadingly indented a + s if it were guarded by the ‘if’ + switch (keynum){ + ^~~~~~ + + Signed-off-by: Alan Coopersmith <[email protected]> + +commit d056a3c6843cf5f6c8b392c46bc4f1b637f87d0b +Author: Mihail Konev <[email protected]> +Date: Thu Jan 26 14:00:20 2017 +1000 + + autogen: add default patch prefix + + Signed-off-by: Mihail Konev <[email protected]> + +commit f5982d0175359f7db28127cba3a42e08352f295b +Author: Emil Velikov <[email protected]> +Date: Mon Mar 9 12:00:52 2015 +0000 + + autogen.sh: use quoted string variables + + Place quotes around the $srcdir, $ORIGDIR and $0 variables to prevent + fall-outs, when they contain space. + + Signed-off-by: Emil Velikov <[email protected]> + Reviewed-by: Peter Hutterer <[email protected]> + Signed-off-by: Peter Hutterer <[email protected]> + +commit 004ce8287f9afab014a44c8bb8ba476ef5930a57 +Author: Peter Hutterer <[email protected]> +Date: Tue Jan 24 10:32:07 2017 +1000 + + autogen.sh: use exec instead of waiting for configure to finish + + Syncs the invocation of configure with the one from the server. + + Signed-off-by: Peter Hutterer <[email protected]> + Reviewed-by: Emil Velikov <[email protected]> + commit 0fba659f91bebe1f92f4de2660bf806fd049350b Author: Alan Coopersmith <[email protected]> Date: Mon Jan 19 21:26:22 2015 -0800 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/xcalc-1.0.6/Makefile.am new/xcalc-1.0.7/Makefile.am --- old/xcalc-1.0.6/Makefile.am 2015-01-20 06:26:27.000000000 +0100 +++ new/xcalc-1.0.7/Makefile.am 2019-02-17 22:52:44.000000000 +0100 @@ -53,3 +53,4 @@ dist-hook: ChangeLog INSTALL +EXTRA_DIST = README.md 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/xcalc-1.0.6/README new/xcalc-1.0.7/README --- old/xcalc-1.0.6/README 2015-01-20 06:26:27.000000000 +0100 +++ new/xcalc-1.0.7/README 1970-01-01 01:00:00.000000000 +0100 @@ -1,26 +0,0 @@ -xcalc is a scientific calculator X11 client that can emulate a TI-30 -or an HP-10C. - -All questions regarding this software should be directed at the -Xorg mailing list: - - http://lists.freedesktop.org/mailman/listinfo/xorg - -Please submit bug reports to the Xorg bugzilla: - - https://bugs.freedesktop.org/enter_bug.cgi?product=xorg - -The master development code repository can be found at: - - git://anongit.freedesktop.org/git/xorg/app/xcalc - - http://cgit.freedesktop.org/xorg/app/xcalc - -For patch submission instructions, see: - - http://www.x.org/wiki/Development/Documentation/SubmittingPatches - -For more information on the git code manager, see: - - http://wiki.x.org/wiki/GitPage - 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/xcalc-1.0.6/README.md new/xcalc-1.0.7/README.md --- old/xcalc-1.0.6/README.md 1970-01-01 01:00:00.000000000 +0100 +++ new/xcalc-1.0.7/README.md 2019-02-17 22:52:44.000000000 +0100 @@ -0,0 +1,18 @@ +xcalc is a scientific calculator X11 client that can emulate a TI-30 +or an HP-10C. + +All questions regarding this software should be directed at the +Xorg mailing list: + + https://lists.x.org/mailman/listinfo/xorg + +The master development code repository can be found at: + + https://gitlab.freedesktop.org/xorg/app/xcalc + +Please submit bug reports and requests to merge patches there. + +For patch submission instructions, see: + + https://www.x.org/wiki/Development/Documentation/SubmittingPatches + 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/xcalc-1.0.6/configure.ac new/xcalc-1.0.7/configure.ac --- old/xcalc-1.0.6/configure.ac 2015-01-20 06:26:27.000000000 +0100 +++ new/xcalc-1.0.7/configure.ac 2019-02-17 22:52:44.000000000 +0100 @@ -23,8 +23,8 @@ # Initialize Autoconf AC_PREREQ([2.60]) -AC_INIT([xcalc], [1.0.6], - [https://bugs.freedesktop.org/enter_bug.cgi?product=xorg], [xcalc]) +AC_INIT([xcalc], [1.0.7], + [https://gitlab.freedesktop.org/xorg/app/xcalc/issues], [xcalc]) AC_CONFIG_SRCDIR([Makefile.am]) AC_CONFIG_HEADERS([config.h]) 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/xcalc-1.0.6/math.c new/xcalc-1.0.7/math.c --- old/xcalc-1.0.6/math.c 2015-01-20 06:26:27.000000000 +0100 +++ new/xcalc-1.0.7/math.c 2019-02-17 22:52:44.000000000 +0100 @@ -210,12 +210,13 @@ void numeric(int keynum) { - char st[2]; - int cell = 0; + char st[2]; flagINV=0; if (rpn && (memop == kSTO || memop == kRCL || memop == kSUM)) { + int cell = 0; + switch (keynum) { case kONE: cell = 1; break; case kTWO: cell = 2; break; @@ -267,7 +268,7 @@ if ((int) strlen(dispstr) >= MAXDISP) return; - switch (keynum){ + switch (keynum){ case kONE: st[0] = '1'; break; case kTWO: st[0] = '2'; break; case kTHREE: st[0] = '3'; break; @@ -278,9 +279,9 @@ case kEIGHT: st[0] = '8'; break; case kNINE: st[0] = '9'; break; case kZERO: st[0] = '0'; break; - } - st[1] = '\0'; - strcat(dispstr,st); + } + st[1] = '\0'; + strcat(dispstr,st); DrawDisplay(); if (clrdisp && keynum != kZERO) @@ -704,15 +705,15 @@ case kE: if (rpn && memop != kENTR) PushNum(dnum); dnum=M_E; break; case kPI: if (rpn && memop != kENTR) PushNum(dnum); dnum=M_PI; break; case kRECIP: dnum=1.0/dnum; break; - case kSQR: flagINV = !flagINV; /* fall through to */ + case kSQR: flagINV = !flagINV; /* fall through */ case kSQRT: if (flagINV) dnum=dnum*dnum; else dnum=sqrt(dnum); break; - case k10X: flagINV = !flagINV; /* fall through to */ + case k10X: flagINV = !flagINV; /* fall through */ case kLOG: if (flagINV) dnum=pow(10.0,dnum); else dnum=log10(dnum); break; - case kEXP: flagINV = !flagINV; /* fall through to */ + case kEXP: flagINV = !flagINV; /* fall through */ case kLN: if (flagINV) dnum=exp(dnum); else dnum=log(dnum); break; @@ -760,13 +761,12 @@ offf(void) { /* full reset */ - int i; ResetCalc(); entered=clrdisp=1; lift_enabled = 0; dnum=mem[0]=0.0; if (rpn) - for (i=1; i < XCALC_MEMORY; i++) + for (int i=1; i < XCALC_MEMORY; i++) mem[i]=0.0; exponent=Dpoint=0; DrawDisplay();
