lists.torproject.org
Sign In Sign Up
Manage this list Sign In Sign Up

Keyboard Shortcuts

Thread View

  • j: Next unread message
  • k: Previous unread message
  • j a: Jump to all threads
  • j l: Jump to MailingList overview

tbb-commits

Thread Start a new thread
Threads by month
  • ----- 2026 -----
  • December
  • November
  • October
  • September
  • August
  • July
  • June
  • May
  • April
  • March
  • February
  • January
  • ----- 2025 -----
  • December
  • November
  • October
  • September
  • August
  • July
  • June
  • May
  • April
  • March
  • February
  • January
  • ----- 2024 -----
  • December
  • November
  • October
  • September
  • August
  • July
  • June
  • May
  • April
  • March
  • February
  • January
  • ----- 2023 -----
  • December
  • November
  • October
  • September
  • August
  • July
  • June
  • May
  • April
  • March
  • February
  • January
  • ----- 2022 -----
  • December
  • November
  • October
  • September
  • August
  • July
  • June
  • May
  • April
  • March
  • February
  • January
  • ----- 2021 -----
  • December
  • November
  • October
  • September
  • August
  • July
  • June
  • May
  • April
  • March
  • February
  • January
  • ----- 2020 -----
  • December
  • November
  • October
  • September
  • August
  • July
  • June
  • May
  • April
  • March
  • February
  • January
  • ----- 2019 -----
  • December
  • November
  • October
  • September
  • August
  • July
  • June
  • May
  • April
  • March
  • February
  • January
  • ----- 2018 -----
  • December
  • November
  • October
  • September
  • August
  • July
  • June
  • May
  • April
  • March
  • February
  • January
  • ----- 2017 -----
  • December
  • November
  • October
  • September
  • August
  • July
  • June
  • May
  • April
  • March
  • February
  • January
  • ----- 2016 -----
  • December
  • November
  • October
  • September
  • August
  • July
  • June
  • May
  • April
  • March
  • February
  • January
  • ----- 2015 -----
  • December
  • November
  • October
  • September
  • August
  • July
  • June
  • May
  • April
  • March
  • February
  • January
  • ----- 2014 -----
  • December
  • November
  • October
  • September
  • August
  • July
  • June
  • May
  • April
  • March
  • February
tbb-commits@lists.torproject.org

  • 1 participants
  • 21457 discussions
[torbutton/master] Bug 31768: Add new strings for Tor Browser 9 onboarding
by gk@torproject.org 09 Oct '19

09 Oct '19
commit 3a214e0399db82add929868b464699c41d785af4 Author: Kathy Brade <brade(a)pearlcrescent.com> Date: Wed Oct 9 10:55:26 2019 -0400 Bug 31768: Add new strings for Tor Browser 9 onboarding --- chrome/locale/en-US/browserOnboarding.properties | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/chrome/locale/en-US/browserOnboarding.properties b/chrome/locale/en-US/browserOnboarding.properties index e529a9b9..7acfe2eb 100644 --- a/chrome/locale/en-US/browserOnboarding.properties +++ b/chrome/locale/en-US/browserOnboarding.properties @@ -15,6 +15,8 @@ onboarding.tour-tor-privacy.button=Go to Tor Network onboarding.tour-tor-network=Tor Network onboarding.tour-tor-network.title=Travel a decentralized network. onboarding.tour-tor-network.description=Tor Browser connects you to the Tor network run by thousands of volunteers around the world. Unlike a VPN, there’s no one point of failure or centralized entity you need to trust in order to enjoy the internet privately. +onboarding.tour-tor-network.description-para2=NEW: Tor Network Settings, including the ability to request bridges where Tor is blocked, can now be found in Preferences. +onboarding.tour-tor-network.action-button=Adjust Your Tor Network Settings onboarding.tour-tor-network.button=Go to Circuit Display onboarding.tour-tor-circuit-display=Circuit Display @@ -47,12 +49,11 @@ onboarding.tour-tor-update.prefix-new=New onboarding.tour-tor-update.prefix-updated=Updated onboarding.tour-tor-toolbar=Toolbar -onboarding.tour-tor-toolbar-update-8.5.title=Toolbar layout -onboarding.tour-tor-toolbar-update-8.5.description=We improved the browser toolbar layout. We moved the Torbutton icon after the URL bar, and we added a security level icon next to it. -onboarding.tour-tor-toolbar-update-8.5.next-button=Go to Security - -onboarding.tour-tor-security-update-8.5.title=Security level experience -onboarding.tour-tor-security-update-8.5.description=We improved how you see and set your security level. We replaced the security slider with a toolbar icon that makes your current level visible at all times. Click it to view details about your current level or to change your security settings. +onboarding.tour-tor-toolbar-update-9.0.title=Goodbye Onion Button. +onboarding.tour-tor-toolbar-update-9.0.description=We want your experience using Tor to be fully integrated within Tor Browser. +onboarding.tour-tor-toolbar-update-9.0.description-para2=That's why now, rather than using the onion button, you can see your Tor Circuit via the [i] in the URL bar and request a New Identity using the toolbar button or the [=] menu. +onboarding.tour-tor-toolbar-update-9.0.button=How to Request a New Identity +onboarding.tour-tor-toolbar-update-9.0.next-button=Go to Tor Network # Circuit Display onboarding. onboarding.tor-circuit-display.next=Next
1 0
0 0
[tor-browser/tor-browser-68.1.0esr-9.0-2] fixup! TB4: Tor Browser's Firefox preference overrides.
by gk@torproject.org 09 Oct '19

09 Oct '19
commit 72c1885e368f0544a66a68e3b8a16085cd40c323 Author: Alex Catarineu <acat(a)torproject.org> Date: Wed Oct 9 18:52:28 2019 +0200 fixup! TB4: Tor Browser's Firefox preference overrides. This fixes bug 31602. --- browser/app/profile/000-tor-browser.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/browser/app/profile/000-tor-browser.js b/browser/app/profile/000-tor-browser.js index 93a661a894cb..84e35f570181 100644 --- a/browser/app/profile/000-tor-browser.js +++ b/browser/app/profile/000-tor-browser.js @@ -113,8 +113,9 @@ pref("browser.search.geoip.url", ""); pref("browser.fixup.alternate.enabled", false); // Bug #16783: Prevent .onion fixups // Make sure there is no Tracking Protection active in Tor Browser, see: #17898. pref("privacy.trackingprotection.pbmode.enabled", false); -// Disable the Pocket extension (Bug #18886) +// Disable the Pocket extension (Bug #18886 and #31602) pref("browser.pocket.enabled", false); +pref("extensions.pocket.enabled", false); pref("browser.pocket.api", ""); pref("browser.pocket.site", ""); pref("network.http.referer.hideOnionSource", true);
1 0
0 0
[torbutton/master] Bug 30504: fix new identity console errors and replace Services.qms.clear()
by gk@torproject.org 09 Oct '19

09 Oct '19
commit 6c8a666632ec6b838f7dd724f4fe0b364248b01b Author: Alex Catarineu <acat(a)torproject.org> Date: Fri Sep 27 18:11:13 2019 +0200 Bug 30504: fix new identity console errors and replace Services.qms.clear() --- chrome/content/torbutton.js | 46 ++++++++++++++++++++++++++++++++------------- 1 file changed, 33 insertions(+), 13 deletions(-) diff --git a/chrome/content/torbutton.js b/chrome/content/torbutton.js index 79f9843b..3ecc2b24 100644 --- a/chrome/content/torbutton.js +++ b/chrome/content/torbutton.js @@ -50,6 +50,20 @@ var m_tb_control_desc = null; // For logging. var m_tb_domWindowUtils = window.windowUtils; +async function clearData(flags) { + return new Promise((resolve, reject) => { + Services.clearData.deleteData(flags, { + onDataDeleted(code) { + if (code === Cr.NS_OK) { + resolve(); + } else { + reject(new Error(`Error deleting data with flags ${flags}: ${code}`)); + } + }, + }); + }); +} + // Bug 1506 P1: This object is only for updating the UI for toggling and style var torbutton_window_pref_observer = { @@ -791,7 +805,7 @@ function torbutton_new_circuit() { } // Bug 1506 P4: Needed for New Identity. -function torbutton_new_identity() { +async function torbutton_new_identity() { try { // Make sure that we can only click once on New Identiy to avoid race // conditions leading to failures (see bug 11783 for an example). @@ -818,7 +832,7 @@ function torbutton_new_identity() { m_tb_prefs.setBoolPref("extensions.torbutton.confirm_newnym", !askAgain.value); if (confirmed) { - torbutton_do_new_identity(); + await torbutton_do_new_identity(); } else { // TODO: Remove the Torbutton menu entry again once we have done our // security control redesign. @@ -826,7 +840,7 @@ function torbutton_new_identity() { document.getElementById("appMenuNewIdentity").disabled = false; } } else { - torbutton_do_new_identity(); + await torbutton_do_new_identity(); } } catch(e) { // If something went wrong make sure we have the New Identity button @@ -854,7 +868,10 @@ function torbutton_new_identity() { * i. clear content prefs * j. permissions * k. site security settings (e.g. HSTS) - * l. IndexedDB and asmjscache storage + * l. IndexedDB and other DOM storage + * m. plugin data + * n. media devices + * o. predictor network data * 3. Sends tor the NEWNYM signal to get a new circuit * 4. Opens a new window with the default homepage * 5. Closes this window @@ -862,7 +879,7 @@ function torbutton_new_identity() { * XXX: intermediate SSL certificates are not cleared. */ // Bug 1506 P4: Needed for New Identity. -function torbutton_do_new_identity() { +async function torbutton_do_new_identity() { var obsSvc = Services.obs; torbutton_log(3, "New Identity: Disabling JS"); torbutton_disable_all_js(); @@ -1004,17 +1021,20 @@ function torbutton_do_new_identity() { } torbutton_log(3, "New Identity: Clearing storage"); + torbutton_log(3, "New Identity: Clearing plugin data"); + torbutton_log(3, "New Identity: Clearing media devices"); + torbutton_log(3, "New Identity: Clearing predictor network data"); - let orig_quota_test = m_tb_prefs.getBoolPref("dom.quotaManager.testing"); try { - // This works only by setting the pref to `true` otherwise we get an - // exception and nothing is happening. - m_tb_prefs.setBoolPref("dom.quotaManager.testing", true); - Services.qms.clear(); + await clearData( + Services.clearData.CLEAR_DOM_STORAGES | + Services.clearData.CLEAR_PLUGIN_DATA | + Services.clearData.CLEAR_MEDIA_DEVICES | + Services.clearData.CLEAR_PREDICTOR_NETWORK_DATA + ); } catch (e) { - torbutton_log(5, "Exception on storage clearing: " + e); - } finally { - m_tb_prefs.setBoolPref("dom.quotaManager.testing", orig_quota_test); + torbutton_log(5, "Exception on storage clearing: " + e); + window.alert("Torbutton: Unexpected error during storage clearing: " + e); } torbutton_log(3, "New Identity: Clearing Cookies and DOM Storage");
1 0
0 0
[tor-browser/tor-browser-68.1.0esr-9.0-2] squash! TB3: Tor Browser's official .mozconfigs.
by gk@torproject.org 09 Oct '19

09 Oct '19
commit d9d5b02854f64cd638dd7215bf5d04b260116bb9 Author: Alex Catarineu <acat(a)torproject.org> Date: Wed Oct 9 15:34:28 2019 +0200 squash! TB3: Tor Browser's official .mozconfigs. Bug 30463: Explicitly disable MOZ_TELEMETRY_REPORTING --- .mozconfig | 3 +++ .mozconfig-android | 3 +++ .mozconfig-asan | 3 +++ .mozconfig-mac | 3 +++ .mozconfig-mingw | 3 +++ 5 files changed, 15 insertions(+) diff --git a/.mozconfig b/.mozconfig index 604a4b4b1d0a..9383f1ad1a73 100755 --- a/.mozconfig +++ b/.mozconfig @@ -23,3 +23,6 @@ ac_add_options --disable-webrtc # Let's make sure no preference is enabling either Adobe's or Google's CDM. ac_add_options --disable-eme ac_add_options --enable-proxy-bypass-protection + +# Disable telemetry +ac_add_options MOZ_TELEMETRY_REPORTING= \ No newline at end of file diff --git a/.mozconfig-android b/.mozconfig-android index 2a7d75bb252f..cc4a1f3ebd59 100755 --- a/.mozconfig-android +++ b/.mozconfig-android @@ -37,3 +37,6 @@ ac_add_options --disable-webrtc ac_add_options --without-google-play-services ac_add_options --enable-proxy-bypass-protection + +# Disable telemetry +ac_add_options MOZ_TELEMETRY_REPORTING= \ No newline at end of file diff --git a/.mozconfig-asan b/.mozconfig-asan index 8748f5825d3e..49b8f2bcd037 100644 --- a/.mozconfig-asan +++ b/.mozconfig-asan @@ -39,3 +39,6 @@ ac_add_options --disable-crashreporter ac_add_options --disable-webrtc ac_add_options --disable-eme ac_add_options --enable-proxy-bypass-protection + +# Disable telemetry +ac_add_options MOZ_TELEMETRY_REPORTING= \ No newline at end of file diff --git a/.mozconfig-mac b/.mozconfig-mac index fb5d97a52ca0..5fdf0262e862 100644 --- a/.mozconfig-mac +++ b/.mozconfig-mac @@ -51,3 +51,6 @@ ac_add_options --disable-tests # Let's make sure no preference is enabling either Adobe's or Google's CDM. ac_add_options --disable-eme ac_add_options --enable-proxy-bypass-protection + +# Disable telemetry +ac_add_options MOZ_TELEMETRY_REPORTING= \ No newline at end of file diff --git a/.mozconfig-mingw b/.mozconfig-mingw index 9990b8d403ec..14aa8ff55193 100644 --- a/.mozconfig-mingw +++ b/.mozconfig-mingw @@ -25,3 +25,6 @@ ac_add_options --disable-maintenance-service ac_add_options --disable-webrtc ac_add_options --disable-tests ac_add_options --enable-proxy-bypass-protection + +# Disable telemetry +ac_add_options MOZ_TELEMETRY_REPORTING= \ No newline at end of file
1 0
0 0
[tor-browser-build/master] Bug 31568: Update How to Create Gradle Dependencies
by gk@torproject.org 09 Oct '19

09 Oct '19
commit 5d8507dd6ae08f9d3552aba0b34cab918c35e341 Author: sisbell <shane.isbell(a)gmail.com> Date: Mon Sep 16 12:01:54 2019 -0700 Bug 31568: Update How to Create Gradle Dependencies --- .../how-to-create-gradle-dependencies-list.txt | 25 +++++++++++++++++++--- 1 file changed, 22 insertions(+), 3 deletions(-) diff --git a/projects/common/how-to-create-gradle-dependencies-list.txt b/projects/common/how-to-create-gradle-dependencies-list.txt index d980ba2..e85c56a 100644 --- a/projects/common/how-to-create-gradle-dependencies-list.txt +++ b/projects/common/how-to-create-gradle-dependencies-list.txt @@ -1,11 +1,22 @@ ### Updating Gradle Dependencies If additional Android dependencies are required by the project's build, then the Gradle build will fail due to missing dependencies. To find out what the -missing dependencies are, comment out the following line in the project's build -file: +missing dependencies are take the following steps. + +For tor-onion-proxy-library and tor-android-service, replace the following line +in the respective project build file: + $GRADLE_HOME/gradle-4.10.2/bin/gradle --offline --no-daemon -P androidplugin=3.1.0 -Dmaven.repo.local=$gradle_repo assembleRelease -x lint +with + $GRADLE_HOME/gradle-4.10.2/bin/gradle --debug --no-daemon -P androidplugin=3.1.0 assembleRelease -x lint + +For the firefox project, comment out the following line in the project's build file: export GRADLE_MAVEN_REPOSITORIES="file://$rootdir/[% c('input_files_by_name/gradle-dependencies') %]" +Also modify the gradle flags to include the debug option so the download logs will show up: + + export GRADLE_FLAGS="--no-daemon --debug" + then allow network access during the build by setting var/container/disable_network/build to 0 in rbm.conf, and rerun the build. @@ -13,7 +24,15 @@ Dependent artifacts will show up as downloads in the logs. You can pull out these dependencies into a list with the following command (replacing "firefox-android-armv7.log" with the build log file name of the actual project): -`cat logs/firefox-android-armv7.log | grep "Download http" | sed "s/^.*Download //g" > download-urls.txt` +`cat logs/firefox-android-armv7.log | grep "Performing HTTP" | grep -o "https://.*" | sort | uniq > download-attempts.txt` + +The download-attempts.txt file contains all the attempted downloads, so we need to find out which ones failed + +`cat logs/firefox-android-armv7.log | grep "Resource missing" | grep -o "https:.*[^]]" | sort | uniq > download-fails.txt` + +Now take the intersection. This removes failures from attempts, leaving just successful downloads + +`sort download-attempts.txt download-fails.txt | uniq -u | rev | sort -t/ -u -k1,4 | rev | sort > download-urls.txt` You will then need to add the new dependency URLs and SHA-256 values into the projects/$project/gradle-dependencies-list.txt file. The format of this file is
1 0
0 0
[tor-browser/tor-browser-68.1.0esr-9.0-2] Bug 27511: Add new identity button to toolbar
by gk@torproject.org 09 Oct '19

09 Oct '19
commit 1a1a15edd4288a852610ddc173bac9442c367c50 Author: Alex Catarineu <acat(a)torproject.org> Date: Fri Oct 4 19:08:33 2019 +0200 Bug 27511: Add new identity button to toolbar Also added 'New circuit for this site' button to CustomizableUI, but not visible by default. --- browser/base/content/browser.xul | 10 ++++++++++ .../components/customizableui/CustomizableUI.jsm | 21 +++++++++++++++++++++ browser/themes/shared/icons/new_circuit.svg | 8 ++++++++ browser/themes/shared/icons/new_identity.svg | 9 +++++++++ browser/themes/shared/jar.inc.mn | 3 +++ browser/themes/shared/menupanel.inc.css | 8 ++++++++ browser/themes/shared/toolbarbutton-icons.inc.css | 8 ++++++++ 7 files changed, 67 insertions(+) diff --git a/browser/base/content/browser.xul b/browser/base/content/browser.xul index 65e84da77c3f..6a81cc8c0f72 100644 --- a/browser/base/content/browser.xul +++ b/browser/base/content/browser.xul @@ -1207,6 +1207,16 @@ ondragenter="newWindowButtonObserver.onDragOver(event)" ondragexit="newWindowButtonObserver.onDragExit(event)"/> + <toolbarbutton id="new-identity-button" class="toolbarbutton-1 chromeclass-toolbar-additional" + label="&torbutton.context_menu.new_identity;" + oncommand="torbutton_new_identity();" + tooltiptext="&torbutton.context_menu.new_identity;"/> + + <toolbarbutton id="new-circuit-button" class="toolbarbutton-1 chromeclass-toolbar-additional" + label="&torbutton.context_menu.new_circuit;" + oncommand="torbutton_new_circuit();" + tooltiptext="&torbutton.context_menu.new_circuit;"/> + <toolbarbutton id="fullscreen-button" class="toolbarbutton-1 chromeclass-toolbar-additional" observes="View:FullScreen" type="checkbox" diff --git a/browser/components/customizableui/CustomizableUI.jsm b/browser/components/customizableui/CustomizableUI.jsm index 4103fc5dd788..5040ac18f994 100644 --- a/browser/components/customizableui/CustomizableUI.jsm +++ b/browser/components/customizableui/CustomizableUI.jsm @@ -68,6 +68,8 @@ const kSubviewEvents = ["ViewShowing", "ViewHiding"]; */ var kVersion = 16; +var kTorVersion = 1; + /** * Buttons removed from built-ins by version they were removed. kVersion must be * bumped any time a new id is added to this. Use the button id as key, and @@ -566,6 +568,20 @@ var CustomizableUIInternal = { navbarPlacements.push("fxa-toolbar-menu-button"); } } + + let currentTorVersion = gSavedState.currentTorVersion; + if (currentTorVersion < 1 && gSavedState.placements) { + let navbarPlacements = gSavedState.placements[CustomizableUI.AREA_NAVBAR]; + if (navbarPlacements) { + let secLevelIndex = navbarPlacements.indexOf("security-level-button"); + if (secLevelIndex === -1) { + let urlbarIndex = navbarPlacements.indexOf("urlbar-container"); + secLevelIndex = urlbarIndex + 1; + navbarPlacements.splice(secLevelIndex, 0, "security-level-button"); + } + navbarPlacements.splice(secLevelIndex + 1, 0, "new-identity-button"); + } + } }, /** @@ -2369,6 +2385,10 @@ var CustomizableUIInternal = { gSavedState.currentVersion = 0; } + if (!("currentTorVersion" in gSavedState)) { + gSavedState.currentTorVersion = 0; + } + gSeenWidgets = new Set(gSavedState.seen || []); gDirtyAreaCache = new Set(gSavedState.dirtyAreaCache || []); gNewElementCount = gSavedState.newElementCount || 0; @@ -2447,6 +2467,7 @@ var CustomizableUIInternal = { seen: gSeenWidgets, dirtyAreaCache: gDirtyAreaCache, currentVersion: kVersion, + currentTorVersion: kTorVersion, newElementCount: gNewElementCount, }; diff --git a/browser/themes/shared/icons/new_circuit.svg b/browser/themes/shared/icons/new_circuit.svg new file mode 100644 index 000000000000..e0a93cc83502 --- /dev/null +++ b/browser/themes/shared/icons/new_circuit.svg @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<svg width="16px" height="16px" viewBox="0 0 16 16" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> + <title>Icon / New Circuit(a)1.5x</title> + <g id="Icon-/-New-Circuit" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"> + <path d="M13.4411138,10.1446317 L9.5375349,10.1446317 C8.99786512,10.1446317 8.56164018,10.5818326 8.56164018,11.1205264 C8.56164018,11.6592203 8.99786512,12.0964212 9.5375349,12.0964212 L11.4571198,12.0964212 C10.7554515,13.0479185 9.73466563,13.692009 8.60067597,13.9359827 C8.41818366,13.9720908 8.23276366,14.0033194 8.04734366,14.0218614 C7.97219977,14.0277168 7.89803177,14.0306445 7.82288788,14.0335722 C6.07506044,14.137017 4.290149,13.4499871 3.38647049,11.857327 C2.52280367,10.3349312 2.77263271,8.15966189 3.93687511,6.87343267 C5.12453898,5.56183017 7.44814431,5.04363008 8.21226987,3.38558497 C9.01738301,4.92847451 9.60682342,5.02801577 10.853041,6.15029468 C11.2892659,6.54455615 11.9704404,7.55558307 12.1861132,8.10501179 C12.3051723,8.40949094 12.5013272,9.17947187 12.5013272,9.17947187 L14.2862386,9.17947187 C14.2091429,7.59754654 13.439162,5.96877827 12.2261248,4.93628166 C11.279507,4.13116853 10.5065984,3.84718317 9.77662911,2.8088312 C9.63219669,2.60194152 9.599 99216,2.4565332 9.56290816,2.21646311 C9.53851079,2.00762164 9.54143848,1.78511764 9.62048595,1.53919218 C9.65952174,1.41720534 9.59804037,1.28545955 9.47702943,1.23764071 L6.40296106,0.0167964277 C6.32391359,-0.0134563083 6.23413128,-0.00272146652 6.16679454,0.0480250584 L5.95502539,0.206120002 C5.85743592,0.280288 5.82815908,0.416913259 5.89159223,0.523285783 C6.70060895,1.92564648 6.36978064,2.82542141 5.8984235,3.20211676 C5.4914754,3.4900057 4.99084141,3.72226864 4.63366394,3.95453159 C3.82367132,4.47956294 3.03222071,5.02508808 2.40374451,5.76774396 C0.434388969,8.09427695 0.519291809,12.0046871 2.77165682,14.1077402 C3.65288975,14.9284676 4.70295247,15.4749686 5.81742423,15.7570022 C5.81742423,15.7570022 6.13556591,15.833122 6.21754107,15.8497122 C7.36616915,16.0829511 8.53529102,16.0146384 9.62243774,15.6672199 C9.67416016,15.6525815 9.77174963,15.620377 9.76784605,15.6154975 C10.7730176,15.2700308 11.7049971,14.7010841 12.4652191,13.90573 L12.4652191,15.0241053 C12.4652191, 15.5627992 12.901444,16 13.4411138,16 C13.9798077,16 14.4170085,15.5627992 14.4170085,15.0241053 L14.4170085,11.1205264 C14.4170085,10.5818326 13.9798077,10.1446317 13.4411138,10.1446317" id="Fill-3" fill="context-fill" fill-opacity="context-fill-opacity"></path> + <path d="M5.107,7.462 C4.405,8.078 4,8.946 4,9.839 C4,10.712 4.422,11.57 5.13,12.132 C5.724,12.607 6.627,12.898 7.642,12.949 L7.642,5.8 C7.39,6.029 7.103,6.227 6.791,6.387 C5.993,6.812 5.489,7.133 5.107,7.462" id="Fill-1" fill="context-fill" fill-opacity="context-fill-opacity"></path> + </g> +</svg> diff --git a/browser/themes/shared/icons/new_identity.svg b/browser/themes/shared/icons/new_identity.svg new file mode 100644 index 000000000000..91d5b35f7e80 --- /dev/null +++ b/browser/themes/shared/icons/new_identity.svg @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="UTF-8"?> +<svg width="16px" height="16px" viewBox="0 0 16 16" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> + <title>New Identity Icon</title> + <g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"> + <g id="New-Identity-Icon" fill="#000000" fill-rule="nonzero"> + <path d="M4.65687153,14.5532899 L5.79494313,12.0855326 C5.8689125,11.9251399 5.6620883,11.7793527 5.53742729,11.9040137 L3.77194352,13.6694975 L2.32342782,12.2228406 L4.089841,10.4564274 C4.21450201,10.3317664 4.06871482,10.1249422 3.90832206,10.1989116 L1.43773764,11.338287 L0.206601383,10.1087306 C0.0509544211,9.9532834 -0.0167994233,9.75447206 0.00351451705,9.53432844 C0.0238284574,9.31418483 0.154794797,9.13897939 0.330406365,9.0302193 L4.61213917,6.53066101 C4.98542292,6.31331572 5.42541251,6.16259067 5.8659261,6.07796117 C6.63682488,5.92985954 7.40999434,6.06817199 8.09666802,6.42610336 L12.618483,1.910278 C13.0562019,1.47313888 13.7399062,1.45652879 14.1403159,1.87828207 C14.5407256,2.30003536 14.523905,2.96081599 14.0861861,3.39795511 L9.56437119,7.91378047 C9.92258101,8.57753432 10.0391721,9.37155544 9.91292178,10.1416209 C9.85023328,10.5817332 9.67706706,10.9989392 9.45960494,11.3937636 L6.95651989,15.6478297 C6.84761416,15.82321 6.6720026,15.9319701 6.47398108 ,15.9964916 C6.25354962,16.0167745 6.0544801,15.9491049 5.89883314,15.7936577 L4.65687153,14.5532899 L4.65687153,14.5532899 Z M6.35600863,9.57888316 C6.35684236,9.57982492 6.35770616,9.58074275 6.35860024,9.58163642 L7.56801202,10.7899206 C7.78820303,11.010009 8.15567242,10.9533982 8.29166823,10.678253 C8.42766403,10.4031079 8.55818512,10.1511975 8.61427424,9.83946755 C8.73630873,9.14856819 8.51477165,8.45005355 8.01189873,7.92920397 C8.01085853,7.92816425 8.00979562,7.92715687 8.00871022,7.92618158 C8.00773493,7.92509618 8.00672754,7.92403327 8.00568783,7.92299307 C7.48483824,7.42012014 6.7863236,7.19858307 6.09542425,7.32061756 C5.78369428,7.37670668 5.53178393,7.50722777 5.25663877,7.64322357 C4.98149362,7.77921937 4.92488284,8.14668876 5.14497116,8.36687978 L6.35325537,9.57629155 C6.35414904,9.57718564 6.35506687,9.57804944 6.35600863,9.57888316 L6.35600863,9.57888316 Z M3.56503003,4.86094581 C3.44279837,4.85716019 3.33693302,4.76594656 3.31450832,4.6450962 C3.29259157,4.5009814 3 3.24425431,4.36089837 3.1719467,4.23194774 C3.04272848,4.15978087 2.90235166,4.11153221 2.75793184,4.08964745 C2.63678145,4.06729735 2.5453314,3.9616241 2.54155161,3.83961366 C2.53777182,3.71760322 2.62276629,3.61489221 2.74265726,3.59658884 C2.88757581,3.57942626 3.02687427,3.53584537 3.15371096,3.46798665 C3.21938702,3.3436261 3.26061987,3.20700605 3.27529255,3.0651408 C3.29205048,2.94466859 3.39451537,2.85825378 3.5172925,2.86104768 C3.6386065,2.86399065 3.74452528,2.95324633 3.76872081,3.07292141 C3.79288781,3.21715288 3.84342323,3.35694342 3.91777207,3.4852254 C4.04615548,3.55876237 4.18583906,3.60883869 4.32991405,3.63297757 C4.45015386,3.6576218 4.53936117,3.76418021 4.54139495,3.88559216 C4.54342874,4.00700411 4.45770065,4.10814717 4.33816215,4.12536877 C4.1960481,4.14067978 4.05931708,4.18249381 3.9349938,4.24866259 C3.86697751,4.37522253 3.82328954,4.51422019 3.80607564,4.65882867 C3.78847982,4.77811508 3.68677836,4.86339193 3.56503003,4.86094581 Z M14.4103464,14.3126948 C14.2513672,14.307719 14.1137716,14.188804 14.0849193,14.0314492 C14.045996,13.7585014 13.9510862,13.4938971 13.8061961,13.2543814 C13.5663773,13.109665 13.301434,13.0148623 13.0281329,12.9759728 C12.8707684,12.946921 12.75198,12.8095493 12.7470672,12.6509372 C12.7421545,12.492325 12.8525523,12.3587997 13.0082799,12.3350024 C13.2816632,12.3044807 13.5433622,12.2185794 13.7775725,12.0824861 C13.9099238,11.8524988 13.992337,11.5955854 14.0197279,11.3275956 C14.0417134,11.1717293 14.1740126,11.0598594 14.3327736,11.0628895 C14.4905572,11.0667732 14.6282205,11.1831391 14.6593783,11.3389665 C14.703143,11.6110771 14.8017156,11.8740418 14.9490566,12.1117486 C15.1872615,12.2578242 15.450159,12.3559923 15.7221615,12.4004323 C15.8783433,12.4324665 15.9942186,12.5709889 15.9968634,12.7288231 C15.9995083,12.8866572 15.8881575,13.0181443 15.7328877,13.0405352 C15.4641157,13.0669716 15.2064728,13.14931 14.9763475,13.2823129 C14.8406047,13.5164173 14.7548186,13.7777086 14.724105,14.0506041 C14.70 09285,14.2056508 14.5685348,14.3162427 14.4103464,14.3126948 Z M8.37194288,2.75251202 C8.23729358,2.7482977 8.12075529,2.6475812 8.09631849,2.5143077 C8.06335201,2.28313133 7.98296703,2.05902158 7.86025062,1.85616098 C7.65713325,1.73359169 7.43273641,1.65329741 7.2012608,1.62035947 C7.06797908,1.59575373 6.9673698,1.47940513 6.96320889,1.34506671 C6.95904797,1.21072829 7.05255074,1.09763741 7.18444606,1.07748204 C7.41599123,1.0516313 7.6376403,0.978876138 7.83600755,0.863610339 C7.94810399,0.668819911 8.01790485,0.45122403 8.04110388,0.224246882 C8.05972477,0.0922341146 8.17177714,-0.00251545243 8.30624168,5.089704e-05 C8.43987839,0.00334026838 8.55647391,0.101897787 8.58286336,0.233877601 C8.61993042,0.464344927 8.70341768,0.687066016 8.82820981,0.888394549 C9.02996027,1.012115 9.25262444,1.09525963 9.4830002,1.13289867 C9.6152802,1.16003037 9.71342219,1.27735361 9.71566226,1.41103311 C9.71790232,1.5447126 9.62359245,1.65607713 9.49208487,1.67504141 C9.26444525,1.69743199 9.0462315 3,1.76716948 8.85132417,1.87981789 C8.73635526,2.07809534 8.66369764,2.2993991 8.63768445,2.53053117 C8.61805481,2.66184983 8.50592239,2.75551697 8.37194288,2.75251202 Z" id="Shape" fill="context-fill" fill-opacity="context-fill-opacity"></path> + </g> + </g> +</svg> \ No newline at end of file diff --git a/browser/themes/shared/jar.inc.mn b/browser/themes/shared/jar.inc.mn index 7decceb8100b..680893a66140 100644 --- a/browser/themes/shared/jar.inc.mn +++ b/browser/themes/shared/jar.inc.mn @@ -270,3 +270,6 @@ skin/classic/browser/privatebrowsing/favicon.svg (../shared/privatebrowsing/favicon.svg) skin/classic/browser/privatebrowsing/private-browsing.svg (../shared/privatebrowsing/private-browsing.svg) skin/classic/browser/privatebrowsing/tracking-protection.svg (../shared/privatebrowsing/tracking-protection.svg) + + skin/classic/browser/new_circuit.svg (../shared/icons/new_circuit.svg) + skin/classic/browser/new_identity.svg (../shared/icons/new_identity.svg) diff --git a/browser/themes/shared/menupanel.inc.css b/browser/themes/shared/menupanel.inc.css index 2fe9bdd79438..268315240d9a 100644 --- a/browser/themes/shared/menupanel.inc.css +++ b/browser/themes/shared/menupanel.inc.css @@ -161,3 +161,11 @@ toolbarpaletteitem[place="palette"] > #bookmarks-menu-button, #appMenu-library-downloads-show-button { list-style-image: url("chrome://browser/skin/folder.svg"); } + +#appMenuNewIdentity { + list-style-image: url("chrome://browser/skin/new_identity.svg"); +} + +#appMenuNewCircuit { + list-style-image: url("chrome://browser/skin/new_circuit.svg"); +} \ No newline at end of file diff --git a/browser/themes/shared/toolbarbutton-icons.inc.css b/browser/themes/shared/toolbarbutton-icons.inc.css index 1c6c03cf26da..b843aa37daad 100644 --- a/browser/themes/shared/toolbarbutton-icons.inc.css +++ b/browser/themes/shared/toolbarbutton-icons.inc.css @@ -227,6 +227,14 @@ toolbar[brighttext] { list-style-image: url("chrome://browser/skin/new-tab.svg"); } +#new-identity-button { + list-style-image: url("chrome://browser/skin/new_identity.svg"); +} + +#new-circuit-button { + list-style-image: url("chrome://browser/skin/new_circuit.svg"); +} + #privatebrowsing-button { list-style-image: url("chrome://browser/skin/privateBrowsing.svg"); }
1 0
0 0
[tor-browser/tor-browser-68.1.0esr-9.0-2] Update Torbutton to latest changes
by gk@torproject.org 09 Oct '19

09 Oct '19
commit b744ccf7e59c60cf7929f77c71a6494e91d4e1da Author: Georg Koppen <gk(a)torproject.org> Date: Wed Oct 9 07:15:17 2019 +0000 Update Torbutton to latest changes --- toolkit/torproject/torbutton | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/toolkit/torproject/torbutton b/toolkit/torproject/torbutton index 4f453d5570d4..3509fb9c4e9d 160000 --- a/toolkit/torproject/torbutton +++ b/toolkit/torproject/torbutton @@ -1 +1 @@ -Subproject commit 4f453d5570d4177f82f2215d8041f901a13a92a1 +Subproject commit 3509fb9c4e9db216066a0d102f37d9e3d1434ef0
1 0
0 0
[torbutton/master] Bug 31747: Move new identity and new circuit icons to browser repo
by gk@torproject.org 09 Oct '19

09 Oct '19
commit 3509fb9c4e9db216066a0d102f37d9e3d1434ef0 Author: Alex Catarineu <acat(a)torproject.org> Date: Fri Oct 4 19:12:49 2019 +0200 Bug 31747: Move new identity and new circuit icons to browser repo --- chrome/content/torbutton.js | 54 --------------------------------------------- chrome/skin/new_circuit.svg | 8 ------- chrome/skin/torbutton.css | 10 +-------- 3 files changed, 1 insertion(+), 71 deletions(-) diff --git a/chrome/content/torbutton.js b/chrome/content/torbutton.js index 907e4278..79f9843b 100644 --- a/chrome/content/torbutton.js +++ b/chrome/content/torbutton.js @@ -345,60 +345,6 @@ function torbutton_init() { torbutton_log(1, "registering Tor check observer"); torbutton_tor_check_observer.register(); - // Add torbutton and security level buttons to the bar. - // This should maybe be in the startup function, but we want to add - // the button to the panel before it's state (color) is set.. - let insertedButton = m_tb_prefs.getBoolPref("extensions.torbutton.inserted_button"); - let insertedSecurityLevel = m_tb_prefs.getBoolPref("extensions.torbutton.inserted_security_level"); - if (!insertedButton || !insertedSecurityLevel) { - try { - // ESR31-style toolbar is handled by the existing compiled-in pref. - // We also need to prevent first-run toolbar reorg (#13378), so we - // reset this toolbar state on first-run. - try { - // get serialized toolbar state - let uiCustomizationStateJSON = m_tb_prefs.getStringPref("browser.uiCustomization.state"); - let uiCustomizationState = JSON.parse(uiCustomizationStateJSON); - - let placeButtonAfterUrlbar = function(navBar, buttonId) { - torbutton_log(3, 'placing ' + buttonId); - // try and remove button if it's present - let buttonIndex = navBar.indexOf(buttonId); - if (buttonIndex != -1) { - navBar.splice(buttonIndex, 1); - } - // if urlbar isn't present (which *shouldn't* be possible), - // inserts button at the beginning of the toolbar (since urlbarIndex will be -1) - let urlbarIndex = navBar.indexOf("urlbar-container"); - buttonIndex = urlbarIndex + 1; - navBar.splice(buttonIndex, 0, buttonId); - }; - - // array of navbar elements - let navBar = uiCustomizationState["placements"]["nav-bar"]; - placeButtonAfterUrlbar(navBar, "security-level-button"); - placeButtonAfterUrlbar(navBar, "torbutton-button"); - - // serialize back into pref - uiCustomizationStateJSON = JSON.stringify(uiCustomizationState, null, 0); - m_tb_prefs.setStringPref("browser.uiCustomization.state", uiCustomizationStateJSON); - } catch(e) { - torbutton_log(4, 'error updating toolbar, reverting to default : ' + e); - // reverts the serialized toolbar state to default set in Tor Browser - m_tb_prefs.clearUserPref("browser.uiCustomization.state"); - } - // reverts toolbar state to firefox defaults - CustomizableUI.reset(); - // 'restores' toolbar state from serialized state in "browser.uiCustomization.state" - CustomizableUI.undoReset(); - torbutton_log(3, 'toolbar updated'); - m_tb_prefs.setBoolPref("extensions.torbutton.inserted_button", true); - m_tb_prefs.setBoolPref("extensions.torbutton.inserted_security_level", true); - } catch(e) { - torbutton_log(4, 'failed to update the toolbar : ' + e); - } - } - torbutton_update_toolbutton(); torbutton_notify_if_update_needed(); diff --git a/chrome/skin/new_circuit.svg b/chrome/skin/new_circuit.svg deleted file mode 100644 index e0a93cc8..00000000 --- a/chrome/skin/new_circuit.svg +++ /dev/null @@ -1,8 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<svg width="16px" height="16px" viewBox="0 0 16 16" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> - <title>Icon / New Circuit(a)1.5x</title> - <g id="Icon-/-New-Circuit" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"> - <path d="M13.4411138,10.1446317 L9.5375349,10.1446317 C8.99786512,10.1446317 8.56164018,10.5818326 8.56164018,11.1205264 C8.56164018,11.6592203 8.99786512,12.0964212 9.5375349,12.0964212 L11.4571198,12.0964212 C10.7554515,13.0479185 9.73466563,13.692009 8.60067597,13.9359827 C8.41818366,13.9720908 8.23276366,14.0033194 8.04734366,14.0218614 C7.97219977,14.0277168 7.89803177,14.0306445 7.82288788,14.0335722 C6.07506044,14.137017 4.290149,13.4499871 3.38647049,11.857327 C2.52280367,10.3349312 2.77263271,8.15966189 3.93687511,6.87343267 C5.12453898,5.56183017 7.44814431,5.04363008 8.21226987,3.38558497 C9.01738301,4.92847451 9.60682342,5.02801577 10.853041,6.15029468 C11.2892659,6.54455615 11.9704404,7.55558307 12.1861132,8.10501179 C12.3051723,8.40949094 12.5013272,9.17947187 12.5013272,9.17947187 L14.2862386,9.17947187 C14.2091429,7.59754654 13.439162,5.96877827 12.2261248,4.93628166 C11.279507,4.13116853 10.5065984,3.84718317 9.77662911,2.8088312 C9.63219669,2.60194152 9.599 99216,2.4565332 9.56290816,2.21646311 C9.53851079,2.00762164 9.54143848,1.78511764 9.62048595,1.53919218 C9.65952174,1.41720534 9.59804037,1.28545955 9.47702943,1.23764071 L6.40296106,0.0167964277 C6.32391359,-0.0134563083 6.23413128,-0.00272146652 6.16679454,0.0480250584 L5.95502539,0.206120002 C5.85743592,0.280288 5.82815908,0.416913259 5.89159223,0.523285783 C6.70060895,1.92564648 6.36978064,2.82542141 5.8984235,3.20211676 C5.4914754,3.4900057 4.99084141,3.72226864 4.63366394,3.95453159 C3.82367132,4.47956294 3.03222071,5.02508808 2.40374451,5.76774396 C0.434388969,8.09427695 0.519291809,12.0046871 2.77165682,14.1077402 C3.65288975,14.9284676 4.70295247,15.4749686 5.81742423,15.7570022 C5.81742423,15.7570022 6.13556591,15.833122 6.21754107,15.8497122 C7.36616915,16.0829511 8.53529102,16.0146384 9.62243774,15.6672199 C9.67416016,15.6525815 9.77174963,15.620377 9.76784605,15.6154975 C10.7730176,15.2700308 11.7049971,14.7010841 12.4652191,13.90573 L12.4652191,15.0241053 C12.4652191, 15.5627992 12.901444,16 13.4411138,16 C13.9798077,16 14.4170085,15.5627992 14.4170085,15.0241053 L14.4170085,11.1205264 C14.4170085,10.5818326 13.9798077,10.1446317 13.4411138,10.1446317" id="Fill-3" fill="context-fill" fill-opacity="context-fill-opacity"></path> - <path d="M5.107,7.462 C4.405,8.078 4,8.946 4,9.839 C4,10.712 4.422,11.57 5.13,12.132 C5.724,12.607 6.627,12.898 7.642,12.949 L7.642,5.8 C7.39,6.029 7.103,6.227 6.791,6.387 C5.993,6.812 5.489,7.133 5.107,7.462" id="Fill-1" fill="context-fill" fill-opacity="context-fill-opacity"></path> - </g> -</svg> diff --git a/chrome/skin/torbutton.css b/chrome/skin/torbutton.css index 638520f9..669e05e5 100644 --- a/chrome/skin/torbutton.css +++ b/chrome/skin/torbutton.css @@ -58,12 +58,4 @@ svg#tor-circuit circle.node-circle { stroke: #195021; stroke-width: 2px; fill: white; -} - -#appMenuNewIdentity { - list-style-image: url("chrome://browser/skin/reload.svg"); -} - -#appMenuNewCircuit { - list-style-image: url("chrome://torbutton/skin/new_circuit.svg"); -} +} \ No newline at end of file
1 0
0 0
[tor-browser-build/master] Bug 31968: Don't fail if /proc/cpuinfo is not readable
by gk@torproject.org 09 Oct '19

09 Oct '19
commit 6cf4e6eabc5eb559baf9721a3caf0544b7480093 Author: Nicolas Vigier <boklm(a)torproject.org> Date: Tue Oct 8 20:10:48 2019 +0200 Bug 31968: Don't fail if /proc/cpuinfo is not readable We use /proc/cpuinfo to check for SSE2 support, however on some systems it isn't readable by ordinary users, so we just assume that SSE2 is available in this case. --- projects/tor-browser/RelativeLink/start-tor-browser | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects/tor-browser/RelativeLink/start-tor-browser b/projects/tor-browser/RelativeLink/start-tor-browser index 1adad8f..9356d4c 100755 --- a/projects/tor-browser/RelativeLink/start-tor-browser +++ b/projects/tor-browser/RelativeLink/start-tor-browser @@ -96,7 +96,7 @@ if [ "`id -u`" -eq 0 ]; then exit 1 fi -if ! grep -q '^flags\s*:.* sse2' /proc/cpuinfo; then +if test -r /proc/cpuinfo && ! grep -q '^flags\s*:.* sse2' /proc/cpuinfo; then complain "Tor Browser requires a CPU with SSE2 support. Exiting." exit 1 fi
1 0
0 0
[tor-browser/tor-browser-68.1.0esr-9.0-2] Update Torbutton to latest master
by gk@torproject.org 08 Oct '19

08 Oct '19
commit 5138d20651cd3a72acf2da5038ff49324fe51cda Author: Georg Koppen <gk(a)torproject.org> Date: Tue Oct 8 18:36:01 2019 +0000 Update Torbutton to latest master --- toolkit/torproject/torbutton | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/toolkit/torproject/torbutton b/toolkit/torproject/torbutton index a07b24bdc1c7..4f453d5570d4 160000 --- a/toolkit/torproject/torbutton +++ b/toolkit/torproject/torbutton @@ -1 +1 @@ -Subproject commit a07b24bdc1c7a5a7836c6d3f864fcdff03bbdb15 +Subproject commit 4f453d5570d4177f82f2215d8041f901a13a92a1
1 0
0 0
  • ← Newer
  • 1
  • ...
  • 1625
  • 1626
  • 1627
  • 1628
  • 1629
  • 1630
  • 1631
  • ...
  • 2146
  • Older →

HyperKitty Powered by HyperKitty version 1.3.12.