17 Commits

Author SHA1 Message Date
Ralph Wessel 3d2aab8862 Updated documentation 2024-10-24 18:06:18 +01:00
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 bd200492fd Docs 2024-09-19 22:13:48 +01:00
Ralph Wessel e92729e10f Added RecordID to express common ID types for Archicad
Added ArchicadEverythingFilter
Added ArchicadSelectionFilter
Added EverythingSendFilter
Updated SendFilter bridge method with defined filter types
Updated FilterMover with defined filter types
Implemented SendFilter::checkExpiry
Updated CardMover with ReceiverModelCard
Updated all bridge method args as const reference
2024-09-15 22:23:12 +01:00
Ralph Wessel 09bf8f9ffa Restructured objects to support optional (nullable) members 2024-09-06 18:55:13 +01:00
Jedd Morgan f22b19993a Added GetIsDevMode (#3) 2024-09-05 16:50:53 +01:00
Ralph Wessel 2911afa3e7 Added Platform class
Console logging restricted to debug build
Some tidying
2024-08-30 13:32:41 +01:00
Ralph Wessel 9a8087b180 TriggerEvent tests working 2024-08-29 23:29:50 +01:00
Ralph Wessel cf3aa86ee4 Simplified BridgeArgument wrapper 2024-08-29 23:16:00 +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 4202e9f92c Removed temp DarkTheme tag from ConnectorConfig
Added code to log send/receive activity in JSBaseTransport
JSBaseTransport can export null
2024-08-28 23:13:37 +01:00
Ralph Wessel 8e0d0f5c27 Updated VS project
Added ConnectorConfig.darkTheme (check if this is required)
JSArgType wrapper uses embedded value for serialisation
2024-08-28 00:53:57 +01:00
Ralph Wessel 550e9caa9c Argument for BrowserBridge methods is stringified JSON array of stringified JSON parameters - updated to facilitate import:
- Classes potentially used as JS argument templates can define this state by subclassing JSArgumentBase
- JSBridgeArgumentWrap now unpacks and deserialises each stringified parameter
- Argument template state automatically applied as argument types are defined
2024-08-27 23:47:30 +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 e5568a3f08 Implemented baseBinding (untested - fresh code)
Removed redundant Cloner inheritance from JS function classes
Added versioning to connector
Exposed connector() function for future access to databases related to connector operations, e.g. model cards etc
2024-08-22 15:36:37 +01:00
Ralph Wessel 8eca4acd91 Removed redundant function 2024-08-21 21:01:26 +01:00
Ralph Wessel 9b26265dfa Added ConfigBridge 2024-08-21 19:02:53 +01:00