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

733618 Коммитов

Автор SHA1 Сообщение Дата
Matt Woodrow af301ad5db Bug 1673983 - Preload d3d11 attachments for CompositorD3D11 if we might use it with software WebRender. r=lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D95980
2020-11-05 19:27:36 +00:00
Matt Woodrow d3116d3c9e Bug 1673983 - Support using D3D11 textures as external compositor surfaces with D3D11 compositor. r=lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D95800
2020-11-05 19:27:23 +00:00
Matt Woodrow 489a752d51 Bug 1673983 - Add RenderTextureHostSWGL support to D3D11 RenderTextureHosts. r=lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D95799
2020-11-05 20:18:13 +00:00
Matt Woodrow 50873a9666 Bug 1673983 - Add D3D11 RenderCompositor for SWGL. r=lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D95797
2020-11-05 19:26:21 +00:00
Nika Layzell 8f1ae314b8 Bug 1673711 - Part 3: Handle LaunchSubprocessResolve on an already-dead content process, r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D95891
2020-11-05 19:28:57 +00:00
Nika Layzell 1eff455532 Bug 1673711 - Part 2: Use CanSend instead of mIPCOpen in ContentParent, r=kmag
mIPCOpen would incorrectly be `true` before the actual IPC channel had been
opened. By instead using the IPC-provided CanSend() method, we can avoid this.

Differential Revision: https://phabricator.services.mozilla.com/D95890
2020-11-05 19:26:19 +00:00
Nika Layzell f5dcbe1c65 Bug 1673711 - Part 1: Don't shutdown processes before launching, r=jesup
Previously, it was possible to accidentally shut down a content process while it
was still launching if the process switch which requested the switch was
cancelled.

Differential Revision: https://phabricator.services.mozilla.com/D95889
2020-11-05 19:25:40 +00:00
Nika Layzell f17e6c21c5 Bug 1657028 - Mark as dead earlier during shutdown, r=kmag
Previously we would call RemoveFromList, without calling MarkAsDead, when
ShutDownProcess was called called from ContentParent::LaunchSubprocessResolve.
This tripped some assertions in BrowsingContextGroup's host code.

Differential Revision: https://phabricator.services.mozilla.com/D95888
2020-11-05 19:29:48 +00:00
Harry Twyford caecbc9874 Bug 1674874 - Record telemetry for results picked in search mode. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D95796
2020-11-05 20:26:00 +00:00
Narcis Beleuzu 3a271628c8 Backed out 4 changesets (bug 1425290, bug 1432604, bug 1665389) for bc failures on browser_bookmarkProperties_addKeywordForThisSearch.js . CLOSED TREE
Backed out changeset 455ff5647429 (bug 1432604)
Backed out changeset cf70da964b70 (bug 1425290)
Backed out changeset e6b38d403cc3 (bug 1425290)
Backed out changeset 09f049232773 (bug 1665389)
2020-11-05 23:01:31 +02:00
Narcis Beleuzu 61b409c94c Backed out 2 changesets (bug 1674160, bug 1003364) for bc failures on browser_bookmarks_toolbar_context_menu_view_options.js
Backed out changeset b4ffebacc1b8 (bug 1674160)
Backed out changeset bfe8bc960f45 (bug 1003364)
2020-11-05 22:55:59 +02:00
Narcis Beleuzu 0723378bf7 Backed out 2 changesets (bug 1674221) for SM bustages on PreXULSkeletonUI.cpp
Backed out changeset 3d9b951db0f4 (bug 1674221)
Backed out changeset 5092fde1ebe1 (bug 1674221)
2020-11-05 22:54:10 +02:00
Doug Thayer bcef1f0132 Bug 1674221 - Make skeleton UI pref visible to windows users r=agashlin
This is not particularly related to the bug, but it's small enough that it
hardly warrants its own bug.

Differential Revision: https://phabricator.services.mozilla.com/D95543
2020-11-05 20:18:18 +00:00
Doug Thayer 21230c3f49 Bug 1674221 - Prefix Skeleton UI reg names with exe path r=agashlin
Differential Revision: https://phabricator.services.mozilla.com/D95541
2020-11-05 20:18:16 +00:00
Andreas Pehrson d1cec151fa Bug 1651745 - Update logging for MediaEngineWebRTCMicrophoneSource et al. r=padenot
This patch adds identifiers to existing log messages in the mic source and
AudioInputProcessing, and adds new log messages for complete tracing of frames.

Differential Revision: https://phabricator.services.mozilla.com/D95940
2020-11-05 16:44:38 +00:00
Andreas Pehrson 7d63a92c30 Bug 1651745 - Don't buffer more than necessary in AudioInputProcessing. r=padenot
When opening a second input track, there will already be some data from its
first instantiation in the driver's scratch buffer. If we ignore this data, we
end up buffering too much in AudioInputProcessing::Pull and tripping an assert.

Differential Revision: https://phabricator.services.mozilla.com/D95939
2020-11-05 16:44:00 +00:00
Andreas Pehrson 124f2d951b Bug 1651745 - Signal AudioInputProcessing on input stream stop instead of driver start. r=padenot
Without this patch, AudioInputProcessing wouldn't be aware of an audio driver
changing to another driver, be it a system driver or an audio driver that starts
on its fallback.

It could fail an assert since neither of those new drivers would append any
input data, so AudioInputProcessing would run out of buffered data but not know
to reset the state doing the bookkeeping for this.

Differential Revision: https://phabricator.services.mozilla.com/D95938
2020-11-05 16:43:24 +00:00
Andreas Pehrson e6ea00c8f4 Bug 1651745 - Use the right thread for AudioInputProcessing::SetPassThrough and constify some ControlMessages. r=padenot
Differential Revision: https://phabricator.services.mozilla.com/D95937
2020-11-05 16:42:41 +00:00
Andreas Pehrson 3d227dbad2 Bug 1651745 - Simplify the same-iteration assertions in AudioInputProcessing. r=padenot
With a dedicated MediaTrack subclass for microphone input we can now coordinate
appending real data and pulling silence in a single place. This makes it easier
to control the amount of buffering needed, and the timing expectations around
pulling silence.

All in all, we can remove most of the state for the assertions, and the complex
logic surrounding them.

Differential Revision: https://phabricator.services.mozilla.com/D95936
2020-11-05 16:59:51 +00:00
Andreas Pehrson c463e4c3e0 Bug 1651745 - Add methods to inspect buffered amount and to clear AudioPacketizer. r=padenot
This patch also constifies members where applicable, and adds a unittest for the
new methods.

Differential Revision: https://phabricator.services.mozilla.com/D95935
2020-11-05 16:42:28 +00:00
Andreas Pehrson b9011f4a8c Bug 1651745 - Use a dedicate ProcessedMediaTrack subclass for feeding microphone capture. r=padenot
This was mainly driven by the need of querying this track for its channel count,
but it also moves us one usage away from SourceMediaTrack, which is a
longer-term goal (because of SourceMediaTrack::mMutex).

Differential Revision: https://phabricator.services.mozilla.com/D95934
2020-11-05 16:42:20 +00:00
Andreas Pehrson b8cbd64557 Bug 1651745 - Change MediaEngineSource::SetTrack to take a MediaTrack base class. r=padenot
This allows us to pass in different sub classes, which the next patch will do.

Differential Revision: https://phabricator.services.mozilla.com/D95933
2020-11-05 16:42:07 +00:00
Andreas Pehrson 3b3ae5f371 Bug 1651745 - Make channel count explicit for every audio MediaTrack. r=padenot
Differential Revision: https://phabricator.services.mozilla.com/D95932
2020-11-05 16:41:45 +00:00
Andreas Pehrson 7b6488e143 Bug 1651745 - Memoize the max channel count in AudioSegment::MaxChannelCount(). r=padenot
When an AudioCallbackDriver starts a fallback SystemClockDriver is running in
its stead. The AudioTrack getting fed data from the input stream of the driver
will get real data while the AudioCallbackDriver is running, and silence while
the fallback driver is running.

If the MediaStreamTrack representing the microphone source is part of a
MediaStream being played by an HTMLMediaElement; and another MediaStreamTrack
representing another source with a lower channel count than the microphone is
part of another MediaStream being played by another HTMLMediaElement; then:
1. We start the graph with the other source's output channel count, and a
   fallback driver.
2. Once the audio driver has started, it adds data at a higher channel count
   than the graph's to its MediaTrack. The driver switches audio driver to
   match the new channel count.
3. The new driver starts with a fallback driver, which adds silence to the
   track. Silence has no channel count, so the graph sees only the channel
   count of the other source and switches audio driver to match this.
4. Go to 1.

This patch fixes makes us memoize a previously returned max channel count for an
AudioSegment for use when there is only null data (e.g., silence) present in the
segment. This applies to step 3 above, where no audio driver would be switched
because the graph still sees the mic's channel count.

Differential Revision: https://phabricator.services.mozilla.com/D95931
2020-11-05 15:34:04 +00:00
Tooru Fujisawa 1df9ab6741 Bug 1674351 - Part 6: Merge XDRParserAtomTable into ParserAtomVectorBuilder. r=tcampbell
XDRParserAtomTable and ParserAtomVector has the same content.
Removed XDRParserAtomTable and rewrote consumers to use ParserAtomVector.

Differential Revision: https://phabricator.services.mozilla.com/D95844
2020-11-05 15:56:05 +00:00
Tooru Fujisawa 249249f800 Bug 1674351 - Part 5: Add ParserAtomVectorBuilder. r=tcampbell
ParserAtomVectorBuilder is simplified version of ParserAtomsTable for XDR.
This doesn't perform deduplication, and just builds vector.

Differential Revision: https://phabricator.services.mozilla.com/D95843
2020-11-05 15:55:57 +00:00
Tooru Fujisawa 0961b40ce1 Bug 1674351 - Part 4: Move ParserAtomVector out of ParserAtomsTable. r=tcampbell
Now ParserAtomsTable is part of CompilationState, or stack variable inside XDRStencilDecoder.
It's always created after CompilationInfo is stored into Rooted, and now
we don't have to worry about LifoAlloc pointer in move constructor.

Differential Revision: https://phabricator.services.mozilla.com/D95842
2020-11-05 15:32:44 +00:00
Tooru Fujisawa 84a215857f Bug 1674351 - Part 3: Use CompilationState.parserAtoms in parser and emitter. r=tcampbell
Differential Revision: https://phabricator.services.mozilla.com/D95841
2020-11-05 15:35:24 +00:00
Tooru Fujisawa c0ddc0b0f8 Bug 1674351 - Part 2: Add CompilationState.parserAtoms field as a preparation. r=tcampbell
Later patch will move ParserAtomsTable field from CompilationStencil to CompilationState.
To simplify the change, add a reference for the CompilationStencil.parserAtoms in CompilationState.
The next patch will rewrite consumers to use the reference field.

Differential Revision: https://phabricator.services.mozilla.com/D95840
2020-11-05 14:29:01 +00:00
Tooru Fujisawa 5bd2c1b9ba Bug 1674351 - Part 1: Split HashSet of ParserAtomEntry into Vector and HashMap. r=tcampbell
As a preparation to remove set from stencil, separate the deduplication part
and storage part of ParserAtomsTable.

The later patch will move HashMap out of stencil.

Differential Revision: https://phabricator.services.mozilla.com/D95839
2020-11-05 14:28:06 +00:00
Glenn Watson 007ecb6d4f Bug 1675159 - Pt 2 - Expose dirty rects to start_compositing. r=sotaro
Move the calculation of the dirty rects array earlier in frame
drawing, and supply that to the `start_compositing` method of
the compositor trait.

For now, it's assumed that the native compositor wants a single
dirty rect, and doesn't use buffer-age functionality. These
params will be configurable as part of the compositor capabilities
struct in follow up patches.

Differential Revision: https://phabricator.services.mozilla.com/D95828
2020-11-05 20:01:36 +00:00
David Teller a5e3c68e40 Bug 1674533 - about:processes should use 'm' everywhere for minutes;r=florian
Differential Revision: https://phabricator.services.mozilla.com/D95432
2020-11-05 19:39:06 +00:00
Gijs Kruitbosch b3a0da4cd9 Bug 1432604 - use the last-used folder for new bookmarks, r=mak
Differential Revision: https://phabricator.services.mozilla.com/D94880
2020-11-04 23:43:05 +00:00
Gijs Kruitbosch bacc1af05c Bug 1425290 - also default bookmark properties (for keyword search bookmarks and multiple tab bookmarks) to the new default parent, r=mak
Differential Revision: https://phabricator.services.mozilla.com/D95231
2020-11-05 18:56:06 +00:00
Gijs Kruitbosch cf659a25dc Bug 1425290 - use the new default bookmark location pref for 'bookmark this link' and 'bookmark this frame', r=mak
Differential Revision: https://phabricator.services.mozilla.com/D94879
2020-11-04 23:24:35 +00:00
Gijs Kruitbosch 59ae1791ae Bug 1665389 - create bookmarks on the toolbar by default, r=mak,jaws
This adds a pref containing a parent GUID, a lazy pref getter that validates
that GUID (asynchronously), and starts using the pref from the
PlacesCommandHook.

It also sets the future default (toolbar) into firefox.js, and overrides
that on the default branch when the new 2020 bookmarks pref is not set.

Finally, it sets the pref to the unfiled default for existing profiles
with a migration. If we end up delaying shipping, we'll need to
update that migration - but I don't see a way around that.

Differential Revision: https://phabricator.services.mozilla.com/D94500
2020-11-04 23:24:27 +00:00
emcminn 34f6104c95 Bug 1673733 - Fixes and improvements to WNPanel devtools, plus tests r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D95081
2020-11-05 19:24:03 +00:00
Jared Wein dc7748c714 Bug 1674160 - Don't show the bookmarks toolbar if there are no visible toolbarbuttons or toolbaritems. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D95539
2020-11-05 19:10:29 +00:00
Jared Wein d3a8c969bc Bug 1003364 - Add Bookmarks Toolbar view options to the context menu of the Bookmarks Toolbar. r=mak,Gijs
This patch doesn't show the view options when right-clicking on folders or bookmarks within the toolbar, and also doesn't include an item to enter Customize mode to keep the menu from growing too large.

Differential Revision: https://phabricator.services.mozilla.com/D95798
2020-11-05 19:09:18 +00:00
Aaron Klotz 0a1730e26a Bug 1675118: Add a variant of mscom::AsyncInvoker that supports posting completion runnables; r=Jamie
I need this for some changes I want to make to Win32 file pickers.

* We add an event-driven variant to `mscom::AsyncInvoker`. When the async call
  invokes `ISynchronize::Signal`, we post an event to the specified event
  target (or implicitly to the main thread).
* For this to work, the async call needs to temporarily retain a reference to
  itself, otherwise the async call object is destroyed and the in-flight call
  is cancelled. This reference is stored in an "outer runnable" which is
  responsible for executing the inner completion runnable, and then dropping
  the self-reference.
* We only run the completion runnable upon *successful* initiation of the async
  call. If there was a failure, we return that code immediately to the caller.
  Failures also clear the reference to the completion runnable.
* If we could not obtain an async interface and must run synchronously, then
  we run the completion runnable immediately after a successful synchronous
  invocation.

Differential Revision: https://phabricator.services.mozilla.com/D95808
2020-11-05 18:59:12 +00:00
Dão Gottwald 439a4c104d Bug 1673429 - Fix drag & drop of and around sponsored tiles. r=mikedeboer
Differential Revision: https://phabricator.services.mozilla.com/D95863
2020-11-05 18:01:48 +00:00
Marco Bonardo a2f405c9b9 Bug 1675537 - Switch browser.urlbar.update2.emptySearchBehavior to 0. r=harry
Differential Revision: https://phabricator.services.mozilla.com/D96063
2020-11-05 17:06:08 +00:00
Tom Ritter 5ab182e7e6 Bug 1674182 - Support a regex filter for./mach try auto r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D95186
2020-11-05 17:53:31 +00:00
Steve Fink a2b57f49ae Bug 1674714 - Be sure to choose a nonzero exit status, if any r=nbp
Differential Revision: https://phabricator.services.mozilla.com/D95550
2020-11-04 18:24:13 +00:00
Nicolas B. Pierron d6ea98b00b Bug 1674714 - jsapi-tests: Use the simulator to execute JIT-ed functions when needed. r=jandem
- Add the ability to call generated function with no arguments.
- Add infered signature of js::wasm::PrintF32 to all Simulators.
- Correctly return using the link register, and save it on platform where this
  is needed

Differential Revision: https://phabricator.services.mozilla.com/D95567
2020-11-05 17:15:43 +00:00
Tarek Ziadé 83a9dd6f9f Bug 1667151 - add support for pre-compiled scipy/numpy r=sparky
This patch will make sure that we select the right
wheels for numpy and scipy when `--visualmetrics` is used,
so we don't need to compile them.

It also make sure we don't install all those packages
unless the environment wants to use visual metrics.

Differential Revision: https://phabricator.services.mozilla.com/D91740
2020-11-05 17:16:34 +00:00
Harry Twyford 6f560081d3 Bug 1674493 - Record number of tab-to-search onboarding impressions. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D95547
2020-11-05 11:28:47 +00:00
Bogdan Tara 17e7c54035 Backed out 2 changesets (bug 1673387) for wrench/reftests/ failures CLOSED TREE DONTBUILD
Backed out changeset a755e87bf875 (bug 1673387)
Backed out changeset e4cf743d6916 (bug 1673387)
2020-11-05 20:00:08 +02:00
Niklas Baumgardner ce9cac5aae Bug 1578985 - Saving the last location and size of Picture in Picture window and opening there the next time. r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D90813
2020-11-05 17:24:57 +00:00
Nicolas Silva a5d95630e1 Bug 1673387 - Adjust reftest references. r=jnicol
Changing the size or number of layers of textures unfortunately usually leads to small sampling differences which requires fixing in the refetest references.

Differential Revision: https://phabricator.services.mozilla.com/D95680
2020-11-05 16:32:22 +00:00