Commit Graph

18300 Commits

Author SHA1 Message Date
Mike Hommey
e88f90548f Bug 1222323 - Avoid passing extra defines to the compiler from config.mk. r=gps
C/C++ code should not be relying on XPI_NAME or AB_CD being defined, so
moving them out works.
2015-11-14 08:40:54 +09:00
Kartikaya Gupta
a5983d9ffa Bug 1224325 - Allow the zoomed view to appear when tapping in a cluster of links. r=rbarker
Since the conversion of a "tap" to mouse events happens in APZEventState with
the C++ APZ code (rather than browser.js), we need a mechanism to prevent that
from happening in the case that the user taps on a cluster of links. Cancelling
the touchend event is one way to prevent the mouse events from being dispatched,
and that seems the simplest to do here.

--HG--
extra : commitid : FonsT29X1TC
2015-11-13 17:14:40 -05:00
Wes Kocher
7167e1dc3d Backed out changeset b6edabc35c21 (bug 1217515) for mulet reftest failures
--HG--
extra : commitid : LfjPOQOXmxO
extra : rebase_source : a8766e0ad91a52a3617de6e74f8a4914e6d17c39
2015-11-13 12:11:05 -08:00
Kartikaya Gupta
a0c19a6985 Bug 1223296 - Be more selective in disabling code in browser.js when the C++ APZ is enabled; in particular allow caret and zoomedview code to run. r=rbarker
--HG--
extra : commitid : BNB2k6nSB92
2015-11-13 15:10:52 -05:00
Botond Ballo
94f0bf5241 Bug 1217515 - Clean up the way touch event support is configured. r=roc
- all.js now sets dom.w3c_touch_events.enabled to auto-detect on all
  platforms except windows and mac
- auto-detect always returns true for android and b2g
- graphene and tests override the all.js pref with their own value

--HG--
extra : source : a9d8eb075f383d39d96d283825fe432417b3e01a
extra : intermediate-source : 9764f77b64e4a9c7914b539e61c412f838c09093
2015-10-26 16:06:27 -04:00
Chenxia Liu
5696b4cd0e Bug 1212606 - Prompt user (with a doorhanger) to allow to notifications from a website. r=ally
--HG--
extra : commitid : 5t45WaEgpTd
extra : rebase_source : 87e5eaf10e919cef73289cc3440b59a068f5ed3a
2015-11-10 15:18:20 -08:00
Carsten "Tomcat" Book
8695070fe8 Merge mozilla-central to fx-team 2015-11-12 12:39:34 +01:00
Carsten "Tomcat" Book
fde361620f merge mozilla-inbound to mozilla-central a=merge 2015-11-12 12:00:55 +01:00
Carsten "Tomcat" Book
daa6d5b745 merge fx-team to mozilla-central a=merge 2015-11-12 11:58:02 +01:00
Jim Chen
ad7ed5be4f Bug 1219016 - Add GeckoService for headless mode; r=snorp
This patch adds a Service that is able to launch Gecko in a headless
state.
2015-11-11 21:28:59 -05:00
Jim Chen
b2901f947d Bug 1219016 - Don't use context class name to detect webapp process; r=mfinkle
The code in WebappsUpdateTimer.js tried to detect a webapp process by
using the context class name, which is extremely fragile. This patch
makes it detect the current Gecko profile instead.
2015-11-11 21:28:59 -05:00
Jim Chen
5b07488e21 Bug 1219016 - Use application context where appropriate; r=snorp
This patch makes code use the application context from GeckoAppShell
instead of the activity context. Enough changes are made to let headless
mode work.
2015-11-11 21:28:59 -05:00
Jim Chen
3e47529ebc Bug 1219016 - Store application context in GeckoAppShell; r=snorp
This patch adds separate setter and getter for the application context
in GeckoAppShell. The existing getContext method is misused for both
application and activity context, so new methods are added to improve
consistency.
2015-11-11 21:28:59 -05:00
Jim Chen
46969fa4ec Bug 1219016 - Don't use GeckoThread state to detect GeckoApp relaunching; r=snorp
Right now we use the GeckoThread state to detect whether GeckoApp is
first launching or is being restored after being destroyed. However,
because of headless mode, GeckoThread could already be running on
GeckoApp's first launch, so we need a separate way to detect
relaunching.
2015-11-11 21:28:59 -05:00
Wes Kocher
4086bed0cb Backed out 6 changesets (bug 1107636) for robocheck2 bustage
Backed out changeset 6e940538a171 (bug 1107636)
Backed out changeset 9145f78bb39c (bug 1107636)
Backed out changeset c575729788a7 (bug 1107636)
Backed out changeset 2b6f2bcfe767 (bug 1107636)
Backed out changeset 014b8c296cec (bug 1107636)
Backed out changeset 446d2b181d40 (bug 1107636)

--HG--
extra : commitid : GHogLH0qu7I
2015-11-11 17:26:04 -08:00
Wes Kocher
c0ac6aeca0 Merge m-c to fx-team, a=merge
--HG--
extra : commitid : DBUKvoFqhcH
2015-11-11 17:13:38 -08:00
Wes Kocher
20d7e77456 Merge m-c to b2ginbound, a=merge
--HG--
extra : commitid : FcH9KT7v2Ab
2015-11-11 17:13:06 -08:00
Wes Kocher
a0333fb40f Merge inbound to central, a=merge
--HG--
extra : commitid : 8yhUmQMKROV
2015-11-11 16:42:05 -08:00
Fabrice Desré
d0b92dd4c7 Bug 1223666 - Enable webextensions on b2gdroid r=me 2015-11-11 14:35:55 -08:00
Fabrice Desré
c6a649e868 Bug 1223844 - [B2gDroid] homescreen slowly slides sideways when flinging r=kats 2015-11-11 14:17:26 -08:00
Michael Comella
bc7d4d93ee Bug 1107636 - Change RelativeLayout params -> FrameLayout params. r=me
Due to the import, LayoutParams was RelativeLayout.LayoutParams and
it was referring to the parent container, which is now a FrameLayout.

--HG--
extra : commitid : IUQUTpBRAbe
extra : rebase_source : 8af3206963bb88bb488187a84db4ef06ef68bc6a
2015-11-11 08:58:36 -08:00
Carsten "Tomcat" Book
0610c350a3 merge mozilla-inbound to mozilla-central a=merge 2015-11-11 12:42:52 +01:00
Allison Naaktgeboren
6ea8d1f465 Bug 1215475 - Search suggestions are duplicated after one of it is previously selected.r=mcomella 2015-11-10 19:02:23 -08:00
Michael Comella
7e8629b810 Bug 1107636 - Remove RelativeLayout param from within FrameLayout. r=me
--HG--
extra : commitid : EgSwSQjR7eB
extra : rebase_source : f52018d39cbb50fc7862e0563627ca9123b63934
2015-11-10 16:47:12 -08:00
Bill McCloskey
4f99faeaed Bug 967873 - Proxy nsDocumentViewer::PermitUnload to the child process (r=Gijs) 2015-11-11 18:04:21 -08:00
Michael Comella
c994ecfdce Bug 1107636 - Replace RelativeLayout with FrameLayout in WebApp. r=me
It shares an implementation with GeckoApp so it needs to match.

--HG--
extra : commitid : DaYns85thja
extra : rebase_source : 65706273a312a2b4b217f466a81fe7d8e251cce4
2015-11-09 14:44:59 -08:00
Carsten "Tomcat" Book
605ba2d307 Merge mozilla-central to mozilla-inbound 2015-11-11 12:44:18 +01:00
Michael Comella
6df3ddbc56 Bug 1107636 - Change gecko_layout to FrameLayout. r=sebastian
Changes on first three measure passes (CPU time):
  1) 13.149ms -> 11.934ms
  2) .827ms -> .582ms
  3) 11.602 -> 12.199ms

--HG--
extra : commitid : EjdNk8qFhyq
extra : rebase_source : 606fbf56c9fc6afcc830b8471b36d78c35db16cf
2015-11-06 16:17:48 -08:00
Michael Comella
4c9fe22655 Bug 1107636 - Use MarginLayoutParams where applicable. r=sebastian
MarginLayoutParams is less specific than RelativeLayout.LayoutParams
and is easier to make changes with.

--HG--
extra : commitid : FeMtZlTCy1m
extra : rebase_source : d25f9513ef2f10a001513499c7a5ec052397eaf2
2015-11-06 16:16:30 -08:00
Michael Comella
c86bfabebb Bug 1107636 - Replace top-level RelativeLayout with <merge>. r=sebastian
Using systrace, I took 2 traces before and after. Using the slowest
of both traces, the first three measure passes had the following
improvements in CPU time:
  1) 20.583ms -> 13.149ms
  2) 1.695ms -> 0.827ms (1/2)
  3) 22.146ms -> 11.602ms (1/2)

This is to be expected – RelativeLayout requires two measure passes
so it makes sense to approximately half the measure times.

--HG--
extra : commitid : IDQckTgGsge
extra : rebase_source : df061c7645aa6b3a880278f75d3fa637e3160f9c
2015-11-06 15:23:47 -08:00
Margaret Leibovic
1b53424456 Bug 1221679 - Properly update settings header on locale change. r=liuche
--HG--
extra : commitid : 22WwVHlZm0R
extra : rebase_source : ce1effbd8aa1d3365762d565bf0b93dce1a7ed49
2015-11-05 17:27:32 -05:00
Sebastian Kaspari
744c1b2ebf Bug 1217196 - (Part 2) Remove touch event handling from BrowserToolbar. r=mcomella
This code seems to have handled scroll events that started on the toolbar in the past.
But this does not work anymore (for quite some time)  and in fact breaks touch event
handling (See bug 1046591 for a side-effect of only partially consuming events here).

--HG--
extra : commitid : 3Lc1nqepusP
extra : rebase_source : 261f59ff61e1246d3d10113041186cedadf4cad2
2015-11-05 16:11:00 +01:00
Sebastian Kaspari
04947918fd Bug 1217196 - (Part 1) Move context menu and click handler back to BrowserToolbar. r=mcomella
This is more or less reverting the changes introduced in bug 1216114.

--HG--
extra : commitid : H1PdYtOIFtp
extra : rebase_source : b4b971b02623dfbd53fe9bf75a6cc75903a1ad28
2015-11-05 13:05:55 +01:00
Randall Barker
02228538d3 Bug 1223440 - Implement NativePanZoomController::setIsLongpressEnabled so long-press detection can be disabled during testing. r=kats
--HG--
extra : commitid : al8R68DZJ5
2015-11-10 12:47:48 -05:00
Randall Barker
8f09c55656 Bug 1223434 - Fix Fennec's Java selection handles to work with the C++ APZ. r=kats
--HG--
extra : commitid : CbeuaLWQT1j
2015-11-10 12:01:35 -05:00
Randall Barker
c253b6a1ac Bug 1223433 - Enable axis locking with the C++ APZ on Fennec. r=kats
--HG--
extra : commitid : AiHNnNFjj9b
2015-11-10 12:01:35 -05:00
Carsten "Tomcat" Book
f2915b700e Merge mozilla-central to fx-team 2015-11-11 12:44:56 +01:00
Sebastian Kaspari
6761261be6 Bug 1191741 - Family friendly browsing: Restrict sharing of camera and microphone with websites. r=ally
--HG--
extra : commitid : JHH8Rr8VrUK
extra : rebase_source : 59fe5a4508003c53446284c3bf51931a6a5b5073
2015-11-09 16:05:09 +01:00
Jonathan Almeida (:jonalmeida)
aadf4c2d30 Bug 1209293 - Flip default options for click-to-view images r=mfinkle
--HG--
extra : commitid : L6FGBumiR6l
extra : rebase_source : 477ec27ba43e595510a5f3506e651f0204c8bdab
2015-11-10 00:03:55 -05:00
Allison Naaktgeboren
d03bfc4a78 Bug 1222116 - add smsto:// support to fennec.r=mcomella 2015-11-09 18:22:06 -08:00
Nick Alexander
e6a9770f2a Bug 938994 - Post: Update Gradle configurations. r=sebastian
I moved the JAR out of the root directory because I didn't want
multiple copies of things in robocop/ appearing in IntelliJ, although
this turns out to not be strictly necessary.  Keeping it as part of a
general push to move things out of the root dumping ground.

--HG--
rename : mobile/android/tests/browser/robocop/robotium-solo-4.3.1.jar => mobile/android/tests/browser/robocop/libs/robotium-solo-4.3.1.jar
extra : commitid : 6NYW1zNU7k8
extra : rebase_source : e152435da39612fdb69749936c713313f2a5b006
extra : histedit_source : aca11a9101156670d49fe89a9237031e4089f2b8
2015-11-09 10:18:45 -08:00
Nick Alexander
ade40baf2d Bug 938994 - Move build/mobile/robocop into mobile/android/tests/browser/robocop. r=gbrown
This builds the Robocop tests with |mach build mobile/android|, making
it easier for developers to build Fennec and the tests at the same
time.

--HG--
rename : build/mobile/robocop/AndroidManifest.xml.in => mobile/android/tests/browser/robocop/AndroidManifest.xml.in
rename : build/mobile/robocop/Makefile.in => mobile/android/tests/browser/robocop/Makefile.in
rename : build/mobile/robocop/README => mobile/android/tests/browser/robocop/README
rename : build/mobile/robocop/moz.build => mobile/android/tests/browser/robocop/moz.build
rename : build/mobile/robocop/res/values/strings.xml => mobile/android/tests/browser/robocop/res/values/strings.xml
rename : build/mobile/robocop/robotium-solo-4.3.1.jar => mobile/android/tests/browser/robocop/robotium-solo-4.3.1.jar
extra : commitid : BuNBjgXdm1d
extra : rebase_source : c36b8bf0183d8f5821b7f7839668ca963065d894
extra : histedit_source : a86fef3b834420ea496a9c2644ca72786a2d7da9
2015-11-09 12:55:38 -08:00
Jonathan Almeida (:jonalmeida)
c16364b7c9 Bug 1209293 - Using const values instead of numbers r=mfinkle
--HG--
extra : commitid : 5XMV0cugMTQ
extra : rebase_source : 02dd049de71c95a9c6877d80023d457ba5582aac
2015-11-09 18:21:16 -05:00
Jonathan Almeida [:jonalmeida]
3b93da9d48 Bug 1208167 - Telemetry probe for click-to-play images r=mfinkle,ally
- A telemetry probe for when a user clicks to unblock an image.
- A second probe for sending the size of the image being unblocked.
 Since we don't have information on the image size the best option
 was to make make an XHR HEAD request. We make an approximation
 of the image size from the content length which we send in kB.

--HG--
extra : commitid : G0ixOr8xmju
extra : rebase_source : cfb7d0d5777f6d0c657f6aafa18c58ec2b882789
2015-10-29 02:15:41 -04:00
Jonathan Almeida [:jonalmeida]
48d9153973 Bug 1209293 - Add option for click-to-play images depending on network bearer r=mfinkle
- Replaced bool pref for int list option: Never, Always, or Only over Wi-Fi
- Pref browser.image_blocking.enabled -> browser.image_blocking
- Converted the early return to check for cellular as well.
- Note that in the cellular check, I do not consider LINK_TYPE_USB as "cellular".
- Tested this on a physical device with all combinations
    of WiFi ON/OFF (falling back to cellular and each menu state.
- Tested if menu options work as well for each state mentioned above.

--HG--
extra : commitid : 3xKvKEgZv9A
extra : rebase_source : 888cfa9843ca515bef4a3596f6b01bf562065125
2015-10-29 03:20:20 -04:00
Jonathan Almeida [:jonalmeida]
04db37c682 Bug 1211295 - When tap-to-load images are enabled, add option to load all images r=mfinkle
--HG--
extra : commitid : 7B2FUU4V2zt
extra : rebase_source : 3101169b567893c8c47363599f66eba2f3fe41d0
extra : amend_source : f02c9f3ab6ac43dd235c6c0efe99d7870f88f5c6
2015-11-03 00:55:22 -05:00
Kalpesh Krishna
bd454774aa Bug 1207307 - Remove MOZ_ANDROID_FIREFOX_ACCOUNT_PROFILES flag. r=vivek,nalexander
--HG--
extra : commitid : EDAzygqNz9I
extra : rebase_source : 39b977fddd43906b15024efce1e34362cf0e3259
2015-11-09 10:57:01 -08:00
Kalpesh Krishna
e688976ffe Bug 1188550 - Don't directly use MOZ_APP_DISPLAYNAME in User-Agent headers. r=vivek,nalexander.
It is possible for the display name to contain Unicode characters,
which not all Mozilla service endpoints handle gracefully.  This
avoids that issue.

--HG--
extra : commitid : JhI3YFLj4Ho
extra : rebase_source : 7f60fb1dfdb70b3e25aa5220f61d553895294c8c
2015-11-09 10:53:37 -08:00
Wes Kocher
ad6867e19d Backed out 3 changesets (bug 1107636) for android mochitest bustage CLOSED TREE
Backed out changeset ced71b78683d (bug 1107636)
Backed out changeset a1efec5e79de (bug 1107636)
Backed out changeset 6a8430385299 (bug 1107636)

--HG--
extra : commitid : ErD0sqMmTe
2015-11-09 11:28:13 -08:00
dominique vincent
07e158b7b3 Bug 1222234 - New size for the touch area. r=mcomella
--HG--
extra : commitid : 4L5xLTNoVLG
extra : amend_source : f8ad7a18c35fc81bc3c7638bc55ebb1221fd681a
2015-11-01 07:50:27 +01:00