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

535637 Коммитов

Автор SHA1 Сообщение Дата
Wes Kocher 7546d6084a Merge m-c to autoland, a=merge CLOSED TREE
MozReview-Commit-ID: CkxXpx4uM9o
2017-05-12 13:10:32 -07:00
Joel Maher d8e63e2177 Bug 1364421 - fix flake8 errors. r=me a=CLOSED TREE 2017-05-12 15:14:10 -04:00
Joel Maher 769411ae57 Bug 1364421 - temporarily disable SETA for BBB only. r=bstack, a=CLOSED TREE 2017-05-12 14:55:42 -04:00
Joel Maher 5d7cb32492 Bug 1364421 - temporarily disable SETA. r=bstack, a=CLOSED TREE
MozReview-Commit-ID: KEoiYhR6bXs
2017-05-12 14:41:52 -04:00
Ryan VanderMeulen 44e0bdf130 Backed out changesets 72fe8375faa0 and 5f55c10a0a72 (bug 1352306) for ElementInlines.h assertions.
CLOSED TREE
2017-05-12 12:58:05 -04:00
Ryan VanderMeulen 3650b16bc1 Merge m-c to autoland. a=merge
CLOSED TREE
2017-05-12 12:17:43 -04:00
Ryan VanderMeulen 4e993e38aa Merge m-c to inbound. a=merge
CLOSED TREE
2017-05-12 12:11:25 -04:00
Ryan VanderMeulen 1fc10504ff Backed out changesets c9812dd7d27a and 387d8415d05e (bug 1362148) because it broke various Android jobs. 2017-05-12 11:47:22 -04:00
Ryan VanderMeulen 8b33390981 Backed out changeset 5e04c49d2d10 (bug 1362164) because it depends on bug 1362148 which is being backed out. 2017-05-12 11:46:31 -04:00
Evan Wallace 8c715c91e6 Bug 1052253 - Part 2: Map macOS pinch zoom gesture to wheel event with control key. r=mstange
This patch matches Chrome's behavior almost exactly, except it uses a slightly
different formula for the deltaY value that results in the same movement speed
as Chrome but doesn't drift over time.

Tested by confirming that trackpad pinch zoom now works on maps.google.com,
wego.here.com, and figma.com.
2017-05-12 15:39:09 +03:00
Birunthan Mohanathas 0e52c9ca9e Bug 1052253 - Part 1: Fix gestures when using macOS 10.11 or later SDK. r=mstange
`beginGestureWithEvent` and `endGestureWithEvent` are not called for
applications that link against the macOS 10.11 or later SDK when we're running
on macOS 10.11 or later.

For compatibility with all supported macOS versions, we have to call
{begin,end}GestureWithEvent ourselves based on the event phase when we're using
the 10.11+ SDK.

See: https://developer.apple.com/reference/appkit/nsresponder/1526368-begingesturewithevent
2017-05-12 15:39:01 +03:00
Olli Pettay 1b1642f523 Bug 1364018 - Coalesce wheel events more aggressively, r=stone
--HG--
extra : rebase_source : 17171c517a0c49cfbb2a6c99a06d655e61930e2d
2017-05-12 14:13:59 +03:00
Alin Selagea 68950682a9 Bug 1362397 - Add a new win8 R-e10s-qr job on the graphics tree, r=kmoir,aobreja 2017-05-12 14:11:46 +03:00
Iris Hsiao 6559420d58 Backed out 15 changesets (bug 1358846, bug 1356826) for talos error. a=backout
Backed out changeset 96ea13bb00c5 (bug 1358846)
Backed out changeset b533d7f9b9c2 (bug 1358846)
Backed out changeset 7dcb80a051a3 (bug 1358846)
Backed out changeset 26825f1e33dd (bug 1358846)
Backed out changeset 98b57ff82a54 (bug 1358846)
Backed out changeset b9088593e34f (bug 1358846)
Backed out changeset cb2518673c56 (bug 1358846)
Backed out changeset 889c487a5d41 (bug 1358846)
Backed out changeset 459b36092b7a (bug 1356826)
Backed out changeset c861e23ec8ef (bug 1356826)
Backed out changeset d47998fa24cd (bug 1356826)
Backed out changeset b02e89c67132 (bug 1356826)
Backed out changeset c46fed6e4f6a (bug 1356826)
Backed out changeset 237268e3d9d2 (bug 1356826)
Backed out changeset 527435fc20db (bug 1356826)
2017-05-12 17:45:21 +08:00
Mike Hommey fcd9a5550a Bug 1361258 - Use Thread Local Storage in mozjemalloc on mac. r=erahm
NO_TLS used to be hardcoded on mac because up to 10.6, __thread was not
supported. Until recently, we still supported for 10.6, and it's not the
case anymore, so we could make mac builds use __thread.

Unfortunately, on OSX, __thread circles back calling malloc to allocate
storage on first access, so we have an infinite loop problem here.
Fortunately, pthread_keys don't have this property, so we can use that
instead. It doesn't appear to have significantly more overhead (and TLS
overhead is small anyways compared to the amount of work involved in
allocating memory with mozjemalloc).

At the same time, we uniformize the initialization sequence between
mozjemalloc and mozjemalloc+replace-malloc, such that we have less
occasions for surprises when riding the trains (replace-malloc being
nightly only), ensuring the zone registration happens at the end of
mozjemalloc's initialization.
2017-05-12 18:12:20 +09:00
Mike Hommey f5461de678 Bug 1361258 - Initial implementation for jemalloc_thread_local_arena. r=erahm
The function, when passed `true`, creates a new arena with no attachment
in the global list of arenas, and assigns it to the current thread.
When passed `false`, it restores the default arena.

Some details are left out because they don't matter yet, as the sole
initial use of the API is going to invoke the function when stylo rayon
threads start up, which happens exactly once per thread, and at thread
exit time, which happens at shutdown, if ever.

This simplifies things, and leaves those details to followup(s):
- Arenas can't simply be killed when the function is called with `false`
  again (or when the thread dies) because they may still contain valid
  allocations that could have been passed to other threads. Those arenas
  should be kept until they are empty.
- jemalloc_stats doesn't know about them and will under-report memory
  usage.
- pre/post fork hooks don't know about them and will not force-unlock
  their locks. In practice, until those arenas are used for something
  else than the style system, this can't lead to the dead-locks that
  these hooks help prevent because nothing should be touching pointers
  allocated through them after fork.
2017-05-12 18:12:15 +09:00
Mike Hommey 6277defd95 Bug 1361258 - Add a hazard exception for Gecko_SetJemallocThreadLocalArena. r=me 2017-05-12 18:12:07 +09:00
Julian Seward 83969e88eb Bug 1361258 - Add a jemalloc_thread_local_arena API with a binding for rust. r=glandium
The intent of the API is to allow threads to opt-in to use a separate
mozjemalloc arena.

This indroduces a dummy shell with no actual implementation.
2017-05-12 18:08:08 +09:00
Ruturaj K. Vartak eeb5e9e9e1 Bug 1354504 - Add autocomplete to network monitor search box. r=jdescottes, ntim
MozReview-Commit-ID: KojxbqOAJAQ
2017-05-11 04:25:00 +01:00
Jan de Mooij 652857ca5b Bug 1364014 - Remove unnecessary is-array check in GCMarker::restoreValueArray. r=jonco 2017-05-12 09:46:21 +02:00
Ehsan Akhgari 8a04849cee Bug 1362814 - Part 2: Move GeckoProfilerReporter to its own header; r=mstange
This allows us to get rid of the nsIMemoryReporter.h inclusion in GeckoProfiler.h.
That brings XPCOM string headers with it.
2017-05-12 02:35:09 -04:00
Ehsan Akhgari 9fc6c978e3 Bug 1362814 - Part 1: Remove an unneeded inclusion from GeckoProfiler.h; r=mstange 2017-05-12 02:35:09 -04:00
vincentliu 3d037c531f Bug 1363675 - Get D3D11Device from TextureSourceProvider if it exists. r=dvander 2017-05-12 14:09:53 +08:00
Phil Ringnalda 0b5026dbf2 Backed out 3 changesets (bug 1310885) for heap write hazard failures
Backed out changeset 77352010d8e8 (bug 1310885)
Backed out changeset 9245a2fbb974 (bug 1310885)
Backed out changeset 7c2db290c4b6 (bug 1310885)

MozReview-Commit-ID: 7JWuxt9QDO0
2017-05-11 23:03:31 -07:00
Kris Maglione 01da50be42 Bug 1358846: Temporarily disable low-value tests that fail only on Windows. r=me
MozReview-Commit-ID: AklygLaeckt

--HG--
extra : rebase_source : 39b68fc73a87caacb8a401d786df9e0a21569bc2
2017-05-11 22:42:44 -07:00
Kris Maglione 695828f6ff Bug 1358846: Disable Jetpack child_process test. r=me
MozReview-Commit-ID: 65a0bfbtskU

--HG--
extra : rebase_source : e0d9e8a6f6927ab999b2a29fa6a9fd6a33dde5a9
2017-05-09 21:04:35 -07:00
Cameron McCormack 9aa3f6dbf6 Bug 1352306 - Part 2: stylo: Only snapshot EventStates if there is some rule that depends on it. r=emilio
MozReview-Commit-ID: J5xhdi7pGSv

--HG--
extra : rebase_source : 48247c1dd2e5b091224bc5fff2e1249b880e157b
2017-05-09 18:13:45 +08:00
Cameron McCormack baddd12434 Bug 1352306 - Part 1: stylo: Only snapshot attributes if there is some rule that depends on that attribute. r=emilio
MozReview-Commit-ID: Emey96ovc2a

--HG--
extra : rebase_source : b60b5114e8faf5bb39bf34fd0d985b071b9ec2dc
2017-05-08 16:04:31 +08:00
Cameron McCormack 24efbaf908 servo: Merge #16811 - style: record attribute and state selector dependencies (from heycam:snapshots); r=emilio
From https://bugzilla.mozilla.org/show_bug.cgi?id=1352306.

Source-Repo: https://github.com/servo/servo
Source-Revision: 1faac6a6e640e9af1890debfbecce60c8cdf37a9

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 76c559a192d3d64e5a369c14a459e9acbf71a4ca
2017-05-12 05:41:35 -05:00
Kris Maglione f942b2418c Bug 1358846: Part 6 - Clean up error handling. r=me
MozReview-Commit-ID: ApF7H3NTIU8

--HG--
extra : rebase_source : e1fdf13a2abc73ae961b7d4087dbfd7232101ede
2017-04-29 19:03:40 -07:00
Dustin J. Mitchell fd4071972b Bug 1340564: use attributes to identify talos jobs; r=bstack
MozReview-Commit-ID: B29F5SL8JNr

--HG--
extra : source : fd1f5c9160453dec2a83293cbf1f727a2d5ffc0a
2017-04-25 22:34:13 +00:00
Dustin J. Mitchell 8cd3cb39d2 Bug 1340564: specify the target name explicitly for dependent tasks; r=gps
MozReview-Commit-ID: D7TeFDmXeVr

--HG--
extra : source : 516721f50c1ee2bbb81879f6b89ec880e196dea3
2017-04-25 22:30:09 +00:00
Dustin J. Mitchell a242245737 Bug 1340564: filter for android tasks using the build_platform attribute; r=jlorenzo
This avoids using substring matching on labels, which is likely to lead to
sadness someday.

MozReview-Commit-ID: J1pFuP1U335

--HG--
extra : source : 45d01b30e9d1eb6e7a06eb2800d7d54d302c2f6e
2017-04-25 21:59:42 +00:00
Kris Maglione 1f911b06b8 Bug 1358846: Part 5 - Clean up some path manipulation code. r=rhelmer
MozReview-Commit-ID: ArgurF3QVSw

--HG--
extra : rebase_source : 5aac4694bf2d4e2d151a0704daaf94b22b726f9f
2017-04-23 10:30:39 -07:00
Kris Maglione 273fc8c0fb Bug 1358846: Part 4 - Merge various startup information stores into a single JSON file. r=rhelmer,jonco
MozReview-Commit-ID: Bs8xMqzVOcl

--HG--
extra : rebase_source : fe9eec8d21c0602b079224890a26f797a39c3f28
2017-05-11 16:54:46 -07:00
Kris Maglione 16dbb77f47 Bug 1358846: Part 3 - Trivial cleanups. r=rhelmer
MozReview-Commit-ID: Kf3x4uBjiEp

--HG--
extra : rebase_source : c9270664b1272ad4d5b72be92f66e5310d502728
2017-04-22 18:38:45 -07:00
Kris Maglione 62b654a6bf Bug 1358846: Part 2 - Allow using file compression with JSONFile.jsm. r=rhelmer
MozReview-Commit-ID: 5lHsZqBGq3E

--HG--
extra : rebase_source : b1700a2f767334df7d01673faff9c1579ce38338
2017-04-22 18:23:22 -07:00
Kris Maglione 7cc54b4b85 Bug 1358846: Part 1 - Remove old database migration code. r=rhelmer
MozReview-Commit-ID: CHdKzQ2u0Rv

--HG--
extra : rebase_source : 45653a0c2e7edf0db9d87a9da6d31a8cc497419c
2017-04-21 18:55:12 -07:00
Kris Maglione 763a19d302 Bug 1356826: Wait for startup to finish before shutting down. r=me
MozReview-Commit-ID: LksftmZHI8H

--HG--
extra : rebase_source : 7ea6dd9fd4b7448bdc38bf361c3f0fb38df0cafe
2017-05-10 20:26:01 -07:00
Kris Maglione 05591ed101 Bug 1356826: Part 7 - Scan for extension sideloads after final UI startup. r=aswan,rhelmer
MozReview-Commit-ID: 1syn9GD2DEb

--HG--
extra : rebase_source : d681fa6c0715790664e090580175cfe33bca3425
2017-05-10 12:34:17 -07:00
Kris Maglione 01a97bf1e9 Bug 1356826: Part 6 - Wait for delayed startup before checking for side-loads. r=aswan
MozReview-Commit-ID: IpuRNbdUXmE

--HG--
extra : rebase_source : 5ac9b960f9f06952120676b713d77624f832e4d6
2017-04-15 14:09:41 -07:00
Kris Maglione 5a09f33f66 Bug 1356826: Part 5 - Allow unsigned add-ons in automation. r=rhelmer
MozReview-Commit-ID: BkRzdEajc5l

--HG--
extra : rebase_source : ab31719cb8e954dfc828644128f5ffd5da6f0e02
2017-04-15 18:53:51 -07:00
Kris Maglione 602cb201f5 Bug 1356826: Part 4 - Add Cu.isInAutomation and Cu.crashIfNotInAutomation helpers. r=bholley
MozReview-Commit-ID: ADqVqF2XraG

--HG--
extra : rebase_source : ea5df06eb9162f9f8c5816f49fb44d9f41947126
2017-04-15 14:23:58 -07:00
Kris Maglione 019432d333 Bug 1356826: Part 3 - Get rid of recursive last modified scan. r=rhelmer
This scan no longer serves a useful purpose in production, now that mandatory
extension signing requires manifest changes after update.

MozReview-Commit-ID: 817qRuyzL5P

--HG--
extra : rebase_source : bb85ac3c5da99e60e6b91267aea6779ad85f8c1b
2017-04-15 19:12:20 -07:00
Kris Maglione eb1fb3c686 Bug 1356826: Part 2 - Don't scan directories for changes at startup without pref. r=rhelmer
MozReview-Commit-ID: KdzmJeHpdmU

--HG--
extra : rebase_source : 1a1596a1578fc344c52861363df8f117e7319cc0
2017-04-15 19:48:29 -07:00
David Anderson 679a447659 Make sure to re-identify TextureFactoryIdentifiers when reinitializing rendering. (bug 1363126 part 6, r=rhunt) 2017-05-11 22:45:16 -07:00
David Anderson b76228bd31 Cut down on compositor spam after a device reset. (bug 1363126 part 5, r=rhunt) 2017-05-11 22:44:28 -07:00
David Anderson 1118ca109b Add crash annotations before handling device resets. (bug 1363126 part 4, r=milan) 2017-05-11 22:44:28 -07:00
David Anderson 42e57ec6d3 Remove old device reset and compositor swapping code. (bug 1363126 part 3, r=rhunt) 2017-05-11 22:44:28 -07:00
David Anderson 57800cc0bd Handle in-process device resets by recreating the entire rendering stack. (bug 1363126 part 2, r=rhunt) 2017-05-11 22:44:27 -07:00