- 28 Feb, 2023 1 commit
-
- 27 Feb, 2023 2 commits
-
-
Michael Goderbauer authored
Revert "Reland "Remove references to Observatory (#118577)""
-
- 17 Feb, 2023 1 commit
-
-
Casey Hillers authored
This reverts commit 2df140f4.
-
- 13 Feb, 2023 1 commit
-
-
Ben Konyi authored
Observatory is being deprecated for Dart 3.0 so it should no longer be referenced in tooling messaging / flags. See https://github.com/dart-lang/sdk/issues/50233
-
- 06 Feb, 2023 1 commit
-
-
林洵锋 authored
* Fix flutter_tools stuck when using custom LLDB prompt * Remove trailing space character * Fix local variable name * Add comment * Remove trailing space character * Update packages/flutter_tools/lib/src/ios/ios_deploy.dart Co-authored-by:
Jenn Magder <magder@google.com> * Update packages/flutter_tools/lib/src/ios/ios_deploy.dart Co-authored-by:
Jenn Magder <magder@google.com> * Remove trailing space character --------- Co-authored-by:
Jenn Magder <magder@google.com>
-
- 20 Jan, 2023 1 commit
-
-
Victoria Ashworth authored
* Reland "Support iOS wireless debugging (#118104)" This reverts commit cbf2e168. * Remove device loading status
-
- 19 Jan, 2023 2 commits
-
-
Jenn Magder authored
This reverts commit 5cd2d4c6.
-
Victoria Ashworth authored
* setup wireless debugging to use device IP * fix tests * fix unused var and missing annotation * remove unneeded try catch * remove commented out line, change null to package id * better way to get package id * update mDNS lookup to continously check for server, add messaging if takes too long to find observatory url, update flutter drive to enable publish-port if using network device * Refactor mDNS Discovery to poll for observatories and better handle multiple instances of the same app. Update drive command to make publish-port more stable. Update attach for iOS to only use Protocol Discovery if applicable, run mDNS and Protocol Discovery simultaneously, handle --debug-port/--debug-url/--device-vmservice-port, continously poll for obseravtories with mDNS, include port in error message when mutliple available * add and update comments, use logger spinner intead of timer in flutter attach, other small improvements * add newline to message so next log won't be on same line * fix install/waiting for permission status progress so it doens't double print the time it took. * only print backtrace if observatory times out on a physical usb connected device * fix test * Update related references from Observatory to Dart VM Service * fix test
-
- 13 Jan, 2023 1 commit
-
-
Victoria Ashworth authored
* Add Info.plist from build directory as input path to Thin Binary build phase * fix directive ordering * migrate benchmark, integration, and example tests
-
- 09 Nov, 2022 1 commit
-
-
Victoria Ashworth authored
* add debugging options to simulator, test more debugging flags, add tests for other launch arguements * refactor iOS launch arguments to use one function for both simulator and physical devices * treat dart flags differently between physical and simulator * Simplify some flags between devices. Change --disable-service-auth-codes to not always be included for physical devices, only if disableServiceAuthCodes is true. Change --disable-observatory-publication to be used for simulator devices too. Change --enable-checked-mode & --verify-entry-points to be used if debuggingEnabled is true regardless of device type. Chnage --trace-startup to be used for simulator devices too. * fix ios release mode with buildable app startApp test * determine observatory-port from deviceVmServicePort and hostVmServicePort * add comments and remove hasObservatoryPort
-
- 07 Nov, 2022 1 commit
-
-
Victoria Ashworth authored
* exclude xcworkspace that begins with a period * fix if spacing, add comment * add unit test for when no xcworkspace found * update to use xcodeWorkspace, make it nullable and refactor * check if hostAppRoot exists before trying to get xcworkspace * use local variables to take advantage of type promotion * only check if not null, don't need to check if exists * readd exist check for migrate * readd missing line at end of file
-
- 04 Nov, 2022 1 commit
-
-
Jenn Magder authored
-
- 27 Oct, 2022 2 commits
-
-
Jenn Magder authored
-
Victoria Ashworth authored
-
- 26 Oct, 2022 1 commit
-
-
Jenn Magder authored
-
- 25 Oct, 2022 2 commits
-
-
Jenn Magder authored
This reverts commit e1337218.
-
Victoria Ashworth authored
-
- 18 Oct, 2022 1 commit
-
-
Jenn Magder authored
-
- 17 Oct, 2022 1 commit
-
-
Jenn Magder authored
-
- 12 Oct, 2022 1 commit
-
-
Jenn Magder authored
-
- 05 Oct, 2022 1 commit
-
-
Jenn Magder authored
-
- 04 Oct, 2022 1 commit
-
-
Jenn Magder authored
-
- 08 Sep, 2022 1 commit
-
-
Liam Appelbe authored
* Migrate packages/flutter_tools/test/general.shard, part 1/2 * Fix most of the tests * Fix analysis * Fix analysis * Fix test * Fix analysis * Fix analysis * Fix nit
-
- 30 Jul, 2022 1 commit
-
-
Jenn Magder authored
-
- 26 Jul, 2022 3 commits
-
-
Jenn Magder authored
-
Jenn Magder authored
-
Jenn Magder authored
-
- 15 Jul, 2022 1 commit
-
-
Jenn Magder authored
-
- 14 Jul, 2022 1 commit
-
-
Callum Moffat authored
-
- 18 Jun, 2022 1 commit
-
-
Jonah Williams authored
-
- 16 Jun, 2022 1 commit
-
-
Jesús S Guerrero authored
-
- 03 Jun, 2022 1 commit
-
-
Jenn Magder authored
-
- 24 May, 2022 1 commit
-
-
Jenn Magder authored
-
- 17 May, 2022 1 commit
-
-
Chris Bracken authored
`FakeProcessManager` is a test-oriented implementation of `ProcessManager` that simulates launching processes and returning `ProcessResult` objects whose `exitCode`, `stdout`, `stderr` can be used to write platform-portable, hermetic tests that don't rely on actually launching processes from executables on disk. Its `run` and `runSync` methods provide asynchronous and synchronous variants of this functionality. Previously, the behaviour of `run` and `runSync` were inconsistent with regards to the treatment of the `stdoutEncoding` (similarly, `stderrEncoding`) parameters: `run`: * if the encoding was null, `ProcessResult.stdout` was returned as a String in UTF-8 encoding. This was incorrect. The behaviour as specified in `ProcessResult.stdout` is that in this case, a raw `List<int>` should be returned. * If the encoding was unspecified, `ProcessResult.stdout` was returned as a `String` in the `io.systemEncoding` encoding. This was correct. * If the encoding was non-null, `ProcessResult.stdout` was returned as a `String` in the specified encoding. This was correct. `runSync`: * if the encoding was null, `ProcessResult.stdout` was returned as a `List<int>` in UTF-8 encoding. This was incorrect. The behaviour as specified in `ProcessResult.stdout` is that in this case, a raw `List<int>` should be returned. * If the encoding was unspecified, `ProcessResult.stdout` was returned as `List<int>` in UTF-8 encoding. This was incorrect. The behaviour as specified in `ProcessResult.stdout` is that in this case, a String a `String` in the `io.systemEncoding` encoding should be returned. * if the encoding was non-null, `ProcessResult.stdout` was returned as a `String` in unknown (but probably UTF-8) encoding. This was incorrect. The behaviour as specified in `ProcessResult.stdout` is that in this case, a `String` in the specified encoding should be returned. `_FakeProcess`, from which we obtain the fake stdout and stderr values now holds these fields as raw `List<int>` of bytes rather than as `String`s. It is up to the user to supply values that can be decoded with the encoding passed to `run`/`runAsync`. `run` and `runAsync` have been updated to set stdout (likewise, stderr) as specified in the `ProcessResult` documentation. This is pre-factoring for #102451, in which the tool throws an exception when processing the JSON output from stdout of the `vswhere.exe` tool, whose output was found to include the `U+FFFD` Unicode replacement character during UTF-8 decoding, which triggers a `toolExit` exception when decoded using our [Utf8Decoder][decoder] configured with `reportErrors` = true. Because `FakeProcessManager.runAsync` did not previously invoke `utf8.decode` on its output (behaviour which differs from the non-fake implementation), it was impossible to write tests to verify the fix. Ref: https://api.flutter.dev/flutter/dart-io/ProcessResult/stdout.html Issue: https://github.com/flutter/flutter/issues/102451 [decoder]: https://github.com/flutter/flutter/blob/fd312f1ccff909fde28d2247a489bf210bbc6c48/packages/flutter_tools/lib/src/convert.dart#L51-L60
-
- 07 May, 2022 2 commits
-
-
Christopher Fujino authored
-
Jenn Magder authored
-
- 27 Apr, 2022 2 commits
-
-
Phil Quitslund authored
-
Alexandre Ardhuin authored
-
- 15 Apr, 2022 1 commit
-
-
Jenn Magder authored
-