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

World: r3wp

[!REBOL3 GUI]

Pekr
18-Feb-2011
[6143]
I would not mind, if style/options would be renamed to args or params. 
And if it will unify with reactors, then - why not? I know that other 
pov might be, that those really options, just inlined. So - you can 
have RMA voting, as now you imo clearly understand, why I had the 
problem with the recent naming. Maybe you will decide that it is 
fine as it is, it's your GUI after all :-)
Henrik
18-Feb-2011
[6144]
It depends. I'm sure that everyone is interested in new names (that 
make sense) that take less typing. :-)
Pekr
18-Feb-2011
[6145]
rebols - obsessed with the naming being right :-)
Kaj
18-Feb-2011
[6146]
ARGS and PARAMS are ugly abbreviations of technical words. If the 
problem is that OPTIONS do not map directly to options in the face, 
it seems that WITH was the better name :-)
Pekr
18-Feb-2011
[6147]
USING comes to mind too, but then WITH is probably nicer, and "compatible" 
with VID :-)
Ladislav
18-Feb-2011
[6148]
release date: Cyphre will not be available to commit a new release, 
and some scroller, etc. changes are on the way, so, the release will 
happen on Monday or Tuesday
Henrik
18-Feb-2011
[6149]
naming: we have to be mindful with reactor names as well, because 
they exist on the same level as OPTIONS.
Pekr
19-Feb-2011
[6150]
Is drawing supported in recent GUI? I tried simple:

>> view make gob! [draw: [circle 100x100 30]]
** Script error: expected command! not circle
** Where: show-native show view
** Near: show-native gob
Henrik
19-Feb-2011
[6151x2]
it should be, otherwise you couldn't use the GUI at all
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