| Commit message (Collapse) | Author | Age |
| ... | |
| |
|
|
|
|
|
|
|
| |
We still want the "My ISP is lame" checkbox to be checked if the user has
TunnelDirConns enabled but not UseBridges, since their Tor might know
TunnelDirConns but not UseBridges.
svn:r2029
|
| |
|
|
|
|
|
|
|
| |
Stupid hack to fix manpage installation on 'make install'. Once all you
autotools experts have stopped laughing at me and calling me names, you
can tell me what the right fix is.
svn:r2028
|
| |
|
|
|
|
|
|
|
| |
If the user is running a Tor that does not support bridges, disable the bridge
UI and show a label indicating that even though their Tor doesn't support
bridges, the little checkbox is still doing something.
svn:r2027
|
| |
|
|
|
|
|
|
| |
If we can't getconf a value, return the 'local' value instead of assuming
the default.
svn:r2026
|
| |
|
|
|
|
|
|
| |
Default to 80 and 443 as reachable ports, so the user has some cue as to what
goes in that little text box.
svn:r2024
|
| |
|
|
|
|
|
|
|
|
| |
Complain if the user checks the "I use a proxy to access the Internet"
checkbox but doesn't enter any proxy information, or if they check the "My
firewall only lets me connect to certain ports" checkbox but doesn't enter the
ports to which their firewall allows them to connect.
svn:r2023
|
| |
|
|
|
|
|
|
| |
Make the config dialog a little wider by default so all the buttons fit, even
when using Deutsche Vidalia.
svn:r2022
|
| |
|
|
|
|
|
| |
Fix a comment typo.
svn:r2021
|
| |
|
|
|
|
|
|
|
| |
Limit the 'Add Bridge' line edit box to 100 characters. Really, the longest
bridge entry should only be at most 79 characters, but we'll give users some
room to be 'creative' with their spacing.
svn:r2020
|
| |
|
|
|
|
|
|
| |
Call the addBridge() slot when the user presses return in the 'Add Bridge'
text box.
svn:r2019
|
| |
|
|
|
|
|
| |
Validate that a bridge the user enters is acceptably formatted.
svn:r2018
|
| |
|
|
|
|
|
|
| |
Phobos says we don't need to define these ourselves anymore, otherwise we get
compilation errors.
svn:r2017
|
| |
|
|
|
|
|
| |
Add a method for determining if a given string is a valid hexadecimal string.
svn:r2016
|
| |
|
|
|
|
|
|
| |
Only set bridge-related options on Tor >= 0.2.0.3-alpha and only if the user
has configured one or more bridges to use.
svn:r2015
|
| |
|
|
|
|
|
|
|
|
| |
Remove a hack to work around old Tors that would close a control connection
without sending a response after receiving a signal asking Tor to shut down.
This was fixed in Tor 0.1.2.1-alpha. The hack meant that we wouldn't get a
good error message if the signal failed.
svn:r2014
|
| |
|
|
|
|
|
|
|
|
|
| |
Fix a needed change I missed in r1993: since our TorProcess object is never
null now, we can't rely of its nullness to decide whether to send Tor a
halt signal or to use the QProcess API to kill the process. Now we always try
to send a signal first, if the socket is connected. If the control socket is
not connected or the halt signal fails, then call TorProcess::stop().
svn:r2013
|
| |
|
|
|
|
|
|
| |
I changed my mind on r2010: if the router is already on the map, just update
the coordinates, instead of completely removing and readding the router.
svn:r2011
|
| |
|
|
|
|
|
|
|
| |
If TorMapWidget::addRouter() is called for a router that is already on the
map, remove and free the existing instance before adding the router back with
the new location.
svn:r2010
|
| |
|
|
|
|
|
|
| |
Stop leaking 8 bytes for pretty much every circuit we plotted on the network
map. Found by arma and his trusty valgrind.
svn:r2009
|
| |
|
|
|
|
|
|
| |
Give the QTranslator we create on startup a parent, so we don't leak it on
exit.
svn:r2008
|
| |
|
|
|
|
|
|
|
|
| |
Make the main window the parent of all the other dialogs, like the config
dialog and the message log, so Qt can take care of cleaning everything up on
exit. We were also previously leaking the memory allocated to the
ConfigDialog on exit.
svn:r2007
|
| |
|
|
|
|
|
|
|
|
|
| |
Give arma not one, not two, but three (yes folks, three) ways of copying
bridge information to the clipboard. Users can select one or more bridges and
then either (1) Press Ctrl+C, (2) Right-click and select "Copy" from a context
menu, or (3) Click the shiny new Copy button next to the bridge list, to copy
their bridges to the clipboard.
svn:r2006
|
| |
|
|
|
|
|
| |
Use Vidalia::createShortcut() for creating per-window shortcuts.
svn:r2005
|
| |
|
|
|
|
|
|
|
| |
Add a method Vidalia::createShortcut() for creating a shortcut in the context
of some widget and binding that shortcut's activated() signal to a slot of
another widget.
svn:r2004
|
| |
|
|
|
|
|
|
| |
We don't need to clear the clipboard every time we copy something to it;
calling setText() is sufficient.
svn:r2003
|
| |
|
|
|
|
|
| |
Add src/lang/ to INCLUDEPATH.
svn:r2002
|
| |
|
|
|
|
|
|
|
| |
14:53 < arma> <nsa:#vidalia> vidalia: Set TunnelDirConns when we're using
bridges, too.
14:53 < arma> we should set PreferTunneledDirConns 1 too
svn:r2001
|
| |
|
|
|
|
|
| |
And remove a couple unused variables, too.
svn:r2000
|
| |
|
|
|
|
|
|
| |
Small tweak to r1995 to avoid adding multiple values associated with a
single conf key too many times.
svn:r1999
|
| |
|
|
|
|
|
| |
Set TunnelDirConns when we're using bridges, too.
svn:r1998
|
| |
|
|
|
|
|
|
| |
Clear the 'Add Bridge' line edit box after adding that bridge to the bridge
list widget.
svn:r1997
|
| |
|
|
|
|
|
|
|
| |
Use a QMultiHash instead of a QHash for storing network configuration
settings, so we can set multiple bridges (we were trying a csv before, which
is wrong). It also appears we weren't setting UseBridges before either. Oops.
svn:r1996
|
| |
|
|
|
|
|
|
| |
Properly handle multiple values associated with a single conf key when
SETCONFing. Also call string_escape() for each non-empty conf value.
svn:r1995
|
| |
|
|
|
|
|
|
|
|
|
| |
If we get disconnected and there are any outstanding ReceiveWaiters, actually
remove them form the receive queue. Otherwise, the next time we connect to Tor
we would crash on the first message received because we'd be trying to call
setResult() on a ReceiveWaiter that had been deleted but was still in the
receive queue. Fixes ticket #295 reported by arma.
svn:r1994
|
| |
|
|
|
|
|
|
|
|
| |
Create a single TorProcess object used to start and stop Tor, instead of
creating a new one each time we start Tor and cleaning it up when Tor stops.
Fixes ticket #294, but could use testing on Qt 4.1 if anyone is still running
that.
svn:r1993
|
| |
|
|
|
|
|
| |
A TorProcess object can have a parent, too.
svn:r1992
|
| |
|
|
|
|
|
| |
Fix a dumb copy-paste oopsies arma found in a comment.
svn:r1991
|
| |
|
|
|
|
|
|
| |
Clear the list of bridges before we add any, so we don't keep adding
duplicates each time NetworkSettings::load() is called.
svn:r1990
|
| |
|
|
|
|
|
|
| |
Give the network settings page apply(), revert(), and changedSinceLastApply()
methods, so we can apply our shiny new network settings to Tor.
svn:r1989
|
| |
|
|
|
|
|
|
| |
Give ServerPage a revert() method and make it not try to apply its own
settings.
svn:r1988
|
| |
|
|
|
|
|
|
|
|
| |
Make ConfigDialog responsible for deciding when to apply the changes to Tor,
instead of each individual setting page. Also let ConfigDialog be responsible
for SAVECONFing, instead of the individual settings classes, so we don't try
to SAVECONF after each page.
svn:r1987
|
| |
|
|
|
|
|
|
| |
Make NetworkSettings inherit AbstractTorSettings and teach it to apply our
network settings to Tor.
svn:r1986
|
| |
|
|
|
|
|
| |
Whoops, missed one. (This should've been included in the previous commit.)
svn:r1985
|
| |
|
|
|
|
|
| |
Shorten some #includes now that our includepath is a little smarter.
svn:r1984
|
| |
|
|
|
|
|
|
| |
Modify VidaliaWindow to use VSettings for getting and settings window-specific
settings, like saved geometry.
svn:r1983
|
| |
|
|
|
|
|
|
|
|
|
| |
Make TorSettings inherit from VSettings. At some point, it may be smart to
make this inherit from AbstractTorSettings, both for naming sanity (hah!) and
so we GETCONF things on the Advanced settings page, like DataDirectory.
(Clearly this matters less for something like ControlPort, which we would have
to know before we can GETCONF anything anyway.)
svn:r1982
|
| |
|
|
|
|
|
|
| |
Make ServerSettings inherit from AbstractTorSettings, remove some duplicated
code, and shorten/clarify some #defines for setting keys.
svn:r1981
|
| |
|
|
|
|
|
|
|
|
| |
Add an AbstractTorSettings class that provides general methods for setting or
getting values that may need to get SETCONF'ed to or GETCONF'ed from Tor, but
which Vidalia will also need to remember (for example, if we can't SAVECONF or
the user wants to muck with their settings while Tor isn't running).
svn:r1980
|
| |
|
|
|
|
|
|
| |
Make VidaliaSettings inherit from VSettings instead of directly from QSettings
and remove some duplicate code.
svn:r1979
|
| |
|
|
|
|
|
|
|
| |
Add a new VSettings class (subclass of QSettings) that acts as a general
wrapper around vidalia.conf. Any Vidalia class that wants to set or get
setting values should go through VSettings or a subclass of it.
svn:r1978
|