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

World: r3wp

[!REBOL2 Releases] Discuss 2.x releases

BrianH
2-Sep-2010
[2054]
Graham, thanks for narrowing it down.
Maxim
2-Sep-2010
[2055x2]
just tried a read, and when the second form of graham's test (using 
to-url on a string) the url parser doesn't dehex... so the username 
will be invalid.
but I guess the server is responsible for dehexing in that case.
BrianH
2-Sep-2010
[2057x2]
Um, no. The HTTP standard for basic authentication doesn't hex-encode 
the user or password fields. The browser (or in our case, http scheme) 
does.
Only the path is hex-encoded when passed to the server.
Maxim
2-Sep-2010
[2059x2]
ok so then the dehexing should be added in the url-parser and string 
notation used for @ containing passwords.  

just like we use string notation for files containing spaces.
this could a workaround until Carl stops dehexing in the loading 
phase.
BrianH
2-Sep-2010
[2061]
Still haven't traced that.
Maxim
2-Sep-2010
[2062]
>> c: load "http://user%40rebol.com:[blah-:-www-:-rebol-:-com]"
== http://[user-:-rebol-:-com]:[blah-:-www-:-rebol-:-com]
BrianH
2-Sep-2010
[2063]
No, I mean I haven't traced it. LOAD calls other functions, maybe 
even in R2.
Chris
2-Sep-2010
[2064]
The 'solution' is: read [scheme: 'http user: "[user-:-rebol-:-com]" pass: 
.........]

: )
Maxim
2-Sep-2010
[2065]
but that's not a uri  ;-)   the point of the url datatype is that 
we shoudn't need to use "specifications" but uri paths.
Chris
2-Sep-2010
[2066]
I know, I know.  I've just used it many times : )
Gabriele
3-Sep-2010
[2067]
The standard is very explicit on how encoding should work. Reserver 
characters must never be decoded BEFORE you split the URL into its 
parts (which can only be done if you understand the scheme). Any 
other character may be decoded just like REBOL does.


So, it's not that URL! should never decode, it's that it should never 
decode the reserved characters. Then, the handler for each protocol 
needs to decode the parts separately after splitting. Since the protocols 
we use in REBOL all have the same format basically, you can use a 
single function to handle all of them, eg. like my parse-url.
Gregg
3-Sep-2010
[2068]
Excellent summary Gabriele. Thanks for posting that. It makes the 
problem and solution very clear.
Tomc
9-Sep-2010
[2069]
Carl wrote:   I'm wrapping up R3 A107... so if we want to do some 
test builds for 2.7.8 on this, let me know.
Kaj
9-Sep-2010
[2070]
The question is where. There was a similar call in R3 Chat at the 
beginning of the year, but no response there
Tomc
9-Sep-2010
[2071]
Personaly I think putting out some test builds is always a good thing, 
 and the prudent thing to to is to make them available for the most 
popular platforms, best chance of someone doing something that results 
in useful feed back. unfortunatly as a unpopular platform user that 
means I am out.
Graham
11-Sep-2010
[2072x3]
I find the loss of data on reading a http/s page annoying.   ie, 
losing the http headers
I've inserted a save-header function here


   port/locals/headers: headers: save-header Parse-Header HTTP-Header 
   headers

but the question now is, where is the best place to store this?
actually thinking about it, it should really be 


   port/locals/headers: headers: Parse-Header HTTP-Header save-header 
   headers


as parse-header will remove duplicate header lines .. ie. if there 
is more than one cookie header, the parse-header function loses all 
but one.
Chris
11-Sep-2010
[2075x2]
This is one reason why I wrote a rest protocol.  The http protocol 
seems designed to get content the same way a browser would.  But 
as more services use http more completely, things like automatic 
redirects and thrown errors for 4xx/5xx status codes are not helpful 
(and good luck getting headers and content then).
rest.r is designed to make HTTP interaction behave more like a web 
service.  Which is the principle behind Rest, I supose.
Graham
11-Sep-2010
[2077x2]
Is anyone tracking what we need for 2.7.8 ??  http://www.rebol.com/docs/changes-2-7.html
This was supposed to be released months ago ...
Actually 2.7.8 was promised for jan 2010
Kaj
12-Sep-2010
[2079]
Yeah, and then monthly releases
Graham
14-Sep-2010
[2080x2]
How about my help function in 2.7.8 ?
It's a modified R2 help http://rebol.wik.is/Man
Graham
25-Sep-2010
[2082]
We had daylight savings change this morning.  R2 shows still as +12, 
but R3 shows as +13.  Can R2 be fixed?
Sunanda
26-Sep-2010
[2083]
Rambo bug for +13 already exists:
   http://www.rebol.net/cgi-bin/rambo.r?id=4302&
Now all it needs is fixing :)
Graham
26-Sep-2010
[2084x6]
hmm.. I think that's different
This is an error I posted back in 2003 to the tracker .. http://www.rebol.net/cgi-bin/rambo.r?id=3174&
well not sure actually what I posted ... but my name is raised
hmm... 2003 .. that was like 4 laptops ago
Ok, what happened here???

Type desktop to start the Viewtop.
>> now
== 26-Sep-2010/13:48:48+12:00
>> now
== 26-Sep-2010/20:13:06+13:00
>>
somehow rebol2 switched timezones ... without leaving my home!
Ladislav
26-Sep-2010
[2090]
R3 uses a totally different approach to solve such issues completely, 
which I am not sure is easily backportable to R2
Endo
21-Oct-2010
[2091]
Exponent with a negative number gives error on R2, I've submitted 
as a bug report on rambo: -4784
>> -2 ** -4
** Math Error: Positive number required
Fixed in R3.
nve
11-Dec-2010
[2092]
REBOL 2.7.8 (In Development)
http://www.rebol.com/docs/changes-2-7.html

Carl, is this still in development ?
BrianH
11-Dec-2010
[2093]
It has been put on hold for a bit in favor of R3 development, but 
not canceled.
nve
11-Dec-2010
[2094]
It is important, because R2 is the only official professionnal product.
BrianH
11-Dec-2010
[2095x2]
R2 is important for other reasons, but not as much for that reason. 
Most people don't buy R2, even in SDK form.
R2 is currently in maintenance mode, with an emphasis on backwards 
compatibility. Sometimes we get new backported features from R3, 
but for the most part it is only bug fixes. The main project is R3 
now.
nve
11-Dec-2010
[2097]
That's ok, but in profressionnal world even if the main project is 
R3, R2 is the main product. And you need to see bug fixes, supports 
and so forth.

You need compatibility with Windows7, new version of Linux and MacOSX.
And what about Windows Phone ?
BrianH
11-Dec-2010
[2098x2]
Windows Phone 7 won't get a REBOL version without a ground-up rewrite, 
as the platform doesn't allow native code. Older Windows Mobile releases 
never were supported, though R3's host kit could in theory support 
them.
Most of what is needed for Windows 7 compatibility was also needed 
for Windows 2000 compatibility (I reported it then), and mostly in 
the /View installer and registry usage. That installer is in the 
community-supported portion of R2, so if you download the SDK source 
you can take a look. The installer changes are intended for inclusion 
in 2.7.8, as the changes doc indicates.
GrahamC
11-Dec-2010
[2100x3]
Since a stable GUI based release of R3 is far off still, I agree 
that R2 should be updated
It shouldn't take that long .. I'm particularly interested in the 
date parsing bug in odbc
The community of customers who *paid* for the SDK need continued 
support
BrianH
11-Dec-2010
[2103]
I also agree. It shouldn't take that long, given availability of 
developer resources.