|
KiCad PCB EDA Suite
|
#include <stack>#include <dialogs/git/git_status_entries.h>#include <dialogs/git/git_transfer.h>#include <git/git_backend.h>#include <wx/regex.h>#include <wx/richmsgdlg.h>#include <wx/stdpaths.h>#include <wx/string.h>#include <wx/msgdlg.h>#include <wx/textdlg.h>#include <wx/timer.h>#include <wx/wupdlock.h>#include <wx/log.h>#include <wx/dcclient.h>#include <wx/progdlg.h>#include <wx/settings.h>#include <wx/weakref.h>#include <frame_type.h>#include <kiway.h>#include <mail_type.h>#include <settings/settings_manager.h>#include <settings/common_settings.h>#include <advanced_config.h>#include <bitmaps.h>#include <bitmap_store.h>#include <confirm.h>#include <dialogs/git/dialog_git_credentials.h>#include <dialogs/git/git_credentials_prompt.h>#include <dialogs/git/git_ui_utils.h>#include <widgets/wx_progress_reporters.h>#include <dialogs/git/dialog_git_switch.h>#include <gestfich.h>#include <macros.h>#include <trace_helpers.h>#include <wildcards_and_files_ext.h>#include <kiplatform/environment.h>#include <core/kicad_algo.h>#include <paths.h>#include <project/project_local_settings.h>#include <scoped_set_reset.h>#include <string_utils.h>#include <thread_pool.h>#include <launch_ext.h>#include <wx_log_utils.h>#include <git/git_pull_handler.h>#include <git/kicad_git_compat.h>#include <git/git_init_handler.h>#include <git/git_status_handler.h>#include <git/kicad_git_common.h>#include <git/kicad_git_memory.h>#include <git/project_git_utils.h>#include <dialogs/git/dialog_git_repository.h>#include "project_tree_item.h"#include "project_tree.h"#include "pgm_kicad.h"#include "kicad_id.h"#include "kicad_manager_frame.h"#include "project_tree_pane.h"#include <widgets/kistatusbar.h>#include <kiplatform/io.h>#include <kiplatform/secrets.h>Go to the source code of this file.
Enumerations | |
| enum | project_tree_ids { ID_PROJECT_TXTEDIT = 8700 , ID_PROJECT_SWITCH_TO_OTHER , ID_PROJECT_NEWDIR , ID_PROJECT_OPEN_DIR , ID_PROJECT_DELETE , ID_PROJECT_RENAME , ID_GIT_INITIALIZE_PROJECT , ID_GIT_REMOTE_SETTINGS , ID_GIT_REMOVE_VCS , ID_GIT_SWITCH_BRANCH , ID_GIT_SWITCH_QUICK1 , ID_GIT_SWITCH_QUICK2 , ID_GIT_SWITCH_QUICK3 , ID_GIT_SWITCH_QUICK4 , ID_GIT_SWITCH_QUICK5 , ID_JOBS_RUN } |
| The frame that shows the tree list of files and subdirectories inside the working directory. More... | |
Functions | |
| static bool | gitTaskStillRunning (const std::future< void > &aTask) |
| wxDECLARE_EVENT (UPDATE_ICONS, wxCommandEvent) | |
| std::vector< wxString > | getProjects (const wxDir &dir) |
| static bool | promptForGitCredentials (wxWindow *aParent, KIGIT_COMMON *aCommon, const wxString &aExplanation) |
| static void | saveAcceptedRemoteSettings (PROJECT &aProject, const RemoteConfig &aConfig) |
Variables | |
| static const wxChar * | s_allowedExtensionsToList [] |
| enum project_tree_ids |
The frame that shows the tree list of files and subdirectories inside the working directory.
Files are filtered (see s_allowedExtensionsToList) so only useful files are shown.
Definition at line 165 of file project_tree_pane.cpp.
| std::vector< wxString > getProjects | ( | const wxDir & | dir | ) |
Definition at line 402 of file project_tree_pane.cpp.
References FILEEXT::LegacyProjectFileExtension, and FILEEXT::ProjectFileExtension.
Referenced by PROJECT_TREE_PANE::addItemToProjectTree(), PROJECT_TREE_PANE::onExpand(), and PROJECT_TREE_PANE::ReCreateTreePrj().
|
static |
Definition at line 106 of file project_tree_pane.cpp.
Referenced by PROJECT_TREE_PANE::gitStatusTimerHandler(), and PROJECT_TREE_PANE::onGitSyncTimer().
|
static |
Definition at line 1813 of file project_tree_pane.cpp.
References Prj(), and KIGIT::PromptForCredentials().
Referenced by PROJECT_TREE_PANE::onGitInitializeProject().
|
static |
Definition at line 1821 of file project_tree_pane.cpp.
References RemoteConfig::connType, PROJECT::GetLocalSettings(), KIGIT_COMMON::GIT_CONN_HTTPS, KIGIT_COMMON::GIT_CONN_SSH, PROJECT_LOCAL_SETTINGS::m_GitRepoType, PROJECT_LOCAL_SETTINGS::m_GitRepoUsername, PROJECT_LOCAL_SETTINGS::m_GitSSHKey, KIGIT_COMMON::ParseRemoteURL(), RemoteConfig::password, RemoteConfig::sshKey, KIPLATFORM::SECRETS::StoreSecret(), RemoteConfig::url, and RemoteConfig::username.
Referenced by PROJECT_TREE_PANE::onGitInitializeProject(), and PROJECT_TREE_PANE::onGitRemoteSettings().
| wxDECLARE_EVENT | ( | UPDATE_ICONS | , |
| wxCommandEvent | ) |
References wxDECLARE_EVENT().
|
static |
Definition at line 114 of file project_tree_pane.cpp.
Referenced by PROJECT_TREE_PANE::PROJECT_TREE_PANE().