Noticing int the last mail that the rendering is completely broken here again
the old mail as plain text:
Last week I did some progress on plc4go that I want to summarize with this mail:
1. big.Int & big.Float Support:
a. Like in Java we can now support oversized ints and floats
(<64bits) in golang.
This is currently only implemented for parsing positive ints.
Code for the other uses cases (real, -int) on the go
Primary use case was reserved uint 128 from the ads mpsec
2. Initial ADS integration
a. Integration on ads into golang was started but postponed by
refactoring regarding testrun parsing and reporting in the plc4go pom
3. simple Makefile
a. IDE’s such as golang have a default integration for Makefile.
Therefore a Makefile was added which in turn maps to the Maven goals (e.g. make
install —> mvn install, make build —> mvn compile)
4. Fixed literal issues in ADS mspec
a. In mspec there where literals present which ended at „L“.
This was due to java requiring them to end with „but“ produced boken code in
other languages.
This was mitigated by adding a „toTypeSafeCompare“ to the GoLanguageHelper
where needed (There might be other places that might pop up as we go).
5. Added skipped test suites for S7 and ADS
a. The integration test suites for S7 and ADS are added to the
codebase and set to skipped. Both drivers have as of now no working driver.
6. Smaller fixes on DriverTestRunner
a. Added missing Uint32 support
b. Added BINT and BFLOAT as link to big.Int and big.Float
c. Added Support for the delay step
d. Added Support for driver parameters
e. Smaller misc fixes with broken control flow
7. Zerlog as log backend
a. Better API, rocket fast
8. xmlUnit report on Jenkins
a. Jenkins now report all golang tests in a xunit compatible
report
9. Convert missing base64 to hex in xml test suites
a. During a refactoring values were changed from base64 to hex
representation.
Couple of places were missing which only was noticed during
the golang ads tests.
There should be no more base64 left as of now.
10. Tabs vs spaces
a. Golang uses tabs (which is a good style if you dig into it;)
To avoid reformatting and commit flip flop there were changes at several spaces:
i. Replace spaces with tabs in free marker template
ii. Add .editorconfig for „.go“ and „.ftlh“ were the
setting for freemarker is: „don’t touch“
iii. Added a proper go-fmt to makefile and fixed the
one in maven to format on install
b. Reformator all checked in files
11. Of course smaller things which you can find in the git commit log
:o)
Thats that for the update from last week, I wish you a happy monday and a happy
plc4x coding week :)
Sebastian