Robert O'Callahan
b80c14bd5b
Bug 805254. Part 10: remove MOZ_CONVERT_AUDIO_SAMPLE. r=kinetik
2012-10-25 23:09:40 +13:00
Robert O'Callahan
d44792d2db
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
4dcad1fa98
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
b1f3765e26
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
d92a1b5efc
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
e0ece2f796
Bug 805254. Part 5: Remove format parameter from PAudio constructor. r=kinetik
2012-10-25 23:09:39 +13:00
Robert O'Callahan
9542499e15
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
9d77102812
Bug 805254. Part 3: Remove SampleType. r=kinetik
2012-10-25 23:09:39 +13:00
Robert O'Callahan
2cbb708232
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
f71993e45d
Bug 805254. Part 1: Remove mFormat from nsAudioStream. r=kinetik
2012-10-25 23:09:38 +13:00
Andrea Marchesini
21bae2dc23
Bug 804395 - Allow app:// protocol and XHR. r=sicking
2012-10-25 21:57:57 -04:00
Ryan VanderMeulen
d9543c4b84
Merge m-c to inbound.
2012-10-25 21:57:47 -04:00
Daniel Holbert
b70cb9aaaa
Bug 805555: Mark nsXBLProtoImpl member-vars "cx" and "versionBefore" as DebugOnly. r=bz
2012-10-25 18:48:22 -07:00
Robert O'Callahan
77fe33f9cb
Bug 790854. Keep MediaStream alive until MediaStream::Destroy ends. r=jesup
2012-10-26 14:39:05 +13:00
Ryan VanderMeulen
40f09ef25e
Merge the last PGO-green inbound chnageset to m-c.
2012-10-25 21:14:50 -04:00
Masayuki Nakano
072949e794
Bug 805306 Get rid of nsIMEStateManager::OnTextStateBlur() and nsIMEStateManager::OnTextStateFocus() r=smaug
2012-10-26 09:49:13 +09:00
Randell Jesup
2546ad6ad0
Bug 805596: Incorrect audio rates used for fake audio streams r=anant
2012-10-25 20:14:47 -04:00
Andrew Quartey
549c0bfc08
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
36f99c3113
Bug 804174 - Inline IsCallerTrustedForWrite with IsCallerChrome. r=mccr8
2012-10-25 16:10:54 -07:00
Nikhil Marathe
17ccba841b
Bug 804174 - Inline IsCallerTrustedForRead with IsCallerChrome. r=mccr8
2012-10-25 16:10:53 -07:00
Nikhil Marathe
453b3dce5f
Bug 804174 - Inline CallerHasUniversalXPConnect with IsCallerChrome. r=mccr8
2012-10-25 16:10:53 -07:00
Robert O'Callahan
a01b0389bf
Backout 15c4d6334107 (bug 790854) for test failures
2012-10-26 12:08:38 +13:00
Robert O'Callahan
553c22e6e6
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
3a861ae421
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
f4f29b626e
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
1121ac25cc
Bug 803159 - Fix type error in plugin code. r=bz
2012-10-25 11:04:52 -07:00
Ehsan Akhgari
f117c7a7b0
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
48b5c1a608
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
6bae1ef04d
Bug 797821 - Address Ms2ger's review comments. r=me
2012-10-25 17:01:09 +02:00
Bobby Holley
c562949e50
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
d7bb2e50ba
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
703a9798c9
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
826ce1e16b
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
3b50be121c
Bug 797821 - Simplify the call signature for XPC::CreateGlobalObject. r=mrbkap
2012-10-25 17:01:07 +02:00
Jim Mathies
ae9b1663ef
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
265cffd198
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
f5e5b6d4cc
Bug 803684 - Add a memory reporter for in-memory file data. r=khuey,njn
2012-10-24 22:06:31 -04:00
Randell Jesup
b7a4ba499c
Bug 803976: Implementation of LocalMediaStreams for .stop() r=roc,anant
2012-10-24 19:21:32 -04:00
Randell Jesup
0b36cd32e3
Bug 803799: Start gUM streams in Success callback; add MediaManager mutex r=anant,roc
2012-10-24 19:21:15 -04:00
Ehsan Akhgari
e4097ac608
Backed out changeset ea436c6f7d2d (bug 803799), landed on a CLOSED TREE
2012-10-24 20:30:08 -04:00
Ehsan Akhgari
cab6e9af53
Backed out changeset 165208ecd591 (bug 803976)
2012-10-24 20:29:32 -04:00
Randell Jesup
8865bcac96
Bug 803976: Implementation of LocalMediaStreams for .stop() r=roc,anant
2012-10-24 19:21:32 -04:00
Randell Jesup
491dae523f
Bug 803799: Start gUM streams in Success callback; add MediaManager mutex r=anant,roc
2012-10-24 19:21:15 -04:00
Benoit Jacob
ffeffc42cc
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
2f0a626fbc
Bug 768750 - Make FieldSetter always set a return value. r=bz
2012-10-17 13:42:58 -07:00
Justin Lebar
60788c9e2a
Back out 37e8ef1c7353 (bug 803684) due to Windows red.
...
--HG--
extra : rebase_source : 17a1ad6c967781e46f23c2938633b18c88709910
2012-10-24 13:38:35 -04:00
Justin Lebar
a2894d092c
Bug 803684 - Add a memory reporter for in-memory file data. r=khuey,njn
2012-10-24 12:40:35 -04:00
Honza Bambas
3cb41c8aeb
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
88f5982042
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
24bb12ef77
Bug 801576 - Fix sandbox test. r=mrbkap
2012-10-24 12:04:18 +02:00
Devdatta Akhawe
36ab7f4d1c
Bug 803765 - Documentation for aRequestPrincipal r=bz
2012-10-23 21:44:11 -07:00
Benoit Jacob
35cc01597b
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
d9e53eb073
Backout of changeset 6f1121e69ee9
2012-10-23 17:37:02 +02:00
Honza Bambas
957e3d8fcc
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
ddac623d6a
Bug 780142 - Rewrite MozWifiConnectionInfoEvent. r=smaug
2012-10-22 18:18:26 +08:00
Chuck Lee
a7168749c9
Bug 780142 - Rewrite WifiStatusChangeEvent. r=smaug
2012-10-22 17:17:18 +08:00
Robert Longson
58611c936a
Bug 644534 - Make SMIL animation work when content is transformed through XSLT. r=bzbarsky
2012-10-23 09:21:49 +01:00
Henri Sivonen
0658c28103
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
4fa3b26bd8
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
5ce3a161b8
Bug 773891 - With AppsService changes
2012-10-19 12:43:17 +02:00
Benoit Jacob
47a6960085
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
85cc57baf9
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
31985d7fa6
Bug 536324 part 3 - Change consumers of nsIChannel. r=sworkman
2012-10-22 10:51:07 -07:00
Abhishek Potnis
2509c81393
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
3011384d8c
Bug 798187 part 2. Switch WebGLContextAttributes to being a dictionary. r=peterv,bjacob
2012-10-22 13:08:52 -04:00
Boris Zbarsky
b3b06a3510
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
2c0d8809e7
Bug 801712 part 2. Switch ImageData to WebIDL bindings. r=peterv
2012-10-22 13:08:52 -04:00
Boris Zbarsky
ad8c0e8444
Bug 801712 part 1. Add the WebIDL binding API to ImageData. r=peterv
2012-10-22 13:08:52 -04:00
Boris Zbarsky
98124699eb
Bug 776242. Remove now-unused 2d canvas classinfo. r=peterv
2012-10-22 13:08:52 -04:00
Robert Longson
7deef898eb
Bug 801317 - Support transforms in SVG fragment identifiers. r=dholbert
2012-10-22 10:13:24 +01:00
Bobby Holley
66202aeb25
Bug 789224 - Remove signed script security checks. r=mrbkap
2012-10-22 08:29:55 +02:00
Bobby Holley
cbd9a55d15
Bug 789224 - Remove miscellaneous UniversalXPConnect checks sprinkled throughout gecko. r=mrbkap
2012-10-22 08:29:55 +02:00
Andrea Marchesini
1e998bca39
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
ff1fb0488f
Bug 796903 - Part b: Remove classinfo from DOMImplementation; r=bz
2012-10-21 09:38:41 +02:00
Ms2ger
c2f432be69
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
be433f6d01
Bug 803586 - Infinite recursion in nsXMLStylesheetPI::SetNodeValueInternal; r=bz
2012-10-21 09:38:41 +02:00
Ms2ger
38df9b3843
Bug 801486 - Skip script elements in HTMLOptionElement.prototype.text; r=bz
2012-10-21 09:38:40 +02:00
John Schoenick
8cf6014b49
Bug 802355 - Handle failures in OnStartRequest when spawning plugins. r=josh
2012-10-20 20:48:20 -07:00
Olli Pettay
f5c0c70f94
Bug 802985, PreDestroy editor, r=ehsan
2012-10-20 21:48:34 +03:00
Peter Van der Beken
0fca6b2112
Fix for bug 801083 (Remove old proxy-based list bindings). r=bz.
2012-10-13 14:50:24 +02:00
Masayuki Nakano
68b60c3277
Bug 802896 nsIMEStateManager should use nsPresContext::GetNearestWidget() instead of its GetWidget() r=smaug
2012-10-17 16:50:24 +09:00
Oonishi Atsushi
4dfc130001
Bug 801357 - Remove Get/SetProcessingScriptTag(). r=smaug
2012-10-19 21:44:13 -04:00
Randell Jesup
aed1ba0a24
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 (陳侃如)
b004178115
Bug 791711 - Invalidate again if the SharedImageID was removed. r=nical
2012-10-20 08:18:31 +08:00
John Schoenick
709e6fe8a0
Bug 797043 - Followup, only implicitly click-to-play activate actual plugin types. r=josh
2012-10-19 13:11:42 -07:00
Jim Chen
b86ebcb4f0
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
2ee36bed60
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
c5fc1ce464
Merge mozilla-central to mozilla-inbound
2012-10-19 15:24:43 +01:00
Ed Morley
6070cf02a0
Merge last PGO-green changeset of mozilla-inbound to mozilla-central
2012-10-19 15:23:32 +01:00
Chris Pearce
a7711b5de9
Bug 803427 - Correct duration of gizmo.mp4 in media mochitests. r=doublec
2012-10-19 20:09:09 +13:00
Kyle Huey
f7d552a878
Bug 802926: Null check the callback passed to toBlob. r=sicking
2012-10-18 23:59:38 -07:00
Ryan VanderMeulen
604faa03ea
Merge m-c to inbound.
2012-10-18 21:28:57 -04:00
Olli Pettay
44bbb5eced
Bug 801440 - 'ASSERTION: Mutation event dispatched in native anonymous content', r=bz
2012-10-19 03:22:35 +03:00
Doug Turner
6363e34789
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
890418950c
Bug 803093: Lock access to MediaEngineWebRTC singleton r=anant
2012-10-18 14:03:00 -04:00
Henri Sivonen
9f6eeef233
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
57adeb4354
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
c876d90f69
Merge m-c to inbound.
2012-10-18 21:44:09 -04:00
Bobby Holley
07e2329fa3
Bug 802557 - Do more direct comparisons with the outer window. r=bz
2012-10-19 01:37:14 +02:00
Isaac Aggrey
cbb17fe7b2
Bug 794510: Part 2: Use more stdint types instead of protypes.h types; r=ehsan
2012-10-11 18:38:04 -05:00