Closed Bug 437869 Opened 17 years ago Closed 16 years ago

Remove the RDF global object

Categories

(Thunderbird :: Mail Window Front End, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
Thunderbird 3.0a3

People

(Reporter: jminta, Assigned: jminta)

References

(Blocks 1 open bug)

Details

Attachments

(1 file, 2 obsolete files)

Attached patch patch v1 (obsolete) — Splinter Review
At this point, we've reduced our rdf usage to the point where we can get rid of the global "RDF" object. We still have to re-route some of the calls through GetMsgFolderFromUri, but most of the functions can be restructured to just pass folders instead of URIs.
Attachment #324211 - Flags: superreview?(bienvenu)
Attachment #324211 - Flags: review?(bienvenu)
Comment on attachment 324211 [details] [diff] [review] patch v1 Shoot, I forgot I submitted a bunch of this in another bug...
Attachment #324211 - Flags: superreview?(bienvenu)
Attachment #324211 - Flags: review?(bienvenu)
Attached patch part 1 v1 (obsolete) — Splinter Review
As it turns out, there are actually 2 copies of the same global object floating around. One is defined in messengerdnd.js, and this patch eliminates this copy. The second is defined in mailWindow.js, and that one can be eliminated once bug 441077 lands.
Attachment #324211 - Attachment is obsolete: true
Attachment #327725 - Flags: superreview?(bienvenu)
Attachment #327725 - Flags: review?(bienvenu)
Attachment #327725 - Flags: superreview?(bienvenu)
Attachment #327725 - Flags: superreview+
Attachment #327725 - Flags: review?(bienvenu)
Attachment #327725 - Flags: review+
Attached patch patch v2Splinter Review
This patch eliminates both global rdf objects, channeling people through GetMsgFolderFromUri (which is now rdf free!) instead.
Attachment #327725 - Attachment is obsolete: true
Attachment #337121 - Flags: superreview?(bienvenu)
Attachment #337121 - Flags: review?(bienvenu)
Attachment #337121 - Flags: superreview?(bienvenu)
Attachment #337121 - Flags: superreview+
Attachment #337121 - Flags: review?(bienvenu)
Attachment #337121 - Flags: review+
Pushed as 363:a28e195fb616 Regression testing should focus on drag-n-drop. Any js console errors that happen during that could be ascribable to this patch.
Status: ASSIGNED → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Target Milestone: --- → Thunderbird 3.0b1
Depends on: 436718
Blocks: 657607
No longer blocks: 657607
Blocks: 657604
No longer blocks: 460953
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: