Commit Graph

464 Commits

Author SHA1 Message Date
Margaret Leibovic
74083aac1d Bug 1212889 - Always use chrome://browser/content/aboutRights.xhtml to ensure mobile version of about:rights. r=mfinkle
--HG--
extra : commitid : IQWuv47V5So
extra : rebase_source : ffb1eff77a20af19c5f876977064336b68202cfe
2015-11-16 17:59:19 -05:00
Jonathan Almeida (:jonalmeida)
f3f9a1ef1a Bug 1225225 - Incorrect pref type and name used ImageBlockingPolicy r=mfinkle
--HG--
extra : commitid : 4B1dJr4RTTd
extra : rebase_source : 483e9c0234312c750e12fba56448e1160c5a2cb7
2015-11-16 15:37:34 -05:00
Mike Hommey
d330e46e37 Bug 1223412 - Make b2gdroid reliably use the some b2g components instead of Fennec's. r=fabrice 2015-11-14 08:40:54 +09: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
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
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
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
Stanislas Dolcini
e7680671fe Bug 1147197 - Fix Indentation in LoginManagerPrompter.js r=margaret
--HG--
extra : commitid : LmRXEOAUbW6
extra : rebase_source : e3ecd1892de691201f3f9aec083a04200d6f124d
2015-10-28 11:53:46 -04:00
Nathan Froyd
01583602a9 Bug 1207245 - part 6 - rename nsRefPtr<T> to RefPtr<T>; r=ehsan; a=Tomcat
The bulk of this commit was generated with a script, executed at the top
level of a typical source code checkout.  The only non-machine-generated
part was modifying MFBT's moz.build to reflect the new naming.

CLOSED TREE makes big refactorings like this a piece of cake.

 # The main substitution.
find . -name '*.cpp' -o -name '*.cc' -o -name '*.h' -o -name '*.mm' -o -name '*.idl'| \
    xargs perl -p -i -e '
 s/nsRefPtr\.h/RefPtr\.h/g; # handle includes
 s/nsRefPtr ?</RefPtr</g;   # handle declarations and variables
'

 # Handle a special friend declaration in gfx/layers/AtomicRefCountedWithFinalize.h.
perl -p -i -e 's/::nsRefPtr;/::RefPtr;/' gfx/layers/AtomicRefCountedWithFinalize.h

 # Handle nsRefPtr.h itself, a couple places that define constructors
 # from nsRefPtr, and code generators specially.  We do this here, rather
 # than indiscriminantly s/nsRefPtr/RefPtr/, because that would rename
 # things like nsRefPtrHashtable.
perl -p -i -e 's/nsRefPtr/RefPtr/g' \
     mfbt/nsRefPtr.h \
     xpcom/glue/nsCOMPtr.h \
     xpcom/base/OwningNonNull.h \
     ipc/ipdl/ipdl/lower.py \
     ipc/ipdl/ipdl/builtin.py \
     dom/bindings/Codegen.py \
     python/lldbutils/lldbutils/utils.py

 # In our indiscriminate substitution above, we renamed
 # nsRefPtrGetterAddRefs, the class behind getter_AddRefs.  Fix that up.
find . -name '*.cpp' -o -name '*.h' -o -name '*.idl' | \
    xargs perl -p -i -e 's/nsRefPtrGetterAddRefs/RefPtrGetterAddRefs/g'

if [ -d .git ]; then
    git mv mfbt/nsRefPtr.h mfbt/RefPtr.h
else
    hg mv mfbt/nsRefPtr.h mfbt/RefPtr.h
fi

--HG--
rename : mfbt/nsRefPtr.h => mfbt/RefPtr.h
2015-10-18 01:24:48 -04:00
Carsten "Tomcat" Book
08997000eb Backed out 2 changesets (bug 1202902) to recking bug 1202902 to be able to reopen inbound on a CLOSED TREE
Backed out changeset 647025383676 (bug 1202902)
Backed out changeset d70c7fe532c6 (bug 1202902)
2015-10-07 14:03:21 +02:00
Carsten "Tomcat" Book
e7ef778c9d Backed out 1 changesets (bug 1202902) for causing merge conflicts to mozilla-central
Backed out changeset cfc1820361f5 (bug 1202902)

--HG--
extra : rebase_source : 5d3db72337754bc7ab0ed0c30b2896100411ff92
2015-10-07 12:13:45 +02:00
Shu-yu Guo
d06b6030f6 Bug 1202902 - Scripted fix the world. 2015-10-06 14:00:31 -07:00
Jonathan Almeida [:jonalmeida]
d90d4c18d9 Bug 1170725 - Click-to-play images. r=mfinkle
--HG--
extra : transplant_source : %E7%19%F3%EF%A2%A4%09%D2%29G%C7Es%C4%16%CF%03%B0%84%A6
2015-08-15 23:36:37 -07:00
Jim Chen
28f883f2f8 Bug 1197957 - Let GeckoView open the nsWindow instead of CLH; r=snorp
Currently, BrowserCLH opens a single new window on startup. Now that
GeckoView is able to open windows through GeckoView.Window, we should
make GeckoView open its own window, which we can do earlier in startup,
and will make it possible to support multiple GeckoView's down the road.
2015-09-21 10:13:32 -04:00
Nick Alexander
cdb092fe66 Bug 1191067 - Add Fennec version of about:accounts. r=antlam,margaret
This is a Fennec version of about:accounts, cribbed largely from
Desktop's implementation.  This implementation serves two purposes:

One, it allows all fxa-content-server pref handling to remain in
Gecko.  Java-side consumers redirect to about:accounts?action=... and
have pref munging and parameter addition (like context=fx_fennec_v1,
etc) handled by about:accounts itself.

Two, it handles network connectivity display and error handling.  When
a request is started, we display an animated spinner.  We transition
smoothly from the spinner to the iframe display if we can, and if not
we hide any network error and offer to retry.  This is more important
in Fennec than it is on Desktop.  This approach agrees with Firefox
for iOS.

Some additional notes:

The spinner to iframe transition uses the WebChannel listener to send
LOADED messages to the appropriate XUL <browser> element.  It's worth
remembering that Fennec's Gecko is single process, so the <browser> in
question is in the same process.  None-the-less, we are close to e10s
safe.

There are four actions: signup/signin/force_reauth, and manage.  The
first three try to produce a LOGIN message.  The last uses the
fxa-content-server to manage the Account settings.  *This is not how
this is arranged on Desktop: Desktop redirects to a new tab, not
wrapped in about:accounts.*

--HG--
extra : commitid : F2waTwe355B
extra : rebase_source : f63c96f676d1300c774d091968ec8d88bb7a86dc
2015-09-18 16:28:14 -04:00
Wes Kocher
ebdcf9fc9e Merge b2ginbound to central, a=merge CLOSED TREE 2015-09-16 11:00:55 -07:00
Fabrice Desré
263dcda9c2 Bug 1205139 - Get @mozilla.org/embedcomp/prompt-service;1 to instantiate correctly r=dhylands 2015-09-15 23:09:43 -07:00
Shu-yu Guo
64db2267cf Bug 1202902 - Mass replace toplevel 'let' with 'var' in preparation for global lexical scope. (rs=jorendorff) 2015-09-15 11:19:45 -07:00
Justin Dolske
f1db2ce196 Bug 1198525 - Fix about:rights in Nightly and Developer edition, r=mossop, r=mfinkle
--HG--
extra : amend_source : e8f0ff258ccee6af9cfaa7c08b53e536c8dd60d4
extra : histedit_source : 869ec44df6552b3df6200d8b62b813da35f8acf3
2015-09-14 13:43:51 +05:30
Dylan Roeh
f20fa0b486 Bug 1193027 - Disables all downloads of file:// urls on Android. r=snorp 2015-09-08 15:41:36 -05:00
Fabrice Desré
c4db83258f Bug 1201145 - Make android intent & web activities coexist peacefully r=snorp
--HG--
rename : mobile/android/components/ActivitiesGlue.js => mobile/android/components/AndroidActivitiesGlue.js
2015-09-04 14:06:49 -07:00
Fabrice Desré
2e46ff4eff Bug 1181209 - Make changes to Gecko needed for b2gdroid to boot. r=fabrice
--HG--
extra : commitid : 9ntMFgbvjmP
extra : rebase_source : e47230e20d81d2207e129ca451c6e9cfe341ba55
2015-08-25 13:42:24 -07:00
Jim Chen
a800417633 Bug 1195496 - Move speculative connection from CLH to GeckoApp; r=snorp
Moving speculative connection from CLH to GeckoApp allows us to start
the speculative connection very early in the startup process rather
than later in startup.
2015-08-19 18:14:47 -04:00
Allison Naaktgeboren
f9028b72d5 Bug 1114821 - Remove nightly-only flag for about logins.r=liuche 2015-08-17 23:22:24 -07:00
Jim Chen
d1f529698f Bug 1192077 - Convert AndroidBridge JNIEnv calls; r=esawin 2015-08-13 00:53:39 -04:00
Michael Comella
cfc16b4f63 Bug 1189957 - Open noHandler results in the context they were loaded in. r=margaret
Before we loaded the url into the open tab - this approach is more correct. I
verified it fixed the issues on the Delta website mentioned in this bug.

--HG--
extra : commitid : I3vxUCNtawp
extra : rebase_source : f68bf82dea848b59d61fa8ce8ccd0045f1a35b2d
2015-08-07 16:19:23 -07:00
Margaret Leibovic
7e5cfa466d Bug 1132591 - Unpin shortcut tabs when navigating to a new host. r=mcomella
--HG--
extra : commitid : 9YghmSCOxop
extra : rebase_source : ee33ba044d4b102b2d3b1dea01427f9ab6e08bd2
2015-07-16 11:01:03 -07:00
Margaret Leibovic
e55ee1bc4e Bug 1183115 - Remove apps AboutRedirector contract from MobileComponents.manifest. r=mcomella
--HG--
extra : commitid : HbbXn10lMWT
extra : rebase_source : a228d96294fa6f967669811efa5c07d4b939defc
2015-07-15 17:16:26 -07:00
Chenxia Liu
d056b5e31b Bug 1147112 - Add doorhanger icons. r=ally
--HG--
extra : commitid : 1UbFqLnBub5
extra : rebase_source : 5894465732cb816e1443993ca3e526afc8402f90
2015-07-09 18:46:37 -07:00
Margaret Leibovic
313ec41bae Bug 1179872 - Remove about:apps page and menu item. r=mcomella
--HG--
extra : commitid : I868jpOSYPO
extra : rebase_source : bc65dc5c0f6389b79fddc5c553f6f6ef9110751e
2015-07-07 16:01:43 -07:00
Fabrice Desré
cb4b3faae4 Bug 1180507 - Don't hardcode defaultChromeURI in BrowserCLH.js r=mfinkle 2015-07-05 20:26:17 -07:00
Sebastian Kaspari
51b272a9fa backout c084008baf54 for busting home panel add-ons (bug 1178703)
--HG--
extra : commitid : DWADozj8J3Z
extra : rebase_source : d6993096aed0b65be9a7966fbe33ade512093ba2
2015-07-03 17:02:59 +02:00
Michael Comella
643934600c Bug 1177774 - Disable warnings for "aText". r=margaret
--HG--
extra : commitid : BMBTlmrCFdO
extra : rebase_source : 377f245a2a12909ada50b53041129eb6af617910
2015-06-26 14:37:41 -07:00
Michael Comella
966cb95a0b Bug 1177774 - Import ContentAreaUtils. r=margaret
--HG--
extra : commitid : Cvggf7YK8vX
extra : rebase_source : 8c836e50fac312e793bcd8a7a0457f59d35225e2
2015-06-26 14:22:39 -07:00
Michael Comella
70c086d8fe Bug 1177774 - Explicitly declare generator functions. r=margaret
Use `function* () { ... }`.

--HG--
extra : commitid : GUwUuiF2wyN
extra : rebase_source : 5b84afc83026b7476d0c92cd6452c627057be558
2015-06-26 13:31:09 -07:00
Michael Comella
a21054b998 Bug 1170804 - Fix bugs found by eslint in components/. r=margaret
A few errors still remain.

--HG--
extra : commitid : KwLqDylOiSh
extra : rebase_source : 3eaf4a7a8e38454ecc8dd781f597f561dd2e70a9
2015-06-24 21:56:23 -07:00
Chenxia Liu
4cf955fbee Bug 1173887 - Only display one title + favicon for the first doorhanger in a popup. r=ally, a=Kwierso
--HG--
extra : commitid : GFYZDG4PxZ0
extra : rebase_source : 1ae9639284ab100e1e8348e144a99bcec80646dd
2015-06-16 14:03:09 -07:00
Michael Comella
01f7d5d3d2 Bug 1168980 - Search app store when there is no app to handle intent:// URI. r=margaret
--HG--
extra : commitid : 2ObnN55CYoU
extra : rebase_source : 68b6b5118b95480ec8b83091e9c05fb4f3735300
extra : source : cf876b6ac84324ed182b221b4f6425c10a3ce099
2015-06-16 11:39:00 -07:00
Florian Quèze
46202ff411 Bug 1109354 - prefer Firefox default engines over profile-installed plugins with the same name, r=markh.
--HG--
extra : rebase_source : cdf4cb2b3969a9ac797f61c3f0b4f081353582e4
2015-06-15 18:32:09 +02:00
Chenxia Liu
44e833a7d7 Bug 1167740 - Allow editing login from "Update login" doorhanger. r=margaret
--HG--
extra : rebase_source : eb4420e38f386505b7728bd76405bcb37efc0a1c
2015-06-11 18:06:58 -07:00
Margaret Leibovic
0cd7ec4f03 Bug 1170843 - Show a warning when a user attempts to install an unsigned add-on. r=mfinkle
--HG--
extra : rebase_source : b7b79ad208be296733185be3601ebb8bd36f3ae9
2015-06-08 14:31:48 -04:00
Allison Naaktgeboren
bf0635a24a Bug 1136477 - Unify terminology of Passwords/Logins for about:logins (nee about:passwords).1/2.r=margaret
--HG--
rename : mobile/android/chrome/content/aboutPasswords.js => mobile/android/chrome/content/aboutLogins.js
rename : mobile/android/chrome/content/aboutPasswords.xhtml => mobile/android/chrome/content/aboutLogins.xhtml
rename : mobile/android/locales/en-US/chrome/aboutPasswords.dtd => mobile/android/locales/en-US/chrome/aboutLogins.dtd
rename : mobile/android/locales/en-US/chrome/aboutPasswords.properties => mobile/android/locales/en-US/chrome/aboutLogins.properties
rename : mobile/android/tests/browser/robocop/testAboutPasswords.java => mobile/android/tests/browser/robocop/testAboutLogins.java
rename : mobile/android/tests/browser/robocop/testAboutPasswords.js => mobile/android/tests/browser/robocop/testAboutLogins.js
rename : mobile/android/themes/core/aboutPasswords.css => mobile/android/themes/core/aboutLogins.css
2015-06-10 18:52:27 -07:00
Chenxia Liu
95171a3069 Bug 1147064 - Add positive/negative to buttons. r=margaret
--HG--
extra : rebase_source : 4b94763957288a5f7dca559d6ad8cd798033125b
2015-05-18 17:40:30 -07:00
Chenxia Liu
3cf5991a56 Bug 1147064 - Make negative/positive button order consistent. r=margaret
--HG--
extra : rebase_source : f08c887231cbbba5492c520f4c4bdced6f5306a2
2015-04-09 16:04:21 -07:00
Phil Ringnalda
9e83975a1c Back out 7 changesets (bug 1147064) for NullPointerExceptions
Backed out changeset 1e9ce9823fd0 (bug 1147064)
Backed out changeset 17d997c1e1dc (bug 1147064)
Backed out changeset cb76155407ab (bug 1147064)
Backed out changeset 3194afdcbb92 (bug 1147064)
Backed out changeset 87af8d27e784 (bug 1147064)
Backed out changeset fd6e15eb81c3 (bug 1147064)
Backed out changeset 1175733ce0bb (bug 1147064)
2015-06-01 21:40:01 -07:00
Chenxia Liu
dd1651bdcf Bug 1147064 - Add positive/negative to buttons. r=margaret
--HG--
extra : rebase_source : 23f2ad93fd34773c307774de20a74d5f953cc1cb
2015-05-18 17:40:30 -07:00
Chenxia Liu
e76a66f733 Bug 1147064 - Make negative/positive button order consistent. r=margaret
--HG--
extra : rebase_source : 091eab2370418bcfe6ec887ad7532ec5734349c9
2015-04-09 16:04:21 -07:00
Giorgos Logiotatidis
e6f3be5652 Bug 1155579 - Allow multiple countries per snippet. r=margaret
Giorgos Logiotatidis <giorgos@mozilla.com>
# Parent  b3b825c069146b057ff797f5e7a4a1b502d4ccf8
2015-05-07 09:42:59 -07:00