Ian Hickson
1db82fde82
Update libjpeg_turbo ( #2764 )
...
* Update libjpeg_turbo
* Update our libjpeg_turbo BUILD.gn file
This brings in this file from upstream:
https://chromium.googlesource.com/chromium/src/+/master/build/secondary/third_party/libjpeg_turbo/BUILD.gn
* We don't always build with libjpeg
...so the libjpeg target isn't always available.
2016-06-17 12:16:43 -07:00
Chinmay Garde
78af411d47
Fix leaky descriptor in dart_init and use the correct macro to handle EINTRs on close syscall wrappers. ( #2765 )
...
* Use IGNORE_EINTR instead of HANDLE_EINTR when using the `close` syscall wrapper.
* Don't leak the file descriptor used to memory map Dart related artifacts.
2016-06-17 12:04:30 -07:00
John McCutchan
c69d907b49
Roll Dart forward to b2c755c59a8b2db8bfefbd922ab9ddd1a973e3bf ( #2763 )
2016-06-16 12:47:54 -07:00
Adam Barth
a89a5c91c4
The gen_snapshot tool requires this field to be present ( #2762 )
2016-06-16 09:25:15 -07:00
Adam Barth
211f2d4afb
Revert base roll and its fallout.
...
Updating base turns out to be more complicated than I thought.
This reverts commit daa822aae70a8ab860ed8f085cdadf6987c28d03.
This reverts commit c38428c7b98951e2cccf6b38881eabd87786da49.
This reverts commit 4b73a8a0486d45081c5dde4e2c51c32d1376250b.
2016-06-15 17:30:27 -07:00
Adam Barth
daa822aae7
Fix Mac build
2016-06-15 17:19:07 -07:00
Adam Barth
c38428c7b9
Fix Mac build
2016-06-15 15:08:20 -07:00
Adam Barth
4b73a8a048
Roll base ( #2761 )
...
Update base, gn, and their clients.
2016-06-15 14:52:53 -07:00
Adam Barth
93e9328662
Fix iOS build
2016-06-15 14:03:35 -07:00
Chinmay Garde
02b7238cbb
Android platform implementation of uri_launcher.mojom ( #2760 )
2016-06-15 12:35:06 -07:00
John McCutchan
62f7eeee8d
Roll Dart forward to 9040d8f478be20e9709328c067422930a999b6cf ( #2756 )
2016-06-15 12:31:21 -07:00
Chinmay Garde
0b31c01843
Add platform/uri_launcher.mojom with an iOS backend. ( #2759 )
2016-06-15 12:17:50 -07:00
Adam Barth
886b56ad2f
Fix paths in embedder.yaml ( #2758 )
...
These files are generated to different paths now.
2016-06-15 11:06:47 -07:00
Adam Barth
e34327b7b5
Move //mojo/icu to //services/icu ( #2757 )
...
The upstream mojo.git no longer contains this code.
2016-06-15 11:04:13 -07:00
Chinmay Garde
7b612b0f2f
iOS: Discard the depth and stencil attachments of the framebuffer before presenting the color renderbuffer. ( #2737 )
2016-06-15 11:02:17 -07:00
John McCutchan
341495d517
Support for hot source reloading in the Linux glfw sky_shell ( #2755 )
...
- [x] Wire up synchronous script reloading in the library tag handler.
- [x] Allow glfw sky_shell to start from dart source as well as bundle.
2016-06-15 10:11:57 -07:00
Adam Barth
f13875ca92
Move Canvas into //flutter/lib/ui ( #2754 )
...
This patch moves the remainder of painting and compositing into their
new home (and updates their style to match Google C++ Style).
2016-06-14 23:14:14 -07:00
Adam Barth
9bc546abef
Remove Dart_GetField from Paint marshalling ( #2753 )
...
This should make almost every Canvas call significantly faster.
2016-06-14 21:11:11 -07:00
Adam Barth
8e475a9570
Move most of //sky/engine/core/painting to //flutter/lib/ui/painting ( #2752 )
...
These parts don't depend on engine anymore. Also reformat them to match Google
C++ style.
2016-06-13 17:23:34 -07:00
Todd Volkert
be96958c6f
Remove unused copy of xcode files during iOS build ( #2751 )
2016-06-13 16:25:54 -07:00
Adam Barth
46b73701f8
Start moving dart:ui into //flutter/lib/ui ( #2750 )
...
This patch moves the geometry classes.
2016-06-13 15:30:33 -07:00
Adam Barth
864beb8d26
Fix build
2016-06-13 12:45:11 -07:00
Adam Barth
c11bf6e6f8
Fix ASSERT in weather demo ( #2749 )
...
Because we're not using array buffers to marshall the vertex data for
drawVertices and drawAtlas, we need to process the paint argument first so that
we don't call Dart_GetField after creating a view into an array buffer.
2016-06-13 12:32:20 -07:00
Adam Barth
5f14c77402
Implement Canvas.drawPoints ( #2748 )
...
* Implement Canvas.drawPoints
This enables drawing polygons faster than using Paths.
Fixes https://github.com/flutter/flutter/issues/92
* Implement more Path functions
Path.fillType
Path.addPolygon
Path.addPath
Path.extendWithPath
Path.transform
Fixes https://github.com/flutter/flutter/issues/252
2016-06-13 11:42:01 -07:00
Adam Barth
f7405a3705
Remove more calls to Dart_GetField ( #2747 )
...
The only remaining calls to Dart_GetField are for Paint, which will be
handled in a later patch.
2016-06-12 00:18:16 -07:00
Adam Barth
d348a40ef3
Remove unused code in //skia ( #2746 )
...
This patch removes code in //skia that we don't use.
2016-06-11 13:49:55 -07:00
Adam Barth
12fab2f28a
Move dart:jni to //flutter/lib/jni ( #2744 )
...
This patch disentangles dart:jni from //sky/engine and moves it into
//flutter/lib/jni. Eventually dart:ui will move into a peer directory.
2016-06-11 09:15:39 -07:00
Adam Barth
fabd183e6f
Remove more calls to Dart_GetField ( #2745 )
...
This patch removes a number of the classes that were generating
Dart_GetField calls, particularly related to drawAtlas and drawVertices.
The functions that used these classes now use primatives instead, which
is more efficient.
2016-06-11 09:15:26 -07:00
Adam Barth
b6d8572687
Remove dead code ( #2743 )
...
We don't use this code anymore.
2016-06-10 22:45:26 -07:00
Adam Barth
633d674c48
Move tonic to //flutter/tonic ( #2742 )
...
Now that tonic doesn't depend on anything in //sky/engine anymore, we
can move the code to a location where its dependencies are clearer.
2016-06-10 22:36:38 -07:00
Adam Barth
aa4ee8e272
Cleanup dependencies of core/painting ( #2741 )
...
This patch removes spurious dependences on other parts of the engine.
2016-06-10 22:29:53 -07:00
Adam Barth
584d3928ce
Remove dependency from tonic to wtf ( #2740 )
...
This patch paves the way to untangling a large amount of code from the engine.
2016-06-10 16:32:53 -07:00
Adam Barth
c6f77f173e
Remove Canvas.getTotalMatrix ( #2739 )
...
This is the only readback from the canvas API. Having a write-only interface
will unlock future optimizations. This function has no clients.
Fixes #4254
2016-06-10 15:48:10 -07:00
Todd Volkert
d289a3180c
Rename app.so -> app.dylib ( #2738 )
2016-06-10 15:00:00 -07:00
Todd Volkert
a996467b0a
Remove instructions to add engine's dart-sdk to user's path. ( #2736 )
2016-06-07 14:16:32 -07:00
Chinmay Garde
034ae44419
Only attempt to codesign service dylibs if a codesigning identity is provided. ( #2735 )
2016-06-03 14:36:45 -07:00
Yegor
91b890caad
update Dart to get 6b6d363900 ( #2734 )
2016-06-03 10:47:14 -07:00
Adam Barth
81ae27ab61
Remove startup flicker on Android ( #2733 )
...
According to hackbod on Stack Overflow, we're supposed to block in the
surfaceCreated callback until we've actually drawn into the surface:
http://stackoverflow.com/questions/8772862/surfaceview-flashes-black-on-load/8888108#8888108
2016-06-02 21:01:02 -07:00
Todd Volkert
482e63dfae
System chrome platform service updates ( #2732 )
...
1) Add ability to specify a system UI overlay style, to
provide a hook into the style of the status bar icons on iOS.
2) Migrate the Activity service's task description API to the
system chrome platform service. The old API will be removed
once the Flutter repo is updated to use the new API after an
engine roll.
flutter/flutter#3544
2016-06-02 15:05:51 -07:00
Todd Volkert
6c6faf5856
Run clang-format on FlutterViewController.* (no-op change) ( #2731 )
2016-06-01 14:18:32 -07:00
Adam Barth
a943c732d5
Make sdk_xcode_harness similar to hello_services ( #2723 )
...
This patch makes the sdk_xcode_harness work the same way as
hello_services. The goal is to eventually make these the same, but this
is just a first step.
2016-06-01 09:36:31 -07:00
Adam Barth
8a4dba983f
Revert "Codesign pub package vended service dylibs after copying them to the application bundle. ( #2727 )" ( #2730 )
...
This reverts commit 85e2ce27b6f31f56abbcb309780ee4b42c0a57c9.
This patch breaks the flutter build bots.
2016-06-01 08:31:15 -07:00
Todd Volkert
bc826d3268
Fix system ui overlays on Android. ( #2728 )
...
The logic was reversed -- we should only go into fullscreen if the
user didn't specify a TOP overlay, and we should only hide the
system ui navigation if the user didn't specify a BOTTOM overlay.
2016-05-31 17:51:45 -07:00
Yegor
8ab24b807b
update Dart version to get fix for dartbug.com/26550 ( #2729 )
2016-05-31 17:13:48 -07:00
Chinmay Garde
85e2ce27b6
Codesign pub package vended service dylibs after copying them to the application bundle. ( #2727 )
2016-05-31 14:21:04 -07:00
Adam Barth
4dc3c05636
FlutterViewController should not retain listeners ( #2726 )
...
This patch makes the FlutterViewController interface more idiomatic by not
retaining listeners. It's the callers responsibility to make sure the lifetimes
work out.
2016-05-31 13:18:45 -07:00
Adam Barth
31f554b737
Update docs about command line flags ( #2725 )
2016-05-31 10:19:52 -07:00
Ian Hickson
76ac06bbdd
dart:ui painting docs fixes ( #2724 )
...
Fix comments from https://github.com/flutter/engine/pull/2721
2016-05-31 09:43:43 -07:00
Ian Hickson
579dcf9d67
Flesh our dart:ui graphics documentation. ( #2721 )
...
I gave up before I was completely done.
Items still remaining include:
* drawVertices
* drawAtlas
* TransferMode.*
* VertexMode
Also:
* Add a convenience constructor to RSTransform
* Add some convenience methods to Rect and Size
* Make some defaults more explicit
2016-05-27 17:14:49 -07:00
Jason Simmons
7a49b37a74
Implement a protocol for discovering active Flutter instances on Android ( #2720 )
...
Tools can send a broadcast intent that will cause Flutter processes to
write their names and observatory ports to the log in JSON format.
2016-05-27 17:11:34 -07:00