X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f X-Recipient: geda-user AT delorie DOT com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=upsrD5USjx+SdSUSp3GLVAm7Rrhyq8/3SlcQqiEL5+8=; b=HNrKPliW9PvvMvaDoM3YNac+pinzEBIURmrJhhckzr3WrRgfGgsmVMaAFaaRroM07Y cXhZXrq7YD5V7rGm6I5XJQCw2/fBum37602olXhrhcY8EMs5g2OpJSGQx+yibao+kW68 NdJYCfVTZUGBChqUzRAf5tk71A7Rr3WjjDBxI= MIME-Version: 1.0 In-Reply-To: <20111108100616.GA32119@yumi> References: <20111108100616 DOT GA32119 AT yumi> Date: Tue, 8 Nov 2011 16:11:08 +0530 Message-ID: Subject: Re: [geda-user] duplicate refdes values From: Lalit Patnaik To: geda-user AT delorie DOT com Content-Type: multipart/alternative; boundary=0015174c19562214a504b136cfbf Reply-To: geda-user AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: geda-user AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk --0015174c19562214a504b136cfbf Content-Type: text/plain; charset=ISO-8859-1 I would greatly appreciate such a patch as a geda user! I've been bitten by this bug many a time :-| On Tue, Nov 8, 2011 at 3:36 PM, Cyril Hrubis wrote: > Hi! > I've got bitten by this once more and decided for fix. The problem is > that I've, by a mistake, forgot to change refdes on one of my resistors > and spend another ten minutes by figuring out what went wrong. > > What I want to fix is that both gsch2pcb and pcb are silent about this > and the pcb just picks up only one of them. > > As far as I understand the gsch2pcb source it acts as a stream editor > and has no memory of previous parts I was thinking of adding hash table > of previous refdes values and make it print warning on duplicate > entires. I could prepare patch for this. > > The pcb is more compliacted though both by the source code and by a gui > perspective. > > -- > Cyril Hrubis > -- Lalit Patnaik Research Scholar (PhD) Power Electronics Lab. CEDT, IISc, Bangalore Ph. No.-080-23600810-211 Mobile: 9980228505 ------------------------------------------------------- http://lalitpatnaik.blogspot.com/ http://chronicengineer.blogspot.com/ http://cricket-iisc.blogspot.com/ --0015174c19562214a504b136cfbf Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable I would greatly appreciate such a patch as a geda user! I've been bitte= n by this bug many a time :-|

On Tue, Nov= 8, 2011 at 3:36 PM, Cyril Hrubis <metan DOT lists AT gmail DOT com> wrote:
Hi!
I've got bitten by this once more and decided for fix. The problem is that I've, by a mistake, forgot to change refdes on one of my resistors=
and spend another ten minutes by figuring out what went wrong.

What I want to fix is that both gsch2pcb and pcb are silent about this
and the pcb just picks up only one of them.

As far as I understand the gsch2pcb source it acts as a stream editor
and has no memory of previous parts I was thinking of adding hash table
of previous refdes values and make it print warning on duplicate
entires. I could prepare patch for this.

The pcb is more compliacted though both by the source code and by a gui
perspective.

--
Cyril Hrubis



--
Lalit Pat= naik
Research Scholar (PhD)
Power Electronics Lab.
CEDT, IISc, Ban= galore
Ph. No.-080-23600810-211
Mobile: 9980228505
---------------= ----------------------------------------
http://lali= tpatnaik.blogspot.com/
http://chronicengineer.blogspot.com/
http://cricket-iis= c.blogspot.com/

--0015174c19562214a504b136cfbf--