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.