Re: [Kicad-developers] libcurl github race condition

2016-01-10 Thread Jon Neal
I'm currently playing around with the idea of having actual git integration rather than downloading footprint files from github on the fly, which was extremely poorly thought out IMO. (FWIW I am of the opinion that for the next release the default libs should shipped locally. The github

Re: [Kicad-developers] libcurl github race condition

2016-01-10 Thread Adam Wolf
Jon, I know there's quite a few people on the list who are interested in this. Thanks! On Sun, Jan 10, 2016 at 9:28 PM, Jon Neal wrote: > I'm currently playing around with the idea of having actual git > integration rather than downloading footprint files from github on

Re: [Kicad-developers] Feature requests: Official "KiCad Team" section on website, migrate and update FAQ

2016-01-10 Thread timofonic timofonic
Yes, you are right. I'll try to prepare some drafts and put it in GitHub. Thanks for fixing my way of thinking, really. On Sun, Jan 10, 2016 at 11:29 AM, Nick Østergaard wrote: > 2016-01-10 10:38 GMT+01:00 timofonic timofonic : > > Hello. > > > > The

Re: [Kicad-developers] unused file: scripting/python_console_frame.h

2016-01-10 Thread Strontium
Hi Cirilo, It can be purged it doesn’t do anything any more. I wasn't sure what the procedure was to do that. Steven On 10/01/16 09:02, Cirilo Bernardo wrote: In somewhat recent changes to pcbnew/pcbframe.cpp the file scripting/python_console_frame.h has become orphaned. Can the file be

Re: [Kicad-developers] unused file: scripting/python_console_frame.h

2016-01-10 Thread Chris Pavlina
Removed in 6437. On Sun, Jan 10, 2016 at 08:15:41PM +0800, Strontium wrote: > Hi Cirilo, > > It can be purged it doesn’t do anything any more. > > I wasn't sure what the procedure was to do that. > > Steven > > On 10/01/16 09:02, Cirilo Bernardo wrote: > >In somewhat recent changes to

Re: [Kicad-developers] Feature requests: Official "KiCad Team" section on website, migrate and update FAQ

2016-01-10 Thread Nick Østergaard
2016-01-10 10:38 GMT+01:00 timofonic timofonic : > Hello. > > The website and the project are evolving a lot, congratulations! > > I see a small issue: There aren't an official "About us" or "About the team" > with a list of official KiCad Team members (maybe even subteams

[Kicad-developers] Feature requests: Official "KiCad Team" section on website, migrate and update FAQ

2016-01-10 Thread timofonic timofonic
Hello. The website and the project are evolving a lot, congratulations! I see a small issue: There aren't an official "About us" or "About the team" with a list of official KiCad Team members (maybe even subteams too?). I believe having this information in an easy to access and structured form

Re: [Kicad-developers] Libcurl patch.

2016-01-10 Thread Bernhard Stegmaier
What specifically should be tested? I can give it a try right now, but I didn’t follow this so I don’t know what to look for… Regards, Bernhard > On 10 Jan 2016, at 16:10, Wayne Stambaugh wrote: > > Did anyone get a chance to test this on OSX? I didn't see any response

Re: [Kicad-developers] Libcurl patch.

2016-01-10 Thread Bernhard Stegmaier
Thanks, it applied now. clang doesn’t like the static_cast: std::string msg = StrPrintf( "%s not wxDynamicLibrary::Load()ed", static_cast( canonicalName ) ); and also the same some lines below. [ 35%] Building CXX object

Re: [Kicad-developers] Silence boost warnings also for clang

2016-01-10 Thread Chris Pavlina
Low-risk and works fine for me - committed in 6438. Thank you. On Sun, Jan 10, 2016 at 05:16:45PM +0100, Bernhard Stegmaier wrote: > Hi, > > attached a small patch to also silence the annoying “unused local typedef” > warnings also for clang… would be great if someone can submit it. > > >

[Kicad-developers] Fwd: Libcurl patch.

2016-01-10 Thread Wayne Stambaugh
Did anyone get a chance to test this on OSX? I didn't see any response since I sent out the original message. I got bit by the libcurl bug that this patch fixes twice in the last week so I would like to get it committed. Thanks, Wayne Forwarded Message Subject: Libcurl

Re: [Kicad-developers] T-shapes, castellated pads, cut-outs, slots.. and 3d-viewer

2016-01-10 Thread Mário Luzeiro
"It would also be good to have an option to crop everything outside the board edge so that in files such as the pic_programmer demo we do not have silk prints magically floating in the air." I was thinking in the situation from a point of view of kicad as a CAD tool, it shouldn't hide from

Re: [Kicad-developers] T-shapes, castellated pads, cut-outs, slots.. and 3d-viewer

2016-01-10 Thread Nick Østergaard
2016-01-10 16:09 GMT+01:00 Mário Luzeiro : > > "It would also be good to have an option to crop everything outside the board > edge so that in files such as the pic_programmer demo we do not have silk > prints magically floating in the air." > > I was thinking in the situation

Re: [Kicad-developers] Libcurl patch.

2016-01-10 Thread Wayne Stambaugh
I just need to make sure it compiles and loads the github footprint libraries correctly. It loads libcurl on demand, I need to make sure that is working on osx. I've got it tested and working on linux and windows and I want to make sure we don't introduce any bugs in osx if I can avoid it.

Re: [Kicad-developers] Libcurl patch.

2016-01-10 Thread Bernhard Stegmaier
Do you have an up-to-date version of the patch? It doesn’t apply to pcbnew/github/github_plugin.cpp anymore, but doesn’t seem compile without resolving the rejects. Regards, Bernhard > On 10.01.2016, at 16:19, Wayne Stambaugh wrote: > > I just need to make sure it

Re: [Kicad-developers] Libcurl patch.

2016-01-10 Thread Wayne Stambaugh
Patch rebased against r6437. I just rebuild this on windows without any issues. On 1/10/2016 10:28 AM, Bernhard Stegmaier wrote: > Do you have an up-to-date version of the patch? > It doesn’t apply to pcbnew/github/github_plugin.cpp anymore, but doesn’t seem > compile without resolving the

Re: [Kicad-developers] T-shapes, castellated pads, cut-outs, slots.. and 3d-viewer

2016-01-10 Thread Wayne Stambaugh
On 1/10/2016 10:46 AM, Nick Østergaard wrote: > 2016-01-10 16:09 GMT+01:00 Mário Luzeiro : >> >> "It would also be good to have an option to crop everything outside the >> board edge so that in files such as the pic_programmer demo we do not have >> silk prints magically

Re: [Kicad-developers] Libcurl patch.

2016-01-10 Thread Bernhard Stegmaier
wxWidgets docs also used a cast: Using an explicit conversion to narrow, multibyte, string: printf("Hello, %s", (const char *)s.mb_str ()) So, I didn’t further think about it… :) > On 10.01.2016, at

[Kicad-developers] Silence boost warnings also for clang

2016-01-10 Thread Bernhard Stegmaier
Hi, attached a small patch to also silence the annoying “unused local typedef” warnings also for clang… would be great if someone can submit it. Regards, Bernhard silence-boost.patch Description: Binary data ___ Mailing list:

Re: [Kicad-developers] Opening pcbnew from kicad: ImportError: No module named pcbnew

2016-01-10 Thread Clemens Koller
Hello, Strontium! On 2016-01-09 06:52, Strontium wrote: > I am building with this: > $ cmake ../kicad-source-mirror -DKICAD_SKIP_BOOST=ON > -DCMAKE_INSTALL_PREFIX=/opt/kicad-build > -DDEFAULT_INSTALL_PATH=/opt/kicad-build -DKICAD_SCRIPTING=ON > -DKICAD_SCRIPTING_MODULES=ON

Re: [Kicad-developers] Libcurl patch.

2016-01-10 Thread Chris Pavlina
Yeah, you can't static_cast wxString to const char*, no idea why GCC allowed that, if it even did. Nothing wrong with the approach you used to replace it, though the static_cast in that case is unnecessary (no reason you can't just pass canonicalName.mb_str() directly to StrPrintf). On Sun,

Re: [Kicad-developers] Final? version of hotkeys patch

2016-01-10 Thread Chris Pavlina
Just to clarify - Wayne, are you still having a look at this, or were you just expecting me to merge my own patch when it's done? I think it's ready to go in. On Fri, Jan 08, 2016 at 01:16:52PM -0500, Chris Pavlina wrote: > Hi, > > Jesus, here be dragons. Finally got the hotkeys stuff working

Re: [Kicad-developers] Libcurl patch.

2016-01-10 Thread Wayne Stambaugh
Thanks Bernhard. I'll make the change to the wxString cast and commit the patch some time later today. On 1/10/2016 11:08 AM, Bernhard Stegmaier wrote: > Thanks, it applied now. > > clang doesn’t like the static_cast: > std::string msg = StrPrintf( "%s not >

Re: [Kicad-developers] Libcurl patch.

2016-01-10 Thread Wayne Stambaugh
From the wxWidgets 3 docs, it appears the correct way to deal with this is: But a better solution is to use wxWidgets-provided functions, if possible, as is the case for printf family of functions: // This is the recommended way. wxPrintf("You can do just this: %s", s); wxPrintf("And this (but

Re: [Kicad-developers] Final? version of hotkeys patch

2016-01-10 Thread Wayne Stambaugh
Sorry Chris. I've been busy and just didn't get to it yet. I'll try to take a look at it today or tomorrow. On 1/10/2016 4:13 PM, Chris Pavlina wrote: > Just to clarify - Wayne, are you still having a look at this, or were > you just expecting me to merge my own patch when it's done? I think

Re: [Kicad-developers] Full integration to Github

2016-01-10 Thread Clemens Koller
+1 with git since 0.something. Clemens On 2016-01-11 00:12, Piotr Esden-Tempski wrote: > Here also my 1ct. I am another of those potential developers that would > much more likely contribute to the project if done through GitHub. > > So +1 for GitHub transition from me. :) > > Cheers, >

[Kicad-developers] libcurl github race condition

2016-01-10 Thread Mark Roszko
Just a heads up as I fix this, there's a race condition with how libcurl in KiCad is implemented on Windows involving openssl. Turns out openssl being as trashy as it is has all kinds of thread safety issues without linking against it directly and doing something stupid (use its own locking

Re: [Kicad-developers] Libcurl patch.

2016-01-10 Thread Mark Roszko
Wayne, the only libcurl bug I know of is the fact that even libcurl is affected by openssl apparently not being truely thread safe (even via libcurl) and this patch will not fix it and it will still crash. I was working on a patch to truely fix it. ___

Re: [Kicad-developers] libcurl github race condition

2016-01-10 Thread Mark Roszko
Ah, I forgot to add that too, i.e. check once a day rather than every day. I consider it minor (but yes silly). ___ Mailing list: https://launchpad.net/~kicad-developers Post to : kicad-developers@lists.launchpad.net Unsubscribe :

Re: [Kicad-developers] libcurl github race condition

2016-01-10 Thread Tomasz Wlostowski
On 11.01.2016 01:49, Mark Roszko wrote: > My proposed solution: > > 2. Add a "update progress" UI, its completely stupid that when you > open CVPCB that it silently tries to update your 30+ libraries in the > background with no indication. This is really bad on users on bad > connections. If I

Re: [Kicad-developers] Opening pcbnew from kicad: ImportError: No module named pcbnew

2016-01-10 Thread Wayne Stambaugh
On 1/10/2016 11:13 AM, Clemens Koller wrote: > Hello, Strontium! > > On 2016-01-09 06:52, Strontium wrote: >> I am building with this: >> $ cmake ../kicad-source-mirror -DKICAD_SKIP_BOOST=ON >> -DCMAKE_INSTALL_PREFIX=/opt/kicad-build >> -DDEFAULT_INSTALL_PATH=/opt/kicad-build

Re: [Kicad-developers] Opening pcbnew from kicad: ImportError: No module named pcbnew

2016-01-10 Thread Nick Østergaard
2016-01-10 22:54 GMT+01:00 Wayne Stambaugh : > On 1/10/2016 11:13 AM, Clemens Koller wrote: >> Hello, Strontium! >> >> On 2016-01-09 06:52, Strontium wrote: >>> I am building with this: >>> $ cmake ../kicad-source-mirror -DKICAD_SKIP_BOOST=ON >>>

Re: [Kicad-developers] Full integration to Github

2016-01-10 Thread Piotr Esden-Tempski
Hi everyone, Here also my 1ct. I am another of those potential developers that would much more likely contribute to the project if done through GitHub. So +1 for GitHub transition from me. :) Cheers, Esden On 01/10/2016 01:19 AM, Duane Johnson wrote: As a software developer on the

Re: [Kicad-developers] Full integration to Github

2016-01-10 Thread Chris Pavlina
I would grump less, if that counts for anything ;) On Mon, Jan 11, 2016 at 12:12:45AM +0100, Piotr Esden-Tempski wrote: > Hi everyone, > > Here also my 1ct. I am another of those potential developers that would much > more likely contribute to the project if done through GitHub. > > So +1 for

Re: [Kicad-developers] Opening pcbnew from kicad: ImportError: No module named pcbnew

2016-01-10 Thread Clemens Koller
Hi! >>> It gets more interesting when I add the path to pcbnew.py: >>> >>> $ PYTHONPATH=~/SW/lib/python2.7/site-packages ./pcbnew >> >> I believe you wanted to do: >> >> $ export PYTHONPATH=~/SW/lib/python2.7/site-packages ./pcbnew > > You don't need the export when you write the variable before