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

479668 Коммитов

Автор SHA1 Сообщение Дата
Masayuki Nakano b7036f4f73 Bug 1275914 part.4 Add a method to retrieve focused content's selection controller to nsIPresShell r=smaug
ContentEventHandler will need to support query any types of selection.  Therefore, it cannot use nsCopySupport::GetSelectionForCopy().  Instead, a part of it should be implemented by nsIPresShell::GetSelectionControllerForFocusedContent() and it should be shared by nsCopySupport::GetSelectionForCopy() and ContentEventHandler.

MozReview-Commit-ID: 1ItkkIUPFMG

--HG--
extra : rebase_source : 3d33a76ebe52bad0ba7fbe332fc06500a2a007d7
2016-06-10 21:01:32 +09:00
Masayuki Nakano dafb6dae1b Bug 1275914 part.3 TextComposition should use IMEContentObserver or ContentEventHandler directly when it queries the selection r=smaug
TextComposition queries selection start offset a lot of times.  Therefore, for reducing the runtime cost, it should use IMEContentObserver if it's available or ContentEventHandler, otherwise.

MozReview-Commit-ID: 61GgQZDX2HP

--HG--
extra : rebase_source : 2080f77fa36e967e070495b11cc7b72e42e63fd1
2016-06-10 19:45:21 +09:00
Masayuki Nakano b44f10c1f3 Bug 1275914 part.2 Modify TextComposition::mCompositionStartOffset after every composition event dispatch r=smaug
When composition string hasn't been non-empty, insertion point of the composition string can be changed by a DOM event handler.  E.g., compositionstart, first compositionupdate and first text.  Therefore, TextComposition should update the composition start offset cache after every event dispatch.

MozReview-Commit-ID: FOPewPTRuCn

--HG--
extra : rebase_source : 95fbba8130a1d21e957cee305b3b2a433bfae56a
2016-06-10 19:32:49 +09:00
Masayuki Nakano 7716923106 Bug 1275914 part.1 TextComposition should store target clause offset from start of the composition instead of start of the editor r=smaug
It's enough to store target clause offset from start of the composition and better to modify mCompositionStartOffset because when even if mCompositionStartOffset is changed, we don't need to modify the target clause offset.

This patch renames mCompositionTargetOffset to mTargetClauseOffsetInComposition.

MozReview-Commit-ID: 1wt2OTUUjkY

--HG--
extra : rebase_source : 1bb87899c6f2e374252aaa00535915d42c6bb29d
2016-06-02 14:26:47 +09:00
Jan de Mooij 66d817730e Bug 1280252 - Refactor RareArgumentsData a bit so it behaves correctly on moving GC. r=luke
--HG--
extra : rebase_source : 8cfc4bad16ad07a48d1713db18d3e3e1297a8c25
2016-06-21 08:49:09 +02:00
Alfredo 948b1a2fa0 Bug 1280036: don't create video frame before seek target. r=jya
MozReview-Commit-ID: G1QTZTWtvmR

--HG--
extra : rebase_source : cbca5b928f0ee394d0a2929185f796ae8bd8dd7a
2016-06-16 13:43:52 +01:00
Nicholas Nethercote 4ed1325c23 Bug 1278752 (part 2) - Make explicit the ignoring of a hasStableClassAndProto() return value. r=bhackett.
--HG--
extra : rebase_source : 80a1a5d6b984fb8844fbe56285b9e894f7193253
2016-06-03 16:15:50 +10:00
Nicholas Nethercote 3e22172f81 Bug 1278752 (part 1) - Add a missing null check in PropertyTypeIncludes. r=bhackett.
--HG--
extra : rebase_source : 979c77b212a2a02bb2caef66540963760d944964
2016-06-03 16:12:25 +10:00
Seth Fowler bc967b6b86 Bug 1279859 - Correctly skip over extra image sub blocks in the GIF decoder. r=njn 2016-06-20 21:09:29 -07:00
Sean Stangl bea245dbfc Bug 1281015 - Remove unused mConsumerKeyedMutex. r=kamidphish 2016-06-20 11:09:00 -04:00
Jim Mathies 2fa7406cfc Bug 1277831 - Enable e10s for RTL users on Windows and OSX. r=felipe
MozReview-Commit-ID: 4B2zLIQu8RE
2016-06-09 07:35:37 -05:00
Glenn Randers-Pehrson 2865e20c8e Bug 1275901 - Update in-tree libpng to version 1.6.23 (part 2, old-configure.in). r=seth 2016-06-09 12:12:00 -04:00
Glenn Randers-Pehrson 885a243e81 Bug 1275901 - Update in-tree libpng to version 1.6.23. r=seth 2016-06-09 12:05:00 -04:00
Cameron McCormack 2a58c3e595 Bug 1277163 - Rename nsStyleContext* argument to Calc(Style)Difference methods to indicate it's the new style. r=dbaron
MozReview-Commit-ID: 9AvGc1tjJpx
2016-06-21 11:47:54 +10:00
Justin Wood b81a902c6b Followup bustage fix for Bug 1277648
MozReview-Commit-ID: 19cH0TIORfc

--HG--
rename : testing/taskcluster/tasks/builds/android_api_15_debug.yml => taskcluster/ci/legacy/tasks/builds/android_api_15_debug.yml
2016-06-20 21:41:21 -04:00
Justin Wood d57a9292af Bug 1280914 - Fix test_create after "Bug 1276216 - All tasks with no other dependencies should depend on the decision task"
MozReview-Commit-ID: CCdXafMIDUD
2016-06-20 10:22:15 -04:00
Justin Wood 43b27f7bac Bug 1280904 - Fix test_decision after Bug 1277417 Output JSON from `mach taskgraph` commands. r=dustin
MozReview-Commit-ID: Iymc0k5GeVK
2016-06-14 14:19:50 -04:00
Justin Wood bc7503149a Bug 1171736 - Don't force extra-builds to attempt job generation, if no matching job is defined for this branch. r=dustin
MozReview-Commit-ID: BNBOcUpprfm
2016-06-14 14:12:30 -04:00
Justin Wood 83a1642d15 Bug 1171736 - Add taskcluster scheduling logic (on try) for linux l10n. r=sfink
MozReview-Commit-ID: Auz7sOW5Ptr

--HG--
rename : testing/mozharness/configs/single_locale/tc_linux64.py => testing/mozharness/configs/single_locale/tc_linux32.py
2016-06-06 16:09:51 -04:00
Chris Manchester 93ef406a76 Bug 1279369 - Move --enable-debug, MOZ_DEBUG_FLAGS, and --enable-debug-symbols to Python configure. r=glandium
Setting MOZ_DEBUG_SYMBOLS as a define was not moved, as this value is not
checked, and exporting MOZ_DEBUG_SYMBOLS was not moved, as this would only
impact nspr, and we're no longer using the nspr build system.

MozReview-Commit-ID: EvBTunhxcsr
2016-06-20 16:02:01 -07:00
Chris Manchester 025749bed2 Bug 1279643 - Don't compile interfaces with midl during artifact builds. r=mshal
MozReview-Commit-ID: Dza7tgekXHz
2016-06-14 05:30:41 -07:00
Nathan Froyd fff70b0253 Bug 1280964 - fix gtk+2 build problems in widget/gtk/; r=karlt 2016-06-21 02:28:34 -04:00
Xidorn Quan a5ab965f09 Bug 1270753 part 2 - Clean up corresponding old window size when the DOMWindowUtils is destroyed. r=smaug
MozReview-Commit-ID: 3l3jeP4NWZ3

--HG--
extra : source : 1309f4d03f2a8450122cd71c2d545d4bd7682f1c
2016-06-21 08:19:50 +10:00
Xidorn Quan 48da678bcb Bug 1270753 part 1 - Use the weak reference itself as an index for OldWindowSize item. r=smaug
MozReview-Commit-ID: 3X7O5pAuZ3N

--HG--
extra : source : 30e884f5656f6173f45245ced1da25b95ccb29a6
2016-06-21 08:19:50 +10:00
Xidorn Quan c9fe7c3435 Bug 1186892 - Handle url strikeout separately from IME selection types. r=jfkthame
MozReview-Commit-ID: CVwoKiMOHj9

--HG--
extra : source : d3aa2bc573dd575f12a1e585792cfaf37a7f5659
2016-06-21 08:19:21 +10:00
Boris Zbarsky 30a9fd5097 Bug 1276327. Remove the non-debug use of CxPusherIsStackTop(). r=bholley 2016-06-20 17:40:39 -04:00
Phil Ringnalda 94e97ec88d Back out changeset 87d0b9d9da94 (bug 1278574) for WinXP debug failures in services/sync/ tests related to SingletonExists() assertion failures 2016-06-20 13:38:40 -07:00
Milan Sreckovic 175029edf7 Bug 1280954: Add genetric graphics alert e-mail to graphics telemetry, and bump the expiry from 50 to 60. r=BenWa
MozReview-Commit-ID: 2BBeddCVOh9

--HG--
extra : rebase_source : a3c3ce40e55e3ec2c8063af626c6e633527480cb
2016-06-20 10:26:04 -04:00
Mike Shal b7110a8a71 Bug 1275111 - Move artifact download/install into its own tier; r=glandium
This also fixes the issue of processing the artifacts twice in some
situations (bug 1275673). Note that the artifact download no longer
happens when a specific target is passed to 'mach build'.


MozReview-Commit-ID: Ktys6u3r1kG
2016-06-01 13:48:53 -04:00
Jordan Lund eaba540834 Bug 1277648 - run debug fennec builds alongside opt in taskcluster, r=dustin
MozReview-Commit-ID: LJ819br6uDE

this starts running debug fennec builds along opt on central and try.
note: I added tier 2 and other properties to the opt fennec builds because it
seemed like they were implicitly:
https://treeherder.mozilla.org/#/jobs?repo=mozilla-central&filter-searchStr=taskcluster&filter-tier=1&filter-tier=2&filter-tier=3&exclusion_profile=false&selectedJob=3999887
***
renames build_type from dbg to debug for fennec tc

MozReview-Commit-ID: HvZgt2DwqKp

--HG--
extra : rebase_source : c07bdf9eec9163fd4af6a013f324adef808b105f
extra : amend_source : 3d4a1459a2c592586df0bce52548c4a593c945cc
2016-06-03 10:35:24 -07:00
Morgan Phillips 25742678cc Bug 1255167 - Default destructuring arguments should show up as lexical dependencies; r=jorendorff
--HG--
extra : rebase_source : 88d9870638eb5565410a5acc23c19f119e56a117
2016-06-07 14:12:19 -07:00
Maja Frydrychowicz a2e846edaf Bug 1278590 - Create a FennecRunner; r=ahal,gbrown
Add FennecEmulatorRunner (for convenience), FennecRunner, FennecContext
and EmulatorAVD.

Common behaviour is defined in BaseEmulator and RemoteContext to distinguish
from B2G and Fennec specifics. I've tried to decouple ArchContext from
B2GContext, as well.

The emulator/adb commands in FennecRunner and EmulatorAVD are intended to
match the behaviour seen in current Android automation (e.g. mochitest).

MozReview-Commit-ID: 1tqD0DStdHR

--HG--
extra : rebase_source : 1450f3b03f82a0f9d33e43d19632a06a51ef7253
2016-06-07 11:45:08 -04:00
Dustin J. Mitchell 710fa43288 Bug 1280691: remove old decision tasks and references to them; r=garndt
MozReview-Commit-ID: 3o1nz7sP0j1

--HG--
extra : rebase_source : 7a9c37a2b37806a7ec0bca60b78c6d6d3d236f8a
2016-06-20 18:33:05 +00:00
Kartikaya Gupta 2238872488 Bug 1262807 - Change the heuristic at which the TiledRegion collapses down to a single rect. r=mstange
MozReview-Commit-ID: CYi3NbPLvnS
2016-06-20 14:50:15 -04:00
Kartikaya Gupta 2c6b1d658a Bug 1262807 - Add logging support for TiledRegion classes. r=mstange
MozReview-Commit-ID: JsmqcpYsyip
2016-06-20 14:50:04 -04:00
zhoubcfan@163.com e46e500df0 Bug 1280789 - Unbreak mingw builds, r=sfink
--HG--
extra : rebase_source : 4aa8b4709659f301e3ba22fa429f0b1ef756ff26
2016-06-20 18:43:02 +01:00
Mats Palmgren e6364c3ff6 Bug 1229473 - Don't use composite colors for border sizes > 10000px because it's too slow. r=tn 2016-06-20 19:55:57 +02:00
Geoff Brown d5b52bdab1 Bug 1280126 - Use tooltool hostutils for Android automated tests; r=kmoir 2016-06-20 11:39:40 -06:00
Geoff Brown 61ac3282b4 Bug 1280356 - Allow tc tests to define extra.treeherder.machine; r=dustin 2016-06-20 11:39:39 -06:00
Kai Engert c6ce2eb18b Bug 1277255, land NSS_3_25_RC1, r=me 2016-06-20 19:17:28 +02:00
Kartikaya Gupta 1359297bec Bug 1280805 - Don't assert in the valid case where the child process gets an event with an input block id but no mHandledByAPZ. r=rbarker
MozReview-Commit-ID: 9L4xdnoSJ0p

--HG--
extra : rebase_source : 464157cefc0d46a2fc0ad77ae893baf00fe594f7
2016-06-20 12:52:47 -04:00
Kartikaya Gupta 25a5c940b8 Bug 1280998 - Make a copy of the SurfaceDescriptor before sending it to IPC. r=nical
The IPDL code unconditionally calls forget() on any Shmem instances that are
sent over the IPC channel. This means that if the child process has a
SurfaceDescriptor containing a Shmem (such as a shmem-type SurfaceDescriptorBuffer)
then the shmem object in it will be zeroed out after sending it over IPC. In
order to still have access to the underlying SharedMemory, we need to make a
copy of the shmem or SurfaceDescriptor before doing the IPC call. Note that this
is true for safe and unsafe shmems.

MozReview-Commit-ID: KjEhPNiQhf9
2016-06-20 12:59:35 -04:00
Alexander Surkov f33c2d2c00 Bug 1278294 - move accessible tree logging into separate method, part=6, r=yzen 2016-06-20 11:35:38 -04:00
Nathan Froyd 150bcb573b Bug 1278925 - micro-optimize nsCOMArray appending with already_AddRefed AppendElement; r=erahm
In all of the places touched by this patch, the smart pointer we're
appending is about to become unused, so simply .forget()'ing its
reference into the appropriate nsCOMArray works just fine.
2016-06-20 18:38:10 -04:00
Nathan Froyd 9158ecd1de Bug 1278314 - avoid invalid copying of objects in PrefsHelper.h; r=darchons
In an expression such as:

  const auto& x = cond() ? AClass(...) : AClass();

the C++ standard specifies that the copy constructor of AClass is
invoked on the result of the conditional expression ([expr.cond]p6).
GCC does not honor this part of the specification, whereas clang does;
clang therefore complains about instances of code such as:

   const auto& jstrVal = type == widget::PrefsHelper::PREF_STRING ?
       jni::StringParam(strVal, aPrefName.Env()) :
       jni::StringParam(nullptr);

as jni::StringParam is not copy-constructable.

The simplest solution that does not introduce unnecessary allocation
uses mozilla::Maybe to hold the temporary objects and to hide some of
the details of constructing objects in-place.  The compiler may even be
able to optimize away some of the unnnecessary checks that Maybe
introduces (e.g. checking for whether the Maybe is a Some or None at
certain points).
2016-06-20 18:37:13 -04:00
Daniel Holbert caa9d85a69 Bug 1279608: Move nsBaseWidget.cpp's PRTimeToSeconds and kAccessibilityLastRunDatePref definitions inside the same #ifdef guard where their usages are. r=jimm
MozReview-Commit-ID: 5RAdy4RCDOQ

--HG--
extra : rebase_source : 3480879aecfa6b023005912329a6748f9a39f58e
2016-06-10 13:04:31 -07:00
Heiher 86447949f5 Bug 1280845 - IonMonkey: MIPS32: Fix Assembler::UpdateBoundsCheck. r=bbouvier
---
 js/src/jit/mips32/Assembler-mips32.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
2016-06-20 22:22:12 +08:00
Heiher bb151ca83a Bug 1280377 - IonMonkey: MIPS64: Add FloatRegisters::AllSingleMask. r=lth
---
 js/src/jit/mips64/Architecture-mips64.h | 1 +
 1 file changed, 1 insertion(+)
2016-06-20 22:22:00 +08:00
Eugen Sawin 7948d9d8d0 Bug 1278574 - [1.3] Allow only a single media decoder (pair) on Android 4.2 and earlier. r=jya,snorp 2016-06-20 16:14:30 +02:00
Nicolas B. Pierron 6013f621ff Bug 1264948 - IonBuilder::addOsrValueTypeBarrier, check for OOMs when unboxing OSR values. r=h4writer 2016-06-20 13:54:08 +00:00