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

341080 Коммитов

Автор SHA1 Сообщение Дата
Chris Pearce ae9535ca0c Bug 959440 - Apply MP4Reader cleanups to WMFDecoderModule. r=padenot
Update WMFDecoderModule and friends to reflect changes to PlatformDecoderModule
interface in previous patch.
2014-01-15 16:14:15 +13:00
Chris Pearce 019e28e520 Bug 959440 - Various cleanups in MP4Reader. r=kinetik
Change PlatformDecoderModule::Create*Decoder() to take an
mp4_demuxer::{Audio,Video}DecoderConfig parameter, instead of enumerating all
parameters. This means the platform decoders can have more data if need be,
like the AACAudioConfig.

Change MediaDataDecoder::Input() to take an nsAutoPtr<MP4Sample>&. The sample
will be deleted by the caller (MP4Reader) if Input() returns DECODE_STATUS_OK,
but if the MediaDataDecoder wants to assume responsibility of the
lifecycle of the sample (say to enqueue it), it can forget() on the
nsAutoPtr& passed in and assume responsibility.

Call PlatformDecoderModule::Create() on the decode thread. This is a step
towards making these classes decode-thread only.

Add PlatformDecoderModule::Init(), which caches the pref's we need, since
PlatformDecoderModule::Create() is no longer called on the main thread, we can
no longer access them in there.

Add Init() method to MediaDataDecoder interface. This is so that we can call
MediaDataDecoder::Shutdown() to unblock the initialization of a decoder, if
that init needs to block.

Pass LayersBackend type to WMFVideoDecoder, so it knows whether to init DXVA.
2014-01-15 16:13:54 +13:00
Edgar Chen 452d7e927b Bug 952043 - Part 4: Test cases for providing the network types supported by platform. r=hsinyi 2014-01-08 19:24:06 +08:00
Edgar Chen 86ed590d82 Bug 952043 - Part 3: RIL implementation for providing the network types supported by platform. r=hsinyi 2014-01-08 14:10:58 +08:00
Nicholas D. Matsakis ac01bb4cb2 Bug 933317 - Improve write guard to consider out pointers r=shu 2014-01-07 21:35:32 -05:00
Boris Zbarsky 9562a762e6 Bug 851891. Make stringifier attributes fail to codegen. r=khuey 2014-01-14 21:46:44 -05:00
Boris Zbarsky 05f20089d2 Bug 959705. Fix unsafe reference hazards in xpconnect code. r=bholley 2014-01-14 21:46:44 -05:00
Boris Zbarsky 1b7f303480 Bug 959695 part 3. Make ReportIsNotFunction take a Handle. r=terrence 2014-01-14 21:46:44 -05:00
Boris Zbarsky cefeb1bc02 Bug 959695 part 2. Make ReportIfNotFunction take a Handle. r=terrence 2014-01-14 21:46:43 -05:00
Boris Zbarsky a885f722f2 Bug 959695 part 1. Make ValueToCallable take a Handle. r=terrence 2014-01-14 21:46:43 -05:00
Boris Zbarsky 8674f5b2ee Bug 959679. Use a handle, not a raw value, to avoid a rooting issue in canvas code. r=terrence 2014-01-14 21:46:43 -05:00
Boris Zbarsky ebedf6c389 Bug 959677. Fail codegen if a writable attribute is flagged PutForwards or Replaceable. r=smaug 2014-01-14 21:46:43 -05:00
Bobby Holley 78a5768df9 Bug 951948 - Remove Components wrappers. r=mrbkap
We fix up the tests here to test the new behavior, and fix some bugs in the test
while we're at it.
2014-01-14 18:49:30 -08:00
Bobby Holley 55527375b8 Bug 951948 - Use nsXPCComponentsBase for everything but system-principaled scopes. r=mrbkap 2014-01-14 18:49:29 -08:00
Bobby Holley 8456c88c1c Bug 951948 - Add a way for automation to force the creation of a privileged Components object for an unprivileged scope. r=ted,r=mrbkap 2014-01-14 18:49:29 -08:00
Bobby Holley 1a0c3b4b6e Bug 951948 - Store nsXPCComponentsBase on XPCWrappedNativeScope, so that we can have either. r=mrbkap 2014-01-14 18:49:29 -08:00
Bobby Holley 94364e8227 Bug 951948 - Separate out the unprivileged parts of nsXPCComponents into a separate interface and class. r=mrbkap 2014-01-14 18:49:29 -08:00
Bobby Holley e59ba552a5 Bug 951948 - Get rid of manual nsIClassInfo and nsIXPCScriptable implementations for nsXPCComponents. r=mrbkap
The macro-driven ClassInfo stuff doesn't do getClassDescription, so we need to
change that test.
2014-01-14 18:49:29 -08:00
Bobby Holley 81504a9525 Bug 951948 - Make AttachComponentsObject a non-static method on XPCWrappedNativeScope. r=mrbkap 2014-01-14 18:49:29 -08:00
Bobby Holley 71cea7a455 Bug 951948 - Remove nsISecurityCheckedComponents stuff from Components. r=mrbkap
This thing is only created in non-content scopes for XBL scopes, and during
automation (with Cu.getComponentsForScope).

At present, we currently have the same-compartment Components wrapper which
should do the right thing in those situations. Next, we'll focus on replacing
that.
2014-01-14 18:49:28 -08:00
Bobby Holley 2f2c1edb82 Bug 951948 - Remove most nsIXPCScriptable junk on nsXPCComponents. r=mrbkap 2014-01-14 18:49:28 -08:00
Bobby Holley cee68ff536 Bug 951948 - Stop using nsISecurityCheckedComponent for nsJSID. r=mrbkap 2014-01-14 18:49:28 -08:00
Bobby Holley 1583d450c9 Bug 951948 - Make nsJSID.initialize [noscript]. r=mrbkap
This lets us remove the usage of nsISecurityCheckedComponent. See the next patch.
2014-01-14 18:49:28 -08:00
Nathan Froyd e51cd360e9 Bug 957730 - set JS values more directly in bindings code; r=bz 2014-01-08 14:35:39 -05:00
Nathan Froyd 7cc4b6c4c7 Bug 957659 - slim down WidgetKeyboardEvent::GetDOMKeyName; r=masayuki
Instead of calling nsAString::Assign several hundred times along with a
switch statement that may or may not get translated into a jump table,
let's implement our own lookup table that we can guarantee will be
constant time.  The KeyNameTable struct is used instead of the more
obvious |const char* const table[]| idiom to avoid runtime relocations.
2014-01-08 11:45:30 -05:00
Nathan Froyd b07161b5dc Bug 957609 - eschew code duplication in macros for CollectWindowReports; r=njn 2014-01-10 10:15:53 -05:00
Brian Smith 2bf2f0ce5a Bug 923304, Part 2: Adjust EV tests, r=keeler
--HG--
extra : rebase_source : f0cfd0089a99dddd8852e0613bc2a31e5c12b1de
2014-01-14 15:22:09 -08:00
Brian Smith ae750cc925 Bug 923304, Part 1: Add test for OCSP response signed by CA that has an OCSP URI, r=keeler, r=briansmith
--HG--
extra : rebase_source : 7cafe0781563382c2221e865201beb023fea3628
2014-01-13 02:33:08 -08:00
Brian Smith 8282e4ae96 Bug 950129: Make OCSP fetching policy for OCSP response signing certificates consistent, r=wtc, r=rrelyea
--HG--
extra : rebase_source : 2369fcd80eb6ed5ec7e96657cdf8b43514c8357b
2014-01-12 23:13:10 -08:00
Sachin Hosmani 3bf22859ba Bug 897735 - Support regular expression filters for name and creator in extension blocks. r=Unfocused
CLOSED TREE
2014-01-06 14:16:32 +05:30
Ryan VanderMeulen 72b3035461 Backed out changeset 933bf791b773 (bug 897735) for Windows test bustage.
CLOSED TREE
2014-01-14 11:10:33 -05:00
Alexandre Poirot e12dc1d2b7 Bug 959111 - Disable actors in parent process unless certified app pref is toggled. r=past 2014-01-14 10:14:24 -05:00
Neil Bleasdale eab37d526d Bug 957052 - Move remaining event handlers out of mobile/android/chrome/content/aboutFeedback.xhtml into its js file. r=mleibovic 2014-01-14 10:14:10 -05:00
Heather Arthur 2157132f1d Bug 950921 - UI for flipping CSS source map pref. r=dcamp 2014-01-14 10:13:47 -05:00
Isura Edirisinghe cbfa31ff24 Bug 944165 - Implement remaining functions in JUnit API. r=mcomella 2014-01-14 10:13:30 -05:00
Carsten "Tomcat" Book 6704157153 Merge mozilla-central to fx-team 2014-01-14 16:02:20 +01:00
Heather Arthur 28fd584836 Bug 959003 - Update SourceMap.jsm to include Sass-compatible changes. r=fitzgen 2014-01-14 09:49:08 -05:00
Errietta Kostala e4b00bf18c Bug 948899 - Move inline scripts and styles into separate file for mobile/android/chrome/content/aboutAddons.xhtml. r=mleibovic 2014-01-14 09:49:08 -05:00
Hubert B Manilla 38bba68a56 Bug 913665 - Fix wrong entity. r=fitzgen 2014-01-14 09:49:08 -05:00
Carsten "Tomcat" Book 26e6776aab merge b2g-inbound to mozilla-central 2014-01-14 15:47:29 +01:00
Carsten "Tomcat" Book 270c1710d8 merge fx-team to mozilla-central 2014-01-14 15:45:38 +01:00
Vicamo Yang 718bf73c99 Bug 959503: B2G RIL - move netHelper related code up to RadioInterfaceLayer.js. r=hsinyi 2014-01-14 18:33:28 +08:00
Jon Coppeard 8e8c44704e Bug 956501 - Update mozjemalloc chunk_alloc_mmap functions to latest upstream version r=glandium 2014-01-14 10:06:25 +00:00
Ed Morley 0ddf6a8a1e Merge mozilla-central and fx-team 2014-01-14 10:00:07 +00:00
Ed Morley 7ceb214653 Backed out changeset 5c6a41cf65df (bug 958773) for marionette-webapi test failures 2014-01-14 09:36:43 +00:00
Patrick Brosset 962e253325 Bug 958763 - Prevent the highlighter from stealing the focus on markup-view hover; r=jwalker 2014-01-14 10:11:46 +01:00
Wes Kocher 4825da9457 Merge fx-team to m-c 2014-01-13 20:49:18 -08:00
Gábor Molnár 89de7bf65d Bug 958992 - http2 draft09 test support. r=hurley 2014-01-13 17:16:28 -08:00
Nicholas Hurley 4655a48e04 Bug 958992 - http/2 draft09 support. r=mcmanus 2014-01-13 17:16:26 -08:00
Masayuki Nakano 7b4188b642 Bug 957019 Don't check mouse cursor position at handling non-mouse message in nsWindow::DealWithPopups() r=jimm+enndeakin 2014-01-14 09:13:25 +09:00