Re: [Kicad-developers] SWIG binding

2016-09-19 Thread Wayne Stambaugh
On 9/19/2016 9:52 AM, Michael Steinberg wrote: > Hello Wayne, Torsten & All, > > > Am 19.09.2016 um 15:17 schrieb Wayne Stambaugh: >> I'm going to make an executive decision here so this doesn't drag on. >> In short, swig stays. Any other python bindings would either be on top >> of or along

Re: [Kicad-developers] SWIG binding

2016-09-19 Thread Michael Steinberg
Hello Wayne, Torsten & All, Am 19.09.2016 um 15:17 schrieb Wayne Stambaugh: I'm going to make an executive decision here so this doesn't drag on. In short, swig stays. Any other python bindings would either be on top of or along side current swig bindings. Swig is a valid tool for generating

Re: [Kicad-developers] SWIG binding

2016-09-19 Thread Wayne Stambaugh
I'm going to make an executive decision here so this doesn't drag on. In short, swig stays. Any other python bindings would either be on top of or along side current swig bindings. Swig is a valid tool for generating scripting language bindings. Lots of other projects use it with great success

Re: [Kicad-developers] SWIG binding

2016-09-19 Thread Torsten Hüter
Hi Tom & Michael,   I'm using the scripting interface quite often and had never that much trouble with it. The currently missing std::unique_ptr is not an argument, it is still possible to use it, see http://stackoverflow.com/questions/27693812/how-to-handle-unique-ptrs-with-swig   I'm quite

Re: [Kicad-developers] SWIG binding

2016-09-18 Thread Nick Østergaard
That sounds to me like it would make sense use kicad-python such that we can get yhe external API defined, and _ideally_ we could do whatever internally to kicad, let that be swig replacement or not. I suspect that having the external API defined would make it easier to find a better

Re: [Kicad-developers] SWIG binding

2016-09-18 Thread Michael Steinberg
Hello all! Am 17.09.2016 um 23:39 schrieb Cirilo Bernardo: On Sat, Sep 17, 2016 at 2:08 AM, Tomasz Wlostowski > wrote: [...] I agree with all that as well. I think the best thing to do is create a PCB API which provides C

Re: [Kicad-developers] SWIG binding

2016-09-17 Thread Cirilo Bernardo
On Sat, Sep 17, 2016 at 2:08 AM, Tomasz Wlostowski < tomasz.wlostow...@cern.ch> wrote: > On 16.09.2016 18:01, Michael Steinberg wrote: > > Hello all, > > > > when activating python bindings on my msvc build with a few refactor > > commits applied, it came to my attention that SWIG simply does not

Re: [Kicad-developers] SWIG binding

2016-09-17 Thread Miguel Angel Ajo Pelayo
A transition time as wayne suggests could be a reasonable thing, with enough time, and a proper deprecation notice users would be able to transition into a new API (please consider looking at [1], I spent quite a long time modeling that based on the initial work of Piers Titus van der Torren) Let

Re: [Kicad-developers] SWIG binding

2016-09-16 Thread Wayne Stambaugh
On 9/16/2016 2:13 PM, Michael Steinberg wrote: > Hello Wayne, > >> Yet. I'm sure they are going to have to implement it at some point. >> You can always write your own swig wrapper something like this: >> http://stackoverflow.com/questions/27693812/how-to-handle-unique-ptrs-with-swig >> > They

Re: [Kicad-developers] SWIG binding

2016-09-16 Thread Chris Pavlina
On Fri, Sep 16, 2016 at 08:13:13PM +0200, Michael Steinberg wrote: > Hello Wayne, > > >Yet. I'm sure they are going to have to implement it at some point. > >You can always write your own swig wrapper something like this: >

Re: [Kicad-developers] SWIG binding

2016-09-16 Thread Michael Steinberg
Hello Wayne, Yet. I'm sure they are going to have to implement it at some point. You can always write your own swig wrapper something like this: http://stackoverflow.com/questions/27693812/how-to-handle-unique-ptrs-with-swig They had 5+ years to add support, they didn't. So I wouldn't count

Re: [Kicad-developers] SWIG binding

2016-09-16 Thread Wayne Stambaugh
On 9/16/2016 12:01 PM, Michael Steinberg wrote: > Hello all, > > when activating python bindings on my msvc build with a few refactor > commits applied, it came to my attention that SWIG simply does not > support std::unique_ptr. Yet. I'm sure they are going to have to implement it at some

Re: [Kicad-developers] SWIG binding

2016-09-16 Thread Nick Østergaard
2016-09-16 18:08 GMT+02:00 Tomasz Wlostowski : > On 16.09.2016 18:01, Michael Steinberg wrote: >> Hello all, >> >> when activating python bindings on my msvc build with a few refactor >> commits applied, it came to my attention that SWIG simply does not >> support