Re: [Kicad-developers] Build error on MSVC

2017-09-19 Thread Maciej Sumiński
Merged, thank you Simon! Regards, Orson On 09/19/2017 09:14 PM, Simon Richter wrote: > Hi, > > I'm getting a compile error on MSVC: > > eeschema\lib_pin.cpp(588): error C2228: left of '.utf8_str' must have > class/struct/union > > I can't prove easily whether this code is legal or illegal acco

Re: [Kicad-developers] wxAuiNotebook vs. wxNotebook

2017-09-19 Thread jp charras
Le 19/09/2017 à 20:28, Michael Kavanagh a écrit : > In that case since I don't see why the Aui features are needed in the About > dialog I submit this > patch for review. I have only tested on Windows 10 so it should be tested on > macOS etc. before merging. > > Regards, > Michael What is the

[Kicad-developers] Build error on MSVC

2017-09-19 Thread Simon Richter
Hi, I'm getting a compile error on MSVC: eeschema\lib_pin.cpp(588): error C2228: left of '.utf8_str' must have class/struct/union I can't prove easily whether this code is legal or illegal according to the C++ specification, which is probably a good reason to change it. Simon From ce1b884ac0

Re: [Kicad-developers] Live zone filling

2017-09-19 Thread Jon Evans
There can also be very good reasons to want to generate isolated copper islands :-) I guess there was recently a debate about this on this email list. It should be an option on a per-zone basis IMHO, although I'm fine with it being disabled by default. You are right that if island generation is n

Re: [Kicad-developers] Live zone filling

2017-09-19 Thread José Ignacio
If your traces "choke" a zone out so that it can't fill the other side it may affect a very large area of the board. And it is the kind of thing you'd like to watch out for when you're moving traces around. For very good reasons Kicad will not fill isolated islands of copper if there is no direct c

Re: [Kicad-developers] Live zone filling

2017-09-19 Thread Kevin Cozens
On 2017-09-19 01:08 PM, Jon Evans wrote: Thanks for the detailed feedback. I was definitely thinking of this as a long-term (post 5.0) project. I will take a look at the various aspects you mention and come back with a more detailed proposal. Live update of zone fills in the PNS router would

Re: [Kicad-developers] wxAuiNotebook vs. wxNotebook

2017-09-19 Thread Greg Smith
I'm docking wx windows created in Python. Please don't take that away at least for the windows that make sense. Right now, I am a child to Pcbnew and dock to Pcbnew's manager, but I suspect there's a lower level one that is better for LayerViewSet. And perhaps KiCommand as well. The current issu

Re: [Kicad-developers] Live zone filling

2017-09-19 Thread Jon Evans
Hi Tom, Thanks for the detailed feedback. I was definitely thinking of this as a long-term (post 5.0) project. I will take a look at the various aspects you mention and come back with a more detailed proposal. Regarding DRC, are you the person in the best place to start that specification/discus

Re: [Kicad-developers] wxAuiNotebook vs. wxNotebook

2017-09-19 Thread Wayne Stambaugh
The thought was at some point we would switch over to wxAuiManager[1] to handle all window management. That never happened because wxAui has not proven to be reliable enough to convert everything over to it. Hopefully at some point this will happen as it pulls in some nice features such as dockabl

Re: [Kicad-developers] [PATCH] Change default grid size to match KLC in LIBEDIT

2017-09-19 Thread Vesa Solonen
jp charras kirjoitti 19/09/17 klo 10:47: > Le 18/09/2017 à 23:15, Oliver Walters a écrit : >> 100mil is very coarse for elements other than pins to be placed. I think >> there are cases where we >> need to change code to match KLC but I don't think this is necessarily one >> of them.  >> >> 50mil

Re: [Kicad-developers] wxAuiNotebook vs. wxNotebook

2017-09-19 Thread Michael Kavanagh
Updated screenshot attached including the icons. Regards, Michael On 19 September 2017 at 17:27, Greg Smith wrote: > I think the main difference is in the ability to be a dock for other > panels. > > https://wiki.wxpython.org/AuiNotebook%20%28AGW%29 > > "Advanced User Interface (AUI) that provi

[Kicad-developers] File format version increment

2017-09-19 Thread Maciej Sumiński
For your information: support for long pad and pin names has been just merged. As the change affects both eeschema and pcbnew, and may result in files that are not loaded correctly with older versions - the file format versions had to be incremented. Regards, Orson signature.asc Description: Op

Re: [Kicad-developers] wxAuiNotebook vs. wxNotebook

2017-09-19 Thread Greg Smith
I think the main difference is in the ability to be a dock for other panels. https://wiki.wxpython.org/AuiNotebook%20%28AGW%29 "Advanced User Interface (AUI) that provides perspective saving, floating sub-windows that can be docked, customizable look and feel and the splittable AUI Notebook."

Re: [Kicad-developers] Live zone filling

2017-09-19 Thread Tomasz Wlostowski
On 19.09.2017 15:26, Jon Evans wrote: > Yes, I used Xpedition in a past life and one of my missions is to bring > some of its cool features to KiCad :-) > > JP, I will do some tests on more complex boards and look in to possible > solutions. > I think this is quite a big challenge but want to take

[Kicad-developers] wxAuiNotebook vs. wxNotebook

2017-09-19 Thread Michael Kavanagh
Hi, Is there any reason why wxAuiNotebook is used in some cases instead of wxNotebook which uses native widgets? I have attached screenshots of the different appearances on Windows. I can send some patches changing some over to wxNotebook if this is acceptable. For the About dialog at least it se

Re: [Kicad-developers] KiCad Libraries (again)

2017-09-19 Thread Wayne Stambaugh
On 9/19/2017 10:35 AM, José Ignacio wrote: > > > On Mon, Sep 18, 2017 at 7:52 PM, Rene Pöschl > wrote: > > > > On 19 Sep 2017 2:05 am, "José Ignacio" > wrote: > > Probably, contributors would need to agree to be attrib

Re: [Kicad-developers] Live zone filling

2017-09-19 Thread Maciej Suminski
You may consider to launch a timer to interrupt zone refill operation if it takes too long. The same technique is done to avoid lags during ratsnest calculation for dragged components. It is recalculated when the user stops dragging the components for a moment. Regards, Orson On 09/19/2017 03:26

Re: [Kicad-developers] Live zone filling

2017-09-19 Thread Jon Evans
I don't think it's an either/or, I think you do both in an ideal world: mark parts dirty, and regenerate in another thread. This will also allow live recheck of DRC to be sped up by only rechecking objects that have been marked dirty. -Jon On Sep 19, 2017 11:01, "Clemens Koller" wrote: > On 201

Re: [Kicad-developers] Live zone filling

2017-09-19 Thread Clemens Koller
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 world, or > split up between threa

Re: [Kicad-developers] KiCad Libraries (again)

2017-09-19 Thread José Ignacio
On Mon, Sep 18, 2017 at 7:52 PM, Rene Pöschl wrote: > > > On 19 Sep 2017 2:05 am, "José Ignacio" wrote: > > Probably, contributors would need to agree to be attributed as a group > when the work is embedded in a design (When the library is distributed in > whole or part they should get attribute

Re: [Kicad-developers] Live zone filling

2017-09-19 Thread Jon Evans
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 world, or split up between threads if threading is possible. But, the key advant

Re: [Kicad-developers] Live zone filling

2017-09-19 Thread Wayne Stambaugh
On 9/19/2017 9:53 AM, Simon Küppers wrote: > I agree with JP, however I see a chance for KiCad, where this feature > might work better than in other EDA packages. > I think the only way to get this feature to perform well is to use all > available processor cores. > Maybe it is enough to distribute

Re: [Kicad-developers] Live zone filling

2017-09-19 Thread Simon Küppers
I agree with JP, however I see a chance for KiCad, where this feature might work better than in other EDA packages. I think the only way to get this feature to perform well is to use all available processor cores. Maybe it is enough to distribute all the zones to the processor cores. However i d

Re: [Kicad-developers] [PATCH] minor icon improvements

2017-09-19 Thread Wayne Stambaugh
Fabrizio, I merged your patch into the master branch. Thank you for your contribution to KiCad. Cheers, Wayne On 9/14/2017 6:59 AM, Fabrizio Tappero wrote: > Hi Wayne, > reviewed the patch and re-submit here. Changes are: > > 1) "Edit PCB" is now "Edit PCB Layout" > 2) "View GERBER" is now "V

Re: [Kicad-developers] Live zone filling

2017-09-19 Thread Jon Evans
Yes, I used Xpedition in a past life and one of my missions is to bring some of its cool features to KiCad :-) JP, I will do some tests on more complex boards and look in to possible solutions. I think this is quite a big challenge but want to take it on, because I think some of the underlying wor

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 made another small fix > > I'

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

2017-09-19 Thread Simon Richter
Hi Jon, On 19.09.2017 00:55, Jon Evans wrote: > While I'm waiting for review I made another small fix I've tried building for MSYS[1], and failed, because GAL::SetNegativeDrawMode() doesn't exist. Is that in a different patch? Just the first five patches: http://kiwi.hogyros.de:8080/job/window

Re: [Kicad-developers] [PATCH] Change default grid size to match KLC in LIBEDIT

2017-09-19 Thread jp charras
Le 18/09/2017 à 23:15, Oliver Walters a écrit : > 100mil is very coarse for elements other than pins to be placed. I think > there are cases where we > need to change code to match KLC but I don't think this is necessarily one of > them.  > > 50mils is easy for placing pins, just have one grid d

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

2017-09-19 Thread Ingo Kletti
Am 19.09.2017 um 08:33 schrieb jp charras: The Gerber job file format was just modified to specify more than one substrate material. Do you (or others RF specialists) know (besides the Teflon) other materials used in such boards. If it matters, there are variants of PTFE: Glass filled, cera

Re: [Kicad-developers] [PATCH] minor icon improvements

2017-09-19 Thread Fabrizio Tappero
gentle reminder. On Thu, Sep 14, 2017 at 12:59 PM, Fabrizio Tappero wrote: > Hi Wayne, > reviewed the patch and re-submit here. Changes are: > > 1) "Edit PCB" is now "Edit PCB Layout" > 2) "View GERBER" is now "View Gerber Files" > 3) "Edit Schematic Symbol" is now "Manage Symbol Libraries" > 4