This is the mail archive of the gnats-cvs@sourceware.cygnus.com mailing list for the GNATS project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

gnats/gnats ChangeLog edit.c fconfig.y fconfig ...


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]