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

50827 Коммитов

Автор SHA1 Сообщение Дата
Kartikaya Gupta e71c0859af Bug 1247050 - Avoid tripping an NS_ASSERTION that can legitimately fire. r=mstange
MozReview-Commit-ID: JpfBWiP3BeL

--HG--
extra : rebase_source : b571adf4124cc81fbc1833b55d61ad214f21b1d8
2016-06-15 01:27:21 +01:00
cku 176b14a02c Bug 1273804 - Use nsChangeHint_RepaintFrame hint for position change of a mask layer r=heycam
MozReview-Commit-ID: 4W9Qmk6MVri

--HG--
extra : rebase_source : cd89cc81dd4861ca74425956f0a47621f2c20c3d
2016-06-14 12:36:01 +01:00
Gordon Su 4b24a929e8 Bug 1271126 - Fixed the ParseHTMLInteger function to handle INT32_MIN. r=smaug 2016-06-12 16:18:55 -04:00
Jonathan Hao a1a0a9bd7d Bug 1280006 - Backout "Bug 1270680 - Part 1: Double-key the image cache by origin attribute." r=tanvi
This reverts commit bb0482fe09fbfad9be89384ec5cb8b6518187379.
2016-06-14 12:43:21 +01:00
Jonathan Watt 3f13617cb5 Bug 1279887 - Stop using gfxContext device offsets on the temporary gfxContext in nsLayoutUtils.cpp's DrawImageInternal. r=Bas 2016-06-14 12:27:19 +01:00
Jonathan Watt 916ef92d75 Bug 1279929 - Stop using gfxContext device offsets on the temporary gfxContext in nsImageRenderer::Draw. r=mstange 2016-06-13 16:34:51 +01:00
Masayuki Nakano 9fdc31aea3 Bug 1278014 part.14 Rename SelectionType::SELECTION_URLSTRIKEOUT to SelectionType::eURLStrikeout r=smaug
MozReview-Commit-ID: 7AqeDbHxGE2

--HG--
extra : rebase_source : 2dada2c98e1186aa7f5699b8d11033eae50ba2c6
2016-06-09 20:58:56 +09:00
Masayuki Nakano a0eb51f54d Bug 1278014 part.13 Rename SelectionType::SELECTION_URLSECONDARY to SelectionType::eURLSecondary r=smaug
MozReview-Commit-ID: C2IW7nqjEkD

--HG--
extra : rebase_source : a64cd80650fe51dbc5586511ad8c3287a0ec3225
2016-06-09 20:47:48 +09:00
Masayuki Nakano ebf3bc1862 Bug 1278014 part.12 Rename SelectionType::SELECTION_FIND to SelectionType::eFind r=smaug
MozReview-Commit-ID: BZxBnCDBghi

--HG--
extra : rebase_source : 099d1043c7e69f3c49a2d4e34190cbd7c4532107
2016-06-09 20:35:20 +09:00
Masayuki Nakano 61a6a5f987 Bug 1278014 part.11 Rename SelectionType::SELECTION_ACCESSIBILITY to SelectionType::eAccessibility r=smaug
MozReview-Commit-ID: 2nU4KQB5S7N

--HG--
extra : rebase_source : 8bb098b292fa92833e86fd65be62819844e0829e
2016-06-09 20:32:36 +09:00
Masayuki Nakano 10f047dba5 Bug 1278014 part.10 Rename SelectionType::SELECTION_IME_SELECTEDCONVERTEDTEXT to SelectionType::eIMESelectedClause r=smaug
MozReview-Commit-ID: 8v3mqcYorOI

--HG--
extra : rebase_source : a6823273c161eabbfa9e49e689154e547c14a106
2016-06-09 19:29:29 +09:00
Masayuki Nakano aa3d2a6ce9 Bug 1278014 part.9 Rename SelectionType::SELECTION_IME_CONVERTEDTEXT to SelectionType::eIMEConvertedClause r=smaug
MozReview-Commit-ID: 5UNqhB2ZEcZ

--HG--
extra : rebase_source : 74d41ddf5496bdc50306bf916251df4f8d65a65b
2016-06-09 19:14:17 +09:00
Masayuki Nakano ff86f10a4c Bug 1278014 part.8 Rename SelectionType::SELECTION_IME_SELECTEDRAWTEXT to SelectionType::eIMESelectedRawClause r=smaug
MozReview-Commit-ID: DgprOxg87K6

--HG--
extra : rebase_source : 2f655353845292c4e8028f6e43f0dbbbfea11b68
2016-06-09 19:03:40 +09:00
Masayuki Nakano 569677d2f1 Bug 1278014 part.7 Rename SelectionType::SELECTION_IME_RAWINPUT to SelectionType::eIMERawClause r=smaug
MozReview-Commit-ID: BRe10Lyx5mt

--HG--
extra : rebase_source : e57239239fe8029040ce49faff9e37c5ad0b8305
2016-06-09 18:51:49 +09:00
Masayuki Nakano a1636168ba Bug 1278014 part.6 Rename SelectionType::SELECTION_SPELLCHECK to SelectionType::eSpellCheck r=smaug
MozReview-Commit-ID: 4n2jEVax37O

--HG--
extra : rebase_source : eb8c0dbedfeac83de330ccef874525dea355b52c
2016-06-09 18:37:36 +09:00
Masayuki Nakano d960ef26d5 Bug 1278014 part.5 Rename SelectionType::SELECTION_NORMAL to SelectionType::eNormal r=smaug
MozReview-Commit-ID: AAdxTTKEvrk

--HG--
extra : rebase_source : 82e10db6b8b17d4f571625e34bb3c8f1905ef58a
2016-06-09 18:35:22 +09:00
Masayuki Nakano b58c08cb8f Bug 1278014 part.4 Rename SelectionType::SELECTION_NONE to SelectionType::eNone r=smaug
MozReview-Commit-ID: BRfzs8sColP

--HG--
extra : rebase_source : a5190cb20c263b01205e1ff75c76b2970c229b4e
2016-06-09 18:07:18 +09:00
Masayuki Nakano 581b9986bb Bug 1278014 part.3 Define 2 constants for number of SelectionType and number of SelectionType except "none" r=smaug
This patch defines two constants kSelectionTypeCount and kPresentSelectionTypeCount.  The former is same as nsISelectionController::NUM_SELECTIONTYPES.  The latter is kSelectionTypeCount - 1 for excluding SELECTION_NONE.  The latter is useful in some loops which handle all selection types except SELECTION_NONE.

Note that this patch fixes a bug of nsFrameSelection.  That doesn't treat SELECTION_NONE as a selection (see the definition of index), however, it defines redundant item and doesn't use it actually.  Additionally, it computes invalid selection type in each loop.  Therefore, without this patch, debug build hits MOZ_ASSERT() in ToSelectionType(RawSelectionType).

Note that these constants are defined as anonymous enum because we cannot define as const (or static) even with extern.  If we'd try to do it, it caused link error or not available in nsFrameSelection.cpp as constant value since they were not initialized if they were initialized in nsSelection.cpp.  Therefore, these constants are defined as enum items but using "k" prefix.

MozReview-Commit-ID: H6sH7NBEXlE

--HG--
extra : rebase_source : fd517d5fc2e2d5dc2f96313e2802fd1719817af7
2016-06-11 11:12:26 +09:00
Masayuki Nakano 00591135a4 Bug 1278014 part.2 Define mozilla::SelectionType as an enum class and use it instead of RawSelectionType as far as possible r=smaug
This patch defines mozilla::SelectionType as an enum class.  This is safer than nsISelectionController::SELECTION_* since setting illegal value to its variable is checked at build time.  So, as far as possible, this should be used everywhere (but of course, this isn't available in scriptable interfaces).

And also this implements some useful methods for managing SelectionType and RawSelectionType which are implemented in layout/nsSelection.cpp because nsISelectionController is implemented by both PresShell and nsTextEditorState.  Therefore, implementing one of them may make hard to find them.  On the other hand, nsSelection.cpp is a better file name to look for them.

Note that this patch creates mozilla::Selection::RawType() for binding.  Native code should keep using Selection::Type() but the binding code needs to use RawType() due to impossible to convert from SelectionType to RawSelectionType without explicit cast.

MozReview-Commit-ID: 81vX7A0hHQN

--HG--
extra : rebase_source : d9f88e217c713c60d1c2578ce6421c73ccba8650
2016-06-11 11:06:37 +09:00
Masayuki Nakano 17f667a2e2 Bug 1278014 part.1 Rename SelectionType in nsISelectionController.idl to mozilla::RawSelectionType r=smaug
mozilla::SelectionType will be an enum class. Therefore, we need to rename SelectionType with a word "raw" since it's a type for raw nsISelectionController::SELECTION_*.

MozReview-Commit-ID: K8SO0bbpv0Y

--HG--
extra : rebase_source : 56e3ac852657ef4795d718d2da09b16903c2e66c
2016-06-07 22:42:06 +09:00
Mats Palmgren bdd70f5b19 Bug 1279641 - [css-grid] Make 'span' an invalid <custom-ident> in line name lists. r=dholbert 2016-06-11 20:42:03 +02:00
Jonathan Watt 06b29e4abf Bug 1279628, part 2 - Switch all but one of the gfxASurface::CheckSurfaceSize calls to call Factory::CheckSurfaceSize. r=mstange 2016-06-10 13:32:01 +01:00
Phil Ringnalda 1cce1f61f8 Back out 2 changesets (bug 1279628) for reftest bustage
CLOSED TREE

Backed out changeset 07e4432bd6b3 (bug 1279628)
Backed out changeset 416fa9aeec55 (bug 1279628)
2016-06-11 00:44:51 -07:00
Jonathan Watt 54c9a34ee0 Bug 1279642 - Remove CachedBackgroundImage. r=dholbert
--HG--
extra : rebase_source : e83199eccb12be43e755044da2b1aecdc08521bb
2016-06-09 21:14:36 +01:00
Jonathan Watt 8ea6b72d47 Bug 1279628, part 2 - Replace all gfxASurface::CheckSurfaceSize calls with Factory::CheckSurfaceSize and remove gfxASurface::CheckSurfaceSize. r=mstange
--HG--
extra : rebase_source : 314cf522b5760e63e176418ae170301fafa80f89
2016-06-09 15:31:24 +01:00
Ralph Giles 19a3dd8d6a Bug 1275744 - Reference MOZ_LOG in layout comments. r=erahm
NSPR_LOG_MODULES is deprecated.

MozReview-Commit-ID: KGA9AzNUqnP

--HG--
extra : rebase_source : e3b4913f529be38da65a03e0961ee2cf8a9a7789
2016-05-26 11:40:17 -07:00
Tooru Fujisawa 6ed032640e Bug 382721 - Part 9: Warn about too large dotted/dashed corner. r=jrmuizel 2016-06-10 13:10:03 +09:00
Tooru Fujisawa cf7034940d Bug 382721 - Part 8: Render too large dotted/dashed corner with solid style. r=jrmuizel 2016-06-10 13:10:03 +09:00
Tooru Fujisawa 325b404e5c Bug 382721 - Part 7: Render only dirty area for dotted side and dotted/dashed corner. r=jrmuizel 2016-06-10 13:10:03 +09:00
Tooru Fujisawa 133e4768cd Bug 382721 - Part 6: Flush path while building long dotted/dashed border. r=jrmuizel 2016-06-10 13:10:03 +09:00
Tooru Fujisawa 2e9d18cb2f Bug 382721 - Part 5: Add testcases for dashed/dotted borders. r=jrmuizel 2015-08-06 11:42:09 +09:00
Tooru Fujisawa e59f1fba71 Bug 382721 - Part 4: Support dotted/dashed border-radiused corners. r=jrmuizel 2015-08-06 11:42:09 +09:00
Tooru Fujisawa bae631b707 Bug 382721 - Part 3: Improve spacing and corner interaction of dashed/dotted border. r=jrmuizel 2015-08-06 11:42:09 +09:00
Carsten "Tomcat" Book 2266139ee3 Merge mozilla-central to mozilla-inbound 2016-06-10 15:44:04 +02:00
Carsten "Tomcat" Book 4ee1ed2b8f merge mozilla-inbound to central a=merge
--HG--
extra : amend_source : 10247ace8885c608987dcf31d47368e0dec09b19
2016-06-10 15:39:23 +02:00
Carsten "Tomcat" Book 6697f3e22c Backed out changeset f7cfef76a52c (bug 382721) for android c3 perma failures
--HG--
extra : rebase_source : 3179c9982aa1fec85323bfd08cf7eed8818dfc44
2016-06-10 15:38:58 +02:00
Carsten "Tomcat" Book 8ec9dd1719 Backed out changeset 0863ce40d2f7 (bug 382721)
--HG--
extra : rebase_source : ee6aa275c7ee4291d87a051e92e2e28979b83d96
2016-06-10 15:38:37 +02:00
Carsten "Tomcat" Book d02a177069 Backed out changeset 63f10496a3e4 (bug 382721)
--HG--
extra : rebase_source : af456f047e9be536b0bfd15947d52e42e17b7db0
2016-06-10 15:38:35 +02:00
Carsten "Tomcat" Book b2bf590342 Backed out changeset f8d2cc53a4d6 (bug 382721)
--HG--
extra : rebase_source : 988aaf02e7ffadca0ebb0be350d25ff8a8e5a4e3
2016-06-10 15:38:34 +02:00
Carsten "Tomcat" Book 776001bc91 Backed out changeset ddf602c6e885 (bug 382721)
--HG--
extra : rebase_source : f16ded5c5cae19f300161ee4df348b753d7263ec
2016-06-10 15:38:33 +02:00
Carsten "Tomcat" Book 1e73eca6d5 Backed out changeset ba37839e4fde (bug 382721)
--HG--
extra : rebase_source : aceaae3ba44b2a60f70781439f28718cc3a80db9
2016-06-10 15:38:31 +02:00
Carsten "Tomcat" Book d612b10610 Backed out changeset c3f66208fe85 (bug 382721)
--HG--
extra : rebase_source : 45a93822af369dc9b1c4c2d733fa6a7e81064499
2016-06-10 15:38:30 +02:00
Carsten "Tomcat" Book 38ff08c882 Merge mozilla-central to fx-team 2016-06-09 15:42:30 +02:00
Carsten "Tomcat" Book afff301b32 Backed out changeset 5c836acf3197 (bug 906420) on developer request by baku
--HG--
extra : rebase_source : 9f109cdb706feef6d2bcd9a2e71f8c4d3c17ebdf
2016-06-09 15:30:53 +02:00
Neil Deakin bbd2fd7ef4 Bug 1247824 - Don't set the popup's size unless the width/height attributes exist. r=masayuki 2016-06-09 13:21:01 +02:00
Sotaro Ikeda 6ec321d0df Bug 1256475 - Use libyuv for non scaling YUV color conversion r=jrmuizel 2016-06-08 18:46:42 -07:00
Mats Palmgren 03b9057a17 Bug 1278429 - [css-grid] Align a fragmented grid item with 'align-self' that is anchored at the end ('last-baseline', 'end', etc) at the end of its last track. r=dholbert 2016-06-10 02:56:23 +02:00
Mats Palmgren 0629ddead0 No bug - [css-grid] Remove superfluous runTest call. r=me 2016-06-10 02:56:23 +02:00
Mats Palmgren eeceb11ef1 Bug 1278080 - Make nsContainerFrame::RemoveFrame deal with overflow containers. r=dholbert 2016-06-10 02:56:23 +02:00
Jonathan Watt b15368cfcb Bug 1279451 - Remove a lot of unnecessary includes of nsAutoPtr.h. rs=sparky 2016-06-07 21:10:18 +01:00