1. 18 9月, 2020 3 次提交
  2. 17 9月, 2020 3 次提交
  3. 16 9月, 2020 5 次提交
  4. 15 9月, 2020 4 次提交
    • J
      hasStrings Mac (#20531) · 3c9308fa
      Justin McCandless 提交于
      Adds the hasStrings method for Mac, and improves the state of unit testing on Mac.
      3c9308fa
    • D
      Add missing <cstring> header for (strcmp, strrchr) (#21176) · 21fd8917
      Damian Wrobel 提交于
      Fixes the following compilation errors:
      ../../flutter/shell/platform/linux/fl_platform_plugin.cc:89:7: error: use of undeclared identifier 'strcmp'
        if (strcmp(format, kTextPlainFormat) != 0) {
            ^
      ../../flutter/shell/platform/linux/fl_platform_plugin.cc:127:7: error: use of undeclared identifier 'strcmp'
        if (strcmp(method, kSetClipboardDataMethod) == 0)
            ^
      ../../flutter/shell/platform/linux/fl_platform_plugin.cc:129:12: error: use of undeclared identifier 'strcmp'
        else if (strcmp(method, kGetClipboardDataMethod) == 0)
                 ^
      ../../flutter/shell/platform/linux/fl_platform_plugin.cc:131:12: error: use of undeclared identifier 'strcmp'
        else if (strcmp(method, kSystemNavigatorPopMethod) == 0)
                 ^
      ../../flutter/shell/platform/linux/fl_view.cc:194:7: error: use of undeclared identifier 'strcmp'
        if (strcmp(pspec->name, "scale-factor") == 0) {
            ^
      ../../flutter/shell/platform/linux/fl_engine.cc:67:18: error: use of undeclared identifier 'strrchr'
        gchar* match = strrchr(l, '@');
                       ^
      ../../flutter/shell/platform/linux/fl_engine.cc:75:11: error: use of undeclared identifier 'strrchr'
        match = strrchr(l, '.');
                ^
      ../../flutter/shell/platform/linux/fl_engine.cc:83:11: error: use of undeclared identifier 'strrchr'
        match = strrchr(l, '_');
                ^
      Signed-off-by: NDamian Wrobel <dwrobel@ertelnet.rybnik.pl>
      21fd8917
    • K
    • R
      Fix an include path to match the others. (#21148) · 9dd3f09f
      renyou 提交于
      9dd3f09f
  5. 14 9月, 2020 1 次提交
    • G
      Track lock key down state instead of lock state (#20836) · d19a6fab
      Greg Spencer 提交于
      This converts the GTK keyboard code to track the key down states of the lock modifiers NumLock and CapsLock so that they represent the actual "down" state of the key, rather than the lock state itself.
      
      GTK tracks the lock state, and Flutter expects the down state.
      d19a6fab
  6. 12 9月, 2020 6 次提交
  7. 11 9月, 2020 5 次提交
    • C
      Copyright header hygiene improvements (#21089) · 36f7f3ca
      Chris Bracken 提交于
      Add copyright headers in a few files where they were missing.
      
      Trim trailing blank comment line where present, for consistency with
      other engine code.
      
      Use the standard libtxt copyright header in one file where it differed
      (extra (C) and comma compared to other files in libtxt).
      
      This also amends tools/const_finder/test/const_finder_test.dart to look
      for a const an additional four lines down to account for the copyright
      header added to the test fixture.
      36f7f3ca
    • S
      Minor windows.h cleanup (#21082) · 51d6502e
      stuartmorgan 提交于
      - Standardize on lowercase for windows.h
      - Don't define NOMINMAX before including windows.h in (some) public
        wrapper headers, since it causes a warning when combined with setting
        NOMINMAX at the build level, which is the more robust way to avoid
        issues with min/max and windows.h
      51d6502e
    • S
      Remove deprecated methods from FlutterViewController (#21081) · 4eb069fe
      stuartmorgan 提交于
      The template now uses the FlutterEngine versions.
      4eb069fe
    • S
      Clean up deprecated EncodableValue code (#20981) · 83cc9230
      stuartmorgan 提交于
      Removes the older pointer-based versions of APIs taking EncodableValues for which there are now reference-based versions.
      83cc9230
    • D
      Add missing <cstring> header (#21069) · e831433a
      Damian Wrobel 提交于
      Fixes the following compilation errors:
      
      ../../flutter/shell/platform/linux/fl_value.cc:267:3: error: use of undeclared identifier 'memcpy'
        memcpy(self->values, data, sizeof(uint8_t) * data_length);
        ^
      ../../flutter/shell/platform/linux/fl_value.cc:284:3: error: use of undeclared identifier 'memcpy'
        memcpy(self->values, data, sizeof(int32_t) * data_length);
        ^
      ../../flutter/shell/platform/linux/fl_value.cc:294:3: error: use of undeclared identifier 'memcpy'
        memcpy(self->values, data, sizeof(int64_t) * data_length);
        ^
      ../../flutter/shell/platform/linux/fl_value.cc:304:3: error: use of undeclared identifier 'memcpy'
        memcpy(self->values, data, sizeof(double) * data_length);
        ^
      
      ../../flutter/shell/platform/linux/fl_string_codec.cc:29:28: error: use of undeclared identifier 'strlen'
        return g_bytes_new(text, strlen(text));
                                 ^
      
      ../../flutter/shell/platform/linux/fl_standard_message_codec.cc:512:23: error: use of undeclared identifier 'strlen'
            size_t length = strlen(text);
                            ^
      Signed-off-by: NDamian Wrobel <dwrobel@ertelnet.rybnik.pl>
      e831433a
  8. 10 9月, 2020 10 次提交
  9. 09 9月, 2020 2 次提交
  10. 07 9月, 2020 1 次提交
    • C
      Enable lazy-async-stacks by-default in all modes (Take 3) (#20895) · 575a5194
      Clement Skau 提交于
      Lazy async stacks were already enabled by-default in AOT mode in [0] - which made the
      gen_snapshot invocations use "--lazy-async-stacks --no-causal-async-stacks".
      
      This change does the same with the engine defaults, which makes this be enabled
      by-default in JIT mode as well.
      
      See go/dart-10x-faster-async for more information.
      
      This is a re-land: A fix for what we believe to have caused the last revert has landed upstream in Dart in dart-lang/sdk@0004589
      
      [0] flutter/flutter@3478232
      575a5194