{"action":"closed","number":27,"pull_request":{"url":"https://api.github.com/repos/OpenMeridian/Meridian59-Patcher/pulls/27","id":52399746,"html_url":"https://github.com/OpenMeridian/Meridian59-Patcher/pull/27","diff_url":"https://github.com/OpenMeridian/Meridian59-Patcher/pull/27.diff","patch_url":"https://github.com/OpenMeridian/Meridian59-Patcher/pull/27.patch","issue_url":"https://api.github.com/repos/OpenMeridian/Meridian59-Patcher/issues/27","number":27,"state":"closed","locked":false,"title":"Add .NET and VS C++ redist dependency checks for Ogre client, code cleanup and misc fixes.","user":{"login":"skittles1","id":4743083,"avatar_url":"https://avatars.githubusercontent.com/u/4743083?v=3","gravatar_id":"","url":"https://api.github.com/users/skittles1","html_url":"https://github.com/skittles1","followers_url":"https://api.github.com/users/skittles1/followers","following_url":"https://api.github.com/users/skittles1/following{/other_user}","gists_url":"https://api.github.com/users/skittles1/gists{/gist_id}","starred_url":"https://api.github.com/users/skittles1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/skittles1/subscriptions","organizations_url":"https://api.github.com/users/skittles1/orgs","repos_url":"https://api.github.com/users/skittles1/repos","events_url":"https://api.github.com/users/skittles1/events{/privacy}","received_events_url":"https://api.github.com/users/skittles1/received_events","type":"User","site_admin":false},"body":"This should be ready to merge unless anyone can find something wrong. I don't think we need the DirectX End-User Runtime check as the only people likely missing this are on XP and won't be able to install the .NET framework afaik.\r\n\r\n* Added ClientType variable to the list of vars updated from the web profiles.\r\n* Added a dependency check for .NET version 4.5.1 or higher when downloading Ogre client. If the user has a lower version, the download is stopped and the user is directed to download .NET in the patcher's browser window.\r\n* Added a dependency check for the VS 2013 C++ redistributables when downloading Ogre client. User is redirected to download them if missing.\r\n* Event handlers are now removed from a ClientPatcher object when a new one is instantiated. Not doing this prevents the old one from being deleted, and all event handlers will be called if the event occurs.\r\n* Moved more code into regions for ease of editing.\r\n* Renamed button1 to btnQuit.\r\n* Added a GetClientPatcher() function to ClientPatchForm.cs which uses the ClientType of the passed PatcherSettings to decide which ClientPatcher object type to use. Adds/removes event handlers.","created_at":"2015-12-02T14:10:57Z","updated_at":"2015-12-03T02:39:59Z","closed_at":"2015-12-03T02:39:59Z","merged_at":"2015-12-03T02:39:59Z","merge_commit_sha":"828da9590c5fbf235b85cbd74df4134b8dbbf01d","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/OpenMeridian/Meridian59-Patcher/pulls/27/commits","review_comments_url":"https://api.github.com/repos/OpenMeridian/Meridian59-Patcher/pulls/27/comments","review_comment_url":"https://api.github.com/repos/OpenMeridian/Meridian59-Patcher/pulls/comments{/number}","comments_url":"https://api.github.com/repos/OpenMeridian/Meridian59-Patcher/issues/27/comments","statuses_url":"https://api.github.com/repos/OpenMeridian/Meridian59-Patcher/statuses/95e111777a7841a48f9122428e30f3fab2100e4f","head":{"label":"skittles1:prereq","ref":"prereq","sha":"95e111777a7841a48f9122428e30f3fab2100e4f","user":{"login":"skittles1","id":4743083,"avatar_url":"https://avatars.githubusercontent.com/u/4743083?v=3","gravatar_id":"","url":"https://api.github.com/users/skittles1","html_url":"https://github.com/skittles1","followers_url":"https://api.github.com/users/skittles1/followers","following_url":"https://api.github.com/users/skittles1/following{/other_user}","gists_url":"https://api.github.com/users/skittles1/gists{/gist_id}","starred_url":"https://api.github.com/users/skittles1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/skittles1/subscriptions","organizations_url":"https://api.github.com/users/skittles1/orgs","repos_url":"https://api.github.com/users/skittles1/repos","events_url":"https://api.github.com/users/skittles1/events{/privacy}","received_events_url":"https://api.github.com/users/skittles1/received_events","type":"User","site_admin":false},"repo":{"id":45077102,"name":"Meridian59-Patcher","full_name":"skittles1/Meridian59-Patcher","owner":{"login":"skittles1","id":4743083,"avatar_url":"https://avatars.githubusercontent.com/u/4743083?v=3","gravatar_id":"","url":"https://api.github.com/users/skittles1","html_url":"https://github.com/skittles1","followers_url":"https://api.github.com/users/skittles1/followers","following_url":"https://api.github.com/users/skittles1/following{/other_user}","gists_url":"https://api.github.com/users/skittles1/gists{/gist_id}","starred_url":"https://api.github.com/users/skittles1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/skittles1/subscriptions","organizations_url":"https://api.github.com/users/skittles1/orgs","repos_url":"https://api.github.com/users/skittles1/repos","events_url":"https://api.github.com/users/skittles1/events{/privacy}","received_events_url":"https://api.github.com/users/skittles1/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/skittles1/Meridian59-Patcher","description":"","fork":true,"url":"https://api.github.com/repos/skittles1/Meridian59-Patcher","forks_url":"https://api.github.com/repos/skittles1/Meridian59-Patcher/forks","keys_url":"https://api.github.com/repos/skittles1/Meridian59-Patcher/keys{/key_id}","collaborators_url":"https://api.github.com/repos/skittles1/Meridian59-Patcher/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/skittles1/Meridian59-Patcher/teams","hooks_url":"https://api.github.com/repos/skittles1/Meridian59-Patcher/hooks","issue_events_url":"https://api.github.com/repos/skittles1/Meridian59-Patcher/issues/events{/number}","events_url":"https://api.github.com/repos/skittles1/Meridian59-Patcher/events","assignees_url":"https://api.github.com/repos/skittles1/Meridian59-Patcher/assignees{/user}","branches_url":"https://api.github.com/repos/skittles1/Meridian59-Patcher/branches{/branch}","tags_url":"https://api.github.com/repos/skittles1/Meridian59-Patcher/tags","blobs_url":"https://api.github.com/repos/skittles1/Meridian59-Patcher/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/skittles1/Meridian59-Patcher/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/skittles1/Meridian59-Patcher/git/refs{/sha}","trees_url":"https://api.github.com/repos/skittles1/Meridian59-Patcher/git/trees{/sha}","statuses_url":"https://api.github.com/repos/skittles1/Meridian59-Patcher/statuses/{sha}","languages_url":"https://api.github.com/repos/skittles1/Meridian59-Patcher/languages","stargazers_url":"https://api.github.com/repos/skittles1/Meridian59-Patcher/stargazers","contributors_url":"https://api.github.com/repos/skittles1/Meridian59-Patcher/contributors","subscribers_url":"https://api.github.com/repos/skittles1/Meridian59-Patcher/subscribers","subscription_url":"https://api.github.com/repos/skittles1/Meridian59-Patcher/subscription","commits_url":"https://api.github.com/repos/skittles1/Meridian59-Patcher/commits{/sha}","git_commits_url":"https://api.github.com/repos/skittles1/Meridian59-Patcher/git/commits{/sha}","comments_url":"https://api.github.com/repos/skittles1/Meridian59-Patcher/comments{/number}","issue_comment_url":"https://api.github.com/repos/skittles1/Meridian59-Patcher/issues/comments{/number}","contents_url":"https://api.github.com/repos/skittles1/Meridian59-Patcher/contents/{+path}","compare_url":"https://api.github.com/repos/skittles1/Meridian59-Patcher/compare/{base}...{head}","merges_url":"https://api.github.com/repos/skittles1/Meridian59-Patcher/merges","archive_url":"https://api.github.com/repos/skittles1/Meridian59-Patcher/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/skittles1/Meridian59-Patcher/downloads","issues_url":"https://api.github.com/repos/skittles1/Meridian59-Patcher/issues{/number}","pulls_url":"https://api.github.com/repos/skittles1/Meridian59-Patcher/pulls{/number}","milestones_url":"https://api.github.com/repos/skittles1/Meridian59-Patcher/milestones{/number}","notifications_url":"https://api.github.com/repos/skittles1/Meridian59-Patcher/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/skittles1/Meridian59-Patcher/labels{/name}","releases_url":"https://api.github.com/repos/skittles1/Meridian59-Patcher/releases{/id}","created_at":"2015-10-27T23:46:04Z","updated_at":"2015-10-27T23:46:04Z","pushed_at":"2015-12-02T17:02:18Z","git_url":"git://github.com/skittles1/Meridian59-Patcher.git","ssh_url":"git@github.com:skittles1/Meridian59-Patcher.git","clone_url":"https://github.com/skittles1/Meridian59-Patcher.git","svn_url":"https://github.com/skittles1/Meridian59-Patcher","homepage":null,"size":3540,"stargazers_count":0,"watchers_count":0,"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":0,"default_branch":"master"}},"base":{"label":"OpenMeridian:develop","ref":"develop","sha":"e9533af6325f9820e2015307b4067e8bf77f0c51","user":{"login":"OpenMeridian","id":8811562,"avatar_url":"https://avatars.githubusercontent.com/u/8811562?v=3","gravatar_id":"","url":"https://api.github.com/users/OpenMeridian","html_url":"https://github.com/OpenMeridian","followers_url":"https://api.github.com/users/OpenMeridian/followers","following_url":"https://api.github.com/users/OpenMeridian/following{/other_user}","gists_url":"https://api.github.com/users/OpenMeridian/gists{/gist_id}","starred_url":"https://api.github.com/users/OpenMeridian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OpenMeridian/subscriptions","organizations_url":"https://api.github.com/users/OpenMeridian/orgs","repos_url":"https://api.github.com/users/OpenMeridian/repos","events_url":"https://api.github.com/users/OpenMeridian/events{/privacy}","received_events_url":"https://api.github.com/users/OpenMeridian/received_events","type":"Organization","site_admin":false},"repo":{"id":40847940,"name":"Meridian59-Patcher","full_name":"OpenMeridian/Meridian59-Patcher","owner":{"login":"OpenMeridian","id":8811562,"avatar_url":"https://avatars.githubusercontent.com/u/8811562?v=3","gravatar_id":"","url":"https://api.github.com/users/OpenMeridian","html_url":"https://github.com/OpenMeridian","followers_url":"https://api.github.com/users/OpenMeridian/followers","following_url":"https://api.github.com/users/OpenMeridian/following{/other_user}","gists_url":"https://api.github.com/users/OpenMeridian/gists{/gist_id}","starred_url":"https://api.github.com/users/OpenMeridian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OpenMeridian/subscriptions","organizations_url":"https://api.github.com/users/OpenMeridian/orgs","repos_url":"https://api.github.com/users/OpenMeridian/repos","events_url":"https://api.github.com/users/OpenMeridian/events{/privacy}","received_events_url":"https://api.github.com/users/OpenMeridian/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/OpenMeridian/Meridian59-Patcher","description":"Client patching software for Open Meridian clients","fork":false,"url":"https://api.github.com/repos/OpenMeridian/Meridian59-Patcher","forks_url":"https://api.github.com/repos/OpenMeridian/Meridian59-Patcher/forks","keys_url":"https://api.github.com/repos/OpenMeridian/Meridian59-Patcher/keys{/key_id}","collaborators_url":"https://api.github.com/repos/OpenMeridian/Meridian59-Patcher/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/OpenMeridian/Meridian59-Patcher/teams","hooks_url":"https://api.github.com/repos/OpenMeridian/Meridian59-Patcher/hooks","issue_events_url":"https://api.github.com/repos/OpenMeridian/Meridian59-Patcher/issues/events{/number}","events_url":"https://api.github.com/repos/OpenMeridian/Meridian59-Patcher/events","assignees_url":"https://api.github.com/repos/OpenMeridian/Meridian59-Patcher/assignees{/user}","branches_url":"https://api.github.com/repos/OpenMeridian/Meridian59-Patcher/branches{/branch}","tags_url":"https://api.github.com/repos/OpenMeridian/Meridian59-Patcher/tags","blobs_url":"https://api.github.com/repos/OpenMeridian/Meridian59-Patcher/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/OpenMeridian/Meridian59-Patcher/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/OpenMeridian/Meridian59-Patcher/git/refs{/sha}","trees_url":"https://api.github.com/repos/OpenMeridian/Meridian59-Patcher/git/trees{/sha}","statuses_url":"https://api.github.com/repos/OpenMeridian/Meridian59-Patcher/statuses/{sha}","languages_url":"https://api.github.com/repos/OpenMeridian/Meridian59-Patcher/languages","stargazers_url":"https://api.github.com/repos/OpenMeridian/Meridian59-Patcher/stargazers","contributors_url":"https://api.github.com/repos/OpenMeridian/Meridian59-Patcher/contributors","subscribers_url":"https://api.github.com/repos/OpenMeridian/Meridian59-Patcher/subscribers","subscription_url":"https://api.github.com/repos/OpenMeridian/Meridian59-Patcher/subscription","commits_url":"https://api.github.com/repos/OpenMeridian/Meridian59-Patcher/commits{/sha}","git_commits_url":"https://api.github.com/repos/OpenMeridian/Meridian59-Patcher/git/commits{/sha}","comments_url":"https://api.github.com/repos/OpenMeridian/Meridian59-Patcher/comments{/number}","issue_comment_url":"https://api.github.com/repos/OpenMeridian/Meridian59-Patcher/issues/comments{/number}","contents_url":"https://api.github.com/repos/OpenMeridian/Meridian59-Patcher/contents/{+path}","compare_url":"https://api.github.com/repos/OpenMeridian/Meridian59-Patcher/compare/{base}...{head}","merges_url":"https://api.github.com/repos/OpenMeridian/Meridian59-Patcher/merges","archive_url":"https://api.github.com/repos/OpenMeridian/Meridian59-Patcher/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/OpenMeridian/Meridian59-Patcher/downloads","issues_url":"https://api.github.com/repos/OpenMeridian/Meridian59-Patcher/issues{/number}","pulls_url":"https://api.github.com/repos/OpenMeridian/Meridian59-Patcher/pulls{/number}","milestones_url":"https://api.github.com/repos/OpenMeridian/Meridian59-Patcher/milestones{/number}","notifications_url":"https://api.github.com/repos/OpenMeridian/Meridian59-Patcher/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/OpenMeridian/Meridian59-Patcher/labels{/name}","releases_url":"https://api.github.com/repos/OpenMeridian/Meridian59-Patcher/releases{/id}","created_at":"2015-08-16T23:34:47Z","updated_at":"2015-11-21T19:48:56Z","pushed_at":"2015-12-03T02:39:59Z","git_url":"git://github.com/OpenMeridian/Meridian59-Patcher.git","ssh_url":"git@github.com:OpenMeridian/Meridian59-Patcher.git","clone_url":"https://github.com/OpenMeridian/Meridian59-Patcher.git","svn_url":"https://github.com/OpenMeridian/Meridian59-Patcher","homepage":"http://openmeridian.org","size":3522,"stargazers_count":0,"watchers_count":0,"language":"C#","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":2,"forks":3,"open_issues":2,"watchers":0,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/OpenMeridian/Meridian59-Patcher/pulls/27"},"html":{"href":"https://github.com/OpenMeridian/Meridian59-Patcher/pull/27"},"issue":{"href":"https://api.github.com/repos/OpenMeridian/Meridian59-Patcher/issues/27"},"comments":{"href":"https://api.github.com/repos/OpenMeridian/Meridian59-Patcher/issues/27/comments"},"review_comments":{"href":"https://api.github.com/repos/OpenMeridian/Meridian59-Patcher/pulls/27/comments"},"review_comment":{"href":"https://api.github.com/repos/OpenMeridian/Meridian59-Patcher/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/OpenMeridian/Meridian59-Patcher/pulls/27/commits"},"statuses":{"href":"https://api.github.com/repos/OpenMeridian/Meridian59-Patcher/statuses/95e111777a7841a48f9122428e30f3fab2100e4f"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"Daenks","id":552647,"avatar_url":"https://avatars.githubusercontent.com/u/552647?v=3","gravatar_id":"","url":"https://api.github.com/users/Daenks","html_url":"https://github.com/Daenks","followers_url":"https://api.github.com/users/Daenks/followers","following_url":"https://api.github.com/users/Daenks/following{/other_user}","gists_url":"https://api.github.com/users/Daenks/gists{/gist_id}","starred_url":"https://api.github.com/users/Daenks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Daenks/subscriptions","organizations_url":"https://api.github.com/users/Daenks/orgs","repos_url":"https://api.github.com/users/Daenks/repos","events_url":"https://api.github.com/users/Daenks/events{/privacy}","received_events_url":"https://api.github.com/users/Daenks/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":3,"additions":342,"deletions":199,"changed_files":6}}