Commit Graph

18842 Commits

Author SHA1 Message Date
Jonah Williams
ca14af6b92 Compatibility pass on flutter/rendering tests for JavaScript compilation. (5) (#33355) 2019-06-10 17:29:46 -07:00
Todd Volkert
1b3fc53595 Consider all non-interactive terminals to be bots (#34179) 2019-06-10 16:32:08 -07:00
Anthony
0bbac72558 [Material] Fix slider track shape to rounded (#34178)
The slider track shape for the onPrimaryColors constructor should be rounded, but it was accidentally changed to rectangular in #31681. This change restores the original behavior. This only affects sliders that are themed with SliderThemeData.onPrimaryColors().
2019-06-10 19:02:44 -04:00
Jonah Williams
c88f64ed50 Compatibility pass on flutter/services tests for JavaScript compilation. (4) (#33354) 2019-06-10 15:46:36 -07:00
Jonah Williams
f530b809b6 Reland: More verification on flutter build web, add tests and cleanup (#34173) 2019-06-10 15:37:23 -07:00
Jenn Magder
c8bf7abeee Disable CocoaPods input and output paths in Xcode build phase and adopt new Xcode build system (#34167)
Updates the Podfile template to use the CocoaPod disable_input_output_paths installation option which prevents the [CP] Embed Pods Frameworks build phase from outputting the Flutter.framework files.
2019-06-10 14:30:28 -07:00
Jonah Williams
c05fa894e6 Compatibility pass on flutter/painting tests for JavaScript compilation. (3) (#33352) 2019-06-10 14:05:51 -07:00
Emmanuel Garcia
8627ff433b Allow multi-abi shared libraries in APKs and App bundles (#34123)
* Gradle generates ELF shared libraries instead of AOT snapshots.
* `flutter build apk/appbundle` supports multiple `--target-platform` and defaults to `android-arm` and `android-arm64`.
* `flutter build apk` now has a flag called `--split-per-abi`.
2019-06-10 13:16:09 -07:00
Jonah Williams
71bfe3be9f Revert "More verification on flutter build web, add tests and cleanup (#34090)" (#34166) 2019-06-10 12:01:14 -07:00
Jonah Williams
354ce1aa5a More verification on flutter build web, add tests and cleanup (#34090) 2019-06-10 11:27:25 -07:00
Jonah Williams
980a574d4c Compatibility pass on flutter/scheduler tests for JavaScript compilation. (2) (#33350) 2019-06-10 10:17:53 -07:00
Jonah Williams
392e825b24 Use product define for flutter web and remove extra asset server (#34159) 2019-06-10 09:54:02 -07:00
Alexander Aprelev
d91797807e Report async callback errors that currently go unreported. (#34081)
* Report async callback errors that currently go unreported.
* Add a test
2019-06-10 09:52:22 -07:00
chunhtai
38a5bbb44e fix empty selection arrow when double clicked on empty read only textfield in ios (#34068) 2019-06-10 09:19:41 -07:00
Kate Lovett
991da4f77f Updating MediaQuery with viewPadding (#33999)
* Updating MediaQuery with viewPadding

* Added tests

* Fixed test

* Updating remove logic & tests

* Diagram and documentation

* Review feedback
2019-06-10 09:10:24 -07:00
Justin McCandless
ce4f15cd69 Toggle toolbar exception fix (#34055)
Stop a text editing error from happening
2019-06-10 08:06:24 -07:00
Jonah Williams
7f7c00a4e9 Enable web foundation tests (#34032) 2019-06-09 11:03:46 -07:00
Jonah Williams
f8f7b89976 Revert "Generate ELF shared libraries and allow multi-abi libs in APKs and App bundles (#33696)" (#34121) 2019-06-08 18:43:25 -07:00
Emmanuel Garcia
966b15b4a4 Generate ELF shared libraries and allow multi-abi libs in APKs and App bundles (#33696)
* Gradle generates ELF shared libraries instead of AOT snapshots.
* `flutter build apk/appbundle` supports multiple `--target-platform` and defaults to `android-arm` and `android-arm64`.
*  `flutter build apk` now has a flag called `--split-per-abi`.
2019-06-08 18:02:32 -07:00
Jonah Williams
587687eedf Revert "Added --dart-flags option to flutter run (#33924)" (#34092) 2019-06-07 19:33:14 -07:00
Ben Konyi
67a529b895 Added --dart-flags option to flutter run (#33924) 2019-06-07 18:53:42 -07:00
Shi-Hao Hong
d3c864de06 Add endIndent property to Divider and VerticalDivider (#34057)
* Fixed indent to properly add to the top and not to the start

* Updated Divider documentation
2019-06-07 18:32:17 -07:00
Jonah Williams
8896f48c0f make running on web spooky (#34084) 2019-06-07 18:17:04 -07:00
Jonah Williams
317e4cb013 don't warn on CHROME_EXECUTABLE missing if we've already located it. (#34079) 2019-06-07 18:16:54 -07:00
Gary Qian
938e4eb636 Add recognizer compatibility API (#34086) 2019-06-07 18:14:54 -07:00
Josh Burton
9223a44b8a Adds the androidX flag to a modules pubspec.yaml template so it is se… (#34066)
This is a small follow up to the previous AndroidX PR: https://github.com/flutter/flutter/pull/31028

This fixes an issue mentioned [here](https://github.com/flutter/flutter/issues/28805) where the androidX flag for a module is not set when creating a new project:

`flutter create --androidx -t module my_flutter`
2019-06-07 16:09:21 -07:00
Christopher Fujino
10d8758b2f add analytics fields for attached device os version & run mode (#34074)
Adds two new custom analytics dimensions: run_target_os_version and run_target_mode_name that are sent with each invocation of flutter run and show up in Google Analytics as "screens".
2019-06-07 16:03:53 -07:00
Gary Qian
c2eaf8359d Reland "Text inline widgets, TextSpan rework (#30069)" with improved backwards compatibility (#34051) 2019-06-07 15:47:23 -07:00
Michael Goderbauer
4cc6880cb2 Remove unused/dead code from Diagnostics (#33996) 2019-06-07 15:07:41 -07:00
Zachary Anderson
b847ba5a63 [flutter_tool] Send build timing to analytics (#34049) 2019-06-07 13:50:45 -07:00
Jonah Williams
bd413bff1b Add flutter create for the web (#34018) 2019-06-07 13:15:38 -07:00
Jonah Williams
ef5fc1ae65 limit open files on macOS when copying assets (#34050) 2019-06-07 12:59:33 -07:00
Amir Hardon
362b999b90 Revert "Prevent exception being thrown on hasScrolledBody (#31485)" (#34061)
This reverts commit ab707aca8f.
2019-06-07 12:43:27 -07:00
Danny Tuppeny
d2e6ab69a2 Increase daemon protocol version for getSupportedPlatforms (#33980) 2019-06-07 07:48:27 +01:00
Jonah Williams
0d6122ad45 skip web test on crazy import (#34017) 2019-06-06 21:26:07 -07:00
Jonah Williams
42a14b5891 Compatibility pass on flutter/foundation tests for JavaScript compilation. (1) (#33349) 2019-06-06 21:22:00 -07:00
Jonah Williams
c91b657116 Codegen an entrypoint for flutter web applications (#33956) 2019-06-06 21:05:55 -07:00
Gary Qian
4e5cf5efb0 Revert "Reland "Text inline widgets, TextSpan rework" (#33946)" (#34002)
This reverts commit 14414f350a.
2019-06-06 18:25:36 -07:00
Gary Qian
3dd87ff78e Revert "Re-add deprecated method for plugin migration compatibility. (#34006)" (#34022)
This reverts commit 160a5680ae.
2019-06-06 16:49:57 -07:00
Michael Goderbauer
926bc6231a Remove print (#34004) 2019-06-06 16:26:12 -07:00
liyuqian
07083a51da Manual roll the engine to land the timing API (#33989)
This will manually land https://github.com/flutter/engine/pull/8983 in
the framework.
2019-06-06 16:11:27 -07:00
stuartmorgan
17d6f6a072 Make plugins Swift-first on macOS (#33997)
Instead of sharing the iOS codepath that uses an ObjC generated plugin
registrant and expecting plugins to have an ObjC interface layer, switch
to generating a Swift registrant and expecting plugins to have a Swift
interface.

This means plugins on macOS that use Swift won't need an ObjC wrapper,
and plugins that use ObjC will need a Swift wrapper (inverting the
structure relative to iOS).
2019-06-06 15:49:24 -07:00
Gary Qian
160a5680ae Re-add deprecated method for plugin migration compatibility. (#34006) 2019-06-06 15:44:06 -07:00
Amir Hardon
7d27550f6f Respond to AndroidView focus events. (#33901)
When an AndroidView gains focus we invoke the(newly introduced)
'TextInput.setPlatformViewClient' text_input system channel method
which sets the platform view as the text input target.

When the AndroidView loses focus we send a clearFocus message to
platform views system channel(so the engine can clear the focus from
the platform view).

This PR is going to land before the engine implementation is rolled to
the framework, we swallow MissingPluginException for the newly
introduced method channel methods so this is a no-op before the engine
is ready(after the engine is rolled with the corresponding change I'll
remove the logic to swallow the exceptions).

The engine counterpart is in: flutter/engine#9203
2019-06-06 14:49:31 -07:00
stuartmorgan
fb8df82c06 Add 'doctor' support for Windows (#33872)
Moves the logic for finding vcvars64.bat to a new VisualStudio class
that encapsulates finding, and providing information about, VisualStudio
installations. Adds a validator for it, and runs it for Windows
workflows in doctor.
2019-06-06 14:02:27 -07:00
stuartmorgan
9751f3e537 Add use_frameworks to macOS Podfile template (#33987)
This wasn't included originally since it didn't seem to be necessary for
macOS in testing, but not having it breaks Swift plugins. This matches
the iOS Swift Podfile template.
2019-06-06 12:43:37 -07:00
Anthony
e1d0ded926 [Material] Create a themable Range Slider (continuous and discrete) (#31681)
Creates a Material Design range slider.

The range slider is based off the updated slider, with the main difference being that it has 2 thumbs.
By default, the thumbs cannot pass each other and both the thumb and the value indicator create a stroke when they are overlapping for better visibility.
2019-06-06 15:31:02 -04:00
Kate Lovett
005fa1c689 Updating names to correct versioning convention (#33865) 2019-06-06 12:15:44 -07:00
Alexander Aprelev
30dbc4c767 Whitelist adb.exe heap corruption exit code. (#33951)
* Whitelist adb.exe heap corruption exit code.

In android platform tools 29.0.0 adb.exe shell seems to be exiting with heap corruption exit code, otherwise producing results as expected. This PR whitelists this exit code on Windows.

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

* Fix condition

* Fix 'shell am start' command

* Fix stop command

* Refactor into runAdbMostlyChecked(Sync/Async)

* runAdbMostlyChecked -> runAdbChecked
2019-06-06 12:01:03 -07:00
Zachary Anderson
5555725fe3 [flutter_tool] Fix 'q' for Fuchsia profile/debug mode (#33846) 2019-06-06 11:16:19 -07:00