1
0
mirror of https://github.com/gryf/wicd.git synced 2026-02-05 15:55:52 +01:00
Commit Graph

157 Commits

Author SHA1 Message Date
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
6dd0642079 Apply lang patch from David Paleino 2009-03-01 23:15:34 -05:00
Dan O'Reilly
f66ec767fe Merge. 2009-03-01 21:50:18 -05:00
Dan O'Reilly
edbfd18553 Don't use the thread module in networking.py. 2009-02-28 15:34:34 -05:00
Dan O'Reilly
cafde692e5 Merge 2009-02-28 15:16:45 -05:00
Dan O'Reilly
e40afce104 Initial crack at global scripts support. Also includes some setup.py tweaks. 2009-02-27 00:40:19 -05:00
Dan O'Reilly
0af4c5331e Get rid of unneeded "use_tray" variable being passed around in wicd-client.
Remove some extra whitespace in networking.py
2009-02-27 00:35:53 -05:00
Dan O'Reilly
a23fbcede5 Merge. 2009-02-27 00:20:37 -05:00
Dan O'Reilly
de8b8c11f8 Get rid of unneeded "use_tray" variable being passed around in wicd-client.
Add some methods for executing multiple scripts to be use for global scripts later.
Remove some rogue extra whitespace in networking.py
2009-02-27 00:13:00 -05:00
Dan O'Reilly
ae0f589d43 Fix issue where signal strength wouldn't be reported correctly if the first link quality regex didn't match.
Add some helper methods that will eventually be used for encryption template parsing.
Use more specific exception checking in a few places.
2009-02-27 00:08:31 -05:00
Dan O'Reilly
5aaaa117e7 Fix typo 2009-02-21 13:11:55 -05:00
Dan O'Reilly
e879b49a82 merge 2009-02-21 01:00:40 -05:00
Dan O'Reilly
b7141f43cb Create the wpactrl interface connection in a less bizarre way. 2009-02-21 00:57:40 -05:00
Andrew Psaltis
8366c74c08 .bzrignore: Added files generated from the build to .bzrignore
wicd/misc.py:
  Decode all unicode fonts before a client handles them.  Prevents wicd-curses
  from dying due to having to display non-latin characters.
2009-02-20 21:44:16 -05:00
Andrew Psaltis
d385e61b6f Fixed regex problem in wicd/misc.py. 2009-02-19 18:14:40 -05:00
Adam Blackburn
4fc52511ba Fixed the dhcp_object error. 2009-02-19 22:22:12 -06:00
Dan O'Reilly
a62840dd96 Refactor wnettools/backend code so that most external tool functionality exists in wnettools, and it just inherited by the external backends. This simplifies creating new backends that just override selected methods.
Rewrite encryption template parsing code to allow blank entries (though the GUI still doesn't), and be more permissive of slightly incorrect formatting.
Fix bug in wicd-monitor error handling code.
2009-02-17 23:29:14 -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
8127dc194b Fix possible crash when handling D-Bus exceptions in monitor.py 2009-02-11 21:01:12 -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
7ee121c15e Don't convert to milliseconds in misc.timeout_add if milli is True. 2009-02-10 01:08:12 -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
896510324d Tweak algorithm for searching for sudo progs so we search every directory in $PATH for a particular app before moving on to the next one. 2009-02-08 19:59:53 -05:00
Dan O'Reilly
e162bb1c7b Fix crashing bug in daemon.
Dont have wicd-monitor inherit stdin from the daemon.
2009-02-08 18:42:05 -05:00
Dan O'Reilly
725da7c5b3 Applied LC_MESSAGES patch from David Paleino 2009-02-08 16:14:17 -05:00
Dan O'Reilly
c3bcda73cb Enforce only one scan being allowed to happen at a time in the daemon. 2009-02-08 16:09:55 -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
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
cbbf438f34 If the monitor loses contact with the daemon for an extended period, die instead of ignoring the errors. 2009-02-04 23:05:05 -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
Andrew Psaltis
96f55c0d3b curses/prefs_curses.py:
Removed the external entry point
  Removed the removing of a blank string that caused
wicd/misc.py:
  Made sure that "advanced_settings" in get_language_list_gui() actually is
    "Advanced Settings"
2009-02-04 17:28:43 -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
5a6bdbdef4 Remove unneeded parameter from PreferencesDialog constructor. 2009-02-03 19:38:07 -05:00
Dan O'Reilly
11c1c48b92 Make sure we try each external app in order if selection is set to be automatic. 2009-02-03 19:35:57 -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
e23af9b413 Make GetWirelessInterfaces() return a list instead of the first interface. Also make the networking.py layer pull the first entry from the list.
Some documentation cleanup.
2009-02-02 23:47:54 -05:00
Dan O'Reilly
6347842000 Minor formatting tweak 2009-02-02 23:39:52 -05:00
Dan O'Reilly
315ff97d87 Simplify the inheritance of static wnettools functions in the backends.
Make sure we select a default route flushing tool.
2009-02-02 23:05:29 -05:00
Dan O'Reilly
80593acd58 Merge NaCl's curses frontend and rworkman's experimental branch. 2009-02-01 23:32:55 -05:00
Dan O'Reilly
28b6aac2db Remove some comments. 2009-02-01 23:32:28 -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
dca0f59b06 Fix broken Scan() call in wicd-client 2009-01-31 20:22:15 -05:00
Andrew Psaltis
00d45d5eec Merged with r265 of mainline 1.6, providing PyLintish fixes 2009-01-31 02:13:18 -05:00
Andrew Psaltis
a89e45f0c8 curses/configscript_curses.py:
Added translations
  Removed the redundant run() function in WirelessSettingsDialog
curses/wicd-curses.py:
  Added translations, some still missing.
wicd/misc.py:
  Added some translations that are not in the database, but are in the translator
2009-01-31 01:33: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
Andrew Psaltis
0d669c4e84 Merged with r264 of the mainline, providing a bugfix. 2009-01-30 23:48:44 -05:00
Dan O'Reilly
339b622b09 Fix crash if essid is None 2009-01-30 21:20:43 -05:00