Ralph Wessel
bb451fbc90
Defined AccountsDatabase
...
Filled in methods for Account
Database classes/methods refined
2024-09-04 01:19:12 +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
8b00e88f63
Merge branch 'release/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
Ralph Wessel
9b26265dfa
Added ConfigBridge
2024-08-21 19:02:53 +01:00
Ralph Wessel
b3699fdc61
GetCallResult returns results serialised as JSON in a single string
2024-08-20 17:41:14 +01:00
Ralph Wessel
ac39198ab3
Interim commit (non-building)
...
Updated GetCalResult to receive a single single string input and return a single string
2024-08-20 16:12:19 +01:00
Ralph Wessel
f9014acebd
Testing
2024-08-20 15:02:44 +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
b3b99ab4b4
Updated JSBridgeArgument to receive args as a JS array rather than an object
2024-08-20 08:45:16 +01:00
Ralph Wessel
a2000eb8a8
Misnamed variable
2024-08-20 08:43:18 +01:00
Ralph Wessel
5030ba1bd7
JSBaseTransport.send should take reference to destination to retain result
2024-08-19 23:04:09 +01:00
Ralph Wessel
3ee3210d87
Omit scratch log files
2024-08-19 22:40:57 +01:00
Ralph Wessel
6c6230ba32
Added try/catch in JSPortal for installing/executing JS functions
...
Docs
2024-08-19 22:35:30 +01:00
Ralph Wessel
c454191ab5
Fixed misnamed variable
2024-08-19 22:10:52 +01:00
Ralph Wessel
8287b73148
Updated VS project
2024-08-19 20:48:15 +01:00
Ralph Wessel
cf44012617
Updated namespace for VS
2024-08-19 20:25:33 +01:00
Ralph Wessel
7482926e76
Updated VS project
2024-08-19 20:19:46 +01:00
Ralph Wessel
7106a64de3
JS engine tied to BrowserControl object
2024-08-19 19:05:57 +01:00
Ralph Wessel
d16c217b9a
Set the correct JS object name for AccountsBridge
...
Added GetAccounts method to AccountsBridge
Added GetCallResult function to BrowserBridge
Fix to BrowserBridge::addMethod
Other minor template fixes
2024-08-19 15:29:31 +01:00
Ralph Wessel
543ed9e96d
Fixed issues with parameter/return values in JS bridge function execution
2024-08-19 14:08:47 +01:00