Enable on-demand loading of subfolders

Signed-off-by: Sven Strickroth <email@cs-ware.de>
Introduce CSmartAnimation for starting, showing as well as automatic hiding and stopping

Signed-off-by: Sven Strickroth <email@cs-ware.de>
Introduce libgit2 smart wrapper classes

This commit also tries to simply code where the new smart wrapper classes allow it.

Signed-off-by: Sven Strickroth <email@cs-ware.de>
Introduce GetGitRepository method in CGit

Signed-off-by: Sven Strickroth <email@cs-ware.de>
Reuse existing repository instance for GetHash and GetMapHashToFriendName

Signed-off-by: Sven Strickroth <email@cs-ware.de>
Fix possible resource leaks (by using CSmartHandle)

Signed-off-by: Sven Strickroth <email@cs-ware.de>
Handle return codes of RunAsync

Prevents us from working with invalid handles.

Signed-off-by: Sven Strickroth <email@cs-ware.de>
Refactored

Reduce indention, use unique_ptr and return as early as possible.

Signed-off-by: Sven Strickroth <email@cs-ware.de>
Don't break compilation in VS2012

Signed-off-by: Sup Yut Sum <ch3cooli@gmail.com>
Check null pointer

Signed-off-by: Sup Yut Sum <ch3cooli@gmail.com>
Do not let SuggestMgr::csconv null to prevent crashes

Signed-off-by: Sup Yut Sum <ch3cooli@gmail.com>
Reset Reference Browser column width after upgrade

Signed-off-by: Sup Yut Sum <ch3cooli@gmail.com>
RepoBrowser: Can show log of submodule

Signed-off-by: Sup Yut Sum <ch3cooli@gmail.com>
Sync Dialog: Fix cannot show diff of added/deleted file

Fix regression of b751052aef44b4e4bb691622b8d2374afcc15880

Signed-off-by: Sup Yut Sum <ch3cooli@gmail.com>
Drop useless constant

Signed-off-by: Sven Strickroth <email@cs-ware.de>
UsingLibGit2 should also honor m_IsUseLibGit2

If libgit2 is disabled using m_IsUseLibGit2 we should also disable libgit2 for all other actions.

Signed-off-by: Sven Strickroth <email@cs-ware.de>
Drop RemoveCR from GetConfigValue

RemoveCR was always TRUE

Signed-off-by: Sven Strickroth <email@cs-ware.de>
Drop encoding parameter from (G|S)etConfig methods

Signed-off-by: Sven Strickroth <email@cs-ware.de>
Use libgit2 wrapper and fix memory leak

Signed-off-by: Sven Strickroth <email@cs-ware.de>
Correctly escape meta characters

Signed-off-by: Sven Strickroth <email@cs-ware.de>