Chinmay Garde
d52d3a4448
Wire up the interpreter on iOS devices. ( #2648 )
2016-05-06 15:37:59 -07:00
Jason Simmons
5d523cd94a
Fixes for Dart/native conversion of some painting objects ( #2656 )
2016-05-06 10:40:17 -07:00
Adam Barth
c081845efc
Remove Dart_GetField from Canvas interface ( #2653 )
...
These Dart_GetField calls show up on traces. This patch removes almost all of
them from the Canvas interface. We still have a few in drawAltas and
drawVertices, which will be removed in a later patch.
2016-05-05 19:56:41 -07:00
Adam Barth
8559ffe868
Remove GetField calls from compositing upload ( #2647 )
...
Now we grab the underlying primative values before exiting the VM.
2016-05-04 17:14:09 -07:00
Ian Hickson
d85ead8ec2
Add Path.contains, an API to hit test a Path ( #2642 )
2016-05-03 13:04:43 -07:00
Adam Barth
a25959370a
Remove the old Paragraph API ( #2633 )
...
All the clients of migrated to the new ParagraphConstraints API.
2016-04-29 09:49:34 -07:00
Adam Barth
28fbcc3a38
Use LayoutUnit to normalize infinity properly ( #2632 )
...
In the new ParagraphConstraints code path, we weren't converting through
LayoutUnit, so we weren't getting the right overflow behavior for extremely
large double values. This resulted in test/rendering/block_test.dart failing.
2016-04-28 16:11:16 -07:00
Adam Barth
7a186960d7
Add ParagraphConstraints ( #2622 )
...
This patch begins to update the Paragraph interface to something sensible. It
introduces a ParagraphConstraints object that is passed to layout() to control
the layout of the paragraph. Once clients are migrated over, the argument will
become required.
2016-04-28 09:38:08 -07:00
Jason Simmons
f1a8c5468d
Load the precompiled snapshot from a group of asset files on Android ( #2621 )
...
Previously the AOT snapshot was packaged as a dynamic library (similar to the
scheme used on iOS). This change eliminates the need for a native code
toolchain when building for AOT.
2016-04-27 15:35:25 -07:00
Adam Barth
625e937442
Update Skia ( #2626 )
2016-04-27 14:59:06 -07:00
Jason Simmons
9d19f93386
Do not create the service isolate when Dart is built in product mode ( #2618 )
2016-04-25 17:05:21 -07:00
Jason Simmons
b478563ea6
Support ahead-of-time compilation on Android in the engine ( #2614 )
...
This include build system changes for selecting Dart's precompiler mode
plus a way to locate and load the precompiled snapshot library from an
Android application
2016-04-25 10:45:23 -07:00
Adam Barth
71a211ba36
Improve docs for window.size ( #2615 )
...
This would have answered a question we received on flutter-dev.
Fixes https://github.com/flutter/flutter/issues/3517
2016-04-25 10:22:29 -07:00
Yegor
7a919c0f58
record startup timestamp in Android; pass it to Dart timeline ( #2612 )
2016-04-22 13:41:38 -07:00
Jason Simmons
e6ce967fce
Roll Dart and set dart_runtime_mode in the GN script ( #2610 )
2016-04-22 11:02:41 -07:00
Adam Barth
622afbb75c
window.render should render immediately ( #2603 )
...
Previously we would hold the layer tree until the we returned from Dart. Now we
send the layer tree to the rasterizer thread immediately.
Fixes #212
2016-04-20 13:37:40 -07:00
Jason Simmons
48de25e19b
Do not modify the set of active streams within the embedder tracing callbacks ( #2600 )
...
Dart invokes Start/StopTracing callbacks within the _setVMTimelineFlags service
method whenever the embedder timeline stream toggles on or off. Flutter's
implementation of these callbacks was modifying the set of enabled streams,
which could override the intended behavior of _setVMTimelineFlags.
Start/StopTracing will now only control Flutter's embedder-specific log.
Also needed to change the Flutter engine's --trace-startup flag to set the
corresponding timeline stream flag on the Dart VM.
2016-04-19 10:38:22 -07:00
Jason Simmons
5704322798
Add a --deploy build option that enables Dart product mode ( #2598 )
2016-04-15 12:18:57 -07:00
Jason Simmons
7182341f85
Merge pull request #2579 from jason-simmons/skia_skp_capture
...
Add an HTTP server for exporting Flutter debug info and a request han…
2016-04-06 10:22:46 -07:00
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
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
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
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
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