9676fc49a0
Merged with experimental (1.6) branch (r232).
Andrew Psaltis2008-12-29 22:05:48 -05:00
2db3b3e60d
Checkpoint in getting the Preferences dialog functional. There's still some tweaking left to do. curses/curses_misc.py: Changed the internal layout of the widgets to allow me to stick buttons on the bottom. curses/prefs_curses.py: Added rudimentary Dbus support to the dialog. Started getting the config settings to save to wicd. Added buttons (which don't do anything yet). The PrefOverlay has been renamed to PrefsDialog. The PrefsDialog widget is wrapped around a TabColumns widget. Added a main entry point into the file to allow for somewhat easier testing. It can now be called indepentently of wicd-curses, if needed. curses/wicd-curses.py: Undid a change that caused the ESC key to disconnect from the current network, in addition to its current function.
Andrew Psaltis2008-12-29 22:04:40 -05:00
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.
Dan O'Reilly2008-12-28 16:19:18 -05:00
5c4266f2f2
Merged with experimental (1.6) branch (r231).
Andrew Psaltis2008-12-28 12:26:21 -05:00
98a1a74c49
curses/wicd-curses.py: Fixed a problem where any use of the wired network combo box would prevent connecting to wired networks. Added some semblance of a "working" indicator while connecting, a simple |,/,-,\,|,/,...
Andrew Psaltis2008-12-28 11:36:41 -05:00
da5fc2dfdf
Merged autoconnect.py and suspend.py changes from trunk (fixes for the pm-utils sleep hook usage).
Robby Workman2008-12-28 00:19:25 -06:00
689d31b098
curses/curses_misc.py: Added a tabbed interface widget for use in the preferences dialog. curses/prefs_curses.py: Converted the code to use the tabbed interface found in curses_misc.py. The dialog now fills up the terminal, but it still does nothing. curses/wicd-curses.py: Turned the "list" wired section of the interface to a combo box.
Andrew Psaltis2008-12-27 22:35:58 -05:00
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).
Dan O'Reilly2008-12-27 18:23:15 -05:00
ad6ddbfbae
Fixup pm-utils hook to return proper exit codes and fix logging.
Robby Workman2008-12-27 00:37:03 -06:00
0d4811b129
curses/curses_misc.py: ADDED. Various urwid classes that I use throughout the program. curses/prefs_curses.py: Frontend is complete. However, it is still missing buttons and the ability to save information. Removed code that is now in curses_misc.py. curses/wicd-curses.py: Removed code that is now in curses_misc.py. Tweaked the visuals a little bit. curses/README: Preferences configuration is a WIP now. curses/TODO: A combo box has been implemented in curses_misc.py, so that part has been removed. Also added a part about making a man page.
Andrew Psaltis2008-12-27 00:18:03 -05:00
5d11be8eae
curses/prefs_curses.py: Forgot the license. ^_^
Andrew Psaltis2008-12-26 14:18:40 -05:00
3ea851e0c8
Merged with experimental (1.6) branch (r229).
Andrew Psaltis2008-12-26 13:53:25 -05:00
780a05cef3
curses/prefs_curses.py: ADDED. A basic global preferences dialog. Has a tabbed interface. It is missing things such as buttons, external program controls, advanced settings, and the ability to save information. :-) curses/wicd-curses.py: Some code cleanup, replaced the language mess with the GUI list in misc, and added support for running the Preferences dialog with 'P'. curses/README: Added the keybindings to bring up the preferences dialog.
Andrew Psaltis2008-12-26 13:48:26 -05:00
fb96a229bb
Merged with the 1.6 sources (r227), and curses/wicd-curses.py: modified the program so that it can run off of the experimental API. Cleaned up some of the code.
Andrew Psaltis2008-12-23 21:24:49 -05:00
10df01a9c2
Tweak misc.to_unicode() so that it is more likely to encode to utf-8 correctly.
Dan O'Reilly2008-12-23 21:10:17 -05:00
92300133b8
Fix "_" getting stripped from interface names.
Dan O'Reilly2008-12-23 18:23:38 -05:00
d4a0b8d366
Added the wpa-psk template and change the wpa one to wpa passphrase
Adam Blackburn2008-12-23 16:55:15 -06:00
43d6acfc47
Updated Preferences dialog and added test cases for wnettools
Adam Blackburn2008-12-23 11:39:55 -06:00
2842180265
Add "CHANGES" file to the list of documentation installed.
Robby Workman2008-12-23 01:50:16 -06:00
48160df95b
Add support for configurable Unix group to be used - basically, users must be a member of this group in order to use Wicd. Note that this does not apply on systems configured to use ConsoleKit/PAM/et al. This defaults to use the "users" group so that it will work "out of the box" for most people, but distributions are encouraged to edit it as needed with the "--wicdgroup=whatever" configure argument.
Robby Workman2008-12-23 01:47:53 -06:00
c9b25937b3
Removed execute perms from other/wicd.conf
Robby Workman2008-12-23 01:20:48 -06:00
cb9a78968a
Fix (I think) dbus errors, or at least this is one way to fix them. If this is the *right* way, then it still needs work to support it in setup.py
Robby Workman2008-12-23 01:17:30 -06:00
2d6a33f1b0
Merged new prefs dialog from mainline experimental
Robby Workman2008-12-22 23:34:47 -06:00
c737a5d7d2
Updated Preferences dialog more and commented out translations in prefs.py
Adam Blackburn2008-12-22 23:30:52 -06:00
19df8ecbca
Updated Preferences dialog to conform to the GNOME HIG better
Adam Blackburn2008-12-22 23:08:12 -06:00
04d96bafee
Fix problem where combobox entries would get screwed up when the preferences window was opened more than once.
Dan O'Reilly2008-12-22 21:28:31 -05:00
7a987061df
Merged r219 from main experimental branch.
Robby Workman2008-12-22 17:14:55 +00:00
2c24f4b0db
Fix some issues with wired networks caused by refactoring. Add missing return statement.
Dan O'Reilly2008-12-22 00:20:42 -05:00
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.
Dan O'Reilly2008-12-22 00:05:19 -05:00
a82b53309e
Checkpoint for work on getting reasons for connection failure back up to the UI.
Dan O'Reilly2008-12-21 00:19:18 -05:00
b1475ce12c
Big one this time. Hopefully I got everything. curses/wicd.curses.py: Added the full language component from wicd.misc into the file. Added support for connecting to networks :-). Added statusbar-updating support during connections. Fixed a problem where an exception found before the UI is on-screen will cause another exception in wrap_exceptions. Turned the footer into a ListBox, so that I can add more than more stuff to it more easily. Rearranged the order of strings in the wireless connection part of the UI. Added a bunch of keymappings to support all of the new functionality. Made the UI updating function into an idle function, to better support the new functionality (and it eats up less CPU, too). Some minor code cleanup throughout. curses/README: Updated to correspond with new features curses/TODO: Removed connection support from the TODO, added a few other things.
Andrew Psaltis2008-12-20 16:32:19 -05:00
f80c04c98d
curses/wicd-curses.py: Redesigned the internal list so that the wired network information is always at the top, no matter the number of wireless networks present.
Andrew Psaltis2008-12-19 12:34:03 -05:00
c7e63acbfd
curses/wicd-curses.py: Moved the primary entry point to outside of the appGUI class, added some comments to improve code readability
Andrew Psaltis2008-12-18 22:55:20 -05:00
76fcc3e7c6
curses/wicd-curses.py: Removed a lot of redundant code related to focus on the main ListBox widget. Set focus=True in the frame's rendering function made everything so much easier.
Andrew Psaltis2008-12-18 16:39:24 -05:00
a72b99ad59
curses/wicd-curses.py: fixed a bug (missing 'self.') in dbus_scan_finished
Andrew Psaltis2008-12-18 00:07:00 -05:00
868469ef90
curses/wicd-curses.py: Added code to restore the console on all errors, and then print them, including KeyboardInterrupts. curses/TODO: Removed the above from TODO
Andrew Psaltis2008-12-17 11:27:09 -05:00
556c40ad75
Make gui.error() calls optionally not block. Make the lost dbus error message translatable.
Dan O'Reilly2008-12-16 01:19:26 -05:00
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.
Dan O'Reilly2008-12-16 00:48:47 -05:00
d23af83371
curses/wicd-curses.py: Colorized the network we're currently connected to. That network is now updated every time that wicd tells us that the "status" has changed. Network connection status is now updated every 2 seconds, instead of every 0.5.
Andrew Psaltis2008-12-15 17:50:00 -05:00
318024a123
Fix some gtk warnings that would pop up when the GUI was opened. Fix broken Network menu entries.
Dan O'Reilly2008-12-15 00:31:35 -05:00
d0200db00c
More work on making the client handle a daemon restart
Dan O'Reilly2008-12-14 22:19:35 -05:00
ab7b331aac
Make client survive the daemon going down. Port a few fixes from trunk.
Dan O'Reilly2008-12-14 18:31:24 -05:00
19691e2b7c
Remove extraneous comments from setup.py and clean up a few of them. This is definitely trivial crap...
Robby Workman2008-12-14 07:58:58 +00:00
f3d9dcaf1e
Merged main experimental branch Fixed kde autostart directory setting
Robby Workman2008-12-14 07:43:44 +00:00
d8ae040ae6
curses/wicd-curses.py: Cleaned up code for the Net/ListElements. Added '>' to mark to currently selected network. Set gen_network_list() to output signal quality in units specified in the config.
Andrew Psaltis2008-12-14 01:04:23 -05:00
41c975a22a
Make sure autoconnect.py never blocks Tweak configmanager to not write a default value unless one is specified in the get call.
Dan O'Reilly2008-12-13 19:39:15 -05:00
742bf5f8ce
Use RawConfigParser instead of ConfigParser
Dan O'Reilly2008-12-13 17:32:54 -05:00
7b305dc3fa
Merged main experimental branch changes as of r208.
Robby Workman2008-12-13 22:11:56 +00:00
20d5fd285b
Pass lists instead of strings in GeneratePSK and Authenticate methods.
Dan O'Reilly2008-12-13 17:07:31 -05:00
7c3f9ca5c1
Fixed (I think) the pkg-config and kde-config tests. This needs more testing though before I'm sure. Big thanks to "nanotube" for the suggestions and code for this.
Robby Workman2008-12-13 22:06:00 +00:00
64fd3940d6
curses/wicd-curses.py: Add gobject.MainLoop support, and enable the D-Bus function connections (It works!). Various comments/code cleanup done. curses/README: f5 refreshes the netlist now curses/TODO: Added a bunch of features to implement, and removed one of them.
Andrew Psaltis2008-12-13 16:06:11 -05:00
23297b3f7e
Let there be light! curses/wicd-curses.py: ADDED (new (very incomplete) curses UI) curses/README: ADDED (Simple README. Hope it says enough for the moment) curses/TODO: ADDED (Simple, incomplete, TODO list)
Andrew Psaltis2008-12-13 13:29:07 -05:00
6e4d70c4ea
Fix saving scripts not working correctly.
Dan O'Reilly2008-12-13 13:28:05 -05:00
be9dc9dfee
Add support for checking pkg-config to see where pm-utils sleep hook should go (supported in pm-utils >=1.2.3). Add support for checking kde-config to get kde's prefix, and set the kde autostart directory accordingly.
Robby Workman2008-12-12 04:28:18 +00:00
a6acb8a661
experimental branch: - Tray icon fixes from trunk - Handle possible failure in wpactrl - Format some docstrings
imdano2008-12-06 19:11:43 +00:00
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.
imdano2008-11-02 14:26:42 +00:00
11bd0266ff
experimental branch: - Port a bunch of fixes from the trunk - Use an actual Gtk.Menu in the toolbar for the "Network" widget
imdano2008-10-18 17:37:42 +00:00
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.
imdano2008-10-11 12:36:49 +00:00
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.
imdano2008-10-09 18:45:01 +00:00
df0ebdb92f
branches/experimental: - A bunch of documentation additions/updates. - Minor refactoring. - Fix catching wrong exception in netentry.py
imdano2008-09-25 20:17:35 +00:00
bb1d222150
branches/experimental: - Fix some wired method issues in the daemon. - Make sure stringToBoolean always returns a boolean.
imdano2008-09-21 16:38:15 +00:00
69932f255c
trunk & experimental: - Make sure all entries in the connection status info list are strings.
imdano2008-09-21 13:26:46 +00:00
f71ca63667
trunk/experimental: - Fix use of subprocess.call method
imdano2008-09-20 10:39:23 +00:00
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.
imdano2008-09-20 10:22:06 +00:00
244b419f3f
branches/experimental: - Fix crash in configmanager.
imdano2008-09-20 08:02:06 +00:00
ccbd6ad392
experimental: - Fix potential deadlock in connection thread - Make wireless interface blank string if set to None in config.
imdano2008-09-19 16:28:26 +00:00
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.
imdano2008-09-18 21:18:40 +00:00
55e292b3c1
trunk/experimental: - Fix EAP-TLS template. Thanks to Andrew Psaltis for the fix.
imdano2008-09-18 16:07:49 +00:00
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.
imdano2008-09-13 22:52:01 +00:00