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

45 Commits

Author SHA1 Message Date
Andrew Psaltis
4998d8c83e Set the SVG wicd icon as the window icon in wicd-client. 2009-04-22 12:13:06 -04:00
Dan O'Reilly
0a007d0f44 Only check for wireless tools in the ioctl backend if wpactrl isn't available.
Fix up error handling when there is no graphical sudo program installed.
2009-04-11 18:53:30 -04:00
Dan O'Reilly
65c72ba3a2 Update copyrights and some docstrings.
Make trayicon network menu scan-triggering behave better.
2009-03-22 17:36:55 -04:00
Dan O'Reilly
cfdf5eb807 Merge. 2009-03-08 18:32:48 -04:00
Andrew Psaltis
a1169cb1df Added translations.py, and adapted all gtk and curses ui files to use it.
Moved the language dict functions and get_gettext to translations.py.  Also
  killed the functions and laid the dict bare in the file
Removed all instances of language[number] from wicd.
2009-03-04 00:02:14 -05:00
Dan O'Reilly
8112851a86 Tweak encryption template code so that optional parameters can be supplied. Tweak UI code to reflect that new functionality.
Allow for slightly more variation in template formatting.
2009-02-28 21:52:27 -05:00
Dan O'Reilly
7e18194c29 Fix bug where GUI could get stuck in the connecting state if the GUI was first opened while a connection was in progress. 2009-02-13 18:54:27 -05:00
Dan O'Reilly
f237f421ab Fix issue where GetForcedDisconnect was returning True when we had just connected.
Fix issues with auto-switch to wired.
Change to how the gui handles changing state from connecting to not-connecting to be nicer.
Make the gui trigger monitor state updates while in the connecting state.
Make sure the monitor logs a warning when it catches a D-Bus exception.
Make sure cancelling a wired connection attempt kills DHCP.
Fix issue where DHCP wouldn't get run if automatic dhcp tool was enabled.
2009-02-12 18:38:40 -05:00
Dan O'Reilly
bae95355d7 Make sure it's possible to stop a dhcp client that's in the process of getting a lease.
Have gui.py trigger connection status updates every .5 seconds if in a connecting state.
Fix typo in wicd-client.py
2009-02-11 20:55:02 -05:00
Dan O'Reilly
30b59d1a59 Change "Advanced Settings" to "Properties"
Remove some unneeded debugging output.
Replace gobject.timeout_add_seconds / gobject.timeout_add if/else logic with calls to a misc.timeout_add method that does it internally.
Only display the dbus lost error message if dbus has been gone for 5 seconds without coming back.
2009-02-10 00:58:11 -05:00
Dan O'Reilly
41e356cd97 Always updated the network list if we get a scan finished signal. 2009-02-07 01:50:49 -05:00
Dan O'Reilly
e84a637d31 Fix some issues with the GUI statusbar being incorrect.
Make wicd-client more tolerant of dbus exceptions.
Disconnect from both managed interfaces before making a connection.
2009-02-07 01:22:42 -05:00
Dan O'Reilly
70c93746dd More tweaking of how the GUI updates the status bar. Should be more efficient now. 2009-02-04 19:13:06 -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
5a6bdbdef4 Remove unneeded parameter from PreferencesDialog constructor. 2009-02-03 19:38:07 -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
d20dafa088 Fix issues with the way disconnect scripts work.
Make flushing the route table more likely to work.
2009-01-26 18:46:57 -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
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
1269bcd048 Fix a few typos in the option gateway code. 2009-01-19 23:45:05 -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
7cadae7131 Move logic that saves settings for network entries out of gui.py and into netentry.py. 2009-01-02 19:52:28 -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
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
69d2cd2d77 Fix non-blocking error dialog. 2008-12-16 01:30:46 -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
318024a123 Fix some gtk warnings that would pop up when the GUI was opened.
Fix broken Network menu entries.
2008-12-15 00:31:35 -05:00
Dan O'Reilly
d0200db00c More work on making the client handle a daemon restart 2008-12-14 22:19:35 -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
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
20b4a61f30 experimental branch:
- Actually destroy the network entry objects that are supposed to get destroied
- Improve GUI behavior when initially opened.
- Use the python -O flag when launching the daemon/GUI.
- Favor gksudo over gksu.
- Remove broken interface enable/disable options.
2008-10-11 12:36:49 +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
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
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
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
compwiz18
0844386017 Experimental: Apply changes involving setup.py
* Added setup.py from trunk
 * Updated various information files (AUTHORS, README, etc)
 * Update the Wicd icon
 * Move stuff around to match trunk's layout
2008-08-23 20:14:43 +00:00