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

538598 Коммитов

Автор SHA1 Сообщение Дата
Evan Tseng 3399c6ee09 Bug 1367959 - Remove brandShortName from the string "… can improve &brandShortName; performance". r=jaws
MozReview-Commit-ID: FSewvreb330

--HG--
extra : rebase_source : 892647b896ccc7b4eb8adf86f60af7e1569aeb7f
2017-05-26 12:17:04 +08:00
Evan Tseng 2015314d61 Bug 1366252 - Include the URL of the support page in the error message of the no-results-found view of about:preferences search. r=jaws,mconley
MozReview-Commit-ID: 8WkMtMhN74B

--HG--
extra : rebase_source : 08de50da7c1030dfc34ad34b573cffa2c6c74a23
2017-05-22 15:26:16 +08:00
Nicholas Nethercote 5a6162c32d servo: Merge #17044 - Introduce and start using the MallocSizeOf trait (from nnethercote:MallocSizeOf); r=emilio
MallocSizeOf is similar to the existing HeapSizeOf trait from the
heapsize crate. The only difference is that MallocSizeOf's
malloc_size_of_children() function takes an additional MallocSizeOfFn
argument, which is used to measure heap blocks. This extra argument
makes MallocSizeOf match how Gecko's memory measurements work, and is
required for Stylo to integrate with DMD.

The patch also introduces a second trait, MallocSizeOfWithGuard, which
is much the same as MallocSizeOf, but with a |guard| argument for the
global style lock.

Finally, the patch uses the new traits to measure a small amount of
Stylo's memory usage.

---
<!-- 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: -->
- [ ] There are tests for these changes OR
- [X] These changes do not require tests because code is only for Gecko integration.

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

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 1d5dc4e7ab75e8e0332922396b5b55ed67c4572e
2017-05-28 21:10:25 -05:00
JW Wang a86c1434a6 Bug 1338635 - Declare |holder| before |atq| to ensure the destructor is run after |holder.Disconnect()|. r=gerald
Otherwise we might fail the assertion |!mRequest| in the destructor of MozPromiseRequestHolder.

MozReview-Commit-ID: HsVD2re0R7e

--HG--
extra : rebase_source : c023899d92501dd3e275000c9ef0eb50df117236
2017-05-29 09:38:14 +08:00
Makoto Kato d3b2a25a43 Bug 1342417 - ClearStyle should check that SplitStyleAbovePoint returns node. r=masayuki
SplitStyleAbovePoint can return null for split node, but we don't check it.
Also, this crash occurs on paste operation, so I think that there is 100% reproduce test.  But I cannot find it.

MozReview-Commit-ID: 69OlPTc0I9h

--HG--
extra : rebase_source : 61eea8af83e60cc4f9c6f25d2952d57d0fea1d05
2017-05-25 17:15:54 +09:00
Makoto Kato 75cfb3ee47 Bug 1356503 - Part 2. Replace nsWin32Locale::GetXPLocale with LCIDToLocaleName (webspeech part). r=eeejay
Since our platform support is Windows 7+, we can replace nsWin32Locale::GetXPLocale with LCIDToLocaleName.

MozReview-Commit-ID: Tboh4P6cLc

--HG--
extra : rebase_source : 7dd6614b0aca25e82d194d104409400e1cc6b4a8
2017-04-27 12:40:30 +09:00
Makoto Kato 07093fb065 Bug 1356503 - Part 1. Replace nsWin32Locale::GetXPLocale with LCIDToLocaleName (intl part). r=gandalf
Since our platform support is Windows 7+, we can replace nsWin32Locale::GetXPLocale with LCIDToLocaleName.

LCIDToLocaleName has LOCALE_SYSTEM_DEFAULT and LOCALE_USER_DEFAULT, so we should it simply.

MozReview-Commit-ID: 7JhhXayIK7S

--HG--
extra : rebase_source : d6579e94b8471c73d03c1ac08cdb4b8ab072bed5
2017-04-27 11:23:11 +09:00
JW Wang 80a1b6063a Bug 1367674. P2 - remove unused code. r=gerald
MozReview-Commit-ID: 5OHWP5rpiff

--HG--
extra : rebase_source : 723d07adf131912a73b81738b0b43e9d67673c6c
2017-05-25 15:42:35 +08:00
JW Wang 6f82ddffdf Bug 1367674. P1 - add templates to deal with CV and argument number correctly. r=gerald
MozReview-Commit-ID: 5qeSBDny6uc

--HG--
extra : rebase_source : 92530c9efd7cdaaf50fba56d423532546059f37e
2017-05-25 15:41:01 +08:00
Sebastian Hengst 8ee2c326d2 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: DFuSLSPqTVl
2017-05-29 00:51:05 +02:00
Sebastian Hengst ab557674e4 merge autoland to mozilla-central. r=merge a=merge
MozReview-Commit-ID: 2MWgC2ySf0i
2017-05-29 00:49:24 +02:00
Ehsan Akhgari b2b32dd799 Bug 1368272 - Rewrite test_bug534149.html to not rely on the dispatching order of WindowDestroyedEvent; r=mystor 2017-05-28 13:42:21 -04:00
Sebastian Hengst 3eaca355a1 merge mozilla-central to mozilla-inbound. r=merge a=merge 2017-05-28 18:47:51 +02:00
Sebastian Hengst 5941f01963 merge mozilla-central to autoland. r=merge a=merge 2017-05-28 18:46:28 +02:00
Sebastian Hengst f98a774379 Backed out changeset 645836bfad25 (bug 1361664) because bug 1365089 got backed out and this depends on it. r=backout 2017-05-28 18:45:28 +02:00
Sebastian Hengst a12aaca96d Backed out changeset 49714b590d48 (bug 1361664) 2017-05-28 18:44:50 +02:00
ffxbld 3724e0f28c No bug, Automated HPKP preload list update from host bld-linux64-spot-305 - a=hpkp-update 2017-05-28 08:15:02 -07:00
ffxbld c81b68804b No bug, Automated HSTS preload list update from host bld-linux64-spot-305 - a=hsts-update 2017-05-28 08:14:59 -07:00
Sebastian Hengst 66d9eb3103 Backed out changeset 9c7688e54e92 (bug 1365089) for breaking Android L10n nightlies. r=backout a=backout
MozReview-Commit-ID: FxH7nBskSNj
2017-05-28 16:53:10 +02:00
Jonathan Kew ee384ef57b Bug 1368249 - Create nsIFrame::AddProperty API for use when the property is known to not already exist, and use to optimize some call sites. r=mats 2017-05-28 13:16:55 +01:00
Sebastian Hengst 99f17a4e95 Backed out changeset 59c0589220ec (bug 1368249) unused function GetNormalPosition at nsIFrame.h:1073. r=backout 2017-05-28 15:38:15 +02:00
Jonathan Kew 1f8beade4e Bug 1368249 - Create nsIFrame::AddProperty API for use when the property is known to not already exist, and use to optimize some call sites. r=mats 2017-05-28 13:16:55 +01:00
Phil Ringnalda 914b992e95 Merge m-i to m-c, a=merge
MozReview-Commit-ID: CRhv88sOiOA
2017-05-27 21:29:31 -07:00
Phil Ringnalda 7a63ae191d Merge autoland to m-c, a=merge
MozReview-Commit-ID: 4AKIgYeFhIc
2017-05-27 21:28:38 -07:00
Phil Ringnalda c320343758 Bug 1352481 followup, set the preferences to enable the UI the tests search for, even on beta and release 2017-05-27 13:40:36 -07:00
Phil Ringnalda e1196fcb14 Bug 1362387 followup, mark the Linux DevEdition tests as tier-1 rather than letting them get the default tier-2 2017-05-27 12:07:34 -07:00
Jan de Mooij 3f318263fc Bug 1298139 - Make LoopUnroller code handle OOM correctly. r=nbp 2017-05-27 23:40:51 +02:00
Jan de Mooij b37455bce0 Bug 1364346 part 1 - Optimize Array.prototype.unshift fast path and use it more. r=anba 2017-05-27 23:39:55 +02:00
ffxbld 596d188f6d No bug, Automated HPKP preload list update from host bld-linux64-spot-308 - a=hpkp-update 2017-05-27 08:17:01 -07:00
ffxbld a7c347e651 No bug, Automated HSTS preload list update from host bld-linux64-spot-308 - a=hsts-update 2017-05-27 08:16:58 -07:00
Jan de Mooij a24f22ae22 Bug 1365518 - Fix polymorphic inlining to work correctly for functions that had their group/proto changed. r=shu 2017-05-27 16:29:46 +02:00
Sebastian Hengst 16741b1999 merge mozilla-central to mozilla-inbound. r=merge a=merge 2017-05-27 14:05:01 +02:00
Sebastian Hengst 0d62851e61 Backed out changeset 08b93bba921c (bug 1358117) for Android Nightly bustage. r=backout a=backout
MozReview-Commit-ID: IgiZGwOZ3tD
2017-05-27 14:01:55 +02:00
Sebastian Hengst 97eca2b15c Backed out changeset 44e144a782e1 (bug 1361664) for Android Nightly bustage. r=backout a=backout
MozReview-Commit-ID: L3hDVLxBkoJ
2017-05-27 14:01:07 +02:00
Sebastian Hengst bebf8c82cb Backed out changeset d289ee2c794d (bug 1361664)
MozReview-Commit-ID: gNRtEiyg7W
2017-05-27 14:00:27 +02:00
Jonathan Kew a8f81efd8e Bug 1365982 - Attach frame properties to each frame instead of looking them up in a hashtable on the prescontext. r=mats
--HG--
rename : layout/base/FramePropertyTable.cpp => layout/base/FrameProperties.cpp
rename : layout/base/FramePropertyTable.h => layout/base/FrameProperties.h
2017-05-27 12:36:00 +01:00
Sebastian Hengst d8e719c8a3 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: CEadD9RweN4
2017-05-27 10:00:59 +02:00
Samuel Vargas 8e0b9d6ceb Bug 1367570 - Explicitly set vertex attribs [1,3] to opaque black - r=jgilbert 2017-05-26 19:48:50 -07:00
Nathan Froyd d76955c52a Bug 1368099 - part 2- quote suggested Stylo paths on Windows; r=rillian
We install the tooltool packages to ${HOME}/.mozbuild by default, and
${HOME} may have spaces on Windows.  The arguments to the command-line
options need to be quoted appropriately.

DONTBUILD because NPOTB
2017-05-26 22:36:35 -04:00
Nathan Froyd 17c85c1c0d Bug 1368099 - part 1 - provide the correct --with-libclang-path suggestions; r=rillian
libclang.dll lives in the bin/ directory, not the lib/ directory.
2017-05-26 22:36:35 -04:00
Jeff Muizelaar 783be16285 Bug 1367147. Draw alpha masks to A8 surfaces and use them directly. r=jwatt
This can keep things on the GPU and makes it better for recording surfaces.
2017-05-26 22:32:24 -04:00
ohn0 e64bada746 Bug 1367062 - Change std::map to std::unordered_map in APZCTreeManager r=botond
MozReview-Commit-ID: yHXUFw2fx6
***
Bug 1367062 - Change std::map to std::unordered_map in APZCTreeManager
changed gfx/layers/FrameMetrics.h by adding a ScrollableLayerGuidHash class that will be used as the hashing function for std::unordered_maps which use ScrollableLayerGuid as keys.
changed gfx/layers/apz/src/APZCTreeManager.cpp by changing mApzcMap to a std::unordered_map.
changed gfx/layers/apz/src/APZCTreeManager.h by changing mZoomConstraints to a std::unordered_map.

MozReview-Commit-ID: JmoQzh1MvKK

--HG--
extra : rebase_source : cb7bd9419085f83873c9fd019c4a379fae0ee278
2017-05-26 19:41:13 -04:00
Manish Goregaokar cbeac5cf6f Bug 1341102 - Fix stylo heap analysis bustage ; r=bustage
MozReview-Commit-ID: HvjpMtB8VYL
2017-05-27 15:29:49 -07:00
Manish Goregaokar f588139b16 Bug 1367275 - Part 5: stylo: Support -moz-min-font-size-ratio; r=xidorn
MozReview-Commit-ID: xRxkFJodeK
2017-05-27 13:23:15 -07:00
Manish Goregaokar 15ca68fab4 Bug 1367275 - Part 4: stylo: Support -moz-context-properties; r=xidorn
MozReview-Commit-ID: 6eNeT6v8Nl6
2017-05-27 13:22:22 -07:00
Manish Goregaokar fa7f5ead89 Bug 1367275 - Part 3: stylo: Support font-variation-settings; r=xidorn
MozReview-Commit-ID: 41xVlR8GuOr
2017-05-27 13:22:14 -07:00
Manish Goregaokar 616a37d6b7 Bug 1367275 - Part 2: stylo: Support -moz-window-shadow; r=xidorn
MozReview-Commit-ID: LiYlfmaCfHH
2017-05-27 13:21:44 -07:00
Manish Goregaokar b61188e68e servo: Merge #17058 - stylo: Support remaning longhands (from Manishearth:stylo-randomprops); r=emilio
r=xidorn https://bugzilla.mozilla.org/show_bug.cgi?id=1367275

Source-Repo: https://github.com/servo/servo
Source-Revision: 369d5cf1242632efeb56278e18a5ea25a3c933a5

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 97e668f065ac48f4ec15be64d14f1e021e1dd288
2017-05-27 13:37:59 -05:00
Michael Layzell b0485183ce Bug 1365719 - Add a IPC_SYNC_RECEIVE_MS probe to record time taken to process sync IPC messages in the target process, dr=bsmedberg, r=ehsan
MozReview-Commit-ID: 4TOlSFX68Vn
2017-05-26 16:18:28 -04:00
Nathan Froyd 3be5437549 Bug 1364588 - part 5 - pass the checkout_root down to stylo package installation; r=rillian
This change ensures that when we're running bootstrap in standalone
mode, we find the correct mach to invoke.

DONTBUILD because NPOTB
2017-05-26 16:07:01 -04:00