CVSROOT: /sources/global Module name: global Branch: Changes by: Shigio YAMAGUCHI <[EMAIL PROTECTED]> 06/02/08 01:04:31
Modified files: global : filter.c filter.h global.c gtags : gtags.c htags : global.cgi.tmpl.in libutil : format.h pathconvert.c pathconvert.h tagsort.c Log message: Modifications which affects format conversion. o Removed the --fileid option. This option was consolidated to the following --result option. o Added new --result=<format> option. <format>: path,ctags,ctags-x,ctags-xid conventional option | newly added option --------------------+--------------------- (none) | --result=path -t | --result=ctags -x | --result=ctags-x -x + --fileid | --result=ctags-xid The -t and -x option are given to priority more than the --result option. o Modified the formatting architecture of global(1). This modification make it simpler to add new format (e.g. grep). Moved the processing by which various formats are generated from the main body of global(1) to the path filter. The main body generates only two formats, that is, path format and ctags-x format. Path filter generates various formats which are given by the --result=<format> option. Old +=============+ +===========+ +===========+ |main body |->|sort filter|->|path filter|->[stdout] +=============+ +===========+ +===========+ ^ +---- generate various format---+ New v +=============+ +===========+ +===========+ |main body |->|sort filter|->|path filter|->[stdout] +=============+ +===========+ +===========+ CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/global/global/global/filter.c.diff?tr1=1.2&tr2=1.3&r1=text&r2=text http://cvs.savannah.gnu.org/viewcvs/global/global/global/filter.h.diff?tr1=1.1&tr2=1.2&r1=text&r2=text http://cvs.savannah.gnu.org/viewcvs/global/global/global/global.c.diff?tr1=1.138&tr2=1.139&r1=text&r2=text http://cvs.savannah.gnu.org/viewcvs/global/global/gtags/gtags.c.diff?tr1=1.184&tr2=1.185&r1=text&r2=text http://cvs.savannah.gnu.org/viewcvs/global/global/htags/global.cgi.tmpl.in.diff?tr1=1.14&tr2=1.15&r1=text&r2=text http://cvs.savannah.gnu.org/viewcvs/global/global/libutil/format.h.diff?tr1=1.1&tr2=1.2&r1=text&r2=text http://cvs.savannah.gnu.org/viewcvs/global/global/libutil/pathconvert.c.diff?tr1=1.4&tr2=1.5&r1=text&r2=text http://cvs.savannah.gnu.org/viewcvs/global/global/libutil/pathconvert.h.diff?tr1=1.4&tr2=1.5&r1=text&r2=text http://cvs.savannah.gnu.org/viewcvs/global/global/libutil/tagsort.c.diff?tr1=1.14&tr2=1.15&r1=text&r2=text _______________________________________________ Global-commit mailing list Global-commit@gnu.org http://lists.gnu.org/mailman/listinfo/global-commit