Hello all. I looked into Io awhile back, then fell out of projects that needed scripting and fell away. I've just come back out of curiosity, and am liking...
You could always use the Sandbox object. It sets up so that dangerous objects like "File", "Directory", "System", et al. are removed from the new state just...
Hi Mac, Sandboxing can partially be achieved by starting another Io vm and removing all references to unsafe objects. Without references to the unsafe objects,...
Thank you for the various responses. My initial approach would have been to have File/Directory/etc not compiled in, but it's neat that I can also take a...
Hi everybody. I've already said something about this on the IRC channel, but here is the longer version of my problem. Basically: how should you include files?...
Bram Neijt
bneijt@...
Mar 6, 2007 7:43 pm
9801
... Hi Bram, Can you specify in pseudo code exactly what behavior you would like? - Steve...
... Sure, I'd be happy to. The problem in technical terms is: I would like an include statement/command which will look for the file relative to the file doing...
Bram Neijt
bneijt@...
Mar 6, 2007 9:39 pm
9803
... What he basically is looking for is for a standard include path facility, as with C compilers, where "include" files are sought in zero or more standard...
The code you present below looks like what I want. The earlier example by Jeremy is just what every ones first answer is: just make sure you get the full path...
Bram Neijt
bneijt@...
Mar 7, 2007 12:57 am
9807
The thing is, in IRC you wanted something similar to C's #include directive. #include has a set few paths it'll search, but it still needs to know to search...
... Ah, I can see the confusion here. I do want something like #include "" but it wasn't because of the include path it uses when it can't find the file...
Bram Neijt
bneijt@...
Mar 7, 2007 9:04 am
9810
I now get an exception like this: Exception: Sequence does not respond to 'appendPath' ... Sequence appendPath includer.io 3 Object...
Bram Neijt
bneijt@...
Mar 7, 2007 9:10 am
9811
When I try to run addons/OpenGL/samples/cube.io using the latest darcs patches (on my G5 Mac), I get IoState_protoWithInitFunction_() Error: missing proto /Jon...
... Hmm... don't really like that, but ok. IRC should be good and commercial free enough. Maybe the Io community can switch to a google group later on, because...
Bram Neijt
bneijt@...
Mar 7, 2007 2:52 pm
9814
... Sorry, I should probably test these before posting them: doRelativeFile := method(path, p := Path with(call message label pathComponent, path) call sender...
Yeah! It works. Great, make this part of the core distribution! Although it might be better to call it doFileRelative or something smaller, because I'll be ...
Bram Neijt
bneijt@...
Mar 8, 2007 5:02 am
9816
... Until that time you can include it in your ~/.iorc. On startup Io executes the statements in that file, allowing you to have local custom configurations...
Sounds like a good idea to me (relative path first search path in auto importer), but then I'm not a heavy Io user yet... That would seem to behave like...
... How big of a patch is "initial record"? Darcs works best with small patches; large patches will send it into a tizzy. Also, I seem to recall someone else...
I've created an Ubuntu package for the Io core (none of the Addons yet, though). If I find some spare time, I'll probably post an ITP bug for ubuntu and then...
Bram Neijt
bneijt@...
Mar 9, 2007 5:30 pm
9822
... Due to some darcs issues, I've rebuilt the repo. Everyone will need to do a fresh get. Sorry for the inconvenience. :-/ - Steve...
I've been struggling to get the 2007-02-22 release to run on a Xen domU, which is hosted on a 64-bit system. I get the following error when running in gdb. ...
... Hi Erik, This is probably the ucontext bug in several 64bit unixes. If you drop by the IRC channel, I'll try to walk you through turning on the alternate...