Closed
Bug 658877
Opened 14 years ago
Closed 14 years ago
fix nsIURI build bustage caused by fix for bug 308590
Categories
(MailNews Core :: Backend, defect)
MailNews Core
Backend
Tracking
(Not tracked)
RESOLVED
FIXED
Thunderbird 8.0
People
(Reporter: Bienvenu, Assigned: Bienvenu)
References
Details
Attachments
(1 file, 3 obsolete files)
6.58 KB,
patch
|
Details | Diff | Splinter Review |
No description provided.
Assignee | ||
Comment 1•14 years ago
|
||
will try to work on this this afternoon
Assignee | ||
Comment 2•14 years ago
|
||
this just defers to the base url (except for Equals and EqualsExceptRef, which probably could do the same)
I'm going to land this, and see what the test results are, because I have to run out in a minute
Assignee: nobody → dbienvenu
Assignee | ||
Comment 3•14 years ago
|
||
This might help make more greenness (if it is correct).
Attachment #534326 -
Flags: review?(dbienvenu)
Hmmm, not quite, I get:
comm-central/mailnews/compose/src/nsSmtpService.cpp: In function ‘nsresult NS_MsgBuildSmtpUrl(nsIFile*, nsISmtpServer*, const char*, nsIMsgIdentity*, nsIUrlListener*, nsIMsgStatusFeedback*, nsIInterfaceRequestor*, nsIURI**, PRBool)’:
comm-central/mailnews/compose/src/nsSmtpService.cpp:181:54: warning: enumeral mismatch in conditional expression: ‘nsISmtpUrl::<anonymous enum>’ vs ‘nsISmtpUrl::<anonymous enum>’
comm-central/mailnews/compose/src/nsSmtpService.cpp: In static member function ‘static PRBool nsSmtpService::findServerByHostname(nsISmtpServer*, void*)’:
comm-central/mailnews/compose/src/nsSmtpService.cpp:727:79: warning: suggest parentheses around ‘&&’ within ‘||’
Attachment #534326 -
Flags: review?(dbienvenu)
Ok, this time with the missing semi-colons in place
Attachment #534326 -
Attachment is obsolete: true
Attachment #534327 -
Flags: review?(dbienvenu)
Attachment #534327 -
Flags: review?(neil)
Assignee | ||
Comment 7•14 years ago
|
||
Ian, I don't think that last patch is the right one for this bug (at least, for me to review)
Assignee | ||
Comment 8•14 years ago
|
||
sorry, I forgot to push one directory - compose change pushed.
Attachment #534327 -
Flags: review?(neil)
Attachment #534327 -
Flags: review?(dbienvenu)
Oops, too many windows and bugs being worked on. This should be the correct patch.
Tested locally.
Attachment #534327 -
Attachment is obsolete: true
Attachment #534331 -
Flags: review?(dbienvenu)
Comment 10•14 years ago
|
||
For mailto: and addbook: URLs I think we can just ignore or throw on ref operations. But unfortunately I don't think we can do this for mail/news URLs because of internal anchors. (CloneIgnoringRef is particularly tricky.)
Comment 11•14 years ago
|
||
(In reply to comment #10)
> For mailto: and addbook: URLs I think we can just ignore or throw on ref
> operations. But unfortunately I don't think we can do this for mail/news
> URLs because of internal anchors. (CloneIgnoringRef is particularly tricky.)
Joshua thoughts ?
Comment 12•14 years ago
|
||
(In reply to comment #10)
> For mailto: and addbook: URLs I think we can just ignore or throw on ref
> operations. But unfortunately I don't think we can do this for mail/news
> URLs because of internal anchors. (CloneIgnoringRef is particularly tricky.)
For news URLs, the only ones that have the anchor are the news-message: URIs, which shouldn't be a problem since we only create and consume such nsNntpUrl objects internally, and don't release them outside where someone might want to start calling Clone. That should be true for all *-message URIs; at a pinch, CloneIgnoringRef could simply treat those as not being ref portions of the URI.
Or, barring that, we might be able to s/#/;/ in all *-message URI stuff. I recall doing archaeology on thew *-message stuff, and, IIRC, the primary reason for using `#' was something related with RDF which has long since ceased to be the case. s/#/;/ might also make it play better with URIs... running around with a URI where the ref is meaningful is just asking for trouble :-) .
Assignee | ||
Comment 13•14 years ago
|
||
Comment on attachment 534331 [details] [diff] [review]
The correct patch with semi-colons
don't think we need this
Attachment #534331 -
Attachment is obsolete: true
Attachment #534331 -
Flags: review?(dbienvenu)
Assignee | ||
Comment 14•14 years ago
|
||
I think we can mark this fixed now and deal with remaining issues in other bugs (which I think we've already been doing)
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Updated•13 years ago
|
Target Milestone: --- → Thunderbird 8.0
You need to log in
before you can comment on or make changes to this bug.
Description
•