Commit Graph

10 Commits

Author SHA1 Message Date
Ralph Wessel b44644ad88 Bridge methods using CargoHold to return results need to allocate results in a unique_ptr (can't reference local vars that go out of scope) 2024-09-20 14:17:39 +01:00
Ralph Wessel 09bf8f9ffa Restructured objects to support optional (nullable) members 2024-09-06 18:55:13 +01:00
Ralph Wessel 9e22d3b3b8 Added TriggerEvent test
Bridge functions now comply with BridgeChild interface and are populated with parent browser bridge when embedded
Some classes renamed for clarity
2024-08-29 21:23:34 +01:00
Ralph Wessel 9232b205d9 Fixed testBinding name
Added TEST_MODE macro for testBinding
RunMethod now return null for methods that don't return anything
2024-08-28 14:05:20 +01:00
Ralph Wessel 696a4ea870 Added TestBinding and implemented associated test methods
Added speckle::utility::Exception
Added ErrorReport for BrowserBridge method execution
JSBridgeArgument is capable of capturing error conditions for later reporting
Implemented additional exception handling and return report to JS on method execution failure
2024-08-27 16:48:42 +01:00
Ralph Wessel 8eca4acd91 Removed redundant function 2024-08-21 21:01:26 +01:00
Ralph Wessel 6790730f6f BrowserBridge failed to initialise result cache
U[dated JSBridgeArgumentWrap to receive incoming argument as an array rather than an object
Updated JS function argument handling to have no object name and receive arguments as a JSON string (NB: need to handle deserialisation of this string)
Completed JSBaseTransport::readValue
2024-08-20 13:08:43 +01:00
Ralph Wessel cf44012617 Updated namespace for VS 2024-08-19 20:25:33 +01:00
Ralph Wessel 2b03f56293 AccountBridge installed into BrowserPalette
Added missing functions
Fixed type errors
2024-08-19 12:51:02 +01:00
Ralph Wessel 9c6680399c Interim commit - BrowserBridge in development
Added Browser JS interface including:
- JS interfaces
- Bridge class
- Bridge functions
Added JSBaseTransport (in progress)
'GetCallResult' to be implemented
2024-08-15 23:00:42 +01:00