Robert O'Callahan
2bdd5935a5
Bug 805254. Part 9: Get rid of some more #ifdefs in nsWaveDecoder. r=kinetik
2012-10-25 23:09:40 +13:00
Robert O'Callahan
384eb67455
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
a0d739c463
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
272b330f88
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
Robert O'Callahan
996ea428df
Bug 805254. Part 5: Remove format parameter from PAudio constructor. r=kinetik
2012-10-25 23:09:39 +13:00
Robert O'Callahan
11cca22e78
Bug 805254. Part 4: Remove FORMAT_U8 from nsAudioStream::SampleFormat. r=kinetik
...
We also give nsWaveReader its own separate format enum.
2012-10-25 23:09:39 +13:00
Robert O'Callahan
9daf75897d
Bug 805254. Part 3: Remove SampleType. r=kinetik
2012-10-25 23:09:39 +13:00
Robert O'Callahan
6ebf581b9e
Bug 805254. Part 2: Rename nsAudioStream::GetFormat() to Format(), make it static, and use it instead of the MOZ_AUDIO_DATA_FORMAT macro. r=kinetik
...
Part 8 mostly replaces this patch, but it's quite difficult to reorder the patches to avoid this one.
2012-10-25 23:09:38 +13:00
Robert O'Callahan
231bb156a9
Bug 805254. Part 1: Remove mFormat from nsAudioStream. r=kinetik
2012-10-25 23:09:38 +13:00
Andrea Marchesini
317d788b96
Bug 804395 - Allow app:// protocol and XHR. r=sicking
2012-10-25 21:57:57 -04:00
Ryan VanderMeulen
f9f21d1079
Merge m-c to inbound.
2012-10-25 21:57:47 -04:00
Daniel Holbert
86007c1a13
Bug 805555: Mark nsXBLProtoImpl member-vars "cx" and "versionBefore" as DebugOnly. r=bz
2012-10-25 18:48:22 -07:00
Robert O'Callahan
9174df61e2
Bug 790854. Keep MediaStream alive until MediaStream::Destroy ends. r=jesup
2012-10-26 14:39:05 +13:00
Ryan VanderMeulen
4c180e35d1
Merge the last PGO-green inbound chnageset to m-c.
2012-10-25 21:14:50 -04:00
Masayuki Nakano
6c9580559c
Bug 805306 Get rid of nsIMEStateManager::OnTextStateBlur() and nsIMEStateManager::OnTextStateFocus() r=smaug
2012-10-26 09:49:13 +09:00
Randell Jesup
c69045b847
Bug 805596: Incorrect audio rates used for fake audio streams r=anant
2012-10-25 20:14:47 -04:00
Andrew Quartey
6eb0ddf707
Bug 792581 - part 22: Replace LL_ZERO and LL_Zero() macros with 0. r=ehsan
2012-10-25 19:25:59 -04:00
Nikhil Marathe
44ce273499
Bug 804174 - Inline IsCallerTrustedForWrite with IsCallerChrome. r=mccr8
2012-10-25 16:10:54 -07:00
Nikhil Marathe
5b8c5fd31a
Bug 804174 - Inline IsCallerTrustedForRead with IsCallerChrome. r=mccr8
2012-10-25 16:10:53 -07:00
Nikhil Marathe
814dbc2a57
Bug 804174 - Inline CallerHasUniversalXPConnect with IsCallerChrome. r=mccr8
2012-10-25 16:10:53 -07:00
Robert O'Callahan
54e64ff390
Backout 15c4d6334107 (bug 790854) for test failures
2012-10-26 12:08:38 +13:00
Robert O'Callahan
a7019f243f
Bug 790854. Set mMainThreadDestroyed before the stream is destroyed. r=jesup
...
--HG--
extra : rebase_source : 6b1d2a64b9af082b02a207759f051cb6d7975e35
2012-10-26 11:07:59 +13:00
Daniel Holbert
3eb391cb2a
Bug 805527: Mark nsBindingManager as MOZ_FINAL to fix GCC -Wdelete-non-virtual-dtor warning. r=ehsan
2012-10-25 15:16:15 -04:00
John Schoenick
84c270d094
Bug 803159 - Guess plugin types from extension prior to falling back to channel loading. r=bz
2012-10-25 11:05:17 -07:00
John Schoenick
acb47b5004
Bug 803159 - Fix type error in plugin code. r=bz
2012-10-25 11:04:52 -07:00
Ehsan Akhgari
78b2656cbc
Backed out 2 changesets (bug 579517)
...
Backed out changeset 5298adc70963
Backed out changeset 86ccf7c918ce (bug 579517)
2012-10-25 12:32:24 -04:00
Ehsan Akhgari
03be701616
Code hygiene: don't use PR_TRUE and PR_FALSE, and use stdint types instead of PRInt types (no bug really, but you could say bug 579517)
2012-10-25 11:48:19 -04:00
Bobby Holley
2c584933ef
Bug 797821 - Address Ms2ger's review comments. r=me
2012-10-25 17:01:09 +02:00
Bobby Holley
461c6572fd
Bug 797821 - Hoist XPConnect-y stuff out of the compartment private and into the XPCWrappedNativeScope. r=mrbkap
...
This change means we no longer have to keep around a set of XPConnect compartments.
We keep the compartment private around for non-xpconnecty stuff like about:memory
instrumentation that needs to happen on non-xpconnect compartments.
2012-10-25 17:01:09 +02:00
Bobby Holley
db865e0ccf
Bug 797821 - Don't pass XPCONNECT_GLOBAL_FLAGS for xbl and xul document gSharedGlobalClass. r=mrbkap
...
A lot of these flags don't make sense in this context.
2012-10-25 17:01:08 +02:00
Bobby Holley
ea14cf4726
Bug 797821 - Stop making nsXBLDocumentInfo and nsXULPrototypeDocument globals with XPConnect. r=mrbkap
...
We already weren't creating a scope for them. They're generally pretty isolated
and are just used for holding functions that get cloned into other scopes.
Apparently mccr8 once found an edge from an nsXULPrototypeDocument scope into
another scope, but I don't think that should really break anything.
2012-10-25 17:01:07 +02:00
Bobby Holley
4f6ed4314a
Bug 797821 - Stop passing wantXrays directly to CreateGlobalObject. r=mrbkap
...
This can happen after the fact where it needs to.
2012-10-25 17:01:07 +02:00
Bobby Holley
597176da8c
Bug 797821 - Simplify the call signature for XPC::CreateGlobalObject. r=mrbkap
2012-10-25 17:01:07 +02:00
Jim Mathies
cc10f75d87
Bug 798821 - On Windows, restrict enabling of W3C touch interfaces to devices that support touch input. Also convert touch pref to 3-state value. r=bsmedberg
2012-10-25 09:57:51 -05:00
Mook
664647cf94
bug 782549 - check if the window has device sensor listeners, instead of global listener count (r=dougt)
2012-10-20 21:40:56 -07:00
Justin Lebar
3acf01ecb1
Bug 803684 - Add a memory reporter for in-memory file data. r=khuey,njn
2012-10-24 22:06:31 -04:00
Randell Jesup
2eb9a9bf7e
Bug 803976: Implementation of LocalMediaStreams for .stop() r=roc,anant
2012-10-24 19:21:32 -04:00
Randell Jesup
97d57fb78e
Bug 803799: Start gUM streams in Success callback; add MediaManager mutex r=anant,roc
2012-10-24 19:21:15 -04:00
Ehsan Akhgari
28c105ccf5
Backed out changeset ea436c6f7d2d (bug 803799), landed on a CLOSED TREE
2012-10-24 20:30:08 -04:00
Ehsan Akhgari
33b4d241b7
Backed out changeset 165208ecd591 (bug 803976)
2012-10-24 20:29:32 -04:00
Randell Jesup
5d4b72af55
Bug 803976: Implementation of LocalMediaStreams for .stop() r=roc,anant
2012-10-24 19:21:32 -04:00
Randell Jesup
781f490022
Bug 803799: Start gUM streams in Success callback; add MediaManager mutex r=anant,roc
2012-10-24 19:21:15 -04:00
Benoit Jacob
9b38025820
Bug 757593 - Fix WebGL context restorer timer: InitWithFuncCallback's 3rd parameter is a number of milliseconds - r=bz
2012-10-24 15:46:31 -04:00
Jeff Walden
7042873948
Bug 768750 - Make FieldSetter always set a return value. r=bz
2012-10-17 13:42:58 -07:00
Justin Lebar
b73791971c
Back out 37e8ef1c7353 (bug 803684) due to Windows red.
...
--HG--
extra : rebase_source : 17a1ad6c967781e46f23c2938633b18c88709910
2012-10-24 13:38:35 -04:00
Justin Lebar
81ba0ba3ab
Bug 803684 - Add a memory reporter for in-memory file data. r=khuey,njn
2012-10-24 12:40:35 -04:00
Honza Bambas
6b99a52009
Bug 654348 - Make XMLHttpRequest prefer explicit credentials (in the URL) over cached credentials, r=cbiesinger
2012-10-24 16:05:13 +02:00
Honza Bambas
8b8008e418
Bug 761479 - XMLHttpRequest with mozAnon=true should still send explicitly passed username + password, r=cbiesinger
2012-10-24 16:05:13 +02:00
Bobby Holley
80d75e4f8c
Bug 801576 - Fix sandbox test. r=mrbkap
2012-10-24 12:04:18 +02:00
Devdatta Akhawe
bcf0534cfb
Bug 803765 - Documentation for aRequestPrincipal r=bz
2012-10-23 21:44:11 -07:00
Benoit Jacob
f51e0a484e
Bug 795186 - fix the WebGL robustness timer, don't inherit the timer callback base class - r=opettay
2012-10-23 12:21:23 -04:00
Honza Bambas
80045583a2
Backout of changeset 6f1121e69ee9
2012-10-23 17:37:02 +02:00
Honza Bambas
b98093ca8e
Bug 761479 - XMLHttpRequest with mozAnon=true should still send explicitly passed username + password, r=cbiesinger
2012-10-23 17:03:49 +02:00
Chuck Lee
3156424831
Bug 780142 - Rewrite MozWifiConnectionInfoEvent. r=smaug
2012-10-22 18:18:26 +08:00
Chuck Lee
c467984383
Bug 780142 - Rewrite WifiStatusChangeEvent. r=smaug
2012-10-22 17:17:18 +08:00
Robert Longson
ec99803c5d
Bug 644534 - Make SMIL animation work when content is transformed through XSLT. r=bzbarsky
2012-10-23 09:21:49 +01:00
Henri Sivonen
7bdeb64895
Bug 687859 - Make the BOM take precedence when determining the character encoding of scripts. r=smaug.
2012-10-23 09:26:34 +03:00
Robert O'Callahan
117a471483
Bug 800859. Part 3: Dispatch MozAfterPaint after we've done the COMPOSITE step for the invalidations recorded in the event. r=mattwoodrow
...
--HG--
extra : rebase_source : 7a204c0930e7a2a35ad99af79d28ebba56f034fe
2012-10-19 17:50:34 +13:00
Carmen Jimenez Cabezas
206612e73e
Bug 773891 - With AppsService changes
2012-10-19 12:43:17 +02:00
Benoit Jacob
3d2c0713dc
Bug 795186 - Declare refptrs between WebGL objects to the CC even if there is no cycle at C++ level - r=opettay
2012-10-22 17:17:42 -04:00
Boris Zbarsky
9af1986044
Bug 798187 even more followup. Disable broken WebGL test, and update to Peter's review comments. r=peterv
2012-10-22 15:14:30 -04:00
Nick Hurley
e7f284c9d3
Bug 536324 part 3 - Change consumers of nsIChannel. r=sworkman
2012-10-22 10:51:07 -07:00
Abhishek Potnis
8ad6e4b4f3
Bug 795511: Removed usages of PR_BIT and PR_BITMASK from the tree; r=ehsan
2012-10-20 07:31:43 +05:30
Boris Zbarsky
cd4e9e4533
Bug 798187 part 2. Switch WebGLContextAttributes to being a dictionary. r=peterv,bjacob
2012-10-22 13:08:52 -04:00
Boris Zbarsky
48f9a54684
Bug 798151. Support stringifier operations (but not yet attributes!) on non-proxy bindings, and fix Object.prototype.toString for proxy bindings. r=peterv
2012-10-22 13:08:52 -04:00
Boris Zbarsky
04d6d1040c
Bug 801712 part 2. Switch ImageData to WebIDL bindings. r=peterv
2012-10-22 13:08:52 -04:00
Boris Zbarsky
f49c8f247c
Bug 801712 part 1. Add the WebIDL binding API to ImageData. r=peterv
2012-10-22 13:08:52 -04:00
Boris Zbarsky
ab3d97d203
Bug 776242. Remove now-unused 2d canvas classinfo. r=peterv
2012-10-22 13:08:52 -04:00
Robert Longson
814606cd60
Bug 801317 - Support transforms in SVG fragment identifiers. r=dholbert
2012-10-22 10:13:24 +01:00
Bobby Holley
0c1ca835dd
Bug 789224 - Remove signed script security checks. r=mrbkap
2012-10-22 08:29:55 +02:00
Bobby Holley
3a93472e80
Bug 789224 - Remove miscellaneous UniversalXPConnect checks sprinkled throughout gecko. r=mrbkap
2012-10-22 08:29:55 +02:00
Andrea Marchesini
800e40bd54
Bug 804446 - Disable the javascript: protocol when it is entered in the location bar of browser in Firefox OS, r=bz
2012-10-26 10:46:27 +02:00
Ms2ger
3accfeaf06
Bug 796903 - Part b: Remove classinfo from DOMImplementation; r=bz
2012-10-21 09:38:41 +02:00
Ms2ger
198e457ea6
Bug 796903 - Part a: Move DOMImplementation to its own file and move it to Paris bindings; r=bz
2012-10-21 09:38:41 +02:00
Ms2ger
b04ad5d4ed
Bug 803586 - Infinite recursion in nsXMLStylesheetPI::SetNodeValueInternal; r=bz
2012-10-21 09:38:41 +02:00
Ms2ger
b44db1c477
Bug 801486 - Skip script elements in HTMLOptionElement.prototype.text; r=bz
2012-10-21 09:38:40 +02:00
John Schoenick
aa605cc8fc
Bug 802355 - Handle failures in OnStartRequest when spawning plugins. r=josh
2012-10-20 20:48:20 -07:00
Olli Pettay
efe22ceaf9
Bug 802985, PreDestroy editor, r=ehsan
2012-10-20 21:48:34 +03:00
Peter Van der Beken
e86cd8818c
Fix for bug 801083 (Remove old proxy-based list bindings). r=bz.
2012-10-13 14:50:24 +02:00
Masayuki Nakano
86891a52c1
Bug 802896 nsIMEStateManager should use nsPresContext::GetNearestWidget() instead of its GetWidget() r=smaug
2012-10-17 16:50:24 +09:00
Oonishi Atsushi
7da1007b20
Bug 801357 - Remove Get/SetProcessingScriptTag(). r=smaug
2012-10-19 21:44:13 -04:00
Randell Jesup
e4efdf3c82
Bug 803535: Add mutex for MediaEngineDefault access, fix cut-and-paste error r=anant
2012-10-19 18:06:18 -04:00
Kan-Ru Chen (陳侃如)
c162c0d48f
Bug 791711 - Invalidate again if the SharedImageID was removed. r=nical
2012-10-20 08:18:31 +08:00
John Schoenick
057fe960b1
Bug 797043 - Followup, only implicitly click-to-play activate actual plugin types. r=josh
2012-10-19 13:11:42 -07:00
Jim Chen
726441b618
Bug 792928 - Don't select entire text when event offsets are out of bounds; r=masayuki
2012-10-19 14:45:54 -04:00
Jeff Walden
2600167280
Bug 803438 - Convert nsPreflightCache and nsPreflightCache::CacheEntry to use mozilla::LinkedList and mozilla::LinkedListElement instead of prclist.h. r=jlebar
...
--HG--
extra : rebase_source : cf4d3a1f495c1b9286bb08fef4823eeedc0e5394
2012-10-18 20:41:13 -07:00
Ed Morley
b9b019f736
Merge mozilla-central to mozilla-inbound
2012-10-19 15:24:43 +01:00
Ed Morley
796f00654c
Merge last PGO-green changeset of mozilla-inbound to mozilla-central
2012-10-19 15:23:32 +01:00
Chris Pearce
e51e7f1ce6
Bug 803427 - Correct duration of gizmo.mp4 in media mochitests. r=doublec
2012-10-19 20:09:09 +13:00
Kyle Huey
a5a6a888dd
Bug 802926: Null check the callback passed to toBlob. r=sicking
2012-10-18 23:59:38 -07:00
Ryan VanderMeulen
efd53c3dda
Merge m-c to inbound.
2012-10-18 21:28:57 -04:00
Olli Pettay
347434362b
Bug 801440 - 'ASSERTION: Mutation event dispatched in native anonymous content', r=bz
2012-10-19 03:22:35 +03:00
Doug Turner
4a040cfbad
Bug 793955, 802867 - DeviceStorage files returned by DeviceStorage.get() don't always have lastModifiedDate. r=bent. a=blocking-basecamp
2012-10-18 11:29:32 -07:00
Randell Jesup
728f12acfb
Bug 803093: Lock access to MediaEngineWebRTC singleton r=anant
2012-10-18 14:03:00 -04:00
Henri Sivonen
acff66fab5
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
a69ce442c1
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
Ryan VanderMeulen
0744ad5c35
Merge m-c to inbound.
2012-10-18 21:44:09 -04:00
Bobby Holley
c4465f5bd1
Bug 802557 - Do more direct comparisons with the outer window. r=bz
2012-10-19 01:37:14 +02:00
Isaac Aggrey
9e41ce2fa0
Bug 794510: Part 2: Use more stdint types instead of protypes.h types; r=ehsan
2012-10-11 18:38:04 -05:00
Peter Van der Beken
12024180f9
Fix for bug 799464 (Make Element.getElementsBy* return HTMLCollection). r=bz.
...
--HG--
extra : rebase_source : fe059b8ad3b98df9e611899832584cc866db0479
2012-09-26 16:17:47 +02:00