Re: [Kicad-developers] MacOS + OpenMP

2018-03-03 Thread Bernhard Stegmaier
Hi all, So, I played around a bit to get OpenMP and GCD into something like a “parallel_for” wrapper which either uses OpenMP or GCD. Unfortunately, OpenMP seems to require that the “for” statement directly follows the “#pragma omg for …”. That currently killed all my attempts to define such a

Re: [Kicad-developers] Mac HighDPI performance

2018-03-03 Thread Wayne Stambaugh
On 03/03/2018 07:33 AM, Jeff Young wrote: Hi Andrey, I did some profiling and I’d guess that the difference in eeschema and pcbnew-legacy performance is down to there being more text in the schema.  Since we use a stroke font, there’s a lot of stroke segments in each letter. @Devs, I

[Kicad-developers] Zone filling (was: MacOS + OpenMP)

2018-03-03 Thread Jeff Young
Hi Tomasz & Bernhard, If you have a chance could you guys please take a look at https://git.launchpad.net/kicad/commit/?id=c77d13292b63a3ef7c28f004ee93f3ed93cca9f3 ? It reinstates multi-threading (with

Re: [Kicad-developers] Zone filling (was: MacOS + OpenMP)

2018-03-03 Thread Jeff Young
> you implemented multiple workers yourself now? Yes. We’re pulling zones from a list anyway, so it was easy enough to use the list as a work queue. I just added a std::atomic index into the list; each worker grabs the next index when it’s looking for more to do. Cheers, Jeff. > On 3 Mar

Re: [Kicad-developers] Git noob question

2018-03-03 Thread Kevin Cozens
On 2018-03-02 03:28 PM, Jeff Young wrote: Before I go and make a hash of everything, can someone please validate the following. I have a bunch of 6.0 work on my master. I have a 5.0stable branch that I use for 5.0. If I want to push changes for RC2, I’d do: git push origin

Re: [Kicad-developers] MacOS build missing frameworks

2018-03-03 Thread Bernhard Stegmaier
Yes… I have configured QTCreator to build debug/release into separate folders and I do my “production” builds via console. QTCreator seems to have its own ideas how default folder structure should look like and I didn’t yet figure out in detail on how to configure it so that it doesn’t clash.

Re: [Kicad-developers] Should footprint library wizard recognise gEDA files?

2018-03-03 Thread Jeff Young
This looks to have been broken for some time. (Wizard thinks the plugin name is Geda-PCB; plugin says its name is Geda PCB, and then goes and registers itself under GEDA/Pcb.) > On 3 Mar 2018, at 11:20, Jeff Young wrote: > > It recognises them as footprint files, just not as

[Kicad-developers] V5 Version Info?

2018-03-03 Thread Bernhard Stegmaier
Hi all, just out of curiosity… all my builds from master claim to be a v4: <<< Application: kicad Version: (4.0.0-rc2-4230-gaeae32b1a-dirty), release build >>> According to git I have a clean source tree… I yesterday made a build on a Linux box with a completely fresh tree and it showed v5.

[Kicad-developers] [PATCH] Fix clang-mp-6.0 compile error

2018-03-03 Thread Bernhard Stegmaier
Hi,Small patch to fix a compile error with (MacPorts) clang-6.0-mp.See  https://www.mail-archive.com/llvm-bugs@lists.llvm.org/msg20164.htmlRegards,Bernhard 0001-Fix-clang-mp-build-error-don-t-declare-const-variabl.patch Description: Binary data ___

Re: [Kicad-developers] MacOS build missing frameworks

2018-03-03 Thread Jeff Young
Thanks, Bernhard. I re-did mine to that scheme, but it didn’t help. I think it’s just QTCreator not quite following what’s going on. > On 3 Mar 2018, at 12:45, Bernhard Stegmaier wrote: > > Sure. > > My work folder looks like that: > kicad => git repo > build

Re: [Kicad-developers] MacOS Packaging Question

2018-03-03 Thread Nick Østergaard
This is the current scripts used for the current nightlies for macos https://github.com/wayneandlayne/KiCadMacOSPackaging.git 2018-03-04 0:37 GMT+01:00 Rene Pöschl : > On 03/03/18 23:32, Seth Hillbrand wrote: > >> ​In the current nightly MacOS builds, we package the

Re: [Kicad-developers] Zone filling (was: MacOS + OpenMP)

2018-03-03 Thread Bernhard Stegmaier
Hi, you implemented multiple workers yourself now? I’ll have to check in detail. I thought of just using OpenMP for the for loop again like this. <<< diff --git a/pcbnew/zone_filler.cpp b/pcbnew/zone_filler.cpp index 6fe40555a..408c5e7aa 100644 --- a/pcbnew/zone_filler.cpp +++

Re: [Kicad-developers] V5 Version Info?

2018-03-03 Thread Bernhard Stegmaier
Yes, -dirty is clear. I guess I didn’t explicitly pull tags since I first cloned the repo… didn’t know that they are not pulled per default. Again learned something, thanks! > On 3. Mar 2018, at 21:30, Wayne Stambaugh wrote: > > -dirty means you have code that is not in

Re: [Kicad-developers] Git noob question

2018-03-03 Thread Maciej Suminski
[...] git pull would do a fetch and merge together, but you want to fetch and rebase -- you can set your .gitconfig to do the fetch and rebase, but I think it's easier to follow along with what's going on if you do the fetch separately and check the tree each time with git hist. If we are

Re: [Kicad-developers] MacOS Packaging Question

2018-03-03 Thread Rene Pöschl
On 03/03/18 23:32, Seth Hillbrand wrote: ​In the current nightly MacOS builds, we package the applications, symbols and 3d models but no footprints. Is this an oversight? -S​ This might be because in kicad 4 the footprints where downloaded on demand via the github plugin. With the new

Re: [Kicad-developers] V5 Version Info?

2018-03-03 Thread Wayne Stambaugh
-dirty means you have code that is not in master. You are either working in a different branch or you have made modifications to master. Given that your version string says 4.0.0-rc2, it also looks like you need to do a `git pull --tags` to fetch the latest tags. Wayne On 03/03/2018 02:39 PM,

Re: [Kicad-developers] Should footprint library wizard recognise gEDA files?

2018-03-03 Thread Jeff Young
Unfortunately we have to go with GEDA/Pcb (as it’s stored in the fp-lib-table files). I did change it so that it uses a lookup rather than hard-coding the strings in different places. (There’s still the separate name the plugin reports, but that’s only used to populate an exception with some

Re: [Kicad-developers] Should footprint library wizard recognise gEDA files?

2018-03-03 Thread Wayne Stambaugh
FYI, the plugin (Geda PCB) is correct. If you fix this, fix it everywhere else it is broken not the plugin name. Wayne On 03/03/2018 02:31 PM, Jeff Young wrote: > This looks to have been broken for some time. > > (Wizard thinks the plugin name is Geda-PCB; plugin /says/ its name is > Geda PCB,

[Kicad-developers] MacOS Packaging Question

2018-03-03 Thread Seth Hillbrand
​In the current nightly MacOS builds, we package the applications, symbols and 3d models but no footprints. Is this an oversight? -S​ ___ Mailing list: https://launchpad.net/~kicad-developers Post to : kicad-developers@lists.launchpad.net

Re: [Kicad-developers] [PATCH] Rework footprint selection filtering to improve behavior

2018-03-03 Thread Jon Evans
Hey Andy, Andrzej, Updated patch attached, let me know if this behavior makes more sense Best, Jon On Fri, Mar 2, 2018 at 3:29 PM, Andy Peters wrote: > > > On Mar 2, 2018, at 10:28 AM, Andrzej Wolski > wrote: > > Jon, > > I probably didn't express

Re: [Kicad-developers] Mac HighDPI performance

2018-03-03 Thread Bernhard Stegmaier
No. > On 4. Mar 2018, at 01:51, Andrey Kuznetsov wrote: > > Would it be an easy fix to change the text/font such that it does not affect > performance so significantly on MacOS? > > On Sat, Mar 3, 2018 at 5:20 AM, Wayne Stambaugh

[Kicad-developers] Should footprint library wizard recognise gEDA files?

2018-03-03 Thread Jeff Young
It recognises them as footprint files, just not as gEDA footprint files. In other words, it lets me add a directory full of them to the footprint lib table, but the lib table entry gets the Kicad plugin. If I add an Eagle file, the lib table entry gets the Eagle plugin. Cheers, Jeff.

Re: [Kicad-developers] Git noob question

2018-03-03 Thread Jeff Young
Cool stuff; thanks for those. I’m finding the —graph option particularly useful. Cheers, Jeff. > On 3 Mar 2018, at 01:40, Tiger12506 wrote: > > I'm not a kicad dev, just an avid reader of the list, but I am pretty fluent > in git. > Here are some aliases that you

[Kicad-developers] MacOS build missing frameworks

2018-03-03 Thread Jeff Young
When I do a build I get 3 copies of all the stand-alone apps: build/ bin/ eeschema.app debug/ eeschema/ eeschema.app kicad/ kicad.app/ Contents/ eeschema.app The build/bin/ version is a link to the