Closed
Bug 1218315
Opened 9 years ago
Closed 9 years ago
Replace NS_LITERAL_STRING(...).get() with MOZ_UTF16 again
Categories
(Core :: XPCOM, defect)
Core
XPCOM
Tracking
()
RESOLVED
FIXED
mozilla44
Tracking | Status | |
---|---|---|
firefox44 | --- | fixed |
People
(Reporter: m_kato, Assigned: m_kato)
References
Details
Attachments
(7 files)
1.91 KB,
patch
|
froydnj
:
review+
|
Details | Diff | Splinter Review |
11.97 KB,
patch
|
froydnj
:
review+
|
Details | Diff | Splinter Review |
5.48 KB,
patch
|
froydnj
:
review+
|
Details | Diff | Splinter Review |
1.18 KB,
patch
|
froydnj
:
review+
|
Details | Diff | Splinter Review |
4.10 KB,
patch
|
froydnj
:
review+
|
Details | Diff | Splinter Review |
1.84 KB,
patch
|
froydnj
:
review+
|
Details | Diff | Splinter Review |
826 bytes,
patch
|
froydnj
:
review+
|
Details | Diff | Splinter Review |
By old bug (Bug 949821), we replace with MOZ_UTF16. But I found some landings (such as bug 1205399 etc) that still use NS_LITERAL_STRING(...).get(). Let's replace it with MOZ_UTF16() again!
Assignee | ||
Comment 1•9 years ago
|
||
https://treeherder.mozilla.org/#/jobs?repo=try&revision=fbe69125b186
Assignee | ||
Comment 2•9 years ago
|
||
Assignee | ||
Comment 3•9 years ago
|
||
Assignee | ||
Comment 4•9 years ago
|
||
Assignee | ||
Comment 5•9 years ago
|
||
Assignee | ||
Comment 6•9 years ago
|
||
Assignee | ||
Comment 7•9 years ago
|
||
Assignee | ||
Comment 8•9 years ago
|
||
Comment on attachment 8679314 [details] [diff] [review] Replace NS_LITERAL_STRING(...).get() with MOZ_UTF16(...) on browser use MOZ_UTF16 instead of NS_LITERAL_STRING().get(). This is generated by same sed script of bug 949821
Attachment #8679314 -
Flags: review?(nfroyd)
Assignee | ||
Comment 9•9 years ago
|
||
Comment on attachment 8679315 [details] [diff] [review] Replace NS_LITERAL_STRING(...).get() with MOZ_UTF16(...) on dom Use MOZ_UTF16 instead of NS_LITERAL_STRING().get(). This is generated by same sed script of bug 949821 except to nsXULContentUtils.cpp nsXULContentUtils.cpp should replace with it too.
Attachment #8679315 -
Flags: review?(nfroyd)
Assignee | ||
Comment 10•9 years ago
|
||
Comment on attachment 8679316 [details] [diff] [review] Replace NS_LITERAL_STRING(...).get() with MOZ_UTF16(...) on netwerk use MOZ_UTF16 instead of NS_LITERAL_STRING().get(). (This fix isn't generated by sed script since this uses macro)
Attachment #8679316 -
Flags: review?(nfroyd)
Assignee | ||
Comment 11•9 years ago
|
||
Comment on attachment 8679318 [details] [diff] [review] Replace NS_LITERAL_STRING(...).get() with MOZ_UTF16(...) on rdf Use AssignLiteral instead of Assign(NS_LIETARL_STRING(...).get()).
Attachment #8679318 -
Flags: review?(nfroyd)
Assignee | ||
Comment 12•9 years ago
|
||
Comment on attachment 8679319 [details] [diff] [review] Replace NS_LITERAL_STRING(...).get() with MOZ_UTF16(...) on widget use MOZ_UTF16 instead of NS_LITERAL_STRING().get(). This is generated by same sed script of bug 949821
Attachment #8679319 -
Flags: review?(nfroyd)
Assignee | ||
Comment 13•9 years ago
|
||
Comment on attachment 8679321 [details] [diff] [review] Replace NS_LITERAL_STRING(...).get() with MOZ_UTF16(...) on xpcom use MOZ_UTF16 instead of NS_LITERAL_STRING().get(). This is generated by same sed script of bug 949821
Attachment #8679321 -
Flags: review?(nfroyd)
Updated•9 years ago
|
Attachment #8679314 -
Flags: review?(nfroyd) → review+
Updated•9 years ago
|
Attachment #8679315 -
Flags: review?(nfroyd) → review+
Updated•9 years ago
|
Attachment #8679316 -
Flags: review?(nfroyd) → review+
Updated•9 years ago
|
Attachment #8679318 -
Flags: review?(nfroyd) → review+
Updated•9 years ago
|
Attachment #8679319 -
Flags: review?(nfroyd) → review+
Comment 14•9 years ago
|
||
Comment on attachment 8679321 [details] [diff] [review] Replace NS_LITERAL_STRING(...).get() with MOZ_UTF16(...) on xpcom Review of attachment 8679321 [details] [diff] [review]: ----------------------------------------------------------------- Thanks for fixing all these!
Attachment #8679321 -
Flags: review?(nfroyd) → review+
Comment 15•9 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/7102bfea6bbf https://hg.mozilla.org/integration/mozilla-inbound/rev/5931f379416e https://hg.mozilla.org/integration/mozilla-inbound/rev/9a8f4587e564 https://hg.mozilla.org/integration/mozilla-inbound/rev/5caf6fd04aed https://hg.mozilla.org/integration/mozilla-inbound/rev/18e8b44eb565 https://hg.mozilla.org/integration/mozilla-inbound/rev/35d613de217d
Updated•9 years ago
|
Flags: needinfo?(m_kato)
Assignee | ||
Comment 17•9 years ago
|
||
VS2015 (not official compiler version) causes bustage due to char16_t to LPCWSTR conversion. So Use L"" instead.
Attachment #8679990 -
Flags: review?(nfroyd)
Assignee | ||
Comment 18•9 years ago
|
||
(In reply to Bas Schouten (:bas.schouten) from comment #16) > This broke the Visual Studio 2015 build. Sorry, I will fix soon.
Flags: needinfo?(m_kato)
Updated•9 years ago
|
Attachment #8679990 -
Flags: review?(nfroyd) → review+
Comment 20•9 years ago
|
||
(In reply to Makoto Kato [:m_kato] from comment #18) > (In reply to Bas Schouten (:bas.schouten) from comment #16) > > This broke the Visual Studio 2015 build. > > Sorry, I will fix soon. No problem! Thanks a lot for the quick fix!
Comment 21•9 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/7102bfea6bbf https://hg.mozilla.org/mozilla-central/rev/5931f379416e https://hg.mozilla.org/mozilla-central/rev/9a8f4587e564 https://hg.mozilla.org/mozilla-central/rev/5caf6fd04aed https://hg.mozilla.org/mozilla-central/rev/18e8b44eb565 https://hg.mozilla.org/mozilla-central/rev/35d613de217d https://hg.mozilla.org/mozilla-central/rev/c537a7eb9bbd
Status: NEW → RESOLVED
Closed: 9 years ago
status-firefox44:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla44
Updated•3 years ago
|
Component: String → XPCOM
You need to log in
before you can comment on or make changes to this bug.
Description
•