Commit Graph

11850 Commits

Author SHA1 Message Date
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
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
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
Ryan VanderMeulen
833833b8c5 Merge inbound to m-c. a=merge 2016-08-22 09:40:41 -04: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
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
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
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
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
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
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
Wes Kocher
45575a7f86 Merge m-c to autoland, a=merge
a=release for the webidl hook for a comment-only change

--HG--
extra : amend_source : e590e515ab273d097f88b35be0e5c999502ebdf4
2016-08-16 22:07:30 -07:00
Phil Ringnalda
74f4a938ed Backed out 2 changesets (bug 1287643) for xpcshell failures in test_notification_ack.js and friends
Backed out changeset 816516be0183 (bug 1287643)
Backed out changeset e72a4a5ae5ff (bug 1287643)
2016-08-16 21:28:51 -07:00
Jim Chen
c800eaab74 Bug 1292323 - Update WrapForJNI usages; r=snorp
Replace old flags in WrapForJNI usages with new flags. The calledFrom
and dispatchTo flags are set based on whether the method is native or
non-native, and how the method is used.

Also fix testEventDipatcher to respect NativeJSObject's calledFrom =
"gekco" flag, by moving a test to Gecko thread.
2016-08-12 23:15:52 -04:00
Jim Chen
4840d7e831 Bug 1292323 - Clean up WrapForJNI and add calledFrom and dispatchTo attributes; r=snorp
WrapForJNI has some flags that are obsolete or confusing. Clean it up so
that there are fewer but more meaningful flags. Add a "calledFrom" flag
to indicate the intended calling thread and add a "dispatchTo" flag to
indicate where a method call may be automatically dispatched.
2016-08-12 23:15:52 -04:00
Jan Henning
aa5cceb394 Bug 1277800 - Part 2 - Clear the RecentTabsAdapter's "Tabs from last time" by listening to "Sanitize:Finished". r=liuche
The "Tabs from last time" section of the "Recently closed" folder is only read from sessionstore.bak when the adapter is created and subsequently never updated.

To prevent those tabs from lingering around after clearing history, the history panel initially directly called the RecentTabsAdapter. To handle this in a more generic manner, we now have the RecentTabsAdapter listen for "Sanitize:Finished" notifications instead.

MozReview-Commit-ID: AADXHd5iDo2

--HG--
extra : rebase_source : 0ed272db4d031a6f69a8ad61b3746f4a31b4d36f
2016-06-09 20:08:26 +02:00
Jan Henning
753fcd111a Bug 1277800 - Part 1 - Convert GeckoPreferences's "Sanitize:Finished" listener to a NativeEventListener. r=liuche
We can't register both GeckoEventListeners and NativeEventListeners for the same event - since GeckoEventListeners are deprecated anyway, we should simply convert GeckoPreferences's "Sanitize:Finished" listener to a NativeEventListener, so as not to cause conflicts with the RecentTabsAdapter.

MozReview-Commit-ID: Dh3iXPQIJPC

--HG--
extra : rebase_source : 68da6bbf68da77362112847b1ae3c953430461f1
2016-07-29 20:50:06 +02:00
dlim@mozilla.com
f6a39d3433 Bug 1278840 - FF for Android offers no way to remove arbitrary sites from history apart from top sites or recent history. r=sebastian
MozReview-Commit-ID: 2QAnzQLBd9q

--HG--
extra : rebase_source : a414133005b6c20b310126c2caaed8a6424d1066
2016-08-10 08:56:06 -07:00
Saad Quadri
a96c2f5fb7 Bug 1058438 - Migrate disabledHosts from sqlite storage to permission manager. r=MattN
MozReview-Commit-ID: BKlAmwzu3is

--HG--
extra : rebase_source : 398c07c36a8e7ccf7aad600c0487a71a04cab266
2016-08-09 10:14:51 -07:00
Andrzej Hunt
529d3ff719 Bug 1292903 - Add comment explaining getUrlFromAboutReader r=sebastian
MozReview-Commit-ID: EnbsJNl9N4n

--HG--
extra : rebase_source : 7de34337402de9412abc6159c7f5bf66538c9a55
2016-08-10 10:14:59 -07:00
Andrzej Hunt
a1f45646f3 Bug 1292903 - Use stripAboutReaderUrl in ToolbarDisplayLayout to avoid crashing on malformed about:reader URLs r=sebastian
MozReview-Commit-ID: Ab8IBeSbZ4R

--HG--
extra : rebase_source : 237233271f185ff00dde2001df238376c463f482
2016-08-10 10:14:32 -07:00
Carsten "Tomcat" Book
d32ae51802 Merge mozilla-central to autoland 2016-08-09 15:49:48 +02:00
Carsten "Tomcat" Book
7b871681a3 merge fx-team to mozilla-central a=merge 2016-08-09 15:43:44 +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