Adam Barth
13f67343d0
Add support for backdrop filters in the compositor
...
Particularly, add support for blur filters to implement backdrop blur effects.
2016-04-01 17:15:36 -07:00
Adam Barth
4e6fd739d1
Merge pull request #2566 from abarth/roll_mojo
...
Update Mojo
2016-03-30 15:27:57 -07:00
Chinmay Garde
d43bae3eeb
Don't crash if the scene has no root layer set.
2016-03-30 15:14:17 -07:00
Adam Barth
3f7d5ef6f8
Update code to account for Mozart changes
...
The layout protocol in Mozart changed. Now we need to pipe a scene version
through the system to the compositor.
2016-03-30 15:13:58 -07:00
Adam Barth
516c096d98
Fix encoded paragraph size
2016-03-30 09:38:39 -07:00
Adam Barth
5124a68e8e
Merge pull request #2563 from abarth/paragraph_font
...
Add font styles to ParagraphStyle
2016-03-30 09:21:56 -07:00
Adam Barth
3ad1ea7b4b
Fix build
2016-03-30 09:07:17 -07:00
Chinmay Garde
3a5dd866b2
Add static assert to check that all Dart wrappable instances are thread-safe reference-countable.
2016-03-29 16:30:26 -07:00
Adam Barth
d3d3e47b0a
Add font styles to ParagraphStyle
...
Also, rename TextStyle#lineHeight to height.
2016-03-29 15:28:28 -07:00
Jason Simmons
6a5533ca05
Merge pull request #2562 from jason-simmons/css_word_wrap
...
Set the CSS overflow-wrap property to enable line breaks within a word
2016-03-29 10:08:37 -07:00
Jason Simmons
e161e912e1
Set the CSS overflow-wrap property to enable line breaks within a word
...
Fixes https://github.com/flutter/flutter/issues/162
2016-03-28 16:56:47 -07:00
Adam Barth
9ecc54fb7e
Don't crash on Dart compile errors
...
Instead, just unwind as usual.
Fixes #2890
2016-03-28 12:58:47 -07:00
Jason Simmons
b93e9419bd
Support the JNI bridge in secondary isolates
...
This requires detaching from the JVM at thread shutdown using a callback
that was recently added to the Dart VM.
2016-03-28 10:03:18 -07:00
Adam Barth
2ca9e3317e
Teach sky_snapshot about .packages
...
The sky_snapshot tool now understands the --packages command-line flag.
Progress on https://github.com/flutter/flutter/issues/1351
2016-03-28 00:43:42 -07:00
Adam Barth
baaceb79a9
Update Skia
...
Fixes https://github.com/flutter/flutter/issues/2670
2016-03-22 09:28:46 -07:00
Adam Barth
e301cef648
Update Skia
...
This required a bunch of changes because of the new sk_sp type Skia has
introduced into their API.
2016-03-21 14:59:49 -07:00
Hixie
9fbe031676
Better documentation for [Picture].
2016-03-18 14:24:51 -07:00
Chinmay Garde
2bde94c703
Merge pull request #2525 from chinmaygarde/master
...
Update Dart dependency
2016-03-18 11:29:50 -07:00
Adam Barth
678d5f9bac
Cleanup MojoServices in dart:ui
...
This patch cleans up the way we expose Mojo services into Dart. It also adds a
service provider for "view services," which will evetually contain the raw
keyboard service.
2016-03-18 10:52:13 -07:00
Adam Barth
410aac589b
Flutter apps in Mozart should have reasonable Uri.base
...
Previously this value was the temp directory that we used to store the FLX
bundle. Now it's the URL given to us by MojoShell.
2016-03-18 09:53:44 -07:00
Chinmay Garde
0616669659
Update Dart dependency
2016-03-17 17:51:02 -07:00
Ian Hickson
138fae117a
Merge pull request #2520 from Hixie/addPerformanceOverlay-docs
...
Performance Overlay fixes
2016-03-17 17:21:26 -07:00
Adam Barth
2838055627
Remove Paragraph#paint
...
We now use Canvas#drawParagraph.
2016-03-17 17:20:26 -07:00
Hixie
389bc4b456
Performance Overlay fixes
...
- fix dartdocs for addPerformanceOverlay
- make PerformanceOverlayLayer honour its x, y, and height.
- fix the y axis of PerformanceOverlayLayer to only show 3x16ms, since
if it's more than 16ms it really doesn't matter what it is.
- make the label on the PerformanceOverlayLayer show the worst time on
record not the instantaneous time.
- pin the fps to a maximum of 60Hz
2016-03-17 17:14:04 -07:00
John McCutchan
a8ea37b714
Merge pull request #2515 from johnmccutchan/observatory_auto_port
...
Auto select Observatory port on Android and iOS simulators
2016-03-17 14:24:19 -07:00
Adam Barth
1e55e997de
Add Canvas#drawParagraph
...
Fixes #2694
2016-03-17 12:38:09 -07:00
John McCutchan
4d7272446d
Auto select Observatory port on Android and iOS simulators
2016-03-17 11:43:41 -07:00
Hixie
c650a0ba9b
Flesh out docs for addPerformanceOverlay
2016-03-17 11:05:22 -07:00
Chinmay Garde
f5f8636cc6
Merge pull request #2502 from chinmaygarde/master
...
Wire up the TracingController to the the Dart embedder timeline API
2016-03-16 18:17:30 -07:00
Chinmay Garde
09972ad11c
Wire up the TracingController to the the Dart embedder timeline API
2016-03-16 16:08:47 -07:00
Ian Hickson
4681428475
Merge pull request #2513 from Hixie/Path-docs
...
Path dartdocs
2016-03-16 12:43:42 -07:00
Hixie
610916bb51
Some Paint dartdocs (and style tweaks)
2016-03-16 11:23:02 -07:00
Hixie
59597a1550
Path dartdocs
2016-03-16 11:09:09 -07:00
Ian Hickson
3a48f5b18a
Merge pull request #2509 from Hixie/paragraph-docs
...
Improve Paragraph dartdocs
2016-03-15 17:36:11 -07:00
Adam Barth
10294a70fb
Mozart embedding can see crazy width/height
...
We should initialize the width and height of the display to something
reasonable.
2016-03-15 16:46:43 -07:00
Hixie
0d3bac9af8
Improve Paragraph dartdocs
2016-03-15 14:41:07 -07:00
Adam Barth
693935c169
Don't dump core on startup exceptions
...
Instead, log the exception to the console and exit with an error code.
Fixes #2362
2016-03-15 14:06:20 -07:00
Eric Seidel
76a090d00a
Update ASSERTS in flutter engine to use flutter
...
Fixes https://github.com/flutter/flutter/issues/2692
@Hixie
2016-03-14 16:23:19 -07:00
Adam Barth
2653005461
Flutter embedded in Flutter via Mozart is double scaled
...
We weren't correctly dividing by the device pixel ratio when asking Mozart to
present our child scene.
2016-03-11 13:36:59 -08:00
Chinmay Garde
26d5aeb2e2
Avoid importing the internal lib into the builtin since its disallowed after Dart_Precompile.
...
Import the library directly in dart_ui.dart.
2016-03-10 14:40:26 -08:00
Jason Simmons
0ce96c8a55
Delete DartState during isolate shutdown
...
This solves two problems:
* UIDartState was being deleted during destruction of DartController after the
isolate had been shut down. The UIDartState held persistent handles to Dart
objects, and deleting them when the isolate no longer exists caused an
assertion failure.
* DartStates created for secondary isolates were never being deleted
Fixes https://github.com/flutter/flutter/issues/2549
2016-03-10 10:47:46 -08:00
Adam Barth
15435a5b23
Fix iOS build
...
We don't have _getCreateTimerClosure, which means we need to remove it from the
dart_vm_entry_points.txt list.
Fixes https://github.com/flutter/flutter/issues/2569
2016-03-10 08:20:21 -08:00
Hixie
87f38fa63d
Remove Picture.playback, and other clarifications
2016-03-09 13:54:02 -08:00
Ian Hickson
8514a14911
Merge pull request #2474 from Hixie/AppLifecycleState-docs
...
Hide implementation comment we leaked into docs
2016-03-08 15:16:09 -08:00
Hixie
da4f9c54f7
Fix ImageShader crash, and add dartdocs
...
Adds or augments the documentation of various objects in dart:ui.
Removes the ignored argument to SceneBuilder.
Hide the default constructor on Gradient.
Add a call to the ImageShader constructor.
Reorder some members so that private versions come after public versions
so that docs will come before both.
2016-03-08 14:47:00 -08:00
Hixie
7709e78311
Hide implementation comment we leaked into docs
...
Also, add some dartdocs for AppLifecycleState values.
2016-03-08 12:15:15 -08:00
Chinmay Garde
446984ec33
Conditional directives are a snapshotter option. Remove the same from the embedder VM and add the flag to the precomp snapshotter.
2016-03-07 17:17:02 -08:00
Chinmay Garde
9b2e93a06b
iOS: Only add the kDartConditionalDirectivesArgs flags when not using precompilation
2016-03-07 16:53:32 -08:00
Jason Simmons
58adea7f33
Merge pull request #2466 from jason-simmons/scene_builder_ctor
...
Update the expected argument count in the SceneBuilder constructor
2016-03-07 12:46:58 -08:00
Collin Jackson
d167f5b83f
Merge pull request #2464 from collinjackson/enable_conditional_directives
...
Enable conditional directives
2016-03-07 12:05:27 -08:00