Commit Graph

75 Commits

Author SHA1 Message Date
Junior Hsu
8d5b035917 Bug 1217683 - Add sendIceCandidate and implement |close(aReason)| in TCPControlChannel. r=fabrice 2015-05-25 15:23:26 +08:00
Shih-Chiang Chien
6e9d1f7edb Bug 1217712 - Part 2 - handle abnormal control channel close with no reason. r=seanlin. 2015-10-23 00:16:00 +02:00
Wes Kocher
a274f1a1f0 Merge b2ginbound to central, a=merge 2015-10-22 16:50:22 -07:00
Carsten "Tomcat" Book
079bf6acdb Merge m-c to b2g-inbound 2015-10-22 12:00:41 +02:00
Sean Lin
dc4426af83 Bug 1215426 - [Presentation WebAPI] Grant access to browser receiving pages. r=smaug 2015-10-21 14:01:08 +08:00
Shih-Chiang Chien
a0b634416e Bug 1214179 - Provide device Id for non-discoverable controller. r=xeonchen 2015-10-21 01:09:00 -04:00
Kershaw Chang
9cb1d194df Bug 1200132 - Use adderss to create socketTransport, r=schien, junior 2015-10-21 02:54:00 +02:00
Shih-Chiang Chien
3592fc8b26 Bug 1216398 - support non-discoverable controlling device. r=junior,xeonchen. 2015-10-20 16:47:56 +08:00
Liang-Heng Chen
2b158e14fe Bug 1205237 - Part 3: get self Wi-Fi IP address; r=seanlin 2015-10-21 07:53:00 +02:00
Liang-Heng Chen
43a7b9c1f4 Bug 1205237 - Part 2: add PresentationNetworkHelper; r=schien 2015-10-18 23:06:00 +02:00
Carsten "Tomcat" Book
221a9650f1 Backed out changeset 2c0b212a2879 (bug 1205237) 2015-10-21 11:14:49 +02:00
Carsten "Tomcat" Book
fc1be69695 Backed out changeset b47029d8d419 (bug 1205237) 2015-10-21 11:14:48 +02:00
Liang-Heng Chen
f74b0b6715 Bug 1205237 - Part 3: get self Wi-Fi IP address; r=seanlin 2015-10-20 02:32:00 +02:00
Liang-Heng Chen
c795640128 Bug 1205237 - Part 2: add PresentationNetworkHelper; r=schien 2015-10-18 23:06:00 +02:00
Shih-Chiang Chien
3cb72c14c4 Bug 1136565 - report session request from device provider. r=xeonchen,junior,seanlin. 2015-10-19 10:44:59 +08:00
Nathan Froyd
9c5965b035 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
2015-10-18 01:24:48 -04:00
Shih-Chiang Chien
a31df12a02 Bug 1214176 - fix typo in _onOffer. r=junior. 2015-10-13 05:23:00 +02:00
Sean Lin
a2e08b2710 Bug 1212702 - [Presentation WebAPI] Rename to PresentationConnection. Part 2 - Tests. r=smaug 2015-10-12 10:39:20 +08:00
Sean Lin
5930678649 Bug 1212702 - [Presentation WebAPI] Rename to PresentationConnection. Part 1 - WebIDL bindings. r=smaug 2015-10-12 10:36:31 +08:00
Sean Lin
e50508b3e2 Bug 1205219 - [Presentation WebAPI] Support terminate semantics. Part 2 - Tests. r=smaug 2015-10-08 10:54:25 +08:00
Sean Lin
3f82aab1d2 Bug 1205219 - [Presentation WebAPI] Support terminate semantics. Part 1 - WebIDL & implementation changes. r=smaug 2015-10-08 18:11:10 +08:00
Liang-Heng Chen
c8a3adf7a3 Bug 1194049 - Part 4: clear discovered devices when re-discover; r=schien 2015-09-30 01:48:00 +02:00
Liang-Heng Chen
954342b979 Bug 1194049 - Part 3: support device update; r=fabrice 2015-09-17 00:43:00 +02:00
Liang-Heng Chen
7936e5e0ae Bug 1194049 - Part 2: add discovery timeout support; r=schien 2015-09-30 23:55:00 +02:00
Liang-Heng Chen
02986d9f86 Bug 1194049 - Part 1: add thread assertion; r=schien 2015-09-08 23:42:00 +02:00
Sean Lin
1fb2a511b0 Bug 1204709 - Disable some presentation mochitests on certain platforms to avoid intermittent issues. r=kwierso 2015-10-01 11:42:27 +08:00
Ehsan Akhgari
667953591a Bug 1208905 - Fix a condition in PresentationResponderLoadingCallback::Init; r=baku
Found by Viva64.
2015-09-28 09:08:42 -04:00
Sean Lin
03e6affa9a Bug 1205222 - [Presentation WebAPI] Add PresentationReceiver and navigator.presentation.receiver. r=smaug 2015-09-22 18:36:47 +08:00
Chris Peterson
b06d7f99a7 Bug 1207030 - Enable -Wshadow flag in more directories that have no -Wshadow warnings. r=glandium 2015-09-22 21:39:03 -07:00
Sean Lin
4d9ea33ff5 Bug 1205233 - Make Presentation API available for browser chrome code. r=smaug r=fabrice 2015-09-21 10:27:19 +08:00
Shu-yu Guo
d8faa01cea Bug 1202902 - Mass replace toplevel 'let' with 'var' in preparation for global lexical scope. (rs=jorendorff) 2015-09-15 11:19:45 -07:00
Sean Lin
c882274c2c Bug 1192101 - Part 5 - Support PresentationRequest / PresentationAvailability / getSession(s). Part 5 - Tests. r=smaug 2015-09-09 17:49:32 +08:00
Sean Lin
63dc79bdaf Bug 1192101 - Part 4 -Support PresentationRequest / PresentationAvailability / getSession(s). Part 4 - Rename PresentationSessionInfo relevant classes. r=smaug 2015-09-09 17:41:55 +08:00
Sean Lin
497d6a9d86 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
5da72e09b0 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
4c49500fbd Bug 1192101 - Part 1 - Support PresentationRequest / PresentationAvailability / getSession(s). Part 1 - WebIDL Bindings. r=smaug 2015-09-14 10:39:57 +08:00
Phil Ringnalda
937761cd90 Merge m-c to f-t 2015-09-11 22:10:22 -07:00
Sean Lin
7cef623658 Bug 1201805 - [Presentation WebAPI] Fix collaboration issues with control channel. Part 2 - Adjust the timing to send offer. r=smaug 2015-09-04 15:54:34 +08:00
Sean Lin
ac80181a35 Bug 1201805 - [Presentation WebAPI] Fix collaboration issues with control channel. Part 1 - String mismatch in channel description. r=fabrice 2015-09-01 16:52:51 +08:00
Liang-Heng Chen
6de58fb4bf Bug 1193605 - Part 1: enable mdns on Fennec. r=mcmanus r=rnewman 2015-08-25 06:58:00 +02:00
Sean Lin
5cb2d5302c Bug 1202582 - Part 2 - [Presentation WebAPI] Ensure incoming messages are well delivered to receiver pages. Part 2 - PresentationSessionInfo. r=smaug 2015-09-08 16:22:22 +08:00
Sean Lin
b65c9dd646 Bug 1202582 - Part 1 - Presentation WebAPI] Ensure incoming messages are well delivered to receiver pages. Part 1 - PresentationSessionTransport. r=jdm 2015-09-08 16:19:35 +08:00
Ryan VanderMeulen
5c3e18cb4d Merge inbound to m-c. a=merge 2015-08-31 15:21:02 -04:00
Sean Lin
227a3affbc Bug 1192727 - Improve the way that Presentation receiver gets the ID of the incoming session. r=smaug 2015-08-31 13:24:35 +08:00
Nicholas Nethercote
10d95cca57 Bug 1198334 (part 1) - Replace the opt-in FAIL_ON_WARNINGS with the opt-out ALLOW_COMPILER_WARNINGS. r=glandium.
The patch removes 455 occurrences of FAIL_ON_WARNINGS from moz.build files, and
adds 78 instances of ALLOW_COMPILER_WARNINGS. About half of those 78 are in
code we control and which should be removable with a little effort.
2015-08-27 20:44:53 -07:00
Nick Robson
3d61d63c3e Bug 904479 - Added createPromiseWithId() that returns id of resolver r=kanru,nsm 2015-08-19 14:53:22 -07:00
Aryeh Gregor
f5961e4a6b Bug 874842 - Return Event instead of nsIDOMEvent 2015-08-12 14:39:31 +03:00
Liang-Heng Chen
19de9ecfbb Bug 1188935 - Part 3: register MulticastDNSDeviceProvider on Android only if API level >= 21; r=schien 2015-08-06 03:24:00 +02:00
Sean Lin
cf5bba701e Bug 1069230 - Presentation API implementation. Part 9 - Tests. r=kikuo 2015-04-23 11:44:01 +08:00
Sean Lin
db16f5199f Bug 1069230 - Presentation API implementation. Part 8 - Data transport channel. r=jdm 2015-04-22 16:01:38 +08:00