1
0
mirror of https://github.com/gryf/wicd.git synced 2025-12-24 07:02:29 +01:00
Commit Graph

301 Commits

Author SHA1 Message Date
Robby Workman
feedd7b6c5 Merged r237 of mainline. 2009-01-02 20:57:47 -06:00
Adam Blackburn
bff4f961e7 Changed 25% signal icon to red and 50% signal icon to orange 2009-01-03 10:35:28 +08:00
Robby Workman
93ef894c45 Removed "in keys" from line 415 per NaCl's suggestion. 2009-01-02 20:25:16 -06:00
Dan O'Reilly
3b1f636ae0 Merge in rworkman-experimental 2009-01-02 19:57:21 -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
Robby Workman
066237718f Fixed up setup.py and wpath.py to install the curses client.
Added a wicd-curses wrapper script to /usr/bin
Made curses *.py files executable
All of this passes the build test, but not the "WFM" test. :)
2009-01-01 02:02:26 -06:00
Robby Workman
4798d26f9a Merged my experimental branch into this. 2009-01-01 01:43:00 -06:00
Robby Workman
908267f059 Merged NaCl's curses branch into this. 2009-01-01 01:42:20 -06:00
Robby Workman
62ce9b9852 If kde-config fails, then assume kde is not installed, and don't
install the autostart file for kde.
2008-12-31 23:53:30 -06:00
Andrew Psaltis
8ed394abf3 curses/*.py: updated copyrights to include 2009
curses/wicd-curses.py: Fixed missing comma in the About Dialog text
2009-01-01 00:36:08 -05:00
Andrew Psaltis
f0466be6b8 curses/curses_misc.py:
Added a Dialog class, mostly borrowed from a urwid example
curses/prefs_curses.py:
  Added the DNS domain to the dialog, as was done in the GTK UI
curses/wicd-curses.py:
  Added a semi-pretty about dialog.
curses/README: Activating about dialog is done by "A"
2009-01-01 00:30:53 -05:00
Andrew Psaltis
77f0e1c54b Merged with experimental (1.6) branch, r234. 2008-12-31 18:43:15 -05:00
Robby Workman
f67c171b2c Merged r234 from mainline. 2008-12-31 15:52:27 -06: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
Andrew Psaltis
f388b22c53 curses/README: Actually changed the text in the file.
Merged with experimental (1.6) branch, r233.  Mmmm... wpathenhancements
2008-12-30 23:12:42 -05:00
Andrew Psaltis
64741b032a curses/curses_misc.py:
Added a get_edit_text function to ToggleEdit.
  Changed the get_selected function in ComboBox to return the index only.
curses/prefs_curses.py:
  Completed the load+save functions of the UI
  Buttons are now functional.  Only selecting the OK button will save the data for now.
curses/wicd-curses.py:
  Added support for the "Always Show Wired Interface" config option
  Completed support for the preferences dialog
curses/TODO,README: Preferences dialog is done. :-)
2008-12-30 23:10:18 -05:00
Andrew Psaltis
5fd6cca50b Yet another checkpoint in building the Preferences Dialog up to completion. Some of the code isn't used yet, but this should all be done relatively soon.
curses/curses_misc.py:
  Added a function in the ToggleEdit to set its text to something
  Changed the name of ComboText to ComboBox
  Provided the ability to generate the initial parts of a ComboBox w/o needing the screen.
  Added ComboBoxException, a simple derived exception for the ComboBox.  Used it to die of the user never called build_combobox()
curses/prefs_curses.py:
  Changed the names of some of the widgets.
  Adjusted the code to use the modified ComboBox widget
curses/wicd-curses.py:
  Adjusted the code to use the modified ComboBox widget
2008-12-30 21:27:41 -05:00
Robby Workman
5de0569fab Merged r233 from mainline 2008-12-30 20:07:52 -06:00
Adam Blackburn
ec682a2fce Merged with wpathenhancements 2008-12-30 18:01:27 -06:00
Adam Blackburn
ea69f2710e Removed files that are generated by python setup.py configure
Added command to setup.py to clean out generated files ('cleargenerated')
Added the revision number to wicd-daemon.py --help
2008-12-30 10:31:06 -06:00
Adam Blackburn
1a98bf6890 Fixed a typo 2008-12-30 10:17:07 -06:00
Adam Blackburn
bc584bfa3f Added support for storing the revision number in wpath.py 2008-12-30 10:16:09 -06:00
Adam Blackburn
b0ef6a905b Centralized version number in setup.py 2008-12-30 09:53:30 -06:00
Andrew Psaltis
9676fc49a0 Merged with experimental (1.6) branch (r232). 2008-12-29 22:05:48 -05:00
Andrew Psaltis
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.
2008-12-29 22:04:40 -05:00
Robby Workman
4e1ac3e43f Merged r232 from mainline. 2008-12-28 19:24:37 -06:00
Robby Workman
b3d695d0ba Fix permissions on peap-tkip template. 2008-12-28 19:22:15 -06: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
Andrew Psaltis
5c4266f2f2 Merged with experimental (1.6) branch (r231). 2008-12-28 12:26:21 -05:00
Andrew Psaltis
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 |,/,-,\,|,/,...
2008-12-28 11:36:41 -05:00
Robby Workman
da5fc2dfdf Merged autoconnect.py and suspend.py changes from trunk (fixes for
the pm-utils sleep hook usage).
2008-12-28 00:19:25 -06:00
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
Robby Workman
f35e5513ca Merged latest changes from mainline experimental branch. 2008-12-27 19:38:12 -06:00
Robby Workman
744324eb2e Merge in the changes to trunk's pm-utils sleep hook. 2008-12-27 19:21:45 -06:00
Dan O'Reilly
f66e8759cc Fix prefs label 2008-12-27 18:31:50 -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
Robby Workman
ad6ddbfbae Fixup pm-utils hook to return proper exit codes and fix logging. 2008-12-27 00:37:03 -06: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
Robby Workman
d0918cb0b8 Merged r229 from mainline experimental. 2008-12-24 11:30:07 -06: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
Robby Workman
2842180265 Add "CHANGES" file to the list of documentation installed. 2008-12-23 01:50:16 -06:00