commit 9ecbfca98dc5488527495e3bfde0fabf75a8529a
Author: Kathy Brade <brade(a)pearlcrescent.com>
Date: Wed Aug 30 16:58:52 2017 -0400
squash! Bug 19273: Avoid JavaScript patching of the external app helper dialog.
When handling an external URI or downloading a file, invoke Torbutton's
external app blocker component (which will present a download warning
dialog unless the user has checked the "Automatically download files
from now on" box).
For e10s …
[View More]compatibility, avoid using a modal dialog and instead use
a callback interface (nsIHelperAppWarningLauncher) to allow Torbutton
to indicate the user's desire to cancel or continue each request.
Other bugs fixed:
Bug 21766: Crash with e10s enabled while trying to download a file
Bug 21886: Download is stalled in non-e10s mode
Bug 22471: Downloading files via the PDF viewer download button is broken
Bug 22472: Fix FTP downloads when external helper app dialog is shown
Bug 22610: Avoid crashes when canceling external helper app downloads
Bug 22618: Downloading pdf file via file:/// is stalling
---
uriloader/exthandler/nsExternalHelperAppService.cpp | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/uriloader/exthandler/nsExternalHelperAppService.cpp b/uriloader/exthandler/nsExternalHelperAppService.cpp
index df08905304fb..1c0dd8ee66f7 100644
--- a/uriloader/exthandler/nsExternalHelperAppService.cpp
+++ b/uriloader/exthandler/nsExternalHelperAppService.cpp
@@ -606,7 +606,7 @@ public:
NS_DECL_THREADSAFE_ISUPPORTS
NS_DECL_NSIHELPERAPPWARNINGLAUNCHER
- nsExternalLoadURIHandler(nsIInterfaceRequestor * aWindowContext,
+ nsExternalLoadURIHandler(nsIInterfaceRequestor *aWindowContext,
nsIURI *aURI,
nsIHandlerInfo *aHandlerInfo);
@@ -669,7 +669,7 @@ NS_IMETHODIMP nsExternalLoadURIHandler::ContinueRequest()
bool alwaysAsk = true;
mHandlerInfo->GetAlwaysAskBeforeHandling(&alwaysAsk);
- // if we are not supposed to ask, and the preferred action is to use
+ // If we are not supposed to ask, and the preferred action is to use
// a helper app or the system default, we just launch the URI.
if (!alwaysAsk && (preferredAction == nsIHandlerInfo::useHelperApp ||
preferredAction == nsIHandlerInfo::useSystemDefault))
@@ -1786,7 +1786,7 @@ NS_IMETHODIMP nsExternalAppHandler::OnStartRequest(nsIRequest *request, nsISuppo
NS_IMETHODIMP nsExternalAppHandler::ContinueRequest()
{
// Break our reference cycle with the download warning dialog (set up in
- // OnStartRequest)
+ // OnStartRequest).
mWarningDialog = nullptr;
// now that the temp file is set up, find out if we need to invoke a dialog
@@ -1908,7 +1908,7 @@ NS_IMETHODIMP nsExternalAppHandler::ContinueRequest()
NS_IMETHODIMP nsExternalAppHandler::CancelRequest(nsresult aReason)
{
// Break our reference cycle with the download warning dialog (set up in
- // OnStartRequest)
+ // OnStartRequest).
mWarningDialog = nullptr;
return Cancel(aReason);
[View Less]
commit 8e5e391c71d6c5f3ae80c88e45d1e8522f981214
Author: Kathy Brade <brade(a)pearlcrescent.com>
Date: Wed Aug 30 12:06:24 2017 -0400
fixup! Bug 19273: Avoid JavaScript patching of the external app helper dialog.
Improve the overview/summary comment in external-app-blocker.js.
---
src/components/external-app-blocker.js | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/src/components/external-app-blocker.js b/src/components/external-app-blocker.js
…
[View More]index ca86580..1f88fc7 100644
--- a/src/components/external-app-blocker.js
+++ b/src/components/external-app-blocker.js
@@ -8,9 +8,8 @@
* due to Firefox Bug https://bugzilla.mozilla.org/show_bug.cgi?id=440892
*
* An instance of this module is created each time the browser starts to
- * download a file that may be opened by another or application and when
- * an external application may be invoked to handle an URL (e.g., when the
- * user clicks on a mailto: URL).
+ * download a file and when an external application may be invoked to
+ * handle an URL (e.g., when the user clicks on a mailto: URL).
*************************************************************************/
const Cc = Components.classes;
[View Less]
commit 629170c377eb3e4371a286af8441f0ceadfd40e1
Author: Karsten Loesing <karsten.loesing(a)gmx.net>
Date: Thu Aug 31 10:43:19 2017 +0200
Document Onionoo's new version parameter.
---
website/src/main/resources/web/WEB-INF/onionoo.jsp | 15 +++++++++++++--
1 file changed, 13 insertions(+), 2 deletions(-)
diff --git a/website/src/main/resources/web/WEB-INF/onionoo.jsp b/website/src/main/resources/web/WEB-INF/onionoo.jsp
index 21305f4..4f4c68f 100644
--- a/website/src/main/resources/…
[View More]web/WEB-INF/onionoo.jsp
+++ b/website/src/main/resources/web/WEB-INF/onionoo.jsp
@@ -227,8 +227,9 @@ added response meta data fields "relays_skipped", "relays_truncated",
<li><strong>4.0</strong>: Extended search parameter to not require
leading or enclosing square brackets around IPv6 addresses anymore on
February 28, 2017.</li>
-<li><strong>4.1</strong>: Removed bridge clients objects' beta fields
-"countries", "transports", and "versions" on August 30, 2017.</li>
+<li><strong>4.1</strong>: Added "version" parameter and removed bridge
+clients objects' beta fields "countries", "transports", and "versions"
+on August 30, 2017.</li>
</ul>
@@ -476,6 +477,16 @@ a family.
</p>
</li>
+<li>
+<b>version <span class="label label-primary">new</span></b>
+<p>
+Return only relays running a Tor version that starts with the
+parameter value <i>without</i> leading <code>"Tor"</code>.
+Searchers are case-insensitive.
+<span class="blue">Added on August 30, 2017.</span>
+</p>
+</li>
+
</ul>
<p>
[View Less]
commit 2f4bc5a653557663a550c0f4bb60e7b99454f8b9
Author: iwakeh <iwakeh(a)torproject.org>
Date: Tue Aug 22 08:02:55 2017 +0000
Remove beta fields of bridge clients objects.
---
website/src/main/resources/web/WEB-INF/onionoo.jsp | 64 +---------------------
1 file changed, 2 insertions(+), 62 deletions(-)
diff --git a/website/src/main/resources/web/WEB-INF/onionoo.jsp b/website/src/main/resources/web/WEB-INF/onionoo.jsp
index 1239198..21305f4 100644
--- a/website/src/main/resources/…
[View More]web/WEB-INF/onionoo.jsp
+++ b/website/src/main/resources/web/WEB-INF/onionoo.jsp
@@ -227,6 +227,8 @@ added response meta data fields "relays_skipped", "relays_truncated",
<li><strong>4.0</strong>: Extended search parameter to not require
leading or enclosing square brackets around IPv6 addresses anymore on
February 28, 2017.</li>
+<li><strong>4.1</strong>: Removed bridge clients objects' beta fields
+"countries", "transports", and "versions" on August 30, 2017.</li>
</ul>
@@ -1836,69 +1838,7 @@ time period and higher data resolution.
The unit is number of clients.
Contained graph history objects may contain null values if the bridge did
not report client statistics for at least 50% of a given time period.
-Each graph history object contains the following additional key-value
-pairs:
</p>
-
-<ul class="properties">
-
-<li>
-<b>countries <span class="label label-danger">beta</span></b>
-<code class="typeof">object</code>
-<span class="required-false">optional</span>
-<p>
-Object containing fractions of clients by country in the considered time
-period.
-Keys are two-letter lower-case country codes as found in a GeoIP database.
-Values are numbers between 0 and 1 standing for the fraction of clients by
-country.
-A country is only included if at least 1% of clients came from this
-country.
-Omitted if the bridge did not report client statistics by country.
-<span class="red"><strong>BETA:</strong> This field breaks compatibility
-with the history objects contained in other documents pretty badly.
-It might be removed in the future without notice.</span>
-</p>
-</li>
-
-<li>
-<b>transports <span class="label label-danger">beta</span></b>
-<code class="typeof">object</code>
-<span class="required-false">optional</span>
-<p>
-Object containing fractions of clients by transport in the considered time
-period.
-Keys are transport names, or <strong>"<OR>"</strong> for the default
-onion-routing transport protocol.
-Values are numbers between 0 and 1 standing for the fraction of clients by
-transport.
-Omitted if the bridge did not report client statistics by transport.
-<span class="red"><strong>BETA:</strong> This field breaks compatibility
-with the history objects contained in other documents pretty badly.
-It might be removed in the future without notice.</span>
-</p>
-</li>
-
-<li>
-<b>versions <span class="label label-danger">beta</span></b>
-<code class="typeof">object</code>
-<span class="required-false">optional</span>
-<p>
-Object containing fractions of clients by IP version in the considered
-time period.
-Keys are either <strong>"v4"</strong> for IPv4 or <strong>"v6"</strong>
-for IPv6.
-Values are numbers between 0 and 1 standing for the fraction of clients by
-version.
-Omitted if the bridge did not report client statistics by IP version.
-<span class="red"><strong>BETA:</strong> This field breaks compatibility
-with the history objects contained in other documents pretty badly.
-It might be removed in the future without notice.</span>
-</p>
-</li>
-
-</ul>
-
</li>
</ul>
[View Less]