\r
m_From=CTime(1970,1,2,0,0,0);\r
m_To=CTime::GetCurrentTime();\r
+ m_bAllBranch = FALSE;\r
}\r
\r
CGitLogListBase::~CGitLogListBase()\r
\r
void CGitLogListBase::PreSubclassWindow()\r
{\r
- SetExtendedStyle(LVS_EX_FULLROWSELECT | LVS_EX_DOUBLEBUFFER | LVS_EX_SUBITEMIMAGES);\r
+ SetExtendedStyle(LVS_EX_FULLROWSELECT | LVS_EX_SUBITEMIMAGES);\r
// load the icons for the action columns\r
m_Theme.SetWindowTheme(GetSafeHwnd(), L"Explorer", NULL);\r
CHintListCtrl::PreSubclassWindow();\r
m_logEntries[i].m_IsFull=TRUE;\r
this->m_arShownList.Add(&m_logEntries[i]);\r
}\r
+\r
+ if(path)\r
+ m_Path=*path;\r
return 0;\r
\r
}\r
ClearText();\r
\r
this->m_logEntries.ClearAll();\r
- this->m_logEntries.ParserShortLog();\r
+ CTGitPath *path;\r
+ if(this->m_Path.IsEmpty())\r
+ path=NULL;\r
+ else\r
+ path=&this->m_Path;\r
+\r
+ this->m_logEntries.ParserShortLog(path,-1);\r
\r
//this->m_logEntries.ParserFromLog();\r
SetItemCountEx(this->m_logEntries.size());\r
SetRedraw(true);\r
\r
InterlockedExchange(&m_bNoDispUpdates, FALSE);\r
+}\r
+\r
+void CGitLogListBase::Clear()\r
+{\r
+ m_arShownList.RemoveAll();\r
+ m_logEntries.clear();\r
+ m_logEntries.m_HashMap.clear();\r
+ DeleteAllItems();\r
+ m_logEntries.m_Lns.clear();\r
+\r
+ m_logEntries.m_FirstFreeLane=0;\r
+ m_logEntries.m_Lns.clear();\r
+\r
}
\ No newline at end of file