1
0
mirror of https://github.com/gryf/wicd.git synced 2025-12-23 06:37:59 +01:00
Commit Graph

46 Commits

Author SHA1 Message Date
Dan O'Reilly
450677c83d Fix bug where interface name was being passed to the dhcp client executable twice.
Tweak connect/disconnect to not kill any processes.  Instead it releases leases and terminates the wpa_supplicant instance through its ctrl interface.  This should make wicd handle multiple connections better.
2009-02-06 19:26:09 -05:00
Dan O'Reilly
9fb268d67d Rather than polling for network status in the GUI, just have the monitor run an on-demand pull and get the results from the daemon. Should reduce iwconfig/ifconfig calls while the GUI is open and make for nicer looking code. 2009-02-04 00:26:13 -05:00
Dan O'Reilly
3fe1bca50e Fix bug where link detection tool value wasn't get propogated down the stack. 2009-02-03 23:48:58 -05:00
Dan O'Reilly
b54dbcff92 Make sure debug settings are propogated down the stack as soon a the daemon loads. 2009-02-03 00:05:11 -05:00
Dan O'Reilly
8594116630 Make it possible for the user to select which graphical sudo application to use.
Make any external apps not installed on the system unselectable in the GUI.
Rework the app selection code in the backend to fall back to auto-selection if a requested app isn't installed.
Tweak the autoconnect attempt throttle in wicd-monitor to not be as aggressive.
Made sure the preferences dialog would reconnect to dbus when a DaemonStarting signal was sent.
2009-02-01 23:10:11 -05:00
Dan O'Reilly
d22a59cbcc A bunch of small fixes for errors/warnings reported by Pylint. 2009-01-31 00:31:50 -05:00
Dan O'Reilly
339b622b09 Fix crash if essid is None 2009-01-30 21:20:43 -05:00
Dan O'Reilly
467688beda Always scan when the daemon starts.
Remove old init scripts.
2009-01-28 19:52:51 -05:00
Adam Blackburn
17941cf853 Fixed some typos in the hidden network code and fix a bug if you try to start the tray icon without the daemon 2009-01-26 11:15:35 +08:00
Dan O'Reilly
c92efc5279 Fix issue where toggling default wired profile could cause settings to get set for multiple profiles.
Remove some no longer needed checks in the daemon.
2009-01-25 16:34:32 -05:00
Dan O'Reilly
ec37206905 Initial work on automatic switchover to wired networks (no UI work yet)
actually use "write=True" instead of just "True" everywhere we do config writes explicitly.
Fix the scripts dialog not working for wired connections.
Force the monitor to update state after triggering a disconnect or connect.
Remove an unneeded Scan call from autoconnect.py
2009-01-24 23:31:24 -05:00
Dan O'Reilly
540b8b8a3e Tweak a comment 2009-01-22 21:51:03 -05:00
Dan O'Reilly
c494387a80 Tweak autoconnect logic be more likely to work if initial scans don't give us good results. 2009-01-22 21:26:05 -05:00
Dan O'Reilly
33a08b696e Add missing guiutil module 2009-01-20 23:55:43 -05:00
Dan O'Reilly
f6d7579859 Add support for writing config data with whitespace kept intact.
Propgate debug setting to the ConfigManager instances.
Don't write essid key sections to the config file if we're not actually using them.
2009-01-20 00:32:56 -05:00
Dan O'Reilly
ea4ab09984 Fix ttls template
Add a guiutils module for gui-related functions/classes that are used in multiple modules.
Replace os.access with os.path.exists
Make the static gateway entry optional.
Don't auto-connect/reconnect when the gui is open.
Fix bug that would keep the gui from working if the wired network entry was displayed.
2009-01-19 01:06:57 -05:00
Dan O'Reilly
514facb4aa Tweak default window sizes 2009-01-15 01:21:54 -05:00
Dan O'Reilly
2358357f1d Fix bug where be-ioctl scans always reported channels as 1.
Tweak the UI a little bit.
Add debugging output when forced_disconnect gets enabled.
2009-01-15 00:56:02 -05:00
Dan O'Reilly
997e523722 Add a domain entry for dns settings.
Display an error if global dns is enabled for a network, but global dns entries aren't entered in the general preferences window.
2008-12-30 23:20:00 -05:00
Adam Blackburn
ea69f2710e Removed files that are generated by python setup.py configure
Added command to setup.py to clean out generated files ('cleargenerated')
Added the revision number to wicd-daemon.py --help
2008-12-30 10:31:06 -06:00
Adam Blackburn
b0ef6a905b Centralized version number in setup.py 2008-12-30 09:53:30 -06:00
Dan O'Reilly
da54e6033b Fix bug where the daemon could crash if an encryption key was entered for a network without encryption on.
Some minor code formatting changes
Replace "new" with "experimental" in description for ioctl backend.
2008-12-28 16:19:18 -05:00
Dan O'Reilly
9caae86049 Make backend combobox tooltip display the active backend's description.
Reverse the order of the OK/Cancel button in the Ad-Hoc connection dialog.
Use a new set of icons.
Extend the update invervals for all backends by 1 second.
Try to use en_US.utf8 instead of C as the LANG in misc.Run if it is available.
Add ability to force a network state update.  (Currently not used).
2008-12-27 18:23:15 -05:00
Dan O'Reilly
2c24f4b0db Fix some issues with wired networks caused by refactoring.
Add missing return statement.
2008-12-22 00:20:42 -05:00
Dan O'Reilly
16aad93feb More work on bubbling the reason for connection failures up to the UI.
Refactor Wireless/Wired classes in networking module and daemon so that they don't need to reference each other.  Wired objects don't know about Wireless objects and vice versa.  This also means connecting to a wired/wireless network will only clear the connection on whichever network type you're connecting to.
2008-12-22 00:05:19 -05:00
Dan O'Reilly
a82b53309e Checkpoint for work on getting reasons for connection failure back up to the UI. 2008-12-21 00:19:18 -05:00
Dan O'Reilly
556c40ad75 Make gui.error() calls optionally not block.
Make the lost dbus error message translatable.
2008-12-16 01:19:26 -05:00
Dan O'Reilly
ba3bc2afc2 Only show valid wpa_supplicant drivers in the GUI.
Don't needlessly created PreferenceDialog objects.
Use dbus signals to alert the UI that the daemon is back up, instead of polling.
2008-12-16 00:48:47 -05:00
Dan O'Reilly
ab7b331aac Make client survive the daemon going down.
Port a few fixes from trunk.
2008-12-14 18:31:24 -05:00
Dan O'Reilly
6e4d70c4ea Fix saving scripts not working correctly. 2008-12-13 13:28:05 -05:00
Dan O'Reilly
7794e9abb9 Fix some suspend/resume issues 2008-12-13 01:37:57 -05:00
Dan O'Reilly
46bbde7745 merging in a bunch of trunk changes 2008-12-07 21:15:29 -05:00
imdano
fd0a41def6 experimental branch:
- Enhance dbus manager to handle settings up mainloops, etc.
- Early work on getting wicd-client to recover from a daemon crash.
- Simply how the the scripts editor gets launched.
- Remove unneeded cleanup code from netentry.py
- More ralink legacy work.
- Run scans in a thread, this should make the UI more responsive while a scan is going on.  Rework the UI code to never expect a scan to be blocking.
- Don't require the daemon to be restarted when we switch backends, just try to prevent any calls to the backend until the switch is made.
2008-11-02 14:26:42 +00:00
imdano
11bd0266ff experimental branch:
- Port a bunch of fixes from the trunk
- Use an actual Gtk.Menu in the toolbar for the "Network" widget
2008-10-18 17:37:42 +00:00
imdano
9ee8bc1875 experimental:
- Add 3rd party python libraries used by ioctl backend to tree and to setup.py
- Port several bug fixes from the trunk (removing reliance on shell for running external commands, unicode fixes, gui crash fixes, authentication validation improvements, several others)
- Fix some crashes in ioctl backend.
- Change daemon/GUI launch scripts to use the -O flag.
2008-10-09 18:45:01 +00:00
imdano
df0ebdb92f branches/experimental:
- A bunch of documentation additions/updates.
- Minor refactoring.
- Fix catching wrong exception in netentry.py
2008-09-25 20:17:35 +00:00
imdano
bb1d222150 branches/experimental:
- Fix some wired method issues in the daemon.
- Make sure stringToBoolean always returns a boolean.
2008-09-21 16:38:15 +00:00
imdano
c197b5fcbc branches/experimental
- Add support for entering search domain into static DNS settings.
- Fix some errors in how static setting texboxes were getting set.
- Fixed a bunch of errors/warnings found by pylint.
2008-09-20 10:22:06 +00:00
imdano
ccbd6ad392 experimental:
- Fix potential deadlock in connection thread
- Make wireless interface blank string if set to None in config.
2008-09-19 16:28:26 +00:00
imdano
890b5ee16a experimental:
- Use the full path to wpa_passphrase.
- Fix some crashing bugs in the daemon and configscript.py
- Port a few changes/fixes from trunk.
- Some minor refactoring.
2008-09-18 21:18:40 +00:00
imdano
f6033cc6bb experimental:
- Add UPDATE_INTERVAL as a required attribute for backends, and used by monitor.py
- Update Copyright stuff in a few files
- Remove/update some scripts and configuration files.
2008-09-13 22:52:01 +00:00
imdano
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
2008-09-13 21:39:20 +00:00
imdano
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.
2008-09-13 11:28:36 +00:00
imdano
97e1123c8c experimental:
- fix some autoconnect issues related to the splitting up of the daemon
2008-09-06 20:53:21 +00:00
imdano
687d932065 experimental:
- Fix some syntax/import problems created during the merge
2008-09-06 19:53:25 +00:00
imdano
59d282ee6e experimental:
- Merge in changes from pluggablebackends.
2008-09-06 16:54:53 +00:00