Git Product home page Git Product logo

seascope's Introduction

version: 0.8

Seascope is a GUI frontend for cscope, idutils.

* Running the application
	cd src
	python Seascope.py

* Generating source distribution package
	python setup.py sdist

* Generating RPM distribution package
	python setup.py bdist_rpm

seascope's People

Contributors

anilfree avatar pakls avatar rickysarraf avatar shushen avatar

Stargazers

 avatar

Watchers

 avatar  avatar

seascope's Issues

def app_get_config_file(self) : config_file = '~/.seascoperc' causes exceptions on windows.

What steps will reproduce the problem?

Windows, Seascope 0.4  (causes worse problems on seascope 0.3)

On a "windows" system Running the application and doing anything which would 
require access to the config file causes an exception: 

Traceback (most recent call last):
  File "C:\Oz\Setups\seascope-0.4\seascope-0.4\seascope-0.4\src\Seascope.py", li
ne 36, in file_preferences_cb
    self.app_write_config()
  File "C:\Oz\Setups\seascope-0.4\seascope-0.4\seascope-0.4\src\Seascope.py", li
ne 169, in app_write_config
    cf = open(self.app_get_config_file(), 'w')
IOError: [Errno 2] No such file or directory: 'H:\\/.seascoperc'


The problem is the following expression at def app_get_config_file(self) in 
file seascope.py:
    config_file = '~/.seascoperc'

    changing it to 'seascoperc' worked, and configuration is saved correctly. 

Very usefull software,
Thanks    

Original issue reported on code.google.com by [email protected] on 29 Feb 2012 at 10:32

Occasional failures when opening file on Mac OS X

What steps will reproduce the problem?
1. Double click a C file in the list view to open
2. The program throws an IOError when trying to parse it with ctag:
Traceback (most recent call last):
  File "/Users/shu/Developer/seascope/src/view/EdView.py", line 283, in show_file
    self.show_file_line(filename, None)
  File "/Users/shu/Developer/seascope/src/view/EdView.py", line 271, in show_file_line
    page.open_file(filename)
  File "/Users/shu/Developer/seascope/src/view/EdView.py", line 140, in open_file
    self.cv.ct.add_ct_result(filename);
  File "/Users/shu/Developer/seascope/src/view/CtagsView.py", line 32, in add_ct_result
    res = CtagsManager.ct_query(filename)
  File "/Users/shu/Developer/seascope/src/view/CtagsManager.py", line 8, in ct_query
    (out_data, err_data) = proc.communicate()
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 743, in communicate
    stdout = self.stdout.read()
IOError: [Errno 4] Interrupted system call

What is the expected output? What do you see instead?
The file shall be opened and parsed correctly with ctags, but instead the file 
fails to be opened.

The python version is 2.7.2 via macports and Mac OSX 10.7.2.
The problem has not been observed under Linux (with Python 2.7.2 and FC16).

There is a old bug fixed in Python 2.7 (http://bugs.python.org/issue1068268) 
and 2.7.2 does contain the fix as applied by the bug fix. But it seems not 
helping.


Original issue reported on code.google.com by [email protected] on 23 Nov 2011 at 5:23

AttributeError: type object 'QKeySequence' has no attribute 'Quit'

$ python SeaScope.py 
Traceback (most recent call last):
  File "SeaScope.py", line 381, in <module>
    ma = SeaScopeApp()
  File "SeaScope.py", line 335, in __init__
    self.create_mbar()
  File "SeaScope.py", line 123, in create_mbar
    m_file.addAction('&Quit', self.close, QKeySequence.Quit)
AttributeError: type object 'QKeySequence' has no attribute 'Quit'

* Ubuntu 9.10 "karmic"
* python-qscintilla2 version 2.4-3build1
* python-qt4 version 4.6-1

Original issue reported on code.google.com by [email protected] on 8 Feb 2011 at 11:50

Unable to create new project on Ubuntu 10.10

What steps will reproduce the problem?
1. hg clone https://seascope.googlecode.com/hg/ seascope
2. sudo apt-get install python-qscintilla2
3. cd seascope/src
4. python SeaScop.py

What is the expected output? What do you see instead?

I'm unable to create a new project the button 'folder' and 'add' does not work.

What version of the product are you using? On what operating system?

Ubuntu 10.10


Original issue reported on code.google.com by [email protected] on 1 Mar 2011 at 3:52

[Enhancement] Add open file & query list

This is not an issue but an enhancement suggestion.

When I'm working on big project (the reason why I'm using seascope...), I often 
open several files at the same time and perform a lot of queries.
When I want to go back to one of the files or one of the query result, it's 
quite difficult.
I don't find the left-right arrows to navigate through the tabs really suitable 
in this case.

Could it be possible to add a drop down query list to focus the corresponding 
query result? And do the same for the open files?

I'd be very great. Thx.

Original issue reported on code.google.com by [email protected] on 22 Nov 2013 at 5:36

exception when changing font

What steps will reproduce the problem?
1. Chaning font leads to exception

For more details, please see Debian Bug: 751401
http://bugs.debian.org/751401

Original issue reported on code.google.com by [email protected] on 7 Jan 2015 at 4:37

start seascope from other directories other than where SeaScope.py locates causes problem.

What steps will reproduce the problem?
For example, SeaScope.py is located at /opt/seascope. I am at /home/user. Now I 
run seascope like this: /opt/seascope/SeaScope.py, then I use Cscope->Calling 
Functions.

What is the expected output? What do you see instead?
seascope crashes.

What version of the product are you using? On what operating system?
latest hg version. GNU/Linux.

Please provide any additional information below.
The attached file is the patch to fix this by switching working dir to the 
script dir right after the script started to run.

Original issue reported on code.google.com by xuhdev on 21 Sep 2011 at 1:04

Attachments:

enhancement - the text between #ifdef x #endif is grayed out

What steps will reproduce the problem?
1.
2.
3.

What is the expected output? What do you see instead?
It would be nice to gray out only in the case of #if 0 #endif, but the rest of 
the cases should be displayed as normal code. This is a little distracting in a 
large project when you have a lot of #ifdef

What version of the product are you using? On what operating system?
0.7

Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 27 Aug 2014 at 2:16

*.hpp are not added to file list when adding a directory to cscope files.

What steps will reproduce the problem?
1. Click on menu "Project->New Project";
2. select the project location and add source dir (the source dir should 
contain some *.hpp files)

What is the expected output? What do you see instead?
*.hpp files should be added to the file list. However, *.hpp files are not 
added to the source file list, while *.cpp, *.cxx, *.h, etc. are added.

What version of the product are you using? On what operating system?
The latest version from the hg repository. on GNU/Linux.

Please provide any additional information below.


Original issue reported on code.google.com by xuhdev on 22 Sep 2011 at 9:03

error on fedora

After executing the python Seascopy.py i am getting below wrror on fedora.
GLib-GIO:ERROR:gdbusconnection.c:2270:initable_init: assertion failed: 
(connection->initialization_error == NULL)
Aborted (core dumped)

Please help me on this 

Original issue reported on code.google.com by [email protected] on 29 Jul 2012 at 7:05

Highlighting all occurances selected word

I again!

Coult it be possible to mark all occurrences of a selected work using double 
click?

For example, imagine that I am using Seascope and I have a open project, and I 
have a open file. 

If I double-click a word, could it be posible to mark with the same color each 
same word in the file?

Geany (http://www.geany.org/) has this capability and is very very useful.

I do not know if I have explained myself correctly :-)

Thank you very much!

Jorge.

Original issue reported on code.google.com by [email protected] on 10 Jan 2012 at 1:43

Program hangs in an infinite loop when trying to update the history

What steps will reproduce the problem?
1. Select one item (other than the first row) on the history result page
2. Run a query so that you jump to a new location/file that trigger a new entry 
in the history page
3. Program hangs in a loop and can only be recovered by user interrupt to 
python interpreter.

What is the expected output? What do you see instead?
It shall never hang

What version of the product are you using? On what operating system?
0.3, on Linux

Please provide any additional information below.
It seems to be hanging in the while loop in history_update() in ResView.py:
  while (self.h_page.itemAbove(item)):
    self.h_page.removeItemWidget(self.h_page.itemAbove(item), 0)
It appears to me that removeItemWidget is not removing anything and hence the 
loop continues forever.

Original issue reported on code.google.com by [email protected] on 16 Nov 2011 at 9:18

Support for cscope on remote machine

Add support for using cscope on a remote machine as backend.

To simplify implementation can assume that
    - password-less ssh access has been setup
    - There are no interactive hurdles for executing any command remotely
For accessing remote files in editor view
    - cat on remote files will help us fetch the content of file for editor view

Original issue reported on code.google.com by [email protected] on 6 Dec 2010 at 12:39

Ubuntu Lucid (10.04) closing Seascope always dies with a "segmentation fault"

Hi and congratulations for this great program!

It has been a long time looking for a similar program to Kscope (which was 
discontinued) and I feel very happy for having found this little gem.

I think I have found a little bug, I'm using Ubuntu Lucid (10.04) and when I 
close Seascopo it always dies with a "segmentation fault". If I execute it in a 
console the only trace I get is "Segmentation fault", so I cannot take a look 
to the python script Seascope.py.

When I downloaded Seascope-0.4 I installed the following libraries:

sudo apt-get install python-qt4 python-qscintilla2 exuberant-ctags cscope

So in my case I use scope as a backend.

Thank you very much and best regards!


Original issue reported on code.google.com by [email protected] on 10 Jan 2012 at 1:36

Why Cpp header files are not recognized?

What steps will reproduce the problem?
1. A source directory consists of *.cpp and header files without postfix
2. Add this source directory to seascope
3. Only *.cpp imported

What is the expected output? What do you see instead?
Cpp header files should be recognized and imported, however, that is not the 
case in seascope.

What version of the product are you using? On what operating system?
OS:
   Linux localhost 2.6.35.11-83.fc14.i686 #1 SMP Mon Feb 7 07:04:18 UTC 2011 i686 i686 i386 GNU/Linux
Seascope:
   seascope-0.3.tar.gz

Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 22 Oct 2011 at 1:06

experimental write support: Corrupts UTF-8 files

What steps will reproduce the problem?
1. Open some UTF-8 file for editing
2. Make modification
3. Try to save file -> will result empty file

What is the expected output? What do you see instead?
Should write the file.

What version of the product are you using? On what operating system?
Latest from mercurial repository

Possible fix(I am not Python programmer but following patch seems to fix the 
issue):

diff -r 8651d7e03a59 src/view/EdViewRW.py
--- a/src/view/EdViewRW.py      Sun Sep 02 18:59:11 2012 -0700
+++ b/src/view/EdViewRW.py      Tue Sep 11 16:55:28 2012 +0300
@@ -40,7 +40,7 @@
                self.show()

                ## Show this file in the editor
-               self.setText(open(filename).read())
+               self.setText(open(filename).read().decode("UTF-8"))

                ## process for modifiled.
                self.setModified(False)
@@ -63,7 +63,7 @@
                if(self.isModified()):
                        fobj = open(filename, 'w')
                        if (not fobj.closed):
-                               fobj.write(str(self.text()))
+                               fobj.write(self.text().toUtf8())
                                fobj.flush()
                                fobj.close()
                                self.setModified(False)

Original issue reported on code.google.com by [email protected] on 11 Sep 2012 at 1:58

Can not get ibus-daemon's address

What steps will reproduce the problem?
1. ON ubuntu Maverick start seascope

What is the expected output? What do you see instead?
I can't open a new seascope project, i have the following trace:
Bus::open: Can not get ibus-daemon's address. 
IBusInputContext::createInputContext: no connection to ibus-daemon 

What version of the product are you using? On what operating system?
0.2

Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 10 Jan 2011 at 4:20

[enhancement] editor option to avoid faded color on not recognised switch

My concern is more an enhancement than an issue.
I'm using seascope to navigate through kernel sources. My problem is that since 
the switch are not defined in a file within the source code tree, seascope put 
the sections which are under unrecognized switch in grey or faded color.

Could it be possible to have an option to deactivate this behavior?

I was using version 0.6 before, and it did not have this feature. I only saw it 
on 0.7.

What version of the product are you using? On what operating system?
0.7 Ubuntu 12.04

Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 27 Feb 2013 at 8:30

Call tree visual enhancements

The call tree is a great feature to navigate in code, and it doesn't exist on 
many tools.

I would suggest some enhancements to make the call tree view more clear and 
more usable:

- either make a visual distinction between real usage of the function and its 
declaration (.hxx), or just remove declarations.

- the File column is often too wide. When resizing it, display in priority the 
file name (the end) instead of the bebinning (maybe remove the common root path 
to show only a shorter relative path - maybe have two columns: filename and 
path).

- memorize the size of the window when reopening it

I'm using version 0.8 on Debian 6.

Thanks

Original issue reported on code.google.com by [email protected] on 30 Jan 2014 at 10:03

Use dot for call trees

This is an enhancement request for seascope to be able to draw call graphs.
kscope 1.6 was capable of drawing call tree. It used 'dot' for this.



Original issue reported on code.google.com by [email protected] on 17 Jan 2012 at 10:51

"Filter In" in Filter dialog is not implemented

What steps will reproduce the problem?
1. right click on a column (say Function) on a result page and select filter 
menu
2. the Filter dialog appears and select from the drop-down menu of "Filter in" 
an option other than the clicked column (say "Text") and enter a search item
3. the filter still works on the right-clicked column (Function in above case) 
rather than the "Text" field as selected in the dialog box

What version of the product are you using? On what operating system?
0.3

Please provide any additional information below.
Code inspection shows that the feature is not implemented


Original issue reported on code.google.com by [email protected] on 17 Nov 2011 at 11:32

Patch for avoiding duplicated result page

Page are currently created regardless whether there exists a page for  the same 
search.
This leads to multiple result pages if the same search is done repeatedly. 

It's intuitive to use the shortcuts (say Ctrl+0 for reference) to search again 
rather than trying to find a existing result page from an earlier search.

The following patch does the trick:
diff -r 7716d2b30646 src/ResView.py
--- a/src/ResView.py    Fri Oct 14 10:56:38 2011 -0700
+++ b/src/ResView.py    Thu Nov 17 13:07:23 2011 -0800
@@ -270,6 +270,12 @@
        else:
            name = req

+       #remove existing duplicate
+       for idx in range(book.count()):
+           if book.tabText(idx)== name:
+               book.removeTab(idx)
+               break
+
        page = ResultPage(book)
        book.addTab(page, name)
        if (cmd_id != None):

Original issue reported on code.google.com by [email protected] on 17 Nov 2011 at 9:17

Unable to save internal editor settings

What steps will reproduce the problem?
1. Open seascope
2. In preferences, enable internal editor
3. Restart seascope, observe internal editor has not been enabled

What is the expected output? What do you see instead?
observe internal editor has not been enabled

What version of the product are you using? On what operating system?
v0.7 on Ubuntu 12.04.

Please provide any additional information below.
I was using previous versions on which this settings worked fine.
So, when I switch to 0.7, the editor was enabled and working. 
But, I can not disable it, it seems that this settings, when changed on UI, is 
not stored into ~/.seascoperc file.

Original issue reported on code.google.com by [email protected] on 6 Mar 2013 at 3:02

File->Open in external editor.

Hey this tool is very useful and much nicer than "cbrowser", thanks!
I am just missing a shortcut to open the files in an editor...

Original issue reported on code.google.com by [email protected] on 8 Feb 2011 at 12:23

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.