search for: ptr_x11devicedriv

Displaying 8 results from an estimated 8 matches for "ptr_x11devicedriv".

Did you mean: ptr_x11devicedriver
2002 Feb 18
0
shared libraries on AIX (PR#1316)
...if I build with --enable-R-shlib. For example, it won't load the X11 driver. I ran R in a debugger and traced it down to the point where R_load_X11_shlib successfully loads the R_X11.so library and calls R_init_X11. This calls R_setX11Routines in src/unix/X11.c. On entry to this function, ptr_X11DeviceDriver = 0x2002eb20 and dev = 0x2014ba08. After the statement ptr_X11DeviceDriver = dev; is executed, ptr_X11DeviceDriver remains unchanged at 0x2002eb20 !! So when I type "X11()" at the R prompt, all I ever get is the stub message, "the x11 device has not been loaded". I do...
2019 Apr 25
2
[FORGED] src/modules/X11/devX11.c, can we remove "#if BUG" yet
...d > >------------->> >... > >I can't make it happen in 1.3.1 but... > >It is probably not unrelated to the R_ProcessEvents line that >I took out, but that was definitely wrong. However, one might reenable >it if one could change this bit of code > > if (!(ptr_X11DeviceDriver)((DevDesc*)(dev), display, width, height, ps, gamma, > colormodel, maxcubesize, canvascolor)) { > free(dev); > errorcall(gcall, "unable to start device %s", devname); > } > gsetVar(install(".Device"), mkString(devname), R_NilValue); >...
2019 Apr 30
2
[FORGED] src/modules/X11/devX11.c, can we remove "#if BUG" yet
...can't make it happen in 1.3.1 but... >>> >>> It is probably not unrelated to the R_ProcessEvents line that >>> I took out, but that was definitely wrong. However, one might reenable >>> it if one could change this bit of code >>> >>> if (!(ptr_X11DeviceDriver)((DevDesc*)(dev), display, width, height, ps, gamma, >>> colormodel, maxcubesize, canvascolor)) { >>> free(dev); >>> errorcall(gcall, "unable to start device %s", devname); >>> } >>> gsetVar(install(".Device&q...
2019 Apr 24
2
[FORGED] src/modules/X11/devX11.c, can we remove "#if BUG" yet
I don't recall exactly what I did 18 years ago eiher and I likely don't have the time to dig into the archives and reconstruct. I can imagine that the issue had to do with the protocol around creating and mapping windows. Presumably the segfault comes from looking for events on a window that hasn't been created yet, or has already been destroyed, leading to a NULL reference somewhere.
2019 Apr 24
0
[FORGED] src/modules/X11/devX11.c, can we remove "#if BUG" yet
...n "graphics saga part III", we had ------------->> ... I can't make it happen in 1.3.1 but... It is probably not unrelated to the R_ProcessEvents line that I took out, but that was definitely wrong. However, one might reenable it if one could change this bit of code if (!(ptr_X11DeviceDriver)((DevDesc*)(dev), display, width, height, ps, gamma, colormodel, maxcubesize, canvascolor)) { free(dev); errorcall(gcall, "unable to start device %s", devname); } gsetVar(install(".Device"), mkString(devname), R_NilValue); dd = GEcreateDevDesc(de...
2019 May 02
1
[FORGED] src/modules/X11/devX11.c, can we remove "#if BUG" yet
...t;>>> >>>>> It is probably not unrelated to the R_ProcessEvents line that >>>>> I took out, but that was definitely wrong. However, one might reenable >>>>> it if one could change this bit of code >>>>> >>>>> if (!(ptr_X11DeviceDriver)((DevDesc*)(dev), display, width, height, ps, gamma, >>>>> colormodel, maxcubesize, canvascolor)) { >>>>> free(dev); >>>>> errorcall(gcall, "unable to start device %s", devname); >>>>> } >>>&g...
2019 Apr 27
0
[FORGED] src/modules/X11/devX11.c, can we remove "#if BUG" yet
.... >> >> I can't make it happen in 1.3.1 but... >> >> It is probably not unrelated to the R_ProcessEvents line that >> I took out, but that was definitely wrong. However, one might reenable >> it if one could change this bit of code >> >> if (!(ptr_X11DeviceDriver)((DevDesc*)(dev), display, width, height, ps, gamma, >> colormodel, maxcubesize, canvascolor)) { >> free(dev); >> errorcall(gcall, "unable to start device %s", devname); >> } >> gsetVar(install(".Device"), mkString(devna...
2019 May 02
0
[FORGED] src/modules/X11/devX11.c, can we remove "#if BUG" yet
...in 1.3.1 but... >>>> >>>> It is probably not unrelated to the R_ProcessEvents line that >>>> I took out, but that was definitely wrong. However, one might reenable >>>> it if one could change this bit of code >>>> >>>> if (!(ptr_X11DeviceDriver)((DevDesc*)(dev), display, width, height, ps, gamma, >>>> colormodel, maxcubesize, canvascolor)) { >>>> free(dev); >>>> errorcall(gcall, "unable to start device %s", devname); >>>> } >>>> gsetVar(inst...