fix import deprecation messages

This commit is contained in:
Vadim Lopatin 2016-04-27 12:10:38 +03:00
parent c7b59deaaa
commit c9d038feaa
10 changed files with 21 additions and 4 deletions

View File

@ -480,6 +480,11 @@
<File path="deps\DCD\libdparse\src\std\experimental\lexer.d" /> <File path="deps\DCD\libdparse\src\std\experimental\lexer.d" />
<File path="deps\DCD\libdparse\src\dparse\lexer.d" /> <File path="deps\DCD\libdparse\src\dparse\lexer.d" />
<File path="deps\DCD\libdparse\src\dparse\parser.d" /> <File path="deps\DCD\libdparse\src\dparse\parser.d" />
<File path="deps\DCD\libdparse\src\dparse\rollback_allocator.d" />
<File path="deps\DCD\libdparse\src\dparse\stack_buffer.d" />
</Folder>
<Folder name="msgpack">
<File path="deps\DCD\msgpack-d\src\msgpack.d" />
</Folder> </Folder>
</Folder> </Folder>
<Folder name="ddc"> <Folder name="ddc">

View File

@ -87,6 +87,8 @@ dummy_var=""
read dummy_var read dummy_var
exit $exit_code exit $exit_code
`; `;
static import std.file;
static import std.path;
std.file.write(std.path.buildPath(_executableWorkingDir, "dlangide_run_script.sh"), shellScript); std.file.write(std.path.buildPath(_executableWorkingDir, "dlangide_run_script.sh"), shellScript);
string setExecFlagCommand = escapeShellCommand("chmod", "+x", "dlangide_run_script.sh"); string setExecFlagCommand = escapeShellCommand("chmod", "+x", "dlangide_run_script.sh");
spawnShell(setExecFlagCommand, stdin, stdout, stderr, null, Config.none, _executableWorkingDir); spawnShell(setExecFlagCommand, stdin, stdout, stderr, null, Config.none, _executableWorkingDir);

View File

@ -39,7 +39,9 @@ import ddebug.gdb.gdbinterface;
import std.conv; import std.conv;
import std.utf; import std.utf;
import std.algorithm; import std.algorithm : equal, endsWith;
import std.array : empty;
import std.string : split;
import std.path; import std.path;
bool isSupportedSourceTextFileFormat(string filename) { bool isSupportedSourceTextFileFormat(string filename) {

View File

@ -8,6 +8,7 @@ import dlangide.ui.frame;
import dlangide.ui.commands; import dlangide.ui.commands;
import std.path; import std.path;
import std.utf : toUTF32;
class HomeScreen : ScrollWidget { class HomeScreen : ScrollWidget {
protected IDEFrame _frame; protected IDEFrame _frame;

View File

@ -18,8 +18,9 @@ import dlangide.workspace.workspace;
import dlangide.ui.commands; import dlangide.ui.commands;
import dlangide.ui.frame; import dlangide.ui.frame;
import std.algorithm : startsWith, endsWith; import std.algorithm : startsWith, endsWith, equal;
import std.array : empty; import std.array : empty;
import std.utf : toUTF32, toUTF8;
import std.file; import std.file;
import std.path; import std.path;

View File

@ -21,6 +21,7 @@ import dlangide.ui.frame;
import std.path; import std.path;
import std.file; import std.file;
import std.array : empty; import std.array : empty;
import std.utf : toUTF32, toUTF8;
class ProjectCreationResult { class ProjectCreationResult {
Workspace workspace; Workspace workspace;

View File

@ -4,6 +4,8 @@ import dlangui.core.settings;
import dlangui.core.i18n; import dlangui.core.i18n;
import dlangui.graphics.fonts; import dlangui.graphics.fonts;
import std.algorithm : equal;
const AVAILABLE_THEMES = ["ide_theme_default", "ide_theme_dark"]; const AVAILABLE_THEMES = ["ide_theme_default", "ide_theme_dark"];
const AVAILABLE_LANGUAGES = ["en", "ru", "es", "cs"]; const AVAILABLE_LANGUAGES = ["en", "ru", "es", "cs"];

View File

@ -7,6 +7,7 @@ import dlangide.workspace.idesettings;
import std.string; import std.string;
import std.array; import std.array;
import std.algorithm : equal;
const AVAILABLE_TOOLCHAINS = ["default", "dmd", "ldc", "gdc"]; const AVAILABLE_TOOLCHAINS = ["default", "dmd", "ldc", "gdc"];
const AVAILABLE_ARCH = ["default", "x86", "x86_64", "arm", "arm64"]; const AVAILABLE_ARCH = ["default", "x86", "x86_64", "arm", "arm64"];

View File

@ -5,7 +5,8 @@ import dlangide.workspace.workspacesettings;
import dlangide.ui.frame; import dlangide.ui.frame;
import dlangui.core.logger; import dlangui.core.logger;
import dlangui.core.settings; import dlangui.core.settings;
import std.algorithm : map; import std.algorithm : map, equal, endsWith;
import std.array : empty;
import std.conv; import std.conv;
import std.file; import std.file;
import std.path; import std.path;

View File

@ -5,7 +5,8 @@ import dlangui.core.i18n;
import ddebug.common.debugger; import ddebug.common.debugger;
import dlangide.workspace.project; import dlangide.workspace.project;
import std.array; import std.array : empty;
import std.algorithm : equal;
/// local settings for workspace (not supposed to put under source control) /// local settings for workspace (not supposed to put under source control)
class WorkspaceSettings : SettingsFile { class WorkspaceSettings : SettingsFile {