25 Commits

Author SHA1 Message Date
Alexander Markov
0d151816c3
Remove uses of Dart VM bytecode mode from Flutter engine (#21741) 2020-10-09 16:34:08 -07:00
Clement Skau
7dfcde1ff1
[Fix] Replaces call to deprecated method Name.name. (#21241) 2020-09-25 08:40:55 -07:00
Chris Bracken
36f7f3ca82
Copyright header hygiene improvements (#21089)
Add copyright headers in a few files where they were missing.

Trim trailing blank comment line where present, for consistency with
other engine code.

Use the standard libtxt copyright header in one file where it differed
(extra (C) and comma compared to other files in libtxt).

This also amends tools/const_finder/test/const_finder_test.dart to look
for a const an additional four lines down to account for the copyright
header added to the test fixture.
2020-09-11 08:55:37 -07:00
Siva
b955e15ee9
Manual roll of Dart from 24c7666def...40fd1c456e (#20092)
* Manual roll of Dart from 24c7666def...40fd1c456e

dart-lang/sdk@40fd1c456e Revert "[dart:io] Add Abort() on HttpClientRequest"
dart-lang/sdk@17d7296a42 [vm/nnbd/bytecode] Fix reuse of type arguments in bytecode
dart-lang/sdk@58b6f40c73 Issue 42797. Understand in legacy libraries that a function returning Never (in Null Safety library) never returns. (reland)
dart-lang/sdk@fc8a6d9f9b [VM/compiler] Dereference TypeRef literal when propagating constants.
dart-lang/sdk@0689ec527a Move "test.dart" (well, most of its contents) into pkg/test_runner.
dart-lang/sdk@1094b3c61d Prepare static error test updater tool to handle web tests.
dart-lang/sdk@b258585f2f [observatory] Migrate from deprecated isInstanceOf to isA.
dart-lang/sdk@dfe1d9b682 Disable OverrideContributor for Cider.
dart-lang/sdk@aea99b2f5c scope debug property assist to Diagnosticables
dart-lang/sdk@4b96f20a79 [dart:io] Add Abort() on HttpClientRequest
dart-lang/sdk@1b1a39708c [build] Use frameworks instead of libs
dart-lang/sdk@3fef522496 Revert "Reland "[vm] Replaces fuchsia.deprecatedtimezone""
dart-lang/sdk@8c664d4f3f Revert "Issue 42797. Understand in legacy libraries that a function returning Never (in Null Safety library) never returns."
dart-lang/sdk@2efb5bebc7 [ dart:_http ] Fix typo in HTTP response timeline event
dart-lang/sdk@0884dae36c Revert "Fix the #include path for ICU headers"
dart-lang/sdk@5171534e81 Scope tweaks. Report REFERENCED_BEFORE_DECLARATION in more places.
dart-lang/sdk@6bba75079a Issue 42797. Understand in legacy libraries that a function returning Never (in Null Safety library) never returns.
dart-lang/sdk@b4ebbb7f5c [build] Update gn to match Fuchsia
dart-lang/sdk@cb428a7a02 [dart2js] Remove old bug work around in collector.
dart-lang/sdk@08663c20ab Change flutter patch to match existing DEPS on master branch
dart-lang/sdk@146ad014d9 update js/meta for the 2.10 dev sdk
dart-lang/sdk@488c718793 [co19] Roll co19 to d79951e06e443213243e54c2c32694b79a221b65
dart-lang/sdk@ba20edd7be Add patch for flutter-engine when changing to version 2.10

* Rev buildroot to latest version.

* Update license.

* update.

* Update gn revision.

* Format BUILD.gn files as the gn revision has been updated.
2020-07-29 13:10:15 -07:00
Jonah Williams
3fb6899e0e
[null-safety] remove package references from flutter frontend-server test, ci analyze (#19810) 2020-07-16 12:16:02 -07:00
David Worsham
bce366bddc
fuchsia: Remove dead flutter_frontend_server code (#19500) 2020-07-06 13:09:05 -07:00
Jonah Williams
9837bb062c
generate package config during runhooks (#19428)
The dart SDK needs to ship several packages which have opted into null safety for the tech preview. This requires the use of a package_config.json for compilation as this file contains the language versions. Use a dart script to generate the package_config file from the .packages file, and include that in the DEPS hooks section.

Fixes flutter/flutter#60628
2020-06-30 17:48:36 -07:00
Anna Gringauze
ee4d641e3f
Added experimental-emit-debug-metadata flag to flutter frontend server (#19168)
- Added a --experimental--emit-debug-metadata flag to Flutter frontend server
- False by default
- Passed to the frontend server in the SDK
   - Introduced in change https://dart-review.googlesource.com/c/sdk/+/150181
2020-06-23 10:08:35 -07:00
liyuqian
a82343befa
Add build_and_test_linux_release presubmit test (#17073) 2020-04-01 18:46:04 -07:00
Anna Gringauze
946df02dc6
Enable expression evaluation in the debugger for web (#17324) 2020-03-27 16:09:40 -07:00
Dan Field
cda57c14cb
Do not drop toString for enums (#17352) 2020-03-26 13:11:54 -07:00
Dan Field
034f913b98
Teach frontend compiler to replace toString with super.toString for selected packages (#17068)
Adds annotation `keepToString` to opt out.
2020-03-17 15:40:09 -07:00
Jonah Williams
99cdc4ad83
[frontend_server] forward new module name flag (#17002) 2020-03-09 10:51:04 -07:00
Anna Gringauze
c9e7713b50
Fix analyzer warnings for frontend_server change (#16470)
- added temporary ignore for annotate_overrides analyzer warning,
  will remove the ignore in a follow-up PR after the SDK change
  https://dart-review.googlesource.com/c/sdk/+/134561 lands.
- run dartfmt
2020-02-06 13:37:20 -08:00
Anna Gringauze
810b9b91e2
supporting changes for evaluation in web debugger (#16309)
add compileExpressionToJs in frontend server in preparation for coming
  evaluation changes in the SDK
2020-02-03 13:20:15 -08:00
Chinmay Garde
f7b78e001d
Remove all uses of the redundant flutter_root variable. (#16311)
This was only necessary when the Engine had to build in multiple buildroots
where the sources where checked out at different paths relative to the
buildroot. This is no longer the case and there are already cases GN rules
have been written that mix and match variable usage with the direct
specification of the path to the Flutter sources relative to the sole buildroot.
2020-01-31 21:49:48 -08:00
Dan Field
1970c0624d
implicit casts and add missing docs (#15698) 2020-01-16 17:03:33 -08:00
Jonah Williams
8df3eb8057
Add dev_compiler and frontend_server to package uploading rule (#13926) 2019-11-22 12:27:06 -08:00
Kaushik Iska
97df087ee6
[fuchsia] Package flutter_frontend_server snapshot for fuchsia (#13865) 2019-11-14 14:18:19 -08:00
Jason Simmons
7069025a32
Reformat BUILD.gn files to comply with the format checker presubmit script (#13401) 2019-10-29 09:49:16 -07:00
Jason Simmons
63241844c6
Update the dependencies for the Fuchsia build of flutter_frontend_server (#13316) 2019-10-23 12:47:51 -07:00
Jason Simmons
704be8b613
Fix an output file path for the frontend server package_incremental script (#13154) 2019-10-16 11:37:28 -07:00
Jason Simmons
a94ed34d0b
Merge the Fuchsia frontend_server build script into the new flutter_frontend_server target (#13145) 2019-10-15 12:53:41 -07:00
Ryan Macnak
4c3e87cb37
[frontend_server] Include bytecode generation in the training run. (#13126) 2019-10-15 10:40:11 -07:00
Alexander Aprelev
034a630220
Roll dart to aece1c1e92. (#12997)
* Roll dart to aece1c1e92.

Changes since last roll:
```
aece1c1e92 Update compile_flutter.sh after vm -> frontend_server rename
9293e26fc9 [gardening] Fix flutter hhh patch.
13fbf569f6 [flutter] split frontend_server from vm package
a389015083 Rewrite MethodInvocation to FunctionExpressionInvocation when the target is not a method.
ae251757a9 [vm,aot,bytecode] Performance fixes
01ebf92dde [VM] Consume extension member/is late flag setting when reading kernel file.
8e05cd278c [vm, bytecode] Emit bytecode without ASTs by default.
4539536b34 [eventhandler] generalize socket initialization
7115687beb NNBD i13n: Add a description for discarding just the condition
2bcaf02582 (origin/base) Update dartdoc to 0.28.7.
a0e8c7712d [dart2js] New RTI: Prevent elision of precomputed1 and remove unneeded read.
c38e19cbbe [vm/compiler] bit utilities
f918214f36 Add a unit test reproducing issue #38352.
ad47b1ca64 Remove summary1, part 2.
0881a4a691 Reland "Deprecate TypeParameterTypeImpl.getTypes()"
d93a6b596b Prepare to publish analyzer version 0.38.5
d5feab0c53 [vm] Create builds for LeakSanitizer, MemorySanitizer and ThreadSanitizer.
8c5236f55e [vm/ffi] Fix host-target word mismatch breaking AOT callbacks in ARM_X64.
5f7b837195 Remove unused FunctionElementImpl_forLUB.
2c75771611 Write and read the static type of IntegerLiteral.
b00453c68a Create synthetic FunctionType in quick fixes.
897e197dd4 Flow analysis: Update AssignedVariablesVisitor to track functions/methods.
55466fd3cc Flow analysis: Remove AssignedVariables.capturedAnywhere.
0a5cf36f14 Make exitFunctionBody safer.
```

* Update license hash
2019-10-08 08:07:39 -07:00