Chris Bracken
90f3de7400
Revert "Drop last usages of Dart_New from engine ( #16838 )" ( flutter/engine#16915 )
...
We believe this may be implicated in a Windows-specific crash during the
Flutter Gallery integration test.
See:
https://github.com/flutter/flutter/issues/51896
This reverts commit b41f86eb00e16e0dd6e1bfba7d670e05a8dafd4b.
2020-03-03 14:52:56 -08:00
Dan Field
b41f86eb00
Drop last usages of Dart_New from engine ( flutter/engine#16838 )
...
Image
Codec
FrameInfo
Scene/Picture toImage
2020-03-02 21:30:28 -08:00
Dan Field
18f7355d00
shake out Paint.toString ( flutter/engine#16850 )
2020-02-28 10:41:55 -08:00
Dan Field
4a2a7fbaa3
Avoid using Dart_New for semantics ( flutter/engine#16849 )
2020-02-28 10:31:03 -08:00
Dan Field
81efbea9a8
remove usage of Dart_New for paragraph/libtxt ( flutter/engine#16837 )
2020-02-28 00:15:40 -08:00
Ben Konyi
780e60193d
Enable HTTP and socket profiling dart:io service extensions for Flutter ( flutter/engine#16800 )
2020-02-27 08:29:58 -08:00
Ferhat
df9e5782b0
Fix stale physicalSize on resize event ( flutter/engine#16822 )
2020-02-26 15:54:10 -08:00
Mouad Debbar
b77b7512c7
[web] Guard the remaining calls to window.onPlatformMessage ( flutter/engine#16791 )
2020-02-25 15:06:07 -08:00
Nurhan Turgut
a868ed4b44
[web] changing user limits for macos ( flutter/engine#16797 )
...
* changing user limits for macos
* check kernel name instead
2020-02-25 15:04:07 -08:00
Ferhat
0e20dc802c
Evict BitmapCanvas(s) from cache when canvas allocation fails ( flutter/engine#16793 )
2020-02-25 13:38:25 -08:00
Mouad Debbar
53dc99cd26
[web] Respect maxLines when calculating boxes for a range ( flutter/engine#16749 )
2020-02-24 14:26:03 -08:00
Mouad Debbar
489ddd405b
[web] Reduce the usage of unnecessary lists in pointer binding ( flutter/engine#16745 )
2020-02-24 14:21:04 -08:00
Ferhat
a07014a9ca
[web] Fix canvas leak when dpi changes. Evict from BitmapCanvas cache under… ( flutter/engine#16721 )
...
* Fix canvas leak when dpi changes. Evict from BitmapCanvas cache under memory pressure.
* optimized _reduceCanvasMemoryUsage
* Addressed review comments
2020-02-24 11:19:47 -08:00
Miguel Beltran
0858707729
Add support for Increase Contrast on iOS ( flutter/engine#15343 )
2020-02-22 14:04:04 -08:00
Dan Field
9bbbd5078d
Migrate Path to AssociateWithDartWrapper ( flutter/engine#16753 )
2020-02-22 12:59:35 -08:00
Mouad Debbar
1e37bb489a
[web] Paragraph.longestLine doesn't need to check for isSingleLine anymore ( flutter/engine#16736 )
2020-02-21 13:18:09 -08:00
Mouad Debbar
5f8ca597db
[web] Rename LineMetrics.text to LineMetrics.displayText ( flutter/engine#16734 )
2020-02-21 13:17:59 -08:00
Nurhan Turgut
a443623a34
[web] add comment to skipped safari test ( flutter/engine#16737 )
...
* add comment to skipped safari test
* test not running semantics on Mac
* disable semantics test which is unreliable
2020-02-21 13:03:29 -08:00
Ryan Macnak
101b70147f
Fix some compiler warnings in newer versions of Clang. ( flutter/engine#16733 )
2020-02-21 12:57:06 -08:00
Nurhan Turgut
3fb1af296c
[web] Running safari tests on LUCI ( flutter/engine#16715 )
...
* Safari font collection tests skip failing methods
* add a clear to the semantics test to make sure no DOM elements are leaking to the other tests
* fix semantics_helper_test. skip for semantics_test. teardown didn't work
* skip test, the skipped method run for 8 minutes according to the logs
* history tests methods runs multiple times. only run them on linux for now. they were also already failing in edge/windows
2020-02-21 09:03:13 -08:00
Dan Field
b1f692e9cb
Refactor of ClaimDartHandle -> AssociateWithDartWrapper ( flutter/engine#16720 )
2020-02-20 17:31:03 -08:00
Dan Field
a03a05a385
Reland "Remove usage of Dart_AllocateWithNativeFields" ( flutter/engine#16713 )
2020-02-20 16:06:02 -08:00
vsmenon
a605113c25
opt out dart:ui from nnbd ( flutter/engine#16473 )
...
* opt out dart:ui from nnbd
* Annotate tests as well
2020-02-20 11:04:00 -08:00
Dan Field
d483ae6288
Revert "Remove usage of Dart_AllocateWithNativeFields from tonic ( #16588 )" ( flutter/engine#16684 )
...
This reverts commit d32975f3877f6be5b227f3156226ccdea35f15c9.
2020-02-19 10:00:05 -08:00
Mouad Debbar
713cdb3d7b
[web] Paragraph.getBoxesForRange uses LineMetrics ( flutter/engine#16625 )
2020-02-19 09:56:57 -08:00
Harry Terkelsen
a51698a522
URL-encode asset URLs so assets are properly loaded ( flutter/engine#16630 )
...
* URL-encode asset URLs so assets are properly loaded
* Add comment
2020-02-18 16:19:36 -08:00
Yegor
2782ec758d
update hash code logic on the web ( flutter/engine#16624 )
2020-02-18 12:29:17 -08:00
Nurhan Turgut
97d1caffaa
[web] Skipping failing edge tests ( flutter/engine#16626 )
...
* making edge default test browser on windows. adding some skips (not all) for methods failing on edge
* skip failing tests. make egde default for testing
* skip one more test
* addressing reviewer comments. removing extra bat file
2020-02-18 09:36:04 -08:00
Ben Konyi
d32975f387
Remove usage of Dart_AllocateWithNativeFields from tonic ( flutter/engine#16588 )
...
This API is being removed from the Dart SDK.
2020-02-14 13:55:38 -08:00
Ferhat
5b6f5f36ed
Implement Path extractPath, tangent APIs ( flutter/engine#16599 )
...
* Add pathMeasure
* Implement tangetAt
* add extractPath segment iterator
* Implement extractPath/chopCubicAt/chopQuadAt
* Wire up extractPath and add tests for cubic/quadratic
* Switch to interpolate on chopCubic
* addressed review comments
2020-02-14 13:29:27 -08:00
Mouad Debbar
7f9d005477
[web] Unskip tests that are already passing in Safari ( flutter/engine#16567 )
2020-02-14 10:27:32 -08:00
Nurhan Turgut
fb1b707879
[web] Fixing launching Safari. This should solve the LUCI issue ( flutter/engine#16590 )
...
* Fixing launching Safari. This should solve the LUCI issue
* more comments and linking the issue
2020-02-14 10:27:20 -08:00
Mouad Debbar
72edf47d71
[web] Handle alignment correctly in Paragraph.getPositionForOffset ( flutter/engine#16569 )
2020-02-14 10:24:13 -08:00
Ferhat
3ed6b577e9
Fix drawRRect failure when shader is specified ( flutter/engine#16601 )
2020-02-14 09:08:28 -08:00
Yegor
e2a5925457
improve surface state assert error messages ( flutter/engine#16595 )
2020-02-14 08:04:31 -08:00
Harry Terkelsen
3dfb7710f9
Set the current GL context to the most recently acquired Surface ( flutter/engine#16572 )
2020-02-13 10:49:13 -08:00
Nurhan Turgut
5a5c8d04b3
Update felt documentation ( flutter/engine#16559 )
2020-02-12 14:05:08 -08:00
Mouad Debbar
d29533380d
[web] Fix edge cases in Paragraph.getPositionForOffset to match Flutter ( flutter/engine#16557 )
2020-02-12 13:42:52 -08:00
Francisco Magdaleno
e3e1166b21
Revert "Re-land: Use os_log instead of syslog on Apple platforms ( #16549 )" ( flutter/engine#16558 )
...
This reverts commit 0659bad4041dfba456648fe6925e95618d46cf6c.
2020-02-12 12:40:31 -08:00
Nurhan Turgut
cc71f49797
skiping tests in Safari. LUCI recipe for Mac is ready. this is the only step left for stopping us running unit tests in Safari ( flutter/engine#16550 )
2020-02-11 15:31:57 -08:00
Chris Bracken
0659bad404
Re-land: Use os_log instead of syslog on Apple platforms ( flutter/engine#16549 )
...
Migrates to using os_log for app logging on iOS 13 and above, macOS
10.11 and above. On older platform, fall back to syslog(), which is what
we used previously.
This re-lands commit 0f8ec47a019633558f3d51652f2faa53a9fd79f7 with a fix.
That commit was reverted in 1c570178620e77bd1c5969cf8aa783b8f2d543a7.
2020-02-11 15:11:46 -08:00
Chris Bracken
1c57017862
Revert "Use os_log instead of syslog on Apple platforms ( #13487 )" ( flutter/engine#16546 )
...
Looks like somehow the fix to move to static_cast didn't get merged.
This reverts commit 0f8ec47a019633558f3d51652f2faa53a9fd79f7.
2020-02-11 13:20:52 -08:00
Jenn Magder
0f8ec47a01
Use os_log instead of syslog on Apple platforms ( flutter/engine#13487 )
...
Migrates to using os_log for app logging on iOS 13 and above, macOS
10.11 and above. On older platform, fall back to syslog(), which is what
we used previously.
2020-02-11 10:23:44 -08:00
Harry Terkelsen
e5c4302bef
Clear frame references at the end of every CanvasKit frame ( flutter/engine#16525 )
2020-02-10 15:30:24 -08:00
chunhtai
1582b28ad3
Adds new route annoucement method. ( flutter/engine#16523 )
2020-02-10 13:59:02 -08:00
Yegor
25de6825f3
Partially fix canvas vs text paint order when running on Blink/Webkit browsers ( flutter/engine#16483 )
...
fix canvas vs text paint order in Blink/Webkit
2020-02-10 13:41:50 -08:00
Harry Terkelsen
df30da9ec1
Use Skia to determine "actual" font name in CanvasKit backend ( flutter/engine#16504 )
...
* Use Skia to determine "actual" font name.
This way, we don't need to hard-code a mapping of Flutter names
to actual names, we can compute it when the font is registered.
* Refactor to only have loaded and unloaded fonts
2020-02-10 13:06:30 -08:00
Michael Goderbauer
6af1f304fa
Doc fixes in BoxHeightStyle ( flutter/engine#16424 )
2020-02-07 13:41:50 -08:00
sjindel-google
d4baabd022
Ensure fields of Rect and OffsetBase classes are optimized as non-null. ( flutter/engine#16465 )
...
* Ensure fields of Rect and OffsetBase classes are optimized as non-null.
* Update web_ui and formatting
2020-02-07 19:06:20 +01:00
Harry Terkelsen
f2839e3a3f
Various fixes in CanvasKit ( flutter/engine#16433 )
...
- Enable dynamically loaded fonts
- Fix addOval
- Fix getBoxesForRange for negative ranges
2020-02-06 14:51:12 -08:00