{"action":"created","comment":{"url":"https://api.github.com/repos/Ivan-Nebogatikov/Homeworks/pulls/comments/63049210","id":63049210,"diff_hunk":"@@ -0,0 +1,964 @@\n+/* Copyright 2007-2016 QReal Research Group\n+ *\n+ * Licensed under the Apache License, Version 2.0 (the \"License\");\n+ * you may not use this file except in compliance with the License.\n+ * You may obtain a copy of the License at\n+ *\n+ *     http://www.apache.org/licenses/LICENSE-2.0\n+ *\n+ * Unless required by applicable law or agreed to in writing, software\n+ * distributed under the License is distributed on an \"AS IS\" BASIS,\n+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n+ * See the License for the specific language governing permissions and\n+ * limitations under the License. */\n+\n+#include \"sdfRenderer.h\"\n+\n+#include <QtCore/QLineF>\n+#include <QtCore/QTime>\n+#include <QtCore/QDebug>\n+#include <QtCore/QRegExp>\n+#include <QtCore/QFileInfo>\n+#include <QtCore/QDir>\n+#include <QtWidgets/QApplication>\n+#include <QtGui/QFont>\n+#include <QtGui/QIcon>\n+\n+#include <qrkernel/platformInfo.h>\n+\n+using namespace qReal;\n+\n+SdfRenderer::SdfRenderer()\n+\t: mStartX(0), mStartY(0), mNeedScale(true), mElementRepo(0)\n+{\n+\tmWorkingDirName = SettingsManager::value(\"workingDir\").toString();\n+}\n+\n+SdfRenderer::SdfRenderer(const QString path)\n+\t: mStartX(0), mStartY(0), mNeedScale(true)\n+{\n+\tif (!load(path))\n+\t{\n+\t\tqDebug() << \"File \" + path + \" - loading failed!\";\n+\t}\n+\tmWorkingDirName = SettingsManager::value(\"workingDir\").toString();\n+}\n+\n+SdfRenderer::~SdfRenderer()\n+{\n+}\n+\n+bool SdfRenderer::load(const QString &filename)\n+{\n+\tQFile file(filename);\n+\n+\tif (!file.open(QIODevice::ReadOnly | QIODevice::Text))\n+\t\treturn false;\n+\n+\tif (!doc.setContent(&file))\n+\t{\n+\t\tfile.close();\n+\t\treturn false;\n+\t}\n+\tfile.close();\n+\n+\tQDomElement docElem = doc.documentElement();\n+\tfirst_size_x = docElem.attribute(\"sizex\").toInt();\n+\tfirst_size_y = docElem.attribute(\"sizey\").toInt();\n+\n+\treturn true;\n+}\n+\n+bool SdfRenderer::load(const QDomDocument &document)\n+{\n+\tdoc = document;\n+\tconst QDomElement docElem = doc.firstChildElement(\"picture\");\n+\tfirst_size_x = docElem.attribute(\"sizex\").toInt();\n+\tfirst_size_y = docElem.attribute(\"sizey\").toInt();\n+\n+\treturn true;\n+}\n+\n+void SdfRenderer::setElementRepo(ElementRepoInterface *elementRepo)\n+{\n+\tmElementRepo = elementRepo;\n+}\n+\n+void SdfRenderer::setZoom(qreal zoomFactor)\n+{\n+\tmZoom = zoomFactor;\n+}\n+\n+void SdfRenderer::render(QPainter *painter, const QRectF &bounds, bool isIcon)\n+{\n+\tcurrent_size_x = static_cast<int>(bounds.width());\n+\tcurrent_size_y = static_cast<int>(bounds.height());\n+\tmStartX = static_cast<int>(bounds.x());\n+\tmStartY = static_cast<int>(bounds.y());\n+\tthis->painter = painter;\n+\tQDomElement docElem = doc.documentElement();\n+\tQDomNode node = docElem.firstChild();\n+\twhile(!node.isNull())\n+\t{\n+\t\tQDomElement elem = node.toElement();\n+\t\tif(!elem.isNull())\n+\t\t{\n+\t\t\tif (!checkShowConditions(elem, isIcon)) {\n+\t\t\t\tnode = node.nextSibling();\n+\t\t\t\tcontinue;\n+\t\t\t}\n+\t\t\tif (elem.tagName()==\"line\")\n+\t\t\t{\n+\t\t\t\tline(elem);\n+\t\t\t}\n+\t\t\telse if(elem.tagName()==\"ellipse\")\n+\t\t\t{\n+\t\t\t\tellipse(elem);\n+\t\t\t}\n+\t\t\telse if (elem.tagName() == \"arc\") {\n+\t\t\t\tarc(elem);\n+\t\t\t}\n+\t\t\telse if(elem.tagName()==\"background\")\n+\t\t\t{\n+\t\t\t\tbackground(elem);\n+\t\t\t}\n+\t\t\telse if(elem.tagName()==\"text\")\n+\t\t\t{\n+\t\t\t\tdraw_text(elem);\n+\t\t\t}\n+\t\t\telse if (elem.tagName()==\"rectangle\")\n+\t\t\t{\n+\t\t\t\trectangle(elem);\n+\t\t\t}\n+\t\t\telse if (elem.tagName()==\"polygon\")\n+\t\t\t{\n+\t\t\t\tpolygon(elem);\n+\t\t\t}\n+\t\t\telse if (elem.tagName()==\"point\")\n+\t\t\t{\n+\t\t\t\tpoint(elem);\n+\t\t\t}\n+\t\t\telse if(elem.tagName()==\"path\")\n+\t\t\t{\n+\t\t\t\tpath_draw(elem);\n+\t\t\t}\n+\t\t\telse if(elem.tagName()==\"stylus\")\n+\t\t\t{\n+\t\t\t\tstylus_draw(elem);\n+\t\t\t}\n+\t\t\telse if(elem.tagName()==\"curve\")\n+\t\t\t{\n+\t\t\t\tcurve_draw(elem);\n+\t\t\t}\n+\t\t\telse if(elem.tagName()==\"image\")\n+\t\t\t{\n+\t\t\t\timage_draw(elem);\n+\t\t\t}\n+\t\t}\n+\t\tnode = node.nextSibling();\n+\t}\n+\tthis->painter = 0;\n+}\n+\n+bool SdfRenderer::checkShowConditions(const QDomElement &element, bool isIcon) const\n+{\n+\tQDomNodeList showConditions = element.elementsByTagName(\"showIf\");\n+\t// a hack, need to be removed when there is another version of icons\n+\tif (!showConditions.isEmpty() && isIcon) {\n+\t\treturn false;\n+\t}\n+\tif (showConditions.isEmpty() || !mElementRepo) {\n+\t\treturn true;\n+\t}\n+\tfor (int i = 0; i < showConditions.length(); ++i) {\n+\t\tif (!checkCondition(showConditions.at(i).toElement())) {\n+\t\t\treturn false;\n+\t\t}\n+\t}\n+\treturn true;\n+}\n+\n+bool SdfRenderer::checkCondition(const QDomElement &condition) const\n+{\n+\tQString sign = condition.attribute(\"sign\");\n+\tQString realValue = mElementRepo->logicalProperty(condition.attribute(\"property\"));\n+\tQString conditionValue = condition.attribute(\"value\");\n+\n+\tif (sign == \"=~\") {\n+\t\treturn QRegExp(conditionValue).exactMatch(realValue);\n+\t} else if (sign == \">\") {\n+\t\treturn realValue.toInt() > conditionValue.toInt();\n+\t} else if (sign == \"<\") {\n+\t\treturn realValue.toInt() < conditionValue.toInt();\n+\t} else if (sign == \">=\") {\n+\t\treturn realValue.toInt() >= conditionValue.toInt();\n+\t} else if (sign == \"<=\") {\n+\t\treturn realValue.toInt() <= conditionValue.toInt();\n+\t} else if (sign == \"!=\") {\n+\t\treturn realValue != conditionValue;\n+\t} else if (sign == \"=\") {\n+\t\treturn realValue == conditionValue;\n+\t} else {\n+\t\tqDebug() << \"Unsupported logical operator \\\"\" + sign + \"\\\"\";\n+\t\treturn false;\n+\t}\n+}\n+\n+void SdfRenderer::line(QDomElement &element)","path":"Semestr2/Homework9/sdfRenderer.cpp","position":207,"original_position":207,"commit_id":"c83a48a27a888eba550028efba9076ea382eba8a","original_commit_id":"c83a48a27a888eba550028efba9076ea382eba8a","user":{"login":"Ivan-Nebogatikov","id":15431898,"avatar_url":"https://avatars.githubusercontent.com/u/15431898?v=3","gravatar_id":"","url":"https://api.github.com/users/Ivan-Nebogatikov","html_url":"https://github.com/Ivan-Nebogatikov","followers_url":"https://api.github.com/users/Ivan-Nebogatikov/followers","following_url":"https://api.github.com/users/Ivan-Nebogatikov/following{/other_user}","gists_url":"https://api.github.com/users/Ivan-Nebogatikov/gists{/gist_id}","starred_url":"https://api.github.com/users/Ivan-Nebogatikov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ivan-Nebogatikov/subscriptions","organizations_url":"https://api.github.com/users/Ivan-Nebogatikov/orgs","repos_url":"https://api.github.com/users/Ivan-Nebogatikov/repos","events_url":"https://api.github.com/users/Ivan-Nebogatikov/events{/privacy}","received_events_url":"https://api.github.com/users/Ivan-Nebogatikov/received_events","type":"User","site_admin":false},"body":"Лучше передать по const.","created_at":"2016-05-12T16:12:56Z","updated_at":"2016-05-12T16:12:56Z","html_url":"https://github.com/Ivan-Nebogatikov/Homeworks/pull/22#discussion_r63049210","pull_request_url":"https://api.github.com/repos/Ivan-Nebogatikov/Homeworks/pulls/22","_links":{"self":{"href":"https://api.github.com/repos/Ivan-Nebogatikov/Homeworks/pulls/comments/63049210"},"html":{"href":"https://github.com/Ivan-Nebogatikov/Homeworks/pull/22#discussion_r63049210"},"pull_request":{"href":"https://api.github.com/repos/Ivan-Nebogatikov/Homeworks/pulls/22"}}},"pull_request":{"url":"https://api.github.com/repos/Ivan-Nebogatikov/Homeworks/pulls/22","id":69857733,"html_url":"https://github.com/Ivan-Nebogatikov/Homeworks/pull/22","diff_url":"https://github.com/Ivan-Nebogatikov/Homeworks/pull/22.diff","patch_url":"https://github.com/Ivan-Nebogatikov/Homeworks/pull/22.patch","issue_url":"https://api.github.com/repos/Ivan-Nebogatikov/Homeworks/issues/22","number":22,"state":"open","locked":false,"title":"Homework9","user":{"login":"Ivan-Nebogatikov","id":15431898,"avatar_url":"https://avatars.githubusercontent.com/u/15431898?v=3","gravatar_id":"","url":"https://api.github.com/users/Ivan-Nebogatikov","html_url":"https://github.com/Ivan-Nebogatikov","followers_url":"https://api.github.com/users/Ivan-Nebogatikov/followers","following_url":"https://api.github.com/users/Ivan-Nebogatikov/following{/other_user}","gists_url":"https://api.github.com/users/Ivan-Nebogatikov/gists{/gist_id}","starred_url":"https://api.github.com/users/Ivan-Nebogatikov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ivan-Nebogatikov/subscriptions","organizations_url":"https://api.github.com/users/Ivan-Nebogatikov/orgs","repos_url":"https://api.github.com/users/Ivan-Nebogatikov/repos","events_url":"https://api.github.com/users/Ivan-Nebogatikov/events{/privacy}","received_events_url":"https://api.github.com/users/Ivan-Nebogatikov/received_events","type":"User","site_admin":false},"body":null,"created_at":"2016-05-12T15:31:06Z","updated_at":"2016-05-12T16:12:56Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d6ff54ab4e7349a8a7b0499e1253e6a3d75db7dd","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Ivan-Nebogatikov/Homeworks/pulls/22/commits","review_comments_url":"https://api.github.com/repos/Ivan-Nebogatikov/Homeworks/pulls/22/comments","review_comment_url":"https://api.github.com/repos/Ivan-Nebogatikov/Homeworks/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Ivan-Nebogatikov/Homeworks/issues/22/comments","statuses_url":"https://api.github.com/repos/Ivan-Nebogatikov/Homeworks/statuses/c83a48a27a888eba550028efba9076ea382eba8a","head":{"label":"Ivan-Nebogatikov:Homework9","ref":"Homework9","sha":"c83a48a27a888eba550028efba9076ea382eba8a","user":{"login":"Ivan-Nebogatikov","id":15431898,"avatar_url":"https://avatars.githubusercontent.com/u/15431898?v=3","gravatar_id":"","url":"https://api.github.com/users/Ivan-Nebogatikov","html_url":"https://github.com/Ivan-Nebogatikov","followers_url":"https://api.github.com/users/Ivan-Nebogatikov/followers","following_url":"https://api.github.com/users/Ivan-Nebogatikov/following{/other_user}","gists_url":"https://api.github.com/users/Ivan-Nebogatikov/gists{/gist_id}","starred_url":"https://api.github.com/users/Ivan-Nebogatikov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ivan-Nebogatikov/subscriptions","organizations_url":"https://api.github.com/users/Ivan-Nebogatikov/orgs","repos_url":"https://api.github.com/users/Ivan-Nebogatikov/repos","events_url":"https://api.github.com/users/Ivan-Nebogatikov/events{/privacy}","received_events_url":"https://api.github.com/users/Ivan-Nebogatikov/received_events","type":"User","site_admin":false},"repo":{"id":45344262,"name":"Homeworks","full_name":"Ivan-Nebogatikov/Homeworks","owner":{"login":"Ivan-Nebogatikov","id":15431898,"avatar_url":"https://avatars.githubusercontent.com/u/15431898?v=3","gravatar_id":"","url":"https://api.github.com/users/Ivan-Nebogatikov","html_url":"https://github.com/Ivan-Nebogatikov","followers_url":"https://api.github.com/users/Ivan-Nebogatikov/followers","following_url":"https://api.github.com/users/Ivan-Nebogatikov/following{/other_user}","gists_url":"https://api.github.com/users/Ivan-Nebogatikov/gists{/gist_id}","starred_url":"https://api.github.com/users/Ivan-Nebogatikov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ivan-Nebogatikov/subscriptions","organizations_url":"https://api.github.com/users/Ivan-Nebogatikov/orgs","repos_url":"https://api.github.com/users/Ivan-Nebogatikov/repos","events_url":"https://api.github.com/users/Ivan-Nebogatikov/events{/privacy}","received_events_url":"https://api.github.com/users/Ivan-Nebogatikov/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Ivan-Nebogatikov/Homeworks","description":"","fork":false,"url":"https://api.github.com/repos/Ivan-Nebogatikov/Homeworks","forks_url":"https://api.github.com/repos/Ivan-Nebogatikov/Homeworks/forks","keys_url":"https://api.github.com/repos/Ivan-Nebogatikov/Homeworks/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Ivan-Nebogatikov/Homeworks/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Ivan-Nebogatikov/Homeworks/teams","hooks_url":"https://api.github.com/repos/Ivan-Nebogatikov/Homeworks/hooks","issue_events_url":"https://api.github.com/repos/Ivan-Nebogatikov/Homeworks/issues/events{/number}","events_url":"https://api.github.com/repos/Ivan-Nebogatikov/Homeworks/events","assignees_url":"https://api.github.com/repos/Ivan-Nebogatikov/Homeworks/assignees{/user}","branches_url":"https://api.github.com/repos/Ivan-Nebogatikov/Homeworks/branches{/branch}","tags_url":"https://api.github.com/repos/Ivan-Nebogatikov/Homeworks/tags","blobs_url":"https://api.github.com/repos/Ivan-Nebogatikov/Homeworks/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Ivan-Nebogatikov/Homeworks/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Ivan-Nebogatikov/Homeworks/git/refs{/sha}","trees_url":"https://api.github.com/repos/Ivan-Nebogatikov/Homeworks/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Ivan-Nebogatikov/Homeworks/statuses/{sha}","languages_url":"https://api.github.com/repos/Ivan-Nebogatikov/Homeworks/languages","stargazers_url":"https://api.github.com/repos/Ivan-Nebogatikov/Homeworks/stargazers","contributors_url":"https://api.github.com/repos/Ivan-Nebogatikov/Homeworks/contributors","subscribers_url":"https://api.github.com/repos/Ivan-Nebogatikov/Homeworks/subscribers","subscription_url":"https://api.github.com/repos/Ivan-Nebogatikov/Homeworks/subscription","commits_url":"https://api.github.com/repos/Ivan-Nebogatikov/Homeworks/commits{/sha}","git_commits_url":"https://api.github.com/repos/Ivan-Nebogatikov/Homeworks/git/commits{/sha}","comments_url":"https://api.github.com/repos/Ivan-Nebogatikov/Homeworks/comments{/number}","issue_comment_url":"https://api.github.com/repos/Ivan-Nebogatikov/Homeworks/issues/comments{/number}","contents_url":"https://api.github.com/repos/Ivan-Nebogatikov/Homeworks/contents/{+path}","compare_url":"https://api.github.com/repos/Ivan-Nebogatikov/Homeworks/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Ivan-Nebogatikov/Homeworks/merges","archive_url":"https://api.github.com/repos/Ivan-Nebogatikov/Homeworks/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Ivan-Nebogatikov/Homeworks/downloads","issues_url":"https://api.github.com/repos/Ivan-Nebogatikov/Homeworks/issues{/number}","pulls_url":"https://api.github.com/repos/Ivan-Nebogatikov/Homeworks/pulls{/number}","milestones_url":"https://api.github.com/repos/Ivan-Nebogatikov/Homeworks/milestones{/number}","notifications_url":"https://api.github.com/repos/Ivan-Nebogatikov/Homeworks/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Ivan-Nebogatikov/Homeworks/labels{/name}","releases_url":"https://api.github.com/repos/Ivan-Nebogatikov/Homeworks/releases{/id}","deployments_url":"https://api.github.com/repos/Ivan-Nebogatikov/Homeworks/deployments","created_at":"2015-11-01T14:48:27Z","updated_at":"2016-02-28T18:17:55Z","pushed_at":"2016-05-12T15:31:06Z","git_url":"git://github.com/Ivan-Nebogatikov/Homeworks.git","ssh_url":"git@github.com:Ivan-Nebogatikov/Homeworks.git","clone_url":"https://github.com/Ivan-Nebogatikov/Homeworks.git","svn_url":"https://github.com/Ivan-Nebogatikov/Homeworks","homepage":null,"size":3337,"stargazers_count":0,"watchers_count":0,"language":"C#","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":5,"forks":0,"open_issues":5,"watchers":0,"default_branch":"master"}},"base":{"label":"Ivan-Nebogatikov:master","ref":"master","sha":"8e6d205b9a9a4e497fb30a6d11945e6a6571f0cb","user":{"login":"Ivan-Nebogatikov","id":15431898,"avatar_url":"https://avatars.githubusercontent.com/u/15431898?v=3","gravatar_id":"","url":"https://api.github.com/users/Ivan-Nebogatikov","html_url":"https://github.com/Ivan-Nebogatikov","followers_url":"https://api.github.com/users/Ivan-Nebogatikov/followers","following_url":"https://api.github.com/users/Ivan-Nebogatikov/following{/other_user}","gists_url":"https://api.github.com/users/Ivan-Nebogatikov/gists{/gist_id}","starred_url":"https://api.github.com/users/Ivan-Nebogatikov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ivan-Nebogatikov/subscriptions","organizations_url":"https://api.github.com/users/Ivan-Nebogatikov/orgs","repos_url":"https://api.github.com/users/Ivan-Nebogatikov/repos","events_url":"https://api.github.com/users/Ivan-Nebogatikov/events{/privacy}","received_events_url":"https://api.github.com/users/Ivan-Nebogatikov/received_events","type":"User","site_admin":false},"repo":{"id":45344262,"name":"Homeworks","full_name":"Ivan-Nebogatikov/Homeworks","owner":{"login":"Ivan-Nebogatikov","id":15431898,"avatar_url":"https://avatars.githubusercontent.com/u/15431898?v=3","gravatar_id":"","url":"https://api.github.com/users/Ivan-Nebogatikov","html_url":"https://github.com/Ivan-Nebogatikov","followers_url":"https://api.github.com/users/Ivan-Nebogatikov/followers","following_url":"https://api.github.com/users/Ivan-Nebogatikov/following{/other_user}","gists_url":"https://api.github.com/users/Ivan-Nebogatikov/gists{/gist_id}","starred_url":"https://api.github.com/users/Ivan-Nebogatikov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ivan-Nebogatikov/subscriptions","organizations_url":"https://api.github.com/users/Ivan-Nebogatikov/orgs","repos_url":"https://api.github.com/users/Ivan-Nebogatikov/repos","events_url":"https://api.github.com/users/Ivan-Nebogatikov/events{/privacy}","received_events_url":"https://api.github.com/users/Ivan-Nebogatikov/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Ivan-Nebogatikov/Homeworks","description":"","fork":false,"url":"https://api.github.com/repos/Ivan-Nebogatikov/Homeworks","forks_url":"https://api.github.com/repos/Ivan-Nebogatikov/Homeworks/forks","keys_url":"https://api.github.com/repos/Ivan-Nebogatikov/Homeworks/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Ivan-Nebogatikov/Homeworks/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Ivan-Nebogatikov/Homeworks/teams","hooks_url":"https://api.github.com/repos/Ivan-Nebogatikov/Homeworks/hooks","issue_events_url":"https://api.github.com/repos/Ivan-Nebogatikov/Homeworks/issues/events{/number}","events_url":"https://api.github.com/repos/Ivan-Nebogatikov/Homeworks/events","assignees_url":"https://api.github.com/repos/Ivan-Nebogatikov/Homeworks/assignees{/user}","branches_url":"https://api.github.com/repos/Ivan-Nebogatikov/Homeworks/branches{/branch}","tags_url":"https://api.github.com/repos/Ivan-Nebogatikov/Homeworks/tags","blobs_url":"https://api.github.com/repos/Ivan-Nebogatikov/Homeworks/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Ivan-Nebogatikov/Homeworks/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Ivan-Nebogatikov/Homeworks/git/refs{/sha}","trees_url":"https://api.github.com/repos/Ivan-Nebogatikov/Homeworks/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Ivan-Nebogatikov/Homeworks/statuses/{sha}","languages_url":"https://api.github.com/repos/Ivan-Nebogatikov/Homeworks/languages","stargazers_url":"https://api.github.com/repos/Ivan-Nebogatikov/Homeworks/stargazers","contributors_url":"https://api.github.com/repos/Ivan-Nebogatikov/Homeworks/contributors","subscribers_url":"https://api.github.com/repos/Ivan-Nebogatikov/Homeworks/subscribers","subscription_url":"https://api.github.com/repos/Ivan-Nebogatikov/Homeworks/subscription","commits_url":"https://api.github.com/repos/Ivan-Nebogatikov/Homeworks/commits{/sha}","git_commits_url":"https://api.github.com/repos/Ivan-Nebogatikov/Homeworks/git/commits{/sha}","comments_url":"https://api.github.com/repos/Ivan-Nebogatikov/Homeworks/comments{/number}","issue_comment_url":"https://api.github.com/repos/Ivan-Nebogatikov/Homeworks/issues/comments{/number}","contents_url":"https://api.github.com/repos/Ivan-Nebogatikov/Homeworks/contents/{+path}","compare_url":"https://api.github.com/repos/Ivan-Nebogatikov/Homeworks/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Ivan-Nebogatikov/Homeworks/merges","archive_url":"https://api.github.com/repos/Ivan-Nebogatikov/Homeworks/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Ivan-Nebogatikov/Homeworks/downloads","issues_url":"https://api.github.com/repos/Ivan-Nebogatikov/Homeworks/issues{/number}","pulls_url":"https://api.github.com/repos/Ivan-Nebogatikov/Homeworks/pulls{/number}","milestones_url":"https://api.github.com/repos/Ivan-Nebogatikov/Homeworks/milestones{/number}","notifications_url":"https://api.github.com/repos/Ivan-Nebogatikov/Homeworks/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Ivan-Nebogatikov/Homeworks/labels{/name}","releases_url":"https://api.github.com/repos/Ivan-Nebogatikov/Homeworks/releases{/id}","deployments_url":"https://api.github.com/repos/Ivan-Nebogatikov/Homeworks/deployments","created_at":"2015-11-01T14:48:27Z","updated_at":"2016-02-28T18:17:55Z","pushed_at":"2016-05-12T15:31:06Z","git_url":"git://github.com/Ivan-Nebogatikov/Homeworks.git","ssh_url":"git@github.com:Ivan-Nebogatikov/Homeworks.git","clone_url":"https://github.com/Ivan-Nebogatikov/Homeworks.git","svn_url":"https://github.com/Ivan-Nebogatikov/Homeworks","homepage":null,"size":3337,"stargazers_count":0,"watchers_count":0,"language":"C#","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":5,"forks":0,"open_issues":5,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Ivan-Nebogatikov/Homeworks/pulls/22"},"html":{"href":"https://github.com/Ivan-Nebogatikov/Homeworks/pull/22"},"issue":{"href":"https://api.github.com/repos/Ivan-Nebogatikov/Homeworks/issues/22"},"comments":{"href":"https://api.github.com/repos/Ivan-Nebogatikov/Homeworks/issues/22/comments"},"review_comments":{"href":"https://api.github.com/repos/Ivan-Nebogatikov/Homeworks/pulls/22/comments"},"review_comment":{"href":"https://api.github.com/repos/Ivan-Nebogatikov/Homeworks/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Ivan-Nebogatikov/Homeworks/pulls/22/commits"},"statuses":{"href":"https://api.github.com/repos/Ivan-Nebogatikov/Homeworks/statuses/c83a48a27a888eba550028efba9076ea382eba8a"}}}}