Commit Graph
2909 Commits
Author SHA1 Message Date
Grigory Kruglov 3f3a577504 Bug 1278644 - Stable getItemID implementation for ClientsAdapter r=sebastian
MozReview-Commit-ID: AH0wgVKBMYo
2016-06-28 17:18:23 -07:00
Grigory Kruglov f10c270e65 Bug 1278644 - Stable getItemId implementation for VisitedAdapter r=sebastian
MozReview-Commit-ID: AwiwGAVRA3k
2016-06-28 16:04:09 -07:00
Grigory Kruglov 90651349a4 Bug 1278644 - Stable getItemId implementation for CombinedHistoryAdapter r=sebastian
MozReview-Commit-ID: EylBNeI9Xwp
2016-06-28 15:16:59 -07:00
Randall Barker fcc8403860 Bug 1284570 - Android APZ fling can end up with a NaN velocity r=snorp 2016-07-05 15:46:47 -07:00
Tarek Ziadé 8045789f63 Bug 1271860 - Move switchboard logic to client to consume JSON config directly - r=sebastian
MozReview-Commit-ID: C3W8qf2nbVq
2016-07-05 15:55:54 +02:00
Tom Klein f242b8e13a Bug 1031519 - Use immersive fullscreen when available. r=mcomella
This is Deepthi Venkitaramanan's patch with feedback comments addressed.

MozReview-Commit-ID: 7vs0ZgefOVy
2016-07-18 18:50:47 -05:00
Tom Tromey 1b5a2bdb96 Bug 1286877 - do not set c-basic-offset for python-mode; r=gps
This removes the unnecessary setting of c-basic-offset from all
python-mode files.

This was automatically generated using

    perl -pi -e 's/; *c-basic-offset: *[0-9]+//'

... on the affected files.

The bulk of these files are moz.build files but there a few others as
well.

MozReview-Commit-ID: 2pPf3DEiZqx
2016-07-14 10:16:42 -06:00
Carsten "Tomcat" Book 877d717533 merge mozilla-inbound to mozilla-central a=merge 2016-06-30 12:33:41 +02:00
James Willcox 54460839a2 Bug 1280666 - Expose velocity (speed) from StackScroller and use in APZC r=rbarker 2016-06-29 17:09:55 -07:00
James Willcox 434061519c Bug 1280666 - Use StackScroller from Chrome for fling animations r=rbarker 2016-06-29 17:09:55 -07:00
James Willcox dcdc379be9 Bug 1280666 - Allow class annotations to set defaults for members when generating Java bindings r=jchen 2016-06-29 17:09:55 -07:00
Jonathan Almeida (:jonalmeida) 287af9f055 Bug 1268608 - Toolbar hiding should be a snappy, constant speed r=sebastian
By changing the Interpolator to be linear instead of decelerating, we should
see an animation with constant speed. I've also reduced the animation time
from 250 milliseconds to 150 to give it a snappier feel.

MozReview-Commit-ID: LBsdxG0lyvX
2016-06-23 08:16:51 -07:00
Grigory Kruglov 4e37da47f8 Bug 1280409 - Guard against cursor failures while migrating data from HistoryExtensionsDB r=sebastian
MozReview-Commit-ID: 138SK46rgfi
2016-06-23 06:04:59 -07:00
Grigory Kruglov 62959b0a3d Bug 1278301 - Exclude history items from Top Sites which were not visited locally r=sebastian
MozReview-Commit-ID: 7wFOwvIz4k4
2016-06-28 17:33:21 -07:00
SUN Haitao 954ed3c5a1 Bug 1282222 - Add a 'deleteIntent' parameter to the 'NotificationClient.add' method ;r=jchen
MozReview-Commit-ID: GOwCi2LkFTm
2016-06-25 23:17:50 +08:00
SUN Haitao 3bce4a6a4f Bug 1282222 - Clean up 'NotificationClient.java' ;r=jchen
MozReview-Commit-ID: 141QdoXyWaf
2016-06-26 11:41:11 +08:00
Grigory Kruglov 4e48354311 Bug 1282621 - Let GeckoAppShell queue up network state events if GeckoThread isn't in RUNNING state r=sebastian
When launching fennec while device is offline, we would often not send these events to Gecko,
and it wouldn't know to load tabs from cache. sendEventToGecko would queue up our events for us if GeckoThread isn't
in the RUNNING state, so let's rely on that mechanism instead. It's possible that we will have a succession of network
state events which aren't valid by the time they're actually sent, but as long as event queue is FIFO, it should be ok.

MozReview-Commit-ID: BCiO2EozUnx
2016-06-27 17:29:25 -07:00
Grigory Kruglov ad38e6196c Bug 1282621 - Pre: correctly treat results of registerReceiver call r=sebastian
registerReceiver returns the first sticky intent which matches our filter, or null
if there aren't any. Remove the log statement about "failed registration", since null just
means that we haven't had any sticky broadcasts for this filter yet.

MozReview-Commit-ID: KA2Rxt2fk2T
2016-06-27 17:24:18 -07:00
Carsten "Tomcat" Book 198ab171ec Merge mozilla-central to fx-team 2016-06-28 16:14:58 +02:00
Carsten "Tomcat" Book 0eceffdd01 merge mozilla-inbound to mozilla-central a=merge 2016-06-28 16:09:05 +02:00
Sebastian Kaspari 0cbf1cb67e Bug 1266369 - FloatingToolbarTextSelection: Add an offset to the content rect to avoid overlap. r=ahunt
MozReview-Commit-ID: HNkTOAS7toJ
2016-06-27 13:47:32 +02:00
Sebastian Kaspari f7c0045b25 Bug 1266369 - (Pre) FloatingToolbarTextSelection: Add final keyword where feasible. r=ahunt
MozReview-Commit-ID: DF7qmGXMfEy
2016-06-27 11:51:32 +02:00
Andrzej Hunt ca15659eb8 Bug 1280539 - don't open topsites into reader view if stored as offline reader-view page r=sebastian
By default, i.e. for most lists in the homepanels, we want to open the offline reader-view version
of a page if the page is stored as an offline reader-view bookmark (TwoLinePageRow shows the bookmark
and offline status for pages, not only in bookmarks, but also in the list of top sites, awesomescreen
results, and history). The only exception is the topsites grid, where we don't offer any indication
of the bookmark or offline status of a page. For now the expectation is that topsites open the
normal version of a page, so we need to bypass the usual flow for that case.

(It's possible the UI around this would change in future, but with the current UI this is probably
 the most obvious / least frustrating behaviour.)

MozReview-Commit-ID: BMpGG4KQ62w
2016-06-27 22:23:08 +02:00
Wes Kocher 1f09a056c4 Merge m-c to fx-team, a=merge 2016-06-27 14:09:55 -07:00
Andrzej Hunt 13ac1b8919 Bug 1235599 - Make UrlMetadataTable.CONTENT_URI public to allow using in tests r=mcomella
MozReview-Commit-ID: EFDX4uihBqz
2016-06-06 13:06:43 -07:00
Grigory Kruglov abb54fdb35 Bug 1278980 - Add OPENED_FROM_TABS_TRAY event, and use it to trigger "offline version" snackbar r=sebastian
For now, this event is only going to be used to cover a narrow edge case around
display of the "Showing offline version" snackbar, so let's not overthink it.

MozReview-Commit-ID: Cd9q7kwnjjQ
2016-06-24 18:06:55 -07:00
Andrzej Hunt ec2b529da8 Bug 1282372 - Remove tab count transparency/flickering workaround r=sebastian
This issue has been fixed in the latest Android N preview, we should
remove the workaround to simplify the code.

MozReview-Commit-ID: 6xwIA5QzzhQ
2016-06-27 10:22:18 +02:00
Phil Ringnalda 3a30305179 Merge m-i to m-c, a=merge 2016-06-25 16:23:43 -07:00
Grigory Kruglov 17104337f2 Bug 1277467 - Add OfflineTabStatusDelegate for displaying tab-is-offline notifiations when appropriate r=sebastian
- Use Content:PageShow event to inform Tabs that they were actively loaded from cache
- Move offline notification logic away from browser.js and into a delegate, which displays notifications when
tab in question is user-visible

MozReview-Commit-ID: 2qCACHyWOlp
2016-06-24 16:56:04 -07:00
Grigory Kruglov 6d96a57db5 Bug 1277467 - Pre: Add ForegroundAwareDelegate to help track if Gecko tabs are user-visible r=sebastian
MozReview-Commit-ID: KZavLxL4u8V
2016-06-22 06:31:27 -07:00
Jonathan Almeida (:jonalmeida) d1323d4947 Bug 1075476 - Removing download notification restarts Firefox r=sebastian
MozReview-Commit-ID: 35pn1nntcsV
2016-05-25 14:18:10 -07:00
Krishna 2e10454df5 Bug 1280769 - Add Hyphenation Dictionary as separate kind. r=sebastian
MozReview-Commit-ID: G2JLzqpZ1wa
2016-06-21 02:06:35 +08:00
J. Ryan Stinnett 2c42fa71f9 Bug 1253399 - Avoid crashes by checking for QR scanner app. r=sebastian
MozReview-Commit-ID: 6bFrYyt4pzX
2016-06-23 11:59:57 -05:00
Nicholas Rosbrook 3752f48c38 Bug 1264835 - Updated DefaultDoorHanger so that the default CheckBox state could be specified as an option. r=sebastian 2016-06-17 18:29:15 -07:00
Margaret Leibovic 04a1daa305 Bug 1272348 - Remove insecure login doorhanger. r=sebastian
MozReview-Commit-ID: 2wQbyL13BrC
2016-06-20 11:57:32 -04:00
tarek 51e6cc5576 Bug 1280855 - Read original metadata from attachment key; r=sebastian
MozReview-Commit-ID: Kgdc6Nl6hho
2016-06-22 18:32:03 +02:00
Wes Kocher 8787489cc4 Merge m-c to inbound, a=merge 2016-06-24 13:41:15 -07:00
Dylan Roeh 04f244cfae Bug 1257454 - Remove shouldUpdateThumbnail() entirely, always call processThumbnail(). r=snorp 2016-06-24 09:25:29 -05:00
SUN Haitao b7f76abfcb Bug 1264815 - Add a 'showPersistentAlertNotification' method to GeckoAppShell. r=kcambridge 2016-04-17 21:18:20 +08:00
SUN Haitao e2d2649506 Bug 1264815 - Add a 'data' parameter to GeckoThread.createServices; r=jchen 2016-04-16 14:19:37 +08:00
Dylan Roeh e06cc25b16 Bug 1257454: Capture thumbnails for tabs even if tab overview is not currently shown. r=snorp 2016-06-17 16:00:45 +01:00
Dylan Roeh ada5845882 Bug 1280594 - Pause the compositor directly instead of bouncing off the Gecko thread. r=snorp 2016-06-17 16:03:57 +01:00
Sebastian Kaspari c925607bf0 Bug 1279488 - GeckoAppShell.uncaughtException(): Update state check. r=jchen
MozReview-Commit-ID: 3RhHEhYIwQU
2016-06-14 13:39:31 +01:00
Dylan Roeh b167ee11b2 Bug 1280369 - Check surface validity in GLController.resumeCompositor r=snorp 2016-06-16 09:57:30 +01:00
Sebastian Kaspari 3f2865437b Bug 1290012 - Introduce setting to enable experimental activity stream feature. r=ahunt
If the app is build with MOZ_ANDROID_ACTIVITY_STREAM enabled then a preference for
activity stream will appear in the 'advanced' section. All upcoming activity stream
features should check ActivityStream.isEnabled() at runtime.

MozReview-Commit-ID: Hibh1j0lqFo
2016-07-28 21:12:58 +02:00
Alastor Wu 7f9fe35452 Bug 1289356 - only resume music when we're in the state 'AUDIOFOCUS_LOSS_TRANSIENT'. r=sebastian
The audio should only be resumed when we lose audio-focus transiently. Eg. interrupt by ringtone or telephony.

MozReview-Commit-ID: 78QHSqxEhcp
2016-07-29 19:22:31 +08:00
Sebastian Kaspari 6000af3d5f Bug 1286794 - Allow deleting of partner bookmarks by filtering content provider cursor. r=grisha
MozReview-Commit-ID: 1R6lWSXObhU
2016-07-14 13:47:56 +02:00
Sebastian Kaspari 4782f4617a Bug 1286203 - Introduce proxy for partner bookmarks and load icons. r=ahunt,grisha
This patch does multiple things:
* Introduce a proxy content provider for the partner bookmarks provider: This allows
  us to hide the id transformation in the proxy and will later be used to filter
  "deleted" bookmarks from the actual content provider (bug 1286794).
* Modifies LoadFaviconTask to support loading icons from a content provider.
* Introduces a new flag to not download icons from guessed default favicon URLs.

MozReview-Commit-ID: C59ahPcZosn
2016-07-14 11:58:14 +02:00
Michael Comella 9d83dd72a4 Bug 1285511 - Add multidex support to automation builds. r=sebastian
I initially tested my code with a branch around the multidex dependency:

if (mozconfig.substs.MOZ_BUILD_MOBILE_ANDROID_WITH_GRADLE) {
  compile ...multidex...
}

I removed it because it seemed unnecessary - the code shouldn't be
included if it's not referenced.

I tested:
 * Locally with a build that did not exceed the method limit, pre-Lollipop
 * On try, with fx-team
 * On try, with beta

MozReview-Commit-ID: APaOdlKd3QF
2016-07-20 13:06:40 -07:00
Dylan Roeh 9e9bc6c4fc Bug 1288467 - This patch removes GLController.java entirely, moving necessary functionality into LayerView and a new Compositor class. r=jchen 2016-08-01 13:21:31 -05:00