Граф коммитов

15318 Коммитов

Автор SHA1 Сообщение Дата
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
Jordan Lund be177b97fb Bug 1073772 - Releng work for producing two ARMv7 APKs to target different API ranges, r=rnewman 2014-11-23 12:59:33 -08:00
Wes Kocher 8f93791278 Merge fx-team to m-c a=merge 2014-11-21 15:58:51 -08:00
Michael Comella 8ca3654ab7 Bug 975837 - Fallback to the empty string when receiving null urls in enterEditingMode. r=lucasr 2014-11-21 11:29:42 -08:00
Mark Finkle e1f9ef39e7 Bug 1102210 - Test for Android History (normal and redirected page loads) r=rnewman 2014-11-21 13:44:20 -05:00
Mark Finkle 4bd286650d Bug 1102210 - crash in nsAndroidHistory, aLastVisitedURI can be null r=rnewman 2014-11-21 13:28:04 -05:00
Margaret Leibovic ad05a75474 Bug 1102518 - Test for disabling tracking protection. r=mfinkle 2014-11-21 08:03:20 -08:00
Margaret Leibovic ba2db2d003 Bug 1102518 - Actually disable tracking protection when user taps "disable" button. r=mfinkle 2014-11-21 08:03:17 -08:00
Martyn Haigh dbc5277ba8 Bug 1100317 - Gridview doesnt show the last row completely when more tabs open than will fit on a single screen (r=lucasr) 2014-11-21 15:14:57 +00:00
Carsten "Tomcat" Book 969509b198 Merge mozilla-central to b2g-inbound 2014-11-21 13:02:49 +01:00
Kan-Ru Chen (陳侃如) c7d83676ec Bug 1044736 - Part 2. Add nsIBrowserElementAPI.idl and implement nsBrowserElement. r=bz 2014-11-21 18:56:27 +08:00
Wes Kocher ae7f9a4094 Merge m-c to fx-team a=merge CLOSED TREE 2014-11-20 18:06:48 -08:00