Closed Bug 544533 Opened 16 years ago Closed 15 years ago

Adobe ASDoc edits are needed for some flash.sampler API content

Categories

(Tamarin Graveyard :: Virtual Machine, defect, P2)

x86
Windows XP
defect

Tracking

(Not tracked)

VERIFIED FIXED
flash10.1

People

(Reporter: djacowit, Assigned: brbaker)

Details

Attachments

(2 files, 3 obsolete files)

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.7) Gecko/20091221 Firefox/3.5.7 Build Identifier: Sampler.as content: NewObjectSample.size needs documentation for Adobe ASDoc output. /** * The NewObjectSample object size. If the object has been garbage collected, this property is * undefined and a corresponding DeleteObjectSample exists. For Flash Player debugger version only. * @playerversion Flash 9.0.115.0 * @langversion 3.0 * @keyword NewObjectSample, NewObjectSample.size, size * @see flash.sampler.DeleteObjectSample */ public native function get size() : Number; 2) flash.sampler package level method getLexicalScopes() needs grammar fix in documentaton for Adobe ASDoc output: is: * Expose the lexical scope of a Function so that activation objects and with objects and all should be: * Expose the lexical scope of a Function so that activation objects and all Reproducible: Always
Please generate and attach a patch for the changes. Thanks.
Assignee: nobody → brbaker
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Flags: flashplayer-qrb+
Priority: -- → P2
Target Milestone: --- → flash10.1
Dan can you review this patch, I do not think that Dave Jacowitz has review rights.
Attachment #425829 - Flags: review?(dschaffe)
Attachment #425829 - Flags: review?(djacowit)
Whiteboard: has-patch
Comment on attachment 425829 [details] [diff] [review] documentation patch confirmed the patch matches Dave's changes.
Attachment #425829 - Flags: review?(dschaffe) → review+
Comment on attachment 425829 [details] [diff] [review] documentation patch Pushed patch: tr-argo -> 3683:e52cc201111f tr -> 3782:e52cc201111f
Status: ASSIGNED → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Whiteboard: has-patch
Status: RESOLVED → VERIFIED
I think the change made to the documentation for getLexicalScopes() may have been incorrect -- Tommy, can you weigh in on this: > 2) > flash.sampler package level method getLexicalScopes() needs grammar fix in > documentaton for Adobe ASDoc output: > > is: * Expose the lexical scope of a Function so that activation > objects and with objects and all > should be: * Expose the lexical scope of a Function so that activation > objects and all I agree that the original needs a change, but the point of the original, I'm pretty sure, was to indicate that objects that were the target of the ActionScript "with" keyword will be returned. I think the fix would be to add double-quotes around the word "with": > * Expose the lexical scope of a Function so that activation > objects and "with" objects and all
ah, I see. I brought up the bug because a localization vendor caught it and couldn't translate it. Given what Mike says, I think it should probably be: ...so that activation objects and objects that are the target of the "with" keyword are seen by the profiler...
Yes, that wording sounds good to me. Dave, you want to reopen the bug?
reopened.
Status: VERIFIED → REOPENED
Resolution: FIXED → ---
status?
Attached patch fix getLexicalScopes() asdoc (obsolete) — Splinter Review
Attachment #429521 - Flags: review?(mmoreart)
Attached patch fix getLexicalScopes() asdoc (obsolete) — Splinter Review
clean up the previous patch
Attachment #429521 - Attachment is obsolete: true
Attachment #429522 - Flags: review?(mmoreart)
Attachment #429521 - Flags: review?(mmoreart)
Comment on attachment 429522 [details] [diff] [review] fix getLexicalScopes() asdoc This patch restores the reference to objects that are the target of the "with" keyword, but removes the reference to "all captured scope objects," which I think should still be there. The missing phrase ("all captured scope objects") is, I believe, a reference to the objects on the scope chain; Tommy would know for sure. As a more minor point, as long as you are in there modifying this, don't we typically use the third person in asdoc? E.g. "Exposes" instead of "Expose".
Attachment #429522 - Flags: review?(mmoreart) → review-
(In reply to comment #12) > (From update of attachment 429522 [details] [diff] [review]) This was the patch that Dave Jacowitz had already submitted into P4... will ping him with this bug to comment on. CL#643234 Detailed Description: updating phrasing for getLexicalScopes() to sync up with proposed text in bugzilla bug 544533 so we can get it into next week's localization handoff for the language reference.
-----Original Message----- From: Dave Jacowitz Sent: Tuesday, March 02, 2010 11:06 AM To: Brent Baker Subject: RE: [Bug 544533] Adobe ASDoc edits are needed for some flash.sampler API content I think we're waiting on Tommy for review. I will go with whatever is decided. I just needed to change it so some Localization vendors could piece together a sentence. But once it is changed, they'll alter it as needed. I'm also fine with changing "Expose" to "Exposes". But as it was before, the Localization vendors were stuck.
Attachment #425829 - Flags: review?(djacowit) → review?(treilly)
Comment on attachment 425829 [details] [diff] [review] documentation patch please push
Attachment #425829 - Flags: review?(treilly)
Attachment #429522 - Attachment is obsolete: true
Attachment #431105 - Flags: review?(treilly)
Attachment #431105 - Flags: review?(mmoreart)
Comment on attachment 431105 [details] [diff] [review] v2. fix getLexicalScopes() asdoc A with object is a captured scope object. To me this reads like "all developers and C++ developers...". A real improvement would be to describe the complete set of scope objects but this isn't the place for that.
Attachment #431105 - Flags: review?(treilly) → review-
Attachment #431105 - Flags: review?(mmoreart) → review+
Comment on attachment 431105 [details] [diff] [review] v2. fix getLexicalScopes() asdoc Better would be: Exposes the lexical scope of a Function so that captured scope objects (including activation objects and with scopes) are seen by the profiler as being retained by the Function instance.
patch based on Tommy's comment #18
Attachment #431105 - Attachment is obsolete: true
Attachment #431408 - Flags: review?(mmoreart)
Attachment #431408 - Flags: review?(mmoreart) → review+
Comment on attachment 431408 [details] [diff] [review] v3. fix getLexicalScopes() asdoc pushed patch: tr-argo -> 3779:8fb2ba512154
Status: REOPENED → RESOLVED
Closed: 16 years ago15 years ago
Resolution: --- → FIXED
Status: RESOLVED → VERIFIED
patch merged into tamarin-redux: 3968:8fb2ba512154
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: