Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge @bentley/imodeljs-native 2.15.1 into imodel02 #1092

Merged
merged 55 commits into from Mar 31, 2021
Merged

Merge @bentley/imodeljs-native 2.15.1 into imodel02 #1092

merged 55 commits into from Mar 31, 2021

Conversation

pmconne
Copy link
Member

@pmconne pmconne commented Mar 31, 2021

No description provided.

calebmshafer and others added 30 commits March 24, 2021 19:00
* update xmldom to 0.5.0

Co-authored-by: Caleb Shafer <31107829+calebmshafer@users.noreply.github.com>
* wip

* cleanup

* move NativeApp to beta

* rush change

* Saving & restoring Electron main window size, position & maximized state

* extract-api

* extract-api

* rush change

* fix NativeAppStorage tests

* Saving & restoring as number & boolean values

* Better type checking of StorageValue

* Added type checking methods to NativeAppStorage. Using one storage file for ElectronWindowState with setting namespaces.

* further cleanup of NativeAppStorage

* add NativeHost.settingsStore

* change table name to app_settings

* Fixed lint, extract-api and cover issues

* fix lint errors

* extract-api

* extract-api

* rush change

* Added @packageDocumentation for NativeAppStorage

* NextVersion.md

Co-authored-by: Keith Bentley <33296803+kabentley@users.noreply.github.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
* Fix numberEditor by blocking editor container from processing enter key

* rush change

* extract-api

Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
* Drop deprecated ldclient-js package
* fix hue display in DR by removing webkit prefix. Adjust max slider value.

* rush change

Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
…dbGuid (#1042)

* Clarify misleading log messages in RpcBriefcaseUtility.open

* Update SnapshotDb.openCheckpointV2 to throw when mismatched dbGuids are detected.

* rush change.

Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
* modify model transform keyin to take scaling

* test

* fix instancing

* Compare forceNoInstancing

* restore deleted property.

* Remove unnecessary invalidateScene and requestRedraw calls.

* Cleanup & make work nicer with Z offset

* fix rgb axes in measure distance tool

* Remove debug

* lint & typo

* Modify tessellation for nonuniform scaling

* rush change

* extract-api

* Replace use of System.instance with IModelApp.rSys

* move scaleFactor calc to TileDrawArgs constructor

Co-authored-by: Paul Connelly <22944042+pmconne@users.noreply.github.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
…/touch input. (#1038)

* Add an option to use the virtual cursor to help with element locate w/touch input.

* Not sure what happened to ToolSettings.enableVirtualCursorForLocate...

* re-run extract-api

* Put back the beta tag...

Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
* UI Settings Pages sets colorTheme, autoHideUi, useProximityOpacity, snapWidgetOpacity, dragInteraction, frameworkVersion, widgetOpacity.

* Renamed IModelAppUiSettings to UserSettingStorage

* Added LocalSettingsStorage and deprecated LocalUiSettings

* Added SessionSettingsStorage and deprecate SessionUiSettings

* Added UiSettingsStorage interface and aliased UiSettings to it to maintain compatibility

* Renamed SettingsProvider to SettingsTabsProvider

* Added support for registering classes that implement UserSettingsProvider so they are called when UiSettingStorage is set so they can load their default from the storage location.

* Move AppUiSettings from ui-test-app to ui-framework 

* Renamed QuantityFormatSettingsPanel to QuantityFormatSettingsPage

* updated index.html in ui-test-app to add overflow: hidden to avoid scroll bars during login processing.

* Updated SignIn component to avoid button moving during sign-in processing.

* clean-up Electron sign-in and update index.html to prevent scrollbar during log-in
* Fix IModelHost onAfterStartup event and automatic shutdown.

* Add a comment about use of this in IModelHost.shutdown

Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
* Added quote=1 argument.

* change log.

* Fixed comments and set max args to 1.

* Update README

* extract-api

Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Co-authored-by: Paul Connelly <22944042+pmconne@users.noreply.github.com>
* Querying for cached briefcases needs to
include fileSize.

DesktopAuthorization must call onuserStateChanged when
token is set (signIn/refreshed), unset (signOut).

Refined arguments to IOSHost.startup()

Moved rpcInterfaces as an option to NativeHost instead
of ElectronHost so that all native applications (iOS,
Android and Desktops) can use it.

* Change logs.

* fixes

* reverse breaking change. Add rpcInterface to mobileHost

* Fixed iOSHost.startup() and setup ui-test-app to use
recent changes.

* Setup default RPC interfaces in mobile and electron
hosts.

Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Co-authored-by: Keith Bentley <33296803+kabentley@users.noreply.github.com>
* Improve `TreeSelectionManager` tests

* Fix a crash when using `SelectionMode.Multiple` and there are placeholder nodes

Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
* Fix orbitgt pointcloud position

* Added distance check and fixed comment
* Separately handle deprecated APIs in summary
* Update API changes
* Publish APIs used by iTwinViewer

* Rush change

* Fix reference to @beta APIs from @public

* Extract-api

* Extract-api

Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
* fix z for edges and polylines

* rush change

Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
…conversions (#1025)

* Check if base units matches for unit conversion and moved conversion tests to test folder

* Added checking base units matches for conversion tests

* Move expected parser data to json file for linting and use deserialize helper method

* Ran rush change and extract-api

Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
* Clear current invocation once resolved
* Interfaces may not be registered -- unauthorized access or tests scenarios -- so try/catch
* fix for logging being disabled after test for worker threads

* rush change
pmconne and others added 4 commits March 31, 2021 17:24
* Presentation: Reload visible part of hierarchy after iModel changes (#996)

* Update TreeModelNode id when changeNodeId is called

* Avoid removing existing node subtree when nodes are loaded

* Add ability to know rendered nodes in tree

* Reload only visible part of hierarchy when imodel data changes

* Restore presentation-full-stack Update tests

* Adjust visibility trees to changes

* Lint

* rush change

* Move rendered tree items tracking from event handler to tree component

* Simplify hierarchy updates according changes to tree component

* Adjust test apps to presentation-components changes

* Add overscan and visible range to onItemsRendered callback

* Reload visible nodes instead of all rendered

* rush extract-api

* Rush change

* Document breaking change

* Fix typo

* Fix lint

* Dynamic graphics (#1087)

* Generalize ElementGraphicsRequestProps to support non-persistent geometry.

Make element graphics APIs beta and clean them up.

* Default format version to latest.

* category is required; placement omits bounding box.

* 2d vs 3d

* test.

* extract-api

* @bentley/imodeljs-native 2.15.1

* clean up API merge conflicts.

Co-authored-by: Saulius Skliutas <24278440+saskliutas@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet