Closed
Bug 943686
Opened 11 years ago
Closed 8 years ago
Enable all of imagelib to be built in unified mode
Categories
(Core :: Graphics: ImageLib, defect)
Core
Graphics: ImageLib
Tracking
()
RESOLVED
FIXED
mozilla55
Tracking | Status | |
---|---|---|
firefox55 | --- | fixed |
People
(Reporter: seth, Assigned: erahm)
References
Details
Attachments
(5 files, 6 obsolete files)
2.74 KB,
patch
|
tnikkel
:
review+
|
Details | Diff | Splinter Review |
5.83 KB,
patch
|
tnikkel
:
review+
|
Details | Diff | Splinter Review |
1.98 KB,
patch
|
tnikkel
:
review+
|
Details | Diff | Splinter Review |
1.20 KB,
patch
|
tnikkel
:
review+
|
Details | Diff | Splinter Review |
1.28 KB,
patch
|
tnikkel
:
review+
|
Details | Diff | Splinter Review |
Right now we are prevented from building many files in imagelib in unified mode due to the use of FORCE_PR_LOG in ImageLogging.h. I suspect that we'd get more benefit out of building all of imagelib in unified mode than we do from FORCE_PR_LOG. (And indeed, I'm skeptical that ImageLogging.h in general offers much value, though I need to look more deeply at how it's used before I'll be sure.)
We should take a look at what value ImageLogging.h actually offers and do what's necessary to enable fully unified builds in imagelib.
Reporter | ||
Comment 1•11 years ago
|
||
(See bug 941854 for more discussion of the FORCE_PR_LOG issue.)
Reporter | ||
Comment 3•11 years ago
|
||
I am not working on this at the moment. I filed the bug to make sure that we kept track of the fact that issues remained with unified builds in imagelib.
Flags: needinfo?(seth)
Comment 4•11 years ago
|
||
(In reply to comment #3)
> I am not working on this at the moment. I filed the bug to make sure that we
> kept track of the fact that issues remained with unified builds in imagelib.
OK, thanks for the clarification!
Is this still an issue now that bug 806819 has landed?
Flags: needinfo?(seth)
Reporter | ||
Comment 6•10 years ago
|
||
David, I don't think so, though it's been so long since I filed this that I don't remember the details of the problem anymore. =)
Testing should be straightforward, so let's give it a try.
Flags: needinfo?(seth)
Reporter | ||
Comment 7•10 years ago
|
||
Here's the patch.
Reporter | ||
Updated•10 years ago
|
Assignee: nobody → seth
Status: NEW → ASSIGNED
Reporter | ||
Comment 8•10 years ago
|
||
Reporter | ||
Comment 9•10 years ago
|
||
Hmm... OK, it looks like some manual fixes are still needed.
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Assignee | ||
Updated•8 years ago
|
Attachment #8600201 -
Attachment is obsolete: true
Assignee | ||
Updated•8 years ago
|
Attachment #8849249 -
Attachment is obsolete: true
Assignee | ||
Updated•8 years ago
|
Attachment #8849250 -
Attachment is obsolete: true
Assignee | ||
Updated•8 years ago
|
Attachment #8849251 -
Attachment is obsolete: true
Assignee | ||
Updated•8 years ago
|
Attachment #8849252 -
Attachment is obsolete: true
Assignee | ||
Updated•8 years ago
|
Attachment #8849253 -
Attachment is obsolete: true
Assignee | ||
Comment 15•8 years ago
|
||
MozReview-Commit-ID: G9sFOtbFYjP
Attachment #8849263 -
Flags: review?(tnikkel)
Assignee | ||
Updated•8 years ago
|
Assignee: seth.bugzilla → erahm
Assignee | ||
Comment 16•8 years ago
|
||
MozReview-Commit-ID: B87v26HNtBn
Attachment #8849264 -
Flags: review?(tnikkel)
Assignee | ||
Comment 17•8 years ago
|
||
MozReview-Commit-ID: ITT9T22WyYG
Attachment #8849265 -
Flags: review?(tnikkel)
Assignee | ||
Comment 18•8 years ago
|
||
MozReview-Commit-ID: Ipo4Tb1bnHG
Attachment #8849266 -
Flags: review?(tnikkel)
Assignee | ||
Comment 19•8 years ago
|
||
MozReview-Commit-ID: cRFkjJi4dP
Attachment #8849267 -
Flags: review?(tnikkel)
Comment 20•8 years ago
|
||
Comment on attachment 8849263 [details] [diff] [review]
Add imageLoader.cpp to unified sources
It'd be nice if we could do "using mozilla::image" so we don't have to specify the image namespace while we are inside image/.
Attachment #8849263 -
Flags: review?(tnikkel) → review+
Updated•8 years ago
|
Attachment #8849264 -
Flags: review?(tnikkel) → review+
Updated•8 years ago
|
Attachment #8849265 -
Flags: review?(tnikkel) → review+
Updated•8 years ago
|
Attachment #8849266 -
Flags: review?(tnikkel) → review+
Updated•8 years ago
|
Attachment #8849267 -
Flags: review?(tnikkel) → review+
Assignee | ||
Comment 21•8 years ago
|
||
(In reply to Timothy Nikkel (:tnikkel) from comment #20)
> Comment on attachment 8849263 [details] [diff] [review]
> Add imageLoader.cpp to unified sources
>
> It'd be nice if we could do "using mozilla::image" so we don't have to
> specify the image namespace while we are inside image/.
Sorry I guess I should have included the various build failures. Basically the modification I made were to disambiguate |mozilla::layers::Image| and |mozilla::image::Image|. Adding a using statement didn't help.
Comment 22•8 years ago
|
||
Oh, that's disappointing.
Assignee | ||
Comment 23•8 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/8c34803d1392c125b736614b652f1935ea6f5019
Bug 943686 - Add imageLoader.cpp to unified sources. r=tn
https://hg.mozilla.org/integration/mozilla-inbound/rev/726f50ce3a40fc35279cf9d240128d54e4053fd2
Bug 943686 - Add imgRequest.cpp to unified sources. r=tn
https://hg.mozilla.org/integration/mozilla-inbound/rev/46d1aeb34ad2f66a04938e718f8cd80980ab71d9
Bug 943686 - Add imgRequestProxy.cpp to unified sources. r=tn
https://hg.mozilla.org/integration/mozilla-inbound/rev/2828bb6eabefd57f2c876a218d0479c0c39d360b
Bug 943686 - Add ProgressTracker.cpp to unified sources. r=tn
https://hg.mozilla.org/integration/mozilla-inbound/rev/538a6a953f5dcd16f303597e05a6665a42d3e657
Bug 943686 - Add RasterImage.cpp to unified sources. r=tn
Assignee | ||
Comment 24•8 years ago
|
||
Comment 25•8 years ago
|
||
Backed out for Windows bustage:
https://hg.mozilla.org/integration/mozilla-inbound/rev/083daa40d2d70bad15dd135276905f8ed9c08b51
https://hg.mozilla.org/integration/mozilla-inbound/rev/fc2be069fd576c9cf99c8797d541f35cdf09e4f5
https://hg.mozilla.org/integration/mozilla-inbound/rev/b1c38bf368292d2bb8fba967ac113ef376a95133
https://hg.mozilla.org/integration/mozilla-inbound/rev/e427c48b6a0a24cc3cae8890c2f6c44603c3f2de
https://hg.mozilla.org/integration/mozilla-inbound/rev/4b473fd58d07762772695d771096199da4acc00c
Push with failures: https://treeherder.mozilla.org/#/jobs?repo=mozilla-inbound&revision=538a6a953f5dcd16f303597e05a6665a42d3e657&filter-resultStatus=testfailed&filter-resultStatus=busted&filter-resultStatus=exception&filter-resultStatus=retry&filter-resultStatus=usercancel&filter-resultStatus=runnable
Failure log: https://treeherder.mozilla.org/logviewer.html#?job_id=85152753&repo=mozilla-inbound
21:51:54 INFO - nsContentUtils.obj : error LNK2019: unresolved external symbol "public: enum nsresult __thiscall imgLoader::LoadImage(class nsIURI *,class nsIURI *,class nsIURI *,enum mozilla::net::ReferrerPolicy,class nsIPrincipal *,class nsILoadGroup *,class imgINotificationObserver *,class nsINode *,class nsIDocument *,unsigned int,class nsISupports *,unsigned int,class nsAString const &,class imgRequestProxy * *)" (?LoadImage@imgLoader@@QAE?AW4nsresult@@PAVnsIURI@@00W4ReferrerPolicy@net@mozilla@@PAVnsIPrincipal@@PAVnsILoadGroup@@PAVimgINotificationObserver@@PAVnsINode@@PAVnsIDocument@@IPAVnsISupports@@IABVnsAString@@PAPAVimgRequestProxy@@@Z) referenced in function "public: static enum nsresult __cdecl nsContentUtils::LoadImage(class nsIURI *,class nsINode *,class nsIDocument *,class nsIPrincipal *,class nsIURI *,enum mozilla::net::ReferrerPolicy,class imgINotificationObserver *,int,class nsAString const &,class imgRequestProxy * *,unsigned int)" (?LoadImage@nsContentUtils@@SA?AW4nsresult@@PAVnsIURI@@PAVnsINode@@PAVnsIDocument@@PAVnsIPrincipal@@0W4ReferrerPolicy@net@mozilla@@PAVimgINotificationObserver@@HABVnsAString@@PAPAVimgRequestProxy@@I@Z)
Flags: needinfo?(erahm)
Assignee | ||
Comment 26•8 years ago
|
||
Doing a try push to see if this is just a clobber issue.
Assignee | ||
Comment 27•8 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/a7f4eebaf86b386a5e940c081c9c85cd2ce4452a
Bug 943686 - Add imageLoader.cpp to unified sources. r=tn
https://hg.mozilla.org/integration/mozilla-inbound/rev/050ac6eabd673c2151d7f00dcbd3bc7eef576dbf
Bug 943686 - Add imgRequest.cpp to unified sources. r=tn
https://hg.mozilla.org/integration/mozilla-inbound/rev/8f2a4bf4983f703bacd79d03782588f4cdd21f44
Bug 943686 - Add imgRequestProxy.cpp to unified sources. r=tn
https://hg.mozilla.org/integration/mozilla-inbound/rev/1943b9b0b58524d145b8b5d82ace9000de9bf6f2
Bug 943686 - Add ProgressTracker.cpp to unified sources. r=tn
https://hg.mozilla.org/integration/mozilla-inbound/rev/17d0a9fdad9eefbac4c9025d587e945bbb7a58ab
Bug 943686 - Add RasterImage.cpp to unified sources. r=tn
Assignee | ||
Comment 28•8 years ago
|
||
Appears to have been a case of <windows.h> #defining |LoadImage| -> |LoadImageW|.
Flags: needinfo?(erahm)
Comment 29•8 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/a7f4eebaf86b
https://hg.mozilla.org/mozilla-central/rev/050ac6eabd67
https://hg.mozilla.org/mozilla-central/rev/8f2a4bf4983f
https://hg.mozilla.org/mozilla-central/rev/1943b9b0b585
https://hg.mozilla.org/mozilla-central/rev/17d0a9fdad9e
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
status-firefox55:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla55
You need to log in
before you can comment on or make changes to this bug.
Description
•