{ "id": "172691", "key": "ALOY-1639", "fields": { "issuetype": { "id": "4", "description": "An improvement or enhancement to an existing feature or task.", "name": "Improvement", "subtask": false }, "project": { "id": "11113", "key": "ALOY", "name": "Alloy", "projectCategory": { "id": "10400", "description": "Tools for developing applications", "name": "Tooling" } }, "fixVersions": [ { "id": "20430", "name": "CLI Release 7.0.10", "archived": false, "released": true }, { "id": "20470", "name": "Alloy 1.13.8", "archived": false, "released": true, "releaseDate": "2019-02-11" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2019-01-10T22:12:09.000+0000", "created": "2018-12-03T12:23:13.000+0000", "priority": { "name": "None", "id": "6" }, "labels": [], "versions": [], "issuelinks": [ { "id": "57046", "type": { "id": "10122", "name": "Gantt: start-finish", "inward": "is triggered by", "outward": "is triggering" }, "inwardIssue": { "id": "171809", "key": "TIMOB-26137", "fields": { "summary": "TiAPI: Move 2DMatrix and 3DMatrix to Matrix2D and Matrix3D", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "priority": { "name": "Medium", "id": "3" }, "issuetype": { "id": "7", "description": "gh.issue.story.desc", "name": "Story", "subtask": false } } } } ], "assignee": { "name": "fmiao", "key": "fmiao", "displayName": "Feon Sua Xin Miao", "active": true, "timeZone": "America/Vancouver" }, "updated": "2019-02-18T11:46:25.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "12329", "name": "Runtime", "description": "Generic bucket for uncategorized runtime issues" } ], "description": "h5.Description\r\n\r\nTIMOB-26137 deprecates the use of 2DMatrix/3DMatrix for Matrix2D/Matrix3D, the Alloy codebase uses these\r\n\r\n{code: title=2DMatrix usage}\r\n$rg -n -w -i create2DMatrix\r\nAlloy/builtins/animation.js\r\n199:\t\tview.transform = Ti.UI.create2DMatrix();\r\n206:\t\ttransform: Ti.UI.create2DMatrix().scale(1.05, 1.05),\r\n210:\t\ttransform: Ti.UI.create2DMatrix(),\r\n228:\t\ttransform: Ti.UI.create2DMatrix().translate(5, 0),\r\n232:\t\ttransform: Ti.UI.create2DMatrix().translate(-5, 0),\r\n236:\t\ttransform: Ti.UI.create2DMatrix().translate(5, 0),\r\n240:\t\ttransform: Ti.UI.create2DMatrix().translate(-5, 0),\r\n244:\t\ttransform: Ti.UI.create2DMatrix(),\r\n\r\nAlloy/template/lib/alloy.js\r\n37:var IDENTITY_TRANSFORM = OS_ANDROID ? Ti.UI.create2DMatrix() : undefined;\r\n\r\ntest/apps/testing/ALOY-717/alloy.js\r\n1:Alloy.Globals.transform = Ti.UI.create2DMatrix().rotate(45);\r\n\r\nsamples/apps/advanced/themes/alloy.js\r\n1:Alloy.CFG.sliderTransform = Ti.UI.create2DMatrix().rotate(-90);\r\n{code}\r\n\r\n{code: title=3DMatrix usage}\r\n$rg -n -w -i create3DMatrix\r\nAlloy/builtins/animation.js\r\n37:\tvar flipped_matrix = Ti.UI.create3DMatrix().rotate(\r\n49:\t\tvar unflipped_matrix = Ti.UI.create3DMatrix().rotate(\r\n{code}\r\n\r\nI think we'll need to wrap these in SDK 8 checks? Do you know [~fmiao]?", "attachment": [], "flagged": false, "summary": "Use Matrix2D/Matrix3D instead of 2DMatrix/3DMatrix", "creator": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "subtasks": [], "reporter": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "environment": null, "comment": { "comments": [ { "id": "444174", "author": { "name": "fmiao", "key": "fmiao", "displayName": "Feon Sua Xin Miao", "active": true, "timeZone": "America/Vancouver" }, "body": "[~eharris], yeah animation builtin needs to be update to support the sdk differences. ", "updateAuthor": { "name": "fmiao", "key": "fmiao", "displayName": "Feon Sua Xin Miao", "active": true, "timeZone": "America/Vancouver" }, "created": "2018-12-03T17:18:28.000+0000", "updated": "2018-12-03T17:18:28.000+0000" }, { "id": "444288", "author": { "name": "fmiao", "key": "fmiao", "displayName": "Feon Sua Xin Miao", "active": true, "timeZone": "America/Vancouver" }, "body": "PR: https://github.com/appcelerator/alloy/pull/917", "updateAuthor": { "name": "fmiao", "key": "fmiao", "displayName": "Feon Sua Xin Miao", "active": true, "timeZone": "America/Vancouver" }, "created": "2018-12-05T21:16:04.000+0000", "updated": "2018-12-05T21:16:04.000+0000" }, { "id": "444488", "author": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "body": "[~fmiao], I think we should remove this from 7.0.9 as https://github.com/appcelerator/titanium_mobile/pull/10120 is still waiting merge and without that this breaks the animations stuff.", "updateAuthor": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "created": "2018-12-11T16:10:13.000+0000", "updated": "2018-12-11T16:10:13.000+0000" }, { "id": "445193", "author": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "body": "PR Merged.", "updateAuthor": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2019-01-10T22:12:05.000+0000", "updated": "2019-01-10T22:12:05.000+0000" }, { "id": "445212", "author": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "body": "This is merged but not published. Will publish alongside ALOY-1640 and ALOY-1637", "updateAuthor": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "created": "2019-01-11T11:51:18.000+0000", "updated": "2019-01-11T11:51:18.000+0000" }, { "id": "445403", "author": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Verified the fix in CLI 7.0.10-master.5 containing alloy 1.13.7.\r\n\r\nStudio Ver: 5.1.2.201812191831\r\nOS Ver: 10.14\r\nXcode Ver: Xcode 10.1\r\nAppc NPM: 4.2.13\r\nAppc CLI: 7.0.10-master.5\r\nDaemon Ver: 1.1.3\r\nTi CLI Ver: 5.1.1\r\nAlloy Ver: 1.13.7\r\nNode Ver: 8.9.1\r\nNPM Ver: 5.5.1\r\nJava Ver: 10.0.2\r\n", "updateAuthor": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2019-01-16T18:02:37.000+0000", "updated": "2019-01-16T18:02:37.000+0000" } ], "maxResults": 6, "total": 6, "startAt": 0 } } }