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

43 Commits

Author SHA1 Message Date
40a7a8ac5d Style changes for python files 2020-08-01 11:37:26 +02:00
Guido Serra
5860ad8251 updated shebangs & other p3 references 2019-09-11 12:14:15 +02:00
Guido Serra
2a52b83583 attempting to migrate to python 3.x 2019-08-14 16:18:46 +02:00
Guido Maria Serra
681beb13b1 2to3 transformation 2019-08-12 17:00:19 +02:00
David Paleino
64c6328241 More pylint fixes 2012-11-17 19:12:25 +01:00
David Paleino
7cb482a9fc Implement iwconfig bitrate setting 2012-09-27 22:18:04 +02:00
David Paleino
7f2df5b423 Fix spurious whitespacing and indentation 2012-02-11 21:36:04 +01:00
Joe MacMahon
fb74163f09 Fixed bug #930711 2012-02-11 18:07:11 +00:00
Joe MacMahon
41d145c6cb Implemented wired encryption in ncurses front-end. 2012-01-29 18:36:43 +00:00
David Paleino
4d002b9634 Make the templating system more robust to custom fields 2011-12-16 21:47:07 +01:00
David Paleino
afa7a4a5fd Fix imports of '_' for l10n 2011-10-19 12:46:03 +02:00
David Paleino
4928f9c683 Moved translations out of translations.py, re-designed l10n system a bit 2011-10-18 23:33:23 +02:00
Andrew Psaltis
bcb7d32aa6 Remove extraneous print statement from netentry-curses.py. 2010-01-09 10:38:12 -05:00
Andrew Psaltis
2dcc230b0b Add whitespace after the dhcp hostname edit label. 2009-11-26 00:48:49 -05:00
Andrew Psaltis
2159666240 Make dhcp hostnames optional, and modify wicd-curses to support this.
If the no hostname is to be used, then we give dhcp the system hostname instead.
2009-11-26 00:45:59 -05:00
Andrew Psaltis
09ac3d4ba8 Fix dhcp hostname bug in wicd-curses, and fix a small formatting issue. 2009-11-21 18:27:41 -05:00
Andrew Psaltis
2283bb7b20 Added support for dhcp hostnames in wicd-curses. 2009-08-23 14:24:02 -04:00
Andrew Psaltis
c49c51ca29 Finish stripping all IPs in wicd-curses, and fix a variable in netentry_curses.py. 2009-07-18 22:18:21 -04:00
Andrew Psaltis
25a61b0744 Strip IPs before submitting them in wicd-curses. 2009-07-18 10:55:26 -04:00
Andrew Psaltis
8f6d807d87 If a network dialog is up when a scan is initiated externally, drop the dialog. 2009-06-04 22:19:33 -04:00
Andrew Psaltis
d54f7e0802 Some more bugfixes...
Fixed unencrypted network support in both UIs.
Fixed marking the Static IP checkbox in wicd-curses.
Made the checkboxes in the the network properties dialogs in wicd-curses act
  like those in wicd-client.
Filter the urwid popen2 warning in wicd-curses.
2009-05-01 22:13:15 -04:00
Andrew Psaltis
72941a17c1 Made the network preferences dialogs save whether they are using static IPs or not. Thanks to Adam for finding this one. 2009-04-22 17:37:50 -04:00
Andrew Psaltis
ebf188acad Fixed network DNS input bug found by Brandon Hartshorn. 2009-04-10 22:07:14 -04:00
Andrew Psaltis
69fe67d6af Generic updates and a bugfix.
curses/README,curses/TODO: Cleaned up and updated respectively
curses/curses_misc.py: added a get_caption() method to MaskingEdit
curses/netentry_curses.py: Actually made the error dialogs work instead of crashing the program.
curses/wicd-curses.py: Changed some capitalization in the help.
2009-04-01 19:01:00 -04:00
Andrew Psaltis
3c740d0cf1 Merged in Dan's enctemplates branch, and repaired two code merge conflicts. 2009-03-18 23:37:28 -04:00
Dan O'Reilly
966ae97667 Merge encryption template changes for curses. 2009-03-08 18:38:16 -04:00
Andrew Psaltis
e699bd5bcb Fixed wicd-curses to support the new template backend.
Made the cacert and clcert fields optional in the eap-tls template.
2009-03-08 17:45:38 -04:00
Andrew Psaltis
9dd7e06b99 Merged r294 of experimental-nacl 2009-03-07 14:49:51 -05:00
Andrew Psaltis
46ddb41966 Fixed translations.py support in wicd-curses. 2009-03-07 11:34:22 -05:00
Andrew Psaltis
dc49a2fc4f More htoppish ui changes
curses/prefs_curses.py: changed save_results to save_settings
curses/curses_misc.py:
  M^[ and M^] shift the tabs left and right respectively.  The curses module
    has trouble picking up M^left and M^right
curses/netentry_curses.py:
  Removed the buttons and button-related code from the interface.
  Removed the overlay code.
  Adapted the code for direct insertion into the wicd-curses interface
curses/wicd-curses.py:
  Teaked the wireless header.
  Added support for sticking the network config dialog into the interface, and
    changing the current OptCols when it is activated.
  Added new OptCols for other large dialogs
2009-03-05 23:09:17 -05:00
Andrew Psaltis
e2c50e1090 Merged in translations.py changes (r315) from mainline 1.6. 2009-03-04 00:41:28 -05: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
Andrew Psaltis
1bf166afe0 Things are coming along...
curses/netentry_curses.py: Realigned some text
curses/curses_misc.py:
  Added support for clicking stuff (doesn't do anything except change a label
    for now)
  The keys 'left' and 'right' now accepted, and translated into fake arrows
  Added a debug mode for the OptCols
curses/wicd-curses.py:
  Removed if loop in locals() from the exception wrapper, this was causing bugs
    in OptCols to spam my console
  Debug mode on the optcols is set to default (for now)
  Cleaned up idle_incr
  Removed some of the exception wrappers
2009-03-01 20:47:08 -05:00
Andrew Psaltis
432f1c96ca curses/netentry_curses.py:
Made the password field actually keep its "passwordiness" when we go to the
    buttons.
in/scripts=wicd-client.in:
  Added support for X being off and wicd-curses not being there
2009-02-28 08:40:02 -05:00
Andrew Psaltis
1ab13ae618 curses/curses_misc.py:
Fixed some of the arguments in MaskingEdit
curses/netentry_curses.py:
  Added an autoconnect switch to the WirelessSettingsDialog
  Reformatted some code
  Ensured that the buttons are glued to the bottom of the dialog
AUTHORS:
  Changed Adam's e-mail to match the ones in the man page.
AUTHORS, in/man=wicd.8.in:
  Added/updated my e-mail
in/man=wicd-curses.8.in:
  Removed mention of the keymap modification (too difficult/potentially
    problematic)
  Removed mention of my branch, bugs can be tagged with "wicd-curses" or something
    like that
2009-02-17 20:04:50 -05:00
Andrew Psaltis
f437f17b58 curses/wicd-curses.py: ListBox focus-maintaining code completely debugged 2009-02-05 16:33:45 -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
Andrew Psaltis
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"
2009-01-20 23:41:44 -05:00
Andrew Psaltis
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
2009-01-17 15:13:53 -05:00
Andrew Psaltis
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
2009-01-11 19:40:29 -05:00
Andrew Psaltis
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
2009-01-09 20:42:12 -05:00
Andrew Psaltis
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.
2009-01-06 19:02:27 -05:00
Andrew Psaltis
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
2009-01-04 20:33:31 -05:00