5069 Commits

Author SHA1 Message Date
sandrasandeep
d041b319e8
EditableText Cursor can be set to not blink for testing (#20004)
* no blinking cursor

* debugDeterministicCursor: private -> public

* added documentation

* whitespace
2018-08-06 12:51:22 -07:00
Hans Muller
81458c7925
Added TweenSequence, TweenSequenceItem, ConstantTween (#20056)
Make it possible to define an animation by stringing together a sequence of tweens.
2018-08-06 08:53:06 -07:00
Jonah Williams
a0b5448b84
Add route/routeName to search page (#20190) 2018-08-04 08:50:10 -07:00
Ian Hickson
75960f35d4
Cleanup in localizations code (#20018)
The following changes are made by this PR:

 * Translation bundles now implement MaterialLocalizations directly,
   and are public so that they can be directly extended.

 * The list of supported languages is now a generated constant.

 * The icuShortTimePattern/TimeOfDayFormat values are now pre-parsed.

 * Various other changes for consistency with the style guide and the
   rest of the codebase, e.g. the class names don't use `_`, the
   `path` library is imported as such, more dartdocs, fewer `//
   ignore`s, validation using exceptions.

This reduces our technical debt benchmark.
2018-08-03 16:41:21 -07:00
liyuqian
9ffa1c5174
Add Clip enum to Material and related widgets (#18576)
See details in our proposal for this breaking API change and #18057. This PR setup all code paths to allow the change but doesn't change the clip behavior by itself. We'll change `defaultClipBehavior` from `Clip.antiAlias` to `Clip.none` in the following PR to change the clip behavior and update tests.
2018-08-03 09:56:23 -07:00
Christian Mürtz
ad163749b7 Extend InputDecoration with prefix/suffix padding (#19514)
Add widget valued prefix and suffix properties to InputDecoration.  These new properties are alternatives to prefixText and suffixText.
2018-08-03 09:51:34 -07:00
amirh
60d223c20c
Support touch in AndroidViewController. (#19907)
Adds a sendMotionEvent method to AndroidViewController.
2018-08-02 16:33:48 -07:00
Jonah Williams
55c7e6e3f8
Support customizing standard accessibility action hints on Android. (#19665) 2018-08-02 10:20:47 -07:00
Alexandre Ardhuin
eda03e2586
re-re-enable lint unnecessary_const (#20103) 2018-08-02 12:02:32 +02:00
Aart Bik
724b92499e
Dart SDK roll for 8/1/2018 (#20120)
* Dart SDK roll for 8/1/2018

Dart SDK roll and disabling of return warnings as errors.

List of commits included in this roll:

8bad5c7b29 [vm/compiler] Non-speculative X64 long division/remainder.
918cda18c5 Add docs about sourcemap extensions
329e029bd6 Fixes dart-lang/sdk#34035
12326c10e1 Store constructor field initializera when the target is not a field.
50da4b8d92 Skip ShadowInvalidFieldInitializer while resynthesizing constructor initializers.
8810b6ecc7 Translate kernel.Instantiation in constant expressions.
cb7341fceb Initial support for inlining-data in source-maps.
4206131030 Fix tracking of onStep position of arguments to new expression
384b0a9a73 Issue 34038. Fix resynthesizing imports when mixed with exports.
ba7dbcf412 Update the test output processor to produce more useful analysis
4b2ee8e9a5 Improve catch clause recovery
66500de4dc More fixes to the CFE integration tests
3f2251986d CC sra also in changes to compiler files and tests
4734c55882 Report error on unsupported operators
00e3109368 [VM] Adjust flags for creating depfiles
07c462b471 [vm] Refactoring: extract BaseFlowGraphBuilder to a separate file
ff9167ff7b Fix parseDirectives to recognize metadata
079bebb78b [ VM ] Added missing token position for assert statements
174649b9be [gardening] Update status of dissasemble_test on Windows
8c5aca7d4d Remove the Factory interface
3dc201e168 Update ChangeBuilder to not include empty edits (Take 2)
18047b2757 Refactor test.dart by changing class Configuration to TestConfiguration
7373d38a31 Update status for Dart2js minified CSP on Chrome with fast startup
61148eade8 Update mixin-declaration feature specification.
a98feb0f01 [VM interpreter] Fix exception handling. Convert bytecode indices to pc offsets ....
da2ed2fd59 Don't ignore runtime cast failures on Map<K,V>.
3d8ca8e566 [gardening] Increase debug app-jitk timeout
0313f7bd66 [gardening] Update status file for failing test
6c39bc38f3 Clear ShadowX references that are not required after compilation.
05b9bbd2b5 Remove the dart1 version of the analysis server snapshot.
9107399190 Add back in the analysis server training.
9fb6c09015 Store reference/type for invalid types.
21db860271 Remove non-strong dart2js builders from test_matrix.json
2e7b0a13f1 Add support for accessing all of the created contexts
73663ae7c6 Allow void on the RHS of null coalescing expressions
17cb6d95d1 Don't remember TypeEnvironment in resolution results.
72960de5f9 [VM] Fix one more place where bound error allocation happened on BG thread in new space
6ad79ff4bd Update status file for tests passing under CFE
23ba527735 [VM] Ensure to alloate bound errors in old space on BG compiler
fe8052428b Remove CONTENT_MODIFIED from spec/test for getSignature
c4c847a45c Revert "[CQ] Remove pkg-linux-release from the CQ trybots until it is fixed"
beaf05efa3 [vm] When generating JITDUMP also dump IR and attach it as source to code.
24158b773d [vm/compiler] Do not LICM LoadStaticField for uninitialized fields.
68bfaf3ac3 [vm/compiler] Avoid crashes when canonicalizing unreachable AssertAssignable.
5a45b2a62b [infra] Upgrade homebrew dependencies to work on Dart 2
8e287dc037 [VM] Only add direct implementor when reading script snapshots if ....
6e81d74fcc [VM] Optimize generation of type testing stubs in JIT mode.
058510eeab fix #28233, add hint for missing returns to function expressions
4482d13ff7 [vm/compiler] Bug fix in 64-bit MOD (%) operator.

* Try ignore instead of commenting out.

* Also disable this in package analysis options.
2018-08-01 21:57:53 -07:00
Jonah Williams
ffdd6e1bf1
Toggle whether label or hint contribute to text field semantics when unfocused/focused (#19790) 2018-08-01 21:02:40 -07:00
Natalie Sampsell
506cf3cb88
Added ability to use custom colors for SegmentedControl (#20005) 2018-08-01 15:26:30 -07:00
jslavitz
d2ab29d25e
Drawer fix (#20015)
* Drawer fix

* fixed nits

* fixed nits

* fixed nits

* final change

* Drawer fix final
2018-08-01 10:14:25 -07:00
Jonah Williams
7ba2a84af1
roll engine to 91ff524e63298a2d0e15c2a0d47e0a005524c51c (#20055) 2018-07-31 18:15:37 -07:00
Natalie Sampsell
4fd6188d48
Fix SegmentedControl accessibility (#19994) 2018-07-31 16:56:20 -07:00
Greg Spencer
ab9f17cbbe
Adding curve animations to documentation. (#19681)
Enables animated curve diagrams in the documentation, replacing the static images.
2018-07-31 16:32:42 -07:00
xster
35b55d51a8
Add image stream error handling mechanism (#18424) 2018-07-31 14:17:44 -07:00
Jonah Williams
e9c8e36bde
When dispatching a semantic event, check if the node has been merged with parent (#20020) 2018-07-31 10:43:56 -07:00
sir-boformer
63098f2bc8 Apply curved animation in AnimatedOpacity (#19620)
Fixes #19617
2018-07-31 09:58:50 -07:00
xster
cb03ca1d9a
Semantics for CupertinoTabBar (#19924) 2018-07-30 23:37:54 -07:00
Jonah Williams
5b30b393a8
make sure bottom nav bar always contributes labels (#19934) 2018-07-30 21:06:31 -07:00
Jonah Williams
ee396272d3
Fix dropdown button semantics (#19932) 2018-07-30 15:36:26 -07:00
David Shuckerow
f844fadaf3
Reorderable list widget and Material demo (#18374) 2018-07-30 15:21:00 -07:00
xster
cded7efbd0
Fix CupertinoSwitch accessibility (#19927) 2018-07-30 11:18:32 -07:00
Jonah Williams
dfe5b591a6
Increase time picker clock touch targets to 48 by 48 (#19936) 2018-07-30 10:46:16 -07:00
Jonah Williams
5819008320
increase checkbox size and fix header area (#19966) 2018-07-30 10:45:24 -07:00
Jonah Williams
7e2434c8ff
move semantics inside of opacity animation (#19960) 2018-07-30 10:44:15 -07:00
Jonah Williams
b2eed9a6da
add export of TextCapitalization to text_field.dart (#19955) 2018-07-30 10:42:46 -07:00
Michael Goderbauer
4509ad5978
Do not implicitly scroll a PageView when showOnScreen is called (#19735)
Fixes #19523
2018-07-30 10:05:42 -07:00
Jonah Williams
82415e6400
add semantic label to image icon and exclude semantics from image widget (#19970) 2018-07-30 09:10:25 -07:00
Mehmet Fidanboylu
29410abbe7
Update the documentation on BinaryCodec (#19887)
Two clients have run into this in the past so adding a bit of documentation to make it clear. See https://github.com/flutter/flutter/issues/19849 for one example.
2018-07-27 22:10:39 -07:00
amirh
d62aa96ab5
Fix onPlatformViewCreated comment wording (#19933) 2018-07-27 21:02:55 -07:00
David Shuckerow
0b1ef6bb1c
Reduce the haptic feedback on the draggable widget. (#19585) 2018-07-27 14:53:51 -07:00
Jonah Williams
1b81b6127b
swap default of card widget (#19898) 2018-07-27 14:00:30 -07:00
Todd Volkert
78a00cb13a
Revert "Revert "roll engine to 6f7bdc9fabef810b14577deef5cf330029fd290e" (#19878)" (#19880)
This reverts commit e52eeba3674b1c5cc6ee46c1088f1f0b997a311c.
2018-07-27 09:02:44 -07:00
Todd Volkert
e52eeba367
Revert "roll engine to 6f7bdc9fabef810b14577deef5cf330029fd290e" (#19878)
* Revert "Revert flutter/flutter#19592 (#19861)"

This reverts commit 00aac68e2da653920aac8c82d52b9382d3743895.

* Revert "roll engine to 6f7bdc9fabef810b14577deef5cf330029fd290e (#19848)"

This reverts commit 8b05629658c17011394451b0997433d7068d719e.
2018-07-27 09:01:15 -07:00
Todd Volkert
00aac68e2d
Revert flutter/flutter#19592 (#19861)
It was causing problems rolling Flutter into Fuchsia
2018-07-27 08:44:39 -07:00
Jonah Williams
8b05629658
roll engine to 6f7bdc9fabef810b14577deef5cf330029fd290e (#19848) 2018-07-26 19:12:04 -07:00
Jonah Williams
b5b1cbebde
handle case where image is null as well (#19797) 2018-07-26 18:23:18 -07:00
creativecreatorormaybenot
e6fa45d63f Added 35 icons (#19725) 2018-07-26 17:47:57 -07:00
Jonah Williams
730a534fbb
Make Card explicitChildNodes vs container be configurable (#19693) 2018-07-26 17:27:45 -07:00
Jonah Williams
f516074a98
Add header SemanticsFlag to bottom nav bar (#19803) 2018-07-26 13:29:28 -07:00
Leaf Petersen
70791c3087
Roll pubspec forward to new json_schema, matcher and vector_math (#19802)
Pull in new versions of packages with fixes for SCREAMING CAPS CONSTANTS.
2018-07-26 12:23:24 -07:00
Greg Spencer
1a414990ab
Move commit range determination inside of test.dart (#19777)
Our Cirrus Windows tests were not really working: they reported success even when failing.

This should fix several problems with the Cirrus Windows tests.
2018-07-25 15:19:57 -07:00
jslavitz
28dc007450
Added single open panel functionality (#19624)
* Just commiting two files now

* Fixed one tab

* Fixed latest changes

* Changed the data structure from a map to a single radio panel object

* A few more changes

* Fixed change from expansion radio to regular list

* Fixed change from expansion radio to regular list2

* Changed the radio constructor

* Last fixes

* Final commit

* Actual final commit

* Last change
2018-07-25 14:35:17 -07:00
Jonah Williams
d098dc3408
Add excludeSemantics flag to semantics widget (#19650) 2018-07-25 14:33:36 -07:00
amirh
1269863dd0
Fix touch event conversion bugs. (#19780)
These are bugs uncovered by the integration test for embedded Android
views:

  * Some PointerEvents were constructed with radiusMinor set to
  radiusMajor.
  * Some PointerEvents were missing radiusMajor/radiusMinor.
  * The pressure parameter was not passed to PointerUpEvent.
  * radiusMin, radiusMax, radiusMinor, and radiusMajor were not
  converted from physical pixels to logical.

Sending the fixes without a test as the bugs are covered by the integration
test that is going to land soon.
2018-07-25 14:04:48 -07:00
Greg Spencer
ed0f4e0380
Enhance SizeTransition docs (#19721)
Updated documentation of SizeTransition, since I found it less than intuitive.

I added some constructor asserts to make the (existing) contract more clear.
2018-07-25 11:25:20 -07:00
Jonah Williams
12aa7ec427
remove trailing whitespace (#19728) 2018-07-24 15:21:40 -07:00
Jonah Williams
fba4fdb4e6
Fix off by one error in TextPainter. (#19429) 2018-07-24 14:26:06 -07:00