gecko-dev/xpcom
Emilio Cobos Álvarez c2f5a4ac7a Bug 1835119 - Remove nsCOMPtr_base. r=xpcom-reviewers,kmag
It's not clear to me why specializing nsCOMPtr<nsISupports> is
particularly useful, and this removes a lot of code, bringing us closer
to unifying nsCOMPtr and RefPtr.

The changes in other places are needed because we used to allow
nsCOMPtr<nsISupports> to implicitly coerce to nsISupports even for
rvalue references.

     0:47.88 /home/emilio/src/moz/gecko-4/netwerk/protocol/http/nsHttpActivityDistributor.cpp:121:11: error: conversion function from 'nsCOMPtr<nsISupports>' to 'nsISupports *' invokes a deleted function
     0:47.88           nsCOMPtr<nsISupports>(do_QueryObject(channel)), aActivityType,
     0:47.88           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     0:47.88 /home/emilio/src/moz/gecko-4/obj-debug/dist/include/nsCOMPtr.h:764:3: note: 'operator nsISupports *' has been explicitly marked deleted here
     0:47.88   operator T*() const&& = delete;
     0:47.88   ^
     0:47.88 /home/emilio/src/moz/gecko-4/netwerk/protocol/http/nsHttpActivityDistributor.cpp:29:57: note: passing argument to parameter 'aHttpChannel' here
     0:47.88 nsHttpActivityDistributor::ObserveActivity(nsISupports* aHttpChannel,
     0:47.88                                                         ^

Which is not allowed for a good reason, generally.

Differential Revision: https://phabricator.services.mozilla.com/D179124
2023-05-31 21:58:43 +00:00
..
base Bug 1835119 - Remove nsCOMPtr_base. r=xpcom-reviewers,kmag 2023-05-31 21:58:43 +00:00
build Bug 1834909 - Enable BinaryPath code for iOS. r=emilio 2023-05-25 09:55:56 +00:00
components Bug 1815758 - Reorder StaticProtocolHandler fields to improve padding r=xpcom-reviewers,nika 2023-02-15 17:50:28 +00:00
docs Bug 1809002 - Document cycle collector macros. r=smaug 2023-01-25 00:43:46 +00:00
ds Bug 1791961 - xpcom: Fix C++20 -Wambiguous-reversed-operator warnings. r=emilio 2023-05-26 04:51:44 +00:00
geckoprocesstypes_generator Bug 1806410 - Allow sending crash pings for all processes except for testing-only ones r=chutten 2023-01-24 13:19:10 +00:00
glue Bug 1835135 [Linux] Allow to override DBus application name by MOZ_DBUS_APP_NAME env variable r=emilio 2023-05-30 12:14:58 +00:00
idl-parser Bug 1811850 - [lint] Fix ruff errors resulting from new configuration, r=webdriver-reviewers,perftest-reviewers,whimboo,sparky,firefox-build-system-reviewers,ahochheiden 2023-03-20 13:06:28 +00:00
io Bug 1814897 Add org.mozilla.firefox.systemconfig extension to load system-wide settings; r=mkaply 2023-05-26 14:01:02 +00:00
reflect Bug 1826063 - Automatic fixes for enabling Prettier on production xhtml and html files. r=mossop,webdriver-reviewers,webcompat-reviewers,geckoview-reviewers,extension-reviewers,settings-reviewers,application-update-reviewers,credential-management-reviewers,fxview-reviewers,sgalich,nalexander,devtools-reviewers,sclements,denschub,robwu,owlish 2023-05-20 12:26:56 +00:00
rust Bug 1825696 - Update in-tree crates to env_logger 0.10. r=emilio 2023-03-31 07:20:15 +00:00
string Bug 1834279 - Make nsTLiteralString copy constructor explicit r=emilio 2023-05-29 08:27:54 +00:00
system Bug 1821963 part 3: Remove various components supporting the old accessibility architecture based on content process COM proxies. r=nlapre,nalexander 2023-05-22 20:19:45 +00:00
tests Backed out 3 changesets (bug 1834222, bug 1834176) for causing RemoteProcessMonitor failures. CLOSED TREE 2023-05-24 04:29:45 +03:00
threads Bug 1826530 - Implement MessagePumpForNonMainUIThreads for mac. r=xpcom-reviewers,ipc-reviewers,mstange,nika 2023-05-23 09:05:07 +00:00
windbgdlg
xpidl
metrics.yaml Bug 1814718 - Added telemetry for number of timers fired per Timer Thread wake-up. r=smaug,florian 2023-02-15 10:07:44 +00:00
moz.build Bug 1813856 - Update BUG_COMPONENT in xpcom/base to use the new component for nsCycleCollect* files. r=smaug DONTBUILD 2023-01-31 00:50:14 +00:00
xpcom-config.h.in