Commit Graph

21867 Commits

Author SHA1 Message Date
Ed Morley
0f956d7307 Backout 345ae68f15f4, b3b40121ac8d, 0d18b7a246d7, 9dbb6064ab58, dee9d7fa8eb6, 63eec6bfa948, 323c6be7cfe8 & f4aac7523a48 (bug 732875) for compilation failures 2012-05-14 21:05:24 +01:00
Benoit Jacob
fa8d5e0469 Bug 732875 - 8/8 - move CheckedInt to MFBT, enable unit tests in mfbt/tests - r=jwalden
--HG--
rename : xpcom/ds/CheckedInt.h => mfbt/CheckedInt.h
2012-05-14 15:50:20 -04:00
Matt Brubeck
bda44f3eb6 Bug 754759 [leave open] - Mark 752226-1.html or 752226-2.html as asserting randomly [r=Ms2ger] 2012-05-14 08:30:20 -07:00
Andrew McCreight
2ab077501f Bug 754151 - add macros for basic wrappercached cycle collected classes. r=smaug 2012-05-14 08:24:03 -07:00
Matt Brubeck
790701eabc Merge mozilla-central and mozilla-inbound 2012-05-13 08:27:03 -07:00
Tim Taubert
823701c74f merge m-c to fx-team 2012-05-12 20:06:48 +02:00
Matt Brubeck
d9c6628179 Merge last green changeset from inbound to mozilla-central 2012-05-12 08:44:31 -07:00
Olli Pettay
7e0a679739 Bug 749589 - Less-leaky classinfo for XTF, r=jst 2012-05-12 00:51:13 +03:00
Matt Brubeck
bbda646b7e Merge last green changeset from inbound to mozilla-central 2012-05-11 11:39:38 -07:00
Ms2ger
4b86369c76 Bug 752226 - Tests. r=evilpie 2012-05-11 17:46:54 +02:00
Tom Schuster
448c19e69b Bug 752226 - Remove any use of JSVAL_IS_OBJECT. r=luke,Ms2ger 2012-05-11 17:46:26 +02:00
Olli Pettay
0bd7a30ad1 Bug 754089 - remote mozbrowser's messagemanager shouldn't have parent, r=jlebar 2012-05-11 10:47:40 +03:00
Christopher De Cairos
ed660ec50d Bug 726904: Make nsVideoFrame::GetVideoIntrinsicSize return the video size before the poster size. r=cpearce 2012-05-11 20:32:15 +12:00
Joe Drew
157bb2b743 Merge last PGO-clean cset from inbound to central. 2012-05-10 21:25:37 -04:00
Mounir Lamouri
16367bdebc Bug 753978 - Be able to know if a window is part of an application. r=jlebar 2012-05-10 17:56:21 -07:00
Robert O'Callahan
390dee1351 Bug 681192. Part 14: Fix test to avoid failure due to event coordinate rounding. r=matspal
--HG--
extra : rebase_source : 487873fb423400f15ea7f1dfe424075b0f402574
2012-05-10 17:24:20 +12:00
Benjamin Smedberg
dd1b0e7adc Bug 737164 part C - switch various in-tree callers which are using fallible strings to keep using them
--HG--
extra : rebase_source : f5b42ba1f5745b256ba4e4ca67c883696904f9c1
2012-05-08 13:55:24 -04:00
Mihai Sucan
b55cb8c7d1 Bug 673148 - (async-webconsole) Fix nsFrameMessageManager crasher; r=smaug 2012-05-04 19:45:03 +03:00
Daniel Holbert
fade4715b7 Bug 664918 followup: Add missing */ terminator on emacs modeline in header comment for new files nsDOMMediaStream.cpp and MediaStreamGraph.cpp. (no review, comment-only) DONTBUILD 2012-05-11 10:35:36 -07:00
Yury
a27acd40fb Bug 753758 - Saving state doesn't carry mozFillRule. r=jrmuizel 2012-05-11 10:35:31 -07:00
Ed Morley
94067f98cb Backout 9b0fcaacb788 & bf3fef257e68 (bug 752226) for mochitest-other orange 2012-05-11 18:25:52 +01:00
Ms2ger
384051ecef Bug 752226 - Tests. r=evilpie
--HG--
extra : rebase_source : 7a0d155ab7d7898ca4c96b86ae6f706172c7c71f
2012-05-11 17:46:54 +02:00
Tom Schuster
a5e74fc12b Bug 752226 - Remove any use of JSVAL_IS_OBJECT. r=luke,Ms2ger
--HG--
extra : rebase_source : edf2077f8b8bad1970eab6ebe9996e761d4e596c
2012-05-11 17:46:26 +02:00
Oleg Romashin
1a9ecd549b Bug 681192. Part 5: Make various DOM scroll APIs --- scrollTop, scrollLeft, window.scrollTo, scrollBox.scrollTo, scrollBox.scrollToLine, scrollBox.scrollBy --- use an appropriate allowed scroll destination range. r=roc,r=matspal
--HG--
extra : rebase_source : 83ee44530c67229686ec0dce3628da83e0e93438
2012-02-07 12:24:15 -08:00
Robert O'Callahan
ae79119ea5 Bug 750258. Small cleanup to make it more obvious why mCurrentTime is initialized to 1. r=jesup 2012-05-10 15:30:34 +12:00
Robert O'Callahan
a869c9552f Bug 750769. Dump currentTime/paused/ended/readyState on every event. r=cpearce 2012-05-10 15:30:34 +12:00
Robert O'Callahan
e8a9ceb920 Bug 752784. Don't mess with tracks we haven't initialized yet. r=cpearce 2012-05-10 15:30:34 +12:00
Ryan VanderMeulen
5ab4943799 Whitespace fix for bug 751035. DONTBUILD 2012-05-09 20:23:31 -04:00
Irving Reid
e70f1e4bc0 Bug 753455 - Improved warning message from XBL. r=bz 2012-05-09 18:57:44 -04:00
Ehren Metcalfe
909473a2aa Bug 751035 - Remove various unused nsHTML*Element related methods. r=jst 2012-05-09 18:55:56 -04:00
David Humphrey (:humph)
cee11da7bb Bug 750111 - mozMovementX is transient and becomes zero later. r=smaug 2012-05-09 18:54:18 -04:00
Ehsan Akhgari
8b7988e945 Bug 612128 - Prevent the editor from modifying nodes which are not under an editing host; r=roc,bzbarsky
This patch ensures that the NODE_IS_EDITABLE flag is only set on nodes living
under an editing host.  Things like text controls which used to have that flag
previously will not have it any more.  The flag would be set on their anonymous
div node instead.  Note that if text controls actually fall under an editing
host, they will get the NODE_IS_EDITABLE flag.

This patch also makes nsHTMLEditor::IsEditable return sane results (text nodes
are always considered to be editable).
2010-11-16 15:45:49 -05:00
Nathan Froyd
5db1917152 Bug 747508 - Count PresContexts in about:memory; r=njn 2012-05-07 16:09:11 -04:00
Mark Capella
dd4dbf0fab Bug 749367 - script type=texttemplate content parsed as JavaScript (+E4X), r=jst, f=ms2ger, mbrubeck, jdm 2012-05-09 07:24:24 -07:00
Randell Jesup
eaa1af326d Bug 752784: protect against media not having a track of the required type r=roc 2012-05-09 01:53:49 -04:00
Chris Pearce
238d2abd8c Bug 746885 part 1 - Make pointer lock requests wait until fullscreen is approved before being granted. r=smaug 2012-05-09 09:47:20 +12:00
Chris Pearce
adcfed167d Bug 716107 part 4 - Dispatch MozEnteredDomFullscreen to document which requests fullscreen. r=smaug 2012-05-09 09:47:19 +12:00
Chris Pearce
426a1d635c Bug 716107 part 3 - Don't dispatch 'MozShowFullScreenWarning' event upon keypress in DOM fullscreen mode. r=smaug 2012-05-09 09:47:18 +12:00
Chris Pearce
35902ed377 Bug 716107 part 2 - Remove full-screen-api.key-input-restricted keys pref. r=smaug 2012-05-09 09:47:18 +12:00
Benoit Jacob
7ddda953bf Bug 736123 - short-term fix: blacklist adreno using the global GLContext to get renderer info - r=bgirard
It really works, but it's not future-proof as it relies on the global GL context that's going away soon. But it probably won't go away in Aurora 14, so this should at least allow us to ship Fennec 14.

Longer term, we need to do some message passing so we can get the LayerManager's OpenGL context's renderer id, from the OMTC thread.
2012-05-08 15:55:52 -04:00
Jon Buckley
eb1579639e Bug 728017 - Implement WEBGL_compressed_texture_s3tc - r=bjacob 2012-05-08 13:29:31 -04:00
Ed Morley
93fca3e280 Backout ba7cf6fd10ae (bug 728017) for failing to compile 2012-05-08 18:50:45 +01:00
Jon Buckley
1720b18a60 Bug 728017 - Implement WEBGL_compressed_texture_s3tc - r=bjacob 2012-05-08 13:29:31 -04:00
Justin Lebar
b54abd8d84 Bug 749018 - Make OOP <iframe mozbrowser> pass current browser frame tests. r=smaug,cjones
--HG--
extra : rebase_source : f15018bf2c9427a0d6e8d44da348d8d7d1693219
2012-05-08 09:20:35 -07:00
Benoit Jacob
af9f70aa31 Bug 749711 - Lots of WebGL texture conversion fixes and improvements - r=jgilbert
* Templatize pack/unpack routines
** Inside anonymous namespace in a naive attempt to not hammer PGO linker
   memory usage.
* Support conversions changing texel size
* Support conversion from integer to float formats
* Support RGBA32F properly
* Avoid compiling useless paths (code size down to 17k from 44k)
2012-05-07 13:05:32 -04:00
Aryeh Gregor
319617a63f Bug 700538 part 2 - Make methods that return editing hosts return dom::Element* instead of nsIContent*; r=ehsan 2012-05-06 10:53:11 +03:00
Randell Jesup
63dafade33 Bug 752087: Use correct method to check is a jsval is an object r=roc 2012-05-07 18:54:29 -04:00
Jared Wein
b9f099aa8f Bug 748701 - Followup: typo fix, forgot to set rv. r=me 2012-05-07 14:15:22 -07:00
Simon Montagu
d1c7522681 Test for word-break in 16-bit text as well as 8-bit. Bug 249159 r=jfkthame 2012-05-07 12:18:23 -07:00
Makoto Kato
388efdff7d Bug 249159 - Part 1 Add word-break interface to nsILineBreaker. r=smontagu 2012-05-07 12:18:23 -07:00
Daniel Holbert
e94c8d2785 Bug 664918 followup: Add missing */ terminator on emacs modeline in header comment for new file StreamBuffer.cpp. (no review, comment-only) DONTBUILD 2012-05-07 11:22:44 -07:00
Benoit Jacob
57e20d6acb back out e8f3fd02ba3e for windows build failure 2012-05-07 14:04:10 -04:00
Benoit Jacob
58ff026b42 Bug 749711 - Lots of WebGL texture conversion fixes and improvements - r=jgilbert
* Templatize pack/unpack routines
** Inside anonymous namespace in a naive attempt to not hammer PGO linker
   memory usage.
* Support conversions changing texel size
* Support conversion from integer to float formats
* Support RGBA32F properly
* Avoid compiling useless paths (code size down to 17k from 44k)
2012-05-07 13:05:32 -04:00
Andrew Quartey
d959be51a1 Bug 722599 - Move change event firing to content from layout r=mounir 2012-05-07 12:27:24 -04:00
Chris Pearce
b2d3ca928b Bug 752141 - Release media decoder monitor when finishing audio stream. r=kinetik 2012-05-07 17:12:52 +12:00
Robert O'Callahan
9d526acea3 Bug 750258. Fix bustage. 2012-05-07 15:57:52 +12:00
Robert O'Callahan
6dc32e9284 Bug 750258. Set intial audio capture state correctly on mDecoderStateMachine. r=cpearce
For media resources whose streams are captured before the load has started, we shouldn't even start
an audio thread. This saves a lot of resources and ensures we don't see races between the audio thread
and the code that copies packets from the audio queue to the MediaStreams.
2012-05-07 15:45:06 +12:00
Robert O'Callahan
16d731f0aa Bug 750258. Advance mBlockingDecisionsMadeUntilTime to include time lost when the media graph control thread was stopped and all streams had underruns. r=jesup
The first part just handles the case where nsAudioStream failed to allocate a stream. It won't be playing
anything, so instead of trying to get the audio position, just fall back to the media graph current time.
Otherwise GetPositionInFrames returns -1 and things go badly from there.
The second part simplifies the calculation of the next mCurrentTime to just make it based on real time.
We had some code to not let it advance past the end of a stream's buffer, but the next part will make that
unnecessary.
The third part is the real fix. When the new current time has advanced past mBlockingDecisionsMadeUntilTime,
that means the control loop didn't run in time to replenish the audio output buffers and keep up with its
other duties. Effectively all streams have been blocked between mBlockingDecisionsMadeUntilTime and
the new current time. Account for that by adding the difference as extra blocked time for every stream.
We only need to ensure that the stream is marked blocked from mBlockingDecisionsMadeUntilTime indefinitely
far into the future, and then update mBlockingDecisionsMadeUntilTime to the new current time, because the
code takes into account that only blocking decisions up to mBlockingDecisionsMadeUntilTime are valid.
2012-05-07 15:44:41 +12:00
Benoit Jacob
f5224451f6 Bug 747619 - Fix WebGL uniform setter validation - r=jgilbert
This bug, introduced by the patch from bug 732233, caused us to wrongly reject
legitimate WebGL uniform setters, especially when doing a partial update of
a uniform array.
2012-05-06 23:09:36 -04:00
Matthew Gregan
e80c8caef9 Bug 747793 - Use a ring buffer for audio buffered by nsBufferedAudioStream. Remove generic sample copy out with volume adjustment and replace with the lightly optimized version from nsNativeAudioStream. Add a fast path for the unity volume case. Bump cubeb's refill thread priority on Win32. r=cpearce 2012-05-03 16:48:54 +12:00
Boris Zbarsky
73485dea64 Bug 749485. Switch new DOM bindings to using a struct for keeping track of failures for fallible methods. r=peterv,bent
ErrorResult is in a separate header file so it can be included from all over the
place without having to pull in mozilla/dom/Utils.h and all the xpconnect gunk
that needs.
2012-05-05 21:15:11 -04:00
Ralph Giles
adbf7a2878 Bug 752234 - Guard nsOpusState::Time against inactive streams. r=cpearce
Fix a crash loading opus files when the media.opus.enabled pref is
false. The buffering code still tries to call our Time() method,
but without having read the headers we cannot perform the
conversion.

This commit adds a guard on mActive like the other ::Time
methods use.
2012-05-05 09:55:29 -07:00
Phil Ringnalda
15ea61df18 Back out 1907bf7e6d7c (bug 749485) for build bustage 2012-05-05 20:33:59 -07:00
Boris Zbarsky
d6697e4410 Bug 749485. Switch new DOM bindings to using a struct for keeping track of failures for fallible methods. r=peterv,bent
ErrorResult is in a separate header file so it can be included from all over the
place without having to pull in mozilla/dom/Utils.h and all the xpconnect gunk
that needs.
2012-05-05 21:15:11 -04:00
Boris Zbarsky
eb7815497d Bug 749539. Make IsContextStable an inline function. r=bjacob 2012-05-05 09:28:25 -04:00
Ms2ger
f6c3724b54 Bug 745478 - Pass JSObjects to nsXBLProtoImplMember::InstallMember; r=jst 2012-05-05 11:00:06 +02:00
Ms2ger
9d81d1a49c Bug 749883 - Remove unused txDOM.h; r=sicking 2012-05-05 11:00:06 +02:00
Ms2ger
a1194f2df0 Bug 751323 - Cleanup nsHTMLEditRules::RemoveEmptyNodes(); r=ehsan 2012-05-05 11:00:06 +02:00
Ms2ger
7139d571ce Bug 745568 - Fix nsXULDocument::CloneNode; r=smaug 2012-05-05 11:00:05 +02:00
Ms2ger
a147767a14 Bug 741245 - Remove nsresult return value from nsXPConnect::GetSafeJSContext(); r=bholley 2012-05-05 11:00:05 +02:00
Ms2ger
bdb319a00d Bug 745542 - Remove support for font-weight and point-size attributes on the font element; r=sicking 2012-05-05 11:00:04 +02:00
Ms2ger
92edad47c8 Bug 745211 - Remove SetScriptContext from nsIScriptGlobalObject; r=mrbkap 2012-05-05 11:00:04 +02:00
Ehsan Akhgari
5f8dc0569d Merge mozilla-central into mozilla-inbound 2012-05-04 16:29:42 -04:00
Ehsan Akhgari
9a8d30546c Merge the last green PGO changeset from mozilla-inbound into mozilla-central 2012-05-04 16:23:45 -04:00
Olli Pettay
530aca9fc0 Bug 561664 - document.activeElement should never return native anonymous content, r=enndeakin 2012-05-04 17:41:49 +03:00
Olli Pettay
cdc6e26752 Bug 751422, fix regression from GetOwnerDoc() -> OwnerDoc(), r=khuey 2012-05-04 17:41:27 +03:00
Boris Zbarsky
fc02e7d83a Bug 745897. Add the new DOM bindings APIs to WebGLContext. r=bjacob
This adds APIs suitable for calling from the new DOM bindings to WebGLContext and makes the XPCOM
versions of the WebGL context API call through to the new-binding versions.
2012-05-04 12:38:44 -04:00
Boris Zbarsky
92d75c731a Bug 747825. Make the WebGLContext a wrapper cache. r=peterv 2012-05-04 12:36:40 -04:00
Doug Turner
e474437e8e Bug 738465 - implement device light sensor. r=smaug 2012-05-02 09:43:45 -07:00
Doug Turner
e188f5505d Bug 738131 - implement device proximity. r=smaug
* * *
Bug 738131 - implement device proximity. gonk implementation. r=mwu
2012-05-02 09:43:45 -07:00
Jonathan Watt
14342d950c Bug 413960, part 2 - Stop sending out unnecessary COORD_CONTEXT_CHANGED/TRANSFORM_CHANGED notifications from nsSVGOuterSVGFrame. r=longsonr.
--HG--
extra : rebase_source : fa0e8a232559e19b9a151a34a8f235154327409b
2012-05-03 17:05:53 +01:00
Jonathan Watt
8056ad42af Bug 413960, part 1 - Clean up and document various parts of misleading viewBox code. r=longsonr.
--HG--
extra : rebase_source : f9dc173b36d4afbce3a8e256f7aa90d9d231615a
2012-05-03 17:05:40 +01:00
Robert Longson
d9928f2c53 Bug 751515 - Fix Crash with convertToSpecifiedUnits. r=dholbert 2012-05-04 08:41:42 +01:00
Robert O'Callahan
11d43656a8 Bug 750769. Add logging code to dump events for diagnosis. r=cpearce 2012-05-04 17:05:42 +12:00
Daniel Holbert
ad9db381d6 Bug 750370: Fix incorrect bounds-check for unsigned value nsRadioGroupStruct::mRequiredRadioCount. r=mounir 2012-05-03 18:54:39 -07:00
John Schoenick
74f0bb2104 Bug 748365 - xpath: Don't progress past end in nextToken, remove pushBack() logic. r=sicking 2012-04-26 14:46:44 -07:00
Steve Fink
c50109b8cd Bug 730208 - UnmarkGray the global object held by nsXULPDGlobalObject to avoid it getting used to create black -> gray edges. r=smaug
--HG--
extra : rebase_source : fd4b5cd7787e1af157cce4f505422238660a5a65
2012-03-20 21:29:47 -07:00
Ehren Metcalfe
9d5dfbd1ce Bug 751416 - Remove unused txList[Iterator] methods. r=sicking 2012-05-03 18:33:51 -04:00
Doug Sherk
49b7c05e20 Bug 751539: fix test to avoid timeout r=cpearce 2012-05-03 14:12:36 -07:00
Benoit Jacob
f739bcc07c backout b13c1d8d2cda / bug 747619 for build failure (-Werror) 2012-05-03 16:54:14 -04:00
Benoit Jacob
236dd8e7f5 Bug 747619 - fix uniform setter validation: allow partial uniform array updates - r=jgilbert 2012-05-03 15:57:25 -04:00
Andrew McCreight
07f9a7c5cb Bug 744103, part 3 - Change NoteRoot to NoteJSRoot and NoteNativeRoot. r=smaug 2012-05-03 12:28:11 -07:00
Andrew McCreight
8f774dbad9 Bug 744103, part 2 - Change NoteScriptChild to NoteJSChild. r=smaug 2012-05-03 12:28:10 -07:00
Ed Morley
46622a4bc4 Merge mozilla-central to mozilla-inbound 2012-05-03 20:13:41 +01:00
Jared Wein
524a9f6f3d Bug 748701 - Crash in nsObjectLoadingContent::IsPluginEnabledForType. r=joshmoz 2012-05-03 12:31:29 -04:00
Olli Pettay
f4603a370b Bug 751561 - Call forgetSkippable at least twice before CC, r=mccr8
--HG--
extra : rebase_source : 7434eb9be0bbdfd7fe44e1aeced9698d6c0627e1
2012-05-03 19:17:01 +03:00
Olli Pettay
928443e854 Bug 751286 - eventPhase NONE constant, r=sicking 2012-05-03 13:59:51 +03:00
Bobby Holley
26ec731b76 Bug 750859 - remove unused (or seldom-used) PrivilegeManager functions. r=bz 2012-05-02 23:57:34 +02:00
Ed Morley
1c884a9386 Backout 5a0fe30e6b1a (bug 565274) for M4 test_bug377624.html failures on a CLOSED TREE 2012-05-03 12:32:49 +01:00
Ralph Giles
b6f1345f82 Bug 674225 - Add basic mochitests for Opus. r=cpearce
Add a short Ogg Opus file to the content/media/test
directory and add it to the gSeekTests, gSmallTests,
and gPlayTests in manifest.js. This file is crafted
to end on a packet boundary, so trimming to duration
is not verified.
Set the media.opus.enabled pref to true in manifest.js
so the various tests using the opus file succeed.

Add a stanza to can_play_type_ogg.js to test the
behaviour of canPlayType with an opus-specific
media type for both values of the pref.

Add support for the .opus filename extension to
the mochitest http server.
2012-05-01 17:29:42 -07:00
Ralph Giles
64ef2c566d Bug 674225 - Add Opus support to nsOggReader. r=cpearce
Parse and decode Opus streams embedded in the Ogg
container. Based on the draft specification from
https://wiki.xiph.org/OggOpus
Support is conditional on the runtime preference
setting media.opus.enabled, which is false by
default until we're confident the spec is stable
and useful.

This patch doesn't support the gain header or
multichannel files.

The LEUint*() functions from the skeleton parser
are used to read the multi-byte header fields.
This requires moving them to earlier in the file.

Mappings for the .opus filename extension are also
added to facilitate testing with local files.
2012-05-01 17:29:34 -07:00
Arnaud Bienner
1596d5df6d Bug 565274 - Implement the accept attribute for the form and file upload controls for custom MIME types. r=sicking 2012-05-03 00:49:24 +02:00
Paul ADENOT
47bc5ed443 Bug 462960 - Add tests for the played member. r=cpearce 2012-04-30 20:29:29 -04:00
Paul ADENOT
0c9bd026a9 Bug 462959 - Implement nsIDOMHTMLMediaElement::GetPlayed(). r=cpearce, kinetik 2012-04-30 20:29:24 -04:00
Bill McCloskey
9bf329bcdd Bug 750424 - Make nsXULPrototypeNode an nsISupports (r=smaug) 2012-04-30 15:54:16 -07:00
Masatoshi Kimura
799eae8b67 Bug 750023 - Add a null check in nsXMLHttpRequest::CreatePartialBlob. r=smaug 2012-04-30 15:49:15 -07:00
Benoit Jacob
6d6be3fa98 Bug 743748 - Reenable ANGLE shader translation on Android - r=jgilbert 2012-04-30 17:43:12 -04:00
Benoit Jacob
c25e00d46c Bug 736123 - blacklist Adreno renderers for WebGL - r=joe 2012-04-30 17:43:12 -04:00
Ehsan Akhgari
2eacf185a5 Bug 750146 - Do not call back on the nsTextEditorState if the restore selection event has been revoked; r=bzbarsky
--HG--
extra : rebase_source : b37d85e9c2e628b15b23bbedc2eee74d66d8fa46
2012-04-30 17:05:53 -04:00
Andrew McCreight
05fb8bb993 Bug 737075 - unmark gray strongly held observers implemented in JS. r=bsmedberg, smaug 2012-04-30 12:01:11 -07:00
Jared Wein
4a14801895 Bug 702463 - Increasing the timeout of the tests due to the presence of multiple refresh drivers. r=ehsan 2012-04-30 13:44:55 -04:00
Robert O'Callahan
a180656367 Bug 750163. MediaStreamGraphImpl::UpdateBufferSufficiencyState should skip tracks whose creation is pending --- there is no Track object for them yet. r=jesup 2012-04-30 17:23:00 +12:00
Robert O'Callahan
67f781f9fb Bug 664918. Part 12: Finish SourceMediaStreams when the media decoder is destroyed, to avoid late low-audio/low-video notifications and issues when multiple decoders write to the same stream. r=cpearce,rjesup 2012-04-30 15:13:42 +12:00
Robert O'Callahan
9c92e7c20b Bug 664918. Part 11: Refactor code around mDecoder->Shutdown() to make following fix easier. r=cpearce 2012-04-30 15:13:09 +12:00
Robert O'Callahan
25f6dcb4b1 Bug 664918. Part 10: Add test_streams_element_capture.html to test capturing a media element into a stream and playing that stream through another media element.
The test also tests that capturing MediaStream video into a canvas works.
2012-04-30 15:13:01 +12:00
Robert O'Callahan
7f8bbe9275 Bug 664918. Part 9: Tentative support for MediaStreamListener::NotifyQueuedTrackChanges. r=jesup 2012-04-30 15:12:50 +12:00
Robert O'Callahan
c3c1a7aa31 Bug 664918. Part 8: Add mozCaptureStream()/mozCaptureStreamUntilEnded() APIs to HTML media elements, returning a MediaStream representing the contents of the media element. r=cpearce,jesup
This is currently not fully functional. The MediaStream always ends when the underlying resource ends. You can't use these APIs on a media element
whose src is a MediaStream. Seeking or pausing the resource will cause problems. The media element does not play back in sync with the MediaStream.
2012-04-30 15:12:42 +12:00
Robert O'Callahan
b61b0479ed Bug 664918. Part 7: Let the "src" attribute of HTML media elements accept a MediaStream DOM object, to make the media element play back the contents of the given stream. r=cpearce,jesup 2012-04-30 15:12:28 +12:00
Robert O'Callahan
587d304a70 Bug 664918. Part 5: Create SourceMediaStream, a MediaStream with an API allowing data to be injected into it by some source. r=jesup 2012-04-30 15:11:40 +12:00
Robert O'Callahan
500533126c Bug 664918. Part 4: Create nsDOMMediaStream, a DOM object wrapping an underlying MediaStream. r=smaug,jesup 2012-04-30 15:11:34 +12:00
Robert O'Callahan
a9019ef530 Bug 664918. Part 3: Create MediaStream and MediaGraphManager for internal management of real-time media processing. r=jesup 2012-04-30 15:11:26 +12:00
Robert O'Callahan
baab5848f3 Bug 664918. Part 2: Create MediaSegment, AudioSegment and VideoSegment classes to manage intervals of media data. r=jesup
Also introduces a SharedBuffer class, representing a blob of binary data with threadsafe refcounting.
2012-04-30 15:11:19 +12:00
Robert O'Callahan
bef5a47982 Bug 664918. Part 1: Create TimeVarying<T> class to represent values that change over time. r=jesup 2012-04-30 15:11:08 +12:00
Robert O'Callahan
49291bbea8 Bug 664918. Part 0: Refactor nsMediaCache's handling of principals into a helper method in nsContentUtils. r=bzbarsky 2012-04-30 15:11:00 +12:00
Ryan VanderMeulen
e4a009f28f Merge m-c to m-i 2012-04-29 16:35:05 -04:00
Paul ADENOT
7315f8263d Bug 480376 - Implement mozHasAudio to indicate when there's no audio track available. r=cpearce 2012-04-28 11:01:10 -04:00
Ms2ger
5079979c3a No bug - Fix buildwarning about nsHTMLDocument::GetPlugins; r=bz 2012-04-27 20:17:22 +02:00
Ed Morley
a4fb65a19b Merge mozilla-central to mozilla-inbound 2012-04-27 17:57:52 +01:00
Aryeh Gregor
dd030b3a1e Bug 748725 - nsINode::GetParentElement() should return dom::Element*; r=smaug 2012-04-27 16:21:12 +03:00
Ed Morley
0c3dbaac1d Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-04-27 12:52:26 +01:00
Olli Pettay
993e467b51 Backout Bug 747675 to see if it has caused startup crashes 2012-04-27 13:37:55 +03:00
Bas Schouten
d3c8ecea9c Bug 749467: Properly mark mPathTransformWillUpdate false. r=roc 2012-04-27 07:07:01 +02:00
Phil Ringnalda
1d52ee7a7b Merge m-c to m-i 2012-04-26 21:40:59 -07:00
Olli Pettay
246874ec46 Bug 747675, try to decrease max forgetSkippable times, r=mccr8 2012-04-25 16:43:18 +03:00
Ed Morley
371b6292ff Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-04-26 13:46:02 +01:00
John Daggett
15b7adf246 Bug 718539. Trim out old featureSettings string code. r=jkew 2012-04-26 15:27:08 +09:00
John Daggett
04c2cd9e64 Bug 718539. Initialize font features in gfxFontStyle from nsFont data. r=dbaron 2012-04-26 15:25:29 +09:00
Kyle Huey
b7d84c761c Merge m-i to m-c. 2012-04-25 20:22:53 -07:00
Justin Lebar
a6a97184a8 Bug 714861 - Run <iframe mozbrowser> in a separate process (disabled by default). r=cjones,bz,tn,smaug 2012-04-25 12:35:58 -04:00
Ed Morley
8fa462d93e Backout 949cb1977ef9 (bug 714861) for build bustage 2012-04-25 16:51:31 +01:00
Justin Lebar
bdcf3134ed Bug 714861 - Run <iframe mozbrowser> in a separate process (disabled by default). r=cjones,bz,tn,smaug 2012-04-25 11:29:28 -04:00
Ed Morley
c01b046b59 Backout cc37cd8dac59 (bug 744303) for M1 orange 2012-04-25 16:15:11 +01:00
Olli Pettay
fab0bd775f Bug 740063 - Add nsINode::AsDOMNode(), r=jst
--HG--
extra : rebase_source : a838243c11e212ec419df1dd1a219e955c4edc2d
2012-04-25 16:47:30 +03:00
Olli Pettay
4ad17b64f4 Bug 747675, try to decrease max forgetSkippable times, r=mccr8
--HG--
extra : rebase_source : 1378eaedd2c24ec8ccb37506d71858087925bf10
2012-04-25 16:43:18 +03:00
Ehsan Akhgari
b3edff00ce Merge the last green PGO changeset from mozilla-inbound to mozilla-central 2012-04-25 10:06:04 -04:00
Matt Brubeck
0d23bfe194 Back out bug 730208 and bug 747543 because of xpcshell test failures 2012-04-24 20:47:16 -07:00
Ms2ger
f87b924f25 Bug 731832 - Backout bug 587021 for breaking a specific web page; r=bz 2012-04-24 21:04:37 +02:00
Aryeh Gregor
7be1137313 Bug 480647 part 5 - Reject invalid values from execCommand("fontSize"); r=ehsan 2012-04-24 13:57:46 +03:00
Aryeh Gregor
3764f99635 Bug 480647 part 4 - Clean up nsHTMLDocument::ConvertToMidasInternalCommandInner; r=ehsan 2012-04-24 13:57:23 +03:00
Aryeh Gregor
6bc478db8b Bug 480647 part 2 - Move ParseLegacyFontSize to nsContentUtils so editor/ can use it; r=bz 2012-04-24 13:57:23 +03:00
Ed Morley
dcdf030a23 Merge from mozilla-central 2012-04-24 11:46:16 +01:00
Ed Morley
3766b3adc1 Merge last PGO-green changeset of mozilla-inbound to mozilla-central a=merge 2012-04-24 11:14:56 +01:00
Matthew Schranz
9a181354aa Bug 686913 - HTMLProgressElement should no longer be a form control. r=mounir a=mfinkle 2012-04-24 12:03:21 +02:00
Aryeh Gregor
143bcd05b7 Bug 599983 part 2 - Don't emit or process _moz_dirty more than necessary; r=ehsan,bz 2012-04-24 09:06:11 +03:00
Serge Gautherie
5ffa364520 Bug 744663. (Cv1) Use 'test' pre instead of redundant 'log' pre, Improve on-screen logging. r=smaug.
(a=test-only)
2012-04-24 03:02:33 +02:00
Serge Gautherie
0d9ff0d427 Bug 744663. (Bv1) Inline finishWSTest(), Use executeSoon() between sub-tests, Improve message contents, Receive "end" messages too, Add an additional forcegc(), Nits. r=smaug.
(a=test-only)
2012-04-24 03:01:35 +02:00
Serge Gautherie
7e236c76ea Bug 744663. (Av1) Improve documentation and logs, Nits. r=smaug.
(a=test-only)
2012-04-24 03:00:43 +02:00
Ehsan Akhgari
906c0d876d Merge from mozilla-central 2012-04-23 19:24:10 -04:00
Ehsan Akhgari
7ec790e011 Merge from mozilla-central 2012-04-23 18:17:44 -04:00
Ehsan Akhgari
313c5f8453 Merge mozilla-central into birch 2012-04-22 16:10:35 -04:00
Ehsan Akhgari
dad2cb027a Merge mozilla-central into mozilla-inbound 2012-04-25 10:07:17 -04:00
Jeff Gilbert
56b2df3e35 Bug 744303 - Upload WebGL textures as BGRA when useful - r=bjacob 2012-04-25 15:05:35 +01:00
Honza Bambas
9b81f3b6e2 Bug 700493 - Stop overlay load after document went away, r=bz 2012-04-25 14:50:20 +02:00
Aryeh Gregor
7e70350cb8 Bug 702948 - Make Range.detach() a no-op; r=smaug 2012-04-25 15:03:48 +03:00
Phil Ringnalda
b15550b1c7 Bug 742455 - disable crashtests on Windows that are taking down the whole suite more often than not, a=test-only 2012-04-20 22:39:39 -07:00
Daniel Holbert
7a2d634fcc Bug 747469: Add PRInt32 cast to make bounds-check effective, in nsHTMLDocument::ChangeContentEditableCount. r=ehsan 2012-04-20 16:04:28 -07:00
Ehsan Akhgari
c02381dff5 Bug 747516 - Admit mozilla::dom::Link into a weight loss program; r=bz 2012-04-20 17:48:54 -04:00
Masayuki Nakano
81566b63e2 Bug 630811 part.7 Add getModifierState() to DOM KeyboardEvent and DOM MouseEvent r=smaug, sr=jst 2012-04-25 12:00:02 +09:00
Masayuki Nakano
5c0d118456 Bug 630811 part.2 Replace nsInputEvent::isShift, nsInputEvent::isControl, nsInputEvent::isAlt and nsInputEvent::isMeta r=smaug 2012-04-25 12:00:02 +09:00
Masayuki Nakano
4eaa1f9a9d Bug 630811 part.1 Move modifiers from nsMouseEvent_base to nsInputEvent r=smaug 2012-04-25 12:00:02 +09:00
Masayuki Nakano
3659544533 Bug 731878 part.2 Implement D3E MouseEvent.buttons attribute r=smaug, sr=jst 2012-04-25 12:00:01 +09:00
Masayuki Nakano
ef84db57cf Bug 731878 part.1 Implement D3E initMouseEvent() and getModifierState() but they shouldn't be public r=smaug 2012-04-25 12:00:01 +09:00
Ehsan Akhgari
166aca09f9 Merge mozilla-central into mozilla-inbound 2012-04-24 21:29:44 -04:00
Matt Brubeck
7f28f3e986 Back out a01bb9f10445 (bug 677122) because of test failure
--HG--
extra : rebase_source : 569a8ccbc09af9149c4e82a7da140bbd217412fb
2012-04-24 18:11:06 -07:00
Patrick Wong
4ccd1d2fbb Bug 745659 - Removed the nsPrintfCString constructor which takes a length and all corresponding instances that call that particular constructor. This is accomplished by removing the length component from the instantiation. r=jlebar 2012-04-24 14:43:00 -04:00
Nathan Froyd
dc2f118fd3 Bug 746285 - pack nsXBLBinding more carefully for 64-bit; r=bz 2012-04-17 15:23:11 -04:00
Ehsan Akhgari
1a589b3eab Merge mozilla-central into birch 2012-04-20 13:50:08 -04:00
Benoit Jacob
ff3e9f3b3a Bug 746296 - Check for antialiasing should be samples>1 not samples>0 - r=jgilbert, a=akeybl 2012-04-19 23:28:01 -04:00
Benoit Jacob
a582724204 Bug 696495 - set tex min filter before generateMipmap calls, to work around driver bugs - r=jgilbert, a=akeybl 2012-04-19 23:28:01 -04:00
Phil Ringnalda
f9054a9761 Back out dd82458147fd (bug 714861) for mochitest-3 failures and Linux mochitest-chrome leaks 2012-04-19 20:06:34 -07:00
Justin Lebar
71e61abe35 Bug 714861 - Run <iframe mozbrowser> in a separate process (disabled by default). r=cjones,bz,tn,smaug 2012-04-20 09:54:43 +10:00
Daniel Holbert
ad90bdf33e Bug 746646: Remove useless bounds-check for unsigned >= 0 in nsContentEventHandler::ExpandToClusterBoundary. r=masayuki 2012-04-19 10:38:00 -07:00
Ehsan Akhgari
5af9f61b94 Merge mozilla-central into birch 2012-04-19 10:03:36 -04:00
Aryeh Gregor
4e988704fc Bug 745685 - Parse <font size> per HTML5; r=bz 2012-04-19 11:09:16 +03:00
Chris Pearce
f48b124c6f Bug 690989 - Ensure we're focused before requesting fullscreen in rollback test. r=smaug a=test-only 2012-04-23 22:48:00 +12:00
Ehsan Akhgari
b1994ec7bb Bug 722981 - Flush the media cache when the last private browsing window is closed; r=roc 2012-04-16 23:16:47 -04:00
Ed Morley
0d5915835c Merge last PGO-green changeset of mozilla-inbound to mozilla-central a=merge 2012-04-17 17:47:09 -07:00
Olli Pettay
639bc8865b Bug 743178, CORS may keep XHR alive too long, r=bz, a=tracking-firefox14+ 2012-04-17 23:55:40 +03:00
Daniel Holbert
12b7bbd274 Bug 744464: Fix incorrect bounds-check of unsigned value in nsPlainTextSerializer::AppendElementEnd. r=smaug 2012-04-17 09:55:50 -07:00
Marco Bonardo
e2d27a92bb Merge last green PGO from inbound to central 2012-04-17 15:31:58 +02:00
Henri Sivonen
f809f0bb17 Bug 744366 - Assert about old readyState before readyState transitions. r=bzbarsky. 2012-04-17 09:41:49 +03:00
David Humphrey (:humph)
4d13548380 Bug 745266 - Operator precedence is wrong in nsEventStateManager::PreHandleEvent. r=smaug 2012-04-16 14:29:14 -07:00
Daniel Holbert
2c7e6d7bd5 Backout f59dff115daa because it landed with the wrong bug number 2012-04-17 09:53:47 -07:00
Aryeh Gregor
3bdac8e24b Bug 205485 - execCommand("backcolor") should work the same as execCommand("hilitecolor"); r=ehsan 2012-04-17 18:37:40 +03:00
Aryeh Gregor
a6656684c1 Bug 702948 - Add telemetry to count how many ranges are detached; r=smaug 2012-04-17 17:36:22 +03:00
Benoit Jacob
b3b05df356 Bug 732233 - Explicitly enforce spec in uniform setters - r=jgilbert 2012-04-16 15:56:12 -04:00
Marco Bonardo
f4ba575127 Merge central and inbound 2012-04-17 15:33:51 +02:00
Tanvi Vyas
68b566d19a bug 570505 - fix csp to avoid creating strings from URIs and un-hose test_bug558431. r=dveditz 2012-04-17 06:16:05 -07:00
Jeff Muizelaar
bb3c40904f Bug 745818. Fix crashtest bustage. a=bustage
Disable the test added in 3b31c3121e98 as it still crashes
in lots of places.

--HG--
extra : rebase_source : 31274e7ac05dae017615a18f1601c219b4f0b4a9
2012-04-23 17:55:56 -04:00
Jeff Muizelaar
a99a32ae57 Bug 743499. Handle negative sizes in CG backend. r=bas, a=akeybl
I didn't realize Sizes could be negative when originally writing this code.
2012-04-23 17:09:57 -04:00