mirror of
https://github.com/qmlnet/qmlnet.git
synced 2026-05-15 14:15:54 -06:00
[PR #61] [MERGED] Implemented the wrapping JS array for .NET arrays/lists. #194
Labels
No labels
bug
enhancement
help wanted
help wanted
pull-request
question
todo
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/qmlnet#194
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/qmlnet/qmlnet/pull/61
Author: @pauldotknopf
Created: 8/19/2018
Status: ✅ Merged
Merged: 8/19/2018
Merged by: @pauldotknopf
Base:
develop← Head:jsarray📝 Commits (10+)
663df41Added a bool indicating if a type is an array.4567f10Added a method to wrap a .NET array to a JS array.ab449adAdded a facade to help hide the complexity of invoking a .NET array.7997adbAdded length tests.9def032Added tests for the get indexer.3e1c7deAdded tests for the set indexer.3715896Verified we can call forEach.bb656e0Prevent array methods (currently push) that modify size to be called.9ee1fa2Made sure you can't pop a .NET array.290ef5eDon't use the array prototype.📊 Changes
25 files changed (+1326 additions, -60 deletions)
View changed files
➕
src/native/QmlNet/QmlNet/qml/JsNetArray.h(+45 -0)➕
src/native/QmlNet/QmlNet/qml/JsNetArray510.cpp(+182 -0)➕
src/native/QmlNet/QmlNet/qml/JsNetArray511.cpp(+203 -0)📝
src/native/QmlNet/QmlNet/qml/JsNetObject.cpp(+49 -0)📝
src/native/QmlNet/QmlNet/qml/JsNetObject.h(+2 -0)📝
src/native/QmlNet/QmlNet/qml/NetValueMetaObject.cpp(+2 -2)📝
src/native/QmlNet/QmlNet/qml/QQmlApplicationEngine.cpp(+24 -0)📝
src/native/QmlNet/QmlNet/qml/qml.pri(+10 -1)📝
src/native/QmlNet/QmlNet/types/Callbacks.cpp(+14 -34)📝
src/native/QmlNet/QmlNet/types/Callbacks.h(+2 -2)➕
src/native/QmlNet/QmlNet/types/NetTypeArrayFacade.cpp(+65 -0)➕
src/native/QmlNet/QmlNet/types/NetTypeArrayFacade.h(+26 -0)➕
src/native/QmlNet/QmlNet/types/NetTypeArrayFacadeArray.cpp(+74 -0)➕
src/native/QmlNet/QmlNet/types/NetTypeArrayFacadeArray.h(+25 -0)➕
src/native/QmlNet/QmlNet/types/NetTypeArrayFacadeList.cpp(+94 -0)➕
src/native/QmlNet/QmlNet/types/NetTypeArrayFacadeList.h(+29 -0)📝
src/native/QmlNet/QmlNet/types/NetTypeInfo.cpp(+55 -0)📝
src/native/QmlNet/QmlNet/types/NetTypeInfo.h(+13 -0)📝
src/native/QmlNet/QmlNet/types/types.pri(+8 -2)➕
src/net/Qml.Net.Tests/Qml/ArrayTests.cs(+276 -0)...and 5 more files
📄 Description
No description provided
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.