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

545201 Коммитов

Автор SHA1 Сообщение Дата
Mike Hommey 19448fe709 Bug 1356701 - Export unprefixed malloc and duplication functions on OSX. r=njn
Going through the system zone allocator for every call to realloc/free
on OSX is costly, because the zone allocator needs to first verify that
the allocations do belong to the allocator it invokes (which ends up
calling jemalloc's malloc_usable_size), which is unnecessary when we
expect the allocations to belong to jemalloc.

So, we export the malloc/realloc/free/etc. symbols from
libmozglue.dylib, such that libraries and programs linked against it
call directly into jemalloc instead of going through the system zone
allocator, effectively shortcutting the allocator verification.

The risk is that some things in Gecko try to realloc/free pointers it
got from system libraries, if those were allocated with a system zone
that is not jemalloc.

--HG--
extra : rebase_source : ee0b29e1275176f52e64f4648dfa7ce25d61292e
2017-07-04 15:01:50 +09:00
Andrew McCreight 1b0c3c5f57 Bug 1100635 - Fix strict warning in xpcshell/head.js. r=cmanchester+432261
MozReview-Commit-ID: 3KktUF0n5GB

--HG--
extra : rebase_source : 8a560a3ebc3ad56c6011c01c0b8df71184887af6
2017-06-16 15:30:47 -07:00
Mike Hommey ed863255b4 Bug 1378592 - Remove MOZ_REPLACE_MALLOC_LINKAGE. r=froydnj
MOZ_REPLACE_MALLOC_LINKAGE was added back when there were problems with
getting weak references working properly for replace-malloc.

Versions of OSX < 10.6 needed flat namespace, but aren't supported
anymore.

Versions of Xcode < 4.5 required flat namespace + a dummy library in
order to produce proper weak references. There is virtually nobody still
building with such an ancient toolchain.

Keeping those around doesn't /really/ hurt, except recent versions of
Xcode don't expose dyldinfo in /usr/bin, used for the configure test.
Consequently, MOZ_REPLACE_MALLOC_LINKAGE ended up being set to use the
dummy library setup, which, by using flat namespace, now causes harm in
bug 1356701, causing bug 1378332.

--HG--
extra : rebase_source : e3edc1f2cf905943c33fafeb631f2f88fc87167e
2017-07-06 10:26:04 +09:00
Servo VCS Sync 3805d91f4d No bug - Revendor rust dependencies 2017-07-06 22:11:55 +00:00
Henrik Skupin 94ab53b2b8 Bug 1332122 - Add unit tests for navigating to file:// URLs. r=automatedtester
MozReview-Commit-ID: 7GAHkfuvMcB

--HG--
extra : rebase_source : 2ffa548b36c5411e1b62b2ab28d0b2b14fc05701
2017-07-05 20:24:48 +02:00
Henrik Skupin 618082fc0c Bug 1332122 - Re-register the browser for frame script reloads. r=automatedtester
With multi-processes for content reloads of the frame script
can happen at any time, and not only for remoteness changes.
As such the current browser has to be re-registered with the
new id of the listener.

MozReview-Commit-ID: 48MOZfuPTR9

--HG--
extra : rebase_source : 60e91ae7e1cdc942d0ac9a9dd3aac3baeccc5ddf
2017-07-06 18:02:19 +02:00
Henrik Skupin d373a550b4 Bug 1332122 - Remove unnecessary wrapper browser.startSession(). r=automatedtester
This wrapper just calls back into the MarionetteDriver, and
doesn't have any value. Removing it simplifies the call stack.

MozReview-Commit-ID: GH1xUHX12Xi

--HG--
extra : rebase_source : a3b9e57e63809c9936fdb2686ad6016339ea7bf7
2017-07-04 10:27:54 +02:00
Wes Kocher 3d5f9194a2 Backed out changeset fec394734f83 (bug 17624) for build bustage a=backout CLOSED TREE
MozReview-Commit-ID: 2UtyHapbBm8
2017-07-06 14:57:36 -07:00
Wes Kocher a9eb08898f Backed out changeset f220d8060c14 (bug 1352669) for build bustage CLOSED TREE a=bustage
MozReview-Commit-ID: INYGT4WT1pO
2017-07-06 14:56:06 -07:00
Wes Kocher a394cec826 Backed out changeset 40ac529f9ea0 (bug 1352669) for build bustage CLOSED TREE
MozReview-Commit-ID: GvzTtvlt4qi
2017-07-06 14:55:26 -07:00
Tom Ritter b1341f974a Bug 1370007 Generate Shaders on a MinGW Cross Compile on Linux r=dvander,ted
Bug 1365859 introduced a dependency on the Visual Studio binary 'fxc'
to generate Shader bytecode. This was unavailable when compiling for
Windows on Linux as part of a MinGW build.

This commit adds a configure check for fxc, and also searches for
fxc2, which was written (https://github.com/tomrittervg/fxc2) to be
a tiny application that wraps D3DCompileFromFile and can produce
similar (but not exactly the same) output as fxc.

fxc2 is compiled using MinGW for Windows, and runs under wine, so
we need to check for wine also.

Finally, fxc outputs some include information fxc2 doesn't, so
we will just change that assert to not take effect.

MozReview-Commit-ID: 8LVxuODi6cV

--HG--
extra : rebase_source : 39acca112f4cd9e6c39f7e47e7c55b13e7606824
2017-07-06 15:35:49 -05:00
Ed Lee 71c1682f50 Bug 1374768 - Location bar not focused immediately with remote/content about:newtab page. r=mconley
Share logic for checking for local-resource about: URIs with tabProgressListener and the switcher.

MozReview-Commit-ID: KnWkQN2fWdl

--HG--
extra : rebase_source : 9c3f15ba5e632f8f2dad46846c9d8c1a1032a87c
2017-06-20 12:56:35 -07:00
Josh Matthews decbe41e0b Bug 1352669 - Address failing CSS parser error tests.
MozReview-Commit-ID: KfcpLYLIIve
2017-07-06 13:20:59 -07:00
Josh Matthews 723b20d420 Bug 1352669 - Hook up Stylo CSS parser to Gecko error reporter.
MozReview-Commit-ID: 3r5Z6KiPgRM
2017-07-06 13:15:08 -07:00
Gregory Arndt ddab8f5b49 Bug 1377770 - Mac OS X Cross compiled nightly builds should be tier 1 r=Callek
MozReview-Commit-ID: ZohVcuU6gl

--HG--
extra : rebase_source : 3e7ad694487440e38085bf44dc3443fde8863e49
2017-07-06 14:56:53 -05:00
Servo VCS Sync 2ec3ffd285 No bug - Revendor rust dependencies 2017-07-06 20:05:14 +00:00
Josh Matthews 92d672a66c servo: Merge #17624 - Hook up Stylo error reporter to Firefox devtools (from jdm:stylo-error-reporter); r=emilio
Reviewed by @emilio in https://bugzilla.mozilla.org/show_bug.cgi?id=1352669.

---
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [X] There are tests for these changes

Source-Repo: https://github.com/servo/servo
Source-Revision: 585468da9a2d7a33f41a8bebe858006305c1fce9

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : ba88b6479a6f84a44ca584a5fbf8265d1bdb91fe
2017-07-06 11:44:47 -07:00
Pyfisch 97c9d22257 servo: Merge #17578 - Implement the InputEvent (from pyfisch:input-event); r=jdm
Add WebIDL, from UI Events working draft.
Implement script type for event.

Note that actually firing InputEvents is not part of this commit.

<!-- Please describe your changes on the following line: -->
As part of my effort to improve [keyboard handling](https://groups.google.com/forum/#!topic/mozilla.dev.servo/e6R7eBDjo4M) it is necessary to introduce the InputEvent. While I have a working prototype using the input event this still needs a lot of work  before it can be merged into servo.

cc @jdm

Source-Repo: https://github.com/servo/servo
Source-Revision: f18782fb0e10e150f44719d9899a62b84ecb7adc

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 4da4bcf2ccaeeaf32c4912c2c5e4418def105068
2017-07-06 10:55:41 -07:00
Grigory Kruglov 23ac3c24fa Bug 1363521 - Extract query length only for hierarchical uris during highlights ranking r=sebastian
MozReview-Commit-ID: V9cYiuPm4R

--HG--
extra : rebase_source : c7d582dcd3d15e003dd7a7d44400f46a1e9c1a68
2017-07-05 18:53:46 -04:00
Grigory Kruglov 03a3af91e7 Bug 1363521 - Pre: update comment describing current state of bookmark creation date r=sebastian
MozReview-Commit-ID: IkrJK4BfwLb

--HG--
extra : rebase_source : 744da49e02460b1988cd91548305565d33214670
2017-07-05 18:52:59 -04:00
Nico Grunbaum 91a00d57b9 Bug 1374465 - add framesDecoded to vid inbound stream stats;r=jib,smaug
MozReview-Commit-ID: GqbcQxOb69r

--HG--
extra : rebase_source : 9e25ffed93b6685c9c1848bc0d2642a4b8cda579
2017-07-03 14:17:40 -07:00
Kyle Machulis 37abc6d73b Bug 1378537 - Store PerformanceEntry objects in AutoTArray; r=smaug
Storing PerformanceEntry objects in an AutoTArray (currently sized to
match our limit for resource timing entries) should omit some
per-entry allocations and give us a small speedup with creating
entries in tight loops.

MozReview-Commit-ID: LNgVhMn461g

--HG--
extra : rebase_source : 10250c2fad5ebaf0e89bf9759d157b7d1d855ffa
2017-07-05 15:15:08 -07:00
Ed Lee c0cd581fab Bug 1378478 - Test AutoMigrate undo only for non-activity-stream about:newtab. r=Gijs
Prefer testing on about:home and tiles about:home while activity-stream prefs on (without AutoMigrate).

MozReview-Commit-ID: 3zmm8VGKnYW

--HG--
extra : rebase_source : a88c8193807b283b037b6c14ba93ad78a5036cf9
2017-07-05 12:20:05 -07:00
Marco Bonardo ce21419923 Bug 1356812 - Use telemetry to report unfixable corrupt Places databases. r=bsmedberg,past
MozReview-Commit-ID: EZKfMlnCKCf

--HG--
extra : rebase_source : a52d57e9775d680d310688a158997b913ae3a554
2017-06-23 18:15:46 +02:00
Mark Hammond 0b5dba6e10 Bug 1378669 - blank tab may be opened on FxA 'collection changed' notification. r=eoger
MozReview-Commit-ID: Lm3iCVO6slq

--HG--
extra : rebase_source : d9ffb315d6864d000712f47055984aa00cef01ad
2017-07-06 16:31:57 +10:00
Dão Gottwald 39bfd8a14a Bug 1377794 - Make the identity block background darker when active/open and hide the focus outline when clicked. r=daleharvey
MozReview-Commit-ID: F1hiDzoTRWf

--HG--
extra : rebase_source : b4099a88c8cf0a570c9f7ca5beee5b9ff5a879b8
2017-07-06 09:37:19 +02:00
Sebastian Hengst 7f761bf821 Backed out changeset f3fc2ea88f60 (bug 1378794) for failing browser/components/extensions/test/browser/browser_ext_popup_corners.js. r=backout 2017-07-06 18:33:55 +02:00
Sebastian Hengst b90c33261c Backed out changeset ff995f2f71f2 (bug 1378313) for frequently failing test_accessiblecaret_cursor_mode.py on Linux opt. r=backout 2017-07-06 18:33:05 +02:00
Fernando Jiménez Moreno e78edcc736 servo: Merge #17536 - Add cli options to write profiler output to InfluxDB (from ferjm:influxdb.profiler); r=jdm
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors

This patch adds the command line options and associated code to write the output of running the profiler to an InfluxDB instance, so we can create graphs like [1] with Grafana.

This is part of the work required to record and watch PWM results during CI to catch performance regressions.

[1] https://screenshots.firefox.com/j6sSZrN7pTuPK2kX/localhost

Source-Repo: https://github.com/servo/servo
Source-Revision: 901525c9116ee0945781811c97fd3395db7c5cf9

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 85f6a2600bc0911bfc0167fab230c7c45ddfbe59
2017-07-06 08:27:55 -07:00
J. Ryan Stinnett 0338ac2a6a Bug 1371457 - Update animation restyle tests. r=hiro
Update the various animation restyle tests to check the new animation only data
inside the restyle marker.

MozReview-Commit-ID: HEe8x45IhHj

--HG--
extra : rebase_source : fdaa5855e94d68ce2a70d00fde11582c9a538f45
2017-06-29 10:14:31 -07:00
J. Ryan Stinnett ba1293b3ca Bug 1371457 - Add restyle markers for Stylo. r=bholley,gregtatum
Add restyle markers to `PrepareAndTraverseSubtree` to cover both initial styling
and part of the work of restyling.  Also add restyle markers around the post
traversal work in `DoProcessPendingRestyles`.

A new marker is also added around the change hint processing after the post
traversal.

MozReview-Commit-ID: 43PSyCJLikR

--HG--
extra : rebase_source : 923dd3d5526a7d68ab08f86e6dc233c9c61fa97f
2017-06-28 12:03:18 -07:00
J. Ryan Stinnett 9679cb9dce Bug 1371457 - Change restyle marker data to animation state. r=bholley,gregtatum
Stylo doesn't have a good equivalent for restyle hints to expose in markers and
the ones exposed for Gecko aren't very accurate either, so we don't want to
expose the restyle hint anymore.

At the same time, several animation restyle tests currently use the hint inside
the marker to check when animation-only restyles have happened.  We can preserve
this by changing the data inside the marker to be a flag for whether the restyle
is animation only, which we know for both Gecko and Stylo.

MozReview-Commit-ID: 8L8KU8Ush7P

--HG--
extra : rebase_source : 4eef80653c1ef79ee1539d27fe6a70fbfaf441ad
2017-06-28 11:59:28 -07:00
Mark Banner c9a26d830e Bug 1378831 - Remove ESLint rules in that are duplicate of the global ones for satchel. r=MattN
MozReview-Commit-ID: 8rffkhaX7r4

--HG--
extra : rebase_source : 9622232774cf2fd4f154c8800cb6f8e2ca8465ac
2017-07-06 16:42:06 +01:00
Tom Ritter 70e18ce213 Bug 1377605 Cast -1 to DWORD to correctly match the error return value given by SuspendThread r=aklotz
MozReview-Commit-ID: 5XHgkpQJQKY

--HG--
extra : rebase_source : 92d963e3415840eebbe47bf835ec6fb20489d908
2017-07-03 16:07:25 -05:00
Imanol Fernandez c4a8ed197a servo: Merge #17608 - WebVR 1.1 spec compatibility (from MortimerGoro:webvr_11); r=jdm
<!-- Please describe your changes on the following line: -->

Servo WebVR implementation started when WebVR spec 1.2 was about to be released. 1.2 API included some minor breaking changes from spec 1.1 in order to improve the support of the API in WebWorkers.

But eventually the WebVR  committee decided not to release 1.2 and make it a major version number with a lot more changes. WebVR API 2.0 is still under heavy churn.

This PR removes the WebVR changes that non-released 1.2 version introduced to support full WebVR 1.1 spec.

I pushed some GC fixes in a separate commit. See https://github.com/servo/servo/issues/17076 and https://github.com/servo/rust-mozjs/issues/351

---
<!-- 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
- [ ] These changes fix #__ (github issue number if applicable).

<!-- Either: -->
- [x] There are tests for these changes OR
- [ ] These changes do not require tests because _____

<!-- 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: ddd3a15b50213931ad7c90312112275ae958d4a0

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 14a624d4b94d52fbea42e8eec2cc239cc7b3d271
2017-07-06 07:25:57 -07:00
Mike de Boer e8b2ce52aa Bug 1378794 - Dispatch the 'ViewHide' event on the correct, current panelview when a temporary panel is destroyed. r=Gijs
MozReview-Commit-ID: HXjGJJGChUz

--HG--
extra : rebase_source : 6f8cbc26a210cdd8e7d719cdfab9216d05b45cf4
2017-07-06 16:36:24 +02:00
Andrew Halberstadt fbede0d83d Bug 1361972 - Add a pre-push and pre-commit mozlint hooks r=standard8
This adds pre-push and pre-commit hooks for both hg and git. All
four possibilities are implemented in the same file.

To enable a pre-push hg hook, add the following to hgrc:

    [hooks]
    pre-push.lint = python:/path/to/gecko/tools/lint/hooks.py:hg


To enable a pre-commit hg hook, add the following to hgrc:

    [hooks]
    pretxncommit.lint = python:/path/to/gecko/tools/lint/hooks.py:hg


To enable a pre-push git hook, run the following command:

    $ ln -s /path/to/gecko/tools/lint/hooks.py .git/hooks/pre-push


To enable a pre-commit git hook, run the following command:

    $ ln -s /path/to/gecko/tools/lint/hooks.py .git/hooks/pre-commit


MozReview-Commit-ID: DUxCKN2fiag

--HG--
extra : rebase_source : 67c97a3fd8adc50d6bb3c488345077065b63de7d
2017-06-30 18:29:42 -07:00
Andrew Halberstadt 6e2032d8c4 Bug 1361972 - [mozlint] Add ability to only lint staged changes to --workdir with git r=standard8
MozReview-Commit-ID: DUxCKN2fiag

--HG--
extra : rebase_source : 11bb7808c7d0f1c02eaea93dc61723d17e921eeb
2017-06-30 18:29:31 -07:00
Mike de Boer 7c75a303b6 Bug 1378790 - Remove keyboard navigation event listeners when a photonpanelmultiview instance is destroyed. r=Gijs
MozReview-Commit-ID: JcAUwLClq7M

--HG--
extra : rebase_source : 004bfd1962f52e910226fb3ff2a4ad83eb93e425
2017-07-06 16:30:07 +02:00
Ionut Goldan 8205e8064d Bug 1355934 - transform tpaint into a Pageloader test r=jmaher
MozReview-Commit-ID: J3iZDRp14Br

--HG--
extra : rebase_source : ab5218f0bbbd8f65a6e68219f0706c0bef0f3192
2017-06-28 11:40:38 -07:00
Jan Odvarko 5bfbba28c6 Bug 1378738 - Stop using sdk/window/utils in Netmonitor; r=rickychien
MozReview-Commit-ID: 4Z4pDHxhbZN

--HG--
extra : rebase_source : febe5d1737f7d80711aa890065308dd9422236d7
2017-07-06 14:27:10 +02:00
Haik Aftandilian 2b08986be1 Bug 1332190 - [Mac] Enable level 3 Mac content sandbox, removing filesystem read access. r=Alex_Gaynor
MozReview-Commit-ID: JR624YV4Cns

--HG--
extra : rebase_source : 2910f903abfcb0f4200313e200f84d5fe232f005
2017-06-27 13:00:20 -07:00
Munro Mengjue Chiang 8937814170 Bug 1374640 - always prompt for screen sharing. r=florian,jib
MozReview-Commit-ID: FJvuf2XVZXJ

--HG--
extra : rebase_source : 4c4b00c1128448da6c0d73b032d8629b80ff01c3
2017-06-29 15:50:30 -07:00
Gijs Kruitbosch 49915f0bcd Bug 1370967 - close containing popup when clicking a non-popup browser action, r=mixedpuppy
MozReview-Commit-ID: HkdV5FUPnDV

--HG--
extra : rebase_source : d682fbdb4f0015a2d0371adc4aae7daa94868384
2017-07-03 17:14:58 +01:00
Ted Mielczarek 20e3bc272b bug 1376593 - update sccache to 69334a26ba65fc88e3934271a2ce6781c51b445e to fix a regression. r=froydnj
MozReview-Commit-ID: E1WQIZ7RLIF

--HG--
extra : rebase_source : 923b606ebf149a2c6c91623db85e46621494d7c8
2017-07-05 15:41:45 -04:00
Omar Akkila b9f8728410 servo: Merge #17620 - Clean up Area::parse (#15834) (from omakk:master); r=nox
Replace mutable reference to array with direct use

Remove unnecessary clone

Replace call to unwrap()

<!-- Please describe your changes on the following line: -->
This PR refactors `Area::parse` in `component/script/dom/htmlareaelement.rs`

---
<!-- 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 #15834  (github issue number if applicable).

<!-- Either: -->
- [ ] There are tests for these changes OR
- [X] These changes do not require tests because it's good enough that it compiles

<!-- 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: 4a66001d2fe61bcbbf095ca6b8a275add3d01175

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : cd9f9ca4149cd2278079a5475ead3d3ede91bcb0
2017-07-06 04:37:00 -07:00
Sylvestre Ledru 7417414e45 Bug 1378737 - Add third_party/rust to the ignore list r=andi
MozReview-Commit-ID: 8bSAV29VY9F

--HG--
extra : rebase_source : 47d77b7da5b34aa00ea611b2d5039195f3f88769
2017-07-06 13:55:46 +02:00
Dão Gottwald 9013d94b3a Bug 1378313 - Fix up bogus code showing the reload button as enabled when it's disabled. r=johannh
Bug 1376893's approach is wrong in various ways:

- It shows the reload button as enabled for about:blank

- The disabled state styling is implemented in browser/themes/shared/toolbarbuttons.inc.css, and could be implemented differently. browser/base/content/browser.css should not depend on theme specifics.

- :not(:-moz-window-inactive) only begins to make sense on Mac, and obviously prevents the fix from taking effect in inactive windows

MozReview-Commit-ID: Dfh6VbirwPe

--HG--
extra : rebase_source : c08ddb408c2316bf957cffeed7ff12ffbb02bd0c
2017-07-06 12:32:29 +02:00
Carsten "Tomcat" Book 2b2178d5fa Backed out changeset f49a21b8b4bd (bug 1378313) for perma failurs like browser_temporary_permissions_navigation.js | Test timed out
--HG--
extra : rebase_source : a370cac0ac5683b90e5efcd3113a5ee8b7d13286
2017-07-06 12:24:17 +02:00
James Cheng 759a5057e8 Bug 1377193 - Add the m3u8 and media contents into gecko and add one general test case run only on Fennec for testing HLS. r=jwwang
MozReview-Commit-ID: 8cwQlcah2H8

--HG--
extra : rebase_source : 29398ab3557ad6f2ed6c4aafc7be6dbd8eca8cc8
2017-07-01 04:41:57 +08:00