Skip to content

Commit fe865a7

Browse files
authored
Merge pull request #169 from github0null/dev
v3.9.1 revision
2 parents 2e9e2a6 + 9eaf2a4 commit fe865a7

20 files changed

Lines changed: 301 additions & 236 deletions

CHANGELOG.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,29 @@ All notable version changes will be recorded in this file.
66

77
***
88

9+
### [v3.9.1] revision (v3.9.2022092001 preview)
10+
11+
**Fix**:
12+
- Env was overrided when import a 'multi-project' iar workspace
13+
- Sdcc problem matcher doesn't work
14+
- Error path convert: '${VAR}/../path/dir' -> 'path/dir' when use `NodeJs.normalize()`, use `File.normalize` replace `NodeJs.normalize()`
15+
- Source file is not compiled when their reference were updated (unify_builder)
16+
17+
**Change**:
18+
- Remove Makefile template file generate
19+
20+
**Optimize**:
21+
- Export built-in env variables to unify_builder
22+
- Export more env variables to builder process envirnoment
23+
- Resolve recursive vars when parse iar eww file
24+
- When import a iar project, create new folder if iar project not have independent folder
25+
- Reload jlink device list after install a cmsis device package
26+
- Add '${OutDirRoot}' var
27+
- Auto convert '\' to '/' when use `bash` command in builder task for win32
28+
- Update built-in msys version to `v1.0.18`
29+
30+
***
31+
932
### [v3.9.0]
1033

1134
**New**:

lib/node-utility

package.json

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
"homepage": "https://em-ide.com",
3535
"license": "MIT",
3636
"description": "A mcu development environment for 8051/AVR/STM8/Cortex-M/RISC-V",
37-
"version": "3.9.0",
37+
"version": "3.9.1",
3838
"preview": false,
3939
"engines": {
4040
"vscode": "^1.63.0"
@@ -549,6 +549,11 @@
549549
"category": "eide",
550550
"title": "%eide.function.reinstall.binaries%"
551551
},
552+
{
553+
"command": "eide.create.clang-format.file",
554+
"category": "eide",
555+
"title": "Create a new .clang-format template file"
556+
},
552557
{
553558
"command": "_cl.eide.workspace.build",
554559
"title": "%eide.workspace.build%",
@@ -743,10 +748,6 @@
743748
"command": "_cl.eide.project.showBuildParams",
744749
"title": "%eide.project.show.commands%"
745750
},
746-
{
747-
"command": "_cl.eide.project.generate.makefile",
748-
"title": "%eide.project.gen.makefile%"
749-
},
750751
{
751752
"command": "_cl.eide.project.installCMSISHeaders",
752753
"title": "%eide.package.install.cmsis%",
@@ -1253,10 +1254,6 @@
12531254
"command": "_cl.eide.project.showBuildParams",
12541255
"when": "viewItem == SOLUTION && view == Project"
12551256
},
1256-
{
1257-
"command": "_cl.eide.project.generate.makefile",
1258-
"when": "viewItem == SOLUTION && view == Project"
1259-
},
12601257
{
12611258
"command": "eide.project.uploadToDevice",
12621259
"when": "viewItem == SOLUTION && view == Project"

res/data/.clang-format

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,4 +35,4 @@ SortIncludes: false
3535

3636
AlignConsecutiveMacros: AcrossEmptyLines
3737

38-
AlignConsecutiveAssignments: AcrossEmptyLines
38+
#AlignConsecutiveAssignments: AcrossEmptyLines

res/data/config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22

33
version: '1.0'
44

5-
binary_min_version: '9.0.0'
5+
binary_min_version: '10.0.0'

src/CodeBuilder.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -402,7 +402,7 @@ export abstract class CodeBuilder {
402402
target: this.project.getCurrentTarget(),
403403
toolchain: toolchain.name,
404404
toolchainLocation: toolchain.getToolchainDir().path,
405-
toolchainCfgFile: NodePath.normalize(`../cfg/${toolchain.modelName}`),
405+
toolchainCfgFile: File.normalize(`../cfg/${toolchain.modelName}`),
406406
buildMode: 'fast|multhread',
407407
showRepathOnLog: settingManager.isPrintRelativePathWhenBuild(),
408408
threadNum: settingManager.getThreadNumber(),
@@ -418,7 +418,7 @@ export abstract class CodeBuilder {
418418
sourceParams: sourceInfo.params,
419419
sourceParamsMtime: sourceInfo.paramsModTime,
420420
options: JSON.parse(JSON.stringify(compileOptions)),
421-
env: this.project.getProjectEnv()
421+
env: this.project.getProjectVariables()
422422
};
423423

424424
// set ram size from env

src/DependenceManager.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ export class DependenceManager implements ManagerInterface {
6363
Init() {
6464
const rootDir = this.project.GetRootDir();
6565
this.prjType = this.project.GetConfiguration().config.type;
66-
this.depDir = File.fromArray([rootDir.path, NodePath.normalize(DependenceManager.DEPENDENCE_DIR)]);
66+
this.depDir = File.fromArray([rootDir.path, File.normalize(DependenceManager.DEPENDENCE_DIR)]);
6767
this.LoadComponents();
6868
}
6969

0 commit comments

Comments
 (0)