Ryan VanderMeulen
ce9be1b16b
Bug 799917 - Backout for various regressions.
2012-10-28 08:49:20 -04:00
Aryeh Gregor
b45ac130db
Bug 801425 - Make hasFeature() and isSupported() always return true for non-SVG features; r=bz
2012-10-15 13:59:38 +02:00
Matt Joras
8835709995
Bug 798033 - Removes 'using namespace' from /content headers - r=bsmedberg
2012-10-27 13:24:04 -04:00
Phil Ringnalda
56c57f466f
Back out c25bc74b7fd3 (bug 798033) for build bustage
2012-10-26 19:05:18 -07:00
Matt Joras
5c9750a59e
Bug 798033 - Removes 'using namespace' from /content headers - r=bsmedberg
2012-10-14 00:04:51 -05:00
Mats Palmgren
5865f17728
Bug 805957. r=roc
2012-10-27 03:02:57 +02:00
Masayuki Nakano
00776d0733
Bug 801989 part.1 Add mNativeIMEContext to InputContext and TextComposition should use it instead of nsIWidget r=smaug, sr=roc
2012-10-27 08:35:20 +09:00
Ryan VanderMeulen
3f8a3cf348
Merge m-c to inbound.
2012-10-26 16:06:04 -04:00
Daniel Holbert
b72299ef37
Bug 805607 - Mark content/xbl/src as FAIL_ON_WARNINGS. r=bz
2012-10-26 10:49:57 -07:00
Daniel Holbert
d670ff3e30
Bug 805606: Add DebugOnly annotation to fix build warning in nsXBLDocumentInfo.cpp. r=Ms2ger
2012-10-26 10:49:57 -07:00
Jonathan Kew
4a13a3665a
bug 805787 - fix for build failure in nsNodeUtils.cpp with Apple clang 4.0 or other not-up-to-date versions. r=dbaron
2012-10-26 15:48:29 +01:00
Bill McCloskey
17ffbf5002
Bug 692267 - Remove jsgc.h from INSTALLED_HEADERS (r=terrence)
2012-10-26 11:17:24 -07:00
Robert O'Callahan
8be96d5c14
Bug 805771. Don't call NotifyPull after a stream has finished. r=jesup
2012-10-26 13:11:50 -04:00
Robert O'Callahan
7a501020a1
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
8bd04e7aec
Bug 805254. Part 12: Simplify AudioSegment::WriteTo and related code now that the output format is known statically. r=kinetik
...
Also fixes what I think is a bug in InterleaveAndConvertBuffer converting S16 to S16.
Instead of clamping the volume, we should handle arbitrary volumes by falling back
to the float conversion path.
2012-10-25 23:09:41 +13:00
Robert O'Callahan
3fe2b7b13b
Bug 805254. Part 11: Move Vorbis-specific definitons into a new file VorbisUtils.h. r=kinetik
2012-10-25 23:09:41 +13:00
Robert O'Callahan
270b79d20e
Bug 805254. Part 10: remove MOZ_CONVERT_AUDIO_SAMPLE. r=kinetik
2012-10-25 23:09:40 +13:00
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