1. 15 Jun, 2023 9 commits
    • Qun Cheng's avatar
      Set Semantics.button to true for date widget (#128824) · f8e8d89b
      Qun Cheng authored
      Fixes #127863
      
      This PR is to set `Semantics.button` to true for date widget in `DatePicker`.
      
      https://github.com/flutter/flutter/assets/36861262/b366f25a-6bf3-4e3f-b944-ab71197b73e5
      f8e8d89b
    • Qun Cheng's avatar
      Update golden tests (#128914) · c3b2175a
      Qun Cheng authored
      c3b2175a
    • engine-flutter-autoroll's avatar
      Roll Flutter Engine from 9934c0de738c to 48e0b4e66422 (26 revisions) (#128959) · c7167765
      engine-flutter-autoroll authored
      https://github.com/flutter/engine/compare/9934c0de738c...48e0b4e66422
      
      2023-06-15 skia-flutter-autoroll@skia.org Roll Skia from 0b66c6928dcf to 2d531d020c26 (3 revisions) (flutter/engine#42883)
      2023-06-15 matej.knopp@gmail.com Raster cache should preserve RTree for overlay layers (flutter/engine#42552)
      2023-06-15 skia-flutter-autoroll@skia.org Roll Skia from c0c74b433117 to 0b66c6928dcf (1 revision) (flutter/engine#42879)
      2023-06-15 leroux_bruno@yahoo.fr [Linux] Allow BasicMessageChannel sending and responding to null message (flutter/engine#42808)
      2023-06-15 skia-flutter-autoroll@skia.org Roll Skia from 12375fb6f3c8 to c0c74b433117 (1 revision) (flutter/engine#42876)
      2023-06-15 skia-flutter-autoroll@skia.org Roll Skia from d62221bd33a6 to 12375fb6f3c8 (1 revision) (flutter/engine#42873)
      2023-06-15 skia-flutter-autoroll@skia.org Roll Skia from e2e0256d4c6a to d62221bd33a6 (1 revision) (flutter/engine#42871)
      2023-06-15 skia-flutter-autoroll@skia.org Roll Skia from c3abd540c7f9 to e2e0256d4c6a (1 revision) (flutter/engine#42869)
      2023-06-15 skia-flutter-autoroll@skia.org Roll Fuchsia Linux SDK from uvmDF7KM34dWGdsuK... to 53EjCyuRu91oFTBf2... (flutter/engine#42868)
      2023-06-15 skia-flutter-autoroll@skia.org Roll Fuchsia Mac SDK from h3-8RUVrC889UXou7... to P7QA6bfO_Ij5dre7B... (flutter/engine#42867)
      2023-06-15 skia-flutter-autoroll@skia.org Roll Skia from 2718866006d2 to c3abd540c7f9 (1 revision) (flutter/engine#42866)
      2023-06-15 skia-flutter-autoroll@skia.org Roll Skia from 19051bc5fc90 to 2718866006d2 (33 revisions) (flutter/engine#42864)
      2023-06-15 skia-flutter-autoroll@skia.org Roll Dart SDK from 922c315b2c34 to 8eaed3382237 (1 revision) (flutter/engine#42862)
      2023-06-15 godofredoc@google.com Add missing artifact to the android_arm64_profile config. (flutter/engine#42858)
      2023-06-14 hterkelsen@users.noreply.github.com Build skia with expat (flutter/engine#42859)
      2023-06-14 ychris@google.com [ios] use interfaceOrientation orientation on iOS 13 and above (flutter/engine#42846)
      2023-06-14 skia-flutter-autoroll@skia.org Manual roll Dart SDK from f1387834bfd9 to 922c315b2c34 (4 revisions) (flutter/engine#42855)
      2023-06-14 jonahwilliams@google.com [Impeller] Make interleaved layout (more) explicit in generated headers. (flutter/engine#42628)
      2023-06-14 30870216+gaaclarke@users.noreply.github.com Renamed validation layers build (flutter/engine#42826)
      2023-06-14 ychris@google.com [ios] view controller based status bar (flutter/engine#42643)
      2023-06-14 skia-flutter-autoroll@skia.org Roll Skia from 6d5dc31d88e2 to 19051bc5fc90 (25 revisions) (flutter/engine#42828)
      2023-06-14 skia-flutter-autoroll@skia.org Roll Fuchsia Linux SDK from Xi3c5nti2LKnEOqYt... to uvmDF7KM34dWGdsuK... (flutter/engine#42842)
      2023-06-14 43091780+utzcoz@users.noreply.github.com Fix generateLockfiles running directory for documentation (flutter/engine#42734)
      2023-06-14 skia-flutter-autoroll@skia.org Roll Fuchsia Mac SDK from Cld7-rm6ZmCOO8j-K... to h3-8RUVrC889UXou7... (flutter/engine#42839)
      2023-06-14 skia-flutter-autoroll@skia.org Roll ANGLE from 7e075469ff02 to 3a3a3c655a96 (8 revisions) (flutter/engine#42834)
      2023-06-14 skia-flutter-autoroll@skia.org Roll Dart SDK from c4e9794df8af to f1387834bfd9 (1 revision) (flutter/engine#42833)
      
      Also rolling transitive DEPS:
        fuchsia/sdk/core/linux-amd64 from Xi3c5nti2LKn to 53EjCyuRu91o
        fuchsia/sdk/core/mac-amd64 from Cld7-rm6ZmCO to P7QA6bfO_Ij5
      
      If this roll has caused a breakage, revert this CL and stop the roller
      using the controls here:
      https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
      Please CC chinmaygarde@google.com,rmistry@google.com,zra@google.com on the revert to ensure that a human
      is aware of the problem.
      
      To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose
      
      To report a problem with the AutoRoller itself, please file a bug:
      https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug
      
      Documentation for the AutoRoller is here:
      https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
      c7167765
    • Ian Hickson's avatar
    • Christopher Fujino's avatar
      add .pub-cache back to .gitignore (#128894) · d3e771c8
      Christopher Fujino authored
      Fixes https://github.com/flutter/flutter/issues/128635
      
      In https://github.com/flutter/flutter/commit/1fd84f88e915427c88fb1d38c052150c76e27b4f, we renamed the `.pub-cache` entry in the `.gitignore` file to `.pub-preload-cache`, and ensured the packaging script was now populating that directory. However, for users who already had this directory from downloading an earlier archive but used `flutter upgrade` to get the latest code, they now had a `.gitignore` file that was no longer ignoring their `.pub-cache` directory.
      
      Now, when these users try to `flutter upgrade` again, the tool tries to verify if their checkout is clean, and will exit early if not directing the user to either stash or commit these changes, or do `flutter upgrade --force` which will try to update their branch anyway (and which would succeed since there would be no git conflict). These change adds back the `.pub-cache` entry to `.gitignore`, which won't retroactively fix broken releases, but will at least ensure if they `flutter upgrade --force` once to get this fix, they won't need to again.
      d3e771c8
    • engine-flutter-autoroll's avatar
      Roll Flutter Engine from 2d8d5ecfe4a8 to 9934c0de738c (2 revisions) (#128849) · 12f2cbcb
      engine-flutter-autoroll authored
      https://github.com/flutter/engine/compare/2d8d5ecfe4a8...9934c0de738c
      
      2023-06-14 skia-flutter-autoroll@skia.org Roll Dart SDK from
      2465228c0c21 to c4e9794df8af (1 revision) (flutter/engine#42831)
      2023-06-14 skia-flutter-autoroll@skia.org Roll Fuchsia Linux SDK from
      kQbij6Tvqe7F9-PhR... to Xi3c5nti2LKnEOqYt... (flutter/engine#42832)
      
      Also rolling transitive DEPS:
        fuchsia/sdk/core/linux-amd64 from kQbij6Tvqe7F to Xi3c5nti2LKn
      
      If this roll has caused a breakage, revert this CL and stop the roller
      using the controls here:
      https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
      Please CC chinmaygarde@google.com,rmistry@google.com,zra@google.com on
      the revert to ensure that a human
      is aware of the problem.
      
      To file a bug in Flutter:
      https://github.com/flutter/flutter/issues/new/choose
      
      To report a problem with the AutoRoller itself, please file a bug:
      https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug
      
      Documentation for the AutoRoller is here:
      https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
      12f2cbcb
    • Mouad Debbar's avatar
      flutter update-packages --force-upgrade (#128908) · a162d754
      Mouad Debbar authored
      - Bumps `vm_service` from `11.6.0` to `11.7.1`
      - Bumps `web` from `0.1.3-beta` to `0.1.4-beta` and adds it everywhere.
      - Moves `js` from `dependencies` to `dev_dependencies`
      a162d754
    • Mouad Debbar's avatar
      [web] Pass creation params to the platform view factory (#128146) · b0188cd1
      Mouad Debbar authored
      This concludes step 1 of the `HtmlElementView` improvements. It's now possible to pass creation params to platform view factories directly from `HtmlElementView`.
      
      Here's a sample app using a single factory to render platform views in different colors:
      
      <details>
        <summary>Code sample</summary>
        
        ```dart
      import 'dart:js_interop';
      import 'dart:ui_web' as ui_web;
      import 'package:flutter/material.dart';
      import 'package:web/web.dart' as web;
      
      void main() {
        runApp(MyApp());
      }
      
      class MyApp extends StatelessWidget {
        @override
        Widget build(BuildContext context) {
          return MaterialApp(
            title: 'Platform View Demo',
            home: Scaffold(
              appBar: AppBar(
                title: Text('Platform View Demo'),
              ),
              body: Center(
                child: Column(
                  mainAxisAlignment: MainAxisAlignment.spaceEvenly,
                  children: [
                    BoxWrapper('red'),
                    BoxWrapper(null),
                    BoxWrapper('blue'),
                  ],
                ),
              ),
            ),
          );
        }
      }
      
      bool isRegistered = false;
      
      class BoxWrapper extends StatelessWidget {
        const BoxWrapper(this.cssColor);
      
        final String? cssColor;
      
        void register() {
          if (isRegistered) return;
          isRegistered = true;
      
          ui_web.platformViewRegistry.registerViewFactory('my-platform-view', (
            id, {
            Object? params,
          }) {
            params as String?;
      
            final element = web.document.createElement('div'.toJS) as web.HTMLElement;
            element.textContent = 'Platform View'.toJS;
            element.style
              ..lineHeight = '100px'.toJS
              ..fontSize = '24px'.toJS
              ..backgroundColor = (params ?? 'pink').toJS
              ..textAlign = 'center'.toJS;
            return element;
          });
        }
      
        @override
        Widget build(BuildContext context) {
          register();
          return SizedBox(
            width: 200,
            height: 100,
            child: Card(
              child: HtmlElementView(
                viewType: 'my-platform-view',
                creationParams: cssColor,
              ),
            ),
          );
        }
      }
        ```
      </details>
      
      ![image](https://github.com/flutter/flutter/assets/1278212/4b62ed8b-2314-49d6-9b4a-5da849bf2a48)
      
      Depends on https://github.com/flutter/engine/pull/42255
      
      Part of https://github.com/flutter/flutter/issues/127030
      b0188cd1
    • Christopher Fujino's avatar
      [flutter_tools] cache flutter sdk version to disk (#124558) · 3246808c
      Christopher Fujino authored
      Fixes https://github.com/flutter/flutter/issues/112833
      
      Most of the actual changes here are in [packages/flutter_tools/lib/src/version.dart](https://github.com/flutter/flutter/pull/124558/files#diff-092e00109d9e1589fbc7c6de750e29a6ae512b2dd44e85d60028953561201605), while the rest is largely just addressing changes to the constructor of `FlutterVersion` which now has different dependencies.
      
      This change makes `FlutterVersion` an interface with two concrete implementations:
      
      1. `_FlutterVersionGit` which is mostly the previous implementation, and
      2. `_FlutterVersionFromFile` which will read a new `.version.json` file from the root of the repo
      
      The [`FlutterVersion` constructor](https://github.com/flutter/flutter/pull/124558/files#diff-092e00109d9e1589fbc7c6de750e29a6ae512b2dd44e85d60028953561201605R70) is now a factory that first checks if `.version.json` exists, and if so returns an instance of `_FlutterVersionFromGit` else it returns the fallback `_FlutterVersionGit` which will end up writing `.version.json` so that we don't need to re-calculate the version on the next invocation.
      
      `.version.json` will be deleted in the bash/batch entrypoints any time we need to rebuild he tool (this will usually be because the user did `flutter upgrade` or `flutter channel`, or manually changed the commit with git).
      3246808c
  2. 14 Jun, 2023 14 commits
  3. 13 Jun, 2023 17 commits