commit | 197262e6bdb34cc658e5a2f65d8fe2057b454032 | [log] [tgz] |
---|---|---|
author | Devon Carew <devoncarew@google.com> | Thu Jan 23 12:50:45 2025 -0800 |
committer | dart-internal-monorepo <dart-internal-monorepo@dart-ci-internal.iam.gserviceaccount.com> | Thu Jan 23 12:52:05 2025 -0800 |
tree | b41589a44347f98c89e44a631f96401a59ad54e9 | |
parent | a67d35ffebe7bde2219f578a3624b3e00973107e [diff] |
Bump http to 6d99ff5755d3581f44ce5c18bb029a2fa1ef0eaf Changes: ``` > git log --format="%C(auto) %h %s" 6ecd13a..6d99ff5 https://dart.googlesource.com/http.git/+/6d99ff5 Merge pull request 1420 from dart-lang/merge-web_socket_channel-package https://dart.googlesource.com/http.git/+/40a83eb Merge branch 'master' into merge-web_socket_channel-package https://dart.googlesource.com/http.git/+/27184eb Remove bespoke code that handled blocking callbacks (1450) https://dart.googlesource.com/http.git/+/7271367 [http] prepare v1.3.0 release (1451) https://dart.googlesource.com/http.git/+/7f50fc5 Prepare cupertino_http 2.0.2 for release (1449) https://dart.googlesource.com/http.git/+/2bc4cc9 Fix incorrect response processing (1448) https://dart.googlesource.com/http.git/+/531d3e5 [http2, conformance_tests] update dependencies (1443) https://dart.googlesource.com/http.git/+/f0bcf02 Add tests to verify NUL, CR & LF header value behavior (1440) https://dart.googlesource.com/http.git/+/1312034 Moving fixes https://dart.googlesource.com/http.git/+/7bd6dfc Add issue template and other fixes https://dart.googlesource.com/http.git/+/79db766 Merge package:web_socket_channel into the http monorepo https://dart.googlesource.com/http.git/+/2e21115 Bump dart-lang/setup-dart in the github-actions group (dart-lang/web_socket_channel387) https://dart.googlesource.com/http.git/+/1cfa990 Bump actions/checkout from 4.2.0 to 4.2.2 in the github-actions group (dart-lang/web_socket_channel386) https://dart.googlesource.com/http.git/+/8564103 blast_repo fixes (dart-lang/web_socket_channel385) https://dart.googlesource.com/http.git/+/5570c4b Bump actions/checkout from 4.1.7 to 4.2.0 in the github-actions group (dart-lang/web_socket_channel382) https://dart.googlesource.com/http.git/+/1ab212a Support latest pkg:web, prepare release (dart-lang/web_socket_channel377) https://dart.googlesource.com/http.git/+/55ec98c Bump the github-actions group with 2 updates (dart-lang/web_socket_channel376) https://dart.googlesource.com/http.git/+/e34a16e bump web_socket dependency 0.1.3 -> 0.1.5 (dart-lang/web_socket_channel370) https://dart.googlesource.com/http.git/+/6740e2f Bump actions/checkout from 4.1.5 to 4.1.6 in the github-actions group (dart-lang/web_socket_channel371) https://dart.googlesource.com/http.git/+/4e2d823 Remove `--fatal-infos` from `dart pub downgrade` analysis (dart-lang/web_socket_channel367) https://dart.googlesource.com/http.git/+/1009766 Add `topics` to `pubspec.yaml` (dart-lang/web_socket_channel362) https://dart.googlesource.com/http.git/+/6ef94db Bump and fix lints (dart-lang/web_socket_channel366) https://dart.googlesource.com/http.git/+/f7fd087 Remove obsolete `WebSocketChannel.new` documentation. (dart-lang/web_socket_channel363) https://dart.googlesource.com/http.git/+/9c7a42b Bump actions/checkout from 4.1.4 to 4.1.5 in the github-actions group (dart-lang/web_socket_channel360) https://dart.googlesource.com/http.git/+/7739a5f blast_repo fixes (dart-lang/web_socket_channel359) https://dart.googlesource.com/http.git/+/d69a0b2 Remove dependency_overrides (dart-lang/web_socket_channel354) https://dart.googlesource.com/http.git/+/f84ac26 Make shelf_web_socket a dev dependency (dart-lang/web_socket_channel353) https://dart.googlesource.com/http.git/+/c6af40c Remove "wip" label for 3.0 release (dart-lang/web_socket_channel347) https://dart.googlesource.com/http.git/+/0af8fbf Bump actions/checkout from 4.1.2 to 4.1.4 (dart-lang/web_socket_channel352) https://dart.googlesource.com/http.git/+/e5b9efb Bump dart-lang/setup-dart from 1.6.2 to 1.6.4 (dart-lang/web_socket_channel351) https://dart.googlesource.com/http.git/+/bf9965c Fix a race when close() called before remote class event delivered (dart-lang/web_socket_channel348) https://dart.googlesource.com/http.git/+/d0940e6 Avoid importing io_web_socket namespace (dart-lang/web_socket_channel343) https://dart.googlesource.com/http.git/+/816e120 Rename WebSocketAdapterWebSocketChannel to AdapterWebSocketChannel (dart-lang/web_socket_channel344) https://dart.googlesource.com/http.git/+/c0ea76f Implement IOWebSocketChannel as a WebSocketAdapterWebSocket subclass (dart-lang/web_socket_channel342) https://dart.googlesource.com/http.git/+/510f396 Remove WebSocketChannel constructor (dart-lang/web_socket_channel341) https://dart.googlesource.com/http.git/+/01817d2 Create an adapter for `package:web_socket` (dart-lang/web_socket_channel339) https://dart.googlesource.com/http.git/+/ccfa26f use secure random number generator (dart-lang/web_socket_channel334) (dart-lang/web_socket_channel335) https://dart.googlesource.com/http.git/+/dfc1abb Bump actions/checkout from 4.1.1 to 4.1.2 (dart-lang/web_socket_channel338) https://dart.googlesource.com/http.git/+/6ed1dfe Require Dart 3.3 and the latest pkg:web (dart-lang/web_socket_channel326) https://dart.googlesource.com/http.git/+/3fff2ae Bump dart-lang/setup-dart from 1.6.0 to 1.6.2 (dart-lang/web_socket_channel323) https://dart.googlesource.com/http.git/+/d6dca34 adjust the HtmlWebSocketChannel ctor parameter type; rev to 2.4.3 (dart-lang/web_socket_channel320) https://dart.googlesource.com/http.git/+/03aff6b Allow pkg:web v0.3.0 (dart-lang/web_socket_channel306) https://dart.googlesource.com/http.git/+/9f7bc35 Bump actions/stale from 8.0.0 to 9.0.0 (dart-lang/web_socket_channel312) https://dart.googlesource.com/http.git/+/beca829 Prepare release v2.4.1 (dart-lang/web_socket_channel301) https://dart.googlesource.com/http.git/+/b412bd7 CI: test dev SDK with dart2wasm (dart-lang/web_socket_channel304) https://dart.googlesource.com/http.git/+/098a0f1 Rename helper extensions to not collide with pkg:web unreleased (dart-lang/web_socket_channel303) https://dart.googlesource.com/http.git/+/63d83c9 blast_repo fixes (dart-lang/web_socket_channel302) https://dart.googlesource.com/http.git/+/16acf73 Fix JS value to Dart conversion when receiving from a web socket (dart-lang/web_socket_channel298) https://dart.googlesource.com/http.git/+/df37a53 Remove removed lints (dart-lang/web_socket_channel299) https://dart.googlesource.com/http.git/+/325d9bc Drop some use of ! (dart-lang/web_socket_channel296) https://dart.googlesource.com/http.git/+/0e0de69 Small tweak (dart-lang/web_socket_channel295) https://dart.googlesource.com/http.git/+/481ea06 migrate to pkg web (dart-lang/web_socket_channel294) https://dart.googlesource.com/http.git/+/dd5adfd Migrate to latest lints, bump min SDK to Dart 3.2 (dart-lang/web_socket_channel292) https://dart.googlesource.com/http.git/+/198936e Bump dart-lang/setup-dart from 1.5.1 to 1.6.0 (dart-lang/web_socket_channel289) https://dart.googlesource.com/http.git/+/2adef16 Bump actions/checkout from 4.1.0 to 4.1.1 (dart-lang/web_socket_channel290) https://dart.googlesource.com/http.git/+/e9365c2 Mention `ready` in the docs for `connect` (dart-lang/web_socket_channel287) https://dart.googlesource.com/http.git/+/7746475 Bump dart-lang/setup-dart from 1.5.0 to 1.5.1 (dart-lang/web_socket_channel286) https://dart.googlesource.com/http.git/+/577f267 Bump actions/checkout from 3.6.0 to 4.1.0 (dart-lang/web_socket_channel285) https://dart.googlesource.com/http.git/+/0a5cbc4 Bump actions/checkout from 3.5.3 to 3.6.0 (dart-lang/web_socket_channel283) https://dart.googlesource.com/http.git/+/d8b8d86 Correction in Code Snippet (dart-lang/web_socket_channel275) https://dart.googlesource.com/http.git/+/d0f5c4b Bump actions/checkout from 3.5.2 to 3.5.3 (dart-lang/web_socket_channel274) https://dart.googlesource.com/http.git/+/a02b8cb Add a note explaining why the onerror doesn't generate a more detailed exception (dart-lang/web_socket_channel273) https://dart.googlesource.com/http.git/+/788480b Make it more clear how `WebSocketChannel.ready` should be used. (dart-lang/web_socket_channel272) https://dart.googlesource.com/http.git/+/2f87d84 blast_repo fixes (dart-lang/web_socket_channel269) https://dart.googlesource.com/http.git/+/7cc41ca Bump actions/checkout from 3.5.0 to 3.5.2 (dart-lang/web_socket_channel265) https://dart.googlesource.com/http.git/+/b9a7acb Allow passing through custom http client in IO socket connect (dart-lang/web_socket_channel259) https://dart.googlesource.com/http.git/+/e0d4c64 Fix deprecated_new_in_comment_reference (dart-lang/web_socket_channel262) https://dart.googlesource.com/http.git/+/db81509 Bump dart-lang/setup-dart from 1.4.0 to 1.5.0 (dart-lang/web_socket_channel260) https://dart.googlesource.com/http.git/+/9347256 Bump actions/checkout from 3.3.0 to 3.5.0 (dart-lang/web_socket_channel261) https://dart.googlesource.com/http.git/+/d279a9a Bump dart-lang/setup-dart from 1.3 to 1.4 (dart-lang/web_socket_channel251) https://dart.googlesource.com/http.git/+/3b2384a Bump actions/checkout from 3.2.0 to 3.3.0 (dart-lang/web_socket_channel252) https://dart.googlesource.com/http.git/+/a4f3888 Fix CI link in readme (dart-lang/web_socket_channel248) https://dart.googlesource.com/http.git/+/025fc79 Update analysis_options.yaml (dart-lang/web_socket_channel247) https://dart.googlesource.com/http.git/+/8ebdb50 Bump actions/checkout from 3.1.0 to 3.2.0 (dart-lang/web_socket_channel244) https://dart.googlesource.com/http.git/+/ec54227 Add WebSocketChannel.`ready` field and IOWebSocketChannel factory `connectTimeout` parameter (dart-lang/web_socket_channel240) https://dart.googlesource.com/http.git/+/c55aa62 blast_repo fixes (dart-lang/web_socket_channel235) https://dart.googlesource.com/http.git/+/6d0f91c Remove language version from spawnHybrid code (dart-lang/web_socket_channel232) https://dart.googlesource.com/http.git/+/56f212b Use platform agnostic example in README.md (dart-lang/web_socket_channel223) https://dart.googlesource.com/http.git/+/93e6300 Add HtmlWebSocketChannel.innerWebSocket (dart-lang/web_socket_channel187) https://dart.googlesource.com/http.git/+/7081702 Fix IOWebSocketChannel import in readme (dart-lang/web_socket_channel175) https://dart.googlesource.com/http.git/+/6cd8bb2 Tweak import recommendation phrasing (dart-lang/web_socket_channel180) https://dart.googlesource.com/http.git/+/b033615 Prepare to publish (dart-lang/web_socket_channel174) https://dart.googlesource.com/http.git/+/12ae6a9 Remove extra ` character (dart-lang/web_socket_channel173) https://dart.googlesource.com/http.git/+/d60d2a3 Add IOWebSocketChannel.innerWebSocket https://dart.googlesource.com/http.git/+/b8febe8 Merge pull request dart-lang/web_socket_channel163 from dart-lang/franklinyow-patch-1 https://dart.googlesource.com/http.git/+/6290154 Update LICENSE https://dart.googlesource.com/http.git/+/e230f43 Latest setup, test on oldest supported SDK (dart-lang/web_socket_channel161) https://dart.googlesource.com/http.git/+/624e2f2 prepare stable, null-safe v2 (dart-lang/web_socket_channel155) https://dart.googlesource.com/http.git/+/d1d3229 null safety (dart-lang/web_socket_channel154) https://dart.googlesource.com/http.git/+/dafff91 Use new setup actions (dart-lang/web_socket_channel153) https://dart.googlesource.com/http.git/+/b3c6429 Enable and fix a number of lints, disallow implicit casts (dart-lang/web_socket_channel148) https://dart.googlesource.com/http.git/+/9363836 Migrate to GitHub Actions (dart-lang/web_socket_channel146) https://dart.googlesource.com/http.git/+/cb5b3a1 Allow the null safe package:crypto (dart-lang/web_socket_channel139) https://dart.googlesource.com/http.git/+/7da76eb Fix usage of deprecated list ctor (dart-lang/web_socket_channel140) https://dart.googlesource.com/http.git/+/8f90f95 Merge pull request dart-lang/web_socket_channel133 from dart-lang/kevmoo-patch-1 https://dart.googlesource.com/http.git/+/3f369c3 Delete .test_config https://dart.googlesource.com/http.git/+/4d5a78b Use SDK version of BytesBuilder (dart-lang/web_socket_channel130) https://dart.googlesource.com/http.git/+/613c651 Add a language version tag in spawnHybridUri (dart-lang/web_socket_channel131) https://dart.googlesource.com/http.git/+/97ab45e use chrome to test on Travis (dart-lang/web_socket_channel121) https://dart.googlesource.com/http.git/+/61d32b0 Clean up some style (dart-lang/web_socket_channel120) https://dart.googlesource.com/http.git/+/7d6d810 Remove author from the pubspec https://dart.googlesource.com/http.git/+/f2e5ba7 Add changelog for dart-lang/web_socket_channel97 (dart-lang/web_socket_channel98) https://dart.googlesource.com/http.git/+/cc18c87 Add optional protocols argument to WebSocketChannel.connect (dart-lang/web_socket_channel97) https://dart.googlesource.com/http.git/+/13ebb73 Ignore unused fields in private class – copied from SDK https://dart.googlesource.com/http.git/+/1755c74 Add Travis badge to readme https://dart.googlesource.com/http.git/+/d328a28 Fix newly enforce package:pedantic lints (dart-lang/web_socket_channel91) https://dart.googlesource.com/http.git/+/6a6630a Merge pull request dart-lang/web_socket_channel83 from dart-lang/config_specific_imports https://dart.googlesource.com/http.git/+/38d3159 Require Uri. https://dart.googlesource.com/http.git/+/98e9f48 Add `WebSocketChannel.connect` factory constructor. https://dart.googlesource.com/http.git/+/836ed41 Use `drain` to reach end of stream in tests (dart-lang/web_socket_channel75) https://dart.googlesource.com/http.git/+/68b946c Forward protocols parameter to WebSocket (dart-lang/web_socket_channel74) https://dart.googlesource.com/http.git/+/99d66e6 Fix pedantic dependency, update links in readme https://dart.googlesource.com/http.git/+/7f2a337 Update to handle Socket implements Stream<Uint8List> (dart-lang/web_socket_channel65) https://dart.googlesource.com/http.git/+/2904d39 Declare a return value of `Uint8List` in `BytesBuilder` methods (dart-lang/web_socket_channel58) https://dart.googlesource.com/http.git/+/07a0aa6 Allow stream_channel version 2.x (dart-lang/web_socket_channel48) https://dart.googlesource.com/http.git/+/5406b14 Link and description fixes https://dart.googlesource.com/http.git/+/7cf41e9 Prepare for 1.0.10 (dart-lang/web_socket_channel47) https://dart.googlesource.com/http.git/+/81441b7 repo cleanup https://dart.googlesource.com/http.git/+/6111df8 Update .gitignore to new `dart_tool` pub cache (dart-lang/web_socket_channel19) https://dart.googlesource.com/http.git/+/3f643c3 Update README.md (dart-lang/web_socket_channel29) https://dart.googlesource.com/http.git/+/2401f0a Fix doc links in readme https://dart.googlesource.com/http.git/+/910570c enable and fix a number of lints https://dart.googlesource.com/http.git/+/39992df improve pub score (dart-lang/web_socket_channel33) https://dart.googlesource.com/http.git/+/8fd103c Fix sample code in README (dart-lang/web_socket_channel30) https://dart.googlesource.com/http.git/+/b4b06e4 chore: set max SDK version to <3.0.0 (dart-lang/web_socket_channel27) https://dart.googlesource.com/http.git/+/568fe8a dartfmt code and use latest pkg:test API https://dart.googlesource.com/http.git/+/4987c7b Remove usage of deprecated constants. (dart-lang/web_socket_channel20) https://dart.googlesource.com/http.git/+/e61598e Fix wrong listener in README.md (dart-lang/web_socket_channel18) https://dart.googlesource.com/http.git/+/2ea1544 Merge remote-tracking branch 'origin/corelib_2_2_1_branch' https://dart.googlesource.com/http.git/+/9cee0f7 Merge pull request dart-lang/web_socket_channel13 from dart-lang/fix-tests https://dart.googlesource.com/http.git/+/08d2994 Stop testing on stable https://dart.googlesource.com/http.git/+/20c810c Stop testing on Dartium https://dart.googlesource.com/http.git/+/8ec1cc3 Bring in code from the latest SDK (dart-lang/web_socket_channel12) https://dart.googlesource.com/http.git/+/6ad1e81 Updates for Dart 2.0 corelib changes (wave 2.2) https://dart.googlesource.com/http.git/+/8ba2889 Declare support for async 2.0.0 (dart-lang/web_socket_channel9) https://dart.googlesource.com/http.git/+/724299c Remove -dev.infinity in SDK upper constraint https://dart.googlesource.com/http.git/+/5f53af5 Lint cleanup: initialize to null, return values on setter, comment syntax https://dart.googlesource.com/http.git/+/40542b0 cleanup gitignore https://dart.googlesource.com/http.git/+/06f4dba Fix analysis warnings https://dart.googlesource.com/http.git/+/39923b9 dartfmt https://dart.googlesource.com/http.git/+/fc0431d enable travis https://dart.googlesource.com/http.git/+/6988e80 Merge pull request dart-lang/web_socket_channel7 from devoncarew/sdk_contraint https://dart.googlesource.com/http.git/+/5d64ac0 add library names; increase the sdk constraint https://dart.googlesource.com/http.git/+/ae277bc Use hybrid tests to test the dart:html impl. (dart-lang/web_socket_channel6) https://dart.googlesource.com/http.git/+/66fc478 Support crypto 2.0.0. https://dart.googlesource.com/http.git/+/29657f9 Fix all strong-mode errors and warnings. https://dart.googlesource.com/http.git/+/5136a8c Merge branch 'Fox32.master' https://dart.googlesource.com/http.git/+/a5c982f Update the pubspec and add a CHANGELOG entry. https://dart.googlesource.com/http.git/+/e0eaef1 Add a comment explaining the new conditional. https://dart.googlesource.com/http.git/+/d4a3f9f WebSocket.close doesn't like passing null arguments https://dart.googlesource.com/http.git/+/f8324fa Bring in the latest version of the SDK's WebSocket impl. https://dart.googlesource.com/http.git/+/8c22a3e Use BASE64 from package:convert. https://dart.googlesource.com/http.git/+/e8bb6fb Add support for crypto 1.0.0.. https://dart.googlesource.com/http.git/+/ff67146 Update the SDK constraint. https://dart.googlesource.com/http.git/+/23cf181 Add a top-level status library. https://dart.googlesource.com/http.git/+/c053965 Add an HTML implementation of WebSocketChannel. https://dart.googlesource.com/http.git/+/c1aa7fd Get rid of WebSocketChannel.pingInterval. https://dart.googlesource.com/http.git/+/8ab3304 Add an IO implementation of WebSocketChannel. https://dart.googlesource.com/http.git/+/033f017 Copy the web socket stuff from http_parser. https://dart.googlesource.com/http.git/+/03d6e8a Initial template. ``` Diff: https://dart.googlesource.com/http.git/+/6ecd13a88b82c2fdc8a555f218bafb0ad0370f51..6d99ff5755d3581f44ce5c18bb029a2fa1ef0eaf/ Change-Id: I8edba78500131162d68429ef47175ff331128a9c Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/405622 Reviewed-by: Konstantin Shcheglov <scheglov@google.com> Commit-Queue: Devon Carew <devoncarew@google.com> https://dart.googlesource.com/sdk/+/d589046e477066dd2ecd32efb1072d62d8d74efc
Monorepo is:
With depot_tools installed and on your path, create a directory for your monorepo checkout and run these commands to create a gclient solution in that directory:
mkdir monorepo cd monorepo gclient config --unmanaged https://dart.googlesource.com/monorepo gclient sync -D
This gives you a checkout in the monorepo directory that contains:
monorepo/ DEPS - the DEPS used for this gclient checkout commits.json - the pinned commits for Dart, flutter/engine, and flutter/flutter tools/ - scripts used to create monorepo DEPS engine/src/ - the flutter/buildroot repo flutter/ - the flutter/engine repo out/ - the build directory, where Flutter engine builds are created third_party/ - Flutter dependencies checked out by DEPS dart/ - the Dart SDK checkout. third_party - Dart dependencies, also used by Flutter flutter/ - the flutter/flutter repo
Flutter's instructions for building the engine are at Compiling the engine
They can be followed closely, with a few changes:
goma_ctl ensure_start
is sufficient.Example build commands that work on linux:
MONOREPO_PATH=$PWD if [[ ! $PATH =~ (^|:)$MONOREPO_PATH/flutter/bin(:|$) ]]; then PATH=$MONOREPO_PATH/flutter/bin:$PATH fi export GOMA_DIR=$(dirname $(command -v gclient))/.cipd_bin goma_ctl ensure_start pushd engine/src flutter/tools/gn --goma --no-prebuilt-dart-sdk --unoptimized --full-dart-sdk autoninja -C out/host_debug_unopt popd
The Flutter commands used to build and run apps will use the locally built Flutter engine and Dart SDK, instead of the one downloaded by the Flutter tool, if the --local-engine
option is provided.
For example, to build and run the Flutter spinning square sample on the web platform,
MONOREPO_PATH=$PWD cd flutter/examples/layers flutter --local-engine=host_debug_unopt \ -d chrome run widgets/spinning_square.dart cd $MONOREPO_PATH
To build for desktop, specify the desktop platform device in flutter run
as -d macos
or -d linux
or -d windows
. You may also need to run the command
flutter create --platforms=windows,macos,linux
on existing apps, such as sample apps. New apps created with flutter create
already include these support files. Details of desktop support are at Desktop Support for Flutter
Tests in the Flutter source tree can be run with the flutter test
command, run in the directory of a package containing tests. For example:
MONOREPO_PATH=$PWD cd flutter/packages/flutter flutter test --local-engine=host_debug_unopt cd $MONOREPO_PATH
Please file an issue or email the dart-engprod team with any problems with or questions about using monorepo.
We will update this documentation to address them.
flutter
commands may download the engine and Dart SDK files for the configured channel, even though they will be using the local engine and its SDK.gclient sync
needs to be run in an administrator session, because some installed dependencies create symlinks.