GitHub PullRequestEvent at 2014-08-20 16:27:35
Repository: PebblePasscodeWindow
Actor: edwinfinch
Payload: {"action":"opened","number":1,"pull_request":{"url":"https://api.github.com/repos/BalestraPatrick/PebblePasscodeWindow/pulls/1","id":20056483,"html_url":"https://github.com/BalestraPatrick/PebblePasscodeWindow/pull/1","diff_url":"https://github.com/BalestraPatrick/PebblePasscodeWindow/pull/1.diff","patch_url":"https://github.com/BalestraPatrick/PebblePasscodeWindow/pull/1.patch","issue_url":"https://api.github.com/repos/BalestraPatrick/PebblePasscodeWindow/issues/1","number":1,"state":"open","locked":false,"title":"Code efficiency improvements, shrink file size, & more","user":{"login":"edwinfinch","id":5658510,"avatar_url":"https://avatars.githubusercontent.com/u/5658510?v=2","gravatar_id":"b9c3e1adbfba08e52c264590a568d701","url":"https://api.github.com/users/edwinfinch","html_url":"https://github.com/edwinfinch","followers_url":"https://api.github.com/users/edwinfinch/followers","following_url":"https://api.github.com/users/edwinfinch/following{/other_user}","gists_url":"https://api.github.com/users/edwinfinch/gists{/gist_id}","starred_url":"https://api.github.com/users/edwinfinch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/edwinfinch/subscriptions","organizations_url":"https://api.github.com/users/edwinfinch/orgs","repos_url":"https://api.github.com/users/edwinfinch/repos","events_url":"https://api.github.com/users/edwinfinch/events{/privacy}","received_events_url":"https://api.github.com/users/edwinfinch/received_events","type":"User","site_admin":false},"body":"Found some inefficiencies in your code that just made it a little more messy and difficult to read. I cleaned up most of it, but I couldn't test it (but I'm 95% sure it works as expected), so pull this request then test it on one of your projects and see that it produces the same result as before the pull. Otherwise, contact me if you need me to fix any errors I may have made.\r\n\r\nAlso, may I recommend you use just a simple Layer* for your circles instead of a bunch of bitmap layers. I didn't have time to write this in but it would be much easier to manage and much better for pebble's memory usage.\r\n\r\nHave a good one.","created_at":"2014-08-20T16:27:35Z","updated_at":"2014-08-20T16:27:35Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/BalestraPatrick/PebblePasscodeWindow/pulls/1/commits","review_comments_url":"https://api.github.com/repos/BalestraPatrick/PebblePasscodeWindow/pulls/1/comments","review_comment_url":"https://api.github.com/repos/BalestraPatrick/PebblePasscodeWindow/pulls/comments/{number}","comments_url":"https://api.github.com/repos/BalestraPatrick/PebblePasscodeWindow/issues/1/comments","statuses_url":"https://api.github.com/repos/BalestraPatrick/PebblePasscodeWindow/statuses/ed5a1500b9b591ac21533c126499cfb00544bb77","head":{"label":"edwinfinch:patch-1","ref":"patch-1","sha":"ed5a1500b9b591ac21533c126499cfb00544bb77","user":{"login":"edwinfinch","id":5658510,"avatar_url":"https://avatars.githubusercontent.com/u/5658510?v=2","gravatar_id":"b9c3e1adbfba08e52c264590a568d701","url":"https://api.github.com/users/edwinfinch","html_url":"https://github.com/edwinfinch","followers_url":"https://api.github.com/users/edwinfinch/followers","following_url":"https://api.github.com/users/edwinfinch/following{/other_user}","gists_url":"https://api.github.com/users/edwinfinch/gists{/gist_id}","starred_url":"https://api.github.com/users/edwinfinch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/edwinfinch/subscriptions","organizations_url":"https://api.github.com/users/edwinfinch/orgs","repos_url":"https://api.github.com/users/edwinfinch/repos","events_url":"https://api.github.com/users/edwinfinch/events{/privacy}","received_events_url":"https://api.github.com/users/edwinfinch/received_events","type":"User","site_admin":false},"repo":{"id":23154614,"name":"PebblePasscodeWindow","full_name":"edwinfinch/PebblePasscodeWindow","owner":{"login":"edwinfinch","id":5658510,"avatar_url":"https://avatars.githubusercontent.com/u/5658510?v=2","gravatar_id":"b9c3e1adbfba08e52c264590a568d701","url":"https://api.github.com/users/edwinfinch","html_url":"https://github.com/edwinfinch","followers_url":"https://api.github.com/users/edwinfinch/followers","following_url":"https://api.github.com/users/edwinfinch/following{/other_user}","gists_url":"https://api.github.com/users/edwinfinch/gists{/gist_id}","starred_url":"https://api.github.com/users/edwinfinch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/edwinfinch/subscriptions","organizations_url":"https://api.github.com/users/edwinfinch/orgs","repos_url":"https://api.github.com/users/edwinfinch/repos","events_url":"https://api.github.com/users/edwinfinch/events{/privacy}","received_events_url":"https://api.github.com/users/edwinfinch/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/edwinfinch/PebblePasscodeWindow","description":"A Passcode Window to make your Pebble watchapp safer.","fork":true,"url":"https://api.github.com/repos/edwinfinch/PebblePasscodeWindow","forks_url":"https://api.github.com/repos/edwinfinch/PebblePasscodeWindow/forks","keys_url":"https://api.github.com/repos/edwinfinch/PebblePasscodeWindow/keys{/key_id}","collaborators_url":"https://api.github.com/repos/edwinfinch/PebblePasscodeWindow/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/edwinfinch/PebblePasscodeWindow/teams","hooks_url":"https://api.github.com/repos/edwinfinch/PebblePasscodeWindow/hooks","issue_events_url":"https://api.github.com/repos/edwinfinch/PebblePasscodeWindow/issues/events{/number}","events_url":"https://api.github.com/repos/edwinfinch/PebblePasscodeWindow/events","assignees_url":"https://api.github.com/repos/edwinfinch/PebblePasscodeWindow/assignees{/user}","branches_url":"https://api.github.com/repos/edwinfinch/PebblePasscodeWindow/branches{/branch}","tags_url":"https://api.github.com/repos/edwinfinch/PebblePasscodeWindow/tags","blobs_url":"https://api.github.com/repos/edwinfinch/PebblePasscodeWindow/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/edwinfinch/PebblePasscodeWindow/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/edwinfinch/PebblePasscodeWindow/git/refs{/sha}","trees_url":"https://api.github.com/repos/edwinfinch/PebblePasscodeWindow/git/trees{/sha}","statuses_url":"https://api.github.com/repos/edwinfinch/PebblePasscodeWindow/statuses/{sha}","languages_url":"https://api.github.com/repos/edwinfinch/PebblePasscodeWindow/languages","stargazers_url":"https://api.github.com/repos/edwinfinch/PebblePasscodeWindow/stargazers","contributors_url":"https://api.github.com/repos/edwinfinch/PebblePasscodeWindow/contributors","subscribers_url":"https://api.github.com/repos/edwinfinch/PebblePasscodeWindow/subscribers","subscription_url":"https://api.github.com/repos/edwinfinch/PebblePasscodeWindow/subscription","commits_url":"https://api.github.com/repos/edwinfinch/PebblePasscodeWindow/commits{/sha}","git_commits_url":"https://api.github.com/repos/edwinfinch/PebblePasscodeWindow/git/commits{/sha}","comments_url":"https://api.github.com/repos/edwinfinch/PebblePasscodeWindow/comments{/number}","issue_comment_url":"https://api.github.com/repos/edwinfinch/PebblePasscodeWindow/issues/comments/{number}","contents_url":"https://api.github.com/repos/edwinfinch/PebblePasscodeWindow/contents/{+path}","compare_url":"https://api.github.com/repos/edwinfinch/PebblePasscodeWindow/compare/{base}...{head}","merges_url":"https://api.github.com/repos/edwinfinch/PebblePasscodeWindow/merges","archive_url":"https://api.github.com/repos/edwinfinch/PebblePasscodeWindow/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/edwinfinch/PebblePasscodeWindow/downloads","issues_url":"https://api.github.com/repos/edwinfinch/PebblePasscodeWindow/issues{/number}","pulls_url":"https://api.github.com/repos/edwinfinch/PebblePasscodeWindow/pulls{/number}","milestones_url":"https://api.github.com/repos/edwinfinch/PebblePasscodeWindow/milestones{/number}","notifications_url":"https://api.github.com/repos/edwinfinch/PebblePasscodeWindow/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/edwinfinch/PebblePasscodeWindow/labels{/name}","releases_url":"https://api.github.com/repos/edwinfinch/PebblePasscodeWindow/releases{/id}","created_at":"2014-08-20T15:55:22Z","updated_at":"2014-08-20T16:25:18Z","pushed_at":"2014-08-20T16:25:18Z","git_url":"git://github.com/edwinfinch/PebblePasscodeWindow.git","ssh_url":"git@github.com:edwinfinch/PebblePasscodeWindow.git","clone_url":"https://github.com/edwinfinch/PebblePasscodeWindow.git","svn_url":"https://github.com/edwinfinch/PebblePasscodeWindow","homepage":"","size":0,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":false,"has_downloads":true,"has_wiki":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"BalestraPatrick:master","ref":"master","sha":"2ec7508f51f5da4a6256fb24c1d51faf544f845b","user":{"login":"BalestraPatrick","id":3658887,"avatar_url":"https://avatars.githubusercontent.com/u/3658887?v=2","gravatar_id":"def713bbaca64c13865f9f09a70091dd","url":"https://api.github.com/users/BalestraPatrick","html_url":"https://github.com/BalestraPatrick","followers_url":"https://api.github.com/users/BalestraPatrick/followers","following_url":"https://api.github.com/users/BalestraPatrick/following{/other_user}","gists_url":"https://api.github.com/users/BalestraPatrick/gists{/gist_id}","starred_url":"https://api.github.com/users/BalestraPatrick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BalestraPatrick/subscriptions","organizations_url":"https://api.github.com/users/BalestraPatrick/orgs","repos_url":"https://api.github.com/users/BalestraPatrick/repos","events_url":"https://api.github.com/users/BalestraPatrick/events{/privacy}","received_events_url":"https://api.github.com/users/BalestraPatrick/received_events","type":"User","site_admin":false},"repo":{"id":23140258,"name":"PebblePasscodeWindow","full_name":"BalestraPatrick/PebblePasscodeWindow","owner":{"login":"BalestraPatrick","id":3658887,"avatar_url":"https://avatars.githubusercontent.com/u/3658887?v=2","gravatar_id":"def713bbaca64c13865f9f09a70091dd","url":"https://api.github.com/users/BalestraPatrick","html_url":"https://github.com/BalestraPatrick","followers_url":"https://api.github.com/users/BalestraPatrick/followers","following_url":"https://api.github.com/users/BalestraPatrick/following{/other_user}","gists_url":"https://api.github.com/users/BalestraPatrick/gists{/gist_id}","starred_url":"https://api.github.com/users/BalestraPatrick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BalestraPatrick/subscriptions","organizations_url":"https://api.github.com/users/BalestraPatrick/orgs","repos_url":"https://api.github.com/users/BalestraPatrick/repos","events_url":"https://api.github.com/users/BalestraPatrick/events{/privacy}","received_events_url":"https://api.github.com/users/BalestraPatrick/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/BalestraPatrick/PebblePasscodeWindow","description":"A Passcode Window to make your Pebble watchapp safer.","fork":false,"url":"https://api.github.com/repos/BalestraPatrick/PebblePasscodeWindow","forks_url":"https://api.github.com/repos/BalestraPatrick/PebblePasscodeWindow/forks","keys_url":"https://api.github.com/repos/BalestraPatrick/PebblePasscodeWindow/keys{/key_id}","collaborators_url":"https://api.github.com/repos/BalestraPatrick/PebblePasscodeWindow/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/BalestraPatrick/PebblePasscodeWindow/teams","hooks_url":"https://api.github.com/repos/BalestraPatrick/PebblePasscodeWindow/hooks","issue_events_url":"https://api.github.com/repos/BalestraPatrick/PebblePasscodeWindow/issues/events{/number}","events_url":"https://api.github.com/repos/BalestraPatrick/PebblePasscodeWindow/events","assignees_url":"https://api.github.com/repos/BalestraPatrick/PebblePasscodeWindow/assignees{/user}","branches_url":"https://api.github.com/repos/BalestraPatrick/PebblePasscodeWindow/branches{/branch}","tags_url":"https://api.github.com/repos/BalestraPatrick/PebblePasscodeWindow/tags","blobs_url":"https://api.github.com/repos/BalestraPatrick/PebblePasscodeWindow/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/BalestraPatrick/PebblePasscodeWindow/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/BalestraPatrick/PebblePasscodeWindow/git/refs{/sha}","trees_url":"https://api.github.com/repos/BalestraPatrick/PebblePasscodeWindow/git/trees{/sha}","statuses_url":"https://api.github.com/repos/BalestraPatrick/PebblePasscodeWindow/statuses/{sha}","languages_url":"https://api.github.com/repos/BalestraPatrick/PebblePasscodeWindow/languages","stargazers_url":"https://api.github.com/repos/BalestraPatrick/PebblePasscodeWindow/stargazers","contributors_url":"https://api.github.com/repos/BalestraPatrick/PebblePasscodeWindow/contributors","subscribers_url":"https://api.github.com/repos/BalestraPatrick/PebblePasscodeWindow/subscribers","subscription_url":"https://api.github.com/repos/BalestraPatrick/PebblePasscodeWindow/subscription","commits_url":"https://api.github.com/repos/BalestraPatrick/PebblePasscodeWindow/commits{/sha}","git_commits_url":"https://api.github.com/repos/BalestraPatrick/PebblePasscodeWindow/git/commits{/sha}","comments_url":"https://api.github.com/repos/BalestraPatrick/PebblePasscodeWindow/comments{/number}","issue_comment_url":"https://api.github.com/repos/BalestraPatrick/PebblePasscodeWindow/issues/comments/{number}","contents_url":"https://api.github.com/repos/BalestraPatrick/PebblePasscodeWindow/contents/{+path}","compare_url":"https://api.github.com/repos/BalestraPatrick/PebblePasscodeWindow/compare/{base}...{head}","merges_url":"https://api.github.com/repos/BalestraPatrick/PebblePasscodeWindow/merges","archive_url":"https://api.github.com/repos/BalestraPatrick/PebblePasscodeWindow/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/BalestraPatrick/PebblePasscodeWindow/downloads","issues_url":"https://api.github.com/repos/BalestraPatrick/PebblePasscodeWindow/issues{/number}","pulls_url":"https://api.github.com/repos/BalestraPatrick/PebblePasscodeWindow/pulls{/number}","milestones_url":"https://api.github.com/repos/BalestraPatrick/PebblePasscodeWindow/milestones{/number}","notifications_url":"https://api.github.com/repos/BalestraPatrick/PebblePasscodeWindow/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/BalestraPatrick/PebblePasscodeWindow/labels{/name}","releases_url":"https://api.github.com/repos/BalestraPatrick/PebblePasscodeWindow/releases{/id}","created_at":"2014-08-20T07:41:11Z","updated_at":"2014-08-20T15:17:29Z","pushed_at":"2014-08-20T07:49:47Z","git_url":"git://github.com/BalestraPatrick/PebblePasscodeWindow.git","ssh_url":"git@github.com:BalestraPatrick/PebblePasscodeWindow.git","clone_url":"https://github.com/BalestraPatrick/PebblePasscodeWindow.git","svn_url":"https://github.com/BalestraPatrick/PebblePasscodeWindow","homepage":"","size":0,"stargazers_count":3,"watchers_count":3,"language":"C","has_issues":true,"has_downloads":true,"has_wiki":true,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/BalestraPatrick/PebblePasscodeWindow/pulls/1"},"html":{"href":"https://github.com/BalestraPatrick/PebblePasscodeWindow/pull/1"},"issue":{"href":"https://api.github.com/repos/BalestraPatrick/PebblePasscodeWindow/issues/1"},"comments":{"href":"https://api.github.com/repos/BalestraPatrick/PebblePasscodeWindow/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/BalestraPatrick/PebblePasscodeWindow/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/BalestraPatrick/PebblePasscodeWindow/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/BalestraPatrick/PebblePasscodeWindow/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/BalestraPatrick/PebblePasscodeWindow/statuses/ed5a1500b9b591ac21533c126499cfb00544bb77"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":98,"deletions":208,"changed_files":1}}