[Uim-bugs] [Bug 639] Describe design decisions and implementation reasons

bugzilla-daemon at pdx.freedesktop.org bugzilla-daemon at pdx.freedesktop.org
Tue May 18 22:43:45 EEST 2004


http://pdx.freedesktop.org/cgi-bin/bugzilla/show_bug.cgi?id=639





------- Additional Comments From yamaken at bp.iij4u.or.jp  2004-05-19 05:43 -------
I have described a new function to follow the subject. I will continue so for a
week as a test drive.

/** Update custom value from property message.
 * Update custom value from property message. All variable update is
 * validated by custom APIs rather than arbitrary sexp
 * evaluation. Custom symbol \a custom is quoted in sexp string to be
 * restricted to accept symbol literal only. This prevents arbitrary
 * sexp evaluation.
 */
void
uim_prop_update_custom(uim_context uc, const char *custom, const char *val)
{
  if(!custom || !val)
    return;

  UIM_EVAL_FSTRING3(uc, "(prop-handler %d 'prop-update-custom '%s %s)",
		    uc->id, custom, val);
}




------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.




More information about the uim-bugs mailing list