[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Global-commit] global global/global.c gozilla/gozilla.c gtags/...
From: |
Shigio YAMAGUCHI |
Subject: |
[Global-commit] global global/global.c gozilla/gozilla.c gtags/... |
Date: |
Sat, 05 Nov 2005 09:07:11 -0500 |
CVSROOT: /cvsroot/global
Module name: global
Branch:
Changes by: Shigio YAMAGUCHI <address@hidden> 05/11/05 14:07:11
Modified files:
global : global.c
gozilla : gozilla.c
gtags : gtags.c
htags : path2url.c
libutil : dbop.c dbop.h gpathop.c gpathop.h gtagsop.c
vfind.c xargs.c
Log message:
GPATH format changed.
1. Problem and the cause
Though the --file option of gtags(1) limits the range of project,
global(1) and htags(1) with the -o option ignore the range.
It is because GPATH has only path names of the source files in the
project,
and global(1) and htags(1) with the -o (--other) option need to traverse
file system by themselves without refering GPATH.
2. Solution
To solve the problem, I have an idea to make GPATH have all path
names in the range. If it is, global(1) and htags(1) can refer GPATH
without traversing file system. As a result, the range defined by the
--file option of gtags(1) is kept.
This brins another merit that the operation of global(1) and htags(1)
with -o option quickens more than now.
3. Imprementation (new GPATH)
a. GPATH has all path names in the range of the project.
[GPATH]
key data
--------------------
./aaa.c\0 11\0
|
v
key data
--------------------
./aaa.c\0 11\0
./README\0 12\0 <=== include README
b. Each record of GPATH has a flag value to distinguish source files
and the rest.
[GPATH]
key data
--------------------
./aaa.c\0 11\0
|
v
key data
--------------------
./aaa.c\0 11\0
./README\0 12\0o\0 <=== 'o' means other files.
CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/global/global/global/global.c.diff?tr1=1.114&tr2=1.115&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/global/global/gozilla/gozilla.c.diff?tr1=1.32&tr2=1.33&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/global/global/gtags/gtags.c.diff?tr1=1.151&tr2=1.152&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/global/global/htags/path2url.c.diff?tr1=1.10&tr2=1.11&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/global/global/libutil/dbop.c.diff?tr1=1.27&tr2=1.28&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/global/global/libutil/dbop.h.diff?tr1=1.17&tr2=1.18&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/global/global/libutil/gpathop.c.diff?tr1=1.24&tr2=1.25&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/global/global/libutil/gpathop.h.diff?tr1=1.13&tr2=1.14&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/global/global/libutil/gtagsop.c.diff?tr1=1.84&tr2=1.85&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/global/global/libutil/vfind.c.diff?tr1=1.8&tr2=1.9&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/global/global/libutil/xargs.c.diff?tr1=1.4&tr2=1.5&r1=text&r2=text
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Global-commit] global global/global.c gozilla/gozilla.c gtags/...,
Shigio YAMAGUCHI <=