Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

V1.5 to Master #1873

Merged
merged 88 commits into from
Jan 29, 2021
Merged

V1.5 to Master #1873

merged 88 commits into from
Jan 29, 2021

Conversation

mayanje
Copy link
Contributor

@mayanje mayanje commented Jan 28, 2021

V1.5

This release 1.5 mainly implements the construction of Control Flow Graph (CFG) for both Cobol and TypeCobol programs, and the support of Data Flow Analysis (DFA) for Cobol programs only.

This version also provide support for a new quality step and external code analyzer loading (DLL).

A lot of bug have been fixed.

https://en.wikipedia.org/wiki/Control-flow_graph
https://en.wikipedia.org/wiki/Data-flow_analysis

What's New

Semantic Domain (#1262, #1264)

Control Flow Graph (#1260, #1396)

Data Flow Analysis (#1260, #627, #1720, #1750)

CFG/DFA in practice

Cobol Parser improvments

Semantic Domain towards Analyzers for Quality rules

Performance, tests and Stats (issues and improvements)

This version decrease performance.
Full parsing of a source can be 5% to 20% slower than 1.4.3
CFG/DFA activation doesn't impact performance so much (0% to 15%)

Incremental mode is 42% to 112% slower.
CFG/DFA activation in incremental doesn't impact performance so much (0% to 15%)

TypeCobol Options

Towards Quality Rules

Minor and other changes

Bug Fix

fm-117 and others added 30 commits January 21, 2020 11:49
* Issue #1185, add missing target detection

* Issue #1195, fix generate report if there is a warning

* Issue #1195, use appropriate property

* Issue #1243 Remove diagnostic: first char after continuation line should be a quotation mark

* WI #1243 Add parser test

* Issue #1244 Fix false positive if token is replaced

* WI #1363 Accept -glm option but do nothing with it

* WI #1385 Avoid NullReferenceException when completing a DEPENDING ON clause

Co-authored-by: Mayan Jean <[email protected]>
Co-authored-by: maxime645 <[email protected]>
Co-authored-by: fm-117 <[email protected]>
…0200206

Merge v1.4.1 in develop 20200206
* WI #1667 Remove unused compilation configurations EI_Debug_Net40 and EI_Release_Net40

* WI #1667 Remove unused references

* WI #1667 Update to target framework 4.7

* WI #1667 Downgrade to language version C# 7.2

* WI #1667 Update to latest version all NuGet dependencies

* WI #1667 Fix duplicate Elastic/NLog references

* WI #1667 Fix compatiblity issues with dependent NuGets not targeting latest Newtonsoft version

* WI #1667 Fix JSON generated documentation according to new DataContractJsonSerializer results

* WI #1667 Update TypeCobol.* packages and Newtonsoft

* WI #1667 Revert to LangVersion 7.3
…0200217

Merge v1.4.1 in develop 20200217
…20200302

Merge 1.4.1 into develop 20200302
WI #1679 Update -s option deprecation message
WI #1679 Remove references to .nuget folder in csprojs
…20200309

Merge 1.4.1 into develop 20200309
* WI #1704 Remove unused condition

Fix after commit 9cefd7f

* WI #1704 Force codegen to false for EITests

* WI #1704 Adapt result file format to match current ExpectedResults
# Conflicts:
#	TypeCobol.LanguageServer.Test/TypeCobol.LanguageServer.Test.csproj
#	TypeCobol/Compiler/Diagnostics/TypeCobolChecker.cs
#	TypeCobol/Tools/Options-Config/TypeCobolConfiguration.cs
Adapt     Codegen/test/TestTypeCobolCodegen.cs
# Conflicts:
#	Codegen/src/Nodes/FunctionDeclarationCG.cs
…20200525

Merge 1.4.3 into develop 20200525
mayanje and others added 2 commits January 26, 2021 16:00
* WI #1864 Add perormance test with CFG/DFA

* WI #1864 Remove AntlrPerformanceProfiler test

* WI #1864 Rename parseDocument

* WI #1864 Adapt performance test for Incremental with cfg/dfa.

* WI #1864 Review Changes
Copy link
Contributor

@smedilol smedilol left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you add the whole changelog of v1.5 in this PR ?
This PR also target to validate this changelog.

@mayanje
Copy link
Contributor Author

mayanje commented Jan 28, 2021

Sure I am working on this aspect, I will inform you when it will be ready

@mayanje
Copy link
Contributor Author

mayanje commented Jan 28, 2021

In the change log only issues of Milestone v1.5 have been taken in account.

@mayanje
Copy link
Contributor Author

mayanje commented Jan 28, 2021

Je vais aussi intégrer les issues closed des milestones CobolEditorEI et Quality Rule

@smedilol
Copy link
Contributor

Everything about new SymbolTable can be removed as it was abandonned (like Global-storage visibility integration in the new Symbol table (#1391, #805)).
You can also removed references to PR. We only need references to issues.

@fm-117
Copy link
Contributor

fm-117 commented Jan 29, 2021

Updated changelog:

  • fix typo
  • move quality analyzer issues references to proper section (instead of bug fixes)

@mayanje
Copy link
Contributor Author

mayanje commented Jan 29, 2021

Change Log shall be ok now

Copy link
Contributor

@fm-117 fm-117 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can check my edits of the changelog.

@smedilol
Copy link
Contributor

I've made a small update:

  • I removed PR references
  • I removed one line about new Symbol table

You can check my edits of the changelog.

@smedilol
Copy link
Contributor

Other update:

  • regroup bug fix by category
  • remove some duplicate entries
  • rename TypeCobol Options to Command Line Interface

You can check my edits of the changelog.

@mayanje Can you post figures about performance of v1.5 VS v1.4.3 ? Also with differents options without CFG/DFA, with CFG standard, CFG extented, DFA.

@mayanje
Copy link
Contributor Author

mayanje commented Jan 29, 2021

@smedilol what do you mean by posting figures?
There are four différents tests v1.4.3, v1.5 NoCfg , v1.5CfgStandard and v1.5DFAExtended, results are cvs files.

@smedilol
Copy link
Contributor

@mayanje I mean the result of these tests.
The goal is to know if performance have improved or decreased.

@smedilol
Copy link
Contributor

Another update:
Add more info about performance.
Add 2 info in the summary.

@mayanje mayanje merged commit a4adc55 into master Jan 29, 2021
@mayanje mayanje deleted the v1.5 branch January 29, 2021 16:22
@mayanje mayanje restored the v1.5 branch January 29, 2021 16:22
@mayanje mayanje deleted the v1.5 branch January 29, 2021 16:22
@mayanje mayanje restored the v1.5 branch January 29, 2021 16:22
@fm-117 fm-117 deleted the v1.5 branch November 14, 2022 15:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants