Re: [evolution-patches] all components, password serialisation patch




ok committed this (the second patch).

strictly should've waited for toshok on the smime changes, but eh, sue me.

it introduces another minor bug though, the requester isn't parented.  should probably move e-error into e-utils (where it should've been in the first place, what was i thinking) so it can use that, and its auto-parenting feature.

On Tue, 2004-08-10 at 13:25 +0000, Not Zed wrote:

this seems to be the only way to fix the password serialisation problem across all components.

its more or less a movement of the mail's password stuff to e-password, including making it fully mt-safe, which greatly simplifies the mail's calls to it, and could probably simplify the async callbacks in other components too.

it isn't entirely the same as what the mailer had though, since it now also guarantees execution order even from (recursive) calls from the gui thread, so  i don't know if it hasn't added other problems.

it will gaurantee you never get more than 1 password dialogue up at a time, requests areprocessed in the order they come in, etc etc.

--
Michael Zucchi <notzed ximian com>
"born to die, live to work, it's all downhill from here"
Novell's Evolution and Free Software Developer


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]