svn rev #19338: branches/krb5-1-6/ src/windows/identity/ src/windows/identity/config/ ...
tlyu@MIT.EDU
tlyu at MIT.EDU
Thu Mar 29 23:09:30 EDT 2007
Commit By: tlyu
Log Message:
ticket: 5478
version_fixed: 1.6.1
pull up r19238 from trunk
r19238 at cathode-dark-space: jaltman | 2007-03-20 16:41:52 -0400
ticket: new
subject: NIM: New Default View and miscellaneous fixes
component: windows
================================
KfW 3.1 Alpha (NetIDMgr 1.1.11.0)
-- nidmgr32.dll
- Only one action in a menu is allowed to have KHUI_ACTIONREF_DEFAULT
flag set. This marks the action as being the default action for the
menu and will be rendered as such.
- Newly created identities start off with the KCDB_IDENT_FLAG_EMPTY
flag set. Once credentials are associated with the identity and the
identity is refreshed, the flag will be cleared.
- When creating actions, enforce the name length.
- khm_value_exists() now handles shadowed configuration spaces.
- Add new action KHUI_ACTION_LAYOUT_MINI which toggles between
'Advanced' and 'Basic' views.
- Add support for F11 and F12 keys in khui_get_cmd_accel_string().
- New option for alerts to indicate that instead of just setting the
response field in the alert, the UI should dispatch the command
that the user has selected.
-- krb5common.obj
- khm_krb5_initialize() can return a handle to a krb5_ccache that has
already been closed. Now it doesn't.
- Also import 'krb5_string_to_deltat()'.
- Work around conditioned symbol definitions in ntsecapi.h in the
Vista Platform SDK that affect Win 2000.
-- krb5cred.dll
- Don't clear the prompts when the options for an identity changes.
The prompter code relies on the prompts being around so that the
values that the user has entered can be retained if the new set of
prompts is the same as the old one.
- Use the same code in the new credentials acquisition and the
identity configuration code to obtain krb5 parameters for an
identity.
- Reset the 'IMPORTED' flag when we get new credentials using a
password.
- If the validity of a principal is not known, then we restrict the
options that can be specified when calling
krb5_get_init_creds_password() so that we can reliably determine if
the principal is valid. If we need to get new credentials for the
principal, we need to make another call using the correct options.
- The return codes from the prompter need to indicate that the
password read operation was cancelled instead of arbiraty non-zero
values.
- When reading identity settings, if a particular setting is not
defined in the registry, then default to reading the settings out of
krb5.ini.
- Refer to credentials as 'credentials' or 'tickets' instead of
'creds'.
- If an identity has imported credentials, don't import for the same
identity again.
- When importing an identity, create the identity configuration in the
registry if we don't already have any settings there.
- Work around conditioned symbol definitions in ntsecapi.h in the
Vista Platform SDK that affect Win 2000.
- Rearrange declarations for clarity.
- Use the correct APIs to parse configuration values from krb5.ini.
-- krb4cred.dll
- The dialog layout was updated to accomodate a localized string that
no longer fit in its control.
- Remove a spurious inclusion of ntsecapi.h and work around
conditioned symbol definition in the Vista Platform SDK.
-- netidmgr.exe
- Fix the menu creation code to correctly tag the default action so
that it will be rendered properly.
- Update the menu enumeration code to use documented functions instead
of accessing acton lists directly.
- Pool of per-identity actions now include a set of actions for
obtaining credentials for specific identities.
- The default action performed when the notification icon is clicked
is now configurable. When displaying the context menu in the
notification area, the default action is highlighted.
- Remove unnecessary handlers from the notifcation event handler.
- Only handle NIN_SELECT instead of both NIN_SELECT and WM_LBUTTONUP
in the notification event handler. When the user clicks the
notication icon, both events are generated. NIN_SELECT is canonical.
- When the handling NIN_BALLOONUSERCLICK in the notification event
handler, reset balloon_alert before displaying any new alerts so
that we won't overwrite it later.
- Reset the notification alert icon after displaying an alert.
- If a renewal fails, the displayed alert contains a button that the
user can click to initiate the process of acquiring new credentials
for the identity.
- Alerts can optionally dispatch the commands that were added to it
using the KHUI_ALERT_FLAG_DISPATCH_CMD flag.
- Increase the size of the About dialog.
- Correct the action text for the IDS_ACTION_OPEN_APP and
IDS_ACTION_CLOSE_APP to say 'Show' and 'Hide' instead of 'Open' and
'Close'. These actions only control the visible state of the NIM
window.
- Add additional notification which signals that the commandline has
finished processing.
- Add an 'acquire' action to the per-identity actions.
- The per identity actions (renew, destroy, acquire) now have useful
captions, names and tooltips.
- Use WM_NEXTDLGCTL message when changing the focus of dialog
controls. SetFocus() is insufficient.
- If we get a request to show a new credential acquisition dialog and
we are already showing one, bring that one to the foreground instead
of trying to display a new one or waiting quietly.
- New configuration schema for the UI that include definitions for the
new default view.
- The alerter window can now show more than one alert at once.
- If we are about to show queued alerts, then check if the alerts that
are waiting are related and if they can be grouped together. If so,
show them in a single alert window instead of multiple ones.
- If new alerts are issued while a set of alerts are being displayed
and if the new alert is related to the alerts that are being
displayed, then add the new alert to the list being displayed.
- Make sure we have a lock on the alert when we are manipulating or
accessing it.
- Set the focus to the correct control when displaying an alert.
- When adding alerts from the alert queue, make sure we iterate
through the queue properly.
- Allow keyboard navigation inside the alert window and support scroll
bars.
- Check if we have a valid code pointer before invoking a UI callback.
- Make sure the main window is in the normal configuration before
switching to a layout that rquires it.
- When moving the main window around, if it comes close to an edge of
the working area of the display, snap to it.
- Maintain two sets of settings for the main window placement. One
for the mini mode and one for the normal mode.
- When processing saved window placement information from the
configuration, handle docking hints which note which edges of the
screen the main window should be adjacent to, if any.
- Switching to the 'Basic' view disables the layout and column
selection menus.
- Position the new credentials dialog above the main window if the
main window is visible.
- The alert that is displayed to indicate that an identity has
expired, now contains a command button that can be used to invoke
the new credentials dialog for that identity.
-- source
- Update the documentation to reflect the change in behavior regarding
KHUI_ACTIONREF_DEFAULT in khui_menu_insert_action() and
khui_menu_insert_paction().
- Remove notes about menu access functions being not thread safe.
This is no longer true.
- Update the documentation for khui_alert_show() to document new
behavior regarding KHUI_ALERT_FLAG_DISPATCH_CMD.
- Update documentation to indicate which KHUI_ALERT_FLAG_* flags are
internal and document the new KHUI_ALERT_FLAG_DISPATCH_CMD flag.
- Augment the queue handling macros to support additional operations.
Also add new tree data structure with an ordered list of children.
- Code reorganization to reuse code for obtaining the caption and
tooltip for a system defined action in netidmgr.exe.
Changed Files:
_U branches/krb5-1-6/
U branches/krb5-1-6/src/windows/identity/apiversion.txt
U branches/krb5-1-6/src/windows/identity/config/Makefile.w2k
U branches/krb5-1-6/src/windows/identity/config/Makefile.w32
U branches/krb5-1-6/src/windows/identity/include/khlist.h
U branches/krb5-1-6/src/windows/identity/include/khmsgtypes.h
U branches/krb5-1-6/src/windows/identity/kconfig/api.c
U branches/krb5-1-6/src/windows/identity/kconfig/kconfig.h
U branches/krb5-1-6/src/windows/identity/kcreddb/identity.c
U branches/krb5-1-6/src/windows/identity/plugins/common/dynimport.c
U branches/krb5-1-6/src/windows/identity/plugins/common/dynimport.h
U branches/krb5-1-6/src/windows/identity/plugins/common/krb5common.c
U branches/krb5-1-6/src/windows/identity/plugins/krb4/krb4funcs.c
U branches/krb5-1-6/src/windows/identity/plugins/krb4/krb4funcs.h
U branches/krb5-1-6/src/windows/identity/plugins/krb4/lang/en_us/langres.rc
U branches/krb5-1-6/src/windows/identity/plugins/krb5/krb5configdlg.c
U branches/krb5-1-6/src/windows/identity/plugins/krb5/krb5funcs.c
U branches/krb5-1-6/src/windows/identity/plugins/krb5/krb5funcs.h
U branches/krb5-1-6/src/windows/identity/plugins/krb5/krb5newcreds.c
U branches/krb5-1-6/src/windows/identity/plugins/krb5/krbcred.h
U branches/krb5-1-6/src/windows/identity/plugins/krb5/lang/en_us/langres.rc
U branches/krb5-1-6/src/windows/identity/ui/Makefile
U branches/krb5-1-6/src/windows/identity/ui/cfg_general_wnd.c
U branches/krb5-1-6/src/windows/identity/ui/credfuncs.c
U branches/krb5-1-6/src/windows/identity/ui/credfuncs.h
U branches/krb5-1-6/src/windows/identity/ui/credwnd.c
U branches/krb5-1-6/src/windows/identity/ui/credwnd.h
U branches/krb5-1-6/src/windows/identity/ui/lang/en_us/khapp.rc
U branches/krb5-1-6/src/windows/identity/ui/main.c
U branches/krb5-1-6/src/windows/identity/ui/mainmenu.c
U branches/krb5-1-6/src/windows/identity/ui/mainmenu.h
U branches/krb5-1-6/src/windows/identity/ui/mainwnd.c
U branches/krb5-1-6/src/windows/identity/ui/mainwnd.h
U branches/krb5-1-6/src/windows/identity/ui/newcredwnd.c
U branches/krb5-1-6/src/windows/identity/ui/notifier.c
U branches/krb5-1-6/src/windows/identity/ui/notifier.h
U branches/krb5-1-6/src/windows/identity/ui/resource.h
U branches/krb5-1-6/src/windows/identity/ui/timer.c
U branches/krb5-1-6/src/windows/identity/ui/uiconfig.csv
U branches/krb5-1-6/src/windows/identity/uilib/accel.csv
U branches/krb5-1-6/src/windows/identity/uilib/action.c
U branches/krb5-1-6/src/windows/identity/uilib/actions.csv
U branches/krb5-1-6/src/windows/identity/uilib/khaction.h
U branches/krb5-1-6/src/windows/identity/uilib/khactiondef.h
U branches/krb5-1-6/src/windows/identity/uilib/khalerts.h
More information about the cvs-krb5
mailing list