r3wp [groups: 83 posts: 189283]
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

World: r3wp

[!REBOL3 GUI]

Henrik
19-Feb-2011
[6152]
try removing the "30"
Pekr
19-Feb-2011
[6153x2]
it does not work either ...
I am trying to fix the drawing style, which is not complicated, but 
does not display anything. There might be problem in following init 
code:

	actors: [
		on-make: [
			if block? drw: face/facets/drawing [
				bind face/gob/draw: copy drw face/facets
			]
		]
	]
Kaj
19-Feb-2011
[6155]
Wasn't there a fix to binding draw blocks in the last release?
Rebolek
21-Feb-2011
[6156x2]
Pekr, you can't use draw code directly, the dialect must be first 
converted to commands.
I think Cyphre is working on a change to make it easier to use.
Pekr
21-Feb-2011
[6158x2]
OK, cool. Maybe you could incorporate one ticket re Doc style ...
Rebolek - in ticket #1837 you claim, that area-color is no longer, 
supported, but my example shows it is not the case ....
Rebolek
21-Feb-2011
[6160]
The newest version of R3GUI , where area-color is no longer supported 
hasn't been released yet.
Pekr
21-Feb-2011
[6161]
ah, now it makes sense .....
Rebolek
21-Feb-2011
[6162]
Cyphre isn't very well, so there may be some delay with the release.
PeterWood
21-Feb-2011
[6163x2]
I hope he gets better soon. Please pass our my best wishes to him.
our -> on
Pekr
21-Feb-2011
[6165]
OK, I am fighting for three weeks with this or that, and I feel like 
giving-up and going to health-leave too ... I should not have played 
a soccer yesterday :-)
Kaj
24-Feb-2011
[6166x4]
A111 was reported to work with the RMA GUI, but under WINE I get 
this:
[kaj-:-Kaj-Portable-PC] ~/Desktop/REBOL-3 $ ./r3-a111-3-1.exe r3-gui.r3
** access error: cannot open: shape reason: "module not found"
The RMA build of A110 works, but when I just move the Hello World 
window around, I quickly get REBOL System Error #1412 "should never 
happen"
This doesn't seem to happen if I load the single GUI file and write 
my own Hello World
GrahamC
24-Feb-2011
[6170]
And under Windows?
Kaj
24-Feb-2011
[6171]
No idea, I don't have that
jocko
24-Feb-2011
[6172]
I got A111 working with r3-gui.r3 under windows, but not with the 
pre-compiled version. I recompiled it from the source.
Kaj
24-Feb-2011
[6173]
Did you get the same error before that?
jocko
24-Feb-2011
[6174]
yes
Kaj
24-Feb-2011
[6175]
The crash seems to happen due to the TITLE widget, because it also 
crashes with the single file GUI
jocko
24-Feb-2011
[6176x2]
my conclusion was that it was not compiled with the view features.
That's why I recompiled it.
pekr, how is your attempt to port the Carl's demo ? I did some work 
on it, and I have some results, but I had to adapt some points. Some 
tests are not working.
Kaj
24-Feb-2011
[6178]
The crash is with the RMA R3
jocko
24-Feb-2011
[6179]
yes, but with my compiled version, I load the RMA R3 without problem, 
and I also have done some adaptations of the Carl's demo
Kaj
24-Feb-2011
[6180]
Could I ask you for a download link?
jocko
24-Feb-2011
[6181]
yes, I was just uploading a zip:
http://www.colineau.fr/rebol/downloads/tests-R3Gui.zip
Kaj
24-Feb-2011
[6182]
Cool, thanks!
jocko
24-Feb-2011
[6183]
with the adapted Carl's demo, there are still some bugs . Some styles 
seem incompatible, and it's difficult to debug without knowing the 
bases of this design.
Kaj
24-Feb-2011
[6184]
Your version works in WINE, but the hello world still crashes
jocko
24-Feb-2011
[6185x2]
what is the hello world ?
if you use a request function to display a message, this is the cause 
of the problem: the request function from RMA is bugged (and also 
the alert). You should either correct in the RMA r3-gui.r3 file, 
or, better, overload it. change the words group  by hgroup , and 
change the line doc (message) by text-area (message)
Kaj
24-Feb-2011
[6187x4]
hello-world.r3 in the RMA source archive
It only has a title extra over a non-crashing version
I get this from your version of the demo:
>> do %r3-gui.r3

Script: "R3 GUI - load and start" Version: $Id: $ Date: 9-Dec-2010/10:32:04+1:00
>> do %demoJC.r3

Script: "R3 GUI - Development Test Script" Version: 0.1.1 Date: none

Script: "R3 GUI - load and start" Version: $Id: $ Date: 9-Dec-2010/10:32:04+1:00
** Internal error: stack overflow

** Where: reduce switch parse to-text reduce parse to-draw all update-subgobs 
foreach update-subgobs foreach update-subgobs foreach update-subgobs 
show-native show-native show-native show-native show-native show-native 
show-native show-native show-native show-native show-native show-native 
show-native show-native show-native show-native show-native show-native 
show-native show-native show-native show-native show-native show-native 
show-native show-native show-native show-native show-native show-native 
show-native show-native show-native show-native show-native show-native 
show-native show-native sho...
BrianH
24-Feb-2011
[6191]
At one point there was a guard added to make sure that SHOW-NATIVE 
was only redefined once, to avoid that stack overflow.
Kaj
24-Feb-2011
[6192]
If I load RMA's original GUI in Jocko's R3, I get the same result
jocko
24-Feb-2011
[6193x2]
I also have that. If you launch directly %demoJC.r3, you don't have 
the problem (there is a call to r3-gui.r3 inside demoJC.r3). It seems 
that if you call it two times, it crashes.
to summarize: open a new cosole, launch directly demo:
do %demoJC.r3, and it should work ok.
Kaj
24-Feb-2011
[6195x2]
OK, that works
But it also segfaults when moved
jocko
24-Feb-2011
[6197]
not mine ... strange !
Kaj
24-Feb-2011
[6198x3]
On WINE. Also when just using the demo
Unfortunately, I can't show this at ReBorCon
This GUI and GLASS are also terribly slow
jocko
24-Feb-2011
[6201]
I have to leave, now
Anyway, I wish you a fruitful conference.
bye