Commit Graph

29 Commits

Author SHA1 Message Date
Boris Zbarsky
9bdcffc985 Bug 1436902 part 3. Replace usage of NS_IMPL_ISUPPORTS_INHERITED0 with NS_INLINE_DECL_REFCOUNTING_INHERITED when possible. r=mccr8
The change to RootAccessible.cpp fixes an obvious bug introduced in bug 741707.

The visibility changes in gfx/thebes are because NS_DECL_ISUPPORTS has a
trailing "public:" that those classes were relying on to have public
constructors.

MozReview-Commit-ID: IeB8KIJCGhU
2018-02-12 15:44:40 -05:00
Andrew McCreight
298aa82710 Bug 1412125, part 2 - Fix dom/ mode lines. r=qdot
This was automatically generated by the script modeline.py.

MozReview-Commit-ID: BgulzkGteAL

--HG--
extra : rebase_source : a4b9d16a4c06c4e85d7d85f485221b1e4ebdfede
2017-10-26 15:08:41 -07:00
Bill McCloskey
f115503a0b Bug 1372405 - Provide names for all runnables in the tree (r=froydnj)
MozReview-Commit-ID: DKR6ROiHRS7
2017-06-26 14:19:58 -07:00
Carsten "Tomcat" Book
8a1350b5a6 Backed out changeset 4f6302a98ae4 (bug 1372405)
--HG--
extra : rebase_source : 41632f3158e88e692809731394a683d065a73dfb
2017-06-21 13:59:26 +02:00
Bill McCloskey
6b3e84ed5f Bug 1372405 - Provide names for all runnables in the tree (r=froydnj)
MozReview-Commit-ID: DKR6ROiHRS7
2017-06-20 21:44:11 -07:00
Carsten "Tomcat" Book
ea1b86680c Backed out changeset 9846de3bd954 (bug 1372405)
--HG--
extra : rebase_source : 5d4a48e8ec394c329994689d938d2a6e9b2752b0
2017-06-20 08:27:02 +02:00
Bill McCloskey
4592152411 Bug 1372405 - Provide names for all runnables in the tree (r=froydnj)
MozReview-Commit-ID: DKR6ROiHRS7
2017-06-19 22:25:47 -07:00
Shih-Chiang Chien
7f0bead091 Bug 1311375 - promise reject when there is an unsettled presentation start procedure. r=smaug
MozReview-Commit-ID: AL0QeyXBwzb

--HG--
extra : rebase_source : 4a80f8589a5f497747b754b6246ebecbf046ae2b
2016-10-31 15:49:32 +08:00
Kershaw Chang
b65ed86652 Bug 1301259 - Part2: Close the connected/connecting connection before starting reconnecting, r=smaug 2016-09-28 23:35:00 +02:00
Kershaw Chang
5bb5c52b40 Bug 1299040 - Implement transport builder constructor. r=smaug 2016-09-16 08:59:00 -04:00
Phil Ringnalda
069b27b0aa Backed out changeset e684bf18e5d9 (bug 1299040) for bad implicit conversion constructor bustage
CLOSED TREE
2016-09-15 19:31:32 -07:00
Kershaw Chang
048198ad45 Bug 1299040 - Implement transport builder constructor. r=smaug 2016-09-15 07:09:00 -04:00
Kershaw Chang
4317633349 Bug 1288297 - Construct PresentationRequest with multiple URLs, r=smaug 2016-09-05 01:17:00 +02:00
Kershaw Chang
bd60aefa57 Bug 1298360 - Separate session id and window id mapping into two parts. r=smaug
--HG--
extra : rebase_source : c365514be64095e2936d4ccb8a6560b96ad3d70e
2016-08-29 19:40:00 -04:00
Shih-Chiang Chien
a99142a2c5 Bug 1287717 - Part 2, close receiver page while loading fail. r=smaug.
MozReview-Commit-ID: Dogham2LmHG
2016-08-04 09:46:14 +08:00
Kershaw Chang
4f5b2c7d11 Bug 1197690 - Part2: Implement reconnect, r=smaug
--HG--
extra : rebase_source : b40f774b3af223910da37094b2f82bfc5b8b92d2
2016-08-02 19:11:00 +02:00
Kershaw Chang
70abe8c5e3 Bug 1258602 - Part1: Add PresentationConnectionList, r=smaug 2016-05-29 19:59:00 +02:00
KuoE0
846c1e60ec Bug 1234492 - Part 1 - Add direction in PresentationService, r=smaug
Conflicts:
	dom/presentation/PresentationConnection.cpp
	dom/presentation/PresentationService.cpp
	dom/presentation/interfaces/nsIPresentationService.idl
	dom/presentation/ipc/PPresentation.ipdl
	dom/presentation/ipc/PresentationIPCService.cpp
	dom/presentation/ipc/PresentationParent.cpp

--HG--
extra : rebase_source : c592a64c13113cc323a18a68c103faaa7614d314
2016-04-18 02:19:00 +02:00
Ryan VanderMeulen
2fea4e0c11 Backed out 3 changesets (bug 1234492) for frequent OSX test_presentation_dc_receiver.html failures.
Backed out changeset 94ec70bf8c22 (bug 1234492)
Backed out changeset ac0e65743b5d (bug 1234492)
Backed out changeset 801cac365dd9 (bug 1234492)
2016-04-24 18:50:55 -04:00
KuoE0
e5175b9483 Bug 1234492 - Part 1: Add direction in PresentationService. r=smaug
--HG--
extra : rebase_source : 56c30d5565e5875b2f30f8f07fad01f91a15f0f0
extra : histedit_source : 7273fb211f9656ab0487301227b3d6361644b7e8
2015-11-27 16:06:32 +08:00
Kyle Huey
91efc5a86c Bug 1241764: Replace nsPIDOMWindow with nsPIDOMWindowInner/Outer. r=mrbkap,smaug 2016-01-30 09:05:36 -08:00
Nathan Froyd
01583602a9 Bug 1207245 - part 6 - rename nsRefPtr<T> to RefPtr<T>; r=ehsan; a=Tomcat
The bulk of this commit was generated with a script, executed at the top
level of a typical source code checkout.  The only non-machine-generated
part was modifying MFBT's moz.build to reflect the new naming.

CLOSED TREE makes big refactorings like this a piece of cake.

 # The main substitution.
find . -name '*.cpp' -o -name '*.cc' -o -name '*.h' -o -name '*.mm' -o -name '*.idl'| \
    xargs perl -p -i -e '
 s/nsRefPtr\.h/RefPtr\.h/g; # handle includes
 s/nsRefPtr ?</RefPtr</g;   # handle declarations and variables
'

 # Handle a special friend declaration in gfx/layers/AtomicRefCountedWithFinalize.h.
perl -p -i -e 's/::nsRefPtr;/::RefPtr;/' gfx/layers/AtomicRefCountedWithFinalize.h

 # Handle nsRefPtr.h itself, a couple places that define constructors
 # from nsRefPtr, and code generators specially.  We do this here, rather
 # than indiscriminantly s/nsRefPtr/RefPtr/, because that would rename
 # things like nsRefPtrHashtable.
perl -p -i -e 's/nsRefPtr/RefPtr/g' \
     mfbt/nsRefPtr.h \
     xpcom/glue/nsCOMPtr.h \
     xpcom/base/OwningNonNull.h \
     ipc/ipdl/ipdl/lower.py \
     ipc/ipdl/ipdl/builtin.py \
     dom/bindings/Codegen.py \
     python/lldbutils/lldbutils/utils.py

 # In our indiscriminate substitution above, we renamed
 # nsRefPtrGetterAddRefs, the class behind getter_AddRefs.  Fix that up.
find . -name '*.cpp' -o -name '*.h' -o -name '*.idl' | \
    xargs perl -p -i -e 's/nsRefPtrGetterAddRefs/RefPtrGetterAddRefs/g'

if [ -d .git ]; then
    git mv mfbt/nsRefPtr.h mfbt/RefPtr.h
else
    hg mv mfbt/nsRefPtr.h mfbt/RefPtr.h
fi

--HG--
rename : mfbt/nsRefPtr.h => mfbt/RefPtr.h
2015-10-18 01:24:48 -04:00
Sean Lin
734f22b0e0 Bug 1212702 - [Presentation WebAPI] Rename to PresentationConnection. Part 1 - WebIDL bindings. r=smaug
--HG--
rename : dom/presentation/PresentationSession.cpp => dom/presentation/PresentationConnection.cpp
rename : dom/presentation/PresentationSession.h => dom/presentation/PresentationConnection.h
rename : dom/webidl/PresentationSession.webidl => dom/webidl/PresentationConnection.webidl
rename : dom/webidl/PresentationSessionConnectEvent.webidl => dom/webidl/PresentationConnectionAvailableEvent.webidl
2015-10-12 10:36:31 +08:00
Ehsan Akhgari
72953e5810 Bug 1208905 - Fix a condition in PresentationResponderLoadingCallback::Init; r=baku
Found by Viva64.
2015-09-28 09:08:42 -04:00
Sean Lin
2484876e88 Bug 1192101 - Part 3 - Support PresentationRequest / PresentationAvailability / getSession(s). Part 3 - Adjust errors. r=smaug 2015-09-09 16:38:26 +08:00
Sean Lin
97f0121975 Bug 1192101 - Part 2 - Support PresentationRequest / PresentationAvailability / getSession(s). Part 2 - Change notification & event dispatching. r=smaug 2015-09-10 16:29:08 +08:00
Sean Lin
16cb2d0274 Bug 1192727 - Improve the way that Presentation receiver gets the ID of the incoming session. r=smaug
--HG--
extra : histedit_source : 9ca69ab5fb5b440050bf6cd9e9e95242d31c2b27
2015-08-31 13:24:35 +08:00
Sean Lin
4eb814cda5 Bug 1069230 - Presentation API implementation. Part 5 - Establish session (receiver). r=smaug 2015-03-30 15:46:11 +08:00
Sean Lin
0a8b5f2ba1 Bug 1069230 - Presentation API implementation. Part 4 - Establish session (sender) & available changes. r=smaug 2015-03-30 14:27:27 +08:00