Developer forums (C::B DEVELOPMENT STRICTLY!) > Plugins development
SVNInside : development of another SVN plugin for CodeBlocks
stahta01:
NOTE, this plug-in is still a alpha level code right now. The developer is still adding major features and there may be major bugs it it. DO NOT use on code you can not afford to lose.
I have uploaded the Windows binary plug-in to
http://www.savefile.com/projects/1039215
Direct link is http://www.savefile.com/files/1216969
Filename is SVNInside.7z
Tim S
skwo:
stahta01 Thanks a lot.
orel:
Hi everybody, sorry for absence of features addition those last couple of weeks. I was very busy with other things and i have also redesigned some classes in SVNInside because i was not fully statisfied by my code.
I am going in the direction of more robust code, reimplementing with my new API the features that worked before.
Expect a major commit on svn in a few days !!
darthdespotism:
Cool, I'll test it again on linux then (Debian Lenny for now) ;)
MuteSpirit:
Hi everybody.
I think that SVNInside is very usefull.
I have made some bug fix.
Bug: If you change properties of project on SVNInside panel from "Disconnected" to "Connected" and then try to change properties of the same project the C::B will crash.
Fix:
File: src\Dialogs\wxSVNTreeCtrl.cpp
Function: void wxSVNTreeCtrl::OnProjectProperties (wxCommandEvent& event)
Original code:
...
if (OldConfig != NewConfig)
{
...
// is status has been modified and is now connected ?
if (false == OldConfig.m_bConnectStatus && NewConfig.m_bConnectStatus)
{
this->Delete(pProjectItem->GetId());
// it project is created, add it to the list
if (m_pCurrProject = CreateProjectTree (project, &NewConfig))
m_pWrkspcFile->m_Files.push_back(m_pCurrProject);
}
}
...
Fixed code:
...
if (OldConfig != NewConfig)
{
...
// is status has been modified and is now connected ?
if (false == OldConfig.m_bConnectStatus && NewConfig.m_bConnectStatus)
{
this->Delete(pProjectItem->GetId());
// it project is created, add it to the list
if (m_pCurrProject = CreateProjectTree (project, new svniProjectConfig(NewConfig)))
m_pWrkspcFile->m_Files.push_back(m_pCurrProject);
}
}
...
Problem takes place because NewConfig is local object, but new svniFile object m_pCurrProject save pointer on this object and tries delete it in destructor.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version