{"action":"created","comment":{"url":"https://api.github.com/repos/PublicHadyniak/libprogbase/pulls/comments/171258914","pull_request_review_id":100079042,"id":171258914,"diff_hunk":"@@ -0,0 +1,290 @@\n+#define _WIN_SOURCE\n+\n+#include <Windows.h>\n+#include <string.h>\n+#include <conio.h>\n+\n+#include <progbase\\console.h>\n+\n+#ifndef CON_MIN_ROWS\n+#\tdefine CON_MIN_ROWS 5\n+#endif\n+#ifndef CON_MIN_COLS\n+#\tdefine CON_MIN_COLS 29\n+#endif\n+\n+enum WinConsoleColor {\n+\tblack = 0,\n+\tblue = 1,","path":"src/windows/pbconsole_windows.c","position":18,"original_position":18,"commit_id":"1fb2cfb42ef668aae2b29f0825be8b19000a1d57","original_commit_id":"1fb2cfb42ef668aae2b29f0825be8b19000a1d57","user":{"login":"PublicHadyniak","id":14146276,"avatar_url":"https://avatars1.githubusercontent.com/u/14146276?v=4","gravatar_id":"","url":"https://api.github.com/users/PublicHadyniak","html_url":"https://github.com/PublicHadyniak","followers_url":"https://api.github.com/users/PublicHadyniak/followers","following_url":"https://api.github.com/users/PublicHadyniak/following{/other_user}","gists_url":"https://api.github.com/users/PublicHadyniak/gists{/gist_id}","starred_url":"https://api.github.com/users/PublicHadyniak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PublicHadyniak/subscriptions","organizations_url":"https://api.github.com/users/PublicHadyniak/orgs","repos_url":"https://api.github.com/users/PublicHadyniak/repos","events_url":"https://api.github.com/users/PublicHadyniak/events{/privacy}","received_events_url":"https://api.github.com/users/PublicHadyniak/received_events","type":"User","site_admin":false},"body":"Залишити лише константні ідентифікатори","created_at":"2018-02-28T14:21:59Z","updated_at":"2018-02-28T14:21:59Z","html_url":"https://github.com/PublicHadyniak/libprogbase/pull/2#discussion_r171258914","pull_request_url":"https://api.github.com/repos/PublicHadyniak/libprogbase/pulls/2","author_association":"OWNER","_links":{"self":{"href":"https://api.github.com/repos/PublicHadyniak/libprogbase/pulls/comments/171258914"},"html":{"href":"https://github.com/PublicHadyniak/libprogbase/pull/2#discussion_r171258914"},"pull_request":{"href":"https://api.github.com/repos/PublicHadyniak/libprogbase/pulls/2"}},"in_reply_to_id":171191384},"pull_request":{"url":"https://api.github.com/repos/PublicHadyniak/libprogbase/pulls/2","id":171900706,"html_url":"https://github.com/PublicHadyniak/libprogbase/pull/2","diff_url":"https://github.com/PublicHadyniak/libprogbase/pull/2.diff","patch_url":"https://github.com/PublicHadyniak/libprogbase/pull/2.patch","issue_url":"https://api.github.com/repos/PublicHadyniak/libprogbase/issues/2","number":2,"state":"closed","locked":false,"title":"Adding windows support","user":{"login":"bgoncharuck","id":25586948,"avatar_url":"https://avatars2.githubusercontent.com/u/25586948?v=4","gravatar_id":"","url":"https://api.github.com/users/bgoncharuck","html_url":"https://github.com/bgoncharuck","followers_url":"https://api.github.com/users/bgoncharuck/followers","following_url":"https://api.github.com/users/bgoncharuck/following{/other_user}","gists_url":"https://api.github.com/users/bgoncharuck/gists{/gist_id}","starred_url":"https://api.github.com/users/bgoncharuck/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bgoncharuck/subscriptions","organizations_url":"https://api.github.com/users/bgoncharuck/orgs","repos_url":"https://api.github.com/users/bgoncharuck/repos","events_url":"https://api.github.com/users/bgoncharuck/events{/privacy}","received_events_url":"https://api.github.com/users/bgoncharuck/received_events","type":"User","site_admin":false},"body":"## What was realized:\r\n\r\n1. Moved all platform-oriented function realizations from src to folders src/windows and src/linux.\r\n2. Functions for windows console were implemented.\r\n3. Have checked out functions that don't depend from the platform.\r\n\r\n## What was not realized:\r\n\r\n1. The functions to work with streams and the Internet, because of some troubles with header files. (made the dummy implementations for them)\r\n2. Build process on windows\r\n\r\n\r\n## The ability to build under windows is missing because of the following issues:\r\n\r\n- The absence of a windows c/c++ compiler by default.\r\n- Impossible to know beforehand where the compiler folder may be located.\r\n- Failure to fully implement CMakeTools.txt under windows. \r\n","created_at":"2018-02-28T09:42:13Z","updated_at":"2018-02-28T14:21:59Z","closed_at":"2018-02-28T13:53:57Z","merged_at":null,"merge_commit_sha":"7b9c9ae0a9c90aba2dbc9f487fb75eb7cf243221","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/PublicHadyniak/libprogbase/pulls/2/commits","review_comments_url":"https://api.github.com/repos/PublicHadyniak/libprogbase/pulls/2/comments","review_comment_url":"https://api.github.com/repos/PublicHadyniak/libprogbase/pulls/comments{/number}","comments_url":"https://api.github.com/repos/PublicHadyniak/libprogbase/issues/2/comments","statuses_url":"https://api.github.com/repos/PublicHadyniak/libprogbase/statuses/1fb2cfb42ef668aae2b29f0825be8b19000a1d57","head":{"label":"bgoncharuck:win-support","ref":"win-support","sha":"1fb2cfb42ef668aae2b29f0825be8b19000a1d57","user":{"login":"bgoncharuck","id":25586948,"avatar_url":"https://avatars2.githubusercontent.com/u/25586948?v=4","gravatar_id":"","url":"https://api.github.com/users/bgoncharuck","html_url":"https://github.com/bgoncharuck","followers_url":"https://api.github.com/users/bgoncharuck/followers","following_url":"https://api.github.com/users/bgoncharuck/following{/other_user}","gists_url":"https://api.github.com/users/bgoncharuck/gists{/gist_id}","starred_url":"https://api.github.com/users/bgoncharuck/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bgoncharuck/subscriptions","organizations_url":"https://api.github.com/users/bgoncharuck/orgs","repos_url":"https://api.github.com/users/bgoncharuck/repos","events_url":"https://api.github.com/users/bgoncharuck/events{/privacy}","received_events_url":"https://api.github.com/users/bgoncharuck/received_events","type":"User","site_admin":false},"repo":{"id":123191837,"name":"libprogbase","full_name":"bgoncharuck/libprogbase","owner":{"login":"bgoncharuck","id":25586948,"avatar_url":"https://avatars2.githubusercontent.com/u/25586948?v=4","gravatar_id":"","url":"https://api.github.com/users/bgoncharuck","html_url":"https://github.com/bgoncharuck","followers_url":"https://api.github.com/users/bgoncharuck/followers","following_url":"https://api.github.com/users/bgoncharuck/following{/other_user}","gists_url":"https://api.github.com/users/bgoncharuck/gists{/gist_id}","starred_url":"https://api.github.com/users/bgoncharuck/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bgoncharuck/subscriptions","organizations_url":"https://api.github.com/users/bgoncharuck/orgs","repos_url":"https://api.github.com/users/bgoncharuck/repos","events_url":"https://api.github.com/users/bgoncharuck/events{/privacy}","received_events_url":"https://api.github.com/users/bgoncharuck/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/bgoncharuck/libprogbase","description":"Simple educational C library with a variety of modules","fork":true,"url":"https://api.github.com/repos/bgoncharuck/libprogbase","forks_url":"https://api.github.com/repos/bgoncharuck/libprogbase/forks","keys_url":"https://api.github.com/repos/bgoncharuck/libprogbase/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bgoncharuck/libprogbase/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bgoncharuck/libprogbase/teams","hooks_url":"https://api.github.com/repos/bgoncharuck/libprogbase/hooks","issue_events_url":"https://api.github.com/repos/bgoncharuck/libprogbase/issues/events{/number}","events_url":"https://api.github.com/repos/bgoncharuck/libprogbase/events","assignees_url":"https://api.github.com/repos/bgoncharuck/libprogbase/assignees{/user}","branches_url":"https://api.github.com/repos/bgoncharuck/libprogbase/branches{/branch}","tags_url":"https://api.github.com/repos/bgoncharuck/libprogbase/tags","blobs_url":"https://api.github.com/repos/bgoncharuck/libprogbase/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bgoncharuck/libprogbase/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bgoncharuck/libprogbase/git/refs{/sha}","trees_url":"https://api.github.com/repos/bgoncharuck/libprogbase/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bgoncharuck/libprogbase/statuses/{sha}","languages_url":"https://api.github.com/repos/bgoncharuck/libprogbase/languages","stargazers_url":"https://api.github.com/repos/bgoncharuck/libprogbase/stargazers","contributors_url":"https://api.github.com/repos/bgoncharuck/libprogbase/contributors","subscribers_url":"https://api.github.com/repos/bgoncharuck/libprogbase/subscribers","subscription_url":"https://api.github.com/repos/bgoncharuck/libprogbase/subscription","commits_url":"https://api.github.com/repos/bgoncharuck/libprogbase/commits{/sha}","git_commits_url":"https://api.github.com/repos/bgoncharuck/libprogbase/git/commits{/sha}","comments_url":"https://api.github.com/repos/bgoncharuck/libprogbase/comments{/number}","issue_comment_url":"https://api.github.com/repos/bgoncharuck/libprogbase/issues/comments{/number}","contents_url":"https://api.github.com/repos/bgoncharuck/libprogbase/contents/{+path}","compare_url":"https://api.github.com/repos/bgoncharuck/libprogbase/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bgoncharuck/libprogbase/merges","archive_url":"https://api.github.com/repos/bgoncharuck/libprogbase/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bgoncharuck/libprogbase/downloads","issues_url":"https://api.github.com/repos/bgoncharuck/libprogbase/issues{/number}","pulls_url":"https://api.github.com/repos/bgoncharuck/libprogbase/pulls{/number}","milestones_url":"https://api.github.com/repos/bgoncharuck/libprogbase/milestones{/number}","notifications_url":"https://api.github.com/repos/bgoncharuck/libprogbase/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bgoncharuck/libprogbase/labels{/name}","releases_url":"https://api.github.com/repos/bgoncharuck/libprogbase/releases{/id}","deployments_url":"https://api.github.com/repos/bgoncharuck/libprogbase/deployments","created_at":"2018-02-27T21:38:19Z","updated_at":"2018-02-27T21:38:21Z","pushed_at":"2018-02-28T09:37:09Z","git_url":"git://github.com/bgoncharuck/libprogbase.git","ssh_url":"git@github.com:bgoncharuck/libprogbase.git","clone_url":"https://github.com/bgoncharuck/libprogbase.git","svn_url":"https://github.com/bgoncharuck/libprogbase","homepage":"","size":139,"stargazers_count":0,"watchers_count":0,"language":"C","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"PublicHadyniak:master","ref":"master","sha":"4485c7b647f2902519e841eb92946a54f6f63f24","user":{"login":"PublicHadyniak","id":14146276,"avatar_url":"https://avatars1.githubusercontent.com/u/14146276?v=4","gravatar_id":"","url":"https://api.github.com/users/PublicHadyniak","html_url":"https://github.com/PublicHadyniak","followers_url":"https://api.github.com/users/PublicHadyniak/followers","following_url":"https://api.github.com/users/PublicHadyniak/following{/other_user}","gists_url":"https://api.github.com/users/PublicHadyniak/gists{/gist_id}","starred_url":"https://api.github.com/users/PublicHadyniak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PublicHadyniak/subscriptions","organizations_url":"https://api.github.com/users/PublicHadyniak/orgs","repos_url":"https://api.github.com/users/PublicHadyniak/repos","events_url":"https://api.github.com/users/PublicHadyniak/events{/privacy}","received_events_url":"https://api.github.com/users/PublicHadyniak/received_events","type":"User","site_admin":false},"repo":{"id":62311866,"name":"libprogbase","full_name":"PublicHadyniak/libprogbase","owner":{"login":"PublicHadyniak","id":14146276,"avatar_url":"https://avatars1.githubusercontent.com/u/14146276?v=4","gravatar_id":"","url":"https://api.github.com/users/PublicHadyniak","html_url":"https://github.com/PublicHadyniak","followers_url":"https://api.github.com/users/PublicHadyniak/followers","following_url":"https://api.github.com/users/PublicHadyniak/following{/other_user}","gists_url":"https://api.github.com/users/PublicHadyniak/gists{/gist_id}","starred_url":"https://api.github.com/users/PublicHadyniak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PublicHadyniak/subscriptions","organizations_url":"https://api.github.com/users/PublicHadyniak/orgs","repos_url":"https://api.github.com/users/PublicHadyniak/repos","events_url":"https://api.github.com/users/PublicHadyniak/events{/privacy}","received_events_url":"https://api.github.com/users/PublicHadyniak/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/PublicHadyniak/libprogbase","description":"Simple educational C library with a variety of modules","fork":false,"url":"https://api.github.com/repos/PublicHadyniak/libprogbase","forks_url":"https://api.github.com/repos/PublicHadyniak/libprogbase/forks","keys_url":"https://api.github.com/repos/PublicHadyniak/libprogbase/keys{/key_id}","collaborators_url":"https://api.github.com/repos/PublicHadyniak/libprogbase/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/PublicHadyniak/libprogbase/teams","hooks_url":"https://api.github.com/repos/PublicHadyniak/libprogbase/hooks","issue_events_url":"https://api.github.com/repos/PublicHadyniak/libprogbase/issues/events{/number}","events_url":"https://api.github.com/repos/PublicHadyniak/libprogbase/events","assignees_url":"https://api.github.com/repos/PublicHadyniak/libprogbase/assignees{/user}","branches_url":"https://api.github.com/repos/PublicHadyniak/libprogbase/branches{/branch}","tags_url":"https://api.github.com/repos/PublicHadyniak/libprogbase/tags","blobs_url":"https://api.github.com/repos/PublicHadyniak/libprogbase/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/PublicHadyniak/libprogbase/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/PublicHadyniak/libprogbase/git/refs{/sha}","trees_url":"https://api.github.com/repos/PublicHadyniak/libprogbase/git/trees{/sha}","statuses_url":"https://api.github.com/repos/PublicHadyniak/libprogbase/statuses/{sha}","languages_url":"https://api.github.com/repos/PublicHadyniak/libprogbase/languages","stargazers_url":"https://api.github.com/repos/PublicHadyniak/libprogbase/stargazers","contributors_url":"https://api.github.com/repos/PublicHadyniak/libprogbase/contributors","subscribers_url":"https://api.github.com/repos/PublicHadyniak/libprogbase/subscribers","subscription_url":"https://api.github.com/repos/PublicHadyniak/libprogbase/subscription","commits_url":"https://api.github.com/repos/PublicHadyniak/libprogbase/commits{/sha}","git_commits_url":"https://api.github.com/repos/PublicHadyniak/libprogbase/git/commits{/sha}","comments_url":"https://api.github.com/repos/PublicHadyniak/libprogbase/comments{/number}","issue_comment_url":"https://api.github.com/repos/PublicHadyniak/libprogbase/issues/comments{/number}","contents_url":"https://api.github.com/repos/PublicHadyniak/libprogbase/contents/{+path}","compare_url":"https://api.github.com/repos/PublicHadyniak/libprogbase/compare/{base}...{head}","merges_url":"https://api.github.com/repos/PublicHadyniak/libprogbase/merges","archive_url":"https://api.github.com/repos/PublicHadyniak/libprogbase/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/PublicHadyniak/libprogbase/downloads","issues_url":"https://api.github.com/repos/PublicHadyniak/libprogbase/issues{/number}","pulls_url":"https://api.github.com/repos/PublicHadyniak/libprogbase/pulls{/number}","milestones_url":"https://api.github.com/repos/PublicHadyniak/libprogbase/milestones{/number}","notifications_url":"https://api.github.com/repos/PublicHadyniak/libprogbase/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/PublicHadyniak/libprogbase/labels{/name}","releases_url":"https://api.github.com/repos/PublicHadyniak/libprogbase/releases{/id}","deployments_url":"https://api.github.com/repos/PublicHadyniak/libprogbase/deployments","created_at":"2016-06-30T13:15:08Z","updated_at":"2017-04-23T13:08:01Z","pushed_at":"2018-02-28T09:42:14Z","git_url":"git://github.com/PublicHadyniak/libprogbase.git","ssh_url":"git@github.com:PublicHadyniak/libprogbase.git","clone_url":"https://github.com/PublicHadyniak/libprogbase.git","svn_url":"https://github.com/PublicHadyniak/libprogbase","homepage":"","size":134,"stargazers_count":1,"watchers_count":1,"language":"C","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":5,"open_issues":0,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/PublicHadyniak/libprogbase/pulls/2"},"html":{"href":"https://github.com/PublicHadyniak/libprogbase/pull/2"},"issue":{"href":"https://api.github.com/repos/PublicHadyniak/libprogbase/issues/2"},"comments":{"href":"https://api.github.com/repos/PublicHadyniak/libprogbase/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/PublicHadyniak/libprogbase/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/PublicHadyniak/libprogbase/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/PublicHadyniak/libprogbase/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/PublicHadyniak/libprogbase/statuses/1fb2cfb42ef668aae2b29f0825be8b19000a1d57"}},"author_association":"NONE"}}
{"actor":{"display_login":"PublicHadyniak"}}