Commit Graph

16720 Commits

Author SHA1 Message Date
Wes Kocher
4eedce1509 Merge inbound to central, a=merge 2015-06-10 18:29:39 -07:00
Michael Comella
211b2b667a Bug 1168497 - Only run LayerMarginsAnimationTask when there is work to do. r?snorp
Before, we'd run this animate the dynamic toolbar over a specified duration
even if the dynamic toolbar was not actually animating anywhere. Thus, this
patch reduces excess work when the dynamic toolbar is not scrolled out of
place (e.g. onPanZoomStopped, onLocationChange, onTabChanged). This reduced
work includes allocating the RenderTask only when we need it.

--HG--
extra : commitid : 3tswkPeE27
extra : rebase_source : e0ffbbfdb8f60e80ef96372d71693aa2ee0490bc
2015-06-09 16:15:28 -07:00
Michael Comella
9852029db4 Bug 1168497 - Change scrollbar fade to be time-based (250ms). r?snorp
This should hopefully improve power consumption and make us act closer to the
system scrollbars.

--HG--
extra : commitid : HibXXfEknav
extra : rebase_source : 6b4df1252df1c4e7fe4fb718214565289c001657
2015-06-08 12:12:43 -07:00
Sebastian Kaspari
49e55bcb87 Bug 1158295 - Dynamically determine space between search engines in search engine bar. r=mcomella
--HG--
extra : commitid : Gb4Wn7GVebR
extra : rebase_source : 0562875ad33620476372081cad2ceeea823a9b70
2015-06-04 18:13:07 -07:00
Xidorn Quan
d7dd0eac3b Bug 1161802 part 2 - Split nsGlobalWindow::SetFullScreenInternal into two parts, one part before the window resizing, the other after. r=smaug,dao,margaret
This patch moves the "fullscreen" event from the original place to the
second part, which indicates two other changes:

1. When the event is triggered, the value of fullScreen would have been
toggled to the new value, which is different from before. The changes in
browser/../browser-fullScreen.js and mobile/../browser.js are for this.

2. This event is no longer preventDefault-able, since it is triggered
after the fullscreen change. This leads to the removal of the test and
the only place which calls preventDefault on that event. That place is
a workaround for bug 1079222. To address that problem, this patch fixes
the intrinsic issue via stoping handling the fullscreen change once it
finds we failed to change the state of the widget.

--HG--
extra : source : 78f78a62ce31b33413f0b52532eb22e5712cb646
2015-06-10 23:13:12 +12:00
Jim Chen
cffd5d5370 Bug 1166452 - Convert delayed startup to using DelayedInit; r=mfinkle 2015-06-10 00:25:02 -04:00
Jim Chen
74d83f7f6b Bug 1166452 - Add DelayedInit module for Fennec startup; r=mfinkle 2015-06-10 00:25:02 -04:00
Jim Chen
6e11cec452 Bug 1166309 - Set interface and don't load mozglue in GeckoView; r=snorp 2015-06-10 00:25:01 -04:00
Jim Chen
eda68cee3d Bug 1166309 - Make GeckoJarReader load mozglue if necessary; r=mfinkle r=rnewman 2015-06-10 00:25:01 -04:00
Jim Chen
3e4d973c83 Bug 1166309 - Move gfx mozglue dependency to after Gecko starts; r=snorp 2015-06-10 00:25:01 -04:00
Jim Chen
d731a60f51 Bug 1166309 - Move mozglue loading to GeckoThread; r=snorp 2015-06-10 00:25:01 -04:00
Carsten "Tomcat" Book
989624d484 Merge mozilla-central to fx-team 2015-06-10 15:25:21 +02:00
Wes Kocher
41e334cea0 Merge m-c to fx-team, a=merge 2015-06-09 19:30:16 -07:00
Michael Comella
7f953fe9eb Bug 1164114 - Open Intent URIs without a specific package set. r?margaret
The Android Activity chooser dialog will appear.

--HG--
extra : commitid : E3MlgMpVqno
extra : rebase_source : 98323dd28de470c392c6a689d6bf1a73e1542d23
2015-06-08 16:17:35 -07:00
Michael Comella
9756960806 Bug 1170884 - Replace android:password w/ android:inputType. r?liuche
android:password is deprecated.

--HG--
extra : commitid : 7oWho0xL5Vt
extra : rebase_source : 5acb7a010f4ea868824afa661ad50bb73b28877e
2015-06-08 09:19:17 -07:00
Michael Comella
08c9d54264 Bug 1168998 - Filter intent:// URIs. r?margaret
--HG--
extra : commitid : Izh7CIqnIgX
extra : rebase_source : 16cf8fdabd1017ea03edb70fce3a23ae7d82787c
2015-06-08 13:56:17 -07:00
Chenxia Liu
5f0fa430c5 Bug 1040948 - Show urlbar when "trying on" a lightweight theme. r=margaret
--HG--
extra : rebase_source : 9a2d0101c64f8db6f3297c232d45a05465041df4
2015-06-09 11:57:16 -07:00
Chenxia Liu
22d917d06c Bug 1139553 - Black overlay for doorhanger background. r=ally,a=RyanVM
--HG--
extra : rebase_source : bef21a6d74ed145b01003f0d057e659c6eeeaca2
2015-05-27 10:46:44 -07:00
Youngsun Suh
4a85f58c6c Bug 1170852 - Remove unused method, GeckoAppShell.decodeBase64 r=mcomella 2015-06-06 20:55:00 -07:00
P. Calligaris
8590259a58 Bug 1172086 - Check if <input> element is disabled; r=margaret 2015-06-08 20:47:50 +01:00
Chenxia Liu
f3095aab01 Bug 1168530 - Add context menu option for "Show password". r=ally
--HG--
extra : rebase_source : 8d2102460cac22977e936ca9d23c0fbc287524fc
2015-06-02 17:43:20 -07:00
Sebastian Kaspari
d235675e83 Bug 1158275 - testAddSearchEngine: Verify search engines in search result list and search engine bar. r=mcomella 2015-06-04 10:35:47 -07:00
Sebastian Kaspari
2b28363da4 Bug 1158275 - Remove old method of selecting non-primary search engines in BrowserSearch. r=mcomella 2015-06-02 15:43:28 -07:00
Michael Comella
9c04673e97 Bug 1172201 - Set Android support library to 22.2.0 in config. r=me
This corrects the GradleDynamicVersion lint warning.

--HG--
extra : rebase_source : 622f43175e2489a5b1747009fb11a29ed09e786c
2015-06-08 09:15:10 -07:00
Margaret Leibovic
e6d9440959 Bug 1170384 - Fix copy/pasta error in reader view location change handler. r=mcomella
--HG--
extra : rebase_source : 50e4b7bf3df55157a24677d20c56072d072ff379
2015-06-02 16:28:35 -07:00
Carsten "Tomcat" Book
ac2974150a merge mozilla-inbound to mozilla-central a=merge 2015-06-08 11:55:30 +02:00
Ehsan Akhgari
9a671f5365 Bug 1172110 - Re-enable service workers on desktop and mobile for non-release builds; r=jst 2015-06-06 21:00:18 -04:00
Phil Ringnalda
4e77972fa7 Back out f2ecf8c73f6f (bug 1172110) for failures in test_interfaces.html and test_worker_interfaces.html
CLOSED TREE
2015-06-05 19:40:49 -07:00
Ehsan Akhgari
311f4b0d39 Bug 1172110 - Re-enable service workers on desktop and mobile for non-release builds; r=jdm 2015-06-05 20:40:42 -04:00
Nick Alexander
2b5fe7b1a4 Bug 1171566 - Part 2: Remove BrowserTestCase. rs=mcomella
This was just a remnant from earlier days.  This launched the Fennec
activity, which is absolutely *not* something we want to do during
these browser JUnit 3 tests.  That is, these should be pure
instrumentation tests that just run Java code in the correct package
and Java classloader context.  They shouldn't interact with the App
lifecycle at all.

Not all the tests pass; I took a shot at fixing one but don't care to
dig deeply right now.

--HG--
extra : rebase_source : cc512347c2adfb5cd59f641893ed8a8edaf5ba94
extra : histedit_source : 4c14f269054ad98e0fbcb9eb6595247f285058df
2015-06-04 10:41:48 -07:00
Nick Alexander
3f6c59b27c Bug 1171566 - Part 1: Configure Gradle and Spoon. rs=mcomella
There are few things happening here:

* A purely mechanical move of test sources into org.mozilla.test.browser.junit3.
  This is only to make it easy to specify the suite in Spoon.  (But it has the
  advantage of making it possible to move files around in IntelliJ, since the
  symlink points to src instead of org/mozilla/gecko.)

* Specifying the suite (package name) ended up requiring changes to the
  spoon-gradle-plugin anyway.  Hence, I've included this custom
  spoon-gradle-plugin version locally, while I work to upstream the changes.

* Some Gradle trickery to make |mach gradle runBrowserTests| execute Spoon with
  the correct package name.

--HG--
rename : mobile/android/tests/browser/junit3/src/BrowserTestCase.java => mobile/android/tests/browser/junit3/src/org/mozilla/tests/browser/junit3/BrowserTestCase.java
rename : mobile/android/tests/browser/junit3/src/TestDistribution.java => mobile/android/tests/browser/junit3/src/org/mozilla/tests/browser/junit3/TestDistribution.java
rename : mobile/android/tests/browser/junit3/src/TestGeckoBackgroundThread.java => mobile/android/tests/browser/junit3/src/org/mozilla/tests/browser/junit3/TestGeckoBackgroundThread.java
rename : mobile/android/tests/browser/junit3/src/TestGeckoMenu.java => mobile/android/tests/browser/junit3/src/org/mozilla/tests/browser/junit3/TestGeckoMenu.java
rename : mobile/android/tests/browser/junit3/src/TestGeckoProfilesProvider.java => mobile/android/tests/browser/junit3/src/org/mozilla/tests/browser/junit3/TestGeckoProfilesProvider.java
rename : mobile/android/tests/browser/junit3/src/TestGeckoSharedPrefs.java => mobile/android/tests/browser/junit3/src/org/mozilla/tests/browser/junit3/TestGeckoSharedPrefs.java
rename : mobile/android/tests/browser/junit3/src/TestImageDownloader.java => mobile/android/tests/browser/junit3/src/org/mozilla/tests/browser/junit3/TestImageDownloader.java
rename : mobile/android/tests/browser/junit3/src/TestJarReader.java => mobile/android/tests/browser/junit3/src/org/mozilla/tests/browser/junit3/TestJarReader.java
rename : mobile/android/tests/browser/junit3/src/TestRawResource.java => mobile/android/tests/browser/junit3/src/org/mozilla/tests/browser/junit3/TestRawResource.java
rename : mobile/android/tests/browser/junit3/src/TestSuggestedSites.java => mobile/android/tests/browser/junit3/src/org/mozilla/tests/browser/junit3/TestSuggestedSites.java
rename : mobile/android/tests/browser/junit3/src/TestTopSitesCursorWrapper.java => mobile/android/tests/browser/junit3/src/org/mozilla/tests/browser/junit3/TestTopSitesCursorWrapper.java
rename : mobile/android/tests/browser/junit3/src/harness/BrowserInstrumentationTestRunner.java => mobile/android/tests/browser/junit3/src/org/mozilla/tests/browser/junit3/harness/BrowserInstrumentationTestRunner.java
rename : mobile/android/tests/browser/junit3/src/harness/BrowserTestListener.java => mobile/android/tests/browser/junit3/src/org/mozilla/tests/browser/junit3/harness/BrowserTestListener.java
extra : rebase_source : 5eff7e0da0be912838fac0ddad5f6b357800eb45
extra : histedit_source : e76288628e14aeb155d2d3b4033d056c6efdc646
2015-06-04 12:09:23 -07:00
Michael Comella
2501d24d12 Bug 1165422 - Update builder configurations to android API 22. r?coop
--HG--
extra : commitid : GbuTlkUu3ah
extra : rebase_source : 26acb20060486122709be89229a8c788fa0cf70f
2015-06-04 13:30:28 -07:00
Michael Comella
337ad75e3d Bug 1165422 - Update gradle build tools versions to 22.0.1. r?nalexander
--HG--
extra : commitid : 8BxnctY7ma2
extra : rebase_source : 2f4b8a73b51602771769ffd5a044055a11e1e327
2015-06-03 21:04:27 -07:00
Michael Comella
c3980d28f5 Bug 1170886 - Specify correct Locale in String.toUpperCase and remove @SuppressLint. r=rnewman
--HG--
extra : commitid : NN0bwMddFU
extra : rebase_source : e28c7f8017ce051d4c703d42e1932d75e81a8afa
2015-06-04 17:38:51 -07:00
Michael Comella
ad00a9e32b Bug 1170886 - Remove unnecessary InlinedApi suppression. r?nalexander
--HG--
extra : commitid : 5UFjNZRsZGX
extra : source : 59d47b906a85439afd2c2b41774573b392f102d1
2015-06-02 20:09:21 -07:00
Michael Comella
9b602eedc2 Bug 1170886 - Replace use of NewApi suppression with @TargetApi. r?nalexander
TargetApi is specific, and preferred.

--HG--
extra : commitid : ACndrW0PUOa
extra : source : 00d5a9768b9d80956912bfc3499924c376119129
2015-06-02 20:02:30 -07:00
Richard Newman
b29554ec7d Bug 1170819 - Enable payments in Fennec release channel. r=mfinkle,AndyM 2015-06-04 12:28:23 -07:00
Richard Newman
d663c64e3e Bug 1061273 - Part 4: use SSLSocketFactory directly, rather than our own TLSSocketFactory subclass. 2015-06-04 11:07:32 -07:00
Richard Newman
3a8898792c Bug 1061273 - Part 3: enable TLSv1 for landing. 2015-06-04 11:07:32 -07:00
Richard Newman
57f9b6be27 Bug 1061273 - Part 2: use per-version DEFAULT_PROTOCOLS and DEFAULT_CIPHER_SUITES. r=nalexander 2015-06-04 11:07:32 -07:00
Richard Newman
8340ffd9ce Bug 1061273 - Part 1: put DEFAULT_PROTOCOLS and DEFAULT_CIPHER_SUITES in GlobalConstants. r=nalexander 2015-06-04 11:07:31 -07:00
Sebastian Kaspari
5aa15ff7bc Bug 1169427 - Replace FloatMath.*() calls with calls to Math.*(). r=snorp
--HG--
extra : transplant_source : %2B%1A%92%92%CC%D3%9AN%92v%EAr%E2%12%F4I%14%90s%E6
2015-06-02 18:53:59 -07:00
Michael Comella
f7a3ce70a7 Bug 1165422 - Upgrade gradle support libraries to 22. r=me
Forgot to land this as part of the original, and next, changes.
2015-06-05 18:19:43 -07:00
Michael Comella
f3a1178b31 Bug 1165422 - Upgrade gradle targetSdk to 22. r=me
Forgot to land this as part of the original changes - this should allow
successful compiling in Intellij.
2015-06-05 17:36:39 -07:00
Richard Newman
fb56dbb205 Bug 1061273 - Follow-up: fix cipher suites for Sync 1.1.
The suites used for 20+ didn't intersect with the supported suites on the ZLBs.

We now use the same suites across all versions, and they intersect.
2015-06-05 15:50:45 -07:00
Ryan VanderMeulen
b3caa9d676 Merge fx-team to m-c. a=merge 2015-06-04 09:24:15 -04:00
Michael Comella
709461b539 Bug 1170884 - Use fully qualified android.R.*. r?nalexander
--HG--
extra : commitid : 9i43WGzFYQC
extra : rebase_source : dc7c94bd70bbe5671c851d3d20d695d8a0ff91b0
2015-06-02 18:21:38 -07:00
Michael Comella
c2cb17e8bd Bug 1170884 - Call super from sub-class. r?nalexander
--HG--
extra : commitid : 9kAIEk2zBZI
extra : rebase_source : 58f5481dc0c2b5243680a23b9aceade9f5bae2f9
2015-06-02 18:19:23 -07:00
Michael Comella
2f9cdc52ae Bug 1170285 - Add lint.xml config file to base sub-project. r?nalexander
While it might seem like a good idea to disable all of the checks we don't
currently pass, Intellij uses the same lint configuration file as the
command-line invocation and so we'll be more likely to write in new errors by
disabling some checks.

--HG--
extra : commitid : 23gdgWSBmyt
extra : source : 7bd754d48b86b5104bc44067886af81c9315a3b6
2015-06-03 21:12:00 -07:00
Ryan VanderMeulen
3f344dd200 Merge m-c to fx-team. a=merge 2015-06-03 16:06:53 -04:00