diff --git a/src/ce_dmdwrap.pas b/src/ce_dmdwrap.pas index 9d576856..e12f1bac 100644 --- a/src/ce_dmdwrap.pas +++ b/src/ce_dmdwrap.pas @@ -85,7 +85,7 @@ type procedure setVgc(const aValue: boolean); procedure setCol(const aValue: boolean); published - property depreciationHandling: TDepHandling read fDepHandling write setDepHandling default warning; + property deprecationHandling: TDepHandling read fDepHandling write setDepHandling default warning; property verbose: boolean read fVerbose write setVerbose default false; property warnings: boolean read fWarnings write setWarnings default true; property warningsAsInfo: boolean read fWarnInfo write setWarnInfo default false; @@ -95,6 +95,7 @@ type property showColumnsNumber: boolean read fCol write setCol default false; // TODO-cmaintenance: remove this from 2_update_1 property additionalWarnings: boolean write setWarnInfo stored false; deprecated; + property depreciationHandling: TDepHandling write setDepHandling stored false; deprecated; public constructor create; procedure assign(aValue: TPersistent); override; diff --git a/wiki/wiki.txt b/wiki/wiki.txt index 40277d9a..214d1cf5 100644 --- a/wiki/wiki.txt +++ b/wiki/wiki.txt @@ -183,7 +183,7 @@ For discussions, the official D forums [propose a section dedicated to the IDEs] - **"Compile file and run"**: compiles the current file and execute. See [runnable modules][lnk_runa]. - **"Compile file and run outside"**: compiles the current file and execute without redirection. See [runnable modules][lnk_runa]. - **"Compile file and run..."**: compiles the current file and execute with a set of options defined in a simple input-query dialog. The arguments must be separated with spaces and can include double quotes. -- **"Run file unittests": compiles and runs the current file with the options **-main -unittest**. If the application option _coverModuleTests_ is set then CE will also pass **-cov** to DMD and report in the messages the lines of code that are not covered by the unit tests. This action is not usable if the current module already contains a `main()` function. +- **"Run file unittests"**: compiles and runs the current file with the options **-main -unittest**. If the application option _coverModuleTests_ is set then CE will also pass **-cov** to DMD and report in the messages the lines of code that are not covered by the unit tests. This action is not usable if the current module already contains a `main()` function. - **"Set runnable switches"**: allows to modify the switches passed to DMD when compiling a runnable module. One switch by line, invalid or duplicated switches are removed, such as _-main_ and _-unittest_ since they are set with _Run file unittests_. - **"View in mini explorer"**: expands the [mini-explorer][lnk_widg_miniexpl] tree on the folder that contains the current file. @@ -608,14 +608,14 @@ These options are defined per-configuration. ![](https://raw.githubusercontent.com/BBasile/CoeditWikiData/master/projconf.messages1.png) -- additionalWarnings: sets if the additional warnings must be displayed. (**-wi**) -- depreciationHandling: sets the way depreciations must be handled (among _silent_ or _error_, **-ds** or **-de**, the default value, _warning_, does not produce a switch) +- deprecationHandling: sets the way deprecations must be handled (among _silent_ or _error_, **-ds** or **-de**, the default value, _warning_, does not produce a switch) - quiet: sets if non essential compiler messages are skipped. (**-quiet**) - showColumnsNumber: sets if the horizontal position is shown in the messages. (**-vcolumns**) - showHiddenAlloc: if sets then display potentially hidden GC allocations. (**-vgc**) -- tlsInformations: sets if thread local storage informations are displayed. (**-vtls**) +- tlsInformations: sets if thread local storage information are displayed. (**-vtls**) - verbose: sets if verbose. (**-v**) - warnings: sets if the warnings are displayed. (**-w**) +- warningsAsInfo: defines if the warnings don't prevent the project to be compiled. #### Debugging options: @@ -741,7 +741,7 @@ The DUB project editor is widget is divided in two panels: ![](https://raw.githubusercontent.com/BBasile/CoeditWikiData/master/dub_inspect.png) -The first panel displays the sources list and the combination of _each build type_ with each _build configuration_. Sources can be opened in a new editor by double clicking. +The first panel displays the source list and the combination of _each build type_ with each _build configuration_. A source can be opened in a new editor by a double click. Selecting a configuration defines which _buildType_ type and which _configuration_ will be build by DUB when clicking _compile_ in the _project_ menu. Note that it's possible to specify which compiler DUB uses in the application options _dubCompiler_.