Commit Graph

15475 Commits

Author SHA1 Message Date
Brad Lassey
d81249fa81 bug 1088758 - Add the ability to mirror tabs from desktop to a second screen r=mconley, mfinkle 2014-12-15 18:52:55 -05:00
Wes Johnston
39dc927bd4 Bug 901360 - (Part 5) Don't allow pausing downloads without partial data. r=margaret
--HG--
extra : rebase_source : c5455e3d650711692af3f97d90dd002845dcc669
2014-12-08 11:26:36 -08:00
Wes Johnston
4775f1702f Bug 901360 - (Part 4) Fix clicking on notifications. r=margaret
--HG--
extra : rebase_source : 6bac7cd282d7ec795d91c0dbb685027890d6e840
2014-12-08 11:26:36 -08:00
Wes Johnston
a1ef6f3837 Bug 901360 - (Part 2) Fix PDF downloads. r=margaret
--HG--
extra : rebase_source : c0b856edd344292fc28384e18e1474cb7198b28a
2014-12-08 11:26:35 -08:00
James Gilbertson
692304178e Bug 901360 - (Part 1) Use Downloads.jsm for download notifications. r=wesj
--HG--
extra : rebase_source : a05527361fcde5d7fd7b77b3bcc46955750d19e2
2014-12-08 11:26:31 -08:00
wesj
8d9b270e38 Bug 1109198 - Turn on Downloads integration on release builds [r=mark.finkle] 2014-12-15 09:48:00 -08:00
Wes Johnston
523a4f5389 Bug 1109165 - "Remove lock screen widget" [r=mark.finkle] 2014-12-15 10:02:00 -08:00
Michael Comella
b377a94fea Bug 1105541 - Part 3: Change add tab button to a dark color on light themes on new tablet. r=mhaigh 2014-12-12 14:03:28 -08:00
Michael Comella
7eeef1b4ff Bug 1105541 - Part 2: Add alpha to pressed state of tabs with LWT on new tablet. r=mhaigh 2014-12-12 14:03:25 -08:00
Michael Comella
adffdb3622 Bug 1105541 - Part 1: Use a light text color for tab titles with a dark LWT on new tablet. r=mhaigh 2014-12-12 14:03:21 -08:00
Margaret Leibovic
c599adcd28 Bug 1107133 - Expose tracking protection in Fennec privacy preferences. r=liuche
--HG--
extra : rebase_source : c871a80ba90ed7f5b4d626d4d04f64a7e6e74a4c
2014-12-08 15:17:32 -08:00
Jalpreet Singh Nanda
f4d34d9163 Bug 1107253 - Move mBaseUrl and mRawBaseUrl from BaseTest into BaseRobocopTest. r=mcomella 2014-12-11 03:44:04 +05:30
Nivvedan S
62ebb2ebd7 Bug 1109233 - Replaced Assert.isTrue(false, ...) with Assert.fail(...) for easier readability; r=mcomella 2014-12-11 21:40:04 -08:00
Garvan Keeley
dc56c0508f Bug 1106584 - Part 2: for safety, make explicit prefs with context getter. r=vng
Any class that has access to a context should call Prefs.getInstance(Context) which is guaranteed to return a Prefs.
With no context, classes can call Prefs.getInstanceWithoutContext() but they must null-check the return, and handle accordingly.
Fortunately, the latter case happens in very few places, all of which require no special handling of this case.

This change:
- maintains context-less access to the Prefs
- classes internal to the service can safely call getInstanceWithoutContext(), as the service (or the MainApp in the stumbler case)
will have instantiated a Prefs so that getInstanceWithoutContext() will return a prefs
- protects against null Prefs if we have failed to consider a particular entry point to the code will require that Prefs was instatiated with a context.
2014-12-11 09:06:00 -08:00
Garvan Keeley
fa5d35976f Bug 1106584, Part 1: guard against null intent. r=vng 2014-12-09 11:48:00 -08:00
Wes Kocher
6d3a321489 Merge inbound to m-c a=merge 2014-12-11 16:50:45 -08:00
J. Ryan Stinnett
a0a3a60049 Bug 1059001 - Part 1b: Update openListener callsites. r=past 2014-12-10 20:55:51 -06:00
Chenxia Liu
e3d59c43c3 Bug 1093201 - Part 2: Tests. r=margaret 2014-12-10 15:43:13 -08:00
Chenxia Liu
dbce887c2a Bug 1093201 - Part 1: Passwords management UI. r=margaret 2014-12-10 15:43:13 -08:00
Michael Comella
de990a2943 Bug 1085771 - Part 4: Move color state selector to colors/. r=lucasr
--HG--
rename : mobile/android/base/newtablet/res/drawable-large-v11/new_tablet_tab_strip_item_bg.xml => mobile/android/base/newtablet/res/color-large-v11/new_tablet_tab_strip_item_bg.xml
2014-12-10 09:35:54 -08:00
Michael Comella
1801e8d094 Bug 1085771 - Part 3: Update LWT UI for new tablet browser toolbar. r=lucasr 2014-12-10 09:35:37 -08:00
Carsten "Tomcat" Book
3baa3d5133 merge fx-team to mozilla-central a=merge
--HG--
extra : amend_source : 3962a6a96e6eb782f640e1eb9495192ef82883b3
2014-12-10 11:55:54 +01:00
Chris Kitching
018d298faa Bug 1106593: Proguard third-party libraries that ship with Fennec. r=nalexander
This applies Proguard to third-party libraries such as the Android
support-v4 library and the Google Play Services libraries.
Previously, these were not Proguarded, bloating the Fennec APK.

Technically, this required a few work-arounds, including:

* stripping library debug information with a early Proguard
  invocation;
* altering the optimizations tried; and
* reducing the number of Proguard passes.

--HG--
rename : mobile/android/config/proguard.cfg => mobile/android/config/proguard/proguard.cfg
extra : rebase_source : 6d638695b6c8f759578aba5f1eda668fc9c28e9d
extra : amend_source : 96a475c0739c4b44a3df3fdfd2c59321836d9694
2014-12-05 11:50:48 -08:00
Michael Comella
a16cef4d14 Bug 1107698 - Part 2: Update alpha when updating the color in ResizeablePathDrawable. r=bnicholson 2014-12-09 15:57:54 -08:00
Lucas Rocha
54971e67a2 Bug 1109001 - Only set alpha on non-transparent colors in shaped drawable (r=mcomella) 2014-12-09 23:45:31 +00:00
Lucas Rocha
069fc9e932 Bug 1097318 - Restore tab strip to its original height (r=mfinkle) 2014-12-09 21:25:37 +00:00
Lucas Rocha
d302cbdbd9 Bug 1106118 - Replace getVerticalSpacing() call with a dimen resource (r=mfinkle) 2014-12-09 21:23:13 +00:00
Margaret Leibovic
2b5786f8bb Bug 681432 - Support all add-on types in the add-on manager. r=mfinkle
--HG--
extra : rebase_source : e5ca39397adf3364924c8b1b6ca9f53862cc7136
2014-12-08 13:47:30 -08:00
Margaret Leibovic
0677cb3a3d Bug 1106415 - Allow the add-on SDK to dynamically insert add-on options. r=mfinkle
--HG--
extra : rebase_source : fb958f6d6f77cd6bc2d356b6b76107fc653dff12
extra : amend_source : 67b932a1a42836cc824478ffe11f4b8f4da592a7
2014-12-08 11:24:13 -08:00
Ryan VanderMeulen
32f2a32730 Merge m-c to fx-team. a=merge
CLOSED TREE
2014-12-09 14:19:43 -05:00
Ryan VanderMeulen
4e5dbde020 Merge fx-team to m-c. a=merge
CLOSED TREE
2014-12-09 14:16:03 -05:00
Richard Newman
833c18887f Bug 1109000 - Split statics out of BrowserLocaleManager. r=nalexander, a=java-only on a CLOSED TREE
--HG--
rename : mobile/android/base/LocaleAware.java => mobile/android/base/Locales.java
2014-12-09 18:07:07 +00:00
Martyn Haigh
cb802d754f Bug 1100464 - Add back button to top left of the tabs panel (r=lucasr) 2014-12-09 17:07:26 +00:00
Richard Newman
56f1111e87 Bug 1108252 - Remove launcher icon for search activity. r=mfinkle 2014-12-09 16:37:58 +00:00
Margaret Leibovic
4025761744 Bug 1105290 - Add null check to createEngineFromFileList. r=rnewman
--HG--
extra : rebase_source : 5a02f71a93659a297de3f8b2a8facb7c6a32f37e
extra : amend_source : 9ff1f1b354f6a50d5d49b060d1e1eac118ad712e
2014-12-08 11:12:44 -08:00
Nick Alexander
05762df188 Bug 1084098 - Add Android tools tags to some Remote Tabs home panel views. r=mcomella
These tags are used by Android tools (including IntelliJ) at design-time
to show "sample data".  They're stripped entirely at build time.
2014-12-08 19:32:51 -08:00
Nick Alexander
e93eb67e90 Bug 1084098 - Adjust padding/margins of Sync tabs panel items. r=mcomella
Pretty straight-forward implementation of the mock.  The mock shows a
different "bookmark star" icon, with slightly different right-margins,
and implementing that change requires changing the TwoLinePageRow layout
to not use drawableRight for the star.  (Otherwise, the star will not be
vertically centered in the container.)  I don't care to make that change
for this ticket.
2014-12-08 19:32:37 -08:00
Nick Alexander
005f604ab4 Bug 1084098 - Pre: Don't require GeckoApplication in Themed*widgets. r=mcomella
In editors (Eclipse and IntelliJ), Android View sub-classes are created
in a "Bridging" mock context.  There is no ambient GeckoApplication in
this case.  It's already okay for the LWT to be null; let's loosen the
requirement that there be an ambient GeckoApplication to let these View
sub-classes render in editors.
2014-12-08 18:58:37 -08:00
vivek
297384e6ce Bug 1097098 : Get tab history calculation offloaded to JS . r=bnicholson 2014-12-05 17:59:45 -08:00
Nick Alexander
a34f2876ea Bug 1107134 - Disable GeckoView independence testing due to Classycle inlining bug. r=ckitching
It appears that Classycle is dependent on the version of javac that
compiles the .class files.  There are real references between two
sets that are not caught by Classycle; ckitching and I theorize that
Classycle misses a reference from a set if it is a constant that is
inlined by the javac compiler.  This inlining differs between javac
compiler version.

--HG--
extra : rebase_source : 9040c77c604c8b76c4bfe1142c7efa015a82dcb5
2014-12-08 12:46:57 -08:00
Manu Jain
0aed8dc001 Bug 1088186 - Index out of range in RecentTabsCursorLoader. r=rnewman 2014-12-06 04:57:00 -05:00
Mark Finkle
b894784b22 Bug 1079891 - Search widget minWidth is too big for some phones r=wesj 2014-12-07 16:21:09 -05:00
Richard Newman
8f7c48fbe2 Bug 1106347 - Don't die when retrieving over-large favicons from the database. r=mfinkle 2014-12-05 16:54:47 -08:00
Ryan VanderMeulen
5e0f31c0c5 Merge fx-team to m-c. a=merge 2014-12-05 19:10:22 -05:00
Jordan Lund
b3c33043fc Bug 1080749 - Add nightly jobs for new splitapk Android builders, r=rnewman 2014-12-05 11:54:39 -08:00
Michael Comella
c04576c23c Bug 1105053 - Move LightweightTheme* to lwt/. r=vivek
--HG--
rename : mobile/android/base/LightweightTheme.java => mobile/android/base/lwt/LightweightTheme.java
rename : mobile/android/base/LightweightThemeDrawable.java => mobile/android/base/lwt/LightweightThemeDrawable.java
2014-12-05 12:21:42 -08:00
Tom Schuster
005a19658a Bug 1103181 - Remove quote() from about:addons/config on android/metro. r=rnewman 2014-12-05 11:07:15 -08:00
Carsten "Tomcat" Book
ba58d43aea merge fx-team to mozilla-central a=merge 2014-12-05 13:02:46 +01:00
Michael Comella
855899f13d Bug 1107698 - setAlpha after setColor in ResizablePathDrawable. r=lucasr 2014-12-05 10:09:40 -08:00
Carsten "Tomcat" Book
29ff8911bb Merge mozilla-central to fx-team 2014-12-05 13:10:55 +01:00
vivek
b2c70e84b7 Bug 898613 - Back button behavior for url toolbar in display/editing mode. r=mcomella 2014-12-04 16:47:00 +01:00
Michael Comella
5e9ce44872 Bug 1091587 - Dynamically layout private tabs panel on new tablet. r=lucasr 2014-11-11 18:18:33 -08:00
Michael Comella
f75c0eb9d1 Bug 1085771 - Part 2: Update LightweightThemeDrawable documentation. r=lucasr 2014-12-04 17:37:10 -08:00
Michael Comella
8d14f4dbe7 Bug 1085771 - Part 1: Add getTheme() method to Themed* views. r=lucasr 2014-12-04 17:36:42 -08:00
Geoff Brown
f966bcc548 Bug 1108717 - Wait for view before trying to access it in Robocop tests; r=mfinkle 2014-12-09 07:32:56 -07:00
Geoff Brown
8905429b51 Bug 911105 - Wait for view in testSearchSuggestions; r=mfinkle 2014-12-09 07:32:55 -07:00
vivek
a0c8523078 Bug 1100742 - Pleasant vibration on long back press. r=bnicholson 2014-12-04 11:48:06 -08:00
Brian Nicholson
b37741030f Bug 1105011 - Update testDistribution to check for tiles locale. r=rnewman
--HG--
extra : rebase_source : 97dfca4d90d2303c3f51c0d6b6c4a814503d6142
2014-12-02 15:33:21 -08:00
Brian Nicholson
4af38b9c5f Bug 1105011 - Include locale in tiles payload. r=rnewman
--HG--
extra : rebase_source : 0aae32abcad1292584560ed41ce38342f87eef96
2014-12-02 15:33:21 -08:00
Antonio M. Amaya
d7e1bf838d Bug 1105560 - PACKAGE_UNCHANGED is not thrown inside an Error anymore. r=myk 2014-11-27 01:54:00 +01:00
Chris Kitching
5cca8b7700 Bug 947018: Unbreak testBrowserProvider. r=trivial 2014-12-03 11:39:40 -08:00
Terrence Cole
d0e0d193b8 Bug 1107349 - Always build in enerational GC support; r=jonco 2014-12-04 09:45:05 -08:00
Chris Kitching
223f0852fd Bug 947018: Delete large amounts of database migration code. r=wesj 2014-09-08 06:43:20 -07:00
Carsten "Tomcat" Book
716f446ea0 Merge mozilla-central to fx-team 2014-12-02 12:07:01 +01:00
Kartikaya Gupta
995841a58a Bug 1106255 - Enable the meta-viewport support on Fennec to fix font inflation. r=dvander 2014-12-01 13:55:59 -05:00
J. Ryan Stinnett
6bbfd73703 Bug 1058997 - Part 3b: Update non-trivial security prompts. r=past 2014-12-01 22:55:56 -08:00
Nick Alexander
fc0f450cd4 Bug 1080242 - Surface 'Account locked' status. r=rnewman
--HG--
extra : rebase_source : 56a7d340960673d6244ae796755935d89885e986
2014-11-25 17:43:04 -08:00
Nick Alexander
959898c500 Bug 1098667 - Part 2: Add "Finish migrating" view to Remote Tabs home panel. r=rnewman
--HG--
extra : rebase_source : f917eda2af5601c154fbd406db9c4d2b83899001
2014-11-25 17:04:55 -08:00
Nick Alexander
fa93f00372 Bug 1098667 - Part 1: Import from android-sync. r=rnewman
--HG--
extra : rebase_source : afa367b0bb0002a6cfda4a1531bc7c47a5f0effa
extra : source : 705b1be87804d5e3427eb433f6445ef055857a89
2014-11-25 16:18:53 -08:00
Richard Newman
87fc4f13ec Bug 1105590 - Wait for distribution intent to arrive. r=mfinkle 2014-11-28 12:30:38 -08:00
Phil Ringnalda
51607e1dfa Merge m-c to f-t 2014-11-28 12:00:57 -08:00
Kev Needham
4eeab68715 Bug 1103216: update Google parameters, r=gavin, f=mfinkle, test changes r=felipe
--HG--
extra : transplant_source : %12%07%00%00%E1kA%0E%0B%24%0A%89%94%9C%17%B5EE%1E%B9
2014-11-24 11:11:44 -08:00
ffxbld
86328535e5 Update configs. IGNORE BROKEN CHANGESETS CLOSED TREE NO BUG a=release ba=release 2014-11-28 10:54:49 -05:00
Ben Hearsum
c970d90a47 Backout bad version bumps IGNORE BROKEN CHANGESETS CLOSED TREE NO BUG a=release ba=release 2014-11-28 10:51:29 -05:00
ffxbld
615c870714 Update configs. IGNORE BROKEN CHANGESETS CLOSED TREE NO BUG a=release ba=release 2014-11-28 10:39:09 -05:00
ffxbld
0510d3cd79 Update configs. IGNORE BROKEN CHANGESETS CLOSED TREE NO BUG a=release ba=release 2014-11-28 10:33:05 -05:00
Lucas Rocha
4b4553342c Bug 1098433 - Improve tabs panel grid padding on large tablets (r=mcomella) 2014-11-28 16:04:19 +00:00
Seth Fowler
659ab90036 Bug 1104622 (Part 1) - Remove DiscardTracker. r=tn 2014-11-27 19:55:57 -08:00
Lucas Rocha
459108efc8 Bug 1100894 - Don't smooth scroll when restoring tabs on startup (r=mcomella) 2014-11-27 17:13:03 +00:00
Lucas Rocha
8df1511466 Bug 1055604 - Add animation to reveal tabs on startup (r=mcomella) 2014-11-27 17:13:03 +00:00
Lucas Rocha
459f23d9b3 Bug 1100897 - Avoid duplicate RESTORED tab event on startup (r=mhaigh) 2014-11-27 17:13:02 +00:00
Martyn Haigh
63f1621378 Bug 1097121 - Animate items being removed from the tabs panel grid (r=lucasr) 2014-11-27 16:37:42 +00:00
Lucas Rocha
2f9e571427 Bug 1073125 - Run trimage on all new_tablet image assets (r=mcomella) 2014-11-27 13:58:20 +00:00
Ryan VanderMeulen
05536d8139 Merge fx-team to m-c. a=merge 2014-11-26 21:08:54 -05:00
Margaret Leibovic
f872b9eb3f Bug 1095643 - Always show site identity info. r=mcomella 2014-11-26 15:58:07 -08:00
Margaret Leibovic
1e384b6bd5 Bug 1102275 - Use layout params height instead of the dismiss view's calculated height when resetting the original height. r=bnicholson 2014-11-26 15:57:25 -08:00
Lucas Rocha
e43b3f25ef Bug 1090364 - Add fading edge to tab strip (r=mcomella) 2014-11-26 19:45:48 +00:00
Margaret Leibovic
10d629fc04 Bug 1102537 - Remove "which is run by *unknown*" block from non-EV site identity message. r=mcomella 2014-11-26 10:57:09 -08:00
Margaret Leibovic
820588abfb Bug 1095640 - Update UX for site identity popup to handle tracking blocking. r=mfinkle 2014-11-26 10:57:07 -08:00
Mark Finkle
098898be85 Bug 1105284 - Update the CDN location for OTA distributions r=rnewman 2014-11-26 11:37:07 -05:00
Mike Hommey
732e3bf647 Bug 1094565 - Update sccache to e68dfc2. r=mshal 2014-11-26 16:04:25 +09:00
Daniel Holbert
a03d3e37d5 Bug 1093316 part 1: Backout changeset aece7f9f944c (i.e. backout bug 1032922 part 2), to reflect CSSWG removing "flex-basis: main-size" from the flexbox spec. 2014-11-25 11:28:15 -08:00
Nick Alexander
cba0baa815 Bug 1102488 - Part 3: Output preprocessed files into generated/preprocessed. r=rnewman
(Pushing to a CLOSED TREE because this is Android only.)

The preprocessed files, all of which are constant exports, are exposed
in the new constants JAR.

--HG--
extra : source : 05cf424592e66f30c9a6c92f07bb5d9cdf1595a6
extra : amend_source : fda465d3aa6ed282bfa2b9542358ffd1cf2d1177
2014-11-20 14:25:52 -08:00
Nick Alexander
fc649a2992 Bug 1102488 - Part 2: Don't preprocess GeckoLoader. r=rnewman
I replaced the compile-time ANDROID_PACKAGE_NAME with the run-time
context.getPackageName() for two reasons:

1) I claim this is more correct.  It's hard to imagine Fennec working
with ANDROID_PACKAGE_NAME != context.getPackageName(), but right here
we should use the run-time, not the build-time state.

2) GeckoLoader is part of GeckoView, and as such it shouldn't assume
anything about the package it's running as.

GeckoView consumers may ship for multiple architectures, so we
shouldn't assume anything about the build-time architecture, but the
reference to MOZ_CPU_ABI is purely diagnostic.  There are substantive
changes to make here; we'll cross that bridge some other time.

--HG--
extra : source : 48fc328377d41596900fa924b21378ba65a0df1f
2014-11-20 14:39:10 -08:00
Nick Alexander
e2afa5c3c1 Bug 1102488 - Part 1: Factor out constants JAR. r=rnewman
The constants JAR contains AppConstants and SysInfo.  SysInfo depended
on HardwareUtils for one function, which can (should?) be in SysInfo
anyway, so I moved it.

Both SysInfo and AppConstants should be available to Robocop tests,
but they are compiled too early to access RobocopTarget.  Since
nothing in GeckoView should know about GeckoView, I moved the
annotation to the Fennec-level proguard.cfg.

--HG--
extra : source : d2c14599cbab6c476465a6ba142c7c2501895cb3
2014-11-24 15:37:30 -08:00
Nick Alexander
39aec96f04 Bug 1102488 - Part 0: Make FxAccountConstants independent of Logger. r=rnewman
--HG--
extra : source : 8d1d39582e497c2c47400740304bdc98f0aef0a7
2014-11-20 15:07:35 -08:00
Nick Alexander
d26b42bddf Bug 1102488 - Pre: Remove unused cruft. r=rnewman
I am thrilled that we no longer generate any Java files with "package
@ANDROID_PACKAGE_NAME@;".  Progress, a little at a time!

--HG--
extra : source : fa85f8d8b182fad743556a012a982daad121f0b1
2014-11-20 14:05:57 -08:00
Nick Alexander
49912842e0 Bug 1102339 - Don't generate widget/Themed*.java. r=rnewman
This lands the widget/Themed*.java sources into the tree and provides
a simple script for regenerating them in the source tree.  Use it
like:

<edit mobile/android/base/widget/ThemedView.java.frag>
$ ./mach python mobile/android/base/widget/generate_themed_views.py
$ hg diff
... changes to Themed*java

--HG--
extra : source : 4bcc69eb4a27db09b2423c52c22a0c07baffd7d0
2014-11-21 11:04:58 -08:00
Carsten "Tomcat" Book
c1e3bc535f Backed out changeset 3c91378ef39b (bug 1102339) for suspicion of breaking non-Android builds on a CLOSED TREE 2014-11-25 08:43:36 +01:00
Carsten "Tomcat" Book
cfaa0adafa Backed out changeset 5be12b2b704f (bug 1102488) 2014-11-25 08:42:58 +01:00