Jeff Epler | 1 Mar 2012 04:41
Favicon

Re: [Emc-commit] master: tests/python-self: extend test to cover 'self' passed to __init__()

On Wed, Feb 29, 2012 at 08:59:52AM +0000, Michael Haberler wrote:
> +    if hasattr(interpreter,'this'):
> +        if self != interpreter.this:
> +            print "__init__: self != this"

I *think* that your intent here is to check for object identity.  If so,
you want to write
    if self.interpreter is not self.this: ...

However, the test probably checks approximately what you intend, because
"If no __cmp__(), __eq__() or __ne__() operation is defined, class
instances are compared by object identity (“address”)."
-- http://docs.python.org/reference/datamodel.html#object.__cmp__

Jeff

------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
Emc-developers mailing list
Emc-developers <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers
SourceForge.net | 1 Mar 2012 17:50
Picon

[ emc-Bugs-3477158 ] Command following M66 doesn't run in MDI

Bugs item #3477158, was opened at 2012-01-21 17:50
Message generated for change (Comment added) made by mahsofo
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=106744&aid=3477158&group_id=6744

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: G-code Interpreter
Group: None
>Status: Pending
Resolution: None
Priority: 5
Private: No
Submitted By: Erik Friesen (erikfriesen)
>Assigned to: Michael Haberler (mahsofo)
Summary: Command following M66 doesn't run in MDI

Initial Comment:
After homing, call o<testsub> from the mdi line, notice it doesn't execute the last line, until G0, or some
other command is entered from the MDI.

----------------------------------------------------------------------

>Comment By: Michael Haberler (mahsofo)
Date: 2012-03-01 08:50

Message:
fixed in  v2.5_branch f37c689feb and master ae84cd9e2

(Continue reading)

Sebastian Kuzminsky | 1 Mar 2012 18:02
Gravatar

Re: [Emc-commit] v2.5_branch: interp: fix 'Command following M66 doesn't run in MDI - ID: 3477158'

Wow, nice work Michael!

On Mar 1, 2012, at 09:37 , Michael Haberler wrote:

> interp: fix 'Command following M66 doesn't run in MDI - ID: 3477158'
> 
> 
> 
> http://git.linuxcnc.org/?p=emc2.git;a=commitdiff;h=f37c689
> 
> ---
> src/emc/rs274ngc/rs274ngc_pre.cc |    2 ++
> 1 files changed, 2 insertions(+), 0 deletions(-)
> 
> diff --git a/src/emc/rs274ngc/rs274ngc_pre.cc b/src/emc/rs274ngc/rs274ngc_pre.cc
> index 82c10fe..9b7c206 100644
> --- a/src/emc/rs274ngc/rs274ngc_pre.cc
> +++ b/src/emc/rs274ngc/rs274ngc_pre.cc
>  <at>  <at>  -261,6 +261,8  <at>  <at>  int Interp::_execute(const char *command)
>           }
>       }
>       _setup.mdi_interrupt = false;
> +     if (MDImode)
> +	  FINISH();
> #endif
>       return INTERP_OK;
>     }
> 
> ------------------------------------------------------------------------------
> Virtualization & Cloud Management Using Capacity Planning
(Continue reading)

Dave | 5 Mar 2012 16:08

mesa_7i65.comp component in /src/hal/drivers


I did a git clone this weekend and a checkout of 2.5_branch.

The mesa_7i65.comp file which is used for my configuration with the 7i65 
card was not found in the 2.5_branch.

However, I found the mesa_7i65.comp file was in the current master.   
The master compiled without errors.

I wanted to use the comp file with 2.5_ branch thinking it might be more 
stable.

So I copied the mesa_7i65.comp file from the master into the 2.5_branch 
version manually and attempted a compile.

The compiler first threw an error saying there was no function defined 
in the comp file - which was correct.   So I added " function _ fp; "  
prior to the " ;; "
in the component file.   The function error went away but was replaced 
by 3 or 4 other subsequent errors - some that were not at all obvious.

It appears that the compile settings are set for much tighter error 
checking for 2.5_branch??

Is that typical?

The difference really threw me off track for a while.

Also FWIW:
I also found that since the software has been partially purged of 
(Continue reading)

Chris Morley | 5 Mar 2012 20:31
Picon
Favicon

NCGGUI embedded in a GTK window

Is it possibly to reparent NGCGUI in to a gtk window?

I tried it and the tab was made and NGCGUI showed - just not in the tab.
I assume NGCGUI needs some added code to allow reparenting?

Chris M
------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
_______________________________________________
Emc-developers mailing list
Emc-developers@...
https://lists.sourceforge.net/lists/listinfo/emc-developers
Frank Tkalcevic | 6 Mar 2012 06:42
Picon
Favicon
Gravatar

Re: NCGGUI embedded in a GTK window

There are two ways to reparent – pass the window id to the child window so it can embed itself, or grab the child window id and force the embedding.  I’m playing with Qt at the moment.  I created a gremlin-embed.py to use method 1.  I also embedded vismach using the second method – vismach uses tcl which doesn’t support the first method.  It depends on what your application supports.

 

 

From: Chris Morley [mailto:chrisinnanaimo-PkbjNfxxIARBDgjK7y7TUQ@public.gmane.org]
Sent: Tuesday, 6 March 2012 6:32 AM
To: EMC DEV
Subject: [Emc-developers] NCGGUI embedded in a GTK window

 

Is it possibly to reparent NGCGUI in to a gtk window?

I tried it and the tab was made and NGCGUI showed - just not in the tab.
I assume NGCGUI needs some added code to allow reparenting?

Chris M

------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
Emc-developers mailing list
Emc-developers@...
https://lists.sourceforge.net/lists/listinfo/emc-developers
Chris Morley | 6 Mar 2012 07:00
Picon
Favicon

Re: NCGGUI embedded in a GTK window


Thanks

I believe NGCGUI is tcl (yuck).
it can be embedded into AXIS because AXIS uses tcl.
my program is basically gladeVCP which is GTK.
I copied the embedding code from Touchy but i don't really understand it.
but I believe it uses method #2

Chris M

From: frank <at> franksworkshop.com.au
To: emc-developers-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
Date: Tue, 6 Mar 2012 16:42:06 +1100
Subject: Re: [Emc-developers] NCGGUI embedded in a GTK window

.ExternalClass p.ecxMsoNormal, .ExternalClass li.ecxMsoNormal, .ExternalClass div.ecxMsoNormal {margin-bottom:.0001pt;font-size:12.0pt;font-family:"Times New Roman","serif";} .ExternalClass a:link, .ExternalClass span.ecxMsoHyperlink {color:blue;text-decoration:underline;} .ExternalClass a:visited, .ExternalClass span.ecxMsoHyperlinkFollowed {color:purple;text-decoration:underline;} .ExternalClass p {margin-right:0cm;margin-left:0cm;font-size:12.0pt;font-family:"Times New Roman","serif";} .ExternalClass span.ecxEmailStyle18 {font-family:"Calibri","sans-serif";color:#1F497D;} .ExternalClass .ecxMsoChpDefault {font-size:10.0pt;} <at> page WordSection1 {size:612.0pt 792.0pt;} .ExternalClass div.ecxWordSection1 {page:WordSection1;}

There are two ways to reparent – pass the window id to the child window so it can embed itself, or grab the child window id and force the embedding.  I’m playing with Qt at the moment.  I created a gremlin-embed.py to use method 1.  I also embedded vismach using the second method – vismach uses tcl which doesn’t support the first method.  It depends on what your application supports.

 

 

From: Chris Morley [mailto:chrisinnanaimo-PkbjNfxxIARBDgjK7y7TUQ@public.gmane.org]
Sent: Tuesday, 6 March 2012 6:32 AM
To: EMC DEV
Subject: [Emc-developers] NCGGUI embedded in a GTK window

 

Is it possibly to reparent NGCGUI in to a gtk window?

I tried it and the tab was made and NGCGUI showed - just not in the tab.
I assume NGCGUI needs some added code to allow reparenting?

Chris M


------------------------------------------------------------------------------ Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________ Emc-developers mailing list Emc-developers-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org https://lists.sourceforge.net/lists/listinfo/emc-developers
------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
Emc-developers mailing list
Emc-developers@...
https://lists.sourceforge.net/lists/listinfo/emc-developers
SourceForge.net | 8 Mar 2012 17:37
Picon

[ emc-Bugs-3477158 ] Command following M66 doesn't run in MDI

Bugs item #3477158, was opened at 2012-01-21 17:50
Message generated for change (Comment added) made by mahsofo
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=106744&aid=3477158&group_id=6744

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: G-code Interpreter
Group: None
>Status: Closed
>Resolution: Fixed
Priority: 5
Private: No
Submitted By: Erik Friesen (erikfriesen)
Assigned to: Michael Haberler (mahsofo)
Summary: Command following M66 doesn't run in MDI

Initial Comment:
After homing, call o<testsub> from the mdi line, notice it doesn't execute the last line, until G0, or some
other command is entered from the MDI.

----------------------------------------------------------------------

>Comment By: Michael Haberler (mahsofo)
Date: 2012-03-08 08:37

Message:
confirmed as fixed by Erik

----------------------------------------------------------------------

Comment By: Michael Haberler (mahsofo)
Date: 2012-03-01 08:50

Message:
fixed in  v2.5_branch f37c689feb and master ae84cd9e2

please test

-m

----------------------------------------------------------------------

Comment By: Michael Haberler (mahsofo)
Date: 2012-02-27 23:51

Message:
reproduced

G1 is still active after M66 and canon STRAIGHT_FEED is actually called
however, in see_segment() the move is queued and not flushed here due to
changed_abc and changed_uvw both being zero:

    chained_points().push_back(pos);
    if(changed_abc || changed_uvw) {
        flush_segments();
    }
The next motion will flush the queue and cause machine movement.

Unfortunately I do not understand that code.

----------------------------------------------------------------------

Comment By: Erik Friesen (erikfriesen)
Date: 2012-02-27 15:24

Message:
2.6 pre

----------------------------------------------------------------------

Comment By: Michael Haberler (mahsofo)
Date: 2012-02-27 14:46

Message:
please clarify linuxcnc version

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=106744&aid=3477158&group_id=6744

------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
Jeff Epler | 9 Mar 2012 02:47
Favicon

Mirror of our git on github

A short downtime on the git server today prompted me to set up a mirror
of the primary git repository on github:
    https://github.com/jepler/linuxcnc-mirror
If everything goes according to plan, this mirror will be updated at
least daily with all changes from git.linuxcnc.org.

This means that in case of downtime on git.linuxcnc.org, you can still
pull or clone a relatively up to date version from github. (downtime on
git.linuxcnc.org and github.com should be pretty uncorrelated, unless
of course it's a freak solar flare that takes out all of north america)

Also, if you would like to make your own public git repository, this makes
doing it using github.com's no-cost service easier--you can use the
'Fork' button, as detailed in github's documentation.

However, please do not use the "pull request" feature on the
linuxcnc-mirror repository.  The way to get your work integrated with
linuxcnc.org continues to be this mailing list and the #linuxcnc-devel
IRC channel on freenode.  At this time, github "pull requests" will
simply go ignored.  However, if your work is on a public git server like
github it can lower the barrier to sharing it with fellow developers.

Jeff
(wearing his "fellow developer" hat only)

------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
Dave | 9 Mar 2012 02:54

Re: Mirror of our git on github

Smart move.

>>unless of course it's a freak solar flare that takes out all of north america

Grab your Coppertone.  ;-)

Dave

On 3/8/2012 8:47 PM, Jeff Epler wrote:
> A short downtime on the git server today prompted me to set up a mirror
> of the primary git repository on github:
>      https://github.com/jepler/linuxcnc-mirror
> If everything goes according to plan, this mirror will be updated at
> least daily with all changes from git.linuxcnc.org.
>
> This means that in case of downtime on git.linuxcnc.org, you can still
> pull or clone a relatively up to date version from github. (downtime on
> git.linuxcnc.org and github.com should be pretty uncorrelated, unless
> of course it's a freak solar flare that takes out all of north america)
>
> Also, if you would like to make your own public git repository, this makes
> doing it using github.com's no-cost service easier--you can use the
> 'Fork' button, as detailed in github's documentation.
>
> However, please do not use the "pull request" feature on the
> linuxcnc-mirror repository.  The way to get your work integrated with
> linuxcnc.org continues to be this mailing list and the #linuxcnc-devel
> IRC channel on freenode.  At this time, github "pull requests" will
> simply go ignored.  However, if your work is on a public git server like
> github it can lower the barrier to sharing it with fellow developers.
>
> Jeff
> (wearing his "fellow developer" hat only)
>
> ------------------------------------------------------------------------------
> Virtualization&  Cloud Management Using Capacity Planning
> Cloud computing makes use of virtualization - but cloud computing
> also focuses on allowing computing to be delivered as a service.
> http://www.accelacomm.com/jaw/sfnl/114/51521223/
> _______________________________________________
> Emc-developers mailing list
> Emc-developers@...
> https://lists.sourceforge.net/lists/listinfo/emc-developers
>
>    

------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/

Gmane