Giter Club home page Giter Club logo

gscope's Introduction

Coverity Scan Build Status

Stability enhancements (via static analysis) in process. Open issues resolution(s) to follow.

gscope

An interactive source code browsing tool for C.

It can also provide limited support for other languages as well.

C++ is supported but the scanner can be confused by the use of many templates.

Gscope is provided courtesy of Hewlett Packard Inc.

Acknowledgements

Gscope origin code was based on cscope (open) sources originating in the mid 1990s. Subsequent refactoring and merging of cscope updates have led to the source code provided here today. Much of the code would not be recognizable to the original authors, but a few portions (like the scanner) are remarkably unchanged.

Recommended Stable Versions

Gscope Version 2.22

Gscope3 Version 3.22

gscope's People

Contributors

hbbroeker avatar mkinkley avatar taborkelly avatar tefletch avatar zrax avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

gscope's Issues

gscope3 static call browser text is invisible

At first it appeared to be empty, but clicking around where the text should be caused the appropriate actions to trigger. So instead it seems that the text and +/- icons are just not rendered or are rendered invisibly.

image

Make semi-automatic (notification only) a selectable option as an alternative to "automatic"

Gscope has traditionally been optimized for large code projects: Millions of lines, 10-100K files, very large single files. In this type of environment, rebuilding a cross reference whenever any source change is detected is a time-costly experience.

While not forgetting it's roots in large data sets, the default detect-and-notify behavior should be configurable to allow selective detect-and-update (as a configurable option).

Depricate some Gscope command line options

Remove command line options below:

[Gscope 2, 3, 4] Remove  command line option  -c,  --compressOff 
[Gscope 2, 3, 4] Remove command line option -u, -- updateAll (already disabled)
[Gscope 2, 3, 5] Remove command line option -T,  --truncSymbols

Consider removing -r, --rcFile=file
Consider removing -I, --includeDir=path

sh autogen.sh fails on Ubuntu 18.04

I have tried sh autogen.sh for 2.16, 3.16, and the tip of master. They all fail with:

./configure: line 5198: syntax error near unexpected token `PACKAGE,'
./configure: line 5198: `PKG_CHECK_MODULES(PACKAGE, $pkg_modules)'

This is on Ubuntu 18.04 with autoconf (GNU Autoconf) 2.69. I am not an autotools ninja, but I am happy to provide more information.

All Versions: Include File Search path field size is too limited

Navigate to Options-->Start-up Preferences (dialog)
Select: Source File Search (Tab)
The gtk_entry widget for "Include File Search Path" is much too small/limited.
Make it bigger:
- update glade2 config (gtk2: gscope2)
- update glade3 config (gtk3: gscope3)
- update calabash (or hard-coded config) (gtk4: gscope4)

Search results display enhancements:

Search results display enhancements:

  • Sort results by column
  • Provide a display filter that only shows results with a sub-string match (per column?)

Open File view window content out of sync after source modification

When a source file is open in a file view window and that source file is modified, the window needs to be refreshed with updated content when the changes are "updated" into gscope.

Current work-around: Close the associated file-view window, rebuild the database and re-open a new file-view window for the file of interest.

Suggested Solution: Since source line indexing is directly linked to the gscope cross-reference db status, add a content refresh test to every open file-view window whenever the db is updated.

Gscope should gracefully recover from a config string error

Example (Missing termination char: prints a warning to stderr and exits gscope):

$ gscope -R

Warning: Configuration string [settings.includeDir] was truncated.
List syntax error: Inconsistent delimiter char: ':' != 'e'
Pattern name: 'Include Directory List'
Pattern value: ':/usr/include:/usr/include/gtk-4.0:/usr/include/pango-1.0:/usr/include/glib-2.0:/usr/lib/x86_64-linux-gnu/glib-2.0/include:/usr/include/gtksourceview-5:/usr/include/cairo:/usr/include/harfbuzz:/usr/include/gdk-pixbuf-2.0:/usr/lib/x86_64-linux-gnu/graphene'

Notice of existance

While i was hunting for the missing file contents of gscope.c i found your repo.
I have my own fork of cscope: https://github.com/agvxov/csope.git
It's not quite as reformatted as yours, but I'm working on it. In the soon future I will add ctags support too.

I thought I would let you know, perhaps something will come of it...

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.