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 btime.c client.c edit-pr ... Date: Tue, 04 Jan 2000 17:00:00 -0000 Message-id: <20000105010019.26884.qmail@sourceware.cygnus.com> X-SW-Source: 2000/msg00006.html List-Id: CVSROOT: /cvs/gnats Module name: gnats Changes by: bmanson@sourceware.cygnus.com 00/01/04 17:00:19 Modified files: gnats : ChangeLog btime.c client.c edit-pr.sh edit.c gnats.h lists.c misc.c pr-edit.c pr-init.c pr.h query-pr.c query.c query.h Log message: * query.c (getSearchOperatorForType): Make global. (parseSimpleQueryExpression): Add support for initial '[' marker indicating that the field name referred to is the builtin name. (appendSearchItem): Ditto. * query-pr.c: Construct queries initially as strings; we then either send them directly to the server as is in network mode, or parse it for doing a direct query later. (oldQueryField): New function. * pr-init.c (getBuiltinField): New function, for looking up builtin field information. * pr-edit.c: We no longer parse PRs when in network mode. Let the server win. (readPR): Deleted, no longer used. * misc.c (quoteString): Move here; it's now a global. * edit.c (replace_pr): Fill in err->msg. (check_pr_file): Ditto. * edit-pr.sh: pr-edit now requires the number of the edited PR. * client.c (sendRemoteListQuery): Add outfile parameter. (sendRemoteQuery): Add queryString parameter, for sending unparsed expressions. (netSendPRCmd, netEditField, netCheckPR, netSubmitNewPR, netModifyPR): Change PR* parameter to FILE*; we send the files directly now, so the server does all the work. * lists.c (getGnatsFile): Removed ListFieldConfig, no longer used. Removed infile. * client.c: Removed unused variable reply. (clientConnect): Renamed from client_init. (get_reply): Handle CODE_TEXT_READY. (client_get_field_config, client_get_field_config_line): Deleted, no longer used. (client_init_gnats): Don't call client_get_field_config ().