From mboxrd@z Thu Jan 1 00:00:00 1970 From: bmanson@sourceware.cygnus.com To: gnats-cvs@sourceware.cygnus.com Subject: gnats/gnats ChangeLog edit.c fconfig.y fconfig ... Date: Thu, 02 Dec 1999 18:03:00 -0000 Message-id: <19991203020337.13869.qmail@sourceware.cygnus.com> X-SW-Source: 1999/msg00110.html List-Id: CVSROOT: /cvs/gnats Module name: gnats Changes by: bmanson@sourceware.cygnus.com 99/12/02 18:03:37 Modified files: gnats : ChangeLog edit.c fconfig.y fconfigl.l field-config field.h getclose.c gnats.h pcodes.h pr.c pr.h query.c query.h Log message: * query.c (parseFieldName): Make public. * pr.c (field_change_reason): New routine. (struct PR_private): Added multiFieldIsReason member. (setPRChain): Don't free the current PR chain, for now. (replace_existing_pr): Use field_value () instead of violating interfaces. (replace_existing_pr): Step to the next field. (get_field_value): New function. * pcodes.h (CODE_INVALID_FIELD_NAME): New code. * field.h (field_list): Add name and isReason fields. (field_edit): New structure. * fconfig.y: Add support for on-change, require, append-to-field and set-field tokens. Remove code for audit-related keywords. * edit.c (rewrite_pr): Get the PR index chain before we do anything else. Don't redeclare old_pr. Invoke applyChangeActions () on fields that have changed in the PR. (editGetFieldValue, applyFieldEdit, applyChangeActions): New functions.