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

20800 Коммитов

Автор SHA1 Сообщение Дата
Gregory Szorc 1485dff75a Merge autoland to mozilla-central; a=merge
--HG--
extra : amend_source : cb410b4de973dc55c63e3fa8c088f71a5c00e51e
2016-07-06 18:11:34 -07:00
Kartikaya Gupta 538a46e316 Bug 1251038 - Enable APZ by default in all.js. r=botond
The only platform for which this change is *not* a no-op is Mulet. Last time
I checked Mulet worked fine with APZ enabled but there were a few test failures.
Now I don't believe it's running in automation anyhwere so that shouldn't be
an issue. If it is, they can re-disable APZ easily enough if needed.

MozReview-Commit-ID: 5xKUuTOnubM
2016-07-06 15:19:32 -04:00
Edouard Oger 89b4dbd676 Bug 1250782 - FxAccountClient: remove post method unused argument delegate. r=eoger
MozReview-Commit-ID: 7jqQ7KWZJf2

--HG--
extra : transplant_source : %AAE%FCK%E0%DF%23%95%1A%3F%DF%F0%83%E9%D9V%8A%13%97%3F
2016-05-26 15:47:00 -07:00
Carsten "Tomcat" Book 039a58cf58 Backed out changeset 142caeafd119 (bug 1286663) 2016-07-21 08:18:23 +02:00
Carsten "Tomcat" Book e8bc59a87a Backed out changeset 684888aeee81 (bug 1287946) 2016-07-21 08:07:12 +02:00
Carsten "Tomcat" Book 27ff1866d4 Backed out changeset d8a07729a34c (bug 1286663) 2016-07-21 08:04:52 +02:00
Jim Chen 78f67d1f6f Bug 1287946 - Update existing code to use mozilla::java; r=me 2016-07-21 00:42:26 -04:00
Jim Chen 5a01a39bfc Bug 1286663 - Remove THUMBNAIL event from GeckoEvent; r=snorp
Remove the now-obsolete THUMBNAIL event from GeckoEvent, as well as its
implementations in nsAppShell and AndroidBridge.
2016-07-21 00:41:13 -04:00
Jim Chen 03bf5be5b2 Bug 1286663 - Add request thumbnail native method to ThumbnailHelper; r=snorp
Add and use a request thumbnail native method call in ThumbnailHelper,
instead of using the THUMBNAIL event in GeckoEvent.
2016-07-21 00:41:13 -04:00
Jim Chen 49c7dfbdde Bug 1286925 - Remove screen orientation event from GeckoEvent; r=snorp
Remove the now-obsolete SCREENORIENTATION_CHANGED event from GeckoEvent.
2016-07-20 21:44:48 -04:00
Jim Chen 0d2e7fcb1d Bug 1286925 - Add orientation change method in GeckoScreenOrientation; r=snorp
Add and use the onOrientationChanged native method in
GeckoScreenOrientation in place of the screen orientation event in
GeckoEvent.
2016-07-20 21:44:48 -04:00
Jim Chen deae801637 Bug 1286662 - Remove network events from GeckoEvent; r=snorp
Remove the now-obsolete network events from GeckoEvent.
2016-07-20 21:44:48 -04:00
Jim Chen 071e1acf10 Bug 1286662 - Add native methods for GeckoNetworkManager notifications; r=snorp
Add and use onConnectionChanged and onStatusChanged native methods in
GeckoNetworkManager in place of the network events in GeckoEvent.
2016-07-20 21:44:48 -04:00
Jim Chen 44909016ff Bug 1285572 - Remove Fennec command-line handler; r=snorp
The Fennec CLH is now no longer used for any purpose, so it can be
safely removed.
2016-07-20 21:43:34 -04:00
Jim Chen fa5754f73b Bug 1285572 - Remove LOAD_URI event; r=snorp
Remove the LOAD_URI event, which is now obsolete, from GeckoEvent.
2016-07-20 21:43:34 -04:00
Jim Chen 0ab038b8c2 Bug 1285572 - Add and use loadUri method in GeckoView; r=snorp
Add a loadUri method in GeckoView that replaces the functionality of the
current LOAD_URI event in GeckoEvent, and make GeckoApp and BrowserApp
use the new call.

The implementation for loadUri differs from the previous implementation
of LOAD_URI by directly calling nsIBrowserDOMWindow::OpenURI, instead of
going through the command-line handler. This more direct approach lets
us get rid of the Fennec command-line handler entirely.
2016-07-20 21:43:34 -04:00
Edouard Oger 974ff34e5f Bug 1250782 - Include fxaDeviceId in sync client records. r=mcomella, nalexander
MozReview-Commit-ID: BjTKTN5XX4w

--HG--
extra : transplant_source : %BCrk%18%D0%5DX%B3%0F%90%BA%83%AEh%BB%BB%C6%A0%E0%29
2016-05-18 13:43:10 -07:00
Edouard Oger 0d35c21fa7 Bug 1250782 - Update device registration on device name change. r=mcomella, nalexander
MozReview-Commit-ID: Cqhej5cfKvE

--HG--
extra : transplant_source : L%98%D9%82%90%C2%85%8C%00%8CF%80w%18%94%CF%F0%B5%7B%14
2016-05-18 12:49:56 -07:00
Edouard Oger ea3aa620c6 Bug 1250782 - Register device on married state. r=mcomella, nalexander
MozReview-Commit-ID: CswoGEpoNl3

--HG--
extra : transplant_source : %9A%BBW%DC%A1%A5%C4%B9%F8c%0EF/%D9%C9.%B1%97%5B%07
2016-05-18 12:48:49 -07:00
Edouard Oger ad9c52e341 Bug 1250782 - Add FxAccountDeviceRegistrator. r=mcomella, nalexander
MozReview-Commit-ID: LIHuHxnfW1V

--HG--
extra : transplant_source : %40%3F%C4%CD%24%5B9%9CaR%5C4YUI%EA%C5%C6%12%EB
2016-05-18 12:48:21 -07:00
Edouard Oger 58c682c8d8 Bug 1250782 - FxAccountClient: add deviceList method. r=mcomella
MozReview-Commit-ID: GJ0fDsKkNEl

--HG--
extra : transplant_source : X%AD%08%FA%F9%A6U%CB%A1%99%D6%A3%0CC%B9%9E%5B%CF%9A%D3
2016-05-18 12:36:31 -07:00
Edouard Oger 2c7bb5dd31 Bug 1250782 - FxAccountClient: add registerOrUpdateDevice method. r=mcomella
MozReview-Commit-ID: 6cGQTZq5G1W

--HG--
extra : transplant_source : n%CD%DB%D4Y%FB%3E%A6%E5%CF%0A%FB%3Ca%07%92%F0%60%95%A3
2016-05-18 12:35:50 -07:00
Edouard Oger aa9e80a40f Bug 1250782 - FxAccountClient: add accountStatus method and rename status method to recoveryEmailStatus. r=mcomella
MozReview-Commit-ID: 3fFQaFe14x2

--HG--
extra : transplant_source : %E1%EF%01%D2%1A%D0%A4%14%15%E6%CD%3E%ED%AD%F2%D4EE%1C%01
2016-05-18 12:28:51 -07:00
Edouard Oger 46fd9a4c88 Bug 1250782 - ResourceDelegate#handleSuccess now gives access to a JsonArray body. r=mcomella
MozReview-Commit-ID: HbRgCaMPZY7

--HG--
extra : transplant_source : %17%E9g%B6/%25%D9d%12%20B%06%E0%5Dv%B8%29%BBCO
2016-05-18 12:32:55 -07:00
Edouard Oger 59547c83f5 Bug 1250782 - Allow MozResponse to return a Json array body. r=mcomella
MozReview-Commit-ID: B40vvA0E7xJ

--HG--
extra : transplant_source : %D4%99M%CE%A2%28Dj%3EA%18%06%91%82%AF%86Q%A2%11j
2016-05-18 12:22:49 -07:00
Sebastian Kaspari c477247a23 Bug 1283627 - Update home pager immediately after restoring tabs. r=JanH
MozReview-Commit-ID: IidO1rCmeb0

--HG--
extra : rebase_source : b13291d1a6e0d7909ccf2b3a58a74fd769fc03d7
2016-07-13 16:15:19 +02:00
Grigory Kruglov b4787fd138 Bug 1278644 - Stable getItemID implementation for ClientsAdapter r=sebastian
MozReview-Commit-ID: AH0wgVKBMYo

--HG--
extra : rebase_source : 34e97821cbcf4211ebd87317435be8e5dfeec58a
2016-06-28 17:18:23 -07:00
Grigory Kruglov 10457d8050 Bug 1278644 - Stable getItemId implementation for VisitedAdapter r=sebastian
MozReview-Commit-ID: AwiwGAVRA3k

--HG--
extra : rebase_source : 2af8f4e2b77977b2d634c8f013aaa5ef5b3ee517
2016-06-28 16:04:09 -07:00
Grigory Kruglov 76dad02030 Bug 1278644 - Stable getItemId implementation for CombinedHistoryAdapter r=sebastian
MozReview-Commit-ID: EylBNeI9Xwp

--HG--
extra : rebase_source : 2da5ae91c3f8cc13078a6b1b252463cf2681d2e7
2016-06-28 15:16:59 -07:00
Randall Barker d0dd0a4bbe Bug 1284570 - Android APZ fling can end up with a NaN velocity r=snorp 2016-07-05 15:46:47 -07:00
Jan Henning 71cbfb28c0 Bug 1284013 - Part 2 - Reduce session store save delays when in background. r=sebastian
When we are backgrounded and Android's onPause() handler runs, we try to synchronously flush out any pending session store to storage. If however some tab events (e.g. tab closing) have been dispatched shortly before the application backgrounding, it is possible that they'll arrive at the session store after the "application-background" event. In this case, we need to process and write them to storage as fast as possible, as we can be killed at any moment now.

Therefore the delay between successive writes is completely abolished while the application is in background.
The minimum delay between a call to saveStateDelayed() and a write operation however is not completely eliminated and instead only reduced to 200 ms, so as to allow for closely following tab events (e.g. closing a tab involves both a TabSelect and TabClose event) to be batched together in one write operation.

MozReview-Commit-ID: I8q7z4kll7O

--HG--
extra : transplant_source : %DA%23%3F%82%92%1E%A8%F5%60%84U%A5%92%FAmcT%A7%D0%AA
2016-04-17 22:06:06 +02:00
Jan Henning efadd57e7b Bug 1284013 - Part 1 - Use temp file for synchronous writes, too. r=sebastian
Currently, sync writes go directly to the destination file, so an interrupted write will leave the session store data in an inconsistent state. To minimise the incidence of this occurring as far as possible, we now mimic the behaviour of atomicWrite when a tmpPath is set and write to a temporary file which is then renamed to the actual destination file after writing has finished.

MozReview-Commit-ID: 3f3z1s0hfl8

--HG--
extra : transplant_source : %A7%88y%1D%23%B6%D0%AE%BC%E54R%24%09%E1D%92%0F%8D%3C
2016-04-17 18:22:36 +02:00
Jan Henning 1f19675455 Bug 1284013 - Part 0 - Fix session store logging logic. r=sebastian
MozReview-Commit-ID: EGQzejCPNyS

--HG--
extra : transplant_source : %03.c%B4%BBm%C6%7F%E7%CD%E9%B0%B6%DD%E2_%BBh%01%E1
2016-05-29 16:52:49 +02:00
Tarek Ziadé 4b4d7ebc98 Bug 1271860 - Move switchboard logic to client to consume JSON config directly - r=sebastian
MozReview-Commit-ID: C3W8qf2nbVq

--HG--
extra : rebase_source : f6366592731771a53a300b4d9e919a4105d468b8
2016-07-05 15:55:54 +02:00
Alastor Wu eaa4a7e589 Bug 1284754 - modify typo error for the event openMediaWithExternalApp. r=jwwang
MozReview-Commit-ID: 1WeniGeQlqa

--HG--
extra : rebase_source : bfd3a68dfcc917d82495369ee70ca9c6351f10a3
2016-07-06 15:07:21 +08:00
Gijs Kruitbosch 8a136be192 Bug 1254036 - skip irrelevant paints when looking for layout having happened, r=sebastian,smaug
MozReview-Commit-ID: DDuHa5Sl2lg

--HG--
extra : rebase_source : 149ffb2307f63c63648d2fcc24f67609721b7050
2016-03-21 16:24:31 +00:00
Jim Chen ce45a595ab Bug 1287946 - Update existing code to use mozilla::java; r=me 2016-07-21 13:49:04 -04:00
Jim Chen 2f32c11585 Bug 1286663 - Remove THUMBNAIL event from GeckoEvent; r=snorp
Remove the now-obsolete THUMBNAIL event from GeckoEvent, as well as its
implementations in nsAppShell and AndroidBridge.
2016-07-21 13:49:04 -04:00
Jim Chen 79f19ad9df Bug 1286663 - Add request thumbnail native method to ThumbnailHelper; r=snorp
Add and use a request thumbnail native method call in ThumbnailHelper,
instead of using the THUMBNAIL event in GeckoEvent.
2016-07-21 13:49:04 -04:00
Tom Klein fa5b0ee6cb Bug 1031519 - Use immersive fullscreen when available. r=mcomella
This is Deepthi Venkitaramanan's patch with feedback comments addressed.

MozReview-Commit-ID: 7vs0ZgefOVy

--HG--
extra : rebase_source : b45ded1517cf05acb04778219cd5860c1afdfcb5
2016-07-18 18:50:47 -05:00
Tom Tromey 5538d692d3 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

--HG--
extra : rebase_source : 0a7dcac80b924174a2c429b093791148ea6ac204
2016-07-14 10:16:42 -06:00
Carsten "Tomcat" Book 3a42c363cc merge mozilla-inbound to mozilla-central a=merge 2016-06-30 12:33:41 +02:00
James Willcox dfd9e9a816 Bug 1280666 - Expose velocity (speed) from StackScroller and use in APZC r=rbarker 2016-06-29 17:09:55 -07:00
James Willcox 75d5558c2f Bug 1280666 - Use StackScroller from Chrome for fling animations r=rbarker 2016-06-29 17:09:55 -07:00
James Willcox 718f23f9d0 Bug 1280666 - Allow class annotations to set defaults for members when generating Java bindings r=jchen 2016-06-29 17:09:55 -07:00
Matthew Wein 569e667c08 Bug 1270742 - Add support for default_icon in chrome.pageAction r=kmag
MozReview-Commit-ID: D9uR0JUXJwx

--HG--
extra : transplant_source : %FC%FBu%0Cboh%DFv%BB%8D%AC%20%ED%A5%E1%3E%DE%126
2016-05-23 15:59:33 -07:00
Cykesiopka 9533a3d17b Bug 1281661 - Ensure input to NSSDialogService prompt messages are HTML escaped to avoid HTML injection. r=kats,keeler
As of the writing of this patch, NSSDialogService pops up a prompter on
Android as follows (assuming at least one label is requested):
1. NSSDialogService.js calls Prompt.jsm methods and eventually requests the
   prompt be displayed.
2. Prompt.jsm sends a messages to the Java side.
3. The Java side receives the message and eventually calls
   org.mozilla.gecko.prompts.PromptInput.LabelInput.getView().
4. LabelInput.getView() calls android.text.Html.fromHtml().

At no point is any HTML injection prevention done, so in theory NSSDialogService
could be an injection vector.

In practice, it appears that fromHtml() doesn't actually allow anything malicious
to be done. This patch introduces HTML escaping at the NSSDialogService
level just to be safe.

MozReview-Commit-ID: LhHuZKSqx01

--HG--
extra : transplant_source : l%C9%A2%95%9A.%05%1F%CF%5D%02%5E%12N%C1%B7O%7C%1B%8B
2016-06-29 18:48:49 -07:00
Jonathan Almeida (:jonalmeida) 7126808eeb 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

--HG--
extra : rebase_source : ef2f1fb0d9e18ce4f23932355e40888355411b36
extra : amend_source : f9f1a0763ac785c4e115a5be78fddb7a83000270
2016-06-23 08:16:51 -07:00
Grigory Kruglov 5291e6bd1b Bug 1280409 - Guard against cursor failures while migrating data from HistoryExtensionsDB r=sebastian
MozReview-Commit-ID: 138SK46rgfi

--HG--
extra : rebase_source : 5c135250a81088bb5c838a4abd352fbbe80ae8d7
2016-06-23 06:04:59 -07:00
Grigory Kruglov c45d52c91f Bug 1278301 - Exclude history items from Top Sites which were not visited locally r=sebastian
MozReview-Commit-ID: 7wFOwvIz4k4

--HG--
extra : rebase_source : 5cba7d932f4ff4e2fd8d4868500e0071f4b2b3fa
2016-06-28 17:33:21 -07:00
SUN Haitao bacd8f992e Bug 1282222 - Make the PersistentNotificationHandler handle 'persistent-notification-close' ;r=kitcambridge
MozReview-Commit-ID: 4S4ijAQV2tG

--HG--
extra : transplant_source : %40%9F%F3%B0%9C%E8u%CB%CAv%2AN%144%97%D3%FD%C5nt
2016-06-25 23:58:03 +08:00
SUN Haitao e4f71beba8 Bug 1282222 - Add a 'deleteIntent' parameter to the 'NotificationClient.add' method ;r=jchen
MozReview-Commit-ID: GOwCi2LkFTm

--HG--
extra : transplant_source : %20%5E%ABJ%3Ey%B7C%91%82%B8T%E2%A7%EF%1A8%EE%E3%9C
2016-06-25 23:17:50 +08:00
SUN Haitao 3f32818ede Bug 1282222 - Clean up 'NotificationClient.java' ;r=jchen
MozReview-Commit-ID: 141QdoXyWaf

--HG--
extra : transplant_source : %E8G%D7M%EFKu%8C%90%F3oGe%9BO%40%FA%F0%01P
2016-06-26 11:41:11 +08:00
Michael Comella 90db3fb96b Bug 1280405 - Add windowActionBar to theme in base configuration. r=ahunt
MozReview-Commit-ID: GCCzveppDDl

--HG--
extra : rebase_source : dcaa7a5138439e4aa0ef91f8c560b469fe4a0200
extra : source : 1abbe06c608ed0c8e83c17f9aeb803de1510eefd
2016-06-27 15:40:33 -07:00
Grigory Kruglov 006cafb26b 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

--HG--
extra : rebase_source : 3935444f69be9171aa60a8f4b3e5db29035ecb6c
2016-06-27 17:29:25 -07:00
Grigory Kruglov 62bfd62453 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

--HG--
extra : rebase_source : 37adcb2a240f36466a95bc34c904dece422e9bbd
2016-06-27 17:24:18 -07:00
Andrzej Hunt 9530eee446 Bug 1228593 - Save session store data when quitting fennec r=janh
MozReview-Commit-ID: 13zaHfYgB3U

--HG--
extra : rebase_source : d30d975ca6bfd6e0a9e63fadc526c34cf3f85324
2016-06-07 13:48:19 -07:00
Carsten "Tomcat" Book bd81760f9c Merge mozilla-central to fx-team 2016-06-28 16:14:58 +02:00
Carsten "Tomcat" Book 261fe13dcd merge mozilla-inbound to mozilla-central a=merge 2016-06-28 16:09:05 +02:00
Carsten "Tomcat" Book faeec86517 merge fx-team to mozilla-central a=merge 2016-06-28 16:06:34 +02:00
Carsten "Tomcat" Book c1cb5a12bd Backed out changeset 00312b136937 (bug 968273) for causing regressions 2016-06-28 10:03:25 +02:00
Sebastian Kaspari e3ba50f742 Bug 1266369 - FloatingToolbarTextSelection: Add an offset to the content rect to avoid overlap. r=ahunt
MozReview-Commit-ID: HNkTOAS7toJ

--HG--
extra : rebase_source : abac9b07dc349624139b241dfaed708be7b0b6f6
2016-06-27 13:47:32 +02:00
Sebastian Kaspari 788773e232 Bug 1266369 - (Pre) FloatingToolbarTextSelection: Add final keyword where feasible. r=ahunt
MozReview-Commit-ID: DF7qmGXMfEy

--HG--
extra : rebase_source : b6f80574151901304755cc114bd3e136cac25bb0
2016-06-27 11:51:32 +02:00
Andrzej Hunt ac79e826e2 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

--HG--
extra : rebase_source : a223304451e46e1c0429c5b3bcd9be6d43bf9428
extra : amend_source : 462ea5b54781fd8c534a4a4a484fd60714e3f40d
2016-06-27 22:23:08 +02:00
Wes Kocher c73d13f1bb Merge m-c to fx-team, a=merge 2016-06-27 14:09:55 -07:00
Andrzej Hunt c44bdd8061 Bug 1235599 - Add basic UrlMetadata tests r=mcomella
MozReview-Commit-ID: J7zSI7E9jb7

--HG--
extra : rebase_source : c94250f0bdff18c7f1b1dc4fe3de3a5daaab03e9
2016-06-06 13:08:55 -07:00
Andrzej Hunt 2d9c9a3ae2 Bug 1235599 - Make UrlMetadataTable.CONTENT_URI public to allow using in tests r=mcomella
MozReview-Commit-ID: EFDX4uihBqz

--HG--
extra : rebase_source : 94016bc76e857681b3cf223038617223d8e13056
2016-06-06 13:06:43 -07:00
Grigory Kruglov fb7d509986 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

--HG--
extra : rebase_source : ebf8656565fef1b6969fb89de20fdd62a64e5043
2016-06-24 18:06:55 -07:00
Sebastian Kaspari b5e1002bdb Bug 1282423 - browser.js: Fix wrong open search expression. r=margaret
MozReview-Commit-ID: KUXP4qcV7sM

--HG--
extra : rebase_source : ac0a1c618445621e779f04d721b9192d8ea2c84e
2016-06-27 15:33:35 +02:00
Thomas Nguyen 6075feb383 Bug 1025965 - Migrate browser.safebrowsing.enabled to browser.safebrowsing.phishing.enabled. r=paolo.mozmail
MozReview-Commit-ID: KFWofvaZuw7
2016-06-23 12:25:32 +08:00
Andrzej Hunt ba3a5ca06f 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

--HG--
extra : rebase_source : dc84f80591ffe2fe779c1649f15376cc29d32662
2016-06-27 10:22:18 +02:00
Phil Ringnalda 98d7a9d9c5 Merge m-i to m-c, a=merge 2016-06-25 16:23:43 -07:00
Grigory Kruglov 26648ad110 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

--HG--
extra : rebase_source : 457a42ebba5cfc32ab7dabce0a8a11d6511b9c08
2016-06-24 16:56:04 -07:00
Grigory Kruglov c09864a3eb Bug 1277467 - Pre: Add ForegroundAwareDelegate to help track if Gecko tabs are user-visible r=sebastian
MozReview-Commit-ID: KZavLxL4u8V

--HG--
extra : rebase_source : 9c19cd72e0dc19d5c80bb1bf7fd2177c14862056
2016-06-22 06:31:27 -07:00
Wes Kocher bf02c9e2f4 Merge m-c to fx-team, a=merge 2016-06-24 13:41:56 -07:00
Wes Kocher ef24c234ed Merge inbound to central, a=merge 2016-06-24 13:37:12 -07:00
Sebastian Hengst 2e51abafdb Backed out changeset 1008f5b88e6b (bug 1270742) for failing browser_ext_browserAction_context.js. r=backout 2016-06-24 13:00:31 +02:00
Cykesiopka 577a05865b Bug 307081 - Make nsIClientAuthDialogs::ChooseCertificate() pass an nsIArray of nsIX509Certs, not strings. r=kats,keeler
This provides implementations of ChooseCertificate() with more flexibility, and
allows callers of ChooseCertificate() to be less complex.

A portion of this work involves reimplementing
nsNSSCertificate::FormatUIStrings() in JS and improving UI strings for l10n.

MozReview-Commit-ID: CE7Uc2ntwmZ

--HG--
extra : transplant_source : R%A8eC%CEO2%DC%20%F7%B4V%F3g%E6h%EB%D5%8D3
2016-06-24 00:12:16 -07:00
Cykesiopka 313db6b516 Bug 307081 - Clean up nsIClientAuthDialogs.idl and implementations. r=kats,keeler
This fixes the following in the IDL:
1. Misleading or unclear parameter names in the IDL. |cn| in practice is the
   concatenation of the CN of the server cert and the port of the server, and
   |issuer| is the Organization of the issuer cert of the server cert.
2. Use of the |wstring| type. |AString| is generally preferred, and has the
   benefit of letting implementations skip null checks due to the use of
   references.
3. Using an explicit |canceled| outparam instead of just setting a return type.
   There is no need for the outparam if the return type can be used.
4. Using |long| (int32_t) for |selectedIndex|. |unsigned long| (uint32_t) is
   more logical, and paves the way for future changes.

This fixes the following in the Android implementation:
1. Lack of checks to ensure the QueryInterface() call succeeded. In practice,
   the call will always succeed, but it's good practice to check anyways.
2. Setting a variable to an nsIPrefService instance initially, then later
   setting it to a pref branch instance later on. This is confusing and
   unnecessary.

This fixes the following in the desktop implementation:
1. Lack of null pointer checking.
2. Trying to get a parent window ref off a context that doesn't actually support
   doing so.
3. Setting a variable to an nsIPrefService instance initially, then later
   setting it to a pref branch instance later on. This is confusing and
   unnecessary.
4. Abusal of the CAPS bundle.
5. Unnecessary variables.
6. Variables declared far away from where they are used.
7. Variable shadowing.
8. Style issues.
9. Lack of documentation.

This also fixes the following:
1. Lack of localisation notes.

MozReview-Commit-ID: FTc6XecJd6h

--HG--
extra : transplant_source : %ABQ%8F%E6%A3%25%FE%94%E4%D6X%3D%28%2C%05%5E%FB%84.-
2016-06-24 00:12:11 -07:00
Cykesiopka a9d0602102 Bug 307081 - Fix buggy Android implementation of nsIClientAuthDialogs::ChooseCertificate(). r=kats
This fixes two issues:
1. Passing a literal 1 as the |length| argument to formatStringFromName(). This
   is obviously incorrect and should instead be the length of the given arg
   list.
2. Directly setting the |selectedIndex| outparam to a number. XPIDL outparams
   on the JS side are actually objects that wrap the true outparam value, which
   must be accessed via |.value|.

MozReview-Commit-ID: BJObQfcV5G7

--HG--
extra : transplant_source : %11%B2TD%F5%C3%84%BD%C1%7B%3B%1Em%EC%CA%CAu%E5%3Dq
2016-06-24 00:12:01 -07:00
Jonathan Almeida (:jonalmeida) e5b695ac3d Bug 1075476 - Removing download notification restarts Firefox r=sebastian
MozReview-Commit-ID: 35pn1nntcsV

--HG--
extra : rebase_source : 0b8725fcebf7bb2e64c2e0326b0c7cae2e6e23b4
2016-05-25 14:18:10 -07:00
Krishna 069781cf8d Bug 1280769 - Add Hyphenation Dictionary as separate kind. r=sebastian
MozReview-Commit-ID: G2JLzqpZ1wa

--HG--
extra : transplant_source : %27%C3%08%AF%C7%C0YC%23v%E4%97%CC%B7%7D%12qkTm
2016-06-21 02:06:35 +08:00
Matthew Wein 48b0f752e6 Bug 1270742 - Add support for default_icon in chrome.pageAction. r=kmag
MozReview-Commit-ID: D9uR0JUXJwx

--HG--
extra : transplant_source : %D2%EEUA%D1%C7Yp%88E%851%200n%90%D7%8F%0C%F4
2016-05-23 15:59:33 -07:00
J. Ryan Stinnett c91928a953 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 9dcffb4d88 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
Michael Kaply 171f9d0312 Bug 1264705 - Add Qwant search plugin for mobile. r=florian,flod 2016-06-22 09:04:53 -05:00
Margaret Leibovic 1ce23ed88e Bug 1272348 - Remove insecure login doorhanger. r=sebastian
MozReview-Commit-ID: 2wQbyL13BrC

--HG--
extra : rebase_source : 80ce4d78b8033f43654051dc04978121cd5b7323
2016-06-20 11:57:32 -04:00
SUN Haitao afa7290190 Bug 1264815 - Add a component to handle 'persisent-notification-click'. r=kcambridge 2016-05-12 09:28:46 +08:00
tarek 25f7d15998 Bug 1280855 - Read original metadata from attachment key; r=sebastian
MozReview-Commit-ID: Kgdc6Nl6hho

--HG--
extra : rebase_source : eeadee4d0e996e14b02fe939caf7cc366b856533
2016-06-22 18:32:03 +02:00
Chih-Yi Leu 8733310923 Bug 1221730 - Change GamepadServiceTest into webidl. r=qdot, r=baku
--HG--
extra : rebase_source : 8e04725e80467a17d1a1a775f791782abe842c1b
2016-06-28 00:26:00 +02:00
Joel Maher c9103dfcd9 backout Bug 1174206 (3e53a0aae914 and 6b992274233a) for gecko decision task route conflict
MozReview-Commit-ID: 3PrHGAqtpLj
2016-06-28 10:59:19 +03:00
Wes Kocher 8c38ca1410 Merge m-c to inbound, a=merge 2016-06-24 13:41:15 -07:00
Dylan Roeh 8c31110735 Bug 1257454 - Remove shouldUpdateThumbnail() entirely, always call processThumbnail(). r=snorp 2016-06-24 09:25:29 -05:00
SUN Haitao 9b7b1f5140 Bug 1264815 - Add a 'showPersistentAlertNotification' method to GeckoAppShell. r=kcambridge 2016-04-17 21:18:20 +08:00
SUN Haitao 3e75c63fbd Bug 1264815 - Add a 'data' parameter to GeckoThread.createServices; r=jchen 2016-04-16 14:19:37 +08:00
Dylan Roeh 20f64ce5b6 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 35f22f7ca8 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 5ef86607af Bug 1279488 - GeckoAppShell.uncaughtException(): Update state check. r=jchen
MozReview-Commit-ID: 3RhHEhYIwQU

--HG--
extra : rebase_source : af05df5ed4feba86ca69421bc43d4110ab0122ee
2016-06-14 13:39:31 +01:00
Kartikaya Gupta 33be75d853 Bug 1247280 - Bump the APZ content response timeout so that we get 99% accuracy. r=botond
MozReview-Commit-ID: FpmuxUcnmpZ

--HG--
extra : rebase_source : d35d82b1790ad3ac66fbca6db90784e47d104e13
2016-06-14 20:30:13 -04:00
Dylan Roeh ff804e75cf Bug 1280369 - Check surface validity in GLController.resumeCompositor r=snorp 2016-06-16 09:57:30 +01:00
Kim Moir 6613300846 Bug 1174206 - Migrate Android x86 builds to TaskCluster and make Tier 2 r=gbrown 2016-06-27 13:16:52 -04:00
Andrea Marchesini c7264cb3ac Bug 1269162 - part 3 - Move XHR code into dom/xhr, r=smaug
--HG--
rename : dom/workers/XMLHttpRequestUploadWorker.cpp => dom/xhr/XMLHttpRequestUploadWorker.cpp
rename : dom/workers/XMLHttpRequestUploadWorker.h => dom/xhr/XMLHttpRequestUploadWorker.h
rename : dom/workers/XMLHttpRequestWorker.cpp => dom/xhr/XMLHttpRequestWorker.cpp
rename : dom/workers/XMLHttpRequestWorker.h => dom/xhr/XMLHttpRequestWorker.h
rename : dom/base/nsIXMLHttpRequest.idl => dom/xhr/nsIXMLHttpRequest.idl
rename : dom/base/nsXMLHttpRequest.cpp => dom/xhr/nsXMLHttpRequest.cpp
rename : dom/base/nsXMLHttpRequest.h => dom/xhr/nsXMLHttpRequest.h
rename : dom/base/test/echo.sjs => dom/xhr/tests/echo.sjs
rename : dom/base/test/file_XHRDocURI.html => dom/xhr/tests/file_XHRDocURI.html
rename : dom/base/test/file_XHRDocURI.html^headers^ => dom/xhr/tests/file_XHRDocURI.html^headers^
rename : dom/base/test/file_XHRDocURI.sjs => dom/xhr/tests/file_XHRDocURI.sjs
rename : dom/base/test/file_XHRDocURI.text => dom/xhr/tests/file_XHRDocURI.text
rename : dom/base/test/file_XHRDocURI.text^headers^ => dom/xhr/tests/file_XHRDocURI.text^headers^
rename : dom/base/test/file_XHRDocURI.xml => dom/xhr/tests/file_XHRDocURI.xml
rename : dom/base/test/file_XHRDocURI.xml^headers^ => dom/xhr/tests/file_XHRDocURI.xml^headers^
rename : dom/base/test/file_XHRResponseURL.js => dom/xhr/tests/file_XHRResponseURL.js
rename : dom/base/test/file_XHRResponseURL.sjs => dom/xhr/tests/file_XHRResponseURL.sjs
rename : dom/base/test/file_XHRResponseURL.text => dom/xhr/tests/file_XHRResponseURL.text
rename : dom/base/test/file_XHRResponseURL.text^headers^ => dom/xhr/tests/file_XHRResponseURL.text^headers^
rename : dom/base/test/file_XHRResponseURL_nocors.text => dom/xhr/tests/file_XHRResponseURL_nocors.text
rename : dom/base/test/file_XHRSendData.sjs => dom/xhr/tests/file_XHRSendData.sjs
rename : dom/base/test/file_XHRSendData_doc.xml => dom/xhr/tests/file_XHRSendData_doc.xml
rename : dom/base/test/file_XHRSendData_doc.xml^headers^ => dom/xhr/tests/file_XHRSendData_doc.xml^headers^
rename : dom/base/test/file_XHR_anon.sjs => dom/xhr/tests/file_XHR_anon.sjs
rename : dom/base/test/file_XHR_binary1.bin => dom/xhr/tests/file_XHR_binary1.bin
rename : dom/base/test/file_XHR_binary1.bin^headers^ => dom/xhr/tests/file_XHR_binary1.bin^headers^
rename : dom/base/test/file_XHR_binary2.bin => dom/xhr/tests/file_XHR_binary2.bin
rename : dom/base/test/file_XHR_fail1.txt => dom/xhr/tests/file_XHR_fail1.txt
rename : dom/base/test/file_XHR_fail1.txt^headers^ => dom/xhr/tests/file_XHR_fail1.txt^headers^
rename : dom/base/test/file_XHR_fail1b.txt => dom/xhr/tests/file_XHR_fail1b.txt
rename : dom/base/test/file_XHR_header.sjs => dom/xhr/tests/file_XHR_header.sjs
rename : dom/base/test/file_XHR_pass1.xml => dom/xhr/tests/file_XHR_pass1.xml
rename : dom/base/test/file_XHR_pass2.txt => dom/xhr/tests/file_XHR_pass2.txt
rename : dom/base/test/file_XHR_pass3.txt => dom/xhr/tests/file_XHR_pass3.txt
rename : dom/base/test/file_XHR_pass3.txt^headers^ => dom/xhr/tests/file_XHR_pass3.txt^headers^
rename : dom/base/test/file_XHR_system_redirect.html => dom/xhr/tests/file_XHR_system_redirect.html
rename : dom/base/test/file_XHR_system_redirect.html^headers^ => dom/xhr/tests/file_XHR_system_redirect.html^headers^
rename : dom/base/test/file_XHR_timeout.sjs => dom/xhr/tests/file_XHR_timeout.sjs
rename : dom/base/test/file_html_in_xhr.html => dom/xhr/tests/file_html_in_xhr.html
rename : dom/base/test/file_html_in_xhr.sjs => dom/xhr/tests/file_html_in_xhr.sjs
rename : dom/base/test/file_html_in_xhr2.html => dom/xhr/tests/file_html_in_xhr2.html
rename : dom/base/test/file_html_in_xhr3.html => dom/xhr/tests/file_html_in_xhr3.html
rename : dom/base/test/progressserver.sjs => dom/xhr/tests/progressserver.sjs
rename : dom/workers/test/relativeLoad_import.js => dom/xhr/tests/relativeLoad_import.js
rename : dom/workers/test/relativeLoad_worker.js => dom/xhr/tests/relativeLoad_worker.js
rename : dom/workers/test/relativeLoad_worker2.js => dom/xhr/tests/relativeLoad_worker2.js
rename : dom/base/test/responseIdentical.sjs => dom/xhr/tests/responseIdentical.sjs
rename : dom/workers/test/subdir/relativeLoad_sub_import.js => dom/xhr/tests/subdir/relativeLoad_sub_import.js
rename : dom/workers/test/subdir/relativeLoad_sub_worker.js => dom/xhr/tests/subdir/relativeLoad_sub_worker.js
rename : dom/workers/test/subdir/relativeLoad_sub_worker2.js => dom/xhr/tests/subdir/relativeLoad_sub_worker2.js
rename : dom/workers/test/terminateSyncXHR_worker.js => dom/xhr/tests/terminateSyncXHR_worker.js
rename : dom/base/test/test_XHR.html => dom/xhr/tests/test_XHR.html
rename : dom/base/test/test_XHRDocURI.html => dom/xhr/tests/test_XHRDocURI.html
rename : dom/base/test/test_XHRResponseURL.html => dom/xhr/tests/test_XHRResponseURL.html
rename : dom/base/test/test_XHRSendData.html => dom/xhr/tests/test_XHRSendData.html
rename : dom/base/test/test_XHR_anon.html => dom/xhr/tests/test_XHR_anon.html
rename : dom/base/test/test_XHR_header.html => dom/xhr/tests/test_XHR_header.html
rename : dom/base/test/test_XHR_onuploadprogress.html => dom/xhr/tests/test_XHR_onuploadprogress.html
rename : dom/base/test/test_XHR_parameters.html => dom/xhr/tests/test_XHR_parameters.html
rename : dom/base/test/test_XHR_system.html => dom/xhr/tests/test_XHR_system.html
rename : dom/base/test/test_XHR_timeout.html => dom/xhr/tests/test_XHR_timeout.html
rename : dom/base/test/test_XHR_timeout.js => dom/xhr/tests/test_XHR_timeout.js
rename : dom/base/test/test_html_in_xhr.html => dom/xhr/tests/test_html_in_xhr.html
rename : dom/workers/test/test_relativeLoad.html => dom/xhr/tests/test_relativeLoad.html
rename : dom/base/test/test_sync_xhr_timer.xhtml => dom/xhr/tests/test_sync_xhr_timer.xhtml
rename : dom/workers/test/test_terminateSyncXHR.html => dom/xhr/tests/test_worker_terminateSyncXHR.html
rename : dom/workers/test/test_xhr.html => dom/xhr/tests/test_worker_xhr.html
rename : dom/workers/test/test_xhr2.html => dom/xhr/tests/test_worker_xhr2.html
rename : dom/workers/test/test_xhrAbort.html => dom/xhr/tests/test_worker_xhrAbort.html
rename : dom/workers/test/test_xhr_3rdparty.html => dom/xhr/tests/test_worker_xhr_3rdparty.html
rename : dom/workers/test/test_xhr_cors_redirect.html => dom/xhr/tests/test_worker_xhr_cors_redirect.html
rename : dom/workers/test/test_xhr_headers.html => dom/xhr/tests/test_worker_xhr_headers.html
rename : dom/workers/test/test_xhr_implicit_cancel.html => dom/xhr/tests/test_worker_xhr_implicit_cancel.html
rename : dom/workers/test/test_xhr_parameters.html => dom/xhr/tests/test_worker_xhr_parameters.html
rename : dom/workers/test/test_xhr_parameters.js => dom/xhr/tests/test_worker_xhr_parameters.js
rename : dom/workers/test/test_xhr_responseURL.html => dom/xhr/tests/test_worker_xhr_responseURL.html
rename : dom/workers/test/test_xhr_system.html => dom/xhr/tests/test_worker_xhr_system.html
rename : dom/workers/test/test_xhr_system.js => dom/xhr/tests/test_worker_xhr_system.js
rename : dom/workers/test/test_xhr_timeout.html => dom/xhr/tests/test_worker_xhr_timeout.html
rename : dom/base/test/test_xhr_abort_after_load.html => dom/xhr/tests/test_xhr_abort_after_load.html
rename : dom/base/test/test_xhr_forbidden_headers.html => dom/xhr/tests/test_xhr_forbidden_headers.html
rename : dom/base/test/test_xhr_overridemimetype_throws_on_invalid_state.html => dom/xhr/tests/test_xhr_overridemimetype_throws_on_invalid_state.html
rename : dom/base/test/test_xhr_progressevents.html => dom/xhr/tests/test_xhr_progressevents.html
rename : dom/base/test/test_xhr_send.html => dom/xhr/tests/test_xhr_send.html
rename : dom/base/test/test_xhr_send_readystate.html => dom/xhr/tests/test_xhr_send_readystate.html
rename : dom/base/test/test_xhr_withCredentials.html => dom/xhr/tests/test_xhr_withCredentials.html
rename : dom/workers/test/file_getcookie.sjs => dom/xhr/tests/worker_file_getcookie.sjs
rename : dom/workers/test/terminateSyncXHR_frame.html => dom/xhr/tests/worker_terminateSyncXHR_frame.html
rename : dom/workers/test/testXHR.txt => dom/xhr/tests/worker_testXHR.txt
rename : dom/workers/test/xhr_cors_redirect.js => dom/xhr/tests/worker_xhr_cors_redirect.js
rename : dom/workers/test/xhr_cors_redirect.sjs => dom/xhr/tests/worker_xhr_cors_redirect.sjs
rename : dom/workers/test/xhr_headers_server.sjs => dom/xhr/tests/worker_xhr_headers_server.sjs
rename : dom/workers/test/xhr_headers_worker.js => dom/xhr/tests/worker_xhr_headers_worker.js
rename : dom/workers/test/xhr2_worker.js => dom/xhr/tests/xhr2_worker.js
rename : dom/workers/test/xhrAbort_worker.js => dom/xhr/tests/xhrAbort_worker.js
rename : dom/workers/test/xhr_implicit_cancel_worker.js => dom/xhr/tests/xhr_implicit_cancel_worker.js
rename : dom/workers/test/xhr_worker.js => dom/xhr/tests/xhr_worker.js
2016-06-27 19:13:40 +02:00
Kim Moir 7f85dca70f Bug 1174206 - Migrate Android x86 builds to TaskCluster and make Tier 2 r=gbrown 2016-06-29 11:10:30 -04:00
Chenxia Liu 995e1d45af Bug 1279807 - History panel smartfolder icons are much too big on HDPI devices. r=JanH
MozReview-Commit-ID: 3QzOl0Fh4Cm

--HG--
extra : rebase_source : 5a8056d4d61002a0de899539276a7f44dafcbee0
2016-06-15 11:26:07 +01:00
Carsten "Tomcat" Book 58167fd092 merge mozilla-inbound to mozilla-central a=merge 2016-06-15 06:24:33 +01:00
Jan Henning 5c94369e27 Bug 1279273 - Use correct synchronization object for session data parsing. r=sebastian
If the main thread has to wait for the session data parsing to finish - which is more likely when you've got many tabs open, meaning a large sessionstore.js file - it does so on "this", i.e. GeckoApp.
The session data parsing itself is done from within a Runnable, so we need to qualify "this" there if we want it to refer to GeckoApp itself, so we can successfully release any waiting threads through notifyAll().

MozReview-Commit-ID: 3LhJsI5rNU3

--HG--
extra : transplant_source : %27%27X%9CTm%A6%88%3F%1B%8Cm%0E4%F1%9D%9B%E5%F2%28
2016-06-12 19:45:50 +02:00
Sebastian Kaspari 42d21c59e5 Bug 1276696 - Put custom tabs support behind a build flag. r=mcomella
MozReview-Commit-ID: 44wtCsZWZv2

--HG--
extra : rebase_source : 2ab062e4f5155225d6f5fcd686cd7a0b974679f1
2016-05-30 16:48:45 +02:00
Sebastian Kaspari 2e5288b993 Bug 1276696 - Add dummy service for custom tabs. r=mcomella
Currently this service does not implement any of the callbacks. However it is
necessary to be detected as an app supporting custom tabs.

MozReview-Commit-ID: Hz99Gp9aQCX

--HG--
extra : rebase_source : b73730f5c4d497e4fef5ed9bab3ae1c50e43de61
2016-05-25 19:31:10 +02:00
Sebastian Kaspari fbfb7a9f62 Bug 1276696 - Add CustomTabsActivity based on GeckoApp. r=mcomella
This activity doesn't do much yet and just has a layout including a GeckoView.
Some basic behavior from GeckoApp is working though: Context menus, floating
text selection, snackbars.

MozReview-Commit-ID: C6SJeYz609h

--HG--
extra : rebase_source : c65d8657ed795365b81c9bfeda41ac814760db8d
2016-05-25 19:58:17 +02:00
Sebastian Kaspari 38f5ea7b19 Bug 1276696 - Add custom tabs support library. r=mcomella
MozReview-Commit-ID: LXie1GiV4gV

--HG--
extra : rebase_source : 7316ebbe6512db64364c0a4f450e0758f79fcc5c
2016-06-10 11:01:11 +02:00
Kris Maglione a1dac7caad Bug 1279392: [webext] Move API permission definitions to the schemas. r=aswan
MozReview-Commit-ID: 8m7wJrAbFwS

--HG--
extra : source : a00cf073f5c00380d4e42b13bc0cd3146b708845
extra : amend_source : d74ef90e88acbe62e33af3b5b9cf870d5c0a9d3e
2016-06-09 17:44:47 -07:00
Sebastian Hengst f8035f62a8 Backed out changeset a00cf073f5c0 (bug 1279392) for failing mochitest test_ext_contentscript_create_iframe.html at least on Linux x64 opt. r=backout 2016-06-14 13:37:52 +02:00
Kris Maglione b465305345 Bug 1279392: [webext] Move API permission definitions to the schemas. r=aswan
MozReview-Commit-ID: 8m7wJrAbFwS

--HG--
extra : rebase_source : cba877c0ef400917b0b7e5913895e64ebefb34b9
extra : amend_source : 6e943015e3e00854c431cbd653994a6734e66ce4
2016-06-09 17:44:47 -07:00
Sebastian Kaspari 281fbb76c7 Bug 1276696 - Introduce new LauncherActivity that will handle all incoming Intents. r=mcomella
We will need to dispatch Intent objects to different destinations (Browser, Custom Tab and eventually
progressive web apps).

The logic of TabQueueDispatcher is folded into this new activity.

MozReview-Commit-ID: 3P4eIvtAKEW

--HG--
extra : rebase_source : 3d7604a7bdbd2ea80602313e7bc66212a089994b
2016-05-15 14:25:12 +02:00
Sebastian Kaspari 99a05c4022 Bug 1279137 - Update media notification icons. r=ahunt
MozReview-Commit-ID: pGSX3yRhtQ

--HG--
extra : rebase_source : ce3c4db4cc36887dbf3d055029f515471d0adeb7
2016-06-10 17:18:57 +02:00
Mike Hommey c5caa62fdf Bug 1278456 - Add the tooltool GCC library directory to LD_LIBRARY_PATH on Linux builds. r=mshal
Build slaves on automation are based on Centos 6, which doesn't have a
recent enough version of libstdc++ for our new requirements. But since
we're building with a recent GCC or clang with its own libstdc++, we do
have such a libstdc++ available somewhere, and the compiler picks it
when invoking the linker.

Problems start happening when we execute some of the built programs
during the build, like host tools (e.g. nsinstall), or target programs
(xpcshell, during packaging). In that case, we need the compiler's
libstdc++ to be used. Which required adding the GCC or clang library
directory to LD_LIBRARY_PATH.

Unconveniently enough, the clang 3.5 tooltool package we're using for
ASAN builds until we can update to at least 3.8 (bug 1278718) doesn't
contain libstdc++.so. So for those builds, pull the GCC package from
tooltool as well, and pick libstdc++ from there.
2016-06-12 18:52:15 +09:00
Kevin Lam e730d38cc4 Bug 1245952 - Corrected comment in localization note to reference the corresponding string. r=mcomella 2016-06-08 18:08:00 +02:00
Andrzej Hunt 9bc92c22aa Bug 1279598 - Fix checkstyle trailing space issues r=me 2016-06-10 12:26:32 -07:00
Kit Cambridge d7d8f3175e Bug 1279306 - Use the production push server URL on Android. r=margaret
MozReview-Commit-ID: Fy347g00Lx0

--HG--
extra : rebase_source : afc91bac255bdd21811c7e381c17477f6608fd7c
2016-06-09 17:13:39 -07:00
Michael Comella db493df167 Bug 1261494 - Block Gecko from screwing with the client ID file by resetting the cache at the last minute. r=grisha
MozReview-Commit-ID: EZYrk8IiRiF

--HG--
extra : rebase_source : 420c4e802c6d234a594b9f17670791e0029e237e
2016-06-07 15:32:04 -07:00
Andrzej Hunt a957702d89 Bug 1278221 - Manually find the toolbar in order to show options menu r=sebastian
Workaround for an Android support library bug

MozReview-Commit-ID: GD023N7tEWu

--HG--
extra : amend_source : 32aedac981aed488b144e67b74d41f5c89fa2218
2016-06-06 14:16:35 -07:00
Andrzej Hunt 780866f050 Bug 1278725 - Restore original "up" arrow scaling r=liuche
Before introducing the folder count, the bookmark folder icon
was set as the drawable on a TextView. This actually resulted
in scaling that doesn't preserve the aspect ratio. To reproduce
this in the new ImageView (added when we switched to a two-line
folder layout), we simply need to set the icon size explicitly
and scale to fit the whole area (as opposed to setting two
constraints and fitting while preserving aspect ratio).

The folder/reading-list icons are unaffected as they already
have the expected aspect-ratio, the back-arrow is now scaled
as expected.

MozReview-Commit-ID: Fl5JY3Lznau

--HG--
extra : amend_source : f3ad6cddd9a162953913b3161b9a5ceea6d3e15e
2016-06-09 10:32:24 -07:00
Carsten "Tomcat" Book 48d4127667 Merge mozilla-central to fx-team 2016-06-10 15:42:51 +02:00
Carsten "Tomcat" Book 4ee1ed2b8f merge mozilla-inbound to central a=merge
--HG--
extra : amend_source : 10247ace8885c608987dcf31d47368e0dec09b19
2016-06-10 15:39:23 +02:00
Andrzej Hunt 78fcdad415 Bug 1279332 - Backed out 97074800423c since it depends on a commit breaking background runnables r=sebastian
MozReview-Commit-ID: 6jYh8ipOw3q

--HG--
extra : amend_source : 4f555ee43fd63f66d533d7822c3659ba466096b1
2016-06-10 04:30:26 -07:00
Andrzej Hunt ccaf1e0177 Bug 1279332 - Backed out 61442f7ad442 for breaking background runnables r=sebastian
MozReview-Commit-ID: SxRbixXO6i
2016-06-10 04:29:34 -07:00
Sebastian Kaspari cecda1d1a1 Bug 1227538 - Reset site identity after entering new URL. r=margaret
MozReview-Commit-ID: oOPYDUPVq9

--HG--
extra : amend_source : f12a0204a2e17a5c5cd6d5a62a1d11561e44dbc4
2016-06-07 16:54:13 +02:00
Sebastian Hengst 7b6fdf9c59 Backed out changeset 50b1d3506786 (bug 1279332) for various Android robocop failures. r=backout 2016-06-10 10:29:43 +02:00
Sebastian Hengst e7404c9b70 Backed out changeset 6a35c7a791a6 (bug 1279332) 2016-06-10 10:29:03 +02:00
Sebastian Hengst 668c8a3010 Backed out changeset 59fbde27dc99 (bug 1279332) 2016-06-10 10:28:59 +02:00
dlim@mozilla.com d232e864de Bug 1270124 - "Make Firefox Default Browser" option is missing from Tablet. r=grisha
MozReview-Commit-ID: EpJWTJUdu6I

--HG--
extra : transplant_source : T%FFx%8F_%27%29%0B%94%D9%0Bu%11ko%05%1A%EF%DFu
2016-06-07 09:55:23 -07:00
Andrzej Hunt 13b79044fe Bug 1279332 - Post: remove unrelated whitespace to pacify checkstyle r=me
MozReview-Commit-ID: 3FjBkueZ45z

--HG--
extra : rebase_source : d8c2467166622c44ed4916dd4ef595f3f5b1479a
2016-06-09 16:01:51 -07:00
Andrzej Hunt ca8ea28ccc Bug 1279332 - Document that onTargetSelected should be run on the UI thread r=grisha
MozReview-Commit-ID: IJ7UItFhvtE

--HG--
extra : rebase_source : 21c8447deae4c7fee221ecfb7cc73076f88f0c26
2016-06-09 15:59:48 -07:00
Andrzej Hunt 0e9eacd33c Bug 1279332 - Perform UI callback on UI thread to avoid crashing the background thread r=grisha
We're now calling setIntent on the background thread. The onTargetSelected callback expects
to be run on the UI thread, and it looks like Android hangs up when we call UI methods
on the background thread. This in turn means the entire background thread gets locked up
(we execute tasks on the background thread sequentially) and no further background runnables
are executed. This breaks anything else requiring use of the background thread, e.g.
favicon generation, search, permissions doorhangers, etc.

MozReview-Commit-ID: CoYUOMqNX0m

--HG--
extra : rebase_source : 84a4dcc8a8aad590f02ba9f8d8b2564922787d17
2016-06-09 15:58:43 -07:00
Chenxia Liu 83a8bff8c3 Bug 1279336 - Explicitly do not scale smartfolder icons. r=jonalmeida
MozReview-Commit-ID: 9TEiecbLoy8

--HG--
extra : rebase_source : 83cfb4710dc0c3a6bf605901ed1ba004e4937430
2016-06-09 13:59:02 -07:00
Michael Comella 880da0b4f9 Bug 1241685 - Add brief javadoc to assist with testing. r=ahunt
MozReview-Commit-ID: 3epPlVfJSLx

--HG--
extra : rebase_source : 567fea8c61f8cb7bb01feb4d3e4e3f4a03ef4cfc
2016-06-08 17:21:45 -07:00
Michael Comella 8de14c09db Bug 1241685 - Hook up TelemetryPreferences for telemetry server url. r=ahunt
In this patch, I move the telemetry server preference from app preferences
to per-profile preferences. We never allowed the user to set the preference
so this should cause no issues.

MozReview-Commit-ID: 7D5y58R2ejd

--HG--
extra : rebase_source : 3b4214968cac48150f6a3f873967cb43c7952b1b
2016-06-08 16:53:50 -07:00
Michael Comella dbd6e16080 Bug 1241685 - Add TelemetryPreferences. r=ahunt
MozReview-Commit-ID: 5Tw0GUX0tmW

--HG--
extra : rebase_source : 627a1ae0df2923dcc64f186453e46cc70579a080
2016-06-08 17:20:31 -07:00
Michael Comella b053ea4034 Bug 1279045 - Remove broadcastHealthReport* and its call sites. r=ahunt
MozReview-Commit-ID: G5Pz9l5GAi3

--HG--
extra : rebase_source : fc0d120dee707668981a3e65afd57dc582892484
2016-06-08 13:50:12 -07:00
Carsten "Tomcat" Book 733a4f6de5 merge mozilla-inbound to mozilla-central a=merge 2016-06-09 11:58:06 +02:00
Wes Kocher e0c9a7bf97 Merge m-c to fx-team, a=merge 2016-06-08 17:13:46 -07:00
Wes Kocher 07d01350a8 Merge fx-team to central, a=merge 2016-06-08 17:06:18 -07:00
Michael Comella 8af3a21e3c Bug 1244316 - Don't upload in restricted profiles when admin disables FHR. r=sebastian
Edge case: the admin profile can disable health report upload for themselves
but (I assume) the new profile won't automatically match these settings. While
I'm not sure if this is even possible, it's outside the scope of this bug.

MozReview-Commit-ID: 1SkXhL7B5xb

--HG--
extra : rebase_source : 95540b8b76f7014544022c7cb0880791ac536721
2016-06-07 14:04:06 -07:00
Andrzej Hunt 346739a504 Bug 1264489 - Avoid DB access in UI thread from onPrepareOptionsMenu r=mcomella
DB access happens deep in the internals of setting a new Intent for our
ActionProvider. Posting this to a background thread here seems to be the simplest
option to ensure correct threading.

MozReview-Commit-ID: 3iS8w5Cxf02

--HG--
extra : rebase_source : 48c90e5fa47a470d3360dbd44dc97111aac5ff3e
2016-06-06 10:42:12 -07:00
Andrzej Hunt 4c8562527c Bug 1264489 - Pre: assert DB access is on background thread in debug builds r=mcomella
It's possible there are more UI-thread DB accesses lurking. To avoid maintenance burden
we should therefore enable this assert only in debug builds - releases will be
unaffected, but we can still notice incorrect DB access during development.

MozReview-Commit-ID: Kgzf1L3WjIE

--HG--
extra : rebase_source : b1f9f01ea746c005a038693aaa5eddb2bb103a2b
2016-06-07 08:57:19 -07:00
Kit Cambridge 22e7cd6527 Bug 1278689 - Remove push subscriptions when clearing site settings on Android. r=margaret
MozReview-Commit-ID: BrOjKzswY1F

--HG--
extra : rebase_source : 8230eecf5fd5caaaceb1784c4a61967c46430a3a
2016-06-07 14:02:55 -07:00
Justin D'Arcangelo 26ebe8e651 Bug 1272102 - FlyWeb Android UI. r=sebastian
--HG--
extra : amend_source : b1bac8800988d31790a64a293403336375e5effd
2016-06-08 21:37:06 -04:00
Matthew Wein 395d540421 Part 2: Implement {set|get}Popup for chrome.pageAction (Bug 1264118) r=kmag
MozReview-Commit-ID: 1ZyQgs8ktic

--HG--
extra : rebase_source : 43777c1dc4d6196215d0ae5ded00adc51fe8300f
extra : histedit_source : 22104c8d20405429f271b91439395d13f0846768
2016-05-30 19:42:03 -07:00
Matthew Wein 494256ef31 Part 1: Implement default_popup for chrome.pageAction (Bug 1264118) r=kmag
MozReview-Commit-ID: BrV0v66BhBz

--HG--
extra : rebase_source : ec0b567c7ea3860960fb7d25f089cc053bae39b0
extra : histedit_source : d0a4e4bc6b60454eccdf017bd48ced992b87c5f9
2016-06-02 16:14:20 -04:00
Dylan Roeh 26e9a5cd2f Bug 1136364 - Move EGLSurface creation out of GLController.java. r=snorp 2016-06-08 08:38:45 -05:00