Commit Graph

11871 Commits

Author SHA1 Message Date
Jim Chen
984436a532 Bug 1297807 - Remove old JNI stubs; r=snorp 2016-08-26 12:26:46 -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
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
Ryan VanderMeulen
2b4ac234e9 Merge m-c to inbound. a=merge 2016-08-25 08:27:17 -04:00
Ryan VanderMeulen
520acfd195 Merge inbound to m-c. a=merge 2016-08-25 08:10:52 -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
Michael Kaply
7683613fc6 Bug 1294763 - Properly decode distribution referrers. r=sebastian
--HG--
extra : amend_source : 7d951f2368dbf0f39af2f630741eda6987722fb0
2016-08-17 15:54:13 -05: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
Ryan VanderMeulen
833833b8c5 Merge inbound to m-c. a=merge 2016-08-22 09:40:41 -04:00
Ryan VanderMeulen
69113163cf Merge m-c to inbound. a=merge 2016-08-24 09:09:05 -04: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
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
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
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
Phil Ringnalda
62d1bf1089 Merge m-c to a CLOSED TREE m-i 2016-08-23 22:57:10 -07: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
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
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
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
Wes Kocher
431cc3777c Merge m-c to inbound a=merge 2016-08-19 18:39:52 -07: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
Wes Kocher
1f49af4fc0 Backed out 2 changesets (bug 1297850) for robocop bustage a=backout CLOSED TREE
Backed out changeset e83c9eb279a9 (bug 1297850)
Backed out changeset 979694026137 (bug 1297850)
2016-08-25 11:29:35 -07:00
Randall Barker
d755533d9f Bug 1297850 - part 2, Background is no longer cleared by Java. Remove unused setBackgroundColor. r=jchen 2016-08-25 08:14:52 -07:00
Randall Barker
4839c748eb Bug 1297850 - part 1, Remove dead code left behind after JPZ removal. r=jchen 2016-08-25 08:14:52 -07:00
Wes Kocher
07f8858bf6 Merge inbound to central, a=merge 2016-08-17 16:38:41 -07: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