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

World: r3wp

[!REBOL3 GUI]

Cyphre
17-Dec-2010
[4644x2]
From what I know the 'custom devices' will be available in hostkit 
after 3.0.0 release.
Of course it is possible to implement timers as embedded extension 
if someone can't wait for this feature.
Pekr
17-Dec-2010
[4646x3]
will that timer device have any influence on the task design? Well, 
being it one way or other - it is sadly another regression from R2. 
OTOH I think that most of R2 GUIS did not rely on timers, or am I 
wrong?
I prefer to have it designed properly, rather than to rush the implementation. 
And I agree with Max - there is imo long time plan to have extension 
API for devices ...
Cyphre - say hello to Carl :-)
Rebolek
17-Dec-2010
[4649]
most of R2 GUIS did not rely on timers...

, why should they? R3GUI can be perfectly functional without timers, 
only bit boring.
Pekr
17-Dec-2010
[4650]
I used it only several times - to initialise GUI automatically, and 
to create a primitive gif-anim player ...
Jerry
19-Dec-2010
[4651]
It seems like the SHAPE dialect in RM-Asset version of A110 is different 
from the original one. Is that intentional? I cannot draw and fill 
Chinses character glyphs using this version.
Oldes
19-Dec-2010
[4652]
Maybe you should show us the difference.
Jerry
19-Dec-2010
[4653]
Actually, I think It's bug. For example, MOVE seems not working at 
all. LINE used to mean LINE-TO, now LINE are just LINE. ... and so 
on.
Oldes
20-Dec-2010
[4654x4]
Yes... so we still need the simple example to show it.. best to use 
different group (R3 graphics) as it's not related to GUI.
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! :-)