swarm-support
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: heatbugs and 1.0.4


From: Pietro Terna
Subject: Re: heatbugs and 1.0.4
Date: Tue, 06 Jan 1998 22:49:47 +0100

        Hi Marcus,

        Despite the fact that now in the graph the line color newly changes to
blue when a line is pointed (so may be it was not an idiosyncrasy) I'm
interested in applying your patches.

        Two questions. 

        1. It's possible to patch a binary Swarm distribution?

        2. May be my
patch program is too old (my version is 2.1)?

executing, I obtain:

ptLinux:~/swarm/swarm$ patch -p1 < myfirstpatch
Hmm...  Looks like a
new-style context diff to me...
The text leading up to this
was:
--------------------------
|Index:
src/tkobjc/BLTGraph.m
|=====================================================
==============
|RCS file:
/opt/src/hive/cvs/Swarm/swarm/src/tkobjc/BLTGraph.m,v
|retrieving revision
1.6
|diff -c -r1.6 BLTGraph.m
|*** BLTGraph.m 1997/12/11 02:31:35
1.6
|--- BLTGraph.m 1998/01/05 07:51:26
--------------------------
File to
patch: 

and I'm not sure i I have to introduce by hand something like 
src/tkobjc/BLTGraph.m

        Pietro

At 00.01 05/01/98 -0800, you wrote:
>>>>>> "PT" == Pietro Terna <address@hidden> writes:
>
>PT>    starting heatbugs (1.0.1) compiled with swarm 1.0.4 in my
>PT> Linux Box (I've adopted the binary distribution "linux-gnulibc1")
>PT> I'm obtaining the messages reported below; heatbugs runs, but I'm
>PT> noticing a minor problem: in the graph the line color no more
>PT> changes to blue when a line is pointed.
>
>Hmm, I suspect this behavior where the active line was blue was just an
>idiosyncrasy.  Instead, how about if the line width changes, but the
>color remains the same?  Below is a patch to do that, you can apply it with:
>
>  $ cd $SWARMHOME
>  $ patch -p1 < this-file
>  $ make
>
>Index: src/tkobjc/BLTGraph.m
>===================================================================
>RCS file: /opt/src/hive/cvs/Swarm/swarm/src/tkobjc/BLTGraph.m,v
>retrieving revision 1.6
>diff -c -r1.6 BLTGraph.m
>*** BLTGraph.m 1997/12/11 02:31:35     1.6
>--- BLTGraph.m 1998/01/05 07:51:26
>***************
>*** 121,137 ****
>  {
>    if (ownerGraph == nil)
>      [InvalidCombination raiseEvent: "This element has no owner graph!\n"];
>!   name = strdup(tclObjc_objectToName(self));
>    xData = [BLTVector create: [self getZone]];
>    yData = [BLTVector create: [self getZone]];
>  
>!   [globalTkInterp
>!     eval: "%s element create %s -xdata %s -ydata %s -symbol none",
>!     [ownerGraph getWidgetName],
...


                  ==================================
   Swarm-Support is for discussion of the technical details of the day
   to day usage of Swarm.  For list administration needs (esp.
   [un]subscribing), please send a message to <address@hidden>
   with "help" in the body of the message.
                  ==================================


reply via email to

[Prev in Thread] Current Thread [Next in Thread]