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

7578 Коммитов

Автор SHA1 Сообщение Дата
Robert O'Callahan 354cbfbbe3 Bug 805254. Part 13: Make nsAudioStream::Write take an AudioDataValue* parameter instead of void. r=kinetik 2012-10-25 23:10:51 +13:00
Robert O'Callahan acc22ea0d6 Bug 805254. Part 8: Consolidate audio sample processing code using templates over the format types. r=kinetik
Replace nsAudioStream::Format with an AUDIO_OUTPUT_FORMAT enum value so we
can use it as a template parameter.

Introduce AudioSampleTraits<AudioSampleFormat> to give us access to the C++ type
corresponding to an enum value.

Move SampleToFloat/FloatToSample to AudioSampleFormat.h.

Introduce ConvertAudioSamples and ConvertAudioSamplesWithScale functions
and use them from various places.

Moves AudioDataValue to AudioSampleFormat.h. The name isn't great, but it'll do.
2012-10-25 23:09:40 +13:00
Robert O'Callahan eb84abab22 Bug 805254. Part 7: Move SampleFormat to mozilla::AudioSampleFormat in its own file. r=kinetik 2012-10-25 23:09:40 +13:00
Robert O'Callahan 88d4ac9086 Bug 805254. Part 6: Replace some #ifdefs with if statements. r=kinetik
This is largely obsoleted by part 8. Sorry.
2012-10-25 23:09:39 +13:00
Nikhil Marathe 1acf12dfe6 Bug 804174 - Inline IsCallerTrustedForWrite with IsCallerChrome. r=mccr8 2012-10-25 16:10:54 -07:00
Nikhil Marathe 9e080f6dff Bug 804174 - Inline IsCallerTrustedForRead with IsCallerChrome. r=mccr8 2012-10-25 16:10:53 -07:00
Nikhil Marathe 03b0de5c8a Bug 804174 - Inline CallerHasUniversalXPConnect with IsCallerChrome. r=mccr8 2012-10-25 16:10:53 -07:00
Bobby Holley ced2151431 Bug 801576 - Fix sandbox test. r=mrbkap 2012-10-24 12:04:18 +02:00
Ms2ger 45bd0fb3c3 Bug 801486 - Skip script elements in HTMLOptionElement.prototype.text; r=bz 2012-10-21 09:38:40 +02:00
Olli Pettay fb580be9be Bug 802985, PreDestroy editor, r=ehsan 2012-10-20 21:48:34 +03:00
Peter Van der Beken 9af14c557f Fix for bug 801083 (Remove old proxy-based list bindings). r=bz. 2012-10-13 14:50:24 +02:00
Kan-Ru Chen (陳侃如) e86eff5cd3 Bug 791711 - Invalidate again if the SharedImageID was removed. r=nical 2012-10-20 08:18:31 +08:00
Ed Morley 7346b8fb5d Merge mozilla-central to mozilla-inbound 2012-10-19 15:24:43 +01:00
Kyle Huey b09d1b692e Bug 802926: Null check the callback passed to toBlob. r=sicking 2012-10-18 23:59:38 -07:00
Henri Sivonen 2e7d6e0063 Bug 599320 - Refuse encodings that are not rough ASCII supersets as hints from parent, previous doc or cache. r=smaug. 2012-10-16 10:42:54 +03:00
Peter Van der Beken e4c543b77c Fix for bug 773780 (Add API for new DOM bindings for Node). r=bz.
--HG--
extra : rebase_source : 5dd51c4ad5274da9235c8c341b0531f234e95a91
2012-10-09 14:31:24 +02:00
bzbarsky@mit.edu 3b30ad1062 Bug 802243 - WrapperCache DOMStringMap, quickstub, r=smaug
--HG--
extra : rebase_source : 3c1bb6ab18692d647461af42e732e5f150ae8500
2012-10-17 04:14:32 +03:00
Olli Pettay 6b74bf4b06 Bug 802243 - WrapperCache DOMStringMap, r=bz
--HG--
extra : rebase_source : e908d30b301fc478c843b9c32c1b1846606fd6d2
2012-10-17 04:09:42 +03:00
Bobby Holley 889232fd33 Bug 797304 - Replace MoveWrapper nonsense with orphan fixup. r=peterv 2012-10-16 15:07:54 +02:00
Bobby Holley ffb451e5e9 Bug 797304 - Explicitly reparent the document to the new scope during document.open. r=peterv 2012-10-16 15:07:54 +02:00
Ed Morley f0dea8a304 Backout 6db369a15ea7 (bug 599320) for frequent failures in bug599320-1.html 2012-10-16 12:22:31 +01:00
Henri Sivonen f5079be576 Bug 599320 - Refuse encodings that are not rough ASCII supersets as hints from parent, previous doc or cache. r=smaug. 2012-10-16 10:42:54 +03:00
Kyle Huey e170f9ede0 Bug 648610: Followup for build bustage. 2012-10-15 14:57:40 -07:00
Kyle Huey a78a5f8920 Bug 648610: Implement <canvas>.toBlob. r=smaug
--HG--
rename : content/canvas/test/test_mozGetAsFile.html => content/canvas/test/test_toBlob.html
2012-10-15 14:15:25 -07:00
Aryeh Gregor aaf30c8f52 Bug 799917 - Make document.characterSet always lowercase; r=bz,f=hsivonen,smontagu 2012-10-14 10:13:19 +02:00
Aryeh Gregor c24a828b17 Bug 799905 - .URL and .compatMode should be defined on Document, not HTMLDocument; r=bz 2012-10-11 14:48:31 +02:00
Chris Pearce 9ac7e3719d Bug 690989 - Work around fullscreenchange events sometimes being dispatched before fullscreen transition completes on Linux. r=smaug 2012-10-09 11:21:57 +13:00
Josh Matthews c8eb573b6f Bug 505385 - Part 18: Reduce number of notifications - START_REQUEST/START_CONTAINER -> SIZE_AVAILABLE, remove START_DECODE and START_FRAME. Rename remaining ones for clarity. r=joe 2012-10-12 12:11:23 -04:00
Josh Matthews f905bcf9ea Bug 505385 - Part 13: Remove OnStopContainer and make OnStopDecode a true decode notification. r=joe 2012-10-12 12:11:22 -04:00
Josh Matthews b84562cef3 Bug 505385 - Part 11: Create a new imgINotificationObserver interface to replace all uses of imgIContainerObserver and imgIDecoderObserver outside of image/. r=joe 2012-10-12 12:11:22 -04:00
Ed Morley 7bf70e9a80 Merge mozilla-central to mozilla-inbound 2012-10-12 12:22:14 +01:00
Olli Pettay d8f6c4ce3e Bug 797982 - investigation patch for StringBuilder::Unit crash, r=hsivonen 2012-10-12 14:14:15 +03:00
Nicholas Cameron 5df4e02871 Bug 734668; rename files and classes. r=roc
--HG--
rename : content/canvas/src/nsCanvasRenderingContext2DAzure.cpp => content/canvas/src/CanvasRenderingContext2D.cpp
rename : content/canvas/src/nsCanvasRenderingContext2DAzure.h => content/canvas/src/CanvasRenderingContext2D.h
extra : rebase_source : ded29b0c029bbcee232c4760c49539f465d40399
2012-10-12 22:42:52 +13:00
Nicholas Cameron 1cccb0d825 Bug 734668; remove Thebes canvas. r=roc
--HG--
extra : rebase_source : 57b08c33f72cd611deb30dc1639060a719747849
2012-10-12 22:42:51 +13:00
Josh Matthews 138935b14a Back out bug 585385 for build bustage. 2012-10-11 21:58:24 -04:00
Josh Matthews fcd1ce5c84 Bug 505385 - Part 18: Reduce number of notifications - START_REQUEST/START_CONTAINER -> SIZE_AVAILABLE, remove START_DECODE and START_FRAME. Rename remaining ones for clarity. r=joe 2012-10-11 21:34:24 -04:00
Josh Matthews 1d3700a537 Bug 505385 - Part 13: Remove OnStopContainer and make OnStopDecode a true decode notification. r=joe 2012-10-11 21:34:23 -04:00
Josh Matthews abbb0715c2 Bug 505385 - Part 11: Create a new imgINotificationObserver interface to replace all uses of imgIContainerObserver and imgIDecoderObserver outside of image/. r=joe 2012-10-11 21:34:23 -04:00
Anthony Jones 244f691aaf Bug 798802 - Fix layer uninitialised in nsHTMLCanvasElement::InvalidateCanvasContent(). r=mattwoodrow 2012-10-11 21:31:39 -04:00
Trevor Saunders 000b6e89a1 bug 798595 - remove useless prmem.h includes r=ehsan 2012-10-04 02:14:06 -04:00
Chris Peterson 743ec79584 Bug 794171 - Part 2: Add comments to GStreamer and Gonk's list of H.264 codecs. r=doublec 2012-10-10 18:08:42 -07:00
Aryeh Gregor cdb3cc0401 Bug 795804 - Use WeakPtr for nsTextEditorState where appropriate; r=ehsan 2012-10-10 15:22:27 -04:00
Masatoshi Kimura f76b5ca746 Bug 797385 - Part 2: Remove ibm864 usage. r=smontagu 2012-10-10 06:32:37 -04:00
Edwin Flores 8afd7c479f Bug 795623 - Add audio/mpeg to list of supported OMX codecs r=doublec 2012-10-09 17:06:34 +13:00
Nicholas Cameron e2c4cb6a8b Bug 748113; fallback to an Azure canvas with different backend, rather than Thebes canvas. r=Bas
--HG--
extra : rebase_source : c6f0b9cc0c8ebd3963ec44283d55bcaba1097e08
2012-04-26 10:04:36 +12:00
Boris Zbarsky 5dcae470be Bug 795221 part 6. Hook up xml-stylesheet PIs to cycle collect their stylesheet. r=smaug 2012-10-07 22:39:09 -04:00
Boris Zbarsky b9ca5298cb Bug 795221 part 5. Hook up <svg:style> elements to cycle collect their stylesheet. r=smaug
--HG--
rename : content/html/content/crashtests/795221-1.html => content/html/content/crashtests/795221-4.html
2012-10-07 22:39:09 -04:00
Boris Zbarsky ea25893c42 Bug 795221 part 4. Hook up <link> elements to cycle collect their stylesheet. r=smaug
--HG--
rename : content/html/content/crashtests/795221-1.html => content/html/content/crashtests/795221-3.html
2012-10-07 22:39:09 -04:00
Boris Zbarsky 7f699883ea Bug 795221 part 3. Implement cycle collection for GroupRule objects. r=smaug,dbaron
--HG--
rename : content/html/content/crashtests/795221-1.html => content/html/content/crashtests/795221-2.html
2012-10-07 22:39:09 -04:00
Boris Zbarsky 01d75e54b1 Bug 795221 part 2. Hook up <style> elements to cycle collect their stylesheet. r=smaug 2012-10-07 22:39:09 -04:00