Commit Graph
18773 Commits
Author SHA1 Message Date
Tom Klein 6e0860a94d Bug 1354440 - Make the fade at the end of the tab strip work with RTL. r=maliu
MozReview-Commit-ID: AVjtekO4eli
2017-04-20 01:26:10 -05:00
Jan Henning bb10e91d35 Bug 1357091 - Provide a default value when reading "manifest.install.enabled". r=daleharvey,walkingice
That pref isn't set by default, so trying to access it in that case throws a JS error.

MozReview-Commit-ID: 2KIUSztvoXS
2017-04-17 16:39:32 +02:00
Julian_Chu dda9f0275e Bug 1359098 - fix getDrawable method missing problem in CustomTabs r=nechen
The method Context.getDrawable was introduced in API 21. To be
compatible with Kitkat, should use Resources.getDrawable instead.

MozReview-Commit-ID: 1ZajYWPTVj0
2017-04-25 10:06:15 +08:00
Iris Hsiao ee4dc0a75c Merge mozilla-central to autoland 2017-04-25 11:28:40 +08:00
Iris Hsiao 771051c3c3 merge mozilla-inbound to mozilla-central a=merge 2017-04-25 11:21:30 +08:00
Ehsan Akhgari 15aee0c599 Bug 1356922 - Part 1: Replace the next TabParent global pointer with per-window/tab next TabParent ID; r=billm,mconley
This patch replaces the usage of sNextTabParent pointer to store the next
PBrowser parent actor to be used by the next frame loader with the
following information:

  * In the case where the content JS has requested a new tab, the ID of the
    next TabParent will be stored on the <xul:browser> element.
  * In the case where the content JS has requested a new window, the ID of
    the next TabParent will be stored on the created nsXULWindow.
2017-04-24 14:18:29 -04:00
Carsten "Tomcat" Book 39576196e6 Merge mozilla-central to autoland 2017-04-24 12:43:55 +02:00
Carsten "Tomcat" Book 06f05de133 Backed out changeset 32ab1a3d736f (bug 1331742) for causing Bug 1358888 and help fixing a topcrash 2017-04-24 12:28:24 +02:00
Carsten "Tomcat" Book ea277911fa Backed out changeset c91b14d9ad2a (bug 1331742) 2017-04-24 12:27:55 +02:00
Carsten "Tomcat" Book c8d37b3978 Backed out changeset 31f4919d1f6c (bug 1331742) 2017-04-24 12:27:51 +02:00
Carsten "Tomcat" Book e4a38ceacf Backed out changeset 753e71053540 (bug 1331742) 2017-04-24 12:27:49 +02:00
Carsten "Tomcat" Book dd164777f2 Backed out changeset 79579aab8851 (bug 1331742) 2017-04-24 12:27:45 +02:00
Sebastian Hengst 898cdf24d2 Backed out changeset 41d155de1019 (bug 1254355) on suspicion of breaking Android L10n nightlies. r=backout a=backout
MozReview-Commit-ID: 4VnZVlHUYUA
2017-04-23 10:41:09 +02:00
Sebastian Hengst 0f2ca7fc56 Backed out changeset 6a0e9a3f2673 (bug 1254355)
MozReview-Commit-ID: 4Xr3OibxQMU
2017-04-23 10:40:28 +02:00
Sebastian Hengst 6915be66e4 Backed out changeset 33d4c8885613 (bug 1254355)
MozReview-Commit-ID: HleVV7ZhIuj
2017-04-23 10:40:27 +02:00
Sebastian Hengst ce4404f3c8 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: 289I7nCINwK
2017-04-22 10:48:16 +02:00
Randall Barker 83452ca816 Bug 1358592 - Dynamic Toolbar v3 breaks back button rendering on android tablets r=esawin
Now that ShapedButton uses Mode.DST_OUT, the path needs to be inverted
so the back button is rendered correctly.

MozReview-Commit-ID: 8shpFf49zRG
2017-04-21 15:28:50 -07:00
Eugen Sawin b67c9a1d38 Bug 1323296 - [1.0] Move Gecko initialization into the GeckoView initialization. r=jchen 2017-04-21 23:45:46 +02:00
Carsten "Tomcat" Book 63fbb13aec merge mozilla-inbound to mozilla-central a=merge 2017-04-21 10:57:02 +02:00
brainbreaker 37f2b59267 Bug 1351667 - UI test that traverses settings screens; r=sebastian
This commit adds a robocop test that traverses all the settings
 screens except the 'Make default browser' one.

MozReview-Commit-ID: LqWrFL9v877
2017-04-18 19:40:11 +05:30
Nick Alexander 9d54412af9 Bug 1254355 - Follow-up: Use full paths to match GENERATED_FILES targets. r=mshal
This was just an error that's not obvious on try builds.  We were
using local paths ($(DEPTH) expands to ../../../ in
mobile/android/base) and GENERATED_FILES produces targets with
absolute paths.

MozReview-Commit-ID: LDhh6mcgSD6
2017-04-21 14:10:05 -07:00
Jan Henning 1665d2eedb Bug 1352108 - Add missing attributes to custom tab activity declaration. r=sebastian
Not handling the appropriate configuration changes means that e.g. each rotation destroys and recreates the CustomTabActivity, which'll introduce a slight delay until we eventually repaint the web content.

As for the soft input mode, if we don't specify adjustResize, then the IME might actually simply overlap our window and obscure the end of content if the user has already scrolled down as far as possible.

MozReview-Commit-ID: BzBmIoGbhca
2017-04-24 21:05:39 +02:00
Iris Hsiao 3da48afe1f Merge mozilla-central to autoland 2017-04-24 14:28:11 +08:00
Andrzej Hunt 1436f2f787 Bug 1358338 - findbugs: Ignore generated R.*/Manifest* r=sebastian
MozReview-Commit-ID: AwBdVmK6Hc
2017-04-20 19:46:15 -07:00
Jing-wei Wu a2fbd55649 Bug 1232439 - Part 4: Adjust bookmark list UI layout. r=ahunt
MozReview-Commit-ID: 5s74hg5daC5
2017-04-06 11:44:20 +08:00
Jing-wei Wu 3492de4b9c Bug 1232439 - Part 3: Implement full-page bookmark edit dialog. r=ahunt,Grisha
MozReview-Commit-ID: 8wB9CEptVeu
2017-04-20 09:04:28 +08:00
Jing-wei Wu 51f50a43b6 Bug 1232439 - Part 2: Support get/update/remove bookmark record by ID in BrowserDB. r=Grisha
MozReview-Commit-ID: 6RNKCUiZE8K
2017-04-05 14:03:16 +08:00
Jing-wei Wu 9f5bd582ab Bug 1232439 - Part 1: Setup A/B experiment for enabling full bookmark management in Nightly. r=Grisha
The experiment in Switchboard is "full-bookmark-management", and it's enabled for 100% of the Nightly audience.

MozReview-Commit-ID: EhA0BcouPPn
2017-03-23 14:14:24 +08:00
Andrzej Hunt 3de0f6d195 Bug 1357630 - infer: (NULL_DEREFERENCE) add null-check to getAppEventDispatcher r=nalexander
Every single caller of getAppEventDispatcher() and getEventDispatcher()
assumes a non-null return value, so let's make sure we're actually returning
a non-null value. This commit doesn't effectively change runtime behaviour
(any previously NPE crashes will now result in a crash due to IllegalStateException),
however we now at least have an obvious error message in that situation.

In reality, no code should run before onCreate(), so this should realistically
never happen - but we should still check to ensure that is the case.

(This removes 28 infer NULL_DEREFERENCE warnings.)

MozReview-Commit-ID: GhzwKWfkAbD
2017-04-18 20:10:44 -07:00
Wes Kocher 60ba222aed Merge m-c to autoland, a=merge
MozReview-Commit-ID: DPzfAm14Tdx
2017-04-20 15:52:28 -07:00
Wes Kocher f8d2845e66 Merge inbound to m-c a=merge
MozReview-Commit-ID: DQDuEiYLWCO
2017-04-20 15:30:43 -07:00
James Willcox 65ddfa9077 Bug 1358155 - Bump core ping version and docs r=frank
MozReview-Commit-ID: 1h417verpc2
2017-04-20 09:43:51 -05:00
Munro Mengjue Chiang 72fc611e9f Bug 1353313 - Add synchronization mechanism to CodecProxy. r=jolin
MozReview-Commit-ID: 3sqW06nIkoJ
2017-04-14 10:04:24 +08:00
Nick Alexander 3746161f0c Bug 1254355 - Part 2: Generate AndroidManifest.xml using GENERATED_FILES. r=gps
MozReview-Commit-ID: 8McGHkPYyhI
2017-04-17 13:47:41 -07:00
Nick Alexander 5d4580e28d Bug 1254355 - Pre: Use #ifdef, not #if, for MOZ_CRASHREPORTER. r=gps
Style varies across the tree, and this matters as we transition to
Python and moz.build.  AppConstants.jsm already uses #ifdef, so this
is consistent with that.

MozReview-Commit-ID: Bal37lqlvjq
2017-04-18 17:26:15 -07:00
Wes Kocher 3a66b69a9a Merge m-c to inbound, a=merge 2017-04-19 17:15:26 -07:00
Carsten "Tomcat" Book 465ba009d4 Merge mozilla-central to autoland 2017-04-20 13:06:52 +02:00
Matthew Wein 5b86f1818b Bug 1331742 - Part 5 - Add unit tests for browserAction.onClicked r=mixedpuppy
MozReview-Commit-ID: Ko8eQYfIM0H
2017-04-10 16:15:54 -04:00
Matthew Wein a118532668 Bug 1331742 - Part 4 - Add a position property to keep track of the menu item's position instead of using the ID r=sebastian
MozReview-Commit-ID: 7ZtfaVQFhKX
2017-03-25 22:35:54 -07:00
Matthew Wein ea1452c1df Bug 1331742 - Part 3 - Create and register ext-browserAction.js r=mixedpuppy
MozReview-Commit-ID: CGR4689b6oo
2017-04-19 21:44:41 -04:00
Matthew Wein 3c3b8aa823 Bug 1331742 - Part 2 - Create a module for managing browser actions similar to PageActions.jsm r=sebastian
MozReview-Commit-ID: 2epdMD75e84
2017-03-25 22:36:05 -07:00
James Willcox 45ab95f21c Bug 1357786 - Use device CPU architecture in Fennec core ping r=sebastian
MozReview-Commit-ID: HXjaNdQzNGF
2017-04-19 10:25:01 -05:00
Jan Henning 51ca0cc811 Bug 1357505 - Check tab queue array length before parsing to avoid unnecessary exceptions. r=sebastian
MozReview-Commit-ID: LrlegpviPZk
2017-04-18 21:19:17 +02:00
Sylvestre Ledru 10c8ae8dba Bug 1354821 - Generate fennec nightly apk with org.mozilla.fennec_aurora as id r=rail
* nightly-aurora-id is a copy of nightly
* mobile/android/branding/aurora/ is a copy of nightly with the id and package name changed

MozReview-Commit-ID: 2VT0dHDXEMg
2017-04-18 11:59:55 +02:00
Julian_Chu 747650e524 Bug 1353019: update menu icon of CustomTabsActivity as per page loading r=sebastian
There is a control in menu for reloading or stop-page-loading. Its icon
should be updated per page loading progress.

MozReview-Commit-ID: BNanAQj3xS4
2017-04-19 11:49:11 +08:00
Julian_Chu af43021818 Bug 1353019: fix icon creation issue in GeckoMenuItem r=sebastian
If change icon via resource id, we should create mIcon as well. And
method `getIcon` should return the drawable which be used currently, but
not generating a new drawable via resource id.

Without this patch, we cannot change icon of a GeckoMenuItem until we
set the icon back. ie.

    Drawable icon = menuItem.getIcon();
    icon.setLevel(42); // does not work, cause the icon is new instance.

MozReview-Commit-ID: KxW66OgI9po
2017-04-19 15:39:14 +08:00
John Lin 3e4d5fb36e Bug 1343541 - restore signal actions changed by Android debugger. r=glandium
Android shows a dialog box when it detects app crashing. OOP decoder needs to hide that from user to resume playback gracefully.

MozReview-Commit-ID: 3cE3GiHAuQk
2017-04-12 17:34:17 +08:00
Carsten "Tomcat" Book 70857de759 Merge mozilla-central to autoland 2017-04-19 10:57:24 +02:00
Carsten "Tomcat" Book 5c743100d6 merge mozilla-inbound to mozilla-central a=merge 2017-04-19 10:32:48 +02:00
Jim Chen ed969cafe5 Bug 1322581 - 5. Add PromptDelegate implementation to GeckoView example; r=snorp
Add a sample implementation of PromptDelegate to GeckoView example.
2017-04-18 17:45:02 -04:00