Commit Graph

467786 Commits

Author SHA1 Message Date
J. Ryan Stinnett
76c8287ad6 Bug 1249934 - Avoid CPOWs in GCLI cookie commands. r=jwalker
MozReview-Commit-ID: 3a1PoMDbUYW
2016-03-24 14:10:27 -05:00
Ed Lee
8a9601c1ca Bug 1259506 - Add telemetry probe for counting copy panel actions. r=dmose, f=bsmedberg 2016-03-14 00:29:21 -07:00
Sebastian Kaspari
f6aadfe950 Bug 1257319 - (Bustage) Follow-up: Migrate new code to use notifyObservers() API. r=me CLOSED TREE
MozReview-Commit-ID: msStUIbCV3
2016-03-24 17:39:11 +01:00
Giorgio Maone
0f419b63e5 Bug 1252596 - Implement webRequest.onErrorOccurred. r=kmag
MozReview-Commit-ID: GFeFjKlsMAD

--HG--
extra : transplant_source : G%ED%267%A3%23%BE%D2%17%9DV%D3.%3D%D9%13M%E8%7B%2A
2016-03-07 09:35:24 +01:00
Matt Howell
769625853b Bug 1246944 - Don't continue updating if copying the callback executable fails; r=rstrong 2016-03-23 10:53:48 -07:00
Daisuke Akatsuka
a096e3264f Bug 1253493 - Part2: Show iterationStart to the GUI. r=pbro 2016-03-23 13:06:43 +09:00
Daisuke Akatsuka
459706a9ee Bug 1253493 - Part1: Show iterationStart to the tooltip. r=pbro 2016-03-23 12:56:32 +09:00
Nicolas Chevobbe
c123351274 Bug 1250835 - Display swatch for angles in the rules panel. r=miker
Add a swatch before angle values in the rules panel and allow cycling
through angle units with shift+click (like we already do for color units).

MozReview-Commit-ID: CWhoUQTkP1G

--HG--
extra : transplant_source : %5B%E5%AD%22%D2%20uk%07%EE%A9%E4%91YS%B3R%C3%DF%21
2016-03-08 23:04:54 +01:00
Jan Odvarko
26b7a789ee Bug 1244912 - JSON Viewer: hide object summary when object is expanded; r=jryans 2016-03-22 15:36:52 +01:00
Lin Clark
367e617129 Bug 1239436 - Remove in-place mutation of trees' expanded sets in reducers. r=fitzgen 2016-03-16 13:19:00 +01:00
Jason Laster
37f4efccea Bug 900763 - "edit conditional breakpoint". r=jlong
This patch updates the Source Editor contextmenu's UX. Prior to the
patch, the menu would show the option "Add conditional breakpoint" even
when there was a conditional breakpoint. Now, that option reads "Edit
conditional breakpoint".
2016-03-23 07:22:00 +01:00
Carsten "Tomcat" Book
de6c414085 Merge mozilla-central to fx-team 2016-03-24 16:20:13 +01:00
Carsten "Tomcat" Book
8427ea0354 merge mozilla-inbound to mozilla-central a=merge 2016-03-24 16:15:30 +01:00
Sebastian Hengst
4029855eed Backed out changeset e139011ede5b (bug 1254780) for crashes in mozilla::gfx::Log<1,mozilla::gfx::CriticalLogger>::WriteLog on Windows 7 debug. r=backout 2016-03-24 10:52:52 +01:00
Jeremy Chen
b89a58fbd9 Bug 1239564 - fix reftest. r=mattwoodrow
Let transform property in reference file consistent with that in
test file.

--HG--
extra : commitid : GaPvlUKljfg
2016-03-24 17:25:40 +08:00
Andrea Marchesini
91e4d4e4ea Followup for bug 1246091 to fix the naming for PopulateConsoleNotificationInTheTargetScope, r=me 2016-03-24 09:29:08 +01:00
Mark Capella
a9bf9d6f64 Bug 1255819 - Fix SelectionHandler copy/paste in type=number text fields, r=margaret 2016-03-23 20:03:07 -04:00
Andrzej Hunt
e62ff4a49f Bug 1219343 - Enable "Always restore tabs" by default r=margaret
Note, the effect of this change varies as follows:

(A) New users:
(B) Existing users who have never opened Settings->Advanced:
- Tabs will restore by default

(D) Existing users who have explicitly set the preference to disabled:
(D) Existing users who visited Settings->Advanced, without explicitly opening this preference:
- Tabs will not restore by default
(The preference already has a value set, hence the default has no effect)

MozReview-Commit-ID: DjMeEcYhusj
2016-03-23 11:19:10 -07:00
Jonathan Kew
5bebe5a758 Bug 1259065 - Don't constrain window position (only its size) when DPI-rescaling during a move. r=emk 2016-03-23 17:54:45 +00:00
Carsten "Tomcat" Book
1896f78c07 Backed out changeset 41de0b26ddd2 (bug 1238928) for test failures in /test_pointer-events-1b.xhtml 2016-03-24 08:47:25 +01:00
Carsten "Tomcat" Book
3f5c176a1f Backed out changeset e3853bd79051 (bug 1258843) 2016-03-24 08:47:03 +01:00
Brian Birtles
ded9534a6c Bug 1245748 - Add a Move constructor to Keyframe; r=heycam
I have confirmed that by adding this, we end up calling SwapElements() on the
mPropertyValues member when we build up the nsTArray<Keyframe> result in
GetKeyframeListFromPropertyIndexedKeyframe. Without this explicit move
constructor (i.e. with only the default move constructor) the copy-constructor
for mPropertyValues is called.

MozReview-Commit-ID: 6IWkP97RFUr

--HG--
extra : rebase_source : 4ac4b6545337810a3047f2cfb1dac86074116cfb
2016-03-24 10:39:29 +09:00
Patrick Brosset
d78eee6af3 Bug 1258333 - Prevent errors when unhighlighting when the toolbox is closed; r=zer0
MozReview-Commit-ID: HUhCsqiVtEd

--HG--
extra : rebase_source : b4e18740d646192e0796ac1fd95458d8846311e4
2016-03-23 17:26:25 +01:00
Sebastian Kaspari
380eb8ad82 Bug 1241810 - Follow-up: Fix FeedSubscription.hasBeenUpdated() after conflicts. r=me
MozReview-Commit-ID: LL7t96m1u6s
2016-03-24 13:52:19 +01:00
Sebastian Kaspari
efd2f7dfa3 Bug 1241810 - Review follow-up: Ensure that FeedService always calls completeWakefulIntent(). r=me
MozReview-Commit-ID: GWnPCYBilNJ

--HG--
extra : rebase_source : de2185b4c6209c2d06acf2008a254c04b7d8e5f2
2016-03-23 16:08:33 +01:00
Sebastian Kaspari
513ad73d4e Bug 1241810 - Review follow-up: Rename actions to be more descriptive. r=me
MozReview-Commit-ID: 5VbOQv4W7CZ

--HG--
rename : mobile/android/base/java/org/mozilla/gecko/feeds/action/CheckAction.java => mobile/android/base/java/org/mozilla/gecko/feeds/action/CheckForUpdatesAction.java
rename : mobile/android/base/java/org/mozilla/gecko/feeds/action/EnrollAction.java => mobile/android/base/java/org/mozilla/gecko/feeds/action/EnrollSubscriptionsAction.java
rename : mobile/android/base/java/org/mozilla/gecko/feeds/action/BaseAction.java => mobile/android/base/java/org/mozilla/gecko/feeds/action/FeedAction.java
rename : mobile/android/base/java/org/mozilla/gecko/feeds/action/SetupAction.java => mobile/android/base/java/org/mozilla/gecko/feeds/action/SetupAlarmsAction.java
rename : mobile/android/base/java/org/mozilla/gecko/feeds/action/SubscribeAction.java => mobile/android/base/java/org/mozilla/gecko/feeds/action/SubscribeToFeedAction.java
rename : mobile/android/base/java/org/mozilla/gecko/feeds/action/WithdrawAction.java => mobile/android/base/java/org/mozilla/gecko/feeds/action/WithdrawSubscriptionsAction.java
extra : rebase_source : d87251b9d09d722aee73bea62694666a4b182b3a
2016-03-23 16:07:52 +01:00
Sebastian Kaspari
9fdb905a6e Bug 1241810 - Review follow-up: Rename CheckAction.notify() to CheckAction.showNotification(). r=me
MozReview-Commit-ID: EIRYnna6yf9

--HG--
extra : rebase_source : 5fa1e41087c5dfdb090adfdeca829d22665d590c
2016-03-23 15:56:24 +01:00
Brian Birtles
119a18fee3 Bug 1245748 - Remove no-longer-needed code for directly setting up properties in KeyframeEffect(ReadOnly) constructor; r=heycam
MozReview-Commit-ID: 4V3LMByas9Q

--HG--
extra : rebase_source : c2c687cd39b8287e7e9cb2a4edd12c86a056a0de
2016-03-22 16:36:45 +09:00
Brian Birtles
81c73a9b4b Bug 1245748 - Use Keyframe-based utility functions when constructing KeyframeEffect(ReadOnly); r=heycam
MozReview-Commit-ID: 72vLatkFqMq

--HG--
extra : rebase_source : 5b40afe6e12b3bcb3a57ed294fc582bf7e40ba18
2016-03-22 16:35:53 +09:00
Brian Birtles
1cf303b56f Bug 1245748 - Add ApplyDistributeSpacing for Keyframe objects; r=heycam
MozReview-Commit-ID: 8KNERsl8tea

--HG--
extra : rebase_source : e48ca76aea6e93722f285bf59a8696d6a102bf99
2016-03-22 16:35:53 +09:00
Brian Birtles
93bd57b41f Bug 1245748 - Add GetAnimationPropertiesFromKeyframes; r=heycam
MozReview-Commit-ID: GUnogloqViS

--HG--
extra : rebase_source : ba999c9f9bf18683b7942dfefe0c0242124af474
2016-03-22 16:34:14 +09:00
Brian Birtles
56612fa76d Bug 1245748 - Add PropertyPriorityIterator; r=heycam
MozReview-Commit-ID: JjBWcyEG3f6

--HG--
extra : rebase_source : f3f4de1b665078112205883cb1885931b84ff6ee
2016-03-22 16:33:16 +09:00
Brian Birtles
7e9749fed0 Bug 1245748 - Split PropertyPriorityComparator into a separate (reusable) class; r=heycam
MozReview-Commit-ID: Gq5VylZoS2q

--HG--
extra : rebase_source : c47b937ef63df3dbabfe4dded9de42372c5403f6
2016-03-22 16:33:11 +09:00
Brian Birtles
a1ae304c59 Bug 1245748 - Add a variant of StyleAnimationValue::ComputeValues that takes an nsCSSValue; r=heycam
MozReview-Commit-ID: 83popM8E0Q4

--HG--
extra : rebase_source : efef274a8a2a21423e6c1931d9b92739272eb72a
2016-03-22 16:31:16 +09:00
Brian Birtles
b411ad9926 Bug 1245748 - Add nsStyleContext parameter to StyleAnimationValue::ComputeValue(s); r=heycam
StyleAnimationValue::ComputeValue(s) will automatically look up the style
context of the supplied element. This is mostly fine, but when we start using
this method in scenarios where we are building the initial style context
(as happens later in this patch series) it can easily land us in a situation
where we iterate indefinitely.

It would be better, instead, to just explicitly pass in the style context we
want to use, as we already do for StyleAnimationValue::ExtractComputedValue.

MozReview-Commit-ID: ZoVBlBRRBI

--HG--
extra : rebase_source : 9012cc2e405fc887f070fbfaa2f9853289882862
2016-03-22 16:31:09 +09:00
Brian Birtles
67707b72eb Bug 1245748 - Add KeyframeUtils::GetKeyframesFromObject; r=heycam
MozReview-Commit-ID: 2cl8NIMApSy

--HG--
extra : rebase_source : f0cafad483afcf36efa86f6fa137bbffd068bcb5
2016-03-22 16:25:38 +09:00
Brian Birtles
9ccb67c08b Bug 1245748 - Move keyframe handling code to a separate KeyframeUtils class; r=heycam
MozReview-Commit-ID: 2r27vCLcOhs

--HG--
extra : rebase_source : 6ba24ece944543e250728cf2b18370c277e746d0
2016-03-22 16:20:37 +09:00
Brian Birtles
fa75146d8b Bug 1245748 - Add missing includes to TimingParams.{cpp,h}; r=heycam
Once we tweak moz.build in the next patch, the grouping in the unified build
will change and expose these missing includes so we fix them here, first.

MozReview-Commit-ID: GebEEociwTo

--HG--
extra : rebase_source : 18158fdf8a3c1a1dcf446118371cad1a15fd4daf
2016-03-22 16:20:31 +09:00
Brian Birtles
22923130f6 Bug 1245748 - Define the Keyframe type for storing specified keyframes; r=heycam
MozReview-Commit-ID: rejtrG0U1A

--HG--
extra : rebase_source : 24815326a6dfc8c71eda559703f791a204185ea2
2016-03-22 16:19:43 +09:00
Brian Birtles
84a59825cc Bug 1245748 - Update handling of 'composite' dictionary members to match changes to the spec; r=heycam, r=bz
Specifically, for the 'composite' member on keyframes, we now indicate "use the
composite value specified on the effect" using a missing/undefined 'composite'
member as opposed to a null value.

MozReview-Commit-ID: ZH45GvCTlP

--HG--
extra : rebase_source : 5acf081fb844f81280765a87ec019b7847ca1885
2016-03-22 16:18:22 +09:00
Brian Birtles
e8806251b8 Bug 1245748 - Rename Keyframe-related IDL types to match changes to Web Animations spec; r=heycam, r=bz
In particular, the spec no longer has Keyframe and PropertyIndexedKeyframes
types but rather deals with objects. The algorithms for processing these
objects, however, define various Base* types:

  https://w3c.github.io/web-animations/#dictdef-basepropertyindexedkeyframe
  https://w3c.github.io/web-animations/#dictdef-basekeyframe
  https://w3c.github.io/web-animations/#dictdef-basecomputedkeyframe

MozReview-Commit-ID: 3RqoEO66kJ

--HG--
rename : dom/webidl/Keyframe.webidl => dom/webidl/BaseKeyframeTypes.webidl
extra : rebase_source : 35a586584934170c5427138a85d167258cb34993
2016-03-22 16:16:39 +09:00
Brian Birtles
2459ec4912 Bug 1245748 - Move ComputedTiming to a separate file; r=heycam
Before we begin re-arranging KeyframeEffect.h we move ComputedTiming aside
since putting it in a separate file should make navigating the source
easier.

MozReview-Commit-ID: L5GTFAo00sh

--HG--
extra : rebase_source : e88b6ea092c459afa90831de8469697454e00c5a
2016-03-22 08:11:05 +09:00
Andrzej Hunt
2f56539665 Bug 1254468 - Post: Remove unused TransitionsTracker r=sebastian
This is no longer needed - TransitionAwareCursorLoaderCallbacks was the only
consumer - it was removed as it caused race conditions. The ideal future solution
is probably to use recyclerviews to avoid jank, rather than trying to wait for
transitions to happen.

It's also extremely difficult to use this correctly - the
TransitionAwareCursorLoaderCallbacks simply held the cursor that would usually
be swapped in onLoadFinished until transitions have finished (which is incorrect,
since cursors need to be swapped in before onLoadFinished returns). It's hard to imagine
any alternative solutions, short of avoiding loading cursors in the first place (which
isn't too useful, since cursor loading happens in the background, at which point the UI
status is irrelevant), or hacking the CursorLoader to not return from its worker thread
until UI transitions are done (which would require a new thread-safe implementation of
TransitionsTracker), or maybe even hacking Android Framework's AsyncTaskLoader  to not run Loader.deliverResult
while transitions are running (which seems awfully brittle and hacky).

MozReview-Commit-ID: 3JWDcznYL4Y

--HG--
extra : rebase_source : 1b4f52d84b21e4d93ebfb2d5c8d633c6ad12cf8e
extra : histedit_source : 2625e74aa08efa085733d3d34c6a2fa8550cf9f9
2016-03-15 09:06:46 -07:00
Andrzej Hunt
a208332101 Bug 1254468 - Remove broken TransitionAwareCursorLoaderCallbacks r=sebastian
TransitionAwareCursorLoaderCallbacks is fundamentally flawed: old CursorLoader
cursors _must_ not be used after onLoadFinished has been called. However
we sometimes queue the cursor swapping (which is implemented by subclasses
in onLoadFinishedAfterTransitions) until after transitions have finished.
CursorLoader.deliverResult() closes the old cursor immediately after calling
onLoadFinished (with the new cursor). At this stage the adapter is
still holding onto the old (but now closed cursor), and will crash if it tries
to read this cursor (which can happen if the adapter is still iterating over the
cursor).

Instead we should ensure that we swap the cursors during onLoadFinished - the simplest
way to do this is by eliminating TransitionAwareCursorLoader and using onLoadFinished
the way the Android framework expects.

It's worth noting that TransitionAwareCursorLoader is obsolete: at the time it was added,
home panels were placed in the HomePagerTabStrip, which notified TransitionsTracker about
its transitions. However HomePagerTabStrip no longer exists, hence there's no need
for us to care about these transitions anymore. (The crash seems to happen because we
try to hide the doorhanger every time we receive LOCATION_CHANGE, and each of these starts
a hide transition - even if no doorhanger is shown - hence we often have a transition
in progress every time we show topsites.)

MozReview-Commit-ID: HsytLpHOrp2

--HG--
extra : rebase_source : 0411e017e19bb4393368b175418a41b0129a622b
extra : histedit_source : 19e68ed7f68180122b7514849b5dad4e246784cb
2016-03-14 15:38:53 -07:00
Michael Comella
06b85c49ff Bug 1256427 - Move to AtomicFile in framework from support lib. r=sebastian
MozReview-Commit-ID: 6DOKydvvSGJ

--HG--
extra : rebase_source : 0c1619d54b2a2f40952e7b01e6b9133aaabdc991
2016-03-23 10:30:52 -07:00
Michael Comella
ed5862c693 Bug 1256427 - Move to LruCache in framework from support lib. r=sebastian
MozReview-Commit-ID: HImxvIVjIhw

--HG--
extra : rebase_source : 14baf6951f4cb195edc6b5c99ffa3065eb6c9d1a
2016-03-23 10:29:25 -07:00
Mark Banner
38000e6009 Bug 1259245 - Land version 1.2.3 of the Loop system add-on in mozilla-central - code updates. rs=Standard8 for already reviewed code.
--HG--
extra : commitid : A9g5tbAfCDM
2016-03-23 21:51:33 +00:00
Nick Fitzgerald
aded56b1da Bug 1241815 - Show a message when filtering yields no matches; r=jsantell 2016-03-23 13:08:29 -07:00
Felipe Gomes
97fdb27ffd Bug 1234404 - Wait for the tabs to be removed before finishing the test. r=me
Hopefully this gets rid of the orange in this bug

MozReview-Commit-ID: FgOxiCUDeJj
2016-03-23 15:50:07 -03:00
Sebastian Kaspari
d9822bf095 Bug 1254491 - Enable downloadable fonts in all release channels. r=rnewman
MozReview-Commit-ID: 7htS1v9jWJq

--HG--
extra : rebase_source : f674bf0e12580736c039889d79b8257abd4c9cf1
2016-03-22 12:57:11 +01:00