{"action":"closed","number":1440,"pull_request":{"url":"https://api.github.com/repos/MarlinFirmware/Marlin/pulls/1440","id":28411337,"html_url":"https://github.com/MarlinFirmware/Marlin/pull/1440","diff_url":"https://github.com/MarlinFirmware/Marlin/pull/1440.diff","patch_url":"https://github.com/MarlinFirmware/Marlin/pull/1440.patch","issue_url":"https://api.github.com/repos/MarlinFirmware/Marlin/issues/1440","number":1440,"state":"closed","locked":false,"title":"Break out gcode handlers - part 1","user":{"login":"thinkyhead","id":698003,"avatar_url":"https://avatars.githubusercontent.com/u/698003?v=3","gravatar_id":"","url":"https://api.github.com/users/thinkyhead","html_url":"https://github.com/thinkyhead","followers_url":"https://api.github.com/users/thinkyhead/followers","following_url":"https://api.github.com/users/thinkyhead/following{/other_user}","gists_url":"https://api.github.com/users/thinkyhead/gists{/gist_id}","starred_url":"https://api.github.com/users/thinkyhead/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thinkyhead/subscriptions","organizations_url":"https://api.github.com/users/thinkyhead/orgs","repos_url":"https://api.github.com/users/thinkyhead/repos","events_url":"https://api.github.com/users/thinkyhead/events{/privacy}","received_events_url":"https://api.github.com/users/thinkyhead/received_events","type":"User","site_admin":false},"body":"This begins the process of breaking out GCode handlers into separate functions, tested and found to add nothing to compiled code size or incur extra overhead, while improving readability and maintainability of code.\r\n\r\n- Affects only Marlin_main.cpp\r\n- Moved G0, G1, G2, G3, G4, G10, G11, G28, G29, G30, G92 into their own handler functions\r\n- Applied coding standards to new additions and some of the staler lines","created_at":"2015-01-31T07:23:00Z","updated_at":"2015-02-02T03:12:38Z","closed_at":"2015-02-02T03:12:38Z","merged_at":null,"merge_commit_sha":"fc048266f14611daec50b4cb0be60001ad72602b","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/MarlinFirmware/Marlin/pulls/1440/commits","review_comments_url":"https://api.github.com/repos/MarlinFirmware/Marlin/pulls/1440/comments","review_comment_url":"https://api.github.com/repos/MarlinFirmware/Marlin/pulls/comments/{number}","comments_url":"https://api.github.com/repos/MarlinFirmware/Marlin/issues/1440/comments","statuses_url":"https://api.github.com/repos/MarlinFirmware/Marlin/statuses/54e51488ec6841a9c0f823ec859236e58802972f","head":{"label":"thinkyhead:break_out_gcode_handlers","ref":"break_out_gcode_handlers","sha":"54e51488ec6841a9c0f823ec859236e58802972f","user":{"login":"thinkyhead","id":698003,"avatar_url":"https://avatars.githubusercontent.com/u/698003?v=3","gravatar_id":"","url":"https://api.github.com/users/thinkyhead","html_url":"https://github.com/thinkyhead","followers_url":"https://api.github.com/users/thinkyhead/followers","following_url":"https://api.github.com/users/thinkyhead/following{/other_user}","gists_url":"https://api.github.com/users/thinkyhead/gists{/gist_id}","starred_url":"https://api.github.com/users/thinkyhead/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thinkyhead/subscriptions","organizations_url":"https://api.github.com/users/thinkyhead/orgs","repos_url":"https://api.github.com/users/thinkyhead/repos","events_url":"https://api.github.com/users/thinkyhead/events{/privacy}","received_events_url":"https://api.github.com/users/thinkyhead/received_events","type":"User","site_admin":false},"repo":{"id":24809835,"name":"Marlin","full_name":"thinkyhead/Marlin","owner":{"login":"thinkyhead","id":698003,"avatar_url":"https://avatars.githubusercontent.com/u/698003?v=3","gravatar_id":"","url":"https://api.github.com/users/thinkyhead","html_url":"https://github.com/thinkyhead","followers_url":"https://api.github.com/users/thinkyhead/followers","following_url":"https://api.github.com/users/thinkyhead/following{/other_user}","gists_url":"https://api.github.com/users/thinkyhead/gists{/gist_id}","starred_url":"https://api.github.com/users/thinkyhead/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thinkyhead/subscriptions","organizations_url":"https://api.github.com/users/thinkyhead/orgs","repos_url":"https://api.github.com/users/thinkyhead/repos","events_url":"https://api.github.com/users/thinkyhead/events{/privacy}","received_events_url":"https://api.github.com/users/thinkyhead/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/thinkyhead/Marlin","description":"This fork of Marlin firmware is for any experimental features that we're working on at Thinkyhead. See the Wiki page for details. If any of the branches look interesting feel free to fork and contribute. \"Cutting-edge\" includes all the latest goodies, and is optimized for my Prusa i3 (Mega2560 and G3D LCD).","fork":true,"url":"https://api.github.com/repos/thinkyhead/Marlin","forks_url":"https://api.github.com/repos/thinkyhead/Marlin/forks","keys_url":"https://api.github.com/repos/thinkyhead/Marlin/keys{/key_id}","collaborators_url":"https://api.github.com/repos/thinkyhead/Marlin/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/thinkyhead/Marlin/teams","hooks_url":"https://api.github.com/repos/thinkyhead/Marlin/hooks","issue_events_url":"https://api.github.com/repos/thinkyhead/Marlin/issues/events{/number}","events_url":"https://api.github.com/repos/thinkyhead/Marlin/events","assignees_url":"https://api.github.com/repos/thinkyhead/Marlin/assignees{/user}","branches_url":"https://api.github.com/repos/thinkyhead/Marlin/branches{/branch}","tags_url":"https://api.github.com/repos/thinkyhead/Marlin/tags","blobs_url":"https://api.github.com/repos/thinkyhead/Marlin/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/thinkyhead/Marlin/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/thinkyhead/Marlin/git/refs{/sha}","trees_url":"https://api.github.com/repos/thinkyhead/Marlin/git/trees{/sha}","statuses_url":"https://api.github.com/repos/thinkyhead/Marlin/statuses/{sha}","languages_url":"https://api.github.com/repos/thinkyhead/Marlin/languages","stargazers_url":"https://api.github.com/repos/thinkyhead/Marlin/stargazers","contributors_url":"https://api.github.com/repos/thinkyhead/Marlin/contributors","subscribers_url":"https://api.github.com/repos/thinkyhead/Marlin/subscribers","subscription_url":"https://api.github.com/repos/thinkyhead/Marlin/subscription","commits_url":"https://api.github.com/repos/thinkyhead/Marlin/commits{/sha}","git_commits_url":"https://api.github.com/repos/thinkyhead/Marlin/git/commits{/sha}","comments_url":"https://api.github.com/repos/thinkyhead/Marlin/comments{/number}","issue_comment_url":"https://api.github.com/repos/thinkyhead/Marlin/issues/comments/{number}","contents_url":"https://api.github.com/repos/thinkyhead/Marlin/contents/{+path}","compare_url":"https://api.github.com/repos/thinkyhead/Marlin/compare/{base}...{head}","merges_url":"https://api.github.com/repos/thinkyhead/Marlin/merges","archive_url":"https://api.github.com/repos/thinkyhead/Marlin/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/thinkyhead/Marlin/downloads","issues_url":"https://api.github.com/repos/thinkyhead/Marlin/issues{/number}","pulls_url":"https://api.github.com/repos/thinkyhead/Marlin/pulls{/number}","milestones_url":"https://api.github.com/repos/thinkyhead/Marlin/milestones{/number}","notifications_url":"https://api.github.com/repos/thinkyhead/Marlin/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/thinkyhead/Marlin/labels{/name}","releases_url":"https://api.github.com/repos/thinkyhead/Marlin/releases{/id}","created_at":"2014-10-05T06:17:14Z","updated_at":"2015-02-02T02:48:46Z","pushed_at":"2015-02-02T03:12:38Z","git_url":"git://github.com/thinkyhead/Marlin.git","ssh_url":"git@github.com:thinkyhead/Marlin.git","clone_url":"https://github.com/thinkyhead/Marlin.git","svn_url":"https://github.com/thinkyhead/Marlin","homepage":"","size":19070,"stargazers_count":2,"watchers_count":2,"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":2,"default_branch":"Development"}},"base":{"label":"MarlinFirmware:Development","ref":"Development","sha":"2dd43a82b1cc59cc4ad45bc7d1773fcfff5b48c3","user":{"login":"MarlinFirmware","id":10418365,"avatar_url":"https://avatars.githubusercontent.com/u/10418365?v=3","gravatar_id":"","url":"https://api.github.com/users/MarlinFirmware","html_url":"https://github.com/MarlinFirmware","followers_url":"https://api.github.com/users/MarlinFirmware/followers","following_url":"https://api.github.com/users/MarlinFirmware/following{/other_user}","gists_url":"https://api.github.com/users/MarlinFirmware/gists{/gist_id}","starred_url":"https://api.github.com/users/MarlinFirmware/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MarlinFirmware/subscriptions","organizations_url":"https://api.github.com/users/MarlinFirmware/orgs","repos_url":"https://api.github.com/users/MarlinFirmware/repos","events_url":"https://api.github.com/users/MarlinFirmware/events{/privacy}","received_events_url":"https://api.github.com/users/MarlinFirmware/received_events","type":"Organization","site_admin":false},"repo":{"id":2200856,"name":"Marlin","full_name":"MarlinFirmware/Marlin","owner":{"login":"MarlinFirmware","id":10418365,"avatar_url":"https://avatars.githubusercontent.com/u/10418365?v=3","gravatar_id":"","url":"https://api.github.com/users/MarlinFirmware","html_url":"https://github.com/MarlinFirmware","followers_url":"https://api.github.com/users/MarlinFirmware/followers","following_url":"https://api.github.com/users/MarlinFirmware/following{/other_user}","gists_url":"https://api.github.com/users/MarlinFirmware/gists{/gist_id}","starred_url":"https://api.github.com/users/MarlinFirmware/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MarlinFirmware/subscriptions","organizations_url":"https://api.github.com/users/MarlinFirmware/orgs","repos_url":"https://api.github.com/users/MarlinFirmware/repos","events_url":"https://api.github.com/users/MarlinFirmware/events{/privacy}","received_events_url":"https://api.github.com/users/MarlinFirmware/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/MarlinFirmware/Marlin","description":"Reprap FW with look ahead. SDcard and LCD support. It works on Gen6, Ultimaker, RAMPS and Sanguinololu","fork":false,"url":"https://api.github.com/repos/MarlinFirmware/Marlin","forks_url":"https://api.github.com/repos/MarlinFirmware/Marlin/forks","keys_url":"https://api.github.com/repos/MarlinFirmware/Marlin/keys{/key_id}","collaborators_url":"https://api.github.com/repos/MarlinFirmware/Marlin/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/MarlinFirmware/Marlin/teams","hooks_url":"https://api.github.com/repos/MarlinFirmware/Marlin/hooks","issue_events_url":"https://api.github.com/repos/MarlinFirmware/Marlin/issues/events{/number}","events_url":"https://api.github.com/repos/MarlinFirmware/Marlin/events","assignees_url":"https://api.github.com/repos/MarlinFirmware/Marlin/assignees{/user}","branches_url":"https://api.github.com/repos/MarlinFirmware/Marlin/branches{/branch}","tags_url":"https://api.github.com/repos/MarlinFirmware/Marlin/tags","blobs_url":"https://api.github.com/repos/MarlinFirmware/Marlin/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/MarlinFirmware/Marlin/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/MarlinFirmware/Marlin/git/refs{/sha}","trees_url":"https://api.github.com/repos/MarlinFirmware/Marlin/git/trees{/sha}","statuses_url":"https://api.github.com/repos/MarlinFirmware/Marlin/statuses/{sha}","languages_url":"https://api.github.com/repos/MarlinFirmware/Marlin/languages","stargazers_url":"https://api.github.com/repos/MarlinFirmware/Marlin/stargazers","contributors_url":"https://api.github.com/repos/MarlinFirmware/Marlin/contributors","subscribers_url":"https://api.github.com/repos/MarlinFirmware/Marlin/subscribers","subscription_url":"https://api.github.com/repos/MarlinFirmware/Marlin/subscription","commits_url":"https://api.github.com/repos/MarlinFirmware/Marlin/commits{/sha}","git_commits_url":"https://api.github.com/repos/MarlinFirmware/Marlin/git/commits{/sha}","comments_url":"https://api.github.com/repos/MarlinFirmware/Marlin/comments{/number}","issue_comment_url":"https://api.github.com/repos/MarlinFirmware/Marlin/issues/comments/{number}","contents_url":"https://api.github.com/repos/MarlinFirmware/Marlin/contents/{+path}","compare_url":"https://api.github.com/repos/MarlinFirmware/Marlin/compare/{base}...{head}","merges_url":"https://api.github.com/repos/MarlinFirmware/Marlin/merges","archive_url":"https://api.github.com/repos/MarlinFirmware/Marlin/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/MarlinFirmware/Marlin/downloads","issues_url":"https://api.github.com/repos/MarlinFirmware/Marlin/issues{/number}","pulls_url":"https://api.github.com/repos/MarlinFirmware/Marlin/pulls{/number}","milestones_url":"https://api.github.com/repos/MarlinFirmware/Marlin/milestones{/number}","notifications_url":"https://api.github.com/repos/MarlinFirmware/Marlin/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/MarlinFirmware/Marlin/labels{/name}","releases_url":"https://api.github.com/repos/MarlinFirmware/Marlin/releases{/id}","created_at":"2011-08-13T08:07:20Z","updated_at":"2015-02-02T02:37:21Z","pushed_at":"2015-02-02T02:37:20Z","git_url":"git://github.com/MarlinFirmware/Marlin.git","ssh_url":"git@github.com:MarlinFirmware/Marlin.git","clone_url":"https://github.com/MarlinFirmware/Marlin.git","svn_url":"https://github.com/MarlinFirmware/Marlin","homepage":"","size":27552,"stargazers_count":989,"watchers_count":989,"language":"C","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1800,"mirror_url":null,"open_issues_count":98,"forks":1800,"open_issues":98,"watchers":989,"default_branch":"Development"}},"_links":{"self":{"href":"https://api.github.com/repos/MarlinFirmware/Marlin/pulls/1440"},"html":{"href":"https://github.com/MarlinFirmware/Marlin/pull/1440"},"issue":{"href":"https://api.github.com/repos/MarlinFirmware/Marlin/issues/1440"},"comments":{"href":"https://api.github.com/repos/MarlinFirmware/Marlin/issues/1440/comments"},"review_comments":{"href":"https://api.github.com/repos/MarlinFirmware/Marlin/pulls/1440/comments"},"review_comment":{"href":"https://api.github.com/repos/MarlinFirmware/Marlin/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/MarlinFirmware/Marlin/pulls/1440/commits"},"statuses":{"href":"https://api.github.com/repos/MarlinFirmware/Marlin/statuses/54e51488ec6841a9c0f823ec859236e58802972f"}},"merged":false,"mergeable":true,"mergeable_state":"unstable","merged_by":null,"comments":6,"review_comments":0,"commits":22,"additions":856,"deletions":798,"changed_files":1}}