Developer forums (C::B DEVELOPMENT STRICTLY!) > Plugins development

ThreadSearch plugin is born !

<< < (7/12) > >>

dje:
Thanks for the improvement.

What about this point :

--- Quote ---To use it in my SVN environment, I use the generated static libs.
To use it with a nightly, I link directly with the corresponding dlls.
--- End quote ---

I need to link with *.a to work with my development environment.
I need to link with nightly *.dll to work with the nightly.

As I said :

--- Quote ---I suspect the link because I didn't apply C::B team wxWidgets patch for menu alignement in my development environment.
--- End quote ---

It seems to be the development project version, which may not be appropriate for nightly builds production.
Do you think the use of virtual targets is recommended in this case ?

Dje

MortenMacFly:

--- Quote from: dje on March 14, 2007, 11:48:27 pm ---I need to link with *.a to work with my development environment.
I need to link with nightly *.dll to work with the nightly.
[...]
Do you think the use of virtual targets is recommended in this case ?

--- End quote ---
I wouldn't make things too complicated. I'd say just provide the sources (which will ensure enough tester I believe) and (maybe) ask killerbot to include this plugin in the nightlys if you want a wider spectrum of testers. Everything else is simply too error-prone.
Once the next C::B version comes out there will also be a SDK released. At that point one can think about shipping *.cbplugin files build against this "static" SDK. For now this isn't much useful... IMHO.
with regards, Morten.

mariocup:
Hi dje,

I have tried the new Plugin (under windows) and it is really nice. I am using UTF-8 character encoding for my files and if I search with ThreadSearch plugin the preview of special characters (e.g. ΓΌ in german) is not correct. What default character encoding is used for this Plugin (CP1252)?

Thanks.

Bye

Mario

Pecan:
I ran the .04 source on Linux this morning after adding to ThreadSearch.cpp :

#include "messagemanager.h"
#include "configmanager.h"
#include "sdk_events.h"

It compiles just fine. But the search doesn't work. It takes the search string, starts a thread, then goes zombie. So I'm guessing the thread ends, but no attention is paid to it. It's hung.

Also, after the thread starts, any resize of any window in CB causes refreshes to freeze. The main menu or task bars even disappear. This might be evidence that an event is stuck in the event queue, not allowing other events to get through.

dje:

--- Quote ---What default character encoding is used for this Plugin (CP1252)?
--- End quote ---
I don't know... :oops:
In fact, I use the same search strategy as in 'Search in files', ie using a hidden cbStyledTextControl to search in file for me.
I keep the point and I'll have a look on how it is managed in C::B.
Do you have the same problem with Code::Blocks editors ?

Pecan, I am working on setting up a working environment on Ubuntu 6.10.
I am blocked for now with the problem discussed in another thread
I read your remarks with big interest.

Dje

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version