mirror of
https://github.com/SpartanJ/eepp.git
synced 2026-08-18 06:55:48 +03:00
Migrated from robin_hood to unordered_dense (for UnorderedMap and UnorederedSet).
Added support for SmallVector using svector (and we are already using it in a couple of places). Added debug symbol inspector script for the new SmallVector in project/scripts/debug. Added tilde support for files and folders passed as parameters from the CLI in ecode (and added FileSystem::expandTilde). Fixed a bug in "light-dark" parsing.
This commit is contained in:
@@ -3557,6 +3557,8 @@ void App::initProjectTreeView( std::string path, bool openClean ) {
|
||||
}
|
||||
|
||||
if ( !path.empty() ) {
|
||||
path = FileSystem::expandTilde( path );
|
||||
|
||||
if ( FileSystem::isDirectory( path ) ) {
|
||||
loadFolder( path );
|
||||
} else if ( String::startsWith( path, "https://" ) ||
|
||||
@@ -4708,7 +4710,7 @@ void App::init( InitParameters& params ) {
|
||||
initProjectTreeView( params.file, params.openClean );
|
||||
}
|
||||
|
||||
mFileToOpen = params.fileToOpen;
|
||||
mFileToOpen = FileSystem::expandTilde( params.fileToOpen );
|
||||
|
||||
Log::info( "Init ProjectTreeView took: %.2f ms",
|
||||
globalClock.getElapsedTime().asMilliseconds() );
|
||||
|
||||
Reference in New Issue
Block a user