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

World: r3wp

[!REBOL3]

Andreas
3-Feb-2011
[7430x2]
Looking into porting R3 graphics to Linux has been on my "if you 
ever come across a free week" list for a while.
I've also asked Steven Solie in public and in private to put up his 
Amiga patches somewhere, as this will definitely help everyone interested 
in doing the same for Linux.
Kaj
3-Feb-2011
[7432]
Yeah, and you'd be spending that week redoing Steven's work in the 
current situation
Andreas
3-Feb-2011
[7433]
Precisely.
Kaj
3-Feb-2011
[7434]
Including porting his patces from A109 to A110
Andreas
3-Feb-2011
[7435x2]
Which seems unwise to me as well.
(Redoing Steven's work, that is.)
Kaj
3-Feb-2011
[7437]
I thought the old Amiga hands here would be delighted that all ports 
are waiting for the Amiga ;-)
Cyphre
3-Feb-2011
[7438x2]
I only tried to poke about the Linux port state. It's good to know 
there are at least two peopel who are willing to work on it. The 
Amiga port could behelpful but I still think you would need to write 
the majority of os specific stuff like, window + event handling, 
networking etc. from scratch.
scratch the 'networking' part...this is already in the Core :)
Kaj
3-Feb-2011
[7440x2]
What we want mostly are the FreeType patches, because that's pretty 
much what everyone except Windows and Mac uses
I also think that the Amiga code would be a better example for a 
port than the Windows code, which tends to be awkward
Andreas
3-Feb-2011
[7442x2]
And I think the hard part about the window/event handling stuff is 
isolating the parts of the hostkit code this affects.
The Amiga patches would be handy for that too.
Kaj
3-Feb-2011
[7444]
Yes
GrahamC
3-Feb-2011
[7445]
And S Solie isn't putting up his patches??
Kaj
3-Feb-2011
[7446]
He's also waiting for a new host kit with more patches integrated
Pekr
4-Feb-2011
[7447]
So why are not Steven's changes included in the source-base?
Cyphre
4-Feb-2011
[7448]
...hard part about the window/event handling stuff is isolating the 
parts of the hostkit code this affects....


This is easy already...you have to create equivalents of the files 
in src\os\win32...the rest is non-OS specific code.
Pekr
4-Feb-2011
[7449]
Cyphre - would it be able to fix receiving of resizing events, during 
the window border is dragged? That is kind of unpleasant effect it 
causes for the rebol apps. Next low level thing which would be nice 
is ctrl+tab for system compatible tab switching ...
Cyphre
4-Feb-2011
[7450x4]
...we want mostly are the FreeType patches

 - I have published the Freetype support changes in the RMA version 
 of the hostkit so you should be able to just use simple define switch 
 to use freetype in the Linux(or any other OS that have FT2 lib avilable)
Pekr, ofcourse, all this can be improved but currently I have other 
things on my hi-priority list...
Amiga code would be a better example for a port than the Windows 
code, which tends to be awkward

 - I don't think so...there is minimum of 'windows' related code...in 
 fact just couple of basic Win32 api function calls, the rest of the 
 code logic will be very simmilar if not the same.
So...if you go thru the 5 files in src\os\win32 dir and make equivalents 
for Linux you are mostly done.
Henrik
4-Feb-2011
[7454x2]
I'm playing around with a dumb idea:

find/instance [a b d a c] 'a 2
== [a c] ; find only the second instance of a value
ok, you can do it with PARSE, but it requires an extra word
BrianH
4-Feb-2011
[7456]
Or with chained finds.
Kaj
4-Feb-2011
[7457]
Cyphre, thanks for the FreeType code. It's a while ago that I looked 
at the src/os/ files, but they seemed fairly large and complicated. 
I won't have time to start that project until at least after ReBorCon
Henrik
5-Feb-2011
[7458]
BrianH: Find the 10th item would mean chaining 10 FINDs.
Gabriele
5-Feb-2011
[7459]
find-nth: func [series value n] [
    loop n [unless series: find series value [return none]]
    series
]
BrianH
5-Feb-2011
[7460]
I like Gabriele's solution, especially with FIND being an action.
Henrik
5-Feb-2011
[7461]
that's ok
Robert
5-Feb-2011
[7462]
Isn't this inconsistent?

>> to-word "d"
== d

>> to-word #"d"
** Script error: expected word! not char!
** Where: to to-word
** Near: to word! :value
BrianH
5-Feb-2011
[7463]
Yup. TO doesn't support all conversions, but from chars makes sense 
to support.
Robert
5-Feb-2011
[7464]
Ok, what to do? Create a CC ticket?
BrianH
5-Feb-2011
[7465]
Yup. Make it a Wish, for TO conversions from char! to word!.
Robert
5-Feb-2011
[7466x2]
I need a login...
Submited
GrahamC
8-Feb-2011
[7468]
Seems the Color Nook can run Android 2.2 ( aka Honeycomb ).  And 
R3 is now running on Arm.  What's to do to get it running on Android?
Andreas
8-Feb-2011
[7469]
2.2 is froyo, honeycomb will be 3.0
GrahamC
8-Feb-2011
[7470x2]
ok, still there are going to be a lot of cheap Android tablets out 
there...
pity we can't have Rebol OS running on this cheap hardware
Robert
8-Feb-2011
[7472]
Port the host-kit.
BrianH
8-Feb-2011
[7473]
See the Android group here for details.
Pekr
8-Feb-2011
[7474]
Unless it is official, it should be regarded being not official. 
Carl still needs to start regular communication at least on blogs, 
or R3 Chat, to his devs. Putting it other way around - where can 
one download r3.dll for Android?
BrianH
8-Feb-2011
[7475]
A Linux shared lib would do. But no download has been announced, 
even privately.
Henrik
12-Feb-2011
[7476]
Has anyone considered doing an extension for LibHaru? This could 
be useful.

http://libharu.sourceforge.net/
GrahamC
12-Feb-2011
[7477x2]
there's already a rebol library for this
rebol2
Henrik
12-Feb-2011
[7479]
Found it... but it would be nice with an R3 version.