Re: [Kicad-developers] Eeschema Subsheets

2018-03-29 Thread Seth Hillbrand
Thanks for the feedback. It helps me get my head around how the subsheets are meant to work. Here is one of the bugs: 1) Take the attached project and unzip into KiCad. 2) Open the schematic and you will find a schematic with 5 subsheets referencing 3 subsheet files. - Each subsheet file has

Re: [Kicad-developers] Eeschema 6.0 file format / data structure

2018-03-29 Thread Wayne Stambaugh
On 3/29/2018 12:30 PM, Simon Richter wrote: > Hi, > > On 29.03.2018 15:02, Jeff Young wrote: > >> (That way the Symbol >> Settings dialog maps 1:1 with the parent symbol, and the Symbol Fields >> dialog maps 1:1 with the alias.) > > I wonder if it would make sense to go the opposite direction,

Re: [Kicad-developers] Eeschema 6.0 file format / data structure

2018-03-29 Thread Simon Richter
Hi, On 29.03.2018 15:02, Jeff Young wrote: > (That way the Symbol > Settings dialog maps 1:1 with the parent symbol, and the Symbol Fields > dialog maps 1:1 with the alias.) I wonder if it would make sense to go the opposite direction, and introduce an inheritance hierarchy. Symbols can inherit

Re: [Kicad-developers] Eeschema 6.0 file format / data structure

2018-03-29 Thread Ouabache Designworks
On Thu, Mar 29, 2018 at 9:30 AM, Simon Richter wrote: > Hi, > > On 29.03.2018 15:02, Jeff Young wrote: > > > (That way the Symbol > > Settings dialog maps 1:1 with the parent symbol, and the Symbol Fields > > dialog maps 1:1 with the alias.) > > I wonder if it would

Re: [Kicad-developers] Eeschema Subsheets

2018-03-29 Thread Andrey Kuznetsov
Hi Seth, OK, yeah that makes it clear, Subsheet A should not have shown contents of subsheet D since subsheet D was created and or supposed to have it's own contents. On Thu, Mar 29, 2018 at 10:00 AM, Seth Hillbrand wrote: > Hi JP- > > That's correct, A.sch does not

[Kicad-developers] Build failure w.r.t. wxDateTime

2018-03-29 Thread Thomas Figueroa
I recently started getting a "Call of overloaded 'wxDateTime(timestamp_t&)' is ambiguous" compilation failure in class_module.cpp line 573. I modified it to static_cast m_LastEditTime, but I'm not sure that is what is intended here. This occurs both on MSVC and MSYS2 builds. (MSYS2 build here:

Re: [Kicad-developers] Eeschema Subsheets

2018-03-29 Thread jp charras
Le 29/03/2018 à 18:04, Seth Hillbrand a écrit : > Thanks for the feedback.  It helps me get my head around how the subsheets > are meant to work. > > Here is one of the bugs: > > 1) Take the attached project and unzip into KiCad.   > 2) Open the schematic and you will find a schematic with 5

Re: [Kicad-developers] Eeschema Subsheets

2018-03-29 Thread Seth Hillbrand
Hi JP- That's correct, A.sch does not get modified. Only the contents shown are changed. Here is a video showing the behavior: https://drive.google.com/file/d/1LnG2khusuEal3E2I8-NPEZ-A9dA_ag8O/view?usp=sharing If you don't see the same behavior, perhaps this is linux-only? -S 2018-03-29 9:23

Re: [Kicad-developers] Build failure w.r.t. wxDateTime

2018-03-29 Thread Seth Hillbrand
Hi Thomas- Your analysis is correct. m_LastEditTime was recently changed to timestamp_t but holds time_t information and (for now) can be safely cast. I've pushed an update, let me know if it's still problematic. -S (Sorry for the double-email.) 2018-03-29 9:14 GMT-07:00 Thomas Figueroa

Re: [Kicad-developers] Eeschema Subsheets

2018-03-29 Thread jp charras
Le 29/03/2018 à 19:00, Seth Hillbrand a écrit : > Hi JP- > > That's correct, A.sch does not get modified.  Only the contents shown are > changed. > > Here is a video showing the behavior: > https://drive.google.com/file/d/1LnG2khusuEal3E2I8-NPEZ-A9dA_ag8O/view?usp=sharing > > If you don't see

Re: [Kicad-developers] Eeschema Subsheets

2018-03-29 Thread jp charras
Le 29/03/2018 à 06:48, Andrey Kuznetsov a écrit : > Hi Seth, > > I thought subsheets didn't have any issues, at least my experience didn't > present any issues, could > you please link to the bug you're working on? > > Thanks Yes, what is the bug to fix? > > On Wed, Mar 28, 2018 at 7:34 PM,

Re: [Kicad-developers] Eeschema Subsheets

2018-03-29 Thread Wayne Stambaugh
Most likely they will remain separate for re-usability purposes. We have users thate create modular schematics using sub-sheets that can be used in multiple projects so embedding them would require an export tool. On 3/29/2018 12:46 AM, Russell Oliver wrote: > Will the new schematic file format

Re: [Kicad-developers] Eeschema Subsheets

2018-03-29 Thread Wayne Stambaugh
On 3/28/2018 10:34 PM, Seth Hillbrand wrote: > ​Hi All- > > I'm working on a bug in renaming sub-sheets.  In testing the fix, I've > run up against a set of conflicting paradigms for how subsheets are > handled.  I'd like some feedback on how we expect to handle the subsheets. > > Either:  > 1)

Re: [Kicad-developers] Eeschema 6.0 file format / data structure

2018-03-29 Thread Andy Peters
> On Mar 29, 2018, at 3:32 PM, Wayne Stambaugh wrote: > > As promised, attached are the schematic and symbol file library file formats. > Please note, they are preliminary and need some updates. There was a pretty > in depth discussion a while back on the mailing list

Re: [Kicad-developers] [PATCH] Don't create an extra segment at the end of closed SHAPE_LINE_CHAIN

2018-03-29 Thread Jon Evans
Hi Orson, I decided to just fix it in POLYGON_GEOM_MANAGER for now as it is way less risky. I was worried we don't have a good way to test all the places that use SHAPE_LINE_CHAIN and don't want to add risk for RC2. Maybe we should revisit this after 5.0 release, I think fixing this could

Re: [Kicad-developers] Eeschema 6.0 file format / data structure

2018-03-29 Thread Wayne Stambaugh
As promised, attached are the schematic and symbol file library file formats. Please note, they are preliminary and need some updates. There was a pretty in depth discussion a while back on the mailing list which you should take a look at so we do not rehash the same discussion unless there

[Kicad-developers] wxWidgets

2018-03-29 Thread Jeff Young
Remember that compliment I threw wxWidget’s way a week or so ago regarding a menu to hide/show grid columns? Yeah, well, it turned out it was the Mac native header control doing it. I’ll implement the equivalent in GRID_TRICKS…. ___ Mailing list:

[Kicad-developers] Eeschema 6.0 file format / data structure

2018-03-29 Thread Jeff Young
I reported a bug earlier about the difficult user model of symbol aliases. One of the biggest problems is that what is owned by a parent symbol and what is owned by an alias is not cleanly presented in the GUI. A nice way to solve that would be to remove the Description/Keywords/DocFilename

Re: [Kicad-developers] wxWidgets

2018-03-29 Thread Jon Evans
I think we should measure the amount of time we spend fixing or extending wxWidgets vs. doing anything else. I'm not proposing that we should be doing anything else in particular at this time, but I think it would be good data to have. -Jon On Thu, Mar 29, 2018 at 8:55 AM, Jeff Young

Re: [Kicad-developers] wxWidgets

2018-03-29 Thread Wayne Stambaugh
Also, please keep in mind that one of the objectives of wxwidgets is to stick with the stock look and behavior of platform controls as much as possible. Users on windows and linux will not expect this behavior even though it might be a nice feature on macos. On 3/29/2018 9:32 AM, Jon Evans

Re: [Kicad-developers] wxWidgets

2018-03-29 Thread Wayne Stambaugh
On 3/29/2018 10:27 AM, Jeff Young wrote: > In this case we kind of need it as we don’t want to display a bunch of > never-used field data columns, but everyone’s definition of “never-used” is > likely to be different. If you have time, by all means implement this feature for windows and linux

Re: [Kicad-developers] wxWidgets

2018-03-29 Thread Jeff Young
In this case we kind of need it as we don’t want to display a bunch of never-used field data columns, but everyone’s definition of “never-used” is likely to be different. But I certainly agree in principle. > On 29 Mar 2018, at 15:17, Wayne Stambaugh wrote: > > Also,