Commit Graph

11384 Commits

Author SHA1 Message Date
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