|
KiCad PCB EDA Suite
|
The advanced git window's History page: filters above a list of commits beside the selected commit's detail, with what the commit did to a chosen file under the detail's file list. More...
#include <panel_git_history.h>
Public Member Functions | |
| PANEL_GIT_HISTORY (wxWindow *aParent, GIT_ADVANCED_DIALOG *aDialog, EDA_BASE_FRAME *aFrame) | |
| ~PANEL_GIT_HISTORY () override | |
| void | Populate () |
| Load the repository's recent commits in the background, up to the current window. | |
| void | SetBranches (const std::vector< KIGIT_BRANCH_INFO > &aBranches) |
| Offer every branch in the branch filter, keeping the current choice. | |
| void | ShowHistoryForFile (const wxString &aPath) |
| Narrow the list to the commits that changed aPath, a file or folder relative to the repository root. | |
Protected Attributes | |
| wxSearchCtrl * | m_historySearch |
| wxChoice * | m_historyBranch |
| wxCheckBox * | m_historyShowRefs |
| wxBoxSizer * | m_historyPathRow |
| wxStaticText * | m_historyPathLabel |
| wxButton * | m_showAllButton |
| wxSplitterWindow * | m_historySplitter |
| wxPanel * | m_historyListPanel |
| wxDataViewListCtrl * | m_historyList |
| wxPanel * | m_commitDetail |
| wxStaticText * | m_commitTitle |
| wxStaticBitmap * | m_commitAvatar |
| wxStaticText * | m_commitAuthor |
| wxTextCtrl * | m_commitMessage |
| wxStaticText * | m_commitStats |
| wxStaticText * | m_commitFileCount |
| wxStaticText * | m_commitAdded |
| wxStaticText * | m_commitRemoved |
| wxSplitterWindow * | m_detailSplitter |
| wxPanel * | m_commitFilesPanel |
| wxListCtrl * | m_commitFiles |
Private Member Functions | |
| void | reloadHistory () |
| Restart the history at the first window after the search or branch filter changed. | |
| void | fillHistory (const std::vector< KIGIT_COMMIT_INFO > &aCommits, size_t aLimit) |
| Apply a loaded history window, keeping the currently selected commit when possible. | |
| KIGIT_HISTORY_FILTER | historyFilter () const |
| The search text and branch the page is narrowed to. | |
| void | showCommitDetail (const wxString &aHash) |
| Fill the detail pane with aHash, or clear it when the hash is empty or gone. | |
| void | fillCommitDetail (const KIGIT_COMMIT_DETAIL &aDetail) |
| void | clearCommitDetail () |
| void | showFileDiff (const wxString &aPath) |
| Show what the selected commit did to aPath under the file list, or hide that area. | |
| void | hideFileDiff () |
| void | appendHistoryRows (const std::vector< KIGIT_COMMIT_INFO > &aCommits, size_t aFrom) |
| Append rows for aCommits starting at aFrom, without clearing, so growing the history window keeps the scroll position. | |
| void | onHistoryScrollTick () |
| Grow the history window when the user has scrolled near its end. | |
| void | requestAvatar (const wxString &aEmail, int aDiameter) |
| Start a background fetch of the contributor's web avatar for aEmail, if opted in and not already cached or requested. | |
| void | applyAvatar (const wxString &aEmail, int aDiameter, const std::string &aBytes) |
| On the UI thread, decode the fetched avatar bytes and place the photo on every history row for aEmail. | |
| void | onRestoreVersion (const wxString &aCommitHash) |
| Restore the project as it was at the given commit, recorded as a new commit on top of the current head. | |
| void | restoreVersion (const wxString &aCommitHash, const KIGIT::GIT_IDENTITY &aIdentity) |
Private Attributes | |
| GIT_ADVANCED_DIALOG * | m_dialog |
| EDA_BASE_FRAME * | m_frame |
| wxDataViewColumn * | m_historyRefsColumn |
| GIT_FILE_DIFF_AREA * | m_fileDiff |
| std::atomic< bool > | m_avatarCancel { false } |
| Set when the page goes, so a fetch still waiting on the network gives up rather than holding the close for its timeout. | |
| std::vector< std::thread > | m_avatarWorkers |
| The avatar fetches this page started, joined before it goes. | |
| std::vector< wxString > | m_historyEmails |
| Author email for each history row, so a fetched avatar can find its rows. | |
| std::vector< bool > | m_historyAtHead |
| Whether each row's commit is the one HEAD points at. | |
| std::map< wxString, wxBitmap > | m_avatarCache |
| Fetched web avatars, keyed by author email. | |
| std::set< wxString > | m_avatarRequested |
| Emails whose avatar fetch was already started, so each is fetched at most once. | |
| KIGIT_QUERY | m_historyQuery |
| Listing and selection have separate requests so choosing a commit does not cancel paging. | |
| KIGIT_QUERY | m_detailQuery |
| KIGIT_QUERY | m_actionQuery |
| Read action preconditions without delaying history selection or scrolling. | |
| WX_DEBOUNCED_ACTION | m_historySearchDebounce |
| Waits for the user to pause typing in the search box before walking the history again. | |
| wxTimer | m_historyScrollTimer |
| Polls whether the user scrolled near the end of the history, which is the one portable way to notice scrolling on every wxDataViewCtrl port, native ones included. | |
| size_t | m_historyLimit = 50 |
| How many commits the page currently shows at most. Grows as the user scrolls. | |
| wxString | m_historyBranchName |
| The branch the list is narrowed to, or empty for every branch. | |
| wxString | m_historyPath |
| The file or folder the history is narrowed to, or empty for all of it. | |
| wxString | m_detailHash |
| The commit the detail pane shows, so a refresh can put the selection back on it. | |
| wxString | m_detailEmail |
| Its author's email, so a web avatar that arrives later lands on the pane too. | |
| wxString | m_detailParent |
| The first parent of the shown commit, which the diff area's before side names. | |
| int | m_historySashPos = 0 |
| Where the user left the sash, so the pane comes back at the same width. | |
| int | m_detailSashPos = 0 |
| Where the user left the sash between the file list and the diff area. | |
| bool | m_historyComplete = false |
| True once a load returned fewer commits than asked for, meaning everything is shown. | |
| bool | m_fillingHistory = false |
| True while the list is being refilled, when its selection events are its own. | |
The advanced git window's History page: filters above a list of commits beside the selected commit's detail, with what the commit did to a chosen file under the detail's file list.
Definition at line 54 of file panel_git_history.h.
| PANEL_GIT_HISTORY::PANEL_GIT_HISTORY | ( | wxWindow * | aParent, |
| GIT_ADVANCED_DIALOG * | aDialog, | ||
| EDA_BASE_FRAME * | aFrame ) |
Definition at line 273 of file panel_git_history.cpp.
References m_dialog, m_fileDiff, m_frame, m_historyRefsColumn, m_historySearchDebounce, PANEL_GIT_HISTORY_BASE::PANEL_GIT_HISTORY_BASE(), and reloadHistory().
|
override |
Definition at line 471 of file panel_git_history.cpp.
References m_actionQuery, m_avatarCancel, m_avatarWorkers, m_detailQuery, m_historyQuery, m_historyScrollTimer, and m_historySearchDebounce.
|
private |
Append rows for aCommits starting at aFrom, without clearing, so growing the history window keeps the scroll position.
Definition at line 788 of file panel_git_history.cpp.
References KIGIT_COMMIT_INFO::author, KIGIT_COMMIT_INFO::email, PGM_BASE::GetCommonSettings(), KIGIT_COMMIT_INFO::hash, m_avatarCache, COMMON_SETTINGS::m_Git, m_historyAtHead, m_historyEmails, PANEL_GIT_HISTORY_BASE::m_historyList, Pgm(), KIGIT_COMMIT_INFO::refs, KIGIT::RelativeDate(), requestAvatar(), COMMON_SETTINGS::GIT::showContributorAvatars, KIGIT_COMMIT_INFO::summary, and KIGIT_COMMIT_INFO::when.
Referenced by fillHistory(), and onHistoryScrollTick().
|
private |
On the UI thread, decode the fetched avatar bytes and place the photo on every history row for aEmail.
Does nothing when the bytes are empty (no web avatar).
Definition at line 911 of file panel_git_history.cpp.
References circle(), image, m_avatarCache, PANEL_GIT_HISTORY_BASE::m_commitAvatar, m_detailEmail, m_historyEmails, and PANEL_GIT_HISTORY_BASE::m_historyList.
Referenced by requestAvatar().
|
private |
Definition at line 666 of file panel_git_history.cpp.
References hideFileDiff(), PANEL_GIT_HISTORY_BASE::m_commitAdded, PANEL_GIT_HISTORY_BASE::m_commitAuthor, PANEL_GIT_HISTORY_BASE::m_commitDetail, PANEL_GIT_HISTORY_BASE::m_commitFileCount, PANEL_GIT_HISTORY_BASE::m_commitFiles, PANEL_GIT_HISTORY_BASE::m_commitMessage, PANEL_GIT_HISTORY_BASE::m_commitRemoved, PANEL_GIT_HISTORY_BASE::m_commitStats, PANEL_GIT_HISTORY_BASE::m_commitTitle, m_detailEmail, m_historySashPos, PANEL_GIT_HISTORY_BASE::m_historySplitter, and KIGIT::UnsplitKeepingSash().
Referenced by fillCommitDetail(), and showCommitDetail().
|
private |
Definition at line 572 of file panel_git_history.cpp.
References _, KIGIT_COMMIT_DETAIL::added, KIGIT_COMMIT_FILE::added, KIGIT_COMMIT_DETAIL::author, KIGIT_COMMIT_FILE::binary, clearCommitDetail(), KIGIT_COMMIT_DETAIL::email, KIGIT_COMMIT_DETAIL::files, KIGIT_COMMIT_DETAIL::found, PGM_BASE::GetCommonSettings(), hideFileDiff(), m_avatarCache, PANEL_GIT_HISTORY_BASE::m_commitAdded, PANEL_GIT_HISTORY_BASE::m_commitAuthor, PANEL_GIT_HISTORY_BASE::m_commitAvatar, PANEL_GIT_HISTORY_BASE::m_commitDetail, PANEL_GIT_HISTORY_BASE::m_commitFileCount, PANEL_GIT_HISTORY_BASE::m_commitFiles, PANEL_GIT_HISTORY_BASE::m_commitMessage, PANEL_GIT_HISTORY_BASE::m_commitRemoved, PANEL_GIT_HISTORY_BASE::m_commitStats, PANEL_GIT_HISTORY_BASE::m_commitTitle, m_detailEmail, m_detailParent, m_fillingHistory, COMMON_SETTINGS::m_Git, PANEL_GIT_HISTORY_BASE::m_historyList, PANEL_GIT_HISTORY_BASE::m_historyListPanel, m_historyPath, m_historySashPos, PANEL_GIT_HISTORY_BASE::m_historySplitter, KIGIT_COMMIT_DETAIL::message, KIGIT_COMMIT_FILE::oldPath, KIGIT_COMMIT_DETAIL::parents, KIGIT_COMMIT_FILE::path, Pgm(), KIGIT_COMMIT_DETAIL::refs, KIGIT::RelativeDate(), KIGIT_COMMIT_DETAIL::removed, KIGIT_COMMIT_FILE::removed, requestAvatar(), KIGIT_COMMIT_DETAIL::shortHash, COMMON_SETTINGS::GIT::showContributorAvatars, showFileDiff(), KIGIT_COMMIT_FILE::status, and KIGIT_COMMIT_DETAIL::when.
|
private |
Apply a loaded history window, keeping the currently selected commit when possible.
Definition at line 741 of file panel_git_history.cpp.
References appendHistoryRows(), m_detailHash, m_fillingHistory, m_historyAtHead, m_historyComplete, m_historyEmails, PANEL_GIT_HISTORY_BASE::m_historyList, m_historyScrollTimer, and showCommitDetail().
Referenced by Populate().
|
private |
Definition at line 682 of file panel_git_history.cpp.
References m_detailSashPos, PANEL_GIT_HISTORY_BASE::m_detailSplitter, m_fileDiff, and KIGIT::UnsplitKeepingSash().
Referenced by clearCommitDetail(), fillCommitDetail(), Populate(), and showFileDiff().
|
private |
The search text and branch the page is narrowed to.
Definition at line 495 of file panel_git_history.cpp.
References filter, m_historyBranchName, m_historyPath, and PANEL_GIT_HISTORY_BASE::m_historySearch.
Referenced by onHistoryScrollTick(), and Populate().
|
private |
Grow the history window when the user has scrolled near its end.
Definition at line 827 of file panel_git_history.cpp.
References appendHistoryRows(), filter, KIGIT_COMMON::GetRecentCommits(), historyFilter(), m_dialog, m_frame, m_historyComplete, m_historyLimit, PANEL_GIT_HISTORY_BASE::m_historyList, m_historyQuery, and m_historyScrollTimer.
|
private |
Restore the project as it was at the given commit, recorded as a new commit on top of the current head.
Definition at line 947 of file panel_git_history.cpp.
References _, DisplayErrorMessage(), DisplayInfoMessage(), info, KIGIT_COMMON::IsHeadDetached(), KIGIT::PROJECT_GIT_UTILS::LfsRefusal(), m_actionQuery, m_dialog, m_frame, KIGIT::ReadGitIdentity(), and restoreVersion().
| void PANEL_GIT_HISTORY::Populate | ( | ) |
Load the repository's recent commits in the background, up to the current window.
Definition at line 715 of file panel_git_history.cpp.
References fillHistory(), filter, KIGIT_COMMON::GetRecentCommits(), hideFileDiff(), historyFilter(), m_detailQuery, m_dialog, m_frame, m_historyLimit, m_historyQuery, and m_historyScrollTimer.
Referenced by reloadHistory(), and SetBranches().
|
private |
Restart the history at the first window after the search or branch filter changed.
Definition at line 505 of file panel_git_history.cpp.
References m_historyLimit, m_historySearchDebounce, and Populate().
Referenced by PANEL_GIT_HISTORY(), and ShowHistoryForFile().
|
private |
Start a background fetch of the contributor's web avatar for aEmail, if opted in and not already cached or requested.
Definition at line 878 of file panel_git_history.cpp.
References applyAvatar(), m_avatarCache, m_avatarCancel, m_avatarRequested, and m_avatarWorkers.
Referenced by appendHistoryRows(), and fillCommitDetail().
|
private |
Definition at line 1000 of file panel_git_history.cpp.
References _, AlreadyCurrent, CaptureOpenEditorDocs(), Dirty, DisplayErrorMessage(), DisplayInfoMessage(), DocumentEditorsDirty(), KIGIT::EnsureGitIdentity(), Error, LibraryEditorsWithUnsavedChanges(), m_actionQuery, m_dialog, m_frame, path, ReloadOpenEditors(), Restored, result, and KIGIT::TryLockAction().
Referenced by onRestoreVersion().
| void PANEL_GIT_HISTORY::SetBranches | ( | const std::vector< KIGIT_BRANCH_INFO > & | aBranches | ) |
Offer every branch in the branch filter, keeping the current choice.
Definition at line 513 of file panel_git_history.cpp.
References _, PANEL_GIT_HISTORY_BASE::m_historyBranch, m_historyBranchName, and Populate().
|
private |
Fill the detail pane with aHash, or clear it when the hash is empty or gone.
Definition at line 538 of file panel_git_history.cpp.
References clearCommitDetail(), m_detailHash, m_detailQuery, m_dialog, and m_frame.
Referenced by fillHistory().
|
private |
Show what the selected commit did to aPath under the file list, or hide that area.
Definition at line 689 of file panel_git_history.cpp.
References _, hideFileDiff(), PANEL_GIT_HISTORY_BASE::m_commitFilesPanel, m_detailHash, m_detailParent, m_detailSashPos, PANEL_GIT_HISTORY_BASE::m_detailSplitter, m_fileDiff, m_frame, and path.
Referenced by fillCommitDetail().
| void PANEL_GIT_HISTORY::ShowHistoryForFile | ( | const wxString & | aPath | ) |
Narrow the list to the commits that changed aPath, a file or folder relative to the repository root.
Empty shows every commit again.
Definition at line 485 of file panel_git_history.cpp.
References m_historyPath, PANEL_GIT_HISTORY_BASE::m_historyPathLabel, PANEL_GIT_HISTORY_BASE::m_historyPathRow, and reloadHistory().
|
private |
Read action preconditions without delaying history selection or scrolling.
Definition at line 140 of file panel_git_history.h.
Referenced by onRestoreVersion(), restoreVersion(), and ~PANEL_GIT_HISTORY().
|
private |
Fetched web avatars, keyed by author email.
Definition at line 130 of file panel_git_history.h.
Referenced by appendHistoryRows(), applyAvatar(), fillCommitDetail(), and requestAvatar().
|
private |
Set when the page goes, so a fetch still waiting on the network gives up rather than holding the close for its timeout.
Definition at line 117 of file panel_git_history.h.
Referenced by requestAvatar(), and ~PANEL_GIT_HISTORY().
|
private |
Emails whose avatar fetch was already started, so each is fetched at most once.
Definition at line 133 of file panel_git_history.h.
Referenced by requestAvatar().
|
private |
The avatar fetches this page started, joined before it goes.
Definition at line 120 of file panel_git_history.h.
Referenced by requestAvatar(), and ~PANEL_GIT_HISTORY().
|
protectedinherited |
Definition at line 60 of file panel_git_history_base.h.
Referenced by PANEL_GIT_HISTORY::clearCommitDetail(), PANEL_GIT_HISTORY::fillCommitDetail(), and PANEL_GIT_HISTORY_BASE().
|
protectedinherited |
Definition at line 56 of file panel_git_history_base.h.
Referenced by PANEL_GIT_HISTORY::clearCommitDetail(), PANEL_GIT_HISTORY::fillCommitDetail(), and PANEL_GIT_HISTORY_BASE().
|
protectedinherited |
Definition at line 55 of file panel_git_history_base.h.
Referenced by PANEL_GIT_HISTORY::applyAvatar(), PANEL_GIT_HISTORY::fillCommitDetail(), and PANEL_GIT_HISTORY_BASE().
|
protectedinherited |
Definition at line 53 of file panel_git_history_base.h.
Referenced by PANEL_GIT_HISTORY::clearCommitDetail(), PANEL_GIT_HISTORY::fillCommitDetail(), and PANEL_GIT_HISTORY_BASE().
|
protectedinherited |
Definition at line 59 of file panel_git_history_base.h.
Referenced by PANEL_GIT_HISTORY::clearCommitDetail(), PANEL_GIT_HISTORY::fillCommitDetail(), and PANEL_GIT_HISTORY_BASE().
|
protectedinherited |
Definition at line 64 of file panel_git_history_base.h.
Referenced by PANEL_GIT_HISTORY::clearCommitDetail(), PANEL_GIT_HISTORY::fillCommitDetail(), and PANEL_GIT_HISTORY_BASE().
|
protectedinherited |
Definition at line 63 of file panel_git_history_base.h.
Referenced by PANEL_GIT_HISTORY_BASE(), and PANEL_GIT_HISTORY::showFileDiff().
|
protectedinherited |
Definition at line 57 of file panel_git_history_base.h.
Referenced by PANEL_GIT_HISTORY::clearCommitDetail(), PANEL_GIT_HISTORY::fillCommitDetail(), and PANEL_GIT_HISTORY_BASE().
|
protectedinherited |
Definition at line 61 of file panel_git_history_base.h.
Referenced by PANEL_GIT_HISTORY::clearCommitDetail(), PANEL_GIT_HISTORY::fillCommitDetail(), and PANEL_GIT_HISTORY_BASE().
|
protectedinherited |
Definition at line 58 of file panel_git_history_base.h.
Referenced by PANEL_GIT_HISTORY::clearCommitDetail(), PANEL_GIT_HISTORY::fillCommitDetail(), and PANEL_GIT_HISTORY_BASE().
|
protectedinherited |
Definition at line 54 of file panel_git_history_base.h.
Referenced by PANEL_GIT_HISTORY::clearCommitDetail(), PANEL_GIT_HISTORY::fillCommitDetail(), and PANEL_GIT_HISTORY_BASE().
|
private |
Its author's email, so a web avatar that arrives later lands on the pane too.
Definition at line 162 of file panel_git_history.h.
Referenced by applyAvatar(), clearCommitDetail(), and fillCommitDetail().
|
private |
The commit the detail pane shows, so a refresh can put the selection back on it.
Definition at line 159 of file panel_git_history.h.
Referenced by fillHistory(), showCommitDetail(), and showFileDiff().
|
private |
The first parent of the shown commit, which the diff area's before side names.
Definition at line 165 of file panel_git_history.h.
Referenced by fillCommitDetail(), and showFileDiff().
|
private |
Definition at line 137 of file panel_git_history.h.
Referenced by Populate(), showCommitDetail(), and ~PANEL_GIT_HISTORY().
|
private |
Where the user left the sash between the file list and the diff area.
Definition at line 171 of file panel_git_history.h.
Referenced by hideFileDiff(), and showFileDiff().
|
protectedinherited |
Definition at line 62 of file panel_git_history_base.h.
Referenced by PANEL_GIT_HISTORY::hideFileDiff(), PANEL_GIT_HISTORY_BASE(), and PANEL_GIT_HISTORY::showFileDiff().
|
private |
Definition at line 109 of file panel_git_history.h.
Referenced by onHistoryScrollTick(), onRestoreVersion(), PANEL_GIT_HISTORY(), Populate(), restoreVersion(), and showCommitDetail().
|
private |
Definition at line 113 of file panel_git_history.h.
Referenced by hideFileDiff(), PANEL_GIT_HISTORY(), and showFileDiff().
|
private |
True while the list is being refilled, when its selection events are its own.
Definition at line 177 of file panel_git_history.h.
Referenced by fillCommitDetail(), and fillHistory().
|
private |
Definition at line 110 of file panel_git_history.h.
Referenced by onHistoryScrollTick(), onRestoreVersion(), PANEL_GIT_HISTORY(), Populate(), restoreVersion(), showCommitDetail(), and showFileDiff().
|
private |
Whether each row's commit is the one HEAD points at.
With every branch listed, the top row can belong to another branch, and only HEAD's commit can be amended.
Definition at line 127 of file panel_git_history.h.
Referenced by appendHistoryRows(), and fillHistory().
|
protectedinherited |
Definition at line 45 of file panel_git_history_base.h.
Referenced by PANEL_GIT_HISTORY_BASE(), and PANEL_GIT_HISTORY::SetBranches().
|
private |
The branch the list is narrowed to, or empty for every branch.
Definition at line 153 of file panel_git_history.h.
Referenced by historyFilter(), and SetBranches().
|
private |
True once a load returned fewer commits than asked for, meaning everything is shown.
Definition at line 174 of file panel_git_history.h.
Referenced by fillHistory(), and onHistoryScrollTick().
|
private |
Author email for each history row, so a fetched avatar can find its rows.
Definition at line 123 of file panel_git_history.h.
Referenced by appendHistoryRows(), applyAvatar(), and fillHistory().
|
private |
How many commits the page currently shows at most. Grows as the user scrolls.
Definition at line 150 of file panel_git_history.h.
Referenced by onHistoryScrollTick(), Populate(), and reloadHistory().
|
protectedinherited |
Definition at line 52 of file panel_git_history_base.h.
Referenced by PANEL_GIT_HISTORY::appendHistoryRows(), PANEL_GIT_HISTORY::applyAvatar(), PANEL_GIT_HISTORY::fillCommitDetail(), PANEL_GIT_HISTORY::fillHistory(), PANEL_GIT_HISTORY::onHistoryScrollTick(), and PANEL_GIT_HISTORY_BASE().
|
protectedinherited |
Definition at line 51 of file panel_git_history_base.h.
Referenced by PANEL_GIT_HISTORY::fillCommitDetail(), and PANEL_GIT_HISTORY_BASE().
|
private |
The file or folder the history is narrowed to, or empty for all of it.
Definition at line 156 of file panel_git_history.h.
Referenced by fillCommitDetail(), historyFilter(), and ShowHistoryForFile().
|
protectedinherited |
Definition at line 48 of file panel_git_history_base.h.
Referenced by PANEL_GIT_HISTORY_BASE(), and PANEL_GIT_HISTORY::ShowHistoryForFile().
|
protectedinherited |
Definition at line 47 of file panel_git_history_base.h.
Referenced by PANEL_GIT_HISTORY_BASE(), and PANEL_GIT_HISTORY::ShowHistoryForFile().
|
private |
Listing and selection have separate requests so choosing a commit does not cancel paging.
Definition at line 136 of file panel_git_history.h.
Referenced by onHistoryScrollTick(), Populate(), and ~PANEL_GIT_HISTORY().
|
private |
Definition at line 112 of file panel_git_history.h.
Referenced by PANEL_GIT_HISTORY().
|
private |
Where the user left the sash, so the pane comes back at the same width.
Definition at line 168 of file panel_git_history.h.
Referenced by clearCommitDetail(), and fillCommitDetail().
|
private |
Polls whether the user scrolled near the end of the history, which is the one portable way to notice scrolling on every wxDataViewCtrl port, native ones included.
Definition at line 147 of file panel_git_history.h.
Referenced by fillHistory(), onHistoryScrollTick(), Populate(), and ~PANEL_GIT_HISTORY().
|
protectedinherited |
Definition at line 44 of file panel_git_history_base.h.
Referenced by PANEL_GIT_HISTORY::historyFilter(), and PANEL_GIT_HISTORY_BASE().
|
private |
Waits for the user to pause typing in the search box before walking the history again.
Definition at line 143 of file panel_git_history.h.
Referenced by PANEL_GIT_HISTORY(), reloadHistory(), and ~PANEL_GIT_HISTORY().
|
protectedinherited |
Definition at line 46 of file panel_git_history_base.h.
Referenced by PANEL_GIT_HISTORY_BASE().
|
protectedinherited |
Definition at line 50 of file panel_git_history_base.h.
Referenced by PANEL_GIT_HISTORY::clearCommitDetail(), PANEL_GIT_HISTORY::fillCommitDetail(), and PANEL_GIT_HISTORY_BASE().
|
protectedinherited |
Definition at line 49 of file panel_git_history_base.h.
Referenced by PANEL_GIT_HISTORY_BASE().