World: r3wp
[!REBOL3 GUI]
older newer | first last |
Henrik 6-Feb-2010 [521x3] | yes. it tries just to get the path, which doesn't exist. |
one must ask for FACE/DATA/GOB/PARENT first | |
I'm also kind of expecting that the R3 GUI no longer uses objects for panes. That simplifies the code a little bit. | |
Graham 6-Feb-2010 [524] | Just blocks ? |
Henrik 6-Feb-2010 [525x3] | Either blocks in FACE/FACES or FACE/FACES doesn't exist. Some parts of a face is built dynamically as the layout is made, so if the part is not needed, it's not there. Yay for the ability to extend objects, I guess. :-) |
The window face needs to know which face is the one tabbed to. This means it has to be extended with TAB-FACE. I wonder where it's best to do that... | |
Got basic face traversal working: LOCATE-FACE, NEXT-FACE, BACK-FACE, TRAVERSE-FACE, INSIDE-FACE?, FIND-RELATIVE-FACE, GET-TIP-FACE are now ported from the VID Extension Kit. Requires no modification to VID3.4. It can be tested here: do http://rebol.hmkdesign.dk/files/r3/gui/traversal.r | |
BrianH 6-Feb-2010 [528] | I agree with Pekr that WITHIN-FACE? is a better name than INSIDE-FACE?, but you might disagree. |
Henrik 6-Feb-2010 [529x3] | Next step is to store the tab-face in the window face, some key event handling and GOB display of a tab frame to get actual tab navigation. I imagine it could be nice to stow away different items in the window face, i.e. window related information. Suggestions? |
BrianH, I'll change it. | |
Done. | |
BrianH 6-Feb-2010 [532] | I wish I had the time to review the GUI code right now, but I'm working on LOAD of compressed scripts/modules. |
Henrik 6-Feb-2010 [533] | no worries. I need to spend the next 24 hours on another project. This was just to kickstart it. |
BrianH 6-Feb-2010 [534] | Anything related to LOAD requires a lot of thought, since the code is so optimized. Tradeoff for efficiency, I guess. |
Henrik 6-Feb-2010 [535x2] | There are a few changes in this, from the VID Extension Kit: All error generation is removed and replaced with NONEs. This was due to how VID is not pure enough a structure to work in. Consistency in the face tree for R3 GUI seems much better, but also because only a few styles exist and they all adhere to structure. |
sorry, not NONEs, but FALSEs. | |
BrianH 6-Feb-2010 [537] | I've really been wanting to review the GUI code again. The R3 language is really quite different from when the GUI code was written. |
Henrik 6-Feb-2010 [538] | yes, I'm sure there are plenty of tricks that can be applied now. |
shadwolf 10-Feb-2010 [539] | as a side note did anyone noticed carl that gob has a pronounciation that means something for us ? Gobe in franche means to swallow or in it's familiar sens to fall for ... detailed explanation on this link http://www.wordreference.com/fren/gober |
Henrik 10-Feb-2010 [540] | there was a discussion in the beginning, because it means something gross (see urbandictionary.com), but he refused to change it. |
shadwolf 10-Feb-2010 [541] | lol |
Maxim 10-Feb-2010 [542] | why I named my system GLOB a few years ago ;-) |
Graham 10-Feb-2010 [543x2] | mean is slang here for mouth |
GOB | |
BrianH 10-Feb-2010 [545] | Gob is an old english term for mouth - anachronistic, not slang. Shakespeare used it :) |
Graham 10-Feb-2010 [546x3] | Here's it's slang, and used as an insult |
by those without Shakespearean training | |
http://dictionary.reference.com/browse/gob and wikipedia back me up ... | |
BrianH 10-Feb-2010 [549] | It was used as an insulting way in old english as well. But a much greater proportion of the language was used to insult people back then - that's what people did with language. |
Graham 10-Feb-2010 [550] | so, we should call subfaces goblets ? |
BrianH 10-Feb-2010 [551] | Yeah, we better get the event queue working, we have a lot of little mouths to feed :) |
Graham 11-Feb-2010 [552] | Henrik said he was starting working on the GUI this month .... is anything public happening? |
Henrik 11-Feb-2010 [553x2] | BrianH, yes, now we just use variations of the F-word. It's a nice and elegant way to insult people. :-) Why can't other things be this simple. |
Graham, not publicly yet. | |
Pekr 11-Feb-2010 [555] | F-word? Why :-) |
Graham 11-Feb-2010 [556] | hehe ... at least it's not the R-word! |
Henrik 12-Feb-2010 [557] | I'm adding face tag handling to the specs document on the wiki, while also building the first prototype today for tag handling. Feel free to air suggestions. |
Graham 12-Feb-2010 [558] | If I knew what you were talking about ... maybe I could suggest! |
Henrik 12-Feb-2010 [559] | ok, the basics are here: http://rebol.net/wiki/R3_GUI_Specs#Style_and_Face_tag_principle |
shadwolf 12-Feb-2010 [560x4] | for rebol3 GUI what ever you put in it really it has to work the same way every where it exists .... the differencies between R2 windows and R2 linux are so big that advanced projects are a pain to make |
main line should be SAME VID SCRIPT PRODUCE SAME RESULT ANYWHERE !! | |
and i think that comes really before anything else... | |
http://shadwolf.free.fr/area-tc23-linux.jpg a teaser for what the rebol futur WILL BE !!! | |
Henrik 12-Feb-2010 [564] | Shadwolf, those are low level things, so Cyphre is the one to bash, if it doesn't work everywhere. :-) With any luck the R3 GUI shouldn't have any need for adapting to various OSes and hardware. |
shadwolf 12-Feb-2010 [565x2] | i'm not bashing anyone ... i'm ust showing why rebol is considere as a toy and not as a professional solution |
i'm less interested at pointing culpit than obtaining solutions. What ever is to blame that's not blaming people that we will get the things going on we need to show the potention and show that lot of differencies exists between OSes that supports lastest official rebol and then try to make the rebol 3 not repeating the same errors. | |
Henrik 12-Feb-2010 [567] | I'm starting to think that keeping a set of rules to parse for tags, may not be a great idea after all: - Each rule is largely used only once. - The rule list is quite short and there are not that many places to use rules. - Building the parser is complex. - The rule would have to be parsed on each invocation of a function which takes longer than simply searching for a tag. This would have to be done potentially hundreds or thousands of times on opening a single window and just consumes more memory. - Setting and unsetting tags by using the rules as part of a state machine just leaves a new need for further processing the result where you use it, and perhaps slows it even more down, because you need a state machine engine to drive it. The list of rules is good as a design guideline as I've used it for the VID Extension Kit, but no further than that. Tags are of course still needed. I think I'll reduce today's prototype not to include rules, but simply manage tags directly. |
shadwolf 12-Feb-2010 [568] | hum you mean on the VID side no need to adapt the R3's script to any OSes. Yeah that's how it's promoted man ... REbol a unical VM of less than 1Mo giving you the same thing avery where that's what the advertising said from the begining twelve years ago. And twelve years later we are still not there ... |
Robert 12-Feb-2010 [569x2] | Cyphre, Henrik, Ladislav and I are going to pic up the current VID34 code and drive it forward. Our goal is to get it into a shape that it can be used to build apps. We will try to sync with Carl about our steps to avoid that we fork away. Overall we want to solve the current stuck situation and move forward. Our goal is to make VID34 useable for big apps. Focus is neither minimalistic nor "can be used by a child". This will be for the big boys. But still simpe to use and providing a bunch of features you need to make enterprise applications. |
All this is done in the context of one of my companies: www.rm-asset.com that will sponsor the development. | |
older newer | first last |