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

World: r3wp

[!REBOL2 Releases] Discuss 2.x releases

Henrik
24-Jan-2010
[1086]
Month-based time table: I don't believe it for a second. :-) 2.7.8 
sounds 6 months away to me.
Graham
24-Jan-2010
[1087]
Henrik ... Carl said it so it must be happening...
BrianH
24-Jan-2010
[1088]
However, he hasn't worked on R2 publicly yet this year, so I don't 
know. We have enough changes accumulated so far to make a release 
worth doing, even if priorities have shifted relative to the 2.7.8 
release plans.
Graham
24-Jan-2010
[1089x2]
The installer needs to remove prior Rebo2 registry changes
the prot-http changes I submitted ...
BrianH
24-Jan-2010
[1091]
Right now the installer is using those changes - we haven't fixed 
the registry usage of the installer yet.
Graham
24-Jan-2010
[1092x2]
Since it seems no one is going to review the prot-http changes .. 
I think we should just include them
and let the wider community report any issues
BrianH
24-Jan-2010
[1094]
Graham, that is presumptuous. I was going to review them this week. 
I just wasn't working on R2 for the first cople weeks this month.
Graham
24-Jan-2010
[1095]
Brian, you said that Gabriele or Nenad should review them ... and 
that's what I was referring to ...
BrianH
24-Jan-2010
[1096]
Well, when noone does something that needs doing, I generally do 
it.
Graham
24-Jan-2010
[1097]
Pity we can't include Romano's async protocol too .. and then we 
could start moving some of the R3 schemes back to R2
BrianH
24-Jan-2010
[1098x2]
We can adapt the async tricks from Uniserve if we want to backport 
R3 schemes. R3's scheme model isn't set yet though (it's port model 
is), which is why I haven't backported the scheme-making dialect 
if possible.
As for the installer, I'm waiting for Carl to come out of his cave 
and submit his installer mezzanine fixes from 2.7.7 so we can get 
started on fixing it.
Robert
24-Jan-2010
[1100]
And please get rid of the auto-public-directory-creation.
BrianH
24-Jan-2010
[1101]
The sandboxing functions (*-THRU) require it. The public directory 
should only be created in the View user directory, %appdata%\REBOL 
by default.
Graham
24-Jan-2010
[1102]
shouldn't it only be created when *-thru is used?
BrianH
24-Jan-2010
[1103x2]
*-thru is used at startup.
>> help "thru"
Found these words:
   do-thru         function! Do a net file from the disk cache.

   exists-thru?    function! Checks if a file is in the disk cache. 
   Returns: no...

   launch-thru     function! Launch a net file from the disk cache.
   load-thru       function! Load a net file from the disk cache.

   path-thru       function! Return a path relative to the disk cache.

   read-thru       function! Read a net file from thru the disk cache. 
   Returns ...
Graham
24-Jan-2010
[1105x2]
Doesn't bode well for read only media
Or an os where you don't have write permissions
BrianH
24-Jan-2010
[1107x4]
You can include settings on read-only media, even start with -i if 
necessary. It's made to be adjustable.
We need to take that into account when tweaking the installer though.
I'll check if there's a setting that can go in %rebol.r that can 
disable installing, or set View to portable app mode.
When last I checked 2.7.7 allows you to run without installing if 
you tell the installer that's what you want. And there's -i.
TomBon
25-Jan-2010
[1111x2]
hi,

does rebol sending email attachments inline or multipart attached?
is there any solution to have a choise? 

since a mailserver upgrade I having trouble sending a pdf as send/attach 
...
adding a content-type header or content-disposition doesn't change 
anything. encoding base 64 either not.
Graham
25-Jan-2010
[1113]
Sends multipart attached ...
TomBon
26-Jan-2010
[1114]
thx graham, any  idea to change this to inline?
Graham
26-Jan-2010
[1115x3]
What I suggest you do is send an email with attach and trace it using 
wireshark.  Then do the same with an email client and see what the 
difference is.
I don't really know anything about inline attachments
I presume that inline attachments are just attachments referenced 
inside the emal using some UUID.
TomBon
26-Jan-2010
[1118]
thx for the hint graham
Janko
28-Jan-2010
[1119]
I used latest R2 to do experiment something with rebol yesterday.. 
I saw the map-each function but I didn't find the accumulate . Is 
it under some other name maybe?
BrianH
28-Jan-2010
[1120]
ACCUMULATE didn't make the cut for R3 - it will be in the /Plus library. 
An R2 version is in R2/Forward, near the end of the file.
BrianH
30-Jan-2010
[1121x2]
Posted mezzanine changes for 2.7.8, ported from R2/Forward 2.100.80.0:

- Added COLLECT-WORDS, RESOLVE, SINGLE?, IMMEDIATE!, INTERNAL!, INVALID-UTF?,
  CD, MORE, and the convenience words LS, PWD, RM and MKDIR.

- Removed buggy binary! support from ASCII? and LATIN1?, as done 
in 2.100.60.


See mezz-control.r #6763, mezz-file.r #6776, mezz-series.r #6772, 
mezz-string.r

#6773 and mezz-reflect.r #6771 for the relevant changes. Details 
in R3's docs.


Note: The APPEND and REMOLD rewrites are too awkward to incorporate 
without a

native APPLY function. UNBIND hasn't been written yet (hoping for 
a native).
They're in chat. If you're interested please review the changes, 
or complain here if you like.
Graham
30-Jan-2010
[1123x2]
How about a web page?  Not everyone who uses R2 is on chat .. in 
fact most are not
Isn't the documentation system able to generate docs automatically 
 from help?
BrianH
30-Jan-2010
[1125x2]
We can ask Carl about that. The R2 docs aren't updated yet afaik, 
aside from the format conversion that Carl just went through.
R2/Forward doesn't have a web page - all the docs are in the source, 
or the R3 docs. The R3 docs should work for almost all of the functions 
in R2/Forward, at least to the extent that the R3 docs are current 
and complete.
Graham
30-Jan-2010
[1127]
Realistically R3 is not going to be stable for another year or more 
... so the R2 docs should be updated
BrianH
30-Jan-2010
[1128x4]
Realistically we need a policy for how much of the R2 and R3 docs 
are going to be shared, to avoid duplicating work. There is a discussion 
about that on Carl's blog now. Once we have a policy we can organize 
and update the docs.
All of the new functions in 2.7.7 and 2.7.8 (except THROW-ERROR) 
are backports from R3 - that is the development path for new R2 mezzanine 
functions. The rest is fixes and/or improvements to existing functions.
The same will likely be the case for future releases too, at least 
in the areas where R2 and R3 are comparable (not GUI, database, ports, 
/Library, etc.). Well see though.
Anyone who is directly participating in the development of R2 is 
in chat - that's where the source is submitted. That doesn't rule 
out indirect participation though, in the form of forwarded fixes, 
feedback, advice, bug tickets, whatever :)
Graham
30-Jan-2010
[1132]
>> do %json.r
Script: "JSON to Rebol converter" (21-Apr-2008)
>> text: {print "hello"}
== {print "hello"}
>> a: rebol-to-json make object! [ t: text ]
== {{"t": "print \\"hello\\""}}
>> json-to-rebol a
** User Error: Invalid JSON string. Near: <end of input>
** Near: json-to-rebol a

Gregg??
Will
30-Jan-2010
[1133]
Graham I suggest you use Chris's http://www.ross-gill.com/r/altjson.html
  text: {print "hello"}              
;   {print "hello"}
  a: to-json make object! [ t: text ]
;   {{"t":"print \"hello\""}}
  probe load-json a                  
make object! [
    t: {print "hello"}
]
Graham
30-Jan-2010
[1134]
sounds like a good idea!
Gregg
31-Jan-2010
[1135]
Looks like there is an escaping bug in rebol-to-json. I'll look into 
it.