Commit fe672d2
refactor(renderer): use singly linked list to keep track of NgElements (#945)
* refactor(renderer): keep internal sibling queue for views
* test: update test interface
* refactor(renderer): fix setting of siblings
* refactor(renderer): skip invisible nodes when using insertBefore
* refactor(renderer): replace doubly linked list with singly linked one
* refactor(renderer): split insert/remove of views to smaller methods
methods for insert/remove from:
- internal view queue (NgElements)
- visual tree (NgViews)
* refactor(renderer): set first child to every NgElement
* style: fix linting errors
* refactor(renderer): stop setting templateParents to `ProxyViewContainer`s
* refactor: remove unused method from view-util
* chore: remove yarn.lock
* refactor(renderer): fix removal from internal queue and add trace for
view util
* test: fix unit tests for renderer
* test(e2e): add app with nativescript-appium tests for renderer
* test(e2e): fix examples for iOS
Content views (Pages) cannot have multiple children and throw in iOS.
* Template tag fixed
* Removed NgElement (#962)
* Removed NgElement
* fix: TestProject does not compile
* fix: subsequent *ngIf break renderer-a
* chore(lint): remove unused import
* refactor(view-util): extract the lookup for next visual view into method1 parent 85efd50 commit fe672d2
File tree
102 files changed
+2138
-493
lines changed- e2e/renderer
- app
- App_Resources
- Android
- drawable-hdpi
- drawable-ldpi
- drawable-mdpi
- drawable-nodpi
- drawable-xhdpi
- drawable-xxhdpi
- drawable-xxxhdpi
- values-v21
- values
- iOS
- Assets.xcassets
- AppIcon.appiconset
- LaunchImage.launchimage
- LaunchScreen.AspectFill.imageset
- LaunchScreen.Center.imageset
- e2e
- config
- helpers
- nativescript-angular
- ng-sample/app/examples
- list
- router
- tab-view
- tests/app/tests
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
102 files changed
+2138
-493
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
Lines changed: 43 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
0 commit comments