Re: [Kicad-developers] Mocking Kiway

2020-04-13 Thread Sylwester Kocjan
Hello again, You may find it all noob questions, but I have to ask. I finally managed to mock Kiway object, but I noticed that next to virtual member functions it has non-virtual destructor. Wouldn't it cause memory leaks and other issues during deleting objects? This looks like a bug to me.

Re: [Kicad-developers] What is a global variable, and why we don't need them.

2020-04-13 Thread Dick Hollenbeck
On 4/13/20 7:39 AM, Dick Hollenbeck wrote: > Individual > PROJECT clients view their libraries through the lens of their own > FP_LIB_TABLE. > > If at that point shared pointers were introduced, it might be too bad to get > to shared > libraries. If something is in the way of this, then maybe y

Re: [Kicad-developers] What is a global variable, and why we don't need them.

2020-04-13 Thread Dick Hollenbeck
On 4/12/20 8:50 AM, Brian wrote: > Just out of curiosity, what’s an example use case for multiple projects open > at once, that > isn’t served by multiple instances of KiCAD?  I admit I haven’t run into many > reasons to > have more than one open at a time in my own usage other than occasionally

Re: [Kicad-developers] What is a global variable, and why we don't need them.

2020-04-13 Thread Jeff Young
This is indeed my particular problem. But copy/paste only recently started using the system clipboard, so that would have been an issue too. I can’t remember if the fixes for that are in 5.1 or 6.0…. > On 13 Apr 2020, at 04:23, Andy Peters wrote: > > > >> On Apr 12, 2020, at 6:50 AM, Brian