Commit Graph

6267 Commits

Author SHA1 Message Date
Jason Simmons 052d65cc14 Clear the Flow raster cache when a GrContext is destroyed
After an application is suspended and the GrContext associated with the
Flutter view is destroyed, the raster cache still contains images tied
to the defunct context.  The SkyShell process will crash if these images
are used after the application resumes.
2016-02-01 10:36:09 -08:00
Adam Barth 20b8d0bdc8 Merge pull request #2328 from abarth/flow_mozart
Move Flow layers to //flow/layers
2016-01-31 01:27:32 -08:00
Adam Barth c3c5af1fbe Move Flow layers to //flow/layers 2016-01-30 23:35:22 -08:00
Adam Barth 7bce54b79e Fix build 2016-01-30 13:42:35 -08:00
Adam Barth 62b1326390 Rev pub packages 2016-01-30 13:33:49 -08:00
Adam Barth 0a7fae7c0a Merge pull request #2295 from abarth/ios_avoid_keyboard
Teach flutter how to avoid the iOS keyboard
2016-01-30 13:32:13 -08:00
Ian Hickson 69632dda9f Merge pull request #2325 from Hixie/semantics-to-java
Support multiple Semantics listeners
2016-01-30 12:43:29 -08:00
Adam Barth 07ec7da5ee Merge pull request #2327 from abarth/position_for_point
Add Paragraph#getPositionForOffset
2016-01-30 09:27:57 -08:00
Adam Barth 21d7575716 Add Paragraph#getPositionForOffset
We'll use this function to position the caret when the user taps a text
input control.

Very little of the code in this patch is actually new. Most of it is
restoring code that we previously removed from the engine. I've made
some small changes to the restored code to handle the lack of a DOM. The
only major change is to RenderObject::createPositionWithAffinity, which
now just returns the values it captures instead of trying to compute a
DOM position.

TextAffinity and TextPosition are lifted from package:flutter. Once this
patch rolls into package:flutter, I'll remove the declarations there.
2016-01-29 23:07:51 -08:00
Adam Barth 51d68b8f91 Merge pull request #2326 from abarth/box_direction
Add the TextDirection to getRectsForRange
2016-01-29 21:25:42 -08:00
Adam Barth 88add25212 Add the TextDirection to getRectsForRange
We need this in order to draw the cursor correctly.

Fixes #1491
2016-01-29 21:12:45 -08:00
Chinmay Garde 40f3b5e429 Merge pull request #2324 from chinmaygarde/master
Extract system sound and vibration functionality out of activity.mojom
2016-01-29 17:14:14 -08:00
Chinmay Garde 6a099fa716 Extract system sound and vibration functionality out of activity.mojom 2016-01-29 17:13:47 -08:00
Hixie ea12469ab2 Support multiple Semantics listeners 2016-01-29 17:09:58 -08:00
Chinmay Garde b6f43b7a54 Merge pull request #2315 from chinmaygarde/master
Initial take on a potential activity.mojom replacement
2016-01-29 16:53:12 -08:00
Chinmay Garde 8ef1e51ca8 Initial take on a potential activity.mojom replacement 2016-01-29 16:52:34 -08:00
Jason Simmons 38066f62a1 Merge pull request #2323 from jason-simmons/dart_sdk_113
Rollback third_party/dart-sdk to 1.13.0
2016-01-29 15:24:48 -08:00
Jason Simmons f0c260eb4f Rollback third_party/dart-sdk to 1.13.0 2016-01-29 15:04:14 -08:00
Adam Barth 4fe584c757 Revert "Update the DartVM"
This reverts commit 3e7cf0b74e.
2016-01-29 13:38:32 -08:00
Adam Barth d4eb4e280f Rev pub packages 2016-01-29 12:44:02 -08:00
Adam Barth 640ce8134f Merge pull request #2322 from abarth/update_mojo_sdk
Update mojo_sdk
2016-01-29 12:42:57 -08:00
Adam Barth f1ef44ce60 Update mojo_sdk 2016-01-29 12:42:00 -08:00
Adam Barth bac2969561 Merge pull request #2321 from abarth/roll_dart
Update the DartVM
2016-01-29 12:41:03 -08:00
Adam Barth 3e7cf0b74e Update the DartVM 2016-01-29 12:39:29 -08:00
Adam Barth c8bc30ce2f Merge pull request #2320 from abarth/update_dart
Update Dart SDK to 1.14
2016-01-29 12:14:02 -08:00