28 Commits

Author SHA1 Message Date
Chinmay Garde
6d71aee780 Update buildroot to account for stricter warning flags. (flutter/engine#3939) 2017-07-31 16:22:15 -07:00
Chinmay Garde
afbb9c7eb6 Add support for flow traces in fml/trace_event. (flutter/engine#3903) 2017-07-18 19:00:29 -07:00
Ryan Macnak
f1085e149e Revert "Avoid spurious descheduling when posting message loop tasks. (#3812)" (flutter/engine#3862)
This reverts commit d040c59bab11ebd16522e18310e2cd33b036b78e.
2017-07-11 14:49:13 -07:00
Ryan Macnak
d040c59bab Avoid spurious descheduling when posting message loop tasks. (flutter/engine#3812)
Closes dart-lang/sdk#29971
2017-07-05 12:39:53 -07:00
Chinmay Garde
b1c35cc789 Remove fml::ThreadChecker and use the one in ftl. (flutter/engine#3623) 2017-04-24 12:22:10 -07:00
Chinmay Garde
0e9ba7f5e7 Update buildtools to c8db819853bcf8ce1635a8b7a395820f39b5a9fc and restrict downloaded artifacts. (flutter/engine#3611)
This updates our compilers, gn and ninja. Also, we now explicitly specify the buildtools artifacts we actually use instead of downloading everything from the catalog.

The build error was due to unused lambda captures being reported as warnings (which we turn into errors).
2017-04-19 16:14:52 -07:00
P.Y. Laligand
dfb2c7f8c4 Allow Flutter shell to be built for a Linux host. (flutter/engine#3589) 2017-04-12 20:03:40 -07:00
Chris Bracken
409824cedc Update Objective-C column limit to 100 (flutter/engine#3585)
The Google style guide specifies a limit of 100 columns.
https://google.github.io/styleguide/objcguide.xml?showone=Line_Length#Line_Length

The Chromium style guide specifies 80.
https://chromium.googlesource.com/chromium/src/+/master/styleguide/objective-c/objective-c.md
2017-04-11 15:14:00 -07:00
Ryan Macnak
ec2be075b2 Adjust GN for removal of libdart, take two. (flutter/engine#3584)
Update targets only included in host_debug_unopt.
2017-04-11 09:52:54 -07:00
Ryan Macnak
e869784502 Revert "Adjust GN for removal of libdart. (#3583)"
This reverts commit bb091fd4558c3807e86fe518d036504ebc37bb72.
2017-04-10 17:07:28 -07:00
Ryan Macnak
bb091fd455 Adjust GN for removal of libdart. (flutter/engine#3583) 2017-04-10 16:42:27 -07:00
Michael Goderbauer
4de155b1e3 add paths_win.cc to FML (flutter/engine#3563)
* add paths_win.cc to FML

* update licenses
2017-04-04 14:00:51 -07:00
Michael Goderbauer
1132f031d9 Partially port FML to Windows. (flutter/engine#3562)
* Partially port FML to Windows.

* Adds a message loop impl for Windows
* Ports `thread.cc` to Windows

All FML unittests are now passing on Windows.

FML as a whole does not compile on windows yet because `mapping.cc` imports `sys/mman.h`, which is not available on Windows and the replacement API for memory-mapped files is very different on Windows, see https://msdn.microsoft.com/en-us/library/windows/desktop/aa366556%28v=vs.85%29.aspx.

* update licenses

* review comments
2017-04-04 12:48:11 -07:00
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
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
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
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
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
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
Chinmay Garde
6ff5a41327 Remove uses of //base from all //flutter projects and replace them with //fml variants. (flutter/engine#3492) 2017-03-22 15:42:51 -07:00
Chinmay Garde
db14a133e2 The Darwin FML backend. (flutter/engine#3490) 2017-03-20 15:47:40 -07:00
Chinmay Garde
d41b5c8298 The Android FML backend. (flutter/engine#3489) 2017-03-20 15:18:01 -07:00
Chinmay Garde
185e75f6ad The Linux FML backend. (flutter/engine#3488) 2017-03-20 14:49:10 -07:00
Chinmay Garde
7143d8d1d9 Implementations of platform agnostic portions of FML. (flutter/engine#3487) 2017-03-20 13:41:41 -07:00
Chinmay Garde
0110abf008 Allow plugging in a software backend for rendering in the shell. (flutter/engine#3404) 2017-02-22 15:40:23 -08:00