Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

cleanup of Socket addon

  • Loading branch information...
commit c2d641bea4215965f50f4943b717ec3d0ca02ffe 1 parent f63d7fb
@stevedekorte authored
Showing with 2,412 additions and 2,310 deletions.
  1. +3 −1 addons/Box/io/Vector.io
  2. +26 −0 addons/ObjcBridge/io/ObjcBridge.io
  3. +1 −2  addons/ObjcBridge/source/Io2Objc.m
  4. +21 −0 addons/ObjcBridge/source/IoLanguage.m
  5. +8 −3 addons/ObjcBridge/source/Objc2Io.m
  6. +1 −1  addons/Socket/source/Address.c
  7. +1 −1  addons/Socket/source/IPAddress.c
  8. +2 −2 addons/Socket/source/IoDNS.c
  9. +4 −2 addons/Socket/source/IoEvConnection.c
  10. +2 −2 addons/Socket/source/IoEvConnection.h
  11. +4 −2 addons/Socket/source/IoEvHttpServer.c
  12. +14 −3 addons/Socket/source/IoEvOutRequest.c
  13. +4 −2 addons/Socket/source/IoEvOutResponse.c
  14. +6 −3 addons/Socket/source/IoEvent.c
  15. +4 −2 addons/Socket/source/IoEventManager.c
  16. +4 −2 addons/Socket/source/IoIPAddress.c
  17. +6 −2 addons/Socket/source/IoSocket.c
  18. +4 −2 addons/Socket/source/IoUnixPath.c
  19. +8 −2 addons/SystemCall/io/SystemCall.io
  20. +5 −3 addons/SystemCall/source/IoSystemCall.c
  21. +2 −2 addons/SystemCall/source/callsystem.c
  22. +1 −7 extras/IoLanguageKit/IoLanguageKit.h
  23. +268 −0 extras/IoLanguageKit/IoLanguageKit.xcodeproj/project.pbxproj
  24. +2,004 −2,264 extras/IoTest/IoTest.xcodeproj/project.xcworkspace/xcuserdata/steve.xcuserdatad/UserInterfaceState.xcuserstate
  25. +8 −0 libs/iovm/source/IoSeq.c
  26. +1 −0  libs/iovm/source/IoSeq.h
View
4 addons/Box/io/Vector.io
@@ -40,10 +40,12 @@ Box do(
serialized := method(b,
if(b == nil, b := Sequence clone)
b appendSeq("Box clone do(")
- b appendSeq("setOrigin(")
+ b appendSeq("setOrigin(")
+ b appendSeq(self origin x, ", ", self origin y)
//origin serialized(b)
b appendSeq("); ")
b appendSeq("setSize(")
+ b appendSeq(self size width, ", ", self size height)
//size serialized(b)
b appendSeq("));")
)
View
26 addons/ObjcBridge/io/ObjcBridge.io
@@ -15,6 +15,25 @@ if(Addon platform != "darwin",
ABSearchElement := method(ObjcBridge classNamed("ADSearchElement"))
)
+NSImageFrameNone := 0
+NSImageFramePhoto := 1
+NSImageFrameGrayBezel := 2
+NSImageFrameGroove := 3
+NSImageFrameButton := 4
+
+NSNoBorder := 0
+NSLineBorder := 1
+NSBezelBorder := 2
+NSGrooveBorder := 3
+
+NSViewNotSizable := 0
+NSViewMinXMargin := 1
+NSViewWidthSizable := 2
+NSViewMaxXMargin := 4
+NSViewMinYMargin := 8
+NSViewHeightSizable := 16
+NSViewMaxYMargin := 32
+
//NSBox -----------------------
NSBoxPrimary := 0
@@ -51,6 +70,13 @@ NSNaturalTextAlignment := 4
YES := 1
NO := 0
+NSTaskTerminationReasonExit := 1
+NSTaskTerminationReasonUncaughtSignal := 2
+
+NSFileHandleNotificationFileHandleItem := "NSFileHandleNotificationFileHandleItem"
+NSFileHandleNotificationDataItem := "NSFileHandleNotificationDataItem"
+NSFileHandleOperationException := "NSFileHandleOperationException"
+
// ---------------------------------
Object io2ObjcType := "[NOT an Io2Objc object]"
View
3  addons/ObjcBridge/source/Io2Objc.m
@@ -167,8 +167,7 @@ void Io2Objc_nullObjcBridge(Io2Objc *self)
if (!respondsToSelector)
{
- printf("%i = [%s respondsToSelector:'%s']\n",
- (int)respondsToSelector, [[object className] UTF8String], methodName);
+ printf("![%s respondsToSelector:'%s']\n", [[object className] UTF8String], methodName);
return IoObject_perform(self, locals, m);
}
View
21 addons/ObjcBridge/source/IoLanguage.m
@@ -33,11 +33,16 @@ + (id)shared
return shared;
}
+void IoSocketInit(IoObject *context);
+void IoSystemCallInit(IoObject *context);
void IoBoxInit(IoObject *context);
void IoObjcBridgeInit(IoObject *context);
+
void IoLanguageStateBindingsInitCallback(void *context, void *state)
{
+ IoSocketInit(state);
+ IoSystemCallInit(state);
IoBoxInit(state);
IoObjcBridgeInit(state);
}
@@ -97,8 +102,24 @@ void ILanguageoStateActiveCoroCallback(void *context, int r)
//IoState_activeCoroCallback_(state, ILanguageoStateActiveCoroCallback);
IoState_exitCallback_(state, IoLanguageStateExitCallback);
IoState_init(state);
+
+ [self runIoResource:@"A0_EventManager"];
+ [self runIoResource:@"A1_Socket"];
+ [self runIoResource:@"A2_Server"];
+ [self runIoResource:@"A3_Host"];
+ [self runIoResource:@"A4_Object"];
+ [self runIoResource:@"DNSResolver"];
+ [self runIoResource:@"EvHttpCookie"];
+ [self runIoResource:@"EvHttpServer"];
+ [self runIoResource:@"EvOutResponse"];
+ [self runIoResource:@"EvStatusCodes"];
+ [self runIoResource:@"IPAddress"];
+ [self runIoResource:@"URL"];
+ [self runIoResource:@"UnixPath"];
+
[self runIoResource:@"Vector"];
[self runIoResource:@"ObjcBridge"];
+ [self runIoResource:@"SystemCall"];
return self;
}
View
11 addons/ObjcBridge/source/Objc2Io.m
@@ -109,7 +109,7 @@ - (NSMethodSignature *)methodSignatureForSelector:(SEL)selector
memset(encoding, '@', argCount + 3);
encoding[argCount + 3] = 0;
encoding[2] = ':';
- printf("encoding: '%s'\n", encoding);
+ //printf("encoding: '%s'\n", encoding);
NSMethodSignature *signature = [NSMethodSignature signatureWithObjCTypes:encoding];
objc_free(encoding);
return signature;
@@ -132,10 +132,15 @@ - (void)forwardInvocation:(NSInvocation *)invocation
IoObject *result;
if (IoTag_performFunc(tag))
+ {
result = tag->performFunc(ioValue, ioValue, message);
+ }
else
- result = IoObject_perform(ioValue, ioValue, message);
-
+ {
+ result = IoState_tryToPerform(IoObject_state(ioValue), ioValue, ioValue, message);
+ //result = IoObject_perform(ioValue, ioValue, message);
+ }
+
// convert and return result if not void
if (*returnType != 'v')
View
2  addons/Socket/source/Address.c
@@ -65,7 +65,7 @@ void Address_setSize_(Address *self, socklen_t size)
int Address_family(Address *self)
{
- self->addrFamilyFunc(self->addr);
+ return self->addrFamilyFunc(self->addr);
}
View
2  addons/Socket/source/IPAddress.c
@@ -18,7 +18,7 @@ IPAddress *IPAddress_setIPAddress_size_(IPAddress *self,
{
self->sockaddr = io_realloc(self->sockaddr, size);
memcpy(self->sockaddr, address, size);
- self->size = size;
+ self->size = (int)size;
return self;
}
View
4 addons/Socket/source/IoDNS.c
@@ -164,7 +164,7 @@ int assemble(unsigned char *packetData, uint32_t packetDataSize, uint16_t id, co
p += 4;
- return p - packetData;
+ return (int)(p - packetData);
}
// binding -------------------------------
@@ -352,7 +352,7 @@ the hostName and IP or an error string on error.
struct msg msg;
unsigned char *buf = IoSeq_rawBytes(packet);
- int len = IoSeq_rawSize(packet);
+ int len = (int)IoSeq_rawSize(packet);
if (disassemble(buf, len, &msg))
{
View
6 addons/Socket/source/IoEvConnection.c
@@ -12,6 +12,8 @@
#define CONN(self) ((struct evhttp_connection *)IoObject_dataPointer(self))
+static const char *protoId = "EvConnection";
+
IoTag *IoEvConnection_newTag(void *state)
{
IoTag *tag = IoTag_newWithName_("EvConnection");
@@ -28,7 +30,7 @@ IoEvConnection *IoEvConnection_proto(void *state)
IoObject_tag_(self, IoEvConnection_newTag(state));
IoObject_setDataPointer_(self, 0x0);
- IoState_registerProtoWithFunc_((IoState *)state, self, IoEvConnection_proto);
+ IoState_registerProtoWithFunc_((IoState *)state, self, protoId);
{
IoMethodTable methodTable[] = {
@@ -55,7 +57,7 @@ IoEvConnection *IoEvConnection_rawClone(IoEvConnection *proto)
IoEvConnection *IoEvConnection_new(void *state)
{
- IoObject *proto = IoState_protoWithInitFunction_((IoState *)state, IoEvConnection_proto);
+ IoObject *proto = IoState_protoWithInitFunction_((IoState *)state, protoId);
return IOCLONE(proto);
}
View
4 addons/Socket/source/IoEvConnection.h
@@ -1,7 +1,6 @@
//metadoc Event copyright Steve Dekorte 2002
//metadoc Event license BSD revised
/*metadoc EvRequest description
-
*/
#ifndef IOEVCONNECTION_DEFINED
@@ -10,7 +9,8 @@
#include "IoObject.h"
#include "Socket.h"
#include <sys/queue.h>
-#include <event.h>
+#include "event.h"
+//#include <event.h>
#include <evhttp.h>
#define ISEVCONNECTION(self) IoObject_hasCloneFunc_(self, (IoTagCloneFunc *)IoEvConnection_rawClone)
View
6 addons/Socket/source/IoEvHttpServer.c
@@ -19,6 +19,8 @@
#define HTTPD(self) ((struct evhttp *)IoObject_dataPointer(self))
+static const char *protoId = "EvHttpServer";
+
IoTag *IoEvHttpServer_newTag(void *state)
{
IoTag *tag = IoTag_newWithName_("EvHttpServer");
@@ -35,7 +37,7 @@ IoEvHttpServer *IoEvHttpServer_proto(void *state)
IoObject_tag_(self, IoEvHttpServer_newTag(state));
IoObject_setDataPointer_(self, 0x0);
- IoState_registerProtoWithFunc_((IoState *)state, self, IoEvHttpServer_proto);
+ IoState_registerProtoWithFunc_((IoState *)state, self, protoId);
{
IoMethodTable methodTable[] = {
@@ -59,7 +61,7 @@ IoEvHttpServer *IoEvHttpServer_rawClone(IoEvHttpServer *proto)
IoEvHttpServer *IoEvHttpServer_new(void *state)
{
- IoObject *proto = IoState_protoWithInitFunction_((IoState *)state, IoEvHttpServer_proto);
+ IoObject *proto = IoState_protoWithInitFunction_((IoState *)state, protoId);
return IOCLONE(proto);
}
View
17 addons/Socket/source/IoEvOutRequest.c
@@ -12,6 +12,9 @@
#define REQUEST(self) ((struct evhttp_request *)IoObject_dataPointer(self))
+static const char *protoId = "EvOutRequest";
+
+
IoTag *IoEvOutRequest_newTag(void *state)
{
IoTag *tag = IoTag_newWithName_("EvRequest");
@@ -28,7 +31,7 @@ IoEvOutRequest *IoEvOutRequest_proto(void *state)
IoObject_tag_(self, IoEvOutRequest_newTag(state));
IoObject_setDataPointer_(self, 0x0);
- IoState_registerProtoWithFunc_((IoState *)state, self, IoEvOutRequest_proto);
+ IoState_registerProtoWithFunc_((IoState *)state, self, protoId);
{
IoMethodTable methodTable[] = {
@@ -58,7 +61,7 @@ IoEvOutRequest *IoEvOutRequest_rawClone(IoEvOutRequest *proto)
IoEvOutRequest *IoEvOutRequest_new(void *state)
{
- IoObject *proto = IoState_protoWithInitFunction_((IoState *)state, IoEvOutRequest_proto);
+ IoObject *proto = IoState_protoWithInitFunction_((IoState *)state, protoId);
return IOCLONE(proto);
}
@@ -107,7 +110,15 @@ void IoEvOutRequest_RequestDoneCallback(struct evhttp_request *request, void *ar
const char *name;
IoMap *responseHeaders = IoMap_new(IOSTATE);
- IoObject_setSlot_to_(self, IOSYMBOL("data"), IOSEQ(b->buffer, b->off));
+
+
+ //IoObject_setSlot_to_(self, IOSYMBOL("data"), IOSEQ(b->buffer, b->off));
+ size_t datlen = evbuffer_get_length(b);
+ unsigned char *data = malloc(datlen);
+ evbuffer_copyout(b, data, datlen);
+ IoSeq *dataSeq = IoSeq_newWithData_length_copy_(IOSTATE, data, datlen, 0);
+ IoObject_setSlot_to_(self, IOSYMBOL("data"), dataSeq);
+
IoObject_setSlot_to_(self, IOSYMBOL("responseHeaders"), responseHeaders);
IoObject_setSlot_to_(self, IOSYMBOL("responseCode"), IONUMBER(request->response_code));
View
6 addons/Socket/source/IoEvOutResponse.c
@@ -12,6 +12,8 @@
#define REQUEST(self) ((struct evhttp_request *)IoObject_dataPointer(self))
+static const char *protoId = "EvOutResponse";
+
IoTag *IoEvOutResponse_newTag(void *state)
{
IoTag *tag = IoTag_newWithName_("EvOutRequest");
@@ -28,7 +30,7 @@ IoEvOutResponse *IoEvOutResponse_proto(void *state)
IoObject_tag_(self, IoEvOutResponse_newTag(state));
IoObject_setDataPointer_(self, 0x0);
- IoState_registerProtoWithFunc_((IoState *)state, self, IoEvOutResponse_proto);
+ IoState_registerProtoWithFunc_((IoState *)state, self, protoId);
{
IoMethodTable methodTable[] = {
@@ -53,7 +55,7 @@ IoEvOutResponse *IoEvOutResponse_rawClone(IoEvOutResponse *proto)
IoEvOutResponse *IoEvOutResponse_new(void *state)
{
- IoObject *proto = IoState_protoWithInitFunction_((IoState *)state, IoEvOutResponse_proto);
+ IoObject *proto = IoState_protoWithInitFunction_((IoState *)state, protoId);
return IOCLONE(proto);
}
View
9 addons/Socket/source/IoEvent.c
@@ -10,6 +10,9 @@
#define EVENT(self) ((struct event *)IoObject_dataPointer(self))
+static const char *protoId = "Event";
+
+
IoEvent *IoMessage_locals_eventArgAt_(IoMessage *self, IoObject *locals, int n)
{
IoObject *v = IoMessage_locals_valueArgAt_(self, locals, n);
@@ -38,7 +41,7 @@ IoEvent *IoEvent_proto(void *state)
IoObject_tag_(self, IoEvent_newTag(state));
IoObject_setDataPointer_(self, (struct event *)io_calloc(1, sizeof(struct event)));
- IoState_registerProtoWithFunc_((IoState *)state, self, IoEvent_proto);
+ IoState_registerProtoWithFunc_((IoState *)state, self, protoId);
{
IoMethodTable methodTable[] = {
@@ -68,7 +71,7 @@ IoEvent *IoEvent_rawClone(IoEvent *proto)
IoEvent *IoEvent_new(void *state)
{
- IoObject *proto = IoState_protoWithInitFunction_((IoState *)state, IoEvent_proto);
+ IoObject *proto = IoState_protoWithInitFunction_((IoState *)state, protoId);
return IOCLONE(proto);
}
@@ -98,7 +101,7 @@ void IoEvent_free(IoEvent *self)
/*
{
- IoEventManager *em = IoState_protoWithInitFunction_(IOSTATE, IoEventManager_proto);
+ IoEventManager *em = IoState_protoWithInitFunction_(IOSTATE, protoId);
if(em && IoEventManager_rawHasActiveEvent_(em, self))
{
View
6 addons/Socket/source/IoEventManager.c
@@ -25,6 +25,8 @@ A binding for libevent.
#define DATA(self) ((IoEventManagerData *)IoObject_dataPointer(self))
+static const char *protoId = "EventManager";
+
IoTag *IoEventManager_newTag(void *state)
{
IoTag *tag = IoTag_newWithName_("EventManager");
@@ -58,7 +60,7 @@ IoEventManager *IoEventManager_proto(void *vState)
DATA(self)->activeEvents = List_new();
- IoState_registerProtoWithFunc_((IoState *)state, self, IoEventManager_proto);
+ IoState_registerProtoWithFunc_((IoState *)state, self, protoId);
{
IoMethodTable methodTable[] = {
@@ -210,7 +212,7 @@ void IoEvent_handleEvent(int fd, short eventType, void *context)
{
IoEvent *self = (IoEvent *)context;
struct event *ev = IoEvent_rawEvent(self);
- IoEventManager *em = IoState_protoWithInitFunction_(IOSTATE, IoEventManager_proto);
+ IoEventManager *em = IoState_protoWithInitFunction_(IOSTATE, protoId);
//printf("IoEvent_handleEvent type:%i descriptor:%i\n", eventType, fd);
//printf("e: %i\n", List_size(DATA(em)->activeEvents));
View
6 addons/Socket/source/IoIPAddress.c
@@ -15,6 +15,8 @@
#define IPADDRESS(self) ((IPAddress *)IoObject_dataPointer(self))
+static const char *protoId = "IPAddress";
+
IoIPAddress *IoMessage_locals_ipAddressArgAt_(IoMessage *self, IoObject *locals, int n)
{
IoObject *v = IoMessage_locals_valueArgAt_(self, locals, n);
@@ -53,7 +55,7 @@ IoIPAddress *IoIPAddress_proto(void *state)
IoObject_tag_(self, IoIPAddress_newTag(state));
IoObject_setDataPointer_(self, IPAddress_new());
- IoState_registerProtoWithFunc_((IoState *)state, self, IoIPAddress_proto);
+ IoState_registerProtoWithFunc_((IoState *)state, self, protoId);
{
IoMethodTable methodTable[] = {
@@ -80,7 +82,7 @@ IoIPAddress *IoIPAddress_rawClone(IoIPAddress *proto)
IoIPAddress *IoIPAddress_new(void *state)
{
- IoObject *proto = IoState_protoWithInitFunction_((IoState *)state, IoIPAddress_proto);
+ IoObject *proto = IoState_protoWithInitFunction_((IoState *)state, protoId);
return IOCLONE(proto);
}
View
8 addons/Socket/source/IoSocket.c
@@ -42,6 +42,8 @@ the host attribute. Returns self.
#include "IoUnixPath.h"
#include "Address.h"
+static const char *protoId = "Socket";
+
IoSocket *IoMessage_locals_socketArgAt_(IoMessage *self, IoObject *locals, int n)
{
IoObject *v = IoMessage_locals_valueArgAt_(self, locals, n);
@@ -77,6 +79,8 @@ IoObject *IoMessage_locals_addressArgAt_(IoMessage *self, IoObject *locals, int
#endif
IoMessage_locals_numberArgAt_errorForType_(self, locals, n, type);
}
+
+ return IONIL(self);
}
Address *IoSocket_rawAddressFrom_(IoObject *addr)
@@ -123,7 +127,7 @@ IoSocket *IoSocket_proto(void *state)
IoObject_tag_(self, IoSocket_newTag(state));
IoObject_setDataPointer_(self, Socket_new());
- IoState_registerProtoWithFunc_((IoState *)state, self, IoSocket_proto);
+ IoState_registerProtoWithFunc_((IoState *)state, self, protoId);
{
IoMethodTable methodTable[] = {
@@ -188,7 +192,7 @@ IoSocket *IoSocket_rawClone(IoSocket *proto)
IoSocket *IoSocket_new(void *state)
{
- IoObject *proto = IoState_protoWithInitFunction_((IoState *)state, IoSocket_proto);
+ IoObject *proto = IoState_protoWithInitFunction_((IoState *)state, protoId);
return IOCLONE(proto);
}
View
6 addons/Socket/source/IoUnixPath.c
@@ -5,6 +5,8 @@
#define UNIXPATH(self) ((UnixPath *)IoObject_dataPointer(self))
+static const char *protoId = "UnixPath";
+
IoTag *IoUnixPath_newTag(void *state)
{
IoTag *tag = IoTag_newWithName_("UnixPath");
@@ -23,7 +25,7 @@ IoUnixPath *IoUnixPath_proto(void *state)
IoObject_setDataPointer_(self, UnixPath_new());
#endif
- IoState_registerProtoWithFunc_((IoState *)state, self, IoUnixPath_proto);
+ IoState_registerProtoWithFunc_((IoState *)state, self, protoId);
{
IoMethodTable methodTable[] = {
@@ -49,7 +51,7 @@ IoUnixPath *IoUnixPath_rawClone(IoUnixPath *proto)
IoUnixPath *IoUnixPath_new(void *state)
{
- IoObject *proto = IoState_protoWithInitFunction_((IoState *)state, IoUnixPath_proto);
+ IoObject *proto = IoState_protoWithInitFunction_((IoState *)state, protoId);
return IOCLONE(proto);
}
View
10 addons/SystemCall/io/SystemCall.io
@@ -1,5 +1,4 @@
-
SystemCall do(
command ::= ""
isRunning ::= false
@@ -65,8 +64,15 @@ SystemCall do(
wait(.02)
s := self status
//buffer appendSeq(stdout readToEnd)
- buffer appendSeq(stdout readLines join("\n"))
+ if(stdout,
+ e := try(
+ buffer appendSeq(stdout readLines join("\n"))
+ )
+ if(e, e println)
+ )
)
+ buffer appendSeq(stdout readLines join("\n"))
+
//writeln("self status = ", s)
if(aBlock, aBlock call)
View
8 addons/SystemCall/source/IoSystemCall.c
@@ -26,6 +26,8 @@ sc = SystemCall clone
#include "IoFile.h"
#include "callsystem.h"
+static const char *protoId = "SystemCall";
+
#define DATA(self) ((IoSystemCallData *)IoObject_dataPointer(self))
IoTag *IoSystemCall_newTag(void *state)
@@ -54,7 +56,7 @@ IoSystemCall *IoSystemCall_proto(void *state)
IoObject_setDataPointer_(self, calloc(1, sizeof(IoSystemCallData)));
- IoState_registerProtoWithFunc_(state, self, IoSystemCall_proto);
+ IoState_registerProtoWithFunc_(state, self, protoId);
{
IoMethodTable methodTable[] = {
@@ -75,12 +77,12 @@ IoSystemCall *IoSystemCall_rawClone(IoSystemCall *proto)
IoObject *self = IoObject_rawClonePrimitive(proto);
IoObject_setDataPointer_(self, calloc(1, sizeof(IoSystemCallData)));
IoSystemCall_clearPipeDescriptors(self);
- return self;
+ return self;
}
IoSystemCall *IoSystemCall_new(void *state)
{
- IoObject *proto = IoState_protoWithInitFunction_(state, IoSystemCall_proto);
+ IoObject *proto = IoState_protoWithInitFunction_(state, protoId);
return IoSystemCall_rawClone(proto);
}
View
4 addons/SystemCall/source/callsystem.c
@@ -362,7 +362,7 @@ callsystem_running(callsystem_pid_t * pid)
redo:
if(waitpid(*pid, &status, WNOHANG) == -1)
{
- if((errno == EINTR))
+ if(errno == EINTR)
{
errno = 0;
goto redo;
@@ -500,7 +500,7 @@ callsystem_pipe(callsystem_fd_t pipes[2])
/* we don't know what this pipe will be used for so someone
else will have to make one end "un-inheritable" so the
child doesn't receive it. */
- if(CreatePipe(&(pipes[0]),&(pipes[1]), &saAttr, 0 /* buf size default*/))
+ if(CreatePipe(&(pipes[0]), &(pipes[1]), &saAttr, 0 /* buf size default*/))
return 0;
else
return -1;
View
8 extras/IoLanguageKit/IoLanguageKit.h
@@ -1,12 +1,6 @@
-
-
#import "IoState.h"
-
#import "IoBox.h"
-
#import "IoLanguage.h"
#import "IoObjcBridge.h"
#import "Objc2Io.h"
-#import "ObjcSubclass.h"
-
-
+#import "ObjcSubclass.h"
View
268 extras/IoLanguageKit/IoLanguageKit.xcodeproj/project.pbxproj
@@ -7,6 +7,58 @@
objects = {
/* Begin PBXBuildFile section */
+ AA3A0B4113F9C8DA00FB76A0 /* SystemCall.io in Resources */ = {isa = PBXBuildFile; fileRef = AA3A0B2C13F9C8DA00FB76A0 /* SystemCall.io */; };
+ AA3A0B4613F9C8DA00FB76A0 /* callsystem.c in Sources */ = {isa = PBXBuildFile; fileRef = AA3A0B3313F9C8DA00FB76A0 /* callsystem.c */; };
+ AA3A0B4713F9C8DA00FB76A0 /* callsystem.h in Headers */ = {isa = PBXBuildFile; fileRef = AA3A0B3413F9C8DA00FB76A0 /* callsystem.h */; };
+ AA3A0B4813F9C8DA00FB76A0 /* IoSystemCall.c in Sources */ = {isa = PBXBuildFile; fileRef = AA3A0B3513F9C8DA00FB76A0 /* IoSystemCall.c */; };
+ AA3A0B4913F9C8DA00FB76A0 /* IoSystemCall.h in Headers */ = {isa = PBXBuildFile; fileRef = AA3A0B3613F9C8DA00FB76A0 /* IoSystemCall.h */; };
+ AA3A0B4A13F9C8DA00FB76A0 /* IoSystemCallInit.c in Sources */ = {isa = PBXBuildFile; fileRef = AA3A0B3713F9C8DA00FB76A0 /* IoSystemCallInit.c */; };
+ AA3A0BE113F9D1B400FB76A0 /* A0_EventManager.io in Resources */ = {isa = PBXBuildFile; fileRef = AA3A0B7113F9D1B400FB76A0 /* A0_EventManager.io */; };
+ AA3A0BE213F9D1B400FB76A0 /* A1_Socket.io in Resources */ = {isa = PBXBuildFile; fileRef = AA3A0B7213F9D1B400FB76A0 /* A1_Socket.io */; };
+ AA3A0BE313F9D1B400FB76A0 /* A2_Server.io in Resources */ = {isa = PBXBuildFile; fileRef = AA3A0B7313F9D1B400FB76A0 /* A2_Server.io */; };
+ AA3A0BE413F9D1B400FB76A0 /* A3_Host.io in Resources */ = {isa = PBXBuildFile; fileRef = AA3A0B7413F9D1B400FB76A0 /* A3_Host.io */; };
+ AA3A0BE513F9D1B400FB76A0 /* A4_Object.io in Resources */ = {isa = PBXBuildFile; fileRef = AA3A0B7513F9D1B400FB76A0 /* A4_Object.io */; };
+ AA3A0BE613F9D1B400FB76A0 /* DNSResolver.io in Resources */ = {isa = PBXBuildFile; fileRef = AA3A0B7613F9D1B400FB76A0 /* DNSResolver.io */; };
+ AA3A0BE713F9D1B400FB76A0 /* EvHttpCookie.io in Resources */ = {isa = PBXBuildFile; fileRef = AA3A0B7713F9D1B400FB76A0 /* EvHttpCookie.io */; };
+ AA3A0BE813F9D1B400FB76A0 /* EvHttpServer.io in Resources */ = {isa = PBXBuildFile; fileRef = AA3A0B7813F9D1B400FB76A0 /* EvHttpServer.io */; };
+ AA3A0BE913F9D1B400FB76A0 /* EvOutResponse.io in Resources */ = {isa = PBXBuildFile; fileRef = AA3A0B7913F9D1B400FB76A0 /* EvOutResponse.io */; };
+ AA3A0BEA13F9D1B400FB76A0 /* EvStatusCodes.io in Resources */ = {isa = PBXBuildFile; fileRef = AA3A0B7A13F9D1B400FB76A0 /* EvStatusCodes.io */; };
+ AA3A0BEB13F9D1B400FB76A0 /* IPAddress.io in Resources */ = {isa = PBXBuildFile; fileRef = AA3A0B7B13F9D1B400FB76A0 /* IPAddress.io */; };
+ AA3A0BEC13F9D1B400FB76A0 /* UnixPath.io in Resources */ = {isa = PBXBuildFile; fileRef = AA3A0B7C13F9D1B400FB76A0 /* UnixPath.io */; };
+ AA3A0BED13F9D1B400FB76A0 /* URL.io in Resources */ = {isa = PBXBuildFile; fileRef = AA3A0B7D13F9D1B400FB76A0 /* URL.io */; };
+ AA3A0C0613F9D1B400FB76A0 /* Address.c in Sources */ = {isa = PBXBuildFile; fileRef = AA3A0B9B13F9D1B400FB76A0 /* Address.c */; };
+ AA3A0C0713F9D1B400FB76A0 /* Address.h in Headers */ = {isa = PBXBuildFile; fileRef = AA3A0B9C13F9D1B400FB76A0 /* Address.h */; };
+ AA3A0C0813F9D1B400FB76A0 /* IoDNS.c in Sources */ = {isa = PBXBuildFile; fileRef = AA3A0B9D13F9D1B400FB76A0 /* IoDNS.c */; };
+ AA3A0C0913F9D1B400FB76A0 /* IoDNS.h in Headers */ = {isa = PBXBuildFile; fileRef = AA3A0B9E13F9D1B400FB76A0 /* IoDNS.h */; };
+ AA3A0C0A13F9D1B400FB76A0 /* IoEvConnection.c in Sources */ = {isa = PBXBuildFile; fileRef = AA3A0B9F13F9D1B400FB76A0 /* IoEvConnection.c */; };
+ AA3A0C0B13F9D1B400FB76A0 /* IoEvConnection.h in Headers */ = {isa = PBXBuildFile; fileRef = AA3A0BA013F9D1B400FB76A0 /* IoEvConnection.h */; };
+ AA3A0C0C13F9D1B400FB76A0 /* IoEvent.c in Sources */ = {isa = PBXBuildFile; fileRef = AA3A0BA113F9D1B400FB76A0 /* IoEvent.c */; };
+ AA3A0C0D13F9D1B400FB76A0 /* IoEvent.h in Headers */ = {isa = PBXBuildFile; fileRef = AA3A0BA213F9D1B400FB76A0 /* IoEvent.h */; };
+ AA3A0C0E13F9D1B400FB76A0 /* IoEventManager.c in Sources */ = {isa = PBXBuildFile; fileRef = AA3A0BA313F9D1B400FB76A0 /* IoEventManager.c */; };
+ AA3A0C0F13F9D1B400FB76A0 /* IoEventManager.h in Headers */ = {isa = PBXBuildFile; fileRef = AA3A0BA413F9D1B400FB76A0 /* IoEventManager.h */; };
+ AA3A0C1013F9D1B400FB76A0 /* IoEvHttpServer.c in Sources */ = {isa = PBXBuildFile; fileRef = AA3A0BA513F9D1B400FB76A0 /* IoEvHttpServer.c */; };
+ AA3A0C1113F9D1B400FB76A0 /* IoEvHttpServer.h in Headers */ = {isa = PBXBuildFile; fileRef = AA3A0BA613F9D1B400FB76A0 /* IoEvHttpServer.h */; };
+ AA3A0C1213F9D1B400FB76A0 /* IoEvOutRequest.c in Sources */ = {isa = PBXBuildFile; fileRef = AA3A0BA713F9D1B400FB76A0 /* IoEvOutRequest.c */; };
+ AA3A0C1313F9D1B400FB76A0 /* IoEvOutRequest.h in Headers */ = {isa = PBXBuildFile; fileRef = AA3A0BA813F9D1B400FB76A0 /* IoEvOutRequest.h */; };
+ AA3A0C1413F9D1B400FB76A0 /* IoEvOutResponse.c in Sources */ = {isa = PBXBuildFile; fileRef = AA3A0BA913F9D1B400FB76A0 /* IoEvOutResponse.c */; };
+ AA3A0C1513F9D1B400FB76A0 /* IoEvOutResponse.h in Headers */ = {isa = PBXBuildFile; fileRef = AA3A0BAA13F9D1B400FB76A0 /* IoEvOutResponse.h */; };
+ AA3A0C1613F9D1B400FB76A0 /* IoIPAddress.c in Sources */ = {isa = PBXBuildFile; fileRef = AA3A0BAB13F9D1B400FB76A0 /* IoIPAddress.c */; };
+ AA3A0C1713F9D1B400FB76A0 /* IoIPAddress.h in Headers */ = {isa = PBXBuildFile; fileRef = AA3A0BAC13F9D1B400FB76A0 /* IoIPAddress.h */; };
+ AA3A0C1813F9D1B400FB76A0 /* IoSocket.c in Sources */ = {isa = PBXBuildFile; fileRef = AA3A0BAD13F9D1B400FB76A0 /* IoSocket.c */; };
+ AA3A0C1913F9D1B400FB76A0 /* IoSocket.h in Headers */ = {isa = PBXBuildFile; fileRef = AA3A0BAE13F9D1B400FB76A0 /* IoSocket.h */; };
+ AA3A0C1A13F9D1B400FB76A0 /* IoSocketInit.c in Sources */ = {isa = PBXBuildFile; fileRef = AA3A0BAF13F9D1B400FB76A0 /* IoSocketInit.c */; };
+ AA3A0C1B13F9D1B400FB76A0 /* IoUnixPath.c in Sources */ = {isa = PBXBuildFile; fileRef = AA3A0BB013F9D1B400FB76A0 /* IoUnixPath.c */; };
+ AA3A0C1C13F9D1B400FB76A0 /* IoUnixPath.h in Headers */ = {isa = PBXBuildFile; fileRef = AA3A0BB113F9D1B400FB76A0 /* IoUnixPath.h */; };
+ AA3A0C1D13F9D1B400FB76A0 /* IPAddress.c in Sources */ = {isa = PBXBuildFile; fileRef = AA3A0BB213F9D1B400FB76A0 /* IPAddress.c */; };
+ AA3A0C1E13F9D1B400FB76A0 /* IPAddress.h in Headers */ = {isa = PBXBuildFile; fileRef = AA3A0BB313F9D1B400FB76A0 /* IPAddress.h */; };
+ AA3A0C1F13F9D1B400FB76A0 /* LocalNameServers.c in Sources */ = {isa = PBXBuildFile; fileRef = AA3A0BB413F9D1B400FB76A0 /* LocalNameServers.c */; };
+ AA3A0C2013F9D1B400FB76A0 /* LocalNameServers.h in Headers */ = {isa = PBXBuildFile; fileRef = AA3A0BB513F9D1B400FB76A0 /* LocalNameServers.h */; };
+ AA3A0C2513F9D1B400FB76A0 /* Socket.c in Sources */ = {isa = PBXBuildFile; fileRef = AA3A0BBB13F9D1B400FB76A0 /* Socket.c */; };
+ AA3A0C2613F9D1B400FB76A0 /* Socket.h in Headers */ = {isa = PBXBuildFile; fileRef = AA3A0BBC13F9D1B400FB76A0 /* Socket.h */; };
+ AA3A0C2713F9D1B400FB76A0 /* UnixPath.c in Sources */ = {isa = PBXBuildFile; fileRef = AA3A0BBD13F9D1B400FB76A0 /* UnixPath.c */; };
+ AA3A0C2813F9D1B400FB76A0 /* UnixPath.h in Headers */ = {isa = PBXBuildFile; fileRef = AA3A0BBE13F9D1B400FB76A0 /* UnixPath.h */; };
+ AA3A0C2D13F9DA9E00FB76A0 /* libevent_extra.a in Frameworks */ = {isa = PBXBuildFile; fileRef = AA3A0C2C13F9DA9E00FB76A0 /* libevent_extra.a */; };
+ AA3A0C2F13F9E73B00FB76A0 /* libevent_core.a in Frameworks */ = {isa = PBXBuildFile; fileRef = AA3A0C2E13F9E73B00FB76A0 /* libevent_core.a */; };
AA95DCF813DBBD4200CCD456 /* IoLanguageKit.h in Headers */ = {isa = PBXBuildFile; fileRef = AA95DCF613DBBD4200CCD456 /* IoLanguageKit.h */; settings = {ATTRIBUTES = (Public, ); }; };
AABB968C13DD09B800B6A0CB /* Base.h in Headers */ = {isa = PBXBuildFile; fileRef = AABB943613DD09B800B6A0CB /* Base.h */; settings = {ATTRIBUTES = (Public, ); }; };
AABB968D13DD09B800B6A0CB /* BStream.c in Sources */ = {isa = PBXBuildFile; fileRef = AABB943713DD09B800B6A0CB /* BStream.c */; };
@@ -238,6 +290,58 @@
/* End PBXCopyFilesBuildPhase section */
/* Begin PBXFileReference section */
+ AA3A0B2C13F9C8DA00FB76A0 /* SystemCall.io */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = SystemCall.io; sourceTree = "<group>"; };
+ AA3A0B3313F9C8DA00FB76A0 /* callsystem.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = callsystem.c; sourceTree = "<group>"; };
+ AA3A0B3413F9C8DA00FB76A0 /* callsystem.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = callsystem.h; sourceTree = "<group>"; };
+ AA3A0B3513F9C8DA00FB76A0 /* IoSystemCall.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = IoSystemCall.c; sourceTree = "<group>"; };
+ AA3A0B3613F9C8DA00FB76A0 /* IoSystemCall.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = IoSystemCall.h; sourceTree = "<group>"; };
+ AA3A0B3713F9C8DA00FB76A0 /* IoSystemCallInit.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = IoSystemCallInit.c; sourceTree = "<group>"; };
+ AA3A0B7113F9D1B400FB76A0 /* A0_EventManager.io */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = A0_EventManager.io; sourceTree = "<group>"; };
+ AA3A0B7213F9D1B400FB76A0 /* A1_Socket.io */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = A1_Socket.io; sourceTree = "<group>"; };
+ AA3A0B7313F9D1B400FB76A0 /* A2_Server.io */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = A2_Server.io; sourceTree = "<group>"; };
+ AA3A0B7413F9D1B400FB76A0 /* A3_Host.io */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = A3_Host.io; sourceTree = "<group>"; };
+ AA3A0B7513F9D1B400FB76A0 /* A4_Object.io */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = A4_Object.io; sourceTree = "<group>"; };
+ AA3A0B7613F9D1B400FB76A0 /* DNSResolver.io */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = DNSResolver.io; sourceTree = "<group>"; };
+ AA3A0B7713F9D1B400FB76A0 /* EvHttpCookie.io */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = EvHttpCookie.io; sourceTree = "<group>"; };
+ AA3A0B7813F9D1B400FB76A0 /* EvHttpServer.io */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = EvHttpServer.io; sourceTree = "<group>"; };
+ AA3A0B7913F9D1B400FB76A0 /* EvOutResponse.io */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = EvOutResponse.io; sourceTree = "<group>"; };
+ AA3A0B7A13F9D1B400FB76A0 /* EvStatusCodes.io */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = EvStatusCodes.io; sourceTree = "<group>"; };
+ AA3A0B7B13F9D1B400FB76A0 /* IPAddress.io */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = IPAddress.io; sourceTree = "<group>"; };
+ AA3A0B7C13F9D1B400FB76A0 /* UnixPath.io */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = UnixPath.io; sourceTree = "<group>"; };
+ AA3A0B7D13F9D1B400FB76A0 /* URL.io */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = URL.io; sourceTree = "<group>"; };
+ AA3A0B9B13F9D1B400FB76A0 /* Address.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = Address.c; sourceTree = "<group>"; };
+ AA3A0B9C13F9D1B400FB76A0 /* Address.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = Address.h; sourceTree = "<group>"; };
+ AA3A0B9D13F9D1B400FB76A0 /* IoDNS.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = IoDNS.c; sourceTree = "<group>"; };
+ AA3A0B9E13F9D1B400FB76A0 /* IoDNS.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = IoDNS.h; sourceTree = "<group>"; };
+ AA3A0B9F13F9D1B400FB76A0 /* IoEvConnection.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = IoEvConnection.c; sourceTree = "<group>"; };
+ AA3A0BA013F9D1B400FB76A0 /* IoEvConnection.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = IoEvConnection.h; sourceTree = "<group>"; };
+ AA3A0BA113F9D1B400FB76A0 /* IoEvent.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = IoEvent.c; sourceTree = "<group>"; };
+ AA3A0BA213F9D1B400FB76A0 /* IoEvent.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = IoEvent.h; sourceTree = "<group>"; };
+ AA3A0BA313F9D1B400FB76A0 /* IoEventManager.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = IoEventManager.c; sourceTree = "<group>"; };
+ AA3A0BA413F9D1B400FB76A0 /* IoEventManager.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = IoEventManager.h; sourceTree = "<group>"; };
+ AA3A0BA513F9D1B400FB76A0 /* IoEvHttpServer.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = IoEvHttpServer.c; sourceTree = "<group>"; };
+ AA3A0BA613F9D1B400FB76A0 /* IoEvHttpServer.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = IoEvHttpServer.h; sourceTree = "<group>"; };
+ AA3A0BA713F9D1B400FB76A0 /* IoEvOutRequest.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = IoEvOutRequest.c; sourceTree = "<group>"; };
+ AA3A0BA813F9D1B400FB76A0 /* IoEvOutRequest.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = IoEvOutRequest.h; sourceTree = "<group>"; };
+ AA3A0BA913F9D1B400FB76A0 /* IoEvOutResponse.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = IoEvOutResponse.c; sourceTree = "<group>"; };
+ AA3A0BAA13F9D1B400FB76A0 /* IoEvOutResponse.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = IoEvOutResponse.h; sourceTree = "<group>"; };
+ AA3A0BAB13F9D1B400FB76A0 /* IoIPAddress.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = IoIPAddress.c; sourceTree = "<group>"; };
+ AA3A0BAC13F9D1B400FB76A0 /* IoIPAddress.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = IoIPAddress.h; sourceTree = "<group>"; };
+ AA3A0BAD13F9D1B400FB76A0 /* IoSocket.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = IoSocket.c; sourceTree = "<group>"; };
+ AA3A0BAE13F9D1B400FB76A0 /* IoSocket.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = IoSocket.h; sourceTree = "<group>"; };
+ AA3A0BAF13F9D1B400FB76A0 /* IoSocketInit.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = IoSocketInit.c; sourceTree = "<group>"; };
+ AA3A0BB013F9D1B400FB76A0 /* IoUnixPath.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = IoUnixPath.c; sourceTree = "<group>"; };
+ AA3A0BB113F9D1B400FB76A0 /* IoUnixPath.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = IoUnixPath.h; sourceTree = "<group>"; };
+ AA3A0BB213F9D1B400FB76A0 /* IPAddress.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = IPAddress.c; sourceTree = "<group>"; };
+ AA3A0BB313F9D1B400FB76A0 /* IPAddress.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = IPAddress.h; sourceTree = "<group>"; };
+ AA3A0BB413F9D1B400FB76A0 /* LocalNameServers.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = LocalNameServers.c; sourceTree = "<group>"; };
+ AA3A0BB513F9D1B400FB76A0 /* LocalNameServers.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = LocalNameServers.h; sourceTree = "<group>"; };
+ AA3A0BBB13F9D1B400FB76A0 /* Socket.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = Socket.c; sourceTree = "<group>"; };
+ AA3A0BBC13F9D1B400FB76A0 /* Socket.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = Socket.h; sourceTree = "<group>"; };
+ AA3A0BBD13F9D1B400FB76A0 /* UnixPath.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = UnixPath.c; sourceTree = "<group>"; };
+ AA3A0BBE13F9D1B400FB76A0 /* UnixPath.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = UnixPath.h; sourceTree = "<group>"; };
+ AA3A0C2C13F9DA9E00FB76A0 /* libevent_extra.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = libevent_extra.a; path = ../../../../../../../usr/local/lib/libevent_extra.a; sourceTree = "<group>"; };
+ AA3A0C2E13F9E73B00FB76A0 /* libevent_core.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = libevent_core.a; path = ../../../../../../../usr/local/lib/libevent_core.a; sourceTree = "<group>"; };
AA95DCF613DBBD4200CCD456 /* IoLanguageKit.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = IoLanguageKit.h; sourceTree = "<group>"; };
AABB943613DD09B800B6A0CB /* Base.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = Base.h; sourceTree = "<group>"; };
AABB943713DD09B800B6A0CB /* BStream.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = BStream.c; sourceTree = "<group>"; };
@@ -468,15 +572,117 @@
buildActionMask = 2147483647;
files = (
AAFE00F013D6526E00649838 /* Cocoa.framework in Frameworks */,
+ AA3A0C2D13F9DA9E00FB76A0 /* libevent_extra.a in Frameworks */,
+ AA3A0C2F13F9E73B00FB76A0 /* libevent_core.a in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXFrameworksBuildPhase section */
/* Begin PBXGroup section */
+ AA3A0B1B13F9C8DA00FB76A0 /* SystemCall */ = {
+ isa = PBXGroup;
+ children = (
+ AA3A0B2B13F9C8DA00FB76A0 /* io */,
+ AA3A0B3213F9C8DA00FB76A0 /* source */,
+ );
+ name = SystemCall;
+ path = ../addons/SystemCall;
+ sourceTree = "<group>";
+ };
+ AA3A0B2B13F9C8DA00FB76A0 /* io */ = {
+ isa = PBXGroup;
+ children = (
+ AA3A0B2C13F9C8DA00FB76A0 /* SystemCall.io */,
+ );
+ path = io;
+ sourceTree = "<group>";
+ };
+ AA3A0B3213F9C8DA00FB76A0 /* source */ = {
+ isa = PBXGroup;
+ children = (
+ AA3A0B3313F9C8DA00FB76A0 /* callsystem.c */,
+ AA3A0B3413F9C8DA00FB76A0 /* callsystem.h */,
+ AA3A0B3513F9C8DA00FB76A0 /* IoSystemCall.c */,
+ AA3A0B3613F9C8DA00FB76A0 /* IoSystemCall.h */,
+ AA3A0B3713F9C8DA00FB76A0 /* IoSystemCallInit.c */,
+ );
+ path = source;
+ sourceTree = "<group>";
+ };
+ AA3A0B4C13F9D1B400FB76A0 /* Socket */ = {
+ isa = PBXGroup;
+ children = (
+ AA3A0B7013F9D1B400FB76A0 /* io */,
+ AA3A0B9A13F9D1B400FB76A0 /* source */,
+ );
+ name = Socket;
+ path = ../addons/Socket;
+ sourceTree = "<group>";
+ };
+ AA3A0B7013F9D1B400FB76A0 /* io */ = {
+ isa = PBXGroup;
+ children = (
+ AA3A0B7113F9D1B400FB76A0 /* A0_EventManager.io */,
+ AA3A0B7213F9D1B400FB76A0 /* A1_Socket.io */,
+ AA3A0B7313F9D1B400FB76A0 /* A2_Server.io */,
+ AA3A0B7413F9D1B400FB76A0 /* A3_Host.io */,
+ AA3A0B7513F9D1B400FB76A0 /* A4_Object.io */,
+ AA3A0B7613F9D1B400FB76A0 /* DNSResolver.io */,
+ AA3A0B7713F9D1B400FB76A0 /* EvHttpCookie.io */,
+ AA3A0B7813F9D1B400FB76A0 /* EvHttpServer.io */,
+ AA3A0B7913F9D1B400FB76A0 /* EvOutResponse.io */,
+ AA3A0B7A13F9D1B400FB76A0 /* EvStatusCodes.io */,
+ AA3A0B7B13F9D1B400FB76A0 /* IPAddress.io */,
+ AA3A0B7C13F9D1B400FB76A0 /* UnixPath.io */,
+ AA3A0B7D13F9D1B400FB76A0 /* URL.io */,
+ );
+ path = io;
+ sourceTree = "<group>";
+ };
+ AA3A0B9A13F9D1B400FB76A0 /* source */ = {
+ isa = PBXGroup;
+ children = (
+ AA3A0B9B13F9D1B400FB76A0 /* Address.c */,
+ AA3A0B9C13F9D1B400FB76A0 /* Address.h */,
+ AA3A0B9D13F9D1B400FB76A0 /* IoDNS.c */,
+ AA3A0B9E13F9D1B400FB76A0 /* IoDNS.h */,
+ AA3A0B9F13F9D1B400FB76A0 /* IoEvConnection.c */,
+ AA3A0BA013F9D1B400FB76A0 /* IoEvConnection.h */,
+ AA3A0BA113F9D1B400FB76A0 /* IoEvent.c */,
+ AA3A0BA213F9D1B400FB76A0 /* IoEvent.h */,
+ AA3A0BA313F9D1B400FB76A0 /* IoEventManager.c */,
+ AA3A0BA413F9D1B400FB76A0 /* IoEventManager.h */,
+ AA3A0BA513F9D1B400FB76A0 /* IoEvHttpServer.c */,
+ AA3A0BA613F9D1B400FB76A0 /* IoEvHttpServer.h */,
+ AA3A0BA713F9D1B400FB76A0 /* IoEvOutRequest.c */,
+ AA3A0BA813F9D1B400FB76A0 /* IoEvOutRequest.h */,
+ AA3A0BA913F9D1B400FB76A0 /* IoEvOutResponse.c */,
+ AA3A0BAA13F9D1B400FB76A0 /* IoEvOutResponse.h */,
+ AA3A0BAB13F9D1B400FB76A0 /* IoIPAddress.c */,
+ AA3A0BAC13F9D1B400FB76A0 /* IoIPAddress.h */,
+ AA3A0BAD13F9D1B400FB76A0 /* IoSocket.c */,
+ AA3A0BAE13F9D1B400FB76A0 /* IoSocket.h */,
+ AA3A0BAF13F9D1B400FB76A0 /* IoSocketInit.c */,
+ AA3A0BB013F9D1B400FB76A0 /* IoUnixPath.c */,
+ AA3A0BB113F9D1B400FB76A0 /* IoUnixPath.h */,
+ AA3A0BB213F9D1B400FB76A0 /* IPAddress.c */,
+ AA3A0BB313F9D1B400FB76A0 /* IPAddress.h */,
+ AA3A0BB413F9D1B400FB76A0 /* LocalNameServers.c */,
+ AA3A0BB513F9D1B400FB76A0 /* LocalNameServers.h */,
+ AA3A0BBB13F9D1B400FB76A0 /* Socket.c */,
+ AA3A0BBC13F9D1B400FB76A0 /* Socket.h */,
+ AA3A0BBD13F9D1B400FB76A0 /* UnixPath.c */,
+ AA3A0BBE13F9D1B400FB76A0 /* UnixPath.h */,
+ );
+ path = source;
+ sourceTree = "<group>";
+ };
AABB93B313DD09B800B6A0CB /* libs */ = {
isa = PBXGroup;
children = (
+ AA3A0B4C13F9D1B400FB76A0 /* Socket */,
+ AA3A0B1B13F9C8DA00FB76A0 /* SystemCall */,
AABB989C13DD7A3B00B6A0CB /* Box */,
AABB985513DD79E000B6A0CB /* ObjcBridge */,
AABB93B413DD09B800B6A0CB /* basekit */,
@@ -847,6 +1053,8 @@
AAFE00EE13D6526E00649838 /* Frameworks */ = {
isa = PBXGroup;
children = (
+ AA3A0C2C13F9DA9E00FB76A0 /* libevent_extra.a */,
+ AA3A0C2E13F9E73B00FB76A0 /* libevent_core.a */,
AAFE00EF13D6526E00649838 /* Cocoa.framework */,
AAFE00F113D6526E00649838 /* Other Frameworks */,
);
@@ -1007,6 +1215,23 @@
AABB989A13DD79E000B6A0CB /* Runtime.h in Headers */,
AABB98CC13DD7A3C00B6A0CB /* IoBox.h in Headers */,
AABB98CD13DD7A3C00B6A0CB /* IoBoxApi.h in Headers */,
+ AA3A0B4713F9C8DA00FB76A0 /* callsystem.h in Headers */,
+ AA3A0B4913F9C8DA00FB76A0 /* IoSystemCall.h in Headers */,
+ AA3A0C0713F9D1B400FB76A0 /* Address.h in Headers */,
+ AA3A0C0913F9D1B400FB76A0 /* IoDNS.h in Headers */,
+ AA3A0C0B13F9D1B400FB76A0 /* IoEvConnection.h in Headers */,
+ AA3A0C0D13F9D1B400FB76A0 /* IoEvent.h in Headers */,
+ AA3A0C0F13F9D1B400FB76A0 /* IoEventManager.h in Headers */,
+ AA3A0C1113F9D1B400FB76A0 /* IoEvHttpServer.h in Headers */,
+ AA3A0C1313F9D1B400FB76A0 /* IoEvOutRequest.h in Headers */,
+ AA3A0C1513F9D1B400FB76A0 /* IoEvOutResponse.h in Headers */,
+ AA3A0C1713F9D1B400FB76A0 /* IoIPAddress.h in Headers */,
+ AA3A0C1913F9D1B400FB76A0 /* IoSocket.h in Headers */,
+ AA3A0C1C13F9D1B400FB76A0 /* IoUnixPath.h in Headers */,
+ AA3A0C1E13F9D1B400FB76A0 /* IPAddress.h in Headers */,
+ AA3A0C2013F9D1B400FB76A0 /* LocalNameServers.h in Headers */,
+ AA3A0C2613F9D1B400FB76A0 /* Socket.h in Headers */,
+ AA3A0C2813F9D1B400FB76A0 /* UnixPath.h in Headers */,
);
runOnlyForDeploymentPostprocessing = 0;
};
@@ -1064,6 +1289,20 @@
AABB96E413DD09B800B6A0CB /* CMakeLists.txt in Resources */,
AABB988013DD79E000B6A0CB /* ObjcBridge.io in Resources */,
AABB98C913DD7A3C00B6A0CB /* Vector.io in Resources */,
+ AA3A0B4113F9C8DA00FB76A0 /* SystemCall.io in Resources */,
+ AA3A0BE113F9D1B400FB76A0 /* A0_EventManager.io in Resources */,
+ AA3A0BE213F9D1B400FB76A0 /* A1_Socket.io in Resources */,
+ AA3A0BE313F9D1B400FB76A0 /* A2_Server.io in Resources */,
+ AA3A0BE413F9D1B400FB76A0 /* A3_Host.io in Resources */,
+ AA3A0BE513F9D1B400FB76A0 /* A4_Object.io in Resources */,
+ AA3A0BE613F9D1B400FB76A0 /* DNSResolver.io in Resources */,
+ AA3A0BE713F9D1B400FB76A0 /* EvHttpCookie.io in Resources */,
+ AA3A0BE813F9D1B400FB76A0 /* EvHttpServer.io in Resources */,
+ AA3A0BE913F9D1B400FB76A0 /* EvOutResponse.io in Resources */,
+ AA3A0BEA13F9D1B400FB76A0 /* EvStatusCodes.io in Resources */,
+ AA3A0BEB13F9D1B400FB76A0 /* IPAddress.io in Resources */,
+ AA3A0BEC13F9D1B400FB76A0 /* UnixPath.io in Resources */,
+ AA3A0BED13F9D1B400FB76A0 /* URL.io in Resources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
@@ -1166,6 +1405,25 @@
AABB989B13DD79E000B6A0CB /* Runtime.m in Sources */,
AABB98CB13DD7A3C00B6A0CB /* IoBox.c in Sources */,
AABB98CE13DD7A3C00B6A0CB /* IoBoxInit.c in Sources */,
+ AA3A0B4613F9C8DA00FB76A0 /* callsystem.c in Sources */,
+ AA3A0B4813F9C8DA00FB76A0 /* IoSystemCall.c in Sources */,
+ AA3A0B4A13F9C8DA00FB76A0 /* IoSystemCallInit.c in Sources */,
+ AA3A0C0613F9D1B400FB76A0 /* Address.c in Sources */,
+ AA3A0C0813F9D1B400FB76A0 /* IoDNS.c in Sources */,
+ AA3A0C0A13F9D1B400FB76A0 /* IoEvConnection.c in Sources */,
+ AA3A0C0C13F9D1B400FB76A0 /* IoEvent.c in Sources */,
+ AA3A0C0E13F9D1B400FB76A0 /* IoEventManager.c in Sources */,
+ AA3A0C1013F9D1B400FB76A0 /* IoEvHttpServer.c in Sources */,
+ AA3A0C1213F9D1B400FB76A0 /* IoEvOutRequest.c in Sources */,
+ AA3A0C1413F9D1B400FB76A0 /* IoEvOutResponse.c in Sources */,
+ AA3A0C1613F9D1B400FB76A0 /* IoIPAddress.c in Sources */,
+ AA3A0C1813F9D1B400FB76A0 /* IoSocket.c in Sources */,
+ AA3A0C1A13F9D1B400FB76A0 /* IoSocketInit.c in Sources */,
+ AA3A0C1B13F9D1B400FB76A0 /* IoUnixPath.c in Sources */,
+ AA3A0C1D13F9D1B400FB76A0 /* IPAddress.c in Sources */,
+ AA3A0C1F13F9D1B400FB76A0 /* LocalNameServers.c in Sources */,
+ AA3A0C2513F9D1B400FB76A0 /* Socket.c in Sources */,
+ AA3A0C2713F9D1B400FB76A0 /* UnixPath.c in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
@@ -1229,6 +1487,7 @@
GCC_ENABLE_OBJC_EXCEPTIONS = YES;
GCC_PRECOMPILE_PREFIX_HEADER = YES;
GCC_PREFIX_HEADER = "IoLanguageKit/IoLanguageKit-Prefix.pch";
+ HEADER_SEARCH_PATHS = /usr/local/include;
INFOPLIST_FILE = "IoLanguageKit/IoLanguageKit-Info.plist";
INSTALL_PATH = "@executable_path/../Frameworks";
LIBRARY_SEARCH_PATHS = (
@@ -1236,6 +1495,10 @@
"\"$(SRCROOT)\"",
"\"$(SRCROOT)/../../addons/Box/_build/dll\"",
"\"$(SRCROOT)/../../addons/Box/_build/lib\"",
+ "\"$(SRCROOT)/../../addons/SystemCall/_build/dll\"",
+ "\"$(SRCROOT)/../../addons/SystemCall/_build/lib\"",
+ "\"$(SRCROOT)/../../addons/Socket/_build/dll\"",
+ "\"$(SRCROOT)/../../addons/Socket/_build/lib\"",
);
PRODUCT_NAME = "$(TARGET_NAME)";
WRAPPER_EXTENSION = framework;
@@ -1254,6 +1517,7 @@
GCC_ENABLE_OBJC_EXCEPTIONS = YES;
GCC_PRECOMPILE_PREFIX_HEADER = YES;
GCC_PREFIX_HEADER = "IoLanguageKit/IoLanguageKit-Prefix.pch";
+ HEADER_SEARCH_PATHS = /usr/local/include;
INFOPLIST_FILE = "IoLanguageKit/IoLanguageKit-Info.plist";
INSTALL_PATH = "@executable_path/../Frameworks";
LIBRARY_SEARCH_PATHS = (
@@ -1261,6 +1525,10 @@
"\"$(SRCROOT)\"",
"\"$(SRCROOT)/../../addons/Box/_build/dll\"",
"\"$(SRCROOT)/../../addons/Box/_build/lib\"",
+ "\"$(SRCROOT)/../../addons/SystemCall/_build/dll\"",
+ "\"$(SRCROOT)/../../addons/SystemCall/_build/lib\"",
+ "\"$(SRCROOT)/../../addons/Socket/_build/dll\"",
+ "\"$(SRCROOT)/../../addons/Socket/_build/lib\"",
);
PRODUCT_NAME = "$(TARGET_NAME)";
WRAPPER_EXTENSION = framework;
View
4,268 .../IoTest/IoTest.xcodeproj/project.xcworkspace/xcuserdata/steve.xcuserdatad/UserInterfaceState.xcuserstate
2,004 additions, 2,264 deletions not shown
View
8 libs/iovm/source/IoSeq.c
@@ -132,6 +132,14 @@ IoSeq *IoSeq_newWithData_length_(void *state, const unsigned char *s, size_t len
return self;
}
+IoSeq *IoSeq_newWithData_length_copy_(void *state, const unsigned char *s, size_t length, int copy)
+{
+ IoSeq *self = IoSeq_new(state);
+ UArray_setData_type_size_copy_(DATA(self), (uint8_t *)s, CTYPE_uint8_t, length, copy);
+ //UArray_convertToFixedSizeType(DATA(self));
+ return self;
+}
+
IoSeq *IoSeq_newWithCString_(void *state, const char *s)
{
return IoSeq_newWithData_length_(state, (unsigned char *)s, strlen(s));
View
1  libs/iovm/source/IoSeq.h
@@ -59,6 +59,7 @@ IOVM_API IoSeq *IoSeq_rawClone(IoSeq *self);
IOVM_API IoSeq *IoSeq_new(void *state);
IOVM_API IoSeq *IoSeq_newWithUArray_copy_(void *state, UArray *ba, int copy);
IOVM_API IoSeq *IoSeq_newWithData_length_(void *state, const unsigned char *s, size_t length);
+IOVM_API IoSeq *IoSeq_newWithData_length_copy_(void *state, const unsigned char *s, size_t length, int copy);
IOVM_API IoSeq *IoSeq_newWithCString_length_(void *state, const char *s, size_t length);
IOVM_API IoSeq *IoSeq_newWithCString_(void *state, const char *s);
IOVM_API IoSeq *IoSeq_newFromFilePath_(void *state, const char *path);
Please sign in to comment.
Something went wrong with that request. Please try again.