- 18 9月, 2020 3 次提交
-
-
由 George Wright 提交于
-
由 Martin Kustermann 提交于
This will allow customers to try out the lightweight isolate support in the Dart VM in AOT mode. To be future proof, we also add the negative flags to the allow list, thereby allowing the Dart VM to change the default in the future, while still allowing customers to opt out. Issue b/158554251
-
由 Felipe Archondo 提交于
Add a new field, max_frames_in_flight, to FlutterRunnerProductConfiguration. This allows it to be configurable from Fuchsia. Tests were added as well to verify the new behavior.
-
- 17 9月, 2020 3 次提交
-
-
由 Gary Qian 提交于
-
由 stuartmorgan 提交于
Originally font change notification was handled by forwarding WM_FONTCHANGE to the Flutter HWND, to avoid adding new API surface, but that's not a good solution in a multi-window scenario, and it would require a completely different solution for UWP. It also requires non-obvious plumbing in the runner. This replaces that with an explicit API, so that there's a clean and obvious way for the runner to trigger this event.
-
由 Damian Wrobel 提交于
-
- 16 9月, 2020 5 次提交
-
-
由 Jenn Magder 提交于
-
由 William Wold 提交于
-
由 Chris Bracken 提交于
This patch applies the following changes: * Rename a stray .cc file to .mm (connection_collection.cc). * Migrate Objective-C #includes to #import as per the style guide. * #include/#import order updated to reflect the style guide order: associated header, system/standard library headers, library headers, platform-specific includes. * Include cstring where we're using strlen. * Add a missing copyright header in SemanticsObjectTest.mm. Bugs: https://github.com/flutter/flutter/issues/60025
-
由 Hamdi Kahloun 提交于
-
由 Emmanuel Garcia 提交于
-
- 15 9月, 2020 4 次提交
-
-
由 Justin McCandless 提交于
Adds the hasStrings method for Mac, and improves the state of unit testing on Mac.
-
由 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>
-
由 kaisa695275735 提交于
-
由 renyou 提交于
-
- 14 9月, 2020 1 次提交
-
-
由 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.
-
- 12 9月, 2020 6 次提交
-
-
由 Chris Bracken 提交于
Cleans up header order/grouping for consistency: associated header, C/C++ system/standard library headers, library headers, platform-specific #includes. Adds <cstring> where strlen, memcpy are being used: there are a bunch of places we use them transitively. Applies linter-required cleanups. Disables linter on one file due to included RapidJson header. See https://github.com/flutter/flutter/issues/65676 This patch does not cover flutter/shell/platform/darwin. There's a separate, slightly more intensive cleanup for those in progress.
-
由 Emmanuel Garcia 提交于
-
由 Chris Bracken 提交于
We currently use a mix of C standard includes (e.g. limits.h) and their C++ variants (e.g. climits). This migrates to a consistent style for all cases where the C++ variants are acceptable, but leaves the C equivalents in place where they are required, such as in the embedder API and other headers that may be used from C.
-
由 Emmanuel Garcia 提交于
-
由 Jason Simmons 提交于
The directory may be invalid when running shell_unittests because some tests call SetCacheDirectoryPath and then delete the directory. Later tests that try to use that cache base path will be unable to open the directory.
-
由 Chris Bracken 提交于
Make a single-param ctor explicit in order to prevent surprising implicit conversions. Add a check for zero message-size and don't malloc/memcpy the incoming message in those cases. Add braces where they were missing.
-
- 11 9月, 2020 5 次提交
-
-
由 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.
-
由 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
-
由 stuartmorgan 提交于
The template now uses the FlutterEngine versions.
-
由 stuartmorgan 提交于
Removes the older pointer-based versions of APIs taking EncodableValues for which there are now reference-based versions.
-
由 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>
-
- 10 9月, 2020 10 次提交
-
-
由 Sebastian Roth 提交于
-
由 David Worsham 提交于
-
由 Alexander Brusher 提交于
-
由 stuartmorgan 提交于
-
由 kele86838437 提交于
-
由 chunhtai 提交于
* Fixed ios layout change to not refocus semantics object if the focus is outside of flutter * update * addressing comments
-
由 chenjianguang 提交于
-
由 Yuqian Li 提交于
Fixes https://github.com/flutter/flutter/issues/65258 The following devicelab tests should pass after this patch: - flutter_gallery_sksl_warmup__transition_perf_e2e_ios32 - flutter_gallery_sksl_warmup_ios32__transition_perf
-
由 linxuebin 提交于
We get huge ANRs in not pure flutter app. We found that 0.15% of the engine initialization took more than 10 seconds, every 10 million starts.
-
由 Zachary Anderson 提交于
This reverts commit 575a5194.
-
- 09 9月, 2020 2 次提交
-
-
由 Chinmay Garde 提交于
-
由 xster 提交于
-
- 07 9月, 2020 1 次提交
-
-
由 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
-