Commit Graph

554716 Commits

Author SHA1 Message Date
Xavier ALT
7e2ea48a18 Bug 1389956 - extract clang format diff command generation into its own method r=sylvestre
MozReview-Commit-ID: 8kbZcfMBe4J

--HG--
extra : rebase_source : 77a38c8812075c0d8258d427eb11827be51bfac1
2017-08-23 00:24:23 +02:00
John Lin
56439aeab2 Bug 842782 - p4: enable fullscreen video orientation lock for Fennec nightly. r=jwwang
MozReview-Commit-ID: 5rYK7mjJrBr

--HG--
extra : rebase_source : c0cd58f2a56b08db923d9cd8f9fdff4b74404a76
2017-08-25 14:26:51 +08:00
John Lin
34072a9299 Bug 842782 - p3: lock fullscreen video orientation. r=ralin
- if enabled, lock orienation when fullscreen state change
- use video aspect ratio to choose which orientation to lock

MozReview-Commit-ID: 3HP60YNbWcc

--HG--
extra : rebase_source : 0ca078e35324d1e5f3bdf1ec29d33b3bc812bfa1
2017-08-17 11:07:13 +08:00
John Lin
ae733d5007 Bug 842782 - p2: introduce attributes for orientation lock to video element. r=jwwang,smaug
MozReview-Commit-ID: odq1y9qH1

--HG--
extra : rebase_source : 65daa7bde05ceee01704bb3677c5511c39c20848
2017-08-25 14:23:03 +08:00
John Lin
d3de182650 Bug 842782 - p1: add a pref for fullscreen video orientation lock. r=jwwang
MozReview-Commit-ID: 6x7um7F8omr

--HG--
extra : rebase_source : b7d11f01d19b32ce226814a0d25553d934715264
2017-08-25 14:25:49 +08:00
Fischer.json
275e54138e Bug 1392822 - change the Library tour action button title to "Show Library Menu", r=gasolin
MozReview-Commit-ID: JRX5UdkAFb4

--HG--
extra : rebase_source : 10e2e8cbd7049c6824bbb46bee8fe3d490cc1476
2017-08-25 13:11:02 +08:00
gasolin
0aa8c1c93b Bug 1392468 - [Onboarding] replace icon and change to the new position;r=Fischer
MozReview-Commit-ID: JHtE1Kbr2sk

--HG--
extra : rebase_source : de040121f6c50e714cf556cc6ee47f510bd3e414
2017-08-22 11:00:01 +08:00
Hiroyuki Ikezoe
4d732c07c7 servo: Merge #18265 - Don't fallback to discrete animations within animate() (from hiikezoe:dont-fallback-to-discrete-animation); r=birtles
<!-- Please describe your changes on the following line: -->

https://bugzilla.mozilla.org/show_bug.cgi?id=1394287
---
<!-- 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

Source-Repo: https://github.com/servo/servo
Source-Revision: 478da86bb94fad9738ec368174caf849e2c6d72d

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : a4c810378418c350026e49abe0003d701dd25fbb
2017-08-28 00:29:36 -05:00
Andrew Swan
1e8af6f7ac Bug 1393156 Legacy extension test loose ends r=kmag
Change webextensions experiments test to use the shimmed certficiate DB
instead of the extensions.legacy.enabled pref.
In builds that don't honor the extensions.legacy.enabled pref, disable
test_legacy.js since that tests that flipping that preference works properly.
Finally, remove a now doubly-obsolete test of plugins embedded in xpis.

MozReview-Commit-ID: JiRdgCXyjKR

--HG--
extra : rebase_source : f0c7672b0755993bd20f9fc84e242eb76cb949ef
2017-08-26 08:55:20 -07:00
Andrew Swan
87cbc6d4ab Bug 1393156 Update signing tests r=kmag
test_signed_migrate.js was about migrating from a build that does not
enforce signatures to one that does.  This migration happened a while
ago so we can just get rid of this test.
test_signed_inject.js uses signed legacy extensions and needs to be
udpated to use webextensions, this is bug 1394122.

MozReview-Commit-ID: GYq002YroDk

--HG--
extra : rebase_source : a9c5441e55a52f4a98dbb06781588af13915cb8f
2017-08-26 11:23:40 -07:00
Andrew Swan
1788d7bbb5 Bug 1393156 Update addon DB rebuilding test cases r=kmag
Update a bunch of tests that cover rebuilding the addons database to use
webextension themes instead of complete themes.  Discovered bug 1394117
along the way and disabled a bunch of code pending fixing that bug.

MozReview-Commit-ID: AfXL9vcQGvK

--HG--
extra : rebase_source : a05ccff9b54838684a26c3139557c75b12c33028
2017-08-26 10:59:37 -07:00
Andrew Swan
fa51ae0210 Bug 1393156 Remove addons manager tests specific to complete themes r=kmag
MozReview-Commit-ID: 7D7k2q3x8v9

--HG--
extra : rebase_source : 9cb056778fb2b0aab4e06f1d95f02dc6fdf9f09b
2017-08-26 08:57:56 -07:00
Andrew Swan
571fc93177 Bug 1393156 Remove obsolete theme compatbility override feature r=kmag
MozReview-Commit-ID: GGxmjMO1HCN

--HG--
extra : rebase_source : e1c1fbbd5c3f6ce3752f5735431600f4012eaa59
2017-08-26 08:03:36 -07:00
steveck-chung
a09b5e2b1f Bug 1393745 - [Form Autofill] Wrap up masterpassword decrypt API in FormAutofillHandler. r=lchang
MozReview-Commit-ID: LZdwhmmJcFD

--HG--
extra : rebase_source : ab18a13a94ac517247ccc13290cae3c48e749745
2017-08-25 19:28:47 +08:00
Luke Chang
5ac18533e6 Bug 1394075 - [Form Autofill] Preview decrypted credit card numbers when MasterPassword isn't set. r=steveck
MozReview-Commit-ID: 3CBSXW72CM3

--HG--
extra : rebase_source : 37fb133a9872711b5d0eb646a4dfad0e054c6218
2017-08-25 19:57:23 +08:00
Luke Chang
d68dfbb622 Bug 1393083 - [Form Autofill] CJK names should be combined in the order: familyName + givenName. r=steveck
MozReview-Commit-ID: DnRKx60dsUX

--HG--
extra : rebase_source : 901896856578c4bfec5f67f4f53b882b60df2f70
2017-08-23 23:42:52 +08:00
Jing-wei Wu
61419e0e10 Bug 1389164 - Support new lightweight theme design on Photon. r=nechen,walkingice
We use an extra mask for url bar to make url text more clear.

MozReview-Commit-ID: D4ngrRdAof6

--HG--
extra : rebase_source : 4654058e6d966a033c816c3b47140ac8f607d7ed
extra : source : 0608e38913d521899ecc3d907167984ef22816cd
2017-08-28 11:41:20 +08:00
Glenn Watson
8c39813958 servo: Merge #18264 - Update WR (debugger, renderer API changes) (from glennw:update-wr-api); r=KiChjang
Source-Repo: https://github.com/servo/servo
Source-Revision: e53bf5d675e195b6bf69e1c78fbb552b3daa80f6

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 745f48c202bdaeb687e8ed8fab3a9110b94b02ee
2017-08-27 23:14:05 -05:00
Mantaroh Yoshinaga
c042d7aeea Bug 1366603 - Wait for rAF before waiting the MozAfterPaint in test_deferred_start.html. r=hiro
This test called waitForPaints() after creating an animation, but waitForPaints()
didn't wait for a MozAfterPaint event actually since
DOMWindowUtils.IsMozAfterPaintPending which is checked a MozAfterPaint event has
been queued return false[1]. (i.e. This test didn't wait for a MozAfterPaint)

This is related to bug 1341294. If gecko can receive a MozAfterPaint
corresponded to own paint, waitForPaint() does not need to check for
DOMWindowUtils.IsMozAfterPaintPending.

This patch is a workaround until bug 1341294 is resolved.

[1] http://searchfox.org/mozilla-central/rev/5696c3e525fc8222674eed6a562f5fcbe804c4c7/testing/mochitest/tests/SimpleTest/paint_listener.js#60

MozReview-Commit-ID: 6Rnv8MBP6Se

--HG--
extra : rebase_source : 052f62b01df819961040f6652954e1068f86fc47
2017-08-28 08:01:31 +09:00
Scott Wu
29964f05bb Bug 1393001 - Fix edit address dialog form layout problems. r=lchang
MozReview-Commit-ID: 9nWODMbh0SV

--HG--
extra : rebase_source : 5151adc95947945adff23ddc29068f306e67d490
2017-08-25 16:42:06 +08:00
steveck-chung
337903a6e7 Bug 1371113 - Part 3: Add mochitest for credit card doorhanger. r=lchang
MozReview-Commit-ID: A8dawwdJrV2

--HG--
extra : rebase_source : 42eab85f76f8e539a2c9f7a7de345e2fcd139c1b
2017-08-23 19:24:31 +08:00
steveck-chung
a4082ff92b Bug 1371113 - Part 2:Show doorhanger and save/disable credit card. r=lchang
MozReview-Commit-ID: EcAL3ANrrGb

--HG--
extra : rebase_source : 2b6ca63dfd47409e06491dd9988f734420849f32
2017-08-09 15:43:28 +08:00
steveck-chung
5880b7fad7 Bug 1371113 - Add credit card doorhanger. r=lchang
MozReview-Commit-ID: 6qIDgmfLNJC

--HG--
extra : rebase_source : 2603de69a897a327f0b30dc4e07027351db2a2de
2017-08-02 16:16:42 +08:00
Masayuki Nakano
1c17ef6f96 Bug 1393816 - part2: Selection::SetBaseAndExtent() should use mCachedRange if it's available r=smaug
Similar to Selection::Collapse(), if mCachedRange is available,
Selection::SetBaseAndExtent() should use it rather than creating new nsRange
instance.

Then, it can reduce the allocation cost and may reduce some other cost, e.g.,
adding it to mutation observer.

MozReview-Commit-ID: InQQusw2KMc

--HG--
extra : rebase_source : 967f0d4ad2b7bc706e417af547bbbb21e5f54306
2017-08-26 00:12:38 +09:00
Masayuki Nakano
5c2c570f9b Bug 1393816 - part1: Cache a range until new range is created in Selection r=smaug
When setting value of <input type="text">, nsTextEditorState removes all
ranges of normal selection first.  Then, TextEditor sets the value.  Finally,
TextEditor collapses the selection at the end of the text.

In bug 1386471, we got that there are some problems to remove the call of
Selection::RemoveAllRanges() in nsTextEditorState.  Therefore, we need another
approach to improve Selection::Collapse().

The approach of this patch is, when removing all ranges from normal selection,
Selection can cache an nsRange instance if there is an instance which is not
referenced from other than the Selection (i.e., it'll be removed when
Selection::Clear() is called).  Then, Selection::Collapse() can reuse it.  With
this fix, Selection::Collapse() can reduce allocation cost and may reduce some
other cost like adding it to mutation observer.

However, keeping nsRange instance may cause increasing mutation observer's cost
since nsRange will be adjusted its start node/offset and end node/offset with
mutation observer to guarantee that the range is always valid.  So, we can
cache such range only when the caller (or its callee) will set selection range
later.  Therefore, this patch adds Selection::RemoveAllRangesTemporarily()
and make only nsTextEditorState::SetValue() and
ContentEventHandler::OnSelectionEvent() use it.

MozReview-Commit-ID: FjWrbz4S1ld

--HG--
extra : rebase_source : 83677640525e0b1a84bdd7fce63ff4704b9cc22b
2017-08-25 19:21:39 +09:00
JW Wang
470f887d6d Bug 1393369. P4 - remove MediaSourceResource::GetCurrentPrincipal(). r=gerald
MozReview-Commit-ID: J96wBGLBQ45

--HG--
extra : rebase_source : 269edf22f54b0a81331c7b3c8b264a350cac1a91
extra : source : daddcd406a1f61cae957ba941247d602a1f7d3bf
2017-08-24 17:13:03 +08:00
JW Wang
17c492ee07 Bug 1393369. P3 - remove unused code. r=gerald
MozReview-Commit-ID: IFxx8AEdDju

--HG--
extra : rebase_source : 83be99a6fd1514d1ffff469418cde3a2ac38b935
extra : source : b13cdacfa389d5ef6b349e1e030e2bdff2b92f98
2017-08-24 17:04:59 +08:00
JW Wang
db3e1718f7 Bug 1393369. P2 - remove MediaResource::GetCurrentPrincipal(). r=gerald
MozReview-Commit-ID: 9as5ya2xXdL

--HG--
extra : rebase_source : 7141cec4f3e9c38253b85e71d3b5efe5a5d7dddd
extra : source : 9d9f1de4db95a353040f7c7c484e7d9d79f275fa
2017-08-24 17:01:08 +08:00
JW Wang
59d7107e86 Bug 1393369. P1 - virtualize MediaDecoder::GetCurrentPrincipal() so the sub-classes know how to calculate the current principal. r=gerald
MozReview-Commit-ID: EOUtPE4hfgO

--HG--
extra : rebase_source : d15166e373fdd3a8490e2c794215aeb2551a7397
extra : source : 5f627ea709d24c8b7c5ddd0115524ef734378e66
2017-08-24 16:58:06 +08:00
Jing-wei Wu
0dc15e318d Bug 1391177 - Part 9: Change indicator height in tabs tray page to 4dp. r=nechen,walkingice
MozReview-Commit-ID: JWzkvs0xJEo

--HG--
extra : rebase_source : 5220b635279ec8187751e819402f41db94c65d4f
2017-08-22 14:12:59 +08:00
Jing-wei Wu
352d2d1c0e Bug 1391177 - Part 8: Adjust layout for menu icons on toolbar. r=nechen,walkingice
MozReview-Commit-ID: 46l5Uw3zhO5

--HG--
extra : rebase_source : 71875cbd67ff3f3d674a4020481b3f9f81bd6b1d
2017-08-28 09:20:19 +08:00
Jing-wei Wu
fec51f2213 Bug 1391177 - Part 7: TabCounter refinements. r=nechen,walkingice
1. Ratio of one digit is changed from 0.7 to 0.5.
2. Decorate text with 'sans-serif-medium' & 'bold'.
3. Change border thinkness from 2.5dp to 2.3dp.

MozReview-Commit-ID: 9ghdkBAFx9r

--HG--
extra : rebase_source : cfb825233ff34729aba5bbf2fd6c6b8583a9c9cb
2017-08-21 18:31:09 +08:00
Jing-wei Wu
1abc892fb7 Bug 1391177 - Part 6: Change the primary blue from #00A2FE to #0A84FF. r=nechen,walkingice
MozReview-Commit-ID: CnUuCtGLAU5

--HG--
extra : rebase_source : e9aad4db9a938296a2bd421263248ee04c0dddc1
extra : intermediate-source : 80481e5fc6301733ad6ccb33a8b3cefe7d971ceb
extra : source : 4eccaa8a53b455b63be544cbfefff46379ac7c75
2017-08-14 14:41:58 +08:00
Jing-wei Wu
5d1e0e73ed Bug 1391177 - Part 5: Remove vertical dividers in tabs tray page. r=nechen,walkingice
MozReview-Commit-ID: 3QXKlmJmg7R

--HG--
extra : rebase_source : 5d33a5b3e139e32c6f71ecfecd810b3a3af5816a
extra : intermediate-source : 720407bcd509fefb65dfa5e0c90999b22615917d
extra : source : 119c08e61355e37ec9f0764a5f75f92cf1f11418
2017-08-14 14:11:14 +08:00
Jing-wei Wu
501afe48ba Bug 1391177 - Part 4: Change text selection color to primary color + 30% alpha. r=nechen,walkingice
MozReview-Commit-ID: Gm7nGDZeWyA

--HG--
extra : rebase_source : 24d5a9dc4ffe7b1d29e045c178ac7efc708ae4d5
extra : intermediate-source : 3c9d54bf3f19ff4af3cae776bddfa17370a5ca78
extra : source : 43c6c11b2fa6bb5b53a63b1b62c216ac82981314
2017-08-14 14:05:24 +08:00
Jing-wei Wu
8467324208 Bug 1391177 - Part 3: Update icons for mobile photon. r=nechen,walkingice
Update a few icons received from designer and remove mdpi images.

MozReview-Commit-ID: 87Hc3GqtZm9

--HG--
rename : mobile/android/app/src/main/res/drawable-hdpi/home_tab_menu_strip.9.png => mobile/android/app/src/photon/res/drawable-hdpi/home_tab_menu_strip.9.png
rename : mobile/android/app/src/main/res/drawable-hdpi/tab_indicator_background.9.png => mobile/android/app/src/photon/res/drawable-hdpi/tab_indicator_background.9.png
rename : mobile/android/app/src/main/res/drawable-hdpi/tab_indicator_selected.9.png => mobile/android/app/src/photon/res/drawable-hdpi/tab_indicator_selected.9.png
rename : mobile/android/app/src/main/res/drawable-hdpi/tab_indicator_selected_focused.9.png => mobile/android/app/src/photon/res/drawable-hdpi/tab_indicator_selected_focused.9.png
extra : rebase_source : cd193c88e3650f134190d3e55843396a0b3f8b5f
extra : source : 31ed050ebe02273ea1e75341634bf32065d117f9
2017-08-25 15:05:23 +08:00
Jing-wei Wu
b569b8cde2 Bug 1391177 - Part 2: Change text yes/no in search suggestion prompt to capitals. r=nechen,walkingice
MozReview-Commit-ID: LTiVMsPdO88

--HG--
extra : rebase_source : 1dc6c135b27aa717f94d13d324f24d0199f690ea
extra : intermediate-source : b7685ff3c2221da093dec2c0b5bd57dbfa704d5c
extra : source : 0b66e4a3c93bdf6a753907bc07b0b13494db32b4
2017-08-14 15:07:22 +08:00
Jing-wei Wu
6fafdf0bbc Bug 1391177 - Part 1: Change URL text(except domain) color in toolbar from #B2B2B2 to #737373. r=nechen,walkingice
MozReview-Commit-ID: dK4hDxx9iv

--HG--
extra : rebase_source : eb5e191b27a567db9a44e1394ec44bb37d247c35
extra : source : aca501b3f1ad86fa10c5580c0d02f9f82550004f
2017-08-17 16:13:54 +08:00
Ed Lee
c45c98d3f5 Bug 1392384 - Add Photon styles, section ordering and bug fixes to Activity Stream. r=dmose
--HG--
extra : rebase_source : 8ab0b0d985094fa80f71cc388dd862d4c078bb36
2017-08-25 03:37:52 -07:00
Masayuki Nakano
5e251e26e0 Bug 1393348 - part3: Converting SelectionType to index of Selection array in nsFrameSelection should use array instead of switch statement r=smaug
GetIndexFromSelectionType() in nsFrameSelection.cpp or
nsFrameSelection::GetSelection() appears in profile of attachment 8848015.  So,
it should not use switch statement due to really hot path.

With the previous patch, we can make it use array to retrieve the index from
SelectionType with static_cast<int8_t>.

MozReview-Commit-ID: 8jvIF5buTyT

--HG--
extra : rebase_source : ccb9c855caa6688e45097f67de3160860339d281
2017-08-24 20:01:20 +09:00
Masayuki Nakano
3bd4299525 Bug 1393348 - part2: nsISelectionController::SELECTION_* should be sequential integer values r=smaug
nsISelectionController::SELECTION_* are declared as bit-mask.  However, no
methods of nsISelectionController treat them as bit-mask and these
values need a switch statement in nsFrameSelection to convert SelectionType to
array index of nsFrameSelection::mDOMSelections because it's too big to create
an array to do it.  Additionally, this conversion appears profile of
attachment 8848015.

So, now, we should declare these values as sequential integer values.

However, only nsTextFrame uses these values as bit-mask.  Therefore, this patch
adds new type, SelectionTypeMask and creates new inline method,
ToSelectionTypeMask(SelectionType), to retrieve mask value for a SelectionType.

MozReview-Commit-ID: 5Za8mA6iu4

--HG--
extra : rebase_source : 86617c1f5fa23166458f4353cb834f9e7c5b131b
2017-08-24 19:14:04 +09:00
Masayuki Nakano
da1455e4b2 Bug 1393348 - part1: nsTextEditorState should use nsTextInputSelectionImpl::GetSelection(SelectionType) instead of nsTextInputSelectionImpl::GetSelection(RawSelectionType, nsISelection**) r=m_kato
nsTextEditorState stores selection controller as
RefPtr<nsTextInputSelectionImpl> mSelCon.  However, some methods still use
nsTextInputSelectionImpl::GetSelection(RawSelectionType, nsISelection**) which
is a virtual method overriding nsISelectionController.

So, instead, we should make it use
nsTextInputSelectionImpl::GetSelection(SelectionType).

MozReview-Commit-ID: Cvxa85LegsO

--HG--
extra : rebase_source : f8618fb9b4b2a1d3a02b4ce49906c8b995766e3f
2017-08-24 16:19:28 +09:00
Evan Tseng
6ca7e030d1 Bug 1393354 - Update the color code of in-content link's normal, hover, and active stages to match Photon visual spec. r=mconley
MozReview-Commit-ID: Ltj7Clw4StH

--HG--
extra : rebase_source : 30a1b3f068b5045d1e7d9b14ee290d42a99ba83c
2017-08-25 18:35:33 +08:00
Phil Ringnalda
ee5cb40783 Merge m-c to autoland
MozReview-Commit-ID: H7Fc0xGzj49
2017-08-27 17:33:49 -07:00
Phil Ringnalda
f144cb08b9 Merge m-i to m-c, a=merge
MozReview-Commit-ID: AX10UmzAEqg
2017-08-27 17:31:55 -07:00
Phil Ringnalda
f6a8febe29 Merge autoland to m-c, a=merge
MozReview-Commit-ID: IS1hqTsOs9q
2017-08-27 17:30:51 -07:00
ffxbld
18c16ebf81 No bug, Automated HPKP preload list update from host bld-linux64-spot-301 - a=hpkp-update 2017-08-27 10:15:50 -07:00
ffxbld
d4ecdb7fe4 No bug, Automated HSTS preload list update from host bld-linux64-spot-301 - a=hsts-update 2017-08-27 10:15:46 -07:00
Phil Ringnalda
e6458e1fee Merge m-i to m-c, a=merge
MozReview-Commit-ID: AYBlGJan6UL
2017-08-26 18:18:02 -07:00
Phil Ringnalda
e300bc2504 Merge autoland to m-c, a=merge
MozReview-Commit-ID: BFVS6hRAxIb
2017-08-26 18:12:15 -07:00