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

480183 Коммитов

Автор SHA1 Сообщение Дата
Jon Coppeard c1235a507a Bug 1280407 - Use SystemAllocPolicy rather that the default with mozilla::Vector in the JS engine r=sfink r=fitzgen r=jandem 2016-06-18 10:46:13 +01:00
Sebastian Hengst 90043bfdaa Backed out changeset a58b9ab5dff0 (bug 1280407) for errors in testThreadingThread.cpp in SM(nu). r=backout 2016-06-18 12:53:01 +02:00
Jon Coppeard 404b8e32be Bug 1280407 - Use SystemAllocPolicy rather that the default with mozilla::Vector in the JS engine r=sfink r=fitzgen r=jandem 2016-06-18 10:46:13 +01:00
Andreas Tolfsen de6084520f Bug 1280101 - Remove check for window sizes larger than screen; r=automatedtester
MozReview-Commit-ID: K2l0pPfGbGp

--HG--
extra : rebase_source : 943524c2a4e1dd990fa9cfddcc99cc7074ec1922
2016-06-14 18:58:15 +01:00
Andreas Tolfsen b196cce6f4 Bug 1280101 - Do not coerce window dimensions to integer; r=automatedtester
The specification says nothing about coercing to integer.

MozReview-Commit-ID: Cq5Wbo2vIAD

--HG--
extra : rebase_source : 4b953dfd48bd2227508e725dcc0cc5efc97f0bb9
2016-06-14 18:57:02 +01:00
Masayuki Nakano 13d4f396fe Bug 1185307 part.2 Replace upcast from nsISelection to mozilla::dom::Selection with nsISelection::AsSelection() r=smaug
MozReview-Commit-ID: Gs3oiAgJFG9

--HG--
extra : rebase_source : a136405d99ff3361a595157986b3a33026bcd5f5
2016-06-17 22:32:49 +09:00
Masayuki Nakano 7b7ebc96f8 Bug 1185307 part.1 Add nsISelection::AsSelection() r=smaug
This patch adds nsISelection::AsSelection() for safer "upcast".

MozReview-Commit-ID: LlxoMaU0oE

--HG--
extra : rebase_source : 8b2fce25888bb256970ea1cb741a9f6fbe6dc542
2016-06-17 16:16:10 +09:00
Masayuki Nakano f8210c2a4e Bug 1275918 part.2 Update TextComposition::mCompositionStartOffset when it's modified in the remote process r=m_kato
MozReview-Commit-ID: H1SJTWWav6G

--HG--
extra : rebase_source : 6d7d79e7d4d719b720bed4f4c20196079fb8b5fb
2016-06-14 21:06:34 +09:00
Masayuki Nakano 50a7dd324b Bug 1275918 part.1 ContentCache should retrieve the latest composition start offset from TextComposition and send it to the parent process r=m_kato
MozReview-Commit-ID: EoMZtqoMue3

--HG--
extra : rebase_source : c4a60248e765cddeccd1be3607f80358a99dda34
2016-06-13 18:17:58 +09:00
bechen 385d3a7e3b Bug 1280814 - Prevent the media::Interval crash due to the unexpected playback position. r=rillian
MozReview-Commit-ID: AZ9Gb2Y0wDF

--HG--
extra : transplant_source : %8F%FD%8EW%F2%23%0Ck%A5%A4x%FAB%3D%C3%25%09%89%84%A5
2016-06-20 15:58:58 +08:00
Masayuki Nakano de8073afbb Bug 1275914 part.8 TextComposition should always update its composition start offset during composing r=smaug
TextComposition should update its composition start offset after every DOM event dispatch with first clause's selection type if there is composition string.

MozReview-Commit-ID: HFkePci1PhU

--HG--
extra : rebase_source : c7af075115505b52e48d8bbd5f2dd1d9001fe36e
2016-06-20 16:34:40 +09:00
Masayuki Nakano d5bf222ecd Bug 1275914 part.7 Add automated tests to query IME selections r=smaug
MozReview-Commit-ID: GwBU6Evcpfa

--HG--
extra : rebase_source : d6a54b3ab227fbae75e723b277f0ff1e95d44044
2016-06-20 16:31:29 +09:00
Masayuki Nakano 99f2ffe496 Bug 1275914 part.6 ContentEventHandler::OnQuerySelectedText() shouldn't refer anchor and focus of selection if there are 2 or more selection ranges r=smaug
Selection's focus and anchor node and offset are stored only for the last range.  However, ContentEventHandler needs its first range.  Therefore, ContentEventHandler shouldn't refer them if there are two or more selection ranges.

MozReview-Commit-ID: ACflFE3ZrOM

--HG--
extra : rebase_source : 9a2d1ef0e18a07881f77deff579830a4a0c97fc5
2016-06-11 22:22:10 +09:00
Masayuki Nakano 4e5c167f73 Bug 1275914 part.5 Support special selections at handling eQuerySelectedText r=smaug
TextComposition needs to query first IME selection.  Therefore, we need to add support to query special selection range with eQuerySelectedText.

First, WidgetQueryContentEvent::mInput should have mSelectionType which should be initialized with InitForQuerySelectedText() but unfortunately, there is no method for eQuerySelectedText.  Therefore, this patch initializes WidgetQueryContentEvent::mInit::mSelectionType with SelectionType::eNormal in its constructor.

Next, ContentEventHandler needs to support to handle eQuerySelectedText with special selection types.  However, we need to create 2 paths in some cases, one is for normal selection and the other is for special selections because there are no selection ranges may be usual case for special selections but not so for normal selection.  Therefore, ContentEventHandler::InitCommon() becomes a little bit more complicated.  ContentEventHandler::mSelection and ContentEventHandler::mFirstSelectedRange is initialized with the specified selection type but normal selection type is also necessary to compute the selection root since the selection root is computed from the first selected range which may not be anywhere if its selection type is not normal.

Finally, ContentEventHandler::OnQuerySelectedText() returns "there are no selections" as succeeded case in special selection type cases.

MozReview-Commit-ID: 9WzUx8b5piw

--HG--
extra : rebase_source : fb07b40748b594d36315f1fc21c0a02ff9f668bb
2016-06-21 13:13:11 +09:00
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
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
Ray Lin 5a89cbb1ca Bug 887934 - Add closed caption button to video control. r=jaws
MozReview-Commit-ID: JykXcNBkSLr

--HG--
extra : transplant_source : %BB%26%BB%C2%0E50x%0E%B7%20Y%2Cs%A9x_%8F%D7%D6
2016-06-07 15:07:03 +08:00
Jarda Snajdr 196c4493fd Bug 1280247 - Netmonitor JS stack traces should show the frame's asyncCause r=ochameau 2016-06-15 23:30:00 +02:00
Philipp Kewisch 6b67f0dc68 Bug 1279740 - Cannot open scratchpad with browser execution context preset. r=jryans 2016-06-11 23:58:48 +02:00
Alessio Placitelli 718ea32bcf Bug 1233986 - Add test coverage. r=gfritzsche
MozReview-Commit-ID: 1Mi2ogNvy2o
2016-06-21 08:33:00 +02: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
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
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