Closed
Bug 486081
Opened 16 years ago
Closed 14 years ago
nsTime should be removed
Categories
(Core :: XPCOM, defect)
Core
XPCOM
Tracking
()
RESOLVED
FIXED
mozilla8
People
(Reporter: roc, Assigned: oceanl)
References
Details
Attachments
(1 file, 2 obsolete files)
7.67 KB,
patch
|
Details | Diff | Splinter Review |
http://mxr.mozilla.org/mozilla-central/search?string=nstime[^A-Za-z]®exp=on&find=&findi=&filter=^[^\0]*%24&hitlimit=&tree=mozilla-central
It looks like the only actual uses of this is some code that's #if defined(DEBUG_waterson) || defined(DEBUG_hyatt). That should just be deleted.
Reporter | ||
Updated•16 years ago
|
Whiteboard: [good first bug]
Updated•16 years ago
|
Assignee: nobody → mardeg
Status: NEW → ASSIGNED
Assignee | ||
Comment 1•16 years ago
|
||
patch
Reporter | ||
Comment 2•16 years ago
|
||
Comment on attachment 392638 [details] [diff] [review]
patch that removes nsTime.h and it's related lines
Great, thanks!
Attachment #392638 -
Flags: review+
Reporter | ||
Comment 3•16 years ago
|
||
In future you should request review for your patches, from a particular person. If you ask around someone will tell you who, if you don't know.
Keywords: checkin-needed
Whiteboard: [good first bug] → [needs landing]
Reporter | ||
Comment 4•16 years ago
|
||
http://tinderbox.mozilla.org/showlog.cgi?log=Thunderbird/1249440407.1249442340.13431.gz
Thunderbird still uses nsTime, apparently, so I backed this out :-(.
I wonder who else might still be using it...
Keywords: checkin-needed
Whiteboard: [needs landing]
Updated•16 years ago
|
Assignee: mardeg → oceanl
Comment 5•16 years ago
|
||
Use http://mxr.mozilla.org/comm-central/, which includes both mozilla-central and comm-central:
http://mxr.mozilla.org/comm-central/search?string=nstime[^A-Za-z]®exp=on&find=&findi=&filter=^[^\0]*%24&hitlimit=&tree=comm-central
Comment 6•16 years ago
|
||
(In reply to comment #5)
> Use http://mxr.mozilla.org/comm-central/, which includes both mozilla-central
> and comm-central:
Fwiw, currently it's c-c + m-1.9.1 (+ others).
***
http://mxr.mozilla.org/comm-central/search?string=nsTime&case=on&find=%2Fmailnews%2F
Can you file a MailNews Core bug about this? (assuming it's to be "fixed".)
Comment 7•16 years ago
|
||
Mailnews should import the nsTime code if it wishes to continue using it.
to make searching bugzilla easier, roc's backout is:
http://hg.mozilla.org/mozilla-central/rev/1f823d3b7fbf
"Backoug but 586081, mailnews still uses nsTime"
Comment 9•14 years ago
|
||
Mailnews is still working on getting rid of nsTime in bug 508558. But in the meantime, bug 435296 started using it in /modules/libpr0n/src/RasterImage.cpp:
http://mxr.mozilla.org/mozilla-central/search?string=nstime&find=RasterImage.cpp&tree=mozilla-central
Comment 10•14 years ago
|
||
Thunderbird doesn't seem to be using nsTime anymore so I plan on landing this.
Attachment #392638 -
Attachment is obsolete: true
Comment 11•14 years ago
|
||
Attachment #546585 -
Attachment is obsolete: true
Comment 12•14 years ago
|
||
Pushed to c-c try at http://build.mozillamessaging.com/tinderboxpushlog/?tree=ThunderbirdTry&rev=d2995582b09c
Also building on my local Windows box.
Comment 13•14 years ago
|
||
Or, you know, http://build.mozillamessaging.com/tinderboxpushlog/?tree=ThunderbirdTry&rev=c5a83a2482b0 with the added patch that will actually work.
Comment 14•14 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla8
You need to log in
before you can comment on or make changes to this bug.
Description
•