Re: [Emc-developers] build system [was: master sim+rip build on 64-bit 12.04LTS]

2012-09-06 Thread Pavel Shramov
On Thu, Sep 06, 2012 at 01:05:34PM +0200, Lars Segerlund wrote: > I have experience with it, it's just another case of let's reiinvent > the build system, I do not wish to air my opinion of it publicly, > since I would be sued for defamation +1 here, jam is awful > What's wrong with autoco

Re: [Emc-developers] gremlin error report gives....an error!

2012-09-10 Thread Pavel Shramov
On Mon, Sep 10, 2012 at 10:58:28AM -0500, Daniel Rogge wrote: > +def report_gcode_error(self, result, seq, filename): > + error_str = gcode.strerror(result) > + sys.stderr.write("G-Code error in " + os.path.basename(filename) + "\n" > + "Near line " > + + st

[Emc-developers] [PATCH 3/3] Handle interrupted O-calls issued in MDI mode

2010-09-26 Thread Pavel Shramov
From: Pavel Shramov When call returns INERP_EXECUTE_FINISH value check if call depth was changed and if so issue execute(0) commands until it returns to pre-call value. Uses 0xff to mark command as NULL since it's not possible to set char[256] to NULL value. Signed-off-by: Pavel Sh

[Emc-developers] MDI O-call interrupt handling

2010-09-26 Thread Pavel Shramov
I've played a bit with EMC and found that it's impossible to call function with some M66 or probing instructions in MDI mode. To be correct it's possible but stops at first instruction returing INTERP_EXECUTE_FINISH. So I'm sending for review patch set fixing this problem. It is split into 3 pat

[Emc-developers] [PATCH 2/3] Added emcTaskPlanLevel function

2010-09-26 Thread Pavel Shramov
From: Pavel Shramov Returns call_level value from interpreter Signed-off-by: Pavel Shramov --- src/emc/nml_intf/emc.hh |1 + src/emc/task/emctask.cc | 11 +++ 2 files changed, 12 insertions(+), 0 deletions(-) diff --git a/src/emc/nml_intf/emc.hh b/src/emc/nml_intf/emc.hh index

[Emc-developers] [PATCH 1/3] Handle interrupts in O-calls

2010-09-26 Thread Pavel Shramov
From: Pavel Shramov When instruction iterpreted with INTERP_EXECUTE_FINISH return value is found in O-call set mdi_interrupt flag so subsequent calls to Interp::execute(0) will continue execution. Also don't reset on such errors. Also added call_level function to get current call stack

Re: [Emc-developers] MDI O-call interrupt handling

2010-09-26 Thread Pavel Shramov
On Sun, Sep 26, 2010 at 03:58:24PM -0500, Jeff Epler wrote: > I found that trying to interrupt the gcode, for instance by hitting ESC > to abort, or F3 to switch to manual mode, the GUI would become > unresponsive and the terminal would still show lines like > LOG(G1 X0.30 Y-0.66 Z0.907

[Emc-developers] [PATCH] Fix long MDI commands wait and abort

2010-09-26 Thread Pavel Shramov
Split mdi flag to wait and next for waiting and feeding respectively. Abort on all conditions where emcTaskAbort is called. Signed-off-by: Pavel Shramov --- src/emc/task/emctaskmain.cc | 37 - 1 files changed, 28 insertions(+), 9 deletions(-) diff --git a

Re: [Emc-developers] MDI commands side queue

2010-09-28 Thread Pavel Shramov
You've complained about some subsequent commands not wokring fine in MDI mode so I've created simple and maybe dirty patch on top of previous patch set. It introduces another (alongside with interp_list) command queue which is filled with EMC_TASK_PLAN_EXECUTE messages that may not be interpreted.

[Emc-developers] [PATCH] Added side queue for MDI commands

2010-09-28 Thread Pavel Shramov
If execution of MDI command is active don't interpret subsequent commands but store them in mdi_execute_queue. On errors flush it. Now commands sequences like G38.2 Z-2 F10 && G0 Z[#5063+1] works. Signed-off-by: Pavel Shramov --- src/emc/task/emctaskm

[Emc-developers] Halui inconsistent pin handling

2010-09-30 Thread Pavel Shramov
generate size list for each data-type of pointers from halui_str to enshure that during copy we don't trigger SIGSEGV on page border. Pavel Shramov -- [1] 21:49 -- 22:35 http://www.linuxcnc.org/irc/irc.freenode.net:6667

[Emc-developers] [PATCH 1/3] halui: Added awk script to generate size list

2010-09-30 Thread Pavel Shramov
Script takes halui_str structure and parses types from it. For every variable it creates list entry with its size. For array variables list of sizes is added. Makefile rule is added to generate halui_size.h Signed-off-by: Pavel Shramov --- src/emc/usr_intf/Submakefile |3 ++ src/emc

[Emc-developers] [PATCH 3/3] halui: Fix all read-only accesses to shared pins.

2010-09-30 Thread Pavel Shramov
Use old and new copies of local memory instead of shmem and local copy in all input checks. All write operations are performed to shared memory. --- src/emc/usr_intf/halui.cc | 244 ++-- 1 files changed, 122 insertions(+), 122 deletions(-) diff --git a/src

[Emc-developers] [PATCH 2/3] halui: Add copy/init functions for halui_str

2010-09-30 Thread Pavel Shramov
With info from size list every item of halui_str is initialized or copied in one for loop. Based on discussion with micges and SWPadnos. Signed-off-by: Pavel Shramov --- src/emc/usr_intf/halui.cc | 34 ++ 1 files changed, 34 insertions(+), 0 deletions(-) diff

[Emc-developers] GladeVCP embedded in Axis

2010-10-07 Thread Pavel Shramov
Chris asked [2] if it's possible to embed GladeVCP panels in Axis like video tabs [1] so moving discussion here. If you don't want to read detailed description of process and just curious how to run gladevcp in axis then skip to the last part of message. Background: Embeding programs into axis t

[Emc-developers] [PATCH] gladevcp: Allow embedding in other window

2010-10-07 Thread Pavel Shramov
Add -w XID command line argument and when it's provided try to reparent to given window. Depends on python Xlib. Signed-off-by: Pavel Shramov --- src/hal/user_comps/gladevcp.py | 17 - 1 files changed, 16 insertions(+), 1 deletions(-) diff --git a/src/hal/user_

Re: [Emc-developers] GladeVCP embedded in Axis

2010-10-08 Thread Pavel Shramov
On Fri, Oct 08, 2010 at 07:38:36PM +, Chris Morley wrote: > Nice work > I found that you don't need to change the window to a popup. I have not tested with 'top-level' window from galde. I've found that POPUP is needed for GtkWindow created in C so suspected that for glade it's needed too. Gla

Re: [Emc-developers] gladevcp/Touchy patch

2010-10-08 Thread Pavel Shramov
On Fri, Oct 08, 2010 at 09:40:32PM +, Chris Morley wrote: > Hi Guys: > Here is the patch to allow gladvcp to be added to Touchy plus a sample touchy > glade file > The sample file just adds a cycle start button that can be connected to > touchy. > I used it to test touchy out on my laptop wi

Re: [Emc-developers] GladeVCP embedded in Axis

2010-10-09 Thread Pavel Shramov
Please update your .axisrc and gladevcp docwith following one. I've added killing of child processes at exit. Pavel #!/usr/bin/env python # vim: sts=4 sw=4 et import atexit _dynamic_childs = {} def _dynamic_tab(name, text): root_window.tk.eval('set _tabs_%(w)s

Re: [Emc-developers] Gladevcp module names [was: GladeVCP embedded in Axis]

2010-10-21 Thread Pavel Shramov
ing branch gladevcp-modules of git://psha.org.ru/psha/emc2.git or i'll post them with git-send-email. Pavel Shramov -- [1] http://psha.org.ru/git?p=psha/emc2.git;a=commitdiff;h=65b1d57c819cdfcde0cea67f02c0cfd802553a57 [2] http://psha.or

Re: [Emc-developers] Gladevcp module names [was: GladeVCP embeddedin Axis]

2010-10-21 Thread Pavel Shramov
On Thu, Oct 21, 2010 at 05:40:50PM +, chrisinnana...@hotmail.com wrote: > Hi Pavel > Thanks for the effort and patches. > I am working long hours on a shutdown so I don't have much time for a couple > of weeks. Does this patch fix the GLADE so if launched from menu it will > properly find the

Re: [Emc-developers] Gladevcp module names [was: GladeVCP embeddedin Axis]

2010-10-21 Thread Pavel Shramov
Unfortunately server with my git repo died so here are working links: Patches are in repo git://grid.pp.ru/psha/emc2.git gladevcp-modules Links for text/color zones patch: http://grid.pp.ru/cgit/psha/emc2.git/commit/?h=gladevcp-modules&id=37bfb1ed0b130186b6bedaead227f36cd1087c75

[Emc-developers] GladeVCP improvements (and a bit of incompatible changes)

2010-10-23 Thread Pavel Shramov
olor names for HAL_LED, better embedding in axis/touchy and Progressbar colors. Theese changes are merged to master. It will be great if gladevcp users will report bugs and suggestions. Pavel Exceprt from git request-pull Pavel Shramov (14): gladevcp

Re: [Emc-developers] GladeVCP improvements (and a bit of incompatible changes)

2010-10-23 Thread Pavel Shramov
On Sun, Oct 24, 2010 at 02:54:34AM +, Chris Morley wrote: > Couple of small problems: > When I start Glade from a terminal The LED widget is not displayed with it's > proper png icon. > When I start GLADE from Applications menu none of hal widgets nor the hal > menu are displayed. > For whate

Re: [Emc-developers] GladeVCP improvements (and a bit of incompatible changes)

2010-10-24 Thread Pavel Shramov
0) are available in the git repository at: git://grid.pp.ru/psha/emc2.git gladevcp-modules Pavel Shramov (4): gladevcp: Fix HAL Label property gladevcp: Use properties for HAL Led gladevcp: Fix get_name for GtkBuilder files gladevcp: Fix HAL Led bl

Re: [Emc-developers] GladeVCP / Axis question

2010-11-16 Thread Pavel Shramov
On Tue, Nov 16, 2010 at 09:05:53AM +0100, Michael Haberler wrote: > Do the widgets created with GladeVCP run in the Axis process context or in a > separate process like Pyvcp? In separate process unlike pyvcp (axis pyvcp panel is running in axis context). Pavel

Re: [Emc-developers] Axis/Camview observations

2010-11-20 Thread Pavel Shramov
On Sat, Nov 20, 2010 at 04:51:34PM +0100, Michael Haberler wrote: > this is proceeding at warp speed, congratulations to Pavel! > > a few observations (running current master here) > > in the http://wiki.linuxcnc.org/emcinfo.pl?Axis_Embed_Video page > EMBED_TAB_COMMAND = camview-emc -wid {XID} >

Re: [Emc-developers] Axis/Camview observations

2010-11-20 Thread Pavel Shramov
On Sat, Nov 20, 2010 at 11:49:09PM +0100, Michael Haberler wrote: > well, Pavel caught me bare-footed again. > > do I have to generate a non-standard chain with camview and save it? > I didnt find a 'save config' type operation in camview-emc camview-emc has two modes of operation - loading existi

Re: [Emc-developers] GladeVCP improvements (and a bit of incompatible changes)

2010-11-22 Thread Pavel Shramov
rg.ru/psha/emc2.git gladevcp-modules Pavel Shramov (21): gladevcp: Fix HAL Label property gladevcp: Use properties for HAL Led Merge branch 'master' into gladevcp-modules gladevcp: Fix get_name for GtkBuilder files gladevcp: Fix HAL Led blinking Merge

Re: [Emc-developers] GladeVCP improvements (and a bit of incompatible changes)

2010-11-23 Thread Pavel Shramov
On Tue, Nov 23, 2010 at 12:40:40PM +0100, Michael Haberler wrote: > m...@cnc-ubuntu:~/workspace-machine/emc-fraese-hm2$ halcmd -f > gladevcp-test.hal > RTAPI: ERROR: could not open shared memory (errno=2) > Segmentation fault > > uh, better have RTAPI initalized, so start Axis and retry: It's ha

Re: [Emc-developers] GladeVCP improvements (and a bit of incompatible changes)

2010-11-23 Thread Pavel Shramov
On Tue, Nov 23, 2010 at 04:04:35PM +0100, Michael Haberler wrote: > [DISPLAY] > EMBED_TAB_NAME = gladevcp-test > EMBED_TAB_COMMAND = gladevcp -c gladevcp-test -w {XID} gladevcp-test.ui > [HAL] > POSTGUI_HALFILE = gladevcp-test.hal > > during startup I get > > gladevcp-test.hal:5: Pin 'gladevcp-

Re: [Emc-developers] GladeVCP improvements (and a bit of incompatible changes)

2010-11-23 Thread Pavel Shramov
On Tue, Nov 23, 2010 at 05:37:42PM +0100, Michael Haberler wrote: > here's a patch for reading a hal cmd file with -h , stolen > straight from axis > seems to work for me Looks fine for me except os.spawnvp. Python docs recommend using subprocess.call [1]. Which will look like 'res = subprocess.

Re: [Emc-developers] GladeVCP status update

2010-11-28 Thread Pavel Shramov
git://psha.org.ru/git/emc2.git gladevcp Michael Haberler (4): add -h option to gladevcp for post-init hal commands fix gladevcp_makepins warning gladevcp: make -h give usage, use -H gladevcp: Added user defined callbacks Pavel Shramov (9): gladevcp: Fix errors with se

[Emc-developers] GladeVCP status update (Gremlin inside)

2010-12-06 Thread Pavel Shramov
uchy-gremlin.png The following changes since commit 0b8514fe9b44f869f98b01d8b6ad278e1ea1e20c: Dewey Garrett (1): interp: add EXISTS unary function are available in the git repository at: git://psha.org.ru/psha/emc2.git gladevcp Michael Haberler (1): gladevcp: Add get_hand

Re: [Emc-developers] GladeVCP status update (Gremlin inside)

2010-12-07 Thread Pavel Shramov
On Tue, Dec 07, 2010 at 08:02:37AM +, Chris Morley wrote: > Thats that problem fixed; now when adding gremlin to window > (and anything after that): I't wants running EMC2. If there is no status buffer to poll it complains and is not able to show plot. Pavel ---

Re: [Emc-developers] GladeVCP status update (Gremlin inside)

2010-12-07 Thread Pavel Shramov
On Tue, Dec 07, 2010 at 08:26:07AM +, Chris Morley wrote: > ok thats fine. I assumed that affected the leds etc not updating color etc. > so with just an led showing when clicking is_on in GLADE. Hm. Leds are broken... I'll fix it today. > If I add hal_Hbar then I can see some of the text (but

Re: [Emc-developers] GladeVCP status update (Gremlin inside)

2010-12-07 Thread Pavel Shramov
On Tue, Dec 07, 2010 at 08:26:07AM +, Chris Morley wrote: > ok thats fine. I assumed that affected the leds etc not updating color etc. > so with just an led showing when clicking is_on in GLADE. Leds were working fine except 'dark' color which was broken. I've commited fix in my working branc

Re: [Emc-developers] GladeVCP status update (Gremlin inside)

2010-12-10 Thread Pavel Shramov
On Thu, Dec 09, 2010 at 01:45:18PM -0600, Thomas Powderly wrote: > re: GladeVCP flexibility > > HAL widgets respect the hal data types ( the data is numeric ) > > GladeVCP has a large number of non Hal widgets, > and these can have strings and lists > because general toolkits know user dialogs ar

[Emc-developers] GladeVCP status update

2010-12-14 Thread Pavel Shramov
.git gladevcp Michael Haberler (6): gladevcp: fix -d debug flag gladevcp: Improve HAL_ComboBox widget gladevcp: Fix halcomp.ready() and cleanup halcmd invokation gladevcp: Drop GladePanel argument to user handlers gladevcp: Added persistence support gladevcp: Added lot of

[Emc-developers] GladeVCP status update: GladeVcp in same place as PyVCP

2010-12-20 Thread Pavel Shramov
gladevcp: Move configs to simplified presistence gladevcp: add man page Pavel Shramov (6): gladevcp: Reorder initialization/cleanup code gladevcp: Keyboard events forwardind (axis) axis: Execute POSTGUI_HALFILE after all child processes gladevcp: Change XEmbed or

Re: [Emc-developers] Considering branching 2.5

2011-01-05 Thread Pavel Shramov
On Wed, Jan 05, 2011 at 09:23:35AM -0600, Chris Radek wrote: > If you have incomplete work in master, or work in a branch waiting to > be merged into master, please respond here and we can figure out what > to do. GladeVCP and pncconf are two areas where I know work is > ongoing that I don't know

[Emc-developers] Documentation

2011-01-14 Thread Pavel Shramov
In the light of upcoming 2.5 version and new branch I want to bring up again question about documentation format. It was already discussed two years ago [1] but no descision was made. Readint that mail thread it seem that LyX is not in favor and asciidoc was seriously considered as replacement. So

Re: [Emc-developers] Documentation

2011-01-26 Thread Pavel Shramov
On Fri, Jan 14, 2011 at 06:34:47PM +0300, Pavel Shramov wrote: > In the light of upcoming 2.5 version and new branch I want > to bring up again question about documentation format. After playing a bit more with RST and AsciiDoc and trying to implement suggestions from #emc-devel i believ

Re: [Emc-developers] Documentation (call for review)

2011-01-27 Thread Pavel Shramov
On Fri, Jan 14, 2011 at 06:34:47PM +0300, Pavel Shramov wrote: > In the light of upcoming 2.5 version and new branch I want > to bring up again question about documentation format. This is call for bug hunting. I've done initial conversion of docs to asciidoc and created branch with

Re: [Emc-developers] Documentation (call for review)

2011-01-28 Thread Pavel Shramov
On Thu, Jan 27, 2011 at 06:13:53PM -0800, Alexey Starikovskiy wrote: > After a quick look over "Getting Started", I've noticed following: > 1. '{0.5in}' markup still present, Fixed. > 2. markup of links is not cleared everywhere: [sub:, [cha:, etc I won't consider it's a bug - by default ref name

Re: [Emc-developers] Documentation (call for review)

2011-01-28 Thread Pavel Shramov
On Fri, Jan 28, 2011 at 07:56:01AM -0600, EBo wrote: > Just a thought. Maybe there is a way to extract the full TOC in the > HTML version and link just that to a separate document. I personally > find a TOC in an HTML file annoying, and breaking it up into little > bittsy pieces that can o

Re: [Emc-developers] Documentation (call for review)

2011-01-28 Thread Pavel Shramov
On Fri, Jan 28, 2011 at 02:57:09PM +0100, Francis TISSERANT wrote: > Pavel > I am a French translator. Nice work Pavel. Choosing asciidoc looks good > to me, John T. has already explored this possibility long ago. The > process of renaming fichiers_fr.* was created by Jeff to simplify my > trans

Re: [Emc-developers] Documentation

2011-02-06 Thread Pavel Shramov
On Sun, Feb 06, 2011 at 08:52:26PM -0600, Jeff Epler wrote: > I've finally gotten around to taking a look at the latest incarnation of > the asiidoc project. > > To fix: > * don't use shell find / shell ls -- this is unsafe and inefficient > * it's unsafe if any (future) doc file has a character

Re: [Emc-developers] gEdit and file versions

2011-02-07 Thread Pavel Shramov
On Mon, Feb 07, 2011 at 11:52:15AM -0800, Kirk Wallace wrote: > I like using gEdit to write C code, but it would be nice when I open a > file it would automatically save the freshly opened file as a numbered > backup, so that if needed, I could go back and retrieve the original, or > maybe have it

Re: [Emc-developers] Right-justifying

2011-03-31 Thread Pavel Shramov
On Fri, Apr 01, 2011 at 01:13:54AM +0100, andy pugh wrote: > I am trying to put a signed 16 bit number into the rightmost 16 bits > of a u32 buffer. > However, surely there must be a tidier and faster way? (probably using > s16 typecasting and a bitwise OR? Yes, there is. u32_var = ((u32) (u16) s

Re: [Emc-developers] Right-justifying

2011-04-01 Thread Pavel Shramov
On Fri, Apr 01, 2011 at 09:34:20AM +0100, andy pugh wrote: > On 1 April 2011 06:02, Pavel Shramov wrote: > > > u32_var = ((u32) (u16) s16_var); > > > > u16 casts s16 to 16 bit positive number. > > So, (s16)-10 == 32778? (s16) -10 == -10 (u16) -10 == 0xfff

Re: [Emc-developers] Right-justifying

2011-04-01 Thread Pavel Shramov
On Fri, Apr 01, 2011 at 09:35:35PM -0400, Brian wrote: > How about a union? I don't know the exact syntax off hand, but I know > it will do exactly what you are trying. By the way great idea - it'll simplify code for futher authors. But union is not needed here - struct is sufficient. Something l

Re: [Emc-developers] creating an new user interface

2011-06-27 Thread Pavel Shramov
On Mon, Jun 27, 2011 at 01:35:20PM -0700, ELHIMA Moustapha wrote: > I would like to know is someone has already made a new User Interface like > Axis, I would like to create an another one can you tell me if it's easy to > create one with glade or with an another software? Creating new user interfa

[Emc-developers] EMC Errors display using Desktop Notification protocol

2011-07-05 Thread Pavel Shramov
Here is [1] small program which may be used to display error messages using Desktop Notification protocol [2]. First some clarifications. Desktop Notifications are not specific to any desktop environment like gnome, they are happily working in strange tiling WM's like dwm or ion3. If WM don't imp

Re: [Emc-developers] EMC Errors display using Desktop Notification protocol

2011-07-06 Thread Pavel Shramov
On Wed, Jul 06, 2011 at 05:39:27AM +, Chris Morley wrote: > > If WM don't implement notification protocol notification-daemon > > provides WM-agnostic way to display them (however in default installation of > > linuxcnc's ubuntu 10.04 notify-osd used for notifications which is nearly > > broken

Re: [Emc-developers] can't change gladevcp's theme when its a side panel in AXIS

2011-07-17 Thread Pavel Shramov
On Mon, Jul 18, 2011 at 03:08:56AM +, Chris Morley wrote: >While working on pncconf I have noticed that I cannot >set gladevcp's theme when placing the panel on the side of AXIS. How are you changing it? >It's because the user options are added after reparenting. >Is it possib

Re: [Emc-developers] gladevcp documentation - please disregard the wiki, use v2.5 docs

2011-07-18 Thread Pavel Shramov
On Mon, Jul 18, 2011 at 07:10:05PM +0300, Viesturs Lācis wrote: > 2011/7/18 Chris Morley : > So does it mean that finally there is option not only start EMC > automatically after start of the system, but also have it > automatically maximized as the GUI window is opened? > That makes truly embedded

Re: [Emc-developers] gladevcp documentation - please disregard the wiki, use v2.5 docs

2011-07-18 Thread Pavel Shramov
On Mon, Jul 18, 2011 at 09:48:17PM +0300, Viesturs Lācis wrote: > Thank You, that is approximately what I meant. > Could You, please, tell me, where can I read more about getting more > functionality - like ability to open files and edit, that is for > situations, if some problem arises and config

Re: [Emc-developers] Preempt-RT ... where to put the patches ?

2011-07-20 Thread Pavel Shramov
On Wed, Jul 20, 2011 at 10:02:05AM +0200, Lars Segerlund wrote: > I have a question on what to do with the Preempt-RT patches for EMC , > where do they go ? > > 2.4 , 2.5 > > Anyhow, can we agree if they go in a separate branch , and to which > version ? so that we can get them included. You

Re: [Emc-developers] Preempt-RT ... where to put the patches ?

2011-07-27 Thread Pavel Shramov
On Wed, Jul 27, 2011 at 10:35:52AM +0200, Lars Segerlund wrote: > Actually it's the patches from : http://www.bitmuster.org/projects/emc.html > > I spoke with Michael Abel, and the patches I had and the one he had > done were from the same origin, ( check his page above ). You've used his patches

Re: [Emc-developers] doc bug?

2011-08-28 Thread Pavel Shramov
On Sun, Aug 28, 2011 at 10:28:11PM -0600, Sebastian Kuzminsky wrote: > When I go to , > the title of the page looks messed up. It says: > > G Code Overview > > It looks like an anchor made it into the , when it belongs just > in the

Re: [Emc-developers] M67

2011-09-06 Thread Pavel Shramov
On Tue, Sep 06, 2011 at 01:42:42AM +0100, andy pugh wrote: > I tried a 4-quadrant circle with an AIO change at 12, 3, 6, 9 'o'clock. > First, M68: Timing is good, but velocity stutters: > http://imagebin.org/171202 > Then with the M67 patch: > http://imagebin.org/171203 > The velocity still stutter

Re: [Emc-developers] M67

2011-09-06 Thread Pavel Shramov
On Tue, Sep 06, 2011 at 01:28:23PM +0100, andy pugh wrote: > OK, I will try again tonight. I have had this before, and had to > make-clean to sort it out. Probably i've forgot to make clean first... Also my build is a bit truncated: ./configure --enable-run-in-place --enable-simulator --disable-gt

Re: [Emc-developers] M67

2011-09-06 Thread Pavel Shramov
On Tue, Sep 06, 2011 at 01:42:42AM +0100, andy pugh wrote: > There is an implicit limit of 32 of each channel as iomask_t is a u32. > This would need to change as current EMCMOT_MAX_DIO is 64 and > EMC_MOT_MAX_AIO is 16. (Both seem low to me) Fixed. Used unsigned long long (64 bits on most platform

Re: [Emc-developers] State of documentation ??

2011-09-10 Thread Pavel Shramov
On Sat, Sep 10, 2011 at 07:23:29PM -0500, Jon Elson wrote: > I just had a very worrisome message from John Thornton about the state > of the documentation, and would like to find out if anyone knows what is > going on? Apparently, Kim Kirwan took upon himself the task of > revitalizing the whole d

Re: [Emc-developers] State of documentation ??

2011-09-11 Thread Pavel Shramov
On Sun, Sep 11, 2011 at 03:37:26PM -0400, Kent A. Reed wrote: > Case in point: I created a filename list of all the 2.4-branch .lyx > files and compared it to a similar filename list of all the 2.5-branch > .lyx files. The two lists differed by just one file: ./gui/gladevcp.lyx > shows up in the

Re: [Emc-developers] old lyx docs in 2.5

2011-10-25 Thread Pavel Shramov
On Tue, Oct 25, 2011 at 04:39:23PM -0600, Sebastian Kuzminsky wrote: > Yeah, I was hoping to get feedback from the docs folks. I don't want to > remove the lyx source files if they're still using them, and i don't want to > leave the lyx files around if they're finished with them. Since it's alway

Re: [Emc-developers] 2.5 Docs - Notes on image file usage

2011-11-14 Thread Pavel Shramov
On Sun, Nov 13, 2011 at 11:19:40AM -0500, Kent A. Reed wrote: > 1. image file format First, sorry for late response... > Taking a survey of the files in the 2.5 docs/src directory and below, I > find we have 368 image files in dxf, eps, gif, jpg, png, and ps format. > (Yes, I know some of the i

Re: [Emc-developers] [Emc-commit] v2.5_branch: Merge branch 'doc-fix' of git://psha.org.ru/psha/emc2 into v2.5_branch --- irritating color borders

2011-11-17 Thread Pavel Shramov
On Thu, Nov 17, 2011 at 02:36:27PM -0500, Kent A. Reed wrote: > Thanks, Pavel. These changes render my work moot. Pavel fixed up the > problem with emc2.sty and added an option to the A2X command string that > combine to remove the irritating border boxes, just as I had worked out > on my own. I

Re: [Emc-developers] [Emc-commit] master: docs: Fix anchor link in HTML title

2011-11-17 Thread Pavel Shramov
On Thu, Nov 17, 2011 at 12:41:11PM -0700, Sebastian Kuzminsky wrote: > I think it would be better if the [[ anchor preceeded the thing that's > anchored, instead of following it. When the anchor follows the title like > this, then if you click a link to the Language-Overview, you don't see the "=

Re: [Emc-developers] [Emc-commit] v2.5_branch: Merge branch 'doc-fix' of git://psha.org.ru/psha/emc2 into v2.5_branch --- irritating color borders

2011-11-17 Thread Pavel Shramov
On Thu, Nov 17, 2011 at 03:52:19PM -0500, Kent A. Reed wrote: > It's not a problem, Pavel. Well, ok, so I felt a tinge of disappointment > that I didn't get there first:-) but the point is that this issue is now > taken care of and we can move on. Also i've to mention that most difficulties with

Re: [Emc-developers] [Emc-commit] v2.5_branch: Merge branch 'doc-fix' of git://psha.org.ru/psha/emc2 into v2.5_branch --- irritating color borders

2011-11-18 Thread Pavel Shramov
On Fri, Nov 18, 2011 at 11:10:22AM -0500, Kent A. Reed wrote: > The 'incorrect' emc2.sty is what took me a day to figure out---I kept > trying to tell dblatex what to do but to no avail. emc2.sty is modified asciidoc-docbook.sty file with extra line for gtffile. However it was based on old one and

Re: [Emc-developers] [Emc-commit] v2.5_branch: Merge branch 'doc-fix' of git://psha.org.ru/psha/emc2 into v2.5_branch --- irritating color borders

2011-11-18 Thread Pavel Shramov
On Fri, Nov 18, 2011 at 11:26:18PM -0500, Kent A. Reed wrote: > The links started working for me AFTER I discovered and made my private > fix to emc2.sty (changing to \RequirePackageWithOptions{docbook}, the > same as you did) and BEFORE I pulled your commits of Nov 17, 2011. Then I understand wh

Re: [Emc-developers] No hal pin LED PATCH for 2.5

2012-01-11 Thread Pavel Shramov
On Tue, Jan 10, 2012 at 08:05:46AM +, Chris Morley wrote: >This patch allows one to select 'HAL pin type' 0 (no pin) or 1 (regular in >pin) >in the Glade editor - it defaults to 1 which is with the HAL pin. It's better to use boolean type so glade will show it as checkbox. Along wit

Re: [Emc-developers] No hal pin LED PATCH for 2.5

2012-01-11 Thread Pavel Shramov
On Thu, Jan 12, 2012 at 01:58:11AM +, Chris Morley wrote: > The reason for an integer rather then bool is in the future to facilitate > setting the pin as an in or as an out. > Or I could add two bools on for 'without HAL' one for in or out pin. > Same reason for the name pintype rather the

Re: [Emc-developers] Array HAL Pin Type?

2012-02-11 Thread Pavel Shramov
On Fri, Feb 10, 2012 at 04:00:34PM -0800, Kirk Wallace wrote: > Can a HAL pin type be created for an array? I would like a HAL pin be > able to handle a packet. Array hal pin will have problems with syncronization - how to ensure that new packet is fully written and you'll get correct result and no