Fix bug making target string grow.

Fixes #12166.
Improve log printout slightly.

Thanks, GeKo.
Bug 11630: Make rules.sqlite deterministic.

It turned out that the rules.sqlite file got already deterministic by
running VACUUM before closing the connection. The different bytes in
some meta data were due to having an old rules.sqlite in src/defaults.
SQLite takes the values found there as the starting point and increments
them during the new run of the makexpi script.
Revert "Bug 11630: Make rules.sqlite deterministic."

This reverts commit d7dc1e0781aa2735e6ed98d68fed9f54f1c2a374. It turns
out there is more to the deterministic issue than thought.
Update component versions for the nightlies.
Bug 12249: Don't create PT debug files anymore.
Bug 12390: Remove old bug11641 references in tags.
Bug 11102: Adding --class to set proper WM_CLASS.

Without adapting the WM_CLASS property to be aware of Tor Browser the
latter gets grouped together with Firefox (instead of creating its own
application group) on systems using GNOME 3.
Update component versions for alpha and nightlies.

Use NSIS tag (v0.2) instead of hash.
Use Firefox 24.6.x code for alpha builds.
Use symbolic Tor Launcher tag for alpha builds.
Updating the README file.
Bug 12406: use MinGW-w64 v3.1.0 for TBB 4.x

This also requires newer versions of gcc and binutils.
We now fetch MinGW-w64 using git instead of svn.
Use the correct keyring for our current NSIS tag.
Bug 12406: Bump mingw-w64/gcc/binutils versions.

Merge remote-tracking branch 'pc/bug12406-02'
Port fix-info-plist from shell to Python.

https://trac.torproject.org/projects/tor/ticket/12400
Bug 10935: Merge meek into master.

This is the result of squashing and merging
dcf/meek-rebase-4.0-alpha1-pre-take3.
Add setControlPortPasswd() to RelativeLink/RelativeLink.sh.

This adds documentation on how to set the ``TOR_CONTROL_PASSWD``
environment variable, as well as a bash function,
``setControlPortPasswd()``, which easily sets it.

Using a bash function is necessary in order to safely set
TOR_CONTROL_PASSWD within the function, such that it isn't accidentally
``export``ed into the shell which called the script (where other
programs would be able to steal it). Inside the function, is checked to
see if the odd quoting syntax was done properly, and, if not, complains
and tells the user how to properly set the
``TOR_CONTROL_PASSWD``. Otherwise, the correctly set password is given
before the command to start Firefox, i.e.:

  TOR_CONTROL_PASSWD=${TOR_CONTROL_PASSWD} ./firefox [...]

 * ADDS a new bash function ``setControlPortPasswd()`` to RelativeLink.sh.
 * FIXES #10178 by making it really hard for people to continue DoingItWrong™.
 * FIXES #11751 by adding an easy way to set the TOR_CONTROL_PASSWD, as well
   as documentation.
Log Tor Browser output to file and disown the process.

This will log all Tor Browser's output to ``tbb-debug.log`` in the Tor
Browser $HOME directory.

After starting the Firefox process, we grab Firefox's PID and do a dance
where we wait up to 15 seconds to see if Firefox died (which still is
considered to have happened even if the popup window that another Tor
Browser is running has not been exited out of). If Firefox isn't dead,
we disown the process from the shell and report that exit code. If
Firefox did die somewhere, we do:

  wait "$pid"
  exitcode="$?"

in order to get the exitcode from the backgrounded Firefox process. The
call to ``wait`` here doesn't actually wait, because it's only called if
the call to ``kill -0 "$pid"`` exited with non-0 status (meaning that
the process has died).

As a last case fallback, in case something really weird happened, for
example if Firefox didn't die within those 15 seconds that we were
waiting, and then it somehow died all-of-a-sudden right before the

 if test -z "${exitcode}" [...]

line, then we exit with a code 66.

 * CHANGES RelativeLink/RelativeLink.sh to log to tbb-debug.log file,
   and then disown the Firefox process, so that we're not leaving a
   shell open forever (or leaving the shell to decide where the output
   is going to end up).
Revert "Log Tor Browser output to file and disown the process."

This reverts commit c2bd8a5f070e771623aebfb66e95e9e954e5522d.

Reverted due to https://trac.torproject.org/projects/tor/ticket/12472
and https://trac.torproject.org/projects/tor/ticket/12468. We need to stop
HTTPS-Everywhere from logging URLs before we do this.
Bump versions for 4.0-alpha-1.
Update NoScript to use the cascading-permissions rc.