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

31 Commits

Author SHA1 Message Date
imdano
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).
2007-12-29 11:56:47 +00:00
imdano
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.
2007-12-22 22:09:00 +00:00
imdano
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.
2007-12-19 22:35:07 +00:00
imdano
da4d84b793 Fixed a bug that would sometimes cause the tray icon to not display the right connection state on startup. 2007-12-17 15:44:41 +00:00
compwiz18
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
2007-12-17 15:20:02 +00:00
imdano
4dadeefdd6 Lowered minimum GUI height to 400.
Added support for the GUI to remember when its resized.
2007-12-17 11:42:16 +00:00
imdano
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. 2007-12-10 16:48:37 +00:00
imdano
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.
2007-11-20 22:20:10 +00:00
imdano
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.
2007-11-18 01:35:35 +00:00
compwiz18
8f2dfb5361 Added mhenze's patch to add last used wired profile 2007-10-04 03:31:07 +00:00
imdano
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.
2007-09-20 13:11:43 +00:00
compwiz18
64e5c27ba2 fixed indentation problems 2007-09-04 02:43:25 +00:00
imdano
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)
2007-08-29 18:49:02 +00:00
metrics
4e9e960ac9 Split the networking module, moving the common tasks into wnettools.py
By splitting the common tasks performed by the networking module out
into a separate set of classes, it is possible to reduce code
duplication and improve the structure of the networking module.

The wnettools module now performs _almost_ all the actual commands that
control the network interfaces, splitting it from the actual connection
logic contained in the networking module. Splitting these two tasks also
allows for tool changes to be made in a central location, rather than
spread throughout the networking.py file.
2007-08-16 01:07:26 +00:00
metrics
ca8810aa4a Centralise path configuration into a single file.
Path configuration was distributed throughout wicd, making it difficult
to move around project files. Centralise the configuration into
wpath.py.
2007-08-12 00:30:01 +00:00
imdano
4e4e87423d Added disconnection script
Changed auto-reconnection behavior slightly to prevent possible hanging issues
Changed/Added some comments
2007-08-10 07:59:36 +00:00
imdano
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 2007-07-27 18:20:51 +00:00
imdano
f1eb03fa85 Fixed typo in the testing release, added ralink correct signal strength info to experimental release, fixed wired connection bug in experimental release 2007-07-25 09:04:39 +00:00
compwiz18
85d3730249 updates and bug fixes and all that fun stuff 2007-07-24 06:06:27 +00:00
imdano
42b2dafabd Added myself as a co-author :) 2007-07-24 05:05:15 +00:00
imdano
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 2007-07-23 07:05:05 +00:00
compwiz18
b898f6908a fixed global DNS 2007-07-16 08:35:07 +00:00
imdano
2f942ff865 removed conflict resolution info that would probably cause syntax errors 2007-07-16 06:41:34 +00:00
imdano
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 2007-07-16 06:34:23 +00:00
compwiz18
e55ac1fcba added global dns options (not quite working) 2007-07-16 06:16:52 +00:00
imdano
7aaf402389 Fixed bug caused by wired/wireless daemons using the same function names 2007-07-10 14:32:45 +00:00
imdano
d3ca083420 Added script execution support, added autoconnect to wired network support, created a default wired network system to allow autoconnection 2007-07-09 14:41:14 +00:00
imdano
e05a3ff264 some minor adjustments and bug fixes 2007-07-07 20:31:45 +00:00
compwiz18
6bece259a3 Added ICS support, but commented it out so we can release 2007-07-07 20:09:37 +00:00
imdano
ce3d327c36 Fixed a typo, added note that only WEP can be used for Ad-hoc encryption 2007-07-05 06:53:57 +00:00
compwiz18
709efd2ac4 trying to fix 2007-07-04 14:51:57 +00:00