stevedekorte / io
- Source
- Commits
- Network (34)
- Issues (13)
- Downloads (1)
- Wiki (1)
- Graphs
-
Branch:
master
Pledgie Donations
Once activated, we'll place the following badge in your repository's detail box:
Io programming language — Read more
-
Sequence asJson doesn't produce proper json
1 comment Created 2 months ago by richcollinsIo> Yajl; "a\"b" asJson ==> "a"b"Comments
-
foo := method(call argAt(0) cachedResult)
foo(bar)
=> true
Comments
stevedekorte
Sat Nov 14 15:07:16 -0800 2009
| link
fixed
-
Io exits with status 0 when there is an unhandled exception
0 comments Created 2 months ago by richcollinsComments
-
IoState_UserInterruptHandler shouldn't print an error message when a userInterruptHandler slot is set on System
Comments
-
Date doesn't return the proper unix timestamp for asNumber
1 comment Created 2 months ago by richcollinsasNumber should always return UTC seconds since 1970
Io> d := Date clone now ==> 2009-10-24 22:54:07 PDT Io> d asNumber ==> 1256450047.2950639724731445 Io> d convertToUTC asNumber ==> 1256475247.2950630187988281Comments
richcollins
Sat Oct 24 23:11:25 -0700 2009
| link
Actually it appears that I should be using setToUTC. In either case, asString is broken as it doesn't account for the time zone.
-
EditLine and ReadLine addons are broken for OS X
0 comments Created 2 months ago by richcollinsComments
-
I got the most recent pull from git of both Yajl and Io, and installed both. When I run Io and reference Yajl, I get this error:
justin@bug ~/s/io> io Io 20090105 Io> Yajl Exception: Error loading object '/usr/local/lib/io/addons/Yajl/_build/dll/libIoYajl.so': 'libyajl.so.1: cannot open shared object file: No such file or directory' --------- open AddonLoader.io 65 Object Yajl Command Line 1When I
ls /usr/local/lib/*yajl*, I see that everything is installed properly:justin@bug ~/s/io> ls /usr/local/lib/*yajl* /usr/local/lib/libyajl_s.a /usr/local/lib/libyajl.so.0.4.0 /usr/local/lib/libyajl.so@ /usr/local/lib/libyajl.so.1@ /usr/local/lib/libyajl.so.0@ /usr/local/lib/libyajl.so.1.0.8Has anyone had similar issues, or got any suggestions for what I should do?
Comments
stevedekorte
Tue Nov 03 02:58:09 -0800 2009
| link
What platform? If it's linux, I think you have to run ldconfig or something.
Yeah, it's Linux. Ubuntu 8.10. I just tried, I got this:
justin@bug ~> sudo ldconfig /sbin/ldconfig.real: Can't link /usr/local/lib//usr/local/lib/libiovmall.so to libiovmall.soMaybe that has something to do with it?
stevedekorte
Sat Nov 14 15:07:52 -0800 2009
| link
Was this resolved?
No it wasn't. I also posted this to the mailing list, no help there either.
antaranian
Fri Nov 20 08:13:01 -0800 2009
| link
Maybe you can make it work by creating a symlink
$ ln -s /usr/local/lib/libyajl.so.1 /usr/lib/libyajl.so.1as root.
-
Comments
-
I found an issue when passing the string "()", "[]" or "{}" to Compiler tokensForString. The first token returned has its line slot set to 0.
When i pass any other string, such as "Foo bar()", the first token has the line slot set to one.The following command should return true
Compiler tokensForString("()") at(0) line == Compiler tokensForString("a") at(0) lineComments
-
Is there plans to document all features of language/library and to keep them in actual state?
If yes, I can maintain some piece of information.
If no, it is a pity...
Comments
stevedekorte
Tue Nov 17 18:26:47 -0800 2009
| link
Yes, which parts would you like to maintain?
-
Path with does not return a new Path object
0 comments Created 24 days ago by zephyrfalconAccording to the documentation, "Path with" should return a new Path object. However, it doesn't do this; the resulting object appears to be a Sequence, and does not listen to Path methods like absolute and isPathAbsolute.
Comments
-
Running unit tests on Mac OSX 10.6.2 fails as below. I haven't tried other architectures:
make testaddons ... Obsidian - testBasic
testSimpleSyncIoCoroutine error: unable to auto abort coro 0x1005ca050 by resuming parent coro Object_0x10022a7d0
This worked as of probably 6 months ago. It's reproducible following a basic PDB workflow such as that from the examples:
User := Object clone pSlots(name)
steve := User clone steve = "steve"
PDB setPath("test.tc")
PDB open
PDB root atPut("users", PMap clone)
PDB root users atPut("steve", steve)
PDB sync
IoCoroutine error: unable to auto abort coro 0x1002c8d40 by resuming parent coro Object_0x10022b0a0
Comments
Occurs also on Linux. Failure happens somewhere in Collector cleanAllObjects call at end of PDB sync
anthem/io@570b1db
Tracked down issue to PHash_cleanSlots in commit de831b from May. PHash_cleanSlots now behaves like PHash_clean, removing all slots, which is incorrect as it is called by IoObject_markClean and IoCollector_cleanAllObjects, which are garbage collection routines. -
FileTest unit test testPOpenSetsExitStatusToExitStatusOfProgram fails
1 comment Created 20 days ago by anthem1) return value of popen must be processed via WEXITSTATUS or WTERMSIG
2) immediate close of process writing to stdout causes sigpipeComments
anthem/io@62b5803
1) process pclose() return value checking for exit status or term signal
2) if child terminated due to signal, report signal id in termSignal slot
3) In unit test, readToEnd before closing (giving some time for "echo" process to complete)
3) Add unit tests testPOpenSetsTermStatusToSignalWhenSignaled, testPOpenReadToEndPreventsSIGPIPE -
version: d2e9b90
OS: Mac OS X 10.4.11 powerpc
error log:
../coroutine/_build/headers/power-ucontext.h:7: error: parse error before 'ulong' ../coroutine/_build/headers/power-ucontext.h:7: warning: no semicolon at end of struct or union ../coroutine/_build/headers/power-ucontext.h:8: warning: data definition has no type or storage class ../coroutine/_build/headers/power-ucontext.h:9: error: parse error before 'ctr' ../coroutine/_build/headers/power-ucontext.h:9: warning: data definition has no type or storage class ../coroutine/_build/headers/power-ucontext.h:10: error: parse error before 'xer' ../coroutine/_build/headers/power-ucontext.h:10: warning: data definition has no type or storage class ../coroutine/_build/headers/power-ucontext.h:11: error: parse error before 'sp' ../coroutine/_build/headers/power-ucontext.h:11: warning: data definition has no type or storage class ../coroutine/_build/headers/power-ucontext.h:12: error: parse error before 'toc' ../coroutine/_build/headers/power-ucontext.h:12: warning: data definition has no type or storage class ../coroutine/_build/headers/power-ucontext.h:13: error: parse error before 'r3' ../coroutine/_build/headers/power-ucontext.h:13: warning: data definition has no type or storage class ../coroutine/_build/headers/power-ucontext.h:14: error: parse error before 'gpr' ../coroutine/_build/headers/power-ucontext.h:14: warning: data definition has no type or storage class ../coroutine/_build/headers/power-ucontext.h:21: error: parse error before '}' token ../coroutine/_build/headers/power-ucontext.h:30: error: field 'mc' has incomplete type make[2]: *** [_build/objs/IoBlock.o] Error 1 make[1]: *** [all] Error 2 make: *** [vm] Error 2
Comments





fixed