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

World: r3wp

[!REBOL3 GUI]

Oldes
20-Dec-2010
[4655x3]
I would like to give GUI a try, but to be honest, the current public 
state is good only for reviewing, not for participation on the developement. 
I mean... I really don't want to hack one file which has 256kB. So 
I'm asking again, wouldn't it be better to put it into a real source-code 
system (or in case you have one already, which you probably have 
internaly, to create public mirror of it).
I would like to give GUI a try, but to be honest, the current public 
state is good only for reviewing, not for participation on the developement. 
I mean... I really don't want to hack one file which has 256kB. So 
I'm asking again, wouldn't it be better to put it into a real source-code 
system (or in case you have one already, which you probably have 
internaly, to create public mirror of it).
Also I miss the basic functionality in current GUI. Like chance to 
view a simple GOB. For example one of these: http://www.rebol.com/r3/docs/view/gobs.html
Pekr
20-Dec-2010
[4658x2]
Maybe RMA team could set-up a blog too (re Amiga group post about 
OS 4.1 progress). I know there's probably not much time for that, 
but I do remember some of Henrik's articles, and it was really nice 
to read :-)
It would be the place for occassional posts, showing e.g. short examples 
of how to use new features, etc. - thu stuff you are asking for here 
anyway :-)
Henrik
20-Dec-2010
[4660x2]
The GUI is still changing too much for particular blog articles. 
Around on a daily basis I get updates on 5-10 source files, which 
I don't have time to go through, otherwise I would publicize more 
information.
Oldes, VIEW is due for an overhaul and the concept of viewing any 
(or at least most) REBOL datatypes is something I wish to implement, 
but that's low priority at the moment.
Oldes
20-Dec-2010
[4662]
That's the main reason why to have public repo.. so one can at least 
see what is changing... and maybe also why.
Ladislav
20-Dec-2010
[4663x2]
GUI work log update: currently, the ON-CONTENT actor is being reworked. 
Interface and behaviour are being changed (different arguments, adjusting 
"boundary case behaviour"), some bugs revealed and corrected during 
reworking as well.
For those not knowing the purpose: the ON-CONTENT actor is meant 
to handle content changes of container styles.
Henrik
20-Dec-2010
[4665]
Oldes, I agree. We planned to move to Git to make this simpler, however 
the window for making such changes, I think, has closed for this 
year. Too busy...
Pekr
20-Dec-2010
[4666x2]
on-content ... interesting ... so we will get specific per style 
type kind of handlers?
Henrik - if 'view is going to be overhauled, add 'unview to the overhual 
game too, please :-)
Henrik
20-Dec-2010
[4668]
Pekr, that might happen.
Pekr
20-Dec-2010
[4669]
re blogs - maybe not examples, but it would be nice to know, what 
is e.g. planned. As e.g. Ladislav posted on-content, I believe Cyphre 
might be planning/doing some low-level stuff changes too, or some 
changes for some styles. But I can understand the "busy" argument, 
so maybe the best aproach for those interested is to trying to test, 
and when having the questions, just asking here ...
Oldes
20-Dec-2010
[4670x2]
Henrik, wouldn't it be at least posible to pack the files separatly 
(not to have them all in one file)? It's really unusable for other 
people than you in such a state. Especially when you are modifying 
5-10 files per day.
It would at least help to understand what part is doing what... like 
what is draw related, what is for styling.. etc.
Henrik
20-Dec-2010
[4672]
Oldes, that's possible. I'll try to make a zip archive of the current 
source directory.
Oldes
20-Dec-2010
[4673x2]
I now agree with Jerry that there is a draw problem.
And it is related to GUI project as GUI project is the one where 
the draw is implemented as commands.
Henrik
20-Dec-2010
[4675x2]
http://94.145.78.91/files/r3/gui/r3-gui-src.zip
I can't guarantee that it will work. There is a build script missing, 
but the resulting build should be similar to previously released 
builds. We have diverted from the build system to something else 
now, and I can't publish that build scheme.
Oldes
20-Dec-2010
[4677]
thanks, that looks much more useful.
Pekr
20-Dec-2010
[4678]
Maybe that zip archive could be added to the links page for R3 GUI 
project permanently?
Henrik
20-Dec-2010
[4679x2]
ok, cool
Pekr, possibly, but that's out of my league.
Oldes
20-Dec-2010
[4681x2]
There are also some docs and comments in code:)
Is the DRAWING style suppose to be working?
Ladislav
22-Dec-2010
[4683]
GUI work log update: ON-CONTENT revision done, debugging the changes. 
One of the changes is a removal of the PANEL/FACES block. Reasons:


- data aren't normalized, since the contents of the panel are listed 
both in panel/gob and in panel/faces

- thus, twice as much memory used, and unnecessary maintenance of 
the panel/faces block is necessary

- the not normalized nature was visible anyway, since the order of 
faces was not guaranteed to be the same

- to get the block when needed, it is possible to use a FACES? function 
returning such a block on demand
Pekr
22-Dec-2010
[4684x2]
what about calling it get-faces?
or get-content? That would be a good match for container styles? 
....
Henrik
22-Dec-2010
[4686]
I assume FACES? will only be used inside styles, so it should be 
a short name.
Anton
23-Dec-2010
[4687]
faces-of
Pekr
23-Dec-2010
[4688]
+1
Cyphre
23-Dec-2010
[4689]
New 'X-mas' release of R3-GUI is available for download at http://www.rm-asset.com/code/downloads/

top-level changes:

-smarter face update mechanism
-improved dynamic panel content handling
-internal optimizations and more system-friendly redesign
-cleanup of obsolete code parts

some more detailed notes:


- panels can now contain normal, VISIBLE faces, HIDDEN faces (just 
invisible, but taking the same space as the visible faces), IGNORED 
faces (invisible, and not taking any space), FIXED (visible, but 
not resizing with the panel, having a fixed position and size)

- the ON-CONTENT actors for all panels (HGROUP, VGROUP, VPANEL, HPANEL) 
now are as much compatible with series function as practical, taking 
an integer index, high-level function can take a gob or a face to 
specify the position as well

- Data optimization: FACES attribute removed to not need to store 
and maintain the same information twice, risking the conflicts (they 
were already present, order of faces was not identical)


You can also download the latest R3.exe from our site which contains 
LOAD-GUI that directly loads the actual release. This way you are 
always using the latest R3GUI codebase.


We'll be updating the 'old' documentation soon to be up-to-date with 
our current R3GUI version. So interested developers can start using 
it for real or participate on the project.
Ladislav
23-Dec-2010
[4690]
And, to not forget, thanks to Cyphre's effort, the VGROUP and HGROUP 
styles now properly use the RETURN keywords allowing the *group styles 
to have rows/columns with unequal lengths
Andreas
23-Dec-2010
[4691]
Very nice, congrats!
Kaj
23-Dec-2010
[4692]
Sounds good
Pekr
23-Dec-2010
[4693]
ha! :-)
Claude
23-Dec-2010
[4694]
super many thanks for it .....but demo not working !!!!!
Henrik
23-Dec-2010
[4695]
Demo is still based on Carl's old GUI, I believe. only LOAD-GUI has 
changed.
Kaj
23-Dec-2010
[4696]
You may want to patch that, too
Claude
23-Dec-2010
[4697]
it could be a good idea to upgrade demo too.
Kaj
23-Dec-2010
[4698]
Upgrading would probably mean a rewrite
Claude
23-Dec-2010
[4699]
well some guru could do this job and show us bests practices with 
load-gui !
Henrik
23-Dec-2010
[4700]
actually, there is a big bunch of tests in the zipped source code 
that I uploaded a few days ago. those contain some examples for study.
Gregg
23-Dec-2010
[4701]
Thanks GUI team!
Oldes
23-Dec-2010
[4702x2]
I don't like how you use function names like faces? to return other 
than boolean values.
names like: back-face?, next-face? should be better:  prev-face, 
next-face
nve
23-Dec-2010
[4704]
Do you a demo script ?