1
0
mirror of https://github.com/gryf/wicd.git synced 2025-12-19 20:38:00 +01:00
Commit Graph

18 Commits

Author SHA1 Message Date
imdano
2261b25101 experimental:
- Merge in changes (prefs.py, dbusmanager.py, clean up in daemon.py) from pluggablebackends.

pluggablebackends:
- Some minor cleanup.
2008-08-23 14:50:50 +00:00
imdano
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.
2008-08-19 19:06:26 +00:00
imdano
ab3f0987e0 Experimental:
- Port a ton of changes from the testing branch over.
2008-07-20 16:34:45 +00:00
imdano
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.
2008-06-19 22:09:39 +00:00
imdano
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.

Experimental:
- Split gui.py into gui.py and netentry.py.  netentry is imported by gui.py to make use of NetworkEntry and its subclasses.
- Reorganzed how dbus and the language dict are used in wicd.py and gui.py.
2008-06-11 20:13:32 +00:00
imdano
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.

Testing:
- Fix bug where Connect button would become inactive after disconnecting from a network.
2008-05-07 21:59:44 +00:00
imdano
0d1ba53bb1 Testing/Experimental:
- Emit a dbus signal when an autoscan is called, so that the GUI can update if needed.

Experimental:
- Merged a few changes from the testing branch.
2008-05-04 18:10:47 +00:00
imdano
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.

Experimental:
- Added a network list submenu to the right-click menu of the tray icon.
2008-05-03 09:30:09 +00:00
imdano
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.
2008-04-11 10:29:10 +00:00
imdano
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.
2008-03-31 14:21:43 +00:00
imdano
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.
2008-03-30 12:14:11 +00:00
imdano
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).
2008-03-24 00:03:35 +00:00
imdano
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.
2008-03-18 09:12:05 +00:00
imdano
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'.
2008-03-17 07:50:51 +00:00
imdano
18f9638e3d Fixed asynchronous Autoconnect calls so that they actually work properly 2008-03-14 19:16:18 +00:00
imdano
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
2008-03-13 14:10:49 +00:00
imdano
04af10a891 Added support for using one set of global settings for all networks with a given essid.
Fixed a few wired autoconnect issues.
2008-03-10 20:55:46 +00:00
imdano
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.
2008-03-09 22:09:22 +00:00