Bug#465399: osmo: Full-year calendar is somewhat messed up

2008-02-23 Thread Eike Nicklas
Hi Uwe,

On Fri, 22 Feb 2008 09:41:09 +0100 Uwe Steinmann wrote:

 On Thu, Feb 21, 2008 at 10:46:22PM +0100, Eike Nicklas wrote:

  It would be great if you could have a quick look at it.

 Still no improvement, but I know how to fix it :-)
 
 The reason lies in char being unsigned on powerpc by default unlike
 on other architectures. This seems to be true for gchar as well.
 display_calendar() in calendar_fullyear.c defines calendar_table, d, and
 tmpbuf to be gchar. In line 113 calendar_table is initialized to -1
 which is 255 on powerpc because gchar is unsigned. Later on there is
 also a comparision 'd  0' which can never be true on powerpc.
 If I replace the gchar into 'signed char' it works.
 

Ah, that makes sense, thanks a lot for your investigation! Forwarding
to upstream...

  Note: #465182 is not yet known to be fixed, so you might have to start
  osmo with LANG=C LC_ALL=C osmo or comment out line 1637 in calendar.c
 If I have some more time, I'll try to look into this as well.
 

That'd be great if you find the time. You are the only osmo user on ppc
I know of :-)

Eike



pgpPD6Zzoi8go.pgp
Description: PGP signature


Bug#465399: osmo: Full-year calendar is somewhat messed up

2008-02-22 Thread Uwe Steinmann
On Thu, Feb 21, 2008 at 10:46:22PM +0100, Eike Nicklas wrote:
 Hi Uwe,
 
 upstream changed the way of displaying empty fields in the full year
 calendar in svn and asked whether that changed the messed up behaviour
 you're seeing. I created a source package of the current svn snapshot
 and uploaded it to mentors.debian.net:
 
 - URL: http://mentors.debian.net/debian/pool/main/o/osmo
 - Source repository: deb-src http://mentors.debian.net/debian unstable main 
 contrib non-free
 - dget http://mentors.debian.net/debian/pool/main/o/osmo/osmo_0.2.0+svn-1.dsc
 
 It would be great if you could have a quick look at it.
Still no improvement, but I know how to fix it :-)

The reason lies in char being unsigned on powerpc by default unlike
on other architectures. This seems to be true for gchar as well.
display_calendar() in calendar_fullyear.c defines calendar_table, d, and
tmpbuf to be gchar. In line 113 calendar_table is initialized to -1
which is 255 on powerpc because gchar is unsigned. Later on there is
also a comparision 'd  0' which can never be true on powerpc.
If I replace the gchar into 'signed char' it works.

 Note: #465182 is not yet known to be fixed, so you might have to start
 osmo with LANG=C LC_ALL=C osmo or comment out line 1637 in calendar.c
If I have some more time, I'll try to look into this as well.

  Uwe


-- 
  MMK GmbH, Fleyer Str. 196, 58097 Hagen
  [EMAIL PROTECTED]
  Tel: 02331 840446Fax: 02331 843920


signature.asc
Description: Digital signature


Bug#465399: osmo: Full-year calendar is somewhat messed up

2008-02-21 Thread Eike Nicklas
Hi Uwe,

upstream changed the way of displaying empty fields in the full year
calendar in svn and asked whether that changed the messed up behaviour
you're seeing. I created a source package of the current svn snapshot
and uploaded it to mentors.debian.net:

- URL: http://mentors.debian.net/debian/pool/main/o/osmo
- Source repository: deb-src http://mentors.debian.net/debian unstable main 
contrib non-free
- dget http://mentors.debian.net/debian/pool/main/o/osmo/osmo_0.2.0+svn-1.dsc

It would be great if you could have a quick look at it.

Note: #465182 is not yet known to be fixed, so you might have to start
osmo with LANG=C LC_ALL=C osmo or comment out line 1637 in calendar.c

Thanks a lot for your help!

Eike


pgpwsvlJ5TzYM.pgp
Description: PGP signature


Bug#465399: osmo: Full-year calendar is somewhat messed up

2008-02-13 Thread Uwe Steinmann
On Tue, Feb 12, 2008 at 11:32:55PM +0100, Eike Nicklas wrote:
 Hi Uwe,
 
 On Tue, 12 Feb 2008 08:39:00 +0100 Uwe Steinmann wrote:
 
  The Full-year calendar seems to have a small cosmetic bug.
  A month not starting on a monday has the number '255' instead
  of a empty field in the columns before the month actually starts.
  January 2008 looks like the following
  
  Mo  Di Mi Do Fr ...
  255 1  2  3  4
  
  The same happens at the end of the month. Each month is filled
  up with 255.
  
 
 I could not observe this on i386. It might have changed in the new
 upstream release 0.2.0, since the full-year calendar experienced some
 major changes.
 
 I uploaded osmo_0.2.0-1 to mentors.debian.net yesterday and my sponsor
 will hopefully upload it this weekend:
 
 - URL: http://mentors.debian.net/debian/pool/main/o/osmo
 - Source repository: deb-src http://mentors.debian.net/debian unstable main 
 contrib non-free
 - dget http://mentors.debian.net/debian/pool/main/o/osmo/osmo_0.2.0-1.dsc
 
 Note that #465182 has not yet been fixed in this upload. If I have time,
 I will include your workaround and reupload.
 
 It would be great if you could test whether this bug is still present
 in 0.2.0.
Still there. There is just a lit bit more space between the 255's.

  BTW, the full-year calendar starts up showing the calendar for 2008
  but the little text field for changing the year says '2007'.
  
 
 This bug was fixed in the new upstream version 0.2.0.
Yep.

  Uwe


-- 
  MMK GmbH, Fleyer Str. 196, 58097 Hagen
  [EMAIL PROTECTED]
  Tel: 02331 840446Fax: 02331 843920


signature.asc
Description: Digital signature


Bug#465399: osmo: Full-year calendar is somewhat messed up

2008-02-12 Thread Eike Nicklas
Hi Uwe,

On Tue, 12 Feb 2008 08:39:00 +0100 Uwe Steinmann wrote:

 The Full-year calendar seems to have a small cosmetic bug.
 A month not starting on a monday has the number '255' instead
 of a empty field in the columns before the month actually starts.
 January 2008 looks like the following
 
 Mo  Di Mi Do Fr ...
 255 1  2  3  4
 
 The same happens at the end of the month. Each month is filled
 up with 255.
 

I could not observe this on i386. It might have changed in the new
upstream release 0.2.0, since the full-year calendar experienced some
major changes.

I uploaded osmo_0.2.0-1 to mentors.debian.net yesterday and my sponsor
will hopefully upload it this weekend:

- URL: http://mentors.debian.net/debian/pool/main/o/osmo
- Source repository: deb-src http://mentors.debian.net/debian unstable main 
contrib non-free
- dget http://mentors.debian.net/debian/pool/main/o/osmo/osmo_0.2.0-1.dsc

Note that #465182 has not yet been fixed in this upload. If I have time,
I will include your workaround and reupload.

It would be great if you could test whether this bug is still present
in 0.2.0.

 BTW, the full-year calendar starts up showing the calendar for 2008
 but the little text field for changing the year says '2007'.
 

This bug was fixed in the new upstream version 0.2.0.

Thanks for your report,
Eike


pgpyofbhrtVRW.pgp
Description: PGP signature


Bug#465399: osmo: Full-year calendar is somewhat messed up

2008-02-11 Thread Uwe Steinmann
Package: osmo
Version: 0.1.6-1
Severity: normal

The Full-year calendar seems to have a small cosmetic bug.
A month not starting on a monday has the number '255' instead
of a empty field in the columns before the month actually starts.
January 2008 looks like the following

Mo  Di Mi Do Fr ...
255 1  2  3  4

The same happens at the end of the month. Each month is filled
up with 255.

BTW, the full-year calendar starts up showing the calendar for 2008
but the little text field for changing the year says '2007'.

   Uwe

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (990, 'unstable'), (500, 'sid'), (500, 'oldstable'), (500, 
'testing'), (1, 'experimental')
Architecture: powerpc (ppc)

Kernel: Linux 2.6.22-3-powerpc
Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15) (ignored: 
LC_ALL set to [EMAIL PROTECTED])
Shell: /bin/sh linked to /bin/bash

Versions of packages osmo depends on:
ii  libc6  2.7-6 GNU C Library: Shared libraries
ii  libcairo2  1.4.14-1  The Cairo 2D vector graphics libra
ii  libglib2.0-0   2.14.6-1  The GLib library of C routines
ii  libgtk2.0-02.12.7-1  The GTK+ graphical user interface 
ii  libical0   0.30-1iCalendar library implementation i
ii  libpango1.0-0  1.18.4-1  Layout and rendering of internatio
ii  libxml22.6.31.dfsg-1 GNOME XML library

osmo recommends no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]