20087 Commits

Author SHA1 Message Date
Jason Simmons
978a47e0d8 Tool for running GDB on the Flutter engine 2016-02-19 14:49:44 -08:00
James Robinson
1a0f9670b0 Enable building for Android using clang for target builds 2016-02-19 14:07:57 -08:00
Eric Seidel
60d07a7b35 Merge pull request #2410 from eseidelGoogle/clang_warning
Add explicit destructor to appease clang plugin
2016-02-19 11:03:59 -08:00
Eric Seidel
f94ca77317 Add explicit destructor to appease clang plugin
@jason-simmons
2016-02-19 11:03:12 -08:00
Jason Simmons
20d6b86bad Merge pull request #2409 from jason-simmons/font_custom_load_2
Fix iOS build
2016-02-19 11:00:47 -08:00
Jason Simmons
6d9419a3e7 Fix iOS build 2016-02-19 10:56:25 -08:00
Jason Simmons
e79f0be909 Merge pull request #2402 from jason-simmons/font_custom_load
Support loading of custom fonts
2016-02-19 10:11:10 -08:00
Adam Barth
05bf87f4a0 Merge pull request #2408 from abarth/rm_service_registry2
Remove Dart entry point for ServiceRegistry
2016-02-19 10:08:21 -08:00
Raph Levien
bb56d47522 Merge "Suppress linebreaks in emoji ZWJ sequences" into nyc-dev am: 30bf8a7c05
am: 288ec0cb85

* commit '288ec0cb852358d0a656093f67d083d02468ef43':
  Suppress linebreaks in emoji ZWJ sequences
2016-02-19 18:07:11 +00:00
Adam Barth
67b11a6c6e Remove Dart entry point for ServiceRegistry
We don't use this entry point anymore.
2016-02-19 10:03:18 -08:00
Raph Levien
288ec0cb85 Merge "Suppress linebreaks in emoji ZWJ sequences" into nyc-dev
am: 30bf8a7c05

* commit '30bf8a7c05925a970f1cab87c38bec8dd97fa82e':
  Suppress linebreaks in emoji ZWJ sequences
2016-02-19 18:02:35 +00:00
Raph Levien
30bf8a7c05 Merge "Suppress linebreaks in emoji ZWJ sequences" into nyc-dev 2016-02-19 17:53:48 +00:00
Adam Barth
139bdb9642 Rev pub packages 2016-02-18 16:54:38 -08:00
Adam Barth
eaaec605b5 Merge pull request #2407 from abarth/multiple_views
Flutter.mojo should support multiple views
2016-02-18 16:35:36 -08:00
Adam Barth
24eb9b3c19 Flutter.mojo should support multiple views
Each view gets its own Dart isolate. Unfortunately, the ShellPtr is a unique
resource, which means we need to proxy an implementation of Shell to each view.
In the future, we should probably switch dart to expect an ApplicationConnector
rather than a Shell.
2016-02-18 16:22:39 -08:00
Adam Barth
b1eb676d05 Merge pull request #2406 from abarth/rm_service_registry
Remove ServiceRegistry
2016-02-18 16:14:40 -08:00
Adam Barth
8111a77f73 Remove ServiceRegistry
We don't need this anymore now that we have Mozart.
2016-02-18 16:09:58 -08:00
Keisuke Kuroyanagi
675fdc3180 Optimize: Use measureText instead of doLayout. am: ea408fc18e
am: 731b7d0185

* commit '731b7d0185881018f4ca5b52adbcf682b409bca8':
  Optimize: Use measureText instead of doLayout.
2016-02-18 23:37:41 +00:00
Keisuke Kuroyanagi
731b7d0185 Optimize: Use measureText instead of doLayout.
am: ea408fc18e

* commit 'ea408fc18e8e78d984ebdf63703da668a15720de':
  Optimize: Use measureText instead of doLayout.
2016-02-18 23:30:50 +00:00
Chinmay Garde
48bfd120bb Merge pull request #2405 from chinmaygarde/master
Make the buildbot generate an archive for the dynamic services SDK
2016-02-18 15:28:52 -08:00
Chinmay Garde
0cc5558485 Generate the services SDK in the out/ directory on the bot 2016-02-18 15:28:16 -08:00
Raph Levien
d3f45892c7 Suppress linebreaks in emoji ZWJ sequences
Due to the way emoji ZWJ sequences are defined, the ICU line breaking
algorithm determines that there are valid line breaks inside the
sequence. This patch suppresses these line breaks.

This is an adaptation of I225ebebc0f4186e4b8f48fee399c4a62b3f0218a
into the nyc-dev branch.

Bug: 25433289
Change-Id: I84b50b1e6ef13d436965eab389659d02a30d100f
2016-02-18 15:00:24 -08:00
Chinmay Garde
ab73f8c4d6 Make the buildbot generate an archive for the dynamic services SDK 2016-02-18 14:53:47 -08:00
Raph Levien
c6716b918e Disable hyphenation when word overlaps style boundary am: aa736d0054
am: 50978fe68d

* commit '50978fe68d82497b5f8edc4704899cf60df683cd':
  Disable hyphenation when word overlaps style boundary
2016-02-18 19:51:41 +00:00
Keisuke Kuroyanagi
ea408fc18e Optimize: Use measureText instead of doLayout.
With this CL, measureText is used for getRunAdvance,
getOffsetForAdvance and line breaking.

Bug: 24505153
Change-Id: Ib699f6b1391b46537736fc274cdb41686586b550
2016-02-18 11:46:48 -08:00
Raph Levien
50978fe68d Disable hyphenation when word overlaps style boundary
am: aa736d0054

* commit 'aa736d00548da691e75a09a70deb886e1f68b060':
  Disable hyphenation when word overlaps style boundary
2016-02-18 19:16:02 +00:00
Raph Levien
aa736d0054 Disable hyphenation when word overlaps style boundary
In cases when a word (as defined by the ICU break iterator) overlaps a
style boundary, the returned wordStart can be extend before the range
currently being measured for layout. When we try to hyphenate the
resulting substrings, we get a negative range, which crashes. This
patch disables hyphenation in this case.

Bug: 27237112
Change-Id: I76d04b39dd3b4d6d267aaaf4bebc9ab361891646
2016-02-18 10:33:14 -08:00
Seigo Nonaka
533a01ea84 Support Hanb script.
Hanb is a union of Han and Bopomofo.

Bug: 26687969
Change-Id: Ic696bcbbc9607f3842fd0115668b8e7bd917e62b
2016-02-18 18:28:52 +09:00
Seigo Nonaka
9f60e70bac Merge "Improve Paint.measureText and Paint.hasGlyph for variation sequences." into nyc-dev am: bcb024df56
am: 4f335f927c

* commit '4f335f927ccec0c03dfe9af624918fcd86ff757d':
  Improve Paint.measureText and Paint.hasGlyph for variation sequences.
2016-02-18 04:42:02 +00:00
Seigo Nonaka
4f335f927c Merge "Improve Paint.measureText and Paint.hasGlyph for variation sequences." into nyc-dev
am: bcb024df56

* commit 'bcb024df56c8ae7a5914d6f060ac99a2b5d118d9':
  Improve Paint.measureText and Paint.hasGlyph for variation sequences.
2016-02-18 04:38:00 +00:00
Seigo Nonaka
bcb024df56 Merge "Improve Paint.measureText and Paint.hasGlyph for variation sequences." into nyc-dev 2016-02-18 04:33:36 +00:00
Raph Levien
a4b030e7d9 Add error logging on invalid cmap - DO NOT MERGE am: 48e5307447 am: d60a48cc7d -s ours am: 4741030f4a am: c279266595 -s ours am: c2f0c7a862 am: cb14adf02d am: 00e9a7cd08 -s ours am: 7f9834ae33
am: 8bb3a67e48  -s ours

* commit '8bb3a67e484b555d2b29957f01ab021a6236cebe':
  Add error logging on invalid cmap - DO NOT MERGE
2016-02-18 00:35:28 +00:00
Raph Levien
8bb3a67e48 Add error logging on invalid cmap - DO NOT MERGE am: 48e5307447 am: d60a48cc7d -s ours am: 4741030f4a am: c279266595 -s ours am: c2f0c7a862 am: cb14adf02d am: 00e9a7cd08 -s ours
am: 7f9834ae33

* commit '7f9834ae3361b916330323d895b81b986e035c20':
  Add error logging on invalid cmap - DO NOT MERGE
2016-02-18 00:30:43 +00:00
Raph Levien
7f9834ae33 Add error logging on invalid cmap - DO NOT MERGE am: 48e5307447 am: d60a48cc7d -s ours am: 4741030f4a am: c279266595 -s ours am: c2f0c7a862 am: cb14adf02d
am: 00e9a7cd08  -s ours

* commit '00e9a7cd08adf53609e1a206a984153aada969b9':
  Add error logging on invalid cmap - DO NOT MERGE
2016-02-18 00:19:02 +00:00
Raph Levien
cbe160fac6 Add error logging on invalid cmap am: 734f037130 am: c91a77cf22 am: c3433aca7a
am: 2f0604dce2

* commit '2f0604dce2207ba3223cc5f5cdd0642e25c0b6e3':
  Add error logging on invalid cmap
2016-02-18 00:17:26 +00:00
Raph Levien
9402eda0af Add penalty for breaks in URLs and email addresses
am: c88ef135fc

* commit 'c88ef135fcc2661ec7addc171ebc60787df38aff':
  Add penalty for breaks in URLs and email addresses
2016-02-18 00:17:18 +00:00
Raph Levien
00e9a7cd08 Add error logging on invalid cmap - DO NOT MERGE am: 48e5307447 am: d60a48cc7d -s ours am: 4741030f4a am: c279266595 -s ours am: c2f0c7a862
am: cb14adf02d

* commit 'cb14adf02d49dc8de66fca882aadcc3682cf6972':
  Add error logging on invalid cmap - DO NOT MERGE
2016-02-18 00:13:35 +00:00
Raph Levien
cb14adf02d Add error logging on invalid cmap - DO NOT MERGE am: 48e5307447 am: d60a48cc7d -s ours am: 4741030f4a am: c279266595 -s ours
am: c2f0c7a862

* commit 'c2f0c7a862e124c4e693040530d0c8a9e1265c57':
  Add error logging on invalid cmap - DO NOT MERGE
2016-02-18 00:04:40 +00:00
Raph Levien
c2f0c7a862 Add error logging on invalid cmap - DO NOT MERGE am: 48e5307447 am: d60a48cc7d -s ours am: 4741030f4a
am: c279266595  -s ours

* commit 'c2792665954d796eb6fc67b5efb1c6bc0809485b':
  Add error logging on invalid cmap - DO NOT MERGE
2016-02-17 23:59:33 +00:00
Raph Levien
2f0604dce2 Add error logging on invalid cmap am: 734f037130 am: c91a77cf22
am: c3433aca7a

* commit 'c3433aca7acac7f642ba0dcc07429027d0453348':
  Add error logging on invalid cmap
2016-02-17 23:55:18 +00:00
Raph Levien
c279266595 Add error logging on invalid cmap - DO NOT MERGE am: 48e5307447 am: d60a48cc7d -s ours
am: 4741030f4a

* commit '4741030f4a416258106f6b489196c2ce632a83e0':
  Add error logging on invalid cmap - DO NOT MERGE
2016-02-17 23:55:07 +00:00
Raph Levien
c3433aca7a Add error logging on invalid cmap am: 734f037130
am: c91a77cf22

* commit 'c91a77cf2236f8806b503a14adbbc19828f7bc89':
  Add error logging on invalid cmap
2016-02-17 23:51:06 +00:00
Raph Levien
4741030f4a Add error logging on invalid cmap - DO NOT MERGE am: 48e5307447
am: d60a48cc7d  -s ours

* commit 'd60a48cc7d8913ab6f05fbc5e5a43b9529df6ade':
  Add error logging on invalid cmap - DO NOT MERGE
2016-02-17 23:47:10 +00:00
Raph Levien
c91a77cf22 Add error logging on invalid cmap
am: 734f037130

* commit '734f037130e14b3d44bc74026d3d065c025a8280':
  Add error logging on invalid cmap
2016-02-17 23:43:34 +00:00
Raph Levien
d60a48cc7d Add error logging on invalid cmap - DO NOT MERGE
am: 48e5307447

* commit '48e5307447bbdeb8c190211ec11801968cb0363e':
  Add error logging on invalid cmap - DO NOT MERGE
2016-02-17 23:43:26 +00:00
Raph Levien
a1c5560de2 Add line breaks to email addresses and URLs
am: 6d15657e4a

* commit '6d15657e4a3826d4d47d5358f1dde211484527e9':
  Add line breaks to email addresses and URLs
2016-02-17 23:42:21 +00:00
Raph Levien
ffc7f773f0 Special-case URLs and email addresses for line breaking
am: 9c4cc648ab

* commit '9c4cc648abcae144f3b99d612e58ef01d5e52cce':
  Special-case URLs and email addresses for line breaking
2016-02-17 23:42:08 +00:00
Raph Levien
21a0b7fb7c Refine hyphenation around punctuation
am: 57b6dae989

* commit '57b6dae9894b9362ef04517ff477fd491f9d433b':
  Refine hyphenation around punctuation
2016-02-17 23:41:55 +00:00
Raph Levien
c88ef135fc Add penalty for breaks in URLs and email addresses
Recent changes have added special cases for line breaks within URLs
and email addresses. Such breaks are undesirable when they can be
avoided, but at other times are needed to avoid huge gaps, or indeed
to make the line fit at all.

This patch assigns a penalty for such breaks, equal to the hyphenation
penalty. The mechanism is currently very simple, but would be easy to
fine-tune based on more detailed information about break quality.

Bug: 20126487
Bug: 20566159
Change-Id: I0d3323897737a2850f1e734fa17b96b065eabd9c
2016-02-17 23:13:44 +00:00
Raph Levien
6d15657e4a Add line breaks to email addresses and URLs
This change adds accceptable line breaks according to sections 7.42
(Dividing URLs and e-mail addresses) and 14.12 (URLs or DOIs and line
breaks) of the Chicago Manual of Style (16th ed.). In general, these
place breaks before punctuation symbols, and suppresses them after
hyphens.

Bug: 20126487
Bug: 20566159
Change-Id: I2d07d516b920a506a2f718c38fb435c5eb1ee1f8
2016-02-17 23:12:48 +00:00