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

733683 Коммитов

Автор SHA1 Сообщение Дата
Narcis Beleuzu d2c8150d6f Backed out changeset 8b153da7c0d0 (bug 1674241) for Lint failure on DiscoveryStreamFeed.jsm 2020-11-06 00:08:00 +02:00
Chris H-C c96dbaf582 Bug 1673664 - Implement C++ and JS FOG APIs for UUID r=janerik,brizental
Differential Revision: https://phabricator.services.mozilla.com/D95590
2020-11-05 14:19:21 +00:00
Emilio Cobos Alvarez f48f3d8fe3 Bug 1675323 - Apply scrollbar-width to the content select scrollbox. r=mconley
(Instead of applying it directly to the menulist).

Since it's not inherited, we need to get the right value over to the scrollbox.
For that, export it from the arrowscrollbox, with the same name as the places
menupopup uses for the same purpose.

Differential Revision: https://phabricator.services.mozilla.com/D95887
2020-11-05 21:11:54 +00:00
Johann Hofmann 330170b6aa Bug 1675596 - Enable cookie purging by default in Release. r=englehardt
Differential Revision: https://phabricator.services.mozilla.com/D96096
2020-11-05 21:16:47 +00:00
Andrew Halberstadt 331bc892dd Bug 1675319 - [manifestparser] Properly support multiline skip-if statements, r=jmaher,extension-reviewers,zombie
This supports one manifestparser expression per line in the 'skip-if',
'fail-if' and 'run-if' keys. As a side effect the:

    skip-if = foo ||
        bar

syntax is no longer supported. Instead it can be:

    skip-if =
        foo  # bug 123
        bar  # bug 456

Differential Revision: https://phabricator.services.mozilla.com/D95927
2020-11-05 19:55:08 +00:00
Gavin Lazar Suntop f1c2e8e669 Bug 1674241 - Update popular topics r=thecount
Differential Revision: https://phabricator.services.mozilla.com/D96095
2020-11-05 20:56:27 +00:00
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
Nick Alexander f6dcf71170 Bug 1675338 - Allow arbitrary `--app` binaries to `mach run`. r=firefox-build-system-reviewers,mhentges
This is simply a convenient way to pass developer-focused options to a
Firefox binary.

Differential Revision: https://phabricator.services.mozilla.com/D95898
2020-11-04 19:41:33 +00:00