3989159ee6
experimental: - Merge missing dbusmanager changes from pluggablebackends - Merge a change from trunk for --no-autoconnect mode - Make monitor timeout_add_seconds time an integer
imdano
2008-09-13 21:39:20 +00:00
bbfcae834e
experimental: - Use gobject.timeout_add_seconds instead of gobject.timeout_add when possible - Merge some fixes from pluggablebackends - Replace os.system usage with subprocess.call.
imdano
2008-09-13 11:28:36 +00:00
97e1123c8c
experimental: - fix some autoconnect issues related to the splitting up of the daemon
imdano
2008-09-06 20:53:21 +00:00
59d282ee6e
experimental: - Merge in changes from pluggablebackends.
imdano
2008-09-06 16:54:53 +00:00
9639cc8a14
All braches/trunk: - Force locale settings to C before running commands with piped output.
imdano
2008-08-29 14:49:37 +00:00
5a20b38e79
All branches/trunk: - Specify the device to use in SetDefaultRoute
imdano
2008-08-29 12:22:34 +00:00
e13f83d9fc
trunk/all branches: make wicd launch scripts use "exec" so that the launch script exits after starting up the daemon/tray icon.
imdano
2008-08-28 18:58:34 +00:00
8e6c37fa4d
experimental/pluggablebackends: - Remove --scan-interval option from daemon since its no longer needed.
imdano
2008-08-24 08:36:07 +00:00
37838ba057
experimental: - Some minor cleanup/formatting fixes - Add a missing DetectWiredInterfaces() method to networking.py
imdano
2008-08-24 08:15:24 +00:00
0844386017
Experimental: Apply changes involving setup.py * Added setup.py from trunk * Updated various information files (AUTHORS, README, etc) * Update the Wicd icon * Move stuff around to match trunk's layout
compwiz18
2008-08-23 20:14:43 +00:00
2261b25101
experimental: - Merge in changes (prefs.py, dbusmanager.py, clean up in daemon.py) from pluggablebackends.
imdano
2008-08-23 14:50:50 +00:00
fedd44a5b0
trunk/experiementa/pluggablebackends: - Fix crash due to _sanitize_string getting None passed in.
imdano
2008-08-20 14:09:47 +00:00
57b03dd434
Experimental: - Add new logging system which rotates the log file once it reaches a set size. - Merge in fixes and new features from pluggablebackends and trunk - Right click network menu in tray icon now bolds the active network.
imdano
2008-08-19 19:06:26 +00:00
ab3f0987e0
Experimental: - Port a ton of changes from the testing branch over.
imdano
2008-07-20 16:34:45 +00:00
a91ec23653
Testing: - Fix bug in configscript.py that kept it from loading correctly. - More manpage fixes/updates from rworkman.
imdano
2008-06-29 20:38:30 +00:00
72a5567835
Experimental/Testing: - Fix changes made to encryption settings not being reset if "cancel" is selected in the dialog box.
imdano
2008-06-24 14:14:18 +00:00
a8007dc29b
Experimental/Testing: - Fix encryption combobox size sometimes getting distorted when switching between encryption types.
imdano
2008-06-23 22:21:47 +00:00
2d18e61a65
Experimental/Testing: - Fix dhcp not getting released if the disconnect button wasn't pressed explicitly, but a new connection is trying to be made.
imdano
2008-06-23 08:08:53 +00:00
4e3f3aad30
Experimental/Testing: - Fix bug keeping wired networks from connecting - Wicd will now try to release dhcp when disconnecting from a network.
imdano
2008-06-20 08:13:56 +00:00
05a59fb5db
Experimental/Testing: - Improved behavior in the networking backend. The wired/wireless wnettools instances now refer to each other, and get passed on to connection threads as well, which simplifies passing settings for external program usage. Also removed some unecessary creating of duplicate wnettools instances which ended up causing some issues. - Fixed bug where dhclient was being used as the dhcp client even if it was selected in the options menu. - Fixed a typo in the connection commands used for ralink cards. - Fixed the wrong cli option for releasing a dhcpcd lease. - Monitor.py no longer calls for an auto-rescan if the daemon is currently connecting to a network. - Cleaned up some comments and simplified the logic in a few methods/functions.
imdano
2008-06-19 22:09:39 +00:00
86bcc8f795
Experimental/Testing: - Fixed typo in ttls template (Thanks to Nido Media for catching it)
imdano
2008-06-12 15:08:50 +00:00
81470bb96b
Experimental/Testing: - Added support for using kdesu instead of gksu where it makes sense. - Improved code used to sanitize network keys used with wpa_passphrase. - Removed some unused functions and imports. - Cleaned up some comments/docstrings.
imdano
2008-06-11 20:13:32 +00:00
316e4a4dd2
Experimental/Testing: - Fix bug where wired advanced settings wouldn't be saved properly
imdano
2008-05-24 11:36:14 +00:00
a6252d5baa
Testing/Experimental: - Fixed an indentation problem - Use misc.RenameProcess for process renaming in wicd.py
imdano
2008-05-09 21:07:41 +00:00
6e0fe132b9
Testing/Experimental: - Move process renaming code to the misc module, and fix process ranming for 64 bit systems. (Thanks to Helber Maciel) - Move the error gtk method to the gui module. (Thanks to Helber Maciel) - Removed a debugging print statement from monitor.py - Fixed up a few docstrings/comments.
imdano
2008-05-07 21:59:44 +00:00
0d1ba53bb1
Testing/Experimental: - Emit a dbus signal when an autoscan is called, so that the GUI can update if needed.
imdano
2008-05-04 18:10:47 +00:00
e6ffa892ff
Testing/Experimental: - Fixed bug where monitor would crash on resume because dbus wasn't ready yet. - Monitor now calls a rescan every 2 minutes.
imdano
2008-05-03 09:30:09 +00:00
5b83ce7052
Testing/Experimental: - Replaced uses of /proc/net/wireless with /sys/class/net/<iface>.
imdano
2008-04-29 14:29:44 +00:00
5ca7dba47f
Testing/Experimental: - Added check to make sure wpa_cli is installed, and make sure not to try to validate authentication if it isn't. Experimental: - Increased length of sleep time before checking for an active link when the wired interface has to be put up explicitly.
imdano
2008-04-28 18:22:37 +00:00
d139c8f8e5
Fixed problems with passphrases using non-alphanumeric characters.
imdano
2008-04-23 18:10:23 +00:00
a176c84373
Fixed bug where building with setup.py wouldn't add rcX symlinks to init.d, so wicd wouldn't start at boot.
imdano
2008-04-19 09:09:15 +00:00
df6b2ba484
Fixed bug where special characters would break expander label formatting.
imdano
2008-04-19 08:48:09 +00:00
9662012fef
Fixed problems with wpa_supplicant driver not being passed to wnettools correctly in networking.py. Fixed bug where connect threads could crash if debug was on and dhcp failed.
imdano
2008-04-19 08:00:44 +00:00
b72f4b2803
Fixed bug where advanced settings dialog wouldn't appear for wired networks. Added MAC address to the top level info line in a wireless network entry. Fixed some setup.py problems.
imdano
2008-04-11 10:29:10 +00:00
e1d7429e6c
Fixed some setup.py problems Added a bunch of docstrings Fixed a crash bug when the daemon is called with the -s option caused by wicd.py calling SetForceDisconnect(False) when it launches.
imdano
2008-04-02 10:52:41 +00:00
6d5a78b124
Fixed gui sometimes not updating buttons after clicking the disconnect button for the active network. Fixed gui not behaving properly after cancelling a connection.
imdano
2008-03-31 21:37:21 +00:00
c17b437134
Lengthened the sleep time between putting a wired interface up and checking to see if the link is active. A few small optimizations/code cleanup.
imdano
2008-03-31 15:23:59 +00:00
ed2d53839e
Added support for monitoring connection status without the need for iwconfig, ifconfig, and ethtool/miitool. Added a "Disconnect" button to each network entry, which will be visible instead of the "Connect" button for the active network. Fixed a bug where cancelling a connection while validating authentication would leave the GUI in the connecting state forever.
imdano
2008-03-31 14:21:43 +00:00
45b7f78bd9
Added missing icon images Updated dbus config file to work under more distros Added support for determing wireless interface by parsing /proc/net/wireless (removing need for iwconfig call) A few minor formatting improvements.
imdano
2008-03-30 12:14:11 +00:00
f64b207005
Added support for resizing the preferences window to any size. Also added support for remembing the size of the preferences window.
imdano
2008-03-24 20:37:46 +00:00
ef9b5cc7f3
Added distro-specific init scripts based on those used by NM (these are very experimental and likely broken in many cases). Updated setup.py to pick which initscript to install based on the distro detected. Updated MANIFEST.in to make sure launchdaemon.sh is included in the sdist build. Fixed a bunch of crash bugs in tool detection system when tools are detected. Made tool detection work correctly when "which" returns output if no match is found (as opposed to no output). Eventually we might want to hardcode possible paths instead of using which at all... Fixed some message formatting in the daemon. Added some docstrings. Added a pidfile system for increased initscript compatibility (sort of, it's somewhat incomplete).
imdano
2008-03-24 00:03:35 +00:00
c055ea0d36
Added support in the preferences window for specifying which dhcp client, link detection tool, and route flushing tool to use. It can also be left up to wicd to decide automatically. Made a few logic optimizations.
imdano
2008-03-21 17:07:47 +00:00
b5609dc209
Couple of fixes, started integrating a feature that will allow Wicd to smartly detect wired networks, by using detected wireless networks and connected USB devices
compwiz18
2008-03-21 03:38:57 +00:00
98b2547890
Scripts no longer fork into the background by default.
imdano
2008-03-20 11:16:49 +00:00
a9f5e1ec06
Ported the animated tray icon code to the experimental branch. Added a command line option to run the tray with the animations disabled.
imdano
2008-03-18 22:42:55 +00:00
9f9ac65687
Fixed bug where wpa_supplicant driver wasn't being set properly in the preferences window.
imdano
2008-03-18 10:21:32 +00:00
eb5e9f49cc
Added checks to auto-reconnection code to keep it from constantly trying to reconnect when it isn't working. Added a ShouldAutoReconnect method to the daemon, to simply the call needed in monitor.py's auto_reconnect method.
imdano
2008-03-18 09:12:05 +00:00
cff1336d32
Improved automatic reconnection behavior. Improved debug mode behavior. Improved the way networking.py interfaces passes attributes on to wnettools.py interfaces. Fixed crash in __printReturn when a parameter to return wasn't of type 'str'.
imdano
2008-03-17 07:50:51 +00:00
7f3c2b08fb
Forgot the translations folder updates from two commits ago. (P.S. Adam make sure that the updates look right as well.)
imdano
2008-03-15 00:40:27 +00:00
0503c53b46
Forgot to add the "other" folder in the last commit.
imdano
2008-03-15 00:26:24 +00:00
f662e62442
Added README and INSTALL files. Added a setup.py script. Added the new init and suspend scripts to a folder called other, which also holds all files which don't currently go in the /opt/wicd folders. These are used by the setup.py script and put into their respective directories.
imdano
2008-03-15 00:25:59 +00:00
18f9638e3d
Fixed asynchronous Autoconnect calls so that they actually work properly
imdano
2008-03-14 19:16:18 +00:00
9d495370d0
Removed unneeded call to LogWriter() in wicd.py
imdano
2008-03-14 10:18:28 +00:00
04b67e9b2e
Made calls to Autoconnect outside the daemon asynchronous. Removed some unnecessary print statements. Added checks to the daemon and configscript.py to make sure the user opening it is root. Fixed formatting problems in class definitions in wicd.py
imdano
2008-03-13 14:10:49 +00:00
a7c22b9724
Improved GUI opening performance so there is less delay between clicking the icon and the gui actually appearing. Made network entry list inactive while refreshing networks. Made debugging output less spammy and more helpful (still incomplete).
imdano
2008-03-13 10:16:03 +00:00
982333e566
Fixed a malformed ''.join() call in daemon.py Replaced a couple of concatenations with ''.join() calls.
imdano
2008-03-11 15:15:55 +00:00
04af10a891
Added support for using one set of global settings for all networks with a given essid. Fixed a few wired autoconnect issues.
imdano
2008-03-10 20:55:46 +00:00
0653f3f40b
Refactored networking.py to be more modular. Added docstrings to wnettools.py Fixed wired autoconnect bug due to missing parenthesis on a method call. Moved connection monitoring code out of daemon.py and into monitor.py, which is run as a separate, child process of daemon.py, to reduce delays in dbus reponse time while connection status and autoreconnect code is running. Added full support for running the gui without the tray icon using the --no-tray option. Some minor changes to code to be more readable/efficient/pythonic.
imdano
2008-03-09 22:09:22 +00:00
ae0dddb22d
Increased time allowed for wpa_supplicant to complete authentication. Reduced external calls (when possible) in update_status_bar. pulse_progress_bar is now only run when connecting to a network. Only check encryption settings on connect, instead of all of them, which shouldn't be necessary.
imdano
2008-03-05 23:29:48 +00:00
0bd129df85
Fixed a few more bugs caused by misnamed variables
imdano
2008-03-05 15:30:22 +00:00
cb88439499
Made a bunch of small logic improvements. Fixed some remaining bugs from the gui.py refactoring.
imdano
2008-03-04 20:39:53 +00:00
a2dedaaa03
Added support for putting interfaces up/down through the gui.
imdano
2008-03-04 14:06:04 +00:00
7de302fa1c
Renamed a bunch of variables in gui.py to comply to python conventions. Fixed a few small bugs due to misnamed variables in gui.py and networking.py
imdano
2008-03-04 11:55:34 +00:00
8289e44d86
Refactored the NetworkEntry/PrettyNetworkEntry classes in order to fix a memory leak. PrettyNetwork entry classes are now merged with NetworkEntry classes. There is now a separate AdvancedSettingsDialog to handle the advanced settings for each network entry. Fixed last-used wired autoconnect support, which had gotten removed. Removed a debugging string from networking.py
imdano
2008-03-03 22:42:29 +00:00
85eaabcfff
Fixed a bug that wouldn't let wireless interfaces scan
compwiz18
2008-03-03 06:08:45 +00:00
0386fc4ff4
Autoconnect method will now fallback to wireless if a wired attempt fails for any reason.
imdano
2008-03-01 19:45:45 +00:00
bcb46c1f12
Improved the authentication validation code. Instead of sleeping for an abitrary amount of time, then checking if authentication succeeded, it now repeatedly checks for a longer set amount of time. This way it is less likely to fail because it didn't wait long enough, but will usually finish faster.
imdano
2008-03-01 00:59:52 +00:00
08b9f9f993
Altered autoconnection code to fall back to wireless if wired fails because there is no default profile set.
imdano
2008-02-29 22:14:32 +00:00
189dcc698b
Added wep-hex, wep-passphrase, eap-tls, wep-shared encryption templates Removed wep template (its now called wep-hex).
imdano
2008-02-29 15:20:51 +00:00
3986ddd4fb
Fixed crash bug in script configuration dialog when a network doesn't have script options written in the config file yet. Refactored networking.py to not have to create a new wnettools interface every time a method gets called. Now it reuses the same one and makes changes to the iface name/driver as needed. Refactored a few methods in wnettools.py to be organized more logically and reduce external program calls. In experimental branch, added a few methods to networking/wnettools that can be used for enabling/disabling interfaces, as well as unloading/loading the driver associated with an interface. Added a check for mii-tool/ethtool that gets run when wicd starts, so it can decide which to use to check for a wired connection. Added a check for ip, to decide how to flush the routing tables. Rewrote some of the DHCP client checking code. Added a method (that's currently unused) to release a dhcp lease for each of the supported clients.
imdano
2008-02-29 14:16:21 +00:00
1b6108ce03
Fixed bug where preferences window sometimes wouldn't appear due to a problem with the wpacombobox.
imdano
2008-02-14 13:46:34 +00:00
d7141a8b78
Added support for two more DHCP clients: pump and dhcpcd. Added check when DHCP is run to determine what DHCP clients are available. Fixed bug where sometimes wicd wouldn't reconnect automatically when a wired connection was lost. Cleaned up a couple of comments.
imdano
2008-02-13 13:08:15 +00:00
1bebb0bae2
Fixed bug where script changes weren't getting saved. Added check to make sure encryption information is entered when it's required.
imdano
2008-02-12 19:40:18 +00:00
44fa2ac718
Fixed a bug that prevented unsetting the "automatically connect to this network" option. Some formatting/docstring cleanups.
imdano
2008-02-11 14:55:29 +00:00
98069ad994
Fixed bug where network entry settings weren't being saved correctly because of overloading the variable "type", which is a built in python function. Cleaned up some formatting in gui.py and daemon.py Fixed some bad daemon calls in the setting saving process.
imdano
2008-02-05 13:46:42 +00:00
d46da02511
Fixed bad except statement in misc.py. Cleaned up formatting in gui.py. Made glade template for preferences dialog and rewrote gui.py to use it instead of creating it explictly in the code. Fixed a bunch indentation/whitespace problems. Cleaned up a ton of formatting in daemon.py Fixed a wired autoconnect bug. Rewrote part of the connection monitoring code, further minimizing the number of external program calls, as well as number of dbus calls. Added StatusInformation methods to daemon.py, to allow external apps to poll for the current connection status without making several dbus calls. Fixed bad function call to GetDBMSignalStrength in daemon.py.
imdano
2008-01-29 21:03:19 +00:00
4b4bc55614
Got rid of extra call to ethtool that should only be done if using mii-tool fallback.
imdano
2008-01-27 15:36:00 +00:00
08326e447f
Fixed some malformed regular expressions.
imdano
2008-01-27 15:32:21 +00:00
6599b7ce0a
Refactored several files (especially gui.py) to be more in line with python conventions and make the code easier to understand. Added a bunch of docstrings. Fixed an invalid function call in wnettools.py.
imdano
2008-01-25 14:12:32 +00:00
f6d480d89b
Refactored several files (especially gui.py) to be more in line with python conventions and make the code easier to understand. Added a bunch of docstrings. Fixed an invalid function call in wnettools.py.
imdano
2008-01-25 14:11:59 +00:00
c09b49dd6c
Made IsValidIP method check that each ip octet is an integer < 255. Added checks to the network entry settings menu to make sure that all the settings are valid. Fixed global dns being set to True whenever static IP address were enabled for wireless networks.
imdano
2008-01-25 09:23:50 +00:00
85bdd4b072
Forgot a file in the last commit.
imdano
2008-01-24 14:28:20 +00:00
7886051d87
Committed patch from Sabin Iacob to sanitize a user's psk, to prevent possible parsing errors and security risks.
imdano
2008-01-24 10:36:22 +00:00
9bd9605411
Refactored a few daemon methods from bring registered under the 'wireless' service to 'daemon'. Fixed the wired autoconnect profile chooser, which was badly broken. Added a check to GetPluggedIn() that makes sure that the wired interface is up before checking. If it's not, it tries to put it up. This is necessary because ethtool doesn't make this check for us, as mii-tool did.
imdano
2008-01-22 16:05:30 +00:00
c83f18fd65
Moved the advanced settings and script buttons into the main network entry expander.
imdano
2008-01-22 09:55:42 +00:00
5cb41af70b
Fixed dns entries not getting cleared from wireless network preferences when they should be Added signal strength info to uppermost level of each wireless network entry in the GUI.
imdano
2008-01-22 09:24:23 +00:00
0528e2436c
- Simplified main configuration loading code. This *might* break some old conf files, but should be easy to manually fix. - Reworked GUI: Moved script button next to connect button, reduced size of both buttons, moved advanced settings from an expander to a dialog and put an advanced settings button next to scripts/connect buttons. - When a wireless network has encryption enabled, "Secured" will no longer show up in the info for the network unless the encryption type can't be determined. - Added support for detecting kill switch status (thanks to webograph for the inital patch). - Reduced the number of calls to iwconfig during connection status updates (it is only called once per update now), which should lower cpu usage. - Moved Autoreconnect methods from the wireless dbus service to the daemon dbus service. - Added "Validating Authentication" status message during wireless connection process. - Added support for disabling monitoring of connection status when computer is suspended, which gets rid of some error messages, eliminates occasional suspension failure, and reduces the odds that wicd will auto connect to a wireless network when a wired network is available. (Right now this feature is disabled, as it requires a script in /etc/acpi/suspend.d/, which can't be included with the current SVN layout.)
imdano
2008-01-20 23:09:29 +00:00
03b7ead08f
Updated comments in misc.py Updated some GUI elements
compwiz18
2008-01-15 02:11:36 +00:00
50ffd944f5
Fixed bad language key for "wired network" in wicd.py
imdano
2008-01-09 22:57:13 +00:00
6a949a6958
Updated wicd.glade to include a missing gtk.Dialog
imdano
2008-01-08 10:24:44 +00:00
2cc990b97a
A default wired profile is now created when wired-settings.conf is initially generated.
imdano
2008-01-06 21:20:15 +00:00