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

480 Коммитов

Автор SHA1 Сообщение Дата
Andrea Marchesini d4b954e4fa Bug 1238515 - nsIFilePicker methods should clearly say when they return directories and files, r=smaug 2016-01-12 19:18:15 +00:00
Carsten "Tomcat" Book de28b5128f Backed out changeset b5e8cd00d7ef (bug 1238515) for Android Test failures
--HG--
extra : rebase_source : d7883a0923a22c676f26946ab8950a9bf01490a9
2016-01-12 14:15:08 +01:00
Carsten "Tomcat" Book 0f1d4e6541 Merge mozilla-central to mozilla-inbound 2016-01-12 11:56:10 +01:00
Andrea Marchesini 923de404a2 Bug 1238515 - nsIFilePicker methods should clearly say when they return directories and files, r=smaug 2016-01-12 10:23:13 +00:00
Margaret Leibovic a7cbba863e Bug 1224661 - Clicking on a snippet should open the URL in the same tab, not a new one. r=liuche
--HG--
extra : commitid : 5yRY7J80ubL
extra : rebase_source : 1bfbe6d97a05b8ac358fcfcd7c77be38c9a747c7
2015-11-13 15:37:40 -05:00
Andrzej Hunt b2f4ef185e Bug 826400 - Part 3: Simplify homescreen shortcut creation, and use apple-touch-icon if available r=nalexander,jchen
--HG--
extra : commitid : Lrq38uwy1sQ
2015-12-29 11:49:54 -08:00
kartikey0303 5aeac1def0 Bug 1234131 - Remove unused method, deleted the method getNativeWindow(). r=skaspari 2015-12-26 17:38:37 +05:30
Mark Finkle fd91e397b8 Bug 1044289 - Update PromptService.js to handle stuff from nsPrompter.js r=margaret 2015-12-30 14:59:45 -05:00
Olli Pettay 2b2b2cc690 Bug 1155730, implement History.scrollRestoration r=jst 2015-12-26 12:59:09 +02:00
Sebastian Kaspari 8353b58ad3 Bug 1233440 - Replace toast in HelperAppDialog.js with Snackbar. r=mcomella
--HG--
extra : commitid : BV7JnAgMMF4
extra : rebase_source : bf418b81627561b2e39731b8b1635a4184cfd230
extra : histedit_source : 816bc360597b5c9428b66259caf0a5737f3082ed
2015-12-17 17:33:52 +01:00
Sebastian Kaspari 9537e298e8 Bug 1219078 - Delegate OMA downloads to external app (if available). r=mfinkle
This patch will prevent Firefox from downloading OMA download descriptors on
its own. Instead it will prompt to complete the action with an external app
if available. An error will be shown if no external app can handle the download.

--HG--
extra : commitid : KkCCwQrWwUv
extra : rebase_source : 2650328814b9ec5bba64d802b863d0ff7b3cacfc
2015-12-17 14:49:37 +01:00
Margaret Leibovic 2c5f96c388 Bug 1231896 - Catch exception thrown if we fail to reload session state for error page. r=bnicholson
--HG--
extra : commitid : EPOzqFWITju
extra : rebase_source : 7f87d1916ee425151c1f1e4ba7f4fbf665a70d56
2015-12-11 09:39:32 -05:00
Matthew Noorenberghe d77a8d39c1 Bug 1216986 - Fix usage of nsIURI.host in password manager and prompt code to support IPv6. r=dolske,liuche,kanru
--HG--
extra : commitid : zwoW6hAPKy
extra : rebase_source : 183b3f29af92860fbe232427e9e8f1cdd7116707
2015-12-02 16:13:18 -08:00
Nick Alexander 3e1c5ea1e5 Bug 1220892 - Part 1: Remove MOZ_ANDROID_NATIVE_ACCOUNTS_UI. r=mcomella
--HG--
extra : commitid : 3drJfjq0uyX
extra : rebase_source : 67a2e524b90f78e8f719e1f8efc9a84a6f9a19dd
extra : histedit_source : 68805f753e785e2d935ee221ba5243597ec24f92
2015-11-30 14:32:17 -08:00
Jim Chen 0b336e064b 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 3f2aedd313 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
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