Author Topic: SVNInside : development of another SVN plugin for CodeBlocks  (Read 141252 times)

Offline orel

  • Multiple posting newcomer
  • *
  • Posts: 96
Re: SVNInside : development of another SVN plugin for CodeBlocks
« Reply #120 on: May 13, 2008, 09:01:06 pm »
Why do you keep any svn info in the project files? There isn't a 1:1 correspondence between projects and repositories. why not just save the svn info you need in a separate config file (or, my preference, in the global user config)?

You are probably right, i think i will save the info about repositories in global user config file.
Thank you for that good proposition dMoore ;-)

orel
windows XP SP2
mingw gcc 3.4.5
svn Code::Blocks and M$ Visual Studio 2005 and .NET to eat!! SVNInside plugin :http://forums.codeblocks.org/index.php/topic,7063.0.html

Offline branleb

  • Multiple posting newcomer
  • *
  • Posts: 16
Re: SVNInside : development of another SVN plugin for CodeBlocks
« Reply #121 on: May 26, 2008, 10:42:31 am »
Your problem can be solved and has been solved, have you read the page 7 of this thread, here is the link ...!
http://forums.codeblocks.org/index.php/topic,7063.90.html
You meant http://wiki.codeblocks.org/index.php?title=Linking_the_plugin_to_a_Nightly_Build ?
There is a solution for nightly build, and may it works with them, but this doesnt works for me.
I have codeblocks SVN rev5081 and wxGTK 2.8.7.1-r1 on a gentoo machine...
And i always get the missing symbols error - is there a solution for me ?

greets Branleb


Don't hate the Hacker. Hate the Code!

Offline orel

  • Multiple posting newcomer
  • *
  • Posts: 96
Re: SVNInside : development of another SVN plugin for CodeBlocks
« Reply #122 on: May 26, 2008, 08:23:06 pm »
Your problem can be solved and has been solved, have you read the page 7 of this thread, here is the link ...!
http://forums.codeblocks.org/index.php/topic,7063.90.html
You meant http://wiki.codeblocks.org/index.php?title=Linking_the_plugin_to_a_Nightly_Build ?
There is a solution for nightly build, and may it works with them, but this doesnt works for me.
I have codeblocks SVN rev5081 and wxGTK 2.8.7.1-r1 on a gentoo machine...
And i always get the missing symbols error - is there a solution for me ?

greets Branleb

Hi man, i am really sorry i can't help you with this, i don't have a gentoo machine to test that, and, even on my win32 machine i haven't tried it because i don't need to do it. I am compiling my plugins (and the other ones as well) myself and linking with my own compiled version of Code::Blocks too.

What you are trying to do is not specific to SVNInside but to every plugins you would like to link to a nightly build.
I hope for you that the writer of the wiki article you mentioned can help you, maybe try creating a special thread for this.
windows XP SP2
mingw gcc 3.4.5
svn Code::Blocks and M$ Visual Studio 2005 and .NET to eat!! SVNInside plugin :http://forums.codeblocks.org/index.php/topic,7063.0.html

Offline gmclachl

  • Single posting newcomer
  • *
  • Posts: 3
Re: SVNInside : development of another SVN plugin for CodeBlocks
« Reply #123 on: July 12, 2008, 10:51:48 am »
It seems to me that having good SCM from within code::blocks is one of the major features it is still missing, and something I really miss.

I have been reading this thread as I was interested in writing a plugin, it strikes me that rather than implement different SCM tools integration we (as a community) should perhaps think about abstracting many operations away from concrete cases, and provide an SCM framework into which people can easily hook into. This way we can provide support for different tools. In my case I want to use git, other have mentioned bzr and mecurial.


George 

Offline undergraver

  • Single posting newcomer
  • *
  • Posts: 3
Re: SVNInside : development of another SVN plugin for CodeBlocks
« Reply #124 on: July 12, 2008, 04:44:47 pm »
I agree that a SCM plugin needs to be integrated into CodeBlocks.
One solution would be to have something completely XML based - actions[commands] because I imagine that integrating with git, svn, cvs and others will be done via command line. We can create based on that XML a menu that can be added to the current menu.

Probably it can be done also from the API (if the SCM has one) but involves more code to be written and also if the SCM API changes we need to change our code too.

This is just my thought, I don't know if it fits all the cases (though it should fit many of them).

Sorry if this was already discussed (didn't found anything related to that).

Iulian

Offline darthdespotism

  • Almost regular
  • **
  • Posts: 163
    • Coder's Nemesis
Re: SVNInside : development of another SVN plugin for CodeBlocks
« Reply #125 on: July 15, 2008, 07:13:52 pm »
I was thinking about write something for hg so if you need help for your all SCM plugin ...

Offline killerbot

  • Administrator
  • Lives here!
  • *****
  • Posts: 5179
Re: SVNInside : development of another SVN plugin for CodeBlocks
« Reply #126 on: July 15, 2008, 08:23:31 pm »
this will be done time, but first some other refactorings need to be carried out, or have higher priority.

Offline acinfo64

  • Single posting newcomer
  • *
  • Posts: 7
Re: SVNInside : development of another SVN plugin for CodeBlocks
« Reply #127 on: September 08, 2008, 12:35:15 pm »
Dear All,

Can someone explain in more detail how to compile and integrate the SVNInside.

When I compile the code I get the error that the library -lpropgrid is missing. In a post I saw that wxPropGrid etc is missing and that I should use the source SDK. But how can I do that?

Normally I use the C::B installer with mingw (v8.02). But I also tried to download C::B from SVN and then compile it. This is not a problem, but when I copy the files from the devel directory to my C::B my C::B works fine but I can't still compile and wxSmith is gone. So the wxPropGrid is then still not integrated.


Offline Ekinoks

  • Single posting newcomer
  • *
  • Posts: 7
Re: SVNInside : development of another SVN plugin for CodeBlocks
« Reply #128 on: November 11, 2008, 12:25:53 pm »
Hi !

I have a problem :?

I can't compile SVNInside's project but C::B not find this files :
- cbproject.h
- globals.h
- cbplugin.h
- tinyxml.h

Where I can find this files ?

Thanks for help.

Offline cgarcia109

  • Multiple posting newcomer
  • *
  • Posts: 24
Re: SVNInside : development of another SVN plugin for CodeBlocks
« Reply #129 on: November 11, 2008, 02:16:38 pm »
acinfo64 youre missing libwxpropgrid library thats a wxWidget plugin/addon
you need Codeblocks sources from svn and get them compiled.

Ekinoks youre missing codeblocks SDK, get codeblocks source from svn and compile it that will give you required headers and libraries needed to compile codeblocks plugins.

You will need wxWidgets libraries and headers in order to get codeblocks compiled from sources, you can get wxwidgets dev packages if youre using linux, or you can get wxWidgets sources, compile them. see http://www.wxwidgets.org for more info
« Last Edit: November 11, 2008, 02:24:39 pm by cgarcia109 »

Offline AIL

  • Single posting newcomer
  • *
  • Posts: 4
Re: SVNInside : development of another SVN plugin for CodeBlocks
« Reply #130 on: May 13, 2009, 05:32:33 pm »
Hi.

I try to install SVNInside into Code::Blocks as plugin, but something wrong happens:

---------------
One or more plugins were not loaded.
This usually happens when a plugin is built for
a different version of the Code::Blocks SDK.
Check the application log for more info.

List of failed plugins:

svninside.dll
---------------

Plugin was built using

MinGW-5.1.4  http://dfn.dl.sourceforge.net/sourceforge/mingw/MinGW-5.1.4.exe
wxMSW-2.8.7  http://biolpc22.york.ac.uk/pub/2.8.7/wxMSW-2.8.7.zip  (official mirror)
codeblocks-8.02-src  http://switch.dl.sourceforge.net/sourceforge/codeblocks/codeblocks-8.02-src.tar.bz2
SVNInside  http://tools.assembla.com/svn/SVNInside/trunk

Used version of Code::Blocks to install plugin is 8.02 (wxWidgets 2.8.7) - binary package from official site.
http://switch.dl.sourceforge.net/sourceforge/codeblocks/codeblocks-8.02mingw-setup.exe


What happens? why it does not work? And where I can "Check the application log for more info."?


And, to autor - Please, write normal build manual, human-readable, not everybody borns with knowledge, where to get components to build, which version to use, how exactly build it and so on.

Thanks.

[attachment deleted by admin]

Offline ollydbg

  • Developer
  • Lives here!
  • *****
  • Posts: 5226
  • OpenCV and Robotics
    • Chinese OpenCV forum moderator
Re: SVNInside : development of another SVN plugin for CodeBlocks
« Reply #131 on: May 13, 2009, 06:25:44 pm »
To my knowledge, this is the steps you should build a plugin.

http://wiki.codeblocks.org/index.php?title=Installing_Code::Blocks_from_source_on_Windows




You should build both the IDE and plugins and they can work together. 

Do Not add plugin to the used codeblocks from official site, the codeblocks itself should be build either. :D
If some piece of memory should be reused, turn them to variables (or const variables).
If some piece of operations should be reused, turn them to functions.
If they happened together, then turn them to classes.

Offline AIL

  • Single posting newcomer
  • *
  • Posts: 4
Re: SVNInside : development of another SVN plugin for CodeBlocks
« Reply #132 on: May 13, 2009, 06:57:47 pm »
First, thanks for link.

Do Not add plugin to the used codeblocks from official site, the codeblocks itself should be build either. :D

Yeah? And for what button "Install new" placed to "Manage plugins" dialog?

Offline dmoore

  • Developer
  • Lives here!
  • *****
  • Posts: 1576
Re: SVNInside : development of another SVN plugin for CodeBlocks
« Reply #133 on: May 13, 2009, 07:02:53 pm »
you can link against the 8.02 binaries BUT

when you link -- don't link against your own copies of the dlls, link against the CB 8.02 binary packages dlls (including any packaged wx widgets libs). see this: http://wiki.codeblocks.org/index.php?title=Linking_the_plugin_to_a_Nightly_Build
(the instructions assume you are building against a nightly build but it is the same for building against the actual release)

Offline AIL

  • Single posting newcomer
  • *
  • Posts: 4
Re: SVNInside : development of another SVN plugin for CodeBlocks
« Reply #134 on: May 13, 2009, 07:34:59 pm »
It works now!!! Yeah!!! Thanks a lot!