Daco Harkes

Results 140 issues of Daco Harkes

`package:native_assets_cli` defines: ```dart abstract class Builder { Future run({ required BuildConfig config, required BuildOutput output, required Logger? logger, }); } class CBuilder implements Builder { ``` In a sketch for...

P3
package:native_assets_cli
package:native_toolchain_c

We should see if we can generate the proguard rules. We don't want to generate everything though (whole Java / Android API). So we need to integrate into the Dart...

package:jnigen
package:jni

I wonder if it would make sense for all APIs that return JReferences to add an `arena` optional named argument: ```dart map.put('Hello'.toJString()..deletedIn(arena), helloExample); ``` would become ```dart map.put('Hello'.toJString(arena: arena), helloExample);...

contributions-welcome
package:jnigen
package:jni

Failing run: * https://github.com/dart-lang/native/actions/runs/9094025881/job/24994214663 Latest successful run: * https://github.com/dart-lang/native/actions/runs/9002742091/job/24731730603 ``` Run dart pub global run coverage:test_with_coverage dart pub global run coverage:test_with_coverage shell: C:\Program Files\PowerShell\7\pwsh.EXE -command ". '{0}'" env: DART_HOME: C:\hostedtoolcache\windows\dart\[3](https://github.com/dart-lang/native/actions/runs/9094025881/job/24994214663#step:33:3).4.0\x64...

P2
type-infra

Context: * https://github.com/flutter/flutter/issues/148044 This would enable `build` and `link` hooks to fail if they cannot produce native code assets with that iOS SDK version. Standalone Dart packages do not specify...

P2
package:native_assets_cli
package:native_toolchain_c

We should consider introducing a package to help calling the Rust compiler from Dart code. Things this package could contain: * [ ] A mapping from `native_assets_cli`s `Target` and `IOSSdk`...

package:native_toolchain_c

To address https://github.com/dart-lang/native/issues/681, we should to generate `ResourceIdentifier`s on all JNIgen generated methods. ```dart class PDDocument extends jni.JObject { @ResourceIdentifier('jnigen') jni.JObject getDocumentCatalog(); @ResourceIdentifier('jnigen') static PDDocument load( jni.JObject file, ); }...

package:jnigen
package:jni

Pulling some learnings from https://github.com/dart-lang/native/pull/977. > My preference would be to let a higher level of build system handle checking the file times, like Bazel or [package:build](https://pub.dev/packages/build) or [native assets](https://pub.dev/packages/native_assets_cli)....

P4
package:ffigen

For tree-shaking we want to generate `ResourceIdentifier` annotations. For C: * https://github.com/dart-lang/native/issues/1085 For JNIgen: * https://github.com/dart-lang/native/issues/1098 Probably for Objective-C (and Swift?) we could or should do something similar. The idea...

package:ffigen
lang-objective_c

For tree-shaking code and data assets, the link hook needs to get the information from AOT-compiled Dart code about what assets are referenced. To identify uses of assets, static methods...

package:native_assets_cli