This is the mail archive of the
gnats-cvs@sourceware.cygnus.com
mailing list for the GNATS project.
gnats/gnats ChangeLog edit.c fconfig.y fconfig ...
- To: gnats-cvs at sourceware dot cygnus dot com
- Subject: gnats/gnats ChangeLog edit.c fconfig.y fconfig ...
- From: bmanson at sourceware dot cygnus dot com
- Date: 3 Dec 1999 02:03:37 -0000
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.