Re: [Kicad-developers] Arc Adjustment proposal

2019-07-10 Thread Jon Evans
(back on the internet, slowly reading more emails) I agree that the storage method should be changed. Thanks for taking this on, Seth. I am curious why start-midpoint-end is better than start-center-end, though. I think the latter is used more often in mcad tools, although I could be wrong. Havi

Re: [Kicad-developers] Arc Adjustment proposal

2019-07-11 Thread Jon Evans
I strongly disagree with this mindset. It feels like saying that because KiCad is currently bad at something, it should always be bad at something and users should just use a different tool because KiCad will never be good at it. If we have the developer interest to make KiCad good at drawing thing

Re: [Kicad-developers] PCBNew Find and "match words"

2019-07-26 Thread Jon Evans
Another way to solve this is the Google approach: match internal substrings unless you put the search term in "quotes" in which case only match complete words. On Fri, Jul 26, 2019 at 2:43 PM Kliment (Future Bits) wrote: > One issue I can think of offhand is that searching for "R2" would find >

Re: [Kicad-developers] KiCAD with MacOS Barely Usable

2017-09-01 Thread Jon Evans
Hi Andrey, Are you running the stable build or the nightlies? I'm also using 10.12 and while there are some issues, it is usable. I agree the zooming behavior is somewhat strange on Mac right now, but I don't have any issues with lag or the other things you describe (I'm using nightly builds). -

Re: [Kicad-developers] KiCAD with MacOS Barely Usable

2017-09-05 Thread Jon Evans
k, wait a few seconds then drag, if >> I don't wait and start dragging and release, the parts never get selected. >> >> On Fri, Sep 1, 2017 at 4:27 PM, Jon Evans wrote: >> >>> Hi Andrey, >>> >>> Are you running the stable build or the nightlies

Re: [Kicad-developers] KiCAD with MacOS Barely Usable

2017-09-05 Thread Jon Evans
ystem-related-issues/#_osx >> >> 2017-09-05 16:32 GMT+02:00 Jon Evans : >> >>> Hi Andrey, >>> >>> I tried to reproduce this and couldn't. I'm on 10.12.6, on a 2017 rMBP >>> with internal display and 2K external display (don't hav

[Kicad-developers] Mac questions: fast build and BRIGHT_BOX

2017-09-05 Thread Jon Evans
Hi Mac developers: 1) is there an easy way to quickly rebuild a single app and run it? I'm used to being able to do that on Linux, but it seems like I can't run apps out of the build directory on Mac (have to run "make install" which repackages all applications and is slow). 2) It seems like BRI

[Kicad-developers] [PATCH] Make BRIGHT_BOX line width dependent on zoom level

2017-09-05 Thread Jon Evans
Hi all, This patch is a quick one to make the line width of the BRIGHT_BOX dependent on the zoom level so that it remains basically the same apparent size on the screen. -Jon From fe5c8f7879c8c74ad67ea2c45a1945a9692150e7 Mon Sep 17 00:00:00 2001 From: Jon Evans Date: Tue, 5 Sep 2017 20:22:42

[Kicad-developers] [PATCH] Add support for panning with left and right mouse buttons

2017-09-05 Thread Jon Evans
-pan with the right button is a handy thing to enable in editing tools to make them usable when you don't have a middle button. -Jon From a8b785ab4657061ca9b0ab3ac29cda82e9530601 Mon Sep 17 00:00:00 2001 From: Jon Evans Date: Tue, 5 Sep 2017 21:28:01 -0400 Subject: [PATCH] Add support for pa

Re: [Kicad-developers] [PATCH] Make BRIGHT_BOX line width dependent on zoom level

2017-09-05 Thread Jon Evans
;) > > Something to consider. > > Cheers, > Oliver > > On 6 Sep 2017 10:25, "Jon Evans" wrote: > >> Hi all, >> >> This patch is a quick one to make the line width of the BRIGHT_BOX >> dependent

Re: [Kicad-developers] Mac questions: fast build and BRIGHT_BOX

2017-09-06 Thread Jon Evans
r from build/kicad… > > (2) Yes, just tried and I also don’t see it (if I tried correctly). > > > Regards, > Bernhard > > > On 5. Sep 2017, at 23:24, Jon Evans wrote: > > Hi Mac developers: > > 1) is there an easy way to quickly rebuild a single app and run

Re: [Kicad-developers] Mac questions: fast build and BRIGHT_BOX

2017-09-06 Thread Jon Evans
tinels. > > For instance, on Linux, GTK generates a lot of useless asserts with a lot > of applications > (noticeable when running this application from a console). > > They are not necessary a very annoying problem, but perhaps just need a > (minor) fix, but not > necessary inside

Re: [Kicad-developers] Mac questions: fast build and BRIGHT_BOX

2017-09-06 Thread Jon Evans
On Wed, Sep 6, 2017 at 2:04 PM, Jon Evans wrote: > These aren't just benign asserts, the actual function (copy version to > clipboard) doesn't work for me. > I tried on release build, and the function still doesn't work (shows a > popup error: "Failed to create th

Re: [Kicad-developers] A question about development environments for Kicad...

2017-09-07 Thread Jon Evans
On Linux you can run the binaries from the project directory (or at least, I can). So on my Linux machines I can build and debug individual parts . On MacOS I do have to run make install like you say, but then can debug things from my temporary install directory. What do you mean by edit interact

Re: [Kicad-developers] A question about development environments for Kicad...

2017-09-07 Thread Jon Evans
ood lightweight IDE > > but has very poor cmake support and CodeLight is only a bit better. > > > > As a side note, I am finally biting the bullet and trying to learn Emacs. > > Is anyone using it on the Kicad tree? Care to share a good cmake > .init.el > > file? &

[Kicad-developers] GerbView GAL

2017-09-09 Thread Jon Evans
Hi all, I've finally had time in the last few weeks to make more progress on GerbView GAL. While it's not perfect, I think it is far enough along to propose merging into the main repo, so that more people can start testing it and hopefully we can fix any bugs and perhaps get more people working o

Re: [Kicad-developers] New feature: support for Gerber job file.

2017-09-11 Thread Jon Evans
Yes this could be the case, and also for rigid-flex boards. I see from the spec that you already disclaim that the initial version of the job file will not work for these types of boards (Section 2, last few paragraphs) In the area I work, rigid-flex circuits are quite common (and I'm sure for al

Re: [Kicad-developers] GerbView GAL

2017-09-11 Thread Jon Evans
existing positive geometry. Then just pass the resulting geometry to the GAL to draw, rather than trying to add support to GAL for drawing "subtractively" like was done in wxDC. -Jon On Mon, Sep 11, 2017 at 2:44 PM, jp charras wrote: > Le 10/09/2017 à 02:42, Jon Evans a écrit

Re: [Kicad-developers] GerbView GAL

2017-09-11 Thread Jon Evans
; USE_WX_GRAPHICS_CONTEXT=OFF > USE_WX_OVERLAY=OFF > KICAD_SCRIPTING=ON > KICAD_SCRIPTING_MODULES=ON > KICAD_SCRIPTING_WXPYTHON=ON > KICAD_SCRIPTING_ACTION_MENU=OFF > BUILD_GITHUB_PLUGIN=ON > KICAD_USE_OCE=ON > KICAD_SPICE=ON > > > On Mon, Sep 11, 201

Re: [Kicad-developers] GerbView GAL

2017-09-11 Thread Jon Evans
Mon, Sep 11, 2017 at 5:16 PM, Jon Evans wrote: > HI Michael, > Thanks for the report, I will look in to this -- I suspect I broke the > drill display in a recent commit. > But, your attachment did not come through for me, it just shows an empty > zip file for me. > > Thanks,

Re: [Kicad-developers] GerbView GAL

2017-09-11 Thread Jon Evans
t;> >> >> On Mon, Sep 11, 2017 at 11:56 PM, Michael Geselbracht < >> mgeselbrac...@gmail.com> wrote: >> >>> Hi, >>> the build process is working right now. >>> In the meantime I recreated the zip file. Apparently I forgot the -r >>&

[Kicad-developers] [PATCH] Make RULER_ITEM generic

2017-09-11 Thread Jon Evans
Hi, Another in my series of patches leading up to GerbView GAL merge, this is a quick one to enable the ruler to work in GerbView. -Jon From 47dfc6081c8913c8aa8e48b1f2d1d004d750b741 Mon Sep 17 00:00:00 2001 From: Jon Evans Date: Mon, 11 Sep 2017 22:49:05 -0400 Subject: [PATCH] Make RULER_ITEM

[Kicad-developers] [PATCH] Don't force grid color to LAYER_GRID in EDA_DRAW_PANEL_GAL

2017-09-11 Thread Jon Evans
From: Jon Evans Date: Mon, 11 Sep 2017 23:00:41 -0400 Subject: [PATCH] Don't force grid color to LAYER_GRID in EDA_DRAW_PANEL_GAL --- common/draw_panel_gal.cpp | 3 --- pcbnew/class_pcb_layer_widget.cpp | 3 +++ pcbnew/pcbframe.cpp | 6 ++ 3 files changed, 9 inser

Re: [Kicad-developers] [PATCH] Add support for panning with left and right mouse buttons

2017-09-12 Thread Jon Evans
Bump, are any of the GAL developers around to review this? Thanks, Jon On Tue, Sep 5, 2017 at 9:31 PM, Jon Evans wrote: > Hi all, > > This patch extends the VIEW_CONTROLS to allow optional panning with left > or right buttons in addition to middle. I plan to make use of this in &g

Re: [Kicad-developers] [PATCH] Make BRIGHT_BOX line width dependent on zoom level

2017-09-12 Thread Jon Evans
Bump On Tue, Sep 5, 2017 at 10:21 PM, Jon Evans wrote: > OK, will wait to hear from Orson then. I did test and it seems to do what > I want on OpenGL + Cairo > > -Jon > > On Tue, Sep 5, 2017 at 10:03 PM, Oliver Walters < > oliver.henry.walt...@gmail.com> wrote: &g

[Kicad-developers] [PATCH] Improved zoom behavior on MacOS

2017-09-12 Thread Jon Evans
Hi, This patch changes the way middle wheel events are handled on MacOS. In my testing, this new behavior feels way better when using Apple trackpads, and also seems to work fine with the normal wheel on my external mouse. Mac users, I'd appreciate some testing to see if the behavior is worse tha

Re: [Kicad-developers] [PATCH] Improved zoom behavior on MacOS

2017-09-13 Thread Jon Evans
you resend? > > > Regards, > Bernhard > > > On 13. Sep 2017, at 11:09, Maciej Suminski > wrote: > > Hi Jon, > > The patch looks good to me. I am willing to merge it as soon as it > receives some positive feedback from the Mac users. > > Regards, > Orson > &

Re: [Kicad-developers] [PATCH] Add support for panning with left and right mouse buttons

2017-09-13 Thread Jon Evans
adding such setting, but does not it cause issues with > > right-click menus or left mouse button click actions? > > > > Regards, > > Orson > > > > On 09/06/2017 03:31 AM, Jon Evans wrote: > >> Hi all, > >> > >> This patch extends the

Re: [Kicad-developers] should we change control in 3d-viewer

2017-09-13 Thread Jon Evans
Jost posted about working on Space Navigator support back in May -- curious if that is going anywhere? -Jon On Wed, Sep 13, 2017 at 10:57 AM, Kevin Cozens wrote: > On 2017-08-28 09:54 AM, Mário Luzeiro wrote: > >> Hi liyoubdu, >> you are free to develop new ways of browsing the 3D board and sub

Re: [Kicad-developers] [PATCH] Add support for panning with left and right mouse buttons

2017-09-13 Thread Jon Evans
g panning with 2 fingers, it does not work on my Lenovo > laptop running windows 8. > Only zoom works, 2 finger up-down motion. > > On Wed, Sep 13, 2017 at 6:53 AM, Jon Evans wrote: > >> Hi Orson and Bernhard, >> >> 1) If the left-click pan setting is enabled,

Re: [Kicad-developers] 1: GAL Bug with Window Buttons

2017-09-13 Thread Jon Evans
The scrollbars are also disabled on MacOS in the code (for reasons I don't know) -- is there a bug in LP for this already? I couldn't find one with a quick search. On Wed, Sep 13, 2017 at 1:37 PM, Andrey Kuznetsov wrote: > Same thing here: > > Application: kicad > Version: (2017-09-07 revision

Re: [Kicad-developers] 1: GAL Bug with Window Buttons

2017-09-13 Thread Jon Evans
they are not shown for MacOS. > I tried to get them working long ago, but didn’t succeed. > However, this might just have been due to my inability… :) > > > Regards, > Bernhard > > On 13. Sep 2017, at 21:54, Jon Evans wrote: > > The scrollbars are also disabled on Ma

[Kicad-developers] [PATCH] Set modified flag when changing layer visibility (lp:793420)

2017-09-13 Thread Jon Evans
Hi, This is a partial fix for https://bugs.launchpad.net/kicad/+bug/793420 -- addresses the issue that layer visibility changes don't mark the board as needing a save. -Jon From ee6434e5691fc6f3be88cbce657dde99c3f33990 Mon Sep 17 00:00:00 2001 From: Jon Evans Date: Wed, 13 Sep 2017 22:

[Kicad-developers] [PATCH] Fix scrollbars in macOS GAL canvases

2017-09-14 Thread Jon Evans
Hi, This patch fixes the issue with scrollbars not working on macOS. The scrollbars were hidden because the GAL was rendering over the entire size of the draw_panel, not the client size (i.e. area minus scrollbar size, etc). Please give this a check on Windows/Linux to make sure it still works t

Re: [Kicad-developers] [PATCH] Make BRIGHT_BOX line width dependent on zoom level

2017-09-15 Thread Jon Evans
on this patch. > > IIRC he said he would look into it when he had time. Perhaps he has not > had time ;) > > Something to consider. > > Cheers, > Oliver > > On 6 Sep 2017 10:25, "Jon Evans" wrote: > >> Hi all, >> >> This patch is a quick o

Re: [Kicad-developers] [PATCH] Make BRIGHT_BOX line width dependent on zoom level

2017-09-15 Thread Jon Evans
t I am stuck with a few visual artifacts I could not fix > easily. > > Regards, > Orson > > On 09/06/2017 02:24 AM, Jon Evans wrote: > > Hi all, > > > > This patch is a quick one to make the line width of the BRIGHT_BOX > > depend

Re: [Kicad-developers] [PATCH] GerbView GAL support

2017-09-17 Thread Jon Evans
One follow-on patch attached after I realized that a fix hadn't made its way in. -Jon On Sun, Sep 17, 2017 at 6:47 PM, Jon Evans wrote: > Hi all, > > The day has finally come! I have distilled my GerbView GAL branch into a > patchset attached to this email. Hopefully with

Re: [Kicad-developers] Need testers (especially on OSX) for this patch.

2017-09-18 Thread Jon Evans
Hi JP, works well for me on macOS 10.12. Arrow keys do nothing in GerbView and move the cursor around in footprint editor as expected. Thanks Jon On Mon, Sep 18, 2017 at 7:08 AM, jp charras wrote: > Hi All, > > I am trying to fix an issue in GAL mode. > It is related to "special keys": > ARROW

Re: [Kicad-developers] Questions regarding .sweet format

2017-09-18 Thread Jon Evans
Having tokens with state also means you can tell if the parent doesn't have the token for some reason (i.e. maybe a new token has been added and you are migrating a file to the new format version) vs. if the parent just has the parameter set to false. On Mon, Sep 18, 2017 at 10:36 AM, Kristoffer Ö

Re: [Kicad-developers] [PATCH] GerbView GAL support

2017-09-18 Thread Jon Evans
While I'm waiting for review I made another small fix On Sun, Sep 17, 2017 at 9:04 PM, Jon Evans wrote: > One follow-on patch attached after I realized that a fix hadn't made its > way in. > -Jon > > On Sun, Sep 17, 2017 at 6:47 PM, Jon Evans wrote: > >> Hi a

Re: [Kicad-developers] [PATCH] Make BRIGHT_BOX line width dependent on zoom level

2017-09-18 Thread Jon Evans
etter way to temporarily have an item rendered on another layer? -Jon On Fri, Sep 15, 2017 at 3:21 PM, Maciej Suminski wrote: > On 09/15/2017 09:09 PM, Jon Evans wrote: > > Hi Orson, > > > > I understand your concern; I will back out this patch and look at other > >

[Kicad-developers] Live zone filling

2017-09-18 Thread Jon Evans
Hi all, I've been wanting to take a look at live zone filling, as it's a really useful feature that some professional EDA tools have. If zones refill in real time as you move things around, it's easy to make sure you leave enough space for your fill to succeed. I made a quick patch to pcbnew sho

Re: [Kicad-developers] [PATCH] GerbView GAL support

2017-09-19 Thread Jon Evans
Hi Simon, Looks like I attached the wrong 0001 patch in the original email, please use the one in this email. Thanks, Jon On Tue, Sep 19, 2017 at 8:42 AM, Simon Richter wrote: > Hi Jon, > > On 19.09.2017 00:55, Jon Evans wrote: > > > While I'm waiting for review I

Re: [Kicad-developers] Live zone filling

2017-09-19 Thread Jon Evans
ic >> plane generation: >> https://www.youtube.com/watch?v=n6TskayF1Oc >> >> I would be glad to test these things in Kicad... >> >> Regards, >> >> Clemens >> >> >> On 2017-09-19 02:18, Jon Evans wrote: >> > Hi all, >> > >> &g

Re: [Kicad-developers] Live zone filling

2017-09-19 Thread Jon Evans
> However i do not know if the KiCad sources allow this kind of > > multithreading. > > Multi-threading inside context switching. That could be interesting! > > > > > Best Regards > > > > > > Am 2017-09-19 15:26, schrieb Jon Evans: > >> Yes, I us

Re: [Kicad-developers] Live zone filling

2017-09-19 Thread Jon Evans
" wrote: > On 2017-09-19 15:59, Jon Evans wrote: > > What I want to investigate first is how difficult it would be to > subdivide a zone into chunks that can be generated independently. If this > is done, than the chunks can be done one after the other in a > single-threaded

Re: [Kicad-developers] Live zone filling

2017-09-19 Thread Jon Evans
since the data is not yet committed to the board. For a real implementation we would have to look at better ways of doing this. Thanks, Jon On Tue, Sep 19, 2017 at 12:24 PM, Tomasz Wlostowski < tomasz.wlostow...@cern.ch> wrote: > On 19.09.2017 15:26, Jon Evans wrote: > > Yes, I us

Re: [Kicad-developers] Live zone filling

2017-09-19 Thread Jon Evans
t and a board went to production with a nonfunctional ground pour -_-) > > On Tue, Sep 19, 2017 at 12:51 PM, Kevin Cozens wrote: > >> On 2017-09-19 01:08 PM, Jon Evans wrote: >> >>> Thanks for the detailed feedback. I was definitely thinking of this as a >>>

Re: [Kicad-developers] [PATCH] GerbView GAL support

2017-09-20 Thread Jon Evans
temporary VIEW_GROUP object containing the selection candidate. > This way it can be temporarily displayed on the overlay layer, without > modifying the original ViewGetLayer() methods. > > Regards, > Orson > > 1. https://code.launchpad.net/~orsonmmz/kicad/+git/kicad/+ref/gerbvi

Re: [Kicad-developers] [PATCH] GerbView GAL support

2017-09-20 Thread Jon Evans
Hi Orson, Give this a shot in your branch. It should work in pcbnew also now. -Jon On Wed, Sep 20, 2017 at 9:28 AM, Jon Evans wrote: > Hi Orson, > > Thank you for staging this for merge on your branch. I checked and you do > have all the patches. > > 1) Yes I planned

Re: [Kicad-developers] [PATCH] GerbView GAL support

2017-09-21 Thread Jon Evans
t; the gerbview_gal branch. I am going to wait one more day for vetos and >> tomorrow I will push it to the master branch. >> >> Regards, >> Orson >> >> On 09/20/2017 09:57 PM, Jon Evans wrote: >> > Hi Orson, >> > >> > Give

Re: [Kicad-developers] GitHub Plugin (my nemesis)

2017-09-21 Thread Jon Evans
I think it would make the most sense to do option (a), possibly also leaving open the possibility of changing the updates source location (for example, it's conceivable to have a mirror server at kicad-pcb.org that contains snapshots of the libraries that are compiled from the Git repo whenever it'

Re: [Kicad-developers] [PATCH] GerbView GAL support

2017-09-21 Thread Jon Evans
rand wrote: > Hi Jon- > > Sorry, my wording was bad. This is not a merging show-stopper. Legacy > use is unaffected. > > Best- > Seth > > On Thu, Sep 21, 2017 at 11:55 AM, Jon Evans wrote: > >> Hi Seth, >> >> Thanks for reporting and providing

Re: [Kicad-developers] Question : ZONE_CONTAINER

2017-09-21 Thread Jon Evans
pcb_painter.cpp:1085 void PCB_PAINTER::draw( const ZONE_CONTAINER* aZone ) On Thu, Sep 21, 2017 at 11:27 PM, Oliver Walters < oliver.henry.walt...@gmail.com> wrote: > I'm looking for where ZONE_CONTAINER is drawn in GAL? In legacy it is > handled in class_zone.cpp but I can't find where it's bein

Re: [Kicad-developers] [PATCH] GerbView GAL support

2017-09-24 Thread Jon Evans
gt; > Wayne > > > > On 9/21/2017 6:05 AM, Maciej Sumiński wrote: > >> Hi Jon, > >> > >> Thanks you, this is really cool! Now it is even more tempting to merge > >> the gerbview_gal branch. I am going to wait one more day for vetos and > >> t

Re: [Kicad-developers] [PATCH] Multilayer keepout zones

2017-09-25 Thread Jon Evans
Nice job Oliver. This is a great feature and your plan to add keepout support to footprints is also a good thing. I tried it out on my MacOS machine and found an issue I think -- after deleting a keepout, I filled zones again and the fill is still avoiding the keepout shape after deletion -- not

Re: [Kicad-developers] [PATCH] GerbView GAL support

2017-09-25 Thread Jon Evans
epending on the zoom level. It is done the same > way e.g. for track net labels. > > Regards, > Orson > > On 09/25/2017 03:26 AM, Jon Evans wrote: > > Hi Orson, Tom, > > > > Thanks for the tips. I eventually did figure out what was going on -- > >

Re: [Kicad-developers] [PATCH] Multilayer keepout zones

2017-09-26 Thread Jon Evans
Hi Oliver, Your recent changes do fix the issue I saw, thanks. -Jon On Tue, Sep 26, 2017 at 7:47 AM, Wayne Stambaugh wrote: > Oliver, > > Thanks for making the changes. > > JP, > > Would you please take a look at this patch set when you get a chance. > You are more familiar with the board zone

Re: [Kicad-developers] [PATCH] Clean up unused junctions

2017-09-26 Thread Jon Evans
Hi Seth, Neat feature! I just checked this out and it does seem to work in most cases. There seem to be some situations where it doesn't remove junctions in my existing schematics -- when I use "delete connection" it works, but when I use "delete wire" it only works some of the time. I haven't l

Re: [Kicad-developers] [PATCH] GerbView GAL support

2017-09-26 Thread Jon Evans
Thanks Oliver! I have to admit, part of why I took on this project was to learn about the GAL things so that I can be of assistance for the eeschema port :-) I definitely plan to help with that, but I have some other things to work on in the short term (and want to make sure everything is working

Re: [Kicad-developers] latest GerbView doesn't display test file

2017-09-28 Thread Jon Evans
Perhaps another route is to improve the messaging given to the user in these cases, so that it's easy for them to correct the file / report an issue to their tool vendor? On Thu, Sep 28, 2017 at 11:53 AM, Wayne Stambaugh wrote: > On 9/28/2017 10:32 AM, jp charras wrote: > > Le 28/09/2017 à 16:13

[Kicad-developers] [PATCH] Use wxImage instead of wxBitmap in COLOR4D picker (Fixes LP:1718389)

2017-09-28 Thread Jon Evans
Hi all, The COLOR4D_PICKER_DLG has not been working on macOS [1]. Through some experimentation, I found that drawing to a wxBitmap in createRGBBitmap() / createHSVBitmap() just doesn't work on macOS. I am not sure how to fix it, but I did find out that drawing to a wxImage works just fine, so in

Re: [Kicad-developers] [PATCH] Use wxImage instead of wxBitmap in COLOR4D picker (Fixes LP:1718389)

2017-09-29 Thread Jon Evans
t; > macOS is actually the only platform where the color picker behaves > correctly XD. Ubuntu Unity and Windows seem to just ignore the alpha > channel (did not test on any other platforms). > > > > > On 29 September 2017 at 10:59:03, jp charras (jp.char...@wanadoo.fr) > wr

Re: [Kicad-developers] [PATCH] Set color picker color alpha channel to 1

2017-09-29 Thread Jon Evans
KiCad recently (early 2017) moved from indexed color to full RGBA color, and I picked the COLOR4D struct to do that because it was already in use elsewhere for the 3D viewer (probably because OpenGL uses floating point color). It's kind of an arbitrary choice because any integer mapping can be con

[Kicad-developers] Color issues before V5

2017-10-02 Thread Jon Evans
Hi all, I'm currently working on refactoring SELECTION_TOOL to share code between GerbView and Pcbnew, but I also want to know about any issues with the new color options so that I can try to spend some time improving things before V5. I know about these ones: https://bugs.launchpad.net/kicad/+bu

[Kicad-developers] [PATCH] Fix arc drawing algorithm in GerbView GAL (Fixes lp:1720384)

2017-10-25 Thread Jon Evans
:00 2001 From: Jon Evans Date: Wed, 25 Oct 2017 23:30:25 -0400 Subject: [PATCH] Fix arc drawing algorithm in GerbView GAL (Fixes lp:1720384) --- gerbview/gerbview_painter.cpp | 24 1 file changed, 16 insertions(+), 8 deletions(-) diff --git a/gerbview

Re: [Kicad-developers] [PATCH] Eeschema automatic manage junctions

2017-11-03 Thread Jon Evans
I looked at fixing this and some other related things, and decided to just wait for the GAL port. There will need to be huge refactoring of the eeschema draw code as part of that effort, so putting much effort into making the wxDC drawing better seems not worth it. -Jon On Nov 3, 2017 00:08, "Kev

Re: [Kicad-developers] [PATCH] GerbView GAL support

2017-11-05 Thread Jon Evans
KICAD_SCRIPTING_MODULES=ON >> KICAD_SCRIPTING_WXPYTHON=ON >> KICAD_SCRIPTING_ACTION_MENU=ON >> BUILD_GITHUB_PLUGIN=ON >> KICAD_USE_OCE=ON >> KICAD_SPICE=ON >> >> >> 2017-09-27 <20%2017%2009%2027> 5:36 GMT+02:00 Jon Evans <

[Kicad-developers] [PATCH] Fix aperture macro hit testing (Fixes lp:1730249)

2017-11-11 Thread Jon Evans
Hi all, This patch fixes a bug reported by Nick in GerbView GAL, where aperture macro hit testing wasn't quite right. https://bugs.launchpad.net/kicad/+bug/1730249 -Jon From 2e20fe8d6130d9531ce99bb432e4f9cfce61e589 Mon Sep 17 00:00:00 2001 From: Jon Evans Date: Sat, 11 Nov 2017 17:20:19

[Kicad-developers] Assertion in dialog_symbol_remap in latest master

2017-11-13 Thread Jon Evans
Hi Wayne, I just pulled in your recent changes and got a series of assertions when trying to remap the symbol table. I just ignored them and it seemed to work, but something is strange here: ../../eeschema/dialogs/dialog_symbol_remap.cpp(306): assert "aPathA.IsAbsolute()" failed in normalizeAbso

[Kicad-developers] Eeschema relative file handling

2017-11-13 Thread Jon Evans
I noticed that when I run eeschema as a single binary rather than starting through the kicad shell, I cannot pass a relative filename as the argument (single_top.cpp passes the argument straight through to SCH_EDIT_FRAME::OpenProjectFiles(), which asserts when given a relative path). Is this behav

Re: [Kicad-developers] Assertion in dialog_symbol_remap in latest master

2017-11-14 Thread Jon Evans
.com/KiCad. It should be point to where the default kicad > symbol libraries are install. > > Thanks, > > Wayne > > On 11/13/2017 9:30 PM, Jon Evans wrote: > > Hi Wayne, > > > > I just pulled in your recent changes and got a series of assertions when > >

[Kicad-developers] Eeschema connectivity storage

2017-11-16 Thread Jon Evans
Hi Wayne, JP, and others with lots of Eeschema knowledge, I am working on a set of features to expand the capabilities of buses in Eeschema (more details soon, but in short, extending the concept of a bus beyond just a vector of signals with the same prefix, to an arbitrary grouping of signals).

[Kicad-developers] [PATCH] Gerbview: apply layer colors to GAL after sorting (Fixes lp:1720540)

2017-11-26 Thread Jon Evans
Hi all, This patch fixes this issue with X2 layer sorting feature in the GAL canvas: https://bugs.launchpad.net/kicad/+bug/1720540 Best, Jon From db967d279e5ab12cd3b71b2d28c466a0a5ad1758 Mon Sep 17 00:00:00 2001 From: Jon Evans Date: Sun, 26 Nov 2017 19:02:35 -0500 Subject: [PATCH] Gerbview

[Kicad-developers] [PATCH] Reset tool transitions even when already active (Fixes lp:1733224)

2017-11-26 Thread Jon Evans
son why it was not done this way. Thanks, Jon From 78c1922d39172082ca54b50af4d027790e24db31 Mon Sep 17 00:00:00 2001 From: Jon Evans Date: Sun, 26 Nov 2017 20:21:00 -0500 Subject: [PATCH] Reset tool transitions even when already active (Fixes lp:1733224) --- common/tool/tool_manager.cpp | 6 +++-

[Kicad-developers] [PATCH] Allow changing LAYER_PADS color and visibility (Fixes lp:1672646)

2017-11-27 Thread Jon Evans
Hi all, This adds LAYER_PADS to the render settings that are accessible to the user, meaning you can change the color or hide this layer now. Best, Jon From f4fe87ffcbfaed7a0a23cba54d3e126dfe5c Mon Sep 17 00:00:00 2001 From: Jon Evans Date: Mon, 27 Nov 2017 20:20:00 -0500 Subject: [PATCH

[Kicad-developers] [PATCH] Show message panel info for highlighted net in GAL (Fixes lp:1518626)

2017-11-27 Thread Jon Evans
Hi all, Another quick fix for a behavior difference between GAL and legacy. -Jon From b293e78f3a67a4ffaf86a3834c8cf9c24a23471e Mon Sep 17 00:00:00 2001 From: Jon Evans Date: Mon, 27 Nov 2017 21:07:59 -0500 Subject: [PATCH] Show message panel info for highlighted net in GAL (Fixes lp:1518626

[Kicad-developers] [PATCH] Preserve color scheme when switching to legacy (Fixes lp:1670669)

2017-11-27 Thread Jon Evans
d from the COLORS_DESIGN_SETTINGS as "legacy safe" while preserving the underlying colors. -Jon From f5ce890d7538aeaafb3bfde19eae71e933ed7616 Mon Sep 17 00:00:00 2001 From: Jon Evans Date: Mon, 27 Nov 2017 22:12:31 -0500 Subject: [PATCH] Preserve color scheme when switching to legacy (Fixes lp:1670669)

Re: [Kicad-developers] Update of KiCad documentation?

2017-11-28 Thread Jon Evans
So, since this commit message method won't work for all the existing commits, where should we start to collect a list of features/changes from 4.0? If the doc repository is a good place for this, I can start something there and send a patch. It looks like changelogs are not currently part of the do

Re: [Kicad-developers] Update of KiCad documentation?

2017-11-28 Thread Jon Evans
release note. If there are specific things that > > needs to be updated in the docs, please create a pull request and/or > > report an issue on the doc repo. > > > > 2017-11-28 17:24 GMT+01:00 Jon Evans > <mailto:j...@craftyjon.com>>: > > > > S

Re: [Kicad-developers] [PATCH] Eeschema automatic manage junctions

2017-11-28 Thread Jon Evans
n > > >> > > >> 1. > > >> https://launchpadlibrarian.net/213748651/KICAD%20-%20BUG% > > <https://launchpadlibrarian.net/213748651/KICAD%20-%20BUG%> > > >> 20REPORT%20-%20EESCHEMA%20-%20SOME%20DRAG%20ISSUES.jpg > > &g

[Kicad-developers] [PATCH] Fix DRC marker drawing in Cairo and color in hover state

2017-11-28 Thread Jon Evans
Hi all, I started working on [1] but haven't solved it yet. I did fix a few minor bugs discovered along the way, in the attached patch. The polygon wasn't closed, so weird draw artifacts appear in Cairo, and the color was not being taken from the color settings class, so the markers were not bei

[Kicad-developers] [PATCH] Add DRC items when reloading board view (Fixes lp:1542420)

2017-11-28 Thread Jon Evans
a bit more effort than necessary right before release. -Jon From ead8fbb2cddbb85a6151a4fec276839bf3f749db Mon Sep 17 00:00:00 2001 From: Jon Evans Date: Tue, 28 Nov 2017 21:57:28 -0500 Subject: [PATCH] Add DRC items when reloading board view (Fixes lp:1542420) --- pcbnew/pcb_draw_panel_ga

Re: [Kicad-developers] [PATCH] Fix DRC marker drawing in Cairo and color in hover state

2017-11-29 Thread Jon Evans
Oops, attached! On Wed, Nov 29, 2017 at 4:27 AM, Nick Østergaard wrote: > No patch is attached to this email. > > Den 29. nov. 2017 4.00 AM skrev "Jon Evans" : > >> Hi all, >> >> I started working on [1] but haven't solved it yet. I did fix a few &

Re: [Kicad-developers] [PATCH] Fix DRC marker drawing in Cairo and color in hover state

2017-11-29 Thread Jon Evans
FYI, this patch can be ignored, I inadvertently rolled it up with the other patch that JP has already committed, so all fixes are now in. -Jon On Wed, Nov 29, 2017 at 7:19 AM, Jon Evans wrote: > Oops, attached! > > On Wed, Nov 29, 2017 at 4:27 AM, Nick Østergaard > wrote: >

Re: [Kicad-developers] Signal integrity simulation within Kicad

2017-11-29 Thread Jon Evans
Hi Andreas, This is a neat idea! It would be great to have a nice open-source tool for this, as all of the useful ones today are very expensive and proprietary. As far as I know (others please correct me if I am wrong), there isn't currently any functionality to generate polygons from the entire

[Kicad-developers] [PATCH] Restore "Flip Board" checkbox state when switching canvases

2017-11-29 Thread Jon Evans
Another quick bug fix -Jon From 1b44ddc372d1bafba7e0132a04d09eadf5bdb449 Mon Sep 17 00:00:00 2001 From: Jon Evans Date: Wed, 29 Nov 2017 20:58:47 -0500 Subject: [PATCH] Restore "Flip Board" checkbox state when switching canvases Fixes: lp:1733936 * https://bugs.launchpad.net/kicad/+b

Re: [Kicad-developers] [PATCH] Eeschema wire/bus selection logic

2017-11-30 Thread Jon Evans
Gave this a shot, I like this logic, thanks! On Thu, Nov 30, 2017 at 8:55 PM, Seth Hillbrand wrote: > ​Attached is a patch to correct the wire/bus connection logic. Currently, > Eeschema will register wires and busses as being connected if their > endpoints touch. They will drag together and t

Re: [Kicad-developers] COMPONENT_TREE performance

2017-12-04 Thread Jon Evans
I've got some experience with Qt and would be willing to help out with investigating this at some point. My only experience with wx is with kicad, and it seems to have many more problems than Qt... On the other hand, I disagree with the suggestion that Electron would be a good path for KiCad, eve

Re: [Kicad-developers] COMPONENT_TREE performance

2017-12-04 Thread Jon Evans
I think the huge amount of programming effort is the main roadblock, but maybe Wayne et. al. have other thoughts. The roadmap might look something like this: 1) Enable printing without wx (using cairo) 2) Finish porting any remaining features to GAL for PcbNew and GerbView -> Remove legacy canvas

Re: [Kicad-developers] COMPONENT_TREE performance

2017-12-04 Thread Jon Evans
wrote: > On 04/12/17 19:23, Jon Evans wrote: > > It's probably a good idea to implement a "toolkit abstraction layer" if > > we ever go down this road, so that we wouldn't have to do it *again* if > > we ever switch again. > > This is the very p

Re: [Kicad-developers] Signal integrity simulation within Kicad

2017-12-05 Thread Jon Evans
Hi Andreas, For (1), I will defer to others who know more about this, I seem to remember a conversation about this a while ago on the mailing list, with the conclusion being that it is indeed hard to be notified when BOARD changes, and fixing this could be a bit of work. For (2), the PCB_BASE_FRA

Re: [Kicad-developers] Signal integrity simulation within Kicad

2017-12-06 Thread Jon Evans
t all features have been implemented in the GAL canvases yet. Best, Jon On Wed, Dec 6, 2017 at 12:38 PM, Andreas Buhr wrote: > Hi Jon, > > thanks a lot for your help. > > On 12/05/2017 03:51 PM, Jon Evans wrote: > > For (2), the PCB_BASE_FRAME methods are for the legacy canvas, so

[Kicad-developers] [PATCH] Remove LAYER_WORKSHEET from forced visibility since it now has a control

2017-12-09 Thread Jon Evans
Fixes: https://bugs.launchpad.net/kicad/+bug/1737315 -Jon From 5929f906aee2d5d7cf3b98add4efb0705e3b7782 Mon Sep 17 00:00:00 2001 From: Jon Evans Date: Sat, 9 Dec 2017 13:07:51 -0500 Subject: [PATCH] Remove LAYER_WORKSHEET from forced visibility since it now has a control Fixes: lp:1737315

[Kicad-developers] [PATCH] Use explicit shift in hotkeys instead of mixed-case characters

2017-12-09 Thread Jon Evans
A minor fix due to how wxWidgets parses menu items. Fixes: https://bugs.launchpad.net/kicad/+bug/1737303 -Jon From 73d759dbcb406ce31077e85e486e07d816ed9ca4 Mon Sep 17 00:00:00 2001 From: Jon Evans Date: Sat, 9 Dec 2017 13:36:23 -0500 Subject: [PATCH] Use explicit shift in hotkeys instead of

[Kicad-developers] [PATCH] Fix AlignLeft / AlignRight when using Flip Board view

2017-12-09 Thread Jon Evans
ually want this to work, i.e. maybe having a separate "view coordinate system" and "edit coordinate system" so that the tools don't have to worry about whether or not the view is mirrored. -Jon From 94f5acd881c04c49ed5eafd8bfd0fab37e89abf3 Mon Sep 17 00:00:00 2001 From: Jon Ev

[Kicad-developers] Joining buses with junctions behavior

2017-12-10 Thread Jon Evans
Hi all, As I am working on bus features I have dived into all the ways you can use buses (that I haven't always known about myself). One thing I noticed was an example given on the docs: http://docs.kicad-pcb.org/stable/en/eeschema.html#wires-buses-labels-power-ports Under "Global connections be

[Kicad-developers] [PATCH] Remove outdated check on endAngle to fix GerbView arc draw direction

2017-12-10 Thread Jon Evans
Hi all, Quick fix for an arc drawing path that still had some wrong logic in it. -Jon From 318991f7202e42af73367be7f3ba4bf872efd4ce Mon Sep 17 00:00:00 2001 From: Jon Evans Date: Sun, 10 Dec 2017 13:35:00 -0500 Subject: [PATCH] Remove outdated check on endAngle to fix arc draw direction Fixes

Re: [Kicad-developers] Joining buses with junctions behavior

2017-12-11 Thread Jon Evans
to be a junction. > > > > -S > > > > On Sun, Dec 10, 2017 at 8:09 AM, Jon Evans wrote: > > > >> Hi all, > >> > >> As I am working on bus features I have dived into all the ways you can > use > >> buses (that I haven't always

Re: [Kicad-developers] Joining buses with junctions behavior

2017-12-12 Thread Jon Evans
It seems crazy to me too, but I guess we can't remove support for it because someone out there is probably relying on it... On Tue, Dec 12, 2017 at 1:33 PM, Andy Peters wrote: > > > > On Dec 10, 2017, at 9:09 AM, Jon Evans wrote: > > > > Hi all, > > > &g

<    2   3   4   5   6   7   8   9   >