* Remove IAccessible and IChromeAccessible from AXPlatformNodeWin
* Fixes to make AXPlatformNodeWin, AXFragmentRootWin and associated unit
tests work and pass in Flutter/Windows
We currently use a mix of C standard includes (e.g. limits.h) and their
C++ variants (e.g. climits) in //flutter/third_party/accessibility. This
migrates to a consistent style for all cases where the C++ variants are
acceptable. C equivalents remain in place only where they are required,
such as in the embedder API and other headers that may be used from C.
This commit is analogous to d03692449b014377b0a9f5aded075a9515a268db.
This updates Flutter.*Codec `decode:` implementations to treat empty
messages as equivalent to nil or NSNull, which avoids a crash when we
subsequently otherwise try to read the type/value from the message. This
handles the case where the sender were to send `null` over the channel.
e.g.,
final channel = BasicMessageChannel<Object?>('somechannel', StandardMessageCodec());
channel.send(null);
It also updates the macOS embedder to send nil to the decoder when a
zero-length message is received in order to be consistent with the iOS
embedding.
Previously, the macOS embedder always encoded platform messages as
NSData regardless of length:
ca1a7760b4/shell/platform/darwin/macos/framework/Source/FlutterEngine.mm (L498-L500)
The iOS embedder did not have this issue since it special-cased
zero-length messages as nil:
ca1a7760b4/shell/platform/darwin/ios/framework/Source/platform_message_router.mm (L23-L26)
Bug: https://github.com/flutter/flutter/issues/78003
* Test docker image update.
Do not review.
* Test build in a VM.
* Add project name.
* Update image type.
* Add apt-get dependencies.
* Update dependencies.
* Update gcloud packages installation.
* Update dockerfile.
* Fix errors in dockerfile.
* Fix dockerfile.
* Organize docker file to make it more readable.
* Modifications to gtest_util.h to build in Flutter
* Modifications to Range to build in Flutter
* Modifications to UiaRegistrarWin to build in Flutter
* Modifications to EnumVariant to build in Flutter
* Modifications to AXActivePopup to build in Flutter
* Modifications to ScopedBstr to build in Flutter
* Modifications to atl.h/atl_module.h to build in Flutter
* Modifications to ScopedVariant to build in Flutter
* Modifications to VariantUtil to build in Flutter
* Modifications to ScopedSafearray to build in Flutter
* Modifications to VariantVector to build in Flutter
* Add BASE_UNLIKELY, BASE_LIKELY and BASE_FALLTHROUGH macros to compiler_specific.h
* Update BUILD files for Windows base/ and gfx/ unittests
Co-authored-by: Chris Bracken <chris@bracken.jp>
* Add the following APIs to StringUtils:
- NumberToString16
- JoinString
- ReplaceChars
- WideToUTF16
- UTF16ToWide
Implement the following APIs for Windows:
- UTF8ToUTF16
- UTF16ToUTF8
* Review comments
Add a couple TODOs for decimal formatting and use std::u16string::npos
rather than std::string::npos.
* Update licences_flutter
Co-authored-by: Chris Bracken <chris@bracken.jp>
* Roll Dart SDK from b7e02a713eab to 91d7c69ed7ea
Update const_finder_test expectations to accommodate daae24b4880.
Changes since last roll:
```
91d7c69ed7e Version 2.13.0-143.0.dev
88c24ef66ac Roll benchmarks-internal 354c978979c5..076df10d9b77
b250a58d8e8 Implement `int.>>>` for DDC.
7e2cc73da8b Revert "[infra] Make worktrees work (again?)"
a531b78369e [infra] Make worktrees work (again?)
945ac84c16e Version 2.13.0-142.0.dev
e8f57b66058 [vm/aot] Handle FieldInitializer pointing to a Field's Reference which is reused for a getter
1cb203d8c9b Remove unused code and files from analysis_server:
3162957a786 (origin/base) [gardening] Add explicit type to ensure templated function applies.
7b35c1ecc2f (tag: 2.13.0-141.0.dev) Version 2.13.0-141.0.dev
829ef927789 [vm] Expand compressed heap to 4GB.
2472db00311 [vm] Inform the OS that it can reclaim free'd portions of the compressed heap.
e2baf16ebda Support ddc module format in expression compilation in ddc.
8e7c8c9d8b2 Roll icu dependency to 81d656878ec611cb0b42d52c82e9dae93920d9ba.
52fccfb392b Version 2.13.0-140.0.dev
6b575c72ec8 Prepare to publish analyzer 1.2.0 and _fe_analyzer_shared 18.0.0.
c0b800ceb51 Issue 45318. Check for dynamic bounded and Function bounded.
daae24b4880 [vm/aot] Retain fields used in constants
369c36e67c2 Issue 45299. Fix yield type check for function expressions.
c9e10c931cb [vm, compiler] Predicate boolean loads.
87bfe9ea276 (tag: 2.13.0-139.0.dev) Version 2.13.0-139.0.dev
cf3dcc4256c [analyzer] Prevent MOVE_FILE using absolute URIs when moving files out of lib
c9061339678 [cfe] Multi-call const function tests to existing behavior.
16beb348133 [vm/aot] Remove special cases of dynamic function lookups from precompiler
55522f9e90b Fix a bug in completion when a setter does not have a corresponding getter
d42de4ed062 [vm] Crash on impossible GDT null errors
69ec09825a3 [vm] On Android set abort message before aborting
b72e7b81ebd (tag: 2.13.0-138.0.dev) Version 2.13.0-138.0.dev
d6b79dab6c6 [cfe] Correct argument count in extension member errors
b5da327ed9a [parser] Parse and skip metadata according to spec
```
* Update const_finder_test expectations
* Update license
* Update expectations