Skip to content

Commit a9f5f17

Browse files
committed
Merge branch 'master' of https://github.com/sandialabs/InterSpec
2 parents 61dd768 + 42285c3 commit a9f5f17

File tree

8 files changed

+10
-20
lines changed

8 files changed

+10
-20
lines changed

InterSpec_resources/D3TimeChart.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -509,6 +509,11 @@ D3TimeChart.prototype.handleResize = function () {
509509
this.state.height = this.chart.clientHeight;
510510
this.state.width = this.chart.clientWidth;
511511

512+
// TODO: switch to getting dimensions via the following; seems to work better
513+
//const parentRect = this.chart.getBoundingClientRect();
514+
//this.state.height = parentRect.width;
515+
//this.state.width = parentRect.height;
516+
512517
this.reinitializeChart();
513518
} catch (err) {
514519
if (err instanceof ValidationError) {

data/config/wt_config_osx.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -424,7 +424,7 @@
424424
originates, and once after going back to C++) - but when
425425
WebSockets is false, the JS will only be emitted once.
426426
-->
427-
<web-sockets>false</web-sockets>
427+
<web-sockets>true</web-sockets>
428428

429429
<!-- Enables the detection of webgl-capabilites.
430430

src/InterSpecServer.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -964,7 +964,7 @@ std::string file_to_open_on_load( const std::string &session_token )
964964
const Wt::Json::Value &val = base.get( "ProxySetting" );
965965
if( val.type() != Wt::Json::Type::StringType )
966966
throw runtime_error( "ProxySetting must be a string value" );
967-
config.m_proxy = val.toString();
967+
config.m_proxy = val.orIfNull("");
968968
}
969969
#endif
970970

target/electron/CMakeLists.txt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,6 @@ set( ELECTRON_SUPPORT_FILES
4747
app/loading.html
4848
README.md
4949
package.json
50-
app/launch_options.json
5150
)
5251

5352
add_custom_target( electron_resources SOURCES ${ELECTRON_SUPPORT_FILES} )
@@ -69,7 +68,6 @@ install( FILES ${CMAKE_CURRENT_BINARY_DIR}/LibInterSpec/InterSpec_resources/d3.v
6968
install( DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/../../example_spectra DESTINATION ${PROJECT_BINARY_DIR}/app/ )
7069
install( FILES ${CMAKE_CURRENT_SOURCE_DIR}/app/loading.html
7170
${CMAKE_CURRENT_SOURCE_DIR}/app/main.js
72-
${CMAKE_CURRENT_SOURCE_DIR}/app/launch_options.json
7371
DESTINATION ${PROJECT_BINARY_DIR}/app/
7472
)
7573

target/electron/app/launch_options.json

Lines changed: 0 additions & 13 deletions
This file was deleted.

target/electron/macOS/Info.plist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@
7070
<key>LSApplicationCategoryType</key>
7171
<string>public.app-category.developer-tools</string>
7272
<key>LSMinimumSystemVersion</key>
73-
<string>10.9.0</string>
73+
<string>10.11.0</string>
7474
<key>NSHighResolutionCapable</key>
7575
<true/>
7676
<key>NSMainNibFile</key>

target/electron/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
"cmake-js": "^6.1.0"
2727
},
2828
"devDependencies": {
29-
"electron": "^21.4.3",
29+
"electron": "^21.4.4",
3030
"electron-packager": "^17.1.1",
3131
"node-addon-api": "^6.0.0"
3232
}

target/osx/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ SET(MACOSX_BUNDLE_BUNDLE_VERSION "0" )
2020
SET(MACOSX_BUNDLE_COPYRIGHT "Sandia National Labs, Will Johnson" )
2121
SET(MACOSX_BUNDLE_GUI_IDENTIFIER "gov.sandia.macOS.InterSpec" )
2222
#set MACOS_BUNDLE_VERSION_NUMBER for Info.plist.template to populate corresponding value in Xcode
23-
set(MACOS_BUNDLE_VERSION_NUMBER 30)
23+
set(MACOS_BUNDLE_VERSION_NUMBER 35)
2424

2525

2626
SET( ${PRODUCT_NAME} "InterSpec" )

0 commit comments

Comments
 (0)