Commit Graph
7 Commits
Author SHA1 Message Date
Nagata Aptana e429b12fb7 Bug 1860230 - nsComponentManagerUtils.cpp: Only include "nsComponentManager.h" once r=sylvestre DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D192147
2023-10-30 08:17:42 +00:00
Andrew McCreight 5cedd55c3f Bug 1514936, part 1 - Remove the outer argument to nsIFactory::createInstance. r=xpcom-reviewers,preferences-reviewers,nika,Gijs
This patch won't actually build, because a few bits of code are used
for both nsIFactory::createInstance and static components, and static
components are not fixed until the next patch.

The first place is nsLoadGroupConstructor, which uses an nsIFactory
macro to create a static component constructor. (This could be worked
around by expanding the macro to the state before this patch.)

The other issue is that nsAppShellConstructor is used in an nsIFactory
on OSX, but as a static component on all other platforms. This could
be worked around by wrapping nsAppShellConstructor in an adaptor that
passes in the extra null argument to nsAppShellConstructor.

Differential Revision: https://phabricator.services.mozilla.com/D146456
2022-05-17 20:24:19 +00:00
Andrew McCreight 110477175f Bug 1767291, part 1 - Remove aggregate arguments to nsComponentManager's create instance methods. r=xpcom-reviewers,nika
I also took the opportunity to mark nsIComponentManager as builtinclass,
and I marked the two methods I changed as noscript because clearly they
aren't being called by JS, so it seems like it should be avoided.

I also fixed some clang-tidy issues.

Based on a patch by froydnj.

Differential Revision: https://phabricator.services.mozilla.com/D145250
2022-05-02 21:00:46 +00:00
Ehsan Akhgari 498e2df734 Bug 1521000 - Part 2: Adjust our clang-format rules to include spaces after the hash for nested preprocessor directives r=sylvestre
# ignore-this-changeset
2019-01-18 10:16:18 +01:00
Sylvestre Ledru e5a134f73a Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format
# ignore-this-changeset
2018-11-30 11:46:48 +01:00
Eric Rahm 63d46aa286 Bug 1368994 - Remove !compMgr warning. r=froydnj 2017-07-26 14:00:10 -07:00
Benjamin Smedberg c2fd766056 Bug 1332631 part G - file moves from xpcom/glue to xpcom/components, and remove GenericModule which is no longer useful, r=froydnj
MozReview-Commit-ID: 5NvfKRAlZqs
2017-01-20 14:41:10 -05:00