1
0
mirror of https://github.com/gryf/wicd.git synced 2026-04-21 05:21:24 +02:00
Commit Graph

249 Commits

Author SHA1 Message Date
Andrew Psaltis 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.
2008-12-27 22:35:58 -05:00
Andrew Psaltis 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.
2008-12-27 00:18:03 -05:00
Andrew Psaltis 5d11be8eae curses/prefs_curses.py: Forgot the license. ^_^ 2008-12-26 14:18:40 -05:00
Andrew Psaltis 3ea851e0c8 Merged with experimental (1.6) branch (r229). 2008-12-26 13:53:25 -05:00
Andrew Psaltis 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.
2008-12-26 13:48:26 -05:00
Adam Blackburn eb2959cdde Removed stringToBoolean 2008-12-24 00:24:26 -06:00
Adam Blackburn b3d7f072d2 Added unit test for misc.py 2008-12-23 23:34:22 -06:00
Andrew Psaltis 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.
2008-12-23 21:24:49 -05:00
Dan O'Reilly 10df01a9c2 Tweak misc.to_unicode() so that it is more likely to encode to utf-8 correctly. 2008-12-23 21:10:17 -05:00
Dan O'Reilly 92300133b8 Fix "_" getting stripped from interface names. 2008-12-23 18:23:38 -05:00
Adam Blackburn d4a0b8d366 Added the wpa-psk template and change the wpa one to wpa passphrase 2008-12-23 16:55:15 -06:00
Adam Blackburn 43d6acfc47 Updated Preferences dialog and added test cases for wnettools 2008-12-23 11:39:55 -06:00
Adam Blackburn c737a5d7d2 Updated Preferences dialog more and commented out translations in prefs.py 2008-12-22 23:30:52 -06:00
Adam Blackburn 19df8ecbca Updated Preferences dialog to conform to the GNOME HIG better 2008-12-22 23:08:12 -06:00
Adam Blackburn cd8e27b416 Fixed hidden network icon 2008-12-22 21:25:51 -06:00
Dan O'Reilly 04d96bafee Fix problem where combobox entries would get screwed up when the preferences window was opened more than once. 2008-12-22 21:28:31 -05:00
Andrew Psaltis 704ccf03fb Merged with experimental (r219). 2008-12-22 18:27:05 -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
Andrew Psaltis 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.
2008-12-20 16:32:19 -05:00
Andrew Psaltis 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. 2008-12-19 12:34:03 -05:00
Andrew Psaltis c7e63acbfd curses/wicd-curses.py: Moved the primary entry point to outside of the appGUI class, added some comments to improve code readability 2008-12-18 22:55:20 -05:00
Andrew Psaltis 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.
2008-12-18 16:39:24 -05:00
Andrew Psaltis a72b99ad59 curses/wicd-curses.py: fixed a bug (missing 'self.') in dbus_scan_finished 2008-12-18 00:07:00 -05:00
Andrew Psaltis 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
2008-12-17 11:27:09 -05:00
Andrew Psaltis 4b2a59203b Merged with experimental (r216) 2008-12-17 10:30:55 -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
Andrew Psaltis 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.
2008-12-15 17:50:00 -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
Andrew Psaltis 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. 2008-12-14 01:04:23 -05:00
Dan O'Reilly 41c975a22a Make sure autoconnect.py never blocks
Tweak configmanager to not write a default value unless one is specified in the get call.
2008-12-13 19:39:15 -05:00
Dan O'Reilly 742bf5f8ce Use RawConfigParser instead of ConfigParser 2008-12-13 17:32:54 -05:00
Dan O'Reilly 20d5fd285b Pass lists instead of strings in GeneratePSK and Authenticate methods. 2008-12-13 17:07:31 -05:00
Andrew Psaltis 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.
2008-12-13 16:06:11 -05:00
Andrew Psaltis f145b03ca3 Merged with experimental (r207) 2008-12-13 13:32:50 -05:00
Andrew Psaltis 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)
2008-12-13 13:29:07 -05:00
Dan O'Reilly 6e4d70c4ea Fix saving scripts not working correctly. 2008-12-13 13:28:05 -05:00
Dan O'Reilly 69b011a1e7 merging 2008-12-13 01:49:15 -05:00
Dan O'Reilly 7794e9abb9 Fix some suspend/resume issues 2008-12-13 01:37:57 -05:00
Adam Blackburn 2a18d7fddf Fixed the icons 2008-12-12 17:23:35 +08:00
Dan O'Reilly 2e21e6abb0 Fix dbus permissions problem.
Fix missing dbus import.
2008-12-11 18:42:11 -05:00
Dan O'Reilly 2b47ff538e Apply patch from rworkman
Update suspend/resume script
2008-12-11 00:56:12 -05:00
Dan O'Reilly 254d7c55dc More build fixes 2008-12-11 00:37:07 -05:00
Dan O'Reilly 9c2a808577 Add missing man file 2008-12-11 00:33:10 -05:00
Dan O'Reilly e3c70de4f5 Fix running scripts
Fix broken symlink
Update slackware init script
Add new build options to wpath.py
2008-12-11 00:29:00 -05:00