World: r3wp
[!REBOL2 Releases] Discuss 2.x releases
older newer | first last |
AdrianS 29-Jun-2010 [1965] | Maxim, see this about passing arguments to apps started by file association: http://stackoverflow.com/questions/444388/how-can-i-pass-command-line-arguments-via-file-association-in-vista-64 Re. shortcuts having arguments, yes they can - Vista shortcuts could as well, though. |
BrianH 29-Jun-2010 [1966x2] | Then the runtime would still need to look stuff up from the platform, and put the answers in nice, cross-platform REBOL settings in system/options, system/user, etc. |
That is the runtime's job, to gloss over all of those pesky platform-specific differences. | |
Andreas 29-Jun-2010 [1968] | Good luck with that :) |
BrianH 29-Jun-2010 [1969] | It's the same job performed by the host code in R3. |
Maxim 29-Jun-2010 [1970] | adrian, when I edited the shortcut on vista, and added the arguments it wouldn't save it, telling me the path to the executable didn't exist :-( |
BrianH 29-Jun-2010 [1971x2] | Works just fine on 7. |
Are you using .lnk format shortcuts? | |
Maxim 29-Jun-2010 [1973x5] | and yes... you have to manually change the command-line arguments, but then the OS' editors break up in what I can't remember, I think rebol disapeared from the "installed applications" list, although the file association still worked. |
I don't have vista installed anymore... but i'd just go on the desktop and right-click, create shortcut. | |
(using XP for as long as I can) | |
cool if it works on win7 | |
is the read-only file property bug fixed in win7 | |
BrianH 29-Jun-2010 [1978] | Depends, which bug? |
Maxim 29-Jun-2010 [1979] | if you try to change the read-only property of files/folders they aren't actually applied, it was listed as a bug on severl IT sits on the net. basically, many applications suddendly coudn't write to folders anymore. I had problems with rebol in SOME paths. I even had issues with xcopy! looking at the files in a shell, they where all listed as read-only and couldn't be set to anything else... (this wasn't within windows folders, but on a data disk, before you ask ;-) |
BrianH 29-Jun-2010 [1980] | Haven't seen that yet. But I almost never use Vista, and rarely XP for that matter now, just 7. |
AdrianS 29-Jun-2010 [1981x2] | I've bumped into the read only bug on Win 7 - pretty annoying. |
not sure it was just a cosmetic thing, because in the end I managed to do whatever it was that I needed to do | |
Graham 29-Jun-2010 [1983x2] | folders are always read only ... |
That doesn't affect how you write to the folder itself | |
AdrianS 29-Jun-2010 [1985x2] | maybe that's what I saw |
but I kept on unchecking the read only prop, applying the change which asked to apply to all children and I said yes, it looked like it was recursing and setting the flags - then I exited the dialog, and upon re-checking, the settings seemed to be the same as before | |
Maxim 29-Jun-2010 [1987] | its not *supposed* to be an issue, but I have had issues where it was. I had read on the net and others where also having write issues on their data disks. it as even flagged at a MS site... buts been a while (like 3 years) so I don't remember all the details of the problem. |
Cyphre 30-Jun-2010 [1988] | Graham: re Linux font paths, that could be better solution than the current state. Though it is still not 'automatic' solution I can imagine that Linux users will be happier with that. I'll try to ask Carl what he thinks about it. |
Anton 2-Jul-2010 [1989] | That sounds like a good idea to me too, so when a new distro comes along which locates fonts in a different location, then at least you can do something about it without having to wait for rebol to be updated. It will also require less code in rebol compared to a full automatic font finder. |
ICarii 2-Jul-2010 [1990] | no possibility of moving to the HTML5 Web Open Font Format? - then just use the same fonts in all OS? |
Maxim 8-Jul-2010 [1991] | I have a technical re-distribution question relative to the R2/forward code-base. I might be forced to use an older version of R2 but need to include "some" of the functions within r2/forward mezz files. since I don't want to have to include many files in this project, I would like to simply include the few functions directly within my own "reusable" stuff module which is already part of that project... is it ok for me to include, as a comment within my own lib, the headers found in the source files I would pick specific functions from? |
Graham 8-Jul-2010 [1992] | license is bsd is it not? or apache or similar for r2/forward |
Graham 1-Sep-2010 [1993] | for 2.7.8, I have submitted this to rambo http://www.rebol.net/cgi-bin/rambo.r?id=-4776& |
BrianH 1-Sep-2010 [1994x2] | R2/Forward is MIT. Use it as you will. Actually, that use is part of the reason for its existence. If you run into any compatibility problems with older versions of R2 please mention them here. I eventually plan to make R2/Forward work on versions as far back as 2.5.0. |
If you like you can attribute what you use, but MIT was specificly chosen so that wouldn't be required. | |
Anton 2-Sep-2010 [1996] | Graham, the id in your link is negative(!), and gives this: ERROR: Ticket not found. Go back and check your input. |
BrianH 2-Sep-2010 [1997] | Before a RAMBO ticket is reviewed and accepted it has a negative ID. If it doesn't work now, it must have been reviewed. Don't know the current ID. |
Graham 2-Sep-2010 [1998x3] | http://www.rebol.net/cgi-bin/rambo.r?id=4400& |
As Gab says, the username has to be double url encoded for this to work | |
Can anyone think of any side effects from adding a 'dehex to the protocol rules ? | |
BrianH 2-Sep-2010 [2001] | Yeah. The problem is that it dehexes too soon, not that it doesn't dehex soon enough. |
Graham 2-Sep-2010 [2002] | Eh? |
BrianH 2-Sep-2010 [2003] | Just posted a ticket about this for R3 (by request). This shows the problem: >> http://user%40rebol.com:[blah-:-www-:-rebol-:-com]/ == http://[user-:-rebol-:-com]:[blah-:-www-:-rebol-:-com]/ ; should be http://user%40rebol.com:[blah-:-www-:-rebol-:-com]/ |
Graham 2-Sep-2010 [2004] | >> decode-url http://rebol%2540rebol.com:[password-:-www-:-rebol-:-com] == [scheme: 'http pass: "password" user: "rebol%40rebol.com" host: "www.rebol.co m"] |
BrianH 2-Sep-2010 [2005] | The scheme handler should have to do a dehex in some cases, but isn't because the dehex is being done in DECODE-URL first, when it shouldn't be. |
Graham 2-Sep-2010 [2006] | decode-url should not dehex |
BrianH 2-Sep-2010 [2007x2] | Right. And once I figure out how to make it not do so in R3 (based on Gabriele's code) then I will port that to R2. |
Perhaps DECODE-URL should dehex the split-out parts, but after it splits them out. And since it doesn't fully decode the path section, it shouldn't dehex it - and probably not dehex the rest, just for consistency. If the reconstructed url doesn't rehex the parts then it shouldn't dehex them in the first place. | |
Graham 2-Sep-2010 [2009] | If you feed a url to a function, the only thing you really need to dehex is the username and password... nothing else |
BrianH 2-Sep-2010 [2010] | It depends on what you mean by "you": "you" the user, "you" the writer of DECODE-URL, or "you" the writer of the schemes. |
Graham 2-Sep-2010 [2011] | the latter two euwes |
BrianH 2-Sep-2010 [2012] | Well, DECODE-URL should probably not dehex the username and password unless the (unknown to me) code that reassembles the url! can be changed to rehex them. As it should, but I don't know which code to fix. The scheme, host and path should not be dehexed in any case. |
Graham 2-Sep-2010 [2013] | Probably don't dehex anything in decode-url ...leave it to the schemes |
Maxim 2-Sep-2010 [2014] | true... since a scheme can potentially not even represent anything network related. |
older newer | first last |