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

138 Коммитов

Автор SHA1 Сообщение Дата
Kartikaya Gupta ba4b3b9101 Bug 1384233 - Remove SizePrintfMacros.h. r=froydnj
We have a minimum requirement of VS 2015 for Windows builds, which supports
the z length modifier for format specifiers. So we don't need SizePrintfMacros.h
any more, and can just use %zu and friends directly everywhere.

MozReview-Commit-ID: 6s78RvPFMzv

--HG--
extra : rebase_source : 009ea39eb4dac1c927aa03e4f97d8ab673de8a0e
2017-07-26 16:03:57 -04:00
Nicholas Nethercote 6e6ae2ea9b Bug 1382099 - Remove MOZ_WIDGET_GONK from several dom/ subdirectories. r=mccr8,jdm.
As well as the obvious #ifdef stuff, the patch removes
TCPSocket::SetAppIdAndBrowser(), which means
{TCPSocketParent,TCPServerSocketParent}::{GetAppId,GetInIsolatedMozBrowser}()
can also be removed.
2017-07-21 10:52:44 +10: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
Florian Queze 4c6a68d1c9 Bug 1355161 - script-generated patch to replace .{currentThread,mainThread}.dispatch(..., Ci.nsIThread.DISPATCH_NORMAL) with .dispatchToMainThread(...), r=froydnj. 2017-04-14 18:29:12 +02:00
Florian Queze 37f2343b9a Bug 1356569 - Remove appendElement's last parameter when it is false, r=jaws. 2017-04-14 21:51:39 +02:00
Florian Queze 37ff4fc7cc Bug 1356569 - Remove addObserver's last parameter when it is false, r=jaws. 2017-04-14 21:51:38 +02:00
Sebastian Hengst 159215e6f4 Backed out changeset 18d45aa984d6 (bug 1355161) 2017-04-14 23:39:23 +02:00
Sebastian Hengst a07223d699 Backed out changeset 322fde2d53bf (bug 1356569) so bug 1355161 can be backed out. r=backout 2017-04-14 23:39:22 +02:00
Sebastian Hengst 9e0ecf32c5 Backed out changeset e1f191aad863 (bug 1356569) 2017-04-14 23:39:17 +02:00
Florian Queze 93a734a3ce Bug 1356569 - Remove appendElement's last parameter when it is false, r=jaws. 2017-04-14 21:51:39 +02:00
Florian Queze 95d4d20c17 Bug 1356569 - Remove addObserver's last parameter when it is false, r=jaws. 2017-04-14 21:51:38 +02:00
Florian Queze a363fb8c8b Bug 1355161 - script-generated patch to replace .{currentThread,mainThread}.dispatch(..., Ci.nsIThread.DISPATCH_NORMAL) with .dispatchToMainThread(...), r=froydnj. 2017-04-14 18:29:12 +02:00
Jim Chen 1294cccf48 Bug 1337467 - Convert observers to bundle events; r=rbarker r=sebastian
Bug 1337467 - 1. Convert "Window:Resize" observer to event; r=rbarker

Bug 1337467 - 2. Convert "ScrollTo:FocusedInput" observer to event; r=rbarker

Bug 1337467 - 3. Convert "Update:CheckResult" observer to event; r=sebastian

Also remove notifyCheckUpdateResult from GeckoInterface.

Bug 1337467 - 4. Convert "GeckoView:ImportScript" observer to event; r=sebastian

Bug 1337467 - 5. Convert accessibility observers to events; r=sebastian

Bug 1337467 - 6. Convert media/casting observers to events; r=sebastian

Bug 1337467 - 7. Convert "Sanitize:ClearData" observer to event; r=sebastian

Bug 1337467 - 8. Convert "Notification:Event" observer to event; r=sebastian

Bug 1337467 - 9. Convert BrowserApp observers to events; r=sebastian

Bug 1337467 - 10. Convert Tab observers to events; r=sebastian

Bug 1337467 - 11. Convert "Passwords:Init" and "FormHistory:Init" observers to events; r=sebastian

Bug 1337467 - 12. Convert Reader observers to events; r=sebastian

Bug 1337467 - 13. Convert Distribution observers to events; r=sebastian

Bug 1337467 - 14. Convert "Fonts:Reload" observer to event; r=sebastian

Bug 1337467 - 15. Convert RecentTabsAdapter observers to events; r=sebastian

Bug 1337467 - 16. Convert "Session:Prefetch" observer to event; r=sebastian

Bug 1337467 - 17. Convert "Browser:Quit" and "FullScreen:Exit" observers to events; r=sebastian

Bug 1337467 - 18. Convert SessionStore observers to events; r=sebastian

The "Session:NotifyLocationChange" observer is sent by browser.js and
requires passing a browser reference, so it's left as an observer.

Bug 1337467 - 19. Remove unused "Tab:Screenshot:Cancel" notifyObserver call; r=me

Bug 1337467 - 20. Convert "Session:Navigate" observer to event; r=sebastian

Bug 1337467 - 21. Convert "Locale:*" observers to events; r=sebastian

Bug 1337467 - Add log for unhandled events; r=me

Add back the log indicating no listener for an event, which can be
useful when reading logcat. r=me for trivial change.

Bug 1337467 - Don't return error from EventDispatcher when OnEvent fails; r=me

When a listener's OnEvent method returns an error, continue to dispatch
to other listeners and don't return an error from the dispatch function.
This avoids unexpected errors when dispatching events. r=me for trivial
patch.
2017-03-07 12:34:04 -05:00
Makoto Kato 17ee7a5a45 Bug 1340954 - Remove DisplayDeviceProvider. r=schien
DisplayDeviceProvider is for only gonk, but it will build on all platform unfortunately.  So we should remove it (or disable building on all)

MozReview-Commit-ID: AQ1xJ2HVCQz

--HG--
extra : rebase_source : 667fdd3eb3663e3ec8fd3c3980ee59dba04be89b
2017-02-20 13:57:53 +09:00
Tom Tromey 5f8f360823 Bug 1060419 - make log_print use Printf.h, r=froydnj
MozReview-Commit-ID: BIZ1GQEZ1vs

--HG--
extra : rebase_source : 2f1f0aa12493c44f352d9a7e8683e7bb72d2d75b
2016-12-15 20:16:31 -07:00
Jim Chen 9ad1c54661 Bug 1333590 - 3. Change remaining Messaging calls to EventDispatcher calls; r=sebastian
Convert calls in several places where we still use Messaging.* instead
of EventDispatcher.
2017-02-01 17:35:44 -05:00
Shih-Chiang Chien fe6e11155f Bug 1329902 - Part 1, fix device changed/removed event in AndroidCastDeviceProvider. r=KuoE0
MozReview-Commit-ID: 3f57zJvRbhb

--HG--
extra : rebase_source : 8a1f290a25b42fad592222eeb0b91d9618655b90
2017-01-10 14:59:52 +08:00
Florian Quèze fc6379e827 Bug 1329182 - remove trailing newURI null parameters in the rest of the tree, r=jaws. 2017-01-09 20:27:26 +01:00
Shih-Chiang Chien b6996d911a Bug 1322605 - remove legacy TV 2.5 presentation device support. r=junior
MozReview-Commit-ID: kcXlIiWh0g

--HG--
extra : rebase_source : 377d8460d556e0e65f6971ddebb985d0aa8c75e3
2016-12-08 16:25:27 -10:00
KuoE0 8f59dc3a46 Bug 1316538 - [Presentation WebAPI] Test case for AndroidCastDeviceProvider, r=snorp
MozReview-Commit-ID: 3RU4toTdu36

--HG--
extra : rebase_source : 9eccb34cdd6b6de3cdac062435c4a96ab3a2968d
2016-11-03 18:06:48 +08:00
KuoE0 9bcac5fb98 Bug 1295087 - Implement PresentationDeviceProvider for Chromecast devices on Fennec. r=schien,smaug,snorp
MozReview-Commit-ID: 78eNnvAMCsq

--HG--
extra : rebase_source : 35f3c682da33d0c3c826cc53728a4b0e7762847c
2016-09-23 22:13:28 +08:00
Sebastian Hengst 0f952f34dd Bug 1306397 - Remove B2G event 'network-active-changed' and consumers from non-B2G/Gonk files: dom/presentation. r=schien
MozReview-Commit-ID: 1tTdMntEo54

--HG--
extra : rebase_source : 6337b60928644891cd7f4e6fe3018c7eda5fa978
2016-09-29 19:53:44 +02: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
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
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
Kershaw Chang 165708a330 Bug 1197690 - Part1: Support reconnect command, r=junior
--HG--
extra : rebase_source : 4ccac7c28201562848c18b60b18614f450bdd19f
2016-08-02 19:10:00 +02: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
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
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 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
Jonathan Watt b15368cfcb Bug 1279451 - Remove a lot of unnecessary includes of nsAutoPtr.h. rs=sparky 2016-06-07 21:10:18 +01:00
Nicholas Nethercote ec7b5a5b2b No bug. Fix typo in name of mDiscveryTimeoutMs. r=me. 2016-06-01 11:45:16 +10: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
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 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
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
Sebastian Hengst c8b30f409e Backed out changeset 820f92f08f69 (bug 1148307) 2016-04-11 13:12:20 +02:00
Junior Hsu fee05caf8c Bug 1148307 - Part 3 - implement session transport with DataChannel. r=jib. 2016-04-11 11:20:55 +08:00
Mantaroh Yoshinaga 3f7a5888a9 Bug 1253181 - Fix the variable name in TCPPresentationServer.js. r=schien 2016-03-03 07:10:00 -05: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
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
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
Birunthan Mohanathas 9985829ecc Bug 1219392 - Capitalize mozilla::unused to avoid conflicts. r=froydnj 2015-11-02 07:53:26 +02: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 f2b18d2885 Bug 1216398 - support non-discoverable controlling device. r=junior,xeonchen.
--HG--
extra : rebase_source : 7f840bba8e86746a372dd429c3cf4358ad86cb23
2015-10-20 16:47:56 +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 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
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
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
Phil Ringnalda b164dfe263 Merge m-c to f-t 2015-09-11 22:10:22 -07: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
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
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
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
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
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