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

World: r3wp

[!REBOL3 GUI]

GrahamC
9-Dec-2010
[4479]
Unproven assertions
Henrik
9-Dec-2010
[4480x2]
Not unproven. Take REBOL functions for managing series. Are they 
incomplete?
Making simple architectures is hard. It requires an understanding 
of how to design systems that will work both in the big and in the 
small, while remaining simple. If you don't have this understanding 
(or don't get enough time to finish the design), you will tend to 
add more systems to cure the symptoms or counteract existing systems 
for scalability. I thought this was pretty basic?
GrahamC
9-Dec-2010
[4482x3]
That's also my point, achieving the necessary simplicity has been 
too hard so far and has failed.
You might get 80% there with this approach ... but not all the way
The 80% however makes it seem that you can get all the way...
Henrik
9-Dec-2010
[4485]
I'm not sure what that means. The 80% rule is part of good design 
for where you need to be, not for where we currently are with VID. 
VID does not follow the 80% rule since its incomplete.
DideC
9-Dec-2010
[4486]
load-gui.r must be update to check the Rebol version and print an 
error if it is not compatible.
Oldes
9-Dec-2010
[4487]
what was the last version compatible with load-gui?
DideC
9-Dec-2010
[4488]
Work in A96, doesn't in A99. I don't have A97 nor A98 to check !
Pekr
9-Dec-2010
[4489]
The last version it works under is: R3-a97-3-1
Kaj
9-Dec-2010
[4490]
I'd say complex systems out there have proven that they don't scale
Robert
11-Dec-2010
[4491x2]
We have setup official R3-GUI download place: http://www.rm-asset.com/code/downloads/files/r3-gui.r3.zip
To access all our stuff directly: http://www.rm-asset.com/code/downloads/
Andreas
11-Dec-2010
[4493x2]
Thanks, Robert!
Maybe provide a unzipped download for the r3-gui as well? So that 
we can directly DO the url?
Robert
11-Dec-2010
[4495x2]
Ok, that's possible as well. I just wanted to avoid any encoding 
clashes. Will add it. One second.
Ok, done. We will add more stuff like the style browser. I need to 
talk to the guys how to best do it, so that it all works right out-of-the-box.
Andreas
11-Dec-2010
[4497]
Great, thanks!
Robert
11-Dec-2010
[4498]
Constructive feedback for current release always welcome.
nve
11-Dec-2010
[4499]
Maybe I'm doing something wrong...

R3 current version: 2.100.110.3.1
It was released on: 2-Nov-2010/3:55:04.875

Your version is current.
>> do %r3-gui.r3

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

>> change-dir %test-framework
== %test-framework

>> list-dir

core-tests.r   cpl_2_100_110_3_1.log         docs/          flags.r	test-framework.r
>> do %test-framework.r
Script: "Untitled" Version: none Date: 16-Jul-2010/13:05:26+2:00
Testing...
file: core-tests.r
LOAD/next removed. Use TRANSCODE.

Done, see the log file: /C/Documents and Settings/striker/Bureau/R3/test-framework/cpl_2_100_110_3_1.log
Total: 1 Succeeded: 0 Failed: 1


Log file :

file: core-tests.r

failed, file parsing unsuccessful
Total: 1 Succeeded: 0 Failed: 1

Why ?
Robert
11-Dec-2010
[4500]
This setup will raise the release frequency of R3-GUI a lot as we 
will use automatic scripts to update it on the server.
Andreas
11-Dec-2010
[4501]
Nice, direct DO of r3-gui works fine for me (with custom-built A110 
view).
BrianH
11-Dec-2010
[4502x3]
If you are worried about encoding issues have the web server serve 
.r3 files in binary mode. DO reads the files in binary.
There shouldn't be any unless you use binary compression or a checksum 
without compression.
I meant: There shouldn't be any encoding problems to worry about 
even without that unless ...
Ladislav
11-Dec-2010
[4505x2]
Nicolas, the expression:

do %test-framework.r

surely does not behave as you described
(unless you changed the original file)
Andreas
11-Dec-2010
[4507x2]
I see the same behaviour Nicolas describes.
Using the (older) test framework sources published on the RM Asset 
website:

http://www.rm-asset.com/code/downloads/files/test-framework.zip
Ladislav
11-Dec-2010
[4509]
Aha, that is an old version, OK
Robert
11-Dec-2010
[4510]
We need to update this one too.
nve
11-Dec-2010
[4511]
Juste re-download R3, r3-gui.r3 on another computer...

>> do %r3-gui.r3

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

** access error: cannot open: shape reason: "module not found"

>> upgrade
Fetching upgrade check ...

Script: "REBOL 3.0 Version Upgrade" Version: 1.0.1 Date: 7-Apr-2009
Checking for updates...

R3 current version: 2.100.110.3.1
It was released on: 2-Nov-2010/3:55:04.875

Your version is current.
>>
Andreas
11-Dec-2010
[4512]
nve, you need a "view" build of R3 in order for the GUI to work.
Robert
11-Dec-2010
[4513]
I think I will add the R3 build we use to the web-site as well...
Andreas
11-Dec-2010
[4514]
You can either build one from the Hostkit yourself, or use e.g. the 
pre-built one provided by Henrik:
http://94.145.78.91/files/r3/gui/r3.exe
http://94.145.78.91/files/r3/gui/r3lib.dll
Robert
11-Dec-2010
[4515]
I'm going to upload our internal build in a couple of minutes.
nve
11-Dec-2010
[4516]
Ok, loading r3-gui.r3 is ok now.
Still have failed for test-framework.
Robert
11-Dec-2010
[4517]
Ok, uploaded.
nve
11-Dec-2010
[4518]
Seems to be better.  But what is final result expected ?

>> do %test-framework.r

Script: "Test-framework" Version: none Date: 19-Nov-2010/15:00:45+1:00

Script: "Line number" Version: none Date: 1-Nov-2010/14:21:20+1:00
Script: "Catch-any" Version: none Date: 3-Nov-2010/4:58:46+1:00
== make object! [
    log-file: none
    log: make function! [[report [block!]][
        write/append log-file to binary! rejoin report
    ]]
    skipped: none
    test-failures: none
    crashes: none
    dialect-failures: none
    succeeded: none
    failures: none
    exceptions: make object! [
        return: "return/exit out of the test code"
        error: "error was caused in the test code"
        break: "break or continue out of the test code"
        throw: "throw out of the test code"
 ...
Andreas
11-Dec-2010
[4519]
nve, the test framework runs roughly 4000+ tests and reports the 
results. See the "testing & tools" group for more details.
Aloysius
11-Dec-2010
[4520x6]
I tried to use SciTe editor to run a simple gui script: rebol [] 
 do %r3-gui.r3 view [button]
What I got in the output pane is: REBOL 3.0 A110 2-Nov-2010/3:56:20
handler added
but no window appeared
running the same script from command console: "r3.exe testgui.r3" 
works just fine. It opens a new console window with the same output 
" REBOL 3.0 A110 2-Nov-2010/3:56:20 handler added" and another window 
showing the button
In Scite, I configured the command Go (F5) as:

command.go.$(file.patterns.rebol)=c:\Users\awi\Documents\rebol\r3.exe 
"$(FilePath)"
so nothing different here
Maybe anyone has a tip how to fix this, I know this is SciTe problem, 
but I wonder whether other editor has the same problem. Thanks!
Edgar
12-Dec-2010
[4526]
Add this to your configuration, and you will be able to use Ctrl-5 
to run rebol3. Change the path as needed.
command.name.5.$(file.patterns.rebol)=RunRebol3File

command.5.$(file.patterns.rebol)="C:\usr\local\rebol3\r3.exe" "$(FilePath)"
command.subsystem.5.*=2
command.is.filter.5=1
Awi
12-Dec-2010
[4527]
Cool! Thanks a lot Edgar! I really appreciate this.
Pekr
13-Dec-2010
[4528]
Could style browser be updated too? It basically crashes with any 
click I tried to the style's list-box ...