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

96 Commits

Author SHA1 Message Date
David Paleino
46bce8ea5e Provide a pre-/post-down script mechanism
WICD currently only provides pre-/post-connection scripts, and
  only one disconnection script, that is run before actually
  disconnecting. This provides pre-/post-disconnection scripts,
  thus increasing configuration flexibility.
2009-06-16 17:13:41 +02: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
49a2dd04f6 Increased time between wireless scans to 2 seconds. 2009-05-30 23:12:53 -04:00
Andrew Psaltis
6d00df2675 Made M^ and C^ into Alt+ and Ctrl+ respectively in OptCols.
Rearranged the OptCols for the preferences dialog to match those in the others.
2009-05-23 00:32:29 -04:00
Andrew Psaltis
650b451ce2 Removed some comments from wicd-curses.py. 2009-05-23 00:23:11 -04:00
Andrew Psaltis
511fc75aaf Really fixed bug 355693. :) 2009-05-23 00:02:58 -04:00
Andrew Psaltis
c66383903d Added wrap_exceptions to wicd-curses.py's run() function. 2009-05-19 21:20:29 -04:00
Andrew Psaltis
a886d437b6 Flipped the order of the dhcp clients in the prefs dialog and fixed a syntax
error in wicd-curses.py.
2009-05-19 21:18:30 -04:00
Andrew Psaltis
aa6a2d7ec9 Added some deactivated options for enabling debug logs. 2009-05-15 01:05:04 -04:00
Andrew Psaltis
b2cbaf957d Fixed typo in wicd-curses.py. 2009-05-13 19:03:29 -04:00
Andrew Psaltis
3a05d82a23 If the screen in wicd-curses is not up and an ui update is requested, abort the
program.
2009-05-12 00:04:43 -04:00
Andrew Psaltis
7bcd28d210 Hopefully fixed bug 355693, related to focus positioning. 2009-05-10 09:40:38 -04:00
Andrew Psaltis
f691f446f6 Redid the decorator to look like the other exception-catching decorators in wicd. 2009-05-07 00:38:18 -04:00
Andrew Psaltis
a66a9b5946 Made scans asynchronous so that users can actually access preferences while the daemon is scanning. 2009-05-06 15:33:12 -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
fedd788264 Fixed a problem where if a scan is initiated externally, and wicd-curses doesn't see it, wicd-curses will half-drop a running big dialog. 2009-04-21 14:09:29 -04:00
Andrew Psaltis
b5f7584c2b Made it possible to enter 'q' and 'Q' into dialog edit fields. 2009-04-10 22:33:40 -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
6f276417f1 Changed some of the colors in wicd-curses.py and added the About to the OptCols on the main screen. 2009-03-27 00:25:59 -04:00
Andrew Psaltis
4446016734 Various fixes.
curses/curses_misc.py:
  Simplified changing the "arrow" on the ComboBox, if I decide to do so.                                                             
curses/prefs_curses.py: Added a docstring                                 
curses/wicd-curses.py:                                                    
  'q' or 'Q' quits a dialog without saving now.                           
  Fixed a bug where a scan run while a dialog is up would lock the screen and
    half-close the dialog when it is done.
2009-03-25 12:36:57 -04:00
Andrew Psaltis
8679831f0b Made the help in wicd-curses.py all read out on one line. per entry 2009-03-24 08:12:07 -04:00
Andrew Psaltis
066f401775 Improved the timing in general.
Decreased the clock update time to 500 ms.
Ensured that the wheel when connecting doesn't alternate weirdly.
  Fixing this may also improve performance.
2009-03-22 21:00:40 -04:00
Andrew Psaltis
8f263c16dc Changed the clock in wicd-curses.py to update every 0.9 seconds. 2009-03-22 19:25:19 -04:00
Andrew Psaltis
064fa05d61 Updated docs to note that enter results in connecting. 2009-03-21 23:18:03 -04:00
Andrew Psaltis
547a3f1b88 Re-enabled "enter" in wicd-curses.py. 2009-03-19 12:48:28 -04:00
Andrew Psaltis
3152c5db1e Merged r295 of experimental-nacl 2009-03-18 23:00:32 -04:00
Andrew Psaltis
4a8c98e6d2 Dump descriptions of error messages to stderr instead of stdout. 2009-03-16 21:12:36 -04:00
Andrew Psaltis
f2f7299c98 Fixed some keypress shenanigans
curses/wicd-curses.py: Fixed mouse events being passed to keypress functions (again)
curses/prefs_curses.py: Fixed some translations
curses/curses_misc.py:
  Fixed mouse handling in TabColumns
  Fixed callbacks to non-global keypresses in OptCols
2009-03-14 20:54:45 -04:00
Andrew Psaltis
2d3745f39b Fixed some bugs/usability issues
Enter is no longer mapped to anything
Arrow left is no longer mapped to anything
Edit text when it is unfocusable is now brown.
Fixed problem where scrolling up on the Preferences Dialog would somehow shift the dab over one.
2009-03-11 10:21:20 -04:00
Andrew Psaltis
df6955b963 Fixed most keypresses not working. 2009-03-07 19:53:10 -05:00
Andrew Psaltis
7d5fac6f0a Added mouse support to OptCols. Everything works :-).
This branch will be merged into experimental-nacl once I'm sure that everything works, and I update the documentation.
2009-03-07 16:26:41 -05: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
a217f0fdc2 Fixed the "left does not quit the preferences dialog" problem in wicd-curses. 2009-03-06 15:41:19 -05:00
Andrew Psaltis
421c108f04 curses/prefs_curses.py: Adapted widgets for integration into the main UI
curses/curses_misc.py:
  Removed the "bottom_part" from the TabColumns
curses/wicd-curses.py:
  Added support for editing preferences directly in the main UI w/o a dialog
  'left' now only quits with saving for the NetworkSettingsDialogs
    (suggestions as for what to do here would be appreciated)
2009-03-06 12:49:27 -05:00
Andrew Psaltis
32d0d57b6d Made the keymappings displayed in the OptCols actually do what they say they're suppoed to do.
Updated the README
2009-03-05 23:13:29 -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
6690d9bb32 Actually made window resizing not drop the help screen. 2009-03-05 11:20:43 -05:00
Andrew Psaltis
ea7f8ac627 Modified the help dialog in wicd-curses so that it fills up the entire screen.
There may still a formatting issue, will wait on user opinion before changing.
2009-03-05 10:09:23 -05:00
Andrew Psaltis
b4516acead Fixed the wireless network header when we are only seeing wireless networks. 2009-03-04 17:01:00 -05:00
Andrew Psaltis
48724d9065 curses/curses_misc.py:
Added a non-selectable listbox for the wireless network header
curses/wicd-curses.py:
  Updated the wireless list-header generating function and activated it.
  Removed/deactivated some unused code.
2009-03-04 16:54:26 -05:00
Andrew Psaltis
0dfe5432bd curses/curses_misc.py:
added support for Meta and Ctrl being applied to keys in OptCols
curses/wicd-curses.py
  Changed the colors slightly, colorized the clock.
2009-03-04 00:56: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
a290b12e68 curses/wicd-curses.py:
Replaced idle_incr with a clock that counts seconds.
  Streamlined some of the footer functions
  The connecting progress-wheel now updates independently of any other counter.
  Increased status updating time to 2 seconds (from 1.5)
2009-03-02 14:05:25 -05:00
Andrew Psaltis
ab878c231f curses/curses_misc.py: Added a colon to each entry in OptCols
curses/wicd-curses.py: 
  Removed the 'print ""' from the end of the main entry point
  Changed the infobar colors to grey on dark blue
2009-03-01 23:53:59 -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
940f563ec5 curses/curses_misc.py: Added a htop-like OptCols
curses/wicd-curses.py:
  Added support for OptCols.  Some of the keys in there are not valid as of yet.
2009-02-28 18:58:12 -05:00
Andrew Psaltis
fe7062371c curses/wicd-curses.py:
Console display defaults to raw_display now, added -c argument to select curses_display
curses/README,in/man=wicd-curses.8.in:
  Updated stuff done in wicd-curses.py
2009-02-21 19:36:57 -05:00
Andrew Psaltis
bf0f9daf3c Force utf8 encoding in wicd-curses.py. Hopefully this won't break compat on non-utf8 consoles. 2009-02-21 01:17:59 -05:00