{"action":"created","comment":{"url":"https://api.github.com/repos/minetest/minetest/pulls/comments/25571262","id":25571262,"diff_hunk":"@@ -2096,11 +2100,21 @@ bool Game::initGui(std::wstring *error_message)\n \tguitext_status->setVisible(false);\n \n \t// Chat text\n+\n+#if USE_FREETYPE\n+\t//Colored chat support when using FreeType\n+\tguitext_chat = new gui::StaticText(L\"\", false, guienv, guiroot, -1, core::rect<s32>(0, 0, 0, 0), false);\n+\tguitext_chat->setWordWrap(true);\n+\tguitext_chat->drop();\n+#else\n+\t//Standard chat when FreeType is disabled","path":"src/game.cpp","position":40,"original_position":40,"commit_id":"01040d47249f7fc09025f91800eb4b58cd31031d","original_commit_id":"01040d47249f7fc09025f91800eb4b58cd31031d","user":{"login":"ShadowNinja","id":3399154,"avatar_url":"https://avatars.githubusercontent.com/u/3399154?v=3","gravatar_id":"","url":"https://api.github.com/users/ShadowNinja","html_url":"https://github.com/ShadowNinja","followers_url":"https://api.github.com/users/ShadowNinja/followers","following_url":"https://api.github.com/users/ShadowNinja/following{/other_user}","gists_url":"https://api.github.com/users/ShadowNinja/gists{/gist_id}","starred_url":"https://api.github.com/users/ShadowNinja/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ShadowNinja/subscriptions","organizations_url":"https://api.github.com/users/ShadowNinja/orgs","repos_url":"https://api.github.com/users/ShadowNinja/repos","events_url":"https://api.github.com/users/ShadowNinja/events{/privacy}","received_events_url":"https://api.github.com/users/ShadowNinja/received_events","type":"User","site_admin":false},"body":"Missing space after `//` in comments.\r\n","created_at":"2015-03-01T20:49:52Z","updated_at":"2015-03-01T20:49:52Z","html_url":"https://github.com/minetest/minetest/pull/2411#discussion_r25571262","pull_request_url":"https://api.github.com/repos/minetest/minetest/pulls/2411","_links":{"self":{"href":"https://api.github.com/repos/minetest/minetest/pulls/comments/25571262"},"html":{"href":"https://github.com/minetest/minetest/pull/2411#discussion_r25571262"},"pull_request":{"href":"https://api.github.com/repos/minetest/minetest/pulls/2411"}}},"pull_request":{"url":"https://api.github.com/repos/minetest/minetest/pulls/2411","id":30244644,"html_url":"https://github.com/minetest/minetest/pull/2411","diff_url":"https://github.com/minetest/minetest/pull/2411.diff","patch_url":"https://github.com/minetest/minetest/pull/2411.patch","issue_url":"https://api.github.com/repos/minetest/minetest/issues/2411","number":2411,"state":"open","locked":false,"title":"Colored chat working as expected for both freetype and non-freetype builds","user":{"login":"nerzhul","id":119752,"avatar_url":"https://avatars.githubusercontent.com/u/119752?v=3","gravatar_id":"","url":"https://api.github.com/users/nerzhul","html_url":"https://github.com/nerzhul","followers_url":"https://api.github.com/users/nerzhul/followers","following_url":"https://api.github.com/users/nerzhul/following{/other_user}","gists_url":"https://api.github.com/users/nerzhul/gists{/gist_id}","starred_url":"https://api.github.com/users/nerzhul/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nerzhul/subscriptions","organizations_url":"https://api.github.com/users/nerzhul/orgs","repos_url":"https://api.github.com/users/nerzhul/repos","events_url":"https://api.github.com/users/nerzhul/events{/privacy}","received_events_url":"https://api.github.com/users/nerzhul/received_events","type":"User","site_admin":false},"body":"From @triblade9 #2136 rebased and maintained PR (for dev-0.5 branch)\r\n\r\nFrom the original version:\r\n* Moved and rename ColoredString and StaticText to util/coloredstring and util/statictext\r\n\r\n","created_at":"2015-03-01T16:48:43Z","updated_at":"2015-03-01T20:49:52Z","closed_at":null,"merged_at":null,"merge_commit_sha":"93840d9b87a9b040a2fb4010241330cb6289e83e","assignee":null,"milestone":{"url":"https://api.github.com/repos/minetest/minetest/milestones/5","html_url":"https://github.com/minetest/minetest/milestones/0.5","labels_url":"https://api.github.com/repos/minetest/minetest/milestones/5/labels","id":704183,"number":5,"title":"0.5","description":"This milestone will break compatibility.\r\nAny pull requests or feature requests valuable but not implementable in a compatible way should be added for 0.5.","creator":{"login":"sapier","id":984363,"avatar_url":"https://avatars.githubusercontent.com/u/984363?v=3","gravatar_id":"","url":"https://api.github.com/users/sapier","html_url":"https://github.com/sapier","followers_url":"https://api.github.com/users/sapier/followers","following_url":"https://api.github.com/users/sapier/following{/other_user}","gists_url":"https://api.github.com/users/sapier/gists{/gist_id}","starred_url":"https://api.github.com/users/sapier/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sapier/subscriptions","organizations_url":"https://api.github.com/users/sapier/orgs","repos_url":"https://api.github.com/users/sapier/repos","events_url":"https://api.github.com/users/sapier/events{/privacy}","received_events_url":"https://api.github.com/users/sapier/received_events","type":"User","site_admin":false},"open_issues":14,"closed_issues":6,"state":"open","created_at":"2014-06-28T09:37:45Z","updated_at":"2015-03-01T17:00:55Z","due_on":null,"closed_at":null},"commits_url":"https://api.github.com/repos/minetest/minetest/pulls/2411/commits","review_comments_url":"https://api.github.com/repos/minetest/minetest/pulls/2411/comments","review_comment_url":"https://api.github.com/repos/minetest/minetest/pulls/comments{/number}","comments_url":"https://api.github.com/repos/minetest/minetest/issues/2411/comments","statuses_url":"https://api.github.com/repos/minetest/minetest/statuses/01040d47249f7fc09025f91800eb4b58cd31031d","head":{"label":"nerzhul:0.5_colored_chat","ref":"0.5_colored_chat","sha":"01040d47249f7fc09025f91800eb4b58cd31031d","user":{"login":"nerzhul","id":119752,"avatar_url":"https://avatars.githubusercontent.com/u/119752?v=3","gravatar_id":"","url":"https://api.github.com/users/nerzhul","html_url":"https://github.com/nerzhul","followers_url":"https://api.github.com/users/nerzhul/followers","following_url":"https://api.github.com/users/nerzhul/following{/other_user}","gists_url":"https://api.github.com/users/nerzhul/gists{/gist_id}","starred_url":"https://api.github.com/users/nerzhul/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nerzhul/subscriptions","organizations_url":"https://api.github.com/users/nerzhul/orgs","repos_url":"https://api.github.com/users/nerzhul/repos","events_url":"https://api.github.com/users/nerzhul/events{/privacy}","received_events_url":"https://api.github.com/users/nerzhul/received_events","type":"User","site_admin":false},"repo":{"id":29129586,"name":"minetest","full_name":"nerzhul/minetest","owner":{"login":"nerzhul","id":119752,"avatar_url":"https://avatars.githubusercontent.com/u/119752?v=3","gravatar_id":"","url":"https://api.github.com/users/nerzhul","html_url":"https://github.com/nerzhul","followers_url":"https://api.github.com/users/nerzhul/followers","following_url":"https://api.github.com/users/nerzhul/following{/other_user}","gists_url":"https://api.github.com/users/nerzhul/gists{/gist_id}","starred_url":"https://api.github.com/users/nerzhul/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nerzhul/subscriptions","organizations_url":"https://api.github.com/users/nerzhul/orgs","repos_url":"https://api.github.com/users/nerzhul/repos","events_url":"https://api.github.com/users/nerzhul/events{/privacy}","received_events_url":"https://api.github.com/users/nerzhul/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/nerzhul/minetest","description":"Minetest, an open source infinite-world block sandbox game with survival and crafting. [also https://github.com/minetest/minetest_game]","fork":true,"url":"https://api.github.com/repos/nerzhul/minetest","forks_url":"https://api.github.com/repos/nerzhul/minetest/forks","keys_url":"https://api.github.com/repos/nerzhul/minetest/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nerzhul/minetest/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nerzhul/minetest/teams","hooks_url":"https://api.github.com/repos/nerzhul/minetest/hooks","issue_events_url":"https://api.github.com/repos/nerzhul/minetest/issues/events{/number}","events_url":"https://api.github.com/repos/nerzhul/minetest/events","assignees_url":"https://api.github.com/repos/nerzhul/minetest/assignees{/user}","branches_url":"https://api.github.com/repos/nerzhul/minetest/branches{/branch}","tags_url":"https://api.github.com/repos/nerzhul/minetest/tags","blobs_url":"https://api.github.com/repos/nerzhul/minetest/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nerzhul/minetest/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nerzhul/minetest/git/refs{/sha}","trees_url":"https://api.github.com/repos/nerzhul/minetest/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nerzhul/minetest/statuses/{sha}","languages_url":"https://api.github.com/repos/nerzhul/minetest/languages","stargazers_url":"https://api.github.com/repos/nerzhul/minetest/stargazers","contributors_url":"https://api.github.com/repos/nerzhul/minetest/contributors","subscribers_url":"https://api.github.com/repos/nerzhul/minetest/subscribers","subscription_url":"https://api.github.com/repos/nerzhul/minetest/subscription","commits_url":"https://api.github.com/repos/nerzhul/minetest/commits{/sha}","git_commits_url":"https://api.github.com/repos/nerzhul/minetest/git/commits{/sha}","comments_url":"https://api.github.com/repos/nerzhul/minetest/comments{/number}","issue_comment_url":"https://api.github.com/repos/nerzhul/minetest/issues/comments{/number}","contents_url":"https://api.github.com/repos/nerzhul/minetest/contents/{+path}","compare_url":"https://api.github.com/repos/nerzhul/minetest/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nerzhul/minetest/merges","archive_url":"https://api.github.com/repos/nerzhul/minetest/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nerzhul/minetest/downloads","issues_url":"https://api.github.com/repos/nerzhul/minetest/issues{/number}","pulls_url":"https://api.github.com/repos/nerzhul/minetest/pulls{/number}","milestones_url":"https://api.github.com/repos/nerzhul/minetest/milestones{/number}","notifications_url":"https://api.github.com/repos/nerzhul/minetest/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nerzhul/minetest/labels{/name}","releases_url":"https://api.github.com/repos/nerzhul/minetest/releases{/id}","created_at":"2015-01-12T10:05:26Z","updated_at":"2015-03-01T16:19:06Z","pushed_at":"2015-03-01T17:07:45Z","git_url":"git://github.com/nerzhul/minetest.git","ssh_url":"git@github.com:nerzhul/minetest.git","clone_url":"https://github.com/nerzhul/minetest.git","svn_url":"https://github.com/nerzhul/minetest","homepage":"http://minetest.net/","size":33750,"stargazers_count":0,"watchers_count":0,"language":"C++","has_issues":false,"has_downloads":true,"has_wiki":false,"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":"minetest:dev-0.5","ref":"dev-0.5","sha":"c106df68bceae0a8c5d8513c331e3bf035462fa2","user":{"login":"minetest","id":2624745,"avatar_url":"https://avatars.githubusercontent.com/u/2624745?v=3","gravatar_id":"","url":"https://api.github.com/users/minetest","html_url":"https://github.com/minetest","followers_url":"https://api.github.com/users/minetest/followers","following_url":"https://api.github.com/users/minetest/following{/other_user}","gists_url":"https://api.github.com/users/minetest/gists{/gist_id}","starred_url":"https://api.github.com/users/minetest/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/minetest/subscriptions","organizations_url":"https://api.github.com/users/minetest/orgs","repos_url":"https://api.github.com/users/minetest/repos","events_url":"https://api.github.com/users/minetest/events{/privacy}","received_events_url":"https://api.github.com/users/minetest/received_events","type":"Organization","site_admin":false},"repo":{"id":2168780,"name":"minetest","full_name":"minetest/minetest","owner":{"login":"minetest","id":2624745,"avatar_url":"https://avatars.githubusercontent.com/u/2624745?v=3","gravatar_id":"","url":"https://api.github.com/users/minetest","html_url":"https://github.com/minetest","followers_url":"https://api.github.com/users/minetest/followers","following_url":"https://api.github.com/users/minetest/following{/other_user}","gists_url":"https://api.github.com/users/minetest/gists{/gist_id}","starred_url":"https://api.github.com/users/minetest/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/minetest/subscriptions","organizations_url":"https://api.github.com/users/minetest/orgs","repos_url":"https://api.github.com/users/minetest/repos","events_url":"https://api.github.com/users/minetest/events{/privacy}","received_events_url":"https://api.github.com/users/minetest/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/minetest/minetest","description":"Minetest, an open source infinite-world block sandbox game with survival and crafting. [also https://github.com/minetest/minetest_game]","fork":false,"url":"https://api.github.com/repos/minetest/minetest","forks_url":"https://api.github.com/repos/minetest/minetest/forks","keys_url":"https://api.github.com/repos/minetest/minetest/keys{/key_id}","collaborators_url":"https://api.github.com/repos/minetest/minetest/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/minetest/minetest/teams","hooks_url":"https://api.github.com/repos/minetest/minetest/hooks","issue_events_url":"https://api.github.com/repos/minetest/minetest/issues/events{/number}","events_url":"https://api.github.com/repos/minetest/minetest/events","assignees_url":"https://api.github.com/repos/minetest/minetest/assignees{/user}","branches_url":"https://api.github.com/repos/minetest/minetest/branches{/branch}","tags_url":"https://api.github.com/repos/minetest/minetest/tags","blobs_url":"https://api.github.com/repos/minetest/minetest/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/minetest/minetest/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/minetest/minetest/git/refs{/sha}","trees_url":"https://api.github.com/repos/minetest/minetest/git/trees{/sha}","statuses_url":"https://api.github.com/repos/minetest/minetest/statuses/{sha}","languages_url":"https://api.github.com/repos/minetest/minetest/languages","stargazers_url":"https://api.github.com/repos/minetest/minetest/stargazers","contributors_url":"https://api.github.com/repos/minetest/minetest/contributors","subscribers_url":"https://api.github.com/repos/minetest/minetest/subscribers","subscription_url":"https://api.github.com/repos/minetest/minetest/subscription","commits_url":"https://api.github.com/repos/minetest/minetest/commits{/sha}","git_commits_url":"https://api.github.com/repos/minetest/minetest/git/commits{/sha}","comments_url":"https://api.github.com/repos/minetest/minetest/comments{/number}","issue_comment_url":"https://api.github.com/repos/minetest/minetest/issues/comments{/number}","contents_url":"https://api.github.com/repos/minetest/minetest/contents/{+path}","compare_url":"https://api.github.com/repos/minetest/minetest/compare/{base}...{head}","merges_url":"https://api.github.com/repos/minetest/minetest/merges","archive_url":"https://api.github.com/repos/minetest/minetest/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/minetest/minetest/downloads","issues_url":"https://api.github.com/repos/minetest/minetest/issues{/number}","pulls_url":"https://api.github.com/repos/minetest/minetest/pulls{/number}","milestones_url":"https://api.github.com/repos/minetest/minetest/milestones{/number}","notifications_url":"https://api.github.com/repos/minetest/minetest/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/minetest/minetest/labels{/name}","releases_url":"https://api.github.com/repos/minetest/minetest/releases{/id}","created_at":"2011-08-07T13:48:36Z","updated_at":"2015-03-01T20:39:17Z","pushed_at":"2015-02-28T22:16:31Z","git_url":"git://github.com/minetest/minetest.git","ssh_url":"git@github.com:minetest/minetest.git","clone_url":"https://github.com/minetest/minetest.git","svn_url":"https://github.com/minetest/minetest","homepage":"http://minetest.net/","size":81566,"stargazers_count":1390,"watchers_count":1390,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":469,"mirror_url":null,"open_issues_count":471,"forks":469,"open_issues":471,"watchers":1390,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/minetest/minetest/pulls/2411"},"html":{"href":"https://github.com/minetest/minetest/pull/2411"},"issue":{"href":"https://api.github.com/repos/minetest/minetest/issues/2411"},"comments":{"href":"https://api.github.com/repos/minetest/minetest/issues/2411/comments"},"review_comments":{"href":"https://api.github.com/repos/minetest/minetest/pulls/2411/comments"},"review_comment":{"href":"https://api.github.com/repos/minetest/minetest/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/minetest/minetest/pulls/2411/commits"},"statuses":{"href":"https://api.github.com/repos/minetest/minetest/statuses/01040d47249f7fc09025f91800eb4b58cd31031d"}}}}