Commit Graph

525076 Commits

Author SHA1 Message Date
Dustin J. Mitchell
d46264d259 Bug 1333255: and then there was only one Task class; r=jonasfj
Note that the to_json method prefers the taskgraph's dependencies information
(edges) to that from the task.dependencies entries. At a few points in
task-graph generation, these values differ, although that is expected (for
example, the full task set contains no edges, but that information is still in
task.dependencies). Unifying that representation leads to some difficulty with
task transforms that reach into the dependency tree (beetmover), so the
different representations are left as-is.

MozReview-Commit-ID: GeW8HNwFA9Z

--HG--
extra : rebase_source : 549773e05e18371a399612d9bceccffc29be8cf2
2017-03-09 23:14:30 -05:00
Dustin J. Mitchell
13461db882 Bug 1333255: handle when.files-changed at the job level; r=jonasfj
MozReview-Commit-ID: AbJcXu22dNP

--HG--
extra : rebase_source : 83e12588431d82260eccc6356207dabd4c85bae6
2017-03-09 15:16:25 -05:00
Dustin J. Mitchell
8bf935c9ee Bug 1333255: only apply seta optimizations for tests; r=jonasfj
MozReview-Commit-ID: FoIlgwBe4Gd

--HG--
extra : rebase_source : 93a206dc9df029c23514f11d75e349d897dd44bf
2017-03-09 14:45:12 -05:00
Dustin J. Mitchell
5c257e8656 Bug 1333255: replace uses of index_paths with optimizations; r=jonasfj
MozReview-Commit-ID: 1w8HVv94xoD

--HG--
extra : rebase_source : 9a2c0191595d7b759b45b8d49d2814ae983235b0
2017-03-10 20:20:50 +00:00
Dustin J. Mitchell
bf33dfcabd Bug 1333255: implement optimizations as named functions; r=jonasfj
MozReview-Commit-ID: 9xkHny7IYfA

--HG--
extra : rebase_source : 201cf73414aee4bab407c67cb95e08fd2b794ba5
2017-03-10 18:17:43 +00:00
Dustin J. Mitchell
4950be4e4f Bug 1333255: remove t.get_dependencies(); r=jonasfj
MozReview-Commit-ID: 1UF9yKXeRt7

--HG--
extra : rebase_source : f2fd8d2bafb36f88f490ff31e50550e7b1f423ef
2017-03-08 21:22:31 +00:00
Dustin J. Mitchell
a39d3b7ea3 Bug 1333255: use transforms to make docker image tasks, too; r=jonasfj
MozReview-Commit-ID: Eke3TjLbEfE

--HG--
extra : rebase_source : b91aa6733c26aed2f8f40de73dfef6ae863d1899
2017-03-08 20:52:13 +00:00
Dustin J. Mitchell
b0117f4f53 Bug 1333255: use normal old functions to load tasks; r=jonasfj
Instead of using a class's static method, use a simple function, specified by
the `loader` key.

MozReview-Commit-ID: IeOl9qiSCXf

--HG--
extra : rebase_source : 72e0a9dd8385b250a46c9f4adf8a8a0e5b01c156
2017-03-09 23:14:40 -05:00
Sebastian Hengst
c68fba9429 Backed out changeset 3550fcaeae31 (bug 1344926) for eslint failures. r=backout 2017-03-14 17:56:04 +01:00
Sebastian Hengst
bddc0f89eb Backed out changeset 5cbd00cc8a95 (bug 1344926) 2017-03-14 17:55:37 +01:00
Mike de Boer
a0f866cb8d Bug 1344926 - add a regression test to make sure themes are persisted across windows using the Theming API. r=mossop
MozReview-Commit-ID: BYatMSNBLiX

--HG--
extra : rebase_source : 40b04bc336a38c4bf5d20bbddc85fb5f350fa10f
2017-03-14 13:46:46 +01:00
Mike de Boer
fdb6b88228 Bug 1344926 - make sure that WebExtension theme data is persisted across windows when they open and image data is persisted to disk as well. r=mossop
MozReview-Commit-ID: 8ptioknMQ8r

--HG--
extra : rebase_source : d88dc44acfc6f1506960b8dcb80f2110adfcf265
2017-03-14 13:29:33 +01:00
Benjamin Bouvier
25786342d6 Bug 1346264: Fix debugging of ARM simulator float register debugging; r=nbp
MozReview-Commit-ID: 9rVbtqBLHjJ

--HG--
extra : rebase_source : cc0492d698f0430bbb2269742036038f3c8ec2f2
2017-03-10 17:20:56 +01:00
Mike de Boer
7ea0ef11e5 Bug 1343821 - remove Dynamic Skin Switching (DSS) support. r=mossop
MozReview-Commit-ID: 6KpCLiu4aUf

--HG--
extra : rebase_source : a6f178a89665480fdae7eadcffb0a1bb28ee2fa7
2017-03-14 17:00:29 +01:00
Sylvestre Ledru
c12eaea678 Bug 1346859 - Remove dead code found by clang-tidy in unix/nsOSHelperAppService.cpp r=froydnj
MozReview-Commit-ID: H8lanTsuNxX

--HG--
extra : rebase_source : ab3745d6de24a787c7ae80edb98bbc213425a38b
2017-03-13 18:09:02 +01:00
Brad Werth
8a94c7de5f Bug 1151421 Part 2: Add test of fractional scroll position properties. r=smaug
MozReview-Commit-ID: 4a8eQeJz7fV

--HG--
extra : rebase_source : 8d39a1dd41164610bb86c3340dd7fbe1a9a54857
2017-03-13 19:12:09 -07:00
Brad Werth
b8a9918a1c Bug 1151421 Part 1: Change Window scroll and offset properties to be doubles instead of ints. r=smaug
MozReview-Commit-ID: KeTokCIO5D9

--HG--
extra : rebase_source : 980eaf8ba3f6d4c502f9b86839ef637f4f5647c4
2017-03-02 13:01:31 -08:00
Carsten "Tomcat" Book
665079ba07 Backed out changeset 48c4281a7308 (bug 1343821) for eslint failures 2017-03-14 16:57:11 +01:00
Mike de Boer
51f74c0207 Bug 1343821 - remove Dynamic Skin Switching (DSS) support. r=mossop
MozReview-Commit-ID: 5kMWOGTsD2P

--HG--
extra : rebase_source : 3ebb47fe33286d0c144114d69b76cd8ea60d57da
2017-03-14 15:51:22 +01:00
Mark Banner
16d49e8c42 Bug 1086549 - Converting browser tests from removePage to History.remove. Patch by Yoric, updated by Standard8. r=mak
MozReview-Commit-ID: BdRCP6DOHZS

--HG--
extra : rebase_source : 7a0b94297aebc2cad6f34f2a541781f9227c7bc1
2017-03-08 20:39:05 +00:00
David Rajchenbach-Teller
2508d8532a Bug 1086549 - Converting Sync tests from removePage to History.remove. Patch by Yoric, updated by Standard8. r=markh
MozReview-Commit-ID: 3dZljFrvJUA

--HG--
extra : rebase_source : 355265e0dbdc169df308ba15212997373f781ea3
2014-10-24 14:57:02 +02:00
David Rajchenbach-Teller
0b5fb6a989 Bug 1086549 - Converting add-on sdk tests from removePage to History.remove. Patch by Yoric, updated by Standard8. r=mak
MozReview-Commit-ID: KjIyAi1aUg6

--HG--
extra : rebase_source : fec13cc3487d05534e519e04c1e45c248795c6e4
2014-10-28 11:59:51 +01:00
David Rajchenbach-Teller
4dbf22ea0f Bug 1086549 - Converting Places tests from removePage to History.remove. Patch by Yoric, updated by Standard8. r=mak
MozReview-Commit-ID: 4PjGxXYKjBe

--HG--
extra : rebase_source : 155effe7c3bc0519ae9be2319c720394fda35a84
2014-10-28 11:30:21 +01:00
Paul Rouget
0ae63d2433 servo: Merge #15795 - Let the embedder decide if servo should follow a link or not (from paulrouget:follow-link); r=asajeffrey
We want to give a chance to the embedder to handle a link itself.
Is it a problem that this will add a round trip to the main thread every time `load_url` is called?

---
<!-- 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 fix #15655

<!-- Either: -->
- [ ] There are tests for these changes OR
- [x] These changes do not require tests because I'm not sure how to test that

<!-- 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: 808ffffd1e8dab9ca6340a981b797434b34e2e36

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 667e921e89833af26350326ab50d27517fc29cb3
2017-03-14 07:22:23 -07:00
Julian Descottes
2d8239d579 Bug 1346781 - do not attempt to hide highlighters if currentNode is falsy;r=zer0
This commit updates part of the logic changed in Bug 1333714 (e3a0d990896d)
The hide method of the auto refresh highlighters were modified to allow
hide() to be called as long as the highlighter env window was still valid.

This could lead to calling hide on highlighters where show() had not been
previously called, slowing down closing the inspector for no reason.

This changes the hide() method to also bail out in case this.currentNode
is not truthy, which means show() was not called previously.

MozReview-Commit-ID: 4EOgjD6W2QB

--HG--
extra : rebase_source : acfcb14dc2e4098b035de23b1b09212e418cf2de
2017-03-13 22:15:12 +01:00
Andreas Tolfsen
0a39aafbd1 Bug 1340775 - Allow window position to be set to negative coordinates; r=maja_zf
It should be possible to set a window's position to a pair of negative
coordinates, since the user may move the window off-screen.  The window
may also be situated off-screen by default: for example a maximised
window on Windows will report window.screenX to be -8px.

Relevant change to the specification:

	https://github.com/w3c/webdriver/pull/805

MozReview-Commit-ID: FdReDi8pLL0

--HG--
extra : rebase_source : 08bb52e10ffec16a1414d336653990c8d9d7e1a8
2017-02-23 14:12:29 +00:00
Dão Gottwald
e094b1cffb Bug 1347113 - Use CSS outline instead of border for XUL checkbox focus ring. r=mikedeboer
MozReview-Commit-ID: 22QNiw0bKmw

--HG--
extra : rebase_source : 69f247d6920a8a2784028a840eb2125c42ef4908
2017-03-14 15:01:39 +01:00
Andrew McCreight
a83e44233a Bug 1346958 - Eliminate PickleIterator::operator= calls. r=kanru
MozReview-Commit-ID: BGJUt9NG3GX

--HG--
extra : rebase_source : 0eb1dfb289c009097357e99bd84dbc83f6755997
2017-03-13 14:24:45 -07:00
Carsten "Tomcat" Book
8fd069a1f2 Merge mozilla-central to autoland 2017-03-14 14:27:38 +01:00
Carsten "Tomcat" Book
dba578960e merge mozilla-inbound to mozilla-central a=merge 2017-03-14 14:23:03 +01:00
Carsten "Tomcat" Book
01be573810 Backed out changeset 8cd4168dbb04 (bug 1343330) for eslint failure 2017-03-14 12:43:21 +01:00
Yoshi Huang
e57e010266 Bug 1301649: Use MOZ_ASSERT_IF instead. r=smaug 2017-03-14 16:23:52 +08:00
Yoshi Huang
996e0349b3 Bug 1300671 - set firstPartyDomain on about: pages. r=smaug
When we load about:blank in a remote tab, it will have
LOAD_FLAGS_DISALLOW_INHERIT_PRINCIPAL flag set, which will make
NullPrinicipal as its document principal. So we add
NULL_PRINCIPAL_FIRST_PARTY_DOMAIN as its firstPartyDomain.

So when we load data:, or javascript: URI in a remote tab, it will inherit the
principal from about:blank, hence also inherit the origin attributes.

There are also some about: pages will use codebase principal, so we also
set ABOUT_URI_FIRST_PARTY_DOMAIN as firstPartyDomain on their
principals.
2017-03-14 16:22:02 +08:00
Dão Gottwald
906d239e2d Bug 1343330 - Use fast-forward and fast-rewind characters instead of skip-to-end and skip-to-start on Windows 7. r=Felipe
MozReview-Commit-ID: Lla9l6swSU3

--HG--
extra : rebase_source : 83adebe90eadbcc06f529d08537825ef9573871d
2017-03-10 14:16:56 +01:00
Zibi Braniecki
7cb5e257c7 Bug 1346617 - Add LocaleService::SetRequestedLocales. r=jfkthame
MozReview-Commit-ID: FrziO9fOs3R

--HG--
extra : rebase_source : a2f1b5c31317c80666fbda334ea7bfcef28397b6
2017-03-12 12:34:56 -07:00
Zibi Braniecki
fbfa4998fa Bug 1346819 - Port SanitizeAsBCP47 to LocaleService. r=baku,jfkthame
MozReview-Commit-ID: 2SXD5HaJPXr

--HG--
extra : rebase_source : 44404dfd577f13fde722ef5c13a29f853766786d
2017-03-13 08:31:43 -07:00
Julian Descottes
cf79db5800 Bug 1338106 - Add mask-image to fade out text of devtools-tabs;r=ntim
Also fixes a slight issue in firebug theme that made the text slide of
1 px down when selecting a tab.

MozReview-Commit-ID: KNm9Xf21p2D

--HG--
extra : rebase_source : 98728735c36446a116a5a2cb2306f39e5a72f21c
extra : source : c342d199c1397fbb66c3c6f70cfe42b5d3817cc2
2017-03-08 17:20:49 +01:00
Julian Descottes
1844f58db7 Bug 1338106 - reduce min width of devtools toolbar command buttons to 24px;r=ntim
MozReview-Commit-ID: 5SeQEWR11ow

--HG--
extra : rebase_source : f1b97d809c1c8bb8443563203f67bc95a01f97b5
extra : source : 02e8e28aeb7dde15c3a51f88b655ebe11d40b626
2017-03-08 11:50:42 +01:00
Julian Descottes
794ef92b1b Bug 1338106 - hide toolbox toolbar icons for narrow viewport;r=ntim
- remove text-overflow: ellipsis to maximize readable text
- add media query to hide toolbar icons when viewport width < 700px

MozReview-Commit-ID: 4HBFciWSuie

--HG--
extra : rebase_source : 64fde49c46c93f963ba073832d9f54902b078809
extra : source : d86ba00ee51ec5b1571009370a93f7ded5baa65b
2017-03-08 12:36:40 +01:00
Mark Banner
c26710ebe4 Bug 1311347 - Enable eslint of browser/components/sessionstore/. Manual fixes. r=jaws
MozReview-Commit-ID: AupJNLZJ2Ye

--HG--
extra : rebase_source : b9113d1ca913d399ca4e831f3c381e8fa45847bd
2017-03-13 10:32:03 +00:00
Mark Banner
4acba13973 Bug 1311347 - Enable eslint of browser/components/sessionstore/. Autofix changes. r=jaws
MozReview-Commit-ID: 5LKHbcmjSy

--HG--
extra : rebase_source : d7e4571dae5c5770c7908579d7634419382d78e2
2017-03-10 19:51:20 +00:00
Samael Wang
2c24eb7d2b Bug 1339707 - Replace NS_DispatchToCurrentThread to DocGroup / TabGroup dispatch method and set nsITimer target. r=smaug 2017-03-07 16:58:59 +08:00
Ya-Chieh Wu
c075f7b427 Bug 1338476 - Add "pdfium.enabled" as a pref for turning on/off mortar pdf. r=evelyn, r=Gijs 2017-03-13 19:57:00 +01:00
Chih-Yi Leu
ec60526d60 Bug 1315037 - Use NS_ENSURE_SUCCESS for nsresult diagnosis. r=erahm 2017-03-13 02:14:00 +01:00
JerryShih
13095d53aa Bug 1310681 - fix the missed closing parenthesis. r=me
MozReview-Commit-ID: Crsog4XJhW0
2017-03-13 11:54:00 +01:00
Timothy Nikkel
39e0784bbd Bug 1346510. Don't allow the surface cache to unlock the animated frames of an animated image (when discarding of animated images is disabled). r=aosmond
The pref has never been enabled, so this is quite surprising!

It is currently possible (and has been for quite a while) to discard animated images. All we need is the follow sequence of events.

1. Decode an animated image.
2. Move the animated image out of view (so it is not painted).
3. Call canvas.drawImage on the animated image (or anything else that asks for a first frame only decode). This creates a static entry in the surface cache for this first frame in addition to the animated entry. Because it is a static request we will also start a first frame decode. RasterImage::Decode calls SurfaceCache::UnlockEntries

https://dxr.mozilla.org/mozilla-central/rev/4ceb9062ea8f4113bfd1b3536ace4a840a72faa7/image/RasterImage.cpp#1166

and bam, the animated frames are now unlocked (even though the RasterImage, and it's entry in the surface cache is still locked).
4. Switch tabs, open about:memory and minimize memory to actual throw away the animated frames.
5. Switch back to the image tab, scroll the image back into view, it will not animate, it will just show the last composited frame forever.
2017-03-14 01:11:44 -05:00
Carsten "Tomcat" Book
fdb7f606e2 Backed out changeset 985d9b83325f (bug 1337043) for causing bug 1337043 2017-03-14 07:02:02 +01:00
L. David Baron
0d116bc3f9 Bug 1305754 - Don't rebuild the whole path in the rule tree when resolving style with replacement. r=heycam
MozReview-Commit-ID: HdNhDBnOS3u

--HG--
extra : transplant_source : %B1%CD%A5%21Tw%8A%E5%83E%DF%96%E6%7Cp%1A%20%AD%FD%17
2017-03-13 15:31:32 -07:00
Nicholas Nethercote
d4cea5f1de Bug 1346356 (part 4) - Clean up notification in the profiler. r=mstange.
This patch does the following.

- Introduces NotifyObservers() for the simple notification cases in
  platform.cpp.

- Removes profiler_lock() and profiler_unlock() because they do notifications
  that the profiler add-on no longer listens for.

--HG--
extra : rebase_source : 77a1868ba494dea314702bbdf9478a1da36c9efb
2017-03-14 10:03:33 +11:00
Nicholas Nethercote
b152707def Bug 1346356 (part 3) - Do most NotifyObserver() calls when gPSMutex is unlocked. r=mstange.
Calling NotifyObserver() with gPSMutex locked is a bad idea; arbitrary code can
run in observers, which can easily include code that calls other profiler
functions that themselves lock gPSMutex, causing deadlock. This has been seen
in practise with locked_profiler_stop().

This patch moves all but one of the NotifyObserver() calls in platform.cpp to
after the sections where gPSMutex is locked. The remaining call (for the
"profiler-subprocess") is harmless, because it just calls a simple callback
implemented within platform.cpp, and hard to move.

In the future we plan to allow profiler_start() and profiler_stop() to be
called from different threads. When that happens, it will be possible for the
"profiler-start" and "profiler-stop" notifications to arrive out of order.
Unfortunately this seems difficult to avoid. (Well, recursive mutexes would
make this problem much easier, but we don't have those...)

--HG--
extra : rebase_source : 78455c4b2d93a0d4110cdd401d6b542b641dd217
2017-03-14 10:03:33 +11:00