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

World: r3wp

[!REBOL3 Host Kit]

Carl
28-Oct-2010
[598x2]
Back then we did it internally and used our own method. But, by now, 
there must be some external method that will work, right?
Some of that was the goal of DevBase... but there are only so many 
hours in a day.
Andreas
28-Oct-2010
[600]
It's all doable.
Carl
28-Oct-2010
[601]
The other important issue is that easy rollback (revert) is required.
Andreas
28-Oct-2010
[602]
And if we don't reinvent the wheel at every step, it'll probably 
be done sooner rather than later.
Carl
28-Oct-2010
[603x2]
I don't think we need to invent anything for this part of it.
E.g. we still use makefiles... works fine.
Andreas
28-Oct-2010
[605x3]
The first step is having the sources version controlled.
And DevBase would not be my first choice for that ...
And as you obviously want to maintain the closed-source nature of 
libr3, that step will already require a bit of work.
Carl
28-Oct-2010
[608]
WRT the tools, we go down this road every year or so... but what 
happens is that no good solution is found.  However, I remain open 
minded.
Andreas
28-Oct-2010
[609x3]
Concretely: let's assume you have your internal sources in Subversion 
or Git.
Then the first step would be to create a post-commit hook (a script 
that runs on every commit), that exports your internal sources into 
the externally visible sources.
Those "externally visible sources" are what I consider to be the 
hostkit.
Carl
28-Oct-2010
[612]
Andreas, we should probably switch to a different group to keep all 
this together... is there a group already on this?
Andreas
28-Oct-2010
[613x2]
Don't think so.
(And yes, we probably should.)
Carl
28-Oct-2010
[615]
Ok, making it now.
ssolie
28-Oct-2010
[616]
hey there.. any Qs for me?
Cyphre
29-Oct-2010
[617]
ssolie: ok, I'll make the changes over the weekend and let you know
ssolie
29-Oct-2010
[618]
Cyphre: thanks! I look forward to testing this out with freetype.
ssolie
31-Oct-2010
[619]
what would be the simplest code to open a window in r3?  the window 
doesn't have to have anything in it
Kaj
1-Nov-2010
[620]
From the REBOL side? view [] I guess
GrahamC
1-Nov-2010
[621]
you might get a wee tiny window though
Kaj
1-Nov-2010
[622x2]
Doesn't have to have anything in it
I think Steven just wants to fire a window creation sequence in the 
host
ssolie
1-Nov-2010
[624x3]
I found some code to make the gob and then view it which is working 
fine for my testing now
win: make gob! [text: "Test Window" offset: 100x100 size: 300x200]
view/as-is win
Kaj
1-Nov-2010
[627]
Ah yes, you need it without using VID, of course
ssolie
1-Nov-2010
[628x2]
that was the tricky part for me
still getting used to rebol here.. :)
Cyphre
1-Nov-2010
[630]
ssolie: the really 'bare-bone' sequence to show window is:


show append system/view/screen-gob make gob! [text: "Test Window" 
offset: 50x50 size: 200x200]
wait system/view/event-port
Pekr
1-Nov-2010
[631]
So the Amiga is first from non mainstream OSes. Which one do we choose 
next? Any mobile OS takers here? :-)
GrahamC
1-Nov-2010
[632x2]
We have several users asking for Android
unless they've given up waiting
BrianH
1-Nov-2010
[634]
I have not given up waiting. Part of the reason I got an Android 
phone in the first place was to port R3 to it :)
Carl
1-Nov-2010
[635]
They allow C libs now. So, if someone wants to make the host-kit 
work on Andoid, it might be a quick port.
Andreas
1-Nov-2010
[636]
First step would probably be a Linux ARM build. Which will be really 
rather quick.
Carl
1-Nov-2010
[637]
ARM is good one too.
BrianH
1-Nov-2010
[638]
A console-mode core build could even be used on Android directly 
from the terminal.
Pekr
1-Nov-2010
[639x2]
Hmm, you push me to buy new Phone, right? :-) Win mobile 6.5 user 
here, hw keyboard powered device (HTC Touch Pro 2) .... but anything 
would be cool :-)
I thought Android API is in JAVA? How do you want to link/bind?
BrianH
1-Nov-2010
[641]
Enterprise users might need R3 on WinMobile 6.5.
Pekr
1-Nov-2010
[642x2]
btw - Carl - http://www.rebol.com/roadmap.html- is the Project pool 
the last few items before we claim the beta status?
Or BlackBerry (our company is unifying on BB in few weeks) ... but 
I don't know about BB OS much .... unless they make switch to QNX, 
it probably does not make sense, who knows ...
BrianH
1-Nov-2010
[644x3]
Android has a native library API model. We could make a host that 
acts like a native library for Java according to that API.
The old BB apps are written in Java. The new BB apps (only for the 
BlackPad so far) are written in AIR.
I assume that there is a native API for BB as well, but don't know 
anything about it.
Pekr
1-Nov-2010
[647]
cool then. It would be even nice to have View working, as we use 
SW rendering. I could write my mom special frontend with really BIG 
buttons, as she has her eyes strongly influenced by diabetes :-)