pull up r19426 from trunk
r19426 cathode-dark-space: jaltman | 2007-04-11 23:40:25
-0400
ticket: new
subject: KFW 3.2 Beta 2 commits
component: windows
tags: pullup
NetIDMgr 1.2.0.2
================
nidmgr32.dll
- When the root credential set is touched, trigger an
identity
refresh. This is necessary to ensure that the identity
list
has a complete state of the world when the identity
provider
attempts to initialize an initial default identity when
none
previously existed. (see krb5cred.dll section)
- Don't set the enabled state for KHUI_ACTION_DESTROY_CRED
and
KHUI_ACTION_RENEW_CRED actions. They are set elsewhere.
krb5common.obj
- Initialize variables to prevent uninitialized use.
krb4cred.dll
- Re-order controls and use CheckRadioButton() for
manipulating the
radio buttons which select the ticket acquisition
method.
- Use symbolic constants instead of numbers.
- If Kerberos 4 is enabled for a specific identity, then
that setting
takes precedence over the global setting. The global
setting is
merely a default if a per-identity setting is not
specified.
However, a per-identity setting is only read for the
default
identity.
- If the validity of an identity is not known, assume that
it is still
being checked and don't display any credential text.
- When handling WM_COMMAND messages for the new credentials
panel,
only update the data when a BN_CLICKED message is
received and only
update the display if the IDC_NCK4_OBTAIN checkbox is
toggled.
- Remove unused symbols from langres.h
krb5cred.dll
- When renewing an identity which was imported, first try
to import it
again. If that fails to obtain newer tickets, then try
initializing
the MSLSA cache and then importing again.
- Correct spelling: k5_ident_valiate_name() ->
k5_ident_validate_name().
- Refactor the code for setting an identity as the default
so we can
call it internally.
- When setting the initial default identity, if there is no
current
default ccache and no known last default identity, then
look through
the list of ccaches with credentials and pick one with
valid
tickets. If all else fails, then pick any of the
ccaches.
netidmgr.exe
- Credentials Window
- Consistently use KHUI_CW_O_RELIDENT as a necessary and
sufficient
indicator that the identity needs to be released when
freeing an
outline node.
- Properly initialize an outline node.
- Don't group similar credentials if we aren't
sorting/grouping by
any specific column.
- Use the KHUI_CW_O_EMPTY flag to indicate that an
outline node
contains no children.
- Handle the case where we aren't sorting/grouping by any
column.
- Make sure outline nodes have valid idx_start and
idx_end values.
- Use consistent logic when painting and handling mouse
hotspots.
- Don't use WS_EX_TRANSPARENT when creating the
notification window.
- Use a fixed height for the notification window.
- Update the outline when the default identity changes.
- Hypertext Window
- Correctly handle the "center" attribute in
the "p" element.
- Use a system brush for painting the background instead
of creating
one of our own.
- Correct the handling of scroll_left and scroll_top
when
calculating the coordinates for text.
- Don't check if the rectangle for the text is inside the
visible
area of the window before drawing.
- Handle WM_ERASEBKGND and use a system color brush to
erase the
background.
- When the size changes, force the extents to be
recomputed. This
will also update the scroll bars.
- Use the proper return value after handling WM_PAINT.
- The scrollbar messages send the operation code in the
low word of
wParam, not the high word.
- Use GetScrollInfo() with SIF_POS when the operation is
SB_ENDSCROLL or SB_THUMBPOSITION.
- When the hottracked link changes for a transparent
window, don't
invalidate the entire parent window. Instead use
MapWindowPoints() to calculate the affected rectangle
and
invalidate that.
- Misc
- Change the text of the IDS_NO_CREDS message so that it
renders
better on a small window.
- Initialize COM when starting the GUI.
- When showing and hiding the main window and the new
credentials
window, add a button to the task bar. This allows the
user to
switch focus to the window if it's obstructed.
- Remove unused symbols from resource.h
- New Credentials Window
- Ignore the validity state of the identity when showing
a password
change dialog. We don't expect the identity provider
to validate
the identity when changing the password.
Commit By: tlyu
Revision: 19436
Changed Files:
_U branches/krb5-1-6/
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/kcreddb/credset.c
U
branches/krb5-1-6/src/windows/identity/plugins/common/krb5co
mmon.c
U
branches/krb5-1-6/src/windows/identity/plugins/krb4/krb4newc
reds.c
U
branches/krb5-1-6/src/windows/identity/plugins/krb4/lang/en_
us/langres.rc
U
branches/krb5-1-6/src/windows/identity/plugins/krb4/langres.
h
U
branches/krb5-1-6/src/windows/identity/plugins/krb5/krb5func
s.c
U
branches/krb5-1-6/src/windows/identity/plugins/krb5/krb5iden
tpro.c
U branches/krb5-1-6/src/windows/identity/ui/Makefile
U branches/krb5-1-6/src/windows/identity/ui/credwnd.c
U branches/krb5-1-6/src/windows/identity/ui/credwnd.h
D branches/krb5-1-6/src/windows/identity/ui/htmlwnd.h
U branches/krb5-1-6/src/windows/identity/ui/htwnd.c
U branches/krb5-1-6/src/windows/identity/ui/khmapp.h
U
branches/krb5-1-6/src/windows/identity/ui/lang/en_us/khapp.r
c
U branches/krb5-1-6/src/windows/identity/ui/main.c
U branches/krb5-1-6/src/windows/identity/ui/mainwnd.c
U branches/krb5-1-6/src/windows/identity/ui/newcredwnd.c
U branches/krb5-1-6/src/windows/identity/ui/resource.h
A branches/krb5-1-6/src/windows/identity/ui/taskbar.c
A branches/krb5-1-6/src/windows/identity/ui/taskbar.h
U branches/krb5-1-6/src/windows/identity/uilib/action.c
_______________________________________________
krb5-bugs mailing list
krb5-bugs mit.edu
ht
tps://mailman.mit.edu/mailman/listinfo/krb5-bugs
|