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
Adam Barth
69a0475586
KeyboardServiceState#setSelection shouldn't crash
...
Now we sanity check our inputs instead of crashing.
Fixes #1033
2016-01-26 11:56:51 -08:00
Ian Hickson
623c951efd
Fix the Input crash.
...
KeyboardServiceImpl's setText method was dropping the new text on
the floor instead of passing it on to the KeyboardServiceState.
Then it was passing the selection indices through, so they were
out of range, which the Android runtime doesn't like.
Fixes #964 .
2015-12-28 14:50:26 -08:00
Adam Barth
ee6f9b7fd8
Revert changes Mojo changes to KeyboardServiceImpl.java
2015-12-03 10:59:36 -08:00
Adam Barth
c70420a542
Update to mojo 538acea1892ce327ca5f8e192aaf62531d095b52
2015-12-03 10:26:13 -08:00
Kris Giesing
e37a1e0c38
Remove static data from Java keyboard-related service implementations
...
Fixes #299
2015-11-24 15:04:29 -08:00
Kris Giesing
07b2826e7e
Update to mojo e2b1bc4e7cd4e3b6e851a45f96e55816bcc02457
2015-11-20 13:49:10 -08:00
Adam Barth
db2c9d43ce
Remove sky_viewer.mojo
...
We now use flutter.mojo instead.
2015-11-17 14:32:57 -08:00
Collin Jackson
0904164fd6
Fix https://github.com/flutter/flutter/issues/371 renaming "sky" and "chromium" to "flutter" in logs and Mac Shell UI
2015-11-16 14:54:18 -08:00
James Robinson
3e79cc5829
Nuke //ui/events, all users are runtime dead
2015-11-11 17:33:07 -08:00
Jason Simmons
9f2d723006
Replace the legacy pointer input event handling with PointerPackets
...
With this change we no longer need engine/core/events and its IDL bindings.
2015-11-10 14:34:12 -08:00
Adam Barth
02d75552c9
Start booting up the new binding system for window
...
Currently this code isn't completely wired up, but this patch is an incremental
step in that direction.
2015-10-27 16:53:52 -07:00
Adam Barth
ae83ec4188
Fix the build
2015-10-26 09:28:21 -07:00
Adam Barth
edb7d79c86
Update includes to account for network service move
2015-10-19 10:30:24 -07:00
Jason Simmons
19258a6d71
Update to mojo 1292152bf533de1bfebf5966d6246e149f87add3
2015-10-13 15:24:40 -07:00
Jason Simmons
69b47bfab9
Update to mojo 298d9942de7819c4a837b049bc98d2cbcd61554f
2015-10-12 15:34:11 -07:00
Jason Simmons
10c8e321d8
Merge pull request #1569 from jason-simmons/mojo_merge_client
...
Update to mojo 4fe7bc6c228b3a2939cd3635ebd701f88eeca55d
2015-10-12 10:10:45 -07:00
Adam Barth
72c103cefa
Rename dart:sky to dart:ui
2015-10-09 19:27:13 -07:00
Jason Simmons
d3a5b2c390
Update to mojo 4fe7bc6c228b3a2939cd3635ebd701f88eeca55d
2015-10-09 17:27:33 -07:00
Adam Barth
06eaaf7909
Fix build
...
Mistakenly broke sky_viewer.mojo.
2015-10-09 09:19:21 -07:00
James Robinson
eef941140f
Handle a picture in a TextureLayer with an empty cull rect
...
If we have a layer with a picture where the cull rect computes down to an empty
rectangle attempting to rasterize it into a ganesh surface will fail in the
same manner that trying to ganesh rasterize an empty layer will. This teaches
LayerHost to check for this case and handle it like an empty layer.
Fixes #1337
2015-09-28 18:22:52 -07:00
Jeff Brown
e7483b60a4
Remove unused dependency on ui::GestureRecognizer.
2015-09-24 14:00:04 -07:00
Jeff Brown
4d8e765423
Run sky_viewer directly on top of native_viewport / surfaces.
...
Remove view manager from consideration for now.
Although we could also remove the dependency on surfaces, it makes
sense to keep it for a little while longer since the replacement
for view manager will likely depend on it or a similar compositor.
2015-09-23 16:48:14 -07:00
Jeff Brown
5d4e44fa92
Remove SurfaceAllocator because it is unused.
2015-09-23 16:48:14 -07:00
James Robinson
defb7d2c6f
Teach content handler service to serve flx (and only flx) files
2015-09-21 17:34:29 -07:00
Chinmay Garde
faee292fa2
Delete "services/sky/compositor/picture_serializer"
2015-09-21 16:31:26 -07:00
Chinmay Garde
c94953c984
Fix Build: Remove incorrect include of deleted picture_rasterizer.h
2015-09-18 15:36:27 -07:00
Chinmay Garde
a3af5bd1e8
Remove picture_rasterize.h|cc
2015-09-18 14:31:05 -07:00
Adam Barth
d5b2969546
Simplify TestRunner now that we don't have test_sky
2015-09-16 11:00:33 -07:00
Kishore Simbili
5d12b71863
Delete document view when view manager is disconnected.
2015-09-15 10:22:40 -07:00
Adam Barth
ae42346bb5
Fix build after recent compositor changes
2015-09-11 09:02:20 -07:00
Chinmay Garde
d0009550c0
PictureRasterizer for caches pictures as images
2015-09-09 14:52:58 -07:00
Adam Barth
48c0505587
Fix build
2015-09-09 10:21:34 -07:00
Adam Barth
e5d7e69346
Pass the sky::LayerTree to the GPU thread for drawing
...
Instead of squashing the layers down into a single SkPicture, we now pass the
tree to the GPU thread, which draws everything separately.
2015-09-03 19:20:32 -07:00
Adam Barth
860f939e87
Rename sky::Layer to sky::TextureLayer
2015-09-02 14:50:45 -07:00
James Robinson
34f24c6eeb
Use the GL headers from the Mojo SDK when building for Mojo
2015-08-28 10:17:08 -07:00
Alhaad Gokhale
e2b4149320
Go back to master.
2015-08-27 18:16:45 -07:00
Alhaad Gokhale
391b9490d6
root_->AddObserver done eagerly
2015-08-26 16:12:10 -07:00
Alhaad Gokhale
d63163d63e
Fix sky_viewer when being run from a skyx snapshot.
2015-08-26 15:31:41 -07:00
James Robinson
c8eff5e44f
Update to mojo d259eb58aa59e14a13d5e0dc3984b855b475ba09
...
This updates to mojo commit d259eb58aa59 and limits the roll script to
only pull in the parts of //mojo that are currently being used. More
stuff will be dropped in the future.
2015-08-25 14:56:25 -07:00
Adam Barth
61dcfbc0ed
Add support for skyx to sky_viewer.mojo
...
Fixes #753
2015-08-24 09:34:17 -07:00
Adam Barth
011ce5d8e7
Clear the frame to black before drawing
...
We used to do this in the SkPicture, but it's simpler to do it in the
rasterizer now that we're using multiple SkPictures in Dart.
2015-08-14 10:45:14 -07:00
James Robinson
609d3f6c28
glFlush after inserting sync point
2015-08-12 17:45:31 -07:00
Adam Barth
5f62ffe1f4
Swith from skia::RefPtr to RefPtr
...
Now that we can use WTF everywhere, we don't need to use skia::RefPtr.
2015-08-10 14:18:38 -07:00
Eric Seidel
c2146ffe69
Make it possible to type numbers in Sky
...
I must be holding it wrong. This seems excessively
low level for what we're trying to do.
Partial fix for https://github.com/domokit/sky_engine/issues/466
@abarth
2015-08-07 12:21:16 -07:00
Eric Seidel
a99932dc95
Update to mojo 35de44e3618d508b2b3862af2216aee8c70ad8e5
2015-08-06 15:38:19 -07:00
Chinmay Garde
3e7ab3a338
Fix loading SkyX files on Mac
2015-07-30 15:33:13 -07:00
Adam Barth
64ecf6214f
Add a flag to sky_viewer to enable checked mode
...
This flag will let clients who use release builds enable checked mode.
Fixes #22
2015-07-29 19:05:44 -07:00
Adam Barth
edf9db0d4e
Remove Screen.idl and associated code
2015-07-25 19:04:17 -07:00
Ian Fischer
a9061ef43e
Some changes to bring the iOS build closer to the
...
Android and Linux builds.
Also fixes a couple of toolchain selection issues.
2015-07-23 10:07:11 -07:00