Commit Graph
88 Commits
Author SHA1 Message Date
Shih-Chiang Chien 5dc7740f07 Bug 1239242 - support PresentationRequest.startWithDevice(). r=smaug. 2016-01-13 19:21:25 +08:00
Nicholas Nethercote 6a634f5d75 Bug 1237151 (part 3) - Remove ignored qualifiers in all remaining code. r=froydnj. 2016-01-05 17:08:45 -08:00
Shih-Chiang Chien c89545c738 Bug 1224113 - fix ref count issue during channel close. r=jdm 2015-12-22 19:30:08 +08:00
Bogdan Postelnicu 41a9843bca Bug 1231677 - verify the return of mDiscoveryTimer->Init, if it faild exit function with error code. r=jst 2015-12-10 07:56:00 +01:00
Chih-Yi Leu 312f1b0e17 Bug 1227030 - Change log module to LazyLogModule with a more self-explantory name. r=seanlin 2015-12-01 02:29:00 +01:00
Nathan Froyd 54dfa729a9 Bug 1218454 - part 2 - don't #include nsContentUtils.h from CallbackObject.h; r=bz
We used to need nsContentUtils.h here for nsCxPusher, but since that got
moved to ScriptSettings.h, we no longer need nsContentUtils.h for
anything.
2015-10-26 12:14:47 -04:00
chunminchang e455b58730 Bug 1226144 - Free sessionId after using it. r=selin 2015-11-26 02:39:00 +01:00
Shih-Chiang Chien d64a2ffd64 Bug 1225726 - enable nsDNSServiceDiscovery on OS X. r=mcmanus. 2015-11-18 14:02:31 +08:00
Birunthan Mohanathas e95885610b Bug 1217307 - Remove some unnecessary null checks in rest of dom/. r=njn 2015-11-19 09:13:49 +02:00
Liang-Heng Chen c5c515fead Bug 1217807 - Part 2: Handle network online/offline event in TCPPresentationServer; r=junior 2015-11-03 01:04:00 +01:00
Carsten "Tomcat" Book 7acb4ea454 Merge mozilla-central to b2g-inbound 2015-11-02 12:06:26 +01:00
Birunthan Mohanathas ac37dec517 Bug 1219392 - Capitalize mozilla::unused to avoid conflicts. r=froydnj 2015-11-02 07:53:26 +02:00
Sean Lin f12f54e171 Bug 1217373 - [Presentation WebAPI] Avoid B2G crash due to potential excessive releases in PresentationSessionTransport. r=jdm 2015-10-22 18:33:52 +08:00
Junior Hsu 45e33cf43d Bug 1217683 - Add sendIceCandidate and implement |close(aReason)| in TCPControlChannel. r=fabrice 2015-05-25 15:23:26 +08:00
Shih-Chiang Chien ca29a752ad Bug 1217712 - Part 2 - handle abnormal control channel close with no reason. r=seanlin. 2015-10-23 00:16:00 +02:00
Wes Kocher 999e8cde6f Merge b2ginbound to central, a=merge 2015-10-22 16:50:22 -07:00
Carsten "Tomcat" Book b203ef42a8 Merge m-c to b2g-inbound 2015-10-22 12:00:41 +02:00
Sean Lin d6d1aa5cef Bug 1215426 - [Presentation WebAPI] Grant access to browser receiving pages. r=smaug 2015-10-21 14:01:08 +08:00
Shih-Chiang Chien be57f782fb Bug 1214179 - Provide device Id for non-discoverable controller. r=xeonchen 2015-10-21 01:09:00 -04:00
Kershaw Chang 28035faa5a Bug 1200132 - Use adderss to create socketTransport, r=schien, junior 2015-10-21 02:54:00 +02:00
Shih-Chiang Chien aded4816f1 Bug 1216398 - support non-discoverable controlling device. r=junior,xeonchen. 2015-10-20 16:47:56 +08:00
Liang-Heng Chen 69eadb49dc Bug 1205237 - Part 3: get self Wi-Fi IP address; r=seanlin 2015-10-21 07:53:00 +02:00
Liang-Heng Chen 7c2e879348 Bug 1205237 - Part 2: add PresentationNetworkHelper; r=schien 2015-10-18 23:06:00 +02:00
Carsten "Tomcat" Book 1669f98992 Backed out changeset 2c0b212a2879 (bug 1205237) 2015-10-21 11:14:49 +02:00
Carsten "Tomcat" Book 8acbd4a9ae Backed out changeset b47029d8d419 (bug 1205237) 2015-10-21 11:14:48 +02:00
Liang-Heng Chen fff4aa60a7 Bug 1205237 - Part 3: get self Wi-Fi IP address; r=seanlin 2015-10-20 02:32:00 +02:00
Liang-Heng Chen 5511ea101d Bug 1205237 - Part 2: add PresentationNetworkHelper; r=schien 2015-10-18 23:06:00 +02:00
Shih-Chiang Chien b772c51e90 Bug 1136565 - report session request from device provider. r=xeonchen,junior,seanlin. 2015-10-19 10:44:59 +08:00
Nathan Froyd 4e6d8f6705 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 5f6eca2369 Bug 1214176 - fix typo in _onOffer. r=junior. 2015-10-13 05:23:00 +02:00
Sean Lin 14da9b0f13 Bug 1212702 - [Presentation WebAPI] Rename to PresentationConnection. Part 2 - Tests. r=smaug 2015-10-12 10:39:20 +08:00
Sean Lin 590d0288b1 Bug 1212702 - [Presentation WebAPI] Rename to PresentationConnection. Part 1 - WebIDL bindings. r=smaug 2015-10-12 10:36:31 +08:00
Sean Lin 8647655c68 Bug 1205219 - [Presentation WebAPI] Support terminate semantics. Part 2 - Tests. r=smaug 2015-10-08 10:54:25 +08:00
Sean Lin 9f01d73942 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 aefd1b9a58 Bug 1194049 - Part 4: clear discovered devices when re-discover; r=schien 2015-09-30 01:48:00 +02:00
Liang-Heng Chen c6100618cf Bug 1194049 - Part 3: support device update; r=fabrice 2015-09-17 00:43:00 +02:00
Liang-Heng Chen a3f7062b95 Bug 1194049 - Part 2: add discovery timeout support; r=schien 2015-09-30 23:55:00 +02:00
Liang-Heng Chen 7d2c22db52 Bug 1194049 - Part 1: add thread assertion; r=schien 2015-09-08 23:42:00 +02:00
Sean Lin a98ab9f42c 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 856ca671c5 Bug 1208905 - Fix a condition in PresentationResponderLoadingCallback::Init; r=baku
Found by Viva64.
2015-09-28 09:08:42 -04:00
Sean Lin 1a130b0c80 Bug 1205222 - [Presentation WebAPI] Add PresentationReceiver and navigator.presentation.receiver. r=smaug 2015-09-22 18:36:47 +08:00
Chris Peterson 752223fd52 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 49592e475f 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 37989840cd 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 b0bd4bf5df Bug 1192101 - Part 5 - Support PresentationRequest / PresentationAvailability / getSession(s). Part 5 - Tests. r=smaug 2015-09-09 17:49:32 +08:00
Sean Lin f11d1b198c 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 fcfae2c5f1 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 6552fa730a 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 e0dcd0f1b9 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 513a1dc372 Merge m-c to f-t 2015-09-11 22:10:22 -07:00