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

572342 Коммитов

Автор SHA1 Сообщение Дата
Russell 8f329d4896 Bug 1419405 - remove Immutable usage in filters reducer; r=nchevobbe
MozReview-Commit-ID: GfxqmE3nGjs

--HG--
extra : rebase_source : e6a2dc059d6f5cd487b619c66a86db3ed34c633d
2017-11-23 09:44:04 -08:00
Makoto Kato ded9cb4ade Bug 1032671 - Part 5. Add reftest for emoji. r=jfkthame
Windows 7 doesn't have mono symbol font for emoji code mapping.  And fontconfig
doesn't have better option for this.  So I except to these platforms.

MozReview-Commit-ID: 7TB1guyzBVS

--HG--
extra : rebase_source : 4a014a26618471cf8bee635bae961321c98a162e
2017-11-18 20:15:05 +09:00
Makoto Kato 153c591749 Bug 1032671 - Part 4. Font fallback should detect emoji range for color emoji font. r=jfkthame
MozReview-Commit-ID: AeqSLUU9GRH

--HG--
extra : rebase_source : 3a3d0c70072b990d83b1304eb527f30307f6e944
2017-11-12 16:36:24 +09:00
Makoto Kato 9fa1068dcc Bug 1032671 - Part 3. Set font.name-list.emoji for some platforms. r=jfkthame
- Segoe UI Emoji for Windows 8+
- EmojiOne Mozilla for Windows 7
- Apple Color Emoji for OSX
- EmojiOne Mozilla for GTK(Linux).  fontconfig doesn't support emoji as family name.
- Noto Color Emoji for Android

MozReview-Commit-ID: GOkOFRujk93

--HG--
extra : rebase_source : e8bae62d555440d9881f111fb26393d59fd15ba4
2017-11-12 16:30:23 +09:00
Makoto Kato d60606ea88 Bug 1032671 - Part 2. Use font.name-list.emoji preference for emoji presenration. r=jfkthame
MozReview-Commit-ID: DbrGeXzCpNT

--HG--
extra : rebase_source : 2a824295ff9c89b243cf49675e4c5c54a7a7259d
2017-11-12 16:24:58 +09:00
Makoto Kato b970e21a69 Bug 1032671 - Part 1. Add emoji presentation API for UTR#51. r=jfkthame
From ICU 57, ICU supports emoji presentation as draft API.

MozReview-Commit-ID: 6JgQMv4Ky9m

--HG--
extra : rebase_source : 60f451e7476f16ed48aeaccb1fc55d3962a2b4b2
2017-11-12 16:06:18 +09:00
Coroiu Cristina 3f75a6d410 Backed out changeset 7a2629417a47 (bug 1422662) for bustage r=backout on a CLOSED TREE 2017-12-04 09:21:51 +02:00
Chris Pearce f2f6e686df Bug 1422662 - Move BaseMediaResource::Close() into MediaResource class. r=jwwang
For the project to export Gecko's media stack and import it into Servo,
I need a way to shutdown an abstract MediaResource. So I'd like to move
BaseMediaResource::Close() up into MediaResource class.

MozReview-Commit-ID: 9JmxJPs02PN

--HG--
extra : rebase_source : 77128d1f78bea516dda92cdae6975d010a4b303c
2017-12-04 16:29:35 +13:00
Francesco Lodolo (:flod) 69a04c680f Bug 914817 - [ja] Update icon for Rakuten searchplugin, switch SearchForm to https r=mkaply
MozReview-Commit-ID: FJsgvRgtFuh

--HG--
extra : rebase_source : bc4c51468b9f612a7c7618c58b8299323e8cf284
2017-12-03 09:30:31 +01:00
Liang-Heng Chen a2b5ec45e8 Bug 1421793 - nsPACMan needs to be shutdown before dtor; r=schien
MozReview-Commit-ID: D2aKTC8s9MQ

--HG--
extra : rebase_source : e1442aebd9bd5f6e155ba4e33a9b30a97b3427e3
2017-12-01 15:10:36 +08:00
Ethan Lin 87408bd0b0 Bug 1422013 - Invalidate image items for webrender. r=mattwoodrow
MozReview-Commit-ID: 701MZhcrf4l

--HG--
extra : rebase_source : 8bed0e5f812570685cf04f5b371da885294513e0
2017-12-04 11:12:25 +08:00
James Teh caac6a3325 Bug 1422201: Only handle remote ids passed to IAccessible::accChild on the root accessible. r=MarcoZ
Previously, we could return remote accessibles which weren't actually descendants of the accessible on which accChild was called.
For example, calling accChild on a local document with the id of a remote document would happily return the remote accessible.
This confused clients such as NVDA which use accChild to check whether something is a descendant of a document.

MozReview-Commit-ID: 8mJ4m6RC3r2

--HG--
extra : rebase_source : c56040d84e09c2b9ede94985cdd94606c27160a3
2017-12-04 15:32:56 +10:00
Ian Moody 5231a620c1 Bug 1421859 - Remove flat_icon now that it is unused. r=nechen
MozReview-Commit-ID: 7wJ0JL2fBFC

--HG--
extra : rebase_source : 89e1a65309682398f4823c6835c19494d8743305
2017-12-03 18:44:53 +00:00
Ian Moody 0f1d295052 Bug 1421859 - Use ic_status_logo instead of flat_icon in MediaControl and TabReceived notifications. r=nechen
ic_status_logo is what all the other notifications use, and flat_icon hasn't
been updated to the new photon logo.

MozReview-Commit-ID: Luo5ibVmXvk

--HG--
extra : rebase_source : 4e9335c177028ecdbe42bd69773494a2420f3700
2017-12-03 18:43:38 +00:00
Masayuki Nakano 32f2446662 Bug 1408227 - part 6: WSRunObject::CheckTrailingNBSP() should take |const EditorRawDOMPoint&| instead of a set of container node and offset in it r=m_kato
The name, WSRunObject::CheckTrailingNBSP(), is unclear what it does.  It
replaces previous character of specified point with ASCII space if it is NBSP
and it's not necessary.

So, it should be renamed to ReplacePreviousNBSPIfUnncessary().

Additionally, it should take |const EditorRawDOMPoint&| instead of a set of
container node and offset in it.

MozReview-Commit-ID: 2vq46OiAzo6

--HG--
extra : rebase_source : 132bb71361ff1e60268863cd4ef86bfbd0ddc9d1
2017-11-22 02:45:08 +09:00
Masayuki Nakano b75f048daa Bug 1408227 - part 5: Redesign GetCharAfter(), GetCharBefore(), GetWSPointAfter() and GetWSPointBefore() of WSRunObject r=m_kato
WSRunObject::GetChar(After|Before)(nsINode*, int32_t) returns next/previous
character's DOM point as WSPoint.  If the container node is a text node in
mNodeArray, it calls WSRunObject::GetChar(After|Before)(const WSPoint&) which
returns next/previous offset if the point isn't end/start of the text node.
If the point is at end/start of the text node, it returns start/end of
next/previous text node in mNodeArray.  If the container node is not a text
node in mNodeArray, it calls WSRunObject::GetWSPoint(After|Before)().  It looks
for next/previous text node in mNodeArray from the point.  Then, it calls
WSRunObject::GetChar(After|Before)(const WSPoint&) and returns the result.

So, we should rename GetCharAfter() to GetNextCharPoint(), GetCharBefore() to
GetPreviousCharPoint(), GetWSPointAfter() to GetNextCharPointInternal() and
GetWSPointBefore() to GetPreviousCharPointInternal().

Then, they should take |const EditorRawDOMPoint&| instead of a set of container
node and offset in it.

So, looks like that "WS"RunObject is not good name for this class, perhaps,
AutoTextRunManager or something? But I'm still not sure.

MozReview-Commit-ID: 85cX3MdlFwz

--HG--
extra : rebase_source : 217dbb75653bf2a4c593fb9a0498824b1b764cf4
2017-11-22 02:12:27 +09:00
Masayuki Nakano d5a3f638a3 Bug 1408227 - part 4: WSRunObject::DeleteChars() should take two |const EditorRawDOMPoint&| arguments to specify a range to remove r=m_kato
WSRunObject::DeleteChars() should take two |const EditorRawDOMPoint&| arguments
to represent a range to remove.

Additionally, this renames it to DeleteRange() because it also removes any
nodes in the range.  So, "Chars" isn't good word for this method's name.

MozReview-Commit-ID: 5Dmxnia1JPO

--HG--
extra : rebase_source : a4fd44c9354762db0e37fa156790dc20fdbe23a1
2017-11-22 01:00:35 +09:00
Masayuki Nakano 304f2a7e0f Bug 1408227 - part 3: Redesign WSRunObject::FindRun() with EditorRawDOMPoint r=m_kato
WSRunObject::FindRun() finds the nearest run from aPoint to specified direction.
So, it uses nsContentUtils::ComparePoints() a lot.  Therefore, it should use
an overload which takes RawRangeBoundary.  Although, it's not optimized for
RawRangeBoundary, but if it'd be optimized, this method becomes faster.

And this patch renames it to FindNearestRun().

MozReview-Commit-ID: 2NkR5E1st6d

--HG--
extra : rebase_source : 387ecc9d483c7cd88306197391fc2940b2000e28
2017-11-21 19:03:03 +09:00
Masayuki Nakano 3ad91ac0fd Bug 1408227 - part 2: WSRunObject::InsertBreak() should take |const EditorRawDOMPoint&| as an argument r=m_kato
WSRunObject::InsertBreak() should take |const EditorRawDOMPoint&| instead of
a pair of container node and offset in it.

MozReview-Commit-ID: 38OAn4dvR7x

--HG--
extra : rebase_source : 8e48ba2cec07c1dd4daf3cd9ec44751c860bc3da
2017-11-21 18:12:12 +09:00
Masayuki Nakano 7c6b57669f Bug 1408227 - part 1: TextEditor::CreateBRImpl() should take |const EditorRawDOMPoint&| for insertion point of new <br> element r=m_kato
TextEditor::CreateBRImpl() should take |const EditorRawDOMPoint&| as insertion
point of new <br> element.  Additionally, it doesn't need to have out argument
for the point of after <br> element because callers can get it with
EditorRawDOMPoint(nsINode*) and the new <br> node, and calling AdvanceOffset().
This cost must be enough cheap.

MozReview-Commit-ID: Hxawz3D2dCd

--HG--
extra : rebase_source : 866ff50efd70499ed733da9efcce7399f44bd4a0
2017-11-21 14:38:19 +09:00
Masayuki Nakano 5c35d9705d Bug 1421504 - EditorBase should move children carefully r=m_kato
While moving children of a container to another container, mutation observer
may move children before moving and/or move node immediately after the
insertion point.  Therefore, EditorBase should store all children which
should be moved with a local variable.  Then, move one by one carefully.
E.g., if a child before being moved is moved to different container, it
shouldn't be moved because JS already handles it as expected for the web
app.  If next sibling of the insertion point has been moved, EditorBase
should stop moving the remaining children because it may move children to
odd position and it may cause dataloss.

This patch creates EditorBase::MoveChildren() and it moves children carefully
with above checks.  Additionally, making its callers simpler, this patch also
creates EditorBase::MovePreviousSiblings() and MoveAllChildren().

MozReview-Commit-ID: FJDdSqXIlqD

--HG--
extra : rebase_source : 54bded29dbbd9547339a2c6e1a1264e22fbdc740
2017-11-29 17:57:00 +09:00
Gurzau Raul 44b16ed498 Backed out 1 changesets (bug 1422466) for build bustage on a CLOSED TREE
Backed out changeset 719224b9a2dd (bug 1422466)
2017-12-04 05:34:10 +02:00
Jeff Muizelaar a49417c5ed Bug 1422466. Drop a copy from TextDrawTarget::FillGlyphs. r=Gankro
We try hard to ensure that the glyph buffers are of the same type.

--HG--
extra : rebase_source : b785541c15ee2d715b549e0c306e5e0669d4ad71
2017-12-02 13:45:57 -05:00
JW Wang da8d5c072e Bug 1422657. P2 - remove unused mDecoderPosition and related code. r=bechen,gerald
MozReview-Commit-ID: 8RobmJKC40i

--HG--
extra : rebase_source : 50037c4dbe422f911819f845548b0ba69ac5d35f
2017-12-01 14:02:44 +08:00
JW Wang 972cab9021 Bug 1422657. P1 - GetStatistics() should pass mPlaybackPosition to mResource->GetCachedDataEnd(). r=bechen,gerald
Usually mDecoderPosition and mPlaybackPosition are in the same cached range so
GetCachedDataEnd(mDecoderPosition) and GetCachedDataEnd(mPlaybackPosition) will
give the same result.

It also makes more sense to pass the playback position instead of decoder
position since 'canplaythrough' is about playback instead of decoding.

MozReview-Commit-ID: Kk1uUeSFTCI

--HG--
extra : rebase_source : 354fe5b4a6fb73a477ded40bf5fb91979a2c2a8a
2017-12-01 13:53:46 +08:00
John Lin 33546f8acf Bug 1392747 - add debug message to trace media shutdown process. r=jwwang
MozReview-Commit-ID: LL19lxlSJem

--HG--
extra : rebase_source : 57ace04484fd3c4f9687e0f79745249358edf56b
2017-11-29 16:28:11 +08:00
Gurzau Raul 6997b74129 Merge mozilla-central to autoland. r=merge a=merge CLOSED TREE 2017-12-04 00:20:58 +02:00
Emilio Cobos Álvarez 99077adb27 No bug: Update test expectations for servo/servo#19462. r=me
MozReview-Commit-ID: F9aTxF73RmP
2017-12-03 22:55:26 +01:00
Jan Beich 460920cc90 Bug 1420330 - FreeBSD bootstrap: add aarch64 and testing dependencies. r=nalexander
- aarch64 has GNU-free toolchain thus /usr/bin/as is N/A by default
  but GNU as is required to build bundled ICU.
- Downstream Python splits sqlite3 C module into a separate package
  to reduce optional dependencies but _sqlite3 is used by mozprofile.

MozReview-Commit-ID: Lh2ktcqh16f

--HG--
extra : rebase_source : bbcbe437132ecfce0f3e6e7b2005d0e8eac65836
2017-11-24 03:24:57 +00:00
Emilio Cobos Álvarez fbf9d655be servo: Merge #19462 - style: Cleanup Angle parsing (from emilio:angle-parsing); r=nox
This PR also contains a functional change, allowing to parse unitless zero angles in hue-rotate().

See the links and the comments for why.

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

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : ca23c77ffb43f42fc16b8934780f0ce94ce890a0
2017-12-03 09:14:59 -06:00
Emilio Cobos Álvarez 6ac9b1e2d9 servo: Merge #19463 - style: Remove free parsing functions, use Integer::parse and Number::parse instead (from emilio:bye-parse-functions); r=jdm
Source-Repo: https://github.com/servo/servo
Source-Revision: 14f757817e16a873e60035c1946ae82535038641

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : ebb08a34ecae53148c89dc1118b7422e21211d94
2017-12-03 06:02:12 -06:00
Brindusan Cristian d339014f90 Merge mozill-central to autoland. r=merge a=merge on a CLOSED TREE 2017-12-03 12:05:49 +02:00
Nevin Chen 32c2be0d45 Bug 1420886 - Replace -ads with -analytics. r=maliu
Looking at latest Adjust SDK [1]
compile 'com.google.android.gms:play-services-analytics:10.2.1'
should be enough. And it doesn't have DoubleClick in it (testing with dexdump)	.
Even Adjust has change from -ads to -analytics [2]

I just build/test with below options.

export MOZ_INSTALL_TRACKING=1
ac_add_options --with-adjust-sdk-keyfile=.....

export MOZILLA_OFFICIAL=1
export MOZ_TELEMETRY_REPORTING=1

export MOZ_ANDROID_MMA=1
ac_add_options --with-leanplum-sdk-keyfile=.....

and it works for below places where we have have com.google.android.gms.ads.identifier.AdvertisingIdClient  : Leanplum[3] and Adjust[4]

[1] https://github.com/adjust/android_sdk

[2] https://github.com/adjust/android_sdk/issues/143

[3] https://searchfox.org/mozilla-central/rev/9f3bd430c2b132c86c46126a0548661de876799a/mobile/android/thirdparty/com/leanplum/internal/Util.java#204

[4] https://searchfox.org/mozilla-central/rev/9f3bd430c2b132c86c46126a0548661de876799a/mobile/android/thirdparty/com/adjust/sdk/Reflection.java#97

MozReview-Commit-ID: 6YdQ6NJm4hM

--HG--
extra : rebase_source : 6a26cfd135c72738f086f305c60905a920abace8
2017-11-29 15:53:01 +08:00
Daosheng Mu 4b8304ef73 Bug 1358247 - Reply VR vibrate promises to the individual channels; r=kip
MozReview-Commit-ID: 4NwYNkwKUMR

--HG--
extra : rebase_source : 9e9d8ddcb0f91a3745e6ed5e614bb696b6d950af
2017-11-30 19:37:07 +08:00
Ting-Yu Lin 0afec2466e Bug 1265343 Part 2 - Fix tests after adding 'shape-image-threshold' to style system. r=heycam
MozReview-Commit-ID: IJgPOfD33AB

--HG--
extra : rebase_source : be2e9aa67d2b5d41724e9ae9e57a3c5b95de183c
2017-11-28 16:06:21 +08:00
Ting-Yu Lin b1efbfb25a Bug 1265343 Part 1 - Add shape-image-threshold to style system. r=heycam
devtools/shared/css/generated/properties-db.js is generated by running
"./mach devtools-css-db"

MozReview-Commit-ID: 1U4yoQTDwxi

--HG--
extra : rebase_source : 16049b4253ae9a3f6e24cc30896ed53f65ebaf7a
2017-11-27 15:01:25 +08:00
Ting-Yu Lin dd31a370eb servo: Merge #19436 - style: Support 'shape-image-threshold' property (from aethanyc:shape-image-threshold); r=heycam
This has been reviewed in https://bugzilla.mozilla.org/show_bug.cgi?id=1265343

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

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : a22ad7503bfdaadd6bea511c3fdfeaa4e8f27a44
2017-12-02 10:03:16 -06:00
Ian Moody 7bf599f013 Bug 1391044 - Add wpt reftests for multiline placeholders in <textarea> and <input>. r=bz
Includes a manifest update missed by bug 1037335 7678ac4b15ad and fd99633486a5

MozReview-Commit-ID: IXjqOQAGQU5

--HG--
extra : rebase_source : 34de13753b1f18334101a785fd948dda92e4d6eb
2017-12-02 00:38:18 +00:00
Ian Moody 1fe91d8a29 Bug 1391044 - Preserve newlines in textarea placeholders. r=bz
MozReview-Commit-ID: 7h1dXSd4Ci7

--HG--
extra : rebase_source : 9fe03a61f12b04dae0778d1aa0b3c95ee3fb3d8f
2017-12-02 00:11:39 +00:00
Emilio Cobos Álvarez c5dd8401e2 Bug 1422524: Inline nsAttrValue::Type. r=xidorn
MozReview-Commit-ID: I2uTeremrsS

--HG--
extra : rebase_source : 95573455175379737efdd207542fa4f17f4cd674
2017-12-02 20:43:12 +01:00
Emilio Cobos Álvarez b564f2695b Bug 1422524: Avoid calling nsAttrValue::Type twice in the common case. r=xidorn
MozReview-Commit-ID: JCnUrlYCWv3

--HG--
extra : rebase_source : be6dbb175202e4298cfceb96be2b3ee097fd3cd6
2017-12-02 20:36:53 +01:00
shindli 7ba06ee564 Backed out 2 changesets (bug 1420954) for build failure in /builds/worker/workspace/build/src/obj-firefox/dist/include/nsIURIMutator.h:340:3: r=backout on a CLOSED TREE
Backed out changeset 8ce0a0d49d9e (bug 1420954)
Backed out changeset 480c6e1721e9 (bug 1420954)
2017-12-03 01:10:14 +02:00
Ian Moody fecd3a9c13 Bug 1422535 - Add full-screen-api.ignore-widgets pref to all.js so it's listed in about:config. r=xidorn
MozReview-Commit-ID: 4k2Hj3pDLSR

--HG--
extra : rebase_source : 3de3ce28ea3b2f400db1f08a95c50001b001960e
2017-12-02 22:40:18 +00:00
Valentin Gosu 936a9adfc0 Bug 1420954 - Add NS_MutateURI helper function to chain nsIURIMutator setters in C++ r=bagder
MozReview-Commit-ID: 79NlOm08ebz

--HG--
extra : rebase_source : 2cb95ec86bd9dadbbaf233e6289bcb9d3087cd65
2017-12-02 23:15:55 +01:00
Valentin Gosu f903a38639 Bug 1420954 - Make nsIURIMutator setters return nsIURIMutator so we can chain setters r=bagder
MozReview-Commit-ID: 53BD91hB2yi

--HG--
extra : rebase_source : 45594a92e1a9f18f2f4b5bb2824b5f8ced584eab
2017-12-02 23:09:34 +01:00
Noemi Erli c528f7e479 Merge mozilla-central to mozilla-autoland. r=merge a=merge CLOSED TREE 2017-12-02 23:47:37 +02:00
Noemi Erli 676235b3bb Merge inbound to mozilla-central r=merge a=merge 2017-12-02 23:41:02 +02:00
ffxbld 1aeab12df2 No bug, Automated HPKP preload list update from host bld-linux64-spot-036 - a=hpkp-update 2017-12-02 11:45:05 -08:00
ffxbld 932f702aac No bug, Automated HSTS preload list update from host bld-linux64-spot-036 - a=hsts-update 2017-12-02 11:45:01 -08:00
ffxbld 8466d82737 No bug, Automated HPKP preload list update from host bld-linux64-spot-030 - a=hpkp-update 2017-12-02 11:01:49 -08:00