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

World: r3wp

[Core] Discuss core issues

Henrik
23-Feb-2009
[12713]
BrianH, perhaps it's time for a little cookbook recipe on MAKE. :-)
[unknown: 5]
23-Feb-2009
[12714]
by the way,  make logic! also works with TRY
BrianH
23-Feb-2009
[12715]
The full source of TRUE? is this:
true?: func [
    "Returns true if an expression can be used as true."
    val ; Note: No [any-type!] - we want unset! to fail.
] [not not :val]
Geomol
23-Feb-2009
[12716]
Wonderful example of REBOL. :-)
BrianH
23-Feb-2009
[12717]
The note is important, because that type restriction is the main 
reason for the function, as opposed to just using NOT NOT :val.
Henrik
23-Feb-2009
[12718]
BrianH, this is in order to combat the use of unset! as inputs?
BrianH
23-Feb-2009
[12719x2]
Yes.
I've backported most of R3 to R2 (it bears repeating, because it 
was a hell of a task). 67 functions so far.
Geomol
23-Feb-2009
[12721]
Cool!
[unknown: 5]
23-Feb-2009
[12722]
So does this mean a 2.7.7?
Henrik
23-Feb-2009
[12723]
There is so much extra code done for R2, that I would be surprised 
if an R2.7.7, doesn't appear.
BrianH
23-Feb-2009
[12724]
Just do one script and you can start porting your code. And it works 
in 2.6.2.
Henrik
23-Feb-2009
[12725]
Perhaps it should be called 2.8 instead.
[unknown: 5]
23-Feb-2009
[12726x3]
Since it is all mezzanines then I don't think it should be anything 
more than offered as a mezzanine library.
Keep the current version until new natives are developed.  Otherwise 
we get nothing but mezzanine bloat with the newer version.
I think as a minimum for a new version in REBOL - it should contain 
new natives.  Maybe Carl can make some of them natives.
BrianH
23-Feb-2009
[12729]
Paul has deciphered the plan. I think it should stay a separate script. 
It breaks tons of R2 code. I expect that we won't be doing a 2.7.7 
soon, and when we do it will just be compatible bug fixes. The future 
compatibility stuff will be in the R2-Future collection.
Henrik
23-Feb-2009
[12730]
I disagree with that plan, unless there will be a method to include 
all changes with a single line of code. There are also many additions 
in VID.
BrianH
23-Feb-2009
[12731]
And no new natives in future R2 versions, just compatible fixes to 
errors in existing natives. The only changes will be to make less 
behavior cause errors. And you can include R2-Forward in one line 
of code now, in 2.6.2 even.
Henrik
23-Feb-2009
[12732]
Are the VID changes in R2-Forward?
[unknown: 5]
23-Feb-2009
[12733x2]
Brian, I suggest not waiting for Carl and just offer a library of 
 all the mezzanines that can be incorporated by just 'DOing the script 
to import them.
Carl, doesn't need to get diverted from his current R3 progress.
BrianH
23-Feb-2009
[12735x2]
Paul, I am doing that already. I'm just waiting for approval to release 
them as MIT licensed code.
It's done already.
[unknown: 5]
23-Feb-2009
[12737]
Don't know why you need approval.  Anyone should be able to release 
mezzanine code shouldn't they?
BrianH
23-Feb-2009
[12738x2]
Mezzanine code has license restrictions. I can only release this 
at all because I wrote almost all of the original mezzanines and 
didn't assign copyright to REBOL Tech or Carl.
It didn't matter - I was going to open source it anyways.
[unknown: 5]
23-Feb-2009
[12740]
I don't think you have any legal ramifications at all here.
BrianH
23-Feb-2009
[12741x4]
There are a few functions that were originally written by Carl - 
7 of the 67 are slight tweaks to functions Carl wrote, the rest mine.
Everything is attributed in the file. The main difference in licensing 
is that you would not be restricted like REBOL mezzanine source. 
One of those restrictions is that it is not allowed to use mezzanine 
source (either in the SDK or the source function) on REBOL clones 
like Oscar.
Henrik, the R3 changes to the graphics and port models are not supported. 
The post-2.7.5 R2 VID changes are not R3 compatible (nor is any R2 
VID or RebGUI code) so they should go in another file, which I think 
should still be external if it would break existing R2 code.
The whole point of this is to make new R2 releases mostly unnecessary, 
and nothing to wait for for most people.
Henrik
23-Feb-2009
[12745x2]
Some changes will break VID, so there is probably more reason to 
create a VID extension kit.
VID extension kit == independent from R2-forward.
BrianH
23-Feb-2009
[12747x2]
Yes, and then release it. Don't wait for a new R2 release.
However, an extention to patch R2's VID to make it compatible with 
R2-Forward might be interesting.
Henrik
23-Feb-2009
[12749]
I have some plans for such a kit, but it depends on if I will get 
time to do it and if it collides with R3 GUI development. It involves 
removing some parts of the current VID, like the WindowsXP style 
buttons and making SET-FACE and GET-FACE uniform for all styles. 
Also adding some new styles and the new resize scheme would go under 
that. It would make VID way less painful to use.
BrianH
23-Feb-2009
[12750x2]
Sounds like fun :)
FYI: R2-Forward is currently usable from a DO call, prebol (the SDK 
preprocessot) or Gabriele's R2 module system.
Henrik
23-Feb-2009
[12752x2]
It's about half done and I have a bunch of code files for this. I 
was going to use it for a large VID project, but it has been dropped, 
cutting away 6 months of work for me (phew!).
BrianH, what happened to the idea of including prebol in R3? And 
if it goes in, would it be included in R2-Forward?
BrianH
23-Feb-2009
[12754x2]
A1: Still under discussion, and won't happen before the module rework. 
A2: Yes.
For that matter, after the module rework so will modules, to the 
extent that I can do it. Probably based on Gabriele's code if I can 
convince him to MIT it - his code is currently BSD, and BSD's non-promotion 
clause may be at odds with the extensive attribution I've put in 
R2-Forward. That's why I used MIT: BSD licensing is too restrictive.
Henrik
23-Feb-2009
[12756]
interesting
BrianH
23-Feb-2009
[12757x2]
You can't give people credit for their work or ideas if you can't 
use their name.
You're in there, Henrik, credit for your initial GATHER proposal.
[unknown: 5]
23-Feb-2009
[12759]
Carl stated at one time that he preferred our works being BSD licensed.
BrianH
23-Feb-2009
[12760]
Carl is not a lawyer, but he knows that you can't encap LGPL2 or 
GPL2 code. MIT is less restrictive than BSD, so it's Ok.
[unknown: 5]
23-Feb-2009
[12761x2]
Well, then I think he would favor the least restrictive model then.
Maybe he didn't know much about MIT model or maybe it has evolved 
since he made that comment.