Closed Bug 802706 Opened 13 years ago Closed 13 years ago

Remove usage of NSPRFormatTime.h from tree

Categories

(Firefox Build System :: General, defect)

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
mozilla19

People

(Reporter: isaac, Assigned: isaac)

References

Details

Attachments

(1 file, 1 obsolete file)

Bug 794510 used a workaround for the NO_NSPR_10_SUPPORT macro by creating a new header NSPRFormatTime.h that temporarily undefines and redefines it in order to use PR_FormatTime() and PR_FormatTimeUSEnglish(): http://mxr.mozilla.org/mozilla-central/source/nsprpub/pr/include/prtime.h#258 Bug 794510 comment 5 - 7 has a bit more background.
After bug 804833, PR_FormatTime and PR_FormatTimeUSEnglish are exposed even with -DNO_NSPR_10_SUPPORT. Isaac, I am assigning this bug to you since you did the original work and this seems like something you're interested in.
Assignee: nobody → isaac.aggrey
Depends on: 804833
(In reply to Brian Smith (:bsmith) from comment #1) > Isaac, I am assigning this bug to you since you did the original work and > this seems like something you're interested in. Thanks Brian. Now with bug 804833, it should be a straightforward removal.
Status: NEW → ASSIGNED
Note that we should probably wait for bug 804833 to hit mozilla-central as part of an NSPR release before we can land the fix to this bug.
(In reply to Ehsan Akhgari [:ehsan] from comment #3) > Note that we should probably wait for bug 804833 to hit mozilla-central as > part of an NSPR release before we can land the fix to this bug. Right, I plan to hold off on posting a patch until then.
Isaac, now that bug 804833 is fixed, do you wanna take this on? Thanks!
(In reply to Ehsan Akhgari [:ehsan] from comment #5) > Isaac, now that bug 804833 is fixed, do you wanna take this on? Thanks! Yep, bug 804833 was The One. Patch coming shortly...
Attached patch Patch (obsolete) — Splinter Review
Attachment #681576 - Flags: review?(ehsan)
Attachment #681576 - Flags: review?(ehsan) → review+
Attachment #681576 - Flags: review+
Attached patch Patch, v2Splinter Review
Sorry about that. This patch will work, I forgot to refresh my MQ for the last file (nsCertTree.cpp) I had to modify...
Attachment #681576 - Attachment is obsolete: true
Attachment #681675 - Flags: review?(ehsan)
Try run for 7fcb994af3a2 is complete. Detailed breakdown of the results available here: https://tbpl.mozilla.org/?tree=Try&rev=7fcb994af3a2 Results (out of 254 total builds): exception: 26 success: 65 warnings: 4 failure: 159 Builds (or logs if builds failed) available at: http://ftp.mozilla.org/pub/mozilla.org/firefox/try-builds/isaac.aggrey@gmail.com-7fcb994af3a2
Attachment #681675 - Flags: review?(ehsan) → review+
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Please wait until the patch has been merged into mozilla-central.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Status: REOPENED → RESOLVED
Closed: 13 years ago13 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla19
(In reply to Masatoshi Kimura [:emk] from comment #13) > Please wait until the patch has been merged into mozilla-central. Sorry about that, I misread the exchange in bug 804833, comment 3.
Can someone get http://mxr.mozilla.org/comm-central/source/mozilla/extensions/gnomevfs/nsGnomeVFSProtocolHandler.cpp#13 removed as well. (I don't have an up-to-date tree atm, as in, it has lots of csets from a project branch) Its currently busting SeaMonkey.
Flags: needinfo?(ryanvm)
(In reply to Justin Wood (:Callek) from comment #16) > Can someone get > http://mxr.mozilla.org/comm-central/source/mozilla/extensions/gnomevfs/ > nsGnomeVFSProtocolHandler.cpp#13 removed as well. (I don't have an > up-to-date tree atm, as in, it has lots of csets from a project branch) > > Its currently busting SeaMonkey. Sorry again, a lot of embarrassing mistakes for such a trivial bug...Ms2ger has fixed the issue on the latest version of the tree: http://hg.mozilla.org/mozilla-central/rev/4df2bf1d77e9 Thanks for that, Ms2ger.
Flags: needinfo?(ryanvm)
Try run for 7fcb994af3a2 is complete. Detailed breakdown of the results available here: https://tbpl.mozilla.org/?tree=Try&rev=7fcb994af3a2 Results (out of 255 total builds): exception: 26 success: 65 warnings: 4 failure: 160 Builds (or logs if builds failed) available at: http://ftp.mozilla.org/pub/mozilla.org/firefox/try-builds/isaac.aggrey@gmail.com-7fcb994af3a2
Product: Core → Firefox Build System
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: