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

81 Commits

Author SHA1 Message Date
David Paleino
bdb64eab1c Merged reyammer's branch lp:~reyammer/wicd/bug-476982: implement password hiding (LP: #476982) 2011-09-15 12:50:21 +02:00
David Paleino
e10e1e9b48 generalize libc linking using ctypes' find_library() 2011-08-07 22:09:49 +02:00
Andrew Psaltis
e773b3b1f3 Scan the SSID by default, should make wicd a bit more cooperative at handling hidden SSIDs.
Set scan_ssid in the templates to "1" by default, instead of "0".
2010-08-20 17:38:52 -04:00
Adam Blackburn
ec650ac2a3 Debian patch: 18-dont_run_unexpected_files_in_scripts.patch 2010-05-29 17:32:36 +08:00
Adam Blackburn
694e18c6b3 run global scripts in ordered way 2010-01-03 23:10:55 -10:00
Adam Blackburn
078e47a110 properly escape characters in script parameters 2009-08-13 05:05:44 -05:00
Adam Blackburn
6e3d6c8d02 added code to escape characters in global scripts 2009-08-09 18:40:29 -05:00
Adam Blackburn
218c6a3aef merged latest 1.6 2009-08-09 18:07:22 -05:00
Adam Blackburn
e30071c012 added support for passing parameters to the global scripts 2009-08-09 18:06:33 -05:00
Dan O'Reilly
6cedaf0199 Make sure we run to_unicode on all properties we read from disk or get from the user (bug 390680).
Don't try to run global scripts of the global script directory doesn't exist (bug 386244).
2009-07-02 18:26:37 -04:00
Adam Blackburn
5adf46811d fix a small typo in misc.py -- thanks to David Paleino 2009-06-16 23:36:58 +08:00
David Paleino
c95ede898a Support udhcpc, this is needed to smoothly run on the OpenMoko FreeRunner.
Thanks to Luca Capello <gismo@debian.org> for porting the patch to 1.5.9, and
to "madmo" from the linked forum for making the patch.

Patch originally taken from http://wicd.net/punbb/viewtopic.php?id=132

Patch ported to 1.6.0 code by David Paleino <d.paleino@gmail.com>.
2009-06-13 22:07:49 +02:00
Dan O'Reilly
c334cac1c8 - Make the GUI behave better when a disconnect button is pushed.
- Move some of the libnotify logic to guiutil.py and add support for displaying some error messages in a libnotify pop-up.
- Apply some patches provided by sunseraph.  Tweak to the channel regex and checking for a valid AP bssid when monitoring a wireless connection.  Set essid, bssid, and channel in separate calls to iwconfig.
- Add caching for ifconfig and iwconfig results in wnettools.py.  That way we're not needlessly calling the same command a bunch of times in a short period of time (2 seconds).  This removes the need for us to pass around iwconfig/ifconfig output elsewhere, though I've left it in for now.
- Remove unneeded BackendManager instance from networking.py
- Fix last used wired networking autoconnection method
2009-05-22 15:40:35 -04:00
Dan O'Reilly
e12b29072d Add missing print statement to ExecuteScripts() 2009-04-11 22:41:34 -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
b79151ef07 Always use the "C" local when running external commands. 2009-04-03 19:07:00 -04:00
Dan O'Reilly
2b54f26c4e Fix another issue with integer keys. 2009-03-27 23:13:16 -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
fc31e92e78 Merge 1.6 branch. 2009-03-21 16:37:21 -04:00
Dan O'Reilly
34832775c8 - Replace some tabs that snuck in with spaces.
- Try to validate successful association with static IPs by pinging the gateway specified.
2009-03-21 16:28:40 -04:00
Dan O'Reilly
fac3d9a09f Fix some issues in the template error handling code. 2009-03-21 15:30:26 -04:00
Dan O'Reilly
c7249edd3c Merge from 1.6 branch. 2009-03-16 23:19:06 -04:00
Dan O'Reilly
b66bd696af Add support for using resolvconf instead of directly editing resolv.conf if possible. 2009-03-09 00:07:39 -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
6dd0642079 Apply lang patch from David Paleino 2009-03-01 23:15:34 -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
cafde692e5 Merge 2009-02-28 15:16:45 -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
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
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
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
725da7c5b3 Applied LC_MESSAGES patch from David Paleino 2009-02-08 16:14:17 -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
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
80593acd58 Merge NaCl's curses frontend and rworkman's experimental branch. 2009-02-01 23:32:55 -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
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
badcd6d9bf Merged with r265 of mainline 1.6, giving me most of the remaining translations that I need. 2009-01-27 21:50:24 -05:00
Andrew Psaltis
26e636e2f2 wicd/misc.py:
Fixed a typo in get_language_list_gui
    (%CURSES_REVNO%)
curses/wicd-curses.py:
  Added in some translations (not done yet)
curses/prefs_curses.py:
  Added all of the translations
  Removed the warning about changing the backends (since it is useless)
2009-01-27 21:46:52 -05:00
Adam Blackburn
b9421a2933 Fixed another typo 2009-01-27 14:22:10 +08:00
Adam Blackburn
ad44d01298 Fixed a typo 2009-01-27 14:17:11 +08:00