#emc-devel | Logs for 2010-12-07

[00:26:59] <CIA-41> EMC: 03jthornton 07master * rcb25150f0e06 10/docs/src/gcode/overview.lyx: add exists function to manual
[05:19:41] <SWPadnos_> SWPadnos_ is now known as SWPadnos
[07:15:46] <psha> jepler: thanks
[10:24:16] <mhaberler> I'e updated the http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?GladeVcpSetup and the more detailed http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?GladeVCPprogramming wiki pages
[10:24:18] <mhaberler> I'm entertaining feedback from the daring;-)
[12:29:59] <CIA-41> EMC: 03cmorley 07pncconf * r60ed198ffc73 10/src/emc/usr_intf/pncconf/ (pncconf.glade pncconf.py): add a sanity check to motor/encoder page for scaling
[13:01:29] <mhaberler> psha: http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?GladeVCPprogramming
[13:05:37] <psha[work]> mhaberler: wow :)
[13:05:54] <mhaberler> :-)))
[13:06:22] <psha[work]> btw why you need both panel and builder? to access hal pins?
[13:07:06] <mhaberler> builder gives me the GladePanel() instance with halwidgets, gtkwidgets, widgets
[15:22:20] <skunkworks> http://www.cnczone.com/forums/859756-post27.html
[15:54:19] <jepler> typedef struct {
[15:54:19] <jepler> go_cart v;
[15:54:19] <jepler> go_cart w;
[15:54:19] <jepler> } go_screw;
[15:55:15] <cradek> aren't you supposed to be traveling?
[15:55:22] <jepler> flight's not until 1pm
[15:57:15] <jepler> so in the meantime I'm trying to figure out whether I care about this warning, which appears on hardy but not lucid:
[15:57:18] <jepler> /usr/src/emc2/src/libnml/cms/cms_xup.cc|385| warning: dereferencing type-punned pointer will break strict-aliasing rules
[15:57:24] <SWPadnos> typedef go_screw[9] screw_it_all;
[15:57:33] <jepler> (there are more like it, all found on hardy and not lucid)
[15:58:28] <cradek> warning: you used C++ and you wouldn't understand even if I tried to tell you what's wrong.
[15:59:59] <jepler> nah, it's a C warning about C casts
[16:00:29] <cradek> weird - usually I understand C warnings
[16:07:53] <jepler> http://pastebin.ca/raw/2012963
[16:08:29] <jepler> if you don't understand strict aliasing rules it's no surprise, they either were not in the original ANSI C or no compilers paid attention to the rules for a long time, I'm not sure which.
[16:09:10] <SWPadnos> according to this: http://mail.opensolaris.org/pipermail/tools-gcc/2005-August/000047.html gcc had no aliasing infrastructure until version 4
[16:12:34] <SWPadnos> jepler, was it intentional to declare extern g() and then call h()?
[16:12:58] <SWPadnos> (since that changes the expected argument to an int rather than a char **)
[16:14:17] <jepler> SWPadnos: no, the code went through a lot of iterations
[16:15:32] <jepler> here's the answer: gcc 4.4 warns only with -Wstrict-aliasing=2, while gcc 4.3 warns with -Wstrict-aliasing alone, which is implied by -Wall
[16:15:37] <jepler> related: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39895
[17:12:16] <micges> jthornton: thanks for improving rack wiki page
[17:42:39] <mhaberler> psha: hi
[17:43:59] <psha> hi, have you fixed comp initialization?
[17:44:17] <mhaberler> yes, all sweet and working
[17:44:30] <psha> nice, where to get? :)
[17:44:58] <mhaberler> repo as usual branch gladevcp-examples
[17:45:00] <mhaberler> and give probe a tr, really cool!
[17:45:53] <mhaberler> I'm working on the axis right hand tab ala pyvcp
[17:47:19] <psha> there are still some bugs that makes it impossible to use gladevcp in place of pyvcp...
[17:47:25] <psha> it's keybindings...
[17:47:52] <mhaberler> I dont get a window size > 0 from axis :-/
[17:48:28] <psha> what for?
[17:49:10] <mhaberler> have gladevcp in place of pyvcp (right hand side in axis)
[17:49:12] <mhaberler> command and window id works, but window wont like me :-/
[18:46:16] <jthornton> micges: np, at least I can do that part :)
[18:47:20] <micges> :)
[19:53:05] <psha> jthornton: may you consult me a bit about emc docs?
[20:18:02] <micges> psha: on master there are two lines 'Syntax checking python script gremlin' during make
[20:18:14] <micges> one with and one without extention
[20:20:01] <psha> micges: it's ok :) one is installing gremlin.py to modules, other is installing 'gremlin' util to bin/
[20:20:26] <psha> i've just copied Submakefile from touchy
[20:20:39] <micges> why? to modules?
[20:23:03] <psha> gremlin util is small wrapper over gremlin.py module
[20:23:11] <psha> gremlin module is used in gladevcp
[20:23:39] <micges> oh ok, I didn't follow
[20:23:44] <psha> util is just loading module and creating window with gremlin widget inside
[20:24:02] <psha> i've splitted them so it's possible to use that widget in vcp too
[20:24:19] <micges> I understand
[20:24:24] <jthornton> psha: I'm here for a few minutes only
[20:25:41] <psha> don't mind
[20:25:51] <psha> we are not ready for lyx docs yet :)
[20:26:02] <psha> filling wiki now :)
[20:26:24] <jthornton> ok
[20:59:50] <ries_> ries_ is now known as ries
[22:14:26] <tom3p> .part