News:

When registered with our forums, feel free to send a "here I am" post here to differ human beings from SPAM bots.

Main Menu

ThreadSearch 0.7 release

Started by dje, June 29, 2007, 12:00:41 AM

Previous topic - Next topic

Biplab

Quote from: dje on July 03, 2007, 10:20:00 PM
Hi Biplap !

I saw the problem a couple of time.

When building the plugin menu, I'm looking for the 'Find implementation of' item to insert the find occurrences just after. If not found, it is appended at the end.

Either pattern has changed or plugin method is called after.
I didn't try myself but did you try to unsinstall/reinstall it (or disable/enable it after patch) ?

Dje

Hi Dje,

I missed this post. So I'm sorry for this late reply. :)

I tested the plugin and in my system it shows the "Find occurrences of .." in correct place.

IMHO, plugin loading should not affect the menu position as the menu is created by BuildModuleMenu() and this is Not called once. The menu will be recreated every time you right click on Editor. So this problem should not arise. It seems that in some rare cases, Code-Completion fails to create it's module menu before ThreadSearch starts its work. :)

I must say this is a useful plugin and thanks for sharing this with us. :)

Best Regards,

Biplab
Be a part of the solution, not a part of the problem.

dje

Quote from: MortenMacFly on July 05, 2007, 06:47:57 PM
If I have the ThreadSearch panel active (in foreground) and close C::B it will crash.
BTW: Did I miss a newer version? I saw you fixed quite some bugs but I see 0.7 here, only.

Sorry, "real world" catch me back (for a while  :wink:).

As soon as the icons problem is solved in this thread and Pecan provides makefile.am (thanks !), I'll put the 0.8 on SVN with fixes.

Concerning the crash, I can't reproduce it. Do you crash the nightly or SVN ? Which control is focused ? Is it XP SP2 ? wxWidgets 2.6.3 or you switched to 2.8.4 ?


QuoteI must say this is a useful plugin and thanks for sharing this with us.
Would be stupid not to do it  :P

For 'Find occurrences' position, I don't see any other way to proceed...

Dje

MortenMacFly

#62
Quote from: dje on July 06, 2007, 01:05:01 AM
Concerning the crash, I can't reproduce it. Do you crash the nightly or SVN ? Which control is focused ? Is it XP SP2 ? wxWidgets 2.6.3 or you switched to 2.8.4 ?
- SVN trunk (r4229)
- the search box in the "log" panel is focussed (ThreadSearchView IMHO)
- Windows XP SP2
- wxWidgets 2.6.4
I will attach a crash log in a minute... stay tuned...
With regards, Morten.

Edit: Have attached the crash report. The strange thing is: I cannot pinpoint the line in the ThreadSearch plugin, although I haven't stripped symbols or something... really strange...

[attachment deleted by admin]
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: [url="https://www.codeblocks.org/docs/main_codeblocks_en.html"]https://www.codeblocks.org/docs/main_codeblocks_en.html[/url]
C::B FAQ: [url="https://wiki.codeblocks.org/index.php?title=FAQ"]https://wiki.codeblocks.org/index.php?title=FAQ[/url]

MortenMacFly

Quote from: MortenMacFly on July 06, 2007, 07:14:22 AM
Edit: The strange thing is: I cannot pinpoint the line in the ThreadSearch plugin, although I haven't stripped symbols or something... really strange...
Alright - false alarm. The root was another plugin which got fixed in the meanwhile. ThreadSearch is just fine now.
So just forget about the noise... :oops:
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: [url="https://www.codeblocks.org/docs/main_codeblocks_en.html"]https://www.codeblocks.org/docs/main_codeblocks_en.html[/url]
C::B FAQ: [url="https://wiki.codeblocks.org/index.php?title=FAQ"]https://wiki.codeblocks.org/index.php?title=FAQ[/url]

sps

Great work! dje.

I loved this plugin. I used 0.6 version as well but 0.7 is really stable.

dje

Quote from: sps on July 06, 2007, 01:25:59 PM
Great work! dje.

I loved this plugin. I used 0.6 version as well but 0.7 is really stable.
Thanks !  :D Nice to read it !

mariocup

Hi dje,

as thread search supports the preview of search results it would be cool to have the same functionality for search and replace. So thread search can help to refactor the names of variables showing the preview and have a dialog to confirm the replace action.


Pecan

Here is the best I can do for a Makefile.am .

However, when I add it to the CB automake system, the compiles for the contribs are no longer invoked. Even with --enable-contribs . So I guess I'm not pointing to it correctly.

It does create a Makefile.in and a Makefile. The Makefile works and the .libs is created when I force the Makefile to run.

Someone else will have to figure out how to correctly plug it into the CB automake system.



INCLUDES = $(WX_CXXFLAGS) \
        $(WX_GTK2_CFLAGS) \
-I$(top_srcdir)/src/include \
-I$(top_srcdir)/src/include/wxscintilla/include \
        -I$(top_srcdir)/src/include/wxFlatNotebook/include

libdir = $(pkgdatadir)/plugins

lib_LTLIBRARIES = libThreadSearch.la

libThreadSearch_la_LDFLAGS = -module -version-info 0:1:0 -shared -no-undefined -avoid-version

libThreadSearch_la_LIBADD = $(PLUGIN_WX_LIBS) ../../../sdk/libcodeblocks.la

libThreadSearch_la_SOURCES = DirectoryParamsPanel.cpp \
SearchInPanel.cpp \
TextFileSearcher.cpp \
TextFileSearcherRegEx.cpp \
TextFileSearcherText.cpp \
ThreadSearch.cpp \
ThreadSearchConfPanel.cpp \
ThreadSearchDefaultPanel.cpp \
ThreadSearchEvent.cpp \
ThreadSearchFindData.cpp \
ThreadSearchThread.cpp \
ThreadSearchTrace.cpp \
ThreadSearchView.cpp

noinst_HEADERS =  DirectoryParamsPanel.h \
SearchInPanel.h \
TextFileSearcher.h \
TextFileSearcherRegEx.h \
TextFileSearcherText.h \
ThreadSearch.h \
ThreadSearchConfPanel.h \
ThreadSearchControlIds.h \
ThreadSearchDefaultPanel.h \
ThreadSearchEvent.h \
ThreadSearchFindData.h \
ThreadSearchThread.h \
ThreadSearchTrace.h \
ThreadSearchView.h

pkgdatadir = $(datadir)/@PACKAGE@/images/settings

dist_pkgdata_DATA = ThreadSearch.png \
ThreadSearch-off.png

EXTRA_DIST = manifest.xml

ThreadSearch.zip:
PWD=`pwd` cd $(srcdir) && zip $(PWD)/ThreadSearch.zip manifest.xml *.png *.xrc > /dev/null

install-data-local: ThreadSearch.zip
$(mkinstalldirs) $(DESTDIR)$(datadir)/@PACKAGE@/; \
if test -f $(srcdir)/ThreadSearch.zip; then p=$(srcdir)/ThreadSearch.zip; else p=ThreadSearch.zip; fi; \
$(INSTALL_DATA) $$p $(DESTDIR)$(datadir)/@PACKAGE@/ThreadSearch.zip


MortenMacFly

Quote from: Pecan on July 08, 2007, 10:44:40 PM
Someone else will have to figure out how to correctly plug it into the CB automake system.
Did you forget to register this plugin inside configure.in (it's makefiles), maybe?!
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: [url="https://www.codeblocks.org/docs/main_codeblocks_en.html"]https://www.codeblocks.org/docs/main_codeblocks_en.html[/url]
C::B FAQ: [url="https://wiki.codeblocks.org/index.php?title=FAQ"]https://wiki.codeblocks.org/index.php?title=FAQ[/url]

mariocup

Hi dje,

I noticed that in the threadsearch toolbar the tool tips are missing.

dje

Hi Mario !

Good time to say it, ThreadSearch 0.8 will soon be released.
Thanks,

Dje


tiwag

Quote from: dje on July 28, 2007, 12:30:48 AM
Good time to say it, ThreadSearch 0.8 will soon be released.

did i overlook sthg ? where can i dl the actual sources ?

thx & brgds
tiwag

dje

Hi Tiwag !

You missed nothing but...
I created 3 partitions my PC :
- Linux (Ubuntu 7.04)
- XP
- FAT32 to share

It will be a 1.0 release.
XP is Ok.
I have a problem I can' t solve for now on Ubuntu 7.04 (missing symbols); it is described at this post but I have no answer.

Once it is solved, there one "identified not solved" linux problem remaining.

As soon as all is OK, I release it and put it on SVN.
I have to synchronise with Lieven to see how to integrate it in the nightlies build process.

Dje

tiwag

Quote from: dje on September 04, 2007, 04:41:21 PM
Hi Tiwag !

You missed nothing but...
I created 3 partitions my PC :
- Linux (Ubuntu 7.04)
- XP
- FAT32 to share

It will be a 1.0 release.
XP is Ok.
I have a problem I can' t solve for now on Ubuntu 7.04 (missing symbols); it is described at this post but I have no answer.

Once it is solved, there one "identified not solved" linux problem remaining.

As soon as all is OK, I release it and put it on SVN.
I have to synchronise with Lieven to see how to integrate it in the nightlies build process.

Dje


Hi dje

thanks !

maybe you can upload the win32 version in the meantime,
threadsearch 0.7 doesn't build with recent svn CB version.

brgds,
tiwag

JGM

Quote from: tiwag on September 04, 2007, 06:08:27 PM
threadsearch 0.7 doesn't build with recent svn CB version.

Yep, I want to use it, but can't compile it. This useful plugin should be added to the contribs when the 0.8 is released.

There should be a section with all the plugins that exist organized by categories, like xoops does with the modules   :). Also some developing rules to maintain a standard in the development of plugins (i think  :roll:).