{"action":"created","comment":{"url":"https://api.github.com/repos/mono/xwt/pulls/comments/173761641","pull_request_review_id":103001083,"id":173761641,"diff_hunk":"@@ -266,57 +263,48 @@ CGSize CalcSize ()\n \t\t\t\t\t\tcell.NeedsDisplay = true;\n \t\t\t}\n \t\t}\n-\n-\t\tstatic readonly Selector sizeToFitSel = new Selector (\"sizeToFit\");\n-\n-\t\tprotected virtual bool SizeToFit (NSView view)\n-\t\t{\n-\t\t\tif (view.RespondsToSelector (sizeToFitSel)) {\n-\t\t\t\tMessaging.void_objc_msgSend (view.Handle, sizeToFitSel.Handle);\n-\t\t\t\treturn true;\n-\t\t\t}\n-\t\t\treturn false;\n-\t\t}\n \t\t\n-\t\tIEnumerable<CellPos> GetCells (CGSize cellSize)\n+\t\tList <CellPos> GetCells (CGSize cellSize)\n \t\t{\n \t\t\tint nexpands = 0;\n \t\t\tdouble requiredSize = 0;\n \t\t\tdouble availableSize = cellSize.Width;\n \n-\t\t\tvar visibleCells = VisibleCells.ToArray ();\n-\t\t\tvar sizes = new double [visibleCells.Length];\n+\t\t\tvar cellFrames = new List<CellPos> (cells.Count);","path":"Xwt.XamMac/Xwt.Mac.CellViews/CompositeCell.cs","position":null,"original_position":51,"commit_id":"48717966b5ceb3668e1b2a3ddb3d8da6da330635","original_commit_id":"48717966b5ceb3668e1b2a3ddb3d8da6da330635","user":{"login":"Therzok","id":109974,"avatar_url":"https://avatars1.githubusercontent.com/u/109974?v=4","gravatar_id":"","url":"https://api.github.com/users/Therzok","html_url":"https://github.com/Therzok","followers_url":"https://api.github.com/users/Therzok/followers","following_url":"https://api.github.com/users/Therzok/following{/other_user}","gists_url":"https://api.github.com/users/Therzok/gists{/gist_id}","starred_url":"https://api.github.com/users/Therzok/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Therzok/subscriptions","organizations_url":"https://api.github.com/users/Therzok/orgs","repos_url":"https://api.github.com/users/Therzok/repos","events_url":"https://api.github.com/users/Therzok/events{/privacy}","received_events_url":"https://api.github.com/users/Therzok/received_events","type":"User","site_admin":false},"body":"👍 ","created_at":"2018-03-12T11:14:10Z","updated_at":"2018-03-12T11:14:10Z","html_url":"https://github.com/mono/xwt/pull/799#discussion_r173761641","pull_request_url":"https://api.github.com/repos/mono/xwt/pulls/799","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/mono/xwt/pulls/comments/173761641"},"html":{"href":"https://github.com/mono/xwt/pull/799#discussion_r173761641"},"pull_request":{"href":"https://api.github.com/repos/mono/xwt/pulls/799"}}},"pull_request":{"url":"https://api.github.com/repos/mono/xwt/pulls/799","id":173977220,"html_url":"https://github.com/mono/xwt/pull/799","diff_url":"https://github.com/mono/xwt/pull/799.diff","patch_url":"https://github.com/mono/xwt/pull/799.patch","issue_url":"https://api.github.com/repos/mono/xwt/issues/799","number":799,"state":"open","locked":false,"title":"[Mac] Improve table row height calculation","user":{"login":"sevoku","id":951587,"avatar_url":"https://avatars2.githubusercontent.com/u/951587?v=4","gravatar_id":"","url":"https://api.github.com/users/sevoku","html_url":"https://github.com/sevoku","followers_url":"https://api.github.com/users/sevoku/followers","following_url":"https://api.github.com/users/sevoku/following{/other_user}","gists_url":"https://api.github.com/users/sevoku/gists{/gist_id}","starred_url":"https://api.github.com/users/sevoku/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sevoku/subscriptions","organizations_url":"https://api.github.com/users/sevoku/orgs","repos_url":"https://api.github.com/users/sevoku/repos","events_url":"https://api.github.com/users/sevoku/events{/privacy}","received_events_url":"https://api.github.com/users/sevoku/received_events","type":"User","site_admin":false},"body":"This patch reduces the amount of required recalculations while resizing rows and fixes row reallocation when the NSTableView is being resized.","created_at":"2018-03-09T11:02:39Z","updated_at":"2018-03-12T11:14:10Z","closed_at":null,"merged_at":null,"merge_commit_sha":"7a24e176547ff36036d3d06bf31a79e41e5e7907","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/mono/xwt/pulls/799/commits","review_comments_url":"https://api.github.com/repos/mono/xwt/pulls/799/comments","review_comment_url":"https://api.github.com/repos/mono/xwt/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mono/xwt/issues/799/comments","statuses_url":"https://api.github.com/repos/mono/xwt/statuses/48717966b5ceb3668e1b2a3ddb3d8da6da330635","head":{"label":"mono:mac-improve-table-row-height-calculation","ref":"mac-improve-table-row-height-calculation","sha":"48717966b5ceb3668e1b2a3ddb3d8da6da330635","user":{"login":"mono","id":53395,"avatar_url":"https://avatars3.githubusercontent.com/u/53395?v=4","gravatar_id":"","url":"https://api.github.com/users/mono","html_url":"https://github.com/mono","followers_url":"https://api.github.com/users/mono/followers","following_url":"https://api.github.com/users/mono/following{/other_user}","gists_url":"https://api.github.com/users/mono/gists{/gist_id}","starred_url":"https://api.github.com/users/mono/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mono/subscriptions","organizations_url":"https://api.github.com/users/mono/orgs","repos_url":"https://api.github.com/users/mono/repos","events_url":"https://api.github.com/users/mono/events{/privacy}","received_events_url":"https://api.github.com/users/mono/received_events","type":"Organization","site_admin":false},"repo":{"id":2650621,"name":"xwt","full_name":"mono/xwt","owner":{"login":"mono","id":53395,"avatar_url":"https://avatars3.githubusercontent.com/u/53395?v=4","gravatar_id":"","url":"https://api.github.com/users/mono","html_url":"https://github.com/mono","followers_url":"https://api.github.com/users/mono/followers","following_url":"https://api.github.com/users/mono/following{/other_user}","gists_url":"https://api.github.com/users/mono/gists{/gist_id}","starred_url":"https://api.github.com/users/mono/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mono/subscriptions","organizations_url":"https://api.github.com/users/mono/orgs","repos_url":"https://api.github.com/users/mono/repos","events_url":"https://api.github.com/users/mono/events{/privacy}","received_events_url":"https://api.github.com/users/mono/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mono/xwt","description":"A cross-platform UI toolkit for creating desktop applications with .NET and Mono","fork":false,"url":"https://api.github.com/repos/mono/xwt","forks_url":"https://api.github.com/repos/mono/xwt/forks","keys_url":"https://api.github.com/repos/mono/xwt/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mono/xwt/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mono/xwt/teams","hooks_url":"https://api.github.com/repos/mono/xwt/hooks","issue_events_url":"https://api.github.com/repos/mono/xwt/issues/events{/number}","events_url":"https://api.github.com/repos/mono/xwt/events","assignees_url":"https://api.github.com/repos/mono/xwt/assignees{/user}","branches_url":"https://api.github.com/repos/mono/xwt/branches{/branch}","tags_url":"https://api.github.com/repos/mono/xwt/tags","blobs_url":"https://api.github.com/repos/mono/xwt/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mono/xwt/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mono/xwt/git/refs{/sha}","trees_url":"https://api.github.com/repos/mono/xwt/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mono/xwt/statuses/{sha}","languages_url":"https://api.github.com/repos/mono/xwt/languages","stargazers_url":"https://api.github.com/repos/mono/xwt/stargazers","contributors_url":"https://api.github.com/repos/mono/xwt/contributors","subscribers_url":"https://api.github.com/repos/mono/xwt/subscribers","subscription_url":"https://api.github.com/repos/mono/xwt/subscription","commits_url":"https://api.github.com/repos/mono/xwt/commits{/sha}","git_commits_url":"https://api.github.com/repos/mono/xwt/git/commits{/sha}","comments_url":"https://api.github.com/repos/mono/xwt/comments{/number}","issue_comment_url":"https://api.github.com/repos/mono/xwt/issues/comments{/number}","contents_url":"https://api.github.com/repos/mono/xwt/contents/{+path}","compare_url":"https://api.github.com/repos/mono/xwt/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mono/xwt/merges","archive_url":"https://api.github.com/repos/mono/xwt/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mono/xwt/downloads","issues_url":"https://api.github.com/repos/mono/xwt/issues{/number}","pulls_url":"https://api.github.com/repos/mono/xwt/pulls{/number}","milestones_url":"https://api.github.com/repos/mono/xwt/milestones{/number}","notifications_url":"https://api.github.com/repos/mono/xwt/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mono/xwt/labels{/name}","releases_url":"https://api.github.com/repos/mono/xwt/releases{/id}","deployments_url":"https://api.github.com/repos/mono/xwt/deployments","created_at":"2011-10-26T12:13:39Z","updated_at":"2018-03-07T03:17:29Z","pushed_at":"2018-03-12T10:36:26Z","git_url":"git://github.com/mono/xwt.git","ssh_url":"git@github.com:mono/xwt.git","clone_url":"https://github.com/mono/xwt.git","svn_url":"https://github.com/mono/xwt","homepage":"","size":8869,"stargazers_count":998,"watchers_count":998,"language":"C#","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":209,"mirror_url":null,"archived":false,"open_issues_count":125,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":209,"open_issues":125,"watchers":998,"default_branch":"master"}},"base":{"label":"mono:master","ref":"master","sha":"d3556d947e0d87dc469ae1d492a9911e24416b8f","user":{"login":"mono","id":53395,"avatar_url":"https://avatars3.githubusercontent.com/u/53395?v=4","gravatar_id":"","url":"https://api.github.com/users/mono","html_url":"https://github.com/mono","followers_url":"https://api.github.com/users/mono/followers","following_url":"https://api.github.com/users/mono/following{/other_user}","gists_url":"https://api.github.com/users/mono/gists{/gist_id}","starred_url":"https://api.github.com/users/mono/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mono/subscriptions","organizations_url":"https://api.github.com/users/mono/orgs","repos_url":"https://api.github.com/users/mono/repos","events_url":"https://api.github.com/users/mono/events{/privacy}","received_events_url":"https://api.github.com/users/mono/received_events","type":"Organization","site_admin":false},"repo":{"id":2650621,"name":"xwt","full_name":"mono/xwt","owner":{"login":"mono","id":53395,"avatar_url":"https://avatars3.githubusercontent.com/u/53395?v=4","gravatar_id":"","url":"https://api.github.com/users/mono","html_url":"https://github.com/mono","followers_url":"https://api.github.com/users/mono/followers","following_url":"https://api.github.com/users/mono/following{/other_user}","gists_url":"https://api.github.com/users/mono/gists{/gist_id}","starred_url":"https://api.github.com/users/mono/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mono/subscriptions","organizations_url":"https://api.github.com/users/mono/orgs","repos_url":"https://api.github.com/users/mono/repos","events_url":"https://api.github.com/users/mono/events{/privacy}","received_events_url":"https://api.github.com/users/mono/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mono/xwt","description":"A cross-platform UI toolkit for creating desktop applications with .NET and Mono","fork":false,"url":"https://api.github.com/repos/mono/xwt","forks_url":"https://api.github.com/repos/mono/xwt/forks","keys_url":"https://api.github.com/repos/mono/xwt/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mono/xwt/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mono/xwt/teams","hooks_url":"https://api.github.com/repos/mono/xwt/hooks","issue_events_url":"https://api.github.com/repos/mono/xwt/issues/events{/number}","events_url":"https://api.github.com/repos/mono/xwt/events","assignees_url":"https://api.github.com/repos/mono/xwt/assignees{/user}","branches_url":"https://api.github.com/repos/mono/xwt/branches{/branch}","tags_url":"https://api.github.com/repos/mono/xwt/tags","blobs_url":"https://api.github.com/repos/mono/xwt/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mono/xwt/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mono/xwt/git/refs{/sha}","trees_url":"https://api.github.com/repos/mono/xwt/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mono/xwt/statuses/{sha}","languages_url":"https://api.github.com/repos/mono/xwt/languages","stargazers_url":"https://api.github.com/repos/mono/xwt/stargazers","contributors_url":"https://api.github.com/repos/mono/xwt/contributors","subscribers_url":"https://api.github.com/repos/mono/xwt/subscribers","subscription_url":"https://api.github.com/repos/mono/xwt/subscription","commits_url":"https://api.github.com/repos/mono/xwt/commits{/sha}","git_commits_url":"https://api.github.com/repos/mono/xwt/git/commits{/sha}","comments_url":"https://api.github.com/repos/mono/xwt/comments{/number}","issue_comment_url":"https://api.github.com/repos/mono/xwt/issues/comments{/number}","contents_url":"https://api.github.com/repos/mono/xwt/contents/{+path}","compare_url":"https://api.github.com/repos/mono/xwt/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mono/xwt/merges","archive_url":"https://api.github.com/repos/mono/xwt/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mono/xwt/downloads","issues_url":"https://api.github.com/repos/mono/xwt/issues{/number}","pulls_url":"https://api.github.com/repos/mono/xwt/pulls{/number}","milestones_url":"https://api.github.com/repos/mono/xwt/milestones{/number}","notifications_url":"https://api.github.com/repos/mono/xwt/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mono/xwt/labels{/name}","releases_url":"https://api.github.com/repos/mono/xwt/releases{/id}","deployments_url":"https://api.github.com/repos/mono/xwt/deployments","created_at":"2011-10-26T12:13:39Z","updated_at":"2018-03-07T03:17:29Z","pushed_at":"2018-03-12T10:36:26Z","git_url":"git://github.com/mono/xwt.git","ssh_url":"git@github.com:mono/xwt.git","clone_url":"https://github.com/mono/xwt.git","svn_url":"https://github.com/mono/xwt","homepage":"","size":8869,"stargazers_count":998,"watchers_count":998,"language":"C#","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":209,"mirror_url":null,"archived":false,"open_issues_count":125,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":209,"open_issues":125,"watchers":998,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mono/xwt/pulls/799"},"html":{"href":"https://github.com/mono/xwt/pull/799"},"issue":{"href":"https://api.github.com/repos/mono/xwt/issues/799"},"comments":{"href":"https://api.github.com/repos/mono/xwt/issues/799/comments"},"review_comments":{"href":"https://api.github.com/repos/mono/xwt/pulls/799/comments"},"review_comment":{"href":"https://api.github.com/repos/mono/xwt/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mono/xwt/pulls/799/commits"},"statuses":{"href":"https://api.github.com/repos/mono/xwt/statuses/48717966b5ceb3668e1b2a3ddb3d8da6da330635"}},"author_association":"MEMBER"}}
{"actor":{"display_login":"Therzok"}}