Skip to content

Extensive updates to support multiple DSS instances, GR API, and exception mapping. #11

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

Merged
merged 7 commits into from
Jul 19, 2022

Conversation

PMeira
Copy link
Member

@PMeira PMeira commented Feb 6, 2022

TODO:

  • Update README.md
  • Integrate tags in DLL versioning somehow.
  • Ideally, generate HTML help from XML docs (with Sandcastle?).
  • Wait for the next DSS C-API 0.12 release
  • Reintegrate minimal CI and a simple test / example
  • Provide minimal example with multiple threads

Closes #4, #5, #6, #9, #10.
EDIT: prepared (early) preview package: dss_sharp_0.12_preview1.zip

- Use the new DSS Context API, available in the upcoming DSS C-API 0.12.
- Fix license (no direct use of EPRI code here); OpenDSS license is of course still included through DSS C-API, so it's present in the final package.
- Allow using .NET std 2.1 (`#if NETSTANDARD2_1_OR_GREATER`) to use UTF8 conversion strings; default build is still .NET 4.5 -- users should restrict inputs to ASCII on that.
- Implement GR usage (less memory allocations). See https://github.com/dss-extensions/dss_capi/blob/ccefd69b06dfe09af5daa2d31da7967f14275511/docs/usage.md#global-result-gr-new-in-v0100
- Introduce `#if NETSTANDARD2_1_OR_GREATER` for UTF8 support
- Update project file
We don't free them from the C# side, so cannot use the simple annotation version.
@PMeira PMeira marked this pull request as draft February 7, 2022 03:22
PMeira added 5 commits April 22, 2022 08:19
Enums were adapted for compatibility with OpenDSSengine COM.
AppVeyor is nice but we can use GitHub Actions to make things a bit easier.

Also adds missing SolveAll and fixes DSSException
@PMeira PMeira marked this pull request as ready for review July 19, 2022 18:09
@PMeira PMeira merged commit db2361b into master Jul 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Use custom marshalers for all data pointers
1 participant