Re: gEDA-user: Reinventing the wheel

2011-05-17 Thread Robert Spanton
Hi John, Russell Shaw wrote: There's no reason why a schematic and pcb editor can't have tight coupling and still interact with all external tools. John Doty wrote: The architectures are different. To flexibly interact with external tools, you need the interfaces to be simple text files.

Re: gEDA-user: Adding inner polygons to a plane

2011-05-12 Thread Robert Spanton
On Wed, 2011-05-11 at 19:19 +0100, Peter Clifton wrote: Perhaps it would be possible to support a flag on the smaller, clippiING polygon which makes it bully other polygons away from it, EAGLE does this by allowing the user to assign a numeric priority to a polygon. Polygons with higher

Re: gEDA-user: 27th Chaos Communication Congress (27C3)

2010-12-14 Thread Robert Spanton
On Tue, 2010-12-14 at 13:18 +, Robert Fitzsimons wrote: Anybody going to 27C3 in Berlin during the 27th-30th of December? I'd like to spend some of my spare time at the conference working on or promoting gEDA. I've signed up to give a two hour workshop/tutorial on gschem/pcb, so

gEDA-user: [PATCH] Add a keyboard shortcut to pcb's close without saving option

2010-08-05 Thread Robert Spanton
This patch adds a keyboard mnemonic to the close without saving option in the close confirmation dialog box. --- po/ru.po |2 +- src/hid/gtk/gui-dialog.c |2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/po/ru.po b/po/ru.po index aa7d90c..0fa6ea8 100644

Re: gEDA-user: gnetlist partslists backends

2010-08-04 Thread Robert Spanton
*bump* Can someone with push rights to gaf get Richard's gnetlist patch into mainline? Cheers, Rob On Thu, 2010-06-03 at 00:22 +0100, Richard Barlow wrote: Hi I discovered a bug in the partslist[1-3] backend for gnetlist when processing hierarchical designs. It strips the refdes of

Re: gEDA-user: gnetlist partslists backends

2010-06-10 Thread Robert Spanton
On Thu, 2010-06-03 at 00:22 +0100, Richard Barlow wrote: I discovered a bug in the partslist[1-3] backend for gnetlist when processing hierarchical designs. It strips the refdes of sub-schematic symbols from the sub-schematic components meaning you end up with duplicate refdes's. I've attached

gEDA-user: Script for converting mm to hundredths of thou

2010-06-10 Thread Robert Spanton
Hi, I'm a European under the age of 40, and as such my brain works in metric. So I'll write footprints for PCB in metric, then do the conversion over to those weird units as a last step. So I banged the attached script together. This replaces all instances of Nmm (e.g. '0.127mm') with their

Re: gEDA-user: Script for converting mm to hundredths of thou

2010-06-10 Thread Robert Spanton
On Thu, 2010-06-10 at 16:39 +0200, Stefan Salewski wrote: I think recent PCB program can use mm and nm units in footprint files. Wow! Excellent. Do you really create the footprints files with an editor, without the help of scripts? My sfg.rb script works fine with mm unit. Well no, I'd

Re: gEDA-user: PCB Patches: Use c99 bool instead of manual typedef.

2010-06-08 Thread Robert Spanton
Hiya, On Sat, 2010-06-05 at 12:44 +0100, Peter Clifton wrote: Also - it would appear the changes unintentionally changed some quoted strings (caught when attempting to rebase my branches). I'm prepared to accept some bugs / mistakes, but really - we need to be CAREFUL with mechanised changes

Re: gEDA-user: PCB Patches: Use c99 bool instead of manual typedef.

2010-06-08 Thread Robert Spanton
On Tue, 2010-06-08 at 21:17 +0100, Peter Clifton wrote: Something which has the intelligence to understand the C code as its patching? (IE.. reference the type directly as a particular type etc..)? Yep. Seems like the future to me... (when it's done right) What (if any) kind of tools

Re: gEDA-user: PCB Patches: Use c99 bool instead of manual typedef.

2010-05-28 Thread Robert Spanton
Hello, I wrote: I forgot to mention that this script can be used with git filter-branch. If one has some existing commits that haven't been pushed, one can convert them over to bool like so: git filter-branch --tree-filter rename-bool.sh HEAD...${HASH} Ineiev wrote: Why not apply it

Re: gEDA-user: PCB Patches: Use c99 bool instead of manual typedef.

2010-05-27 Thread Robert Spanton
I wrote: I started working on stuff in the PCB source, and found that it uses a typedef called 'Boolean' rather than the c99 bool type. Please find three patches that transition PCB over to using the c99 bool ... Ineiev wrote: What are the advantages? is current implementation broken for

Re: gEDA-user: PCB Patches: Use c99 bool instead of manual typedef.

2010-05-27 Thread Robert Spanton
Yo, I wrote: Advantages: * Compiler is able to perform optimisations specific to the bool type. ineiev wrote: Yes, it is. I don't think the gain will be noticeable, though. PCB data are mostly ints, and pointers, and floats, and doubles. The point is that there's this patch

Re: gEDA-user: PCB Patches: Use c99 bool instead of manual typedef.

2010-05-27 Thread Robert Spanton
On Thu, 2010-05-27 at 13:23 -0400, Dave McGuire wrote: I have it here but don't feel like digging through it, and it seems like it's fresh in your mind so I'll ask...Is there anything in C99 that'd allow for packing bools into a byte or word value, a-la Pascal's packed array of boolean? I

Re: gEDA-user: PCB Patches: Use c99 bool instead of manual typedef.

2010-05-27 Thread Robert Spanton
is necessary. If someone does have some huge changes queued to the .y or .l files (and I suspect they don't) then we can work that out. Cheers, Rob From 1fe097f0ad591332b8bb3804630a9db607c91bdf Mon Sep 17 00:00:00 2001 From: Robert Spanton rspan...@zepler.net Date: Thu, 27 May 2010 21:26:25 +0100 Subject

Re: gEDA-user: PCB Patches: Use c99 bool instead of manual typedef.

2010-05-27 Thread Robert Spanton
On Thu, 2010-05-27 at 21:48 +0100, Robert Spanton wrote: 2. Run rename-bool.sh with the pcb source as the working dir. This replaces switches all .c and .h files over to using bool, true, and false. It then goes to work on the .y and .l files. My sed fu

gEDA-user: PCB Patches: Use c99 bool instead of manual typedef.

2010-05-26 Thread Robert Spanton
Hi, I started working on stuff in the PCB source, and found that it uses a typedef called 'Boolean' rather than the c99 bool type. Please find three patches that transition PCB over to using the c99 bool in the following directory: http://srobo.org/~rspanton/geda/pcb-bools/ The PCB build

Re: gEDA-user: PCB Patches: Use c99 bool instead of manual typedef.

2010-05-26 Thread Robert Spanton
I wrote: I started working on stuff in the PCB source, and found that it uses a typedef called 'Boolean' rather than the c99 bool type. Dave McGuire wrote: Does this have any implications for building with compilers other than GCC? If they're not C99 compatible, yes. However, if this does

Re: gEDA-user: Looking for my first fab shop.

2010-03-08 Thread Robert Spanton
On Mon, 2010-03-08 at 13:30 -0500, Jim wrote: Are there any fab shops that would be gentle with a very new, very inexperienced PCB designer? OH and reasonable for a prototype. Last time I laid up a board I used a drafting table and mylar. I may need a bit of handholding as I go along. In my