Bug#576416: gip: Does not reliably display calculated results

2010-04-25 Thread Ignace Mouzannar
Hello Frank,

Thank you very much for taking from your time to debug this issue.

I have forwarded this bug upstream [1]. I will wait for his feedback,
and keep you informed.

Cheers,
 Ignace M

[1] http://code.google.com/p/gip/issues/detail?id=4



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#576416: gip: Does not reliably display calculated results

2010-04-07 Thread Ignace Mouzannar
found 576416 1.6.1.1-1.1
thanks

Hi Frank,

On Sun, Apr 4, 2010 at 13:36, Frank Dean frank-li...@smartpixie.com wrote:
 Package: gip
 Version: 1.6.1.1-1.1.1
 Severity: normal
 Tags: patch


 On some installations/instances, Gip fails to display any results.
 E.g. on the 'IPv4 Address Analyzer' page all the output values, such
 as address range, are blank.

I am unable to reproduce this (on i386 and amd64). Could you be more
specific on how to replay this scenario?

 Looks like the lock_events variable is not initialised at startup.

As I see it, and correct me if I'm wrong, signals are locked and
unlocked (setting the lock_events variable) using *.unlock_signals
functions, e.g. :
-88-
void Dispatcher::on_ipv4_analyzer_ip_changed(unsigned long ip,
 unsigned long mask)
{
#ifdef _DEBUG_
  printf(Dispatcher::on_ipv4_analyzer_ip_changed(): Called.\n);
#endif
  mainwindow-lock_signals();
  unsigned long broadcast = 0;
  ipv4_get_broadcast(ip, mask, broadcast);
  mainwindow-ipv4_analyzer.set_output_range(ip  mask, broadcast);
  mainwindow-ipv4_analyzer.set_output_network(ip  mask);
  (...)
  mainwindow-ipv4_analyzer.set_output_hex_broadcast(broadcast);
  mainwindow-unlock_signals();
}
-88-

Thank you for taking the time to report this!

Cheers,
 Ignace M



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#576416: gip: Does not reliably display calculated results

2010-04-04 Thread Frank Dean
Package: gip
Version: 1.6.1.1-1.1.1
Severity: normal
Tags: patch


On some installations/instances, Gip fails to display any results.
E.g. on the 'IPv4 Address Analyzer' page all the output values, such
as address range, are blank.

Looks like the lock_events variable is not initialised at startup.


diff -Nur a/src/gui_ipv4_analyzer.cc b/src/gui_ipv4_analyzer.cc
--- a/src/gui_ipv4_analyzer.cc  2005-09-13 19:20:32.0 +0100
+++ b/src/gui_ipv4_analyzer.cc  2010-04-04 11:52:46.0 +0100
@@ -28,7 +28,7 @@
 /**
  * Constructor/Destructor
  
**/
-GUIIPv4Analyzer::GUIIPv4Analyzer()
+GUIIPv4Analyzer::GUIIPv4Analyzer() : lock_events(FALSE)
 {
 #ifdef _DEBUG_
   printf(GUIIPv4Analyzer::GUIIPv4Analyzer(): Called.\n);
diff -Nur a/src/gui_ipv4_subnet_calculator.cc 
b/src/gui_ipv4_subnet_calculator.cc
--- a/src/gui_ipv4_subnet_calculator.cc 2005-09-13 19:20:32.0 +0100
+++ b/src/gui_ipv4_subnet_calculator.cc 2010-04-04 12:02:51.0 +0100
@@ -30,7 +30,8 @@
  
**/
 GUIIPv4SubnetCalculator::GUIIPv4SubnetCalculator()
 : label_range(_(Address range:)),
-  label_dash(-)
+  label_dash(-),
+  lock_events(FALSE)
 {
   resize(2, 4);
   set_border_width(6);
diff -Nur a/src/gui_ipv4_subnet_splitter.cc b/src/gui_ipv4_subnet_splitter.cc
--- a/src/gui_ipv4_subnet_splitter.cc   2005-09-13 19:20:32.0 +0100
+++ b/src/gui_ipv4_subnet_splitter.cc   2010-04-04 12:03:17.0 +0100
@@ -32,7 +32,8 @@
 : label_range(_(Address range:), 0, 0.5),
   label_dash(-),
   label_pfxlen(_(Subnetted using prefixlength:), 0, 0.5),
-  label_maxmatch(_(Showing a maximum of 1000 subnets.), 1, 0.5)
+  label_maxmatch(_(Showing a maximum of 1000 subnets.), 1, 0.5),
+  lock_events(FALSE)
 {
   resize(4, 4);
   set_border_width(6);


-- System Information:
Debian Release: 5.0.4
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.29-bpo.2-686-bigmem (SMP w/2 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages gip depends on:
ii  libatk1.0-0 1.22.0-1 The ATK accessibility toolkit
ii  libc6   2.7-18lenny2 GNU C Library: Shared libraries
ii  libcairo2   1.6.4-7  The Cairo 2D vector graphics libra
ii  libcairomm-1.0-11.6.0-1  C++ wrappers for Cairo (shared lib
ii  libgcc1 1:4.3.2-1.1  GCC support library
ii  libglib2.0-02.22.2-2~bpo50+1 The GLib library of C routines
ii  libglibmm-2.4-1c2a  2.16.4-1 C++ wrapper for the GLib toolkit (
ii  libgtk2.0-0 2.12.12-1~lenny1 The GTK+ graphical user interface 
ii  libgtkmm-2.4-1c2a   1:2.12.7-1   C++ wrappers for GTK+ 2.4 (shared 
ii  libpango1.0-0   1.20.5-5+lenny1  Layout and rendering of internatio
ii  libsigc++-2.0-0c2a  2.0.18-2 type-safe Signal Framework for C++
ii  libstdc++6  4.3.2-1.1The GNU Standard C++ Library v3

gip recommends no packages.

gip suggests no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org