Displaying 8 results from an estimated 8 matches for "canvascolor".
2019 Apr 30
2
[FORGED] src/modules/X11/devX11.c, can we remove "#if BUG" yet
...may have finally dawned upon me what the issue really is:
>
> The logic is that in Rf_addX11Device, we have
>
> if (!X11DeviceDriver(dev, display, width, height,
> ps, gamma, colormodel, maxcubesize,
> bgcolor, canvascolor, sfonts, res,
> xpos, ypos, title, useCairo, antialias, family)) {
> free(dev);
> errorcall(call, _("unable to start device %s"), devname);
> }
> dd = GEcreateDevDesc(dev);
> GEaddDevice2(...
2019 Apr 25
2
[FORGED] src/modules/X11/devX11.c, can we remove "#if BUG" yet
...ably 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(dev);
> addDevice((DevDesc*) dd);
> initDisplayList((DevDesc*) dd);
>
>
&...
2019 May 02
1
[FORGED] src/modules/X11/devX11.c, can we remove "#if BUG" yet
...dawned upon me what the issue really is:
>>> The logic is that in Rf_addX11Device, we have
>>> if (!X11DeviceDriver(dev, display, width, height,
>>> ps, gamma, colormodel, maxcubesize,
>>> bgcolor, canvascolor, sfonts, res,
>>> xpos, ypos, title, useCairo, antialias, family)) {
>>> free(dev);
>>> errorcall(call, _("unable to start device %s"), devname);
>>> }
>>> dd = GEcreateDevDes...
2019 Apr 27
0
[FORGED] src/modules/X11/devX11.c, can we remove "#if BUG" yet
...as it did back then. I think it may have finally dawned upon me what the issue really is:
The logic is that in Rf_addX11Device, we have
if (!X11DeviceDriver(dev, display, width, height,
ps, gamma, colormodel, maxcubesize,
bgcolor, canvascolor, sfonts, res,
xpos, ypos, title, useCairo, antialias, family)) {
free(dev);
errorcall(call, _("unable to start device %s"), devname);
}
dd = GEcreateDevDesc(dev);
GEaddDevice2(dd, devname);
i.e., we start the de...
2019 May 02
0
[FORGED] src/modules/X11/devX11.c, can we remove "#if BUG" yet
...ay have finally dawned upon me what the issue really is:
>> The logic is that in Rf_addX11Device, we have
>> if (!X11DeviceDriver(dev, display, width, height,
>> ps, gamma, colormodel, maxcubesize,
>> bgcolor, canvascolor, sfonts, res,
>> xpos, ypos, title, useCairo, antialias, family)) {
>> free(dev);
>> errorcall(call, _("unable to start device %s"), devname);
>> }
>> dd = GEcreateDevDesc(dev);
>>...
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
...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(dev);
addDevice((DevDesc*) dd);
initDisplayList((DevDesc*) dd);
and put the if-clause last. A cursory...
2002 Apr 10
5
Funny characters in x11 window title (PR#1451)
In R-1.5.0pre (2002-04-08) on Solaris 2.6, the window that X11() creates has a
title like:
R Graphics: Device 2 (ACTIVE) o iyeP )( y
except the funny characters at the end have umlauts and other accents
(i.e. extended ASCII characters), and they may be different each time X11() is
invoked. There is no loss of functionality; it just looks a little ugly.
I saw this behavior in R-1.3.?, it