- 06 Apr, 2020 1 commit
-
-
stuartmorgan authored
This moves the app template more toward being a more generic starting point for any Flutter application, eliminating some hard-code assumptions about there being a single window/engine pair that is directly bound to the life of the application: - Moves the runloop into its own class, making it capable of servicing any number of engine instances. - Moves the logic for setting up a window containing only a Flutter view into a window subclass for ease of re-use. - Makes quit-on-window-close an optional property. (Long term this should be even more generic, like a quit-when-last-window-closes option, but this is a short-term improvement that removes the binding between the runloop and the window). - Allows for multiple instances of Win32Window to exist without issues relating to the window class registration. Since there are getting to be a non-trivial number of files associated with the runner, this moves the source into a runner/ directory, as is already done on some other platforms. Note that creating multiple Flutter windows at the same time still doesn't work correctly even with this change, but this addresses some of the known issues, and makes it easier to test in the future (e.g., for debugging engine-level issues with multiple instances). Fixes #45397
-
- 30 Mar, 2020 1 commit
-
-
Jonah Williams authored
-
- 24 Mar, 2020 1 commit
-
-
Jonah Williams authored
Should fix issues introduced in web-server device and allow loading org-dartlang-app URIs
-
- 18 Mar, 2020 2 commits
-
-
Jonah Williams authored
This is necessary to ensure the tests can run in google3. Fixes https://b.corp.google.com/issues/151657461
-
Jonah Williams authored
Update to latest dwds APIs, moving back to dwds driven hot restart and enabling future work on expression evaluation.
-
- 10 Mar, 2020 2 commits
-
-
Greg Spencer authored
This adds a sample for InheritedNotifier, and converts a couple of other samples to be DartPad samples. I also added a new sample template stateful_widget_material_ticker, which adds a TickerProviderStateMixin to the state object so that animation controllers can be created there easily.
-
Ben Konyi authored
-
- 04 Mar, 2020 1 commit
-
-
Ben Konyi authored
This is required to roll forward package:vm_service to 3.0.0 and is blocking a DevTools release.
-
- 18 Feb, 2020 1 commit
-
-
Jonah Williams authored
-
- 15 Feb, 2020 2 commits
-
-
Jonah Williams authored
This reverts commit d3387bc9.
-
Jonah Williams authored
-
- 12 Feb, 2020 1 commit
-
-
Dan Field authored
-
- 11 Feb, 2020 3 commits
-
-
Jonah Williams authored
-
Alexandre Ardhuin authored
-
Greg Spencer authored
Updates the README file for snippets.
-
- 10 Feb, 2020 1 commit
-
-
Greg Spencer authored
This PR modifies the existing API docs samples to use DartPad so that all of the samples are now interactive apps on the API docs site. It also removes the restriction for the max width of the description area so that the dartpad region can expand horizontally. I updated the first paragraph on the API docs to indicate that Flutter is more than just mobile now (same text as the README.md at the top level). I modified a few of the examples so that they looked nicer, and fit better on the page. I added the sample description text above each DartPad instance, since that often defines the context of the example. I removed animations and images when they were redundant with the sample content. There were a few that made sense to keep, so I did.
-
- 07 Feb, 2020 2 commits
-
-
Greg Spencer authored
Adds the channel to docs generation for dartpad samples, since the new query parameter was added in dart-lang/dart-pad#1462
-
Alexandre Ardhuin authored
-
- 06 Feb, 2020 1 commit
-
-
Jonah Williams authored
-
- 28 Jan, 2020 1 commit
-
-
Jonah Williams authored
-
- 22 Jan, 2020 2 commits
-
-
Angjie Li authored
-
Alexandre Ardhuin authored
-
- 08 Jan, 2020 2 commits
-
-
Greg Spencer authored
-
David Iglesias authored
-
- 07 Jan, 2020 1 commit
-
-
Alexandre Ardhuin authored
-
- 02 Jan, 2020 2 commits
-
-
Francisco Magdaleno authored
This reverts commit e768c92f.
- 31 Dec, 2019 1 commit
-
-
Ian Hickson authored
* Update packages. * Add many more global analyses. * Catch trailing spaces and trailing newlines in all text files. Before we were only checking newly added files, but that means we missed some. * Port the trailing spaces logic to work on Windows too. * Correct all the files with trailing spaces and newlines. * Refactor some of the dev/bots logic into a utils.dart library. Notably, the "exit" and "print" shims for testing are now usable from test.dart, analyze.dart, and run_command.dart. * Add an "exitWithError" function that prints the red lines and then exits. This is the preferred way to exit from test.dart, analyze.dart, and run_command.dart. * More consistency in the output of analyze.dart. * Refactor analyze.dart to use the _allFiles file enumerating logic more widely. * Add some double-checking logic to the _allFiles logic to catch cases where changes to that logic end up catching fewer files than expected (helps prevent future false positives). * Add a check to prevent new binary files from being added to the repository. Grandfather in the binaries that we've already added. * Update all the dependencies (needed because we now import crypto in dev/bots/analyze.dart).
-
- 23 Dec, 2019 1 commit
-
-
Francisco Magdaleno authored
This reverts commit cc1c9649.
-
- 20 Dec, 2019 1 commit
-
-
Angjie Li authored
-
- 19 Dec, 2019 1 commit
-
-
Lau Ching Jun authored
This reverts commit 1ef0eadb.
-
- 18 Dec, 2019 1 commit
-
-
Angjie Li authored
* Support Flutter Driver test for Flutter Web application. * Support Flutter Driver test for Flutter Web application. * Fix documentation issues. * Support Flutter Driver test for Flutter Web application. * Fix documentation. * Remove unused file from dartdoc check. * Sync to date. * Revert change to dartdoc. * Address comments. * Apply suggestions from code review Co-Authored-By: Jonah Williams <jonahwilliams@google.com> * Update copyrights. * Update allowed list for browsers. * Verify command line arguments for Drive command is correctly parsed. * Make waitUntilFirstFrameRasterized throw unimplementedError for Flutter Web Driver. * Add comment for why sync WebDriver is used. * Update documentations. * Add more unit tests and update documentation. * Configure test.dart so that web_extension_test will be executed with --platform=chrome. * Revert unnecessary changes. * Add new file path for Windows to blacklist. * Reconstruct the structure of flutter_driver/test/src folder to remove filtering logic in dev/bots/test.dart/ * Fix path to web_extension_test.dart. * Add instructions for how to use WebFlutterDriver. * Update getLayerTree to use sendCommand instead of _sendCommand. * Update pubspec files.
-
- 16 Dec, 2019 1 commit
-
-
Ian Hickson authored
-
- 05 Dec, 2019 1 commit
-
-
Alexandre Ardhuin authored
-
- 27 Nov, 2019 2 commits
-
-
Ian Hickson authored
* Update project.pbxproj files to say Flutter rather than Chromium Also, the templates now have an empty organization so that we don't cause people to give their apps a Flutter copyright. * Update the copyright notice checker to require a standard notice on all files * Update copyrights on Dart files. (This was a mechanical commit.) * Fix weird license headers on Dart files that deviate from our conventions; relicense Shrine. Some were already marked "The Flutter Authors", not clear why. Their dates have been normalized. Some were missing the blank line after the license. Some were randomly different in trivial ways for no apparent reason (e.g. missing the trailing period). * Clean up the copyrights in non-Dart files. (Manual edits.) Also, make sure templates don't have copyrights. * Fix some more ORGANIZATIONNAMEs
-
Kaushik Iska authored
-
- 15 Nov, 2019 1 commit
-
-
Greg Spencer authored
This fixes the snippet code output so that it includes the name of the element that it is a snippet for in the first line.
-
- 14 Nov, 2019 1 commit
-
-
Jonah Williams authored
-
- 12 Nov, 2019 1 commit
-
-
Jonah Williams authored
-
- 24 Oct, 2019 1 commit
-
-
Jonah Williams authored
-