40 Commits

Author SHA1 Message Date
Ben Konyi
a20ad44c1d
Updated message_loop_unittests.cc to use a macro instead of #ifdef (#4441)
OS_WIN blocks when adding platform specific captures.
2017-12-13 10:13:24 -08:00
Ben Konyi
c3f18b90e0
Fixed errors introduced in landing of fml changes for Windows. (#4431) 2017-12-08 11:17:48 -08:00
Ben Konyi
4d718568b2
Updated fml to build on Windows. (#4415) 2017-12-08 10:40:10 -08:00
Jason Simmons
fb6f3e0734
Log stack traces from exceptions thrown by calls from native into Java (#4346) 2017-11-09 13:04:12 -08:00
Chinmay Garde
19e690e84b
Add fml::WeakPtr and update users in Shell. (#4296) 2017-10-31 16:55:36 -07:00
P.Y. Laligand
6fcb45991d Move //dart to //third_party/dart. (#4245) 2017-10-19 01:20:38 -07:00
P.Y. Laligand
5fae5d52cf Allow the project to be mapped to a location other than //flutter. (#4203)
This is for Fuchsia where we would like it to be located at //third_party/flutter.
2017-10-13 17:00:58 -07:00
Michael Goderbauer
08961f8ec5 Format all c-like sources with clang-format (#4088)
* format

* license script adaptions

* updated licenses

* review comments
2017-09-12 15:36:20 -07:00
George Kulakowski
6502090278 Fix remaining ftl->fxl conversions (#4091)
* Fix remaining ftl->fxl conversions

The previous scripting pass at this did not account for objective c file endings

* Update tonic DEPS reference to the post-fxl version
2017-09-11 16:31:18 -07:00
George Kulakowski
3aa7522c11 Rename ftl to fxl in Fuchsia specific code (#4090) 2017-09-11 15:58:48 -07:00
Adam Barth
73554a1c32 Add //garnet (#4043)
This repository contains FTL now in the Fuchsia build.
2017-08-31 16:47:13 -07:00
Chinmay Garde
b08167ba52 Implement all known blink::PointerData fields on iOS. (#3955) 2017-08-07 15:04:10 -07:00
Chinmay Garde
63861464df Update buildroot to account for stricter warning flags. (#3939) 2017-07-31 16:22:15 -07:00
Chinmay Garde
61c4898a9b Add support for flow traces in fml/trace_event. (#3903) 2017-07-18 19:00:29 -07:00
Ryan Macnak
431a251151 Revert "Avoid spurious descheduling when posting message loop tasks. (#3812)" (#3862)
This reverts commit 2062ca14ec55934ac27b6a1e69031c44daae1e54.
2017-07-11 14:49:13 -07:00
Ryan Macnak
2062ca14ec Avoid spurious descheduling when posting message loop tasks. (#3812)
Closes dart-lang/sdk#29971
2017-07-05 12:39:53 -07:00
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