Skip to content

Changes

Summary

  1. Remove newlines at end of Text primitive. (#4187) (details)
  2. Based on comments in #4156 just remove eps. (details)
  3. Update .mailmap file (details)
  4. Remove call of localtime (details)
Commit e51c78d792af9f18ad9e4531a93ebf31cb0dfef1 by noreply
Remove newlines at end of Text primitive. (#4187)

Newline behavior in Text primitives is undefined, and in these cases seem to serve no purpose regardless.
The file was modified Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/SynchronousMachines/ComparisonPolyphase/SMEE_Generator_Polyphase.mo (diff)
The file was modified Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/SynchronousMachines/ComparisonPolyphase/SMPM_Inverter_Polyphase.mo (diff)
The file was modified Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/SynchronousMachines/ComparisonPolyphase/SMR_Inverter_Polyphase.mo (diff)
Commit b88bed813f364f50566d477b0cd6d4b21b51593b by dietmar.winkler
Based on comments in #4156 just remove eps.
The file was modified Modelica/ComplexBlocks/Sources/ComplexRampPhasor.mo (diff)
Commit de43b207611cf802b50d40d57d33493714dbb725 by modelica
Update .mailmap file

Create by command

```
git log --raw | grep "^Author: " | sort | uniq | cut -d ' ' -f2- | sed 's/^//' > .mailmap
```
The file was modified .mailmap (diff)
Commit f9e70d349a94ca3ae861019c0ecb7c7f8670d5d0 by modelica
Remove call of localtime

There is a race condition between localtime and ftime/gettimeofday in ModelicaInternal_getTime. In case ftime/gettimeofday is called at a very new second, this can lead to a inaccuracy of (almost) 1 second for the calculated time.

Using gmtime, there is no need to call localtime. Instead the struct tm can be directly computed from the obtained timebuffer and timezone information.
The file was modified Modelica/Resources/C-Sources/ModelicaInternal.c (diff)