1
0
mirror of https://github.com/gryf/wicd.git synced 2026-02-02 22:25:50 +01:00

Commit Graph

  • d64850dfd3 Changed misc.Run to use subprocess.Popen instead of os.popen. Also altered Run to optionally return a pipe to the command run, instead of just the output. The output of dhclient is now parsed by wicd and used to determine why the connection failed. All the wpa_supplicant conf files will now generate a ctrl_interface, so that they can be accessed by wpa_cli. wpa_cli now is used by wicd to attempt to determine is wpa_supplicant authentication was successful. This is still experimental, and might have to be tweaked to work properly. If wicd.py is started and the daemon isn't present, it will autolaunch it by calling launchdaemon.sh, instead of asking the user to start the daemon manually. Cleaned up some comments, formatting, etc. Probably a couple of other little bug fixes I'm forgetting. imdano 2008-01-06 13:55:23 +00:00
  • 4e0dfc8e22 Fixed resizing causing the window to center itself. imdano 2008-01-04 14:08:14 +00:00
  • 53fc40349d Scripts now can only be setup with root access and always run as root, instead of trying to run as the current user. Possibly fixed problems with scripts not running when they should and/or leaving zombies. Slightly reworked the GUI to make the new script system look nicer. Removed the ability to set script information through built in daemon functions, it now has to be done by directly editing configuration files (which require root access to read/write). imdano 2007-12-29 11:56:47 +00:00
  • 7d7b943ee7 Make sure daemon alerts tray to change status during connection process. Specify which network is being connected to in both the tray tooltip and gui statusbar Clean up code in wicd.py. Refactor Edgy/DapperTrayIcon class names to something less Ubuntu-specific. Fix typo in EggTrayIcon that would keep gui from opening. imdano 2007-12-22 22:09:00 +00:00
  • 8a0a471764 Fixed cancelling a connection not working. Stopped the gui status bar from updating while the gui is closed, which reduces CPU usage and should hopefully fix problems with hibernation not working while wicd was running. imdano 2007-12-19 22:35:07 +00:00
  • da4d84b793 Fixed a bug that would sometimes cause the tray icon to not display the right connection state on startup. imdano 2007-12-17 15:44:41 +00:00
  • 7e6f7938d5 * Fixed a couple more syntax errors compwiz18 2007-12-17 15:22:04 +00:00
  • dee28b818c * Fixed indentation errors and syntax errors * Fixed wicd.py so it starts properly * Hid the status bar in gui.py when it is displayed via the tray icon compwiz18 2007-12-17 15:20:02 +00:00
  • 6d708846d9 Fixed some problems with tabs being used instead of 4 spaces. imdano 2007-12-17 15:17:00 +00:00
  • bf32a16e49 Fixed a bug (typo?) in daemon.py that would keep it from working correctly. imdano 2007-12-17 11:49:03 +00:00
  • 4dadeefdd6 Lowered minimum GUI height to 400. Added support for the GUI to remember when its resized. imdano 2007-12-17 11:42:16 +00:00
  • 216175b138 Applied pach in https://bugs.launchpad.net/wicd/+bug/175104 to fix signal strength issues, thanks Philip compwiz18 2007-12-16 19:08:00 +00:00
  • c5863cf56f Moved autoreconnect code and connection status updates into the daemon. Daemon now sends D-Bus signals when status changes, which the tray listens for and updates icon/tooltip when received. imdano 2007-12-10 16:48:37 +00:00
  • d2c300502e Fix some indentation problems and turned off stdout/stderr redirection in wicd.py since it would break things. imdano 2007-12-04 12:02:14 +00:00
  • a8a212712c Adding peap-tkip template part 2 imdano 2007-11-22 10:23:33 +00:00
  • 74fb9c330c Fixed encoding problems that would cause wicd to crash if a network returned an essid with exotic characters. Reduced log spam, and altered how logging gets done a little bit. Cleaned up some comments, docstrings, etc. imdano 2007-11-20 22:20:10 +00:00
  • 264e343e30 Fixed some problems with the tray icon running under gtk < 2.10. imdano 2007-11-19 13:22:14 +00:00
  • b61018cc17 - Fixed a crash bug caused by dBm signal strength not being found correctly. - Fixed a crash caused by an incorrectly named variable in wicd.py. imdano 2007-11-18 14:19:50 +00:00
  • 3eea8cde55 * Removing files (all tray-related) that are no longer used. imdano 2007-11-18 01:37:16 +00:00
  • 8e46a359c1 * Completely reworked the gui/tray system. gui.py and edgy/dapper/tray.py are now all run from the same wicd.py file. * Added a connection_lost_counter to prevent the wicd frontend from trying to automatically reconnect too quickly if signal strength is briefly lost. * Added some code to hopefully fix some of the dbus-related encoding problems caused by essids with weird characters. (Might still need work). * The tray/gui will now show up in the process manager under the name wicd (along with the wicd icon), instead of just python. * Added a GetCurrentInterface() method to the daemon that will eventually be used in the VPN plugin. * Fixed a possible crash caused by signal strength not being returned correctly. * Split the Wired Profile Chooser from the appGui class, so they are now called separately within wicd.py. When the profile chooser is called from the daemon, it sets a flag as well as sending a dbus signal, so the chooser will still launch if the wicd frontend isn't running yet. * Added some docstrings, comments, etc. Probably a few other small changes I'm forgetting. imdano 2007-11-18 01:35:35 +00:00
  • 60d6862b3d Fixed the typo in the LEAP template. compwiz18 2007-10-23 00:45:36 +00:00
  • 5dabdcd540 applied patch from bug https://bugs.launchpad.net/wicd/+bug/149318 applied patch from bug https://bugs.launchpad.net/wicd/+bug/149322 thanks Daniel compwiz18 2007-10-05 02:29:42 +00:00
  • 8f2dfb5361 Added mhenze's patch to add last used wired profile compwiz18 2007-10-04 03:31:07 +00:00
  • 2aa36c7329 Fixed more signal display issues Added a "Connecting..." dialog to tray icon in experimental branch Possibly fixed issue where GUI statusbar would still show up as connected when ethernet cable was unplugged. imdano 2007-09-20 13:11:43 +00:00
  • 6f0faa1ac2 Fixed bug in signal strength display for ralink cards Altered the way ralink network info gets handled during the connection process imdano 2007-09-19 09:56:17 +00:00
  • 64e5c27ba2 fixed indentation problems compwiz18 2007-09-04 02:43:25 +00:00
  • 7176183b47 Fixed bug where manually opened (not opened with the tray) gui.py would reopen when closed. imdano 2007-08-31 08:19:13 +00:00
  • 82958861a7 Completely reorganized edgy.py Changed the way wired profile chooser gets launched (now uses a dbus signal) Fixed bug where launching gui.py through the tray sometimes left a zombie (uses a dbus signal) Added a bunch of docstrings and changed formatting to follow python conventions Added support for displaying signal strength in dBm instead of a percentage Added some print statements during the ad-hoc connection process Started work on a way to autoconnect to a hidden network (not done or working yet) imdano 2007-08-29 18:49:02 +00:00
  • 697bb050ea Reverted an accidental change to networking.py that undid a bug fix imdano 2007-08-17 06:13:08 +00:00
  • d11f67c848 fixed the tray icon compwiz18 2007-08-17 04:36:16 +00:00
  • 1be2d485d7 Changed script execution behavior to fork before running. Causes more reliable execution but can leave zombies. imdano 2007-08-16 12:18:03 +00:00
  • 096d4d40f4 fixed a couple of bugs: compwiz18 2007-08-16 05:55:45 +00:00
  • ccf7960694 Fix up some issues spotted by pychecker. metrics 2007-08-16 01:53:13 +00:00
  • 4e9e960ac9 Split the networking module, moving the common tasks into wnettools.py metrics 2007-08-16 01:07:26 +00:00
  • 197f6913af Added a bunch of bug fixes from the experimental branch to the testing branch. Added disconnect script feature and executing script in usermode feature to testing branch imdano 2007-08-15 07:25:10 +00:00
  • bbf32b3b41 Fixed the typo in networking.py correctly this time :) Corrected the version number displayed in usage() imdano 2007-08-14 17:02:38 +00:00
  • 2ed0c5cf75 Improved the behavior of threading in networking.py when an error occurs. Fixed typo in the wpa_supplicant string in networking.py. Changed formatting in dapper.py, edgy.py, and networking.py to conform closer to python coding conventions (and hopefully improve readability in general) imdano 2007-08-14 16:01:30 +00:00
  • 8c3a97d572 Refactor daemon.py to handle command line arguments. metrics 2007-08-12 03:31:04 +00:00
  • 68424ebfea Convert FlushWriter into LogWriter and optimise log writing. metrics 2007-08-12 01:36:49 +00:00
  • ca8810aa4a Centralise path configuration into a single file. metrics 2007-08-12 00:30:01 +00:00
  • 4e4e87423d Added disconnection script Changed auto-reconnection behavior slightly to prevent possible hanging issues Changed/Added some comments imdano 2007-08-10 07:59:36 +00:00
  • e9ea0c4419 Added support for displaying correct network info in drivers using some non-standard display info. imdano 2007-08-04 19:09:05 +00:00
  • 626cd6010c Changed script execution method so that scripts are always run in usermode. Removed autostarting daemon code so that script execution would work properly. Added channel display support for cards that only get frequency info in 'iwlist scan'. Changed autoconnect behavior to fix a bug where dbus would crash if connecting was taking too long. Changed/added some comments. imdano 2007-08-01 09:31:43 +00:00
  • 8a9497cc05 made get debugmode function return an int imdano 2007-07-29 08:17:00 +00:00
  • 796deb271d added a debugmode check to dapper.py imdano 2007-07-28 11:20:38 +00:00
  • 80c6c22951 fixed a bug in the open/close gui function in dapper.py fixed a bug in getdebugmode function in daemon.py imdano 2007-07-28 11:19:18 +00:00
  • e7f5f269fe Rewrote dapper.py to act just like edgy.py (needs to be tested), changed some gui behavior, fixed version numbers in experimental/testing daemon.py imdano 2007-07-27 18:20:51 +00:00
  • 8af62b2eca Updated autoconnect.py to reflect changes to daemon imdano 2007-07-25 17:59:31 +00:00
  • f1eb03fa85 Fixed typo in the testing release, added ralink correct signal strength info to experimental release, fixed wired connection bug in experimental release imdano 2007-07-25 09:04:39 +00:00
  • a984110b49 fixed a typo imdano 2007-07-24 15:30:59 +00:00
  • c6e779142e daemon will now fork compwiz18 2007-07-24 06:31:07 +00:00
  • 85d3730249 updates and bug fixes and all that fun stuff compwiz18 2007-07-24 06:06:27 +00:00
  • 42b2dafabd Added myself as a co-author :) imdano 2007-07-24 05:05:15 +00:00
  • 2d38b8f0d4 Added wired auto-connect profile chooser, fixed some bugs in the ralink legacy connection code, reorganized edgy.py and fixed some bugs in it, probably a few other things too imdano 2007-07-23 07:05:05 +00:00
  • e7fd625617 fixed bug where wired icon wouldn't change if cable became unplugged, fixed yet another indentation screw up imdano 2007-07-17 08:03:16 +00:00
  • 5bd069702d improved autoreconnect code imdano 2007-07-17 07:33:18 +00:00
  • ba48602aa9 fixed a screw up in my indentation in edgy.py, changed tabs to 4 spaces everywhere it wasn't already imdano 2007-07-17 07:19:10 +00:00
  • db591c345e daemon will now daemonize compwiz18 2007-07-16 09:23:18 +00:00
  • b898f6908a fixed global DNS compwiz18 2007-07-16 08:35:07 +00:00
  • 2f942ff865 removed conflict resolution info that would probably cause syntax errors imdano 2007-07-16 06:41:34 +00:00
  • c047b9ed45 Added support for ralink legacy cards, implemented a debug mode option, swapped order that autoconnect uses, fixed some indentation issues, changed/added some comments imdano 2007-07-16 06:34:23 +00:00
  • e55ac1fcba added global dns options (not quite working) compwiz18 2007-07-16 06:16:52 +00:00
  • 0b0859152d Optimized autoconnect for wired code (should be more log friendly) imdano 2007-07-11 12:47:44 +00:00
  • 7aaf402389 Fixed bug caused by wired/wireless daemons using the same function names imdano 2007-07-10 14:32:45 +00:00
  • 4511aad391 syntax error fixed compwiz18 2007-07-10 05:39:00 +00:00
  • d3ca083420 Added script execution support, added autoconnect to wired network support, created a default wired network system to allow autoconnection imdano 2007-07-09 14:41:14 +00:00
  • 4a2dc331f5 Removed sleep time in autoreconnect in stable (it would sometimes make it impossible to open the GUI), removed sleep time and altered autoreconnect behavior in experimental. (Try #3) imdano 2007-07-09 09:38:45 +00:00
  • 4e564bdc70 Removed sleep time in autoreconnect in stable (it would sometimes make it impossible to open the GUI), removed sleep time and altered autoreconnect behavior in experimental. imdano 2007-07-09 09:27:13 +00:00
  • c5219a75ec Removed sleep time in autoreconnect in stable (it would sometimes make it impossible to open the GUI), removed sleep time and altered autoreconnect behavior in experimental. imdano 2007-07-09 09:21:42 +00:00
  • f573bc4eae changed version number compwiz18 2007-07-08 20:12:44 +00:00
  • 4c4d702e0f Added DNS fix to wired class imdano 2007-07-08 10:36:47 +00:00
  • bd9cb2457b Fixed a static DNS bug and added some comments / fixed some typos imdano 2007-07-08 10:31:48 +00:00
  • f3535a7a65 Fixed a static DNS bug and added some comments / fixed some typos imdano 2007-07-08 10:31:28 +00:00
  • 200f5a7db8 shortened sleep time when returning from hibernation imdano 2007-07-08 08:34:42 +00:00
  • e05a3ff264 some minor adjustments and bug fixes imdano 2007-07-07 20:31:45 +00:00
  • 6bece259a3 Added ICS support, but commented it out so we can release compwiz18 2007-07-07 20:09:37 +00:00
  • abfc61431f string table updated compwiz18 2007-07-07 08:06:14 +00:00
  • ce3d327c36 Fixed a typo, added note that only WEP can be used for Ad-hoc encryption imdano 2007-07-05 06:53:57 +00:00
  • 7b541011b5 Fixed bug where tray wouldn't load when it automatically opened the daemon Fixed some typos imdano 2007-07-05 05:30:09 +00:00
  • 709efd2ac4 trying to fix compwiz18 2007-07-04 14:51:57 +00:00