Andrew,
Wow, sorry, I swapped the medm versions in my original post. I meant to say
that 3.1.1 supports "down" and "right" (as does yours); medm-3.0.3 supports
"up" and "right". In medm-3.0.3, when you created the display you had to
choose "up" since "down" was not allowed (see below). So running a
medm-3.0.3-created display with medm-3.1.1 generates the "up" error I noticed
earlier today.
My observations agree with your assertion "should not affect the
functionality of any existing displays". Bug fix? Sure. But you still get a
medm warning at run time which is unsettling.
=== source from medm-3.0.3, medmByte.c ==========================
} else if(dlByte->direction == DOWN) {
/* Override */
medmPrintf(1,"\nexecuteDlByte: "
"Direction=\"down\" is not supported for Byte\n");
XtSetArg(args[n],XcNorient,XcVert); n++;
==================================================
-ps
-----Original Message-----
From: Andrew Johnson [mailto:[email protected]]
Sent: Wednesday, January 24, 2007 5:53 PM
To: Paul Sichta
Cc: [email protected]
Subject: Re: MEDM Byte Monitor Object
Paul Sichta wrote:
> MEDM 3.1.1 supports the Byte Monitor Object in the UP and the RIGHT
> directions, version 3.0.3 supports it in the DOWN and RIGHT directions
My copy of MEDM 3.1.1 supports "down" and "right", and gives a warning
if I set the widget to either "up" or "left".
> (medmByte.c). In 3.0.3 edit mode, you can choose any of the four
directions;
> at runtime the invalid direction is overridden with the supported one. The
> current MEDM Manual's 'direction attribute' table says the Byte Object can
> use all four directions, although the paragraph for the Byte Monitor
> describes the direction limitations.
>
> So a display created under 3.0.3 with a medmByte in the UP direction will
> generate a warning (in stdout and MEDM Message Window) under 3.1.1 . The
> appearance/vertical-alignment of the 'bits' are the same for both medm's,
so
> it's not too disasterous.
From a glance at the source code changes between the releases and after
some investigation, all that may have changed since 3.0.3 is the
nomenclature used for the directions, to make the widget's behaviour
match the actual wording the user selects.
In 3.1.1 the bit adjacent to the Start Bit is always displayed either
below or to the right of the start bit. However that adjacent bit
number can be higher or lower than the Start Bit depending on whether
the End Bit setting is larger or smaller than the Start Bit setting.
My conclusion: This change was a bug fix, not a regression, and should
not affect the functionality of any existing displays.
- Andrew
--
The right to be heard does not automatically include
the right to be taken seriously. -- Hubert H. Humphrey
- References:
- MEDM Byte Monitor Object Paul Sichta
- Re: MEDM Byte Monitor Object Andrew Johnson
- Navigate by Date:
- Prev:
Re: MEDM Byte Monitor Object Andrew Johnson
- Next:
Daylight saving time Andrew Johnson
- Index:
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
<2007>
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
- Navigate by Thread:
- Prev:
Re: MEDM Byte Monitor Object Andrew Johnson
- Next:
Daylight saving time Andrew Johnson
- Index:
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
<2007>
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
|