Commit Graph

135 Commits

Author SHA1 Message Date
Todd Volkert 0c9c293b56 Add Rect.fromCenter() constructor (#8716) 2019-04-25 14:40:29 -07:00
Dan Field 3e47b4bb39 Reland const Rect/RRect (#8695) 2019-04-23 11:21:03 -07:00
Dan Field 0523870e0b Add tests from framework (#8692) 2019-04-22 16:39:00 -07:00
Dan Field 4f2fd84cbc Revert Rect/RRect 64 bit (#8690)
* Revert "fix toString (#8688)"

This reverts commit 9fa7336784.

* Revert "Make Rect and RRect use 64 bit doubles, and make them const-able (#8565)"

This reverts commit c12315273f.
2019-04-22 15:45:59 -07:00
Dan Field 9fa7336784 fix toString (#8688) 2019-04-22 14:12:31 -07:00
Dan Field c12315273f Make Rect and RRect use 64 bit doubles, and make them const-able (#8565)
* Make Rect and RRect 64bit and const-able
2019-04-22 12:58:48 -07:00
Chinmay Garde 2e4f0a4a72 Put the testing lib in the flutter namespace. (#8661) 2019-04-20 20:42:46 -07:00
Chinmay Garde 1239df96aa Allow native bindings in secondary isolates. (#8658)
The callbacks can be wired in via the Settings object. Both runtime and shell unit-tests have been patched to test this.
2019-04-19 17:36:36 -07:00
Chinmay Garde c6400e2c25 Merge runtime lifecycle unittests into the base test target. (#8634)
`//flutter/runtime: runtime_lifecycle_unittests` was added because the these assumed that there was no VM already running in the process. Running other tests in the base target would mess up that assumption. Now that all test targets have been updated to make sure the VM instance does not leak, the tests in this target can be merged.

LUCI bots don’t need to be patched as these tests were only ever run on the trybots.
2019-04-18 12:15:45 -07:00
Chinmay Garde f017fe74aa Avoid manually shutting down engine managed isolates. (#8621)
These are now shutdown by the VM and cleanup waits for their shutdown.
2019-04-17 16:11:47 -07:00
stuartmorgan 4266f8583f Add desktop shell unittests to test script (#8600)
Builds the unit test on all platforms, and adds them to the aggregate test script.
2019-04-16 22:37:39 -07:00
Kaushik Iska 7292d62ef8 Revert Versions API (#7828)
* Revert "Fix versions implementation (#7726)"

This reverts commit 3c38dd342f.

* Revert "Expose the Flutter engine, Dart and Skia versions to Dart. (#7634)"

This reverts commit b94e759b25.

* remove namespace shell stuff

* fix format

* fix licenses
2019-04-12 14:23:13 -07:00
Chinmay Garde e356dbca2c Merge flutter/synchronization contents into fml. (#8525)
When flutter/synchronization was first authored, we did not own fml (it was called fxl then). Now we do, so use a single spot for such utilities. The pipeline was meant to be a general purpose utility that was only ever used by the animator (it even has animator specific tracing), so move that to shell instead (where the animator resides).
2019-04-09 19:18:51 -07:00
Hugo 78bd318c96 Add Locale.toLanguageTag() (#8421)
Adds `Locale.toLanguageTag()`, which returns a valid Unicode Locale Identifier
using underscores as separator that can be reliably parsed.
2019-04-08 11:21:19 -07:00
Dan Field e10d46421d Improve path metrics tests and docs (#7851)
* Improve path metrics tests and docs
2019-04-05 13:58:46 -07:00
Chinmay Garde 7e38b0aa23 Revert "Revert "Separate the data required to bootstrap the VM into its own class. (#8397)" (#8406)" (#8414)
This reverts commit f7b4903d7c.
2019-04-03 13:38:12 -07:00
Zachary Anderson f7b4903d7c Revert "Separate the data required to bootstrap the VM into its own class. (#8397)" (#8406)
This reverts commit c991647404.
2019-04-02 09:12:56 -07:00
MH Johnson 3796d98918 [ui] Add null check in FontWeight.lerp (#8274)
* Add null check in FontWeight.lerp

* Add Unit tests for FontWeight.lerp
2019-04-01 21:56:19 -04:00
Chinmay Garde c991647404 Separate the data required to bootstrap the VM into its own class. (#8397)
When attempting to shutdown and subsequently restart the VM, having the
VM own this data introduces lifecycle issues due to circular references.
2019-04-01 14:58:05 -07:00
Chinmay Garde b75472c106 Add missing import to functional for Windows. (#8382) 2019-03-29 18:14:06 -07:00
Chinmay Garde 131cc625a1 Allow native entrypoint registration for runtime unittests. (#8379) 2019-03-29 17:53:49 -07:00
Chinmay Garde 972afdc92b Allow running runtime_unittests in AOT mode. (#8375)
Previously, only the most basic tests were run in AOT mode.
2019-03-29 17:15:38 -07:00
Chinmay Garde a1a2129bc4 GN Format all files in the engine. (#8369) 2019-03-29 12:44:57 -07:00
Chris Bracken 2098398e10 Cleanups to run_tests.sh script (#8337)
Bugfix:
* Use the `pub` from within the built Dart SDK (not whatever's on
  `$PATH`, if anything).

A few minor improvements:
* Allow running from below the src/ buildroot dir, as it's often
  convenient to work from within the flutter/engine git dir.
* Echo test name before running, for slightly better debuggability.
* Minor line-wrapping for readability.
2019-03-27 18:09:08 -07:00
Jonah Williams 146646d1b9 Correct greater than or equal logic in offset base (#8210) 2019-03-19 13:41:47 -07:00