{ "id": "61280", "key": "TIMOB-648", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [ { "id": "11225", "name": "Release 1.5.0", "archived": true, "released": true, "releaseDate": "2010-12-14" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2011-04-17T01:53:48.000+0000", "created": "2011-04-15T02:33:40.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "apidoc", "clipboard", "feature", "ios", "iphone", "patch" ], "versions": [], "issuelinks": [], "assignee": { "name": "blainhamon", "key": "blainhamon", "displayName": "Blain Hamon", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2011-04-17T01:53:48.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": "10206", "name": "iOS", "description": "iOS Platform" } ], "description": "{html}

from ticket:

\n

http://helpdesk.appcelerator.net/tickets/1654

{html}", "attachment": [], "flagged": false, "summary": "add API support for clipboard data", "creator": { "name": "nwright", "key": "nwright", "displayName": "Nolan Wright", "active": false, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "nwright", "key": "nwright", "displayName": "Nolan Wright", "active": false, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "123717", "author": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

Putting this on hold until 1.3.0 critical bugs are\naddressed.

{html}", "updateAuthor": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T02:33:40.000+0000", "updated": "2011-04-15T02:33:40.000+0000" }, { "id": "123718", "author": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

Okay, 'hold' doesn't work the way it seems like it should.\nMarking 'new' instead.

{html}", "updateAuthor": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T02:33:41.000+0000", "updated": "2011-04-15T02:33:41.000+0000" }, { "id": "123719", "author": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

Feature punt to 1.4.0.

{html}", "updateAuthor": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T02:33:41.000+0000", "updated": "2011-04-15T02:33:41.000+0000" }, { "id": "123720", "author": { "name": "ramytalal", "key": "ramytalal", "displayName": "Ramy Talal", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

I'm very interested in this.

{html}", "updateAuthor": { "name": "ramytalal", "key": "ramytalal", "displayName": "Ramy Talal", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T02:33:41.000+0000", "updated": "2011-04-15T02:33:41.000+0000" }, { "id": "123721", "author": { "name": "brionvibber", "key": "brionvibber", "displayName": "Brion Vibber", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

Same as \nhttps://appcelerator.lighthouseapp.com/projects/32238-titanium-mobi...\n?

{html}", "updateAuthor": { "name": "brionvibber", "key": "brionvibber", "displayName": "Brion Vibber", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T02:33:41.000+0000", "updated": "2011-04-15T02:33:41.000+0000" }, { "id": "123722", "author": { "name": "brionvibber", "key": "brionvibber", "displayName": "Brion Vibber", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

Spent a little weekend hacking time and threw together a quick\nport of the Titanium.UI.Clipboard module interface from\nDesktop:

\n

http://github.com/brion/titanium_mobile/tree/clipboard

\n

API docs, KitchenSink demo, Android, and iOS implementations are\non that branch in separate commits.

\n

The Android clipboard is limited to plaintext, which appears to\nwork nice enough in my initial testing.

\n

On iOS, in addition to text, there is theoretical support for\nURLs (marked as 'URL' or 'text/uri-list' as per Desktop, and using\nstrings on our side) and images (as 'image' or actual MIME type). I\nhaven't actually tested these code paths yet. :) Other data types\nmay or may not be properly converted by the system libraries from\nthe MIME type to the native clipboard UTI, and will also expect\ndata in blob form.

{html}", "updateAuthor": { "name": "brionvibber", "key": "brionvibber", "displayName": "Brion Vibber", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T02:33:42.000+0000", "updated": "2011-04-15T02:33:42.000+0000" }, { "id": "123723", "author": { "name": "dthorp", "key": "dthorp", "displayName": "Don Thorp", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

Android commit will be from Ticket #1799

{html}", "updateAuthor": { "name": "dthorp", "key": "dthorp", "displayName": "Don Thorp", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T02:33:42.000+0000", "updated": "2011-04-15T02:33:42.000+0000" }, { "id": "123724", "author": { "name": "dthorp", "key": "dthorp", "displayName": "Don Thorp", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

I've merged and pushed the docs, KS test, and Android\nimplementation iPhone commit still needs to be picked up.

{html}", "updateAuthor": { "name": "dthorp", "key": "dthorp", "displayName": "Don Thorp", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T02:33:43.000+0000", "updated": "2011-04-15T02:33:43.000+0000" }, { "id": "123725", "author": { "name": "brionvibber", "key": "brionvibber", "displayName": "Brion Vibber", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

Looks like the iOS code still hasn't been merged? There's a\nseparate bug about the KitchenSink demo for for the clipboard not\nworking on iOS:

\n

\nhttps://appcelerator.lighthouseapp.com/projects/32238/tickets/1962-...

{html}", "updateAuthor": { "name": "brionvibber", "key": "brionvibber", "displayName": "Brion Vibber", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T02:33:43.000+0000", "updated": "2011-04-15T02:33:43.000+0000" }, { "id": "123726", "author": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

There is no clipboard implementation for iOS at this time.

{html}", "updateAuthor": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T02:33:43.000+0000", "updated": "2011-04-15T02:33:43.000+0000" }, { "id": "123727", "author": { "name": "brionvibber", "key": "brionvibber", "displayName": "Brion Vibber", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

Yes, that's why I wrote one in September: \nhttp://github.com/brion/titanium_mobile/commit/46c00d6fe8ddc046b71c...

\n

Any problems with it? Can I answer any questions about it? Do\nany changes need to be made to it before it's merged?

{html}", "updateAuthor": { "name": "brionvibber", "key": "brionvibber", "displayName": "Brion Vibber", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T02:33:43.000+0000", "updated": "2011-04-15T02:33:43.000+0000" }, { "id": "123728", "author": { "name": "jhaynie", "key": "jhaynie", "displayName": "Jeff Haynie", "active": false, "timeZone": "America/Los_Angeles" }, "body": "{html}

stephen, can you merge this in for 1.5? i had it on my list but\nit feel off. :>

{html}", "updateAuthor": { "name": "jhaynie", "key": "jhaynie", "displayName": "Jeff Haynie", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T02:33:43.000+0000", "updated": "2011-04-15T02:33:43.000+0000" }, { "id": "123729", "author": { "name": "blainhamon", "key": "blainhamon", "displayName": "Blain Hamon", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

As of \nhttp://github.com/appcelerator/titanium_mobile/commit/a44c1b0de5412...\n, Brion's push request was merged in.

{html}", "updateAuthor": { "name": "blainhamon", "key": "blainhamon", "displayName": "Blain Hamon", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T02:33:44.000+0000", "updated": "2011-04-15T02:33:44.000+0000" }, { "id": "123730", "author": { "name": "thomashuelbert", "key": "thomashuelbert", "displayName": "Thomas Huelbert", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

4th gen ipod running 4.1, 3g iphone 3.1.2 .5.0.77ad8ac

{html}", "updateAuthor": { "name": "thomashuelbert", "key": "thomashuelbert", "displayName": "Thomas Huelbert", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T02:33:44.000+0000", "updated": "2011-04-15T02:33:44.000+0000" } ], "maxResults": 14, "total": 14, "startAt": 0 } } }