benvautrin / pmuc

Plant Mock-Up Converter
GNU Lesser General Public License v2.1
35 stars 21 forks source link

Corrections made for using PMUC as a shared library in another project #36

Open msv68 opened 4 years ago

msv68 commented 4 years ago

There are several commits in this branch to merge into master.

  1. Add possibility to build RVM reader as a separate shared library. Added cmake-lib/CMakeLists.txt to build shared library on Windows and Linux. Removed some warnings.
  2. Fix incorrect treatment of the term ':=' in .att file. The patch fixes exception when a key is empty, like "Module:=".
  3. Add possibility to read RVM and ATT from streams. It allows for example opening a ZIP archive in memory and performing reading of decoded streams. By the way memory leak through m_attributeStream has been fixed.
  4. Support progress indication and user break in RVM reader.
  5. Fix for scaling of groups: consider m_scale parameter in translation vector.
  6. Fix the bug of skipping attributes for some groups when order in ATT file differs from order in RVM file.