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

cbDiff plugin

Started by GeO, June 28, 2010, 10:46:04 PM

Previous topic - Next topic

daniloz

Quote from: oBFusCATed on January 26, 2011, 01:10:16 PM
Probably no one have asked this feature, so there is no way to access it :)
This means, if I kindly ask for it, there's a chance it would be implemented?

Btw, I'm kindly asking for it... :-)

MortenMacFly

Quote from: daniloz on January 26, 2011, 01:34:14 PM
Quote from: oBFusCATed on January 26, 2011, 01:10:16 PM
Probably no one have asked this feature, so there is no way to access it :)
This means, if I kindly ask for it, there's a chance it would be implemented?
Could GeO provide a patch for this purpose? It seems he has done it already...?!
See:
Quote from: GeO on January 26, 2011, 11:34:08 AM
However, it could be made accessible by:
*adding a new ModuleType(mtEditorTab) in globals.h
*adding the method "Manager::Get()->GetPluginManager()->AskPluginsForModuleMenu(mtEditorTab, &pop);" in editormanager.cpp's OnPageContextMenu
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]

GeO

Quote from: MortenMacFly on January 26, 2011, 01:43:15 PM
Could GeO provide a patch for this purpose? It seems he has done it already...?!

Sure, i didn't test it yet, but it shouldn't break anything.

oBFusCATed

(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

GeO

#19
Quote from: oBFusCATed on January 26, 2011, 02:43:00 PM
Only the API/ABI :)
:) :) Well nothing except these.

daniloz

The compilation of the cbDiff plugin was broken after r7291, so in order to fix that I have to add the following include to cbDiffUtils.cpp:


#include <wx/image.h>


@Geo: BTW, is there any new version around? Where do you usually make them available? Here? ;-)

GeO

Quote from: daniloz on July 26, 2011, 08:46:04 AM
@Geo: BTW, is there any new version around? Where do you usually make them available? Here? ;-)
Well, actually i have a new version, with some cool features, for a while, but it needs some speed improvements.
Maybe i'll find some time this weekend, so i'll finish it.

I announce new versions usually in the first post of this thread.

Greets GeO

UHM

Is there anybody who can help a new user (without C++ knowledge) by sending him
 
   libcbdiff.so

for
Linux version 2.6.27.39-0.3-default (geeko@buildhost) (gcc version 4.3.2 [gcc-4_3-branch revision 141291] (SUSE Linux) ) #1 SMP 2009-11-23 12:57:38 +0100

???

i tried to compile it myself but I failed for hours, because of missing setup.h and other problems.

Thanks & Greetings, Uwe

oBFusCATed

Do you have the devel package for wxGTK?
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

UHM

Yes, maybe th wrong version, maybe with the wrong flags ...

xunxun

The plugin can't be built with latest CB svn & wx2.8-branch svn.

The patch can solve the issue.
Regards,
xunxun

gocad

For Code::Blocks 12.11 rev 8629
Compiled by MinGW32 TDM 4.7.1 with wxWidgets 2.8.12

......
mingw32/bin/ld.exe: warning: cannot find entry symbol nable-auto-import; defaulting to 671c1000
......

You can replace "-enable-auto-import" with "--enable-auto-import" in cbDiff.cbp.

Good Luck !

LETARTARE

Hello,
for Code::Blocks svn 10035
Compiled by MinGW32 TDM 4.7.1 with wxWidgets 2.8.12 and VISTA

https://github.com/ywx/cbDiff

it's work fine.

Thanks to 'gocad'

Best regards
CB-13834, plugins-sdk-2.25.0 : Collector-2.6.5, AddOnForQt-5.1.2
1- Win7 Business Pack1 64bits : wx-3.2.8, gcc-15.2.0,
2- OpenSuse::Leap-15.6-64bits : wx-3.2.8;gtk3-u, gcc-15.2.0,
=> !! The messages are translated by 'Deepl'

yvesdm3000

Seems like someone branched this plugin and added filetype detection. I merged the 2 branches into another branch that can be found here:

https://github.com/yvesdm3000/cbDiff
Clang based code completion for Code::Blocks:   [url="http://github.com/yvesdm3000/ClangLib"]http://github.com/yvesdm3000/ClangLib[/url]