Oleh Prypin
5a1ef6089c
Revert "[ffi]: Remove pointer elementAt method."
...
This reverts commit f706ff4ee2
.
Reason for revert: b/321667799 - package:win32 uses this method - a78ff108fb/lib/src/com/iapplicationactivationmanager.dart (L46)
Original change's description:
> [ffi]: Remove pointer elementAt method.
>
> Closes #54250
>
> TEST=test/ffi
>
> R=dacoharkes@google.com
> Change-Id: I0e88adfcfe3caef0ad3bb6814ad8f27dce5dc7f4
> CoreLibraryReviewExempt: FFI only
> Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/346380
> Reviewed-by: Daco Harkes <dacoharkes@google.com>
> Commit-Queue: Martin Kustermann <kustermann@google.com>
> Reviewed-by: Martin Kustermann <kustermann@google.com>
> Auto-Submit: Shikhar <shikharish05@gmail.com>
Change-Id: I1b7a48d14e9b85676a27f76a926e21cac9c76c85
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/347600
Reviewed-by: Martin Kustermann <kustermann@google.com>
Reviewed-by: Daco Harkes <dacoharkes@google.com>
Commit-Queue: Daco Harkes <dacoharkes@google.com>
2024-01-22 12:20:48 +00:00
Shikhar Soni
f706ff4ee2
[ffi]: Remove pointer elementAt method.
...
Closes #54250
TEST=test/ffi
R=dacoharkes@google.com
Change-Id: I0e88adfcfe3caef0ad3bb6814ad8f27dce5dc7f4
CoreLibraryReviewExempt: FFI only
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/346380
Reviewed-by: Daco Harkes <dacoharkes@google.com>
Commit-Queue: Martin Kustermann <kustermann@google.com>
Reviewed-by: Martin Kustermann <kustermann@google.com>
Auto-Submit: Shikhar <shikharish05@gmail.com>
2024-01-22 11:34:18 +00:00
Daco Harkes
cdb6d48dd3
Add owners file to pkg/mmap
...
Follow up of:
https://dart-review.googlesource.com/c/sdk/+/338121
Change-Id: I8b0c7d3cb1374b4de659c9e7b1a30ee3804a59f5
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/346402
Auto-Submit: Daco Harkes <dacoharkes@google.com>
Reviewed-by: Moritz Sümmermann <mosum@google.com>
Commit-Queue: Moritz Sümmermann <mosum@google.com>
2024-01-15 16:28:57 +00:00
Ryan Macnak
c75976c7aa
[pkg] Make package:mmap's manually created finalizer compatible with UBSAN.
...
Bug: https://github.com/dart-lang/sdk/issues/54243
Change-Id: Iced248a3807bb0ac69afe228bea883bcfea07680
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/340023
Reviewed-by: Daco Harkes <dacoharkes@google.com>
Commit-Queue: Ryan Macnak <rmacnak@google.com>
Reviewed-by: Martin Kustermann <kustermann@google.com>
2023-12-06 17:00:59 +00:00
Daco Harkes
df4ef72c01
[vm/ffi] Remove deprecated FfiNative
...
TEST=pkg/analyzer/test/
TEST=CI build with class removed from `dart:ffi`
Closes: https://github.com/dart-lang/sdk/issues/53923
CoreLibraryReviewExempt: VM & dart2wasm only.
Change-Id: I45a39b623754f9f1b65cac55ea9adae390199f5d
Cq-Include-Trybots: luci.dart.try:vm-ffi-android-debug-arm64c-try,analyzer-analysis-server-linux-try,analyzer-mac-release-try,dart-sdk-linux-try
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/336960
Reviewed-by: Martin Kustermann <kustermann@google.com>
Commit-Queue: Daco Harkes <dacoharkes@google.com>
2023-11-20 13:16:28 +00:00
Devon Carew
755aabd096
[pkg] switches the default linting for pkg/ packages to dart_flutter_team_lints
...
Change-Id: I201b984fd8794e04bf6e0131ed4f85192f641ef4
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/335502
Reviewed-by: Nate Bosch <nbosch@google.com>
Commit-Queue: Devon Carew <devoncarew@google.com>
2023-11-11 01:52:16 +00:00
Ryan Macnak
13c094e30a
[pkg] Support mmap with all the Linux architectures.
...
TEST=pkg/mmap, local qemu
Bug: https://github.com/dart-lang/sdk/issues/52333
Bug: https://github.com/dart-lang/sdk/issues/51591
Change-Id: I939f225b2e0e08a20a07cd7bf3147b2ad8a737c8
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/302453
Reviewed-by: Martin Kustermann <kustermann@google.com>
Commit-Queue: Ryan Macnak <rmacnak@google.com>
2023-05-11 17:15:26 +00:00
Devon Carew
8935cb0a53
[pkg] use package:lints/recommended.yaml as the default analysis config
...
Change-Id: I302b8e9d6568ac43ec4e9ba29b660e1528f4d61a
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/281223
Reviewed-by: Nate Bosch <nbosch@google.com>
Commit-Queue: Devon Carew <devoncarew@google.com>
2023-02-08 16:56:05 +00:00
Martin Kustermann
214f44730a
Use @Native instead of deprecated @FfiNative
...
Change-Id: I7eee5af952bc9625aded38f752bde442ecd76f27
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/279512
Commit-Queue: Martin Kustermann <kustermann@google.com>
Reviewed-by: Daco Harkes <dacoharkes@google.com>
2023-02-06 09:28:59 +00:00
Martin Kustermann
44ec0ae07d
Extract mmap support from dart2js into package:mmap
...
The purpose of the CL is to enable re-use of the mmap support in dart2js
in other tools (e.g. package:heapsnapshot & package:kernel).
There's a small refactoring to remove zero-termination logic out of the
general mmap support.
Change-Id: I7a9889acea43d5ce0ab1eb10dcefbfa74c44bf93
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/279348
Reviewed-by: Jens Johansen <jensj@google.com>
Reviewed-by: Nate Biggs <natebiggs@google.com>
Commit-Queue: Martin Kustermann <kustermann@google.com>
2023-01-23 09:10:23 +00:00