Jason Simmons
fd478815c6
Validate UTF-16 input in ParagraphBuilder::addText ( #4300 )
...
Fixes https://github.com/flutter/flutter/issues/12772
2017-11-01 11:26:01 -07:00
Ian Hickson
afd4229653
Add TextPosition.== and hashCode, and some text API docs ( #4283 )
2017-10-31 10:39:44 -07:00
Ian Hickson
1e21ac3fb7
Documentation improvements - RTL and others ( #4248 )
2017-10-19 17:30:30 -07:00
Jason Simmons
b84e114b8b
libtxt: fix some typos ( #4206 )
2017-10-12 11:51:50 -07:00
Ian Hickson
2d7c30033d
Pass TextDirection to ParagraphBuilder. ( #4001 ) ( #4019 )
2017-09-07 15:37:25 -07:00
Ian Hickson
49d06b3860
Revert "Pass TextDirection to ParagraphBuilder. ( #4001 )" ( #4004 )
...
This reverts commit 86591145a320f2978c3f4c742c972a32bb8cb02a.
2017-08-23 11:14:26 -07:00
Ian Hickson
86591145a3
Pass TextDirection to ParagraphBuilder. ( #4001 )
2017-08-23 10:34:57 -07:00
Ian Hickson
0071651ecb
Some doc typos ( #3647 )
2017-05-04 22:42:04 -07:00
Adam Barth
3ed4684a09
Rename library to dart.ui ( #3608 )
...
This name is consistent with how the other `dart:` libraries are named now.
2017-04-19 09:56:22 -07:00
Jason Simmons
cd34b0ef39
Remove ParagraphStyle.lineCount, which has been superseded by maxLines ( #3390 )
...
Fixes https://github.com/flutter/flutter/issues/7723
2017-02-03 13:49:10 -08:00
Michael Goderbauer
93fce94482
Expose justify TextAlign option ( #3348 )
...
fixes flutter/flutter#6865
2017-01-19 15:07:42 -08:00
Matt Perry
2efc78cc24
Stop processing multiline text after maxLines. ( #3342 )
...
Added a Paragraph.didExceedMaxLines property to query when this occurs.
Needed for https://github.com/flutter/flutter/issues/7271
2017-01-18 10:53:24 -05:00
Matt Perry
17237e98dd
Add support for a maxLines property on Paragraph. ( #3338 )
...
Also fix 'ellipsis' overflow handling to work for multiline text.
Fixes https://github.com/flutter/flutter/issues/7271
2017-01-17 13:55:43 -05:00
Jason Simmons
9f65114e20
Provide the paragraph style at ParagraphBuilder construction time ( #3171 )
...
This enables text span styles to inherit attributes from the paragraph style
2016-10-25 10:58:05 -07:00
Adam Barth
8ab0cdcea3
Fix ParagraphStyle toString ( #3078 )
...
Previously we got some punctuation wrong.
2016-09-29 17:42:19 -07:00
Jason Simmons
d46107120a
Revise the paragraph style API to include custom ellipsis strings ( #3071 )
2016-09-28 15:52:31 -07:00
Jason Simmons
8eab44c623
Implement ellipsizing of text in the engine ( #3056 )
...
See https://github.com/flutter/flutter/issues/4478
2016-09-26 11:30:11 -07:00
Adam Barth
e4121f80a9
Fix bug found by framework test
2016-09-15 12:19:58 -07:00
Adam Barth
9fe7992df5
Update DCHECKS
2016-09-15 12:06:53 -07:00
Adam Barth
a971482577
Polish dart:ui API ( #3032 )
...
This patch makes three API changes:
* The dart:ui library now always communicates in physical pixels. The
framework is responsible for converting to whatever logical coordinate
system it wishes to use.
* The textBaselien property is now on TextStyle rather than ParagraphStyle,
which will let us choose which baseline to use on a per-span basis rather
than on a per-paragraph basis.
* This patch also removes the old MojoServices function endpoints.
Fixes https://github.com/flutter/flutter/issues/3779
Fixes https://github.com/flutter/flutter/issues/1360
2016-09-15 10:26:04 -07:00
Ian Hickson
e9dd3e4e0d
Fix even more problems with ParagraphStyle.toString ( #3027 )
...
Also, with the comments.
2016-09-13 23:41:02 -07:00
Ian Hickson
930c9e7265
Fix the encoding of TextStyle and ParagraphStyle ( #3026 )
...
We were off by one on, uh, everything.
2016-09-13 23:20:20 -07:00
Adam Barth
54d5068b86
Move snapshot to //flutter/lib/snapshot ( #2905 )
...
This change disentangles the build for the snapshotter from the main engine
build. Also, we now have all the Dart files for dart:ui in the same directory.
2016-08-10 15:33:11 -07:00