Adds methods to get and set the window size, as well as to query the
window's scale factor. This is useful both for custom clients, and for
building a window resize plugin to prototype what will eventually likely
be a system channel.
Plugins may need to be able to access functions affecting the GLFW
window (e.g., a plugin to resize the window). This restructures the API
to create a distinction at both the C and C++ level between the window
controller, which provides access to high-level behaviors driving the
Flutter application, and the window, which provides access to functions
to affect the UI state of the window (i.e., wrapped GLFWwindow
functions).
Also provides a PluginRegistrar extension for plugins that need access
to GLFW-specific functionality.
cdabea8fe2 [dart:io] Document raw sockets are not operating system raw sockets.
09b31ed7cd Clean up some non-driver code in constant evaluation
b4814384ff [vm/compiler] Add optional opcode arg to ILMatcher::TryMatch.
19c228115a [SDK] Adds smoke test for dartaot.
67df3ff878 Remove old commented out code.
7ec4621108 cleanup scanner configuration flags
81ced1c9bf Make a separate file for tests of implicit_this_reference_in_initializer
e5575ba64a In summary2/ast_resolver, get featureSet from enclosing unit
4679e6bf03 fix analyzer/ddc triple shift assignment
86d47dc5b4 Fixing some tests that are failing in all/most backends.
836ace6fcb [vm/bytecode] Avoid recalcualting class hierarchy for each dilp file
1ef3818f79 [ VM / Service ] Added resolved_url field to frames in _CpuProfileTimeline response
e0e5c85f48 [dartdevc] Always print errors when running ddb script
8bc1b2b41c [dart/fuzzer] Restrict libFuzzer to linux
f06c42d2b6 [vm,debugger] remove column number check in GetBreakpointLocation
0707abbaf0 [vm] Remove unnecessary indirection in AlternativeGenerationList
bdc91968a2 [ VM / Service ] Updated JSONWriter::PrintValue(double) to use double_conversion instead of Printf.
58ef1db2ba Enable the MOVE_FILE refactoring in the Analysis Server edit_domain.dart
3f90f04a74 Prepare to publish analyzer 0.36.3
3020127fc4 Change resynthesis test expectations to use new Function syntax.
dbe80f3397 Add tests for late and final variables without an initializer
797e288796 Clarify how ParameterElement getters behave in the presence of `required`.
974babb5f1 Remove named argument `nnbd` from summary testing methods.
f3d8b420a0 Consolidate all NNBD enables in summary_common.dart.
c38b65d2bc Use FreshTypeParameters from type_algebra with summary2.
f931d0e5ab Read bounds of function type type parameters.
836c04f3d2 [vm/compiler] Ensure aliasing between *[C|S] and X[C'|S'] for S < S'.
fb7137ba6f Fix isAbstract when MethodDeclaration is lazy.
f9b68f72f4 Fix copy-paste error with optionalNamed.
0130ffed1b [vm/compiler] Check for errors when loading test scripts.
8866165950 [dartdevc] Reify bottom as Null
c14496a9ee [infra] Prevent front end unit tests from being approved.
102f4addda Include the static type in the receiver type of dynamic invoke
03776172c1 Read VariableDeclaration type during checking for implicitly typed.
d5eba9b77d Remove error if a final field without initializer is marked as late
5393ce7d35 [vm, service] Fix parameter handling for profiler timeline RPCs.
97122d162e Separate abi versions out from create_sdk into their own target.
a43d36cdd9 Support for '===' and '!==' tokens.
ff0f2a6b2e Refactoring renaming of some tests in move_file_test.dart and sorting of the tests
0586be25a4 Read partOf directive metadata lazily.
0950a540d7 Convert summary_common.dart to triple-slash comment style
14d548f239 Add a toString() method for FeatureSet
e25aefc8d6 Consolidate all NNBD enables in resynthesize_common.dart.
48a7e24e39 Store lineStarts with units.
70e00c9a37 Handle ClassTypeAlias without valid Function.
b8fb787994 Add a test for uses of the default List constructor
a334395edf Switch to using FeatureSet in summary tests
dd1ae4c2d8 Fix the order during building library scopes.
4a31d8b62b Additional tests in move_file_test.dart - the analysis server tests for the MOVE_FILE refactoring.
9df061524f [tests] Update expected error NoSuchMethodError --> Error
6819a4db02 test_matrix.json changes for ABI tests
482c36d9ae [vm/debugger] Remove script soucre look up in debugger
98f67ff3d4 [dart/fuzzer] Mechanism for target functions
3646be6fb5 Add a previously missed test and cleanup test names
36b2520ca9 Add a test of creating a subtype of Never
ded5c3efd5 [ VM / Service ] Fixed HTTP requests with params not working correctly when auth codes are enabled
946c38d881 Build local elements for variable initializers.
5bac4d9b0c Reland "Add support for recording context information with analysis errors, with one example"
158a52ee3f Change the message for FLUTTER_REMOVE_WIDGET.
40a06c3a77 Implement the type Never
4fd9312586 Convert session.dart to triple-slash comment style
af4bc38490 Fix for building named function types.
6ac709a2d0 Infer mixin type arguments.
This default is already set in the framework, but this also needs to be
set in the binding layer to preserve the same behavior when the
deprecated framework parameter is removed.
1577b95c93 [CFE] Substitute types in unevaluated as-expressions and instantiations
8c2390089e [co19] DEPS updated
dd19353abb Update test of operator >>>.
dcc157633d Offset from class when reporting errors on synthetic constructors
54f9835abf The function type might be null in GenericTypeAlias.
1682b4aac5 replace parser language version comment processing
aceefaf846 [dart/vm]: fix bug in TextBuffer capacity
1ea3e418b5 Bump oldest supported ABI version
143ebf1c1c Compute default types for type parameters of GenericTypeAlias.
2209d8f0c0 Run VariableResolverVisitor during resolution.
a7c0a75442 Disable DeclarationResolver tests with summary2.
f7b73e9c4b Read linked bundles from ByteStore.
2279d88f1f Pass CompilationUnitElement to LocalElementBuilder when building locals.
a62ab22c48 remove languageVersionField and update scanner tests
52608e3174 Convert more tests to DriverResolutionTest
73639f9e1f pkg/modular_test: follow up cleanup
49dfd6f4df Build elements for constructor initializers.
f66ef921ac Write and read comment references.
b6997deb3e Resolve typed constant initializers separately.
8053c43dde Compute static types for for-in loops
b9c87ebbda Add scanner languageVersionChanged callback
fa274ec059 Make each NullabilityNode track those nodes that are downstream of it.
407378879b Error reporting and ~no location data
8d4816b7ff Reimplement member usage tracking
b36734f4da Fix crash when duplicate fields have annotations
30e21f3dc0 Don't crash when additional exports contain duplicate names
9670b2ccb9 Update the server API to support context messages
58c6d78712 [vm] Check Zones are only [un]chained on the correct side of a safepoint transition.
4ce3aa7af1 [vm] Replace ^= assignments with = where possible
2e24a992c7 Support for 'nullabilitySuffix' in linked types.
481d6b9f30 Fix the windows bots
ee1192e693 [dart/vm] Extended graph checker
a32fee5d8e [dart/vm] GenericCheckBound (AOT) may throw
3b22a7ae46 [vm/profiler] Fix native stack walker to properly skip PC = 0xFF..FF
a30819a2f6 Add a diagnostic associated with the default List constructor
ac4fd50446 [vm, compiler] Check for length overflow when eliminating write barriers for variable-length objects.
7cb1365f7f replace individual scanner flags with scanner configuration
a20e7eee15 update scanner config based on language comment
26a82dbf38 Support for LibraryElemenet.entryPoint
de1966db11 Separately handle InterfaceType and FunctionType while collecting free type parameters.
e178b0726a [test] Speed up unicode-regexp-zero-length_test.
5896692b42 Introduce pkg/modular_test: a package to specify modular tests
d543d2e812 Check window.MediaSource before call constructor
46847f2239 Store super-invoked names for mixins.
* Update dart_quiver_tag to dart_quiver-dart_tag to match Dart SDK deps
* Roll src/third_party/dart c46deebfb6..5fbf7720f8 (68 commits)
5fbf7720f8 [ VM ] Updated splay-tree licenses, added V8 project authors to AUTHORS
e803d02227 [vm] Update Isolate to C++11 style.
aebc542801 update scanner to process language version comment
597e9c6222 Update new issue template.
af1dbdf13b Change representation of ExpressionChecks.
5152269d28 Convert another test class from ResolverTestCase to DriverResolutionTest
a8d034f3e1 [vm/reload] Make sure classes in saved class table are visited by GC
25daff618d Support for 'late' keyword.
ae97367e4a Support for 'required' keyword and default parameter kinds.
0213a31527 Fix for default parameters without name.
347b72c260 [vm] Bypass malloc for large Zone allocations to avoid jemalloc leaks.
a7325f9e59 Re-enable and fix the move_file_test.dart tests in the analysis server.
4215dc8365 cleanup analyzer warnings
f6f59c997f Rename quiver revision variable so it matches [dep_name]_tag pattern.
ea708965ab Find type alias self-references during linking.
afe805fa6e Fix hint unused_shown_name
156de21785 Adapt OptionalConstMixin to summary2.
0bfe57da52 Store unresolved URIs, but as empty strings.
ca3d908719 With issue 36262 fixed, remove the workaround.
4d7217016e encapsulate scanner configuration in ScannerConfiguration
7757c3e948 [vm] Consolidate generic move code between ParallelMoveResolver and FFICall
1dd0f88c84 Don't allow `null` as argument to `StreamIterator` constructor.
9cf5e51988 Consolidate test usage of ExpressionChecks.nullCheck into a single method.
43937aa9ca Don't let expression compilation bleed into real library
054d1a301c Another test for reissuing problems
0325d50db2 [CFE] Add disambiguation for type parameters if needed
d8739b582b Don't try to initialize from empty dill
af3ec66106 [Kernel] Fix specification of constant reference.
f3e1480b52 Update manifest checks watnings and corrections
243373af1c [vm, x64] Tighten the monomorphic entry sequence.
532226f024 The library is synthetic when its defining unit is synthetic.
6e72fed210 [vm] Fix for flaky crashes in background compiler while Dart_SortClasses() is running
611dbeb387 [vm, fuchsia] Fix deps and stop suppressing -fvisibility=hidden.
87a3256e8f Add lineOffset and columnOffset fields to the Script service protocol class.
0b9060ec1d [vm] Fixes for flaky crashes when querying source or source location
c944328528 Refactor types resolution, compute default types for type parameters.
6436104712 [vm/tests] Fix flaky crashes on vm/cc/GenKernelKernelMaxRSS test
b83902d51b Add a language_2 test for missing arguments related to required named parameters
950e174799 It is not an error for a late final variable to not have an initializer in nnbd
c4c357eb21 [vm/interpreter] Fix for flaky crashes in interpreter
6ef55cee3e [dart/vm] fix build breakage in assembler_dbc_test
9b3567a466 Rename poorly named error code and improve the message
7d462b12b9 [vm, fuchsia] Add back -fvisibility=hidden suppressions.
66fbaf30e6 Update CHANGELOG.md with AOT
9de07a2c58 [infra] Bump version file on master to 2.3.0
2f06696655 Include the keyword required when printing elements, with additional cleanup
49573f59d3 cleanup analyzer warnings
24396182e1 [ VM / Service ] Handle case where user navigates to Observatory without a slash trailing the authentication code.
4038f91c38 Change the messaging for the CrOS touchscreen check
e2d0f5a50b Add `featureSet` parameter to Parser constructor.
b378eef54a Add a option to pass in version file to tools
37f915543f Introduce AstFactory.compilationUnit2 with a required featureSet argument.
3d0825da5d Improve the message when a mixin cannot be applied because the superclass does not implement a required class (issue 36775)
3d0cdc8956 Switch perf.dart completely over to Fasta parser.
4028fec3b5 Reland "[vm] Finish adding support for ECMAScript 2018 features."
160aa37b9f Ignore exporting of unavailable libraries.
f598581e41 Support for type parameters in function typed formal parameters.
d816a46806 Convert MixinDriverResolutionTest to subclass DriverResolutionTest
fd76dda221 Identify mobile or web Flutter correctly when both are possible.
7e0d76c5dd Compute BuiltWorld properties from member usage
e00b2b577e [dart/fuzzer] restrict length parameter in List fill
5964ec4db7 Disable all tests in move_file_test.dart by renaming the file to move_file_disabled.dart
c3669f787e Add a diagnostic for missing arguments associated with required named parameters
f3b6028edc [vm/interpreter] Bump usage counters and trigger compilation of invoke-field
ec15148db2 [dart/fuzzer] no target on unsupported build targets
986978ad8e Additional FeatureSet plumbing for parser_fasta_test.dart
0dc33da6e8 Add LinterContext.canBeConstConstructor().
d03323783a Fix an exception in flutter outline when using ui-as-code elements (issue 36772)
* Re-create texture from pixel buffer onGrContextCreate
OnGrContextDestroy we destroy the texture, this is because
we can not access it from the potentially new context that
we get on bringing the app back to foreground.
To show a valid texture on fg, we need to preserve the pixel
buffer, using which we will create the new texture.
* ensure texture cache exists
* only reset pixel buffer if not null.