Jason Smith
b5c5ba0df8
Bug 780780 - Crash test for mozilla::SuccessCallbackRunnable::Run - r=jesup
2012-10-17 23:32:25 -07:00
Anant Narayanan
546365d1f8
Bug 780790: Check for NULL callbacks in getUserMedia; r=jesup
2012-10-18 11:31:00 -07:00
Anant Narayanan
382c3b4fb6
Backed out changeset 3dfb18a29fe2
2012-10-18 11:53:59 -07:00
Anant Narayanan
611a7f7479
Bug 780790: Check for NULL callbacks to getUserMedia; r=jesup
2012-10-18 11:52:39 -07:00
Randell Jesup
bef0a4c1e2
Bug 803093: Lock access to MediaEngineWebRTC singleton r=anant
2012-10-18 14:03:00 -04:00
Randell Jesup
bb05ef58b2
Bug 802661: Clean up getUserMedia MediaStream handling r=roc,anant
2012-10-17 17:40:14 -04:00
Henrik Skupin
fa81f0cb29
Bug 791278 - Crash test for WebRTC crash [@sipcc::PeerConnectionImpl::SetLocalDescription]. r=jesup
2012-10-17 15:33:57 -04:00
Randell Jesup
abfb94ebc4
Bug 801843: Change how video frames are inserted into getUserMedia streams to remove blocking r=roc,anant
2012-10-17 05:46:40 -04:00
Anant Narayanan
edf634a604
Bug 802411: Refactor MediaEngine to use GIPS singletons; r=jesup
2012-10-16 17:53:55 -07:00
Henrik Skupin
e327718f4d
Bug 791270 - Crashtest for WebRTC crash [@sipcc::PeerConnectionImpl::AddStream]. r=jesup
2012-10-16 13:23:41 -04:00
Randell Jesup
05bc38656e
Bug 773649: Support getting audio and video in the same getUserMedia call r=roc,anant
2012-10-15 16:41:46 -04:00
Anant Narayanan
fe803ee13d
Bug 801297: Fix PeerConnection.createAnswer API; r=jesup
2012-10-15 11:35:21 -07:00
Peter Van der Beken
767c08f204
Fix for bug 711628 (Implement PeerConnection.localStreams/remoteStreams). r=bz.
...
--HG--
extra : rebase_source : e21a429d85fc60a972752a2a7deb88a7cb648f3c
2012-09-13 18:04:31 +02:00
Randell Jesup
0945ff4d8b
Bug 799191: incorrect audioCount in GetUserMediaDevicesRunnable r=derf
2012-10-09 17:56:22 -04:00
Anant Narayanan
b768c06860
Bug 798966: Create a preference to bypass gUM permission; r=jesup
2012-10-07 17:31:45 -07:00
Anant Narayanan
be9228b287
Bug 798825: Add DataChannel DOM interfaces to RTCPeerConnection; r=smaug
2012-10-07 01:34:30 -04:00
Anant Narayanan
dd86d9ae3a
Bug 694807: Implement PeerConnection DOM interface; r=jst
2012-10-07 01:34:30 -04:00
Anant Narayanan
e61ba69837
Bug 694807: Implement PeerConnection C++ module; r=jst,jesup,ekr
2012-10-07 01:34:30 -04:00
Anant Narayanan
8b97806c7b
Bug 792188: Add hints to MediaStreams to help with generating signaling r=jesup
2012-10-07 01:34:30 -04:00
Anant Narayanan
b31de5499b
Bug 797796: Hookup getUserMedia backend with frontend UI; r=jesup
2012-10-05 17:20:47 -07:00
Anant Narayanan
f7ab670407
Bug 794668 - Fix error in patch to add fake media stream; r=me
2012-10-01 15:29:21 -07:00
Anant Narayanan
1045427d7c
Bug 794668 - Add fake media stream functionality to getUserMedia; r=jesup
2012-09-28 15:26:00 -07:00
Kyle Huey
43e58e33c8
Bug 760331: Coalesce data for inline style across nodes. r=bz
...
This patch enables sharing of an nsAttrValue's MiscContainer between nodes for style rules. MiscContainers of type eCSSStyleRule are now refcounted (with some clever struct packing to ensure that the amount of memory allocated for MiscContainer remains unchanged on 32 and 64 bit). This infrastructure can be used to share most MiscContainer types in the future if we find advantages to sharing other types than just eCSSStyleRuley. A cache mapping strings to MiscContainers has been added to nsHTMLCSSStyleSheet. MiscContainers can be shared between nsAttrValues when one nsAttrValue is SetTo another nsAttrValue or when there is a cache hit in this cache. This patch also adds the ability to tell a style rule that it belongs to an nsHTMLCSSStyleSheet, with appropriate accessor functions to separate that from the existing case of belonging to an nsCSSStyleSheet.
The primary use case is to reduce memory use for pages that have lots of inline style attributes with the same value. This can happen easily with large pages that are automatically generated. An (admittedly pathological) testcase in Bug 686975 sees over 250 MB of memory savings with this change. Reusing the same MiscContainer for multiple nodes saves the overhead of maintaining separate copies of the string containing the serialized value of the style attribute and of creating separate style rules for each node. Eliminating duplicate style rules enables further savings in layout through style context sharing. The testcase sees the amount of memory used by style contexts go from over 250 MB to 10 KB.
Because the cache is based on the text value of the style attribute, it will not handle attributes that have different text values but are parsed into identical style rules. We also do not attempt to share MiscContainers when the node's base URI differs from the document URI. The effect of these limitations is expected to be low.
2012-09-30 09:40:24 -07:00
Anant Narayanan
e852b08eb1
Bug 752352: Implement getUserMediaDevices for privileged chrome code; r=smaug, r=jesup
2012-09-20 12:54:00 -07:00
Ms2ger
e734d6f1a2
Bug 792343 - Enable FAIL_ON_WARNINGS in some more of dom/ (second batch); r=mounir
2012-09-20 09:55:36 +02:00
Randell Jesup
e674138254
Bug 773847: Fix popupcontrol logic and take snapshots from main thread, enable Snapshots on Android by default r=mounir,blassey
2012-08-26 01:33:08 -04:00
Ehsan Akhgari
e368dc9c85
Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg
...
This patch was generated by a script. Here's the source of the script for
future reference:
function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
! -wholename "*security/nss*" \
! -wholename "*/.hg*" \
! -wholename "obj-ff-dbg*" \
! -name nsXPCOMCID.h \
! -name prtypes.h \
-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 PRInt8 int8_t
convert PRUint8 uint8_t
convert PRInt16 int16_t
convert PRUint16 uint16_t
convert PRInt32 int32_t
convert PRUint32 uint32_t
convert PRInt64 int64_t
convert PRUint64 uint64_t
convert PRIntn int
convert PRUintn unsigned
convert PRSize size_t
convert PROffset32 int32_t
convert PROffset64 int64_t
convert PRPtrdiff ptrdiff_t
convert PRFloat64 double
2012-08-22 11:56:38 -04:00
Paul Adenot
106e87bbbc
Bug 774581: Send event when starting/stopping audio or video recording; r=anant,mhabicher
2012-08-17 09:10:08 -07:00
Arjun
0d65c26ce9
Bug 780553: Fix error caused by merge of previous patch; r=anant
2012-08-10 08:41:33 -07:00
Arjun
1ea896bda5
Bug 780553 - Validate media type parameters for getUserMedia [r=anant]
2012-08-09 14:01:00 -07:00
Mike Hommey
70d7c821af
Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted
2012-08-04 20:26:44 +02:00
Aryeh Gregor
d0ad5a7d0c
Bug 777292 part 2 - Change all nsnull to nullptr
2012-07-30 17:20:58 +03:00
Robert O'Callahan
c26add417d
Bug 771833. Windows in mActiveWindows are all inner-windows. r=anant
2012-07-26 16:05:00 -07:00
Mounir Lamouri
e744d91b29
Bug 769586 - Make PopupWindowManager using principal to test permissions instead of URI. r=sicking
2012-07-15 18:37:31 -07:00
Anant Narayanan
50e0b02bed
Bug 771833: Assign an nsIPrincipal to media streams returned by getUserMedia; r=roc
2012-07-12 04:53:48 -07:00
Anant Narayanan
3e5896e86b
Bug 691234: Part 3/3: Add DOM binding for getUserMedia on Desktop; r=jst
2012-07-12 04:53:08 -07:00
Anant Narayanan
2d7d479c31
Backout b53e8a614a4c, bustage
2012-07-11 21:43:48 -07:00
Anant Narayanan
9bd2546c26
Backout 39fe6a5577d7, bustage
2012-07-11 21:43:24 -07:00
Anant Narayanan
ae28b3b6c2
Bug 771833: Assign an nsIPrincipal to media streams returned by gUM; r=roc
2012-07-11 21:24:34 -07:00
Anant Narayanan
75cd324c15
Bug 691234: Part 3/3: Add DOM binding for getUserMedia on Desktop; r=jst
2012-07-11 21:22:24 -07:00
Ehsan Akhgari
4830dd98a3
Bug 758992 - Make the classes which use the XPCOM nsISupports implementation macros final, to avoid the warning about deleting using a pointer to a base class with virtual functions and no virtual dtor (dom parts); r=bzbarsky
2012-06-14 22:31:55 -04:00
Ryan VanderMeulen
5f2a19ee6e
Revert c39d36167b99 due to a horribly munged backout.
2012-06-10 19:44:50 -04:00
Ryan VanderMeulen
6d6c4efbab
Backout the bug 754202 backout due to orange.
2012-06-10 19:37:47 -04:00
Anant Narayanan
bff22f37e2
Bug 738528: Android still image support for getUserMedia r=sicking, r=jesup (plus bustage fix r=jesup)
2012-06-05 08:53:00 -04:00
Anant Narayanan
87b32d19f1
Backout e8364adb4fd8, build bustage on Android (Bug 738528)
2012-06-08 17:17:52 -07:00
Anant Narayanan
10c1d5d1a7
Bug 738528: Android still image support for getUserMedia; r=sicking, r=jesup
2012-06-05 08:53:00 -07:00
Anant Narayanan
025e433abb
Bug 752353: DOM bindings for getUserMedia; r=jst
...
--HG--
rename : content/media/nsIDOMMediaStream.idl => dom/media/nsIDOMMediaStream.idl
2012-06-03 00:35:15 -07:00