24 Commits

Author SHA1 Message Date
Chinmay Garde
5757991fe9 Remove fml::ThreadChecker and use the one in ftl. (#3623) 2017-04-24 12:22:10 -07:00
Chinmay Garde
414491b94d Update buildtools to c8db819853bcf8ce1635a8b7a395820f39b5a9fc and restrict downloaded artifacts. (#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
5ecaec5fd9 Allow Flutter shell to be built for a Linux host. (#3589) 2017-04-12 20:03:40 -07:00
Chris Bracken
f5a7a086ec Update Objective-C column limit to 100 (#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
1fed16fb25 Adjust GN for removal of libdart, take two. (#3584)
Update targets only included in host_debug_unopt.
2017-04-11 09:52:54 -07:00
Ryan Macnak
6d4b153ba8 Revert "Adjust GN for removal of libdart. (#3583)"
This reverts commit f5d0004ebd0db95c4019ca27fde2aceb0b3fe3e3.
2017-04-10 17:07:28 -07:00
Ryan Macnak
f5d0004ebd Adjust GN for removal of libdart. (#3583) 2017-04-10 16:42:27 -07:00
Michael Goderbauer
d0e48f2efb add paths_win.cc to FML (#3563)
* add paths_win.cc to FML

* update licenses
2017-04-04 14:00:51 -07:00
Michael Goderbauer
772a0db5e4 Partially port FML to Windows. (#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
38664ac322 Maintain FlutterTextInputView text in NSMutableString (#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
8f4457fed9 Fix a race condition in MessageLoopImpl due to difference in calculation of the next wake and the timer rearm. (#3548) 2017-03-31 13:39:23 -07:00
Jason Simmons
bc128fb3f9 Remove unused FML JNI helpers (#3547) 2017-03-31 13:29:11 -07:00
Chinmay Garde
0451dc1106 Cleanup timeline markers. (#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
e7a14e4bb8 Attempt to fix the Mac build (#3534)
This type appears to be missing in older Mac SDKs.
2017-03-28 10:55:47 -07:00
Chinmay Garde
fd9d05451a Explicitly import the CFRunLoop header in message_loop_darwin.mm. (#3528) 2017-03-27 15:58:04 -07:00
Chinmay Garde
8405ec3ab2 Speculative fix for broken build on Mac bots. (#3527) 2017-03-27 15:25:57 -07:00
Chinmay Garde
92c357ed15 Allow registering multiple task observers per message loop. (#3509) 2017-03-23 15:29:33 -07:00
Chinmay Garde
d119d62c1d Add fml::paths::GetExecutableDirectoryPath. (#3508) 2017-03-23 15:20:52 -07:00
Chinmay Garde
1c07ea530f Remove uses of //base from all //flutter projects and replace them with //fml variants. (#3492) 2017-03-22 15:42:51 -07:00
Chinmay Garde
e9d8c25c0d The Darwin FML backend. (#3490) 2017-03-20 15:47:40 -07:00
Chinmay Garde
30ab542443 The Android FML backend. (#3489) 2017-03-20 15:18:01 -07:00
Chinmay Garde
117679f92e The Linux FML backend. (#3488) 2017-03-20 14:49:10 -07:00
Chinmay Garde
26a6615dad Implementations of platform agnostic portions of FML. (#3487) 2017-03-20 13:41:41 -07:00
Chinmay Garde
df9e9560be Allow plugging in a software backend for rendering in the shell. (#3404) 2017-02-22 15:40:23 -08:00