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

World: r3wp

[!REBOL2 Releases] Discuss 2.x releases

Graham
15-May-2010
[1678]
that looks untested to me
BrianH
15-May-2010
[1679x2]
You wanted an example. I just converted your code to a style that 
wouldn't have a stack overflow.
The | was in your original code :)
Graham
15-May-2010
[1681]
I amended it !
BrianH
15-May-2010
[1682x2]
:)
That's not the part that was changed though: a private variable was 
added to refer to the old function. This deals with the stack overflow.
Graham
15-May-2010
[1684]
Brian ... has anyone looked at the network protocol enhancements 
...
Gregg
16-May-2010
[1685]
Gabriele, maybe Cyphre then. I just remember, or think I remember, 
that I didn't come up with it.
Graham
16-May-2010
[1686]
using Brian's trick means you don't have to rename it!
Gregg
16-May-2010
[1687x2]
Yes, but having a none-afe version with a different name allows you 
to choose.
none-safe
Graham
23-May-2010
[1689x2]
Has the 2.7.8 project died ?
or gone into hibernation?
GiuseppeC
24-May-2010
[1691]
You are asking too much ! :-)
Graham
24-May-2010
[1692]
asking anything is too much :(
Maxim
25-May-2010
[1693]
no there are a lot of mezzanines in dev chat ready for the 2.7.8. 
  AFAIK, Carl either works on R3 or R2. not both... right now, he 
is working on R3 so until we get another big release (the one with 
extracted view) I would't bet on a 2.7.8.


though I have been using a few of the functions with dev chat which 
Brian coded for R2/forward.
GiuseppeC
25-May-2010
[1694]
This the price/benefit of one man work on REBOL/Core.
Maxim
25-May-2010
[1695]
its also possible that with the AGG fixes done or pending, we might 
get a 2.7.8 beta which has current mezz code and the bigger native 
changes pushed to a 2.7.9 release... but I'm just throwing a guess 
in the air.
GiuseppeC
25-May-2010
[1696]
However, I am not dissatisflied. I apreciate the amount of work done 
and every release is a gift to the community. Long life to Carl !
Steeve
25-May-2010
[1697]
It's my problem too, when I drink a little to much , I like everyone.
Pekr
25-May-2010
[1698]
Steeve :-))
GiuseppeC
25-May-2010
[1699]
I am happy without any drugs. I am optimistic, it's my fault !
ICarii
25-May-2010
[1700]
is there the possibility of getting R3 AGG Richtext dialect backported 
to R2 - it would make a huge difference for gui development and text 
rendering?
Oldes
25-May-2010
[1701]
I don't think it's easily possible as the R3 richtext is based on 
GOB system.
ICarii
25-May-2010
[1702x3]
its independent of gobs as you can use it inside draw already - eg:

text 100x100 [font "Arial" size 20 240.240.0 "this is some text" 
255.0.0 "this is some more text"]
which is vastly superior to the text handling in R2 draw
of course parts of the R3 text handling like text clip zones are 
still broken..
Henrik
26-May-2010
[1705]
I asked Cyphre about his demo from 2005. It might be possible to 
do, but it's a fair amount of work.
PeterWood
26-May-2010
[1706]
I have come across a strange problem with View 2.7.7 on Mac OS X. 
If I load a library, run a function from the library and then put 
the machine into sleep mode, Rebol crashes with a Floating Point 
Exception when the machine wakes up. Here is ahte console session:

>> mylib: load/library %Code/Pascal/libtestlib.dylib
>> add1: make routine! [a[int] return: [int]] mylib "myfunc" 
>> add1 12
== 13
>> Floating point exception


I compiled and tested the library under Windows, put the machine 
to sleep, no problem when it woke up. (I was running Windows as a 
Virtual Box VM).

Any suggestions?
Maxim
26-May-2010
[1707x2]
waking up is where my mac or some application hangs.  though the 
lastest OS updates (I have leopard) seems to have pretty much cured 
these bugs for me.


it used to be that every 10 wake ups would require a hard-reset on 
my machine!   so this might not be specific to rebol, possibly just 
a compilation switch.
but I am no expert on the matter,   Henrik probably knows more about 
any solution to this... if anyone knows, its he or Geomol.
PeterWood
26-May-2010
[1709]
I've never previously experienced a problem when waking my Mac.


I only encounter the problem with the test library I have written 
in Free Pascal, I couldn't reproduce it with a C library with the 
same functionality.


It could be the Pascal written library, I'll do some tests on Windows 
(not VM) and Liunx when I get a little more time.


I'm a little suspicious of View 2.7.7 because when I tried Jaime 
Vargas's Callback test it crashed with a bus error.
Maxim
26-May-2010
[1710]
callbacks are VERY flacky in REBOL.  always have been, in all platforms.
PeterWood
26-May-2010
[1711]
Jaime's test apparently ran from View/Pro under OS X 10.4
ICarii
2-Jun-2010
[1712]
can someone else confirm if flood is broken in R2?
view layout [
    box snow 100x100 effect [
        draw [
            box 20x20 80x80
            fill-pen orange
            flood 2x2
        ]
    ]
]
Henrik
2-Jun-2010
[1713x2]
I didn't know we had flood fill :-)
but it doesn't work here.
ICarii
2-Jun-2010
[1715x2]
meh - that was Carl's example from the R2 Draw docs.. goodness knows 
how he got it to work
referenced from http://www.rebol.com/docs/draw.html#section-12
Gabriele
2-Jun-2010
[1717x2]
I could be wrong here, but I think "flood" is from the "old draw", 
and I don't remember if it was supported when R2 moved to AGG for 
draw.
especially with AA on, flood is not that useful.
ICarii
2-Jun-2010
[1719x2]
ahh.. that may explain things
pity we cant have a flood with tolerance
Gabriele
2-Jun-2010
[1721]
I just seem to remember a discussion about flood when R2 moved to 
AGG, but I don't remember the details. in general though should shold 
be able to achieve the same effect without using flood, and it is 
probably going to be faster.
ICarii
2-Jun-2010
[1722]
problem with that is you cannot work on an exisating image
Gabriele
2-Jun-2010
[1723]
hmm, yeah, though I think the old flood was not that useful in that 
case either.
ICarii
2-Jun-2010
[1724]
and doing pixel by pixel detection in rebol is so slow as to make 
it unworkable
Gabriele
2-Jun-2010
[1725]
I also seem to remember that Geomol had to implement his own flood 
for RPaint
ICarii
2-Jun-2010
[1726]
ah well - it was worth a try.  Guess its break out the C++ after 
all ;)
Cyphre
2-Jun-2010
[1727]
ICarii: see the first sentence in the doc page you refer to: "Describes 
the original draw dialect - for historic reference..."
So yes, FLOOD was only in 1.2 View (pre AGG DRAW) .

Gabriele is correct, it was not implemented when we got the AA gfx. 
Geomol did nice and not so slow flood-fill in RPaint IIRC.

If you really think it is valuable to have FLOOD back and show Carl 
some good small enough routine that could be used he might add it 
as he is currently 'open' for smaller R2 Draw improvements.