Re: [Kicad-developers] Removing segment hard-coding

2019-05-15 Thread Seth Hillbrand

Am 2019-05-14 20:04, schrieb Seth Hillbrand:

Hi All-

I pushed a branch that removes the remaining hard-coded segment counts
to my kicad fork[1].  It touches many things, so I'd love to get some
testing before merging.

It has the side effect of needing to decouple the remaining
tool_manager interfaces from pcbnew.  I noticed a couple of hacks that
used some of these calls to fix focus bugs on Windows.  I think I
preserved this but it would be nice to verify.  The comments noted
that these occurred when the main window was minimized.  @JP, I think
that this was your comment (tool_dispatcher.cpp:320)

Thanks-
Seth

[1] https://code.launchpad.net/~sethh/kicad/+git/kicad/+ref/segments



If anyone would like some time to review this, let me know in the next 
couple days and I'll hold off before merging.


-Seth

___
Mailing list: https://launchpad.net/~kicad-developers
Post to : kicad-developers@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kicad-developers
More help   : https://help.launchpad.net/ListHelp


Re: [Kicad-developers] Question / maybe feature request

2019-05-15 Thread Steven A. Falco
On 5/15/19 6:49 PM, Eeli Kaikkonen wrote:
> to 16. toukok. 2019 klo 0.42 Steven A. Falco (stevenfa...@gmail.com 
> ) kirjoitti:
> 
> 
> 2) A way to have the Symbol Editor re-read the library file from the 
> disk.  Right now, I have to close and open the Symbol Editor to get it to 
> read the symbol from a .lib file.
> 
> 
> I think KiCad in general lacks the ability to reload files. That would be 
> handy for example when using git checkout. Many kinds of programs even 
> "listen" for changes in the file, give notice about it and offer to reload, 
> but it may be an overkill for KiCad.

Agreed - I thought about having KiCad watch for file changes, but that seems 
too complex.  I'd be very happy with a menu item or hot-key.

Steve


___
Mailing list: https://launchpad.net/~kicad-developers
Post to : kicad-developers@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kicad-developers
More help   : https://help.launchpad.net/ListHelp


Re: [Kicad-developers] Question / maybe feature request

2019-05-15 Thread Eeli Kaikkonen
to 16. toukok. 2019 klo 0.42 Steven A. Falco (stevenfa...@gmail.com)
kirjoitti:

>
> 2) A way to have the Symbol Editor re-read the library file from the
> disk.  Right now, I have to close and open the Symbol Editor to get it to
> read the symbol from a .lib file.
>

I think KiCad in general lacks the ability to reload files. That would be
handy for example when using git checkout. Many kinds of programs even
"listen" for changes in the file, give notice about it and offer to reload,
but it may be an overkill for KiCad.

Eeli Kaikkonen
___
Mailing list: https://launchpad.net/~kicad-developers
Post to : kicad-developers@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kicad-developers
More help   : https://help.launchpad.net/ListHelp


[Kicad-developers] Question / maybe feature request

2019-05-15 Thread Steven A. Falco
I tried asking this question on a KiCad user forum but didn't get anything 
usable, so perhaps I am looking for a new feature or enhancement.  It is also 
possible that this request overlaps with some of the hot-key work that is 
on-going.  Please let me know if there is a better place to ask the question 
and/or propose an enhancement.

I am trying to draw schematic symbols for old-fashioned rotary (wafer) 
switches; I'm reverse-engineering some Ham equipment from the 1940's, of all 
things.  But, this "want" has come up before for other symbols, so I think it's 
worth asking about.

I'm using a C program to generate most of the graphic elements in these 
symbols, because everything is in polar coordinates.  Here is a link to one of 
the symbols:

https://www.dropbox.com/s/doeyriwtktgo41p/Screenshot_20190515_172040.jpg?dl=0

There are two things that would make this easier:

1) A way to assign a hot-key to a Symbol Editor grid setting; i.e. something 
similar to the pcbnew "Fast Switching" feature in the Grid menu.  Basically, I 
need to switch between at least two different grid resolutions, because I draw 
part of the schematic symbol algorithmically and part of it manually in the 
Symbol Editor.  Ideally, it would be nice to be able to uniformly assign a 
hot-key for the grid size in all of the tools.

2) A way to have the Symbol Editor re-read the library file from the disk.  
Right now, I have to close and open the Symbol Editor to get it to read the 
symbol from a .lib file.  I have to iterate many times as I tune up my C 
program to generate the proper symbol elements, and it gets tedious to keep 
doing "close/open/select".

Hopefully this request is of some general interest, but please let me know if 
it is "insane". :-)

Steve




___
Mailing list: https://launchpad.net/~kicad-developers
Post to : kicad-developers@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kicad-developers
More help   : https://help.launchpad.net/ListHelp


Re: [Kicad-developers] Developer doc web page down

2019-05-15 Thread Andrew Lutsenko
Seet, thanks Nick
Those graphs are quite handy.

On Wed, May 15, 2019 at 2:25 PM Nick Østergaard  wrote:

> Fixed.
>
> On Wed, 15 May 2019 at 16:56, Nick Østergaard  wrote:
> >
> > Hi Andrew
> >
> > I can confirm that the png's are not available.
> >
> > The doxygen stuff is built in
> >
> https://github.com/KiCad/kicad-doc-website/blob/master/.docker/Dockerfile.kicad-doc-doxygen
> >
> > It is clear from the docker image, that the images are indeed missing.
> > docker run -it kicadeda/kicad-docs-website ash -c 'find
> > /usr/share/nginx/html/doxygen-python  -name "*png"'
> >
> > It looks like the kicad build script is buggy or I call the wrong make
> targets.
> >
> > make doxygen-docs
> > make doxygen-python
> >
> > It looks like some dependencies are unstable? Sometimes I get
> > ../build/pcbnew/doxygen-python and sometimes not...
> >
> > If we do inspect the kicad-doc-doxygen image with a Dockerfile as:
> > FROM busybox
> > FROM kicadeda/kicad-doc-doxygen:master
> > COPY --from=0 / /
> >
> > And run with:
> > docker run -it  sh -c "ls doxygen-python_html |grep
> png"
> >
> > We don't see the class png images.
> >
> > I guess we should continue this on the bug tracker.
> > https://github.com/KiCad/kicad-doc-website/issues/21
> >
> > Nick
> >
> >
> > On Fri, 10 May 2019 at 22:44, Andrew Lutsenko 
> wrote:
> > >
> > > Hi Nick,
> > > Any chance you can get pictures in python docs fixed too? Like
> inheritance graph here
> > >
> http://docs.kicad-pcb.org/doxygen-python/classpcbnew_1_1BOARD__ITEM.html
> > > This has been broken for a while.
> > >
> > > On Fri, May 10, 2019 at 7:59 AM Nick Østergaard 
> wrote:
> > >>
> > >> Disclamier: I disabled the auto update for now as the change is not
> merged pending review. I will fix it after the weekend.
> > >>
> > >> fre. 10. maj 2019 16.54 skrev Jon Evans :
> > >>>
> > >>> Thanks, Nick!
> > >>>
> > >>> On Thu, May 9, 2019 at 4:38 PM Nick Østergaard 
> wrote:
> > 
> >  It should work now, and it may also be a bit more responsive.
> > 
> >  On Thu, 9 May 2019 at 16:16, Nick Østergaard 
> wrote:
> >  >
> >  > I know. I will report back when it works.
> >  >
> >  > tor. 9. maj 2019 16.15 skrev Jon Evans :
> >  >>
> >  >> Still down
> >  >>
> >  >> On Wed, May 8, 2019 at 3:27 PM Wayne Stambaugh <
> stambau...@gmail.com> wrote:
> >  >>>
> >  >>> Still no luck :(
> >  >>>
> >  >>> On 5/8/19 10:12 AM, Nick Østergaard wrote:
> >  >>> > Ok, thank you for the notification.
> >  >>> >
> >  >>> > It looks like the publish job jot stuck in a retry loop, I
> have
> >  >>> > restarted it and it should be back within half an hour I hope.
> >  >>> >
> >  >>> > On Wed, 8 May 2019 at 15:15, Ben Hest 
> wrote:
> >  >>> >>
> >  >>> >> It's down for me.
> >  >>> >>
> >  >>> >> On Wed, May 8, 2019 at 6:20 AM Wayne Stambaugh <
> stambau...@gmail.com> wrote:
> >  >>> >>>
> >  >>> >>> Can anyone else get to the developers doc web page?  I
> still getting a
> >  >>> >>> 504 Gateway Time-out error since yesterday afternoon.  I am
> in the
> >  >>> >>> process of finishing up the v6 road map along with some
> other developer
> >  >>> >>> doc updates and I wanted to see if anything else needed
> updating.  Any
> >  >>> >>> help would be appreciated.
> >  >>> >>>
> >  >>> >>> Cheers,
> >  >>> >>>
> >  >>> >>> Wayne
> >  >>> >>>
> >  >>> >>> ___
> >  >>> >>> Mailing list: https://launchpad.net/~kicad-developers
> >  >>> >>> Post to : kicad-developers@lists.launchpad.net
> >  >>> >>> Unsubscribe : https://launchpad.net/~kicad-developers
> >  >>> >>> More help   : https://help.launchpad.net/ListHelp
> >  >>> >>
> >  >>> >>
> >  >>> >>
> >  >>> >> --
> >  >>> >>
> >  >>> >> -Ben
> >  >>> >> ___
> >  >>> >> Mailing list: https://launchpad.net/~kicad-developers
> >  >>> >> Post to : kicad-developers@lists.launchpad.net
> >  >>> >> Unsubscribe : https://launchpad.net/~kicad-developers
> >  >>> >> More help   : https://help.launchpad.net/ListHelp
> >  >>>
> >  >>> ___
> >  >>> Mailing list: https://launchpad.net/~kicad-developers
> >  >>> Post to : kicad-developers@lists.launchpad.net
> >  >>> Unsubscribe : https://launchpad.net/~kicad-developers
> >  >>> More help   : https://help.launchpad.net/ListHelp
> > >>
> > >> ___
> > >> Mailing list: https://launchpad.net/~kicad-developers
> > >> Post to : kicad-developers@lists.launchpad.net
> > >> Unsubscribe : https://launchpad.net/~kicad-developers
> > >> More help   : https://help.launchpad.net/ListHelp
>
___
Mailing list: https://launchpad.net/~kicad-developers
Post to : 

Re: [Kicad-developers] Developer doc web page down

2019-05-15 Thread Nick Østergaard
Fixed.

On Wed, 15 May 2019 at 16:56, Nick Østergaard  wrote:
>
> Hi Andrew
>
> I can confirm that the png's are not available.
>
> The doxygen stuff is built in
> https://github.com/KiCad/kicad-doc-website/blob/master/.docker/Dockerfile.kicad-doc-doxygen
>
> It is clear from the docker image, that the images are indeed missing.
> docker run -it kicadeda/kicad-docs-website ash -c 'find
> /usr/share/nginx/html/doxygen-python  -name "*png"'
>
> It looks like the kicad build script is buggy or I call the wrong make 
> targets.
>
> make doxygen-docs
> make doxygen-python
>
> It looks like some dependencies are unstable? Sometimes I get
> ../build/pcbnew/doxygen-python and sometimes not...
>
> If we do inspect the kicad-doc-doxygen image with a Dockerfile as:
> FROM busybox
> FROM kicadeda/kicad-doc-doxygen:master
> COPY --from=0 / /
>
> And run with:
> docker run -it  sh -c "ls doxygen-python_html |grep png"
>
> We don't see the class png images.
>
> I guess we should continue this on the bug tracker.
> https://github.com/KiCad/kicad-doc-website/issues/21
>
> Nick
>
>
> On Fri, 10 May 2019 at 22:44, Andrew Lutsenko  wrote:
> >
> > Hi Nick,
> > Any chance you can get pictures in python docs fixed too? Like inheritance 
> > graph here
> > http://docs.kicad-pcb.org/doxygen-python/classpcbnew_1_1BOARD__ITEM.html
> > This has been broken for a while.
> >
> > On Fri, May 10, 2019 at 7:59 AM Nick Østergaard  wrote:
> >>
> >> Disclamier: I disabled the auto update for now as the change is not merged 
> >> pending review. I will fix it after the weekend.
> >>
> >> fre. 10. maj 2019 16.54 skrev Jon Evans :
> >>>
> >>> Thanks, Nick!
> >>>
> >>> On Thu, May 9, 2019 at 4:38 PM Nick Østergaard  wrote:
> 
>  It should work now, and it may also be a bit more responsive.
> 
>  On Thu, 9 May 2019 at 16:16, Nick Østergaard  wrote:
>  >
>  > I know. I will report back when it works.
>  >
>  > tor. 9. maj 2019 16.15 skrev Jon Evans :
>  >>
>  >> Still down
>  >>
>  >> On Wed, May 8, 2019 at 3:27 PM Wayne Stambaugh  
>  >> wrote:
>  >>>
>  >>> Still no luck :(
>  >>>
>  >>> On 5/8/19 10:12 AM, Nick Østergaard wrote:
>  >>> > Ok, thank you for the notification.
>  >>> >
>  >>> > It looks like the publish job jot stuck in a retry loop, I have
>  >>> > restarted it and it should be back within half an hour I hope.
>  >>> >
>  >>> > On Wed, 8 May 2019 at 15:15, Ben Hest  
>  >>> > wrote:
>  >>> >>
>  >>> >> It's down for me.
>  >>> >>
>  >>> >> On Wed, May 8, 2019 at 6:20 AM Wayne Stambaugh 
>  >>> >>  wrote:
>  >>> >>>
>  >>> >>> Can anyone else get to the developers doc web page?  I still 
>  >>> >>> getting a
>  >>> >>> 504 Gateway Time-out error since yesterday afternoon.  I am in 
>  >>> >>> the
>  >>> >>> process of finishing up the v6 road map along with some other 
>  >>> >>> developer
>  >>> >>> doc updates and I wanted to see if anything else needed 
>  >>> >>> updating.  Any
>  >>> >>> help would be appreciated.
>  >>> >>>
>  >>> >>> Cheers,
>  >>> >>>
>  >>> >>> Wayne
>  >>> >>>
>  >>> >>> ___
>  >>> >>> Mailing list: https://launchpad.net/~kicad-developers
>  >>> >>> Post to : kicad-developers@lists.launchpad.net
>  >>> >>> Unsubscribe : https://launchpad.net/~kicad-developers
>  >>> >>> More help   : https://help.launchpad.net/ListHelp
>  >>> >>
>  >>> >>
>  >>> >>
>  >>> >> --
>  >>> >>
>  >>> >> -Ben
>  >>> >> ___
>  >>> >> Mailing list: https://launchpad.net/~kicad-developers
>  >>> >> Post to : kicad-developers@lists.launchpad.net
>  >>> >> Unsubscribe : https://launchpad.net/~kicad-developers
>  >>> >> More help   : https://help.launchpad.net/ListHelp
>  >>>
>  >>> ___
>  >>> Mailing list: https://launchpad.net/~kicad-developers
>  >>> Post to : kicad-developers@lists.launchpad.net
>  >>> Unsubscribe : https://launchpad.net/~kicad-developers
>  >>> More help   : https://help.launchpad.net/ListHelp
> >>
> >> ___
> >> Mailing list: https://launchpad.net/~kicad-developers
> >> Post to : kicad-developers@lists.launchpad.net
> >> Unsubscribe : https://launchpad.net/~kicad-developers
> >> More help   : https://help.launchpad.net/ListHelp

___
Mailing list: https://launchpad.net/~kicad-developers
Post to : kicad-developers@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kicad-developers
More help   : https://help.launchpad.net/ListHelp


Re: [Kicad-developers] Context menu not shown in Pcbnew.

2019-05-15 Thread John Beard

On 15/05/2019 18:32, Jeff Young wrote:

This is probably a good time for a few words about the new code.


Looks nice!

I'm seeing dozens (36 to be exact) of asserts on startup under GTK3:

./src/gtk/menu.cpp(729): assert "Assert failure" failed in SetBitmap(): 
only normal menu items can have bitmaps


I haven't tracked it down yet, but it's probably one per "checkbox" menu 
item.


I can file a bug if you prefer.

Cheers,

John

___
Mailing list: https://launchpad.net/~kicad-developers
Post to : kicad-developers@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kicad-developers
More help   : https://help.launchpad.net/ListHelp


Re: [Kicad-developers] Context menu not shown in Pcbnew.

2019-05-15 Thread Jeff Young
Hi Michael,

I’ve removed a bunch of the disabling on purpose.  Some of them serve a purpose 
(such as undo/redo telling you when you’re at the start or end of the stack).  
Most of them are just noise in the UI.

Could you log a bug for the icon scale thing?  That’s not something I know how 
to fix at present.

Cheers,
Jeff.


> On 15 May 2019, at 19:09, Michael Kavanagh  wrote:
> 
> Hi Jeff,
> 
> This is great! A few comments:
> The icon scale doesn't seem to work
> Eeschema: Leave sheet button is always enabled.
> Libedit: the arc and polyline tools have the circle tool icon. Also these 
> aren't disabled when there's no symbol loaded on startup.
> Cheers.
> Michael
> 
> On Wed, 15 May 2019 at 18:32, Jeff Young  > wrote:
> This is probably a good time for a few words about the new code.
> 
> CONDITIONAL_MENU (which we used to use just for context menus) has been 
> expanded to also work in the main menu bar.  You can insert either ACTIONs or 
> wxWidgets’ style IDs into it.  In either case, you no longer need UpdateUI 
> event handlers as the conditions handle that.  This allows for much improved 
> encapsulation (and wxWidgets isolation, for what that’s worth).
> 
> There is also now ACTION_TOOLBAR, which is more-or-less an equivalent for 
> toolbars.  However, it doesn’t handle conditionals as toolbars have to be 
> kept up-to-date at all times due to their visibility.  The modern toolset 
> already provided SyncMenusAndToolbars() for this (so we still get improved 
> encapsulation).  We could probably rename that to SyncToolbars(), though, as 
> it no longer needs to do the menus.
> 
> Cheers,
> Jeff.
> 
> 
>> On 15 May 2019, at 18:13, Jeff Young > > wrote:
>> 
>> I’ve just pushed new bits.  I don’t have any expectation that they’ll fix 
>> this, but they do make changes in that area so they might.
>> 
>> Oh, wait, you guys are just seeing this in PCBNew?  In that case I do think 
>> my new bits will fix it.  (The call to evaluate the conditions wasn’t 
>> getting caught.)
>> 
>> However, Art and Laurent also reported it in Eeschema, which I can’t explain.
>> 
>> Cheers,
>> Jeff.
>> 
>> 
>>> On 15 May 2019, at 18:10, Jeff Young >> > wrote:
>>> 
>>> I haven’t seen this on OSX, but Art and Laurent have reported it on MSW.
>>> 
 On 15 May 2019, at 17:46, Jon Evans >>> > wrote:
 
 I just checked, I see the same problem, Ubuntu / GTK3 (interesting that it 
 works for you, JP)
 
 On Wed, May 15, 2019 at 12:44 PM jp charras >>> > wrote:
 Is it just me, or it affects some other users?
 
 Since changes in commit ef5c69167, in Pcbnew, Linux Ubuntu / GTK2 (right
 mouse click) is not displayed:
 
 on Windows and Linux Ubuntu / GTK2 it is displayed only when the "Route
 track" tool is active.
 
 On Linux/ GTK2 a small rect is shown, like a empty popup menu.
 
 However on Linux Ubuntu / GTK3 the context menu is always displayed.
 
 Other applications work fine.
 
 -- 
 Jean-Pierre CHARRAS
 
 ___
 Mailing list: https://launchpad.net/~kicad-developers 
 
 Post to : kicad-developers@lists.launchpad.net 
 
 Unsubscribe : https://launchpad.net/~kicad-developers 
 
 More help   : https://help.launchpad.net/ListHelp 
 
 ___
 Mailing list: https://launchpad.net/~kicad-developers 
 
 Post to : kicad-developers@lists.launchpad.net 
 
 Unsubscribe : https://launchpad.net/~kicad-developers 
 
 More help   : https://help.launchpad.net/ListHelp 
 
>>> 
>>> ___
>>> Mailing list: https://launchpad.net/~kicad-developers 
>>> 
>>> Post to : kicad-developers@lists.launchpad.net 
>>> 
>>> Unsubscribe : https://launchpad.net/~kicad-developers 
>>> 
>>> More help   : https://help.launchpad.net/ListHelp 
>>> 
>> 
>> ___
>> Mailing list: https://launchpad.net/~kicad-developers 
>> 
>> Post to : kicad-developers@lists.launchpad.net 
>> 
>> Unsubscribe : https://launchpad.net/~kicad-developers 
>> 
>> More help   : https://help.launchpad.net/ListHelp 
>> 

Re: [Kicad-developers] Context menu not shown in Pcbnew.

2019-05-15 Thread Michael Kavanagh
Hi Jeff,

This is great! A few comments:

   - The icon scale doesn't seem to work
   - Eeschema: Leave sheet button is always enabled.
   - Libedit: the arc and polyline tools have the circle tool icon. Also
   these aren't disabled when there's no symbol loaded on startup.

Cheers.
Michael

On Wed, 15 May 2019 at 18:32, Jeff Young  wrote:

> This is probably a good time for a few words about the new code.
>
> CONDITIONAL_MENU (which we used to use just for context menus) has been
> expanded to also work in the main menu bar.  You can insert either ACTIONs
> or wxWidgets’ style IDs into it.  In either case, you no longer need
> UpdateUI event handlers as the conditions handle that.  This allows for
> much improved encapsulation (and wxWidgets isolation, for what that’s
> worth).
>
> There is also now ACTION_TOOLBAR, which is more-or-less an equivalent for
> toolbars.  However, it doesn’t handle conditionals as toolbars have to be
> kept up-to-date at all times due to their visibility.  The modern toolset
> already provided SyncMenusAndToolbars() for this (so we still get improved
> encapsulation).  We could probably rename that to SyncToolbars(), though,
> as it no longer needs to do the menus.
>
> Cheers,
> Jeff.
>
>
> On 15 May 2019, at 18:13, Jeff Young  wrote:
>
> I’ve just pushed new bits.  I don’t have any expectation that they’ll fix
> this, but they do make changes in that area so they might.
>
> Oh, wait, you guys are just seeing this in PCBNew?  In that case I do
> think my new bits will fix it.  (The call to evaluate the conditions wasn’t
> getting caught.)
>
> However, Art and Laurent also reported it in Eeschema, which I can’t
> explain.
>
> Cheers,
> Jeff.
>
>
> On 15 May 2019, at 18:10, Jeff Young  wrote:
>
> I haven’t seen this on OSX, but Art and Laurent have reported it on MSW.
>
> On 15 May 2019, at 17:46, Jon Evans  wrote:
>
> I just checked, I see the same problem, Ubuntu / GTK3 (interesting that it
> works for you, JP)
>
> On Wed, May 15, 2019 at 12:44 PM jp charras  wrote:
>
>> Is it just me, or it affects some other users?
>>
>> Since changes in commit ef5c69167, in Pcbnew, Linux Ubuntu / GTK2 (right
>> mouse click) is not displayed:
>>
>> on Windows and Linux Ubuntu / GTK2 it is displayed only when the "Route
>> track" tool is active.
>>
>> On Linux/ GTK2 a small rect is shown, like a empty popup menu.
>>
>> However on Linux Ubuntu / GTK3 the context menu is always displayed.
>>
>> Other applications work fine.
>>
>> --
>> Jean-Pierre CHARRAS
>>
>> ___
>> Mailing list: https://launchpad.net/~kicad-developers
>> Post to : kicad-developers@lists.launchpad.net
>> Unsubscribe : https://launchpad.net/~kicad-developers
>> More help   : https://help.launchpad.net/ListHelp
>>
> ___
> Mailing list: https://launchpad.net/~kicad-developers
> Post to : kicad-developers@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~kicad-developers
> More help   : https://help.launchpad.net/ListHelp
>
>
> ___
> Mailing list: https://launchpad.net/~kicad-developers
> Post to : kicad-developers@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~kicad-developers
> More help   : https://help.launchpad.net/ListHelp
>
>
> ___
> Mailing list: https://launchpad.net/~kicad-developers
> Post to : kicad-developers@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~kicad-developers
> More help   : https://help.launchpad.net/ListHelp
>
>
> ___
> Mailing list: https://launchpad.net/~kicad-developers
> Post to : kicad-developers@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~kicad-developers
> More help   : https://help.launchpad.net/ListHelp
>
___
Mailing list: https://launchpad.net/~kicad-developers
Post to : kicad-developers@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kicad-developers
More help   : https://help.launchpad.net/ListHelp


Re: [Kicad-developers] Context menu not shown in Pcbnew.

2019-05-15 Thread Jeff Young
This is probably a good time for a few words about the new code.

CONDITIONAL_MENU (which we used to use just for context menus) has been 
expanded to also work in the main menu bar.  You can insert either ACTIONs or 
wxWidgets’ style IDs into it.  In either case, you no longer need UpdateUI 
event handlers as the conditions handle that.  This allows for much improved 
encapsulation (and wxWidgets isolation, for what that’s worth).

There is also now ACTION_TOOLBAR, which is more-or-less an equivalent for 
toolbars.  However, it doesn’t handle conditionals as toolbars have to be kept 
up-to-date at all times due to their visibility.  The modern toolset already 
provided SyncMenusAndToolbars() for this (so we still get improved 
encapsulation).  We could probably rename that to SyncToolbars(), though, as it 
no longer needs to do the menus.

Cheers,
Jeff.


> On 15 May 2019, at 18:13, Jeff Young  wrote:
> 
> I’ve just pushed new bits.  I don’t have any expectation that they’ll fix 
> this, but they do make changes in that area so they might.
> 
> Oh, wait, you guys are just seeing this in PCBNew?  In that case I do think 
> my new bits will fix it.  (The call to evaluate the conditions wasn’t getting 
> caught.)
> 
> However, Art and Laurent also reported it in Eeschema, which I can’t explain.
> 
> Cheers,
> Jeff.
> 
> 
>> On 15 May 2019, at 18:10, Jeff Young > > wrote:
>> 
>> I haven’t seen this on OSX, but Art and Laurent have reported it on MSW.
>> 
>>> On 15 May 2019, at 17:46, Jon Evans >> > wrote:
>>> 
>>> I just checked, I see the same problem, Ubuntu / GTK3 (interesting that it 
>>> works for you, JP)
>>> 
>>> On Wed, May 15, 2019 at 12:44 PM jp charras >> > wrote:
>>> Is it just me, or it affects some other users?
>>> 
>>> Since changes in commit ef5c69167, in Pcbnew, Linux Ubuntu / GTK2 (right
>>> mouse click) is not displayed:
>>> 
>>> on Windows and Linux Ubuntu / GTK2 it is displayed only when the "Route
>>> track" tool is active.
>>> 
>>> On Linux/ GTK2 a small rect is shown, like a empty popup menu.
>>> 
>>> However on Linux Ubuntu / GTK3 the context menu is always displayed.
>>> 
>>> Other applications work fine.
>>> 
>>> -- 
>>> Jean-Pierre CHARRAS
>>> 
>>> ___
>>> Mailing list: https://launchpad.net/~kicad-developers 
>>> 
>>> Post to : kicad-developers@lists.launchpad.net 
>>> 
>>> Unsubscribe : https://launchpad.net/~kicad-developers 
>>> 
>>> More help   : https://help.launchpad.net/ListHelp 
>>> 
>>> ___
>>> Mailing list: https://launchpad.net/~kicad-developers 
>>> 
>>> Post to : kicad-developers@lists.launchpad.net 
>>> 
>>> Unsubscribe : https://launchpad.net/~kicad-developers 
>>> 
>>> More help   : https://help.launchpad.net/ListHelp 
>>> 
>> 
>> ___
>> Mailing list: https://launchpad.net/~kicad-developers 
>> 
>> Post to : kicad-developers@lists.launchpad.net 
>> 
>> Unsubscribe : https://launchpad.net/~kicad-developers 
>> 
>> More help   : https://help.launchpad.net/ListHelp 
>> 
> 
> ___
> Mailing list: https://launchpad.net/~kicad-developers
> Post to : kicad-developers@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~kicad-developers
> More help   : https://help.launchpad.net/ListHelp

___
Mailing list: https://launchpad.net/~kicad-developers
Post to : kicad-developers@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kicad-developers
More help   : https://help.launchpad.net/ListHelp


Re: [Kicad-developers] Context menu not shown in Pcbnew.

2019-05-15 Thread Jeff Young
I’ve just pushed new bits.  I don’t have any expectation that they’ll fix this, 
but they do make changes in that area so they might.

Oh, wait, you guys are just seeing this in PCBNew?  In that case I do think my 
new bits will fix it.  (The call to evaluate the conditions wasn’t getting 
caught.)

However, Art and Laurent also reported it in Eeschema, which I can’t explain.

Cheers,
Jeff.


> On 15 May 2019, at 18:10, Jeff Young  wrote:
> 
> I haven’t seen this on OSX, but Art and Laurent have reported it on MSW.
> 
>> On 15 May 2019, at 17:46, Jon Evans > > wrote:
>> 
>> I just checked, I see the same problem, Ubuntu / GTK3 (interesting that it 
>> works for you, JP)
>> 
>> On Wed, May 15, 2019 at 12:44 PM jp charras > > wrote:
>> Is it just me, or it affects some other users?
>> 
>> Since changes in commit ef5c69167, in Pcbnew, Linux Ubuntu / GTK2 (right
>> mouse click) is not displayed:
>> 
>> on Windows and Linux Ubuntu / GTK2 it is displayed only when the "Route
>> track" tool is active.
>> 
>> On Linux/ GTK2 a small rect is shown, like a empty popup menu.
>> 
>> However on Linux Ubuntu / GTK3 the context menu is always displayed.
>> 
>> Other applications work fine.
>> 
>> -- 
>> Jean-Pierre CHARRAS
>> 
>> ___
>> Mailing list: https://launchpad.net/~kicad-developers 
>> 
>> Post to : kicad-developers@lists.launchpad.net 
>> 
>> Unsubscribe : https://launchpad.net/~kicad-developers 
>> 
>> More help   : https://help.launchpad.net/ListHelp 
>> 
>> ___
>> Mailing list: https://launchpad.net/~kicad-developers 
>> 
>> Post to : kicad-developers@lists.launchpad.net 
>> 
>> Unsubscribe : https://launchpad.net/~kicad-developers 
>> 
>> More help   : https://help.launchpad.net/ListHelp 
>> 
> 
> ___
> Mailing list: https://launchpad.net/~kicad-developers
> Post to : kicad-developers@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~kicad-developers
> More help   : https://help.launchpad.net/ListHelp

___
Mailing list: https://launchpad.net/~kicad-developers
Post to : kicad-developers@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kicad-developers
More help   : https://help.launchpad.net/ListHelp


Re: [Kicad-developers] Context menu not shown in Pcbnew.

2019-05-15 Thread Jeff Young
I haven’t seen this on OSX, but Art and Laurent have reported it on MSW.

> On 15 May 2019, at 17:46, Jon Evans  wrote:
> 
> I just checked, I see the same problem, Ubuntu / GTK3 (interesting that it 
> works for you, JP)
> 
> On Wed, May 15, 2019 at 12:44 PM jp charras  > wrote:
> Is it just me, or it affects some other users?
> 
> Since changes in commit ef5c69167, in Pcbnew, Linux Ubuntu / GTK2 (right
> mouse click) is not displayed:
> 
> on Windows and Linux Ubuntu / GTK2 it is displayed only when the "Route
> track" tool is active.
> 
> On Linux/ GTK2 a small rect is shown, like a empty popup menu.
> 
> However on Linux Ubuntu / GTK3 the context menu is always displayed.
> 
> Other applications work fine.
> 
> -- 
> Jean-Pierre CHARRAS
> 
> ___
> Mailing list: https://launchpad.net/~kicad-developers 
> 
> Post to : kicad-developers@lists.launchpad.net 
> 
> Unsubscribe : https://launchpad.net/~kicad-developers 
> 
> More help   : https://help.launchpad.net/ListHelp 
> 
> ___
> Mailing list: https://launchpad.net/~kicad-developers
> Post to : kicad-developers@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~kicad-developers
> More help   : https://help.launchpad.net/ListHelp

___
Mailing list: https://launchpad.net/~kicad-developers
Post to : kicad-developers@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kicad-developers
More help   : https://help.launchpad.net/ListHelp


Re: [Kicad-developers] Context menu not shown in Pcbnew.

2019-05-15 Thread jp charras
Le 15/05/2019 à 18:46, Jon Evans a écrit :
> I just checked, I see the same problem, Ubuntu / GTK3 (interesting that
> it works for you, JP)

In fact my kicad/GTK3 build was too old (I was thinking it is up to
date, but I was mistaken).
I have the same issue on GTK3: context menu not shown (although a
rectangle similar to an empty popup menu is shown)

> 
> On Wed, May 15, 2019 at 12:44 PM jp charras  > wrote:
> 
> Is it just me, or it affects some other users?
> 
> Since changes in commit ef5c69167, in Pcbnew, Linux Ubuntu / GTK2 (right
> mouse click) is not displayed:
> 
> on Windows and Linux Ubuntu / GTK2 it is displayed only when the "Route
> track" tool is active.
> 
> On Linux/ GTK2 a small rect is shown, like a empty popup menu.
> 
> However on Linux Ubuntu / GTK3 the context menu is always displayed.
> 
> Other applications work fine.
> 
> -- 
> Jean-Pierre CHARRAS
> 
> ___
> Mailing list: https://launchpad.net/~kicad-developers
> Post to     : kicad-developers@lists.launchpad.net
> 
> Unsubscribe : https://launchpad.net/~kicad-developers
> More help   : https://help.launchpad.net/ListHelp
> 


-- 
Jean-Pierre CHARRAS

___
Mailing list: https://launchpad.net/~kicad-developers
Post to : kicad-developers@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kicad-developers
More help   : https://help.launchpad.net/ListHelp


Re: [Kicad-developers] Context menu not shown in Pcbnew.

2019-05-15 Thread Jon Evans
I just checked, I see the same problem, Ubuntu / GTK3 (interesting that it
works for you, JP)

On Wed, May 15, 2019 at 12:44 PM jp charras  wrote:

> Is it just me, or it affects some other users?
>
> Since changes in commit ef5c69167, in Pcbnew, Linux Ubuntu / GTK2 (right
> mouse click) is not displayed:
>
> on Windows and Linux Ubuntu / GTK2 it is displayed only when the "Route
> track" tool is active.
>
> On Linux/ GTK2 a small rect is shown, like a empty popup menu.
>
> However on Linux Ubuntu / GTK3 the context menu is always displayed.
>
> Other applications work fine.
>
> --
> Jean-Pierre CHARRAS
>
> ___
> Mailing list: https://launchpad.net/~kicad-developers
> Post to : kicad-developers@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~kicad-developers
> More help   : https://help.launchpad.net/ListHelp
>
___
Mailing list: https://launchpad.net/~kicad-developers
Post to : kicad-developers@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kicad-developers
More help   : https://help.launchpad.net/ListHelp


[Kicad-developers] Context menu not shown in Pcbnew.

2019-05-15 Thread jp charras
Is it just me, or it affects some other users?

Since changes in commit ef5c69167, in Pcbnew, Linux Ubuntu / GTK2 (right
mouse click) is not displayed:

on Windows and Linux Ubuntu / GTK2 it is displayed only when the "Route
track" tool is active.

On Linux/ GTK2 a small rect is shown, like a empty popup menu.

However on Linux Ubuntu / GTK3 the context menu is always displayed.

Other applications work fine.

-- 
Jean-Pierre CHARRAS

___
Mailing list: https://launchpad.net/~kicad-developers
Post to : kicad-developers@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kicad-developers
More help   : https://help.launchpad.net/ListHelp


Re: [Kicad-developers] Developer doc web page down

2019-05-15 Thread Nick Østergaard
Hi Andrew

I can confirm that the png's are not available.

The doxygen stuff is built in
https://github.com/KiCad/kicad-doc-website/blob/master/.docker/Dockerfile.kicad-doc-doxygen

It is clear from the docker image, that the images are indeed missing.
docker run -it kicadeda/kicad-docs-website ash -c 'find
/usr/share/nginx/html/doxygen-python  -name "*png"'

It looks like the kicad build script is buggy or I call the wrong make targets.

make doxygen-docs
make doxygen-python

It looks like some dependencies are unstable? Sometimes I get
../build/pcbnew/doxygen-python and sometimes not...

If we do inspect the kicad-doc-doxygen image with a Dockerfile as:
FROM busybox
FROM kicadeda/kicad-doc-doxygen:master
COPY --from=0 / /

And run with:
docker run -it  sh -c "ls doxygen-python_html |grep png"

We don't see the class png images.

I guess we should continue this on the bug tracker.
https://github.com/KiCad/kicad-doc-website/issues/21

Nick


On Fri, 10 May 2019 at 22:44, Andrew Lutsenko  wrote:
>
> Hi Nick,
> Any chance you can get pictures in python docs fixed too? Like inheritance 
> graph here
> http://docs.kicad-pcb.org/doxygen-python/classpcbnew_1_1BOARD__ITEM.html
> This has been broken for a while.
>
> On Fri, May 10, 2019 at 7:59 AM Nick Østergaard  wrote:
>>
>> Disclamier: I disabled the auto update for now as the change is not merged 
>> pending review. I will fix it after the weekend.
>>
>> fre. 10. maj 2019 16.54 skrev Jon Evans :
>>>
>>> Thanks, Nick!
>>>
>>> On Thu, May 9, 2019 at 4:38 PM Nick Østergaard  wrote:

 It should work now, and it may also be a bit more responsive.

 On Thu, 9 May 2019 at 16:16, Nick Østergaard  wrote:
 >
 > I know. I will report back when it works.
 >
 > tor. 9. maj 2019 16.15 skrev Jon Evans :
 >>
 >> Still down
 >>
 >> On Wed, May 8, 2019 at 3:27 PM Wayne Stambaugh  
 >> wrote:
 >>>
 >>> Still no luck :(
 >>>
 >>> On 5/8/19 10:12 AM, Nick Østergaard wrote:
 >>> > Ok, thank you for the notification.
 >>> >
 >>> > It looks like the publish job jot stuck in a retry loop, I have
 >>> > restarted it and it should be back within half an hour I hope.
 >>> >
 >>> > On Wed, 8 May 2019 at 15:15, Ben Hest  wrote:
 >>> >>
 >>> >> It's down for me.
 >>> >>
 >>> >> On Wed, May 8, 2019 at 6:20 AM Wayne Stambaugh 
 >>> >>  wrote:
 >>> >>>
 >>> >>> Can anyone else get to the developers doc web page?  I still 
 >>> >>> getting a
 >>> >>> 504 Gateway Time-out error since yesterday afternoon.  I am in the
 >>> >>> process of finishing up the v6 road map along with some other 
 >>> >>> developer
 >>> >>> doc updates and I wanted to see if anything else needed updating.  
 >>> >>> Any
 >>> >>> help would be appreciated.
 >>> >>>
 >>> >>> Cheers,
 >>> >>>
 >>> >>> Wayne
 >>> >>>
 >>> >>> ___
 >>> >>> Mailing list: https://launchpad.net/~kicad-developers
 >>> >>> Post to : kicad-developers@lists.launchpad.net
 >>> >>> Unsubscribe : https://launchpad.net/~kicad-developers
 >>> >>> More help   : https://help.launchpad.net/ListHelp
 >>> >>
 >>> >>
 >>> >>
 >>> >> --
 >>> >>
 >>> >> -Ben
 >>> >> ___
 >>> >> Mailing list: https://launchpad.net/~kicad-developers
 >>> >> Post to : kicad-developers@lists.launchpad.net
 >>> >> Unsubscribe : https://launchpad.net/~kicad-developers
 >>> >> More help   : https://help.launchpad.net/ListHelp
 >>>
 >>> ___
 >>> Mailing list: https://launchpad.net/~kicad-developers
 >>> Post to : kicad-developers@lists.launchpad.net
 >>> Unsubscribe : https://launchpad.net/~kicad-developers
 >>> More help   : https://help.launchpad.net/ListHelp
>>
>> ___
>> Mailing list: https://launchpad.net/~kicad-developers
>> Post to : kicad-developers@lists.launchpad.net
>> Unsubscribe : https://launchpad.net/~kicad-developers
>> More help   : https://help.launchpad.net/ListHelp

___
Mailing list: https://launchpad.net/~kicad-developers
Post to : kicad-developers@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kicad-developers
More help   : https://help.launchpad.net/ListHelp