Re: [Kicad-developers] OSX Nightlies Update

2015-02-18 Thread Nick Østergaard
2015-02-19 5:10 GMT+01:00 Garth Corral : > Hi, Nick > > There were a couple of things that prevented me from requesting a merge. The > first was simply that it had little to no testing on other than OS X, and I > wanted to get more flight time on other platforms and pointing devices to > make s

Re: [Kicad-developers] OSX Nightlies Update

2015-02-18 Thread Bob Gustafson
I'm building Garth's stuff This was what I did: Directory structure KiCad-TP osx-trackpad-gestures wx-src wx-bin Other files you want to keep == Load source files for wxPython into the wx-src directory Built wxPython using the script: (see attached script - but it is listed below

Re: [Kicad-developers] OSX Nightlies Update

2015-02-18 Thread Garth Corral
Hi, Nick There were a couple of things that prevented me from requesting a merge. The first was simply that it had little to no testing on other than OS X, and I wanted to get more flight time on other platforms and pointing devices to make sure it behaves well. The other thing that I can rec

Re: [Kicad-developers] wxPython version check

2015-02-18 Thread Bob Gustafson
In a previous build a couple of weeks ago, I had a problem with specifying the 'type' of the env var. You might try leaving off the :BOOL and :STRING in your commands. In theory, the 'type's should be there (for general code safety), but it seemed to work better for me when they were gone. Hope

Re: [Kicad-developers] wxPython version check

2015-02-18 Thread Wayne Stambaugh
I figured it out. The wxPython version was getting initialize after config.h was getting written. Duh! This should be fixed in r5431. I'm going to bed now :) On 2/18/2015 7:26 PM, Miguel Ángel Ajo wrote: > Just a note: > > I’m running cmake from an *empty* build dir: > > mkdir build > cd bui

Re: [Kicad-developers] wxPython version check

2015-02-18 Thread Miguel Ángel Ajo
What was the problem with download_boost?, PPA builds didn’t allow network connections? Miguel Ángel Ajo On Thursday, 19 de February de 2015 at 01:30, Adam Wolf wrote: > Years ago, when I maintained an Ubuntu PPA pre - download_boost, I had to do > cmake rebuild_cache on every build, but I di

Re: [Kicad-developers] wxPython version check

2015-02-18 Thread Adam Wolf
Years ago, when I maintained an Ubuntu PPA pre - download_boost, I had to do cmake rebuild_cache on every build, but I didn't have to on my PC. Never tracked that down before download_boost made that methodology impossible. Adam Wolf On Feb 18, 2015 6:27 PM, "Miguel Ángel Ajo" wrote: > Just a no

Re: [Kicad-developers] wxPython version check

2015-02-18 Thread Miguel Ángel Ajo
Just a note: I’m running cmake from an *empty* build dir: mkdir build cd build cmake -D… -D… .. and I get into the problem, which goes away with the make rebuild_cache. Miguel Ángel Ajo On Thursday, 19 de February de 2015 at 01:24, Miguel Ángel Ajo wrote: > Exactly, if I runs make rebuild_

Re: [Kicad-developers] wxPython version check

2015-02-18 Thread Miguel Ángel Ajo
Exactly, if I runs make rebuild_cache, or if I simply rerun cmake twice (no need to delete config.h) the #define WXPYTHON_VERSION turns from “” to “3.0”. When is cmake supposed to generate config.h exactly? Miguel Ángel Ajo On Thursday, 19 de February de 2015 at 01:21, Wayne Stambaugh wrote

Re: [Kicad-developers] 3D Viewer crushes whole KiCAD with this file

2015-02-18 Thread Mark Roszko
The root defect is the vrml has ~15 coordIndex tags that exceeds 128 bytes total. The parser being pretty bad uses a fixed 128 byte buffer to read tags into. The parser in GetNextTag did not have bound checking and thus would happily corrupt memory reading in that tag. My patch prevented GetNextTa

Re: [Kicad-developers] wxPython version check

2015-02-18 Thread Wayne Stambaugh
On 2/18/2015 7:08 PM, Miguel Ángel Ajo wrote: > Hmm, if I re-run cmake or, as Wayne suggested, I run > make rebuild_cache, WXPYTHON_VERSION turns into “3.0” inside config.h > > I will add that workaround to the kicad fedora builder, but… > why does that happen? Good question. You would think CM

Re: [Kicad-developers] wxPython version check

2015-02-18 Thread Wayne Stambaugh
They should match so that's the problem. I have the same problem when I build from an existing build. It appears that config.h is not getting rebuilt. Try running `make rebuild_cache` or deleting config.h and see if CMake sets the WXPYTON_VERSION string to "3.0" which is what is found during the

Re: [Kicad-developers] OSX Nightlies Update

2015-02-18 Thread Bob Gustafson
I'm working on the build of Garth's stuff. I'm using lp:~gcorral/kicad/osx-trackpad-gestures as mentioned in Nick's email below. The wxPython build script (osx_build_wx.sh) is missing the do_patch for the wxwidgets-3.0.2_macosx_yosemite.patch Without it, the build for wxPython quits with th

Re: [Kicad-developers] wxPython version check

2015-02-18 Thread Miguel Ángel Ajo
Hmm, if I re-run cmake or, as Wayne suggested, I run make rebuild_cache, WXPYTHON_VERSION turns into “3.0” inside config.h I will add that workaround to the kicad fedora builder, but… why does that happen? Miguel Ángel Ajo On Thursday, 19 de February de 2015 at 00:41, Miguel Ángel Ajo wrote:

Re: [Kicad-developers] 3D Viewer crushes whole KiCAD with this file

2015-02-18 Thread Mark Roszko
Ok, I can confirm I get an identical crash. I believe I fixed it in another patch I submitted in the another email. I attached them to this email if you could try them. This however stops the crash but the LED model won't load. I will look into seeing data in the file is causing the buffer overrun

Re: [Kicad-developers] wxPython version check

2015-02-18 Thread Miguel Ángel Ajo
Hmm, it seems that in my system it’s getting an empty string ‘’, where does WXPYTHON_VERSION come from? /// The wxPython version found during configuration. #if defined( KICAD_SCRIPTING_WXPYTHON ) #define WXPYTHON_VERSION"" #endif Shouldn’t that match WXPYTHON_VERSION_FOUND from

Re: [Kicad-developers] wxPython version check

2015-02-18 Thread Miguel Ángel Ajo
KICAD_SCRIPTING_WXPYTHON:BOOL=ON and WXPYTHON_VERSION_FOUND:STRING=3.0 I wonder what’s wrong with my “wxversion” thing… the exact error is: [ajo@kicad kicad-5430]$ pcbnew Traceback (most recent call last): File "", line 1, in File "/usr/lib64/python2.7/site-packages/wxversion.py", line 149,

Re: [Kicad-developers] OSX Nightlies Update

2015-02-18 Thread Bob Gustafson
Do you have the last posting address handy? I picked up the nightly test address from an old email - I think the version was 5404. Bob G On 02/18/2015 04:01 PM, Adam Wolf wrote: Also, they ones I posted are not ancient--they're from last week. :) Adam Wolf On Wed, Feb 18, 2015 at 3:58 PM,

Re: [Kicad-developers] OSX Nightlies Update

2015-02-18 Thread Martijn Kuipers
> On 18 Feb 2015, at 22:01, Adam Wolf wrote: > > Also, they ones I posted are not ancient--they're from last week. :) > With the pace that KiCad is going, that’s ancient. That was too easy, sorry. Seriously. Thanks Adam, great effort get OSX KiCad up to snuff. And thanks to KiCad devs for th

Re: [Kicad-developers] wxPython version check

2015-02-18 Thread Miguel Ángel Ajo
Hi Wayne, I don’t have direct access to the CmakeCache (due that I’m relying on copr for my builds), but I could try to replicate locally, btw, this is from the build logs: -- Found wxWidgets: -pthread;;;-lwx_gtk2u_gl-3.0;-lwx_gtk2u_aui-3.0;-lwx_gtk2u_adv-3.0;-lwx_gtk2u_html-3.0;-lwx_gtk2u_core

Re: [Kicad-developers] OSX Nightlies Update

2015-02-18 Thread Adam Wolf
Also, they ones I posted are not ancient--they're from last week. :) Adam Wolf On Wed, Feb 18, 2015 at 3:58 PM, Adam Wolf wrote: > Whoops, sent from wrong address. > -- Forwarded message -- > From: "Adam Wolf" > Date: Feb 18, 2015 3:57 PM > Subject: Re: [Kicad-developers] OSX N

[Kicad-developers] Fwd: Re: OSX Nightlies Update

2015-02-18 Thread Adam Wolf
Whoops, sent from wrong address. -- Forwarded message -- From: "Adam Wolf" Date: Feb 18, 2015 3:57 PM Subject: Re: [Kicad-developers] OSX Nightlies Update To: "Bob Gustafson" Cc: The nightlies will be built nightly. I was able to confirm that I fixed the issue Bob reported with

Re: [Kicad-developers] OSX Nightlies Update

2015-02-18 Thread Bob Gustafson
Hi Adam Are you going to use a more up-to-date version? The version of the current Nightly seems to be many nights in the past. I'm watching kicad-pcb.org for the next Nightly. Thanks much Bob G On 02/18/2015 12:45 PM, Adam Wolf wrote: Sure. The plan was to upload these to the kicad-pcb.or

Re: [Kicad-developers] 3D Viewer crushes whole KiCAD with this file

2015-02-18 Thread LordBlick
In response to a message written on 18.02.2015, 19:24, from Mark Roszko: The is for the function argument. @LordBlick, could you compile with -DCMAKE_BUILD_TYPE=Debug and do the backtrace after it fails with that build. At the rpmbuild level, simply attached „--debug” to the cmd prompt. Here

Re: [Kicad-developers] 3D Solid Model development

2015-02-18 Thread Cirilo Bernardo
No problem, will do that when I've finished looking through the existing code and have a good idea of how to structure things. - Cirilo On Thu, Feb 19, 2015 at 2:00 AM, Wayne Stambaugh wrote: > Before you start coding the 3D model plugin, please submit a design > document so it can be reviewed

Re: [Kicad-developers] OSX Nightlies Update

2015-02-18 Thread Adam Wolf
Sure. The plan was to upload these to the kicad-pcb.org location as soon as I verified they worked well. Bob found a small issue with the library table in the extras dmg, and I fixed it and am regenerating a build now. I think that everyone seems to be OK with the packages as they are, so once I

Re: [Kicad-developers] 3D Viewer crushes whole KiCAD with this file

2015-02-18 Thread Mark Roszko
The is for the function argument. @LordBlick, could you compile with -DCMAKE_BUILD_TYPE=Debug and do the backtrace after it fails with that build. ___ Mailing list: https://launchpad.net/~kicad-developers Post to : kicad-developers@lists.launchpad

Re: [Kicad-developers] OSX Nightlies Update

2015-02-18 Thread Andy Peters
> On Feb 18, 2015, at 10:35 AM, Wayne Stambaugh wrote: > > Adam, > > I think you made the prudent design decision to make the pretty > footprints available locally as an option. Nice job with the readme. > This should get new users up and running quickly. > > Thanks, > > Wayne Can the locat

Re: [Kicad-developers] [Merge] lp:~metacollin/kicad/boosting_boost into lp:kicad

2015-02-18 Thread Bernhard Stegmaier
Hi, just curious… is it this the crash you get? Thread 0 Crashed:: Dispatch queue: com.apple.main-thread 0 _pcbnew.kiface 0x0001107e56f0 SHAPE_LINE_CHAIN::Simplify() + 128 1 _pcbnew.kiface 0x000110724d22 PNS_OPTIMIZER::mergeFull(PNS_LINE*) +

Re: [Kicad-developers] very slow server, unable to download or even update from Australia.

2015-02-18 Thread Simon Richter
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, Am 18.02.2015 um 02:00 schrieb Lachlan Audas: > Hi guys, I'm running into a problem with your server(s), it's > really really slow, take's for-every to download the source, and > has timed out many time's just trying to download the boost lib's!

Re: [Kicad-developers] OSX Nightlies Update

2015-02-18 Thread Wayne Stambaugh
Adam, I think you made the prudent design decision to make the pretty footprints available locally as an option. Nice job with the readme. This should get new users up and running quickly. Thanks, Wayne On 2/18/2015 10:29 AM, Adam Wolf wrote: > Hi Wayne, > > Sure. Let me quickly summarize ho

Re: [Kicad-developers] 3D Viewer crushes whole KiCAD with this file

2015-02-18 Thread Wayne Stambaugh
On 2/18/2015 11:11 AM, LordBlick wrote: > In response to a message written on 18.02.2015, 16:43, from Mark Roszko: >> When the segment fault causes gdb to stop (beofre you typed continue) >> Can you use the command "backtrace"? That will print more useful >> information on the path it took to crash

Re: [Kicad-developers] wxPython version check

2015-02-18 Thread Wayne Stambaugh
Miguel, What is the output of: grep WXPYTHON < kicad_build_path/CMakeCache.txt You should see something like this: KICAD_SCRIPTING_WXPYTHON:BOOL=ON WXPYTHON_VERSION_FOUND:STRING=3.0 If WXPYTHON_VERSON_FOUND is empty, run `make rebuild_cache`. Cheers, Wayne On 2/18/2015 10:44 AM, Miguel Ánge

Re: [Kicad-developers] OSX Nightlies Update

2015-02-18 Thread Bernhard Stegmaier
Hi Adam, ah, I see. The extras-dmg only delivers footprints that you could get via github plugin without the extras-dmg. Yes, then you probably need to include them to the main bundle. Note to the others… The only thing that would me prevent to use official builds and still build myself is that

Re: [Kicad-developers] 3D Viewer crushes whole KiCAD with this file

2015-02-18 Thread LordBlick
In response to a message written on 18.02.2015, 16:43, from Mark Roszko: When the segment fault causes gdb to stop (beofre you typed continue) Can you use the command "backtrace"? That will print more useful information on the path it took to crash. (gdb) backtrace #0 0x761006c8 in ??

Re: [Kicad-developers] wxPython version check

2015-02-18 Thread Miguel Ángel Ajo
It looks like something related to the python paths not being able to find wx._core_. I’ll put some time tonight on it. Miguel Ángel Ajo On Wednesday, 18 de February de 2015 at 16:33, Brian Sidebotham wrote: > On 18 February 2015 at 14:26, Miguel Ángel Ajo (mailto:majop...@redhat.com)> wrot

Re: [Kicad-developers] 3D Viewer crushes whole KiCAD with this file

2015-02-18 Thread Mark Roszko
When the segment fault causes gdb to stop (beofre you typed continue) Can you use the command "backtrace"? That will print more useful information on the path it took to crash. ___ Mailing list: https://launchpad.net/~kicad-developers Post to : kicad

Re: [Kicad-developers] wxPython version check

2015-02-18 Thread Brian Sidebotham
On 18 February 2015 at 14:26, Miguel Ángel Ajo wrote: > > > > Hmm, this crashes in the fedora nightly build during pcbnew startup, I need > to investigate why. > > https://github.com/KiCad/kicad-source-mirror/commit/69553d6fa31a60a4694395f0dcadfdbd787c21a8#diff-cdb8e872a96e63280c27292a5845cfbeR147

Re: [Kicad-developers] OSX Nightlies Update

2015-02-18 Thread Adam Wolf
Hi Wayne, Sure. Let me quickly summarize how it's set up now. There's a kicad.$date.dmg, that has all the docs, all the libraries, no footprints, and all the 3d models. It's set up to grab the footprints from github. There's a readme, that is mostly static, but has some "at build time" generat

Re: [Kicad-developers] [Merge] lp:~metacollin/kicad/boosting_boost into lp:kicad

2015-02-18 Thread Wayne Stambaugh
Dick and I removed boost::python from kicad a long time ago because it was ugly and difficult to maintain. The SWIG wrapper we have now is a much cleaner solution. It will take a very well thought out argument (read masters level thesis with lots of example code) to convince me to add boost::pyth

Re: [Kicad-developers] [Merge] lp:~metacollin/kicad/boosting_boost into lp:kicad

2015-02-18 Thread Miguel Ángel Ajo
We don’t use boost-python (AFAIK). There was a patch by cirilo proposing to merge, but it’s been rejected because we could (theoretically) pull it via an external library or write it in python. Miguel Ángel Ajo On Wednesday, 18 de February de 2015 at 16:10, Adam Wolf wrote: > Hi Collin, >

Re: [Kicad-developers] OSX Nightlies Update

2015-02-18 Thread Wayne Stambaugh
I would rather the extra files be distributed with the bundle for new users. That is the target audience for the nightly builds. I'm still seeing a lot of help requests by users about missing libraries and documentation and their configuration. I would rather error on the side of caution in this

Re: [Kicad-developers] [Merge] lp:~metacollin/kicad/boosting_boost into lp:kicad

2015-02-18 Thread Adam Wolf
Hi Collin, What part of boost 1.54 is incompatible with OS X 10.10? Are you having trouble with Python scripting and boost? The reason why I ask, is I have been using boost 1.54 on OS X 10.10 for months without issue, but I haven't enabled Python on my builds yet. Adam Wolf Cofounder and Engine

Re: [Kicad-developers] [Merge] lp:~metacollin/kicad/boosting_boost into lp:kicad

2015-02-18 Thread Collin Anderson
Sorry, I didn't mean to waste anyone's time with this patch, I am still very new to the project and still getting a feel for where things are heading and what is a dead end and what isn't. Additionally, I would be terrified of just jumping versions of such a key component like boost without a

Re: [Kicad-developers] 3D Solid Model development

2015-02-18 Thread Wayne Stambaugh
Before you start coding the 3D model plugin, please submit a design document so it can be reviewed by other developers. It doesn't have to be formal. A brief email with overview of the design will do. On 2/17/2015 10:12 PM, Cirilo Bernardo wrote: > Just an update to my previous message - I will

Re: [Kicad-developers] 3D Viewer crushes whole KiCAD with this file

2015-02-18 Thread LordBlick
In response to a message written on 17.02.2015, 23:58, from Wayne Stambaugh: Have you tested this with the latest version of KiCad? In this moment bzr5430 ? --- $ gdb kicad GNU gdb (GDB) 7.8.1-1 (PLD Linux) Copyright (C) 2014 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or

Re: [Kicad-developers] OSX Nightlies Update

2015-02-18 Thread Adam Wolf
Hi Wayne, Once Garth replies, let's open another thread about the OS X trackpad patch of his. I've been using it locally on OS X for a while, and it's been really nice. I had Nick try it out on Linux as well. It does change a little bit of behavior on non-OS X systems, which is why I'm looking

Re: [Kicad-developers] OSX Nightlies Update

2015-02-18 Thread Wayne Stambaugh
Just a quick note for developers thinking about adding new features or changing the behavior of existing features, the deadline will be when we merge the diff pair router from CERN. I'm expecting that to be within the next few weeks. After that, I'm going to resist adding new features until after

Re: [Kicad-developers] wxPython version check

2015-02-18 Thread Miguel Ángel Ajo
Hmm, this crashes in the fedora nightly build during pcbnew startup, I need to investigate why. https://github.com/KiCad/kicad-source-mirror/commit/69553d6fa31a60a4694395f0dcadfdbd787c21a8#diff-cdb8e872a96e63280c27292a5845cfbeR147 snprintf( cmd, 1023, "import wxversion; wxversion.select('%s')

Re: [Kicad-developers] OSX Nightlies Update

2015-02-18 Thread Bob Gustafson
As many folks on this list have pointed out, a mousewheel is useful for panning up and down. The OSX trackpad has this same usefulness, but also includes left/right as well as up/down. Pinch is a one dimensional gesture and it matches the one dimensional zoom behavior. However, these behavio

Re: [Kicad-developers] OSX Nightlies Update

2015-02-18 Thread Adam Wolf
No big deal, I think we are past the point where any person uses all the KiCad features. Until we get some testing in there, this is going to happen sometimes :) I'll take a look at the template path. Adam Wolf Cofounder and Engineer Wayne and Layne On Feb 18, 2015 7:33 AM, "Miguel Ángel Ajo" w

Re: [Kicad-developers] OSX Nightlies Update

2015-02-18 Thread Miguel Ángel Ajo
More path stuff (sorry Adam.. ‘:D ) I tried the kicad templates, but I wasn’t pointed out to the templates when trying to create a project from templates. Miguel Ángel Ajo On Wednesday, 18 de February de 2015 at 14:32, Adam Wolf wrote: > Bernhard, > I was under the impression that 3d models

Re: [Kicad-developers] OSX Nightlies Update

2015-02-18 Thread Adam Wolf
Bernhard, I was under the impression that 3d models do not come automatically from github without downloading. If they come through fine, then they should definitely be moved to the extras dmg. Adam Wolf Cofounder and Engineer Wayne and Layne On Feb 18, 2015 2:27 AM, "Bernhard Stegmaier" wrote:

Re: [Kicad-developers] 3D Solid Model development

2015-02-18 Thread Tomasz Wlostowski
On 18.02.2015 04:12, Cirilo Bernardo wrote: > Just an update to my previous message - I will implement IGES > from scratch. The OpenCascade IGES implementation, like > the STEP implementation, does not allow for the creation of > correct hierarchical assemblies. OK, got it. I guess for visualizat

Re: [Kicad-developers] OSX Nightlies Update

2015-02-18 Thread Miguel Ángel Ajo
Awesome work Adam!, I will spend some cycles in testing it this night ;) Miguel Ángel Ajo On Wednesday, 18 de February de 2015 at 09:27, Bernhard Stegmaier wrote: > Hi Adam, > > looks great! > > Small question: > I noticed that in the non-extras dmg there are ~370MB 3D-models in > kicad/pa

Re: [Kicad-developers] how to get removed from this list

2015-02-18 Thread Marco Ciampa
On Wed, Feb 18, 2015 at 08:33:19AM +, Simon Turner wrote: > Hello > > I'm not sure how and who to ask but I'd like to be removed from this > mailing list please. > > Kind regards > Simon > > > ___ > Mailing list: https://launchpad.net/~kicad-deve

[Kicad-developers] how to get removed from this list

2015-02-18 Thread Simon Turner
Hello I'm not sure how and who to ask but I'd like to be removed from this mailing list please. Kind regards Simon ___ Mailing list: https://launchpad.net/~kicad-developers Post to : kicad-developers@lists.launchpad.net Unsubscribe : https://la

Re: [Kicad-developers] OSX Nightlies Update

2015-02-18 Thread Bernhard Stegmaier
Hi Adam, looks great! Small question: I noticed that in the non-extras dmg there are ~370MB 3D-models in kicad/packages3d. Is that on purpose? I would have expected those also in the extra-dmg along with the footprints… Regards, Bernhard On 17.02.2015, at 18:50, Adam Wolf wrote: > Hi folks,