Eric Seidel
a92597ee07
Add various trace events for tracing startup
...
@abarth
2015-12-02 12:18:20 -08:00
Chinmay Garde
34696334a4
Allow capturing unified (Dart and base) traces from observatory
...
* Start capturing via <obs_host>:<obs_port>/flutter_startTracing
* Stop capturing via <obs_host>:<obs_port>/flutter_stopTracing
2015-12-01 13:26:53 -08:00
Adam Barth
def06cc72b
SkyShell on Mac shows a blank window
...
When I run SkyShell on Mac from the command line, I get a blank screen unless I
make the change in this patch.
2015-11-27 23:17:33 -08:00
Hixie
02bac7a285
Have Travis check the build for Dart errors.
2015-11-25 15:10:01 -08:00
Hixie
8f78acf2ca
Fix Rect.isEmpty
...
...and provide Size.isEmpty and Size.shortestSide for consistency.
2015-11-24 17:29:43 -08:00
Hixie
915e7337a2
Layers don't always have paint bounds.
2015-11-24 15:20:28 -08:00
Adam Barth
a9db805f58
Add system-level routing
...
We now respect the "route" field in Intents to load a route other than '/'.
Also, use popRoute rather than events to indicate that the framework has asked
us to go back.
2015-11-24 12:40:41 -08:00
Todd Turnidge
df3977e38d
Add stdout/stderr streaming for Dart debuggers.
2015-11-23 12:53:30 -08:00
Adam Barth
15a638332c
Text snaps to pixel grid, images don't
...
Previously, we tried to use the render tree's paint offset to move the text to
the proper position, but that appears to snap to integer logical pixels,
introducing jitter. Now we use the SkCanvas's matrix to position the text,
removing the jitter.
Fixes https://github.com/flutter/flutter/issues/234
2015-11-20 12:49:01 -08:00
Adam Barth
2d217034be
Fix RRect#shift
...
Previous this would crash.
2015-11-19 11:21:54 -08:00
Adam Barth
a743fbf27a
Remove ui.tracing
...
This feature is redundant with the Timeline in dart:developer. I've already
switched all the clients over to using dart:developer.
2015-11-18 14:18:45 -08:00
George Kulakowski
e60e50386a
Add fnl build configuration
2015-11-18 13:07:19 -08:00
Chinmay Garde
bde64ab147
Use dart_host_toolchain when building host binaries that depend on Dart
2015-11-18 12:15:45 -08:00
George Kulakowski
15fce47583
Merge pull request #2068 from kulakowski/build-stuff
...
Clean up some dead code in core renderer
2015-11-17 12:54:28 -08:00
George Kulakowski
a3d7faafed
Clean up some dead code in core renderer
2015-11-17 11:32:09 -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
John McCutchan
a22ca7533a
Update sdk_ext source paths
2015-11-13 10:31:23 -08:00
John McCutchan
b89f2b3f47
Update service isolate server script
2015-11-13 10:22:31 -08:00
Jason Simmons
1566d66a9e
Merge pull request #2036 from jason-simmons/card_collection_segfault
...
Do not delete the DrainJob within the DrainJob::Start callback
2015-11-12 09:59:54 -08:00
Jason Simmons
c765df18b4
Do not delete the DrainJob within the DrainJob::Start callback
...
DrainDataPipeInBackground posts a callback to DrainJob::Start, which
constructs a DataPipeDrainer. The DataPipeDrainer's constructor may
call OnDataComplete. If this happens, it is unsafe to delete the
DrainJob while the callback is still running.
2015-11-11 15:52:18 -08:00
Adam Barth
cc81c2fb69
Merge pull request #2027 from abarth/dispose
...
Add the ability to dispose host objects
2015-11-11 10:39:38 -08:00
Adam Barth
ff48ddb68f
Add the ability to dispose host objects
...
Some host objects hold on to a lot of state and take time to tear down. This
patch adds the ability to dispose them eagerly to release resources faster.
2015-11-11 08:36:29 -08:00
John McCutchan
dd328c3293
Switch to using callback to get observatory data (working)
2015-11-11 07:25:44 -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
150bbf6c7a
Remove Dart packages which have moved to flutter.dart
2015-11-07 00:34:12 -08:00
Collin Jackson
ddab005e59
Merge pull request #2001 from collinjackson/roll_mojo
...
Roll mojo
2015-11-06 14:21:51 -08:00
Collin Jackson
07cd2bac4a
Update to use new MojoNative API
2015-11-06 14:16:40 -08:00
Chinmay Garde
88f8527152
Merge pull request #1985 from chinmaygarde/master
...
Dart isolate symbols are no longer in the blink namespace. Fix the snapshotter to account for the same.
2015-11-05 20:24:45 -08:00
Chinmay Garde
ed7b829678
Dart isolate symbols are no longer in the blink namespace. Fix the snapshotter to account for the same.
2015-11-05 20:01:22 -08:00
Chinmay Garde
a9867b0821
Merge pull request #1975 from chinmaygarde/master
...
Allow dynamic resolution of Dart isolate and instructions snapshot
2015-11-05 17:07:58 -08:00
Chinmay Garde
4a0ef22f30
Rename: DART_ALLOW_DYNAMIC_LOADING to DART_ALLOW_DYNAMIC_RESOLUTION
2015-11-05 16:54:44 -08:00
Chinmay Garde
f5aae58dc3
Only attempt dynamic resolution of Dart VM assets on iOS and Mac
2015-11-05 16:47:49 -08:00
Chinmay Garde
eb4326331d
Allow dynamic resolution of Dart isolate and instructions snapshot
2015-11-05 15:40:36 -08:00
Jason Simmons
cc030ef888
Merge pull request #1965 from jason-simmons/idl_tracing
...
Convert Tracing to stop using the IDL-based bindings
2015-11-05 15:21:27 -08:00
Chinmay Garde
1e98421ca1
GN rules for the precompilation SDK
2015-11-05 12:57:36 -08:00
Jason Simmons
28511cee5a
Convert Tracing to stop using the IDL-based bindings
2015-11-05 12:43:31 -08:00
Chinmay Garde
8fd1ce7738
Disable Dart profiling on iOS and MacOS
2015-11-05 12:25:13 -08:00
Jason Simmons
4f94048f10
Improve performance of marshaling simple Paint objects to native code
...
Paint is an argument on most methods of Canvas, and in many uses the Paint
contains only a color. In this case, return the Paint's value to native code
as an int instead of constructing a list of attributes.
This improved run time on a drawRect benchmark by 35%.
2015-11-04 14:33:45 -08:00
Chinmay Garde
53282f6a15
Merge pull request #1930 from chinmaygarde/master
...
Avoid tripping on an assertion after calling Dart_ListGetRange with zero length
2015-11-03 14:08:20 -08:00
Chinmay Garde
3fbd90472e
Avoid tripping on an assertion after calling Dart_ListGetRange with zero length
2015-11-03 13:58:07 -08:00
Jason Simmons
f1f7e79cfe
Merge pull request #1908 from jason-simmons/canvas_rrect_marshal_2
...
Make RRect immutable and replace RRect.setRectXY with a fromRectXY co…
2015-11-03 13:33:20 -08:00
Chinmay Garde
a2b61d4275
Enable simulator builds when using precompilation for iOS
2015-11-03 11:54:37 -08:00
Adam Barth
b0cb37d5a0
Don't anti-alias RRect and Path clips
...
We should probably expose this dial to clients eventually, but this patch just
makes our default match Skia's default of not anti-aliasing RRect and Path
clips.
2015-11-02 18:26:48 -08:00
Jason Simmons
7b40d5b9d0
Make RRect immutable and replace RRect.setRectXY with a fromRectXY constructor
2015-11-02 16:38:37 -08:00
Jason Simmons
488cff3e40
Marshal RRect using a DartConverter (as is done for Rect)
...
This improved running time of a Canvas.drawRRect benchmark by 40%
2015-11-02 16:17:25 -08:00
Jason Simmons
b069bdbde6
use Dart_GetListRange in DartConverter<Vector>
2015-11-02 12:48:27 -08:00
Jason Simmons
fe421cd583
Merge pull request #1888 from jason-simmons/canvas_paint_list_range
...
Use Dart_ListGetRange instead of multiple calls to Dart_ListGetAt
2015-11-02 10:06:00 -08:00
Adam Barth
735e35ff4f
Merge pull request #1894 from abarth/stroke_cap
...
Add Paint#strokeCap
2015-11-02 09:31:05 -08:00
Adam Barth
39647f8e4e
Remove dependency on gperf
...
We don't need the CSS color names anymore.
2015-11-01 12:49:27 -08:00
Adam Barth
ff7b3668ea
Add Paint#strokeCap
...
Fixes #1887
2015-11-01 11:18:39 -08:00