4730 Commits

Author SHA1 Message Date
skia-flutter-autoroll
dcf1aeb375 Roll src/third_party/skia c27967f..1b1a557 (4 commits) (flutter/engine#5477)
Auto-roller completed checks. Merging.
2018-06-06 10:15:32 -04:00
skia-flutter-autoroll
48bee0265d Roll src/third_party/skia 79725d3..c27967f (1 commits) (flutter/engine#5476)
Auto-roller completed checks. Merging.
2018-06-06 06:49:03 -04:00
Sigurd Meldgaard
916d9eb5fc App life cycle delegate (flutter/engine#5302)
* Move the handling of delegating AppDelegate callback out of FlutterAppDelegate.

Also moves the plugin registry to FlutterViewController. So each view-controller will handle its
own plugins.

This is intended to simplify including one or more Flutter views in an existing iOS app and giving
more precise control of plugin registration.

Fixes: https://github.com/flutter/flutter/issues/16539

* formatting

* Update license golden file

* Fixed type error

* FREEZE.unindexed

* Fix Header types

* Revert "FREEZE.unindexed"

This reverts commit bebb70056c9bcb90b4321bdc2873896623ed6faa.
2018-06-06 10:49:40 +02:00
skia-flutter-autoroll
f76403c9eb Roll src/third_party/skia 3857fbf..79725d3 (2 commits) (flutter/engine#5475)
Auto-roller completed checks. Merging.
2018-06-05 22:32:32 -04:00
skia-flutter-autoroll
cc4d347623 Roll src/third_party/skia 5e6853d..3857fbf (5 commits) (flutter/engine#5472)
Auto-roller completed checks. Merging.
2018-06-05 19:07:32 -04:00
Zachary Anderson
e95110f16f Adds dynamic, interpreter configs to tools/gn (flutter/engine#5446)
Adds --dynamic and --interpreter flags to
tools/gn. These flags result in engines with
properties as follows:

--dynamic:
- JIT targeting native code on Android and
  DBC on iOS

--interpreter
- Target DBC even if running on Android.

For example:

gn --android --dynamic --interpreter --runtime-mode release

Will generate an engine:
- Without Dart asserts
- Without Observatory
- With JIT compililation to DBC

into out/android_dynamic_release_dbc
2018-06-05 14:52:52 -07:00
Stanislav Baranov
5c89db5409 Remove unused argument. (flutter/engine#5471) 2018-06-05 13:11:18 -07:00
skia-flutter-autoroll
17ca031b56 Roll src/third_party/skia 8f9c325..5e6853d (5 commits) (flutter/engine#5470)
Auto-roller completed checks. Merging.
2018-06-05 15:41:32 -04:00
Alexander Aprelev
c22bbb1a0a Roll buildroot to 71c24e682181d0b6a7e3974e5a678678650f4da3 (flutter/engine#5469) 2018-06-05 11:25:09 -07:00
skia-flutter-autoroll
ee8441b9d2 Roll src/third_party/skia 4295859..8f9c325 (6 commits) (flutter/engine#5468)
Auto-roller completed checks. Merging.
2018-06-05 12:17:31 -04:00
Alexander Aprelev
da47083cc5 Roll dart to a5e41681e55d1e74684bfff530218db556d77ee8 (flutter/engine#5467)
* Roll dart to a5e41681e55d1e74684bfff530218db556d77ee8.

* Update license
2018-06-05 08:35:44 -07:00
skia-flutter-autoroll
088ca01a74 Roll src/third_party/skia 9856c3d..4295859 (1 commits) (flutter/engine#5466)
Auto-roller completed checks. Merging.
2018-06-05 08:51:31 -04:00
skia-flutter-autoroll
771f46f12d Roll src/third_party/skia 4588ff3..9856c3d (1 commits) (flutter/engine#5465)
Auto-roller completed checks. Merging.
2018-06-05 05:25:31 -04:00
Mikkel Nygaard Ravn
dcbfb0277c Update FlutterPluginRegistrxxx docs for iOS (flutter/engine#5415) 2018-06-05 08:19:07 +02:00
skia-flutter-autoroll
2ab075b6b1 Roll src/third_party/skia ddd92dc..4588ff3 (1 commits) (flutter/engine#5464)
Auto-roller completed checks. Merging.
2018-06-05 01:57:31 -04:00
skia-flutter-autoroll
35423abfd5 Roll src/third_party/skia 5034384..ddd92dc (3 commits) (flutter/engine#5463)
Auto-roller completed checks. Merging.
2018-06-04 22:32:32 -04:00
skia-flutter-autoroll
3f4450829a Roll src/third_party/skia 69d0e51..5034384 (2 commits) (flutter/engine#5462)
Auto-roller completed checks. Merging.
2018-06-04 19:07:31 -04:00
Chinmay Garde
f2875584e3 Fix Dart project configuration for headless Dart runners. (flutter/engine#5461) 2018-06-04 15:01:58 -07:00
Jason Simmons
455786e30a libtxt: fix bug in calculating line end positions excluding whitespace (flutter/engine#5459)
Fixes https://github.com/flutter/flutter/issues/18014
2018-06-04 13:28:38 -07:00
egdaniel
c853d53156 Remove uses of ReleaseOwnership from vulkan backend (flutter/engine#5458)
* Remove uses of ReleaseOwnership from vulkan backend.

Flutter no longer needs to release ownership of objects to skia so this change removes the api calls.

* Remove Release call from vulkan_device.cc

* Update vulkan_application.h

* Update vulkan_application.cc

* Update vulkan_handle.h
2018-06-04 15:46:24 -04:00
skia-flutter-autoroll
5672a9b6a1 Roll src/third_party/skia 7c93472..69d0e51 (3 commits) (flutter/engine#5460)
Auto-roller completed checks. Merging.
2018-06-04 15:40:31 -04:00
egdaniel
800005b4c9 Update GrVkBackendContext to no longer own the VkInstance and VkDevice (flutter/engine#5457)
This changes the ownership of the VkInstance and VkDevice back to the flutter's objects. I am trying to move skia into a world where GrVkBackendContext is purely a description of the vulkan context skia should use and is just passed in during GrContext creation. It shouldn't need to be ref counted or actually do work in destructor (those changes to come later). This is just a first step towards getting there.
2018-06-04 14:46:12 -04:00
Jason Simmons
05f8cdb39b libtxt: support per-locale fallback font collections (flutter/engine#5434)
A given character may render differently in various locales, and fonts on the
host system may be tagged with locale metadata in order to support this.
If the text renderer needs to find a fallback font for a character, it should
pass the preferred locale to Skia's font manager which can use it to find the
best matching font.

The font collection also needs to maintain different caches of fallback fonts
for each locale.

See https://github.com/flutter/flutter/pull/17879
2018-06-04 10:55:43 -07:00
skia-flutter-autoroll
3bf884ee11 Roll src/third_party/skia 728b7f3..7c93472 (6 commits) (flutter/engine#5455)
Auto-roller completed checks. Merging.
2018-06-04 12:15:31 -04:00
Martin Kustermann
6f027b6744 Roll Dart SDK to 1fe279d859 (flutter/engine#5454)
This includes the following commits

  dart-lang/sdk@1fe279d859 (origin/master, origin/HEAD) Fix _FutureListener.handleError() to use explicit type for Zone.runBinary
  dart-lang/sdk@a9257d05fb [vm] Prepare status files for dartk reload/rollback builders (#33126)
  dart-lang/sdk@6ac6baae8e Record interfaceTargets for calls on dynamic receivers
  dart-lang/sdk@82755aa303 Rename ClosedWorld to JClosedWorld and merge it with ClosedWorldRefiner
  dart-lang/sdk@b58cc36ddc Extract KClosedWorld from ClosedWorld.
  dart-lang/sdk@9a193853d4 [VM] Mark a few tests as passing
  dart-lang/sdk@5c2cec0e19 Make _FilesReferencingNameTask faster by using maintained FileSystemState.knownFiles list.
  dart-lang/sdk@5269e21913 Fix for MockSdk on Windows.
  dart-lang/sdk@d0b28d2040 Fix analysis_server tests on Windows.
  dart-lang/sdk@9d83013040 Use known FileState from FileSystemState directly.
  dart-lang/sdk@b3b528648b Discover all SDK libraries.
  dart-lang/sdk@41e1d2cc28 [dart2js] Fix --csp
  dart-lang/sdk@56424f08a8 [js_runtime] Test for JavaScriptFunction type tests.
  dart-lang/sdk@5f9fcd0bbc [vm, x64] Remove embedded address from the implementation of math.min/max.
  dart-lang/sdk@025cee6f1f Skip tests of snapshot determinism on Windows.
  dart-lang/sdk@6ba8c711fa Observatory strong mode fix: expand the class hierarchy for debug events.
  dart-lang/sdk@f3502f9051 Fix bug in RTI optimization
  dart-lang/sdk@d319d3eda4 [vm/kernel/bytecode] Do not generate bytecode for external (native) members
  dart-lang/sdk@7246d2e759 Fix exception in fix processor (issue 33312)
  dart-lang/sdk@b19560e7ad Implement stubs for the remaining converted generators
  dart-lang/sdk@b7266fa3b3 [vm/kernel/bytecode] Support async/async*/sync* in bytecode generator
  dart-lang/sdk@c6cf61752e Update PluginWatcherTest to the fact that async functions start running synchronously.
  dart-lang/sdk@e1549df93f Fix regression introduced in 'Use AbstractValue in most of ssa'
  dart-lang/sdk@184df3aee0 Make AnalysisServer.getAnalysisResult() sync to avoid changing behavior between Dart1 and Dart2.
  dart-lang/sdk@99a5f149ac [vm] Enable type stubs based type checks in JIT mode for some types.
  dart-lang/sdk@90c4215af4 [vm] Adds full GC check on all external allocations
  dart-lang/sdk@bef7cd354f Observatory strong mode fix: Use .nodes= instead of .children= to accommodate text nodes.
  dart-lang/sdk@72aae537a2 Observatory strong mode fix: clean up port mocking.
  dart-lang/sdk@312f02532a [js_runtime] JavaScriptFunction matches any Dart function type
  dart-lang/sdk@c8860b4ca2 Remove all uses of --limit-ints-to-64-bits VM option
  dart-lang/sdk@5db95fbb61 Upgrade mockito to latest version.
  dart-lang/sdk@1bc9b8d00c Mark ContextRoot.pathContext constructor argument as required.
  dart-lang/sdk@b7bc0d06c4 Fix state machine in _DiscoverAvailableFilesTask.perform
  dart-lang/sdk@2c44dc11c7 Improve type variable recovery
  dart-lang/sdk@789ceee184 Update version number in DEPS for dart2js_info pkg
  dart-lang/sdk@0629e3afa5 [VM] Fix vm/cc/DartAPI_TypeGetParameterizedTypes test
  dart-lang/sdk@e18fd7c3e7 Remove the test for getNavigation() and removing the analysis context.
  dart-lang/sdk@2a545d7153 Initial implementations for some of the generator methods
  dart-lang/sdk@5f42fe5822 Simplify DartCompletionContributorTest.computeSuggestions() async behaviour.
  dart-lang/sdk@f6ece48aba Fix the test that want to run async code to be async.
  dart-lang/sdk@e9a60098bb [VM] Use UserVisibleName for types in error messages reported to users to make the error more clear. This fixes the case in issue 33303.
  dart-lang/sdk@cb07f74f4b Clean up some of analyzers generators based on feedback
  dart-lang/sdk@e9818eefd8 Update analyzer status about type parameters on constructors.
  dart-lang/sdk@6f68bec1bc TBR: Typos fixed
  dart-lang/sdk@545ad130a2 Fix a couple of bugs in the analyzer forest implementation
  dart-lang/sdk@85b4a799eb Search references to elements and subtypes in all known (and discovered) files.
  dart-lang/sdk@4fb6395058 Report error when a constructor has type parameters.
  dart-lang/sdk@315a186dc4 Better test error handler argument types.
  dart-lang/sdk@0aadba1189 Revert "[vm] Enable type stubs based type checks in JIT mode for some types."
  dart-lang/sdk@4be50d6fa1 [vm] Enable type stubs based type checks in JIT mode for some types.
  dart-lang/sdk@1d8bef0d89 Remove class TypeInferenceEngineImpl
  dart-lang/sdk@dd83e698d8 Add 64-bit integer semantics to the specification.
  dart-lang/sdk@a10eda4988 update dart2js status files
  dart-lang/sdk@6458b5da2f Always include added files into the list of files to discover.
  dart-lang/sdk@c984e63f61 Skip tests of snapshot determinism in checked mode.
  dart-lang/sdk@99dadf4d7f Remove unneeded (and incorrectly typed) mock step
  dart-lang/sdk@f87933d845 Introduce tests specific to behaviors of FunctionType.
  dart-lang/sdk@64cfdb4cc6 Remove _explicitTypeParameters and substitute4 from FunctionTypeImpl.
  dart-lang/sdk@b930ae19b1 Fix regression in deferred loading (part2)
  dart-lang/sdk@a0c4ac14c1 Omit redundant bounds check for Dart2 on typed setters/getters.
  dart-lang/sdk@2ad29cbd15 Remove unnecessary uses of toExpression
  dart-lang/sdk@7a76a40438 Add several other generators
  dart-lang/sdk@483c42b899 Switch dart2js to use dart 2 vm.
  dart-lang/sdk@f5d991e6a1 Support extracting selected statements into a new Flutter widget.
  dart-lang/sdk@89c2da2846 Add generator for unlinked names
  dart-lang/sdk@c911a1bef6 Clean up additional dart2js strong mode runtime error and don't add method type variable in dart 1 version.
  dart-lang/sdk@9a02f5bf4d [vm/kernel] Fix bugs with expression evaluation in debug mode.
  dart-lang/sdk@0aad13db00 Revert 'Copy @failingTest annotations to mixin applications.'
  dart-lang/sdk@41c5da8919 [vm] Fix non-reproducibility of VM builds.
  dart-lang/sdk@e8659b0f28 Remove skipTypeVariables
2018-06-04 16:28:07 +02:00
skia-flutter-autoroll
9a806ab66b Roll src/third_party/skia fd6a52c..728b7f3 (1 commits) (flutter/engine#5453)
Auto-roller completed checks. Merging.
2018-06-03 07:36:31 -04:00
skia-flutter-autoroll
71452a0e0f Roll src/third_party/skia a09981c..fd6a52c (1 commits) (flutter/engine#5452)
Auto-roller completed checks. Merging.
2018-06-02 12:49:31 -04:00
skia-flutter-autoroll
ae88c59253 Roll src/third_party/skia a694870..a09981c (2 commits) (flutter/engine#5451)
Auto-roller completed checks. Merging.
2018-06-02 02:25:31 -04:00
skia-flutter-autoroll
f01b1db7b2 Roll src/third_party/skia 257c1fb..a694870 (2 commits) (flutter/engine#5450)
Auto-roller completed checks. Merging.
2018-06-01 22:59:53 -04:00
Chinmay Garde
23fd79d790 Parse --verbose-logging flag from intent and pass to the engine as args. (flutter/engine#5447) 2018-06-01 17:34:45 -07:00
Jason Simmons
b3c936ed84 Log an error and cancel DartVM init if the VM/isolate snapshots are invalid (flutter/engine#5449)
See https://github.com/flutter/flutter/issues/18101
2018-06-01 17:34:25 -07:00
skia-flutter-autoroll
5638561c87 Roll src/third_party/skia 2ab87fc..257c1fb (6 commits) (flutter/engine#5448)
Auto-roller completed checks. Merging.
2018-06-01 19:35:31 -04:00
Ian Hickson
127b1e271a Update CONTRIBUTING.md (flutter/engine#5444) 2018-06-01 13:24:53 -07:00
skia-flutter-autoroll
eedb8353f0 Roll src/third_party/skia 7abeb28..2ab87fc (12 commits) (flutter/engine#5445)
Auto-roller completed checks. Merging.
2018-06-01 16:10:31 -04:00
Stanislav Baranov
9054d0f274 Restore archive support removed in #5305. Codepush bundles use zip. (flutter/engine#5441) 2018-06-01 12:46:27 -07:00
Alexander Markov
b7cc2b98b0 Remove --limit-ints-to-64-bits Dart VM option (flutter/engine#5442) 2018-06-01 11:05:38 -07:00
Mehmet Fidanboylu
4d4a42b63c Fix lint errors to prepare for building Android files in Google (flutter/engine#5440) 2018-06-01 10:16:50 -07:00
skia-flutter-autoroll
2778eea662 Roll src/third_party/skia 22f673d..7abeb28 (9 commits) (flutter/engine#5439)
Auto-roller completed checks. Merging.
2018-06-01 12:44:52 -04:00
skia-flutter-autoroll
0f7005e4b8 Roll src/third_party/skia c4952be..22f673d (4 commits) (flutter/engine#5438)
Auto-roller completed checks. Merging.
2018-06-01 09:19:31 -04:00
skia-flutter-autoroll
1d1ad3e336 Roll src/third_party/skia db33ee1..c4952be (1 commits) (flutter/engine#5437)
Auto-roller completed checks. Merging.
2018-06-01 06:00:37 -04:00
skia-flutter-autoroll
8e6d62e0d1 Roll src/third_party/skia e70c5fb..db33ee1 (1 commits) (flutter/engine#5436)
Auto-roller completed checks. Merging.
2018-05-31 23:42:37 -04:00
Chris Bracken
0af21267a3 Eliminate arm64 restriction in iOS framework plist (flutter/engine#5435)
Eliminates the declaration that only arm64 is supported in
Flutter.framework's Info.plist. This causes Xcode's app thinning tools
to remove Flutter.framework in thinned archives for armv7 devices.
2018-05-31 18:51:32 -07:00
skia-flutter-autoroll
737267bb90 Roll src/third_party/skia 458f40a..e70c5fb (4 commits) (flutter/engine#5433)
Auto-roller completed checks. Merging.
2018-05-31 20:17:37 -04:00
liyuqian
fe69e3eea1 Call SkAutoCanvasRestore with doSave = true (flutter/engine#5432)
Although we do have a save before this SkAutoCanvasRestore so we
can theoretically send in doSave = false, it's safer to set doSave
to true to prevent future breakage.

As discussed with mtklein@google.com and reed@google.com, saving
canvas is very cheap in Skia so this should have no performance
impact. Skia is also considering remove doSave argument from
SkAutoCanvasRestore and always save the canvas.
2018-05-31 16:41:58 -07:00
Alexander Markov
e471ead9f3 Roll Dart SDK to 1a185867a996a91be5fdd1535d89e7d3750d0050 (flutter/engine#5431)
dart-lang/sdk@1a18586 Search for element declarations in discovered available files.
dart-lang/sdk@7e899d0 Add fix-all in file fixes for the 2 additional dart analysis server fix types: USE_NOT_EQ_NULL and USE_EQ_EQ_NULL
dart-lang/sdk@eb82559 Reapply "[vm] Add tests for determinism of script and AppJIT snapshots."
dart-lang/sdk@f66769c Add duplicate shown/hidden name analyzer note to changelog
dart-lang/sdk@95afe41 Add an implementation of the UnresolvedNameGenerator for analyzer
dart-lang/sdk@fcb41fb Replace more calls to parseTypeVariablesOpt with computeTypeParamOrArg
dart-lang/sdk@8e00451 Add fix-all in file fixes for the 3 additional dart analysis server fix types: ADD_NE_NULL, REMOVE_UNNECESSARY_CAST, REPLACE_BOOLEAN_WITH_BOOL
dart-lang/sdk@b75da96 Move all type mask code to inferrer/typemasks and use it via an AbstractValueStrategy
dart-lang/sdk@7ce2432 Add UnlinkedScope
dart-lang/sdk@8e92598 [infra] Add config for custom hunk text when using git diff on status files
dart-lang/sdk@14b9d7f [infra] Prepare test.py for the --preview-dart-2 VM flag flip
dart-lang/sdk@00f75ad Emit a compile-time error on incorrect types of initializing formals
dart-lang/sdk@b62b438 Infer Object members for dynamic receivers
dart-lang/sdk@b3bae42 Fix a batch of long lines
dart-lang/sdk@796f530 Report FieldInitializerOutsideConstructor error in BodyBuilder
dart-lang/sdk@e1ffb22 Remove Declaration.prepareTopLevelInference
dart-lang/sdk@ff8100d [infra] Add dartk reload/rollback configurations to test matrix
dart-lang/sdk@b851714 Remove Declaration.computeLibraryUri
dart-lang/sdk@5ecd782 [kernel] Add an option to the cloner for cloning annotations
dart-lang/sdk@bb0808d Replace Builder by Declaration
dart-lang/sdk@39b0efd Handle generic jsinterop classes as type arguments.
dart-lang/sdk@c6129f7 Use AbstractValue in the rest of type inference
dart-lang/sdk@947760f Use AbstractValue in much of inference
dart-lang/sdk@3dd70ce Usa AbstractValue in the rest of ssa
dart-lang/sdk@bbef9ae Use AbstractValue in most of ssa
dart-lang/sdk@aecf8e8 Use AbstractValue in KernelToTypeInferenceMap and KernelTypeGraphBuilder
dart-lang/sdk@032925c Remove obsolete features
dart-lang/sdk@715c14c Added changelog entry for member conflict updates
dart-lang/sdk@08c893d Simplify class member conflict rules.
dart-lang/sdk@377eb52 [vm/kernel/bytecode] Add library reference and invocation kind to ConstantICData
dart-lang/sdk@a53b585 Fix more Analyzer tests
dart-lang/sdk@fa9ff9a Fix regression in deferred loading.
dart-lang/sdk@2911f1f More dart2js strong mode cleanup.
dart-lang/sdk@b6d20fa Enable the fix-all feature for the DartFixKind.ADD_EXPLICIT_CAST fix, tests been added as well.
dart-lang/sdk@a1f6aa8 improve speed of dartdevk SDK and ddc test package summary build
dart-lang/sdk@9e3842d Observatory strong mode fix: fix type errors with onDisconnect.
dart-lang/sdk@3027302 [VM] Fix for issue 33277 (skip HasAttemptedReload check for kernel      isolate too).
dart-lang/sdk@0e3ca9a Fix strong mode runtime error in dart2js.
dart-lang/sdk@3d2b660 Reland "[vm] Support definition of entry-points via @pragma('vm.extern') annotations.""
dart-lang/sdk@fb4f887 [vm/kernel/aot] Fix recognition of native methods after annotations are constant evaluated
dart-lang/sdk@753d954 Move to dartdoc 0.20.0 and enable preview-dart-2.
dart-lang/sdk@39d902b Update pubspec to indicate that analyzer_plugin supports the latest analyzer.
dart-lang/sdk@bfeb80a Observatory strong mode fixes: fix some int/double mismatches.
dart-lang/sdk@7fc88c4 Observatory strong mode fix: add required calls to .toList().
dart-lang/sdk@fe3bba8 Switch integration tests to use a snapshot for the analysis server.
dart-lang/sdk@cc9c8f9 Add HintCode for duplicate shown/hidden names
dart-lang/sdk@e7bad54 Make dart2js only run with 64 bit ints, not the larger ints from the vm.
2018-05-31 14:50:38 -07:00
skia-flutter-autoroll
353f00a594 Roll src/third_party/skia 0390d3e..458f40a (14 commits) (flutter/engine#5430)
Auto-roller completed checks. Merging.
2018-05-31 16:51:37 -04:00
skia-flutter-autoroll
627f3bbff4 Roll src/third_party/skia e45752e..0390d3e (8 commits) (flutter/engine#5429)
Auto-roller completed checks. Merging.
2018-05-31 13:19:37 -04:00
cary-clark
937d250db6 call existing ostream operator for SkMatrix (flutter/engine#5427)
This permits removing the call to SkMatrix::toString(), which is deprecated.
2018-05-31 09:55:57 -04:00
skia-flutter-autoroll
63e41544ec Roll src/third_party/skia 588f879..e45752e (24 commits) (flutter/engine#5428)
Auto-roller completed checks. Merging.
2018-05-31 09:50:37 -04: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