Greg Spencer
65d3ddd5d1
Dartdoc snippet extension to inject full featured code snippets in to API docs. ( #23281 )
...
This creates a custom dartdoc tool that will generate snippet blocks in our API docs that allow the user to copy easily to the clipboard, and will also embed the snippet code into a template to show it in a larger context with an app.
This PR adds the snippet tool, a template, and a couple of HTML skeleton files, one for snippets that are designed to be in an application setting, and one where it simply puts a nice container around existing snippets, making them easier to copy to the clipboard.
2018-10-23 13:50:24 -07:00
Yegor
a3e0b0aee2
make LocalHistoryRoute a proper super-mixin ( #23382 )
2018-10-23 13:43:02 -07:00
Jacob Richman
f5f70f0c99
Include .track in file names for cached dill files for builds with --track-widget-creation ( #23299 )
...
Ensure that cached dill files for builds with --track-widget-creation
always have .track. in the file name to avoid mixing transformed and
untransformed kernel files.
2018-10-23 10:09:18 -07:00
xster
b63ced55b4
Add a CupertinoTextField ( #23194 )
2018-10-22 19:20:17 -07:00
Michael Goderbauer
dc36195cb3
Reland "Remove all service extensions from release mode ( #23038 )" ( #23291 )
2018-10-23 03:53:29 +02:00
Jason Simmons
a6a1607888
Roll engine to 4c79e423dc6f89f98d8ceb263a5ca78e2f2da996 ( #23384 )
...
Also includes
* Updates to affected tests
* Change flutter_tools to pass package URIs to the Dart front end
instead of filesystem paths
2018-10-22 18:03:50 -07:00
Jonah Williams
b7c9c96c6b
Support for fuchsia device discovery, workflow, and sdk wrapper ( #23282 )
2018-10-22 16:48:17 -07:00
Dan Field
0edbe726a1
Revert "Roll engine to 4c79e423dc6f89f98d8ceb263a5ca78e2f2da996 and update tests ( #23357 )" ( #23372 )
...
This reverts commit ca0487b9ed52b7237689de3b9cb806911dfbb701.
2018-10-22 10:29:00 -07:00
Dan Field
ca0487b9ed
Roll engine to 4c79e423dc6f89f98d8ceb263a5ca78e2f2da996 and update tests ( #23357 )
...
* Roll engine to 4c79e423dc6f89f98d8ceb263a5ca78e2f2da996 and update tests
2018-10-22 10:20:55 -07:00
Dan Field
0d707f3897
Update/add missing period to doc ( #23343 )
...
* Update/add missing period to doc
2018-10-21 21:31:43 -07:00
Michael Goderbauer
9b5c780604
Force GC before GC-sensitive benchmark runs ( #23289 )
2018-10-21 15:58:19 +02:00
namanix
7aeb539da9
Added a filterQuality parameter to images. ( #23329 )
...
* Added a filterQuality parameter to images.
* Removed this break by accident.
* Modified the test case to check the filterQuality
* Update packages/flutter/lib/src/rendering/image.dart
Co-Authored-By: namanix <namanix@gmail.com>
* Update packages/flutter/lib/src/rendering/image.dart
Co-Authored-By: namanix <namanix@gmail.com>
* Update packages/flutter/lib/src/rendering/image.dart
Co-Authored-By: namanix <namanix@gmail.com>
* Update packages/flutter/lib/src/widgets/image.dart
Co-Authored-By: namanix <namanix@gmail.com>
* Update packages/flutter/lib/src/widgets/image.dart
Co-Authored-By: namanix <namanix@gmail.com>
* Update packages/flutter/lib/src/rendering/image.dart
Co-Authored-By: namanix <namanix@gmail.com>
* Update packages/flutter/lib/src/rendering/image.dart
Co-Authored-By: namanix <namanix@gmail.com>
* Added documentation for the new parameter and corrected some space issue's
2018-10-20 20:47:10 -07:00
Stanislav Baranov
323d1574c6
newly created apps / plugins should use latest gradle dependencies ( #22790 ) ( #23314 )
2018-10-19 19:07:06 -07:00
Chris Bracken
8007e1bc2f
Update coverage, linter to latest releases ( #23304 )
...
Coverage 0.12.3 includes a fix for dart-lang/coverage#194 , which was
causing errors on the flutter build bots.
Linter was updated automatically as a side effect of running
`flutter update-packages --force-upgrade`.
2018-10-19 14:18:47 -07:00
Gary Qian
a46510598e
Null check in locale resolution ( #23301 )
2018-10-19 14:18:09 -07:00
Devon Carew
48fe65c236
allow todos in user code to show in IDEs ( #23303 )
2018-10-19 14:10:54 -07:00
Dan Field
d5337a2346
Clarify plugin/example/pubspec.yaml ( #23298 )
2018-10-19 13:11:51 -07:00
Greg Spencer
2000583ed3
Revert "don't disable TODO issues in IDEs ( #23274 )" ( #23297 )
...
Devon asked me to revert commit c4d1b31b746955a28c05c959873a9e9eeebc042d.
Merging on red to fix the build.
2018-10-19 10:03:35 -07:00
Devon Carew
c4d1b31b74
don't disable TODO issues in IDEs ( #23274 )
...
* don't disable TODO issues in IDEs
* minor change to start cirrus
2018-10-19 08:01:05 -07:00
Siva
cf18d01e86
Disable unsafePackageSerialization as it causes issues when coverage is turned on ( #23280 )
...
* Disable unsafePackageSerialization as it causes issues when coverage is
used (see https://github.com/dart-lang/sdk/issues/34841 )
* Restore Coverage.
2018-10-19 06:19:24 -07:00
Danny Tuppeny
f87a2a32fe
Switch to URIs for breakpoints and unskip tests on Windows ( #22510 )
...
* Switch to URIs for breakpoints and unskip tests on Windows
addBreakpointWithScriptUri expects Uris. By coincidence, FS paths work on Mac/Linux but they fail on Windows. One of the issues in the skip comment is fixed, the other one seems not relevant here.
* Apply symlink resolution to all integration tests
The default temp folders we get include symlinks which breaks breakpoints.
* Save 🙄
* Fix typo
2018-10-19 12:51:31 +01:00
Michael Goderbauer
bb0290a4dc
Revert "Remove all service extensions from release mode ( #23038 )" ( #23290 )
...
This reverts commit 8e2ca93f52d82d22df8b987cef74238ac53b4b28.
Fixes https://github.com/flutter/flutter/issues/23172
2018-10-19 11:48:15 +02:00
Alexander Aprelev
be0dde4114
Remove optimization that was trying to bypass build process for iOS sim. ( #23268 )
...
This optimization resulted in app still running with old kernel file.
Fixes another source of https://github.com/flutter/flutter/issues/16604
2018-10-18 20:45:48 -07:00
Alexander Aprelev
dd789e645b
Handle escaped spaces in deps-file. ( #23273 )
2018-10-18 20:44:38 -07:00
Alexander Aprelev
51160b7d56
Revert "Handle escaped spaces in deps-file. ( #23249 )" ( #23270 )
...
This reverts commit 617e8f65b97013c5876cef9236582dffcbe2a469 as it
breaks deps-processing on Windows.
2018-10-18 15:13:40 -07:00
Alexander Aprelev
617e8f65b9
Handle escaped spaces in deps-file. ( #23249 )
...
Fixes https://github.com/flutter/flutter/issues/23236
2018-10-18 14:50:15 -07:00
Yegor
82d6589590
Revert "newly created apps / plugins should use latest gradle dependencies ( #22790 )" ( #23263 )
...
This reverts commit 751c083f7db339d4bca782f2f4d8232c0d9cdc10.
Our buildbots need to be upgraded to a newer version of the Android SDK.
2018-10-18 14:17:47 -07:00
Sebastian Roth
751c083f7d
newly created apps / plugins should use latest gradle dependencies ( #22790 )
2018-10-18 12:56:18 -07:00
Dinesh Ahuja
7fbb5b9f32
Create WidgetTester.ensureVisible(Finder) ( #22620 )
...
This is just a shorthand for
Scrollable.ensureVisible(tester.element(finder))
Fixes #8185
2018-10-18 12:17:47 -07:00
Stanislav Baranov
d5777b6a9a
Implement correct orthographic projection ( #22985 )
2018-10-18 11:27:02 -07:00
Luan Nico
bbe8cf606e
Improved readme ( #23079 )
...
Link to CONTRIBUTING.md in the flutter_tools README
2018-10-18 10:58:15 -07:00
Greg Spencer
36983508ad
Update wrapping message ( #23104 )
...
Updating the --wrap-column help message to reflect reality.
2018-10-18 10:56:52 -07:00
Hans Muller
4f4050bf47
Support for disabling interactive TextField caret and selection ( #22924 )
...
Make it possible to disable TextField's default handlers for tap and long press. If enableInteractiveSelection is false then taps no longer move the text caret and long-press no longer selects text and shows the cut/copy/paste menu. Accessibility is similarly limited.
2018-10-18 09:14:27 -07:00
Alexandre Ardhuin
7ce28d1277
use Duration.zero ( #23218 )
2018-10-18 13:57:52 +02:00
Michael Goderbauer
d28fa281f5
Add comma in doc ( #23196 )
2018-10-18 12:07:37 +02:00
Yegor
3fbd140e77
Use new mixin
syntax for super-mixins ( #22870 )
...
This re-lands 3c56e6c on top of a new Dart SDK that contains new mixin syntax fixes.
2018-10-17 13:10:05 -07:00
Sebastian Roth
b95b67a66b
allow command line option "--project-name" in flutter create ( #22022 )
...
Simple convenience function if users create flutter projects in custom folder structures and but want to specify a custom project name.
2018-10-17 08:25:46 -07:00
Michael Klimushyn
4f8acd8462
Set FlutterDevice.viewFilter
by CLI flag ( #23026 )
...
`FlutterDevice.views` is limited by a filter. Pipe this filter up as an
option for the commands that instantiate `FlutterDevice`s. This is the
first change necessary for the CLI tooling to target specific isolates
(#22009 ).
More work needs to be done after this patch.
* Isolate names are dynamically generated and change every restart.
* This just filters views, not background isolates (`VMService.isolates`).
2018-10-17 08:07:49 -07:00
Jacob Richman
e4c2c978a6
Dispatch a Flutter.Navigation event each time navigation occurs. ( #23126 )
...
Dispatch a Flutter.Navigation event each time navigation occurs.
2018-10-17 07:40:08 -07:00
Jacob Richman
f86bdf1aa2
Fix bug where gradle build rule would rerun on switching from ( #23183 )
...
--track-widget-creation=false to
--track-widget-creation=true
but not when switching from
--track-widget-creation=true
to
--track-widget-creation=false
due to the surprising behavior of Gradle @Optional inputs.
2018-10-17 07:39:20 -07:00
Alexandre Ardhuin
8b0de38ef8
fix upcoming lint avoid_returning_null_for_void ( #23190 )
2018-10-17 11:01:37 +02:00
Dwayne Slater
cab7ecb8e5
Fix out of range spring simulation in ClampingScrollSimulation ( #22394 )
...
If the scroll is out of range for any reason (for instance, changing scroll physics or manually messing with scroll position), the spring simulation causes the scroll position to slingshot towards the end. Also, before this change, `end` was unused.
2018-10-17 10:49:27 +02:00
Alexandre Ardhuin
936dea28da
enable lint prefer_void_to_null ( #23174 )
...
* enable lint prefer_void_to_null
* replace last Null by void
2018-10-17 08:09:29 +02:00
Hans Muller
7a63fac0a2
TextTheme.apply() should not assume non-null TextStyle fields ( #23184 )
2018-10-16 19:43:52 -07:00
Philip
a0010d391c
Added sample code for BottomNavigationBar widget [ #21136 ] ( #21615 )
...
* Added sample code for BottomNavigationBar widget [#21136 ]
* bottomnavigationbaritems made single line
2018-10-16 16:54:26 -07:00
Hans Muller
cef11417da
Added Mongolian (mn) translations ( #23168 )
2018-10-16 14:58:02 -07:00
Hans Muller
8521d6334f
Updated Khmer and Turkish translations ( #23165 )
2018-10-16 14:57:37 -07:00
Jonah Williams
c9ca7c4936
Add override frontend_server snapshot for fuchsia_reload command ( #23162 )
2018-10-16 14:27:22 -07:00
jslavitz
fd02bdf1b5
Fix disabled formfield validation ( #23167 )
...
* Fix form field validate method being called if form field is disabled
2018-10-16 14:03:49 -07:00
Francisco Magdaleno
d556d2117d
Finalize editing when hitting the enter key on a single line TextField ( #23015 )
...
Behavior remains the same for multiline TextFields. This behavior already happens on iOS and Android, but not desktop. #23014
2018-10-16 14:02:00 -07:00