GitHub PullRequestEvent at 2014-10-09 06:16:23
Repository: sdsl-lite
Actor: simongog
Payload: {"action":"closed","number":204,"pull_request":{"url":"https://api.github.com/repos/simongog/sdsl-lite/pulls/204","id":22471379,"html_url":"https://github.com/simongog/sdsl-lite/pull/204","diff_url":"https://github.com/simongog/sdsl-lite/pull/204.diff","patch_url":"https://github.com/simongog/sdsl-lite/pull/204.patch","issue_url":"https://api.github.com/repos/simongog/sdsl-lite/issues/204","number":204,"state":"closed","locked":false,"title":"fix issue #202 and introduce more type safety","user":{"login":"mpetri","id":291755,"avatar_url":"https://avatars.githubusercontent.com/u/291755?v=2","gravatar_id":"","url":"https://api.github.com/users/mpetri","html_url":"https://github.com/mpetri","followers_url":"https://api.github.com/users/mpetri/followers","following_url":"https://api.github.com/users/mpetri/following{/other_user}","gists_url":"https://api.github.com/users/mpetri/gists{/gist_id}","starred_url":"https://api.github.com/users/mpetri/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mpetri/subscriptions","organizations_url":"https://api.github.com/users/mpetri/orgs","repos_url":"https://api.github.com/users/mpetri/repos","events_url":"https://api.github.com/users/mpetri/events{/privacy}","received_events_url":"https://api.github.com/users/mpetri/received_events","type":"User","site_admin":false},"body":"This fixes issue #202 where I added stuff to the invector before\r\nupdating the size.\r\n\r\nAdditionally, this commit also adds additional type safety features to\r\nthe int-vector-mapper. The mapper now has an additional template\r\nparameter:\r\n\r\n`\r\ntemplate <t_width,t_mode> class int_vector_mapper\r\n`\r\n\r\nwhere the ``open mode'' can be specified. For example,\r\n\r\n`\r\nconst int_vector_mapper<0,std::ios_base::in> ivm(tmp_file);\r\n`\r\n\r\nmaps a file in read only mode. thus, only operations which do not modify\r\nthe underlying file are permitted. Using other operations causes a\r\ncompilation error.\r\n\r\nThe default mode remains read+write so existing code is not affected:\r\n\r\n`\r\nint_vector_mapper<0,std::ios_base::out|std::ios_base::in> ivm(tmp_file);\r\n`\r\n\r\nis equal to\r\n\r\n`\r\nint_vector_mapper<> ivm(tmp_file);\r\n`\r\n\r\nthe examples and tests are adjusted accordingly.","created_at":"2014-10-09T04:42:27Z","updated_at":"2014-10-09T06:16:23Z","closed_at":"2014-10-09T06:16:23Z","merged_at":null,"merge_commit_sha":"2882c34fce03ebceb9411f46af0388ba9f98560e","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/simongog/sdsl-lite/pulls/204/commits","review_comments_url":"https://api.github.com/repos/simongog/sdsl-lite/pulls/204/comments","review_comment_url":"https://api.github.com/repos/simongog/sdsl-lite/pulls/comments/{number}","comments_url":"https://api.github.com/repos/simongog/sdsl-lite/issues/204/comments","statuses_url":"https://api.github.com/repos/simongog/sdsl-lite/statuses/c67518300152966eb8019de7a6a17568415e7553","head":{"label":"mpetri:int-vec-mapper-fixes","ref":"int-vec-mapper-fixes","sha":"c67518300152966eb8019de7a6a17568415e7553","user":{"login":"mpetri","id":291755,"avatar_url":"https://avatars.githubusercontent.com/u/291755?v=2","gravatar_id":"","url":"https://api.github.com/users/mpetri","html_url":"https://github.com/mpetri","followers_url":"https://api.github.com/users/mpetri/followers","following_url":"https://api.github.com/users/mpetri/following{/other_user}","gists_url":"https://api.github.com/users/mpetri/gists{/gist_id}","starred_url":"https://api.github.com/users/mpetri/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mpetri/subscriptions","organizations_url":"https://api.github.com/users/mpetri/orgs","repos_url":"https://api.github.com/users/mpetri/repos","events_url":"https://api.github.com/users/mpetri/events{/privacy}","received_events_url":"https://api.github.com/users/mpetri/received_events","type":"User","site_admin":false},"repo":{"id":10091859,"name":"sdsl-lite","full_name":"mpetri/sdsl-lite","owner":{"login":"mpetri","id":291755,"avatar_url":"https://avatars.githubusercontent.com/u/291755?v=2","gravatar_id":"","url":"https://api.github.com/users/mpetri","html_url":"https://github.com/mpetri","followers_url":"https://api.github.com/users/mpetri/followers","following_url":"https://api.github.com/users/mpetri/following{/other_user}","gists_url":"https://api.github.com/users/mpetri/gists{/gist_id}","starred_url":"https://api.github.com/users/mpetri/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mpetri/subscriptions","organizations_url":"https://api.github.com/users/mpetri/orgs","repos_url":"https://api.github.com/users/mpetri/repos","events_url":"https://api.github.com/users/mpetri/events{/privacy}","received_events_url":"https://api.github.com/users/mpetri/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mpetri/sdsl-lite","description":"Succinct data structure library","fork":true,"url":"https://api.github.com/repos/mpetri/sdsl-lite","forks_url":"https://api.github.com/repos/mpetri/sdsl-lite/forks","keys_url":"https://api.github.com/repos/mpetri/sdsl-lite/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mpetri/sdsl-lite/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mpetri/sdsl-lite/teams","hooks_url":"https://api.github.com/repos/mpetri/sdsl-lite/hooks","issue_events_url":"https://api.github.com/repos/mpetri/sdsl-lite/issues/events{/number}","events_url":"https://api.github.com/repos/mpetri/sdsl-lite/events","assignees_url":"https://api.github.com/repos/mpetri/sdsl-lite/assignees{/user}","branches_url":"https://api.github.com/repos/mpetri/sdsl-lite/branches{/branch}","tags_url":"https://api.github.com/repos/mpetri/sdsl-lite/tags","blobs_url":"https://api.github.com/repos/mpetri/sdsl-lite/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mpetri/sdsl-lite/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mpetri/sdsl-lite/git/refs{/sha}","trees_url":"https://api.github.com/repos/mpetri/sdsl-lite/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mpetri/sdsl-lite/statuses/{sha}","languages_url":"https://api.github.com/repos/mpetri/sdsl-lite/languages","stargazers_url":"https://api.github.com/repos/mpetri/sdsl-lite/stargazers","contributors_url":"https://api.github.com/repos/mpetri/sdsl-lite/contributors","subscribers_url":"https://api.github.com/repos/mpetri/sdsl-lite/subscribers","subscription_url":"https://api.github.com/repos/mpetri/sdsl-lite/subscription","commits_url":"https://api.github.com/repos/mpetri/sdsl-lite/commits{/sha}","git_commits_url":"https://api.github.com/repos/mpetri/sdsl-lite/git/commits{/sha}","comments_url":"https://api.github.com/repos/mpetri/sdsl-lite/comments{/number}","issue_comment_url":"https://api.github.com/repos/mpetri/sdsl-lite/issues/comments/{number}","contents_url":"https://api.github.com/repos/mpetri/sdsl-lite/contents/{+path}","compare_url":"https://api.github.com/repos/mpetri/sdsl-lite/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mpetri/sdsl-lite/merges","archive_url":"https://api.github.com/repos/mpetri/sdsl-lite/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mpetri/sdsl-lite/downloads","issues_url":"https://api.github.com/repos/mpetri/sdsl-lite/issues{/number}","pulls_url":"https://api.github.com/repos/mpetri/sdsl-lite/pulls{/number}","milestones_url":"https://api.github.com/repos/mpetri/sdsl-lite/milestones{/number}","notifications_url":"https://api.github.com/repos/mpetri/sdsl-lite/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mpetri/sdsl-lite/labels{/name}","releases_url":"https://api.github.com/repos/mpetri/sdsl-lite/releases{/id}","created_at":"2013-05-16T02:07:55Z","updated_at":"2014-05-27T06:01:30Z","pushed_at":"2014-10-09T04:41:19Z","git_url":"git://github.com/mpetri/sdsl-lite.git","ssh_url":"git@github.com:mpetri/sdsl-lite.git","clone_url":"https://github.com/mpetri/sdsl-lite.git","svn_url":"https://github.com/mpetri/sdsl-lite","homepage":"","size":10517,"stargazers_count":1,"watchers_count":1,"language":"C++","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":1,"default_branch":"master"}},"base":{"label":"simongog:master","ref":"master","sha":"ed8c99f0503ebd6df88b61f6765e7b3383de73d9","user":{"login":"simongog","id":1563206,"avatar_url":"https://avatars.githubusercontent.com/u/1563206?v=2","gravatar_id":"","url":"https://api.github.com/users/simongog","html_url":"https://github.com/simongog","followers_url":"https://api.github.com/users/simongog/followers","following_url":"https://api.github.com/users/simongog/following{/other_user}","gists_url":"https://api.github.com/users/simongog/gists{/gist_id}","starred_url":"https://api.github.com/users/simongog/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/simongog/subscriptions","organizations_url":"https://api.github.com/users/simongog/orgs","repos_url":"https://api.github.com/users/simongog/repos","events_url":"https://api.github.com/users/simongog/events{/privacy}","received_events_url":"https://api.github.com/users/simongog/received_events","type":"User","site_admin":false},"repo":{"id":8489632,"name":"sdsl-lite","full_name":"simongog/sdsl-lite","owner":{"login":"simongog","id":1563206,"avatar_url":"https://avatars.githubusercontent.com/u/1563206?v=2","gravatar_id":"","url":"https://api.github.com/users/simongog","html_url":"https://github.com/simongog","followers_url":"https://api.github.com/users/simongog/followers","following_url":"https://api.github.com/users/simongog/following{/other_user}","gists_url":"https://api.github.com/users/simongog/gists{/gist_id}","starred_url":"https://api.github.com/users/simongog/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/simongog/subscriptions","organizations_url":"https://api.github.com/users/simongog/orgs","repos_url":"https://api.github.com/users/simongog/repos","events_url":"https://api.github.com/users/simongog/events{/privacy}","received_events_url":"https://api.github.com/users/simongog/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/simongog/sdsl-lite","description":"Succinct Data Structure Library 2.0","fork":false,"url":"https://api.github.com/repos/simongog/sdsl-lite","forks_url":"https://api.github.com/repos/simongog/sdsl-lite/forks","keys_url":"https://api.github.com/repos/simongog/sdsl-lite/keys{/key_id}","collaborators_url":"https://api.github.com/repos/simongog/sdsl-lite/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/simongog/sdsl-lite/teams","hooks_url":"https://api.github.com/repos/simongog/sdsl-lite/hooks","issue_events_url":"https://api.github.com/repos/simongog/sdsl-lite/issues/events{/number}","events_url":"https://api.github.com/repos/simongog/sdsl-lite/events","assignees_url":"https://api.github.com/repos/simongog/sdsl-lite/assignees{/user}","branches_url":"https://api.github.com/repos/simongog/sdsl-lite/branches{/branch}","tags_url":"https://api.github.com/repos/simongog/sdsl-lite/tags","blobs_url":"https://api.github.com/repos/simongog/sdsl-lite/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/simongog/sdsl-lite/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/simongog/sdsl-lite/git/refs{/sha}","trees_url":"https://api.github.com/repos/simongog/sdsl-lite/git/trees{/sha}","statuses_url":"https://api.github.com/repos/simongog/sdsl-lite/statuses/{sha}","languages_url":"https://api.github.com/repos/simongog/sdsl-lite/languages","stargazers_url":"https://api.github.com/repos/simongog/sdsl-lite/stargazers","contributors_url":"https://api.github.com/repos/simongog/sdsl-lite/contributors","subscribers_url":"https://api.github.com/repos/simongog/sdsl-lite/subscribers","subscription_url":"https://api.github.com/repos/simongog/sdsl-lite/subscription","commits_url":"https://api.github.com/repos/simongog/sdsl-lite/commits{/sha}","git_commits_url":"https://api.github.com/repos/simongog/sdsl-lite/git/commits{/sha}","comments_url":"https://api.github.com/repos/simongog/sdsl-lite/comments{/number}","issue_comment_url":"https://api.github.com/repos/simongog/sdsl-lite/issues/comments/{number}","contents_url":"https://api.github.com/repos/simongog/sdsl-lite/contents/{+path}","compare_url":"https://api.github.com/repos/simongog/sdsl-lite/compare/{base}...{head}","merges_url":"https://api.github.com/repos/simongog/sdsl-lite/merges","archive_url":"https://api.github.com/repos/simongog/sdsl-lite/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/simongog/sdsl-lite/downloads","issues_url":"https://api.github.com/repos/simongog/sdsl-lite/issues{/number}","pulls_url":"https://api.github.com/repos/simongog/sdsl-lite/pulls{/number}","milestones_url":"https://api.github.com/repos/simongog/sdsl-lite/milestones{/number}","notifications_url":"https://api.github.com/repos/simongog/sdsl-lite/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/simongog/sdsl-lite/labels{/name}","releases_url":"https://api.github.com/repos/simongog/sdsl-lite/releases{/id}","created_at":"2013-02-28T22:34:07Z","updated_at":"2014-10-05T11:13:26Z","pushed_at":"2014-10-08T22:10:08Z","git_url":"git://github.com/simongog/sdsl-lite.git","ssh_url":"git@github.com:simongog/sdsl-lite.git","clone_url":"https://github.com/simongog/sdsl-lite.git","svn_url":"https://github.com/simongog/sdsl-lite","homepage":"","size":14344,"stargazers_count":107,"watchers_count":107,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":32,"mirror_url":null,"open_issues_count":12,"forks":32,"open_issues":12,"watchers":107,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/simongog/sdsl-lite/pulls/204"},"html":{"href":"https://github.com/simongog/sdsl-lite/pull/204"},"issue":{"href":"https://api.github.com/repos/simongog/sdsl-lite/issues/204"},"comments":{"href":"https://api.github.com/repos/simongog/sdsl-lite/issues/204/comments"},"review_comments":{"href":"https://api.github.com/repos/simongog/sdsl-lite/pulls/204/comments"},"review_comment":{"href":"https://api.github.com/repos/simongog/sdsl-lite/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/simongog/sdsl-lite/pulls/204/commits"},"statuses":{"href":"https://api.github.com/repos/simongog/sdsl-lite/statuses/c67518300152966eb8019de7a6a17568415e7553"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":2,"review_comments":0,"commits":1,"additions":380,"deletions":289,"changed_files":4}}