- 12 Apr, 2017 1 commit
-
-
Ian Hickson authored
* Fix tests to use Ahem, and helpful changes around that - Fix fonts that had metric-specific behaviours. - LiveTestWidgetsFlutterBinding.allowAllFrames has been renamed to LiveTestWidgetsFlutterBinding.framePolicy. - LiveTestWidgetsFlutterBinding now defaults to using a frame policy that pumps slightly more frames, to animate the pointer crosshairs. - Added "flutter run --use-test-fonts" to enable Ahem on devices. - Changed how idle() works to be more effective in live mode. - Display the test name in live mode (unless ahem fonts are enabled). - Added a toString to TextSelectionPoint. - Style nit fixes. * Roll engine to get Ahem changes. * Update tests for dartdoc changes. * Fix flutter_tools tests
-
- 10 Apr, 2017 1 commit
-
-
Jakob Andersen authored
Added a PluginRegistry to the new project template. The registry files will be automatically updated at build time to register the native plugins. Fixes #7814.
-
- 08 Apr, 2017 1 commit
-
-
Alexandre Ardhuin authored
* upgrade to linter-0.1.30 * add prefer_is_empty lint * add directives_ordering lint * add no_adjacent_strings_in_list lint * add no_duplicate_case_values lint * add prefer_collection_literals lint * add prefer_const_constructors lint * add prefer_contains lint * add prefer_initializing_formals lint * add unnecessary_null_aware_assignments lint * add unnecessary_null_in_if_null_operators lint
-
- 07 Apr, 2017 3 commits
-
-
Jason Simmons authored
Gradle APK builds include engine binaries for all applicable architectures
-
Alexandre Ardhuin authored
-
Ian Hickson authored
-
- 04 Apr, 2017 1 commit
-
-
Alexandre Ardhuin authored
-
- 31 Mar, 2017 2 commits
-
-
Jason Simmons authored
-
Alexandre Ardhuin authored
* add @required when there's an assert not null * address review comments
-
- 30 Mar, 2017 1 commit
-
-
Jakob Andersen authored
Plugin projects are created by running `flutter create --plugin <name>`. An example app is also created in the plugin project, using the normal 'create' template, which has been modified to allow for conditional plugin code. Modified the android package name to match package naming conventions (all lower-case, and must match the directory name).
-
- 29 Mar, 2017 2 commits
-
-
Jason Simmons authored
-
Alexandre Ardhuin authored
-
- 28 Mar, 2017 1 commit
-
-
Dan Rubel authored
-
- 27 Mar, 2017 1 commit
-
-
Jakob Andersen authored
The very first time `pod install` is invoked, CocoaPods downloads the master spec repository, which takes quite a while. Before this change, the build appeared to have stalled. With this change, at least the spinner is moving. Added `pod setup` to the install instructions for CocoaPods, so the spec repo is downloaded while setting up Flutter, instead of during the first build.
-
- 23 Mar, 2017 3 commits
-
-
Chris Bracken authored
-
xster authored
-
Chris Bracken authored
**THIS IS A BREAKING CHANGE.** See below for migration steps for existing projects. Previously, Flutter app code was built as a raw dylib on iOS. Dynamic libraries outside of a framework bundle are not supported on iOS, except for the system Swift libraries provided by Xcode. See: https://developer.apple.com/library/content/technotes/tn2435/_index.html#//apple_ref/doc/uid/DTS40017543-CH1-TROUBLESHOOTING_BUNDLE_ERRORS-EMBEDDED__DYLIB_FILES * Migrates Xcode build from app.dylib to App.framework * Migrates flutter create template * Migrates example projects Migration steps for existing projects ===================================== The following steps should be taken from the root of your Flutter project: 1. Edit `ios/.gitignore`: add `/Flutter/App.framework` on a new line. 2. In the Xcode project navigator, remove `app.dylib` from the Flutter folder. Delete this file from the `ios/Flutter` directory in your project. 3. Run a build to generate `ios/Flutter/App.framework`. From the command line, run `flutter build ios`. If you have not configured app signing in Xcode, an alternative method is to open the simulator, then run `flutter run -d iP`. 4. In the Xcode project navigator, select the `Runner` project. In the project settings that are displayed in the main view, ensure that the `Runner` target is selected. You can verify this by exposing the sidebar using the [| ] icon in the upper-left corner of the main view. 5. Select the *General* tab in the project settings. Under the *Embedded Binaries* section, click '+' to add `App.framework`. In the sheet that drops down, click the *Add Other...* button. Navigate to the `ios/Flutter` directory and select `App.framework`. Click *Open*. In the sheet that drops down, select *Create folder references*, then click *Finish*. 6. In the project settings, verify that `App.framework` has been added to the *Embedded Binaries* and *Linked Frameworks and Libraries* lists. 7. In the Xcode project navigator, drag `App.framework` under the Flutter folder. 8. In the Xcode project navigator, select `Flutter` then from the *File* menu, select *Add Files to "Runner"...*. Navigate to the `ios/Flutter` directory, select `AppFrameworkInfo.plist` and click the *Add* button. 9. From the command line, in your project directory, run `flutter build clean`, then `flutter run`. At this point your project should be fully migrated.
-
- 22 Mar, 2017 2 commits
-
-
Jakob Andersen authored
-
Jakob Andersen authored
* Remove unnecessary Android SDK checks. * Remove unused accessors, skip replay test.
-
- 21 Mar, 2017 1 commit
-
-
Michael Goderbauer authored
* Avoid downloading artifacts twice * Don't update cache before `flutter upgrade` is executed (`flutter upgrade` might bump the engine version) * Don't update cache twice during `flutter precache` Fixes #8249. * add test
-
- 20 Mar, 2017 1 commit
-
-
Jakob Andersen authored
* Remove legacy .apk build. Print out an error message telling the user to upgrade the project if it's not Gradle-based. Removed all the obvious traces of the legacy build. Added support for Dart VM kernel snapshots in Gradle builds. Fixed Android installs to verify that the app is actually installed, and not just rely on the presence of the .sha1 file.
-
- 19 Mar, 2017 1 commit
-
-
Zachary Anderson authored
-
- 17 Mar, 2017 1 commit
-
-
Alexandre Ardhuin authored
-
- 16 Mar, 2017 1 commit
-
-
Zachary Anderson authored
-
- 15 Mar, 2017 4 commits
-
-
Alexandre Ardhuin authored
-
Todd Volkert authored
-
Michael Goderbauer authored
* Make ProcessSignals portable This removes the need to wrap unsupported signals with in `if (!platform.isWindows) ..`. It also allows us to implement a work around for breaking the Windows console when flutter is exited with Ctrl+C. * review comments * adding tests * add license header
-
Jakob Andersen authored
Changed the default build output directory in the new project template to build/, instead of android/build/ and android/app/build/. Updated tools to ask the Gradle scripts what the build directory is, since this is configurable in the build scripts, and we need to know where the build output actually is. Silenced output from 'flutter build aot' when invoked from Gradle, since the output was confusing in this case. Fixes #8723 Fixes #8656 Fixes #8138
-
- 14 Mar, 2017 2 commits
-
-
Zachary Anderson authored
-
Jakob Andersen authored
* Use snapshot's .d file as source inputs in Gradle build. If we don't yet have a .d file (first build), fall back to using the .dart files in the current directory. This enables us to detect changes in dependent source files (Flutter framework, packages outside the source directory, etc.), and re-generate the snapshots as needed. Unfortunately, Gradle requires knowing the source files before executing the task, and can't update them after building, so Gradle considers the second build to be out-of-date (because it has more input files than the first build). Sub-sequent builds have the correct dependency information, and will be skipped if the source files haven't changed. Also added a dependency on gen_snapshot. The snapshot ABI isn't stable, so we need to re-generate the snapshots when we roll the Dart SDK dependency. Fixes #8315 Fixes #8687 Fixes #8607
-
- 13 Mar, 2017 3 commits
-
-
Devon Carew authored
-
Dan Rubel authored
-
Dan Rubel authored
* do not forward status if stream is closed * remove devfs test timeout
-
- 10 Mar, 2017 1 commit
-
-
Todd Volkert authored
* Rename `Device.platform` to `Device.targetPlatform` to avoid collision with the exported variable from `platform.dart`
-
- 09 Mar, 2017 1 commit
-
-
Michael Goderbauer authored
-
- 04 Mar, 2017 1 commit
-
-
Chris Bracken authored
-
- 03 Mar, 2017 1 commit
-
-
Michael Goderbauer authored
-
- 02 Mar, 2017 1 commit
-
-
Michael Goderbauer authored
* Enable Hot Reload on Windows (backed by gen_snapshot) \o/ Two caveats: * Hot Reload on Windows is slower than on other platforms because gen_snapshot is slower then sky_snapshot * We currently cannot hot reload projects with spaces in the path * enable tests
-
- 28 Feb, 2017 1 commit
-
-
Michael Goderbauer authored
-
- 25 Feb, 2017 1 commit
-
-
Chris Bracken authored
iOS builds rely on package dependencies and associated build artifacts (pubspec.lock, .packages files) to be up-to-date.
-