Author Topic: ThreadSearch 0.7 release  (Read 49639 times)

Offline Biplab

  • Developer
  • Lives here!
  • *****
  • Posts: 1874
    • Biplab's Blog
Re: ThreadSearch 0.7 release
« Reply #60 on: July 05, 2007, 07:35:48 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.

Offline dje

  • Lives here!
  • ****
  • Posts: 683
Re: ThreadSearch 0.7 release
« Reply #61 on: July 06, 2007, 01:05:01 am »
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 ?


Quote
I 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

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9694
Re: ThreadSearch 0.7 release
« Reply #62 on: July 06, 2007, 07:14:22 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]
« Last Edit: July 06, 2007, 07:23:50 am by MortenMacFly »
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9694
Re: ThreadSearch 0.7 release
« Reply #63 on: July 06, 2007, 12:39:47 pm »
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: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ

sps

  • Guest
Re: ThreadSearch 0.7 release
« Reply #64 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.

Offline dje

  • Lives here!
  • ****
  • Posts: 683
Re: ThreadSearch 0.7 release
« Reply #65 on: July 06, 2007, 01:58:23 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

  • Guest
Re: ThreadSearch 0.7 release
« Reply #66 on: July 08, 2007, 12:08:04 am »
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.


Offline Pecan

  • Plugin developer
  • Lives here!
  • ****
  • Posts: 2775
Re: ThreadSearch 0.7 release
« Reply #67 on: July 08, 2007, 10:44:40 pm »
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.

Code

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


Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9694
Re: ThreadSearch 0.7 release
« Reply #68 on: July 09, 2007, 09:24:15 am »
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: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ

mariocup

  • Guest
Re: ThreadSearch 0.7 release
« Reply #69 on: July 27, 2007, 11:54:51 pm »
Hi dje,

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

Offline dje

  • Lives here!
  • ****
  • Posts: 683
Re: ThreadSearch 0.7 release
« Reply #70 on: July 28, 2007, 12:30:48 am »
Hi Mario !

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

Dje


Offline tiwag

  • Developer
  • Lives here!
  • *****
  • Posts: 1196
  • sailing away ...
    • tiwag.cb
Re: ThreadSearch 0.7 release
« Reply #71 on: September 04, 2007, 04:14:05 pm »
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

Offline dje

  • Lives here!
  • ****
  • Posts: 683
Re: ThreadSearch 0.7 release
« Reply #72 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

Offline tiwag

  • Developer
  • Lives here!
  • *****
  • Posts: 1196
  • sailing away ...
    • tiwag.cb
Re: ThreadSearch 0.7 release
« Reply #73 on: September 04, 2007, 06:08:27 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

Offline JGM

  • Lives here!
  • ****
  • Posts: 518
  • Got to practice :)
Re: ThreadSearch 0.7 release
« Reply #74 on: September 04, 2007, 08:33:58 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:).