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

479128 Коммитов

Автор SHA1 Сообщение Дата
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 483ce4fb50 Bug 1279628, part 3 - Replace the last gfxASurface::CheckSurfaceSize call, and remove gfxASurface::CheckSurfaceSize. r=mstange 2016-06-10 13:32:01 +01: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
Jonathan Watt 53c34f0b69 Bug 1279628, part 1 - Add the CoreGraphics check from gfxASurface::CheckSurfaceSize to Factory::CheckSurfaceSize. r=mstange 2016-06-10 13:32:01 +01:00
Robert Strong da8d36cca8 Bug 1168743 - test changes - Only use env vars in the test updater and general app update cleanup. r=mhowell 2016-06-11 08:31:20 -07:00
Robert Strong 61a8d4f0c1 Bug 1168743 - client changes - Only use env vars in the test updater and general app update cleanup. r=mhowell 2016-06-11 08:31:10 -07:00
Robert Strong 561d8d2f2d Bug 1168743 - test data files - Only use env vars in the test updater and general app update cleanup. r=mhowell
--HG--
rename : toolkit/mozapps/update/tests/data/complete_log_success => toolkit/mozapps/update/tests/data/complete_log_success_win
rename : toolkit/mozapps/update/tests/data/partial_log_failure => toolkit/mozapps/update/tests/data/partial_log_failure_win
rename : toolkit/mozapps/update/tests/data/partial_log_success => toolkit/mozapps/update/tests/data/partial_log_success_win
2016-06-11 08:30:59 -07:00
Jonathan Watt 09e31afca4 Bug 1278441 - Add a CoreGraphics subclass of PrintTarget. r=mstange
--HG--
extra : rebase_source : 3629f0a9152dad18b9a2e44d16b4d28359f414cf
2016-06-09 22:35:14 +01:00
Jan de Mooij 5085e17052 Bug 1272598 part 5 - Allocate arguments objects from Ion JIT code. r=luke 2016-06-11 15:01:49 +02:00
Jan de Mooij d0d11e46ed Bug 1272598 part 4 - Remove script and dataBytes from ArgumentsData. r=luke 2016-06-11 15:01:22 +02:00
Jan de Mooij d3b4c2970a Bug 1272598 part 3 - Remove JS_OVERWRITTEN_CALLEE. r=luke 2016-06-11 15:00:51 +02:00
Jan de Mooij 1e1810a8dd Bug 1272598 part 2 - Move ArgumentsData::callee to a reserved slot on the object. r=luke 2016-06-11 14:59:37 +02:00
Jan de Mooij 43efa0f1ea Bug 1272598 part 1 - Move ArgumentsObject deleted bits into a new RareArgumentsData class. r=luke 2016-06-11 14:59:03 +02:00
Jean-Yves Avenard 8bb32f751e Bug 1275339: [ffmpeg] P2. Fetch avcodec_free_frame in libavcodec. r=cpearce
avcodec_free_frame was incorrectly looked in libavuti. On Linux where this code is used, it makes no difference really but for clarity sake.

MozReview-Commit-ID: DC1WJAAKiE4
2016-06-11 11:04:14 +01:00
Jean-Yves Avenard 3b9ae45b0e Bug 1275339 - [ffmpeg] Don't assume AVFrame has a constant size.
An AVFrame has a different size between FFmpeg 0.10 and LibAV 0.8 though both have the same version number.

Forgot to add the fixes (twice now :( )

MozReview-Commit-ID: DR3b3fqSngh
2016-06-11 11:04:10 +01:00
Jan de Mooij 557a2cd901 Bug 1268224 - Fix canonicalization in more-deterministic builds. r=lth 2016-06-11 10:39:14 +02:00
rhunt c62f33ecfe Bug 1278575 - Removed refs to GFX_ENV_LIVE. r=jgilbert 2016-06-09 13:06:00 +02:00
rhunt ed53e4040d Bug 1219925 - Format cleartype gamma in converted form. r=jfkthame 2016-06-09 10:52:00 +02:00
rhunt acd669ac3f Bug 1219925 - Fix for format specifiers in getCleartypeParameters. r=jfkthame 2016-06-09 09:48:00 +02:00
Phil Ringnalda 5e0adb7d56 Back out 5 changesets (bug 1271180) for static analysis bustage
CLOSED TREE

Backed out changeset cfb53b780b18 (bug 1271180)
Backed out changeset 204b084385f8 (bug 1271180)
Backed out changeset 353da876be33 (bug 1271180)
Backed out changeset 4472dfbc1dc6 (bug 1271180)
Backed out changeset 81079e787b8a (bug 1271180)

--HG--
rename : ipc/glue/TaskFactory.h => dom/plugins/ipc/TaskFactory.h
2016-06-11 00:46:09 -07: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
Andrew Comminos e4acfac598 Bug 1279664 - Handle GL context creation failing in the GLX vsync provider. r=me
MozReview-Commit-ID: XaQU1nQnNB
2016-06-11 01:28:29 -04:00
Jonathan Watt 54c9a34ee0 Bug 1279642 - Remove CachedBackgroundImage. r=dholbert
--HG--
extra : rebase_source : e83199eccb12be43e755044da2b1aecdc08521bb
2016-06-09 21:14:36 +01:00
David Anderson a6676c7cfb Implement GPU process shutdown. (bug 1271180 part 5, r=billm)
--HG--
extra : rebase_source : c00e110f584ac056cc4e7918b833d6c6dbd79007
2016-06-10 22:37:03 -04:00
David Anderson d2678d4141 Add skeletal code for launching a GPU process. (bug 1271180 part 4, r=billm,jrmuizel)
--HG--
extra : rebase_source : 332f5cf6ca5e1f78fb2283a7e79b6b21654e9e59
2016-06-10 22:27:24 -04:00
David Anderson 39defbc2f7 Add GeckoProcessType_GPU. (bug 1271180 part 3, r=billm)
--HG--
extra : rebase_source : 30353c82c34e03996ff0551330ebe86e2010cbaf
2016-06-10 21:54:44 -04:00
David Anderson c7ec2b19d8 Don't create GPUProcessManager in child processes. (bug 1271180 part 2, r=mattwoodrow)
--HG--
extra : rebase_source : d367514a59fee0ff478dc0afc613738d23f43350
2016-06-10 21:00:40 -04:00
David Anderson 995cadf738 Move TaskFactory from dom/plugins to ipc/glue. (bug 1271180 part 1, r=aklotz)
--HG--
rename : dom/plugins/ipc/TaskFactory.h => ipc/glue/TaskFactory.h
extra : rebase_source : 485012c5a08eb0ce2a4225ddfe9cbfb454fc4302
2016-06-10 15:43:35 -04: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
Jonathan Watt 8b002c52bd Bug 1279628, part 1 - Add the CoreGraphics check from gfxASurface::CheckSurfaceSize to Factory::CheckSurfaceSize. r=mstange
--HG--
extra : rebase_source : 46aba14e2b2e6997672ac690c73def2391df0c4f
2016-06-09 15:31:24 +01:00
Phil Ringnalda 2aeaa4b735 Back out 2 changesets (bug 1267879) for webgl crashes
CLOSED TREE

Backed out changeset 4f3df5eadf59 (bug 1267879)
Backed out changeset 4c2a18cac92b (bug 1267879)
2016-06-10 19:17:17 -07:00
Phil Ringnalda 6102ffe8a1 Back out changeset c3d167fbd0e4 (bug 1176011) for frequent crashes @mozilla::layers::FixedSizeSmallShmemSectionAllocator::ShrinkShmemSectionHeap() 2016-06-10 19:05:25 -07:00
Kartikaya Gupta d168d92285 Bug 1278268 - Simplify some test code to use the moveMouseAndScrollWheelOver function. r=botond
MozReview-Commit-ID: KyIvCSpBQTi

--HG--
extra : rebase_source : c51dd1d3fa03a674c7233a42bc12233fef2260b2
2016-06-09 09:06:58 -04:00
Kartikaya Gupta bea6d03a52 Bug 1278268 - Ensure that no-op mousemove synthesizations on Windows still fire a mousemove event. r=jimm
MozReview-Commit-ID: EXZtvqy1BLu

--HG--
extra : rebase_source : 7dcaa9370c0733267940ad8374bf783cde65e9e7
2016-06-09 09:06:58 -04:00
Kartikaya Gupta c96dfeb86e Bug 1278268 - Back out cset 8c896f70f97b from bug 1276107 as we have a better fix in hand. r=botond
MozReview-Commit-ID: 8xa9jiS8OLy

--HG--
extra : rebase_source : eef3b019ea4b6381951de13f1792d1ffd8be713c
2016-06-09 09:06:58 -04:00
Kartikaya Gupta 2c4f0fd351 Bug 1278268 - Fix a latent bug in a test where we try to scroll something before it's layerized. r=botond
MozReview-Commit-ID: 3vuujg6ARzl

--HG--
extra : rebase_source : 3b4124c512e7da4fc5fa6ebcd44b99e0e49e653e
2016-06-09 09:06:58 -04:00
Lee Salzman a3cb78ac4f Bug 1257939 - use libyuv::ARGBRect for initializing buffers in layers. r=gwright 2016-06-10 21:49:46 -04:00
Phil Ringnalda 4ebe1d3553 Merge m-c to m-i 2016-06-10 18:47:45 -07:00
Jeff Gilbert 05bf436edd Bug 1267879 - Only check robustness if it's supported. - r=jrmuizel
MozReview-Commit-ID: 4RNjnWFccID
2016-06-10 17:47:18 -07:00
Jeff Gilbert c3f1f735b3 Bug 1267879 - Fix WGL robustness. - r=jrmuizel
MozReview-Commit-ID: IpstmnnGM0N
2016-06-10 17:47:16 -07:00
Lee Salzman 02da400412 Bug 1275339 - check if creation of cairo surface fails in DrawTargetCairo::DrawSurface. r=jrmuizel 2016-06-10 20:00:47 -04:00
Carsten "Tomcat" Book ff5673acd6 Backed out changeset 61442f7ad442 (bug 1264489) for breaking fennec nighlys 2016-06-10 16:35:05 +02:00
Carsten "Tomcat" Book 828e527fb4 Backed out changeset 97074800423c (bug 1264489) 2016-06-10 16:34:49 +02:00