Hello community,

here is the log from the commit of package gtkwave for openSUSE:Factory checked 
in at 2016-06-12 18:55:33
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/gtkwave (Old)
 and      /work/SRC/openSUSE:Factory/.gtkwave.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "gtkwave"

Changes:
--------
--- /work/SRC/openSUSE:Factory/gtkwave/gtkwave.changes  2016-04-22 
16:25:52.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.gtkwave.new/gtkwave.changes     2016-06-12 
18:55:37.000000000 +0200
@@ -1,0 +2,6 @@
+Sun Jun 12 04:57:19 UTC 2016 - dmitr...@opensuse.org
+
+- Update to version 3.3.73
+  * bugfix release, see included ChangeLog file for details
+
+-------------------------------------------------------------------

Old:
----
  gtkwave-3.3.72.tar.gz

New:
----
  gtkwave-3.3.73.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ gtkwave.spec ++++++
--- /var/tmp/diff_new_pack.VrCSwX/_old  2016-06-12 18:55:38.000000000 +0200
+++ /var/tmp/diff_new_pack.VrCSwX/_new  2016-06-12 18:55:38.000000000 +0200
@@ -17,7 +17,7 @@
 
 
 Name:           gtkwave
-Version:        3.3.72
+Version:        3.3.73
 Release:        0
 Summary:        Waveform viewer for Ditital Signals
 License:        GPL-2.0+

++++++ gtkwave-3.3.72.tar.gz -> gtkwave-3.3.73.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/gtkwave-3.3.72/ChangeLog new/gtkwave-3.3.73/ChangeLog
--- old/gtkwave-3.3.72/ChangeLog        2016-04-13 18:30:29.000000000 +0200
+++ new/gtkwave-3.3.73/ChangeLog        2016-06-12 06:37:59.000000000 +0200
@@ -1549,5 +1549,10 @@
                pthread.h is included.
                Added /Edit/Delete to destroy traces without affecting the
                existing cut buffer.
-3.3.72         Revert to old gtkwave.appdata.xml as the new one is causing
+3.3.72 13apr16 Revert to old gtkwave.appdata.xml as the new one is causing
                problems with appstream-util validation.
+3.3.73 11jun16 Added dragzoom_threshold rc variable to accommodate input
+               devices that have a noisy 3rd mouse button.
+               Fix emission of all filter names so they are emitted in
+               canonical fashion so as to avoid growing strings of ../ in
+               savefiles.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/gtkwave-3.3.72/LICENSE.TXT 
new/gtkwave-3.3.73/LICENSE.TXT
--- old/gtkwave-3.3.72/LICENSE.TXT      2016-04-13 18:30:29.000000000 +0200
+++ new/gtkwave-3.3.73/LICENSE.TXT      2016-05-11 20:22:21.000000000 +0200
@@ -1,6 +1,6 @@
 ##########################################################################
 
-GTKWave 3.3.72 Wave Viewer is Copyright (C) 1999-2016 Tony Bybell.  
+GTKWave 3.3.73 Wave Viewer is Copyright (C) 1999-2016 Tony Bybell.  
 Portions of GTKWave are Copyright (C) 1999-2016 Udi Finkelstein. 
 Context support is Copyright (C) 2007-2016 Kermin Elliott Fleming.
 Trace group support is  Copyright (C) 2009-2016 Donald Baltus.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/gtkwave-3.3.72/configure new/gtkwave-3.3.73/configure
--- old/gtkwave-3.3.72/configure        2016-04-13 18:30:29.000000000 +0200
+++ new/gtkwave-3.3.73/configure        2016-05-11 20:22:21.000000000 +0200
@@ -1,6 +1,6 @@
 #! /bin/sh
 # Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.69 for gtkwave 3.3.72.
+# Generated by GNU Autoconf 2.69 for gtkwave 3.3.73.
 #
 # Report bugs to <byb...@rocketmail.com>.
 #
@@ -580,8 +580,8 @@
 # Identity of this package.
 PACKAGE_NAME='gtkwave'
 PACKAGE_TARNAME='gtkwave'
-PACKAGE_VERSION='3.3.72'
-PACKAGE_STRING='gtkwave 3.3.72'
+PACKAGE_VERSION='3.3.73'
+PACKAGE_STRING='gtkwave 3.3.73'
 PACKAGE_BUGREPORT='byb...@rocketmail.com'
 PACKAGE_URL=''
 
@@ -1383,7 +1383,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 gtkwave 3.3.72 to adapt to many kinds of systems.
+\`configure' configures gtkwave 3.3.73 to adapt to many kinds of systems.
 
 Usage: $0 [OPTION]... [VAR=VALUE]...
 
@@ -1449,7 +1449,7 @@
 
 if test -n "$ac_init_help"; then
   case $ac_init_help in
-     short | recursive ) echo "Configuration of gtkwave 3.3.72:";;
+     short | recursive ) echo "Configuration of gtkwave 3.3.73:";;
    esac
   cat <<\_ACEOF
 
@@ -1595,7 +1595,7 @@
 test -n "$ac_init_help" && exit $ac_status
 if $ac_init_version; then
   cat <<\_ACEOF
-gtkwave configure 3.3.72
+gtkwave configure 3.3.73
 generated by GNU Autoconf 2.69
 
 Copyright (C) 2012 Free Software Foundation, Inc.
@@ -2239,7 +2239,7 @@
 This file contains any messages produced by compilers while
 running configure, to aid debugging if configure makes a mistake.
 
-It was created by gtkwave $as_me 3.3.72, which was
+It was created by gtkwave $as_me 3.3.73, which was
 generated by GNU Autoconf 2.69.  Invocation command line was
 
   $ $0 $@
@@ -3106,7 +3106,7 @@
 
 # Define the identity of the package.
  PACKAGE='gtkwave'
- VERSION='3.3.72'
+ VERSION='3.3.73'
 
 
 cat >>confdefs.h <<_ACEOF
@@ -10997,7 +10997,7 @@
 # report actual input values of CONFIG_FILES etc. instead of their
 # values after options handling.
 ac_log="
-This file was extended by gtkwave $as_me 3.3.72, which was
+This file was extended by gtkwave $as_me 3.3.73, which was
 generated by GNU Autoconf 2.69.  Invocation command line was
 
   CONFIG_FILES    = $CONFIG_FILES
@@ -11063,7 +11063,7 @@
 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; 
s/[\\""\`\$]/\\\\&/g'`"
 ac_cs_version="\\
-gtkwave config.status 3.3.72
+gtkwave config.status 3.3.73
 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/gtkwave-3.3.72/configure.ac 
new/gtkwave-3.3.73/configure.ac
--- old/gtkwave-3.3.72/configure.ac     2016-04-13 18:30:29.000000000 +0200
+++ new/gtkwave-3.3.73/configure.ac     2016-05-11 20:22:21.000000000 +0200
@@ -2,7 +2,7 @@
 # Process this file with autoconf to produce a configure script.
 
 AC_PREREQ(2.59)
-AC_INIT(gtkwave, 3.3.72, byb...@rocketmail.com)
+AC_INIT(gtkwave, 3.3.73, byb...@rocketmail.com)
 AC_CONFIG_SRCDIR([src/vcd.c])
 AM_INIT_AUTOMAKE
 AC_CONFIG_HEADER([config.h])
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/gtkwave-3.3.72/contrib/bundle_for_osx/Info-gtkwave.plist 
new/gtkwave-3.3.73/contrib/bundle_for_osx/Info-gtkwave.plist
--- old/gtkwave-3.3.72/contrib/bundle_for_osx/Info-gtkwave.plist        
2016-04-13 18:30:29.000000000 +0200
+++ new/gtkwave-3.3.73/contrib/bundle_for_osx/Info-gtkwave.plist        
2016-06-12 06:37:59.000000000 +0200
@@ -8,7 +8,7 @@
     <key>CFBundleExecutable</key>
     <string>gtkwave</string>
     <key>CFBundleGetInfoString</key>
-    <string>3.3.72, (C) 1999-2016 Tony Bybell 
http://gtkwave.sourceforge.net</string>
+    <string>3.3.73, (C) 1999-2016 Tony Bybell 
http://gtkwave.sourceforge.net</string>
     <key>CFBundleIconFile</key>
     <string>gtkwave.icns</string>
     <key>CFBundleIdentifier</key>
@@ -18,11 +18,11 @@
     <key>CFBundlePackageType</key>
     <string>APPL</string>
     <key>CFBundleShortVersionString</key>
-    <string>3.3.72</string>
+    <string>3.3.73</string>
     <key>CFBundleSignature</key>
     <string>????</string>
     <key>CFBundleVersion</key>
-    <string>3.3.72</string>
+    <string>3.3.73</string>
     <key>NSHumanReadableCopyright</key>
     <string>Copyright 1999 - 2016 Tony Bybell, GNU General Public 
License.</string>
     <key>LSMinimumSystemVersion</key>
Files old/gtkwave-3.3.72/doc/gtkwave.odt and new/gtkwave-3.3.73/doc/gtkwave.odt 
differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/gtkwave-3.3.72/examples/gtkwaverc 
new/gtkwave-3.3.73/examples/gtkwaverc
--- old/gtkwave-3.3.72/examples/gtkwaverc       2016-04-07 18:10:53.000000000 
+0200
+++ new/gtkwave-3.3.73/examples/gtkwaverc       2016-05-11 20:22:21.000000000 
+0200
@@ -15,6 +15,7 @@
 # For OSX
 # editor "mate -l %d %s"
 
+dragzoom_threshold 0
 
 use_standard_trace_select no
 highlight_wavewindow no
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/gtkwave-3.3.72/man/gtkwave.1 
new/gtkwave-3.3.73/man/gtkwave.1
--- old/gtkwave-3.3.72/man/gtkwave.1    2014-04-22 15:05:17.000000000 +0200
+++ new/gtkwave-3.3.73/man/gtkwave.1    2016-06-12 06:37:59.000000000 +0200
@@ -1,4 +1,4 @@
-.TH "GTKWAVE" "1" "3.3.59" "Anthony Bybell" "Simulation Wave Viewer"
+.TH "GTKWAVE" "1" "3.3.73" "Anthony Bybell" "Simulation Wave Viewer"
 .SH "NAME"
 .LP 
 gtkwave \- Visualization tool for VCD, LXT, LXT2, VZT, FST, and GHW files
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/gtkwave-3.3.72/man/gtkwaverc.5 
new/gtkwave-3.3.73/man/gtkwaverc.5
--- old/gtkwave-3.3.72/man/gtkwaverc.5  2013-10-26 00:49:25.000000000 +0200
+++ new/gtkwave-3.3.73/man/gtkwaverc.5  2016-06-12 06:37:59.000000000 +0200
@@ -1,4 +1,4 @@
-.TH "GTKWAVERC" "5" "3.3.51" "Anthony Bybell" "GTKWave Configuration File"
+.TH "GTKWAVERC" "5" "3.3.73" "Anthony Bybell" "GTKWave Configuration File"
 .SH "NAME"
 .LP 
 gtkwaverc \- GTKWave Configuration File
@@ -178,9 +178,11 @@
 \fBdo_initial_zoom_fit\fR <\fIvalue\fP>
 A nonzero value indicates that the trace should initially be crunched to fit 
the screen. A zero value indicates that the initial zoom should be zero 
(default).
 .TP 
+\fBdragzoom_threshold\fR <\fIvalue\fP>
+A nonzero value indicates the number of pixels in the x direction the marker 
must move in order for a dragzoom to be triggered.  This is largely to handle 
noisy input devices.
+.TP 
 \fBdynamic_resizing\fR <\fIvalue\fP>
 A nonzero value indicates that dynamic resizing should be initially enabled 
(default). A zero value indicates that dynamic resizing should be initially 
disabled.
-
 .TP
 \fBeditor\fR <\fI"value"\fP>
 This is used to specify a string (quotes mandatory) for when gtkwave invokes a 
text editor (e.g., Open Source Definition).  Examples are:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/gtkwave-3.3.72/src/globals.c 
new/gtkwave-3.3.73/src/globals.c
--- old/gtkwave-3.3.72/src/globals.c    2015-11-19 07:58:08.000000000 +0100
+++ new/gtkwave-3.3.73/src/globals.c    2016-05-11 20:22:21.000000000 +0200
@@ -883,7 +883,7 @@
 0, /* cached_mouseover_y */
 0, /* mouseover_counter */
 0, /* button2_debounce_flag */
-
+0, /* dragzoom_threshold */
 
 /*
  * simplereq.c
@@ -1796,6 +1796,7 @@
  new_globals->enable_slider_zoom = GLOBALS->enable_slider_zoom;
  new_globals->context_tabposition = GLOBALS->context_tabposition;
  new_globals->use_standard_clicking = GLOBALS->use_standard_clicking;
+ new_globals->dragzoom_threshold = GLOBALS->dragzoom_threshold;
 
  new_globals->ignore_savefile_pane_pos = 1; /* to keep window from 
resizing/jumping */
  new_globals->ignore_savefile_pos = 1; /* to keep window from resizing/jumping 
*/
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/gtkwave-3.3.72/src/globals.h 
new/gtkwave-3.3.73/src/globals.h
--- old/gtkwave-3.3.72/src/globals.h    2015-11-19 07:58:08.000000000 +0100
+++ new/gtkwave-3.3.73/src/globals.h    2016-05-11 20:22:21.000000000 +0200
@@ -880,6 +880,7 @@
 gint cached_mouseover_y; /* from signalwindow.c */
 gint mouseover_counter; /* from signalwindow.c */
 unsigned button2_debounce_flag : 1;
+int dragzoom_threshold;
 
 
 /*
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/gtkwave-3.3.72/src/main.c 
new/gtkwave-3.3.73/src/main.c
--- old/gtkwave-3.3.72/src/main.c       2015-11-19 07:58:08.000000000 +0100
+++ new/gtkwave-3.3.73/src/main.c       2016-05-11 20:22:21.000000000 +0200
@@ -650,6 +650,7 @@
        GLOBALS->vlist_prepack = old_g->vlist_prepack;
        GLOBALS->do_dynamic_treefilter = old_g->do_dynamic_treefilter;
        GLOBALS->use_standard_clicking = old_g->use_standard_clicking;
+       GLOBALS->dragzoom_threshold = old_g->dragzoom_threshold;
        GLOBALS->use_toolbutton_interface = old_g->use_toolbutton_interface;
 
        GLOBALS->use_scrollwheel_as_y = old_g->use_scrollwheel_as_y;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/gtkwave-3.3.72/src/rc.c new/gtkwave-3.3.73/src/rc.c
--- old/gtkwave-3.3.72/src/rc.c 2015-06-23 01:32:37.000000000 +0200
+++ new/gtkwave-3.3.73/src/rc.c 2016-05-11 20:22:21.000000000 +0200
@@ -185,6 +185,13 @@
 return(0);
 }
 
+int f_dragzoom_threshold(char *str)
+{
+DEBUG(printf("f_dragzoom_threshold(\"%s\")\n",str));
+GLOBALS->dragzoom_threshold=atoi_64(str);
+return(0);
+}
+
 int f_dynamic_resizing(char *str)
 {
 DEBUG(printf("f_dynamic_resizing(\"%s\")\n",str));
@@ -843,6 +850,7 @@
 { "disable_mouseover", f_disable_mouseover },
 { "disable_tooltips", f_disable_tooltips },
 { "do_initial_zoom_fit", f_do_initial_zoom_fit },
+{ "dragzoom_threshold", f_dragzoom_threshold },
 { "dynamic_resizing", f_dynamic_resizing },
 { "editor", f_editor },
 { "enable_fast_exit", f_enable_fast_exit },
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/gtkwave-3.3.72/src/savefile.c 
new/gtkwave-3.3.73/src/savefile.c
--- old/gtkwave-3.3.72/src/savefile.c   2015-11-19 07:58:08.000000000 +0100
+++ new/gtkwave-3.3.73/src/savefile.c   2016-05-11 22:37:24.000000000 +0200
@@ -279,7 +279,13 @@
                                {
                                if(t->f_filter && 
GLOBALS->filesel_filter[t->f_filter])
                                        {
+#if defined __USE_BSD || defined __USE_XOPEN_EXTENDED || defined __CYGWIN__ || 
defined HAVE_REALPATH || defined __MINGW32__
+                                       char *can = 
realpath_2(GLOBALS->filesel_filter[t->f_filter], NULL);
+                                       fprintf(wave, "^%d %s\n", t->f_filter, 
can);
+                                       free(can);
+#else
                                        fprintf(wave, "^%d %s\n", t->f_filter, 
GLOBALS->filesel_filter[t->f_filter]);
+#endif
                                        }
                                        else
                                        {
@@ -291,7 +297,13 @@
                                {
                                if(t->p_filter && 
GLOBALS->procsel_filter[t->p_filter])
                                        {
+#if defined __USE_BSD || defined __USE_XOPEN_EXTENDED || defined __CYGWIN__ || 
defined HAVE_REALPATH || defined __MINGW32__
+                                       char *can = 
realpath_2(GLOBALS->procsel_filter[t->p_filter], NULL);
+                                       fprintf(wave, "^>%d %s\n", t->p_filter, 
can);
+                                       free(can);
+#else
                                        fprintf(wave, "^>%d %s\n", t->p_filter, 
GLOBALS->procsel_filter[t->p_filter]);
+#endif
                                        }
                                        else
                                        {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/gtkwave-3.3.72/src/zoombuttons.c 
new/gtkwave-3.3.73/src/zoombuttons.c
--- old/gtkwave-3.3.72/src/zoombuttons.c        2014-07-14 02:42:28.000000000 
+0200
+++ new/gtkwave-3.3.73/src/zoombuttons.c        2016-05-11 20:22:21.000000000 
+0200
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) Tony Bybell 1999-2005.
+ * Copyright (c) Tony Bybell 1999-2016.
  *
  * This program is free software; you can redistribute it and/or
  * modify it under the terms of the GNU General Public License
@@ -332,6 +332,7 @@
 TimeType temp;
 GtkAdjustment *hadj;
 Trptr t;
+int dragzoom_ok = 1;
 
 if(time2<time1)
        {
@@ -340,7 +341,17 @@
        time2=temp;
        }
 
-if(time2>time1)        /* ensure at least 1 tick */
+if(GLOBALS->dragzoom_threshold)
+       {
+       TimeType tdelta = time2 - time1;
+       gdouble x = tdelta * GLOBALS->pxns;
+       if(x<GLOBALS->dragzoom_threshold)
+               {
+               dragzoom_ok = 0;
+               }
+       }
+
+if((time2>time1)&&(dragzoom_ok))       /* ensure at least 1 tick and 
dragzoom_threshold if set */
        {
        if(GLOBALS->wavewidth>4) { fixedwidth=GLOBALS->wavewidth-4; } else { 
fixedwidth=GLOBALS->wavewidth; }
        
estimated=-log(((gdouble)(time2-time1+1))/((gdouble)fixedwidth)*((gdouble)200.0))/log(GLOBALS->zoombase);


Reply via email to