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

World: r3wp

[!REBOL3-OLD1]

PeterWood
29-Sep-2008
[7222]
There are finally a couple of signs of life with R3 GUI; 2 new pages 
in DocBase.
Graham
30-Sep-2008
[7223]
http://www.rebol.net/wiki/R3_GUI
Geomol
30-Sep-2008
[7224]
No objection so far. I like the very minimal syntax, like in

panel 2 [
	label "Name:"
	field "your name"
	label "Comment:"
	area
]
amacleod
30-Sep-2008
[7225]
This is the new stuff from carl?
Graham
30-Sep-2008
[7226]
Yes.  The new god :)
PeterWood
30-Sep-2008
[7227]
Let's hope the behaviour of the GUI is as good as the syntax.
amacleod
30-Sep-2008
[7228]
Looks good. Not much different from 3.0 but I guess we only see hints 
of that underlying stuff that Carl spoke about...for example submit 
buttons to urls and services...the 'send' action.etc.
Henrik
1-Oct-2008
[7229]
it looks significantly easier to build styles for, but I have yet 
to see what the costs are, if any.
Steeve
1-Oct-2008
[7230]
yo all, i don't find any index property in the new port file scheme 
in R3, how can we seek in a opened file ?
BrianH
2-Oct-2008
[7231x3]
Ports can't be treated like series anymore. The seek option has been 
moved to READ and WRITE, which correspond loosely to COPY and INSERT 
on R2 ports. The index or offset is an internal property of the port, 
not of the port reference like in R2.
See http://www.rebol.net/wiki/Ports
Keep in mind that the port model is almost completely different in 
R3 (and a vast improvement) so your low-level code will change.
Chris
4-Oct-2008
[7234x4]
So, no 'select, 'insert, 'change or 'delete then...
Sorry, 'remove, not 'delete...
What is the suggested replacement where a port is used as a data 
interface?
Though I'd still advocate a separate type for this -- adapter! if 
you will...
Gabriele
4-Oct-2008
[7238]
Chris, actually ports in R3 support a lot of different actors, though 
it is not clear yet if it should or not.
Steeve
5-Oct-2008
[7239]
ok, the prob with the new file port is that we can not have a direct 
access using an index.

Instead we have to maintain a relative offset because we only can 
use read/seek wich use negative and positive offset. I think READ 
should allow to use an absolute index  too. (like with a refinement 
 /at )
BrianH
5-Oct-2008
[7240x2]
I think read/seek uses absolute offsets. What is your question?
If you want it to work properly you should also use the /seek option 
when you open the file port.
Steeve
5-Oct-2008
[7242]
it's not a question Brian, when the port is opened, you must use 
relative offset to advance or go back in the file.
BrianH
5-Oct-2008
[7243]
Sorry, I said offsets when I meant indexes. And read/seek doesn't 
allow negative indexes - the index parameter is always a non-negative 
offset from the beginning, 0-based.
Steeve
5-Oct-2008
[7244]
have u tested that ?, negative offsets work properly whit read/seek 
on an opened port.
BrianH
5-Oct-2008
[7245]
Are you opening the file port with open/seek? I haven't tried seeking 
without opening in seek mode.
Steeve
5-Oct-2008
[7246x3]
yes i done that
read/seek wotk on opened file (port) and u can use negative offset, 
to read back
*work
BrianH
5-Oct-2008
[7249]
I'm testing it now. All read/seek calls go to a 0-based index from 
the beginning of the file. Negative offsets cause an error. What 
version of REBOL are you using?
Steeve
5-Oct-2008
[7250]
hum, i can't say it know, i have to go back to my job to check  it 
;-)
BrianH
5-Oct-2008
[7251]
When you do, please tell us. I am testing with 2.100.13.3.1, and 
can also test 2.99.4.3.1 if you like.
Steeve
5-Oct-2008
[7252x2]
i think it was the first alpha released
is there a link to dowload the last alpha release ?
BrianH
5-Oct-2008
[7254]
I can't find the /seek refinement on the READ function in the last 
public release. The OPEN, READ and WRITE functions changed quite 
a bit with the Unicode changes. All of the docs and my comments relate 
to the versions since the Unicode changes.
Steeve
5-Oct-2008
[7255]
ok
BrianH
5-Oct-2008
[7256x2]
There is not a public link to the internal releases for the development 
group of REBOL 3, and that includes the Unicode releases. There isn't 
much point in posting one either, since Carl's GUI changes are just 
as extensive as the Unicode changes, and we haven't seen them yet.
I'll be posting more information as I get it, but things are promising 
so far :)
Henrik
6-Oct-2008
[7258]
Fun fact: Compressed size of the new R3 GUI is 13.8 kB.
Pekr
6-Oct-2008
[7259]
Gabriele's VID?
Henrik
6-Oct-2008
[7260]
No, Carls new VID
Pekr
6-Oct-2008
[7261]
Uh, sounds oversimplified. Can it draw at least simple button? :-)
Henrik
6-Oct-2008
[7262]
I don't think styles are counted in yet, but there are a few styles 
in the design.. Carl sounds very pleased with the design. He's working 
out a few bugs, before I can get my hands on it.
Pekr
6-Oct-2008
[7263]
So how do you know its size? I thought you might have it already 
...
Henrik
6-Oct-2008
[7264]
He told me. :-)
Pekr
6-Oct-2008
[7265]
ah :-)
Steeve
7-Oct-2008
[7266x3]
Brian, i'm sorry i made a mistake, it was not the /seek refinement 
i used (which don't exist) with the 'read function but the /skip 
refinement.

Anyway, it seems that we can do a seek position with an obsolute 
index only when opening the file. After that, we can only skip the 
port. with relative offset. I think a /seek  refinement is missing 
in 'read function
(to seek in an opened file like with can do with R2)
*like we can do
Steeve
8-Oct-2008
[7269x2]
Henrik, Pekr, the VID3 of Gabriele was really hudge (IIRC only the 
style sheet was 100Kb). 

It should not be too hard to do better even if the Gabriele' contribution 
was great.
i'm especialy curious how Carl managed the dynamic inheritance of 
styles (if i hunderstood correctly its ads)
Gabriele
8-Oct-2008
[7271]
Well, if I compress ALL of my VID, I get 37k. So, I'm not really 
sure it is that much bigger...