Re: [Kicad-developers] 3D filename resolution

2016-06-09 Thread Wayne Stambaugh
On 6/9/2016 2:44 AM, jp charras wrote: > Le 09/06/2016 à 08:31, Cirilo Bernardo a écrit : >> Thanks Jean-Pierre, >> >> I'll work on the help button and on the display of KISYS3DMOD. In the case >> of KISYS3DMOD, should I allow editing of the value or just display it? >> >> - Cirilo > > I do not

Re: [Kicad-developers] Patch to fix a Offset range bug on 3D Settings (Footprint)

2016-06-09 Thread jp charras
Le 08/06/2016 à 23:30, Mário Luzeiro a écrit : > Hi all, > > Attached is a patch that fixes a bug on the Offset of 3D Settings (Footprint) > The value range of the offset parameters were not set so it was not able to > enter values <-10 > > It also made some small layout changes on the

Re: [Kicad-developers] mode openGL issues after latest updates

2016-06-09 Thread Maciej Sumiński
Hi Mario, I have just committed a patch that does your suggestion regarding setting contexts only when a different one is used. On 06/09/2016 12:09 AM, Mário Luzeiro wrote: [snip] >> In wxWidgets examples they do not need to set context, as there is only >> one, so there is no chance OpenGL

[Kicad-developers] Failed to build on my system

2016-06-09 Thread Mário Luzeiro
Hi Cirilo, With this commit: http://bazaar.launchpad.net/~kicad-product-committers/kicad/product/revision/6905 I cannot build now on Linux: 3d-viewer/3d_cache/3d_filename_resolver.cpp:845: error: no matching function for call to ‘std::list::insert(std::list::const_iterator&, S3D_ALIAS&)’

Re: [Kicad-developers] Failed to build on my system

2016-06-09 Thread Wayne Stambaugh
I commented that this patch would break some builds depending on the compiler. I also gave JP the go ahead to apply this patch. If we are going to support c++11, then we cannot continue to reject patches with c++11 code. I also can no longer build kicad on msys1/mingw32 because gcc is version

Re: [Kicad-developers] Failed to build on my system

2016-06-09 Thread Nick Østergaard
Which exact system are you using here? Compiler and version? 2016-06-09 19:20 GMT+02:00 Mário Luzeiro : > Hi Cirilo, > > With this commit: > http://bazaar.launchpad.net/~kicad-product-committers/kicad/product/revision/6905 > > I cannot build now on Linux: > >

Re: [Kicad-developers] Failed to build on my system

2016-06-09 Thread Mário Luzeiro
For whom may be interested, I manage to update the gcc on my distro, following a mix of the instruction on this two websites: http://hillol.tumblr.com/post/109434251366/how-to-install-gcc-492-in-ubuntu-or-linux-mint

Re: [Kicad-developers] [PATCH] Legacy: delete and force middle button pan for GAL consistency

2016-06-09 Thread Chris Pavlina
Legacy isn't ditched yet because it's not ready to be ditched yet. You're welcome to help contribute to all the work that needs to be done before that can happen. Don't know about the Windows graphics stuff, but I'm sure the people who do have considered this. You'd rather we wait a long time

Re: [Kicad-developers] Failed to build on my system

2016-06-09 Thread Wayne Stambaugh
It compiled with gcc 4.9.3 on msys1/mingw32. It just wouldn't link because of the broken libgomp on mingw32. My guess is that it would be fine on linux. To be safe, gcc 5+ will be your best bet. On 6/9/2016 2:11 PM, Mário Luzeiro wrote: > Hi Nick, > > gcc --version > gcc (Ubuntu

Re: [Kicad-developers] Boost 1.61.0

2016-06-09 Thread Simon Richter
Hi, On 05.06.2016 20:12, Chris Pavlina wrote: > Uh, has anyone besides Nick and Simon seen this? Windows builds against 1.60 still AFAIK, mainly because FindBoost.cmake has an explicit list of versions to look for, so it isn't a simple drop in replacement. Simon signature.asc

Re: [Kicad-developers] Failed to build on my system

2016-06-09 Thread Mário Luzeiro
Hi Nick, gcc --version gcc (Ubuntu 4.8.4-2ubuntu1~14.04.3) 4.8.4 It looks that this is the most updated one on the repos of my distro (Mint) Which one should I update to? Mario From: Nick Østergaard [oe.n...@gmail.com] Sent: 09 June 2016 18:55 To:

Re: [Kicad-developers] [PATCH] Legacy: delete and force middle button pan for GAL consistency

2016-06-09 Thread Timofonic
I'm just a bad user but... Why isn't Legacy canvas ditched in the development branch and focus efforts in the GAL one exclusively? What about OpenGL and slow in certain platforms? What OpenGL version is KiCad using currently? I fail to see it. Damn, even MESA is getting OpenGL 4.3+ too. Can

Re: [Kicad-developers] [PATCH] Legacy: delete and force middle button pan for GAL consistency

2016-06-09 Thread Nick Østergaard
2016-06-09 20:52 GMT+02:00 Timofonic : > I'm just a bad user but... > > Why isn't Legacy canvas ditched in the development branch and focus efforts > in the GAL one exclusively? I think you follow the list enough to know why this is. :) > What about OpenGL and slow in

Re: [Kicad-developers] Failed to build on my system

2016-06-09 Thread Simon Richter
Hi, On 09.06.2016 20:28, Mário Luzeiro wrote: [Using iterator instead of const_iterator as place hint for std::list] > This workaround works! I think this gcc version we can support with only little effort, since we need to have a non-const reference to the container anyway, so getting a

Re: [Kicad-developers] [PATCH] Legacy: delete and force middle button pan for GAL consistency

2016-06-09 Thread Mário Luzeiro
Hi Timofonic, I may help answer some points. > What OpenGL version is KiCad using currently? I fail to see it 2.1 is required https://github.com/KiCad/kicad-source-mirror/blob/2928cb741961d5529cb2e57a9917922d80366c93/common/gal/opengl/opengl_gal.cpp#L1529 > Can newer OpenGL features provide

Re: [Kicad-developers] Failed to build on my system

2016-06-09 Thread jp charras
Le 09/06/2016 19:20, Mário Luzeiro a écrit : Hi Cirilo, With this commit: http://bazaar.launchpad.net/~kicad-product-committers/kicad/product/revision/6905 I cannot build now on Linux: 3d-viewer/3d_cache/3d_filename_resolver.cpp:845: error: no matching function for call to

[Kicad-developers] [PATCH 1/2] Avoid pointer truncation in debug message

2016-06-09 Thread Simon Richter
--- common/gal/opengl/cached_container.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/common/gal/opengl/cached_container.cpp b/common/gal/opengl/cached_container.cpp index 40d4969..2029929 100644 --- a/common/gal/opengl/cached_container.cpp +++

[Kicad-developers] [PATCH 2/2] Avoid warning about int -> pointer conversion

2016-06-09 Thread Simon Richter
--- common/gal/opengl/gpu_manager.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/common/gal/opengl/gpu_manager.cpp b/common/gal/opengl/gpu_manager.cpp index 2cba5cc..f14a994 100644 --- a/common/gal/opengl/gpu_manager.cpp +++ b/common/gal/opengl/gpu_manager.cpp @@

Re: [Kicad-developers] Failed to build on my system

2016-06-09 Thread Cirilo Bernardo
I agree, I flagged this as a bug but I may have forgotten to send a patch to the list. In this instance the iterators should be declared as the non-const type. On Fri, Jun 10, 2016 at 4:48 AM, Simon Richter wrote: > Hi, > > On 09.06.2016 20:28, Mário Luzeiro wrote: >

Re: [Kicad-developers] 3D filename resolution

2016-06-09 Thread Cirilo Bernardo
On Thu, Jun 9, 2016 at 10:07 PM, Wayne Stambaugh wrote: > On 6/9/2016 2:44 AM, jp charras wrote: > > Le 09/06/2016 à 08:31, Cirilo Bernardo a écrit : > >> Thanks Jean-Pierre, > >> > >> I'll work on the help button and on the display of KISYS3DMOD. In the > case > >> of

Re: [Kicad-developers] Failed to build on my system

2016-06-09 Thread Mário Luzeiro
This workaround works! From: Kicad-developers [kicad-developers-bounces+mrluzeiro=ua...@lists.launchpad.net] on behalf of jp charras [jp.char...@wanadoo.fr] Sent: 09 June 2016 19:08 To: kicad-developers@lists.launchpad.net Subject: Re: [Kicad-developers]

Re: [Kicad-developers] 3D filename resolution

2016-06-09 Thread Cirilo Bernardo
Thanks Jean-Pierre, I'll work on the help button and on the display of KISYS3DMOD. In the case of KISYS3DMOD, should I allow editing of the value or just display it? - Cirilo On Thu, Jun 9, 2016 at 3:58 PM, jp charras wrote: > Le 30/05/2016 à 10:56, Cirilo Bernardo a

Re: [Kicad-developers] 3D filename resolution

2016-06-09 Thread jp charras
Le 09/06/2016 à 08:31, Cirilo Bernardo a écrit : > Thanks Jean-Pierre, > > I'll work on the help button and on the display of KISYS3DMOD. In the case > of KISYS3DMOD, should I allow editing of the value or just display it? > > - Cirilo I do not have a strong opinion. Try to allow editing. It