Commit Graph

10021 Commits

Author SHA1 Message Date
Robert O'Callahan
070d0a8c52 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
9d68bc375d Bug 750769. Dump currentTime/paused/ended/readyState on every event. r=cpearce 2012-05-10 15:30:34 +12:00
Robert O'Callahan
cc41b328ac Bug 752784. Don't mess with tracks we haven't initialized yet. r=cpearce 2012-05-10 15:30:34 +12:00
Ryan VanderMeulen
905f6c73ba Whitespace fix for bug 751035. DONTBUILD 2012-05-09 20:23:31 -04:00
Irving Reid
c45fdf1f62 Bug 753455 - Improved warning message from XBL. r=bz 2012-05-09 18:57:44 -04:00
Ehren Metcalfe
e4cd7e32d8 Bug 751035 - Remove various unused nsHTML*Element related methods. r=jst 2012-05-09 18:55:56 -04:00
David Humphrey (:humph)
bd16bed8f1 Bug 750111 - mozMovementX is transient and becomes zero later. r=smaug 2012-05-09 18:54:18 -04:00
Ehsan Akhgari
d50878a182 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
6ed0590635 Bug 747508 - Count PresContexts in about:memory; r=njn 2012-05-07 16:09:11 -04:00
Mark Capella
d3f72cbbfb 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
c601502ac4 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
4707b69793 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
1bbf11c8f9 Bug 716107 part 4 - Dispatch MozEnteredDomFullscreen to document which requests fullscreen. r=smaug 2012-05-09 09:47:19 +12:00
Chris Pearce
b3d3b85810 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
1379e2c7dc 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
725ba8f732 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
abfe75ece8 Bug 728017 - Implement WEBGL_compressed_texture_s3tc - r=bjacob 2012-05-08 13:29:31 -04:00
Ed Morley
5885a6edd0 Backout ba7cf6fd10ae (bug 728017) for failing to compile 2012-05-08 18:50:45 +01:00
Jon Buckley
3954a6b841 Bug 728017 - Implement WEBGL_compressed_texture_s3tc - r=bjacob 2012-05-08 13:29:31 -04:00
Justin Lebar
30ce54f7ce 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
1b095471a0 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
3309c31f9c 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
e15eb3b014 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
bf55883719 Bug 748701 - Followup: typo fix, forgot to set rv. r=me 2012-05-07 14:15:22 -07:00
Simon Montagu
f7b4bea0ef 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
1fceb8d8af Bug 249159 - Part 1 Add word-break interface to nsILineBreaker. r=smontagu 2012-05-07 12:18:23 -07:00
Daniel Holbert
13a38085d0 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
e191b75e54 back out e8f3fd02ba3e for windows build failure 2012-05-07 14:04:10 -04:00
Benoit Jacob
5f074bf235 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
783825908b Bug 722599 - Move change event firing to content from layout r=mounir 2012-05-07 12:27:24 -04:00
Chris Pearce
d8ae112372 Bug 752141 - Release media decoder monitor when finishing audio stream. r=kinetik 2012-05-07 17:12:52 +12:00
Robert O'Callahan
137a9cf106 Bug 750258. Fix bustage. 2012-05-07 15:57:52 +12:00
Robert O'Callahan
094c73799f 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
b1c494a351 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
f9c841e475 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
b9b643548f 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
90b5c814e8 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
8fab011a7c 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
ce8665a6aa Back out 1907bf7e6d7c (bug 749485) for build bustage 2012-05-05 20:33:59 -07:00
Boris Zbarsky
1833a29c14 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
668193e91d Bug 749539. Make IsContextStable an inline function. r=bjacob 2012-05-05 09:28:25 -04:00
Ms2ger
2b12aedb4f Bug 745478 - Pass JSObjects to nsXBLProtoImplMember::InstallMember; r=jst 2012-05-05 11:00:06 +02:00
Ms2ger
cddee1288b Bug 749883 - Remove unused txDOM.h; r=sicking 2012-05-05 11:00:06 +02:00
Ms2ger
c5dcfd1bc7 Bug 751323 - Cleanup nsHTMLEditRules::RemoveEmptyNodes(); r=ehsan 2012-05-05 11:00:06 +02:00
Ms2ger
a0ea869bab Bug 745568 - Fix nsXULDocument::CloneNode; r=smaug 2012-05-05 11:00:05 +02:00
Ms2ger
3b04c7d79e Bug 741245 - Remove nsresult return value from nsXPConnect::GetSafeJSContext(); r=bholley 2012-05-05 11:00:05 +02:00
Ms2ger
e3adc9f02e 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
ba6a163e0e Bug 745211 - Remove SetScriptContext from nsIScriptGlobalObject; r=mrbkap 2012-05-05 11:00:04 +02:00
Ehsan Akhgari
f71126f4f7 Merge mozilla-central into mozilla-inbound 2012-05-04 16:29:42 -04:00
Ehsan Akhgari
95c46760e3 Merge the last green PGO changeset from mozilla-inbound into mozilla-central 2012-05-04 16:23:45 -04:00