Adam Barth
aec7d422e7
Pass the Mozart ViewHost into Dart
...
Dart needs access to the ViewHost in order to create child views.
2016-02-03 14:39:45 -08:00
Adam Barth
4192794b60
Merge pull request #2347 from abarth/composite_child_scenes
...
Include child scenes when uploading to Mozart
2016-02-03 14:21:22 -08:00
Adam Barth
e3bf0fa3c1
Include child scenes when uploading to Mozart
...
Previously we just dropped child scenes on the floor. Now we upload them
to Mozart. However, we just draw them on top of all the other content
and don't apply any clips or blends.
2016-02-03 14:16:09 -08:00
Chinmay Garde
cd2dbd5ed9
Merge pull request #2346 from chinmaygarde/master
...
Make the `dynamic_service_loader` target explicitly depend on common deps for generated headers
2016-02-03 14:01:59 -08:00
Chinmay Garde
7dcf0c7765
Make the dynamic_service_loader target explicitly depend on common deps for generated headers
2016-02-03 13:59:17 -08:00
Chinmay Garde
144ed4d35e
Merge pull request #2345 from chinmaygarde/master
...
Install Mojo system thunks in dylib loaded for dynamic service resolution
2016-02-03 13:45:59 -08:00
Chinmay Garde
c40b3d808d
Install Mojo system thunks in dylib loaded for dynamic service resolution
2016-02-03 13:45:20 -08:00
Devon Carew
f528cf38ff
Merge pull request #2341 from devoncarew/xcode_target
...
use 'build --target' in the xcode project instead of --main
2016-02-03 11:49:37 -08:00
Hixie
01acefa749
revving engine
2016-02-03 10:13:24 -08:00
Adam Barth
94dac511f6
Fix the mac build
2016-02-03 09:58:47 -08:00
Devon Carew
938cf2d2b0
use 'build --target' in the xcode project instead of --main
2016-02-03 09:29:49 -08:00
Chinmay Garde
9701b8ae7b
Fix iOS implementation of SystemChrome after mojom updates
2016-02-02 17:08:54 -08:00
Jason Simmons
2dd834fd45
Merge pull request #2339 from jason-simmons/platform_activity_services
...
Implementation of platform services for Android
2016-02-02 17:02:59 -08:00
Chinmay Garde
a7349a1142
Allow dynamic service resolution in the iOS shell
2016-02-02 16:55:35 -08:00
Jason Simmons
7730a0c123
Implementation of platform services for Android
2016-02-02 16:10:22 -08:00
Hixie
00f2b17f66
Make the arrays nullable in the Semantics mojom.
2016-02-02 13:36:15 -08:00
Devon Carew
7204fc0663
Merge pull request #2335 from devoncarew/start_paused
...
some work towards a --start-paused flag
2016-02-02 12:20:43 -08:00
Devon Carew
3c83f895ed
some work towards a --start-paused flag
2016-02-02 11:44:01 -08:00
Chinmay Garde
7fe880d89f
iOS: Implement service providers for flutter.platform
2016-02-02 11:37:18 -08:00
Adam Barth
69abe6b091
Rev pub packages
2016-02-02 10:44:46 -08:00
Adam Barth
bdacb56cdd
Improve IME interface
...
Instead of providing a stream of mutations, we now provide a the client with
the complete state of the editing control to prevent the two from getting out
of sync.
As a side-effect, we can now move the cursor around when editing a text field.
2016-02-01 20:41:48 -08:00
Chinmay Garde
191413999f
Merge pull request #2330 from chinmaygarde/master
...
Add an assertion in debug if the application requests an unknown service
2016-02-01 15:42:33 -08:00
Chinmay Garde
7cc0e03ba5
Remove the mojo::Close call because the desctructor will automatically be called when the handle goes out of scope
2016-02-01 13:14:34 -08:00
Jason Simmons
3407ce1fb9
Reset all animator state when restarting a paused animator
...
Fixes #1499
2016-02-01 13:05:54 -08:00
Chinmay Garde
2854f56be1
Add an assertion in debug if the application requests an unknown service
2016-02-01 12:56:02 -08:00
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
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
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
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
Adam Barth
4fe584c757
Revert "Update the DartVM"
...
This reverts commit 3e7cf0b74e5b49ac7a92fa34e4c4117ea871b3da.
2016-01-29 13:38:32 -08:00
Adam Barth
d4eb4e280f
Rev pub packages
2016-01-29 12:44:02 -08:00
Adam Barth
f1ef44ce60
Update mojo_sdk
2016-01-29 12:42:00 -08:00
Adam Barth
3e7cf0b74e
Update the DartVM
2016-01-29 12:39:29 -08:00
Adam Barth
153c93e8db
Introduce TextBox
...
TextBox is a rect that understands TextDirection.
2016-01-29 12:05:16 -08:00
Adam Barth
9b6698f162
Add getRectsForRange to Paragraph
...
We can use getRectsForRange to implement selection painting in the
framework.
2016-01-29 01:39:47 -08:00
Jason Simmons
f5f1724bb0
Merge pull request #2316 from jason-simmons/view_reset_animator
...
Reset the animator before assigning a new vsync provider
2016-01-28 17:14:58 -08:00
Jason Simmons
bb50a35434
Reset the animator before assigning a new vsync provider
...
When the engine starts a new version of the Dart application, the animator may
have pending callbacks and other state related to the previous run of the app.
This state must be cleared before the new vsync provider is assigned.
2016-01-28 16:41:12 -08:00
Collin Jackson
e49d611b53
Merge pull request #2314 from collinjackson/chokes
...
fixes #1461 oknet chokes on binary charsets
2016-01-28 16:40:00 -08:00
Collin Jackson
57b1785cd0
fixes #1461 oknet chokes on binary charsets
2016-01-28 16:11:01 -08:00
Adam Barth
215b19e3fc
Add the ability to create child scenes
...
This patch contains Dart bindings for adding a child scene when running in
Mozart. The child scene is currently ignored, but a later patch will actually
incoporate it into the tree.
2016-01-28 16:08:42 -08:00
Adam Barth
411c6bfa4b
Port flutter.mojo to Mozart
...
Everything should work except the keyboard.
2016-01-28 16:04:19 -08:00