X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f X-Recipient: geda-user AT delorie DOT com X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-originating-ip:in-reply-to:references:from:date :message-id:subject:to:content-type:x-gm-message-state; bh=sHMdot0P34xqBbMkoocQ+gSAkwdBJEdWkTlEBkfmECk=; b=R+ISGmYPhv2FIsIAvX0PqDyonB26qvWtNoQfKI61iYB34eU7kFt6Xm/SkDdV/ezq8J Nh9gTE2dLSWgaMJSRKq1oPLS7f7HKleIyBR8groR+BB3yBJ8QUpJLlTeV6/+8BgDfAes 1/s9SxJVIKpSQD3ltz/uxoW13ScjZj4zxkqdUShetc36yjfgql8RSpDSpmzQQR4/IwvG lWaX6zrWxXsu+B5fTuM4pISH3y0Y4MKvCe+7hAv5nMzPfJweZ54dq+IK2Spvl7vbpepC /8NFqOlM7pfODLNCpvZDRJiAcY3lSTTQY+bZ+tmBAtqbqBneeDTrDO7teWBW+yT12umC gljQ== MIME-Version: 1.0 X-Originating-IP: [206.220.194.212] In-Reply-To: <20120614194141.GA22067@malakian.lan> References: <20120529092557 DOT 62e0178d AT svelte> <20120530140222 DOT GA21786 AT visitor2 DOT iram DOT es> <20120608215309 DOT GC7353 AT malakian DOT lan> <20120609184751 DOT GA9728 AT malakian DOT lan> <20120614194141 DOT GA22067 AT malakian DOT lan> From: Benjamin Bergman Date: Thu, 14 Jun 2012 17:44:37 -0500 Message-ID: Subject: Re: [geda-user] extra mask, plating, and silk colours in pcb To: geda-user AT delorie DOT com Content-Type: multipart/alternative; boundary=f46d04088c759e34c304c2767315 X-Gm-Message-State: ALoCoQlfYkG6CQ6GKX0uu1VNPiZQeF3z8/mQ42sapkU49xSzEOJ7Fc/95a8EgZGjLqMMq3Fb0qcy 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 Precedence: bulk --f46d04088c759e34c304c2767315 Content-Type: text/plain; charset=ISO-8859-1 On Thu, Jun 14, 2012 at 2:41 PM, Andrew Poelstra wrote: > I have made the following changes to your patch: > > > 1. Consolidated all 17 patches into one. They all fundamentally do > a single thing (add a color-changing feature), all affect the same > source file, and the total diff is only ~300 lines. I think this is > reasonable. > > The 17-patch version was over 1000 lines, and largely redundant. > (For example, one patch introduced a compilation warning, which > the next patch got rid of.) > Makes sense. No one needs to see my intermediate, buggy commits. 2. Fixed whitespace. There should be no tabs in source files -- the > ones that are there were put in by errant tools, and represent > 8 spaces. So if you're editing code with tabs in it, check that > your editor has its tabstops set to 8 spaces, so that the spacing > will look right on your machine. > > (Or even better, submit a separate whitespace-fixing patch to get > rid of the tabs.) > Good to know. I use vim and have it set to convert tabs to 2 space characters. A vim modeline at the end of the file would help other vim users to maintain correct indentation. Perhaps useful for another future patch. > 3. Changed the clip() function to check for both values > 255 and > values < 0. Removed the explicit check for < 0 from subtract(). > This reduces the potential for bugs. > Makes sense to me. The new patch is as follows. If you're happy to have your name on > it, let me know and I'll push it. > I didn't read it word for word, but based on your summaries, I'd be happy to see it in the official pcb repository :) Thanks for reviewing it. Ben --f46d04088c759e34c304c2767315 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
On Thu, Jun 14, 2012 at 2:41 PM, Andrew Poelstra= <as= p11 AT sfu DOT ca> wrote:
I have made the following changes to your patch:


=A01. Consolidated all 17 patches into one. They all fundamentally do
=A0 =A0 a single thing (add a color-changing feature), all affect the same=
=A0 =A0 source file, and the total diff is only ~300 lines. I think this i= s
=A0 =A0 reasonable.

=A0 =A0 The 17-patch version was over 1000 lines, and largely redundant. =A0 =A0 (For example, one patch introduced a compilation warning, which =A0 =A0 =A0the next patch got rid of.)

Makes sense. No one needs to see my intermediate, buggy commits.=A0
<= div>
=A02. Fixed whitespace. There should be no tabs in source files -- the
=A0 =A0 ones that are there were put in by errant tools, and represent
=A0 =A0 8 spaces. So if you're editing code with tabs in it, check tha= t
=A0 =A0 your editor has its tabstops set to 8 spaces, so that the spacing<= br> =A0 =A0 will look right on your machine.

=A0 =A0 (Or even better, submit a separate whitespace-fixing patch to get<= br> =A0 =A0 =A0rid of the tabs.)

Good to k= now. I use vim and have it set to convert tabs to 2 space characters. A vim= modeline at the end of the file would help other vim users to maintain cor= rect indentation. Perhaps useful for another future patch.
=A0
=A03. Changed the clip() function to check for both values > 255 and =A0 =A0 values < 0. Removed the explicit check for < 0 from subtract= ().
=A0 =A0 This reduces the potential for bugs.

Makes sense to me.=A0

The new patch is as follows. If you're happy to have your name on
it, let me know and I'll push it.

I= didn't read it word for word, but based on your summaries, I'd be = happy to see it in the official pcb repository :) =A0 Thanks for reviewing = it.

Ben
--f46d04088c759e34c304c2767315--