{"action":"created","comment":{"url":"https://api.github.com/repos/runrev/livecode/pulls/comments/24426504","id":24426504,"diff_hunk":"@@ -916,6 +917,17 @@ Exec_stat MCImage::getprop(uint4 parid, Properties which, MCExecPoint& ep, Boole\n             else\n                 ep . clear();\n         break;\n+        // MERG-2014-09-18: [[ ImageMetadata ]] return the image metadata as an array\n+    case P_METADATA:\n+        if (m_rep != nil)\n+        {\n+            MCImageMetadata t_metadata;\n+            (static_cast<MCLoadableImageRep *>(m_rep))->GetMetadata(t_metadata);","path":"engine/src/image.cpp","position":17,"original_position":17,"commit_id":"4d08e971f12dc0b0eb5c1b7a79cdf9b0dd3d5df9","original_commit_id":"4d08e971f12dc0b0eb5c1b7a79cdf9b0dd3d5df9","user":{"login":"runrevian","id":3985900,"avatar_url":"https://avatars.githubusercontent.com/u/3985900?v=3","gravatar_id":"","url":"https://api.github.com/users/runrevian","html_url":"https://github.com/runrevian","followers_url":"https://api.github.com/users/runrevian/followers","following_url":"https://api.github.com/users/runrevian/following{/other_user}","gists_url":"https://api.github.com/users/runrevian/gists{/gist_id}","starred_url":"https://api.github.com/users/runrevian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/runrevian/subscriptions","organizations_url":"https://api.github.com/users/runrevian/orgs","repos_url":"https://api.github.com/users/runrevian/repos","events_url":"https://api.github.com/users/runrevian/events{/privacy}","received_events_url":"https://api.github.com/users/runrevian/received_events","type":"User","site_admin":false},"body":"This cast is dangerous, as the underlying type of m_rep can easily be something other than MCLoadableImageRep","created_at":"2015-02-10T16:34:21Z","updated_at":"2015-02-10T16:34:21Z","html_url":"https://github.com/runrev/livecode/pull/1213#discussion_r24426504","pull_request_url":"https://api.github.com/repos/runrev/livecode/pulls/1213","_links":{"self":{"href":"https://api.github.com/repos/runrev/livecode/pulls/comments/24426504"},"html":{"href":"https://github.com/runrev/livecode/pull/1213#discussion_r24426504"},"pull_request":{"href":"https://api.github.com/repos/runrev/livecode/pulls/1213"}}},"pull_request":{"url":"https://api.github.com/repos/runrev/livecode/pulls/1213","id":21759790,"html_url":"https://github.com/runrev/livecode/pull/1213","diff_url":"https://github.com/runrev/livecode/pull/1213.diff","patch_url":"https://github.com/runrev/livecode/pull/1213.patch","issue_url":"https://api.github.com/repos/runrev/livecode/issues/1213","number":1213,"state":"open","locked":false,"title":"image metadata property","user":{"login":"montegoulding","id":351144,"avatar_url":"https://avatars.githubusercontent.com/u/351144?v=3","gravatar_id":"","url":"https://api.github.com/users/montegoulding","html_url":"https://github.com/montegoulding","followers_url":"https://api.github.com/users/montegoulding/followers","following_url":"https://api.github.com/users/montegoulding/following{/other_user}","gists_url":"https://api.github.com/users/montegoulding/gists{/gist_id}","starred_url":"https://api.github.com/users/montegoulding/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/montegoulding/subscriptions","organizations_url":"https://api.github.com/users/montegoulding/orgs","repos_url":"https://api.github.com/users/montegoulding/repos","events_url":"https://api.github.com/users/montegoulding/events{/privacy}","received_events_url":"https://api.github.com/users/montegoulding/received_events","type":"User","site_admin":false},"body":"","created_at":"2014-09-25T03:48:14Z","updated_at":"2015-02-10T16:34:21Z","closed_at":null,"merged_at":null,"merge_commit_sha":"11a900da99f816a0d99edfc19be2fd18f27075dc","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/runrev/livecode/pulls/1213/commits","review_comments_url":"https://api.github.com/repos/runrev/livecode/pulls/1213/comments","review_comment_url":"https://api.github.com/repos/runrev/livecode/pulls/comments/{number}","comments_url":"https://api.github.com/repos/runrev/livecode/issues/1213/comments","statuses_url":"https://api.github.com/repos/runrev/livecode/statuses/4d08e971f12dc0b0eb5c1b7a79cdf9b0dd3d5df9","head":{"label":"montegoulding:feature/image_metadata","ref":"feature/image_metadata","sha":"4d08e971f12dc0b0eb5c1b7a79cdf9b0dd3d5df9","user":{"login":"montegoulding","id":351144,"avatar_url":"https://avatars.githubusercontent.com/u/351144?v=3","gravatar_id":"","url":"https://api.github.com/users/montegoulding","html_url":"https://github.com/montegoulding","followers_url":"https://api.github.com/users/montegoulding/followers","following_url":"https://api.github.com/users/montegoulding/following{/other_user}","gists_url":"https://api.github.com/users/montegoulding/gists{/gist_id}","starred_url":"https://api.github.com/users/montegoulding/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/montegoulding/subscriptions","organizations_url":"https://api.github.com/users/montegoulding/orgs","repos_url":"https://api.github.com/users/montegoulding/repos","events_url":"https://api.github.com/users/montegoulding/events{/privacy}","received_events_url":"https://api.github.com/users/montegoulding/received_events","type":"User","site_admin":false},"repo":{"id":9335660,"name":"livecode","full_name":"montegoulding/livecode","owner":{"login":"montegoulding","id":351144,"avatar_url":"https://avatars.githubusercontent.com/u/351144?v=3","gravatar_id":"","url":"https://api.github.com/users/montegoulding","html_url":"https://github.com/montegoulding","followers_url":"https://api.github.com/users/montegoulding/followers","following_url":"https://api.github.com/users/montegoulding/following{/other_user}","gists_url":"https://api.github.com/users/montegoulding/gists{/gist_id}","starred_url":"https://api.github.com/users/montegoulding/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/montegoulding/subscriptions","organizations_url":"https://api.github.com/users/montegoulding/orgs","repos_url":"https://api.github.com/users/montegoulding/repos","events_url":"https://api.github.com/users/montegoulding/events{/privacy}","received_events_url":"https://api.github.com/users/montegoulding/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/montegoulding/livecode","description":"","fork":true,"url":"https://api.github.com/repos/montegoulding/livecode","forks_url":"https://api.github.com/repos/montegoulding/livecode/forks","keys_url":"https://api.github.com/repos/montegoulding/livecode/keys{/key_id}","collaborators_url":"https://api.github.com/repos/montegoulding/livecode/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/montegoulding/livecode/teams","hooks_url":"https://api.github.com/repos/montegoulding/livecode/hooks","issue_events_url":"https://api.github.com/repos/montegoulding/livecode/issues/events{/number}","events_url":"https://api.github.com/repos/montegoulding/livecode/events","assignees_url":"https://api.github.com/repos/montegoulding/livecode/assignees{/user}","branches_url":"https://api.github.com/repos/montegoulding/livecode/branches{/branch}","tags_url":"https://api.github.com/repos/montegoulding/livecode/tags","blobs_url":"https://api.github.com/repos/montegoulding/livecode/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/montegoulding/livecode/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/montegoulding/livecode/git/refs{/sha}","trees_url":"https://api.github.com/repos/montegoulding/livecode/git/trees{/sha}","statuses_url":"https://api.github.com/repos/montegoulding/livecode/statuses/{sha}","languages_url":"https://api.github.com/repos/montegoulding/livecode/languages","stargazers_url":"https://api.github.com/repos/montegoulding/livecode/stargazers","contributors_url":"https://api.github.com/repos/montegoulding/livecode/contributors","subscribers_url":"https://api.github.com/repos/montegoulding/livecode/subscribers","subscription_url":"https://api.github.com/repos/montegoulding/livecode/subscription","commits_url":"https://api.github.com/repos/montegoulding/livecode/commits{/sha}","git_commits_url":"https://api.github.com/repos/montegoulding/livecode/git/commits{/sha}","comments_url":"https://api.github.com/repos/montegoulding/livecode/comments{/number}","issue_comment_url":"https://api.github.com/repos/montegoulding/livecode/issues/comments/{number}","contents_url":"https://api.github.com/repos/montegoulding/livecode/contents/{+path}","compare_url":"https://api.github.com/repos/montegoulding/livecode/compare/{base}...{head}","merges_url":"https://api.github.com/repos/montegoulding/livecode/merges","archive_url":"https://api.github.com/repos/montegoulding/livecode/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/montegoulding/livecode/downloads","issues_url":"https://api.github.com/repos/montegoulding/livecode/issues{/number}","pulls_url":"https://api.github.com/repos/montegoulding/livecode/pulls{/number}","milestones_url":"https://api.github.com/repos/montegoulding/livecode/milestones{/number}","notifications_url":"https://api.github.com/repos/montegoulding/livecode/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/montegoulding/livecode/labels{/name}","releases_url":"https://api.github.com/repos/montegoulding/livecode/releases{/id}","created_at":"2013-04-10T01:45:36Z","updated_at":"2014-09-12T04:52:48Z","pushed_at":"2015-01-30T04:16:31Z","git_url":"git://github.com/montegoulding/livecode.git","ssh_url":"git@github.com:montegoulding/livecode.git","clone_url":"https://github.com/montegoulding/livecode.git","svn_url":"https://github.com/montegoulding/livecode","homepage":null,"size":49758,"stargazers_count":0,"watchers_count":0,"language":"C++","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":0,"forks":1,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"runrev:develop","ref":"develop","sha":"0049294718fa66103b5143be8dd3eb35b84b659b","user":{"login":"runrev","id":3985749,"avatar_url":"https://avatars.githubusercontent.com/u/3985749?v=3","gravatar_id":"","url":"https://api.github.com/users/runrev","html_url":"https://github.com/runrev","followers_url":"https://api.github.com/users/runrev/followers","following_url":"https://api.github.com/users/runrev/following{/other_user}","gists_url":"https://api.github.com/users/runrev/gists{/gist_id}","starred_url":"https://api.github.com/users/runrev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/runrev/subscriptions","organizations_url":"https://api.github.com/users/runrev/orgs","repos_url":"https://api.github.com/users/runrev/repos","events_url":"https://api.github.com/users/runrev/events{/privacy}","received_events_url":"https://api.github.com/users/runrev/received_events","type":"Organization","site_admin":false},"repo":{"id":9334445,"name":"livecode","full_name":"runrev/livecode","owner":{"login":"runrev","id":3985749,"avatar_url":"https://avatars.githubusercontent.com/u/3985749?v=3","gravatar_id":"","url":"https://api.github.com/users/runrev","html_url":"https://github.com/runrev","followers_url":"https://api.github.com/users/runrev/followers","following_url":"https://api.github.com/users/runrev/following{/other_user}","gists_url":"https://api.github.com/users/runrev/gists{/gist_id}","starred_url":"https://api.github.com/users/runrev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/runrev/subscriptions","organizations_url":"https://api.github.com/users/runrev/orgs","repos_url":"https://api.github.com/users/runrev/repos","events_url":"https://api.github.com/users/runrev/events{/privacy}","received_events_url":"https://api.github.com/users/runrev/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/runrev/livecode","description":"","fork":false,"url":"https://api.github.com/repos/runrev/livecode","forks_url":"https://api.github.com/repos/runrev/livecode/forks","keys_url":"https://api.github.com/repos/runrev/livecode/keys{/key_id}","collaborators_url":"https://api.github.com/repos/runrev/livecode/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/runrev/livecode/teams","hooks_url":"https://api.github.com/repos/runrev/livecode/hooks","issue_events_url":"https://api.github.com/repos/runrev/livecode/issues/events{/number}","events_url":"https://api.github.com/repos/runrev/livecode/events","assignees_url":"https://api.github.com/repos/runrev/livecode/assignees{/user}","branches_url":"https://api.github.com/repos/runrev/livecode/branches{/branch}","tags_url":"https://api.github.com/repos/runrev/livecode/tags","blobs_url":"https://api.github.com/repos/runrev/livecode/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/runrev/livecode/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/runrev/livecode/git/refs{/sha}","trees_url":"https://api.github.com/repos/runrev/livecode/git/trees{/sha}","statuses_url":"https://api.github.com/repos/runrev/livecode/statuses/{sha}","languages_url":"https://api.github.com/repos/runrev/livecode/languages","stargazers_url":"https://api.github.com/repos/runrev/livecode/stargazers","contributors_url":"https://api.github.com/repos/runrev/livecode/contributors","subscribers_url":"https://api.github.com/repos/runrev/livecode/subscribers","subscription_url":"https://api.github.com/repos/runrev/livecode/subscription","commits_url":"https://api.github.com/repos/runrev/livecode/commits{/sha}","git_commits_url":"https://api.github.com/repos/runrev/livecode/git/commits{/sha}","comments_url":"https://api.github.com/repos/runrev/livecode/comments{/number}","issue_comment_url":"https://api.github.com/repos/runrev/livecode/issues/comments/{number}","contents_url":"https://api.github.com/repos/runrev/livecode/contents/{+path}","compare_url":"https://api.github.com/repos/runrev/livecode/compare/{base}...{head}","merges_url":"https://api.github.com/repos/runrev/livecode/merges","archive_url":"https://api.github.com/repos/runrev/livecode/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/runrev/livecode/downloads","issues_url":"https://api.github.com/repos/runrev/livecode/issues{/number}","pulls_url":"https://api.github.com/repos/runrev/livecode/pulls{/number}","milestones_url":"https://api.github.com/repos/runrev/livecode/milestones{/number}","notifications_url":"https://api.github.com/repos/runrev/livecode/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/runrev/livecode/labels{/name}","releases_url":"https://api.github.com/repos/runrev/livecode/releases{/id}","created_at":"2013-04-10T00:15:57Z","updated_at":"2015-02-10T16:01:30Z","pushed_at":"2015-02-10T16:01:30Z","git_url":"git://github.com/runrev/livecode.git","ssh_url":"git@github.com:runrev/livecode.git","clone_url":"https://github.com/runrev/livecode.git","svn_url":"https://github.com/runrev/livecode","homepage":null,"size":117659,"stargazers_count":77,"watchers_count":77,"language":"C++","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":68,"mirror_url":null,"open_issues_count":62,"forks":68,"open_issues":62,"watchers":77,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/runrev/livecode/pulls/1213"},"html":{"href":"https://github.com/runrev/livecode/pull/1213"},"issue":{"href":"https://api.github.com/repos/runrev/livecode/issues/1213"},"comments":{"href":"https://api.github.com/repos/runrev/livecode/issues/1213/comments"},"review_comments":{"href":"https://api.github.com/repos/runrev/livecode/pulls/1213/comments"},"review_comment":{"href":"https://api.github.com/repos/runrev/livecode/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/runrev/livecode/pulls/1213/commits"},"statuses":{"href":"https://api.github.com/repos/runrev/livecode/statuses/4d08e971f12dc0b0eb5c1b7a79cdf9b0dd3d5df9"}}}}