Re: gEDA-user: help with pcb dsn plugin

2011-09-18 Thread Kai-Martin Knaak
DJ Delorie wrote: >> Is the above the exact syntax ? > > PCB follows the GNU coding standards, (.. snip ..) > The only exception, usually, is comments Is this also true for the c portion of gschem, gnetlist, gerbvierw, etc. ? ---<)kaimartin(>--- -- Kai-Martin Knaak, Email: k...@familieknaak.d

Re: gEDA-user: help with pcb dsn plugin

2011-09-18 Thread Jared Casper
On Sun, Sep 18, 2011 at 11:46 AM, DJ Delorie wrote: >> I assume there are PCB devs that prefer the gnu style? > > 1. I prefer GNU style.  Emacs automatically does this style when >   coding, too. > Good enough. Note that Emacs automatically does whatever style you tell it to, including the linux

Re: gEDA-user: help with pcb dsn plugin

2011-09-18 Thread DJ Delorie
> I assume there are PCB devs that prefer the gnu style? 1. I prefer GNU style. Emacs automatically does this style when coding, too. 2. GNU style seems to be popular elsewhere too, which reduces the learning curve for many new developers 3. Historically, that's what we've used. __

Re: gEDA-user: help with pcb dsn plugin

2011-09-18 Thread Jared Casper
On Sun, Sep 18, 2011 at 4:18 AM, Peter Clifton wrote: > Just for the record, I don't like PCB's code formatting style myself > either ;) > I assume there are PCB devs that prefer the gnu style? Or is it only enforced to be consistent with all the legacy code? Jared ___

Re: gEDA-user: help with pcb dsn plugin

2011-09-18 Thread DJ Delorie
> Can the style conventions be found anywhere in a halfway comprehensive > written form? http://www.gnu.org/prep/standards/ ___ geda-user mailing list geda-user@moria.seul.org http://www.seul.org/cgi-bin/mailman/listinfo/geda-user

Re: gEDA-user: help with pcb dsn plugin

2011-09-18 Thread DJ Delorie
> Is the above the exact syntax ? PCB follows the GNU coding standards, Run the source through "indent" and it should come out correct. The only exception, usually, is comments (since we build docs from them) and table-formatted structure data, since GNU style creates much more whitespace than w

Re: gEDA-user: help with pcb dsn plugin

2011-09-18 Thread Bob Paddock
> Can the style conventions be found anywhere in a halfway comprehensive > written form? http://astyle.sourceforge.net/ Better would be to write a AStyle configuration file, that matches the standard style of the code, that could then be applied to the code so all of it is completely self-consist

Re: gEDA-user: help with pcb dsn plugin

2011-09-18 Thread Kai-Martin Knaak
Peter Clifton wrote: > PCB mostly has a consistent style, and we won't apply patches which > don't follow that. > > Two space indents, > > if (test) > { > statements (like, this); > } > else > { > even_if_they_ARE_horrid (); > } Can the style conventions be found anywhere in a halfway comprehen

Re: gEDA-user: help with pcb dsn plugin

2011-09-18 Thread Peter Clifton
On Sun, 2011-09-18 at 01:25 -0700, Jared Casper wrote: > On Sun, Sep 18, 2011 at 1:00 AM, Bert Timmerman > wrote: > >> PCB mostly has a consistent style, and we won't apply patches > >> which don't follow that. > > This is the next patch on my todo list. > > > > Is the above the exact syntax ? > >

Re: gEDA-user: help with pcb dsn plugin

2011-09-18 Thread Jared Casper
On Sun, Sep 18, 2011 at 1:00 AM, Bert Timmerman wrote: >> PCB mostly has a consistent style, and we won't apply patches >> which don't follow that. > This is the next patch on my todo list. > > Is the above the exact syntax ? > No worries, I changed the style in the first place (when a good chunk

Re: gEDA-user: help with pcb dsn plugin

2011-09-18 Thread Bert Timmerman
Hi all, > -Original Message- > From: geda-user-boun...@moria.seul.org > [mailto:geda-user-boun...@moria.seul.org] On Behalf Of Peter Clifton > Sent: Sunday, September 18, 2011 12:16 AM > To: geda-user@moria.seul.org > Subject: Re: gEDA-user: help with pcb dsn plugin &g

Re: gEDA-user: help with pcb dsn plugin

2011-09-17 Thread Peter Clifton
On Fri, 2011-09-16 at 11:58 -0700, Jared Casper wrote: > -- extensive style changes for my own sanity. There was inconsistent > style throughout (like all of pcb's code), so I chose the one I > personally like best (linux kernel style with indent of 4 instead of > 8). :) PCB mostly has a consiste

Re: gEDA-user: help with pcb dsn plugin

2011-09-16 Thread Jared Casper
Sun, 6/12/11, Josh Jordan wrote: > >      From: Josh Jordan >      Subject: gEDA-user: help with pcb dsn plugin >      To: geda-user@moria.seul.org >      Date: Sunday, June 12, 2011, 12:14 PM > >        I made a dsn export/import plugin a few years back that I am trying >    to &

Re: gEDA-user: help with pcb dsn plugin

2011-06-12 Thread Josh Jordan
-user: help with pcb dsn plugin To: geda-user@moria.seul.org Date: Sunday, June 12, 2011, 12:14 PM I made a dsn export/import plugin a few years back that I am trying to merge into latest git pcb version. It works to export and the dsn can be routed with

Re: gEDA-user: help with pcb dsn plugin

2011-06-12 Thread DJ Delorie
> it lists a "LoaddsnFrom" in the list of actions.  It says "Unknown > Action" when I try to use LoaddsnFrom or ActionLoadDsnFrom, or > LoadDsnFrom.  Is there a way to list what actions exist in pcb? pcb --show-actions ___ geda-user mailing list geda-

gEDA-user: help with pcb dsn plugin

2011-06-12 Thread Josh Jordan
I made a dsn export/import plugin a few years back that I am trying to merge into latest git pcb version. It works to export and the dsn can be routed with freerouting.net, and the import function appears in the menu, but the import action does not work. The function name is