Commit Graph

23146 Commits

Author SHA1 Message Date
Julian_Chu
4886a7a2bb Bug 1357781 - Enable function of edit site settings in SiteIdentity r=sebastian
The SiteIdentityPopup has a clickable-text to show a dialog to edit
permission for the browsring-site. Its visibility is decided by message
from EventDispatcher("Permission:CheckResult").

Now register listener by visibility of ActionBar.(or Activity, actually).

MozReview-Commit-ID: CUU1gCKqh02

--HG--
extra : rebase_source : d5efe854a544a0529abe3030ba73fea2bcce0c2d
2017-05-18 16:38:01 +08:00
Julian_Chu
120f3c37ca Bug 1357780 - Fix tint problem in Android 4.4 r=sebastian
Use this way to wrap drawable to make tinting works.

MozReview-Commit-ID: rbblrr3ysy

--HG--
extra : rebase_source : cf0a90e9244e58bc0e6423dcb738b16f88437164
2017-05-18 10:48:44 +08:00
Julian_Chu
087e7fbd30 Bug 1357780 - CustomTabs get rid of dark theme r=sebastian
Now we only use Light theme, and its look and feel more close to
Full-Browser. Hopefully when we re-use gecko widgets will have less
visual issue.

In ActionBar, the tint color follows text color. And the text color is
decided by Top toolbar background.

MozReview-Commit-ID: JrFAdLmk3Fk

--HG--
extra : rebase_source : 638fe6b3e5c7bbd37a58b21df9de266743c8d597
2017-05-20 01:10:04 +08:00
Sebastian Hengst
af0f9643cf merge mozilla-central to autoland. r=merge a=merge 2017-05-20 18:53:36 +02:00
Sebastian Hengst
79f625ac56 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: EqC7wKnn6Jt
2017-05-20 18:48:53 +02:00
Wes Kocher
8b07ba2a07 Merge m-c to inbound a=merge
a=release IGNORE BAD COMMIT MESSAGES
2017-05-19 15:18:51 -07:00
Wes Kocher
15edcfd962 Merge inbound to central, a=merge
MozReview-Commit-ID: EI67EKp8ykS
2017-05-19 15:14:19 -07:00
Ben Kelly
0c0a1ef46b Bug 1343912 P5 Removed the fixed limit on consecutive Timeout callbacks. r=ehsan 2017-05-19 13:45:55 -07:00
Randall Barker
0c9253b86d Bug 1365161 - Ensure dynamic toolbar static snapshot visibility stays in sync with the real toolbar chrome r=botond,jchen
There were two issues that prevented the static snapshot toolbar and
real chrome toolbar from staying in sync.

1) When a page would resize such as when going fullscreen, if the
root content document was not scrollable, the animator would not receive
root composition page size updates. The page resize is used by the
animator to hide the static snapshot, so it would remain visible while
the real chrome toolbar would be hidden.

2) Certain places in UI java code would toggle the chrome state directly
instead of going through the animator to change the state.

MozReview-Commit-ID: DCQgRFS0UAO
2017-05-19 10:50:02 -07:00
Ryan VanderMeulen
acb2f518fc Merge inbound to m-c. a=merge 2017-05-19 11:46:56 -04:00
Wes Kocher
e9b5549946 Merge m-c to autoland a=merge
a=release IGNORE BAD COMMIT MESSAGES
2017-05-19 15:21:13 -07:00
cnevinc
e20c89db7b Bug 1351585 - Part 3. Add proguard for leanplum. r=maliu
MozReview-Commit-ID: L2wpreGGYDP

--HG--
extra : rebase_source : f2852989744e1bce0ee77a94eba92891acc9b256
2017-05-13 13:37:27 -07:00
cnevinc
e272eb73ae Bug 1351585 - Part 2. Add build flag and change our existing build system to inject leanplum implementation r=nalexander
MozReview-Commit-ID: uN7imeGYcj

--HG--
extra : rebase_source : 215b3c9b2df20d2fbc5f8679568509c3cc430a48
2017-05-13 14:08:57 -07:00
cnevinc
bd3cffad0a Bug 1351585 - Part 1. Add Leanplum SDK source code to thirdparty module r=maliu
MozReview-Commit-ID: 6r7ZGpAww2n

--HG--
extra : rebase_source : 66659717f9e5815f9f4ea0f1e5534b5ae2cc93ed
2017-05-13 14:05:09 -07:00
Mike Hommey
282a2bc3b8 Bug 1363811 - Replace is_nightly with milestone.is_nightly. r=cmanchester+432261
And remove is_nightly.
2017-05-19 07:05:05 +09:00
Mike Hommey
a79246698a Bug 1365477 - Use default=is_nightly instead of default=delayed_getattr(...). r=chmanchester
Per bug 1363811 comment 1, it's actually a bug that the linter doesn't
complain about it like it did in bug 1358215.

--HG--
extra : rebase_source : 68f0d022fb4f2c4e2de38edbafa314db42b7e103
2017-05-17 12:08:33 +09:00
Matthew Wein
880ae24e61 Bug 1360448 - Only ignore OPTIONS_TYPE_INLINE_BROWSER instead of ignoring all types which aren't OPTIONS_TYPE_INLINE r=mixedpuppy
MozReview-Commit-ID: Ks3Yryy22lL

--HG--
extra : rebase_source : 7708bddba429871ca02a894fca4e8f1b452ad12c
2017-05-10 22:54:40 -04:00
Shih-Chiang Chien
0131b8b831 Bug 1363421 - Part 2, delay the initialization of UserAgentOverrides.jsm until first nsHttpChannel is created. r=mcmanus
UAOverridesBootstrapper.js is introduced to delay the initialization of
UserAgentOverrides.jsm until the creation of the first nsHttpChannel.
Uninit will be triggered at profile-change-net-teardown because no network
traffice after this point.


MozReview-Commit-ID: F8Lpn6RyZEm

--HG--
extra : rebase_source : 7c3649b50ad8594dc0968961fbbd2766d0d98b0a
2017-05-16 12:11:12 +08:00
maliu
38e1603a4d Bug 1357356 - Open aurora transition page once user upgrade from aurora to nightly, r=sebastian
MozReview-Commit-ID: HEV06stuwm5

--HG--
extra : rebase_source : 19fb67225efb1b32de81c4132003760fa4d08ba6
2017-04-20 19:10:49 +08:00
Ryan VanderMeulen
96eca59299 Merge m-c to autoland. a=merge 2017-05-19 12:26:48 -04:00
Jan Henning
1a9dd92127 Bug 1363049 - getNextTab() should only use parent tabs of the same type. r=walkingice
That is if the currently selected tab has a web app or custom tab as its "parent tab", we'll ignore that fact when the tab is closed from the tabs tray, so we don't trigger an activity switch that way.

MozReview-Commit-ID: 7bOi90RQUhA

--HG--
extra : rebase_source : 5c658818bc0cf7b1ace0da7b6d306146ac3cf2b6
2017-05-18 20:45:22 +02:00
Sebastian Hengst
aafad4390c Backed out changeset 86af05828caf (bug 1358946) for Android bustage in SafeIntent.java. r=backout 2017-05-18 13:54:07 +02:00
cnevinc
edd2beae07 Bug 1358946 - Strip about:reader in intent data uri. r=maliu
MozReview-Commit-ID: AQ8txBAbtUr

--HG--
extra : rebase_source : 96f9a73ced0a0a8d948e8fe89f3e15fc9780b9d6
2017-05-05 13:24:51 +08:00
Alastor Wu
0e2e3db05b Bug 1364028 - enable specific robocop tests on Autophone. r=bc
robocop_autophone.ini
- it's used to test Adobe Flash issue only

robocop_autophone2.ini
- it's used to test other kinds of Robocop tests

MozReview-Commit-ID: KPniwy7rLJm

--HG--
extra : rebase_source : a82f7845b945a70da11587aec8acf78fc880cc8b
2017-05-18 11:02:33 +08:00
Iris Hsiao
77020e4e53 merge mozilla-inbound to mozilla-central a=merge 2017-05-18 12:05:45 +08:00
Jim Chen
65efbc986a Bug 1360321 - 7. Add AArch64 check to Fennec hardware checks; r=snorp
Add checks for "arm64-v8a" when we check for supported platforms.

MozReview-Commit-ID: IHklaZ7Q6BD
2017-05-17 13:06:23 -04:00
Matthew Wein
6aa68e4cef Bug 1331742 - Part 5 - Add unit tests for browserAction.onClicked r=mixedpuppy
MozReview-Commit-ID: DE7me6moxG

--HG--
extra : rebase_source : dd0b513348cfeea823aac0042a02ffb90299ccc2
2017-05-12 15:02:11 -04:00
Matthew Wein
5fe0c9b091 Bug 1331742 - Part 4 - Add support for adding and removing browser actions from the main menu r=sebastian,walkingice
MozReview-Commit-ID: ITIan73eIlx

--HG--
extra : rebase_source : d7a8797e115cdb8aea8536b89b1744ec802f8176
2017-05-16 13:43:35 -04:00
Matthew Wein
e76ac278d6 Bug 1331742 - Part 3 - Create and register ext-browserAction.js r=mixedpuppy
MozReview-Commit-ID: CGR4689b6oo

--HG--
extra : rebase_source : 03a6961a6a2032048b465bc80395b4cdbe5c4cc7
2017-05-11 14:46:10 -04:00
Matthew Wein
3e6613bfb0 Bug 1331742 - Part 2 - Create a module for managing browser actions similar to PageActions.jsm r=sebastian
MozReview-Commit-ID: 2epdMD75e84

--HG--
extra : rebase_source : 7ba699ee966f4fb2e495592f45bc4c612e4a6070
2017-05-11 14:41:33 -04:00
Jan Henning
85451c5c8e Bug 1349155 - Show message when clearing user data on shutdown. r=sebastian
Properly clearing data (history etc.) when shutting down via "Quit" can introduce a possibly noticeable delay (up to the order of a few seconds in bad cases) before the UI actually closes. This patch shows a snackbar for this case, so we don't give users the impression of simply randomly hanging during shutdown.

MozReview-Commit-ID: AqYw8qK8xol

--HG--
extra : rebase_source : 3a1f650dd27ef07ec7eb21dc511decbd94c0a99c
2017-03-26 18:41:09 +02:00
Matthew Wein
d17da2598c Bug 1331742 - Part 1 - Create and register browser_action.json r=mixedpuppy
MozReview-Commit-ID: AwYuTDU3Ki4

--HG--
rename : browser/components/extensions/schemas/browser_action.json => mobile/android/components/extensions/schemas/browser_action.json
extra : rebase_source : ed0a23cc73908361dfede3f6ed9e0c8d6ecfb5be
2017-03-15 21:02:56 -04:00
Mike Hommey
a8b3b97bc4 Bug 780562 - Stop relying on the "platform" chrome flag for global-platform. r=bsmedberg
The "platform" chrome flag requires an irrelevant "content" chrome
manifest entry, while it's only used for locales. It only has exactly
one use, which can actually be replaced by uses of the "os" flag.

Note, we're doing something similar with the "os" flag for skins in
e.g. browser/extensions/pocket/jar.mn.

Unfortunately, for determinism reasons, the chrome manifest entries from
jar.mn are sorted (per bug 982075), so keeping global-platform/unix
would leave it appearing after /mac, and would override it on mac
because of the lack of "os" flag on the /unix entry (we can't put "os"
flags on that entry because we can't do something like os!=Darwin &&
os!=WINNT). So we move it to /gtk such that it always comes before /mac.

--HG--
extra : rebase_source : aaace8147ea54f74aef8a7b2314ad022e9f9be23
2017-04-14 20:44:35 +09:00
Carsten "Tomcat" Book
e83697008e merge mozilla-inbound to mozilla-central a=merge 2017-05-16 15:04:38 +02:00
Iris Hsiao
9a2799794a Backed out 4 changesets (bug 1343912) for test_timer_flood.html perma-failing
Backed out changeset b2a7fe15c578 (bug 1343912)
Backed out changeset 69a33656f4a3 (bug 1343912)
Backed out changeset f370c47abb14 (bug 1343912)
Backed out changeset 7ff1878374dd (bug 1343912)
2017-05-16 17:43:57 +08:00
Jim Chen
76a5c980cb Bug 1363567 - 3. Remove GeckoInterface.getPluginContainer; r=me
GeckoInterface.getPluginContainer is no longer used anywhere and can be
removed. r=me for trivial patch.

MozReview-Commit-ID: 2IoQPqecWus
2017-05-15 23:11:18 -04:00
Jim Chen
3858e8e18e Bug 1363567 - 2. Move onFullScreenPluginHidden to GeckoApp; r=rbarker
Move the native call onFullScreenPluginHidden from GeckoAppShell to
GeckoApp itself.

MozReview-Commit-ID: APhGRBTNl0X
2017-05-15 23:11:18 -04:00
Jim Chen
d0aff50e27 Bug 1363567 - 1. Remove addPluginView/removePluginView methods; r=rbarker
Remove the addPluginView and removePluginView methods from
GeckoInterface. Instead, move the JNI calls directly to GeckoApp itself.
GeckoApp then uses GeckoActivityMonitor to find the current activity,
instead of using GeckoAppShell.getGeckoInterface().

MozReview-Commit-ID: 7ym8kuElADV
2017-05-15 23:11:17 -04:00
Jim Chen
3f65d0de71 Bug 1362192 - Remove GeckoInterface.getDefaultUAString; r=snorp
Move GeckoInterface.getDefaultUAString() to GeckoApplication.

MozReview-Commit-ID: FHsRrbiqJ3F
2017-05-15 23:11:17 -04:00
Jim Chen
e53a5e57a0 Bug 1325112 - 2. Purge caches in debug geckoview_example; r=rbarker
Preload Gecko with the "-purgecaches" flag in debug builds of
geckoview_example, similar to what we do for Fennec.

MozReview-Commit-ID: dBZgBbDUQ9
2017-05-15 23:11:17 -04:00
Jim Chen
cf5d7c70ea Bug 1325112 - 1. Remove GeckoInterface.isOfficial; r=nalexander
There are two callers of isOfficial() in GeckoThread. For purging the
startup cache, the code to add the extra argument is moved to
GeckoApplication/GeckoApp/GeckoService. For logging the arguments, the
"debug" flag is used instead of the "official" flag.

MozReview-Commit-ID: 9atEWY1MVVt
2017-05-15 23:11:17 -04:00
Jim Chen
c0ecba00ed Bug 1363167 - Remove GeckoInterface.getActivity; r=snorp
Use available Context or GeckoActivityMonitor to derive an Activity
instance, instead of using GeckoInterface.getActivity().

MozReview-Commit-ID: GHLMtnQkr2l
2017-05-15 23:11:11 -04:00
Jim Chen
7f18399feb Bug 1362231 - Remove GeckoInterface.getProfile; r=snorp
Since we only support one profile per process, replace all calls to
GeckoInterface.getProfile() with calls to GeckoThread.getActiveProfile().

MozReview-Commit-ID: 9PZOoBZt7Er
2017-05-15 23:11:10 -04:00
Nick Alexander
14dd745141 Bug 1365060 - Move MOZ_{NATIVE_DEVICES, INSTALL_TRACKING} to moz.configure. r=chmanchester
This intentionally allows to set MOZ_INSTALL_TRACKING without
reference to the milestone being release or beta.  That is, we
separate the default value (which depends on release or beta) from the
value specified, making life easier for developers.

MozReview-Commit-ID: 3vPF7KO7fEX

--HG--
extra : rebase_source : 8d5764104b5322a32e4a048bfd3222f62fed73bb
2017-05-15 14:37:54 -07:00
Ben Kelly
b0626b4ff1 Bug 1343912 P3 Remove fixed limit on maximum consecutive timeout handlers to execute. r=ehsan 2017-05-15 11:58:51 -07:00
Randall Barker
962808afbf Bug 1364194 - Refresh static toolbar snapshot when page width changes r=botond,jchen
MozReview-Commit-ID: HaQo66j640g
2017-05-15 11:30:09 -07:00
James Willcox
2d93d7d835 Bug 1322650 - Adjust Android Flash support to API changes r=jchen
MozReview-Commit-ID: CmMINaGcTER
2017-05-15 09:37:52 -05:00
James Willcox
b69402b0ba Bug 1322650 - Make video decoding work with new SurfaceTexture API r=jolin 2017-05-15 09:37:49 -05:00
James Willcox
395ab599a1 Bug 1322650 - Use SurfaceTexture for WebGL on Android in E10S r=jgilbert
The main advantage here is that it works cross-process.

MozReview-Commit-ID: 7YUTVB4Bydg
2017-05-15 09:37:44 -05:00
James Willcox
5de9b3dc5f Bug 1322650 - Add GeckoSurfaceTexture, GeckoSurface and associated Android Service r=jchen
This allows us to allocate an Android SurfaceTexture in the compositor process as well
as an accompanying Surface. We can then transfer the Surface back to the content process
via binder, where it can be used for things like WebGL and video decoding.

Each SurfaceTexture/Surface pair has a unique handle. We use this handle in
layer transactions to locate the SurfaceTexture for a given Surface and composite it
appropriately.

MozReview-Commit-ID: 68VSbXdfsMH
2017-05-15 09:37:43 -05:00