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

697768 Коммитов

Автор SHA1 Сообщение Дата
Gerald Squelart df0599ee6d Bug 1623228 - ProfileBufferChunk - r=canaltinova
A `ProfileBufferChunk` represents a single chunk of memory, with an optional
link to the next chunk.

In the new Fission-compatible profiler storage, chunks will be allocated by a
chunk manager, filled with data by the profiler, and then released back to the
chunk manager.
The chunk manager may decide to destroy or recycle old chunks based on memory
limits (per process, or for the entire Firefox app).

Differential Revision: https://phabricator.services.mozilla.com/D67272

--HG--
extra : moz-landing-system : lando
2020-03-23 18:16:08 +00:00
David Walsh b6cedf9fcf Bug 1624346 - Use destructuring when possible r=jlast
Differential Revision: https://phabricator.services.mozilla.com/D67778

--HG--
extra : moz-landing-system : lando
2020-03-23 18:09:57 +00:00
Glenn Watson 18890f8aab Bug 1623791 - Remove segment gridding optimization. r=nical
This is no longer as important, with picture caching. Removing it
will simplify the planned changes to switch to a simpler segment
model based on nine-patch rectangles during scene building.

Differential Revision: https://phabricator.services.mozilla.com/D67792

--HG--
extra : moz-landing-system : lando
2020-03-23 14:58:57 +00:00
Molly Howell 1512c74608 Bug 1624388 - Properly expose default browser agent build flag to installer. r=bytesized,agashlin
Also fix two other installer problems that were getting missed because of this:
one build error in PostUpdate and one use of an uninitialized value in the
installer, causing it to record that it had not registered the task when it had.

Differential Revision: https://phabricator.services.mozilla.com/D67915

--HG--
extra : moz-landing-system : lando
2020-03-23 20:21:36 +00:00
Yura Zenevich de935f1fc6 Bug 1477936 - fixing document node highlighting in accessibility panel. r=mtigley
Differential Revision: https://phabricator.services.mozilla.com/D66616

--HG--
extra : moz-landing-system : lando
2020-03-23 19:51:59 +00:00
Sylvestre Ledru 94abcf9c31 Bug 1624038 - mozlint/shell test - Fix a regression in the lint r=linter-reviewers,ahal
Differential Revision: https://phabricator.services.mozilla.com/D67704

--HG--
extra : moz-landing-system : lando
2020-03-23 19:15:15 +00:00
Harry Twyford cdcff8e030 Bug 1046074 - Improve post-filtering of dupes in UnifiedComplete. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D66674

--HG--
extra : moz-landing-system : lando
2020-03-23 19:18:41 +00:00
Iain Ireland 3a941d2bba Bug 1361856: Use SM RegExpFlags inside irregexp r=jwalden
Differential Revision: https://phabricator.services.mozilla.com/D66845

--HG--
extra : moz-landing-system : lando
2020-03-21 14:21:04 +00:00
Iain Ireland 96d7636dcb Bug 1361856: Add dotAll to RegExpFlags r=jwalden
This patch adds the boilerplate necessary to support a new regexp flag. Externally visible changes (parsing the flag, the dotAll property on the prototype) are guarded behind ENABLE_NEW_REGEXP. Note: RegExpFlagsGetter turns out to be externally visible because it can be called on a non-regexp object with the dotAll property defined.

The actual implementation of dotAll comes for free with the fresh import of irregexp (bug 1367105).

There are two tests (tests/non262/RegExp/prototype.js and tests/non262/RegExp/flags.js) that need to be updated when this is turned on to add s/dotAll to the list of expected properties on the RegExp prototype. I will attach those changes to my patch that flips ENABLE_NEW_REGEXP to be on by default.

Differential Revision: https://phabricator.services.mozilla.com/D66844

--HG--
extra : moz-landing-system : lando
2020-03-21 14:21:04 +00:00
Andreea Pavel 3550cada92 Backed out changeset 3b7ccffc0546 (bug 1598924) for permafailing bug 1621759 on a CLOSED TREE 2020-03-23 21:37:55 +02:00
Razvan Maries ec49a68223 Backed out changeset 604ae25cad30 (bug 1046074) for Lint failure on test_swap_protocol.js. CLOSED TREE 2020-03-23 21:09:35 +02:00
Razvan Maries 3389ad3b1f Backed out 2 changesets (bug 1618000) for wrench bustages. CLOSED TREE
Backed out changeset c72b18b22267 (bug 1618000)
Backed out changeset 9bc71e7b317b (bug 1618000)
2020-03-23 21:00:24 +02:00
Harry Twyford 7390b3dca3 Bug 1046074 - Improve post-filtering of dupes in UnifiedComplete. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D66674

--HG--
extra : moz-landing-system : lando
2020-03-23 18:50:47 +00:00
Dragana Damjanovic f5a03c008e Bug 1623755 - Fix http version parsing. r=mayhemer
Differential Revision: https://phabricator.services.mozilla.com/D67549

--HG--
extra : moz-landing-system : lando
2020-03-23 18:38:45 +00:00
Dzmitry Malyshau dcf75e7f03 Bug 1622261 - Refactor the ID recycling to always cycle through the GPU process
Previously, we kept the object IDs managed on content side only.
The GPU side would work with given indices.
When an object is destroyed, we'd free the ID on the content side and signal the GPU to delete the object.
Problem is that on the GPU process the object may still be kept alive for as long as any dependants are alive.

What this change is doing - hooking up the callbacks to the *actual* freeing of IDs on the GPU side.
These callbacks end up in messages from WebGPUParent to WebGPUChild, and only then the IDs are freed
on the content side and able to be reused.

Differential Revision: https://phabricator.services.mozilla.com/D67211

--HG--
extra : moz-landing-system : lando
2020-03-23 07:54:08 +00:00
cbrewster 34e8ddc337 Bug 1618000: Part 2: Clamp blur radius based on scale factors r=gfx-reviewers,nical
Differential Revision: https://phabricator.services.mozilla.com/D65805

--HG--
extra : moz-landing-system : lando
2020-03-23 18:22:32 +00:00
cbrewster 0c74db8b9e Bug 1618000: Part 1: Remove blur radius clamping on Gecko-side for WR blur filters r=gfx-reviewers,nical
Clamping of the blur radius depends on transform scale factors. This info is not available until later in the WebRender pipeline, so we need to delegate blur radius clamping to WebRender.

Differential Revision: https://phabricator.services.mozilla.com/D65804

--HG--
extra : moz-landing-system : lando
2020-03-23 17:36:26 +00:00
Andrea Marchesini afcfb5927f Bug 1623867 - Get rid of expired cookies telemetry IDs, r=chutten
Differential Revision: https://phabricator.services.mozilla.com/D67610

--HG--
extra : moz-landing-system : lando
2020-03-23 17:39:31 +00:00
Ting-Yu Lin 03638f9dbc Bug 1623225 Part 6 - Construct FlexItem directly at the end of FlexLine::Items(). r=dholbert
To avoid extra copy operations, we directly construct new FlexItem at
the end of current FlexLine, and we move the item to the next line if
the previous line needs to wrap.

Differential Revision: https://phabricator.services.mozilla.com/D67266

--HG--
extra : moz-landing-system : lando
2020-03-23 17:48:02 +00:00
Ting-Yu Lin 296c9b2ecb Bug 1623225 Part 5 - Reverse FlexLines and FlexItems if the axes are reversed internally. r=dholbert
Rather than inserting FlexLines and FlexItems at the front of the array,
which is inefficient, we reverse them after they are fully constructed.

nsTArray::Reverse() (or std::reverse()) is implemented by std::swap.In
order for FlexItem to be swappable, it needs to have an assignment
operator, which needs to be able to modify FlexItem's member variables.
To achieve this, we must drop the const qualifiers for the member
variables. And conveniently, this results in a compiler-generated
assignment operator which will do the right thing.

Differential Revision: https://phabricator.services.mozilla.com/D67587

--HG--
extra : moz-landing-system : lando
2020-03-23 18:06:51 +00:00
Ting-Yu Lin d72173b686 Bug 1623225 Part 4 - Store FlexLines in nsTArrays instead of LinkedLists. r=dholbert
Differential Revision: https://phabricator.services.mozilla.com/D67265

--HG--
extra : moz-landing-system : lando
2020-03-23 07:24:43 +00:00
Ting-Yu Lin 452861f58d Bug 1623225 Part 3 - Store FlexItems in nsTArrays instead of LinkedLists. r=dholbert
Notable changes in this part.

* FirstItem() and LastItem() now returns a reference to the FlexItem (if
such an item exists). The caller is required to ensure the FlexLine is
non-empty before calling the two methods.

* Deploy range-based for-loop to iterate all FlexItem in a FlexLine via
a new Items() method.

* The bookkeeping mNumItems is no longer needed as nsTArray::Length() is
sufficient.

* Use "." instead "->" because we now store FlexItem in an nsTArray.

Differential Revision: https://phabricator.services.mozilla.com/D67264

--HG--
extra : moz-landing-system : lando
2020-03-23 07:24:38 +00:00
Ting-Yu Lin 577f8e7436 Bug 1623225 Part 2 - Convert AxisTrackerFlags to an enum class. r=dholbert
Differential Revision: https://phabricator.services.mozilla.com/D67263

--HG--
extra : moz-landing-system : lando
2020-03-23 07:24:31 +00:00
Ting-Yu Lin 295f74764d Bug 1623225 Part 1 - Use nsFlexLine::NumItems() to replace all the read-only direct usages of mNumItems. r=dholbert
In a later part, we are going to change nsFlexLine::mItems to store in
nsTArray and remove mNumItems.

Differential Revision: https://phabricator.services.mozilla.com/D67262

--HG--
extra : moz-landing-system : lando
2020-03-23 07:24:28 +00:00
Florin Strugariu c8632a76ef Bug 1533879 - Turn off telemetry on geckoview during Raptor tests r=whimboo,perftest-reviewers,sparky
Differential Revision: https://phabricator.services.mozilla.com/D66943

--HG--
extra : moz-landing-system : lando
2020-03-23 18:01:04 +00:00
Gijs Kruitbosch 457afaaba0 Bug 1598924 - make remote settings handle shutdown gracefully, r=leplatrem,asuth
By and large, this change accomplishes two things:
1. Run db.close() in finally clauses so that even if db access fails, we close
   our connections. It also tries to avoid waiting on other, non-DB operations
   before calling close, to avoid the DB connection needlessly hanging around.
2. Intercept all async database operations from the remote settings client to
   kinto and ensuring they complete before the end of `profile-before-change`.
   Any operations started after Services.startup.isShuttingDown (so after
   quit/restart is initiated by the user) will throw. Operations started
   beforehand are put in a set of operations, and remove themselves once
   complete. We AsyncShutdown block on that set of operations completing.

Differential Revision: https://phabricator.services.mozilla.com/D66995

--HG--
extra : moz-landing-system : lando
2020-03-23 16:35:08 +00:00
Alex Henrie 0c84c81f97 Bug 812837 - Define the folded case of Turkish variants of "I" to be simply "i". r=jfkthame
Differential Revision: https://phabricator.services.mozilla.com/D67092

--HG--
extra : moz-landing-system : lando
2020-03-23 16:57:08 +00:00
Nicolas Silva 2876ae4b84 Bug 1616901 - Yet more reftest adjustments. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D67899

--HG--
extra : moz-landing-system : lando
2020-03-23 17:36:41 +00:00
Nicolas Silva ed5866c9ca Bug 1616901 - More reftest adjustments. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D67895

--HG--
extra : moz-landing-system : lando
2020-03-23 17:36:41 +00:00
Jason Laster 31e959e755 Bug 1621585 - Fix call stack layout and styling issues for the dark theme. r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D67064

--HG--
extra : moz-landing-system : lando
2020-03-23 08:28:49 +00:00
Jason Laster af1d0603ca Bug 1624000 - Convert debugger panel to a class. r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D67692

--HG--
extra : moz-landing-system : lando
2020-03-23 07:58:46 +00:00
Ryan Hunt 61e9d52aed Bug 1612534 - Manually fix 'debug/' jit-tests. r=lth
Differential Revision: https://phabricator.services.mozilla.com/D67261

--HG--
extra : moz-landing-system : lando
2020-03-23 16:37:38 +00:00
Ryan Hunt a1e3acba98 Bug 1612534 - Manually fix 'asm.js/' jit-tests. r=lth
Differential Revision: https://phabricator.services.mozilla.com/D67260

--HG--
extra : moz-landing-system : lando
2020-03-23 16:36:01 +00:00
Ryan Hunt 9bc70acbc5 Bug 1612534 - Manually fix 'wasm/regress/' jit-tests. r=lth
This commit includes all the changes needed to get 'wasm/regress/' passing
jit-tests.

Differential Revision: https://phabricator.services.mozilla.com/D67259

--HG--
extra : moz-landing-system : lando
2020-03-23 16:35:23 +00:00
Ryan Hunt 985d0ebe99 Bug 1612534 - Manually fix 'wasm/gc/' jit-tests. r=lth
This commit includes all the changes necessary to get 'wasm/gc' jit-tests
passing.

Differential Revision: https://phabricator.services.mozilla.com/D67257

--HG--
extra : moz-landing-system : lando
2020-03-23 16:34:51 +00:00
Ryan Hunt 7bb6ff46c5 Bug 1612534 - Manually fix 'wasm/bigint/' jit-tests. r=lth
This commit includes all the manual changes needed to get 'wasm/bigint'
jit-tests passing.

Differential Revision: https://phabricator.services.mozilla.com/D67256

--HG--
extra : moz-landing-system : lando
2020-03-23 16:32:04 +00:00
Ryan Hunt e50c835e32 Bug 1612534 - Manually fix wasm/ jit-tests. r=lth
This commit includes all the manual changes needed to get 'wasm/' jit-tests
passing.

Differential Revision: https://phabricator.services.mozilla.com/D67255

--HG--
extra : moz-landing-system : lando
2020-03-23 16:31:21 +00:00
Ryan Hunt 0133f62c5a Bug 1612534 - Switch to (result) type parameter for block's with labels. r=lth
This commit uses a regex to automatically switch
  (block $label valtype ...
with
  (block $label (result valtype ...

This should have been combined with the earlier 'block' commit, but was not
realised until too late.

Differential Revision: https://phabricator.services.mozilla.com/D67254

--HG--
extra : moz-landing-system : lando
2020-03-23 16:28:30 +00:00
Ryan Hunt dc359f539e Bug 1612534 - Switch to (result) type parameter for loop. r=lth
This commit uses a regex to automatically switch
  (loop valtype ...
with
  (loop (result valtype ...

Differential Revision: https://phabricator.services.mozilla.com/D67253

--HG--
extra : moz-landing-system : lando
2020-03-23 16:28:17 +00:00
Ryan Hunt 612b7d6099 Bug 1612534 - Switch (export table). r=lth
This commit uses a regex to automatically switch the export syntax for table.

Differential Revision: https://phabricator.services.mozilla.com/D67252

--HG--
extra : moz-landing-system : lando
2020-03-23 16:28:14 +00:00
Ryan Hunt fa3be1fcf3 Bug 1612534 - Switch (export memory). r=lth
This commit uses a regex to automatically switch the export syntax
for memory.

Differential Revision: https://phabricator.services.mozilla.com/D67251

--HG--
extra : moz-landing-system : lando
2020-03-23 16:26:01 +00:00
Ryan Hunt 906dd95923 Bug 1612534 - Switch to explicit (export (func)). r=lth
This commit uses a regex to automatically change exports of indices
to specify that they are exporting functions.

Differential Revision: https://phabricator.services.mozilla.com/D67250

--HG--
extra : moz-landing-system : lando
2020-03-23 16:25:17 +00:00
Ryan Hunt 95ae8d3344 Bug 1612534 - Switch call_indirect to (type). r=lth
This commit uses a regex to automatically switch call_indirect type signature
immediates to use an explicit '(type $id)' wrapper.

This has a negative interaction with the gc/ tests which use an identifier
immediately after call_indirect to specify the table and not the signature. A
later commit fixes this.

Differential Revision: https://phabricator.services.mozilla.com/D67249

--HG--
extra : moz-landing-system : lando
2020-03-23 16:21:47 +00:00
Ryan Hunt 38c9437795 Bug 1612534 - Switch to (result) type parameter for if. r=lth
This commit uses a regex to automatically replace uses of
  if valtype
with
  if (result valtype)

Differential Revision: https://phabricator.services.mozilla.com/D67248

--HG--
extra : moz-landing-system : lando
2020-03-23 16:19:07 +00:00
Ryan Hunt 090d0ade91 Bug 1612534 - Switch to (result) type parameter for block. r=lth
This commit uses a regex to automatically replace uses of
  block valtype
with
  block (result valtype)

Differential Revision: https://phabricator.services.mozilla.com/D67247

--HG--
extra : moz-landing-system : lando
2020-03-23 16:17:58 +00:00
Ryan Hunt b60da2612e Bug 1612534 - Include vendored files. r=lth
Differential Revision: https://phabricator.services.mozilla.com/D67246

--HG--
extra : moz-landing-system : lando
2020-03-23 16:16:46 +00:00
Ryan Hunt 5e0c6d3046 Bug 1612534 - Use 'wat' crate for wasmTextToBinary. r=lth
This commit removes the old WasmTextToBinary implementation and replaces
it with a stub that calls into the rust wat implementation.

The old wasmTextToBinary function took an optional boolean parameter to
indicate that additional metadata was desired. This extra metadata was
a list of offsets of instructions in the code section. I'm not sure if
this was intentional or not, but it looks like it only includes root
expressions of nested s-exprs.

These offsets were used in two tests, debug/wasm-breakpoints.js and a
wasm/regress test. Adding this functionality into 'wat' proved to be a large
change for a function that didn't seem to have much use cases. A new
wasmCodeOffsets function was added to replicate this feature. It's implemented
in rust using the 'wasmparser' crate that cranelift uses. When cranelift is
compiled, this shouldn't result in an increased binary size. If the compile
time or binary size proves to be an issue in non-cranelift builds, I think
we can make this a conditional feature for JS-shells only.

Differential Revision: https://phabricator.services.mozilla.com/D67245

--HG--
extra : moz-landing-system : lando
2020-03-23 16:35:51 +00:00
Magnus Melin ed65822beb Bug 1621633 - make ./mach fluent-migration-test work for other apps too, like Thunderbird. r=Pike
Differential Revision: https://phabricator.services.mozilla.com/D66909

--HG--
extra : moz-landing-system : lando
2020-03-20 16:49:42 +00:00
Anthony Ramine b3cefc98c5 Bug 1624190 - Try importing from collections.abc first; r=rstewart
Differential Revision: https://phabricator.services.mozilla.com/D67773

--HG--
extra : moz-landing-system : lando
2020-03-23 16:33:07 +00:00
Julien Cristau 4e7d5426f7 Bug 1622302 - kick off automated beta builds at 02:00 UTC instead of 04:00. DONTBUILD r=jlorenzo
Differential Revision: https://phabricator.services.mozilla.com/D66789

--HG--
extra : moz-landing-system : lando
2020-03-23 16:17:09 +00:00