www.delorie.com/archives/browse.cgi | search |
X-Authentication-Warning: | delorie.com: mail set sender to geda-user-bounces using -f |
X-Recipient: | geda-user AT delorie DOT com |
X-Original-DKIM-Signature: | v=1; a=rsa-sha256; c=simple; d=mail.ud03.udmedia.de; h= |
subject:to:references:from:message-id:date:mime-version | |
:in-reply-to:content-type:content-transfer-encoding; s=beta; bh= | |
ST0tJa+RAlI1nDi1ss6TadaKR/HcTuvaaf89pyJSvZE=; b=XyAS9qq71Bw8jY7p | |
nQMLTX5k1ME8RHoQ9Fq3gstQ3P5ylVQ9ATYQ21xLvD0Ao658FkayMEhW+IT5oiCz | |
LrZpf+sVGyLxf9ZUefc8UHXth0l50RPMwRTfXiCCswbOTevMbeYYADahGjsHfRaK | |
Ill4i6mwjpTorCslGtDdl0wgxFk= | |
Subject: | Re: [geda-user] need a HID to read a pcb file? |
To: | geda-user AT delorie DOT com |
References: | <CAC4O8c-3CLqwazysn=d0t2-aR=8piK=XVpnkpa3rDEV1V2+QMQ AT mail DOT gmail DOT com> |
From: | "Markus Hitter (mah AT jump-ing DOT de) [via geda-user AT delorie DOT com]" <geda-user AT delorie DOT com> |
Message-ID: | <55F27A50.30807@jump-ing.de> |
Date: | Fri, 11 Sep 2015 08:53:04 +0200 |
User-Agent: | Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 |
Thunderbird/38.2.0 | |
MIME-Version: | 1.0 |
In-Reply-To: | <CAC4O8c-3CLqwazysn=d0t2-aR=8piK=XVpnkpa3rDEV1V2+QMQ@mail.gmail.com> |
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 |
Am 11.09.2015 um 05:02 schrieb Britton Kerin: > Stop me when I go wrong: > > * There is no (isolated) in-memory representation of a pcb file. > The parser just adds more stuff to PCBType, which actually contains > not only the data for the circuit board itself, but also pcb setting, > rtrees constructed later etc. ... > It seems weird to me to need a HID to be able to parse the file > format. Is this a desired situation or did it just turn out this way? If one puts emphasis on the "isolated" one can see it this way. Stuff is quite a bit mixed. But then, a file can be loaded without a GUI. All exporters called from the command line by the -x parameter do this. There's the 'batch' GUI, a build time option. As far as I can see it does pretty much the same as 'nogui', which operates when being compiled for a real GUI but doing a command line export. I think joining these two could remove duplicate code, which is always good. Then one could run a binary compiled for a real GUI without actually loading it, run a few actions and quit without ever seeing a window. No need to have two separate binaries for such tasks. The -x option is parsed right in main() in src/main.c, if you want to start investigating. Markus -- - - - - - - - - - - - - - - - - - - - Dipl. Ing. (FH) Markus Hitter http://www.jump-ing.de/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |