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

666645 Коммитов

Автор SHA1 Сообщение Дата
Masayuki Nakano 3e52c98a82 Bug 1574852 - part 3: Get rid of `HTMLEditRules::InitFields()` r=m_kato
It's called immediately before setting `mHTMLEditor` and sets `mHTMLEditor` to
`nullptr`.  So, it does nothing actually.  We can get rid of it.

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

--HG--
extra : moz-landing-system : lando
2019-08-21 07:14:09 +00:00
Masayuki Nakano d22d8c911e Bug 1574852 - part 2: Replace `HTMLEditRules::IsInlineNode()` with `HTMLEditor::NodeIsInlineStatic()` r=m_kato
`HTMLEditRules::IsInlineNode()` is a wrapper of
`HTMLEditor::NodeIsInlineStatic()`, but returns opposite value.

This patch moves it into `HTMLEditor` and names it with same rule as
`NodeIsBlockStatic()`.

Note that this method may return true if given node is unexpected node type.
E.g., comment node, CDATA node, etc.  However, it's not scope of this bug.

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

--HG--
extra : moz-landing-system : lando
2019-08-21 07:13:41 +00:00
Masayuki Nakano 24e7c7235d Bug 1574852 - part 1: Get rid of `HTMLEditRules::IsBlockNode()` r=m_kato
`HTMLEditRules::IsBlockNode()` just wraps `HTMLEditor::NodeIsBlockStatic()`
and all its users will be moved into `HTMLEditor`.  Therefore, we should
unwrap it.

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

--HG--
extra : moz-landing-system : lando
2019-08-21 06:21:05 +00:00
Alastor Wu 2e47becfef Bug 1571908 - part6 : add debug logs. r=heycam
Add debug logs to show which mode we're using to adjust cue's position.

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

--HG--
extra : moz-landing-system : lando
2019-08-21 07:10:27 +00:00
Alastor Wu 5eb414efca Bug 1571908 - part5 : add wpt 'snap-to-line.html'. r=heycam
Add wpt `snap-to-line.html` to ensure that the cue with `snap-to-line=false` can be placed in correct place.

Setting `line` as percentage will make cue's `snap-to-line` to `false` automatically [1], and we also set `position` and `align` to test if we can handle all these attributes well when  `snap-to-line` is false.

[1] https://www.w3.org/TR/webvtt1/#ref-for-webvtt-cue-snap-to-lines-flag-9

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

--HG--
extra : moz-landing-system : lando
2019-08-21 07:10:27 +00:00
Alastor Wu b43ac32ce9 Bug 1571908 - part4 : remove redudant function. r=heycam
We have already had a exactly same function, so can remove a redundant one.

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

--HG--
extra : moz-landing-system : lando
2019-08-21 07:10:26 +00:00
Alastor Wu 139cf6cc13 Bug 1571908 - part3 : optimize the result of adjusting position for cues with 'snapToLines=false'. r=heycam
When adjusting cues with `snapToLines=false`, first we would generate an array with all different axises which we would use to move cue on the specific direction.

However, for the different writing directions, we should have different priority for the moving directions.
For example, if the wriring direction is `horizontal`, which means cues will grow from the top to the bottom, then moving cues along the `y` axis should be more important than moving cues along the `x` axis, and vice versa for those cues growing from the left to right, or from the right to the left.

After decided the moving direction, then we have to decide the moving offset. Now we use line box's Bsize as a basic moving unit.

Moving cues, however, by such as large distance as a time would cause too many redudant space between cue boxes, which doesn't provide a good enough visual arrangement result. Therefore, we divide the Bsize by a factor, which can control the granularity of the moving unit and can still preverse a reasonable space between boxes. That can provide way better visual result than the one we had used before, and still has certain good performance comparing with moving 1px at a time.

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

--HG--
extra : moz-landing-system : lando
2019-08-21 07:10:26 +00:00
Alastor Wu f5fee479ba Bug 1571908 - part2 : return null if we can't place the cue box inside the video rendering area. r=heycam
When adjusting the position of the cue box, if we can't find a proper place to display the cue within the video rendering area, we should return `null` and not to show it on the screen.

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

--HG--
extra : moz-landing-system : lando
2019-08-21 07:10:25 +00:00
Alastor Wu 80cb50a3a9 Bug 1571908 - part1 : use correct width and height to compute position percentage. r=heycam
When calculating position percentage, `top` should divide the height of the video rendering area, and `left` should divide the width of the video rendering area.

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

--HG--
extra : moz-landing-system : lando
2019-08-21 07:10:31 +00:00
Julian Descottes 9566e4dc8a Bug 1559268 - Prevent service worker shutdown while debugging in parent-intercept mode r=ochameau,perry
Depends on D32492

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

--HG--
extra : moz-landing-system : lando
2019-08-20 05:29:34 +00:00
Kagami Sascha Rosylight 341ce1c24c Bug 1572155 - Make validationURL use baseURI r=marcosc
Differential Revision: https://phabricator.services.mozilla.com/D41047

--HG--
extra : moz-landing-system : lando
2019-08-20 03:45:58 +00:00
Cameron Kaiser efe5f0901c Bug 1571613 - basic support for Power ISA SIMD detection (v2). r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D42592

--HG--
extra : moz-landing-system : lando
2019-08-21 03:36:55 +00:00
Arun Kumar Mohan b4dfe687ff Bug 1554924 - Simplify Mocha test setup to remove disabled eslint complexity. r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D41458

--HG--
extra : moz-landing-system : lando
2019-08-21 05:42:12 +00:00
Mike Hommey d097494bcc Bug 1575135 - Make configure complain on non-unicode strings. r=nalexander
Make it a hard error when the sandbox returns non-unicode strings.
This should help quickly catch any remaining non-unicode string that
are not caught by automation.

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

--HG--
extra : moz-landing-system : lando
2019-08-20 21:31:34 +00:00
Mike Hommey e0be5605ec Bug 1575135 - Return an unicode path for nodejs. r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D42606

--HG--
extra : moz-landing-system : lando
2019-08-20 21:24:35 +00:00
Mike Hommey 00256d3837 Bug 1575135 - Make configure sandbox open() look more like python 3's. r=nalexander
As a consequence, we can replace the encoded_open function that did the
same in an opt-in manner.

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

--HG--
extra : moz-landing-system : lando
2019-08-21 04:44:43 +00:00
Mike Hommey 16c5b7db29 Bug 1575135 - Change get_cmd_output to emit unicode strings. r=nalexander
Because most calling places in python configure don't actually want to
deal with encodings, although in practical terms they should, make
get_cmd_output handle it itself.

Places that explicitly do want bytes can keep using subprocess directly.

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

--HG--
extra : moz-landing-system : lando
2019-08-20 16:43:15 +00:00
Mike Hommey cce0006157 Bug 1575135 - Use functions from util.configure instead of subprocess.*. r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D42603

--HG--
extra : moz-landing-system : lando
2019-08-20 16:42:16 +00:00
Mike Hommey 8db488eb24 Bug 1575135 - Fix mock_pkg_config failure case. r=nalexander
It only happens when things go badly, which is why it doesn't cause
problems, but when moving things around, triggering the error, we
currently get a formatting error rather than the actual error.

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

--HG--
extra : moz-landing-system : lando
2019-08-20 16:42:06 +00:00
Mike Hommey cc52fc2e1a Bug 1575135 - Define whether the system encoding is mbcs or utf-8 once. r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D42601

--HG--
extra : moz-landing-system : lando
2019-08-20 16:40:24 +00:00
Mike Hommey 76e02a9e5d Bug 1575135 - Remove unused subprocess imports. r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D42600

--HG--
extra : moz-landing-system : lando
2019-08-20 16:39:30 +00:00
Aaron Klotz 098248deb9 Bug 1573264: Add configure support for detecting llvm-dlltool; r=glandium
In bug 1542830 I need to generate an import library from a .DEF file. The
`llvm-dlltool` utility is the tool to support this.

This change adds detection for the aforementioned utility and also configures
the required flags.

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

--HG--
extra : moz-landing-system : lando
2019-08-21 04:34:32 +00:00
Eric Rahm ba36c4c9c2 Bug 1574275 - Update builds to use Rust 1.37. r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D42381

--HG--
extra : moz-landing-system : lando
2019-08-21 03:29:13 +00:00
Steve Fink bedf24824b Bug 1572988 - test followup to prevent intermittent timeouts on arm64 simulator
Differential Revision: https://phabricator.services.mozilla.com/D42767

--HG--
extra : moz-landing-system : lando
2019-08-21 03:30:18 +00:00
Markus Stange 324f4dbabb Bug 1574538 - Enable CoreAnimation by default. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D42377

--HG--
extra : moz-landing-system : lando
2019-08-20 18:44:20 +00:00
Markus Stange 4e76f83888 Bug 1575419 - Don't allow triggering another main thread paint from within a main thread paint. r=mattwoodrow
This also moves the MaybeScheduleUnsuspendAsyncCATransactions() call to the end
of HandleMainThreadCATransaction() so that we can't get re-suspended from within
WillPaintWindow().

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

--HG--
extra : moz-landing-system : lando
2019-08-21 02:30:32 +00:00
Nick Alexander 6790ecb3a2 Bug 1550146 - Part 2: Make mach "build" run "stage-package && android assemble-app" for mobile/android. r=glandium
Android artifacts (GeckoView AARs, GeckoViewExample (and Fennec) APKs)
require native libraries (`libxul.so`) and an omnijar (`omni.ja`).
These are produced by `mach package` (really, the `stage-package`
target).  Engineers essentially never want a build without a package
for mobile/android.  This adds mobile/android-only tiers that run
`mach package` and then `mach android assemble-app`.  The latter
consumes `libxul.so` and `omni.ja` to produce _all the things_
relevant to GeckoView engineers.

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

--HG--
extra : moz-landing-system : lando
2019-08-21 03:07:16 +00:00
Nick Alexander ae36e5d5c2 Bug 1550146 - Part 1: Do less (no mozharness.zip) in local `mach package`. r=chmanchester
Differential Revision: https://phabricator.services.mozilla.com/D41449

--HG--
extra : moz-landing-system : lando
2019-08-21 03:22:14 +00:00
Brian Hackett a7817c43e7 Bug 1574952 - Support calls to CGPathApply after diverging from the recording, r=loganfsmyth.
Differential Revision: https://phabricator.services.mozilla.com/D42576

--HG--
extra : moz-landing-system : lando
2019-08-21 03:16:35 +00:00
Mike Hommey fdb08df9ff Bug 1575288 - Shutdown sccache from the right place after bug 1573435. r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D42762

--HG--
extra : moz-landing-system : lando
2019-08-21 02:52:35 +00:00
Andrew McCreight 1523b3dab0 Bug 1575388 - Mark browser_temporary_permissions.js as passing with Fission. r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D42764

--HG--
extra : moz-landing-system : lando
2019-08-21 02:36:32 +00:00
Dan Glastonbury 41fff20f69 Bug 1571612 - P2: Collect flush req and flush telemetry. r=heycam
Collect telemetry for the number of pending style and layout flush requests per
flush and the number of style and layout flushes per nsRefreshDriver::Tick.  A
style flush reports only style requests, but a layout flush reports style and
layout requests since flushing layout implies a style flush also.

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

--HG--
extra : moz-landing-system : lando
2019-08-21 01:43:30 +00:00
Dan Glastonbury d87e8fd612 Bug 1571612 - P1: Split FlushType::Style and FlushType::Frame. r=heycam
Differential Revision: https://phabricator.services.mozilla.com/D40755

--HG--
extra : moz-landing-system : lando
2019-08-07 03:51:20 +00:00
Steve Fink e306452ebf Bug 1572988 - add a test case for registration error checking
Differential Revision: https://phabricator.services.mozilla.com/D42742

--HG--
extra : moz-landing-system : lando
2019-08-21 00:53:44 +00:00
Bogdan Tara d15cdd69b0 Backed out changeset d4d3fccf8ad4 (bug 1572988) for regress-1572988-nurseryRegisterCheck.js failures CLOSED TREE 2019-08-21 03:48:01 +03:00
Ting-Yu Lin 0958d8ea88 Bug 1575305 Part 4 - Improve column set log. r=dbaron
1. Add `this` to the log so that it's easier to debug a nested column
balancing

2. Print the struct fields the same as their names.

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

--HG--
extra : moz-landing-system : lando
2019-08-21 00:25:07 +00:00
Ting-Yu Lin 913e451679 Bug 1575305 Part 3 - Initialize colBSize with available block-size when column-span is enabled. r=dbaron
nsBlockFrame already prepares the available block-size for
ColumnSetFrame with ColumnSetWrapper's block-size and max-block-size
applied. (ColumnSet's computed block-size and max block-size is always
unconstrained when column-span is enabled.)

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

--HG--
extra : moz-landing-system : lando
2019-08-21 00:24:09 +00:00
Ting-Yu Lin 6df1d8db45 Bug 1575305 Part 2 - Remove the unused border-padding variable in nsBlockFrame::FindBestBalanceBSize(). r=dbaron
Differential Revision: https://phabricator.services.mozilla.com/D42709

--HG--
extra : moz-landing-system : lando
2019-08-21 00:24:00 +00:00
Ting-Yu Lin c44acb8e9f Bug 1575305 Part 1 - Remove an unneeded condition used for ::-moz-column-content. r=dbaron
Before bug 1411422, a ::-moz-column-content has height:100%, so it could
go into this path if ColumnSet's available block-size is unconstrained.

However, after bug 1411422, height:100% was removed for
::-moz-column-content. That is, its computed block-size is
unconstrained, so it can't go into this path. This applies regardless of
whether column-span is enabled or not.

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

--HG--
extra : moz-landing-system : lando
2019-08-20 22:29:55 +00:00
Steve Fink e6d856714e Bug 1572988 - add a test case for registration error checking
Differential Revision: https://phabricator.services.mozilla.com/D42742

--HG--
extra : moz-landing-system : lando
2019-08-21 00:18:58 +00:00
Steve Fink 51a2d0ed27 Bug 1574986 - Comment on how GCs are determined in the GC-ubench display, and mention the missing piece of information r=jonco
Differential Revision: https://phabricator.services.mozilla.com/D42534

--HG--
extra : moz-landing-system : lando
2019-08-20 09:45:51 +00:00
Stephen Horlander 39d0694ffc Bug 1573103 - Can not show all characters on About Nightly window. r=dao
Add a width to the wordmark background-image

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

--HG--
extra : moz-landing-system : lando
2019-08-21 00:03:16 +00:00
Logan Smyth 34b437cbec Bug 1575393 - Update prettier to same version used in MC root. r=jlast
Differential Revision: https://phabricator.services.mozilla.com/D42739

--HG--
extra : moz-landing-system : lando
2019-08-20 23:48:57 +00:00
Logan Smyth 2e60f7f95c Bug 1572209 - Part 4: Roll back one set of accidentally-included changes. r=jlast
Differential Revision: https://phabricator.services.mozilla.com/D42724

--HG--
rename : devtools/client/debugger/.eslintrc => devtools/client/debugger/.eslintrc.js
extra : moz-landing-system : lando
2019-08-20 23:36:12 +00:00
Jason Laster ccd6500125 Bug 1575337 - Remove chrome client. r=loganfsmyth
Differential Revision: https://phabricator.services.mozilla.com/D42698

--HG--
extra : moz-landing-system : lando
2019-08-20 22:22:04 +00:00
Daniel Holbert 07da11b14a Bug 1574031: Turn off text-decoration-skip-ink for intermittently mismatching section of reftest decoration-style-standards.html. r=jfkthame
Differential Revision: https://phabricator.services.mozilla.com/D42707

--HG--
extra : moz-landing-system : lando
2019-08-20 21:30:27 +00:00
Daniel Holbert 83952f0143 Bug 1575338: Turn off text-decoration-skip-ink for WPT auto-margins-001.html. r=jfkthame
This test's reference case occasionally (intermittetly) fails to do ink
skipping, so let's just turn off the ink-skipping preference for now to
avoid triggering too much intermittent orange.

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

--HG--
extra : moz-landing-system : lando
2019-08-20 23:11:25 +00:00
Gerald Squelart 74a83dc93f Bug 1575158 - BlocksRingBufferGeckoExtensions.h - r=gregtatum
Some marker payloads rely on JS and XPCOM objects (e.g., nsCString), so we need
to (de)serialize these.

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

--HG--
extra : moz-landing-system : lando
2019-08-20 22:52:34 +00:00
Gerald Squelart f908211695 Bug 1575141 - BlocksRingBuffer::{S,Des}erializer<BlocksRingBuffer> - r=gregtatum
Backtraces (that are kept in some marker payloads) are stored in a small
ProfileBuffer, we will need to store that data, which will happen to be inside
a BlockRingBuffer, so BlockRingBuffer needs to be able to (de)serialize itself!

This is done by storing the contents in the active buffer range, and some extra
data, to later reconstruct a BlocksRingBuffer that looks like the original.

Depends on D42496

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

--HG--
extra : moz-landing-system : lando
2019-08-20 21:33:52 +00:00
Gerald Squelart 87c8e35964 Bug 1574896 - BlocksRingBuffer de/serialization methods and helpers - r=gregtatum
Markers and their payloads contain all kinds of objects that we'll need to
serialize into a BlocksRingBuffer (new ProfileBuffer storage).

This patch will add functions to:
- Compute the size needed to store objects,
- Write multiple objects into a BlockRingBuffer entry,
- Read objects back from an entry.

And it will provide a number of useful de/serialization helpers for:
- Trivially-copyable objects,
- Strings of different types,
- Raw pointers (with some safety guards to avoid surprises),
- Tuples (to store multiple sub-objects),
- Spans,
- Maybe (for optional objects),
- Variant.

This should be enough to store most kinds of data. Further specializations
can&will be written as necessary for more complex or obscure types.

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

--HG--
extra : moz-landing-system : lando
2019-08-20 22:39:12 +00:00