[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
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 
        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.
        key             data
        ./aaa.c\0       11\0
        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.
        key             data
        ./aaa.c\0       11\0
        key             data
        ./aaa.c\0       11\0
        ./README\0      12\0o\0         <=== 'o' means other files.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]