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

115 Commits

Author SHA1 Message Date
Andrew Psaltis
45eae059e5 Made the wicd-curses script add WHEREAREMYFILES
Moved WHEREAREMYFILES to /var/lib/wicd, and adapted setup.py, wpath.py, and
  the wicd-client script to support it
Fixed a typo in setup.py
2009-03-06 19:28:09 -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
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
Dan O'Reilly
ff71e4d130 Merge 2009-03-04 18:34:35 -05:00
Dan O'Reilly
34fbabf8a7 Fix setup.py bug where - was getting turned into _ in paths. 2009-03-04 18:32:15 -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
Dan O'Reilly
5f6807732a Don't provide separate options for pre/post/disconnect scripts. Just a parent scripts directory. 2009-03-01 22:43:28 -05:00
Andrew Psaltis
809604f101 Merge r311 of mainline 1.6 2009-02-28 08:48:21 -05:00
Dan O'Reilly
e40afce104 Initial crack at global scripts support. Also includes some setup.py tweaks. 2009-02-27 00:40:19 -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
9ea38a8ebc Merged experimental-nacl r288, and updated wicd-curses revno. 2009-02-21 01:37:38 -05:00
Andrew Psaltis
562b8605cd Merged with experimental-nacl, r282. 2009-02-18 07:42:48 -05:00
Adam Blackburn
c9e319902d Merge 2009-02-18 16:15:50 +08:00
Adam Blackburn
a9fe45dcdc Updated copyright, setup.py version number, and AUTHORS 2009-02-18 16:13:31 +08: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
080f7216b2 curses/wicd-curses.py: Removed the redraw_tag, since I discovered that I don't need it. 2009-02-16 10:43:57 -05:00
Andrew Psaltis
f4321d4411 Some minor code cleanup and fixes
curses/wicd-curses.py: Fixed lag upon completing connections
curses/wicd-curses.py,curses/prefs_curses.py,curses/curses_misc.py:
  Cleaned up some code, removed/reformatted some comments
2009-02-11 10:44:57 -05:00
Andrew Psaltis
e5dbf2755f curses/wicd-curses.py:
Added a mention of the About dialog in the help
curses/prefs_curses.py:
  Fixed mouse support
in/man=wicd-curses.8.in
  Added a mention of the about dialog
2009-02-08 12:26: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
96f55c0d3b curses/prefs_curses.py:
Removed the external entry point
  Removed the removing of a blank string that caused
wicd/misc.py:
  Made sure that "advanced_settings" in get_language_list_gui() actually is
    "Advanced Settings"
2009-02-04 17:28:43 -05:00
Andrew Psaltis
b86ec8667c curses/wicd-curses.py:
Made the tagged wireless network actually show the network we're connected to,
    or not, as the case may be.
  Added ' -- ' to the upper statusbar

Also, in the last commit, configscript_curses should be netentry_curses
2009-01-31 02:07:50 -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
26e636e2f2 wicd/misc.py:
Fixed a typo in get_language_list_gui
    (%CURSES_REVNO%)
curses/wicd-curses.py:
  Added in some translations (not done yet)
curses/prefs_curses.py:
  Added all of the translations
  Removed the warning about changing the backends (since it is useless)
2009-01-27 21:46:52 -05:00
Andrew Psaltis
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.

I do not know why the wicd.glade file was changed.
There were conflicts in merging of the wicd-client script and man page.
2009-01-23 22:18:18 -05:00
Andrew Psaltis
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
2009-01-23 22:13:27 -05:00
Robby Workman
da576e2ff9 Added crux support to setup.py 2009-01-21 22:35:46 -06:00
Andrew Psaltis
f9726f4066 Merged with r247 of mainline experimental (1.6) branch.
-------------- This line and the following will be ignored ---------
added:
  wicd/guiutil.py
modified:
  encryption/templates/ttls
  setup.py
  wicd/configmanager.py
  wicd/dbusmanager.py
  wicd/gui.py
  wicd/misc.py
  wicd/monitor.py
  wicd/netentry.py
  wicd/networking.py
  wicd/prefs.py
  wicd/wicd-client.py
  wicd/wicd-daemon.py
  wicd/wnettools.py
unknown:
  build/
  install.log
  uninstall.log
  vcsinfo.py
  wpath.py
  curses/bzr_commit
  curses/configscript.py
  curses/current.diff
  init/arch/wicd
  init/debian/wicd
  init/default/wicd
  init/gentoo/wicd
  init/pld/wicd
  init/redhat/wicd
  init/slackware/rc.wicd
  init/suse/wicd
  man/wicd-curses.8
  man/wicd-manager-settings.conf.5
  man/wicd-wired-settings.conf.5
  man/wicd-wireless-settings.conf.5
  man/wicd.8
  other/50-wicd-suspend.sh
  other/55wicd
  other/80-wicd-connect.sh
  other/WHEREAREMYFILES
  other/postinst
  other/wicd.conf
  scripts/wicd
  scripts/wicd-client
  scripts/wicd-curses
  wicd/wpath.py
pending merges:
  Dan O'Reilly 2009-01-20 Add missing guiutil module
    Dan O'Reilly 2009-01-20 Add support for writing config data with whitespace kep...
    Dan O'Reilly 2009-01-19 Fix a few typos in the option gateway code.
    Dan O'Reilly 2009-01-19 Fix bug that was keeping DHCP release from working.
    Dan O'Reilly 2009-01-19 Fix ttls template
2009-01-21 00:09:45 -05:00
Dan O'Reilly
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.
2009-01-19 01:06:57 -05:00
Andrew Psaltis
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
2009-01-17 20:10:10 -05:00
Andrew Psaltis
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
2009-01-11 13:05:01 -05:00
Robby Workman
bb8cfb2b9d Added logic for kde4-config (kde4's equivalent to kde-config) 2009-01-05 23:12:49 -06: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
Andrew Psaltis
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
2009-01-03 22:57:41 -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
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
Robby Workman
5de0569fab Merged r233 from mainline 2008-12-30 20:07:52 -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
Robby Workman
d0918cb0b8 Merged r229 from mainline experimental. 2008-12-24 11:30:07 -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
Robby Workman
48160df95b Add support for configurable Unix group to be used - basically, users
must be a member of this group in order to use Wicd.  Note that this
  does not apply on systems configured to use ConsoleKit/PAM/et al.
This defaults to use the "users" group so that it will work "out of the
  box" for most people, but distributions are encouraged to edit it
  as needed with the "--wicdgroup=whatever" configure argument.
2008-12-23 01:47:53 -06:00
Robby Workman
19691e2b7c Remove extraneous comments from setup.py and clean up a few of them.
This is definitely trivial crap...
2008-12-14 07:58:58 +00:00
Robby Workman
f3d9dcaf1e Merged main experimental branch
Fixed kde autostart directory setting
2008-12-14 07:43:44 +00:00
Robby Workman
7c3f9ca5c1 Fixed (I think) the pkg-config and kde-config tests. This needs more
testing though before I'm sure.  Big thanks to "nanotube" for the
  suggestions and code for this.
2008-12-13 22:06:00 +00:00