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

21236 Коммитов

Автор SHA1 Сообщение Дата
Makoto Kato 650d82dba8 Bug 1299400 - Remove WebActivities Android Backend. r=sebastian
WebActivities API has removed by bug 1284455, so we should remove Android backend.

MozReview-Commit-ID: IOYs1bM2u06

--HG--
extra : rebase_source : c6c701159817fe8595c20205c2fc3a2253ffd39f
2016-08-31 17:16:22 +09:00
Sebastian Kaspari b8f20b1a60 Bug 1290014 - Use new icon framework in UI code. r=ahunt,Grisha
This patch replaces the old favicon code with the new icon code
in the UI code.

MozReview-Commit-ID: 2YdDpYUhb0M

--HG--
extra : rebase_source : 1c07eebdd4d9d873040a60a19b2aa30efc712cb7
2016-08-16 11:44:21 +02:00
Sebastian Kaspari c7c1345db5 Bug 1290014 - Restructure icon code and use disk lru cache. r=ahunt,Grisha
This patch does multiple things:

1) It restructures the icon code to follow a preparer, loader, processor pattern.
Instead of very long procedures we now have a lot of small components. This patch
includes 90+ tests for those components.

2) It replaces the database storage with the disk lru cache. We still keep the
tables around because we will still load from it as fallback to avoid needing
to migrate all data.

This patch is pretty big but a lot of it is moving code around and breaking it
into smaller chunks. A later commit will remove now obsolete components.

By creating a consistent mapping page URL -> icon URL -> icon data this change
fixes the linked bugs (bug 1269821 and bug 1271634).

MozReview-Commit-ID: 1nkrZn286Gv

--HG--
extra : rebase_source : e8d2902dc8553e43297e9e3f0fd96bf04f28ba3a
2016-08-16 11:36:22 +02:00
Dylan Roeh d056325bfe Bug 1293299 - Create a class, GeckoViewFragment, which passes GeckoView state between different activities. r=jchen 2016-08-09 21:00:24 -05:00
Ryan VanderMeulen 435c0addca Merge autoland to m-c. a=merge 2016-08-31 09:52:43 -04:00
Wes Kocher 73f495435e Merge m-c to inbound a=merge 2016-08-30 18:14:57 -07:00
Wes Kocher 6536590412 Merge fx-team to central, a=merge 2016-08-30 17:51:54 -07:00
Andrzej Hunt 6651f424e4 Bug 1297127 - show ActivityStream as a HomePanel, replacing TopSites r=sebastian
To avoid having to mess around with the HomePanel configuration machinery, we simply
override the class being loaded for top_sites in HomeAdapter: this is hacky, but
provides a simple temporary solution for showing ActivityStream as a homepanel.

MozReview-Commit-ID: Ga9qUTP3xxA

--HG--
extra : rebase_source : 004e5648ccf74d70f56e66c3ae228bb8071e9756
extra : source : e2d2895a0e678b58336f66fdae01efcd6264954e
2016-08-30 12:18:57 -07:00
Andrzej Hunt 7baca5adbe Bug 1297127 - add ActivityStream.isHomePanel() fake-pref for switching from HomeScreen to HomePanel r=sebastian
This will allow us to more easily switch ActivityStream from being a HomePanel to being a complete
HomePager replacement - this could potentially be extended to read from a preference, but hardcoding
is probably sufficient for now.

MozReview-Commit-ID: HxQg5bOTmdh

--HG--
extra : rebase_source : 99048a0477214c2030cd9072a3e50bb041a18fff
extra : source : 41e5922460ccb2ded3d4e00975eb45f15c1ac4a0
2016-08-30 12:18:36 -07:00
Andrzej Hunt 1eb30f2d16 Bug 1297127 - Move HomeScreen specific code into ActivityStreamHomeScreen r=sebastian
We can keep the general ActivityStream code in the ActivityStream class/widget, allowing
reuse inside a HomePanel (for use in the HomePager). ActivityStreamHomeScreen then
wraps this for use as a HomePager replacement (which is the long-term goal for AS).

MozReview-Commit-ID: 1aWBh1YyARY

--HG--
extra : rebase_source : 8101f445b2aa106a2e06afc097247e849338b95e
extra : source : 155d6001460854ebff20bd1287fcb11c055cea66
2016-08-29 15:33:32 -07:00
Jim Chen d2272de7cb Bug 1298161 - d. Use application context to prevent BrowserApp leaks; r=sebastian
Use application context for delayed callbacks to prevent leaking the
BrowserApp instance. Also, use application context for accessing
Distribution, to prevent leaking old BrowserApp instances, and to avoid
using a destroyed Context. Finally, attach AudioFocusAgent to the
application context instead of the BrowserApp context to avoid leaking
BrowserApp.
2016-08-30 14:49:38 -04:00
Jim Chen e6e2011d34 Bug 1298161 - c. Properly remove pref handler in NativePanZoomController; r=rbarker
Properly remove pref handler on destroy to prevent leaking BrowserApp.
2016-08-30 14:49:38 -04:00
Jim Chen 9fe8d04e65 Bug 1298161 - b. Fix BrowserApp leaks in event registration; r=sebastian
Unregister certain events in BrowserApp and GeckoApp to prevent
BrowserApp from leaking. Also, properly unregister event listeners in
PageActionLayout to prevent BrowserApp leaks, because
PageActionLayout.onDestroy never got called before.
2016-08-30 14:49:38 -04:00
Jim Chen b3038be914 Bug 1298161 - a. Fix BrowserApp leak in GeckoAccessibility; r=sebastian
Move registration of AccessibilityManager listeners to GeckoApplication,
and change all Context references to the application context, so that
GeckoAccessibility doesn't leak old BrowserApp instances as new
BrowserApp instances are created.
2016-08-30 14:49:38 -04:00
Sebastian Kaspari c9c4bd2110 Bug 1296712 - Move tab strip resources into main resource directory. r=ahunt
MozReview-Commit-ID: KBq6XPEufPj

--HG--
rename : mobile/android/base/resources/color-large-v11/tab_new_tab_strip_colors.xml => mobile/android/base/resources/color/tab_new_tab_strip_colors.xml
rename : mobile/android/base/resources/color-large-v11/tab_strip_item_bg.xml => mobile/android/base/resources/color/tab_strip_item_bg.xml
rename : mobile/android/base/resources/color-large-v11/tab_strip_item_title.xml => mobile/android/base/resources/color/tab_strip_item_title.xml
rename : mobile/android/base/resources/color-large-v11/tabs_counter_text_color.xml => mobile/android/base/resources/color/tabs_counter_text_color.xml
rename : mobile/android/base/resources/drawable-large-v11/tab_strip_button.xml => mobile/android/base/resources/drawable/tab_strip_button.xml
rename : mobile/android/base/resources/drawable-large-v11/tab_strip_divider.xml => mobile/android/base/resources/drawable/tab_strip_divider.xml
rename : mobile/android/base/resources/layout-large-v11/tab_strip.xml => mobile/android/base/resources/layout/tab_strip.xml
rename : mobile/android/base/resources/layout-large-v11/tab_strip_inner.xml => mobile/android/base/resources/layout/tab_strip_inner.xml
rename : mobile/android/base/resources/layout-large-v11/tab_strip_item.xml => mobile/android/base/resources/layout/tab_strip_item.xml
rename : mobile/android/base/resources/layout-large-v11/tab_strip_item_view.xml => mobile/android/base/resources/layout/tab_strip_item_view.xml
extra : rebase_source : 6d4e5fe40d27d43db10956c4491c976c975cea15
2016-08-25 12:34:17 +02:00
Sebastian Kaspari 69f7e10710 Bug 1293650 - NotificationHelper: Create broadcast intent instead of activity intent. r=ahunt
The patches in bug 1075476 refactored our notificaiton code to use broadcasts instead of
bringing the app to the front. However notification actions created via Notifications.jsm
still used activity intents (without any activity listening).

MozReview-Commit-ID: 7ZFMkgBitqw

--HG--
extra : rebase_source : 624538827df97f05657aaf99bc935c9fa7c5d785
2016-08-30 16:52:47 +02:00
James Cheng 42a68e4966 Bug 1299386 - Fix checkstyle error in RemoteManager.java. r=jolin
MozReview-Commit-ID: 4Vh5Kd9YJN6

--HG--
extra : rebase_source : b6c51724c5b7aed8ef5b9b57f737c44e41caab4c
2016-08-31 14:34:43 +08:00
Wes Kocher 81db6ce036 Merge m-c to autoland, a=merge 2016-08-30 18:15:33 -07:00
Grigory Kruglov 14a454f556 Bug 1253111 - Part 2: Add support for batching uploads r=rnewman
- Introduce a new BatchingUploader class to handle storing records and keep track of batches/payloads
- Refactor upload runnable and upload delegate into their own classes
- Introduce Last-Modified and X-I-U-S handling into non-batching mode

MozReview-Commit-ID: 3JLExwQvYzM

--HG--
extra : rebase_source : 4a6a2db595fe72473b033acd4f3180fa799319d4
2016-08-26 14:05:47 -07:00
Andrzej Hunt 3ad7bd7314 Bug 1293790 - Add indicator to topsites pager r=sebastian
MozReview-Commit-ID: 4jhRga5FWLi

--HG--
extra : rebase_source : 8286eebfe672ae563170ac1d9a9b6e928d7a6b0c
2016-08-24 11:25:49 -07:00
Andrzej Hunt 5587b4f363 Bug 1293790 - Increase separation between circles in indicator r=sebastian
MozReview-Commit-ID: 5Ovn3wi4qAr

--HG--
extra : rebase_source : d916ef5fb67924daa32a9fb4fab2739efea6def4
2016-08-24 11:23:27 -07:00
Andrzej Hunt 0c77ca2b74 Bug 1293790 - Import CirclePageIndicator from ViewPagerIndicator library r=sebastian
We only require the CirclePageIndicator, hence I've only imported that portion
of the library. The two resource files have been trimmed to only include values
that are relevant to the CirclepageIndicator.

MozReview-Commit-ID: EPyIf7OJHpe

--HG--
extra : rebase_source : b0a0fac13b619add96ec9d89281f5cec2ca6d51c
2016-08-30 09:42:59 -07:00
Andrzej Hunt aab7c8b4f0 Bug 1293790 - Implement Paged TopSites View r=sebastian
This uses a ViewPager, with each page containing a grid managed by a separate RecyclerView.
One main adapter splits the data into appropriately sized groups for each RecyclerView
to handle.

MozReview-Commit-ID: 9XGuw0NckD4

--HG--
rename : mobile/android/base/resources/layout/activity_stream_card_top_sites_item.xml => mobile/android/base/resources/layout/activity_stream_topsites_card.xml
extra : rebase_source : cc6ad23ae223b01ab59071d986ab4ad2d41c929c
2016-08-30 09:59:08 -07:00
Andrzej Hunt 8de90ea489 Bug 1293790 - Pre: Extract UpdateViewFaviconLoadedListener to allow reuse r=sebastian
MozReview-Commit-ID: 6ud4pRemi0s

--HG--
extra : rebase_source : 54b41fe13154ec6118af2192b41cf62d8e741784
2016-08-17 10:57:08 -07:00
Andrzej Hunt d2547754e6 Bug 1293790 - Pre: extract CardView corner workaround into FilledCardView r=sebastian
We'll need this workaround for all the other CardView's we use.

MozReview-Commit-ID: 1B96Y2ZNKrY

--HG--
extra : rebase_source : e32e410045349f3afb7d5766b6dbb2cd80c0fc34
2016-08-23 13:35:46 -07:00
Andrzej Hunt 086e5d1059 Bug 1293790 - Pre: implement AS topsites access r=grisha
MozReview-Commit-ID: 1z30naErciE

--HG--
extra : rebase_source : 5734af99f443a8a040117a02cbe4c582212a051c
2016-08-23 14:04:01 -07:00
Andrzej Hunt 8132366cce Bug 1293790 - Implement getPlainTopSites query r=grisha
ActivityStream's topsites won't support pinned sites for now,
this allows us to use a simpler query that only retrieves topsites
without the complexity of a temporary table to merge pinned sites.

This results in some duplication between the old and new topsites
queries, however eventually we're going to want to get rid
of one of these queries (we don't know whether ActivityStream will
support pinned sites in the future yet, so we definitely want to keep
the pinned query for now - it's also needed for the old topsites panel).

MozReview-Commit-ID: AQyzXHGl3Cf

--HG--
extra : rebase_source : 6830c50d30a326dc7080ce720d4c1890dbab8e32
2016-08-25 12:05:22 -07:00
James Cheng 01f39797f5 Bug 1297969 - Extract class RemoteManager from CodecProxy.java to RemoteManager.java for further usage. r=jolin
MozReview-Commit-ID: Hqm6ZEzv3v1

--HG--
extra : transplant_source : f%B6%AB%92%A6%D8%B1%CA%9D%98%C9%BC1%0Em%7EJ%24c%0A
2016-08-25 15:16:50 +08:00
James Willcox 0e59cdf029 Bug 1296298 - Don't try to add a presentation surface unless Gecko is running r=jchen 2016-08-30 13:26:37 -05:00
James Willcox 3460c674d5 Bug 1294823 - Don't use fullscreen mode for the HLS video view on Android r=sebastian 2016-08-30 13:26:37 -05:00
Grigory Kruglov 29e4dd5c85 Bug 1253111 - Part 1: Introduce new sync stage to handle info/configuration r=rnewman
MozReview-Commit-ID: 7MOgR7A5SOF

--HG--
extra : rebase_source : e029d60a063b2e1dd9061362c4d4a647263dd3ec
2016-08-15 18:35:17 -07:00
Andrzej Hunt b673568c2b Bug 1293595 - Make doorhanger overlay visible by default, and retrieve it during onCreate r=sebastian
Retrieving the doorhanger during onAttachedToWindow seems to be unreliable, resulting in NPE's when
it doesn't work (the only logical explanation would be that onCreate hasn't been called yet, meaning
we don't have a layout yet). We should instead findViewById() it during onCreate, where the layout
is guaranteed to exist.

Since we show the overlay on all devices now, we can make it visible by default, whereas in the past
we had a condition to only enable it on > 2.3 devices.

MozReview-Commit-ID: 1DGVAPSX0mi

--HG--
extra : rebase_source : 025eb790e3b6c2d27ce10e04d624eb19b889d88d
2016-08-19 10:24:15 -07:00
Sebastian Kaspari 4b882652fe Bug 1281220 - Remove about:accounts telemetry on Fennec. r=liuche
MozReview-Commit-ID: GTKaauQIDKo

--HG--
extra : rebase_source : 8547ccf947b45d23de77e61018ec4de45cc3e329
2016-08-23 16:25:19 +02:00
Ryan VanderMeulen 8880c22504 Merge m-c to autoland. a=merge 2016-08-31 09:55:10 -04:00
Sebastian Kaspari 6e8d16fcc6 Bug 1290014 - Add DiskLruCache library. r=ahunt,Grisha
This patch adds the known and widely used disk LRU cache library by Jake Wharton [1].
It's a standalone version of the disk LRU cache found in the AOSP tree.

The goal is to use a flat file disk cache to avoid the overhead of storing blobs
in a database [2] (and some bugs like bug 1108084).

[1] https://github.com/JakeWharton/DiskLruCache
[2] https://wiki.mozilla.org/Performance/Avoid_SQLite_In_Your_Next_Firefox_Feature

MozReview-Commit-ID: 2ayN7SYVe4W

--HG--
extra : rebase_source : d24907e9ab5563999754bb1f554ed31e5c90d47d
2016-07-27 16:20:00 +02:00
Grigory Kruglov 55435220f1 Bug 1299939 - Use SafeIntent throughout BrowserApp and delegates r=rnewman
MozReview-Commit-ID: gW2gXVWji1

--HG--
extra : rebase_source : 854235b1a3e507cd634b487e500f670cac150bb5
2016-09-01 18:25:05 -07:00
Grigory Kruglov 98ac404dd2 Bug 1299939 - Use SafeIntent to handle incoming intents in the LauncherActivity r=rnewman
MozReview-Commit-ID: 49zDp3A4dnG

--HG--
extra : rebase_source : 4e2828504c97edc3de958758fdd1a1c97d31668e
2016-09-01 16:35:59 -07:00
Kartikaya Gupta 32379a1d17 Bug 1296887 - Prevent a second call to shiftLayerView with the same destination as the first from clearing the resize state prematurely. r=rbarker
MozReview-Commit-ID: 4iMfJ8tsweR

--HG--
extra : rebase_source : 054cb98cddf279f38a4fbea034f8643f3f53e417
2016-09-01 17:27:15 -04:00
Grigory Kruglov a49ef7731d Bug 1299997 - Can't use API19+ StandardCharsets r=rnewman
MozReview-Commit-ID: 7UH2bJT3re1

--HG--
extra : rebase_source : 0aed7716ae70808ffa03980c318bf37dd93a987f
2016-09-01 18:48:35 -07:00
Wes Kocher 44d99ecda5 Merge m-c to autoland, a=merge 2016-09-01 17:54:52 -07:00
Grigory Kruglov d2bf1d650a Bug 1294438 - Do not store metadata for private tabs r=sebastian
MozReview-Commit-ID: 6afE9DWmyK7

--HG--
extra : rebase_source : 239b8d8c09a427ce72efafaedc0d6089289dcb0c
2016-08-31 23:02:23 -07:00
Johann Hofmann f1547c7e17 Bug 1266836 - Part 1 - Fix password manager handling of popup windows in e10s. r=MattN r=liuche
MozReview-Commit-ID: OVsgkHhyg9

--HG--
extra : rebase_source : fb5a56c5e31967636112ae8ce3dcca25d5ebefec
extra : histedit_source : abbb3d0cafc96bf925773443cc28ff26d5895f0f
2016-08-30 15:47:38 +02:00
Ryan VanderMeulen 60c3cb1548 Merge m-c to fx-team. a=merge 2016-08-31 22:37:49 -04:00
Jared Wein 97e69eb233 Bug 336290 - remove --enable-safe-browsing from configure since its used everywhere. r=gcp
MozReview-Commit-ID: Duwu5vZOhtF

--HG--
extra : rebase_source : 564542010fd854c92978defba889b18a73f398f9
2016-08-31 19:28:29 -04:00
Jim Chen cf1e61cb8d Bug 1291383 - Move Distribution initialization out of GeckoProfile; r=nalexander
Move Distribution initialization (on profile directory creation) from
GeckoProfile to GeckoApplication, by listening to the Profile:Create
event.
2016-09-02 16:49:11 -04:00
Jim Chen 8f665ca47e Bug 1291383 - Dispatch Profile:Create event when creating profile directory; r=nalexander
Dispatch a Profile:Create event when creating a profile directory, so we
can use it to initialize distributions.
2016-09-02 16:49:11 -04:00
Jim Chen d7ccc9771a Bug 1291383 - Let Java code dispatch events through EventDispatcher; r=sebastian
Add dispatch() methods to EventDispatcher that allow Java code to
dispatch events to Bundle listeners (currently either UI or background
thread listeners).
2016-09-02 16:49:11 -04:00
Ryan VanderMeulen c0412a3515 Backed out changeset 4542cf942dab (bug 1297969) for Android checkstyle bustage. 2016-08-29 21:32:38 -04:00
Makoto Kato 86b9904afa Bug 1298743 - Remove unused localize resource into mobile/android. r=sebastian
Some resource data is for Fennec/XUL era.  Since these files is unused now, we should remove these from our package.

MozReview-Commit-ID: Dsx3qrSD01h

--HG--
extra : rebase_source : 66b416bcf7933327242bf6b74b88f81d5aac123a
2016-08-29 16:45:37 +09:00
Wes Kocher 08fbeaaf2e Merge m-c to autoland, a=merge 2016-08-29 17:57:01 -07:00
Edouard Oger 3bc966a2e2 Bug 1298727 - Bump FxA device registration version on Fennec. r=eoger
MozReview-Commit-ID: 8NzADM5P7Zc

--HG--
extra : transplant_source : %CENG%8A%FA%8E%CD%D0%9CG%C0%11%10%3B0%D7%EE%89G%ED
2016-08-28 18:05:08 -07:00
James Willcox f55f874788 Bug 1297751 - Allow E10S to be enabled on Fennec via browser.tabs.remote.force-enable r=sebastian 2016-08-26 16:57:27 -05:00
Geoff Brown c686d38861 Bug 1271264 - Populate clipboard earlier to avoid intermittent failure in testAccessibleCarets; r=sebastian 2016-08-26 14:34:55 -06:00
Jim Chen 984436a532 Bug 1297807 - Remove old JNI stubs; r=snorp 2016-08-26 12:26:46 -04:00
Jim Chen ab92abb418 Bug 1296744 - Make cameraCallbackBridge use new native JNI bindings; r=snorp
Make the GeckoAppShell.cameraCallbackBridge callback use the new native
JNI bindings. Also refactor the relevant code in GeckoAppShell and
CameraStreamImpl.
2016-08-26 12:26:46 -04:00
Jim Chen d924b1c615 Bug 1297836 - Get surface when creating or resuming compositor; r=snorp
Get rid of LayerView.Compositor.getSurface and just pass in the surface
when creating or resuming the compositor. That also lets us get rid of
some synchronization required for getSurface.
2016-08-26 12:25:57 -04:00
Jim Chen 4c8cec0df5 Bug 1297836 - Don't use WindowEvent for LayerViewSupport; r=snorp
Now that nsWindow doesn't own LayerViewSupport, we shouldn't be using
WindowEvent for LayerViewSupport calls. This patch converts the calls
that dispatch to proxy to dispatch directly to Gecko. For
SyncResumeResizeCompositor, it used a proxy to call OnResumedCompositor
on the Gecko thread; this patch makes SyncResumeResizeCompositor post an
event to call OnResumedCompositor directly, without going through the
proxy.
2016-08-26 12:25:57 -04:00
Jim Chen da50d1a62c Bug 1297462 - Combine Java exception stack code paths; r=snorp
Right now we report Java exception stacks through two code paths:
- GeckoAppShell.reportJavaCrash for exceptions caught by Java code
- jni::HandleUncaughtException for exceptions caught by native code

This patch combines the code for reporting the Java stack trace into
ReportException, to make it easier to add new features such as reporting
OOM exceptions.
2016-08-26 12:25:57 -04:00
Jim Chen c25482dbd4 Bug 1297462 - Always handle uncaught Java exception in native code if possible; r=snorp
We used to only handle certain exceptions in native code, and otherwise
forward the exception to Java handling code. Handling exceptions in
native code gives us better native stack traces in crash reports, so
this patch makes us always handle uncaught Java exceptions in native
code if possible, and only forward to Java as a fallback.
2016-08-26 12:25:57 -04:00
Michael Kaply 5f7726a793 Bug 1294730 - Send distribution referrers to Adjust. r=rnewman 2016-08-26 09:26:42 -05:00
Ryan VanderMeulen e1fdfb3b73 Merge inbound to m-c. a=merge 2016-08-26 09:37:03 -04:00
Ryan VanderMeulen aec08e3182 Merge fx-team to m-c. a=merge 2016-08-26 09:26:49 -04:00
Shih-Chiang Chien 1a2dc51208 Bug 1228526 - Part 2, show devices supported request URL in selection prompt dialog. r=chunmin
MozReview-Commit-ID: FYR2ruFsyGy

--HG--
extra : rebase_source : f0ffe43b6c0f24df6ed55750c7113e758a66710c
2016-08-23 17:57:33 +08:00
Matthew Noorenberghe 3803d21cec Bug 1297905 - Remove usage of getAllDisabledHosts in sanitize implementations. r=liuche,markh
Bug 1058438 moved disabled hosts to the permission manager which are already cleared by these modules.

MozReview-Commit-ID: InprrYLvjMR

--HG--
extra : rebase_source : 806c2542cbab953b74ad82611501ecac32400930
2016-08-24 17:41:10 -07:00
Wes Kocher f78f2d693b Merge inbound to central, a=merge 2016-08-25 16:59:00 -07:00
Rob Wu be3652cd57 Bug 1287010 - Make environment of Context explicit. r=billm
- Add `envType` to BaseContext.
 - Pass an explicit envType to all `registerSchemaAPI` invocations.
 - The factories passed to `registerSchemaAPI` will be split up later, so
   that content scripts (`content_child`) and addon pages can share
   common implementations.
 - The factories that implement the addon API will also be split up,
   to separate code running in the main process (`addon_parent`) from
   code running in a child process (`addon_child`).
 - Remove the use of a hardcoded list of `namespaces` from ProxyContext.
   Now `envType` is used to specify whether an API should be activated.

MozReview-Commit-ID: Jiff8HIwG92

--HG--
extra : rebase_source : 946a3c0009a4e3223c2d10044b3099a94c845394
2016-08-16 15:51:50 -07:00
Ryan VanderMeulen e5adfbffe6 Merge m-c to autoland. a=merge
--HG--
rename : accessible/tests/browser/browser_caching_attributes.js => accessible/tests/browser/e10s/browser_caching_attributes.js
rename : accessible/tests/browser/browser_caching_description.js => accessible/tests/browser/e10s/browser_caching_description.js
rename : accessible/tests/browser/browser_caching_name.js => accessible/tests/browser/e10s/browser_caching_name.js
rename : accessible/tests/browser/browser_caching_relations.js => accessible/tests/browser/e10s/browser_caching_relations.js
rename : accessible/tests/browser/browser_caching_states.js => accessible/tests/browser/e10s/browser_caching_states.js
rename : accessible/tests/browser/browser_caching_value.js => accessible/tests/browser/e10s/browser_caching_value.js
rename : accessible/tests/browser/browser_events_caretmove.js => accessible/tests/browser/e10s/browser_events_caretmove.js
rename : accessible/tests/browser/browser_events_hide.js => accessible/tests/browser/e10s/browser_events_hide.js
rename : accessible/tests/browser/browser_events_show.js => accessible/tests/browser/e10s/browser_events_show.js
rename : accessible/tests/browser/browser_events_statechange.js => accessible/tests/browser/e10s/browser_events_statechange.js
rename : accessible/tests/browser/browser_events_textchange.js => accessible/tests/browser/e10s/browser_events_textchange.js
rename : accessible/tests/browser/browser_treeupdate_ariadialog.js => accessible/tests/browser/e10s/browser_treeupdate_ariadialog.js
rename : accessible/tests/browser/browser_treeupdate_ariaowns.js => accessible/tests/browser/e10s/browser_treeupdate_ariaowns.js
rename : accessible/tests/browser/browser_treeupdate_canvas.js => accessible/tests/browser/e10s/browser_treeupdate_canvas.js
rename : accessible/tests/browser/browser_treeupdate_cssoverflow.js => accessible/tests/browser/e10s/browser_treeupdate_cssoverflow.js
rename : accessible/tests/browser/browser_treeupdate_doc.js => accessible/tests/browser/e10s/browser_treeupdate_doc.js
rename : accessible/tests/browser/browser_treeupdate_gencontent.js => accessible/tests/browser/e10s/browser_treeupdate_gencontent.js
rename : accessible/tests/browser/browser_treeupdate_hidden.js => accessible/tests/browser/e10s/browser_treeupdate_hidden.js
rename : accessible/tests/browser/browser_treeupdate_imagemap.js => accessible/tests/browser/e10s/browser_treeupdate_imagemap.js
rename : accessible/tests/browser/browser_treeupdate_list.js => accessible/tests/browser/e10s/browser_treeupdate_list.js
rename : accessible/tests/browser/browser_treeupdate_list_editabledoc.js => accessible/tests/browser/e10s/browser_treeupdate_list_editabledoc.js
rename : accessible/tests/browser/browser_treeupdate_listener.js => accessible/tests/browser/e10s/browser_treeupdate_listener.js
rename : accessible/tests/browser/browser_treeupdate_optgroup.js => accessible/tests/browser/e10s/browser_treeupdate_optgroup.js
rename : accessible/tests/browser/browser_treeupdate_removal.js => accessible/tests/browser/e10s/browser_treeupdate_removal.js
rename : accessible/tests/browser/browser_treeupdate_table.js => accessible/tests/browser/e10s/browser_treeupdate_table.js
rename : accessible/tests/browser/browser_treeupdate_textleaf.js => accessible/tests/browser/e10s/browser_treeupdate_textleaf.js
rename : accessible/tests/browser/browser_treeupdate_visibility.js => accessible/tests/browser/e10s/browser_treeupdate_visibility.js
rename : accessible/tests/browser/browser_treeupdate_whitespace.js => accessible/tests/browser/e10s/browser_treeupdate_whitespace.js
rename : accessible/tests/browser/doc_treeupdate_ariadialog.html => accessible/tests/browser/e10s/doc_treeupdate_ariadialog.html
rename : accessible/tests/browser/doc_treeupdate_ariaowns.html => accessible/tests/browser/e10s/doc_treeupdate_ariaowns.html
rename : accessible/tests/browser/doc_treeupdate_imagemap.html => accessible/tests/browser/e10s/doc_treeupdate_imagemap.html
rename : accessible/tests/browser/doc_treeupdate_removal.xhtml => accessible/tests/browser/e10s/doc_treeupdate_removal.xhtml
rename : accessible/tests/browser/doc_treeupdate_visibility.html => accessible/tests/browser/e10s/doc_treeupdate_visibility.html
rename : accessible/tests/browser/doc_treeupdate_whitespace.html => accessible/tests/browser/e10s/doc_treeupdate_whitespace.html
rename : accessible/tests/browser/events.js => accessible/tests/browser/e10s/events.js
rename : browser/components/extensions/test/browser/browser_ext_pageAction_context.js => browser/components/extensions/test/browser/browser_ext_pageAction_title.js
rename : browser/components/extensions/test/browser/browser_ext_pageAction_context.js => browser/components/extensions/test/browser/head_pageAction.js
rename : dom/events/test/pointerevents/pointerevent_element_haspointercapture.html => dom/events/test/pointerevents/pointerevent_element_haspointercapture-manual.html
rename : dom/events/test/pointerevents/test_pointerevent_element_haspointercapture.html => dom/events/test/pointerevents/test_pointerevent_element_haspointercapture-manual.html
rename : gfx/thebes/DeviceManagerD3D11.cpp => gfx/thebes/DeviceManagerDx.cpp
rename : gfx/thebes/DeviceManagerD3D11.h => gfx/thebes/DeviceManagerDx.h
rename : media/webrtc/trunk/tools/gyp/test/compiler-override/compiler.gyp => media/webrtc/trunk/tools/gyp/test/compiler-override/compiler-exe.gyp
rename : media/webrtc/trunk/tools/gyp/test/mac/app-bundle/TestApp/English.lproj/InfoPlist.strings => media/webrtc/trunk/tools/gyp/test/ios/app-bundle/TestApp/English.lproj/InfoPlist-error.strings
rename : media/webrtc/trunk/tools/gyp/test/mac/app-bundle/TestApp/English.lproj/InfoPlist.strings => media/webrtc/trunk/tools/gyp/test/mac/app-bundle/TestApp/English.lproj/InfoPlist-error.strings
rename : media/webrtc/trunk/tools/gyp/test/mac/gyptest-postbuild-static-library.gyp => media/webrtc/trunk/tools/gyp/test/mac/gyptest-postbuild-static-library.py
rename : media/webrtc/trunk/tools/gyp/test/rules/src/subdir4/asm-function.asm => media/webrtc/trunk/tools/gyp/test/rules/src/subdir4/asm-function.assem
rename : mfbt/unused.h => mfbt/Unused.h
rename : testing/web-platform/tests/pointerevents/pointerevent_element_haspointercapture.html => testing/web-platform/tests/pointerevents/pointerevent_element_haspointercapture-manual.html
extra : rebase_source : a3de7d91a61df9b14fe07a89f5b0184a067549cf
2016-08-25 08:14:36 -04:00
Sebastian Hengst 0b4287e91c Backed out changeset eb0c3d8a6d53 (bug 1281220) for crashing in testBug1217581 in rc3. r=backout on a CLOSED TREE 2016-08-25 14:22:47 +02:00
Ryan VanderMeulen 520acfd195 Merge inbound to m-c. a=merge 2016-08-25 08:10:52 -04:00
Kartikaya Gupta 6b6c6bae4f Bug 1297732 - Eliminate some redundancies in prefs files. r=rbarker
MozReview-Commit-ID: EaHtBt0Hgbd

--HG--
extra : rebase_source : 753c09f87f55af3a129b950ae77359717693bae9
2016-08-24 11:54:05 -04:00
Ryan VanderMeulen 0374889baf Merge m-c to autoland. a=merge 2016-08-24 09:10:50 -04:00
Phil Ringnalda f35f0c69e0 Merge m-c to a CLOSED TREE f-t 2016-08-23 22:59:10 -07:00
Michael Kaply 32541e8e81 Bug 1294763 - Correct bracket style. r=trival 2016-08-23 10:00:43 -05:00
Ryan VanderMeulen d63783b351 Merge m-c to autoland. a=merge 2016-08-23 10:07:52 -04:00
Ryan VanderMeulen 82663d8710 Merge inbound to m-c. a=merge 2016-08-23 10:05:18 -04:00
Sebastian Kaspari cb6fdc2f74 Bug 1287387 - Remove FENNEC_RESTRICTED_PROFILE_RESTRICTIONS histogram. r=liuche
MozReview-Commit-ID: CvSLLCAACZv

--HG--
extra : rebase_source : c15a2e63ea12dc8612c8dc484eaf1f6dcebb782a
2016-08-23 15:38:59 +02:00
Tom Klein 6b5d204180 Bug 1291756 - Update "Help" and about:firefox "Support" links. r=ahunt
MozReview-Commit-ID: EfgLv8Ohh9z

--HG--
extra : rebase_source : fcd7a7650de3ddf15b98eac0e41addff6907d763
2016-08-19 22:10:26 -05:00
Geoff Brown c5cce42e68 Bug 1271104 - Avoid menu selection in robocop testPrivateBrowsing; r=sebastian 2016-08-22 13:51:31 -06:00
James Willcox 032effb063 Bug 1295295 - Blur foreground tab in Fennec when the app is backgrounded r=sebastian 2016-08-22 12:04:44 -05:00
Michael Kaply 7683613fc6 Bug 1294763 - Properly decode distribution referrers. r=sebastian
--HG--
extra : amend_source : 7d951f2368dbf0f39af2f630741eda6987722fb0
2016-08-17 15:54:13 -05:00
Ryan VanderMeulen a99793373f Merge m-c to inbound. a=merge 2016-08-22 09:43:40 -04:00
Ryan VanderMeulen 833833b8c5 Merge inbound to m-c. a=merge 2016-08-22 09:40:41 -04:00
Sebastian Kaspari 256e0cd83c Bug 1296335 - Update android-api-15-* mozconfig files to point to new gradle folder. r=Callek
MozReview-Commit-ID: 3iKKrXH4rJt

--HG--
extra : rebase_source : 40cba156ae1c5bc193736f944c084fafeac086c4
2016-08-19 16:14:14 +02:00
Sebastian Kaspari a32c591dc0 Bug 1296335 - Update releng.manifest files to point to new gradle archive. r=Callek
MozReview-Commit-ID: 6jwlnzkDVko

--HG--
extra : rebase_source : f3666be4a51b01f02dae312648e5ca9c10c69b89
2016-08-19 16:11:04 +02:00
Ryan VanderMeulen 69113163cf Merge m-c to inbound. a=merge 2016-08-24 09:09:05 -04:00
Ryan VanderMeulen 2b4ac234e9 Merge m-c to inbound. a=merge 2016-08-25 08:27:17 -04:00
Makoto Kato 9a8b60ffca Bug 1284283 - Remove MozContact API Android backend. r=sebastian
MozReview-Commit-ID: GLhrA1cc1Rq

--HG--
extra : rebase_source : 73efab6d9468388a6ba0be489250d8dd3d185cd6
2016-08-08 15:40:19 +09:00
Fernando Jimenez 16126fcd4e Bug 1252570 - Remove mozPay. r=ehsan,mfinkle,fabrice
MozReview-Commit-ID: C50fvuNJoGq
2016-08-22 10:42:22 +02:00
Edouard Oger 83666a61d8 Bug 1287643 - FxA Push registration and handling of device disconnection message. r=kitcambridge,nalexander
MozReview-Commit-ID: 8IH3kBivp26

--HG--
extra : rebase_source : b3e2d2587f111c9d2c8d0eab887027caf92fe859
2016-07-20 10:47:04 -07:00
Edouard Oger c5539ef310 Bug 1287643 - Add Push crypto params to FxAccountDevice. r=nalexander
MozReview-Commit-ID: LFnbpA0zjjj

--HG--
extra : rebase_source : 8b683d6f78bc10b4b4615cc759bbd180e1578cb6
2016-07-20 10:46:17 -07:00
Jan Henning 519057383f Bug 1296411 - Correctly transform the adapter position to a cursor position when accessing the history cursor for getItemId. r=sebastian
Because of the smart folders and section headers, the adapter position needs to be appropriately adjusted when trying to access the corresponding cursor item.

MozReview-Commit-ID: n3FvcsYJ5T

--HG--
extra : rebase_source : 366dadb7abde5283a93fb1d62cff3ff4e3bba28b
2016-08-18 22:06:38 +02:00
Sebastian Kaspari 7569e574f5 Bug 775512 - HistoryDividerItemDecoration: Add license header. r=ahunt
MozReview-Commit-ID: 2B4SQYr0rwb

--HG--
extra : rebase_source : acd44290d89864bc8cd760a6f72089ad63abbb1e
2016-08-19 14:27:02 +02:00
Sebastian Kaspari e211a13f67 Bug 775512 - HistoryDividerItemDecoration: Ignore views that do not have an adapter position anymore. r=ahunt
MozReview-Commit-ID: 2s1H61s305Z

--HG--
extra : rebase_source : 92f1eed6ea0524a58db92af7d87718635d6d2230
2016-08-19 14:26:42 +02:00
Jonathan Almeida (:jonalmeida) 38a86f8c44 Bug 1269734 - Include adjust campaign ID with core ping r=mcomella
MozReview-Commit-ID: KZJKYzBfRfK

--HG--
extra : rebase_source : cb64e0f9a5cb2e56d28f44b5c77c3d0fecc5e226
2016-07-19 13:58:28 -07:00
Thomas Wisniewski 9ea1febf1c Bug 717566 - Remove use of parseFromStream in xpcshell head.js and android robocop_head.js. r=jmaher 2016-08-20 14:18:55 -04:00
Andrzej Hunt d98458ba53 Bug 1288106 - Move history (highlights) into main recyclerview, and eliminated horizontal highlights r=sebastian
Moving all vertically listed items into one RecylerView avoids the layouting issues encountered
with nested RVs. This results in a slightly more complex adapter, however overall this still
seems simpler than having to hack around the RecyclerView height measurements. (This also
makes the layout itself simpler, which hopefully means better performance too.)

MozReview-Commit-ID: HFS9q5JNYpY

--HG--
rename : mobile/android/base/java/org/mozilla/gecko/home/activitystream/MainRecyclerAdapter.java => mobile/android/base/java/org/mozilla/gecko/home/activitystream/StreamRecyclerAdapter.java
extra : rebase_source : a8914cade238e031f171718914dbd67e8f81fba1
2016-08-16 13:38:19 -07:00
Andrzej Hunt df33d3f42f Bug 1288106 - Pre: make SimpleCursorLoader public to allow reuse within AS r=sebastian
MozReview-Commit-ID: E5LNTrnmfbG

--HG--
extra : rebase_source : 63a12fe334a10c1ad316e20ca3f93911e98da0a2
2016-08-16 13:33:38 -07:00
Jonathan Almeida (:jonalmeida) 1fd894686e Bug 1288106 - Explore implementing layout manager for multi row panel r=ahunt
MozReview-Commit-ID: J2DSx9UYNFN

--HG--
extra : rebase_source : 7d205a796ca47abd465d0337c85ac1e55449e9a7
2016-08-11 17:10:23 -07:00
Andrzej Hunt 318c870658 Bug 1288106 - Fix ActivityStream layout initialisation r=jonalmeida
MozReview-Commit-ID: F5tdUwqVw0P

--HG--
extra : rebase_source : 22a30699c7f25796a520e7369ac70cbcf7284a25
2016-08-02 19:29:20 -07:00
Sebastian Hengst 021c9d40ae merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: CSQGyQiRacj
2016-08-22 17:28:28 +02:00
James Cheng 23bff9f268 Bug 1297969 - Extract class RemoteManager from CodecProxy.java to RemoteManager.java for further usage. r=jolin
MozReview-Commit-ID: Hqm6ZEzv3v1

--HG--
extra : rebase_source : c08113eef763c1fd4fc88bc091d6e0bfb77d912e
2016-08-25 15:16:50 +08:00
Boris Chiou 1a643a8877 Bug 1245751 - Part 12: Retrieve href from both None & XLink namespace in Browser & Android. r=Gijs,sebastian
MozReview-Commit-ID: dSyuTRh5MY

--HG--
extra : rebase_source : 5ee3d94495ce90c16c9e7de1dcd9adcb1388446b
2016-07-07 17:07:14 +08:00
Sebastian Kaspari 9afd64fd90 Bug 1292500 - Notify WebrtcUI when video capturing is paused/resumed. r=gcp
MozReview-Commit-ID: UkJVR7zCbI

--HG--
extra : rebase_source : cf18e6d233d3cdda42d363d240f5375e79ef356d
2016-08-23 12:36:17 +02:00
Sebastian Kaspari 68018df353 Bug 1281220 - Remove about:accounts telemetry on Fennec. r=liuche
MozReview-Commit-ID: GTKaauQIDKo

--HG--
extra : rebase_source : 97644f0ca6e5036dae148e448393e5c123aecf59
2016-08-23 16:25:19 +02:00
Shih-Chiang Chien 5cf46e081c Bug 1297018 - disable video casting to FxOS TV while presentation API is not supported. r=ahunt.
MozReview-Commit-ID: 7ZgN0V95ob

--HG--
extra : rebase_source : 3a9664853864cd1692c0f67973a803395bfb1fe6
2016-08-23 10:30:22 +08:00
Randall Barker 1b7ab73a1e Bug 1297850 - part 3, Fix Robocop breakage caused by proguard stripping out URLMetadata r=jchen 2016-08-25 17:26:42 -07:00
Randall Barker 2bd92c0006 Bug 1297850 - part 2, Background is no longer cleared by Java. Remove unused setBackgroundColor. r=jchen 2016-08-25 17:26:42 -07:00
Randall Barker e2ca496e35 Bug 1297850 - part 1, Remove dead code left behind after JPZ removal. r=jchen 2016-08-25 17:26:42 -07:00
Wes Kocher 50954c6f31 Merge m-c to autoland, a=merge 2016-08-25 17:15:05 -07:00
Sebastian Kaspari adf056b0ee Bug 1295639 - TwoLinePageRow: Use stripAboutReaderUrl() instead of getUrlFromAboutReader(). r=ahunt
ReaderModeUtils.getUrlFromAboutReader() will return null if this is not a 100% valid reader mode
URL. However ReaderMoteUtils.stripAboutReaderUrl() will return the original URL if the reader mode
URL could not be "decoded".

MozReview-Commit-ID: J07Gkyq07JK

--HG--
extra : rebase_source : 3703d8f7f98fe5cb29d3e74012659996d9149dcb
2016-08-24 12:14:35 +02:00
Andrzej Hunt a6b9e8ba76 Bug 1296750 - Don't crash if multiple files have same timestamp in TelemetryJSONFilePingStore.deleteSmallestFiles r=Grisha
Using a set is bad since it will silently ignore multiple files with the same timestamp, resulting in crashes when
the set has fewer items than we expected. A list is probably the best choice in this instance.

(Note: I am not familiar enough with this code to know whether or not this is an expected situation, i.e.
 whether or not timestamps should be unique.)

MozReview-Commit-ID: 5TRNLgTsSHO

--HG--
extra : rebase_source : eff575ed7ef36555d20ffa568cb80bef1a1dfadc
2016-08-19 14:18:43 -07:00
Andrzej Hunt ec70caf659 Bug 1292602 - Set notification client before launching Gecko to avoid crash on notification r=sebastian
Gecko could potentially send notifications via ShowAlertNotification (or any related method). It's possible
for this to happen very soon after launching Gecko, so we need to set the GeckoAppShell's notificationClient
before launching Gecko to ensure that it can handle notifications (this also avoids the associated crash - we
could try to do null-checks instead, but that would result in dropped notifications, which doesn't seem
useful).

MozReview-Commit-ID: 5MG8bBnt12M

--HG--
extra : rebase_source : 0723bbf987cf7f1f8dd5a612fb3e5cc81c6e1f78
2016-08-19 09:51:37 -07:00
Jon Coppeard 06cdc7f7de Bug 1296639 - Remove decommit threshold prefs r=terrence
--HG--
extra : rebase_source : d68e3174508537fcded310973113410dfd03613e
2016-08-24 10:13:50 +01:00
Phil Ringnalda 62d1bf1089 Merge m-c to a CLOSED TREE m-i 2016-08-23 22:57:10 -07:00
Jim Chen 2672917d6f Bug 1296757 - Correctly resume compositor when reattaching; r=snorp
We need to set the compositor-created flag in LayerView correctly when
reattaching to a new LayerView, so that we resume the compositor instead
of trying to create the compositor again, which we already did
previously.

This patch consists of general code cleanup and a new reattach method in
LayerView.Compositor that we call in order to set the compositor-created
flag correctly.
2016-08-23 18:55:12 -04:00
Jim Chen d1a77173ac Bug 1294481 - Implement new frame available callbacks; r=snorp
Implement a new OnFrameAvailableListener callback system for
AndroidSurfaceTexture using native methods. Each AndroidSurfaceTexture
creates its own SurfaceTextureListener object and uses it to forward
OnFrameAvailableListener callbacks to the corresponding nsIRunnable.
2016-08-23 18:52:30 -04:00
Jim Chen abb40676c0 Bug 1294481 - Rip out old Java code for AndroidSurfaceTexture; r=snorp
Rip out the old GeckoAppShell methods that implemented a
OnFrameAvailableListener callback system for AndroidSurfaceTexture.
2016-08-23 18:52:30 -04:00
Randall Barker 7baf3d319f Bug 1293463 - Show the dynamic toolbar whenever the soft keyboard is shown. r=sebastian 2016-08-23 09:41:37 -07:00
Geoff Brown 7f2f8dacb4 Bug 1294878 - Support 'mach android-emulator --version 6.0'; r=jmaher 2016-08-23 09:02:35 -06:00
James Willcox 177b2f9e27 Backout bug 1294823 because I accidentally pushed the wrong patch r=me 2016-08-23 09:44:55 -05:00
James Willcox 699d584fa9 Bug 1294823 - Don't use fullscreen mode for the HLS video view on Android r=sebastian 2016-08-23 09:43:26 -05:00
Ryan VanderMeulen 01c4e8cc1b Merge inbound to m-c. a=merge 2016-08-19 09:52:53 -04:00
Sebastian Kaspari 7c6fac4fc8 Bug 1296357 - Remove unused drawables/scrollbar.png. r=ahunt
MozReview-Commit-ID: 3TkteHjrko6

--HG--
extra : rebase_source : d6a0973f895f25bb98867c04b6fb8095a9a7a783
2016-08-18 19:05:38 +02:00
Rob Wu bacc209644 Bug 1295082 - Put Extension in BaseContext r=kmag
ExtensionContext in Extension.jsm has |extension| as an instance member,
so use it instead of passing |extension| to registerSchemaAPI's
callback.

And to make sure that this pattern also works in content processes, move
the |extension| member to BaseContext.

MozReview-Commit-ID: BgsGGCPQxJR

--HG--
extra : rebase_source : 7aa9fb7a53e057e8d3d8c477bd6821f8344c571a
2016-08-15 01:04:58 -07:00
Jim Chen 767998ce0c Bug 1294077 - Move reportJavaCrash out of AndroidJNI.cpp; r=snorp
Move reportJavaCrash out of AndroidJNI.cpp and re-implement it as a
native method in GeckoAppShellSupport.
2016-08-18 18:04:11 -04:00
Jim Chen f78bb41597 Bug 1294482 - Move onFullScreenPluginHidden out of AndroidJNI.cpp; r=snorp
Move onFullScreenPluginHidden out of AndroidJNI.cpp and into a new-style
native method in nsAppShell.cpp.
2016-08-18 18:04:11 -04:00
Jim Chen 16c96d39f8 Bug 1294071 - Move dispatchMemoryPressure out of GeckoAppShell; r=snorp
Move dispatchMemoryPressure out of GeckoAppShell and AndroidJNI.cpp
2016-08-18 18:04:11 -04:00
Jim Chen ef76c29f7a Bug 1294069 - Move notifyBatteryChange out of GeckoAppShell; r=snorp
Move notifyBatteryChange out of GeckoAppShell and AndroidJNI.cpp.
2016-08-18 18:04:11 -04:00
Jim Chen f76d27da14 Bug 1294710 - Move UI thread methods out of GeckoAppShell; r=snorp
Move methods to run callbacks on UI thread out of GeckoAppShell and into
GeckoThread.
2016-08-18 18:04:11 -04:00
Jim Chen f13d6e6a90 Bug 1293709; r=snorp 2016-08-18 18:03:04 -04:00
Tom Klein 0ebf8f996e Bug 1128561 - Do a PRAGMA shrink_memory when we get a TrimMemory notification. r=Grisha
MozReview-Commit-ID: KoNcRuPvgE8

--HG--
extra : rebase_source : 9af36593addd09b0f5ca3c78a663c305c53ccd1e
2016-07-28 10:09:18 -05:00
Randall Barker 6e384a2633 Bug 1299922 - Keep surface covered until it has been painted when switching tabs in Fennec r=jchen 2016-09-06 18:01:36 -07:00
Randall Barker 8adc72b766 Bug 1297853 - White flash when creating a private browsing tab r=jchen,kats 2016-09-06 18:01:36 -07:00
Sebastian Kaspari 304ded4453 Bug 1301031 - Tab: Initialize icon request builder in constructor. r=ahunt
MozReview-Commit-ID: G6n4BAC2P17

--HG--
extra : rebase_source : 4c028e542d0a5d0e1135d5cdcebf43dfd952d37e
2016-09-07 13:47:38 +02:00
Kris Maglione 2c634c4cb0 Bug 1296888: Add "webextensions" tag to WebExtension tests. r=aswan
MozReview-Commit-ID: 3QYXtpdznrP

--HG--
extra : rebase_source : 4aacd77cd2569b9ffc3916a5db3f41dd26bc7b70
2016-08-20 15:41:31 -07:00
Wes Kocher 431cc3777c Merge m-c to inbound a=merge 2016-08-19 18:39:52 -07:00
Geoff Brown 994c2a24a3 Bug 1295175 - Increase timeout for android mochitest-chrome test_awsy_lite; r=me 2016-08-19 16:02:32 -06:00
Jim Chen a13d864c61 Bug 1294479 - Add native methods in PresentationMediaPlayerManager; r=snorp
Put presentation surface native methods in PMPM Instead of in
GeckoAppShell, and also make these methods work with multiple GeckoViews
by having them take a GeckoView parameter if necessary. This also lets
us eliminate the static nsWindow reference in nsWindow.cpp.
2016-08-19 17:17:24 -04:00
Geoff Brown 70d701899c Bug 1300139 - Handle JSON NPE in DownloadContentCatalog; r=sebastian 2016-09-06 11:31:03 -06:00
Sebastian Hengst 2164cd95c8 Backed out changeset 0ce1cc39aa3d (bug 1295082) for timing out in test_ext_schemas_api_injection.js. r=backout 2016-08-18 16:47:09 +02:00
Ting-Yu Lin b2eef835ec Bug 1292904 Part 2 - Split touch area into image and text overlay. r=mtseng
The touch area of the caret element includes the caret image and the
text above the image. This patch split these two areas, and call the
area covering the text "text overlay".

MozReview-Commit-ID: KWNAwVRP7fN

--HG--
extra : rebase_source : 674dbec65e1c4b04413f9f35fe46aeea46480831
2016-08-14 20:22:04 +08:00
Ting-Yu Lin 02f58e267d Bug 1292904 Part 1 - Use element id to get caret child element. r=mtseng
The children of the caret element already have unique class name like
"image" or "bar", we could change the class name to be id, and use id to
locate them.

MozReview-Commit-ID: HLZecyAEYXv

--HG--
extra : rebase_source : 04b59a4d639ad45d2b564f48de15c2f23752fdaf
2016-08-18 15:09:19 +08:00
Rob Wu dfc11d6f00 Bug 1295082 - Put Extension in BaseContext r=kmag
ExtensionContext in Extension.jsm has |extension| as an instance member,
so use it instead of passing |extension| to registerSchemaAPI's
callback.

And to make sure that this pattern also works in content processes, move
the |extension| member to BaseContext.

MozReview-Commit-ID: BgsGGCPQxJR

--HG--
extra : rebase_source : 9a85d95f0c147198938b86c57127f6e7403fd53c
2016-08-15 01:04:58 -07:00
Wes Kocher 07f8858bf6 Merge inbound to central, a=merge 2016-08-17 16:38:41 -07:00
John Lin d7cf8502c8 Bug 1257777 - Part 6: Implement remote data decoders and enable/disable them with pref. r=snorp
MozReview-Commit-ID: 54ZEckQHsBI

--HG--
extra : rebase_source : e655067a487aafeccb866877157616036044ba4b
2016-08-05 15:24:46 +08:00
John Lin f5e84e8425 Bug 1257777 - Part 4: Implement remote codec proxy. r=snorp
MozReview-Commit-ID: 3YEfXXkg2Xi

--HG--
extra : rebase_source : b860ff64bd37a76b8a58edfab39dbe4951c21ba7
2016-08-05 15:23:47 +08:00
John Lin 935e9d2aba Bug 1257777 - Part 3: Implement remote codec, manager service, and parcelables. r=jchen
MozReview-Commit-ID: L0bc0wUaQKQ

--HG--
extra : rebase_source : ef1dd9f5db00c3a3c44fd9fd04ae7df80aa29201
2016-08-05 15:18:52 +08:00
John Lin 59e6544bc3 Bug 1257777 - Part 2: Implement async codec using API level 16 MediaCodec. r=esawin
Asynchronous mode was not available until API level 21. To make it transparent to the caller, introduce a wrapper interface that mimics the new API.

MozReview-Commit-ID: 7idq2lQo35I

--HG--
extra : rebase_source : 304c4267547096450712c05ab65163955fcc1f4f
2016-08-05 15:32:55 +08:00
John Lin 5c078510e7 Bug 1257777 - Part 1: AIDL interfaces for remote codec and manager service binders. r=nalexander
MozReview-Commit-ID: DAaJyWcyC0c

--HG--
extra : rebase_source : 95b82faa20a98801f6aaba424b263e8515f425fc
2016-08-05 15:28:04 +08:00
Wes Kocher c84ec3b3f3 Merge m-c to inbound, a=merge 2016-08-16 22:06:58 -07:00
Wes Kocher 48b8d407c8 Merge inbound to central, a=merge
a=release to get around the webidl hook for a comment-only change

--HG--
extra : amend_source : f7e57101e1a25d3cf3536a256898ec2a21c54b38
2016-08-16 17:05:30 -07:00
Wes Kocher fee75658b6 Merge m-c to fx-team a=merge CLOSED TREE 2016-08-15 15:04:43 -07:00
Wes Kocher d602abb016 Merge inbound to central, a=merge 2016-08-15 14:20:38 -07:00
Wes Kocher 4aec37ca6e Merge m-c to autoland, a=merge 2016-08-12 16:30:03 -07:00
Wes Kocher e9097643d5 Merge inbound to central, a=merge 2016-08-12 13:44:29 -07:00
Jim Chen 1241198df6 Bug 1263808 - Guard against premature LayerView destruction; r=rbarker
It's possible for LayerView to be destroyed before it's finished
initializing on the Gecko thread. In that case, we should not continue
with normal destruction of NPZC. Checking isGeckoReady() in
GeckoLayerClient accomplishes that. Also, guard against a case where
LayerView.onSizeChanged is called after LayerView destruction and
results in a NPE from mCompositor being null.
2016-08-11 15:16:22 -04:00
Towkir Ahmed 63867da04a Bug 1284887 - Replaced references to mxr.mozilla.org in the codebase with dxr.mozilla.org r=dolske
a=release to get around a hook that's catching these comment-only idl changes

--HG--
extra : rebase_source : a7353680777fd2eeea24c9993f9937bbbcfb9e4f
2016-08-15 17:28:05 -07:00
Mike Hommey c6d1e73834 Bug 1294585 - Move --with-*-keyfile options to python configure. r=chmanchester 2016-08-16 08:32:51 +09:00
Shih-Chiang Chien 2516080b16 Bug 1294637 - add Cr declaration. r=me.
MozReview-Commit-ID: 98uhnS0Dod4

--HG--
extra : rebase_source : 557e5486b49927d226b32ef5b6e54fd5c279c7cb
2016-08-12 17:06:30 +08:00
Randall Barker a7a390ebbb Bug 1291373 - [geckoview] part 6, Remove unused functions from browser.js r=snorp 2016-08-16 14:33:43 -07:00
Randall Barker fcda0a5859 Bug 1291373 - [geckoview] part 5, Remove Layer and all derived classes r=snorp 2016-08-16 14:33:43 -07:00
Randall Barker 983cc6b2d1 Bug 1291373 - [geckoview] part 4, Remove GeckoEvent and AndroidGeckoEvent r=jchen 2016-08-16 14:33:43 -07:00
Randall Barker 9a3fae864f Bug 1291373 - [geckoview] part 3, Remove MOZ_ANDROID_APZ r=botond,snorp 2016-08-16 14:33:43 -07:00
Randall Barker d81ee14d7e Bug 1291373 - [geckoview] part 2, Clean up ActionBarTextSelection to remove unsupported code r=snorp,mcomella 2016-08-16 14:33:43 -07:00
Randall Barker c1e108f7ad Bug 1291373 - [geckoview] part 1, Remove JavaPanZoomController (JPZ) from mobile/android r=snorp 2016-08-16 14:33:43 -07:00
Ray Lin 7b9a24d9ec Bug 1293601 - Show slider and mute button at first show on video touch control. r=jaws
MozReview-Commit-ID: E9cilyGDZRK

--HG--
extra : transplant_source : %1A%D0%AA%FC%BEl%20%CB%0E%0F%8F9%20%16%AFk8%01%C4%B7
2016-08-10 13:18:46 +08:00
Tuhina e9dba91d30 Bug 1293002 - Replace in-tree consumer of non-standard Iterator() with Object.{values,entries} in mobile/. r=liuche 2016-08-10 02:01:20 +05:30
Shih-Chiang Chien a8326d97ea Bug 1288600 - reject promise with NotFoundError while no device, and NotAllowedError while canceled by user. r=smaug.
MozReview-Commit-ID: ArQHhdIpQjg
2016-08-09 09:58:14 +08:00
Carsten "Tomcat" Book 553a2da922 merge mozilla-inbound to mozilla-central a=merge 2016-08-10 15:54:26 +02:00
Carsten "Tomcat" Book 5a14c558ee merge fx-team to mozilla-central a=merge 2016-08-10 15:52:07 +02:00
Cory Price 3421340494 Bug 1274332 - Add testpilot.firefox.com to the xpinstall whitelist. r=dolske,s.kaspari 2016-08-09 14:27:14 -07:00
Carsten "Tomcat" Book d9e0b4c565 merge mozilla-inbound to mozilla-central a=merge 2016-08-09 15:44:51 +02:00
Carsten "Tomcat" Book 7b871681a3 merge fx-team to mozilla-central a=merge 2016-08-09 15:43:44 +02:00
Mike Hommey 306558f1eb Bug 1292463 - Always set --enable-warnings-as-errors for MOZ_AUTOMATION builds. r=chmanchester
And remove it from mozconfigs.
2016-08-10 10:49:56 +09:00
Kris Maglione 947c1cf7ba Bug 1289527: Hide browserAction and pageAction namespaces when relevant manifest entries are missing. r=aswan
MozReview-Commit-ID: 2gx0pLkHaVJ

--HG--
extra : rebase_source : 94ab5fbc632aedee4dc8261145bc8832ae31f53d
2016-08-06 14:43:58 -07:00
Andrew Halberstadt 795728d89d Bug 1293295 - Replace all mochitest 'flavor' options with a single --flavor argument, r=jmaher
This accomplishes three things:

1) Easier to use CLI when running without the benefit of testing/mochitest/mach_commands.py
2) Guarantees these arguments are mutually exclusive
3) Simplifies a bunch of logic in the test harness

The primary motivation for this change is to slightly improve the UX when running mochitest
from a taskcluster interactive loaner. However, this is more of a bandaid solution that was
easy to implement before the proper fix in bug 1293259 can be landed.

MozReview-Commit-ID: IeHBGrJ0Sji

--HG--
extra : rebase_source : ba1b7e437881e363fe0051dccd3d732221311c59
2016-08-08 11:48:49 -04:00
Carsten "Tomcat" Book d32ae51802 Merge mozilla-central to autoland 2016-08-09 15:49:48 +02:00
Alastor Wu f372aaf404 Bug 1290029 - go back to the playing tab when double clicking the control interface. r=sebastian
MozReview-Commit-ID: JfXm7vBKqfW

--HG--
extra : rebase_source : 517c28f8fec572e7b2a719a7dd365cdd5662c5b6
2016-08-09 17:19:11 +08:00
Alastor Wu acc27bccea Bug 1292585 - only update reference tab when tab starts playing. r=sebastian
MozReview-Commit-ID: 2HCWIIFWF96

--HG--
extra : rebase_source : dc32b23678204ee7f2224cd0074ee72baa8d397e
2016-08-09 01:02:24 +08:00
Wes Kocher 005ac12647 Merge fx-team to m-c a=merge 2016-08-07 00:16:15 -07:00
Wes Kocher 0201cd41e9 Merge m-c to fx-team, a=merge 2016-08-05 14:06:23 -07:00
Sylvestre Ledru 274454c565 Bug 1292468 - Incorrect string comparison r=sebastian
MozReview-Commit-ID: G69dq8EFM5U

--HG--
extra : rebase_source : 7164ca065e6c2096a03c4cd0c888e2da0d167114
2016-08-05 10:45:10 +02:00
Carsten "Tomcat" Book 99002c6dcd merge fx-team to mozilla-central a=merge 2016-08-05 12:00:16 +02:00
Tom Klein e369632118 Bug 1279361 - Change tabs panel menu image to an ImageView. r=Grisha
MozReview-Commit-ID: 2a2uM0z2H9o

--HG--
extra : rebase_source : f3d4dd8bf562537e94635e2623183b9f03d75006
2016-08-03 11:35:21 -05:00
Grigory Kruglov fa7938e7a8 Bug 1292359 - Treat visit type consistently as a Long while syncing r=nalexander
MozReview-Commit-ID: ESn4t3lznNl

--HG--
extra : rebase_source : 4f049192cfffe26d4b4392b242840a10d7207828
2016-08-05 13:05:01 -07:00
Carsten "Tomcat" Book 1f5f6ac888 Merge mozilla-central to fx-team 2016-08-04 16:06:09 +02:00
Jim Chen cad95cab52 Bug 1288838 - Follow-up to fix checkstyle error; r=me 2016-08-04 10:00:00 -04:00
Carsten "Tomcat" Book 389a3e0817 merge mozilla-inbound to mozilla-central a=merge
--HG--
rename : mobile/android/base/java/org/mozilla/gecko/GeckoAppShell.java => mobile/android/geckoview/src/main/java/org/mozilla/gecko/GeckoAppShell.java
rename : mobile/android/base/java/org/mozilla/gecko/gfx/GeckoLayerClient.java => mobile/android/geckoview/src/main/java/org/mozilla/gecko/gfx/GeckoLayerClient.java
rename : mobile/android/base/java/org/mozilla/gecko/gfx/LayerRenderer.java => mobile/android/geckoview/src/main/java/org/mozilla/gecko/gfx/LayerRenderer.java
rename : mobile/android/base/java/org/mozilla/gecko/gfx/PanningPerfAPI.java => mobile/android/geckoview/src/main/java/org/mozilla/gecko/gfx/PanningPerfAPI.java
2016-08-04 15:55:50 +02:00
Jim Chen a4fcd0b442 Bug 1288821 - Remove observer events in GeckoEvent; r=snorp
Remove the now-obsolete CALL_OBSERVER and REMOVE_OBSERVER events from
GeckoEvent, along with the native-only event ADD_OBSERVER.
2016-08-04 09:17:54 -04:00
Jim Chen 52c109b436 Bug 1288821 - Convert callObserver/removeObserver to native method; r=snorp
Combine the callObserver and removeObserver methods used for notifying
alert listeners into the native method
GeckoAppShell.notifyAlertListener. Keep track of the listener and the
alert cookie on the native side so that we don't need
GeckoAppShell.ALERT_COOKIES anymore.
2016-08-04 09:17:54 -04:00
Jim Chen 535fa2c33f Bug 1288821 - Refactor Java notification interface; r=snorp
Refactor the notification-related methods in GeckoAppShell. In
particular, combine showPersistentAlertNotification into
showAlertNotification, and move code out of AndroidBridge.
2016-08-04 09:17:54 -04:00
Jim Chen b3f9da57ab Bug 1288821 - Remove nsIAlertsProgressListener; r=kitcambridge r=snorp
nsIAlertsProgressListener is a relic from XUL Fennec and we no longer
use it in any code.
2016-08-04 09:17:54 -04:00
Jim Chen 15acbc5fab Bug 1289208 - Remove gamepad events from GeckoEvent; r=snorp
Remove the now-obsolete gamepad events from GeckoEvent, along with a few
other used fields in GeckoEvent.
2016-08-04 09:16:05 -04:00
Jim Chen 4b8a8da17c Bug 1289208 - Add native methods to AndroidGamepadManager; r=snorp
Add native method calls to AndroidGamepadManager to replace the gamepad
events in GeckoEvent. Implement those calls in AndroidGamepad.cpp. The
jni/Refs.h change is necessary to fix a compile error when using
jni::BooleanArray.
2016-08-04 09:16:05 -04:00
Jim Chen e5eac1e286 Bug 1289208 - Move gamepad methods out of GeckoAppShell; r=snorp
Move gamepad methods called by native code out of GeckoAppShell and into
AndroidGamepadManager.
2016-08-04 09:16:05 -04:00
Jim Chen 56e79ec2bc Bug 1288838 - Remove telemetry events from GeckoEvent; r=snorp
Remove the now-obsolete telemetry events from GeckoEvent.
2016-08-04 09:16:05 -04:00
Jim Chen 3a078bd650 Bug 1288838 - Add telemetry native methods to Android telemetry module; r=snorp
Add and use native method calls in Telemetry.java to replace the
telemetry events in GeckoEvent.
2016-08-04 09:16:04 -04:00
Jim Chen 580a7782fe Bug 1288834 - Remove ZOOMEDVIEW event from GeckoEvent; r=snorp
Remove the now-obsolete ZOOMEDVIEW event from GeckoEvent, and the
associated code in nsAppShell and AndroidBridge.
2016-08-04 09:15:17 -04:00
Jim Chen 4ea7bbbc21 Bug 1288834 - Implement native request method in ZoomedView; r=snorp
Add a native method in ZoomedView to request zoomed view data. The
native method is implemented in the ThumbnailHelper class on the C++
side because it shares a lot of code with the thumbnailing code.
2016-08-04 09:15:17 -04:00
Jim Chen 159d9d9ab2 Bug 1283888 - Remove LOW_MEMORY event from GeckoEvent; r=me
LOW_MEMORY event is not used anywhere and can be safely removed.
2016-08-04 09:15:16 -04:00