Commit Graph

2685 Commits

Author SHA1 Message Date
Chris Bracken
d3149a5875 Maintain FlutterTextInputView text in NSMutableString (flutter/engine#3554)
* Maintain FlutterTextInputView text in NSMutableString

We were converting from/to NSString at the interface of
FlutterTextInputView; instead use NSMutableString to maintain the
internal buffer.

Eliminates nsstring_utils.{h,mm} which no longer has any users.
2017-04-03 17:23:07 -07:00
Michael Goderbauer
a388875b24 Roll FTL to 77f430179ddc1ad82e9ad3c056b708f583804151 (flutter/engine#3553)
* Roll FTL to 77f430179ddc1ad82e9ad3c056b708f583804151

This makes FTL compilable on Windows.

* fix license
2017-04-03 15:05:13 -07:00
Jason Simmons
4f778d2ea7 Add a flag for the path to the adb tool in the flutter_gdb script (flutter/engine#3551) 2017-04-03 12:22:26 -07:00
Chinmay Garde
e0fed1432c Remove deprecated FlutterInit. (flutter/engine#3550) 2017-04-03 11:51:38 -07:00
Jason Simmons
170e33000f Use the SkVertices::Builder API (flutter/engine#3549) 2017-03-31 15:16:45 -07:00
Chinmay Garde
974beeae4c Fix a race condition in MessageLoopImpl due to difference in calculation of the next wake and the timer rearm. (flutter/engine#3548) 2017-03-31 13:39:23 -07:00
Jason Simmons
5c4c39c01c Remove unused FML JNI helpers (flutter/engine#3547) 2017-03-31 13:29:11 -07:00
Jason Simmons
fc666c4b62 Remove dart:jni (flutter/engine#3546)
Fixes https://github.com/flutter/flutter/issues/9129
2017-03-31 13:07:52 -07:00
Collin Jackson
732e118f07 Revert "Make FlutterActivity extend from FragmentActivity (#3529)" (flutter/engine#3545)
This reverts commit 41ced5aabc.
2017-03-31 09:06:07 -07:00
Ryan Macnak
26a5601243 Remove dead references to //base. (flutter/engine#3542) 2017-03-30 08:54:47 -07:00
Mikkel Nygaard Ravn
4a56788ec5 Ensure platform msg completer is invoked on ios even if no handler has been registered (flutter/engine#3544) 2017-03-30 12:49:09 +02:00
Ryan Macnak
e1df677dd4 Roll Dart VM to 141b6351baacaedf23e740b5b7354970f2ac0979. (flutter/engine#3543) 2017-03-29 18:17:17 -07:00
Jason Simmons
eb05f0530e Roll Skia (flutter/engine#3541) 2017-03-29 14:22:23 -07:00
Chinmay Garde
000807898d Cleanup timeline markers. (flutter/engine#3540)
* Name the platform thread in the timeline. This does not affect (nor is it affected by) the pthread name set by the embedder.
* Make it easier in the timeline to see not only when the frame was request, but also when that frame request was fulfilled.
* Trace message loop wakes.
2017-03-29 13:04:25 -07:00
Mikkel Nygaard Ravn
4fcad872a8 Platform channel API cleanup (retake) (flutter/engine#3539) 2017-03-29 13:43:54 +02:00
Mikkel Nygaard Ravn
f57fbee942 Revert "Flutter channel API cleanup (#3532)" (flutter/engine#3538)
This reverts commit 0031903859.
2017-03-29 12:08:39 +02:00
Mikkel Nygaard Ravn
0031903859 Flutter channel API cleanup (flutter/engine#3532) 2017-03-29 11:38:14 +02:00
Jason Simmons
829c6e4283 Include build_config (for OS_ANDROID) in image_decoding.cc (flutter/engine#3537) 2017-03-28 18:25:28 -07:00
Jason Simmons
9961a50959 Copy platform message buffers into byte arrays passed via JNI (flutter/engine#3536)
The Java message object may be held by user-provided message handlers beyond
the lifetime of the raw blink::PlatformMessage and its data buffer
2017-03-28 17:15:01 -07:00
Jason Simmons
616d1c9b1e Release JNI references to ByteBuffers passed from native to Java (flutter/engine#3535) 2017-03-28 13:58:42 -07:00
P.Y. Laligand
9e4f6261ec Use the new flutter_tools app. (flutter/engine#3533) 2017-03-28 13:14:02 -07:00
Adam Barth
588c004000 Attempt to fix the Mac build (flutter/engine#3534)
This type appears to be missing in older Mac SDKs.
2017-03-28 10:55:47 -07:00
Florin Malita
ce2f9c15b7 Roll Skia revision to 342977ced701d06df2b3d2eedd8b64aeae1eb5c5 (flutter/engine#3523)
* Roll Skia revision to 342977ced701d06df2b3d2eedd8b64aeae1eb5c5

* Updated license files
2017-03-28 10:25:02 -07:00
Jason Simmons
945b6048da Package the stripped build of libflutter.so inside flutter.jar (flutter/engine#3531) 2017-03-27 17:52:12 -07:00
Jason Simmons
accb36fd66 Skip third_party/android_tools when computing signatures for the license roots (flutter/engine#3518)
android_tools contains a toolchain that is specific to each host platform

Fixes https://github.com/flutter/flutter/issues/8969
2017-03-27 16:54:59 -07:00
Collin Jackson
41ced5aabc Make FlutterActivity extend from FragmentActivity (flutter/engine#3529)
FragmentActivity is required for plugins that use auto managed Google APIs, such as Google Sign-In. Requires flutter/flutter#9036 to land so that gradle builds include FragmentActivity.
2017-03-27 16:53:09 -07:00
Chinmay Garde
becbe8fcc8 Remove dependency on FontConfig. (flutter/engine#3530) 2017-03-27 16:11:57 -07:00
Chinmay Garde
285afefbd9 Explicitly import the CFRunLoop header in message_loop_darwin.mm. (flutter/engine#3528) 2017-03-27 15:58:04 -07:00
Chinmay Garde
d952b95202 Speculative fix for broken build on Mac bots. (flutter/engine#3527) 2017-03-27 15:25:57 -07:00
Jason Simmons
d58a818efc Update scripts for renaming of sky_shell binaries to flutter (flutter/engine#3526) 2017-03-27 15:06:39 -07:00
Jason Simmons
4b2047cdfb Update the docs for the license script (flutter/engine#3525) 2017-03-27 14:27:31 -07:00
Chinmay Garde
2eb56665e2 Remove the yasm DEPS hook. (flutter/engine#3520) 2017-03-27 13:10:07 -07:00
Chinmay Garde
6b31213bc7 Rename sky_shell to flutter_tester. (flutter/engine#3521) 2017-03-27 13:09:36 -07:00
Jason Simmons
3cf3a20d3d Fix Javadoc on FlutterMethodChannel (flutter/engine#3522) 2017-03-24 18:23:51 -07:00
Chinmay Garde
64e4ee843c Remove hooks that download //testing/gtest and //testing/gmock. (flutter/engine#3519)
We already have a //third_party/gtest that we use for our testing.
2017-03-24 16:39:59 -07:00
Chinmay Garde
7beff03713 Remove libsky_shell.so to libflutter.so. (flutter/engine#3517) 2017-03-24 16:25:33 -07:00
Chinmay Garde
9ae8bb8f70 Update buildroot. (flutter/engine#3515) 2017-03-24 16:20:56 -07:00
Chinmay Garde
f788187209 Directly generate flutter.jar without APK generation. (flutter/engine#3516) 2017-03-24 15:51:51 -07:00
Jason Simmons
46f0f0b89e Ensure that the license script does not mix state among components (flutter/engine#3514)
The script keeps state in the objects representing the repository files,
and it also maintains a cache of licenses.  This state should be freshly
recreated for each component so data from previous components does not
leak through.
2017-03-24 15:28:29 -07:00
Jason Simmons
e9635a42c5 Add .DS_Store to the license script's file name filter (flutter/engine#3507)
Fixes https://github.com/flutter/flutter/issues/8968
2017-03-24 10:51:17 -07:00
Jason Simmons
b7bbd71f79 Update Canvas.drawVertices to match Skia's latest interface (flutter/engine#3505)
Fixes https://github.com/flutter/flutter/issues/8809
2017-03-24 10:40:19 -07:00
Chinmay Garde
929be47132 Remove JSR-305, junit, Mockito and Roboelectric from flutter/DEPS. (flutter/engine#3513) 2017-03-23 17:52:30 -07:00
Chinmay Garde
02c0433c66 Nuke //base from DEPS and update buildroot. (flutter/engine#3500) 2017-03-23 16:37:07 -07:00
Chinmay Garde
d9bca1929d Avoid linking to GL from the Linux test shell. (flutter/engine#3512) 2017-03-23 16:22:40 -07:00
Chinmay Garde
e037d8e45f Remove last reference to //base from //flutter/shell/platform/linux. (flutter/engine#3511) 2017-03-23 16:01:35 -07:00
Chinmay Garde
3a61e688df Remove the interactive mode on the Linux test shell. (flutter/engine#3510) 2017-03-23 15:52:54 -07:00
Chinmay Garde
025ed263be Allow registering multiple task observers per message loop. (flutter/engine#3509) 2017-03-23 15:29:33 -07:00
Chinmay Garde
52bf72fb46 Add fml::paths::GetExecutableDirectoryPath. (flutter/engine#3508) 2017-03-23 15:20:52 -07:00
P.Y. Laligand
458075d867 Generate a depfile for assets of a flutter_app. (flutter/engine#3497) 2017-03-23 09:43:37 -07:00
James Robinson
c206ff78ab Disable gn check for glue/trace_event.h non-Fuchsia path (flutter/engine#3501)
gn check does not run a C preprocessor, so it cannot understand that a
particular include does not apply to a particular build configuration.
2017-03-22 18:28:27 -07:00