Граф коммитов

448 Коммитов

Автор SHA1 Сообщение Дата
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
Shih-Chiang Chien db74baa4e1 Bug 1264110 - fix timing issue in test cases. r=kershaw.
MozReview-Commit-ID: 2Ia4L7EizrA

--HG--
extra : rebase_source : dda92d84e51a124d5820176d36cada7c20bfad2e
2016-09-05 18:18:11 +08:00
Nicholas Nethercote 34dcc7b852 Bug 1299384 - Use MOZ_MUST_USE with NS_warn_if_impl(). r=erahm.
This change avoids lots of false positives for Coverity's CHECKED_RETURN
warning, caused by NS_WARN_IF's current use in both statement-style and
expression-style.

In the case where the code within the NS_WARN_IF has side-effects, I made the
following change.

> NS_WARN_IF(NS_FAILED(FunctionWithSideEffects()));
> -->
> Unused << NS_WARN_IF(NS_FAILED(FunctionWithSideEffects()));

In the case where the code within the NS_WARN_IF lacks side-effects, I made the
following change.

> NS_WARN_IF(!condWithoutSideEffects);
> -->
> NS_WARNING_ASSERTION(condWithoutSideEffects, "msg");

This has two improvements.
- The condition is not evaluated in non-debug builds.
- The sense of the condition is inverted to the familiar "this condition should
  be true" sense used in assertions.

A common variation on the side-effect-free case is the following.

> nsresult rv = Fn();
> NS_WARN_IF_(NS_FAILED(rv));
> -->
> DebugOnly<nsresult rv> = Fn();
> NS_WARNING_ASSERTION(NS_SUCCEEDED(rv), "Fn failed");

--HG--
extra : rebase_source : 58788245021096efa8372a9dc1d597a611d45611
2016-09-02 17:12:24 +10:00
Chun-Min Chang 50ceb41bab Bug 1299061 - Expose the browser that the request was originated in; r=smaug
MozReview-Commit-ID: 2iFQiYeoxBh

--HG--
extra : rebase_source : c516a7d8cc70c85c0303e27d07854808fe9192aa
2016-08-31 20:56:17 +08:00
KuoE0 f426111737 Bug 1300492 - Fix typo in PresentationDeviceManager::GetAvailableDevices, r=smaug
MozReview-Commit-ID: DVs5uJUA6H5

--HG--
extra : rebase_source : ce54fd38d8c5781e9103b45d1fd0848b2c59255c
2016-09-05 16:52:59 +08:00
Kershaw Chang 4317633349 Bug 1288297 - Construct PresentationRequest with multiple URLs, r=smaug 2016-09-05 01:17:00 +02:00
Shih-Chiang Chien 035755489b Bug 1228508 - Part 2, maintain the set of availability objects. r=smaug
MozReview-Commit-ID: 8JNWvnfsMU7

--HG--
extra : rebase_source : 004360c49a899273cc582ad4a2e886be167e9cac
2016-08-17 16:15:32 +08:00
Shih-Chiang Chien 1a4ed0c6e5 Bug 1228508 - Part 1, create new availability object for each getAvailability(). r=smaug.
MozReview-Commit-ID: 8DjlW3C58Tz

--HG--
extra : rebase_source : 076e26f256faed64f44c035d2a1b8e317052af63
2016-08-31 10:31:15 +08: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 a2a2c152ab Bug 1228526 - Part 1, support device filtering by requested presentation URL. r=smaug
MozReview-Commit-ID: JrqeavLGub1

--HG--
extra : rebase_source : fc2eca80d59dc36e97a7af8ed3de6597faf38703
2016-08-26 10:59:27 +08:00
Kan-Ru Chen b6d880aca1 Bug 1297276 - Rename mfbt/unused.h to mfbt/Unused.h for consistency. r=froydnj
The patch is generated from following command:

  rgrep -l unused.h|xargs sed -i -e s,mozilla/unused.h,mozilla/Unused.h,

MozReview-Commit-ID: AtLcWApZfES


--HG--
rename : mfbt/unused.h => mfbt/Unused.h
2016-08-24 14:47:04 +08:00
Wes Kocher 07f8858bf6 Merge inbound to central, a=merge 2016-08-17 16:38:41 -07:00
Kershaw Chang 9eedf3c0a7 Bug 1295063 - Send reconnect command when NotifyConnected. r=smaug
--HG--
extra : rebase_source : e6ef7aa0852dbbb7de3214d38ca77899cb60f042
2016-08-16 19:32:00 -04:00
Shih-Chiang Chien 240af6bcf8 Bug 1284188 - use nsINetworkInfoService to obtain self IP address. r=smaug.
MozReview-Commit-ID: 1QwjrkV9cEk

--HG--
extra : rebase_source : 2aa7c8620505074aeba012de358d56edf0dc2af5
2016-08-12 15:27:33 +08:00
Michael Layzell aa89e8fd55 Bug 1293001 - Part 1: Change the BinaryName of nsIFrameLoaderOwner::frameLoader (which overloaded another virtual method) to FrameLoaderXPCOM, r=froydnj
MozReview-Commit-ID: Db3z2DP5qba
2016-08-11 15:49:39 -04:00
Kershaw Chang b542f5170c Bug 1254488 - Run the the prohibits mixed security contexts algorithm and check a priori unauthenticated URL in PresentationRequest, r=smaug 2016-08-10 23:01:00 +02:00
Shih-Chiang Chien a8326d97ea Bug 1288600 - reject promise with NotFoundError while no device, and NotAllowedError while canceled by user. r=smaug.
MozReview-Commit-ID: ArQHhdIpQjg
2016-08-09 09:58:14 +08:00
Shih-Chiang Chien d0642b046a Bug 1153134 - Part 3, retry startServer after timeout. r=junior.
MozReview-Commit-ID: 94cyXVPf5FN
2016-08-02 10:48:22 +08:00
Shih-Chiang Chien 555b9e27e8 Bug 1153134 - Part 2, support TLS control server. r=junior.
MozReview-Commit-ID: 2jVShMuEzTi
2016-07-26 10:59:52 +08:00
Shih-Chiang Chien 2bfa235595 Bug 1153134 - Part 1, establish TLS socket to encrypted control server. r=junior.
MozReview-Commit-ID: BamVPUoQP1r
2016-07-18 18:45:07 +08:00
Shih-Chiang Chien 5695b2c3e7 Bug 1278205 - use preference for exposing presentation API. r=smaug.
MozReview-Commit-ID: AXkZmPe9J6k

--HG--
extra : rebase_source : 4edf7b15349f235f0f655edadbce340b22a6abf7
2016-06-03 19:50:30 +08:00
Shih-Chiang Chien e9c84047a9 Bug 1292057 - add NSPR log for Presentation API. r=kershaw
MozReview-Commit-ID: Ko1BrG99Uqj

--HG--
extra : rebase_source : 5ce5ddbd12e0b7fc559cb0046b2200ba964fd322
2016-08-15 18:26:13 +08:00
Shih-Chiang Chien 2abb975dbb Bug 1254484 - resolve relative presentation URL. r=smaug.
MozReview-Commit-ID: CF3WNGorwH1
2016-08-03 15:35:36 +08: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
Shih-Chiang Chien 90424f760d Bug 1287717 - Part 1, enter closed state while fail to connect. r=smaug.
MozReview-Commit-ID: L3gacVfSlcd
2016-08-02 18:40:00 +02:00
Kershaw Chang b081892756 Bug 1197690 - Part3: Tests, r=smaug
--HG--
extra : rebase_source : 65396c7c1e80617a91060031a65efa698af79e73
2016-08-02 19:12:00 +02: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 165708a330 Bug 1197690 - Part1: Support reconnect command, r=junior
--HG--
extra : rebase_source : 4ccac7c28201562848c18b60b18614f450bdd19f
2016-08-02 19:10:00 +02:00
Shih-Chiang Chien dde25f3864 Bug 1289292 - Shutdown session info while fail to establish control channel. r=smaug 2016-07-27 18:53:00 -04:00
Tom Tromey 5538d692d3 Bug 1286877 - do not set c-basic-offset for python-mode; r=gps
This removes the unnecessary setting of c-basic-offset from all
python-mode files.

This was automatically generated using

    perl -pi -e 's/; *c-basic-offset: *[0-9]+//'

... on the affected files.

The bulk of these files are moz.build files but there a few others as
well.

MozReview-Commit-ID: 2pPf3DEiZqx

--HG--
extra : rebase_source : 0a7dcac80b924174a2c429b093791148ea6ac204
2016-07-14 10:16:42 -06:00
Chris Peterson b175c9fdd5 Bug 1277106 - Part 2: Expand MOZ_UTF16() strings to u"" string literals. r=Waldo 2016-07-20 22:03:25 -07:00
Carsten "Tomcat" Book a0992595d6 merge mozilla-inbound to mozilla-central a=merge 2016-07-17 10:08:08 +02:00
Shih-Chiang Chien d75d9bf8c4 Bug 1276378 - Part 2: Implement PresentationConnection.terminate(). r=smaug
MozReview-Commit-ID: 7GqgIdsuM3f

--HG--
extra : rebase_source : 8a860c6bf0aa103eda26d175548256c1d619ce19
2016-06-14 08:15:07 +01:00
Shih-Chiang Chien c8b67767f3 Bug 1276378 - Part 1: Add terminate command in control protocol. r=junior
MozReview-Commit-ID: BwfJKcXmN07

--HG--
extra : rebase_source : 7df8c968def5fa9640499257ce8b8814fe884388
2016-05-26 16:22:27 -07:00
Alexandre Lissy 6798f02654 Bug 1286530 - Clean AvailableIn, CheckAnyPermissions and CheckAllPermissions from WebIDL r=bz,fabrice
MozReview-Commit-ID: 6EQfBM09xUE

--HG--
rename : dom/contacts/tests/test_contacts_cache.xul => dom/contacts/tests/test_contacts_a_cache.xul
rename : dom/contacts/tests/test_contacts_shutdown.xul => dom/contacts/tests/test_contacts_a_shutdown.xul
rename : dom/contacts/tests/test_contacts_upgrade.xul => dom/contacts/tests/test_contacts_a_upgrade.xul
rename : dom/mobilemessage/tests/mochitest/mochitest.ini => dom/mobilemessage/tests/mochitest/chrome.ini
extra : rebase_source : 5f708f2a927fafff66626367ef07080785ba9f55
2016-04-21 15:48:59 +02:00
Kershaw Chang 4ccd60aace Bug 1268758 - Part2: Test case, r=smaug 2016-07-14 02:44:00 +02:00
Kershaw Chang baf1057b0d Bug 1268758 - Part1: Implement allow-presentation sandboxing flag, r=smaug 2016-07-14 02:44:00 +02:00
Kershaw Chang 284538d08c Bug 1210340 - Replace onterminate with onclose in test cases, r=smaug 2016-07-13 00:19:00 +02:00
Kershaw Chang ccba465014 Bug 1210340 - Implement PresentationConnection.close(), r=smaug 2016-07-13 00:18:00 +02:00
Shih-Chiang Chien 387368f47d Bug 1272197 - Part 5, rename callback functions in nsIPresentationControlChannel.idl. r=junior
MozReview-Commit-ID: cvavmuUxeX
2016-07-12 10:16:46 +08:00
Shih-Chiang Chien 0d76940df2 Bug 1272197 - Part 4, fix naming in test cases. r=junior
MozReview-Commit-ID: DfKVKA9YWyN
2016-07-11 20:27:55 +08:00
Shih-Chiang Chien 004be13dbc Bug 1272197 - Part 3, backward compatibility for connecting TV 2.5 devices. r=junior
MozReview-Commit-ID: 1znjwuoO27b

--HG--
rename : dom/presentation/provider/MulticastDNSDeviceProvider.cpp => dom/presentation/provider/LegacyMDNSDeviceProvider.cpp
rename : dom/presentation/provider/MulticastDNSDeviceProvider.h => dom/presentation/provider/LegacyMDNSDeviceProvider.h
2016-07-04 18:27:09 +08:00
Shih-Chiang Chien 0357c84f74 Bug 1272197 - Part 2, implement start presentation procedure. r=junior
MozReview-Commit-ID: 6RwrwfPpCuR
2016-07-04 18:12:04 +08:00
Shih-Chiang Chien a4ba4d12cf Bug 1272197 - Part 1 - broadcast new service type and protocol version on mDNS. r=junior
MozReview-Commit-ID: LIQmwVAz7gJ
2016-05-26 16:22:27 -07:00
Shih-Chiang Chien 91436f625e Bug 1272197 - Part 0 - introduce jshint in PresentationControlService. r=junior
MozReview-Commit-ID: IGobNOtSL3Z
2016-07-04 17:58:51 +08:00
Kershaw Chang a31a51a625 Bug 1268810 - Test case, r=smaug 2016-06-21 20:32:00 +02:00
Thomas Zimmermann 3ceab62a95 Bug 1276927: Fix DOM code to build with Android NDK, r=fabrice
MozReview-Commit-ID: KwW9O9DLFuy
2016-06-16 08:43:51 +01:00
Sebastian Hengst 9556f6c3b2 Backed out changeset 0086e164a0d6 (bug 1276927) 2016-06-15 12:24:11 +02:00
Thomas Zimmermann 56695984b0 Bug 1276927: Fix DOM code to build with Android NDK, r=fabrice
MozReview-Commit-ID: KwW9O9DLFuy
2016-06-15 10:59:48 +01:00
Ralph Giles d8b5bb25d4 Bug 1275744 - Reference MOZ_LOG in dom comments. r=erahm
NSPR_LOG_MODULES is deprecated.

MozReview-Commit-ID: GgJTpEHyZqJ

--HG--
extra : rebase_source : dea80975ee6281aff1476f99f1807f3093af82c9
2016-05-26 11:08:47 -07:00
Jonathan Watt b15368cfcb Bug 1279451 - Remove a lot of unnecessary includes of nsAutoPtr.h. rs=sparky 2016-06-07 21:10:18 +01:00
Junior Hsu fa39bdbd67 Bug 1264513 - Part 3: new test cases for oop data channel scenario, r=smaug 2016-06-03 14:48:26 +08:00
Junior Hsu 64ded9c3d1 Bug 1264513 - Part 2: PPresentationBuilder.ipdl changes - OOP handling for builder, r=smaug 2016-06-03 14:48:26 +08:00
Junior Hsu 60de51a4c5 Bug 1264513 - Part 1: IPresentationSessionTransportBuilder.idl changes - necessary refactory in in-proc data channel handling, r=smaug 2016-06-03 14:48:26 +08:00
Nicholas Nethercote ec7b5a5b2b No bug. Fix typo in name of mDiscveryTimeoutMs. r=me. 2016-06-01 11:45:16 +10:00
Kershaw Chang 17aef34672 Bug 1258600 - Part3: Modify tests, r=smaug 2016-05-30 08:48:00 +02:00
Kershaw Chang 7649e6aa87 Bug 1258600 - Part2: Implement onconnect, onclose and onterminate event handlers, r=smaug 2016-05-30 08:48:00 +02:00
Kershaw Chang 9cbfe7debc Bug 1258602 - Part3: Changes for making the initial state to “connecting”, r=smaug 2016-05-29 23:01:00 +02:00
Kershaw Chang fd61adc7d7 Bug 1258602 - Part2: Test case changes, r=smaug 2016-05-29 20:00:00 +02:00
Kershaw Chang 70abe8c5e3 Bug 1258602 - Part1: Add PresentationConnectionList, r=smaug 2016-05-29 19:59:00 +02:00
Kershaw Chang c37e2410db Bug 1254477 - Return null for defaultRequest at receiver side. r=smaug 2016-05-26 08:27:00 -04:00
Kershaw Chang cd414072f6 Bug 1267965 - Part3: Call NotifySessionConnect when registering listener and when receiver is ready. r=smaug 2016-05-25 02:21:00 +02:00
Kershaw Chang e68a87244e Bug 1267965 - Part2: Store responding window ID and session ID in parent process. r=smaug 2016-05-25 02:20:00 +02:00
Kershaw Chang 230ae97e0a Bug 1267965 - Part1: Move duplicate code into PresentationServiceBase. r=smaug 2016-05-25 02:19:00 +02:00
Shih-Chiang Chien ef7fdfc03a Bug 1234128 - Part 3, update test cases. r=smaug.
MozReview-Commit-ID: I5CoLpcXxXz


--HG--
rename : dom/presentation/tests/mochitest/file_presentation_non_receiver_oop.html => dom/presentation/tests/mochitest/file_presentation_non_receiver.html
rename : dom/presentation/tests/mochitest/file_presentation_non_receiver_inner_iframe_oop.html => dom/presentation/tests/mochitest/file_presentation_non_receiver_inner_iframe.html
rename : dom/presentation/tests/mochitest/file_presentation_receiver_inner_iframe_oop.html => dom/presentation/tests/mochitest/file_presentation_receiver_inner_iframe.html
2016-05-24 14:19:22 +08:00
Shih-Chiang Chien 427d2ea1b5 Bug 1234128 - Part 2, use mozpresentation to identify presented content. r=smaug. 2016-05-24 14:19:22 +08:00
Shih-Chiang Chien c6b56100ad Bug 1228266 - rename TCPPresentationServer to PresentationControlService. r=junior.
MozReview-Commit-ID: 2kHZ0XUG2ew

--HG--
rename : dom/presentation/interfaces/nsITCPPresentationServer.idl => dom/presentation/interfaces/nsIPresentationControlService.idl
rename : dom/presentation/provider/TCPPresentationServer.js => dom/presentation/provider/PresentationControlService.js
extra : rebase_source : adc621d185c91e74c1abbef8cc2d519f5bbaed3a
2016-05-20 14:53:30 +08:00
Ryan VanderMeulen 9d4120d4eb Backed out 3 changesets (bug 1234128) for Android crashtest failures.
Backed out changeset 11db59507360 (bug 1234128)
Backed out changeset 8a0848fb59ac (bug 1234128)
Backed out changeset 7cf300dda85a (bug 1234128)

CLOSED TREE

--HG--
rename : dom/presentation/tests/mochitest/file_presentation_non_receiver_inner_iframe.html => dom/presentation/tests/mochitest/file_presentation_non_receiver_inner_iframe_oop.html
rename : dom/presentation/tests/mochitest/file_presentation_non_receiver.html => dom/presentation/tests/mochitest/file_presentation_non_receiver_oop.html
rename : dom/presentation/tests/mochitest/file_presentation_receiver_inner_iframe.html => dom/presentation/tests/mochitest/file_presentation_receiver_inner_iframe_oop.html
2016-05-19 10:32:02 -04:00
Shih-Chiang Chien 92912142fb Bug 1234128 - Part 3: Update test cases. r=smaug
--HG--
rename : dom/presentation/tests/mochitest/file_presentation_non_receiver_oop.html => dom/presentation/tests/mochitest/file_presentation_non_receiver.html
rename : dom/presentation/tests/mochitest/file_presentation_non_receiver_inner_iframe_oop.html => dom/presentation/tests/mochitest/file_presentation_non_receiver_inner_iframe.html
rename : dom/presentation/tests/mochitest/file_presentation_receiver_inner_iframe_oop.html => dom/presentation/tests/mochitest/file_presentation_receiver_inner_iframe.html
extra : rebase_source : 19a0c34b1f99beb9c722550f3e8dff9e9a4870e2
2016-05-17 11:22:41 +08:00
Shih-Chiang Chien ec8b96d49f Bug 1234128 - Part 2: Use mozpresentation to identify presented content. r=smaug
--HG--
extra : rebase_source : 0006f94fb02ef8bfa64d2f56a0d0a918b2691ac1
2016-05-17 11:18:16 +08:00
Chris Peterson 8a9e2d2bd4 Bug 1272513 - Part 2: Remove redundant -Wshadow CXXFLAGS from moz.build files. r=glandium 2016-05-14 00:54:55 -07:00
Kyle Huey 941ab1f522 Bug 1268313: Part 7 - Move NS_NewRunnableMethod and friends to mozilla::NewRunnableMethod. r=froydnj 2016-05-05 01:45:00 -07:00
Carsten "Tomcat" Book ba3fe0975c Backed out changeset 85ce8cb0639a (bug 1268313)
--HG--
extra : rebase_source : 56d1cf41a2dc4959b67f834e07192a5c772176a8
2016-04-29 14:21:16 +02:00
Kyle Huey 48a594a09e Bug 1268313: Part 7 - Move NS_NewRunnableMethod and friends to mozilla::NewRunnableMethod. r=froydnj 2016-04-28 14:08:25 -07:00
KuoE0 96422f51d2 Bug 1235123 - Part 3 - Update interfaces and implantations of nsIPresentationDevice and nsIPresentationUIGlue to support 1-UA use case, r=schien 2016-04-28 15:18:21 +08:00
KuoE0 924d24f058 Bug 1208417 - Part 3 - Leverage socket-based session transport to establish presentation connection, r=schien, r=smaug 2016-04-28 15:05:53 +08:00
KuoE0 f6da5068fb Bug 1208417 - Part 2 - Add DisplayDeviceProvider to Presentation API, r=schien, r=smaug 2016-04-28 15:05:25 +08:00
KuoE0 c96544e832 Bug 1208417 - Part 1 - Add disconnect to nsIPresentationDevice & add a new nsIPresentationLocalDevice interface for 1-UA device, r=smaug 2016-04-28 15:05:16 +08:00
KuoE0 253cb47534 Bug 1234492 - Part 3 - Test case, r=smaug
--HG--
extra : rebase_source : adc59deab0c27b58b41b6abae944acb187e56409
2016-04-26 20:25:00 +02:00
KuoE0 f4bf3654a2 Bug 1234492 - Part 2 - Use the role definition in nsIPresentationService, r=smaug
--HG--
extra : rebase_source : 3e04a5cb6e5a6f20730f6d0a4d45a376405aec66
2016-04-18 02:23: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
Junior Hsu 55052e066a Bug 1263878 - Randomize presentation session ID in test. r=schien
--HG--
extra : histedit_source : ecd3cc5d33e9d99e3c003e041f2931a08c34ccac
2016-04-24 23:21:00 -04: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 fce8602ee4 Bug 1234492 - Part 3: Add test case. r=smaug
--HG--
extra : rebase_source : fdd973e8d68d8d23b57967e5c074247991653c07
extra : histedit_source : 70aaf5ba5fb504238c2e8c91e546a60f7185e4fa
2016-03-04 12:01:09 +08:00
KuoE0 dbb9382505 Bug 1234492 - Part 2: Use the role definition in nsIPresentationService. r=smaug
--HG--
extra : rebase_source : c0f20c1d9603ebf416c68e6ce3b4fc27bcd86aef
extra : histedit_source : 07ce3d509e8aa9dd62558123a3f8b6b799ba385a
2016-04-18 15:13:54 +08: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
Junior Hsu 13d36ef21b Bug 1148307 - Part 5, pref off data channel session transport, r=smaug
--HG--
extra : rebase_source : 31fa84a251cd4a7ce3f3aca42f950ea79ff8b5d0
2016-04-11 11:28:36 +08:00
Junior Hsu fce48d6554 Bug 1148307 - Part 4, use data channel in substitution for TCP session transport (in-process), r=smaug
--HG--
rename : dom/presentation/tests/mochitest/test_presentation_receiver.html => dom/presentation/tests/mochitest/test_presentation_tcp_receiver.html
rename : dom/presentation/tests/mochitest/test_presentation_receiver_establish_connection_error.html => dom/presentation/tests/mochitest/test_presentation_tcp_receiver_establish_connection_error.html
rename : dom/presentation/tests/mochitest/test_presentation_receiver_establish_connection_timeout.html => dom/presentation/tests/mochitest/test_presentation_tcp_receiver_establish_connection_timeout.html
rename : dom/presentation/tests/mochitest/test_presentation_receiver_oop.html => dom/presentation/tests/mochitest/test_presentation_tcp_receiver_oop.html
rename : dom/presentation/tests/mochitest/test_presentation_sender.html => dom/presentation/tests/mochitest/test_presentation_tcp_sender.html
rename : dom/presentation/tests/mochitest/test_presentation_sender_default_request.html => dom/presentation/tests/mochitest/test_presentation_tcp_sender_default_request.html
rename : dom/presentation/tests/mochitest/test_presentation_sender_disconnect.html => dom/presentation/tests/mochitest/test_presentation_tcp_sender_disconnect.html
rename : dom/presentation/tests/mochitest/test_presentation_sender_establish_connection_error.html => dom/presentation/tests/mochitest/test_presentation_tcp_sender_establish_connection_error.html
extra : rebase_source : 01a976ea5c73abcc15b86594b97eed7aff57a95b
2016-04-11 11:20:55 +08:00
Junior Hsu 926d8aa917 Bug 1148307 - Part 3, implement session transport with DataChannel. r=jib.
--HG--
extra : rebase_source : 821a3fae4c6146d77d2e714e14e5eb9316f39e67
2016-04-11 11:20:55 +08:00
Junior Hsu 5888006d05 Bug 1148307 - Part 2, let session transport send DOM string. r=smaug
--HG--
extra : rebase_source : 33b444a23d3a0b94d1830849d948156323ec8557
2016-04-11 11:20:55 +08:00
Junior Hsu f215592724 Bug 1148307 - Part1, separate object bruilder from nsIPresentationSessionTransport, r=smaug
--HG--
rename : dom/presentation/PresentationSessionTransport.cpp => dom/presentation/PresentationTCPSessionTransport.cpp
rename : dom/presentation/PresentationSessionTransport.h => dom/presentation/PresentationTCPSessionTransport.h
extra : rebase_source : 6da6bde55ed99a07a22f6cd2ec509fe2b6578201
2015-09-24 16:16:47 +08:00
Sebastian Hengst f17e7a91b7 Backed out changeset 17dfb6404d37 (bug 1148307) for OS X build bustage. r=backout on a CLOSED TREE
--HG--
rename : dom/presentation/PresentationTCPSessionTransport.cpp => dom/presentation/PresentationSessionTransport.cpp
rename : dom/presentation/PresentationTCPSessionTransport.h => dom/presentation/PresentationSessionTransport.h
2016-04-11 13:12:34 +02:00
Sebastian Hengst ae9f706ab7 Backed out changeset dfe4cc7062d1 (bug 1148307) 2016-04-11 13:12:26 +02:00
Sebastian Hengst c8b30f409e Backed out changeset 820f92f08f69 (bug 1148307) 2016-04-11 13:12:20 +02:00
Sebastian Hengst 3e646cbd97 Backed out changeset 3cb658c3e3f9 (bug 1148307)
--HG--
rename : dom/presentation/tests/mochitest/test_presentation_tcp_receiver.html => dom/presentation/tests/mochitest/test_presentation_receiver.html
rename : dom/presentation/tests/mochitest/test_presentation_tcp_receiver_establish_connection_error.html => dom/presentation/tests/mochitest/test_presentation_receiver_establish_connection_error.html
rename : dom/presentation/tests/mochitest/test_presentation_tcp_receiver_establish_connection_timeout.html => dom/presentation/tests/mochitest/test_presentation_receiver_establish_connection_timeout.html
rename : dom/presentation/tests/mochitest/test_presentation_tcp_receiver_oop.html => dom/presentation/tests/mochitest/test_presentation_receiver_oop.html
rename : dom/presentation/tests/mochitest/test_presentation_tcp_sender.html => dom/presentation/tests/mochitest/test_presentation_sender.html
rename : dom/presentation/tests/mochitest/test_presentation_tcp_sender_default_request.html => dom/presentation/tests/mochitest/test_presentation_sender_default_request.html
rename : dom/presentation/tests/mochitest/test_presentation_tcp_sender_disconnect.html => dom/presentation/tests/mochitest/test_presentation_sender_disconnect.html
rename : dom/presentation/tests/mochitest/test_presentation_tcp_sender_establish_connection_error.html => dom/presentation/tests/mochitest/test_presentation_sender_establish_connection_error.html
2016-04-11 13:12:13 +02:00
Sebastian Hengst 85c0244174 Backed out changeset 4441e42e5bec (bug 1148307) 2016-04-11 13:12:05 +02:00
Junior Hsu bfa9967892 Bug 1148307 - Part 5 - pref off data channel session transport, r=smaug 2016-04-11 11:28:36 +08:00
Junior Hsu a8a1aaba30 Bug 1148307 - Part 4 - use data channel in substitution for TCP session transport (in-process), r=smaug
--HG--
rename : dom/presentation/tests/mochitest/test_presentation_receiver.html => dom/presentation/tests/mochitest/test_presentation_tcp_receiver.html
rename : dom/presentation/tests/mochitest/test_presentation_receiver_establish_connection_error.html => dom/presentation/tests/mochitest/test_presentation_tcp_receiver_establish_connection_error.html
rename : dom/presentation/tests/mochitest/test_presentation_receiver_establish_connection_timeout.html => dom/presentation/tests/mochitest/test_presentation_tcp_receiver_establish_connection_timeout.html
rename : dom/presentation/tests/mochitest/test_presentation_receiver_oop.html => dom/presentation/tests/mochitest/test_presentation_tcp_receiver_oop.html
rename : dom/presentation/tests/mochitest/test_presentation_sender.html => dom/presentation/tests/mochitest/test_presentation_tcp_sender.html
rename : dom/presentation/tests/mochitest/test_presentation_sender_default_request.html => dom/presentation/tests/mochitest/test_presentation_tcp_sender_default_request.html
rename : dom/presentation/tests/mochitest/test_presentation_sender_disconnect.html => dom/presentation/tests/mochitest/test_presentation_tcp_sender_disconnect.html
rename : dom/presentation/tests/mochitest/test_presentation_sender_establish_connection_error.html => dom/presentation/tests/mochitest/test_presentation_tcp_sender_establish_connection_error.html
2016-04-11 11:20:55 +08:00
Junior Hsu fee05caf8c Bug 1148307 - Part 3 - implement session transport with DataChannel. r=jib. 2016-04-11 11:20:55 +08:00
Junior Hsu 248ceef0ca Bug 1148307 - Part 2 - let session transport send DOM string. r=smaug 2016-04-11 11:20:55 +08:00
Junior Hsu d6cfc97f77 Bug 1148307 - Part1 - separate object bruilder from nsIPresentationSessionTransport, r=smaug
--HG--
rename : dom/presentation/PresentationSessionTransport.cpp => dom/presentation/PresentationTCPSessionTransport.cpp
rename : dom/presentation/PresentationSessionTransport.h => dom/presentation/PresentationTCPSessionTransport.h
2015-09-24 16:16:47 +08:00
Mantaroh Yoshinaga 9b3e892c5b Bug 1254888 - Part 2: Add log to PresentationSessionInfo and Transport. r=schien 2016-03-13 17:05:00 -04:00
Mantaroh Yoshinaga cf62a854b6 Bug 1254888 - Part 1: Add logging macro to dom/presentation. r=schien 2016-03-11 00:16:00 -05:00
Michelangelo De Simone 3eb888db23 Bug 1250109 - Change DOMEventTargetHelper subclasses to not assume that GetOwner() is non-null, since it can be nulled out by navigation. r=bzbarsky
MozReview-Commit-ID: 8EGB58FWLi2

--HG--
extra : rebase_source : f8d190021ad92f707cfce554ced5c525cc528f4d
2016-03-04 13:37:50 -08:00
Mantaroh Yoshinaga 3f7a5888a9 Bug 1253181 - Fix the variable name in TCPPresentationServer.js. r=schien 2016-03-03 07:10:00 -05:00
Sean Lin 92a150b47f Bug 1245031 - [Presentation WebAPI] Add missing test receiver files. r=schien 2016-02-02 17:08:07 +08:00
Kyle Huey 91efc5a86c Bug 1241764: Replace nsPIDOMWindow with nsPIDOMWindowInner/Outer. r=mrbkap,smaug 2016-01-30 09:05:36 -08:00
Bill McCloskey c663839ade Bug 1240871 - Don't allow implicit "async" in IPDL (r=mccr8,billm) 2016-01-28 20:56:37 -08:00
Shih-Chiang Chien 8d4c9a3ae8 Bug 1239242 - support PresentationRequest.startWithDevice(). r=smaug. 2016-01-13 19:21:25 +08:00
Nicholas Nethercote ec89bbf7f2 Bug 1237151 (part 3) - Remove ignored qualifiers in all remaining code. r=froydnj. 2016-01-05 17:08:45 -08:00
Shih-Chiang Chien f786b78629 Bug 1224113 - fix ref count issue during channel close. r=jdm 2015-12-22 19:30:08 +08:00
Bogdan Postelnicu 9cf016e410 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 5bdf623a7b Bug 1227030 - Change log module to LazyLogModule with a more self-explantory name. r=seanlin
--HG--
extra : rebase_source : e92438ada9700f112fb4074b9089f3b459781ae8
2015-12-01 02:29:00 +01:00
Nathan Froyd c381a6b86c 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 53f35290b7 Bug 1226144 - Free sessionId after using it. r=selin 2015-11-26 02:39:00 +01:00
Shih-Chiang Chien 215c71de0b Bug 1225726 - enable nsDNSServiceDiscovery on OS X. r=mcmanus. 2015-11-18 14:02:31 +08:00
Birunthan Mohanathas 399934f259 Bug 1217307 - Remove some unnecessary null checks in rest of dom/. r=njn 2015-11-19 09:13:49 +02:00
Liang-Heng Chen f644955620 Bug 1217807 - Part 2: Handle network online/offline event in TCPPresentationServer; r=junior
--HG--
extra : rebase_source : ca37f6102d65a7820d502f71d998eb33cf68f47c
2015-11-03 01:04:00 +01:00
Carsten "Tomcat" Book d22b2c9770 Merge mozilla-central to b2g-inbound 2015-11-02 12:06:26 +01:00
Birunthan Mohanathas 9985829ecc Bug 1219392 - Capitalize mozilla::unused to avoid conflicts. r=froydnj 2015-11-02 07:53:26 +02:00
Sean Lin 4264e83883 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 a647752f7e Bug 1217683 - Add sendIceCandidate and implement |close(aReason)| in TCPControlChannel. r=fabrice 2015-05-25 15:23:26 +08:00
Shih-Chiang Chien 1faaf1b874 Bug 1217712 - Part 2 - handle abnormal control channel close with no reason. r=seanlin. 2015-10-23 00:16:00 +02:00
Wes Kocher 5ba2dcfe5c Merge b2ginbound to central, a=merge 2015-10-22 16:50:22 -07:00
Carsten "Tomcat" Book a58c789859 Merge m-c to b2g-inbound 2015-10-22 12:00:41 +02:00
Sean Lin 4dce1c7f21 Bug 1215426 - [Presentation WebAPI] Grant access to browser receiving pages. r=smaug 2015-10-21 14:01:08 +08:00
Shih-Chiang Chien c57dc9bed7 Bug 1214179 - Provide device Id for non-discoverable controller. r=xeonchen 2015-10-21 01:09:00 -04:00
Kershaw Chang dbc1c386c9 Bug 1200132 - Use adderss to create socketTransport, r=schien, junior 2015-10-21 02:54:00 +02:00
Shih-Chiang Chien f2b18d2885 Bug 1216398 - support non-discoverable controlling device. r=junior,xeonchen.
--HG--
extra : rebase_source : 7f840bba8e86746a372dd429c3cf4358ad86cb23
2015-10-20 16:47:56 +08:00
Liang-Heng Chen 0727e1ae3e Bug 1205237 - Part 3: get self Wi-Fi IP address; r=seanlin 2015-10-21 07:53:00 +02:00
Liang-Heng Chen 9f41e090ae Bug 1205237 - Part 2: add PresentationNetworkHelper; r=schien 2015-10-18 23:06:00 +02:00
Carsten "Tomcat" Book f7cf52bdc6 Backed out changeset 2c0b212a2879 (bug 1205237) 2015-10-21 11:14:49 +02:00
Carsten "Tomcat" Book bdf50df75e Backed out changeset b47029d8d419 (bug 1205237) 2015-10-21 11:14:48 +02:00
Liang-Heng Chen 1388286814 Bug 1205237 - Part 3: get self Wi-Fi IP address; r=seanlin
--HG--
extra : rebase_source : b86c2f05e6f0bf6389864e5a2b36756c08afef0b
2015-10-20 02:32:00 +02:00
Liang-Heng Chen 2611240343 Bug 1205237 - Part 2: add PresentationNetworkHelper; r=schien
--HG--
extra : rebase_source : 7e5e6f1dd260cf530b2da33b4025ecbeda793c15
2015-10-18 23:06:00 +02:00
Shih-Chiang Chien 990453f6e9 Bug 1136565 - report session request from device provider. r=xeonchen,junior,seanlin. 2015-10-19 10:44:59 +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
Shih-Chiang Chien c281dbf704 Bug 1214176 - fix typo in _onOffer. r=junior.
--HG--
extra : rebase_source : 170c791f0b16fcc4dd49faea4301813c51c834d3
2015-10-13 05:23:00 +02:00
Sean Lin 871f8e8820 Bug 1212702 - [Presentation WebAPI] Rename to PresentationConnection. Part 2 - Tests. r=smaug
--HG--
rename : dom/presentation/tests/mochitest/file_presentation_receiver_start_session_error.html => dom/presentation/tests/mochitest/file_presentation_receiver_establish_connection_error.html
rename : dom/presentation/tests/mochitest/test_presentation_receiver_start_session_error.html => dom/presentation/tests/mochitest/test_presentation_receiver_establish_connection_error.html
rename : dom/presentation/tests/mochitest/test_presentation_receiver_start_session_timeout.html => dom/presentation/tests/mochitest/test_presentation_receiver_establish_connection_timeout.html
rename : dom/presentation/tests/mochitest/test_presentation_sender_start_session_error.html => dom/presentation/tests/mochitest/test_presentation_sender_establish_connection_error.html
2015-10-12 10:39:20 +08: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
Sean Lin b4479e705d Bug 1205219 - [Presentation WebAPI] Support terminate semantics. Part 2 - Tests. r=smaug 2015-10-08 10:54:25 +08:00
Sean Lin fb882d073c 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 6e929f6435 Bug 1194049 - Part 4: clear discovered devices when re-discover; r=schien 2015-09-30 01:48:00 +02:00
Liang-Heng Chen 84640eeee7 Bug 1194049 - Part 3: support device update; r=fabrice 2015-09-17 00:43:00 +02:00
Liang-Heng Chen 63cdeef8d2 Bug 1194049 - Part 2: add discovery timeout support; r=schien 2015-09-30 23:55:00 +02:00
Liang-Heng Chen 2437eeb9b2 Bug 1194049 - Part 1: add thread assertion; r=schien 2015-09-08 23:42:00 +02:00
Sean Lin ca5474513a 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 72953e5810 Bug 1208905 - Fix a condition in PresentationResponderLoadingCallback::Init; r=baku
Found by Viva64.
2015-09-28 09:08:42 -04:00
Sean Lin 3ddd640b1b Bug 1205222 - [Presentation WebAPI] Add PresentationReceiver and navigator.presentation.receiver. r=smaug 2015-09-22 18:36:47 +08:00
Chris Peterson 71920a9550 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 cc9dd45d70 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 64db2267cf 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 7535f5146c Bug 1192101 - Part 5 - Support PresentationRequest / PresentationAvailability / getSession(s). Part 5 - Tests. r=smaug 2015-09-09 17:49:32 +08:00
Sean Lin 258942501c 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 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 702df0ae17 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 b164dfe263 Merge m-c to f-t 2015-09-11 22:10:22 -07:00
Sean Lin 9715827d6e 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 61577abd58 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 2d608f8465 Bug 1193605 - Part 1: enable mdns on Fennec. r=mcmanus r=rnewman 2015-08-25 06:58:00 +02:00
Sean Lin 8a0a66687b 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 716c31e6f7 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 0f38752ebc Merge inbound to m-c. a=merge 2015-08-31 15:21:02 -04: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
Nicholas Nethercote f44287005f 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.

--HG--
extra : rebase_source : 82e3387abfbd5f1471e953961d301d3d97ed2973
2015-08-27 20:44:53 -07:00
Nick Robson 40e1ba271a Bug 904479 - Added createPromiseWithId() that returns id of resolver r=kanru,nsm
--HG--
extra : rebase_source : 2aae82958670d0154a3cf08bd0e2a80d529e36f3
2015-08-19 14:53:22 -07:00
Aryeh Gregor 5aeef0231d Bug 874842 - Return Event instead of nsIDOMEvent 2015-08-12 14:39:31 +03:00
Liang-Heng Chen 0b2eb938b1 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 5eda6c5cc4 Bug 1069230 - Presentation API implementation. Part 9 - Tests. r=kikuo 2015-04-23 11:44:01 +08:00
Sean Lin 1efa4382a3 Bug 1069230 - Presentation API implementation. Part 8 - Data transport channel. r=jdm 2015-04-22 16:01:38 +08:00
Sean Lin 905d6d07e3 Bug 1069230 - Presentation API implementation. Part 7 - Presentation session. r=smaug 2015-04-22 16:01:38 +08:00
Sean Lin 4e9ad23c31 Bug 1069230 - Presentation API implementation. Part 6 - mozChromeEvent for app launch. r=fabrice r=smaug 2015-03-30 15:48:11 +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
Sean Lin 638b68e1d3 Bug 1069230 - Presentation API implementation. Part 3 - IPC. r=smaug 2015-03-26 11:16:21 +08:00
Sean Lin ffb77b7af4 Bug 1069230 - Presentation API implementation. Part 2 - Presentation service and listeners. r=smaug 2015-03-25 19:47:56 +08:00
Sean Lin 1da14adfbd Bug 1069230 - Presentation API implementation. Part 1 - WebIDL Bindings. r=smaug 2015-03-19 15:48:28 +08:00
Liang-Heng Chen 4a73c736c7 Bug 1180596 - Part 2 - make customizable settings of Presentation API. r=schien 2015-07-30 18:40:00 +02:00
Liang-Heng Chen e3f1192685 Bug 1180596 - Part 1 - make add/remove/get devices available without init. r=fabrice 2015-07-21 02:28:00 +02:00
Bobby Holley 97b9240b34 Bug 1188696 - Hoist nsRefPtr.h into MFBT. r=froydnj 2015-07-29 10:44:59 -07:00
Liang-Heng Chen edcb7c1c44 Bug 1158029 - Part 2: mDNS XPCOM module using NsdManager. r=mcmanus 2015-07-16 02:43:00 -04:00
Liang-Heng Chen 8f1a8b43a9 Bug 1171827 - Temporarily disale mDNS device provider. r=schien 2015-06-15 03:53:00 -04:00
Eric Rahm 75c4bebb79 Bug 1165515 - Part 13-2: Replace usage of PRLogModuleLevel and PR_LOG_*. rs=froydnj
This is straightforward mapping of PR_LOG levels to their LogLevel
counterparts:
  PR_LOG_ERROR   -> LogLevel::Error
  PR_LOG_WARNING -> LogLevel::Warning
  PR_LOG_WARN    -> LogLevel::Warning
  PR_LOG_INFO    -> LogLevel::Info
  PR_LOG_DEBUG   -> LogLevel::Debug
  PR_LOG_NOTICE  -> LogLevel::Debug
  PR_LOG_VERBOSE -> LogLevel::Verbose

Instances of PRLogModuleLevel were mapped to a fully qualified
mozilla::LogLevel, instances of PR_LOG levels in #defines were mapped to a
fully qualified mozilla::LogLevel::* level, and all other instances were
mapped to us a shorter format of LogLevel::*.

Bustage for usage of the non-fully qualified LogLevel were fixed by adding
|using mozilla::LogLevel;| where appropriate.
2015-06-03 15:25:57 -07:00
Ryan VanderMeulen 13ac33da0b Bug 1115480 - Re-add metadata to the dom/presentation xpcshell.ini that shouldn't have been removed. 2015-06-03 10:16:50 -04:00
Liang-Heng Chen fb1b271e1c Bug 1115480 - Part 2: Implement mDNS device provider. r=schien 2015-05-20 23:06:00 -04:00
Junior Hsu c243bc0afd Bug 1166599 - make |_devices| init appropriately. r=fabrice
Also remove the redundant |TCPPresentationServer.close|

--HG--
extra : rebase_source : b4b44213bb105dea75b6cf7a0371bfe7f2c5efd5
2015-05-27 02:19:00 +02:00
Junior Hsu 0ea8611993 Bug 1164811 - Let TCP presentation server can be inited again in |listener.onClose|. r=fabrice 2015-05-14 03:37:00 -04:00
Ehsan Akhgari 1a03395848 Bug 1154275 - Remove ise() in favor of is(); r=Ms2ger 2015-05-13 14:31:58 -04:00
Andrew McCreight 9e8f4b219e Bug 1152551, part 2 - Fix mode lines in dom/. r=jst 2015-05-03 15:32:37 -04:00
Junior Hsu 35f5826c5e Bug 1153063 - turn on logging for debug in test_tcp_control_channel.js. r=fabrice
--HG--
extra : rebase_source : 59a826e0518e373680e2062cce45ffa1caa6bce7
2015-04-15 11:01:02 +08:00
Junior Hsu 1bba6ed97c Bug 1120308 - tcp control channel for presentation api. r=fabrice 2014-11-17 13:34:10 -08:00
Andrea Marchesini e6f385fb3d Bug 1148527 - Indentation fix after bug 1145631, r=ehsan 2015-03-27 18:52:19 +00:00
Ehsan Akhgari 883849ee32 Bug 1145631 - Part 1: Replace MOZ_OVERRIDE and MOZ_FINAL with override and final in the tree; r=froydnj
This patch was automatically generated using the following script:

function convert() {
echo "Converting $1 to $2..."
find . \
       ! -wholename "*/.git*" \
       ! -wholename "obj-ff-dbg*" \
         -type f \
      \( -iname "*.cpp" \
         -o -iname "*.h" \
         -o -iname "*.c" \
         -o -iname "*.cc" \
         -o -iname "*.idl" \
         -o -iname "*.ipdl" \
         -o -iname "*.ipdlh" \
         -o -iname "*.mm" \) | \
    xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}

convert MOZ_OVERRIDE override
convert MOZ_FINAL final
2015-03-21 12:28:04 -04:00
Shih-Chiang Chien fbddc387d5 Bug 1080474 - Part 2 - expose device information via PresentationDeviceInfoManager API. r=khuey r=fabrice. 2014-11-14 13:55:24 -08:00
Shih-Chiang Chien de67b6547d Bug 1080474 - Part 1 - device manager for Presentation API. r=fabrice. 2014-08-27 10:28:03 +08:00