Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
77 commits
Select commit Hold shift + click to select a range
821c858
@antonszilasi has signed the CLA in openstudiocoalition/OpenStudioApp…
github-actions[bot] Feb 28, 2025
934e973
Checkpoint sort measures alphabetically
antonszilasi Mar 10, 2025
4a50fb7
Update BuildingComponentDialogCentralWidget.cpp
antonszilasi Mar 10, 2025
77398d3
Update BuildingComponentDialogCentralWidget.cpp
antonszilasi Mar 10, 2025
7450382
Fix #796 - Add ScheduleFile to MainRightColumnController
jmarrec Mar 10, 2025
1a508b6
Update src/shared_gui_components/BuildingComponentDialogCentralWidget…
antonszilasi Mar 15, 2025
1a36e84
Use size_t instead of int
antonszilasi Mar 16, 2025
1005c12
This is a better approach only update responses if searchString filte…
antonszilasi Mar 16, 2025
7b1f59d
this makes more sense
antonszilasi Mar 16, 2025
29ebd36
I think bug is happening due to
antonszilasi Mar 17, 2025
ddaa51e
Merge pull request #797 from openstudiocoalition/796-ScheduleFile_Mai…
jmarrec Jun 13, 2025
ec7f38f
Update to OS SDK 3.10.0-rc5
jmarrec Jun 17, 2025
1346b3d
Update to OS SDK 3.10.0
jmarrec Jun 18, 2025
768602b
Update E+ files to sign (TODO: glob?)
jmarrec Jun 19, 2025
8eb02bb
Add -Wno-enum-constexpr-conversion for boost 1.79 on recent clang
jmarrec Jun 19, 2025
4f1fd52
Merge pull request #809 from openstudiocoalition/3.10.0
jmarrec Jun 19, 2025
6e85e9f
#792 - Add a Loads view for HotWaterEquipmentDefinition
jmarrec Feb 27, 2025
393489e
#792 - Add quick icons for HotWaterEquipment/HotWaterEquipmentDefiniton
jmarrec Feb 27, 2025
4357a24
Add a footnote to clarify the object. This is new, so maybe reverted...
jmarrec Feb 27, 2025
4b383bc
Merge remote-tracking branch 'remotes/origin/develop' into dev/anton/166
macumber Jul 3, 2025
0d0a373
Fix minor bug and update message description for incompatible measures
macumber Jul 4, 2025
33cc729
Merge pull request #793 from openstudiocoalition/792-HotWaterEquipment
jmarrec Jul 4, 2025
b49c5de
Merge pull request #795 from openstudiocoalition/dev/anton/166
jmarrec Jul 4, 2025
526f50c
Checkpoint select imports working
antonszilasi Feb 10, 2025
756760d
Checkpoint appears to be working
antonszilasi Feb 10, 2025
cf4cf77
Checkpoint
antonszilasi Feb 13, 2025
78ee212
Checkpoint looking better
antonszilasi Feb 14, 2025
f3a7267
this is looking good
antonszilasi Feb 15, 2025
f7ac13b
Checkpoint only considering annual design days now
antonszilasi Feb 15, 2025
8d1da83
Good checkpoint,
antonszilasi Feb 16, 2025
b30ab1b
Highlight things
antonszilasi Feb 16, 2025
3e55ddf
Checkpoint, remove widgets before they are added
antonszilasi Feb 16, 2025
e50e396
Checkpoint clean up and appears to be working
antonszilasi Feb 17, 2025
cca6bbc
Checkpoint this is much cleaner
antonszilasi Feb 17, 2025
96cc1dc
Checkpoint make the interface more like what Dan Macumber suggested
antonszilasi Feb 17, 2025
ee19106
Even better
antonszilasi Feb 18, 2025
ffdf175
Looking better but layout still sucks
antonszilasi Feb 18, 2025
17cab5a
Checkpoint basic functionality is there
antonszilasi Feb 18, 2025
22a470e
Oopps
antonszilasi Feb 19, 2025
f8315f9
Checkpoint
antonszilasi Feb 21, 2025
0ae5414
Checkpoint
antonszilasi Feb 21, 2025
1ec7309
Checkpoint
antonszilasi Feb 21, 2025
869173f
Checkpoint
antonszilasi Feb 21, 2025
142559a
Checkpoint looking good
antonszilasi Feb 21, 2025
4d0be7c
Just use boost::to_lower_copy
antonszilasi Feb 28, 2025
7b4a42c
use QString contains and use openstudio::isEqual
antonszilasi Feb 28, 2025
5c715e4
Rever space for DesignDaysToInsert
antonszilasi Mar 1, 2025
7c6bde8
Avoid refiltering and delaying filtering until Ok button is clicked
antonszilasi Mar 1, 2025
18d64bd
Only add check box if the design days exist in ddy
antonszilasi Mar 1, 2025
956f285
clag format
antonszilasi Mar 1, 2025
8f2eaed
this is not needed
antonszilasi Mar 1, 2025
fe8f496
Adding some documentation
antonszilasi Mar 1, 2025
35d685b
Update LocationTabView.cpp
antonszilasi Mar 1, 2025
0c54c20
Refactor code to use a helper class to find the design day types and …
macumber Mar 2, 2025
7eeee4b
Remove unintended change
macumber Mar 2, 2025
3124b85
Fix cppcheck
macumber Mar 2, 2025
d2a46c0
Avoid copying QVector around by adding design day key to radio button…
macumber Mar 2, 2025
4f9a7eb
Hide borders on cells when deleted, update select all check box when …
macumber Mar 8, 2025
12907ed
Clang format
macumber Mar 8, 2025
2a38bfc
Fixing bug in style which prevented lines from being drawn
macumber Mar 9, 2025
e97930d
Update all checkbox when adding new objects too
macumber Mar 9, 2025
4b1544f
Clang format
macumber Mar 9, 2025
20acd2f
Final tweaks
macumber Jul 3, 2025
8f8f89d
Remove useless allocator, use concretemodelobjects + use auto to avoi…
jmarrec Jul 4, 2025
58bc75d
Style the QDialog and add high level metrics for number of DDYs.
jmarrec Jul 4, 2025
bdf03a4
Run lupdate and complete the french translation
jmarrec Jul 4, 2025
219b9bd
Run lupdate with --no-obsolete flag to prune old entries
jmarrec Jul 4, 2025
37ffec2
Merge pull request #791 from openstudiocoalition/dev/anton/153
macumber Jul 4, 2025
d7db808
Update version to 1.10.0-rc1, try to fix annoying failure in CI on ev…
macumber Jul 4, 2025
086c987
Merge pull request #813 from openstudiocoalition/update_1_10
macumber Jul 4, 2025
e0901cb
Merge branch 'master' into develop
macumber Jul 4, 2025
b4b8520
Clang format
macumber Jul 4, 2025
4e25380
Export updated standards, try security delete keychain
macumber Jul 5, 2025
8229494
Update to zsh syntax
macumber Jul 5, 2025
fd64ac2
Force delete the keychain
macumber Jul 5, 2025
3219649
Try unique keychain name
macumber Jul 6, 2025
89d1bcc
Clean up keychain in workflow
macumber Jul 6, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 10 additions & 2 deletions .github/workflows/app_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -207,6 +207,7 @@ jobs:
ccache --zero-stats || true

- name: "Configure for codesigning"
id: codesigning
if: runner.os == 'macOS'
run: |
set -x
Expand All @@ -217,7 +218,8 @@ jobs:
echo "${{ secrets.MACOS_DEVELOPER_ID_INSTALLER_CERTIFICATE_P12_BASE64 }}" | base64 --decode > certificate_installer.p12

# ----- Configure Keychain -----
KEYCHAIN_PATH=$RUNNER_TEMP/app-signing.keychain-db
KEYCHAIN_PATH=$RUNNER_TEMP/app-signing-${{ github.run_id }}.keychain-db
echo "KEYCHAIN_PATH=${KEYCHAIN_PATH}" >> $GITHUB_OUTPUT
security create-keychain -p "${{ secrets.MACOS_KEYCHAIN_PASSWORD }}" $KEYCHAIN_PATH
# Unlock it for 6 hours
security set-keychain-settings -lut 21600 $KEYCHAIN_PATH
Expand Down Expand Up @@ -502,7 +504,7 @@ jobs:
set -x
if [ "$RUNNER_OS" == "macOS" ]; then
# Avoid "builtin __has_nothrow_assign is deprecated; use __is_nothrow_assignable instead" in boost/1.78 with recent clang
conan install . --output-folder=./build --build=missing -c tools.cmake.cmaketoolchain:generator=Ninja -s compiler.cppstd=20 -s build_type=Release -c tools.build:cxxflags="['-D_LIBCPP_ENABLE_CXX17_REMOVED_UNARY_BINARY_FUNCTION']"
conan install . --output-folder=./build --build=missing -c tools.cmake.cmaketoolchain:generator=Ninja -s compiler.cppstd=20 -s build_type=Release -c tools.build:cxxflags="['-D_LIBCPP_ENABLE_CXX17_REMOVED_UNARY_BINARY_FUNCTION', '-Wno-enum-constexpr-conversion']"
else
conan install . --output-folder=./build --build=missing -c tools.cmake.cmaketoolchain:generator=Ninja -s compiler.cppstd=20 -s build_type=Release
fi
Expand Down Expand Up @@ -681,6 +683,12 @@ jobs:
/bin/rm OpenStudioApplication-*${{ env.BINARY_EXT }} || true
ls OpenStudioApplication-* || true

- name: "Clean up codesigning"
if: always() && runner.os == 'macOS'
run: |
echo "Deleting keychain ${{ steps.codesigning.outputs.KEYCHAIN_PATH }}"
security delete-keychain ${{ steps.codesigning.outputs.KEYCHAIN_PATH }} || true
rm -f ${{ steps.codesigning.outputs.KEYCHAIN_PATH }}

test_package_macos:
name: Test Built Package on macOS
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/check_osm_versions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,6 @@ jobs:
shell: bash
run: |
echo "There is a workflow called export_standards_data that you should run first (it's a manual workflow_dispatch workflow)"
echo "or run it locally via 'cd developper/ruby && openstudio export_openstudio_standards_libraries.rb'"
echo "or run it locally via 'cd developer/ruby && openstudio export_openstudio_standards_libraries.rb'"
echo ""
echo "Then you should use 'openstudio developper/ruby/UpdateOSMVersions.rb' to version translate the rest of the OSM files."
echo "Then you should use 'openstudio developer/ruby/UpdateOSMVersions.rb' to version translate the rest of the OSM files."
4 changes: 2 additions & 2 deletions CMake/install_codesign_script_OpenStudioApp.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -100,9 +100,9 @@ endif()

set(FILES_TO_SIGN
EnergyPlus/ExpandObjects
EnergyPlus/energyplus-24.2.0
EnergyPlus/energyplus-25.1.0
EnergyPlus/energyplus.1
EnergyPlus/libenergyplusapi.24.2.0.dylib
EnergyPlus/libenergyplusapi.25.1.0.dylib
EnergyPlus/libintl.8.dylib
EnergyPlus/libpython3.12.dylib
Ruby/openstudio.bundle
Expand Down
7 changes: 5 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ if(CCACHE_PROGRAM)
set(CMAKE_C_COMPILER_LAUNCHER ${CCACHE_PROGRAM} CACHE FILEPATH "C compiler cache used")
endif()

project(OpenStudioApplication VERSION 1.9.0)
project(OpenStudioApplication VERSION 1.10.0)

# Check system info globally so we can use it everywhere after: Has to be done before FindOpenStudioSDK.cmake
if(APPLE)
Expand Down Expand Up @@ -272,7 +272,7 @@ endif()

# TODO: Modify the more specific variables as needed to indicate prerelease, etc
# Keep in beta in-between release cycles. Set to empty string (or comment out) for official)
set(PROJECT_VERSION_PRERELEASE "")
set(PROJECT_VERSION_PRERELEASE "rc1")

# OpenStudio version: Only include Major.Minor.Patch, eg "3.0.0", even if you have a prerelease tag
set(OPENSTUDIOAPPLICATION_VERSION "${PROJECT_VERSION_MAJOR}.${PROJECT_VERSION_MINOR}.${PROJECT_VERSION_PATCH}")
Expand Down Expand Up @@ -400,6 +400,9 @@ if(UNIX)
# Note: CMAKE_CXX_STANDARD (with no extensions) already sets -std=c++17 (or std=c++1z).
if(APPLE)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -stdlib=libc++")
# TODO: workaround for #5398, remove when updating boost
AddCXXFlagIfSupported(-Wno-enum-constexpr-conversion COMPILER_SUPPORTS_enum_constexpr_conversion) # Clang 16.0+ and Apple Clang 15+ only
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-deprecated-declarations")
endif()
endif()

Expand Down
18 changes: 9 additions & 9 deletions FindOpenStudioSDK.cmake
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
set(OPENSTUDIO_VERSION_MAJOR 3)
set(OPENSTUDIO_VERSION_MINOR 9)
set(OPENSTUDIO_VERSION_MINOR 10)
set(OPENSTUDIO_VERSION_PATCH 0)
set(OPENSTUDIO_VERSION "${OPENSTUDIO_VERSION_MAJOR}.${OPENSTUDIO_VERSION_MINOR}.${OPENSTUDIO_VERSION_PATCH}")

#If this is an official release, leave this "", otherwise put for eg '-rc1'
set(OPENSTUDIO_VERSION_PRERELEASE "")
# Enter SHA, always, eg "+79857912c4"
set(OPENSTUDIO_VERSION_SHA "+c77fbb9569")
set(OPENSTUDIO_VERSION_SHA "+86d7e215a1")

# Paths where the cmake-downloaded archives will be put
set(OPENSTUDIO_ARCHIVE_DIR "${PROJECT_BINARY_DIR}/OpenStudio-${OPENSTUDIO_VERSION}")
Expand All @@ -17,32 +17,32 @@ set(OPENSTUDIO_EXT "tar.gz")
if(APPLE)
set(OPENSTUDIO_PLATFORM "Darwin-${ARCH}")
if(ARCH MATCHES "arm64")
set(OPENSTUDIO_EXPECTED_HASH b373b0f23b529f9764464aae13725558)
set(OPENSTUDIO_EXPECTED_HASH b412f1cd6ab6747c75dece567291e81e)
else()
set(OPENSTUDIO_EXPECTED_HASH 39c5ae27eeb840472e36b728ab906315)
set(OPENSTUDIO_EXPECTED_HASH 00d0321aa6c4ab5a3c36fe2335a07157)
endif()

elseif(UNIX)
set(OPENSTUDIO_PLATFORM "${LSB_RELEASE_ID_SHORT}-${LSB_RELEASE_VERSION_SHORT}-${ARCH}")
if(LSB_RELEASE_VERSION_SHORT MATCHES "24.04")
#set(OPENSTUDIO_PLATFORM "${LSB_RELEASE_ID_SHORT}-22.04-${ARCH}")
if (ARCH MATCHES "arm64")
set(OPENSTUDIO_EXPECTED_HASH 4c35af3cc4e8d7b1aed2dd98b678a243)
set(OPENSTUDIO_EXPECTED_HASH b4f328e0b28a479c55a338e87dac254f)
else()
set(OPENSTUDIO_EXPECTED_HASH 256d18d2d7036883823f2aeae180dfaa)
set(OPENSTUDIO_EXPECTED_HASH 92c3407f888731d6da30b0a7b49d0f5c)
endif()
elseif(LSB_RELEASE_VERSION_SHORT MATCHES "22.04")
if (ARCH MATCHES "arm64")
set(OPENSTUDIO_EXPECTED_HASH fd1ba05628eb55b3bb72923a8395e267)
set(OPENSTUDIO_EXPECTED_HASH d1ae86bba822eeb0541a7603e81a4074)
else()
set(OPENSTUDIO_EXPECTED_HASH 67522b9a1ba5749cf0b3cf101a6131cf)
set(OPENSTUDIO_EXPECTED_HASH 209820bd2f9b487f0d0f4d4df311753f)
endif()
else()
message(FATAL_ERROR "OpenStudio SDK no longer provides packages for Ubuntu 20.04 or older")
endif()

elseif(WIN32)
set(OPENSTUDIO_EXPECTED_HASH c3a1ec4bc98d7418780a702036ce0edb)
set(OPENSTUDIO_EXPECTED_HASH afd101545253e8e7ba17b7b88c0556a2)
set(OPENSTUDIO_PLATFORM "Windows")
endif()

Expand Down
16 changes: 9 additions & 7 deletions developer/ruby/export_openstudio_standards_libraries.rb
Original file line number Diff line number Diff line change
Expand Up @@ -84,11 +84,17 @@ def export_openstudio_standards_libraries
templates = templates - missing_czs
end

pkg_dir = "#{__dir__}/pkg"
Dir.mkdir(pkg_dir) unless Dir.exist?(pkg_dir)
osm_lib_dir = "#{pkg_dir}/libraries"
Dir.mkdir(osm_lib_dir) unless Dir.exist?(osm_lib_dir)

# templates = templates_to_climate_zones.keys
# Make a library model for each template
# We parallelize this loop, since it takes really long
# Note: You DO want to use in_processes here, and not in_threads!
Parallel.each(templates, in_processes: $nproc, progress: 'Exporting openstudio-standards templates') do |template_name|
#templates.each do |template_name|

# Wrap each library creation in a begin/rescue because
# the entire process can take a long time and
Expand Down Expand Up @@ -464,10 +470,10 @@ def export_openstudio_standards_libraries
std_applier.space_type_apply_rendering_color(space_type)

# Loads
std_applier.space_type_apply_internal_loads(space_type, true, true, true, true, true, true)
std_applier.space_type_apply_internal_loads(space_type, true, true, true, true, true)

# Schedules
std_applier.space_type_apply_internal_load_schedules(space_type, true, true, true, true, true, true, true)
std_applier.space_type_apply_internal_load_schedules(space_type, true, true, true, true, true, true)

end
end
Expand Down Expand Up @@ -505,10 +511,6 @@ def export_openstudio_standards_libraries
end

# Save the library
pkg_dir = "#{__dir__}/pkg"
Dir.mkdir(pkg_dir) unless Dir.exists?(pkg_dir)
osm_lib_dir = "#{pkg_dir}/libraries"
Dir.mkdir(osm_lib_dir) unless Dir.exists?(osm_lib_dir)
library_path = "#{osm_lib_dir}/#{template_name.gsub(/\W/,'_')}.osm"
puts "* Saving library #{library_path}"
model.save(OpenStudio::Path.new(library_path), true)
Expand All @@ -526,7 +528,7 @@ def export_openstudio_standards_libraries
rescue Exception => exc
STDERR.puts "\e[0;31;49mERROR creating '#{template_name}', skipping to next template.\e[0m"
STDERR.puts "#{exc}"
STDERR.puts "Backtrace:\n\t#{exc.caller.join("\n\t")}"
#STDERR.puts "Backtrace:\n\t#{exc.caller.join("\n\t")}"
STDERR.puts "Backtrace:\n\t#{exc.backtrace.join("\n\t")}"

# Save the log messages for debugging library creation even on failure
Expand Down
8 changes: 8 additions & 0 deletions signatures/version1/cla.json
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,14 @@
"created_at": "2024-05-08T05:25:34Z",
"repoId": 174587908,
"pullRequestNo": 713
},
{
"name": "antonszilasi",
"id": 8773483,
"comment_id": 2689617806,
"created_at": "2025-02-28T03:13:26Z",
"repoId": 174587908,
"pullRequestNo": 791
}
]
}
Loading
Loading