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

World: r3wp

[!REBOL3 GUI]

Kaj
24-Feb-2011
[6167x3]
[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
Kaj
24-Feb-2011
[6202]
Thanks for the help
Pekr
24-Feb-2011
[6203x3]
Mine is here - http://xidys.com/pekr/rebol/demo.r3
not much time to fix everything anyway. There's two fixes for Doc 
style but generally - this gui is incompatible to Carl's one in many 
aspects ....
Does not work with A111. Carl should really not do rushed releases, 
if he has no time to push R3 further forward!
Kaj
24-Feb-2011
[6206]
I have to say, I'm surprised that you endured this for weeks
Pekr
24-Feb-2011
[6207]
well, not sure I understand the word "endured" correctly, but anyway 
- I wanted to become more familiar with the GUI, published some tickets, 
learned a lot, yet I am far from being a good coder. I also only 
have few hours a week to experiment. I initially thought it is going 
to be about changine few things here or there, but it seems to be 
more complicated.
Henrik
24-Feb-2011
[6208]
I believe the released GUI is out of sync with A111. The GUI works 
here.
Kaj
24-Feb-2011
[6209x2]
I think we're talking different definitions of "works" here
One or two years ago, Carl's GUI was demonstrable. This one isn't
Henrik
24-Feb-2011
[6211]
Well, hopefully the next release will be more stable.
jocko
24-Feb-2011
[6212]
Pekr, we are by and large at the same point. Your version is compatible 
with the a111 version that I compiled, except for a certain number 
of tests, like mine. Did your version work with the a110 of RMA for 
the drawing test ?
Kaj, I agree, Carl's version was demonstrable.

Some basic functions like request or alert, and styles like doc are 
still bugged in r3-gui.r3
Henrik
24-Feb-2011
[6213]
Some basic functions like request or alert

 - because they are an entirely separate scheme that is not yet implemented. 
 Carl's version of these were unorganized and lacking.
Pekr
25-Feb-2011
[6214]
jocko - you can fix Doc style - look at following ticket  - http://curecode.org/rebol3/ticket.rsp?id=1850&cursor=10
jocko
25-Feb-2011
[6215x2]
pekr - thanks, I will do it when I have time.
I have put a new version of test-demo, where the status of what is 
working and what is not is mentioned, and the crashing actions and 
faces are disabled. Pekr, I have not yet integrated your fix for 
the doc style ... later
http://www.colineau.fr/rebol/downloads/tests-R3Gui.zip