Commit graph

318 commits

Author SHA1 Message Date
Michael Lamers
43d89e9409 adapted PhotoFrame sample to new Qml.Net 2018-08-02 13:01:04 -04:00
Paul Knopf
36fa9fa2b6
[skip ci] 2018-08-02 09:13:07 -04:00
Paul Knopf
35cda0c567 Version bump. 2018-08-01 16:43:11 -04:00
Paul Knopf
92432daecf Added support for bundling OSX binaries. 2018-08-01 16:35:10 -04:00
Paul Knopf
b8e3969b4b Fixing OSX build. 2018-08-01 13:49:42 -04:00
Paul Knopf
40b553e0bd [skip ci] 2018-08-01 13:48:21 -04:00
Paul Knopf
bb0b6cfe98 Added OSX build on travis. 2018-08-01 13:40:10 -04:00
Paul Knopf
0ebef454bb Fixed memory leak with strings. 2018-07-31 23:47:59 -04:00
Paul Knopf
bc386adfd5 Fixing windows build. 2018-07-31 23:09:38 -04:00
Paul Knopf
b97b9ccc32 Export the string functions for windows builds. 2018-07-31 21:12:22 -04:00
Paul Knopf
5081b65d83 Merge remote-tracking branch 'origin/master' 2018-07-31 19:47:42 -04:00
Paul Knopf
79d25fcd31 Fixed memory leak with Qt.GetEnv.
Still need to rework how the strings work every else (they currently leak).
2018-07-31 19:47:31 -04:00
Michael Lamers
edefb20c9d ignore IDE files 2018-07-31 16:40:05 -04:00
Paul Knopf
9c9118a0f6 Added NuGet package for built-in Qt runtime.
Updated AdvancedDLSupport.
2018-07-31 14:22:49 -04:00
Paul Knopf
d93a904f15
[skip ci] 2018-07-29 10:21:58 -04:00
Paul Knopf
04eecb233d Oops. 2018-07-29 01:10:46 -04:00
Paul Knopf
300e8863d4 Rename all .NET methods/properties to camal case. Closes #41. 2018-07-29 01:09:10 -04:00
Paul Knopf
8d4d0fdb8e Oops. 2018-07-29 00:12:42 -04:00
Paul Knopf
60ebd7cc98 Tidy up. 2018-07-29 00:11:26 -04:00
Paul Knopf
b5e19a80d4 Refactoring to expose a string as QString (instead of QVariant) in qml.
This allows better binding between .NET/Qml objects.
2018-07-28 23:18:28 -04:00
Paul Knopf
c6fef4f367 We are now treating DateTime like traditional .NET objects.
The reason is because there is no good way to marshal it and the js Date() type, considering DateTime doesn't hold offsets. It is recommend that if you need to use actual dates (and not just boxed objects), then use DateTimeOffset.
2018-07-28 21:05:23 -04:00
Paul Knopf
ad6574fbd3 Fixed issue with DateTimeOffset not being represented as Date() in qml. 2018-07-28 20:31:43 -04:00
Paul Knopf
9ed074588d Added nullable tests for char type. 2018-07-28 19:29:17 -04:00
Paul Knopf
9e813bbe10 Adding some nullable tests for bool. 2018-07-28 19:16:21 -04:00
Paul Knopf
258f842e49 Adding missing qt package to fix build. 2018-07-28 16:23:01 -04:00
Paul Knopf
f95740942c Added QQuickStyle.SetSyle(style). 2018-07-28 16:04:46 -04:00
Paul Knopf
039272b126 Added support for specifying custom dll name to load for interop. 2018-07-28 12:15:33 -04:00
Paul Knopf
233c07885f Added support for setting methods on js objects. 2018-07-27 17:13:43 -04:00
Paul Knopf
67640f9fbe One additional test. 2018-07-27 16:38:00 -04:00
Paul Knopf
e5a81b3dc7 Added support for getting properties from js objects. 2018-07-27 09:08:21 -04:00
Paul Knopf
63a0872798 Making the INetJsValue type a dynamic one.
This is in prep for reading/setting properties on javascript values/objects from .NET.
2018-07-27 08:10:54 -04:00
Paul Knopf
5a99978b75
[skip ci] 2018-07-26 23:30:18 -04:00
Paul Knopf
857ed930e9 Added "Net.cancelTokenSource()" to help with async tasks. 2018-07-26 23:23:51 -04:00
Paul Knopf
671a593928
[skip ci] 2018-07-26 22:49:54 -04:00
Paul Knopf
2c1d3194a4
[skip ci] 2018-07-26 22:49:26 -04:00
Paul Knopf
905514a9b6 Added support for returning types from js delegates passed to .NET. 2018-07-26 22:46:22 -04:00
Paul Knopf
47b3f88d17
[skip ci] 2018-07-26 20:37:22 -04:00
Paul Knopf
13e4131854
[skip ci] 2018-07-26 20:36:03 -04:00
Paul Knopf
7309f1fc14 Added tests for async/await. 2018-07-26 20:31:16 -04:00
Paul Knopf
62ef7d2cdc Supported await on types with results. 2018-07-26 20:31:16 -04:00
Paul Knopf
611a404502 Finished support for awaiting void tasks. 2018-07-26 20:31:16 -04:00
Paul Knopf
2b0babcae2 Added support for passing javascript objects into javascript functions from .NET. 2018-07-26 20:31:16 -04:00
Paul Knopf
66dcd5830c Support passing .NET objects to callbacks. 2018-07-26 20:31:16 -04:00
Paul Knopf
33b9bf81d5 Additional verifications. 2018-07-26 20:31:16 -04:00
Paul Knopf
aac5e24ebd Support invoking callback with parameters. 2018-07-26 20:31:16 -04:00
Paul Knopf
d705856008 Support for invoking the callbacks. 2018-07-26 20:31:16 -04:00
Paul Knopf
97c48284e7 Fixing build. 2018-07-26 20:31:16 -04:00
Paul Knopf
2495e92ef8 Checking in what I got. I've realized that something else needs to be done before I can continue. 2018-07-26 20:31:16 -04:00
Paul Knopf
2cb618e8c8 Added some tests for NetJsValue. 2018-07-26 20:31:16 -04:00
Paul Knopf
a9f6d08f7b Added a new variant type "NetJsValue".
This type represents an arbitrary "live" javascript that is kept alive for the duration.
This type will first contain functions for "callbacks" that will be raised when a Task if finished, but in the future, it will perform a lot more, like "dynamic" representing a live javascript value, etc.
2018-07-26 20:31:16 -04:00