Commit Graph

18546 Commits

Author SHA1 Message Date
Michael Comella
1ce0d7452b Bug 1227348 - Remove imports, provide better access levels. r=margaret 2015-11-24 11:26:49 -08:00
Sebastian Kaspari
6886acf9e5 Bug 1224521 - Replace all toasts created from within browser.js with snackbars. r=mcomella 2015-11-18 08:51:37 +01:00
Sebastian Kaspari
0c0d47bd04 Bug 1221534 - Add "Clear private data" sub menu on tablets. r=margaret 2015-11-30 16:46:35 +01:00
Sylvestre Ledru
1c41893a58 Bug 1228317 - Fix a potential error in the replaceAll call when the path contains ?dmp. r=snorp 2015-12-01 06:34:00 +01:00
Kit Cambridge
410b8bd00c Bug 821291 - Move libmozgnome into libxul. r=glandium,karlt 2015-11-24 12:16:33 -08:00
Botond Ballo
7b96a0f776 Bug 1230552 - Disallow immediate scroll handoff on Fennec. r=kats 2015-12-14 14:48:06 -05:00
Mark Finkle
38667976e1 Bug 858829 - Ship popular domains by default r=margaret 2015-12-02 02:16:17 -05:00
Prabhjyot Singh Sodhi
d777951bc9 Bug 1216826 - Remove Suggestions Loader when using private tabs to prevent search suggestions r=mcomella 2015-12-01 22:39:50 -08:00
Chenxia Liu
192a118ebc Bug 1225092 - Don't show keyboard on Welcome panel. r=mcomella 2015-11-30 13:57:20 -05:00
Nick Alexander
f8b3ba19ac Bug 1229438 - Part 3: Update build. r=rnewman 2015-12-01 10:56:09 -08:00
Nick Alexander
8a78c06e29 Bug 1229438 - Part 2: Move Fennec services resources. r=rnewman
#!/bin/bash
set -x
pushd mobile/android/base/resources
for i in * ; do
    mkdir -p ../res/$i ;
    hg mv $i/{fxa,sync}* ../res/$i ;
done
popd
hg mv mobile/android/base/res mobile/android/services/src/main/res
2015-12-01 11:08:10 -08:00
Nick Alexander
3bad0db77f Bug 1229438 - Part 1: Move Fennec services code. r=rnewman
#!/bin/bash
mkdir -p mobile/android/services/src/main/java/org/mozilla/gecko
hg mv mobile/android/base/background mobile/android/services/src/main/java/org/mozilla/gecko
hg mv mobile/android/base/browserid mobile/android/services/src/main/java/org/mozilla/gecko
hg mv mobile/android/base/fxa mobile/android/services/src/main/java/org/mozilla/gecko
hg mv mobile/android/base/sync mobile/android/services/src/main/java/org/mozilla/gecko
hg mv mobile/android/base/tokenserver mobile/android/services/src/main/java/org/mozilla/gecko
hg mv mobile/android/base/reading mobile/android/services/src/main/java/org/mozilla/gecko
2015-12-01 10:56:49 -08:00
Mark Capella
8cc4e7adf5 Bug 1215959 - (GeckoCaret2) Upgrade TextSelection Carets test, r=snorp 2015-12-01 15:25:06 -05:00
Mark Capella
09b32da6ac Bug 1215959 - (GeckoCaret2) Upgrade mobile-side for new AccessibleCaret front-end, r=snorp 2015-12-01 15:25:06 -05:00
Mark Capella
eda494195a Bug 1215959 - (GeckoCaret2) update experimental prefs, r=snorp 2015-12-01 15:25:06 -05:00
Mark Capella
0c8ded1b65 Bug 1215959 - (GeckoCaret2) Update caret resources, r=snorp 2015-12-01 15:25:06 -05:00
Chenxia Liu
c2c91edd04 Bug 1220720 - SUMO URL should not be localized. r=trivial 2015-11-25 11:22:00 -05:00
Carsten "Tomcat" Book
81c50d96fe Merge mozilla-central to fx-team 2015-12-01 15:28:12 +01:00
Carsten "Tomcat" Book
c78dfb0a34 merge mozilla-inbound to mozilla-central a=merge 2015-12-01 15:25:14 +01:00
Carsten "Tomcat" Book
877f6d6f09 Backed out changeset 7c75159bc4a6 (bug 1228317) for android bustage 2015-12-01 14:56:20 +01:00
Sebastian Kaspari
9b5e7c3397 Bug 1125286 - Restricted profiles: Introduce toggle for "Data choices". r=margaret 2015-11-27 16:27:34 +01:00
Sebastian Kaspari
18acbcb919 Bug 1197720 - NativeCrypto (SHA-256): Let caller define number of bytes in 'str' to update from. r=snorp
In Java we will call this method with byte array buffers we use to read from a stream. Java does not
guarantee to completely fill the buffer (and can't at the end of a stream). Passing the number of bytes
to read from the array to NativeCrypto avoids copying bytes between arrays of various lengths.
2015-11-30 15:59:56 +01:00
Carsten "Tomcat" Book
77dfa13ff4 Merge mozilla-central to fx-team 2015-11-30 13:46:30 +01:00
Carsten "Tomcat" Book
d572383d8b merge mozilla-inbound to mozilla-central a=merge 2015-11-30 13:19:02 +01:00
Mark Banner
a2902cbee3 Bug 1228628 - Add a minimal .eslintrc configuration for browser and start linting a few browser files with basic rules. r=Mossop 2015-11-30 11:42:25 +00:00
alex_johnson
82dbfe042b Bug 1216051 - Delegated NativeWindow.toast to Snackbar API. r=sebastian 2015-11-27 09:18:40 -05:00
Sebastian Kaspari
03dd1e3a51 Bug 1226130 - GeckoPreferences: Process PrefHandlers last. r=margaret
A restriction might remove the preference, so we want to remove it first and only
call the PrefsHandler if the preference is still visible.
2015-11-27 14:54:18 +01:00
Sebastian Kaspari
0e011fcba3 Bug 1222390 - (Part 4) Restricted profiles: Add descriptions to restrictions. r=margaret 2015-11-27 14:04:43 +01:00
Sebastian Kaspari
a0915875a0 Bug 1222390 - (Part 3) Restricted profiles: Always hide 'location services' (Stumbler) r=margaret 2015-11-27 13:42:45 +01:00
Sebastian Kaspari
0ffbe9cb23 Bug 1222390 - (Part 2) Restricted profiles: Always hide 'guest browsing'. r=margaret 2015-11-27 13:35:38 +01:00
Sebastian Kaspari
324505cb4f Bug 1222390 - (Part 1) Restricted profiles: Always hide 'master password' setting. r=margaret 2015-11-27 13:25:13 +01:00
Phil Ringnalda
19851ebadb Back out 343223ce6b34 (bug 1228628) for Experiments xpcshell bustage
CLOSED TREE
2015-11-27 20:55:17 -08:00
Kartikaya Gupta
3b89c1d6b6 Bug 1206872 - Enable C++ APZ in Fennec nightly builds. r=mfinkle 2015-11-28 21:35:36 -05:00
Mark Banner
70f59040f6 Bug 1228628 - Add a minimal .eslintrc configuration for browser and start linting a few browser files with basic rules. r=Mossop 2015-11-27 22:37:38 +00:00
Kalpesh Krishna
70c3fd0f45 Bug 1148028 - Remove MOZ_ANDROID_SHARE_OVERLAY. r=vivek,nalexander
Fennec ships the Share Overlay everywhere.
2015-11-27 12:51:02 -08:00
Dave Townsend
67b6efe88d Bug 1228628: Move all eslintignore rules to the top-level of the tree. r=mconley 2015-11-27 09:39:59 -08:00
Nick Alexander
c1ce2b80e7 Bug 1219963 - Try to make test_get_last_visited more robust. r=me
This also logs more of the failure details, logs all
"link-visited" events, and waits for an un-used "link-visited" event
before terminating in the hope of always witnessing all the expected
"link-visited" events.
2015-11-27 10:48:01 -08:00
Sebastian Kaspari
4cbff215dd Bug 1189336 - (Part 4) Migrate old restrictions if needed. r=ally 2015-11-17 15:28:40 +01:00
Sebastian Kaspari
47479974fd Bug 1189336 - (Part 3) Move from a list of disallowed things to a list of restrictable features. r=ally 2015-11-11 18:17:19 +01:00
Sebastian Kaspari
4a2458d1c3 Bug 1189336 - (Part 2) Rename Restriction class to Restrictable. r=ally
This is the first step to move from a list of DISALLOW_* things to a list of
features that can be enabled or disabled for a profile. At a later stage we
will check whether a "restrictable" feature is allowed or not.
2015-11-11 16:39:28 +01:00
Sebastian Kaspari
d8cfe26d6c Bug 1189336 - (Part 1) Rename RestrictedProfiles to Restrictions. r=ally
RestrictedProfiles: The name of the class can be confusing because it handles
guest profiles and restricted profiles. We might even query it from a normal
profile.
2015-11-11 12:29:07 +01:00
Carsten "Tomcat" Book
cddf0f77ca Merge mozilla-central to fx-team 2015-11-27 11:28:17 +01:00
Nick Alexander
615f080743 Bug 1228430 - Move build.gradle out of mobile/android/base. r=me
DONTBUILD NPOTB
2015-11-26 13:02:00 -08:00
Carsten "Tomcat" Book
2be210d5f5 Merge mozilla-central to b2g-inbound 2015-11-26 16:56:39 +01:00
Carsten "Tomcat" Book
d229b39c6e merge mozilla-inbound to mozilla-central a=merge 2015-11-26 16:54:27 +01:00
sgiles
b641f1b5c5 Bug 1224604 - Handle Hover events when TalkBack is enabled. r=kats 2015-11-25 15:25:11 +00:00
Alexandre Poirot
8d7f0946d5 Bug 1226157 - Ship nsIWorkerDebugger* idl on b2g. r=fabrice 2015-11-25 07:54:26 -08:00
Kartikaya Gupta
47a6d6b913 Bug 1226660 - Increase the fling-stop-on-tap threshold so that more taps go to content rather than stopping flings. r=snorp 2015-11-25 09:49:57 -05:00
Wes Kocher
43a9d51b08 Merge m-c to fx-team, a=merge 2015-11-24 16:56:56 -08:00
Wes Kocher
4de84f26a7 Merge fx-team to central, a=merge 2015-11-24 16:33:15 -08:00
Wes Kocher
a3b0090c64 Merge inbound to m-c a=merge 2015-11-24 13:54:06 -08:00
Kartikaya Gupta
69081a8d2d Bug 1227636 - Put back missing scrollbar styles. r=mfinkle 2015-11-24 14:23:53 -05:00
Mark Finkle
8cfec05d23 Bug 1226292 - Add telemetry for Find in Page r=liuche 2015-11-24 00:21:16 -05:00
Jim Chen
64872fbb85 Bug 1221270 - Schedule and perform GMP updates in AddonUpdateService; r=snorp
This patch moves the GMP update process from browser.js startup to
AddonUpdateService. It also uses the Gecko:ScheduleRun event in
GeckoService to schedule headless runs in order to perform updates
periodically.
2015-11-23 23:31:49 -05:00
Jim Chen
71b77b9a88 Bug 1221270 - Let AddonUpdateService use AddonManagerPrivate to check for updates; r=mfinkle
The Android-specific AddonUpdateService has a bit of redundant code
because AddonManagerPrivate has a backgroundUpdateCheck method that does
a lot of the same thing. This patch makes AddonUpdateService call that
method so there's less code and more consistency.

This requires flipping the "extensions.update.enabled" pref, which was
disabled in bug 528588 for showing the XUL addon update dialog. I don't
think this is relevant anymore in native Fennec and with the later
rewrite of AddonManager, so I'm fairly certain it's okay to flip that
pref.

The patch also disables the AddonManager update timer because we have
our own update timer on Android.
2015-11-23 23:31:49 -05:00
Jim Chen
f1718cc6df Bug 1221270 - Add GeckoService event to schedule updates via alarm manager; r=snorp
This patch adds a "Gecko:ScheduleRun" event that lets JS code schedule
an intent to be sent periodically. Right now there's a single intent
handler for "update-addons"; the handler doesn't do anything explicit
because updates are already checked automatically on Gecko launch.
2015-11-23 23:31:49 -05:00
Jim Chen
80593ca4e1 Bug 1221270 - Turn GeckoService into an IntentService; r=snorp
We want GeckoService to handle intents from the system, e.g. an intent
from the alarm manager.
2015-11-23 23:31:48 -05:00
Michael Comella
6e7dd4157a Bug 1227351 - Remove unused homepage current tab string. r=margaret
I forgot to remove this as part of bug 1224214.
2015-11-23 16:33:07 -08:00
vivek
61c026c810 Bug 1220720: Notify EOL on Honeycomb r=liuche 2015-11-23 18:36:12 -05:00
Mark Finkle
2651d84815 Bug 1215012 - mdnsd - Firefox Beta Android excessive battery usage r=xeonchen 2015-11-23 19:27:20 -05:00
Michael Comella
4b600494d4 Bug 1224214 - Remove "Set current tab" checkbox from homepage setting. r=margaret 2015-11-23 15:12:20 -08:00
Michael Comella
482e217b59 Bug 1227322 - Remove nightly flag from homepage pref. r=margaret
It seems like too much work to make a full branded non-nightly build so I
didn't strictly test this but I looked around the homepage code and saw no
other blockers on set homepage.
2015-11-23 15:24:15 -08:00
Chenxia Liu
5475ee0f24 Bug 1225092 - Improper behavior when accessing log in screen from on-boarding screen. r=ally 2015-11-20 15:23:49 -05:00
Chenxia Liu
4bb0e87ec4 Bug 1226523 - Fennec crashes after transferring bookmarks and history. r=margaret 2015-11-23 11:30:07 -05:00
Chenxia Liu
d5a491f297 Bug 1044401 - Update geolocation id. r=trivial 2015-11-23 11:20:42 -05:00
Carsten "Tomcat" Book
b1abac7a51 merge mozilla-inbound to mozilla-central a=merge 2015-11-23 14:08:50 +01:00
Chenxia Liu
90795e9c5e Bug 1044401 - Turn permissions into nouns. r=sebastian 2015-11-17 17:33:49 -08:00
Chenxia Liu
4b620818a9 Bug 1044401 - Remove title from dialog. r=sebastian 2015-11-17 17:26:19 -08:00
Chenxia Liu
2734debdcc Bug 1044401 - Update site settings dialog to be less confusing. r=sebastian 2015-11-17 17:16:30 -08:00
Wes Kocher
0015c7f94f Merge fx-team to central, a=merge 2015-11-20 14:41:45 -08:00
Carsten "Tomcat" Book
8a1da009a9 Merge mozilla-central to b2g-inbound on a CLOSED TREE 2015-11-20 14:36:21 +01:00
Wes Kocher
b68aa05ee7 Merge m-c to fx-team, a=merge 2015-11-19 13:52:24 -08:00
Wes Kocher
18817a79cc Merge fx-team to m-c a=merge 2015-11-19 13:15:28 -08:00
Kartikaya Gupta
71a2577e6e Bug 1203058 - Set the paint sync id on the top-level window rather than the tab's window, because then it won't get lost during page unload. r=rbarker 2015-11-19 09:57:51 -05:00
Kartikaya Gupta
0963f905d9 Bug 1223928 - Enable gecko scrollbars on Fennec. r=snorp 2015-11-19 09:55:21 -05:00
Kartikaya Gupta
7b1bb735a8 Bug 1223928 - Disable the Java scrollbars in Fennec with APZ enabled. r=snorp 2015-11-19 09:55:21 -05:00
Carsten "Tomcat" Book
8c38596e70 merge mozilla-inbound to mozilla-central a=merge 2015-11-19 14:44:11 +01:00
Wes Kocher
795068d5f5 Merge m-c to b2ginbound, a=merge 2015-11-19 13:51:01 -08:00
Etienne Segonzac
49abac1cab Bug 1220204 - Like on B2G, collect layers data only when needed on b2gdroid. r=fabrice 2015-11-19 11:22:44 -08:00
Michael Comella
d78ace7da2 Bug 1140448 - Backout 5 changesets to backout top level shareplane.
Changesets:
* 13a6c5fb2f44
* a9d3499bbec1
* 35336ca96de2
* 64e311403f05
* 8b8598ed040e
2015-11-18 16:14:44 -08:00
Michael Comella
0ca016fd27 Bug 1140210 - Backout 4 changesets to backout top level share plane (bug 1140048).
This is not strictly necessary but it prevents a clean backout. Changesets:
* 5b439b4654e0
* 8345f21f6518
* 156585c07b3d
* 623b15184f2a
2015-11-18 16:12:29 -08:00
Michael Comella
03160c49a9 Bug 1213486 - Backout 66d1252f9864 to backout top level shareplane (bug 1140048). 2015-11-18 16:06:19 -08:00
Michael Comella
3da8c93d43 Bug 1210989 - Backout 3 changesets to backout top level shareplane (bug 1140048).
Changesets:
* a4d2428a5016
* 08488a55289e
* 6bc04f9eddd6
2015-11-18 16:05:00 -08:00
Michael Comella
e2b8bbf9ef Bug 1213490 - Backout 3 changesets to backout top level shareplane (bug 1140048).
Changesets:
* 607576699f93
* e0fc8e81cc70
* 81f5d579fb2b
2015-11-18 15:59:26 -08:00
Michael Comella
2fc4f165ce Bug 1216307 - Backout e0ba952c2819 to backout top level shareplane (bug 1140048). 2015-11-18 15:56:52 -08:00
Carsten "Tomcat" Book
bee53c8625 Merge mozilla-central to fx-team 2015-11-19 15:24:02 +01:00
Sebastian Kaspari
6fd50bf141 Bug 1222925 - Escape hatch improvement: Detect ABI mismatches (ARM vs. x86). r=rnewman 2015-11-10 14:33:07 +01:00
Allison Naaktgeboren
382d2ffc3c Bug 1209133 - Add mms/mmsto: support.r=sebastian 2015-11-17 15:09:11 -08:00
Allison Naaktgeboren
79451483c4 Bug 1224446 - Partner sms(to)/mms(to) links missing // lose phone number in Uri pruning.r=sebastian 2015-11-17 14:56:06 -08:00
Michael Comella
d01500a4fd Bug 1140210 - Fix build errors after rebase. r=me 2015-11-19 09:57:21 -08:00
Chenxia Liu
4b9633b0a5 Bug 1209539 - Disable "Transfer" in import dialog if no items are checked. r=sebastian 2015-11-17 18:44:28 -08:00
Francois Marier
8a1fa6c429 Bug 1216723 - Add a new -forbid- Safe Browsing list type. r=gcp,r=smaug 2015-11-20 20:24:50 -08:00
Wes Kocher
31eb6e66aa Merge m-c to inbound, a=merge 2015-11-20 14:44:04 -08:00
Varun Joshi
3ea2230266 Bug 1224010 - Add UI Telemetry for setting a homepage. r=mfinkle 2015-11-22 07:15:00 +01:00
Shih-Chiang Chien
0c23681772 Bug 1222907 - report media status to MediaCastingBar. r=mfinkle. 2015-11-09 17:56:59 +08:00
Francois Marier
8e5c7339cb Bug 1227800 - Add missing XML entities on Fennec for -forbid- SB lists. r=gcp 2015-11-25 08:54:00 -08:00
Andy Chen
43506734c9 Bug 1225590 - Negate both X and Y for mouse wheel scrolling, which matches Android platform behaviour. r=kats 2015-10-30 15:32:59 -04:00
Andy Chen
c8e4ab3b66 Bug 1225566 - For pointer scrolling, we need to match Android platform behavior, to use the provided deltas, scaled by the preferred list item height. r=kats 2015-10-30 14:53:57 -04:00
Margaret Leibovic
c681c8b890 Bug 1212889 - Always use chrome://browser/content/aboutRights.xhtml to ensure mobile version of about:rights. r=mfinkle 2015-11-16 17:59:19 -05:00
Sebastian Kaspari
b2d6f9df48 Bug 1222381 - Remove default theme for restricted profiles. r=ally
Instead we will introduce a theme picker in bug 1220251.
2015-11-11 13:56:31 +01:00
Wes Kocher
0a9980fbf6 Merge m-c to fx-team, a=merge 2015-11-16 17:28:26 -08:00
Wes Kocher
268243ae19 Merge b2ginbound to central, a=merge 2015-11-16 15:38:57 -08:00
Jonathan Almeida (:jonalmeida)
d8549b1a82 Bug 1225225 - Incorrect pref type and name used ImageBlockingPolicy r=mfinkle 2015-11-16 15:37:34 -05:00
Jim Chen
6a525ebc2c Bug 1224295 - Create task when starting activity from app context; r=snorp
This patch adds FLAG_ACTIVITY_NEW_TASK to two places where we start
activities from app contexts. In GeckoAppShell, the flag replaces the
FLAG_ACTIVITY_CLEAR_TOP flag from before.
2015-11-16 16:05:42 -05:00
Sebastian Kaspari
102d6c77e8 Bug 1224530 - Replace button toasts created with getButtonToast().show() with snackbars. r=mcomella 2015-11-13 15:09:57 +01:00
Varun Joshi
c27da95e62 Bug 1214811 - unbold all instances of mUserSearchTerm in search suggestions.r=ally 2015-11-15 20:19:17 -08:00
Phil Ringnalda
bf6b0c0919 Merge m-i to m-c, a=merge 2015-11-14 13:22:10 -08:00
Richard Newman
a47d86e104 Bug 1221290 - Default to not clearing logins as part of Clear Private Data. r=liuche 2015-11-14 08:24:44 -08:00
Carsten "Tomcat" Book
d9bc694e03 Backed out changeset 09bbdb107c10 (bug 1222907) for mulet bustage 2015-11-13 15:12:30 +01:00
Sebastian Kaspari
6084fb25a5 Bug 1157526 - (Part 6) Replace "Already signed in" toast with snackbar. r=mcomella 2015-11-12 18:23:32 +01:00
Sebastian Kaspari
f91a2a1879 Bug 1157526 - (Part 5) Remove unused toast method. r=mcomella 2015-11-12 17:52:02 +01:00
Sebastian Kaspari
28437a37b3 Bug 1157526 - (Part 4) Replace "Add-on installed" toast with snackbar. r=mcomella 2015-11-12 17:49:23 +01:00
Sebastian Kaspari
0c3ddde763 Bug 1157526 - (Part 3) Replace "Image unblocked" toast with snackbar. r=mcomella 2015-11-11 20:16:50 +01:00
Sebastian Kaspari
6a1dae0f3c Bug 1157526 - (Part 2) Replace "New private tab" toast with snackbar. r=mcomella 2015-11-11 19:52:26 +01:00
Phil Ringnalda
ee1873a636 Merge m-c to b-i 2015-11-15 19:17:19 -08:00
Fabrice Desré
0da7fe6ed1 Bug 1220199 - [B2GDroid] |scrollTo({behavior: 'smooth'...| doesn't work r=kats 2015-11-13 13:11:08 -08:00
Chenxia Liu
94877be5b6 Bug 1212606 - Prompt user (with a doorhanger) to allow to notifications from a website. r=ally 2015-11-10 15:18:20 -08:00
Sebastian Kaspari
194c185b7b Bug 1157526 - (Part 1) Replace "New tab" toast with snackbar. r=mcomella 2015-11-09 20:43:54 +01:00
Prabhjyot Singh Sodhi
066022fb40 Bug 1207340 - Pref/Search Engine Suggestions UI can get out of sync. r=mcomella 2015-11-13 02:20:00 +01:00
Sebastian Kaspari
2df2c7db66 Bug 1224175 - BrowserToolbar: Do not show context menu while editing. r=mcomella 2015-11-12 13:49:55 +01:00
Shih-Chiang Chien
90e103b0f9 Bug 1222907 - report media status to MediaCastingBar. r=mfinkle. 2015-11-09 17:56:59 +08:00
dominique vincent
bdb42b7ce2 Bug 1196146 - Activation of the zoomed view in Aurora. r=mcomella 2015-11-10 21:07:21 +01:00
Carsten "Tomcat" Book
6db3dfa3d6 Merge mozilla-central to fx-team 2015-11-12 12:39:34 +01:00
Carsten "Tomcat" Book
8e3314318c merge mozilla-inbound to mozilla-central a=merge 2015-11-12 12:00:55 +01:00
Carsten "Tomcat" Book
25983f5128 merge fx-team to mozilla-central a=merge 2015-11-12 11:58:02 +01:00
Jim Chen
e7f2d544d3 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
f83f87b5eb 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
9cf7bc6dc1 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
776204544b 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
9d879a0145 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
4a8b825304 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)
2015-11-11 17:26:04 -08:00
Wes Kocher
74ef24a131 Merge m-c to fx-team, a=merge 2015-11-11 17:13:38 -08:00
Wes Kocher
88e0c59ae7 Merge m-c to b2ginbound, a=merge 2015-11-11 17:13:06 -08:00
Wes Kocher
25e2d200fc Merge inbound to central, a=merge 2015-11-11 16:42:05 -08:00
Fabrice Desré
02bae8ee6d Bug 1223666 - Enable webextensions on b2gdroid r=me 2015-11-11 14:35:55 -08:00
Fabrice Desré
e070254516 Bug 1223844 - [B2gDroid] homescreen slowly slides sideways when flinging r=kats 2015-11-11 14:17:26 -08:00
Michael Comella
7b879b1c14 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.
2015-11-11 08:58:36 -08:00
Carsten "Tomcat" Book
48415afea7 merge mozilla-inbound to mozilla-central a=merge 2015-11-11 12:42:52 +01:00
Allison Naaktgeboren
5c7d6ce683 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
e81923fda8 Bug 1107636 - Remove RelativeLayout param from within FrameLayout. r=me 2015-11-10 16:47:12 -08:00
Bill McCloskey
a1d806a296 Bug 967873 - Proxy nsDocumentViewer::PermitUnload to the child process (r=Gijs) 2015-11-11 18:04:21 -08:00
Michael Comella
2dcc626813 Bug 1107636 - Replace RelativeLayout with FrameLayout in WebApp. r=me
It shares an implementation with GeckoApp so it needs to match.
2015-11-09 14:44:59 -08:00
Carsten "Tomcat" Book
92ef7db17d Merge mozilla-central to mozilla-inbound 2015-11-11 12:44:18 +01:00
Michael Comella
c7416735ed 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
2015-11-06 16:17:48 -08:00
Michael Comella
59621b63de Bug 1107636 - Use MarginLayoutParams where applicable. r=sebastian
MarginLayoutParams is less specific than RelativeLayout.LayoutParams
and is easier to make changes with.
2015-11-06 16:16:30 -08:00
Michael Comella
a9b12f1c13 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.
2015-11-06 15:23:47 -08:00
Margaret Leibovic
e525c23acf Bug 1221679 - Properly update settings header on locale change. r=liuche 2015-11-05 17:27:32 -05:00
Sebastian Kaspari
ab23289042 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).
2015-11-05 16:11:00 +01:00
Sebastian Kaspari
448bde6acf 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.
2015-11-05 13:05:55 +01:00
Randall Barker
d4aac2b75e Bug 1223440 - Implement NativePanZoomController::setIsLongpressEnabled so long-press detection can be disabled during testing. r=kats 2015-11-10 12:47:48 -05:00