-
Notifications
You must be signed in to change notification settings - Fork 193
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
Fix #4885 - Rewrite MeasureManager in C++ #4920
Commits on Jul 4, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 742f682 - Browse repository at this point
Copy the full SHA 742f682View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5f54972 - Browse repository at this point
Copy the full SHA 5f54972View commit details -
Configuration menu - View commit details
-
Copy full SHA for fe0bf72 - Browse repository at this point
Copy the full SHA fe0bf72View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7a0ef58 - Browse repository at this point
Copy the full SHA 7a0ef58View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6d4d3c2 - Browse repository at this point
Copy the full SHA 6d4d3c2View commit details -
passing http://localhost was binding to tcp6, not tcp4, change to 0.0…
….0.0: on unix at least it works wiht localhost, 0.0.0.0 and 127.0.0.1
Configuration menu - View commit details
-
Copy full SHA for f505532 - Browse repository at this point
Copy the full SHA f505532View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7ddca5d - Browse repository at this point
Copy the full SHA 7ddca5dView commit details -
Configuration menu - View commit details
-
Copy full SHA for e436183 - Browse repository at this point
Copy the full SHA e436183View commit details -
Configuration menu - View commit details
-
Copy full SHA for 93b0b34 - Browse repository at this point
Copy the full SHA 93b0b34View commit details -
Configuration menu - View commit details
-
Copy full SHA for dc9d8bd - Browse repository at this point
Copy the full SHA dc9d8bdView commit details -
Avoid crashing when trying to get location when ruby engine eval failed
when "stack too deep" is the err string, the location `rb_eval_string("[email protected]_s");` will fail
Configuration menu - View commit details
-
Copy full SHA for 8bd9138 - Browse repository at this point
Copy the full SHA 8bd9138View commit details -
Add
MeasureType OSMeasure::measureType() const
The child class Ctor will intialize it
Configuration menu - View commit details
-
Copy full SHA for bf70f1e - Browse repository at this point
Copy the full SHA bf70f1eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6837b05 - Browse repository at this point
Copy the full SHA 6837b05View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2d8bb96 - Browse repository at this point
Copy the full SHA 2d8bb96View commit details -
Dry it up: Use the new methods, and in the
measure
subcommand use th……e MeasureManager too
Configuration menu - View commit details
-
Copy full SHA for be003fa - Browse repository at this point
Copy the full SHA be003faView commit details -
Configuration menu - View commit details
-
Copy full SHA for f59cf9f - Browse repository at this point
Copy the full SHA f59cf9fView commit details -
Wrap the code that queries the measure in a try-catch after having it…
… fail when calling arguments(model) for an OLD reporting measure
Configuration menu - View commit details
-
Copy full SHA for 2dbba58 - Browse repository at this point
Copy the full SHA 2dbba58View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7602d91 - Browse repository at this point
Copy the full SHA 7602d91View commit details -
Add a dynamic monkeypatch to support old ReportingMeasures that didn'…
…t take model prior to 3.0.0 Also unload the Ruby measures or it'll crash when trying to load it again
Configuration menu - View commit details
-
Copy full SHA for 1e48a23 - Browse repository at this point
Copy the full SHA 1e48a23View commit details -
Remove now-useless getAndUpdateMeasure in MeasureeUpdateCommand becau…
…se it uses the MeasureManager
Configuration menu - View commit details
-
Copy full SHA for 3f0624f - Browse repository at this point
Copy the full SHA 3f0624fView commit details -
Configuration menu - View commit details
-
Copy full SHA for ecae640 - Browse repository at this point
Copy the full SHA ecae640View commit details -
Configuration menu - View commit details
-
Copy full SHA for 790a6f3 - Browse repository at this point
Copy the full SHA 790a6f3View commit details -
Need a pointer to avoid a copy, otherwise when clearing measureInfos …
…it has no effect and getMeasureInfo just fetches the previous one
Configuration menu - View commit details
-
Copy full SHA for 7588d12 - Browse repository at this point
Copy the full SHA 7588d12View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9ad3e3a - Browse repository at this point
Copy the full SHA 9ad3e3aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4cf93a2 - Browse repository at this point
Copy the full SHA 4cf93a2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 83669aa - Browse repository at this point
Copy the full SHA 83669aaView commit details -
Configuration menu - View commit details
-
Copy full SHA for db32b90 - Browse repository at this point
Copy the full SHA db32b90View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6378003 - Browse repository at this point
Copy the full SHA 6378003View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7e4f358 - Browse repository at this point
Copy the full SHA 7e4f358View commit details
Commits on Aug 10, 2023
-
Fix runtime errors in C++ MeasureManager Server
The MeasureManager server uses the cpprest SDK, which is an asynchronous library that is implemented on top C++ threads. The challenge is that API endpoints involving Ruby and Python are not thread safe. (This is generally true for all conventional implementations of Ruby and Python, not just OpenStudio's encapsulation of the scripting engines) The solution implemented here, is to use a task queue so that all of the "work" done by the API endpoints is done on the common main thread. ref #4885
6Configuration menu - View commit details
-
Copy full SHA for 3c4a1c3 - Browse repository at this point
Copy the full SHA 3c4a1c3View commit details
Commits on Aug 14, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 7c37fa0 - Browse repository at this point
Copy the full SHA 7c37fa0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 29d7726 - Browse repository at this point
Copy the full SHA 29d7726View commit details -
Configuration menu - View commit details
-
Copy full SHA for eb1c3ca - Browse repository at this point
Copy the full SHA eb1c3caView commit details -
Add comments explaining the shenanigans done to ensure the **main** t…
…hread does the actual ruby/python work
Configuration menu - View commit details
-
Copy full SHA for eaeed53 - Browse repository at this point
Copy the full SHA eaeed53View commit details -
Configuration menu - View commit details
-
Copy full SHA for 449c70c - Browse repository at this point
Copy the full SHA 449c70cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3d1bf85 - Browse repository at this point
Copy the full SHA 3d1bf85View commit details -
Configuration menu - View commit details
-
Copy full SHA for b84a532 - Browse repository at this point
Copy the full SHA b84a532View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3e228f9 - Browse repository at this point
Copy the full SHA 3e228f9View commit details
Commits on Aug 16, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 9b31f65 - Browse repository at this point
Copy the full SHA 9b31f65View commit details
Commits on Aug 18, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 6343a48 - Browse repository at this point
Copy the full SHA 6343a48View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2a7c1cf - Browse repository at this point
Copy the full SHA 2a7c1cfView commit details -
Configuration menu - View commit details
-
Copy full SHA for b58c33d - Browse repository at this point
Copy the full SHA b58c33dView commit details
Commits on Sep 22, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 13cbc82 - Browse repository at this point
Copy the full SHA 13cbc82View commit details -
Merge branch '4885_MeasureManager_c++' of github.com:NREL/OpenStudio …
…into 4885_MeasureManager_c++
Configuration menu - View commit details
-
Copy full SHA for e1f5e0c - Browse repository at this point
Copy the full SHA e1f5e0cView commit details
Commits on Sep 25, 2023
-
Update src/cli/MeasureManager.cpp
Use `std::fflush(std::cout)` instead of `std::cout << std::flush` Co-authored-by: Julien Marrec <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for dd55a86 - Browse repository at this point
Copy the full SHA dd55a86View commit details
Commits on Sep 26, 2023
-
Fix runtime error for Python/Ruby workflows
This issue only pertained to Mac and was occuring when a Python Measure was run before a Ruby Measure. The fix is to set the dlopen flags to RTLD_LOCAL prior to importing OpenStudio in Python. Test OpenStudioCLI.Labs.Run_PythonRuby demonstrates the original issue and will now pass. close #4945
Configuration menu - View commit details
-
Copy full SHA for b2b5cf7 - Browse repository at this point
Copy the full SHA b2b5cf7View commit details -
Merge branch '4885_MeasureManager_c++' of https://github.com/NREL/Ope…
…nStudio into 4885_MeasureManager_c++
Configuration menu - View commit details
-
Copy full SHA for 109be9d - Browse repository at this point
Copy the full SHA 109be9dView commit details
Commits on Sep 27, 2023
-
Configuration menu - View commit details
-
Copy full SHA for f4d43bf - Browse repository at this point
Copy the full SHA f4d43bfView commit details -
Configuration menu - View commit details
-
Copy full SHA for 22d99c4 - Browse repository at this point
Copy the full SHA 22d99c4View commit details