Commit Graph

33 Commits

Author SHA1 Message Date
Nathan Froyd
b49fc1e0a2 Bug 1336086 - remove mozilla::services::_external_Get*Service; r=bsmedberg,jesup
Removing the exported symbols is straightforward enough.

The only wrinkle is that PeerConnectionCtx.cpp gets compiled with and
without MOZILLA_INTERNAL_API.  When compiling without
MOZILLA_INTERNAL_API, mozilla::services::Get*Service was redirected to
the _external_* symbol variants.  But as the _external_* symbols no
longer exist, PeerConnectionCtx.cpp's code no longer worked.

Fortunately, PeerConnectionCtx.cpp already contains a few #ifdef
MOZILLA_INTERNAL_API blocks to handle internal/external compilation;
fixing this newest issue was just a matter of extending existing blocks
and adding new ones.  The key observation is that we never added any
observers when compiling without MOZILLA_INTERNAL_API, so we can #ifdef
out the removals of observers, as those would have no effect, and simply
skip getting the observer service for the observer additions if we're
compiling without MOZILLA_INTERNAL_API.
2017-02-03 11:52:02 -05:00
Yura Zenevich
abb4eebf15 Bug 527003 - separating XPCOM parts from nsAccessibilityService. Removing a11y service in favour of using nsAccessibilityService directly. Adding support for a11y service shutdown. r=surkov
MozReview-Commit-ID: KKeywNi3fQb
2016-08-08 20:51:39 -04:00
Eric Rahm
3b56efd89c Bug 1251482 - Remove remaining references to MOZILLA_XPCOMRT_API from xpcom. r=froydnj 2016-02-26 18:10:56 -08:00
Wes Kocher
a7ed9527c6 Backed out 8 changesets (bug 1251482, bug 1251494, bug 1251473, bug 1239870) for gtest failures
Backed out changeset f064a5efbb8c (bug 1251494)
Backed out changeset 9e33adec1aa6 (bug 1251482)
Backed out changeset ab0347657e25 (bug 1251473)
Backed out changeset 1d385d4f195d (bug 1239870)
Backed out changeset ceb3e1ee7dda (bug 1239870)
Backed out changeset 8574075bf42f (bug 1239870)
Backed out changeset ba077a3afbc7 (bug 1239870)
Backed out changeset eb99ab06414d (bug 1239870)

MozReview-Commit-ID: 7r9SEk4VGNU
2016-02-26 17:14:57 -08:00
Eric Rahm
67ebe9fa34 Bug 1251482 - Remove remaining references to MOZILLA_XPCOMRT_API from xpcom. r=froydnj 2016-02-26 15:31:19 -08:00
Jeff Muizelaar
0f374d3614 Bug 1178426. Add GfxInfo to ServicesList.h. r=nfroyd 2015-07-08 16:51:09 -04:00
Andrew McCreight
00f75cda98 Bug 1151541, part 2 - Fix mode lines in xpcom/. r=froydnj 2015-04-09 10:25:05 -07:00
Randall Barker
2ee4f9a372 Bug 1093934 - Create a XPCOM library that can be used to support standalone WebRTC. r=nfroyd 2015-04-03 15:52:00 +02:00
Aaron Klotz
6bc0bb7246 Bug 1150684: Remove XPCOM.h from IOInterposer.h; r=froydnj 2015-04-02 14:51:18 -06:00
David Rajchenbach-Teller
5369a1dc56 Bug 918317 - Implementation of nsAsyncShutdown. r=froydnj, r=glandium 2014-09-11 09:01:00 -04:00
Lynn Tran
2ad7913e05 Bug 1041335 - Add a mozilla::services getter for nsIServiceWorkerManager; r=ehsan 2014-08-18 21:13:14 -04:00
Birunthan Mohanathas
b241110f15 Bug 1046841 - Convert xpcom/build/ to Gecko style. r=froydnj 2014-08-13 11:45:37 -07:00
Nathan Froyd
26495f53fd Bug 1003306 - part 1 - add PermissionManager/nsIPermissionManager to ServicesList.h; r=bsmedberg 2014-04-29 13:27:02 -04:00
Nathan Froyd
5a8ec7b180 Bug 1003297 - part 2 - tidy up refcount management in mozilla::services::Get*; r=bsmedberg 2014-04-29 11:59:45 -04:00
Nathan Froyd
3a9c2e36f3 Bug 1003297 - part 1 - don't try to return XPCOM services from mozilla::services getters post-XPCOM shutdown; r=bsmedberg 2014-04-29 11:51:14 -04:00
Botond Ballo
c7055577f6 Bug 976605 - Expose inIDOMUtils via mozilla::services. r=ehsan 2014-04-11 17:39:58 -04:00
Ed Morley
6a639b7ee1 Backed out changeset 27ceedad1d1c (bug 976605) 2014-04-15 17:45:24 +01:00
Botond Ballo
ffd09f554e Bug 976605 - Expose inIDOMUtils via mozilla::services. r=ehsan 2014-04-11 17:39:58 -04:00
Kyle Huey
ea94e7d568 Bug 967364: Rename already_AddRefed::get to take. r=bsmedberg 2014-03-15 12:00:15 -07:00
Aryeh Gregor
6714817176 Bug 859817 - Remove implicit conversions from raw pointer to already_AddRefed; r=Ms2ger 2013-04-22 14:15:59 +03:00
Aryeh Gregor
8b4a23fc4c Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
Gervase Markham
cb6a072c2a Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Justin Wood
202059393e Bug 714967 - Support mozilla::services with external linkage. r=bsmedberg 2012-01-05 02:04:48 -05:00
Ehsan Akhgari
478ad1a412 Bug 690892 - Replace PR_TRUE/PR_FALSE with true/false on mozilla-central; rs=dbaron
Landing on a CLOSED TREE
2011-10-17 10:59:28 -04:00
Matheus Kerschbaum
44209e0bdf Bug 678155 - Remove NS_COM. r=bsmedberg 2011-08-18 15:46:39 +02:00
Mats Palmgren
96bc521c68 Bustage fix for bug 606085. r=bustage 2011-06-30 10:41:54 +02:00
Trevor Saunders
bde14fe3bb bug 606085 - add accessibility service to service list in xpcom/build/ServiceList.h r=bsmedberg 2011-06-28 16:26:57 -07:00
Ehsan Akhgari
148281f6aa Bug 629697 - Cache the XPConnect services for accesses from Places; r=bsmedberg a=sdwilsh 2011-01-28 12:15:37 -05:00
Benjamin Stover
6fb93cf6e0 Bug 556400 - Add visits Asynchronously. r=mak r=sdwilsh sr=bz 2010-07-13 18:00:33 -07:00
Dave Townsend
3197cf7343 Backed out changeset f9a700607b86 from bug556400 due to possible browser-chrome failures. 2010-07-02 20:01:44 -07:00
Benjamin Stover
5fd5d0dce9 Bug 556400 - Make adding visits asynchronous. r=sdwilsh r=mak sr=bz 2010-06-30 16:08:28 -07:00
f2e516f204 Bug 564950 - Make more use of mozilla::services, r=surkov, jst, neil, smontagu, roc, joshmoz, gavin, shaver 2010-05-14 18:24:41 +09:00
Taras Glek
6045ad45f5 Bug 516085 - C++ easy access for common global services r=bsmedberg 2010-04-02 11:38:25 -07:00