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=relaxed/relaxed; |
d=gmail.com; s=20120113; | |
h=mime-version:in-reply-to:references:date:message-id:subject:from:to | |
:content-type; | |
bh=VP0UDiNw2a27UY+O+tk84hfwxlWn7fGqpw0+PXOrjZ0=; | |
b=odkZSNWPCIKpXKOJD5Xf4hhxDUp3LXtVcxRZy97u0XxiJ/7uFuVF0ELNJblc5Ew5Us | |
WtstpOswHqac8JfkhkmVEeviJJtz4iNXhQXIFDWymSzUxPp5Al65dbFY7WlK9CAFIPqt | |
M6PUKwDhv/mr4KXPS7adegQ6JHACYUyycTC1/yJcyUmrOMMbFfTQnhKnbXhIlwq/k98V | |
DkgSsE0+VMiDSJtxLcKaDOP5/+Rir8pw8b8xIPfZXUuxBtJpLxM/aIir9MQ+SjMU3Rzz | |
GyWibHCPevcbiMe6RNkQXxdYz5/uirJ03S2We30+LtTEMYMYZDqfApwNR7kbLCZwq46O | |
Xouw== | |
X-Google-DKIM-Signature: | v=1; a=rsa-sha256; c=relaxed/relaxed; |
d=1e100.net; s=20130820; | |
h=x-gm-message-state:mime-version:in-reply-to:references:date | |
:message-id:subject:from:to:content-type; | |
bh=VP0UDiNw2a27UY+O+tk84hfwxlWn7fGqpw0+PXOrjZ0=; | |
b=ILntfBwH0kzvLfsC5SVWESMmMJLPCQIVBGY59vAY6zy9CwfwpYA9HYg6lD0ncTt7bi | |
U3MTuHPAOMQ4X8b+SXuTJkssuJTz8X7YvcY5jTlWX+tp0g6YmGBlxHmkquc9StVNZOSs | |
zv0Eq80TFSMUeGHLLv9QjFwmweefKtJzqZGCnNTOMcKkITjPj1HYiVFzL2sMW4E3hk1j | |
Yp+7QSy70TUXXESAUrKacUiVVCEL12SEWzqEBItU2ayXjeILhuIeNBy215D5HT//Qn7o | |
6g8pSKSFpjM379pO3sqKP+rP3aaSb05IS67DukSqT2Jgu0QEQskFGdyhPg+LszDFHye9 | |
bMgw== | |
X-Gm-Message-State: | ALoCoQlgoEjaZdX+mfjsanTdqKMJ7Ye1hkD45ukvKVdQ77MndYToQ+BaJb9hkS0pWxf/eYnEk0n41z/T1RMXszdjR/gR4Qpw0g== |
MIME-Version: | 1.0 |
X-Received: | by 10.194.6.98 with SMTP id z2mr6948138wjz.101.1452822660251; Thu, |
14 Jan 2016 17:51:00 -0800 (PST) | |
In-Reply-To: | <56982D5A.1020706@prochac.sk> |
References: | <CAC4O8c8tTutWKvXFA-nfcmUiUGYbOY1_5171Vf3WDk09Tmx3yw AT mail DOT gmail DOT com> |
<56982D5A DOT 1020706 AT prochac DOT sk> | |
Date: | Thu, 14 Jan 2016 16:51:00 -0900 |
Message-ID: | <CAC4O8c93jC=qRPAHnzBCrVYONGnyvQ55qv5yQ-vor8es-0_meg@mail.gmail.com> |
Subject: | Re: [geda-user] LP1532611 (modular fie formats) fixes |
From: | "Britton Kerin (britton DOT kerin AT gmail DOT com) [via geda-user AT delorie DOT com]" <geda-user AT delorie DOT com> |
To: | geda-user AT delorie DOT 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 |
--047d7b5d3e64967bb5052955a20e Content-Type: multipart/alternative; boundary=047d7b5d3e64967bb0052955a20c --047d7b5d3e64967bb0052955a20c Content-Type: text/plain; charset=UTF-8 On Thu, Jan 14, 2016 at 2:20 PM, Milan Prochac (milan AT prochac DOT sk) [via geda-user AT delorie DOT com] <geda-user AT delorie DOT com> wrote: > On 12. 1. 2016 20:23, Britton Kerin (britton DOT kerin AT gmail DOT com) [via > geda-user AT delorie DOT com] wrote: > >> >> I'm working on this branch there are some minor issues. I'll push fixes >> to LP1532611_fixes >> >> > Can you share details about the issues? I guess I can identify the culprit > and prepare fix faster > Attached is a patch showing roughly what I've found. The fftemplate.c is entirely in this patch but I didn't change anything in it besides including assert.h I think. It comes down to a little more honoring of default format (e.g. making sure its in default position in format list in SaveAs, checks that only one defualt format is specified, and stuff to take care of situation where PCB->Filename is known and PCB->Fileformat not. Some or all of that last category of change may be uneeded with the patch you propose for invalid file arguments (which I think is the right fix for that). I'd like for you to "own" this code for sure as you can almost surely improve it faster and better, but I'd like to start using it as well. If you aren't wanting to use git yet it would be nice to get you synced up with a repository version (one way or another, either you can sync to home/bert/LP1532611 or we could declare the edits in that branch premature and restart it with a new patch from you). You can then send patches to whoever owns the branch so people can track it. Britton --047d7b5d3e64967bb0052955a20c Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><br><div class=3D"gmail_extra"><div class=3D"gmail_quote">= On Thu, Jan 14, 2016 at 2:20 PM, Milan Prochac (<a href=3D"mailto:milan AT pro= chac.sk">milan AT prochac DOT sk</a>) [via <a href=3D"mailto:geda-user AT delorie DOT com= ">geda-user AT delorie DOT com</a>] <span dir=3D"ltr"><<a href=3D"mailto:geda-u= ser AT delorie DOT com" target=3D"_blank">geda-user AT delorie DOT com</a>></span> wro= te:<br><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-= left:1px #ccc solid;padding-left:1ex"><span class=3D"">On 12. 1. 2016 20:23= , Britton Kerin (<a href=3D"mailto:britton DOT kerin AT gmail DOT com" target=3D"_blan= k">britton DOT kerin AT gmail DOT com</a>) [via <a href=3D"mailto:geda-user AT delorie DOT co= m" target=3D"_blank">geda-user AT delorie DOT com</a>] wrote:<br> <blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p= x #ccc solid;padding-left:1ex"> <br> I'm working on this branch there are some minor issues.=C2=A0 I'll = push fixes to LP1532611_fixes<br> <br> </blockquote> <br></span> Can you share details about the issues? I guess I can identify the culprit = and prepare fix faster<br></blockquote><div><br></div><div style=3D"">Attac= hed is a patch showing roughly what I've found.=C2=A0 The fftemplate.c = is entirely in this patch but I didn't change anything in it besides in= cluding assert.h I think.</div><div style=3D""><br></div><div style=3D"">It= comes down to a little more honoring of default format (e.g. making sure i= ts in default position in format list in SaveAs, checks that only one defua= lt format is specified, and stuff to take care of situation where PCB->F= ilename is known and PCB->Fileformat not.=C2=A0 Some or all of that last= category of change may be uneeded with the patch you propose for invalid f= ile arguments (which I think is the right fix for that).=C2=A0</div><div>= =C2=A0</div><div style=3D"">I'd like for you to "own" this co= de for sure as you can almost surely improve it faster and better, but I= 9;d like to start using it as well.=C2=A0 If you aren't wanting to use = git yet it would be nice to get you synced up with a repository version (on= e way or another, either you can sync to home/bert/LP1532611 or we could de= clare the edits in that branch premature and restart it with a new patch fr= om you).=C2=A0 You can then send patches to whoever owns the branch so peop= le can track it.</div><div style=3D""><br></div><div style=3D"">Britton</di= v></div><br></div></div> --047d7b5d3e64967bb0052955a20c-- --047d7b5d3e64967bb5052955a20e Content-Type: application/octet-stream; name=file_format_fixes Content-Disposition: attachment; filename=file_format_fixes Content-Transfer-Encoding: base64 X-Attachment-Id: f_ijf0nvhz0 G1sxbWRpZmYgLS1naXQgYS9jb25maWd1cmUuYWMgYi9jb25maWd1cmUuYWMbW20KG1sxbWluZGV4 IGJkNzRkYjMuLjMxMGM0NzEgMTAwNjQ0G1ttChtbMW0tLS0gYS9jb25maWd1cmUuYWMbW20KG1sx bSsrKyBiL2NvbmZpZ3VyZS5hYxtbbQobWzM2bUBAIC0xMDQzLDYgKzEwNDMsMTAgQEAbW20gG1tt ZmkbW20KIAlETUFMTE9DX0xJQlM9IiIbW20KIF0pG1ttCiAbW20KG1szMm0rG1ttG1szMm0jIEZJ WE1FOiB0aGlzIGlzIGEgc3RpbGwtaGFja2lzaCB3YXkgdG8gZ2V0IGxpYnlhbWwgbGlua2VkIGlu LCBpdCBwcm9iYWJseSB3YW50cxtbbQobWzMybSsbW20bWzMybSMgYSBmZWF0dXJlIHJlcXVlc3Qg b3B0aW9uIGF0IGxlYXN0G1ttChtbMzJtKxtbbRtbMzJtQUN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HNwZWNpZmllZCBmaWxlG1ttChtb MzJtKxtbbRtbMzJtKiAgUmV0dXJucyAwLCBpZiBzdWNjZWVkZWQsIG90aGVyIHZhbHVlIGluZGlj YXRlcyBlcnJvci4bW20KG1szMm0rG1ttG1szMm0qICBObyB1c2VyIGludGVyYWN0aW9ucyBhcmUg bmVjZXNzYXJ5LhtbbQobWzMybSsbW20bWzMybSovG1ttChtbMzJtKxtbbRtbMzJtaW50G1ttChtb MzJtKxtbbRtbMzJtU2F2ZURlbW8oUENCVHlwZSAqcGNiLCBjaGFyICpmaWxlbmFtZSkbW20KG1sz Mm0rG1ttG1szMm17G1ttChtbMzJtKxtbbRtbMzJtICB5YW1sX2VtaXR0ZXJfdCBlbWl0dGVyOxtb bQobWzMybSsbW20bWzMybSAgeWFtbF9ldmVudF90IGV2ZW50OxtbbQobWzMybSsbW20bWzMybSAg aW50IHJldHVybl9jb2RlOxtbbQobWzMybSsbW20bWzQxbSAgG1ttChtbMzJtKxtbbRtbMzJtICAv KiBDcmVhdGUgdGhlIEVtaXR0ZXIgb2JqZWN0LiAqLxtbbQobWzMybSsbW20bWzMybSAgeWFtbF9l bWl0dGVyX2luaXRpYWxpemUoJmVtaXR0ZXIpOxtbbQobWzMybSsbW20bWzQxbSAgG1ttChtbMzJt KxtbbRtbMzJtICAvKiBTZXQgYSBmaWxlIG91dHB1dC4gKi8bW20KG1szMm0rG1ttG1szMm0gIEZJ TEUgKm91dHB1dCA9IGZvcGVuKGZpbGVuYW1lLCAidyIpOxtbbQobWzMybSsbW20bWzMybSAgaWYg KCBvdXRwdXQgPT0gTlVMTCApIHsbW20KG1szMm0rG1ttG1szMm0gICAgLy8gRklYTUU6IHJlbW92 ZSB0aGlzIGZwcmludGYgc29tZWRheRtbbQobWzMybSsbW20bWzMybSAgICBmcHJpbnRmICgbW20K G1szMm0rG1ttG1szMm0gICAgICAgIHN0ZGVyciwbW20KG1szMm0rG1ttG1szMm0gICAgICAgICIl czogJWk6ICVzOiBmb3BlbigpIGZhaWxlZCB0byBvcGVuICVzIGZvciB3cml0aW5nOiAlcyIsG1tt ChtbMzJtKxtbbRtbMzJtICAgICAgICBfX0ZJTEVfXywbW20KG1szMm0rG1ttG1szMm0gICAgICAg IF9fTElORV9fLBtbbQobWzMybSsbW20bWzMybSAgICAgICAgX19mdW5jX18sG1ttChtbMzJtKxtb bRtbMzJtICAgICAgICBmaWxlbmFtZSwbW20KG1szMm0rG1ttG1szMm0gICAgICAgIHN0cmVycm9y IChlcnJubykgKTsbW20KG1szMm0rG1ttG1szMm0gICAgcmV0dXJuIDE7G1ttChtbMzJtKxtbbRtb MzJtICB9G1ttChtbMzJtKxtbbRtbNDFtICAbW20KG1szMm0rG1ttG1szMm0gIHlhbWxfZW1pdHRl cl9zZXRfb3V0cHV0X2ZpbGUoJmVtaXR0ZXIsIG91dHB1dCk7G1ttChtbMzJtKxtbbQobWzMybSsb W20bWzMybSAgLyogQ3JlYXRlIGFuZCBlbWl0IHRoZSBTVFJFQU0tU1RBUlQgZXZlbnQuICovG1tt ChtbMzJtKxtbbRtbMzJtICB5YW1sX3N0cmVhbV9zdGFydF9ldmVudF9pbml0aWFsaXplKCZldmVu dCwgWUFNTF9VVEY4X0VOQ09ESU5HKTsbW20KG1szMm0rG1ttG1szMm0gIGlmICgheWFtbF9lbWl0 dGVyX2VtaXQoJmVtaXR0ZXIsICZldmVudCkpG1ttChtbMzJtKxtbbRtbMzJtICAgICAgZ290byBl cnJvcjsbW20KG1szMm0rG1ttChtbMzJtKxtbbRtbMzJtICB5YW1sX2RvY3VtZW50X3N0YXJ0X2V2 ZW50X2luaXRpYWxpemUoJmV2ZW50LCBOVUxMLCBOVUxMLCBOVUxMLCAxKTsbW20KG1szMm0rG1tt G1szMm0gIGlmICgheWFtbF9lbWl0dGVyX2VtaXQoJmVtaXR0ZXIsICZldmVudCkpG1ttChtbMzJt KxtbbRtbMzJtICAgICAgZ290byBlcnJvcjsbW20KG1szMm0rG1ttG1s0MW0gIBtbbQobWzMyb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XywbW20K G1szMm0rG1ttG1szMm0gICAgICAgIF9fTElORV9fLBtbbQobWzMybSsbW20bWzMybSAgICAgICAg X19mdW5jX18sG1ttChtbMzJtKxtbbRtbMzJtICAgICAgICBzdHJlcnJvciAoZXJybm8pICk7G1tt ChtbMzJtKxtbbRtbMzJtICAgIHJldHVybiAxOxtbbQobWzMybSsbW20bWzMybSAgfRtbbQobWzMy bSsbW20bWzQxbSAgG1ttChtbMzJtKxtbbRtbMzJtICByZXR1cm4gMDsbW20KG1szMm0rG1ttG1s0 MW0gIBtbbQobWzMybSsbW20bWzMybSAgLyogT24gZXJyb3IuICovG1ttChtbMzJtKxtbbRtbMzJt ICBlcnJvcjobW20KG1szMm0rG1ttG1szMm0gIGZwcmludGYgKHN0ZGVyciwgIllBTUwgZW1pc3Np b24gZmFpbGVkOiAlc1xuIiwgIGVtaXR0ZXIucHJvYmxlbSk7G1ttChtbMzJtKxtbbRtbNDFtICAb W20KG1szMm0rG1ttG1szMm0gIC8qIERlc3Ryb3kgdGhlIEVtaXR0ZXIgb2JqZWN0LiAqLxtbbQob WzMybSsbW20bWzMybSAgeWFtbF9lbWl0dGVyX2RlbGV0ZSgmZW1pdHRlcik7G1ttChtbMzJtKxtb bQobWzMybSsbW20bWzMybSAgLy8gRklYTUU6IG5lZWRzIHJldHVybiBjb2RlIGNoZWNrG1ttChtb MzJtKxtbbRtbMzJtICBmY2xvc2UgKG91dHB1dCk7G1ttChtbMzJtKxtbbQobWzMybSsbW20bWzMy bSAgcmV0dXJuIDE7G1ttChtbMzJtKxtbbRtbMzJtfRtbbQobWzMybSsbW20KG1szMm0rG1ttChtb MzJtKxtbbRtbMzJtLyobW20KG1szMm0rG1ttG1szMm0qICBGdW5jdGlvbiB0byBsb2FkIGxheW91 dCBmcm9tIHNwZWNpZmllZCBmaWxlG1ttChtbMzJtKxtbbRtbMzJtKiAgRnVuY3Rpb25zIGZpbGxz IHByb3ZpZGVkIFBDQnR5cGUgc3RydWN0dXJlIHdpdGggZ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CAoG1ttChtbMzJtKxtbbRtbMzJtICAgICAgICAgIGlkeCwbW20KG1szMm0r G1ttG1szMm0gICAgICAgICAgMCwbW20KG1szMm0rG1ttG1szMm0gICAgICAgICAgJmlzX2RlZmF1 bHRfZm9ybWF0LBtbbQobWzMybSsbW20bWzMybSAgICAgICAgICAmZmlsdGVyX2lkLCAmZmlsdGVy X25hbWUsG1ttChtbMzJtKxtbbRtbMzJtICAgICAgICAgICZmaWx0ZXJfbWltZSwbW20KG1szMm0r G1ttG1szMm0gICAgICAgICAgJmZpbHRlcl9wYXR0ZXJucyApICkgextbbQobWzMybSsbW20bWzMy bSAgICAgIGlmIChmaWx0ZXJfaWQgIT0gTlVMTCAmJiAoISBpc19kZWZhdWx0X2Zvcm1hdCkgKSB7 G1ttChtbMzJtKxtbbRtbMzJtICAgICAgICBwY2JfZmlsdGVyID0gZ3RrX2ZpbGVfZmlsdGVyX25l dyAoKTsbW20KG1szMm0rG1ttG1szMm0gICAgICAgIGd0a19maWxlX2ZpbHRlcl9zZXRfbmFtZSAo cGNiX2ZpbHRlciwgZmlsdGVyX25hbWUpOxtbbQobWzMybSsbW20bWzMybSAgICAgICAgZ3RrX2Zp bGVfZmlsdGVyX2FkZF9taW1lX3R5cGUgKHBjYl9maWx0ZXIsIGZpbHRlcl9taW1lKTsbW20KG1sz Mm0rG1ttG1szMm0gICAgICAgIHBpID0gMDsbW20KG1szMm0rG1ttG1szMm0gICAgICAgIHdoaWxl IChmaWx0ZXJfcGF0dGVybnNbcGldICE9IDAgKSB7G1ttChtbMzJtKxtbbRtbMzJtICAgICAgICAg IGd0a19maWxlX2ZpbHRlcl9hZGRfcGF0dGVybiAocGNiX2ZpbHRlciwgZmlsdGVyX3BhdHRlcm5z W3BpXSk7G1ttChtbMzJtKxtbbRtbMzJtICAgICAgICAgIHBpKys7G1ttChtbMzJtKxtbbRtbMzJt ICAgICAgICB9G1ttChtbMzJtKxtbbRtbMzJtICAgICAgICBndGtfZmlsZV9jaG9vc2Vy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gICB3aGlsZSAoaGlkX2dldF9maWxlX2Zvcm1hdChpZHgsIDAsICZpc19kZWZh dWx0X2Zvcm1hdCwgJmZpbHRlcl9pZCwgJmZpbHRlcl9uYW1lLCAmZmlsdGVyX21pbWUsICZmaWx0 ZXJfcGF0dGVybnMpKSB7G1ttChtbMzJtKxtbbRtbMzJtICAgICAgICBpZiAoZmlsdGVyX2lkICE9 IE5VTEwgJiYgKCEgaXNfZGVmYXVsdF9mb3JtYXQpICkgextbbQogICAgICAgICAgICAgcGNiX2Zp bHRlciA9IGd0a19maWxlX2ZpbHRlcl9uZXcgKCk7G1ttCiAgICAgICAgICAgICBndGtfZmlsZV9m aWx0ZXJfc2V0X25hbWUgKHBjYl9maWx0ZXIsIGZpbHRlcl9uYW1lKTsbW20KICAgICAgICAgICAg IGd0a19maWxlX2ZpbHRlcl9hZGRfbWltZV90eXBlIChwY2JfZmlsdGVyLCBmaWx0ZXJfbWltZSk7 G1ttCg== --047d7b5d3e64967bb5052955a20e--
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |