Commit Graph

15539 Commits

Author SHA1 Message Date
Mark Finkle
e87d7cd662 Bug 1110607 - Enable tab mirroring by default on all channels r=blassey 2014-12-17 10:04:26 -05:00
Margaret Leibovic
3dbb00ba33 Bug 793920 - (Part 2) Split up Reader.js to create shared ReaderMode.jsm in /toolkit. r=bnicholson
--HG--
rename : mobile/android/chrome/content/Reader.js => toolkit/components/reader/ReaderMode.jsm
extra : rebase_source : 5f66c449c50135d53644ebc507357ab560938bc7
extra : histedit_source : 53ad05bc9a30977399627c13f07971d7f7250814
2014-12-12 13:47:07 -08:00
Margaret Leibovic
de5e9c40f7 Bug 793920 - (Part 1) Move majority of Android reader mode code to a shared place in /toolkit. r=Mossop,bnicholson
--HG--
rename : mobile/android/chrome/content/JSDOMParser.js => toolkit/components/reader/content/JSDOMParser.js
rename : mobile/android/chrome/content/Readability.js => toolkit/components/reader/content/Readability.js
rename : mobile/android/chrome/content/aboutReader.html => toolkit/components/reader/content/aboutReader.html
rename : mobile/android/chrome/content/aboutReader.js => toolkit/components/reader/content/aboutReader.js
rename : mobile/android/chrome/content/readerWorker.js => toolkit/components/reader/content/readerWorker.js
rename : mobile/android/locales/en-US/chrome/aboutReader.properties => toolkit/locales/en-US/chrome/global/aboutReader.properties
extra : rebase_source : f0b900c46bb5dc894303ddf3701be7b019b61ae0
extra : histedit_source : 7417d0e4032ed3a3b1ab83af8f7e8a92951fdead
2014-12-10 16:44:53 -08:00
Michael Comella
3590998fe3 Bug 1085837 - Open legacy "More" menu before asserting menu item is disabled; r=liuche 2014-10-31 17:08:30 -07:00
Geoff Brown
47b8d3e1e9 Bug 1107002 - Update robocop dismissEditingMode for tablets; r=mcomella 2014-12-19 09:22:07 -07:00
Geoff Brown
8bd4181821 Bug 1105522 - Copy Robocop exception handling into UITest; r=jmaher 2014-12-19 09:22:07 -07:00
Geoff Brown
fc37f6f019 Bug 1090927 - Rename private test... functions in testGeckoProfile; r=mfinkle 2014-12-19 09:22:07 -07:00
Margaret Leibovic
3e9248c4b3 Bug 1105792 - Simplify testHomeBanner to account for the fact that banner view is removed when banner is dismissed; r=gbrown 2014-12-09 17:58:45 -08:00
Geoff Brown
bfc1dc28ba Bug 1105792 - Avoid assertions in testHomeBanner; r=margaret 2014-12-19 09:22:06 -07:00
Geoff Brown
aa15f056c4 Bug 1105887 - Wait for panel in testAboutHomeVisibility; r=mcomella 2014-12-19 09:22:06 -07:00
Geoff Brown
18d594a471 Bug 1105795 - Avoid ClassCastException in testAboutHomeVisibility; r=mcomella 2014-12-19 09:22:06 -07:00
vivek
a6f00268e4 Bug 732752 - Restore a closed tab with previous session history r=bnicholson. 2014-12-06 13:33:34 -08:00
Jordan Lund
0f26945357 Bug 1073772 - Releng work for two ARMv7 APKs - nonuni mozconfig fix for api 11, r=rnewman 2014-12-18 20:58:50 -08:00
Margaret Leibovic
968c3084d0 Bug 1110461 - Disable estimated reading time in reading list. r=mcomella
--HG--
extra : rebase_source : 1585925328a6636e160333dc27722dd6d289fd3a
2014-12-11 13:44:49 -08:00
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
Carsten "Tomcat" Book
d7549b4913 Backed out changeset e3a52be782f7 (bug 1102488) 2014-11-25 08:42:57 +01:00
Carsten "Tomcat" Book
7403af97fc Backed out changeset ae7b2705bfa7 (bug 1102488) 2014-11-25 08:42:55 +01:00
Carsten "Tomcat" Book
ea9a36b40f Backed out changeset 51e6a0c2187b (bug 1102488) 2014-11-25 08:42:54 +01:00
Carsten "Tomcat" Book
e99583e388 Backed out changeset f264f1d096a1 (bug 1102488) 2014-11-25 08:42:50 +01:00
Richard Newman
8f7dccffa3 Bug 1101527 - Don't set locales after Gecko startup. r=nchen,bnicholson 2014-11-24 22:16:26 -08:00
Nick Alexander
9db3e99d51 Bug 1102488 - Part 3: Output preprocessed files into generated/preprocessed. r=rnewman
The preprocessed files, all of which are constant exports, are exposed
in the new constants JAR.

--HG--
extra : rebase_source : f82988bd98e2390889057982d322add509b2d1c9
extra : source : 05cf424592e66f30c9a6c92f07bb5d9cdf1595a6
2014-11-20 14:25:52 -08:00
Nick Alexander
6c9336e2a8 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 : rebase_source : 65b374746f1630fd7c7c201a50bc2ff9dd29090d
extra : source : 48fc328377d41596900fa924b21378ba65a0df1f
2014-11-20 14:39:10 -08:00
Nick Alexander
cdd980f480 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 : rebase_source : cdba5f056a41ec28f190dd7ebf82213a358cb3a8
extra : source : d2c14599cbab6c476465a6ba142c7c2501895cb3
2014-11-24 15:37:30 -08:00
Nick Alexander
03f38e392c Bug 1102488 - Part 0: Make FxAccountConstants independent of Logger. r=rnewman
--HG--
extra : rebase_source : 5f85ea54b5afa611868c856a1027461d6c711b5f
extra : source : 8d1d39582e497c2c47400740304bdc98f0aef0a7
2014-11-20 15:07:35 -08:00
Nick Alexander
52e4b7d489 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 : rebase_source : f5211b309488adbab3ad47e63f1a3920093a85d8
extra : source : fa85f8d8b182fad743556a012a982daad121f0b1
2014-11-20 14:05:57 -08:00
Nick Alexander
e097540809 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 : rebase_source : c32966b91ac0c1c5719532e3b558c123c3d02c7e
extra : source : 4bcc69eb4a27db09b2423c52c22a0c07baffd7d0
2014-11-21 11:04:58 -08:00
Michael Comella
3403bc929a Bug 1100021 - Correct new tablet toolbar layout for devices with hardware menu key. r=lucasr 2014-11-20 12:36:10 -08:00
Nick Alexander
ef888e008b Bug 1103121 - Add |mach gradle| command for building Fennec Gradle. r=gps
I went with gradle instead of gradlew because it's more likely to be
what users consider.  And mach helpfully fixes up the uncommon typo.

This is a little hard-coded right now but I don't think it's likely
any other Gradle consumer will arise in the short term.

--HG--
extra : source : 67ce3d7591f944fa458758d97f443651f0e40dac
extra : amend_source : d10846e845deda5d368bdfdbb5b3d68706038992
extra : histedit_source : fb30750f389444a9619778d4c690d7de5e5fcbc1
2014-11-21 12:40:00 -08:00
Lucas Rocha
92fa8b1e6f Bug 1100904 - Track about:home strip bouncy animation (r=liuche) 2014-11-24 16:34:24 +00:00
Lucas Rocha
e409ce3eed Bug 1100904 - Don't block panel loading in HomeLoader.load() (r=margaret) 2014-11-24 16:34:23 +00:00
Lucas Rocha
a902101b2e Bug 1100904 - Ensure panel updates don't happen during transitions (r=margaret) 2014-11-24 16:34:23 +00:00
Lucas Rocha
0eb5c0783b Bug 1100904 - Track transitions in tab strip (r=mcomella) 2014-11-24 16:34:22 +00:00
Lucas Rocha
148b8787cf Bug 1100904 - Add TransitionsTracker API (r=mcomella) 2014-11-24 16:34:22 +00:00
Carsten "Tomcat" Book
a33496ae8a Backed out changeset 33c8749d384b (bug 1100904) for Android Bustage 2014-11-24 16:43:44 +01:00
Carsten "Tomcat" Book
879e81942b Backed out changeset 37c61cbcb970 (bug 1100904) 2014-11-24 16:43:22 +01:00
Carsten "Tomcat" Book
fdb50b183f Backed out changeset daf6d7046496 (bug 1100904) 2014-11-24 16:43:20 +01:00
Carsten "Tomcat" Book
be575b70a0 Backed out changeset 4c73bc9c874e (bug 1100904) 2014-11-24 16:43:18 +01:00
Carsten "Tomcat" Book
473a1c4700 Backed out changeset cbda40262967 (bug 1100904) 2014-11-24 16:43:15 +01:00
Lucas Rocha
8d59d02f94 Bug 1100904 - Track about:home strip bouncy animation (r=liuche) 2014-11-24 15:13:24 +00:00
Lucas Rocha
a03fe1006d Bug 1100904 - Don't block panel loading in HomeLoader.load() (r=margaret) 2014-11-24 15:13:23 +00:00
Lucas Rocha
4f9175bbc2 Bug 1100904 - Ensure panel updates don't happen during transitions (r=margaret) 2014-11-24 15:13:23 +00:00
Lucas Rocha
3243e93dc5 Bug 1100904 - Track transitions in tab strip (r=mcomella) 2014-11-24 15:13:22 +00:00
Lucas Rocha
0ae3cb3163 Bug 1100904 - Add TransitionsTracker API (r=mcomella) 2014-11-24 15:13:22 +00:00
Lucas Rocha
eccb65d5a0 Bug 1098459 - Remove dead area on the right of "new tab" button (r=mcomella) 2014-11-24 14:06:26 +00:00
Lucas Rocha
ce9855e1b3 Bug 1102836 - Make close button hit area a bit taller (r=mhaigh) 2014-11-24 13:59:57 +00:00
Lucas Rocha
1e2dcc837c Bug 1102836 - Only grow close button hit area in new tablet UI (r=mhaigh) 2014-11-24 13:59:56 +00:00
Nick Alexander
d59467581b Backed out changeset 705b1be87804 (bug 1098667) that was not intended to be pushed. 2014-11-25 17:26:18 -08:00
Nick Alexander
17c2bbcb22 Bug 1098667 - Part 1: Import from android-sync. r=rnewman
--HG--
extra : rebase_source : 4ebbd8323bcf7d96f91f6df114d1a61703e3b8bc
2014-11-25 16:18:53 -08:00
Nick Alexander
9414bc9e09 Bug 1104855 - Don't rebuild the omnijar on every Gradle build. rs=margaret
This ticket splits a new omnijar project off of base.  The new
project's omnijar task knows the inputs (well, those under
mobile/android) and the omni.ja output and only re-packages the
omnijar when the task's output is out of date.

With this modification, local building and most importantly the
Android JUnit test cycle is much improved, because the APK is not
re-deployed when only test code is modified.

In addition, the new project lists the omnijar inputs as "Java" source
directories.  Previously, they were listed as "Java resource" source
directories, which meant that the omnijar inputs were packaged into
the final APK.  This wasted time and space.

--HG--
extra : rebase_source : 12c94fdfbee9b7c319d5cfb4d7faad254e90abfc
2014-11-25 09:54:31 -08:00
Mike Connor
1be2a3367c Bug 1104841 - Use HTTPS for Bing search on Fennec. r=mfinkle 2014-11-25 16:46:24 -08:00
Margaret Leibovic
22c4d4b0c6 backout 65e0f5e2d63d for wrong bug number 2014-11-25 16:48:22 -08:00