1
0
mirror of https://github.com/gryf/wicd.git synced 2026-04-20 12:41:26 +02:00
Commit Graph

48 Commits

Author SHA1 Message Date
metrics ccf7960694 Fix up some issues spotted by pychecker. 2007-08-16 01:53:13 +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
imdano 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
2007-08-15 07:25:10 +00:00
imdano bbf32b3b41 Fixed the typo in networking.py correctly this time :)
Corrected the version number displayed in usage()
2007-08-14 17:02:38 +00:00
imdano 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)
2007-08-14 16:01:30 +00:00
metrics 8c3a97d572 Refactor daemon.py to handle command line arguments.
Move the old module code in daemon.py into a main() function, splitting
off the daemonization into daemonize() function. Also add correct
parsing of command line arguments to allow disabling of stderr and
stdout redirection, daemonizing and auto-connect.

Tidy up start of file including correct GPL license pre-amble and a
short description of the wicd daemon module.
2007-08-12 03:31:04 +00:00
metrics 68424ebfea Convert FlushWriter into LogWriter and optimise log writing.
FlushWriter looped through all the characters provided, writing them one
at a time. This is not strictly necessary, so modify the algorithm to
use a smart substitution and keep the timestamps correct. Name change to
better match its behaviour.
2007-08-12 01:36:49 +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 e9ea0c4419 Added support for displaying correct network info in drivers using some non-standard display info. 2007-08-04 19:09:05 +00:00
imdano 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.
2007-08-01 09:31:43 +00:00
imdano 8a9497cc05 made get debugmode function return an int 2007-07-29 08:17:00 +00:00
imdano 796deb271d added a debugmode check to dapper.py 2007-07-28 11:20:38 +00:00
imdano 80c6c22951 fixed a bug in the open/close gui function in dapper.py
fixed a bug in getdebugmode function in daemon.py
2007-07-28 11:19:18 +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 8af62b2eca Updated autoconnect.py to reflect changes to daemon 2007-07-25 17:59:31 +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
imdano a984110b49 fixed a typo 2007-07-24 15:30:59 +00:00
compwiz18 c6e779142e daemon will now fork 2007-07-24 06:31:07 +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
imdano e7fd625617 fixed bug where wired icon wouldn't change if cable became unplugged, fixed yet another indentation screw up 2007-07-17 08:03:16 +00:00
imdano 5bd069702d improved autoreconnect code 2007-07-17 07:33:18 +00:00
imdano ba48602aa9 fixed a screw up in my indentation in edgy.py, changed tabs to 4 spaces everywhere it wasn't already 2007-07-17 07:19:10 +00:00
compwiz18 db591c345e daemon will now daemonize 2007-07-16 09:23:18 +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 0b0859152d Optimized autoconnect for wired code (should be more log friendly) 2007-07-11 12:47:44 +00:00
imdano 7aaf402389 Fixed bug caused by wired/wireless daemons using the same function names 2007-07-10 14:32:45 +00:00
compwiz18 4511aad391 syntax error fixed 2007-07-10 05:39:00 +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 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) 2007-07-09 09:38:45 +00:00
imdano 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. 2007-07-09 09:27:13 +00:00
imdano 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. 2007-07-09 09:21:42 +00:00
compwiz18 f573bc4eae changed version number 2007-07-08 20:12:44 +00:00
imdano 4c4d702e0f Added DNS fix to wired class 2007-07-08 10:36:47 +00:00
imdano bd9cb2457b Fixed a static DNS bug and added some comments / fixed some typos 2007-07-08 10:31:48 +00:00
imdano f3535a7a65 Fixed a static DNS bug and added some comments / fixed some typos 2007-07-08 10:31:28 +00:00
imdano 200f5a7db8 shortened sleep time when returning from hibernation 2007-07-08 08:34:42 +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
compwiz18 abfc61431f string table updated 2007-07-07 08:06:14 +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
imdano 7b541011b5 Fixed bug where tray wouldn't load when it automatically opened the daemon
Fixed some typos
2007-07-05 05:30:09 +00:00
compwiz18 709efd2ac4 trying to fix 2007-07-04 14:51:57 +00:00