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

578339 Коммитов

Автор SHA1 Сообщение Дата
Alan Jeffrey e9c13fe9ed servo: Merge #19855 - Added --progress flag to test-perf git commands (from asajeffrey:test-perf-git-progress); r=jdm
<!-- Please describe your changes on the following line: -->

Adding a `--progress` flag to git commands in test-perf to try to avoid the timeouts we're seeing at http://build.servo.org/builders/linux-nightly/builds/581/steps/test/logs/stdio
---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [X] These changes do not require tests because this is test infrastructure

<!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.-->

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->

Source-Repo: https://github.com/servo/servo
Source-Revision: 8c1af9cce7197104dda76873be6c713e0b0d3866

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 7a1d217d458222e072c59547947912a519e028d5
2018-01-25 15:30:22 -06:00
Mike Hommey d76723e154 Bug 1433273 - Remove mozglue/linker/dladdr.h. r=froydnj
It was added in bug 683127 as a forced include for nspr, and
accidentally became unused after bug 1230117, but it turns out that all
versions of Android we care about nowadays (and probably back then) now
support dladdr.

--HG--
extra : rebase_source : 024244627c215de2d35e2f4595b7612eb1723996
2018-01-26 06:21:30 +09:00
Mike Hommey 5e48214af2 Bug 1414506 - Use system dl_iterate_phdr for system loaded libraries when we can. r=froydnj
When looping through the debugger helper links during our
dl_iterate_phdr implementation, we effectively race with other threads
dlclose()ing libraries while we're working.

We do have a (rather involved) check in place to ensure that elf headers
are readable. But it turns out in practice, some dlclose() do happen
between the check and the actual read of the elf headers.

Unfortunately, we can't lock the system linker while we're looping, so a
better approach is to only loop through the libraries we loaded, and
rely on the system dl_iterate_phdr to iterate over the (remaining)
system libraries.

Unfortunately (again), Android versions < 5.0 don't have a system
dl_iterate_phdr, so we have to rely on the old iterator when it's not
present.

--HG--
extra : rebase_source : 3fd07589ed1939411ef72f481b7c72f761d53701
2018-01-23 15:59:18 +09:00
Mike Hommey 76f5fcdbab Bug 1414506 - Move dl_phdr_info filling and callback invocation to a separate class. r=froydnj
We're going to introduce two code paths that need to fill dl_phdr_info
from different iterators, so first move the code to a separate class,
that both code paths will be able to call.

--HG--
extra : rebase_source : a50663ad8d15d4f7a28d7138824003df5edd7f1c
2018-01-23 15:50:38 +09:00
Mike Hommey 2d8f41393f Bug 1414506 - Drive-by: Remove MOZ_CONCAT definition from mozglue/linker/Logging.h. r=froydnj
The same exists in mozilla/MacroArgs.h, avoiding a macro redefined warning
when building on non-Android.

--HG--
extra : rebase_source : 6e3502ddf9deb96b29e3663f5867f852a2912401
2018-01-19 20:12:04 +09:00
Mike Hommey 73673fc86e Bug 1414506 - Drive-by: Add missing <cstring> include to XZStream.cpp. r=froydnj
--HG--
extra : rebase_source : 25942242d9e2cb1ccc1e18f06635218dfc894637
2018-01-19 20:08:08 +09:00
Robert Helmer 77d3af2651 Bug 1260213 - enable system add-on updates for Fennec r=snorp
MozReview-Commit-ID: LH4oPseLBpp

--HG--
extra : rebase_source : 7dc5867e15b128c5cf631c597deb8e15935bddaa
2018-01-24 11:11:10 -08:00
Tom Tromey 6dba28ecb2 Bug 1255378 - fix getCSSValuesForProperty for box-shadow and text-shadow; r=heycam,jryans
This fixes InspectorUtils.getCSSValuesForProperty to return the
correct values for box-shadow and text-shadow.  It also takes a small
step toward the goal of getting rid of
InspectorUtils.cpp:PropertySupportsVariant, in favor of having all
variants listed in nsCSSPropList.h.

MozReview-Commit-ID: Dwh5s0IvYTX

--HG--
extra : rebase_source : eba2d3e7337af63c264bf3d596740f311c4aa017
2018-01-17 10:34:34 -07:00
Tom Tromey 2172ef0b6f Bug 1255378 - factor color lists out of expected values in test_bug877690.html; r=jryans
This is a minor cleanup to test_bug877690.html that factors out the
list of colors into a separate variable, to make future tests a bit
simpler to write and understand.

MozReview-Commit-ID: JkSBJQxLdxW

--HG--
extra : rebase_source : 3398c07bc582b678184a08962c5066bc65729510
2018-01-17 09:08:59 -07:00
Zibi Braniecki 0d01f18858 Bug 1428530 - Separate out mozilla::intl::Locale. r=jfkthame
MozReview-Commit-ID: IELFjNCoJEo

--HG--
extra : rebase_source : 305dfb77cfa071c699ab4a9af38f59bb37c94711
2018-01-06 00:23:09 -08:00
Glenn Watson 944ab8a14e servo: Merge #19848 - Update WR (new capture API, render target cache optimization) (from glennw:update-wr-tcrt); r=jdm
Source-Repo: https://github.com/servo/servo
Source-Revision: e035f5a17ff307f61cc2a9697bd6bebc5544c710

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 4bd87299ee2029dfa04ecf2e927a32de5ddf1670
2018-01-25 13:48:24 -06:00
Andrew Halberstadt 529aad2e2c Bug 1430825 - [mozlint] Split work up by paths instead of by linters, r=standard8
The initial motivation for this patch, was to prevent command lines that are
too long on Windows. To that end, there is a cap to the number of paths that
can be run per job. For now that cap is set to 50. This will allow for an
average path length of 160 characters, which should be sufficient with room to
spare.

But another big benefit of this patch is that we are running more things in
parallel. Previously, mozlint ran each linter in its own subprocess, but that's
it. If running eslint is 90% of the work, it'll still only get a single
process. This means we are wasting cores as soon as the other linters are
finished.

This patch chunks the number of specified paths such that there will be N*L
jobs where 'N' is the number of cores and 'L' is the number of linters.  This
means even when there's a dominant linter, we'll be making better use of our
resources. This isn't perfect of course, as some paths might contain a small
number of files, and some will contain a very large number of files.  But it's
a start

A limitation to this approach is that if there are fewer paths specified than
there are cores, we won't schedule enough jobs per linter to use those extra
cores. One idea might be to expand specified directories and individually list
all the paths under the directory. But this has some hairy edge cases that
would be tough to catch. Doing this in a non-hacky way would also require a
medium scale refactor.

So I propose further parallelization efforts be destined for follow-ups.

MozReview-Commit-ID: JRRu13AFaii

--HG--
extra : rebase_source : 242fb71fe0af8bd2a981bd10a7216bb897fe00ac
2018-01-16 16:01:20 -05:00
Emilio Cobos Álvarez 94f0c2a33e servo: Merge #19854 - style: make the try_match_ident_ignore_ascii_case macro actually return the error (from emilio:try-match); r=nox
This allows it to be used as an expression, which I'd like to do very soon.

Source-Repo: https://github.com/servo/servo
Source-Revision: 5355265c7481ef5f1a9d869927ad8bb1d8d8357b

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 9b23c993998c53ed11530072ad6a92beae158a07
2018-01-25 10:18:24 -06:00
Jan Beich d3df765835 Bug 1433036 - OpenBSD bootstrap: node-devel package doesn't exist. r=froydnj,gaston
lang/node aka node package is what actually installs node and npm executables.
https://cvsweb.openbsd.org/cgi-bin/cvsweb/ports/lang/node/pkg/PLIST?rev=HEAD

MozReview-Commit-ID: H9lZGcHmEuR

--HG--
extra : rebase_source : 31a6259c3c6890f77f3f65054c21a13af2d3aff2
2018-01-25 07:05:22 +00:00
Jan Beich 0a1567442d Bug 1433036 - FreeBSD bootstrap: add npm for linting after bug 1433036. r=froydnj
Downstream npm package already depends node package, no need to
specify it explicitly. Also, node package refers to the latest NodeJS
but npm package can be built against an older version.

MozReview-Commit-ID: KeuSFEKeStw

--HG--
extra : rebase_source : ac3ab14519f4edd8bcb5b77cad64eeaed16d2751
2018-01-25 07:02:44 +00:00
Coroiu Cristina 44d458632a Backed out 1 changesets (bug 1421380) on request from kats
Backed out changeset 48cdd9ef5878 (bug 1421380)
2018-01-25 21:31:34 +02:00
Jim Chen 29cb580a50 Bug 1431201 - Clear native queue when disposing window; r=snorp
Dispose the native call queue when disposing a window object, so we
don't end up with stale calls in the queue that can cause crashes.

MozReview-Commit-ID: J1HNOXKAX6E

--HG--
extra : rebase_source : 9a3ec940c19513d29c692d4e550fa3fd046d73f9
2018-01-24 10:39:49 -05:00
Haik Aftandilian 7f32b33af4 Bug 1417005 - [Mac] Respect MOZ_DISABLE_GMP_SANDBOX r=Alex_Gaynor,cpearce
Respect MOZ_DISABLE_GMP_SANDBOX so that the GMP sandbox
can be disabled from the command line.

MozReview-Commit-ID: HLHQ6ImrzGe

--HG--
extra : rebase_source : 54335b6f612f5b09e2680ec6e6dee70f37a99e2b
2018-01-24 16:11:21 -08:00
Ralph Giles 0f7ccae18e Bug 1430934 - mozboot: Update to rust 1.23.0. r=nalexander
Have `./mach boostrap` update users to at least rust 1.23.0,
which is the current stable release.

MozReview-Commit-ID: 7ukx7shu07e

--HG--
extra : rebase_source : 82ea7fd65901f0e9e00e961d157cf113d82b1d4e
2018-01-16 15:07:14 -08:00
Edouard Oger f15c1f618e Bug 1433042 - Fix initial FxA login flow. r=tcsc
MozReview-Commit-ID: kaD6Bx7oRk

--HG--
extra : rebase_source : 5eaeda96125215917f5e00d5f6863a0f86020b4e
2018-01-25 11:34:32 -05:00
Kartikaya Gupta d4c9e4740d Bug 1432223 - Add an --all-crates option to mach cargo check, to check all the crates. r=froydnj
MozReview-Commit-ID: 2nst2ctsI6s

--HG--
extra : rebase_source : 92212248ae645098b0bd75254d9ba5075c076a90
2018-01-22 12:46:29 -05:00
Marco Bonardo 4196362786 Bug 1346554 - Incremental vacuum favicons.sqlite. r=standard8
MozReview-Commit-ID: 9bcCgkF5uU1

--HG--
extra : rebase_source : 11921dd6178b173deaa28f40b5ceef830ded2ea1
2018-01-18 15:06:39 +01:00
Gurzau Raul 501d80ba77 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-01-25 19:06:59 +02:00
Gurzau Raul 062e1cf551 Merge inbound to mozilla-central. a=merge 2018-01-25 19:02:48 +02:00
Emilio Cobos Álvarez 411705ebde Bug 1433056: Account for pres shell destruction. r=smaug
The underlying issue here is that the pres shell was already being torn down
when we flush.

The less risky change here is to just change the assertions instead of
IsSafeToFlush too, but the !isSafeToFlush || mViewManager assertion was also
firing already, because we null out the view manager from Destroy.

So this change is effectively idempotent behavior-wise (we tighten a bit the
view manager assertion, but that should be fine).

Just let me know if you want me to just loosen the assertions, but I think the
IsSafeToFlush change is nicer too.

MozReview-Commit-ID: 240qLlLi7RE

--HG--
extra : rebase_source : df5dacb849a93e62f90e278c0d99f1034b341b79
2018-01-25 15:56:47 +01:00
Gurzau Raul 49c692983a Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-01-25 13:02:27 +02:00
Csoregi Natalia f9dc75cd65 Backed out changeset 640595d09e90 (bug 1419764) for reftest failures. a=backout 2018-01-25 12:23:02 +02:00
Csoregi Natalia 6f5bb993b2 Merge inbound to mozilla-central. a=merge 2018-01-25 12:14:20 +02:00
Thom Chiovoloni fca1cd0193 Bug 1433003 - Optimize sync by using digestBytes instead of digestUTF8. r=markh
MozReview-Commit-ID: IbyeOUjKdi9

--HG--
extra : rebase_source : 3eb55106004ef68f749a9188f232dbb60f9d1e3d
2018-01-24 20:09:16 -05:00
Aki Sasaki f8ee472c6f Bug 1431397 - part2: fix release_eta when it's None p=aki r=jlorenzo
--HG--
extra : source : c349de6dc73428fb8b09ff9f416e581dcfe9e05a
extra : amend_source : 2bed7eb11b536b345fb8b30f2d47c85424024ae9
2018-01-24 12:27:34 -08:00
Marco Bonardo 52f4c19c6b Bug 1432746 - Some folders in the Library may not show their bookmark children. r=standard8
Don't use the parent node options when creating new folder nodes, since they should retain
their original options.
Additionally, we can filter nodes in the queries rather than building a lot of nodes that
will be filtered out.

MozReview-Commit-ID: MmlGDe5QgV

--HG--
extra : rebase_source : 66eea325825007266e08424630b092b9e8d75b67
2018-01-24 17:55:42 +01:00
Kartikaya Gupta 4af14dc29f Bug 1421380 - Enable gfx.webrender.hit-test by default. r=jrmuizel
This causes some mochitests to fail.

MozReview-Commit-ID: J2AjM0qKVE5

--HG--
extra : rebase_source : 0a5d21208c003a73dc83cf4dccca7ee5085f5604
2018-01-25 10:32:35 -05:00
pandusonu2 f2c15cc94f servo: Merge #19867 - Update README.md to fix font requirements for Arch Linux (from pandusonu2:ReadMeFix); r=mbrubeck
The current specifications for installation of Servo in Arch Linux fails to run due to requirement of fonts.

The fix is just to include the required package in the required dependencies list in README.md.

<!-- Please describe your changes on the following line: -->

I added the required font package for Arch Linux in the README file. This is in accordance with the comments on the bug #12107, which deals with similar requirements for Gentoo
---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
- [ ] `./mach build -d` does not report any errors
- [ ] `./mach test-tidy` does not report any errors
- [ ] These changes fix #__ (github issue number if applicable).

<!-- Either: -->
- [ ] There are tests for these changes OR
- [X] These changes do not require tests because - The changes are in README file

<!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.-->

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->

Source-Repo: https://github.com/servo/servo
Source-Revision: 47b3693d7564b32813746c1dbb6ef29dbb08ffaf

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 4f4e37887cd4f1b5c03608067f8c59ab140fb038
2018-01-25 09:22:52 -06:00
Nicolas Chevobbe 1467be06f3 Bug 1433123 - Fix console launchpad; r=Honza.
Updating to latest devtools-launchpad add adding the
disablePostCSS option fixes the postCSS errors.
Remove the netmonitor from babelExclude and add the
rewrite-lazy-getter loader fixes the issues about the use
of the object spread operator.

MozReview-Commit-ID: 4wRHuR4q7fz

--HG--
extra : rebase_source : c94063664063ba18d2bb466e99519e701707d6e6
2018-01-25 15:27:25 +01:00
Yury Delendik 0cc3f8ba82 Bug 1431864 - Use Response.url as WebAssembly module URL. r=bkelly,luke
MozReview-Commit-ID: 2xAasdmpIKX

--HG--
extra : rebase_source : a4664e04930eda6dc1a4429be5b9a3c3467cd71b
2018-01-22 14:55:30 -06:00
Josh Matthews a9edd53b99 servo: Merge #19858 - Disable sccache (from servo:jdm-patch-2); r=jdm
It's causing problems on arm and mac builders and making it impossible to land changes.

Source-Repo: https://github.com/servo/servo
Source-Revision: 4089e388dd0f98dea3af8ee367c9deb4cfb0e26a

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 24d95edc91070d6ef0adedce6650d15724bfd867
2018-01-24 23:58:44 -06:00
abhinav 6a8687a571 Bug 1421225 - Clicking on a console.group Message should toggle the group. r=nchevobbe
MozReview-Commit-ID: IuK0R1Ebv8o

--HG--
extra : rebase_source : 224bcfa41da64bf7c745da807ef6a396c152e51e
2018-01-23 09:28:15 +05:30
Simon Fraser 9bc38c03cc Bug 1432763 Linting compliance for funsize docker images r=mtabara
MozReview-Commit-ID: IdHYknfUZXx

--HG--
extra : rebase_source : cd86ab7af28b97c52b5cfb045b91ca3a248f1755
2018-01-24 12:46:21 +00:00
Andreas Tolfsen 776ca164fa Bug 1432864 - Unfocussing steps will target <body> element. r=automatedtester
The WebDriver Element Send Keys command is meant to run the HTML
unfocussing steps after clearing the element.  When HTMLElement.blur()
is called on the root document element (<html>) it is the <body>
that is in focus when the unfocussing steps have run.

The same applies in the case of typing into an <iframe> element.
The controlling element of the <iframe> is the <body>, as this is
the element ath will receive focus should you blur the frame.

MozReview-Commit-ID: 19Ox3W9CF8O

--HG--
extra : rebase_source : fe0f3c1f035908a1a9581c2e28749b387db471a5
2018-01-24 20:25:58 +00:00
Andreas Tolfsen 69a46ce79e Bug 1432864 - Run unfocussing steps after interaction. r=automatedtester
A couple of commands were not running the appropriate unfocussing
steps as the WebDriver standards says they should.

MozReview-Commit-ID: FyuRvkct19m

--HG--
extra : rebase_source : fe37727126a6907f6182d166a035b4f368118df9
2018-01-24 19:07:18 +00:00
Andreas Tolfsen e8df6e360f Bug 1432864 - Run native focussing steps on interaction commands. r=automatedtester
Instead of generating custom focus events when interacting with elements,
we can run the HTMLElement.focus() function will do the correct thing.

Before this patch we only simulated focus events, whereas this
patch will actually focus the element.

MozReview-Commit-ID: IoBV2ngqOA5

--HG--
extra : rebase_source : c133a8ac7fc91dfa373a9d8adbc3f30d2441c46d
2018-01-24 19:04:30 +00:00
Andreas Tolfsen 660c1092d4 Bug 1432864 - Decouple focussing from moving caret in textual form controls. r=automatedtester
Renames the interaction.focusElement, which also happened to move
the caret in textual form controls, to interaction.moveCaretToEnd,
focussed solely on moving the caret.  It doesn't make sense to
coalesce these two operations into one function.

MozReview-Commit-ID: 2QxV8FllW8J

--HG--
extra : rebase_source : f95973c3bd5759d4b60467f88720ea66c0511873
2018-01-24 19:01:47 +00:00
Henri Sivonen 5b05e804a9 Bug 1431025 - Use encoding_rs::mem::is_utf16_bidi() as the implementation of HasRTLChars(). r=jfkthame
MozReview-Commit-ID: KnaI7wIndVf

--HG--
extra : rebase_source : 6a00c8fc140c1cf070e8fa668e7e099f98621820
2018-01-18 14:28:15 +02:00
Michal Novotny 4188a83001 Bug 1412320 - CacheIndex::~CacheIndex is called outside CacheIndex::sLock. r=honzab
We must close cache iterators before shutting down CacheIndex because they hold reference to CacheIndex which causes that CacheIndex is not destroyed when it's dereferenced in CacheIndex::Shutdown.

--HG--
extra : amend_source : d74243f4eb4f4073ecc72ac9b331091456a91504
2018-01-18 07:14:00 -05:00
Tom Prince 3f845e43fa Bug 1429819: Allow using tooltool macOS SDK on all automation builds and all cross-builds. r=dminor
The original logic I wrote had the condition backwards.

MozReview-Commit-ID: IFIS8vZLgd4

--HG--
extra : rebase_source : 9f9baeb2f6284c551fb63f139d6f5942569890fd
2018-01-23 11:56:50 -07:00
Lars T Hansen 1ccda3f5bc Bug 1427130 - Add guard to SAB structured clone. r=jorendorff
This demotes a MOZ_RELEASE_ASSERT in the SAB case for SC write to a
run-time check.  The reason is that the clone policy must conform to
the clone scope, specifically, if the scope is DifferentProcess then
the policy must deny SAB.

The check was an assert previously because we mistakenly thought that
we controlled all the callers, but we do not - the TestingFunction
serialize() has a permissive API and instead of adding a lot of
complexity there we should change the assert to a run-time check.  The
code is more resilient as a result anyway.

Also document this quirk in the SC header file.

--HG--
extra : rebase_source : 4b632fe57bc9ebf3f38210b1ffad11fde57befa6
2018-01-15 11:31:35 +01:00
Lars T Hansen 2375c682a8 Bug 1431402 - Add 64bit-int-to-floating-point conversion to MacroAssembler.h. r=nbp
Including ARM64 implementations here because they are easy, and will be
needed by the Wasm baseline compiler anyway.

--HG--
extra : rebase_source : 5baab6faed8fcd4c5b661e40ac011da051573a0a
extra : intermediate-source : 6d7fa52e38fbd7f9d106b8bbacca51d3907bd4f7
extra : source : 724822b1b806b8f7ce6af0d3891be1e4a450ffe9
2018-01-16 14:16:52 +01:00
Lars T Hansen ef546b990b Bug 1431402 - Add floating-point-to-64bit-int conversion to MacroAssembler.h. r=nbp
Including ARM64 stubs here because it simplifies code in the Wasm
baseline compiler, and doesn't hurt.

--HG--
extra : rebase_source : 58933b501248f2f53cb88117f93662f1ae3f9bfe
extra : source : f217aeea295bac03a323917292560ba1f491b0fb
2018-01-18 15:00:45 +01:00
Julian Descottes 226dd89197 Bug 1272774 - rename actor/childtab.js to actor/content.js to match ContentActor;r=ochameau
MozReview-Commit-ID: BJ8zjFeiZPD

--HG--
rename : devtools/server/actors/childtab.js => devtools/server/actors/content.js
extra : rebase_source : 27d016532666641adf1c20f639c9521636324f53
2018-01-05 10:11:04 +01:00
Julian Descottes 4c806e5378 Bug 1272774 - remove irrelevant cleanup comment;r=ochameau
MozReview-Commit-ID: KsULTBH9bGL

--HG--
extra : rebase_source : 46cabf890de277e28a33af9df709e547bd36bdb1
2018-01-05 10:06:58 +01:00