c92efc5279
Fix issue where toggling default wired profile could cause settings to get set for multiple profiles. Remove some no longer needed checks in the daemon.
Dan O'Reilly
2009-01-25 16:34:32 -05:00
7a375db453
Add UI portion of wired switch feature.
Dan O'Reilly
2009-01-25 15:15:49 -05:00
a2e757a64d
Add new wired GUI icon.
Dan O'Reilly
2009-01-25 00:44:51 -05:00
9d6a7c9d78
Merge in improved wired profile UI Tweak how wired profile list is built to be simple/more efficent and not cause a dbus error.
Dan O'Reilly
2009-01-24 23:54:57 -05:00
ec37206905
Initial work on automatic switchover to wired networks (no UI work yet) actually use "write=True" instead of just "True" everywhere we do config writes explicitly. Fix the scripts dialog not working for wired connections. Force the monitor to update state after triggering a disconnect or connect. Remove an unneeded Scan call from autoconnect.py
Dan O'Reilly
2009-01-24 23:31:24 -05:00
1c425b4b78
Merged with r247 of rworkman's branch, which: Adds ~crux support to setup.py Slightly reformats the wicd-client.1 man page, and fixes a spelling error Fixes some stuff in the wicd-client script. I just accepted the other "nitpicks", too.
Andrew Psaltis
2009-01-23 22:18:18 -05:00
1b17fde015
setup.py: Added support for keeping track of the revisions of the curses client (%CURSES_REVNO%) curses/wicd-curses.py: Added the ad-hoc controls to the Help dialog Set wireless scans to be synchronous (True), to adapt to an API change in mainline Added support for OptionParser, added and implemented the option that was described in the man page (and -h (help) and --version) in/wicd=wpath.py.in: Added a curses_revision flag in/man=wicd-curses.8.in: Option parsing has been implemented. Added the %CURSES_REVNO% flag to the man page. Fixed an accidental " added to one of the headers
Andrew Psaltis
2009-01-23 22:13:27 -05:00
abf05c782f
Ad-hoc network support is added ("O"). This commit is should be the last one containing new interface elements. :-D This also may not work directly from the install. I need to change some stuff first. curses/curses_misc.py: Fixed bug in Dialog2 where mouse clicks would cause the program to crash Added DynEdit and DynIntEdit, Simple DynWrapped widgets, nothing special about them curses/wicd-curses.py: Added support for Ad-Hoc network controls (I don't know exactly how this works) curses/README,TODO,in/man=wicd-curses.8.in: Ad-Hoc network support has been added
Andrew Psaltis
2009-01-23 21:13:36 -05:00
932bd32472
Fix a misspelling in wicd-client.1, and add linewraps at <80 chars in the raw text.
Robby Workman
2009-01-23 16:06:53 -06:00
784076926a
Some nitpick edits to wicd-client's section that checks for X and offers to launch the curses client. This is largely personal preference, so no offense will be taken by merge refusal, but I'm not convinced that "friendliness" belongs in the file comments :-)
Robby Workman
2009-01-23 16:04:07 -06:00
f6e64b321b
Merged r250 of mainline.
Robby Workman
2009-01-23 15:45:25 -06:00
fa2a5a3704
Merged with r250 of the mainline experimental branch.
Andrew Psaltis
2009-01-23 09:30:39 -05:00
290006629b
Fix broken Scan() call in autoconnect.py
Dan O'Reilly
2009-01-23 08:35:28 -05:00
f9726f4066
Merged with r247 of mainline experimental (1.6) branch.
Andrew Psaltis
2009-01-21 00:09:45 -05:00
33a08b696e
Add missing guiutil module
Dan O'Reilly
2009-01-20 23:55:43 -05:00
a25693d1ab
curses/curses_misc.py: Added support for setting the text in the input dialog Changed "body" to "parent" in ComboBox. set_focus() unconditionally sets the focus now Moved error() to this file. It fits better here, anyway. Reverted TextDialog to its previous state curses/netentry_curses.py: Moved error() to curses_misc.py curses/wicd-curses.py: "Deimplemented" the script configurator, at the suggestion of various folks #wicd, and replaced it with a simple instructions dialog. My original code is still there, just commented out. Added support for renaming wired network profiles (F2 when over the combo box) Fixed various issues caused when deleting wired network profiles. Refactored the help/about dialogs to support the old TextDialog curses/README, in/man=wicd-curses.8.in: Script configurator has been "changed"
Andrew Psaltis
2009-01-20 23:41:44 -05:00
f6d7579859
Add support for writing config data with whitespace kept intact. Propgate debug setting to the ConfigManager instances. Don't write essid key sections to the config file if we're not actually using them.
Dan O'Reilly
2009-01-20 00:32:56 -05:00
1269bcd048
Fix a few typos in the option gateway code.
Dan O'Reilly
2009-01-19 23:45:05 -05:00
87539f75e7
Fix bug that was keeping DHCP release from working.
Dan O'Reilly
2009-01-19 23:37:35 -05:00
ea4ab09984
Fix ttls template Add a guiutils module for gui-related functions/classes that are used in multiple modules. Replace os.access with os.path.exists Make the static gateway entry optional. Don't auto-connect/reconnect when the gui is open. Fix bug that would keep the gui from working if the wired network entry was displayed.
Dan O'Reilly
2009-01-19 01:06:57 -05:00
ce64ce0aa2
curses/configscript_curses.py: ADDED. Script configurator. More or less done. curses/wicd-curses.py: Added suport for the script configurator curses/README, in/man=wicd-curses.8.in: Script configurator now active setup.py: Install configscript_curses.py with the rest of the stuff
Andrew Psaltis
2009-01-17 20:10:10 -05:00
f01f10d33f
Merged with r242 of mainline experimental (1.6) branch.
Andrew Psaltis
2009-01-17 15:15:14 -05:00
be30004f0f
Wired network control support is now more-or-less complete curses/curses_misc.py: Made set_focus() actually set the focus Added ability for combobox to rebuild itself curses/netentry_curses: Added WiredSettingsDialog. Sometimes, the "Defaultness" of the network takes a little while to show up in the dialog. Don't know why yet. Reorganized some of the AdvancedSettingsDialog code curses/wicd-curses.py: Reactivated WiredComboBox Added support for WiredSettingsDialog Added ability to create and delete wired network profiles Fixed bug where the program could crash on the end of scanning networks if timing is slightly off Display the screen locker immediately after initiating a scan curses/README,TODO: Wired network support is complete in/man=wicd-curses.8.in: Wired network support is now complete Added revision information to the bottom of the man page
Andrew Psaltis
2009-01-17 15:13:53 -05:00
75219d78c4
Fix bug where encryption keys with non-ascii characters caused crashes. Only write settings being saved if debug mode is on. Clear keys entered through the GUI when the encryption checkbox is disabled.
Dan O'Reilly
2009-01-17 12:58:02 -05:00
bb0d43c222
Merged with mainline 1.6 branch, r241, adding in the noexpander stuff
Andrew Psaltis
2009-01-16 12:09:20 -05:00
a214a15d24
merge in experimental branch
Dan O'Reilly
2009-01-15 00:59:52 -05:00
2358357f1d
Fix bug where be-ioctl scans always reported channels as 1. Tweak the UI a little bit. Add debugging output when forced_disconnect gets enabled.
Dan O'Reilly
2009-01-15 00:56:02 -05:00
2685a49779
curses/curses_misc.py: Modified TextDialog to use a listbox as opposed to one long text box Aligned the header on the right in Dialog2 by default curses/wicd-curses.py: Removed the traceback if the user presses ctrl+c Refactored about_dialog to support the modified TextDialog Added a help dialog. Raise it with "H" Refactored some code in the appGUI constructor so that I can recycle update_netlist() curses/TODO, curses/README, in/man=wicd-curses.8.in: Help dialog now active in/man=wicd-curses.8.in: Removed redundant scipt selector command
Andrew Psaltis
2009-01-13 18:13:24 -05:00
d842c163b2
Merged with r239 of mainline experimental.
Andrew Psaltis
2009-01-13 15:53:10 -05:00
65becd5afe
Merged networking.py patch from experimental to address bug 315238.
Robby Workman
2009-01-12 13:49:47 -06:00
c526c47c84
Merged NaCl's latest revision (used bzr merge --weave as it handled the conflicts much better) (and no, I'm not even sure *why* there were conflicts).
Robby Workman
2009-01-12 00:21:09 -06:00
04f4a31cd5
Merged Adam's latest 1.6-noexpander branch. There was a conflict in data/wicd.glade around line 450-something -- the y_options flag was removed in the noexpander branch. I wasn't sure whether that was intentional or not, so I left it in to resolve the conflict. If that was the wrong decision, it can be fixed later :)
Robby Workman
2009-01-12 00:17:20 -06:00
2978102ba4
merge
Dan O'Reilly
2009-01-11 20:15:01 -05:00
0385fd088e
Progress is being made, apparently curses/curses_misc.py: Made Dialog a bit more generic with the new Dialog2, also supports mouse events. Included TextDialog and InputDialog as subclasses of Dialog2 curses/netentry_curses.py: Changed error() to support Dialog2 Added support for mouse events curses/prefs_curses.py: Added support for mouse events curses/wicd-curses.py: Added support for wicd's hidden wireless-network functionality (Really) finished refactoring for the changes in ComboBox Made some transitions a bit more immediate by calling update_ui() manually Refactored to about_dialog to support Dialog2 Added support for mouse events (clicking to select, mostly) Added support for retaining current list netlist focus throughout screen updates (Hopefully) Added support for handling an instance of 0 available wireless networks in/man=wicd-curses.8.in: Hidden network support is fully functional man/wicd-client.1: Added a word. (You'll live.) setup.py: From last commit: Added the python "shebang" to the top of the file
Andrew Psaltis
2009-01-11 19:40:29 -05:00
84cb49a6fc
curses/prefs_curses.py: Finished refactoring to accommodate the ComboBox changes curses/wicd-curses.py: Moved some of the keybinding code around in/other=WHEREAREMYFILES.in: ADDED. File telling the user where the wicd config files are. Usually symlinked to ~/.wicd/WHEREAREMYFILES and installed to the documentation directory in/scripts=wicd-client.in: Make ~/.wicd and link WHEREAREMYFILES if it has not been done so already. Start wicd-curses if there is no X server on this console (determined by the presence of $DISPLAY), and add a file detailing this man/wicd-client.1: Added note about wicd-client starting wicd-curses setup.py: Install WHEREAREMYFILES along with the rest of the documentation
Andrew Psaltis
2009-01-11 13:05:01 -05:00
32bb203849
Initial crack at reworking GUI some more.
Dan O'Reilly
2009-01-09 23:58:14 -05:00
ac6df8d370
A few minor cosmetic changes Changed main GUI name from Wicd Manager to Wicd Network Manager
Adam Blackburn
2009-01-10 11:03:41 +08:00
099ca813fb
Forgot to mention something in the last commit: in/wicd-curses.8.in: added more unimplemented keystrokes Merged with r238 of the main experimental (1.6) branch.
Andrew Psaltis
2009-01-09 20:43:18 -05:00
d1846cb627
curses/curses_misc.py: Refactored some ComboBox internals Renamed show_first to focus in ComboBox Added callback support curses/netentry_curses.py: Renamed NetEntryBase to AdvancedSettingsDialog, and WirelessNetEntry to WirelessSettingsDialog The "WirelessSettingsDialog" is complete. :-) Raise it by pressing "C" on a wireless network. Much of the code was taken from netentry.py. The buttons aren't pretty like they are in the Preferences Dialog, but they are fully functional. curses/prefs_curses.py: Refactored to accommodate the ComboBox changes Added a warning about changing backends curses/wicd-curses.py: Refactored to accommodate changes to the rest of the program Added a constantly displayed message saying how to exit the program, other than ctrl+c curses/TODO: Removed a bunch of stuff that is already implemented, added some stuff that needs to be implemented curses/README: Added/clearified some things
Andrew Psaltis
2009-01-09 20:42:12 -05:00
add92a099b
Don't expand the DNS domain
Adam Blackburn
2009-01-10 08:53:55 +08:00
9841fa7788
Made the information dialog look nicer -- added description labels and left aligned everything
Adam Blackburn
2009-01-10 08:36:19 +08:00
adcea1f44a
Information dialog now uses real labels instead of grey labels
Adam Blackburn
2009-01-09 22:54:24 +08:00
fa20f7ec01
Added an information button and a dialog
Adam Blackburn
2009-01-09 21:53:59 +08:00
285e47763b
Added a name label
Adam Blackburn
2009-01-09 21:12:48 +08:00
db2d00b2b4
Removed network expanders
Adam Blackburn
2009-01-09 20:40:30 +08:00
6fabed0974
Merged with r235 of experimental-rworkman.
Andrew Psaltis
2009-01-06 19:04:12 -05:00
4ab56b1183
Checkpoint in WirelessNetEntry development curses/curses_misc.py: Refactored some DynWrap internals Added MaskingEdit, a password edit Modified ComboBox to use a DynWrap internally instead of an AttrWrap curses/netentry_curses.py: Added most of the WirelessNetEntry. It doesn't save information yet, but it does load most of it. Support for viewing the templated network settings is not implemented yet. curses/wicd-curses.py: Activated support for the WirelessNetEntry configurator. The wired one is not implemented yet.
Andrew Psaltis
2009-01-06 19:02:27 -05:00
bb8cfb2b9d
Added logic for kde4-config (kde4's equivalent to kde-config)
Robby Workman
2009-01-05 23:12:49 -06:00
2eaa3e3694
in/man=wicd-curses.8.in: Apparently I can't spell "tentative" properly. Thanks to rworkman.
Andrew Psaltis
2009-01-04 20:36:12 -05:00
68036d91ac
curses/curses_misc.py: Added DynWrapper, a wrapper class with which we can dynamically change the selectability of a widget. Removed ToggleEdit, replaced by DynWrapper. curses/netentry_curses.py: ADDED. Network entry configurator dialog. Has a base class for the common elements of the wired/wireless NetEntries. curses/prefs_curses.py: Replaced ToggleEdits with DynWrapped Edits. curses/wicd-curses.py: Rebuilt the connect function into the main keyhandler. I discovered that implementing that the way I had previously done it would have made displaying the dialogs a bit more difficult Added support for running the NetEntry selector in/man=wicd-curses.8.in, curses/README: Modified to say that the NetEntry dialog is now a WIP (Raise it with 'C') setup.py: Install netentry_curses.py if we are installing the rest of the curses client Install the man page only if we want to install the rest of the man pages and the curses client
Andrew Psaltis
2009-01-04 20:33:31 -05:00
c60713cdd6
s/Tenative/Tentative/g in wicd-curses(8)
Robby Workman
2009-01-04 02:31:01 -06:00
5b8417e8a8
curses/curses_misc.py: meta+left/right now sets focus back to whereever you were in the list. curses/wicd-curses.py: Made a custom combobox for the wired networks. The one during the last commit was actually the wireless list. (Hopefully) made the wired network show up when it is actually active. Removed appGUI.call_connect and appGUI.connect. They are no longer needed. in/man=wicd-curses.8.in: ADDED. wicd-curses(8) man page setup.py: Install the above man page if we are installing the rest of the curses client
Andrew Psaltis
2009-01-03 22:57:41 -05:00
944c53f7cd
Removed a blank line from the end of the slackware init script. Trivial, but annoying on upgrades for the config() .new stuff.
Robby Workman
2009-01-03 00:08:53 -06:00
a6801c9a10
Merged from rworkman's frankencurses branch. Includes features from experimental-rworkman Curses client installs now. :-) Includes r237 of experimental (1.6)
Andrew Psaltis
2009-01-02 22:47:06 -05:00
1a7d9cc071
Merged in the frankencurses branch, which is basically NaCl's branch plus integration with setup.py and related files.
Robby Workman
2009-01-02 21:43:55 -06:00
48910f50ea
Merged in latest from NaCl's branch.
Robby Workman
2009-01-02 21:22:17 -06:00
0b0f3e0968
curses/curses_misc.py: meta+right or meta+left now move the selected tab right and left respectively. Focus goes back to the tabs, though. Fixed a bug in ComboBox where show_first does nothing Restored get_selected to its original state curses/prefs_curses.py: Moved the automatic reconnect category to "General Settings" Made the backend selector actually select the selected backend at first Reset the button statuses each time we load the settings meta+enter now saves+closes the preferences dialog curses/wicd-curses.py: Turned the wired list into a list of custom SelTexts, so that they can do the connecting/script-choosing/configuring/etc, instead of the dialog itself Offset the version in the about dialog a little less Recycle the old preferences dialog instead of making a new one if we run it more than once
Andrew Psaltis
2009-01-02 22:12:58 -05:00
feedd7b6c5
Merged r237 of mainline.
Robby Workman
2009-01-02 20:57:47 -06:00
40bc486b2e
Merged mainline r237 (which includes the changes from here).
Robby Workman
2009-01-02 20:54:12 -06:00
bff4f961e7
Changed 25% signal icon to red and 50% signal icon to orange
Adam Blackburn
2009-01-03 10:35:28 +08:00
93ef894c45
Removed "in keys" from line 415 per NaCl's suggestion.
Robby Workman
2009-01-02 20:25:16 -06:00
3b1f636ae0
Merge in rworkman-experimental
Dan O'Reilly
2009-01-02 19:57:21 -05:00
7cadae7131
Move logic that saves settings for network entries out of gui.py and into netentry.py.
Dan O'Reilly
2009-01-02 19:52:28 -05:00
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. :)
Robby Workman
2009-01-01 02:02:26 -06:00
4798d26f9a
Merged my experimental branch into this.
Robby Workman
2009-01-01 01:43:00 -06:00
62ce9b9852
If kde-config fails, then assume kde is not installed, and don't install the autostart file for kde.
Robby Workman
2008-12-31 23:53:30 -06:00
8ed394abf3
curses/*.py: updated copyrights to include 2009 curses/wicd-curses.py: Fixed missing comma in the About Dialog text
Andrew Psaltis
2009-01-01 00:36:08 -05:00
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"
Andrew Psaltis
2009-01-01 00:30:53 -05:00
77f0e1c54b
Merged with experimental (1.6) branch, r234.
Andrew Psaltis
2008-12-31 18:43:15 -05:00
f67c171b2c
Merged r234 from mainline.
Robby Workman
2008-12-31 15:52:27 -06:00
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.
Dan O'Reilly
2008-12-30 23:20:00 -05:00
f388b22c53
curses/README: Actually changed the text in the file. Merged with experimental (1.6) branch, r233. Mmmm... wpathenhancements
Andrew Psaltis
2008-12-30 23:12:42 -05:00
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. :-)
Andrew Psaltis
2008-12-30 23:10:18 -05:00
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
Andrew Psaltis
2008-12-30 21:27:41 -05:00
5de0569fab
Merged r233 from mainline
Robby Workman
2008-12-30 20:07:52 -06:00
ec682a2fce
Merged with wpathenhancements
Adam Blackburn
2008-12-30 18:01:27 -06:00
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
Adam Blackburn
2008-12-30 10:31:06 -06:00
1a98bf6890
Fixed a typo
Adam Blackburn
2008-12-30 10:17:07 -06:00