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

11769 Коммитов

Автор SHA1 Сообщение Дата
Carsten "Tomcat" Book b9a6c687fa merge mozilla-inbound to mozilla-central a=merge 2016-07-25 15:50:41 +02:00
Carsten "Tomcat" Book 42933ba381 merge fx-team to mozilla-central a=merge
--HG--
rename : devtools/client/shared/css-color.js => devtools/shared/css-color.js
2016-07-25 15:49:05 +02:00
Makoto Kato 034db5a8b2 Bug 1094729 - Fix bustage. r=me
MozReview-Commit-ID: ExUWhdl6Z3Y

--HG--
extra : rebase_source : 07d7ce5a1c8126065ad48eafc7a8f7ab301d12ee
2016-07-25 16:32:24 +09:00
Sebastian Kaspari a6af10feb9 Bug 1221646 - Report getInstallerPackageName() in telemetry. r=ahunt,liuche
MozReview-Commit-ID: EiPNDsVam0x

--HG--
extra : rebase_source : 88f99dc42117ad024051eef8786caa2125763e23
2016-07-20 11:58:35 +02:00
Sebastian Kaspari d3f6c0eed6 Bug 1284387 - Remove audio control notification after playing tab has been closed. r=ahunt
MozReview-Commit-ID: 9nrlKpcedzQ

--HG--
extra : rebase_source : 06b3e7b26ca4e5007150780446346eedc9a63653
2016-07-21 15:33:48 +02:00
Makoto Kato b1da9d4a6c Bug 1094729 - Part 2. Support floating candidate window for hardware keyboard on Android 5+. r=jchen
MozReview-Commit-ID: G148os7J9wO

--HG--
extra : rebase_source : 1cbf1cb1a2a6897439effa7f3edf720adc184e15
extra : histedit_source : 2d84917b32d5eca4066e426f94ece36e81c0bdea
2016-07-20 16:19:05 +09:00
Makoto Kato 06b363b5be Bug 1094729 - Part 1. Add utility function to convert Gecko's coords to Layer view coords. r=snorp
MozReview-Commit-ID: 7CzyHQkVVDz

--HG--
extra : rebase_source : 5c19e53fdc5b2bc544648cea9bc46b2394681d0c
2016-07-01 15:37:37 +09:00
Carsten "Tomcat" Book 336105a0de merge mozilla-inbound to mozilla-central a=merge 2016-07-22 11:58:02 +02:00
Carsten "Tomcat" Book 53b9562c23 merge fx-team to mozilla-central a=merge 2016-07-22 11:56:37 +02:00
Andrzej Hunt e8b5a4e8dd Bug 1288256 - Post: add comments explaining HomePager specific methods in HomeScreen r=sebastian
MozReview-Commit-ID: 5hgTMzff6zq

--HG--
extra : rebase_source : a89d18e6cf5e06ae7845a8373535b5fda89fbb59
2016-07-21 08:03:37 -07:00
Andrzej Hunt 12a3fc81a8 Bug 1288256 - Part 3: update BrowserApp to use HomeScreen interface instead of
HomePager r=sebastian

MozReview-Commit-ID: 7h6s6ewfSOu

--HG--
extra : rebase_source : 5ac3207b8030cdfcd282fccd14656b55782168a3
2016-07-21 08:48:11 -07:00
Andrzej Hunt 92918007b3 Bug 1288256 - Part 2: extract HomePager interface into HomeScreen r=sebastian
This will permit us to plug in other HomeScreen implementations as needed.

MozReview-Commit-ID: Dvmyk1sdBT6

--HG--
extra : rebase_source : bf8acdf84e35f9b2dbeaa2445121c1cfa6d974e4
2016-07-21 08:48:23 -07:00
Andrzej Hunt fe0cd8705c Bug 1288256 - Part 1: update naming of "home pager container" to "home screen container" r=sebastian
This is to help keep the terminology more clear: this container will allow displaying any of our
home screen implementations, and not just the HomePager.

MozReview-Commit-ID: 4kqNipgvQ5I

--HG--
extra : rebase_source : 831090edf10be23baf358d778934e73534b720f2
2016-07-20 14:58:19 -07:00
Andrzej Hunt 82913b68d5 Bug 1288256 - Pre: remove unneeded imports r=me
MozReview-Commit-ID: 5q0FhQVPY8P

--HG--
extra : rebase_source : ead7477f271615d22102b9ea6ead6b9c343557db
2016-07-20 14:58:35 -07:00
Carsten "Tomcat" Book 039a58cf58 Backed out changeset 142caeafd119 (bug 1286663) 2016-07-21 08:18:23 +02:00
Carsten "Tomcat" Book 27ff1866d4 Backed out changeset d8a07729a34c (bug 1286663) 2016-07-21 08:04:52 +02: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 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
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
Carsten "Tomcat" Book 8428cd56e3 merge mozilla-inbound to mozilla-central a=merge 2016-07-20 11:20:15 +02:00
Carsten "Tomcat" Book 668b63cbb9 merge autoland to mozilla-central a=merge 2016-07-20 10:59:12 +02:00
Carsten "Tomcat" Book 868b17897f merge fx-team to mozilla-central a=merge 2016-07-19 16:09:20 +02:00
Makoto Kato c5a642ffaa Bug 1287015 - Part 1. Remove SurfaceBits and getSurfaceBits. r=snorp
MozReview-Commit-ID: 2dFvgwxavgx

--HG--
extra : rebase_source : e1424a90e6bcc3c53985d9582ac89facc8818bc8
extra : histedit_source : f7040478e0bb6952d09cc46376441e71abe021de
2016-07-15 11:02:04 +09:00
Andrzej Hunt 77ed70f397 Bug 1284544 - Remove redundant flag from PackageManager.queryIntentServices r=mcomella
GET_SERVICES is already implicit in this method name. Using lint running against
sdk 24 we get a warning that GET_SERVICES isn't a permitted flag. (Previous sdks
didn't yet contain a list of allowable flags.)

MozReview-Commit-ID: LINassWOTfc

--HG--
extra : rebase_source : f3e654849fff8a1bd0e10566e5382991d47cefb4
extra : histedit_source : 1c3545c90e4351147fe2da072814c2c6b53f19d9
2016-07-05 09:12:47 -07:00
Andrzej Hunt e360c33064 Bug 1284544 - lint: suppress useless override error caused by presence of 24 sdk r=mcomella
We're still building with the 23 sdk, but lint is now giving us errors based
on the 24 sdk. We therefore need to explicitly suppress the error (even though
in reality we don't want to suppress the error so that we don't miss adding the
@Override annotation when we switch to 24).

MozReview-Commit-ID: 3RqLMhiyAFh

--HG--
extra : rebase_source : 0d298d5f1245286f5946d544422b87e6a51c04ed
extra : histedit_source : 3e5e2dfb28cf9a55c006803a8df68a7942381a54
2016-07-18 18:21:41 -07:00
Alastor Wu a02e63bc63 Bug 1282391 - make MediaControlService to foreground service when we're playing media. r=sebastian
MozReview-Commit-ID: HYN3PTQVdhG

--HG--
extra : rebase_source : 5e9ad3fc90d0d04c72b5d5e0e958c174df056342
2016-07-19 23:02:35 +08:00
Tom Klein 693ac9734a Bug 1264347 - Refactor SnackbarHelper to use builder pattern. r=sebastian
MozReview-Commit-ID: 9WZBhhJIdNq

--HG--
rename : mobile/android/base/java/org/mozilla/gecko/SnackbarHelper.java => mobile/android/base/java/org/mozilla/gecko/SnackbarBuilder.java
extra : rebase_source : f5bccb838b015fcb40709ab71a5ab8d42a75153e
2016-07-11 09:42:01 -05:00
Andrzej Hunt 069a4f4f33 Bug 1284587 - Distinguish normal from reader view bookmarks in telemetry r=liuche
We want to be able to detect when we've opened a reader view item. Note: this is
independent of whether or not we're in the Reading List smartfolder: it's possible
to open reader view bookmarks from any real bookmark folder, or the smartfolder.

MozReview-Commit-ID: KhqclodWSji

--HG--
extra : amend_source : 96460a430de900920dc2858dc171544657771abb
2016-07-05 15:29:55 -07:00
Jan Henning 67ad36aff0 Bug 1253654 - Part 2 - Don't show the item divider in the history panel after a section header. r=liuche
That way, the section headers (e.g. "Today", "Yesterday", "Last 7 days" etc.) blend better with the following item.

The correct hiding of the divider depends on the view type reported for the respective RecylerView child items. Because the view type is stored a simple number, this means that any other RecylerView wanting to use this divider decoration implementation must use the same item types as the history panel in order to remain compatible, otherwise the divider could be unexpectedly hidden. Therefore, we rename the DividerItemDecoration to underline its intended usage scope.

MozReview-Commit-ID: 8JUS6ke3RBL

--HG--
rename : mobile/android/base/java/org/mozilla/gecko/widget/DividerItemDecoration.java => mobile/android/base/java/org/mozilla/gecko/widget/HistoryDividerItemDecoration.java
extra : transplant_source : %E8%B7%8E%9F%C9%E5%CCmX%22r%D7%D2%8A%DF%2A%D0%83%9Bw
2016-07-14 20:57:43 +02:00
Jan Henning 1f9969116c Bug 1253654 - Part 1 - Update home panels section header styling. r=liuche
MozReview-Commit-ID: EflkRCg0Xby

--HG--
extra : transplant_source : %F3%BEm%AD%91%26/m%5E7%90%0F%01%C9%82_HZIU
2016-07-09 15:38:23 +02: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
Sebastian Kaspari e753074c83 Bug 1285926 - Post: Remove trailing whitespace from string. r=flod
MozReview-Commit-ID: KuNXcoiAJV5

--HG--
extra : amend_source : 7c935772626f3d5d394d50de5a46749ed5b28af7
2016-07-14 14:50:12 +02:00
Nicholas Rosbrook 61858cc00e Bug 1261980 - Added checks in GeckoProfileDirectories to prevent null dereferencing. r=mcomella
--HG--
extra : rebase_source : 5c8d3734b688b9606bf9d593adea96bf25b7e6ee
2016-06-17 18:22:26 -07:00
Jan Henning dd79a6bb8c Bug 1284017 - Add telemetry for damaged session store files. r=sebastian
Just watching for a SessionRestoreException during startup can introduce some false positives, because that exception is triggered in any case where we can't restore tabs, not just when the session file has been damaged, e.g.:
- on first startup
- on builds affected by bug 1228593, users who are (theoretically) restoring their tabs, but clearing their history on exist end up with a deleted sessionstore.js
- should we implement bug 1275662, we'd hit that exception in that case, too.

Therefore we only send the telemetry event if we hit that exception even though a sessionstore.js file is present. We also exclude the case where the file size of sessionstore.js is 14 bytes, because that is most likely corresponding to a file containing only {"windows":[]}, which means that the session store intentionally wanted to write a file containing no tabs.

Currently this is only the case for users who are clearing their history on exit and are also *not* restoring tabs, however if bug 1275662 should get implemented, we'd probably encounter those empty files for users who have their restore setting set to "Always restore", too.

Because of bug 1261008, we can also end up with no restored tabs (and a SessionRestoreException) if the session file contains only about:home tabs with no history, because we're skipping those and not restoring them. To detect that case and exclude it from telemetry, we have to include additional logic within the SessionParser instance used during startup and pass those results back to the calling site in GeckoApp.

MozReview-Commit-ID: 6pAhDU3d8QA

--HG--
extra : rebase_source : ebf4d902a616c17ba10c645ad8ef469ceafe8cce
2016-07-05 22:40:01 +02:00
Grigory Kruglov 782ab6a25d Backed out changeset 5e2a5623088f (bug 1278301) because this feature is pending further investigation r=ahunt
MozReview-Commit-ID: ErVAafkRkqh

--HG--
extra : rebase_source : 4be19a6b3561a9b194b0f117b1ddfb5bc1bb82d8
2016-07-11 09:17:24 -07:00
Sebastian Kaspari 19871f936c Bug 1285926 - Add preference for enabling/disabling custom tabs support. r=grisha
MozReview-Commit-ID: 8KmJo5IM7JS

--HG--
extra : rebase_source : 276e646d04b1060f5e0a2575408dac266d94f28d
2016-07-11 15:41:55 +02:00
Jonathan Almeida (:jonalmeida) c3adc70e06 Bug 1283478 - Tapping the download notification does not open the downloaded file r=mcomella
We were incorrectly retrieving the cookie from the notification intent
and passing that along which affected the invocation of the notification.

MozReview-Commit-ID: FxL8sw6lByJ

--HG--
extra : rebase_source : 503ab15c58b9403851477b380ffe7ac3bd2f7215
extra : amend_source : 8dd88a72795184f825a1e43f0cb163691cf97181
2016-07-05 15:44:17 -07:00
Sebastian Kaspari 8c58d6891e Bug 1283025 - Add support for PartnerBookmarksProvider. r=grisha
If a distribution sets "distribution.read_partner_bookmarks_provider" (Android preference)
to 'true' then Fennec will read from Android's PartnerBookmarksProvider [1] and add them
to the bookmarks panel UI.

[1] https://android.googlesource.com/platform/packages/providers/PartnerBookmarksProvider/+/master/src/com/android/providers/partnerbookmarks/PartnerBookmarksProvider.java

MozReview-Commit-ID: Lr50X4HhoC8

--HG--
extra : rebase_source : dae3ab3b1808db09eb82785c43e11c4e00f8f117
2016-07-04 20:00:01 +02:00
Sebastian Kaspari ab950918d5 Bug 1284372 - URL bar: Force LTR for the URL. r=grisha
MozReview-Commit-ID: 3WnPTRmk5VO

--HG--
extra : rebase_source : 883ef94e601c2251db40dc59895289c2af957d61
2016-07-06 13:57:19 +02:00
Carsten "Tomcat" Book 02ea56d596 merge mozilla-inbound to mozilla-central a=merge 2016-07-12 10:58:33 +02:00
Jim Chen 247c8dadf2 Bug 1285570 - Implement VISITED event as native method; r=snorp
Convert the VISITED event in GeckoEvent to a native method call in
GeckoAppShell.
2016-07-11 18:07:35 -04:00
Jim Chen 71a6e62f73 Bug 1283739 - Prevent reentrant calls to showSoftInput and hideSoftInput; r=esawin
Add a check to showSoftInput and hideSoftInput To prevent an infinite
recursive loop of showSoftInput indirectly calling
onCreateInputConnection, which calls showSoftInput again,
2016-07-11 18:07:35 -04:00
Jim Chen 77a100ac1c Bug 1280446 - Follow-up to fix another possible crash; r=me 2016-07-11 17:16:57 -04:00