X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f X-Recipient: geda-user AT delorie DOT com Message-ID: <56934C45.7080605@iee.org> Date: Mon, 11 Jan 2016 06:31:33 +0000 From: "M. J. Everitt (m DOT j DOT everitt AT iee DOT org) [via geda-user AT delorie DOT com]" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 MIME-Version: 1.0 To: geda-user AT delorie DOT com Subject: Re: [geda-user] A new PCB file format - modular system References: <5692CBD5 DOT 3020101 AT prochac DOT sk> <201601110319 DOT u0B3JTVl025695 AT envy DOT delorie DOT com> In-Reply-To: <201601110319.u0B3JTVl025695@envy.delorie.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:aMoD40+YQYn1Md2j6ismWeEGLAvzYtDpFS0OLDsK2EnQcCfQi07 dCT6SXi0qnua4PLFfR++PkBPFsygrpxXpyOyp/TeFV7v4nQBh6n9pRrxtkdZ0y6l6tCjCKM ThZPmhWK6yqgFkucFlNqS35ZAb+ghzflmaLVtls7+2EFlw9k97AWVSpSptn3n9K5SViFPGu UT01LRjbX188xYqUVwCzA== X-UI-Out-Filterresults: notjunk:1;V01:K0:AsEwJGA+lKc=:NDPkUe2Y2KoTGOGpSn/b9h r0Xp3WbAMWcPz0qWnoAoPXDl2FoqLAlG8qzY0ZpCahGVo7drQwHi+6ljKSTJmt3lFN++aUnYe wW+uvXGtjiHG8Bfq49DIJowYL2PWAed1qk2kEusQb9gRNa5QJzHbyyy3cneBn/VEoMdzdY7t7 tut9izI9Rs5DOSWSFhpbT55q0NamSlQ5EbI9T87GdtnUucTZi8GB/4+adY6hXUEDqaOPIuufR fVBd5Dy/nhyHi4g93nEYVDgqo5kj68KIR8zx25Vo62+bAPrifI8Bf70A8HLWB/fQD4wbazFPU hAS4+RxvVfg6wZglqGnemZpvqd2jUGP5qliF9ZgtICzpqxsS+oINPuY4826fSDHAqKSUzAWzh HDU9YjnoUo0JJjLhGX+fGi5l5zygFATsz6n3fKdcvABeOnvdsYuI6dagTu/lVaLUZv+mGmuXP 7iAZ1lLwMBXNNw6TVRJPeGfid31GReKjkrEH4qef7KSYAU1vW0jXE0TH2fHdYiGVNE+cuKwdj uUXATnbKD9DByHQolGiitPqWoRa8yPT0pqlHKuHPmfWXB/lpgUUyeF7y7JpxmD50aBa06XE4w hZ5AqQ4a8ApSP3sszGLv+xse9Vrn4f1GRTE/4reoQnpVFNCmiySplQsBZtp8N7ebyGhZ20MZ7 EuFfJbSjqU+8Iqcsyn6EaO3r/QYWup2+mrCJchyYqmdmkuRjf3/CvFxg2GvFDTUtrSig02Iz4 VPPaz3RohmGmhXKy Reply-To: geda-user AT delorie DOT com On 11/01/16 03:19, DJ Delorie wrote: >> What surprises me is that it looks like you were able to do >> everything with PCBType. I don't remember the gruesome details now >> but last time I tried to make the existing parser work independent >> of pcb I ended up with the impression that PCBType didn't reflect >> everything that goes in pcb files -- close but not quite everything. > Note that one of the messy and probably written rules about hid is - > the hid module can do whatever it wants with core data and functions, > but the core can only access the hid module via the published API. > > So if an importer/exporter needs more data than PCBType, it can just > reach in and get it. Whilst I take your point in that the HID module is presently the be-all and end-all of access to pcb data, I think having some data types defined in an API is also quite useful. It does make expansion much easier, without having to make a bunch of calls through the HID system constantly to get/set data .. even if that's a perfectly bona-fide way to accomplish it.