AltME: R3-GUI

Messages

Gabriele
http://development.saphirion.com/downloads/files/rebgui-src.zip
GiuseppeC
Thanks Q

GiuseppeC
During the past days I have found a lot of pages and documentation which traces work from many developers on R3GUI and on REBGUI too.
It will take some time for me to became familiar with the subject and undestand what is there, what has been removed, changed.
It will be a very difficult task... but I want to face it.

GiuseppeC
Where the latter came from ? Which of two is the better one to use ?
GiuseppeC
Also the FACE chapter:
http://development.saphirion.com/rebol/r3gui/faces/index.shtml
In saphirion documentation I read:
do-face Evaluate the standard action code sequence of a face
While on R3GUI:
http://www.r3gui.com/docs/developer/faces/faces.html
do-face Execute the standard action code sequence of a face
Code also differ:
Saphirion code:
verify: func [
    data [string!]
][
    ;just a placeholder code
    print "verifying face"
    random true
]
view [
    name:  field
    email: field
    button "Submit" on-action [
        unless verify get-face name [alert "invalid name"]
        unless verify get-face email [alert "invalid email address"]
    ]
]
R3GUI.COM code
name: field
email: field
button "Submit" do [
        unless verify get-face name [warn "invalid name"]
        unless verify get-face email [warn "invalid email address"]
]
This time Saphirion site seems more complete.
GiuseppeC
Misses all low level documentation
https://github.com/saphirion/documentation/tree/master/r3/r3-gui/developer/resizing
We find it split in another document
http://www.r3gui.com/docs/developer/resizing/resizing-ll.html
GiuseppeC
GiuseppeC
Lets summarize what I have discoverd so far:
Graham Chiu branch is the only one to have this updated document:
http://www.r3gui.com/docs/developer/layouts/layouts.html
This branch has been created on 1st Jun 2013.
Then he added this file:
https://github.com/gchiu/Rebol3/blob/master/r3-gui/gui.r3
Which is Carl's original GUI
Ladislav polished Saphirion repository the repository and modified some files After 1st of june:
Also he added the EXAMPLES DIR
https://github.com/saphirion/documentation/tree/master/r3/r3-gui
Graham actors files reports may 31st may 2013 as modification date inside the file
https://github.com/gchiu/Rebol3/blob/master/r3-gui/developer/actors/actors.mdp
https://github.com/saphirion/documentation/blob/master/r3/r3-gui/developer/actors/actors.mdp
Saphirion version has no modification date (Discover why)
Graham Faces article is 10 lines longer,investigate why.
https://github.com/saphirion/documentation/blob/master/r3/r3-gui/developer/faces/faces.mdp
https://github.com/gchiu/Rebol3/blob/master/r3-gui/developer/faces/faces.mdp
Reactors come directly from here:
http://www.r3gui.com/docs/developer/reactors/reactors.html
http://www.rebol.com/r3/docs/gui/reactors.html
Resizing is 1line longer
https://github.com/saphirion/documentation/blob/master/r3/r3-gui/developer/resizing/resizing.mdp
https://github.com/gchiu/Rebol3/blob/master/r3-gui/developer/resizing/resizing.mdp
The "Resizing Dir" under  https://github.com/gchiu/Rebol3/tree/master/r3-gui/specs/resizing
is only in Graham repository as Ladislav deleted them because "obsolescence":
https://github.com/gchiu/Rebol3/tree/master/r3-gui/specs/resizing
shortctus-notes.mdp file was inside this directory.
Saphrion version on their site
http://development.saphirion.com/rebol/r3gui/
Is updated to their repository version but lacks the layout file graham has.
R3GUI Log is only present here:
https://github.com/saphirion/r3-gui/blob/master/release/r3-gui-changes.mdp
Hope we now have a correct picture of repositories.

Robert
Pretty simple: For our code our documentation is relevant. And, we changed some concepts from the original R3 gui.
I don't know what the others did.
GiuseppeC
Robert, is it possible you are publishing an old file ?
Please look at this code from LAYOUT secotion from Graham Repository
    view [
        text "Example window."
        button "Close" on-action [ close-window face ]
]
Or .....
    view [
        vpanel [
            text "Show website"
            button "Show" on-action [ browse http://www.rebol.com ]
        ] options [border-color: black border-size: [1x1 1x1]]
        vpanel [
            text "Example window."
            button "Close" on-action [ close-window face ]
        ] options [border-color: black border-size: [1x1 1x1]]
]
....
From your site we have:
view [
    text "Example window."
    button "Close" close
]
and...
view [
    vpanel [
        text "Show website"
        button "Show" browse http://www.rebol.com
    ]
    vpanel [
        text "Example window."
        button "Close" close
    ]
]
I suppose the latter code (from your site) has "reactors" that have been removed. Graham version is May 2013, your site version Jan 2013. Graham version has Copiright Saphirion too...
Robert
These are now the latest versions from our SVN repository.
Jan-2015
Hope this helps
GiuseppeC

Last message posted 31 weeks ago.