Commit Graph

10018 Commits

Author SHA1 Message Date
Ryan VanderMeulen
05aa9e9bde Whitespace fix for bug 751035. DONTBUILD 2012-05-09 20:23:31 -04:00
Irving Reid
96357dc537 Bug 753455 - Improved warning message from XBL. r=bz 2012-05-09 18:57:44 -04:00
Ehren Metcalfe
db8f0e31ca Bug 751035 - Remove various unused nsHTML*Element related methods. r=jst 2012-05-09 18:55:56 -04:00
David Humphrey (:humph)
57939d76ad Bug 750111 - mozMovementX is transient and becomes zero later. r=smaug 2012-05-09 18:54:18 -04:00
Ehsan Akhgari
2be6b796b2 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
b55f7f45cf Bug 747508 - Count PresContexts in about:memory; r=njn 2012-05-07 16:09:11 -04:00
Mark Capella
cce7855327 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
ebb8d15057 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
eed556a49b 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
69fad75f3b Bug 716107 part 4 - Dispatch MozEnteredDomFullscreen to document which requests fullscreen. r=smaug 2012-05-09 09:47:19 +12:00
Chris Pearce
cad06a23d5 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
43c670b220 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
f3cec89440 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
f4f2e1efb0 Bug 728017 - Implement WEBGL_compressed_texture_s3tc - r=bjacob 2012-05-08 13:29:31 -04:00
Ed Morley
8a8e40fff3 Backout ba7cf6fd10ae (bug 728017) for failing to compile 2012-05-08 18:50:45 +01:00
Jon Buckley
56d33b746c Bug 728017 - Implement WEBGL_compressed_texture_s3tc - r=bjacob 2012-05-08 13:29:31 -04:00
Justin Lebar
cdc2cdd948 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
802a3dc0cf 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
3c77c5664c 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
729c0d0f7e 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
c9e5477a25 Bug 748701 - Followup: typo fix, forgot to set rv. r=me 2012-05-07 14:15:22 -07:00
Simon Montagu
6f401a70e8 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
3ffb4bf799 Bug 249159 - Part 1 Add word-break interface to nsILineBreaker. r=smontagu 2012-05-07 12:18:23 -07:00
Daniel Holbert
d0c4544c6e 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
70ef0e73d6 back out e8f3fd02ba3e for windows build failure 2012-05-07 14:04:10 -04:00
Benoit Jacob
826a893d64 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
ed5d3bf079 Bug 722599 - Move change event firing to content from layout r=mounir 2012-05-07 12:27:24 -04:00
Chris Pearce
c59be7944b Bug 752141 - Release media decoder monitor when finishing audio stream. r=kinetik 2012-05-07 17:12:52 +12:00
Robert O'Callahan
1324bd3eab Bug 750258. Fix bustage. 2012-05-07 15:57:52 +12:00
Robert O'Callahan
f1d92066fc 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
5aa5e1864b 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
047847bb94 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
d74fbf6059 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
fa88b9861d 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
e558af769f 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
d3adeb4433 Back out 1907bf7e6d7c (bug 749485) for build bustage 2012-05-05 20:33:59 -07:00
Boris Zbarsky
cc67ef4fb6 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
edbe43b288 Bug 749539. Make IsContextStable an inline function. r=bjacob 2012-05-05 09:28:25 -04:00
Ms2ger
6560a2ad1e Bug 745478 - Pass JSObjects to nsXBLProtoImplMember::InstallMember; r=jst 2012-05-05 11:00:06 +02:00
Ms2ger
c5d4ee62ae Bug 749883 - Remove unused txDOM.h; r=sicking 2012-05-05 11:00:06 +02:00
Ms2ger
9f3641f0f6 Bug 751323 - Cleanup nsHTMLEditRules::RemoveEmptyNodes(); r=ehsan 2012-05-05 11:00:06 +02:00
Ms2ger
939283ce71 Bug 745568 - Fix nsXULDocument::CloneNode; r=smaug 2012-05-05 11:00:05 +02:00
Ms2ger
9a5ae693e0 Bug 741245 - Remove nsresult return value from nsXPConnect::GetSafeJSContext(); r=bholley 2012-05-05 11:00:05 +02:00
Ms2ger
2a096d2084 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
68c19b3ac7 Bug 745211 - Remove SetScriptContext from nsIScriptGlobalObject; r=mrbkap 2012-05-05 11:00:04 +02:00
Ehsan Akhgari
9cfb53c03f Merge mozilla-central into mozilla-inbound 2012-05-04 16:29:42 -04:00
Ehsan Akhgari
7cded84a6d Merge the last green PGO changeset from mozilla-inbound into mozilla-central 2012-05-04 16:23:45 -04:00
Olli Pettay
585c02c8bd Bug 561664 - document.activeElement should never return native anonymous content, r=enndeakin 2012-05-04 17:41:49 +03:00
Olli Pettay
15d0224615 Bug 751422, fix regression from GetOwnerDoc() -> OwnerDoc(), r=khuey 2012-05-04 17:41:27 +03:00
Boris Zbarsky
ab17ec6502 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