Commit Graph

6 Commits

Author SHA1 Message Date
Kristian Bendiksen
c2b5ab8d2c
#9307 Python: avoid assigning same port number to multiple grpc sessions
* Python: avoid assigning same port number to multiple grpc sessions
* Add retry count when checking for port number file
* Use grpc to find and use port number
* Add test used to start several instances of resinsight at the same time
Testing up to 50 instances works well

* Python: allow launch_port == 0 to assign port by GRPC in Instance.launch().
Also allow longer wait before failing the port number file reading:
it can take some time to launch when launching lots of instances at
the same time.
2022-09-26 14:19:21 +02:00
Magne Sjaastad
945f1b1902
Use field auto values for summary plots
Use auto value concept in summary plot configuration. Default behavior is unchanged, but it is now possible to unlink a field to specify a custom value for this field.

Other changes:
* Add missing requirement for Svg in test application
* Use calculator icon and rename panel text
Use icon and relevant text to make it clear that the content in Calculator Data can be used for Grid Property Calculator and nothing else.
* Add example with scoped enum and auto value
* Use enum value starting av 10 to make sure enum values (not option item index) are working as expected
2022-09-05 14:12:49 +02:00
Magne Sjaastad
0e57cfe201 Memory Management : Adjustment and fixes
Add release of several static singleton objects
Fix several minor memory leaks
2022-03-03 14:39:41 +01:00
Magne Sjaastad
34ff98d2fa #8290 commandFile: Crash for scaleFractureTemplate
Make sure closeProject() is called before application exit. If not, some field editors will remain open an cause assert and crash on shutdown.
2021-11-25 09:24:19 +01:00
Magne Sjaastad
d7113a528c #7786 Get version from command line 2021-06-16 13:14:07 +02:00
Gaute Lindkvist
04d5daca67 Create a new ApplicationExe project for the executable 2021-01-11 15:27:45 +01:00