24 Commits

Author SHA1 Message Date
Michael Goderbauer
2f17e2784f Remove ffi_native_unexpected_number_of_parameters ignore (flutter/engine#35093) 2022-08-02 17:06:04 +00:00
Michael Goderbauer
f6aab09ca3 Remove unnecessary exceptions from analysis_options.yaml (flutter/engine#35054) 2022-08-02 16:20:03 +00:00
Michael Goderbauer
b4e3ce9aa3 Minor adjustment to analysis_options.yaml (flutter/engine#35051) 2022-08-01 17:43:03 +00:00
Michael Goderbauer
9a813d3f15 Enable conditional_uri_does_not_exist (flutter/engine#35021) 2022-08-01 16:27:03 +00:00
Michael Goderbauer
a58436c1b8 Enable avoid_returning_null & native_function_body_in_non_sdk_code (flutter/engine#35015) 2022-08-01 16:25:04 +00:00
Michael Goderbauer
cc50c5249c Sync analysis_options.yaml with flutter/flutter (flutter/engine#34986) 2022-07-29 16:41:04 -07:00
Michael Goderbauer
f6d473bbd7 Enable analysis for all of dart:ui (flutter/engine#34988) 2022-07-29 05:29:03 +00:00
Zachary Anderson
3c6cfa3754 Remove soon to be deprecated analysis options (flutter/engine#32275) 2022-03-26 17:12:23 -07:00
Devon Carew
c0891990cc refactor and simplify CI dart analysis (flutter/engine#27370) 2021-07-13 21:11:01 -07:00
Devon Carew
cda2feb215 restore the directives_ordering lint (flutter/engine#27346) 2021-07-13 08:26:02 -07:00
Devon Carew
22df124af6 disable the directives_ordering lint (flutter/engine#27331) 2021-07-12 11:31:46 -07:00
Michael Goderbauer
5d4faf7368 Sync analyzer_options.yaml (flutter/engine#25129) 2021-03-23 17:51:01 -07:00
Greg Spencer
8dcdbfad8b Reland: Remove the Window class now that it is no longer used. (flutter/engine#22566)
Reland #22505, now that flutter/flutter#70637 has landed.

Removes references to dart:ui.Window, and switch usages to PlatformDispatcher or SingletonFlutterWindow, as appropriate.
2020-11-17 16:39:07 -08:00
Yegor
b457938f23 apply null safety syntax to mobile dart:ui (flutter/engine#18933)
* apply null safety syntax to mobile dart:ui
2020-06-12 12:42:12 -07:00
Jason Simmons
8b4d81c16d Disable the import_internal_library analyzer check for dart:ui (flutter/engine#18009)
The latest version of dartanalyzer does not support disabling this for a
specific line of code.
2020-04-28 13:45:47 -07:00
Dan Field
fd0cc9a285 Teach frontend compiler to replace toString with super.toString for selected packages (flutter/engine#17068)
Adds annotation `keepToString` to opt out.
2020-03-17 15:40:09 -07:00
Dan Field
44c0db9c57 implicit casts and add missing docs (flutter/engine#15698) 2020-01-16 17:03:33 -08:00
Dan Field
ad95a1aa04 dart analysis of tests, cleanup (flutter/engine#13033) 2019-10-09 15:13:29 -07:00
Dan Field
c96714ac5d new lints (flutter/engine#8849)
Dart lints added:
* Avoid optional new
* Avoid optional const
* Prefer single quotes
* Prefer default assignment `=`
2019-05-07 16:10:21 -07:00
Dan Field
2eae3feaaf fix up analysis for Dart in Engine (flutter/engine#7404)
* fix up analysis for Dart in Engine, particularly for tests
2019-01-11 13:50:58 -08:00
Ben Konyi
9cec23702e Background Execution Implementation for iOS (flutter/engine#5539) 2018-07-13 10:55:24 -07:00
Greg Spencer
5a4558f9bf Synchronizes analysis_options.yaml files, and turns on Function typedef lint. (flutter/engine#5419)
Addresses flutter/flutter#18028 for the engine repo, and synchronizes the analysis_options.yaml files between the engine and the flutter/flutter repo.
2018-05-30 16:06:05 -07:00
Ian Hickson
28564ac5f9 Analysis cleanup of the Dart in the Engine repo (flutter/engine#4554)
* Analysis cleanup of the Dart in the Engine repo

* Update painting.dart

* Update painting.dart
2018-01-17 09:48:56 -08:00
Alexander Aprelev
c5c4abaeff Introduce frontend_server that flutter tools will use for compilation. (flutter/engine#3982)
* Introduce frontend_server that allows for interactive and batch modes.

Example of batch mode:
```
$ dart $HOME/p/f/t11/flutter/engine/src/flutter/frontend_server/bin/server.dart --sdk-root=$HOME/p/f/t11/flutter/engine/src/out/android_debug/flutter_patched_sdk --platform-kernel-dill=$HOME/p/f/t11/flutter/engine/src/out/android_debug/flutter_patched_sdk/platform.dill $HOME/p/f/t11/flutter/flutter/examples/flutter_gallery/lib/main.dart

out: result 79256789-598c-4909-a9e4-0ef36d4c26ba
out: 'State&TickerProviderStateMixin^#U0^' is exported from both 'package:flutter/src/widgets/animated_cross_fade.dart' and 'package:flutter/src/widgets/animated_list.dart'.
...
out: Superclass has no method named 'hitTest'.
out: 79256789-598c-4909-a9e4-0ef36d4c26ba $HOME/p/f/t11/flutter/flutter/examples/flutter_gallery/lib/main.dart.dill
$
```

Example of interactive mode - communication via stdin/stdout:
```
$ dart $HOME/p/f/t11/flutter/engine/src/flutter/frontend_server/bin/server.dart --sdk-root=$HOME/p/f/t11/flutter/engine/src/out/android_debug/flutter_patched_sdk --platform-kernel-dill=$HOME/p/f/t11/flutter/engine/src/out/android_debug/flutter_patched_sdk/platform.dill --incremental

out: Frontend server is ready.
in: compile abc.dart
out: result fd99c0f9-12bb-4083-818e-2521d454fdc8
out: fd99c0f9-12bb-4083-818e-2521d454fdc8 abc.dart.dill
in: accept
in: recompile kuka
in: 123.dart
in: 456.dart
in: kuka
out: result d12f8d05-6c79-44f7-a775-1d3469e1be53
in: quit
$
```

* Add test. Cleanup dependencies.

* One more test with mocks

* Remove platform-kernel option. Refactored CompilerOptions. Clean up comments.

* Update license

* Use Uri.base.resolve consistently. Ensure folder path for sdk root. Fix test.

* Fix main_dart for frontend_server build target

* Reintroduce .packages file, add README.md, revert changes to licenses_flutter

* Run analyzer on frontend-server. Update .packages deps so tests can be run too.

* Add analyzer options file

* Clean up dependencies

* Add frontend_server files to license file back

* Fix comment in analysis_options.yaml

* Run frontend_server tests in travis

* Update licenses

* Change a+x permission on travis/test.sh

* pub get before pub run test

* Fix path to when

* Clarify accept/reject instructions

* Formatting, fixed docs, style

* Update license script to skip .travis.yml, when/example. Update license file.

* Update style nits

* Fix license

* Trim license extracted text. Fix licenses

* Update licenses_third_party signature

* Few more tests

* Update dart license

* Update dart license

* Style changes. Fix return value for Future<Null>
2017-08-21 12:55:17 -07:00