{"action":"closed","number":91,"pull_request":{"url":"https://api.github.com/repos/sandstorm-io/capnproto/pulls/91","id":16438787,"html_url":"https://github.com/sandstorm-io/capnproto/pull/91","diff_url":"https://github.com/sandstorm-io/capnproto/pull/91.diff","patch_url":"https://github.com/sandstorm-io/capnproto/pull/91.patch","issue_url":"https://api.github.com/repos/sandstorm-io/capnproto/issues/91","number":91,"state":"closed","locked":false,"title":"Added eventloop integration with CFRunLoop (OSX/iOS)","user":{"login":"jjwchoy","id":735213,"avatar_url":"https://avatars.githubusercontent.com/u/735213?v=3","gravatar_id":"","url":"https://api.github.com/users/jjwchoy","html_url":"https://github.com/jjwchoy","followers_url":"https://api.github.com/users/jjwchoy/followers","following_url":"https://api.github.com/users/jjwchoy/following{/other_user}","gists_url":"https://api.github.com/users/jjwchoy/gists{/gist_id}","starred_url":"https://api.github.com/users/jjwchoy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jjwchoy/subscriptions","organizations_url":"https://api.github.com/users/jjwchoy/orgs","repos_url":"https://api.github.com/users/jjwchoy/repos","events_url":"https://api.github.com/users/jjwchoy/events{/privacy}","received_events_url":"https://api.github.com/users/jjwchoy/received_events","type":"User","site_admin":false},"body":"This is mostly copied from node-capnproto and async-unix. This commit enables integration with Cocoa's event loop (CFRunLoop).\r\n\r\nNotes:\r\n- I haven't committed any tests yet (however I have tried the AsyncIo::SimpleNetwork  test with it and it works both when using `wait`, and running CFRunLoop normally)\r\n- I haven't modified the makefiles (requires `-framework CoreFoundation` to be added to LDFLAGS for libkj-async)\r\n- I've had to add a temporary `AsyncCocoaIoContext` struct as `AsyncIoContext` currently has a unixEventPort field\r\n\r\nIs this something you would merge into kj? It would be useful for anyone that wants to integrate kj/capnproto into an OSX/iOS application, and for an Objective-C wrapper of capnproto.","created_at":"2014-05-28T16:54:39Z","updated_at":"2015-03-05T05:14:39Z","closed_at":"2015-03-05T05:14:39Z","merged_at":null,"merge_commit_sha":"522205c9b98068dbec7a70cd833cf520cb798f4a","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/sandstorm-io/capnproto/pulls/91/commits","review_comments_url":"https://api.github.com/repos/sandstorm-io/capnproto/pulls/91/comments","review_comment_url":"https://api.github.com/repos/sandstorm-io/capnproto/pulls/comments{/number}","comments_url":"https://api.github.com/repos/sandstorm-io/capnproto/issues/91/comments","statuses_url":"https://api.github.com/repos/sandstorm-io/capnproto/statuses/f6ea7d278200cd062f0268bb4e83fc505b71274f","head":{"label":"jjwchoy:async-cocoa","ref":"async-cocoa","sha":"f6ea7d278200cd062f0268bb4e83fc505b71274f","user":{"login":"jjwchoy","id":735213,"avatar_url":"https://avatars.githubusercontent.com/u/735213?v=3","gravatar_id":"","url":"https://api.github.com/users/jjwchoy","html_url":"https://github.com/jjwchoy","followers_url":"https://api.github.com/users/jjwchoy/followers","following_url":"https://api.github.com/users/jjwchoy/following{/other_user}","gists_url":"https://api.github.com/users/jjwchoy/gists{/gist_id}","starred_url":"https://api.github.com/users/jjwchoy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jjwchoy/subscriptions","organizations_url":"https://api.github.com/users/jjwchoy/orgs","repos_url":"https://api.github.com/users/jjwchoy/repos","events_url":"https://api.github.com/users/jjwchoy/events{/privacy}","received_events_url":"https://api.github.com/users/jjwchoy/received_events","type":"User","site_admin":false},"repo":{"id":17547816,"name":"capnproto","full_name":"jjwchoy/capnproto","owner":{"login":"jjwchoy","id":735213,"avatar_url":"https://avatars.githubusercontent.com/u/735213?v=3","gravatar_id":"","url":"https://api.github.com/users/jjwchoy","html_url":"https://github.com/jjwchoy","followers_url":"https://api.github.com/users/jjwchoy/followers","following_url":"https://api.github.com/users/jjwchoy/following{/other_user}","gists_url":"https://api.github.com/users/jjwchoy/gists{/gist_id}","starred_url":"https://api.github.com/users/jjwchoy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jjwchoy/subscriptions","organizations_url":"https://api.github.com/users/jjwchoy/orgs","repos_url":"https://api.github.com/users/jjwchoy/repos","events_url":"https://api.github.com/users/jjwchoy/events{/privacy}","received_events_url":"https://api.github.com/users/jjwchoy/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jjwchoy/capnproto","description":"Cap'n Proto serialization/RPC system","fork":true,"url":"https://api.github.com/repos/jjwchoy/capnproto","forks_url":"https://api.github.com/repos/jjwchoy/capnproto/forks","keys_url":"https://api.github.com/repos/jjwchoy/capnproto/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jjwchoy/capnproto/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jjwchoy/capnproto/teams","hooks_url":"https://api.github.com/repos/jjwchoy/capnproto/hooks","issue_events_url":"https://api.github.com/repos/jjwchoy/capnproto/issues/events{/number}","events_url":"https://api.github.com/repos/jjwchoy/capnproto/events","assignees_url":"https://api.github.com/repos/jjwchoy/capnproto/assignees{/user}","branches_url":"https://api.github.com/repos/jjwchoy/capnproto/branches{/branch}","tags_url":"https://api.github.com/repos/jjwchoy/capnproto/tags","blobs_url":"https://api.github.com/repos/jjwchoy/capnproto/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jjwchoy/capnproto/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jjwchoy/capnproto/git/refs{/sha}","trees_url":"https://api.github.com/repos/jjwchoy/capnproto/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jjwchoy/capnproto/statuses/{sha}","languages_url":"https://api.github.com/repos/jjwchoy/capnproto/languages","stargazers_url":"https://api.github.com/repos/jjwchoy/capnproto/stargazers","contributors_url":"https://api.github.com/repos/jjwchoy/capnproto/contributors","subscribers_url":"https://api.github.com/repos/jjwchoy/capnproto/subscribers","subscription_url":"https://api.github.com/repos/jjwchoy/capnproto/subscription","commits_url":"https://api.github.com/repos/jjwchoy/capnproto/commits{/sha}","git_commits_url":"https://api.github.com/repos/jjwchoy/capnproto/git/commits{/sha}","comments_url":"https://api.github.com/repos/jjwchoy/capnproto/comments{/number}","issue_comment_url":"https://api.github.com/repos/jjwchoy/capnproto/issues/comments{/number}","contents_url":"https://api.github.com/repos/jjwchoy/capnproto/contents/{+path}","compare_url":"https://api.github.com/repos/jjwchoy/capnproto/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jjwchoy/capnproto/merges","archive_url":"https://api.github.com/repos/jjwchoy/capnproto/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jjwchoy/capnproto/downloads","issues_url":"https://api.github.com/repos/jjwchoy/capnproto/issues{/number}","pulls_url":"https://api.github.com/repos/jjwchoy/capnproto/pulls{/number}","milestones_url":"https://api.github.com/repos/jjwchoy/capnproto/milestones{/number}","notifications_url":"https://api.github.com/repos/jjwchoy/capnproto/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jjwchoy/capnproto/labels{/name}","releases_url":"https://api.github.com/repos/jjwchoy/capnproto/releases{/id}","created_at":"2014-03-08T18:13:55Z","updated_at":"2015-03-04T03:21:30Z","pushed_at":"2015-03-04T03:45:29Z","git_url":"git://github.com/jjwchoy/capnproto.git","ssh_url":"git@github.com:jjwchoy/capnproto.git","clone_url":"https://github.com/jjwchoy/capnproto.git","svn_url":"https://github.com/jjwchoy/capnproto","homepage":null,"size":11018,"stargazers_count":0,"watchers_count":0,"language":"C++","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"sandstorm-io:master","ref":"master","sha":"25509cf4f1fe6b3f5a6faa2f42b865f7571db8c4","user":{"login":"sandstorm-io","id":7479094,"avatar_url":"https://avatars.githubusercontent.com/u/7479094?v=3","gravatar_id":"","url":"https://api.github.com/users/sandstorm-io","html_url":"https://github.com/sandstorm-io","followers_url":"https://api.github.com/users/sandstorm-io/followers","following_url":"https://api.github.com/users/sandstorm-io/following{/other_user}","gists_url":"https://api.github.com/users/sandstorm-io/gists{/gist_id}","starred_url":"https://api.github.com/users/sandstorm-io/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sandstorm-io/subscriptions","organizations_url":"https://api.github.com/users/sandstorm-io/orgs","repos_url":"https://api.github.com/users/sandstorm-io/repos","events_url":"https://api.github.com/users/sandstorm-io/events{/privacy}","received_events_url":"https://api.github.com/users/sandstorm-io/received_events","type":"Organization","site_admin":false},"repo":{"id":9090933,"name":"capnproto","full_name":"sandstorm-io/capnproto","owner":{"login":"sandstorm-io","id":7479094,"avatar_url":"https://avatars.githubusercontent.com/u/7479094?v=3","gravatar_id":"","url":"https://api.github.com/users/sandstorm-io","html_url":"https://github.com/sandstorm-io","followers_url":"https://api.github.com/users/sandstorm-io/followers","following_url":"https://api.github.com/users/sandstorm-io/following{/other_user}","gists_url":"https://api.github.com/users/sandstorm-io/gists{/gist_id}","starred_url":"https://api.github.com/users/sandstorm-io/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sandstorm-io/subscriptions","organizations_url":"https://api.github.com/users/sandstorm-io/orgs","repos_url":"https://api.github.com/users/sandstorm-io/repos","events_url":"https://api.github.com/users/sandstorm-io/events{/privacy}","received_events_url":"https://api.github.com/users/sandstorm-io/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/sandstorm-io/capnproto","description":"Cap'n Proto serialization/RPC system","fork":false,"url":"https://api.github.com/repos/sandstorm-io/capnproto","forks_url":"https://api.github.com/repos/sandstorm-io/capnproto/forks","keys_url":"https://api.github.com/repos/sandstorm-io/capnproto/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sandstorm-io/capnproto/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sandstorm-io/capnproto/teams","hooks_url":"https://api.github.com/repos/sandstorm-io/capnproto/hooks","issue_events_url":"https://api.github.com/repos/sandstorm-io/capnproto/issues/events{/number}","events_url":"https://api.github.com/repos/sandstorm-io/capnproto/events","assignees_url":"https://api.github.com/repos/sandstorm-io/capnproto/assignees{/user}","branches_url":"https://api.github.com/repos/sandstorm-io/capnproto/branches{/branch}","tags_url":"https://api.github.com/repos/sandstorm-io/capnproto/tags","blobs_url":"https://api.github.com/repos/sandstorm-io/capnproto/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sandstorm-io/capnproto/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sandstorm-io/capnproto/git/refs{/sha}","trees_url":"https://api.github.com/repos/sandstorm-io/capnproto/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sandstorm-io/capnproto/statuses/{sha}","languages_url":"https://api.github.com/repos/sandstorm-io/capnproto/languages","stargazers_url":"https://api.github.com/repos/sandstorm-io/capnproto/stargazers","contributors_url":"https://api.github.com/repos/sandstorm-io/capnproto/contributors","subscribers_url":"https://api.github.com/repos/sandstorm-io/capnproto/subscribers","subscription_url":"https://api.github.com/repos/sandstorm-io/capnproto/subscription","commits_url":"https://api.github.com/repos/sandstorm-io/capnproto/commits{/sha}","git_commits_url":"https://api.github.com/repos/sandstorm-io/capnproto/git/commits{/sha}","comments_url":"https://api.github.com/repos/sandstorm-io/capnproto/comments{/number}","issue_comment_url":"https://api.github.com/repos/sandstorm-io/capnproto/issues/comments{/number}","contents_url":"https://api.github.com/repos/sandstorm-io/capnproto/contents/{+path}","compare_url":"https://api.github.com/repos/sandstorm-io/capnproto/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sandstorm-io/capnproto/merges","archive_url":"https://api.github.com/repos/sandstorm-io/capnproto/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sandstorm-io/capnproto/downloads","issues_url":"https://api.github.com/repos/sandstorm-io/capnproto/issues{/number}","pulls_url":"https://api.github.com/repos/sandstorm-io/capnproto/pulls{/number}","milestones_url":"https://api.github.com/repos/sandstorm-io/capnproto/milestones{/number}","notifications_url":"https://api.github.com/repos/sandstorm-io/capnproto/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sandstorm-io/capnproto/labels{/name}","releases_url":"https://api.github.com/repos/sandstorm-io/capnproto/releases{/id}","created_at":"2013-03-29T02:38:48Z","updated_at":"2015-03-05T04:32:11Z","pushed_at":"2015-03-03T03:27:35Z","git_url":"git://github.com/sandstorm-io/capnproto.git","ssh_url":"git@github.com:sandstorm-io/capnproto.git","clone_url":"https://github.com/sandstorm-io/capnproto.git","svn_url":"https://github.com/sandstorm-io/capnproto","homepage":null,"size":15226,"stargazers_count":2490,"watchers_count":2490,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":178,"mirror_url":null,"open_issues_count":18,"forks":178,"open_issues":18,"watchers":2490,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/sandstorm-io/capnproto/pulls/91"},"html":{"href":"https://github.com/sandstorm-io/capnproto/pull/91"},"issue":{"href":"https://api.github.com/repos/sandstorm-io/capnproto/issues/91"},"comments":{"href":"https://api.github.com/repos/sandstorm-io/capnproto/issues/91/comments"},"review_comments":{"href":"https://api.github.com/repos/sandstorm-io/capnproto/pulls/91/comments"},"review_comment":{"href":"https://api.github.com/repos/sandstorm-io/capnproto/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/sandstorm-io/capnproto/pulls/91/commits"},"statuses":{"href":"https://api.github.com/repos/sandstorm-io/capnproto/statuses/f6ea7d278200cd062f0268bb4e83fc505b71274f"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":16,"review_comments":0,"commits":1,"additions":544,"deletions":0,"changed_files":2}}