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

World: r3wp

[!REBOL3 GUI]

Claude
23-Apr-2010
[1380]
rebgui ;-)
BrianH
23-Apr-2010
[1381]
That explains it :)
Henrik
28-Apr-2010
[1382x2]
GUI status discussion moving here.
Screenshots will be available when there is something to show. Worked 
out a few bugs regarding tab navigation yesterday and there is work 
being done on the basis for a grid system that will be used for tables, 
dropdowns, menus, etc. Someone has been added to the list of developers, 
as I don't have much time right now to do GUI work. He may speak 
up if he wants to. :-)
Pekr
28-Apr-2010
[1384x2]
hehe, cool!
Any fixes for low level? I mean - draw, rich-text, etc.?
Henrik
28-Apr-2010
[1386]
no, waiting for host kit for that.
Pekr
28-Apr-2010
[1387]
I just wish one thing - things to not add layers of complexity. The 
initial VID work was imo really nice, and I hope it will not complicate 
much ...
Henrik
28-Apr-2010
[1388]
Depending on what will be worked on next, we might delve into testing 
schemes. We want the R3 GUI to be easily testable: Fire random events 
at a GUI window and collect errors and crashes and also generally 
record and playback UI events to tell what a user did.
Pekr
28-Apr-2010
[1389x3]
Maybe my fear is preliminary, but it is based upon the doc you created 
... looks like too many things to implement :-)
I volunteer to test, even preliminary versions. It helps me to understand 
gui, to study sources, etc.
btw - is grid system done by Cyphre? He did his own grid, as well 
as RebGUI grid. Hope the design has virtual columns/rows, to stop 
the need to reshape original data source ;-)
Henrik
28-Apr-2010
[1392x2]
we're getting many ideas from the app I'm building now. Automated 
GUI testing is badly needed.
yes, done by him.
Pekr
28-Apr-2010
[1394x2]
And what about menu? How is this being done? I mean - pop-ups? Carl 
still have not expressed, what he had in mind for layers, or did 
he?
OK, so when can we expect "something"? In a month? Later?
Rebolek
28-Apr-2010
[1396]
That someone is me and in this exact minute I just finished auto-completition 
for the text-list. Yea! :)
Henrik
28-Apr-2010
[1397x2]
cool :-)
Pekr, we're not that far on menus yet. it's just what's planned to 
be done.
Rebolek
28-Apr-2010
[1399]
I've got basic pop-up working for the drop-down, but it's not finished 
yet.
Henrik
28-Apr-2010
[1400]
Complexity: As far as possible, we want to add things in a way so 
you can simply omit them for inclusion when building the GUI. It 
won't be possible for everything, like tags, but testing framework 
would work that way.
Pekr
28-Apr-2010
[1401]
welcome Rebolek! :-) You should be put onto Sound, not GUI, no? :-)
Rebolek
28-Apr-2010
[1402x2]
later ;)
but if you look at pm-101, I think I can do some GUI work too :)
Pekr
28-Apr-2010
[1404]
what is pm-101?
Rebolek
28-Apr-2010
[1405]
http://www.rebol.org/view-script.r?script=pm-101.r
Robert
29-Apr-2010
[1406x3]
We are currently checking out how far we can get and what stumbling-blocks 
we might hit to collect some experience.
Goal is to create all internal tools with R3 now (we call them Level-2 
= L2 tools) and build the Level-3 (libs, frameworks, extensions, 
...) in parallel.
Overall we start with the basic concepts we want to have in a GUI 
framework, as we think these needs to be taken into account very 
early. Building up a broad widget-set on a good base shouldn't be 
that hard than.
BudzinskiC
29-Apr-2010
[1409]
Is it by any chance planned to add HTML rendering to R3, maybe as 
an extension? (probably not but I'm going to ask anyhow because I'm 
horribly rude) There are some cool apps that mix native GUI widgets 
with HTML content, gitx for example. Would be neat to do this with 
Rebol too. And I'm sure, often enough an app you write is going to 
offer export as HTML, being able to show a preview of the output 
while you are editing the data adds a nice touch to an app.
Henrik
29-Apr-2010
[1410]
it's probably possible to show a webkit renderer or something through 
some kind of a view-port.
BudzinskiC
29-Apr-2010
[1411]
WebKit would be perfect :)
Henrik
29-Apr-2010
[1412]
might make for a good initial demo
Pekr
29-Apr-2010
[1413]
the question is, how complex the webkit api is to wrap. IIRC, it 
was kind of difficult to get Mozilla's kernel wrapped (maybe this 
why everybody seems to use Webkit for such purposes nowadays :-)
Henrik
29-Apr-2010
[1414]
I studied KHTML back when I thought we were going to build a new 
AWeb around it. it was incredibly much simpler than Gecko at the 
time. Don't know about webkit, though.
Pekr
29-Apr-2010
[1415]
Isn't Webkit just a descendant of KHTML?
Henrik
29-Apr-2010
[1416]
yes, but it has developed quite a bit since the fork
BrianH
29-Apr-2010
[1417]
Once the graphics code has been moved into the host, it would in 
theory be possible to make a new gob! type that embeds webkit. At 
least that is the kind of thing that the gob! system is supposed 
to be designed for. We'll see :)
Maxim
29-Apr-2010
[1418]
I tried to look at webkit and its pretty daunting.  the api also 
isn't documented at all...
BudzinskiC
29-Apr-2010
[1419]
I wanted to sarcastically write that it's probably documented in 
small tidbits on one of the commiters' blogs but then I checked and 
that's really where some of the docs are.
ChristianE
29-Apr-2010
[1420]
With recent alphas, Is there a way to run GUI scripts with no console 
window open? I guess not ...
Maxim
29-Apr-2010
[1421x2]
it could probably be worked out with a small patch to the host-kit. 
 but we might be asking for crashes if any call to print is done.
python has a non console mode binary and it crashes if any stray 
print is performed...
ChristianE
29-Apr-2010
[1423x2]
Is the REBOL2 behaviour a possibility, delaying opening of the console 
window until the first print is performed?
(Something like that seems to be what R2 does. Probably just not 
implemented yet.)


Would have nicely reduced window clutter in a client app, these console 
windows scare users to no end ...
Maxim
29-Apr-2010
[1425x2]
in R2, the console is a window that is controled by the application. 
 in R3, for now, the console is controled by the OS.


Windows does not allow an application to be either a windows app 
or a console app.
a future version of R3 will probably manage its own console like 
in R2.
ChristianE
29-Apr-2010
[1427]
Ah, yes, that's the reason. So, no way around that for now, no big 
deal.
Maxim
29-Apr-2010
[1428]
its a stupid windows limitation which goes back to windows 1.0, if 
you can imagine that!
Henrik
2-May-2010
[1429]
Not sure we can make a discussion out of it, so I'm posting here: 
How closely related would AGG/Draw be with HTML5 canvas?