1. 14 Mar, 2016 1 commit
  2. 23 Feb, 2016 2 commits
  3. 19 Feb, 2016 1 commit
  4. 15 Feb, 2016 2 commits
  5. 11 Feb, 2016 7 commits
    • anonym's avatar
      Make sure to drop xhost permissions on error. · e36554cc
      anonym authored
      e36554cc
    • anonym's avatar
      Add no_abort() mechanism for scripts run with `set -e`. · 9d83efb8
      anonym authored
      It's a wrapper that will run the wrapped command without aborting,
      when failure is expected or should be checked for, and the return
      value is important.
      9d83efb8
    • anonym's avatar
      Separate set -eu in to separate statements. · 0bd8d3a0
      anonym authored
      ... like we do in most places. This makes these highly relevant
      properties of the scripts a bit more easy to spot.
      0bd8d3a0
    • anonym's avatar
      Move gettext initialization code to the top of shell scripts. · 0be0def5
      anonym authored
      That's what we do in most places, so let's be consistent.
      0be0def5
    • anonym's avatar
      Avoid set -u issue when testing if variable is set or not. · 364a3c8d
      anonym authored
      Whenever there's a risk that we will reference a shell variable in a
      script run with `set -u` (including libraries that we sources from
      such scripts) we must reference the variable in a way so it gets a
      default value, i.e. `${VAR:-}` to give it the empty string as the
      default (which is what generally makes sense).
      
      In particular, it's quite clear that in all cases where we do
      something like `[ -n "${VAR}" ]` or `[ -z "${VAR}" ]`, where an
      expected value is the empty string, which could mean that the variable
      is not initialized, we should give such a default (as the empty
      string).
      364a3c8d
    • anonym's avatar
      Also set -e in some scripts. · bbc2d6ca
      anonym authored
      bbc2d6ca
    • anonym's avatar
      Add set -u to all gettext:ized shell scripts. · 74a91c28
      anonym authored
      In gettext-base < 1.8.2, like the one we had in Wheezy, gettext.sh
      references the environment variable ZSH_VERSION, which we do not
      set. This has prevented us from doing `set -u` in all gettext:ized
      shell scripts unless we first initialize that variable before sourcing
      gettext.sh.
      
      Now that we install a new enough gettext-base, we can finally do this
      and remove the initialization hacks.
      
      Will-fix: #9371
      74a91c28
  6. 10 Feb, 2016 3 commits
    • anonym's avatar
      Do the fontconfig dance with all browsers. · a8021ec0
      anonym authored
      I.e. also the Unsafe and I2P Browser's. The main reason is so we do
      not need different images for these and the Tor browser in the
      automated test suite. One may argue, though, that for the Unsafe
      Browser this list of fonts would be fingerprintable, but I would be
      surprised if it already isn't so due to the Tor Browser Firefox
      patches.
      a8021ec0
    • anonym's avatar
      Use an appropriate working directory when launching the Tor Browser. · 4173d78b
      anonym authored
      The Tor Browser assumes that the working directory is the directory
      where the browser lives (e.g. the executable). For instance, the
      fonts.conf (for fontconfig) the Tor Browser uses looks for the fonts
      in the "fonts" sub-directory of the current working directory. This
      will fix issues with "empty boxes" as characters in the Save As/Open
      dialoges.
      
      Will-fix: #11097
      4173d78b
    • anonym's avatar
      Propagate Tor Launcher options via the wrapper. · 2fc6d139
      anonym authored
      E.g. for our custom/undocumented (but so far unused)
      `--force-net-config` option.
      2fc6d139
  7. 09 Feb, 2016 7 commits
  8. 04 Feb, 2016 1 commit
  9. 26 Jan, 2016 1 commit
  10. 17 Jan, 2016 1 commit
  11. 10 Jan, 2016 3 commits
  12. 03 Jan, 2016 1 commit
  13. 02 Jan, 2016 1 commit
  14. 14 Dec, 2015 2 commits
  15. 10 Dec, 2015 1 commit
  16. 09 Dec, 2015 1 commit
  17. 07 Dec, 2015 3 commits
  18. 30 Nov, 2015 2 commits