Commit Graph

43 Commits

Author SHA1 Message Date
Jedd Morgan 5c3249ca0b Required keyword on various object models (#159)
* Polyline & curve required

* More objects

* default domain

* bumped deps

* revit units stack for boundry seg

---------

Co-authored-by: Claire Kuang <kuang.claire@gmail.com>
2024-08-16 14:32:05 +00:00
Jedd Morgan 7044014a73 Cleaned up cancellation token source usages (#156) 2024-08-16 07:44:17 +00:00
Adam Hathcock be572a20af Add Progress for download and deserialization (#151)
* First pass using ProgressDisplayManager

* update for local

* Change root reporting

* fmt

* add upload reporting and remove unknown progress

* fix locks

* add tests

* FIx local sln
2024-08-15 10:45:45 +00:00
Jedd Morgan b9411f4609 Rhino send binding fixes (#155)
* Rhino send binding fixes

* Added Send settings to ISendBinding
2024-08-15 10:38:52 +00:00
Adam Hathcock 42b6f297f5 Update SDK to 103 (#152) 2024-08-14 16:20:09 +00:00
Oğuzhan Koral df13216cf4 Bump objects and sdk version to 3.1.0-dev.102 (#148) 2024-08-14 07:25:49 +00:00
Oğuzhan Koral af97f2cd7a Adjust send card settings with UI (#143) 2024-08-13 16:25:55 +00:00
Jedd Morgan d25272f5af Use Operations.Send over SendHelper (#140) 2024-08-13 11:07:47 +00:00
Jedd Morgan 7f717585c9 bump deps (#134) 2024-08-12 16:52:10 +00:00
Jedd Morgan 46bb442f02 CNXPLA-19: Add logging for model card handled exceptions (#118)
* Add logging for model card handled exceptions

* Arcgis logger

* Polish
2024-08-09 10:42:38 +00:00
Adam Hathcock d4c47a050f Add more Rhino activities and update SDK (#124)
* Add more Rhino activities and update SDK

* update lock files

* fmt

---------

Co-authored-by: Jedd Morgan <45512892+JR-Morgan@users.noreply.github.com>
2024-08-08 18:58:52 +01:00
Adam Hathcock 92af8677e9 Update to Sdk 3.1.0-dev.95 (#122) 2024-08-08 13:59:21 +01:00
Adam Hathcock 891a18819b React to sdk renaming (#113)
* react to renamespacing

* merge dev

* fmt

* initialize things with typeloader

* autocad initialization

* add arcgis

* add more projects to local

* instrument rhino more

* update nugets

* fmt
2024-08-08 10:32:01 +00:00
Adam Hathcock 5f9c718056 Logging using ILRepack and start of Open Telemetry usage (#89)
* add autocad beginnings

* WIP on DUI3-316-AutoCAD-Civil3d-SideBySide-Run-DUI3-and-DUI2-together

* Rhino 7 basics

* fix targets

* launch rhp

* intermediate commit

* intermediate commit

* Logger for Speckle.Logging

* Use nugets

* adjust dependencies

* Build fix

* merge fixes

* oops, two classes

* more receive instrumentation

* instrument to otel but not seq

* adds color manager to autocad

* injects color manager

* adds colors to objects on receive

* merge fixes

* add config for otel

* fmt

* Fixes setting layer colors on receive

* fixes layer colors and adds color to objects

* autocad color bugs

* merge errors

* object ids fix

* adds application id to autocad layers

* object ids bug

* reduces type complexity on send

* initializes collection cache to empty

* Update RhinoColorManager.cs

* react to sdk changes

* Update nugets

* remove serilog again

* fmt

---------

Co-authored-by: Claire Kuang <kuang.claire@gmail.com>
2024-08-07 11:56:55 +00:00
Claire Kuang cea5750cae feat(autocad/rhino): CNX-162 CNX-163 adds color proxies on send and receive (#104)
* adds color manager to autocad

* injects color manager

* adds colors to objects on receive

* Fixes setting layer colors on receive

* fixes layer colors and adds color to objects

* autocad color bugs

* merge errors

* object ids fix

* adds application id to autocad layers

* object ids bug

* reduces type complexity on send

* initializes collection cache to empty

* Update RhinoColorManager.cs

* layer bug

---------

Co-authored-by: Oğuzhan Koral <45078678+oguzhankoral@users.noreply.github.com>
2024-08-06 16:46:55 +01:00
Oğuzhan Koral 82e95f9c00 Feat(dui3) Debouncing progress updates (#106)
* WIP

* Update progress by %1 interval

* Dim/millisecond based debounce (#107)

* uses time instead of progress values

* adds status as a change detector

* Extract to THROTTLE_INTERVAL_MS

* Inject OperationProgressManager as singleton

---------

Co-authored-by: Dimitrie Stefanescu <didimitrie@gmail.com>
2024-08-06 18:03:21 +03:00
Adam Hathcock 5361af8c76 Lock fix for Rhino 8 (#91)
* Lock fix for Rhino 8

* change CI build to do everything

* Remove Rhino8 multitargetting

* fix windows

* upgrade webview2 for Rhino8

* only test

* codecov requires ubuntu

* Remove platform target x64 and other net7 related ones

---------

Co-authored-by: oguzhankoral <oguzhankoral@gmail.com>
2024-08-02 09:56:55 +01:00
Adam Hathcock 36cfa1d6fd Ilrepack update with logging only (#92)
* Update dependencies for SDK to latest

* Adjust code to build

* rework logger

* mark as sealed to drop warning suppressions
2024-08-01 11:53:45 +00:00
Oğuzhan Koral 8a9ada020b Rhino 8 support (#84)
* Split Rhino and Shared for 8 version

* Make plugin and command version agnostic

* Make it partially work

* Successful send from Rhino 8

* Fix rhino8 (#85)

* Regen lock files

* use BoxFactory again with generated types

* fmt

* Project settings for targets for x64 and copy

---------

Co-authored-by: Adam Hathcock <adamhathcock@users.noreply.github.com>
2024-07-31 18:05:00 +03:00
Oğuzhan Koral a5d0b861c2 Feat(arcgis): Receive new blocks (#79)
* Local to global proxy

* Fix on having only non-instanceProxy maps

* transforms

* fixed matrix

* text

* wip

* Fix styling

* More styling

* Lock files

* Fix atomic object unpacking

* Receive new blocks in arcgis

* Check matrix count before adding conversionTracker

* update TC in Unpacker

* Add note on serialization hack

* transforms for displayValues

---------

Co-authored-by: KatKatKateryna <kateryna@speckle.systems>
2024-07-29 16:14:58 +03:00
Jedd Morgan f4d77bf8ce Top Level Exception Handler and Bindings fix (#76)
* TopLeveExceptionHandlerBindings

* Fixed idle manager on exceptional path

* null bindings check

* Made TopLevelExceptionHandler injectable

* Revit now works

* Fixed Tests

* returned unintentional change
2024-07-27 12:40:21 +01:00
Adam Hathcock a1c0fbec3e Cleanup notnull (#72)
* alphabetize deps

* rerun locks

* use new nuget

* dump usage of one not null

* dump another usage of not null
2024-07-25 08:35:11 +01:00
Adam Hathcock 78fc084c15 Update Core for new stuff (#70)
* Update Core for new stuff

* package locks correct
2024-07-24 15:18:27 +01:00
Adam Hathcock 4237d8ac22 Use ServerTransportFactory on receive (#64) 2024-07-23 15:59:32 +01:00
Adam Hathcock a554a2ab9d Create connector tests (#52)
* Use shared IdleManager

* Fix usage of _hasSubscribed by using Try methods on concurrent dictionaries

* use top exception handler in idle manager subscription

* Connectors with TopLevel handler tests

* fix handler

* start idle call manager tests

* add remove tests

* merge fixes

* add a bit more coverage

* Fix tests
2024-07-23 13:13:28 +01:00
Jedd Morgan e0f26d2816 More warnings (#41)
* More warnings

* Code warnings fixes and setup

* more warning fixes

* Fixed all warnings

* format

* Fixed new warnings

* registration

---------

Co-authored-by: Adam Hathcock <adam@speckle.systems>
2024-07-22 17:15:04 +01:00
Adam Hathcock 088a46b8ff Register Core with connectors (#55) 2024-07-22 12:54:22 +01:00
Adam Hathcock 6437cdcd5c D ui3 42 private bool has subscribed at the least volatile should be added but the pattern is not air tight is this is a problem (#48)
* Use shared IdleManager

* Fix usage of _hasSubscribed by using Try methods on concurrent dictionaries

* use top exception handler in idle manager subscription
2024-07-22 10:10:37 +00:00
Adam Hathcock ea8b8dddce D ui3 100 ensure proper disposal of transports from di factory (#49)
* changes to use new factory

* Update nuggets

* update params
2024-07-22 10:38:10 +01:00
Adam Hathcock 6f74f768af connectors also need docs (#45) 2024-07-18 13:30:36 +01:00
Adam Hathcock 22757465eb Add local solution for across core repo (#42)
* add Local.sln and targets to connectors projects

* redo locks

* do Objects as well

* update readme and remove old things
2024-07-18 09:32:19 +01:00
Claire Kuang 7bad788e54 updates collections namespaces (#39) 2024-07-17 16:29:28 +01:00
Oğuzhan Koral 6fba41d80d Support groups for Rhino (#38)
* Support groups

* Doc

* POC comment
2024-07-17 15:40:34 +01:00
Adam Hathcock 438df1240f Update SDK and add Clean Locks (#35)
* Update SDK dlls

* add clean locks file

* fix build

* Fix clean
2024-07-16 17:12:52 +00:00
Adam Hathcock 3498e5854e Rework logging to be more MS logger (#33)
* Rework logging to be more MS logger

* Add compile references

* Add scanning for send helper
2024-07-16 18:56:17 +02:00
Adam Hathcock 3ea6841e53 Update SDK with newer tagging (#29) 2024-07-16 12:43:27 +02:00
connorivy 40795997dc D ui3 291 add revit 2025 (#26)
* plugin finally loading

* simplify / clean up

* Revit 2025 merges (#27)

* fix DI project

* get rid of warnings

* never reverting this

* VS2022 fixes

---------

Co-authored-by: Connor Ivy <connor@speckle.systems>
Co-authored-by: Adam Hathcock <adam@speckle.systems>
Co-authored-by: Adam Hathcock <adamhathcock@users.noreply.github.com>
2024-07-15 16:08:48 +01:00
Jedd Morgan 7e5a7e525f DUI3-350 update dui3 connectors to use new api client functions (#20)
* DUI3 all using new FE2 client functions

* undone some warnings (we'll look at those during the meetup)
2024-07-12 11:52:32 +01:00
Jedd Morgan 8e7cfd0919 Bump Core + Objects + fixes (#18)
* Bump Core + Objects + fixes

* Format
2024-07-11 10:53:40 +00:00
Adam Hathcock c241028079 Update csharpier and format (#14) 2024-07-10 15:13:55 +01:00
Oğuzhan Koral 7cdf86345b DUI3-126 shared files (#12)
* Account service to get account first from id otherwise from server Url

- And other simplications, removing dup code etc.

* Add TransportException to all bindings

* Register AccountService as singleton and add doc
2024-07-09 22:00:35 +01:00
Adam Hathcock 49a0af8165 Add Rhino tests and refactor current ones (#4)
* add tests with base test class

* update locks

* pin coverage to 4.4.0

* this is a subjob with uses, pass the secrets

* fix secret passing

* try quotes

* try a different glob

* Try simplier glob

* try something else

* try ubuntu for uploads

* update build.sh

* fix target

* update test only target
2024-07-05 15:31:36 +01:00
Adam Hathcock 60499e3a34 Initial commit from alpha 2024-07-04 11:56:34 +01:00