[Kicad-developers] [PATCH] OpenGL: use source alpha only for direct (no AA) rendering

2018-01-04 Thread Jon Evans
Fixes background color being wrong in OpenGL canvas when AA is disabled From a741215326bd1ff4ca5b1fca830970ad72c3028c Mon Sep 17 00:00:00 2001 From: Jon Evans Date: Thu, 4 Jan 2018 23:46:50 -0500 Subject: [PATCH] OpenGL: use source alpha only for direct (no AA) rendering

Re: [Kicad-developers] Tool-assisted selection disambiguation

2018-01-04 Thread Jeff Young
Ehh… that probably need a bit of background. When you try to drag a corner of a track, Kicad always annoys you with a selection disambiguation menu (because there are two segments connected at the corner). Same for dragging a via with one or two tracks connected. This change fixes that by

Re: [Kicad-developers] Tool-assisted selection disambiguation

2018-01-04 Thread Jeff Young
I’ve got a version of this up and running. So far I’ve only written one filter which works for dragging a simple track corner, or a non-fan-out via. But even that is pretty nice. I’ve got a TODO for a footprint filter for ctrl/cmd-E. It could also be used for Exchange Footprints and Show

[Kicad-developers] [PATCH] Allow selecting footprints that are only silkscreen using silk layers

2018-01-04 Thread Jon Evans
See: https://bugs.launchpad.net/kicad/+bug/1741350 From d80d266bb6740f659f79d85b0efdb4008369 Mon Sep 17 00:00:00 2001 From: Jon Evans Date: Thu, 4 Jan 2018 17:39:36 -0500 Subject: [PATCH] Allow selecting footprints that are only silkscreen using silk layers In

[Kicad-developers] [PATCH] Flip horizontal scrollbar behavior in flipped board view mode

2018-01-04 Thread Jon Evans
See: https://bugs.launchpad.net/kicad/+bug/1741327 From a2241312c5ce18038c6e648da91b154c98746bc6 Mon Sep 17 00:00:00 2001 From: Jon Evans Date: Thu, 4 Jan 2018 16:56:58 -0500 Subject: [PATCH] Flip horizontal scrollbar behavior in flipped board view mode Fixes: lp:1741327 *

Re: [Kicad-developers] [PATCH] automatically add extension to sim workbook files

2018-01-04 Thread Dan Weatherill
Wayne, d'oh! OK, I have added the check in attached patch. We could avoid a string copy with some extra work, but I feel it's unnecessary for a filename. Incidentally, I see a few memory leaks etc in here that could be fixed with unique_ptr usage. Is kicad now requiring c++11 and is this the

Re: [Kicad-developers] [PATCH] automatically add extension to sim workbook files

2018-01-04 Thread Wayne Stambaugh
Dan, Please make this case insensitive. Otherwise on case sensitive platforms where someone has decided to use .Wbk, .WBK, etc. for the file extension, your code doesn't add .wbk. Thanks, Wayne On 01/04/2018 02:37 PM, Dan Weatherill wrote: > Hi, > at present, the simulator dialog saves

Re: [Kicad-developers] Latest coverity scan

2018-01-04 Thread Mark Roszko
Well since its ignoring it like it should in the Report Viewer it seems harmless to SWIG on. I turned it on because I wanted it to check if there were any kicad side of things for scripting that had any issues that otherwise weren't compiled with scripting off. For now since it went and counted

[Kicad-developers] [PATCH] automatically add extension to sim workbook files

2018-01-04 Thread Dan Weatherill
Hi, at present, the simulator dialog saves workbook files without checking extensions, but only opens workbook files that have the .wbk extension. This makes it very easy to save files and not be able to open them (without some minor frustration). The attached patch checks the extension in the

Re: [Kicad-developers] Latest coverity scan

2018-01-04 Thread Wayne Stambaugh
Mark, Does this mean that all future emails will be include the swig stuff or is there a way to turn this off? Thanks, Wayne On 01/04/2018 01:58 PM, Mark Roszko wrote: > For those of you that are subscribed to the coverity reports. If you see > the "new defects found email" which lists 311 new

[Kicad-developers] Latest coverity scan

2018-01-04 Thread Mark Roszko
For those of you that are subscribed to the coverity reports. If you see the "new defects found email" which lists 311 new defects, the total number is in error. I reconfigured the build server to turn python scripting back on and for some reason coverity proceeded to ignore the settings telling

Re: [Kicad-developers] get_libngspice_so.sh link broken

2018-01-04 Thread Wayne Stambaugh
I suppose we could add it to scripts/ folder in the source tree. On 01/04/2018 07:18 AM, Mark Roszko wrote: > The findngspice cmake script prints  > > *** NGSPICE library missing *** > Most of ngspice packages do not provide the required libngspice library. > You can either compile ngspice

Re: [Kicad-developers] Stable 5 branch status

2018-01-04 Thread Michael McCormack
As an end user who has projects from well over 10 years ago and who has lurked on the development mailing list since the diode pin numbering (yes, opening old projects still get messages diode pin numbering) I want to thank you for ensuring there is a way to back out of remapping. I am not

Re: [Kicad-developers] Visible Items on different canvases

2018-01-04 Thread Wayne Stambaugh
This behavior was considered a bug not to mention confusing. If a layer is turned off, turning on objects in that layer doesn't make any sense. The new (corrected) behavior is far more logical. On 01/04/2018 10:55 AM, Nick Østergaard wrote: > OK, but the legacy behavior in 4.0.7 was considered a

Re: [Kicad-developers] Visible Items on different canvases

2018-01-04 Thread Pedro Martin
Hi Andr�, I have just checked the behaviour of pcbnew in my copies of kicad 4.0.7 ubuntu and nightly 20170925 ubuntu. -If F.Fab is set, values and references can be set/unset in the render tab. -If F.Fab is unset, values and references are hidden no matter if they are set or unset. The

Re: [Kicad-developers] Visible Items on different canvases

2018-01-04 Thread Nick Østergaard
OK, but the legacy behavior in 4.0.7 was considered a bug. I think there is a launchpad bug for that. The current behavior is how it is intended to work as I understand it :) 2018-01-04 15:16 GMT+01:00 André S. : > Hi Nick, > > I try to detail it again and hope I can

Re: [Kicad-developers] Stable 5 branch status

2018-01-04 Thread Wayne Stambaugh
Yes, now it doesn't change anything until you click the remap button. If you close without remapping, no changes will be make to any project files. If you do this, do not add new symbols to the schematic and save or you will be responsible for remapping the entire schematic by hand. I am going

Re: [Kicad-developers] Stable 5 branch status

2018-01-04 Thread Nick Østergaard
Hasn't this been fixed already? 2018-01-04 15:37 GMT+01:00 Jörg Hermann : > > scared me the most was a comment about the project being written to the > disk on opening, so you can't close/kill kicad and keep your project > untouched. > > 1000++ > > IMHO Kicad breaks the

Re: [Kicad-developers] Default Canvas for v5

2018-01-04 Thread Wayne Stambaugh
Jon, That fixed it. I merged your patch into the dev branch. Thank you for your contribution. Cheers, Wayne On 01/04/2018 09:27 AM, Jon Evans wrote: > Hi Wayne, try the attached version to fix this. > > On Thu, Jan 4, 2018 at 9:11 AM, Wayne Stambaugh

Re: [Kicad-developers] Visible Items on different canvases

2018-01-04 Thread André S .
Hi Nick, I try to detail it again and hope I can make clear what I mean: - currently you can in 4.0.7 Legacy canvas   * toggle the Value and Reference option in Visibility:Elements.   When you do that:   * Value/Reference are displayed or hidden according to the status of the Element control.  

Re: [Kicad-developers] Stable 5 branch status

2018-01-04 Thread Jörg Hermann
> scared me the most was a comment about the project being written to the disk > on opening, so you can't close/kill kicad and keep your project untouched. 1000++ IMHO Kicad breaks the Principle Of Least Surprise (aka POLA, ...Astonishment) in a big way here. Also a user that reads the dev

Re: [Kicad-developers] Default Canvas for v5

2018-01-04 Thread Jon Evans
Hi Wayne, try the attached version to fix this. On Thu, Jan 4, 2018 at 9:11 AM, Wayne Stambaugh wrote: > It compiles now but I found an issue. If the user runs pcbnew with the > OpenGL canvas selected, switches to the legacy canvas, and closes > pcbnew, the dialog will

[Kicad-developers] ANN: Haskell kicad-data package 0.5.0

2018-01-04 Thread Kaspar Emanuel
Hi all, I have just released the Haskell kicad-data package version 0.5.0. https://hackage.haskell.org/package/kicad-data-0.5.0 We have now actually seen some use of this library in the wild in the form of ppelleti/footprint-to-script which

Re: [Kicad-developers] Default Canvas for v5

2018-01-04 Thread Wayne Stambaugh
It compiles now but I found an issue. If the user runs pcbnew with the OpenGL canvas selected, switches to the legacy canvas, and closes pcbnew, the dialog will show up the next time they launch pcbnew. If the user is already using the OpenGL canvas, then showing the dialog after the user

Re: [Kicad-developers] Default Canvas for v5

2018-01-04 Thread Jon Evans
Sorry about that, attached the wrong patch file. On Thu, Jan 4, 2018 at 8:39 AM, Wayne Stambaugh wrote: > Hey Jon, > > Did you forget to add a file to this patch? I'm getting the following > build error: > > CMakeFiles/gerbview_kiface.dir/gerbview_frame.cpp.o: In function

Re: [Kicad-developers] Default Canvas for v5

2018-01-04 Thread Wayne Stambaugh
Hey Jon, Did you forget to add a file to this patch? I'm getting the following build error: CMakeFiles/gerbview_kiface.dir/gerbview_frame.cpp.o: In function `GERBVIEW_FRAME::GERBVIEW_FRAME(KIWAY*, wxWindow*)': /home/wayne/src/kicad/kicad-trunk/gerbview/gerbview_frame.cpp:218: undefined

Re: [Kicad-developers] Visible Items on different canvases

2018-01-04 Thread Nick Østergaard
2018-01-04 <20%2018%2001%2004> 9:55 GMT+01:00 André S. < list.dev.ki...@nospamail.de>: > Hi everyone, > > I discovered some not consistent behaviour in the current stable release: > On the Legacy canvas you can display Value of the footprint by enabling > Value option under Elements in the

[Kicad-developers] get_libngspice_so.sh link broken

2018-01-04 Thread Mark Roszko
The findngspice cmake script prints *** NGSPICE library missing *** Most of ngspice packages do not provide the required libngspice library. You can either compile ngspice configured with --with-ngshared parameter or run a script that does the job for you: wget

[Kicad-developers] Visible Items on different canvases

2018-01-04 Thread André S .
Hi everyone, I discovered some not consistent behaviour in the current stable release: On the Legacy canvas you can display Value of the footprint by enabling Value option under Elements in the Visibility menu. This is not true for OpenGL and Cairo canvas. In the Nightly from 2018-01-02 Legacy