125 Commits

Author SHA1 Message Date
Ralph Wessel 7aa4cc9a51 Updated Xcode project 2024-09-06 09:24:14 +01:00
Jedd Morgan f22b19993a Added GetIsDevMode (#3) 2024-09-05 16:50:53 +01:00
Ralph Wessel 70ebe53335 Added unit test for account deserialisation 2024-09-05 14:42:37 +01:00
Ralph Wessel b491d901a1 Merge branch 'release/0.2.1' 2024-09-05 12:02:17 +01:00
Ralph Wessel 6d0340b310 Merge tag '0.2.1' into develop
0.2.1
2024-09-05 12:02:17 +01:00
Ralph Wessel eede544f69 Version bump 2024-09-05 12:01:57 +01:00
Ralph Wessel 7ffe7e3a82 Updated VS project - Debug configurations need DEBUG macro 2024-09-05 11:57:49 +01:00
Ralph Wessel e18d967c07 Updated VS project
Temporarily disabled SendBinding to allow GetAccounts testing
2024-09-05 11:41:46 +01:00
Ralph Wessel 7a3f46f54d Added empty SendBridge 2024-09-05 11:34:09 +01:00
Ralph Wessel 05b8e0343c Merge branch 'develop' of https://github.com/specklesystems/speckle-cpp-connectors into develop 2024-09-04 23:42:47 +01:00
Ralph Wessel 3f285a0fc7 Included ServerInfo and UserInfo in Accounts 2024-09-04 23:42:36 +01:00
Ralph Wessel 5a2d12e33c Updated VS projects 2024-09-04 23:21:28 +01:00
Ralph Wessel 03e8798128 Filled in additonal account classes, e.g. ServerInfo, UserInfo etc
Additions to speckle::Record
2024-09-04 23:14:57 +01:00
Ralph Wessel c64596fb57 Included Accounts filename in path to dbase 2024-09-04 17:52:29 +01:00
Ralph Wessel 4209afa9fa Updated VS projects 2024-09-04 16:31:01 +01:00
Ralph Wessel 7a01feab57 Connector class now includes 'getAccountDatabase'
AccountDatabase loaded on demand from Speckle App data directory
2024-09-04 13:18:37 +01:00
Ralph Wessel 471e2d5312 AccountsDBase additions/corrections (can now retrieve all accounts) 2024-09-04 09:33:53 +01:00
Ralph Wessel bb451fbc90 Defined AccountsDatabase
Filled in methods for Account
Database classes/methods refined
2024-09-04 01:19:12 +01:00
Ralph Wessel 8b00e88f63 Merge branch 'release/0.2.0' 2024-08-30 14:46:45 +01:00
Ralph Wessel bee15b4e77 Merge tag '0.2.0' into develop
0.2.0
2024-08-30 14:46:45 +01:00
Ralph Wessel 85f12793de Version bump 2024-08-30 14:46:17 +01:00
Ralph Wessel 485f021c6f Linked missing library to release build on VS 2024-08-30 14:44:49 +01:00
Ralph Wessel da9e9c1a67 Updated VS project 2024-08-30 13:43:01 +01:00
Ralph Wessel 48d2e11194 Generate unique ID for requestID 2024-08-30 13:37:00 +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 49aae8d44f Updated VS project 2024-08-30 09:47:14 +01:00
Ralph Wessel ec85f534b3 Added Guid64 to requestID in BrowserBridge::sendEvent
Created Guid64 class
2024-08-30 09:43:46 +01:00
Ralph Wessel d1c314f2ad Fixed JSON tags 2024-08-29 23:39:47 +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 fca1f0b999 Checking number of parameters in bridge function argument 2024-08-29 23:10:53 +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 bd0be2bb42 Changed model card dagtabase tag to "models"
Minor namespace tweaks
2024-08-29 14:07:01 +01:00
Ralph Wessel c218da359f Logging working cross-platform 2024-08-28 23:22:44 +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 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 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 2ca1713766 Added JSArgTye copy constructor 2024-08-27 22:46:58 +01:00
Ralph Wessel 3c5097e950 Updated VS projects 2024-08-27 17:40:48 +01:00
Jedd Morgan c0e46f1d23 small tweaks (#1) 2024-08-27 17:08:46 +01:00
Jedd Morgan 674ef928e0 escape buildresAC.bat (#2) 2024-08-27 17:08:31 +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 2d6412efd1 Fixed resource inputs 2024-08-22 17:05:08 +01:00
Ralph Wessel fe42f29275 Linked baseBinding to Speckle pallete 2024-08-22 16:50:47 +01:00
Ralph Wessel d5f7d0b2a7 Updated VS projects
Linked GetDocumentState to baseBinding
Minor tweaks for VS compiler
2024-08-22 15:59:07 +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 882e12d24d Added skeleton for unit tests - to be fleshed out as time allows 2024-08-22 09:16:39 +01:00
Ralph Wessel 5f1ee05979 Connected ConfigBridge with Speckle palette - config response now returned 2024-08-22 08:45:56 +01:00
Ralph Wessel 8eca4acd91 Removed redundant function 2024-08-21 21:01:26 +01:00